@ringcentral/juno 3.0.0-alpha.1 → 3.0.0-alpha.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/components/Avatar/styles/StyledAvatarWrapper.d.ts +23 -1
  2. package/components/Avatar/styles/StyledPresenceWrapper.d.ts +4 -2
  3. package/components/Avatar/styles/StyledPresenceWrapper.js +2 -2
  4. package/components/Buttons/Button/Button.d.ts +58 -54
  5. package/components/Buttons/ButtonGroup/ButtonGroup.d.ts +1 -1
  6. package/components/Buttons/IconButton/IconButton.d.ts +63 -59
  7. package/components/Buttons/IconButton/utils/IconButtonUtils.d.ts +1 -1
  8. package/components/Buttons/ToggleButton/ToggleButton.d.ts +5 -1
  9. package/components/Card/CardContent/CardContent.d.ts +1 -1
  10. package/components/Card/CardHeader/CardHeader.d.ts +1 -1
  11. package/components/Card/CardMedia/CardMedia.d.ts +1 -1
  12. package/components/Dialog/DialogActions/DialogActions.d.ts +49 -49
  13. package/components/Dialog/DialogContent/DialogContent.d.ts +1 -1
  14. package/components/Dialog/DialogContentText/DialogContentText.d.ts +3 -3
  15. package/components/Dialog/DialogTitle/DialogTitle.d.ts +1 -1
  16. package/components/Divider/Divider.d.ts +1 -1
  17. package/components/Downshift/SuggestionList/utils/useSuggestionList.d.ts +10 -10
  18. package/components/Downshift/styles/DownshiftStyle.d.ts +63 -59
  19. package/components/Downshift/utils/useDownshift.d.ts +104 -104
  20. package/components/Downshift/utils/useDownshiftTag.d.ts +64 -64
  21. package/components/Forms/Checkbox/Checkbox.d.ts +5 -1
  22. package/components/Forms/FormHelperText/FormHelperText.d.ts +1 -1
  23. package/components/Forms/FormHelperText/styles/StyledFormHelperText.d.ts +1 -1
  24. package/components/Forms/Picker/DatePicker/styles/StyledCalendar.d.ts +4 -2
  25. package/components/Forms/Picker/DatePicker/styles/StyledDatePickerHeader.d.ts +65 -60
  26. package/components/Forms/Picker/DatePicker/styles/StyledDatePickerHeader.js +3 -3
  27. package/components/Forms/Picker/DatePicker/utils/DatePickerUtils.d.ts +1 -1
  28. package/components/Forms/Picker/TimePicker/styles/StyledPickerPopperWrap.d.ts +3 -1
  29. package/components/Forms/Picker/TimePicker/styles/StyledSelectionItem.d.ts +13 -1
  30. package/components/Forms/Picker/TimePicker/styles/StyledTimeIconButton.d.ts +13 -1
  31. package/components/Forms/Picker/utils/PickerTextField/PickerTextField.d.ts +1 -1
  32. package/components/Forms/Radio/Radio.d.ts +5 -1
  33. package/components/Forms/TextField/TextField.d.ts +60 -60
  34. package/components/Grid/Grid.d.ts +1 -1
  35. package/components/List/List/List.d.ts +1 -1
  36. package/components/List/ListItem/ListItem.d.ts +54 -50
  37. package/components/Menu/MenuItem/MenuItem.d.ts +113 -51
  38. package/components/Pagination/PaginationItem/PaginationItem.d.ts +2 -2
  39. package/components/PopupBox/PopupBox.js +3 -1
  40. package/components/Table/TableBody/TableBody.d.ts +1 -1
  41. package/components/Table/TableCell/TableCell.d.ts +53 -53
  42. package/components/Table/TableCell/utils/TableCellUtils.d.ts +1 -1
  43. package/components/Table/TableHead/TableHead.d.ts +1 -1
  44. package/components/TablePagination/styles/TablePaginationStyle.d.ts +104 -52
  45. package/components/Tag/Tag.d.ts +1 -1
  46. package/components/Tooltip/withTooltip/withTooltip.d.ts +3 -2
  47. package/components/Tooltip/withTooltip/withTooltip.js +6 -3
  48. package/components/Typography/Typography.d.ts +5 -1
  49. package/components/VirtualizedMenu/VirtualizedDivider/VirtualizedDivider.d.ts +1 -1
  50. package/components/Virtuoso/react-virtuoso/Virtuoso.d.ts +28 -28
  51. package/components/Virtuoso/react-virtuoso/VirtuosoGrid.d.ts +6 -6
  52. package/es6/components/Avatar/styles/StyledPresenceWrapper.js +2 -2
  53. package/es6/components/Forms/Picker/DatePicker/styles/StyledDatePickerHeader.js +3 -3
  54. package/es6/components/Forms/Picker/TimePicker/styles/StyledSelectionItem.js +1 -1
  55. package/es6/components/PopupBox/PopupBox.js +3 -1
  56. package/es6/components/Tooltip/withTooltip/withTooltip.js +6 -3
  57. package/es6/foundation/styled-components.js +9 -3
  58. package/foundation/styled-components.d.ts +14 -4
  59. package/foundation/styled-components.js +9 -3
  60. package/package.json +2 -2
@@ -1,4 +1,26 @@
1
1
  import React from 'react';
2
2
  import { RcAvatarProps } from '../Avatar';
3
3
  export type StyledAvatarWrapperProps = {} & RcAvatarProps<true>;
4
- export declare const StyledAvatarWrapper: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<Omit<StyledAvatarWrapperProps, "ref"> & React.RefAttributes<any>>, import("../../../foundation").RcTheme, {}, never>;
4
+ export declare const StyledAvatarWrapper: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<Omit<StyledAvatarWrapperProps, "ref"> & React.RefAttributes<any>>, import("../../../foundation").RcTheme, {
5
+ presenceOrigin?: import("../Avatar").PresenceOrigin | undefined;
6
+ src?: string | undefined;
7
+ imgProps?: React.ImgHTMLAttributes<HTMLImageElement> | undefined;
8
+ size?: "small" | "xxsmall" | "xsmall" | "medium" | "large" | "xlarge" | undefined;
9
+ color?: import("../../../foundation").RcPaletteProp | undefined;
10
+ clickable?: true | undefined;
11
+ mask?: boolean | JSX.Element | undefined;
12
+ presence?: JSX.Element | undefined;
13
+ presenceProps?: Omit<import("../../Presence/Presence").RcPresenceProps, "size" | "borderSize"> | undefined;
14
+ iconSymbol?: import("../../Icon/Icon").SvgSymbol | undefined;
15
+ iconSize?: "small" | "xxsmall" | "xsmall" | "medium" | "large" | "xlarge" | "half" | undefined;
16
+ shouldRenderPresenceHovered?: boolean | undefined;
17
+ Img?: React.ComponentType<{
18
+ src: string;
19
+ }> | undefined;
20
+ customColor?: boolean | undefined;
21
+ unClickable?: boolean | undefined;
22
+ isMember?: boolean | undefined;
23
+ displayName?: string | undefined;
24
+ alt?: string | undefined;
25
+ tooltip?: string | undefined;
26
+ } & import("../../../foundation").RcClassesProps<"mask" | "presenceWrapper" | "avatarContainer"> & import("../../../foundation").RcBaseProps<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "color" | "title">, never>;
@@ -1,5 +1,7 @@
1
1
  import { PresenceOrigin } from '../Avatar';
2
- export declare const StyledPresenceWrapper: import("styled-components").StyledComponent<"div", import("../../../foundation").RcTheme, {
2
+ type StyledPresenceWrapperProps = {
3
3
  horizontal: PresenceOrigin['horizontal'];
4
4
  vertical: PresenceOrigin['vertical'];
5
- }, never>;
5
+ };
6
+ export declare const StyledPresenceWrapper: import("styled-components").StyledComponent<"div", import("../../../foundation").RcTheme, StyledPresenceWrapperProps, never>;
7
+ export {};
@@ -11,9 +11,9 @@ exports.StyledPresenceWrapper = foundation_1.styled.div(templateObject_1 || (tem
11
11
  return vertical;
12
12
  }, function (_a) {
13
13
  var horizontal = _a.horizontal;
14
- return (horizontal === 'right' ? '' : '-');
14
+ return horizontal === 'right' ? '' : '-';
15
15
  }, function (_a) {
16
16
  var vertical = _a.vertical;
17
- return (vertical === 'bottom' ? '' : '-');
17
+ return vertical === 'bottom' ? '' : '-';
18
18
  });
19
19
  var templateObject_1;
@@ -49,7 +49,11 @@ export declare const RcButtonDefaultSize = "large";
49
49
  export declare const RcButtonDefaultColor = "primary";
50
50
  export declare const RcButtonDefaultVariant = "contained";
51
51
  /** @release */
52
- declare const RcButton: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<Omit<import("../../Tooltip/withTooltip/withTooltip").WithTooltipProps<Omit<RcButtonProps, "ref"> & React.RefAttributes<any>>, "ref"> & React.RefAttributes<any>>, RcTheme, {
52
+ declare const RcButton: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<{
53
+ title?: NonNullable<React.ReactNode> | undefined;
54
+ useRcTooltip?: boolean | undefined;
55
+ TooltipProps?: Partial<import("../../Tooltip/Tooltip").RcTooltipProps> | undefined;
56
+ } & Omit<Omit<Omit<RcButtonProps, "ref"> & React.RefAttributes<any>, "ref">, "title"> & React.RefAttributes<any>> & React.ComponentType<import("../../Tooltip/withTooltip/withTooltip").WithTooltipProps<Omit<Omit<RcButtonProps, "ref"> & React.RefAttributes<any>, "ref">>>, RcTheme, {
53
57
  /** is button loading, when `loading` that `disabled` will auto become `true` */
54
58
  loading?: boolean | undefined;
55
59
  /**
@@ -66,58 +70,22 @@ declare const RcButton: import("styled-components").StyledComponent<React.Forwar
66
70
  /** component for render root button, default is `button` */
67
71
  component?: React.ElementType<any, keyof React.JSX.IntrinsicElements> | undefined;
68
72
  /** border radius for button */
69
- radius?: "circle" | "sm" | "md" | "lg" | "xl" | "round" | "xxl" | "zero" | undefined;
73
+ radius?: "circle" | "round" | "sm" | "md" | "lg" | "xl" | "xxl" | "zero" | undefined;
70
74
  /** should keep elevation when type is `container` */
71
75
  keepElevation?: boolean | undefined;
72
76
  /** @deprecated Icon, please use startIcon with `<RcIcon />` */
73
77
  IconProps?: RcIconProps | undefined;
74
- classes?: Partial<import("@material-ui/styles").ClassNameMap<import("@material-ui/core/Button").ButtonClassKey>> | undefined;
75
- children?: React.ReactNode;
76
- defaultChecked?: boolean | undefined;
77
- defaultValue?: string | number | readonly string[] | undefined;
78
- suppressContentEditableWarning?: boolean | undefined;
78
+ ref?: ((instance: HTMLButtonElement | null) => void) | React.RefObject<HTMLButtonElement> | null | undefined;
79
+ key?: React.Key | null | undefined;
79
80
  suppressHydrationWarning?: boolean | undefined;
80
- accessKey?: string | undefined;
81
- autoFocus?: boolean | undefined;
82
- contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
83
- contextMenu?: string | undefined;
84
- dir?: string | undefined;
85
- draggable?: (boolean | "true" | "false") | undefined;
86
- hidden?: boolean | undefined;
87
81
  id?: string | undefined;
88
82
  lang?: string | undefined;
89
- nonce?: string | undefined;
90
- slot?: string | undefined;
91
- spellCheck?: (boolean | "true" | "false") | undefined;
83
+ name?: string | undefined;
92
84
  style?: React.CSSProperties | undefined;
93
- tabIndex?: string | number | undefined;
94
- translate?: "yes" | "no" | undefined;
95
- radioGroup?: string | undefined;
85
+ type?: "button" | "reset" | "submit" | undefined;
96
86
  role?: React.AriaRole | undefined;
97
- about?: string | undefined;
98
- content?: string | undefined;
99
- datatype?: string | undefined;
100
- inlist?: any;
101
- prefix?: string | undefined;
102
- property?: string | undefined;
103
- rel?: string | undefined;
104
- resource?: string | undefined;
105
- rev?: string | undefined;
106
- typeof?: string | undefined;
107
- vocab?: string | undefined;
108
- autoCapitalize?: string | undefined;
109
- autoCorrect?: string | undefined;
110
- autoSave?: string | undefined;
111
- itemProp?: string | undefined;
112
- itemScope?: boolean | undefined;
113
- itemType?: string | undefined;
114
- itemID?: string | undefined;
115
- itemRef?: string | undefined;
116
- results?: number | undefined;
117
- security?: string | undefined;
118
- unselectable?: "on" | "off" | undefined;
119
- inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
120
- is?: string | undefined;
87
+ tabIndex?: string | number | undefined;
88
+ href?: string | undefined;
121
89
  "aria-activedescendant"?: string | undefined;
122
90
  "aria-atomic"?: (boolean | "true" | "false") | undefined;
123
91
  "aria-autocomplete"?: "list" | "none" | "inline" | "both" | undefined;
@@ -130,17 +98,17 @@ declare const RcButton: import("styled-components").StyledComponent<React.Forwar
130
98
  "aria-colindextext"?: string | undefined;
131
99
  "aria-colspan"?: number | undefined;
132
100
  "aria-controls"?: string | undefined;
133
- "aria-current"?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
101
+ "aria-current"?: boolean | "date" | "time" | "true" | "false" | "page" | "step" | "location" | undefined;
134
102
  "aria-describedby"?: string | undefined;
135
103
  "aria-description"?: string | undefined;
136
104
  "aria-details"?: string | undefined;
137
105
  "aria-disabled"?: (boolean | "true" | "false") | undefined;
138
- "aria-dropeffect"?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
106
+ "aria-dropeffect"?: "link" | "copy" | "none" | "execute" | "move" | "popup" | undefined;
139
107
  "aria-errormessage"?: string | undefined;
140
108
  "aria-expanded"?: (boolean | "true" | "false") | undefined;
141
109
  "aria-flowto"?: string | undefined;
142
110
  "aria-grabbed"?: (boolean | "true" | "false") | undefined;
143
- "aria-haspopup"?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
111
+ "aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "listbox" | "tree" | "true" | "false" | undefined;
144
112
  "aria-hidden"?: (boolean | "true" | "false") | undefined;
145
113
  "aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
146
114
  "aria-keyshortcuts"?: string | undefined;
@@ -171,6 +139,7 @@ declare const RcButton: import("styled-components").StyledComponent<React.Forwar
171
139
  "aria-valuemin"?: number | undefined;
172
140
  "aria-valuenow"?: number | undefined;
173
141
  "aria-valuetext"?: string | undefined;
142
+ children?: React.ReactNode;
174
143
  dangerouslySetInnerHTML?: {
175
144
  __html: string | TrustedHTML;
176
145
  } | undefined;
@@ -336,14 +305,49 @@ declare const RcButton: import("styled-components").StyledComponent<React.Forwar
336
305
  onAnimationIterationCapture?: React.AnimationEventHandler<HTMLButtonElement> | undefined;
337
306
  onTransitionEnd?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
338
307
  onTransitionEndCapture?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
308
+ form?: string | undefined;
309
+ slot?: string | undefined;
310
+ translate?: "no" | "yes" | undefined;
311
+ classes?: Partial<import("@material-ui/styles").ClassNameMap<import("@material-ui/core/Button").ButtonClassKey>> | undefined;
312
+ defaultChecked?: boolean | undefined;
313
+ defaultValue?: string | number | readonly string[] | undefined;
314
+ suppressContentEditableWarning?: boolean | undefined;
315
+ accessKey?: string | undefined;
316
+ autoFocus?: boolean | undefined;
317
+ contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
318
+ contextMenu?: string | undefined;
319
+ dir?: string | undefined;
320
+ draggable?: (boolean | "true" | "false") | undefined;
321
+ hidden?: boolean | undefined;
322
+ nonce?: string | undefined;
323
+ spellCheck?: (boolean | "true" | "false") | undefined;
324
+ radioGroup?: string | undefined;
325
+ about?: string | undefined;
326
+ content?: string | undefined;
327
+ datatype?: string | undefined;
328
+ inlist?: any;
329
+ prefix?: string | undefined;
330
+ property?: string | undefined;
331
+ rel?: string | undefined;
332
+ resource?: string | undefined;
333
+ rev?: string | undefined;
334
+ typeof?: string | undefined;
335
+ vocab?: string | undefined;
336
+ autoCapitalize?: string | undefined;
337
+ autoCorrect?: string | undefined;
338
+ autoSave?: string | undefined;
339
+ itemProp?: string | undefined;
340
+ itemScope?: boolean | undefined;
341
+ itemType?: string | undefined;
342
+ itemID?: string | undefined;
343
+ itemRef?: string | undefined;
344
+ results?: number | undefined;
345
+ security?: string | undefined;
346
+ unselectable?: "off" | "on" | undefined;
347
+ inputMode?: "search" | "text" | "none" | "email" | "tel" | "url" | "numeric" | "decimal" | undefined;
348
+ is?: string | undefined;
339
349
  value?: string | number | readonly string[] | undefined;
340
350
  innerRef?: React.Ref<any> | undefined;
341
- ref?: ((instance: HTMLButtonElement | null) => void) | React.RefObject<HTMLButtonElement> | null | undefined;
342
- form?: string | undefined;
343
- type?: "button" | "reset" | "submit" | undefined;
344
- name?: string | undefined;
345
- key?: React.Key | null | undefined;
346
- href?: string | undefined;
347
351
  disabled?: boolean | undefined;
348
352
  formAction?: string | undefined;
349
353
  formEncType?: string | undefined;
@@ -368,6 +372,6 @@ declare const RcButton: import("styled-components").StyledComponent<React.Forwar
368
372
  variant: RcButtonVariant;
369
373
  loadingMode: RcButtonColorLoadingMode;
370
374
  focusVariant: "ripple" | "focusRing";
371
- }, "classes" | "children" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "slot" | "spellCheck" | "style" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "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" | "size" | "value" | "variant" | "innerRef" | "ref" | "radius" | "form" | "type" | "name" | "key" | "loading" | "CircularProgressProps" | "href" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "action" | "buttonRef" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusVisibleClassName" | "onFocusVisible" | "TouchRippleProps" | "component" | "IconProps" | "focusVariant" | "disableFocusRipple" | "disableElevation" | "endIcon" | "fullWidth" | "startIcon" | "disabledVariant" | "loadingMode" | "keepElevation">;
375
+ }, "ref" | "key" | "suppressHydrationWarning" | "color" | "id" | "lang" | "name" | "style" | "type" | "role" | "tabIndex" | "href" | "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" | "form" | "slot" | "translate" | "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "nonce" | "spellCheck" | "radioGroup" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "size" | "value" | "variant" | "innerRef" | "loading" | "CircularProgressProps" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "action" | "buttonRef" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusVisibleClassName" | "onFocusVisible" | "TouchRippleProps" | "component" | "IconProps" | "focusVariant" | "disableFocusRipple" | "disableElevation" | "endIcon" | "fullWidth" | "startIcon" | "disabledVariant" | "loadingMode" | "keepElevation">;
372
376
  export { RcButton };
373
377
  export type { RcButtonColor, RcButtonColorLoadingMode, RcButtonProps, RcButtonSize, RcButtonVariant, };
@@ -15,6 +15,6 @@ declare const RcButtonGroup: import("styled-components").StyledComponent<React.F
15
15
  variant?: "text" | "contained" | "outlined" | undefined;
16
16
  } & import("@material-ui/core/OverridableComponent").CommonProps<import("@material-ui/core/ButtonGroup").ButtonGroupTypeMap<{}, "div">> & Pick<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
17
17
  ref?: ((instance: HTMLDivElement | null) => void) | React.RefObject<HTMLDivElement> | null | undefined;
18
- }, "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "slot" | "spellCheck" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "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" | "ref" | "key">, "color" | "size" | "variant">, "ref"> & React.RefAttributes<any>>, import("../../../foundation").RcTheme, {}, never>;
18
+ }, "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" | "size" | "variant">, "ref"> & React.RefAttributes<any>>, import("../../../foundation").RcTheme, {}, never>;
19
19
  export { RcButtonGroup };
20
20
  export type { RcButtonGroupProps };
@@ -48,56 +48,26 @@ type RcIconButtonProps = {
48
48
  */
49
49
  focusVariant?: RcBaseFocusVariant<'highlight' | 'focusRing'>;
50
50
  } & RcIconButtonDeprecatedProps & Pick<RcIconProps, 'symbol' | 'loading' | 'CircularProgressProps' | 'iconColor' | 'iconSize' | 'color'> & RcClassesProps<'round' | 'invisible' | 'outline' | 'contained' | 'inverse' | 'icon' | 'persistBg'> & RcBaseProps<RcButtonBaseProps, 'color'>;
51
- declare const RcIconButton: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<Omit<WithTooltipProps<Omit<RcIconButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>, "ref"> & React.RefAttributes<any>>, RcTheme, {
51
+ declare const RcIconButton: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<{
52
+ title?: NonNullable<React.ReactNode> | undefined;
53
+ useRcTooltip?: boolean | undefined;
54
+ TooltipProps?: Partial<import("../../Tooltip/Tooltip").RcTooltipProps> | undefined;
55
+ } & Omit<Omit<Omit<RcIconButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>, "ref">, "title"> & React.RefAttributes<HTMLButtonElement>> & React.ComponentType<WithTooltipProps<Omit<Omit<RcIconButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>, "ref">>>, RcTheme, {
52
56
  title?: NonNullable<React.ReactNode> | undefined;
53
57
  TooltipProps?: Partial<import("../../Tooltip/Tooltip").RcTooltipProps> | undefined;
54
58
  symbol?: import("../../Icon/Icon").SvgSymbol | undefined;
55
- children?: React.ReactNode;
56
- defaultChecked?: boolean | undefined;
57
- defaultValue?: string | number | readonly string[] | undefined;
58
- suppressContentEditableWarning?: boolean | undefined;
59
+ ref?: ((instance: HTMLButtonElement | null) => void) | React.RefObject<HTMLButtonElement> | null | undefined;
60
+ key?: React.Key | null | undefined;
59
61
  suppressHydrationWarning?: boolean | undefined;
60
- accessKey?: string | undefined;
61
- autoFocus?: boolean | undefined;
62
- contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
63
- contextMenu?: string | undefined;
64
- dir?: string | undefined;
65
- draggable?: (boolean | "true" | "false") | undefined;
66
- hidden?: boolean | undefined;
67
62
  id?: string | undefined;
68
63
  lang?: string | undefined;
69
- nonce?: string | undefined;
70
- slot?: string | undefined;
71
- spellCheck?: (boolean | "true" | "false") | undefined;
64
+ name?: string | undefined;
72
65
  style?: React.CSSProperties | undefined;
73
- tabIndex?: string | number | undefined;
74
- translate?: "yes" | "no" | undefined;
75
- radioGroup?: string | undefined;
76
66
  role?: React.AriaRole | undefined;
77
- about?: string | undefined;
78
- content?: string | undefined;
79
- datatype?: string | undefined;
80
- inlist?: any;
81
- prefix?: string | undefined;
82
- property?: string | undefined;
83
- rel?: string | undefined;
84
- resource?: string | undefined;
85
- rev?: string | undefined;
86
- typeof?: string | undefined;
87
- vocab?: string | undefined;
88
- autoCapitalize?: string | undefined;
89
- autoCorrect?: string | undefined;
90
- autoSave?: string | undefined;
91
- itemProp?: string | undefined;
92
- itemScope?: boolean | undefined;
93
- itemType?: string | undefined;
94
- itemID?: string | undefined;
95
- itemRef?: string | undefined;
96
- results?: number | undefined;
97
- security?: string | undefined;
98
- unselectable?: "on" | "off" | undefined;
99
- inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
100
- is?: string | undefined;
67
+ tabIndex?: string | number | undefined;
68
+ elevation?: keyof import("@material-ui/core/styles/shadows").Shadows | undefined;
69
+ href?: string | undefined;
70
+ radius?: "circle" | "round" | "sm" | "md" | "lg" | "xl" | "xxl" | "zero" | undefined;
101
71
  "aria-activedescendant"?: string | undefined;
102
72
  "aria-atomic"?: (boolean | "true" | "false") | undefined;
103
73
  "aria-autocomplete"?: "list" | "none" | "inline" | "both" | undefined;
@@ -110,17 +80,17 @@ declare const RcIconButton: import("styled-components").StyledComponent<React.Fo
110
80
  "aria-colindextext"?: string | undefined;
111
81
  "aria-colspan"?: number | undefined;
112
82
  "aria-controls"?: string | undefined;
113
- "aria-current"?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
83
+ "aria-current"?: boolean | "date" | "time" | "true" | "false" | "page" | "step" | "location" | undefined;
114
84
  "aria-describedby"?: string | undefined;
115
85
  "aria-description"?: string | undefined;
116
86
  "aria-details"?: string | undefined;
117
87
  "aria-disabled"?: (boolean | "true" | "false") | undefined;
118
- "aria-dropeffect"?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
88
+ "aria-dropeffect"?: "link" | "copy" | "none" | "execute" | "move" | "popup" | undefined;
119
89
  "aria-errormessage"?: string | undefined;
120
90
  "aria-expanded"?: (boolean | "true" | "false") | undefined;
121
91
  "aria-flowto"?: string | undefined;
122
92
  "aria-grabbed"?: (boolean | "true" | "false") | undefined;
123
- "aria-haspopup"?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
93
+ "aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "listbox" | "tree" | "true" | "false" | undefined;
124
94
  "aria-hidden"?: (boolean | "true" | "false") | undefined;
125
95
  "aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
126
96
  "aria-keyshortcuts"?: string | undefined;
@@ -151,6 +121,7 @@ declare const RcIconButton: import("styled-components").StyledComponent<React.Fo
151
121
  "aria-valuemin"?: number | undefined;
152
122
  "aria-valuenow"?: number | undefined;
153
123
  "aria-valuetext"?: string | undefined;
124
+ children?: React.ReactNode;
154
125
  dangerouslySetInnerHTML?: {
155
126
  __html: string | TrustedHTML;
156
127
  } | undefined;
@@ -316,20 +287,54 @@ declare const RcIconButton: import("styled-components").StyledComponent<React.Fo
316
287
  onAnimationIterationCapture?: React.AnimationEventHandler<HTMLButtonElement> | undefined;
317
288
  onTransitionEnd?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
318
289
  onTransitionEndCapture?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
290
+ form?: string | undefined;
291
+ slot?: string | undefined;
292
+ download?: boolean | undefined;
293
+ translate?: "no" | "yes" | undefined;
294
+ defaultChecked?: boolean | undefined;
295
+ defaultValue?: string | number | readonly string[] | undefined;
296
+ suppressContentEditableWarning?: boolean | undefined;
297
+ accessKey?: string | undefined;
298
+ autoFocus?: boolean | undefined;
299
+ contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
300
+ contextMenu?: string | undefined;
301
+ dir?: string | undefined;
302
+ draggable?: (boolean | "true" | "false") | undefined;
303
+ hidden?: boolean | undefined;
304
+ nonce?: string | undefined;
305
+ spellCheck?: (boolean | "true" | "false") | undefined;
306
+ radioGroup?: string | undefined;
307
+ about?: string | undefined;
308
+ content?: string | undefined;
309
+ datatype?: string | undefined;
310
+ inlist?: any;
311
+ prefix?: string | undefined;
312
+ property?: string | undefined;
313
+ rel?: string | undefined;
314
+ resource?: string | undefined;
315
+ rev?: string | undefined;
316
+ typeof?: string | undefined;
317
+ vocab?: string | undefined;
318
+ autoCapitalize?: string | undefined;
319
+ autoCorrect?: string | undefined;
320
+ autoSave?: string | undefined;
321
+ itemProp?: string | undefined;
322
+ itemScope?: boolean | undefined;
323
+ itemType?: string | undefined;
324
+ itemID?: string | undefined;
325
+ itemRef?: string | undefined;
326
+ results?: number | undefined;
327
+ security?: string | undefined;
328
+ unselectable?: "off" | "on" | undefined;
329
+ inputMode?: "search" | "text" | "none" | "email" | "tel" | "url" | "numeric" | "decimal" | undefined;
330
+ is?: string | undefined;
319
331
  value?: string | number | readonly string[] | undefined;
320
332
  innerRef?: React.Ref<any> | undefined;
321
- ref?: ((instance: HTMLButtonElement | null) => void) | React.RefObject<HTMLButtonElement> | null | undefined;
322
- radius?: "circle" | "sm" | "md" | "lg" | "xl" | "round" | "xxl" | "zero" | undefined;
323
- form?: string | undefined;
324
- name?: string | undefined;
325
- key?: React.Key | null | undefined;
326
333
  iconColor?: import("../../../foundation").RcPaletteProp | undefined;
327
334
  iconSize?: import("../../Icon").IconSize | undefined;
328
335
  loading?: boolean | undefined;
329
336
  CircularProgressProps?: import("../../Progress/CircularProgress/CircularProgress").RcCircularProgressProps | undefined;
330
337
  tooltipForceHide?: boolean | undefined;
331
- download?: boolean | undefined;
332
- href?: string | undefined;
333
338
  disabled?: boolean | undefined;
334
339
  formAction?: string | undefined;
335
340
  formEncType?: string | undefined;
@@ -354,7 +359,6 @@ declare const RcIconButton: import("styled-components").StyledComponent<React.Fo
354
359
  shouldPersistBg?: boolean | undefined;
355
360
  stretchIcon?: boolean | undefined;
356
361
  useColorWhenDisabled?: boolean | undefined;
357
- elevation?: keyof import("@material-ui/core/styles/shadows").Shadows | undefined;
358
362
  activeElevation?: keyof import("@material-ui/core/styles/shadows").Shadows | undefined;
359
363
  disabledFakeBorder?: boolean | undefined;
360
364
  IconProps?: RcIconProps | undefined;
@@ -365,9 +369,9 @@ declare const RcIconButton: import("styled-components").StyledComponent<React.Fo
365
369
  type: "button" | "reset" | "submit";
366
370
  focusRipple: boolean;
367
371
  disableTouchRipple: boolean;
368
- classes: Partial<import("@material-ui/styles").ClassNameMap<"icon" | "round" | "inverse" | "outline" | "invisible" | "contained" | "persistBg">> & Partial<import("@material-ui/styles").ClassNameMap<import("@material-ui/core").ButtonBaseClassKey>>;
372
+ classes: Partial<import("@material-ui/styles").ClassNameMap<"round" | "icon" | "inverse" | "outline" | "invisible" | "contained" | "persistBg">> & Partial<import("@material-ui/styles").ClassNameMap<import("@material-ui/core").ButtonBaseClassKey>>;
369
373
  useRcTooltip: boolean;
370
- focusVariant: "focusRing" | "highlight";
374
+ focusVariant: "highlight" | "focusRing";
371
375
  } & {
372
376
  /** variant, default with `round` */
373
377
  variant?: RcIconButtonVariant | undefined;
@@ -382,7 +386,7 @@ declare const RcIconButton: import("styled-components").StyledComponent<React.Fo
382
386
  /** still use color when disabled */
383
387
  useColorWhenDisabled?: boolean | undefined;
384
388
  /** custom border radius for tag, default is `lg` */
385
- radius?: "circle" | "sm" | "md" | "lg" | "xl" | "round" | "xxl" | "zero" | undefined;
389
+ radius?: "circle" | "round" | "sm" | "md" | "lg" | "xl" | "xxl" | "zero" | undefined;
386
390
  /**
387
391
  * `box-shadow` with token
388
392
  * 0 ~ 24 for different elevation shadow
@@ -408,8 +412,8 @@ declare const RcIconButton: import("styled-components").StyledComponent<React.Fo
408
412
  *
409
413
  * @default 'highlight'
410
414
  */
411
- focusVariant?: "focusRing" | "highlight" | undefined;
412
- } & RcIconButtonDeprecatedProps & Pick<RcIconProps, "symbol" | "color" | "iconColor" | "iconSize" | "loading" | "CircularProgressProps"> & RcClassesProps<"icon" | "round" | "inverse" | "outline" | "invisible" | "contained" | "persistBg"> & RcBaseProps<{
415
+ focusVariant?: "highlight" | "focusRing" | undefined;
416
+ } & RcIconButtonDeprecatedProps & Pick<RcIconProps, "symbol" | "color" | "iconColor" | "iconSize" | "loading" | "CircularProgressProps"> & RcClassesProps<"round" | "icon" | "inverse" | "outline" | "invisible" | "contained" | "persistBg"> & RcBaseProps<{
413
417
  action?: React.Ref<import("@material-ui/core").ButtonBaseActions> | undefined;
414
418
  buttonRef?: React.Ref<unknown> | undefined;
415
419
  centerRipple?: boolean | undefined;
@@ -427,6 +431,6 @@ declare const RcIconButton: import("styled-components").StyledComponent<React.Fo
427
431
  TouchRippleProps?: Partial<import("@material-ui/core/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
428
432
  } & 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"> & {
429
433
  ref?: ((instance: HTMLButtonElement | null) => void) | React.RefObject<HTMLButtonElement> | null | undefined;
430
- }, "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "slot" | "spellCheck" | "title" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "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" | "value" | "ref" | "form" | "type" | "name" | "key" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget">, "color">, "symbol" | "classes" | "children" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "nonce" | "slot" | "spellCheck" | "style" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "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" | "size" | "value" | "variant" | "innerRef" | "ref" | "radius" | "form" | "type" | "name" | "key" | "iconColor" | "iconSize" | "loading" | "CircularProgressProps" | "tooltipForceHide" | "useRcTooltip" | "TooltipProps" | "download" | "href" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "action" | "buttonRef" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "onFocusVisible" | "TouchRippleProps" | "invisible" | "tooltipTitle" | "tooltipPlacement" | "disableToolTip" | "popperProps" | "externalLink" | "ariaLabel" | "aRef" | "shouldPersistBg" | "stretchIcon" | "useColorWhenDisabled" | "elevation" | "activeElevation" | "disabledFakeBorder" | "IconProps" | "focusVariant" | "alwaysEnableTooltip">;
434
+ }, "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">, "symbol" | "ref" | "key" | "suppressHydrationWarning" | "color" | "id" | "lang" | "name" | "style" | "type" | "role" | "tabIndex" | "elevation" | "href" | "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" | "form" | "slot" | "title" | "download" | "translate" | "classes" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "accessKey" | "autoFocus" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "nonce" | "spellCheck" | "radioGroup" | "about" | "content" | "datatype" | "inlist" | "prefix" | "property" | "rel" | "resource" | "rev" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "size" | "value" | "variant" | "innerRef" | "iconColor" | "iconSize" | "loading" | "CircularProgressProps" | "tooltipForceHide" | "useRcTooltip" | "TooltipProps" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "action" | "buttonRef" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "onFocusVisible" | "TouchRippleProps" | "invisible" | "tooltipTitle" | "tooltipPlacement" | "disableToolTip" | "popperProps" | "externalLink" | "ariaLabel" | "aRef" | "shouldPersistBg" | "stretchIcon" | "useColorWhenDisabled" | "activeElevation" | "disabledFakeBorder" | "IconProps" | "focusVariant" | "alwaysEnableTooltip">;
431
435
  export { RcIconButton };
432
436
  export type { RcIconButtonProps, RcIconButtonSize, RcIconButtonVariant };
@@ -1,6 +1,6 @@
1
1
  import { UnitMap } from '../../../../foundation';
2
2
  import { RcIconButtonSize } from '../IconButton';
3
- export declare const RcIconButtonClasses: Partial<UnitMap<"icon" | import("@material-ui/core").ButtonBaseClassKey | "round" | "inverse" | "outline" | "invisible" | "contained" | "persistBg", any>>;
3
+ export declare const RcIconButtonClasses: Partial<UnitMap<"round" | "icon" | import("@material-ui/core").ButtonBaseClassKey | "inverse" | "outline" | "invisible" | "contained" | "persistBg", any>>;
4
4
  export declare const RcIconButtonTouchRippleClasses: Partial<UnitMap<import("@material-ui/core/ButtonBase/TouchRipple").TouchRippleClassKey, any>>;
5
5
  export declare const RcIconButtonSizes: Record<NonNullable<RcIconButtonSize | undefined>, number>;
6
6
  export declare const RcIconButtonFocusVisibleInsetSize: UnitMap<RcIconButtonSize, number>;
@@ -12,6 +12,10 @@ type RcToggleButtonProps = {
12
12
  /** button size, with default with `medium` */
13
13
  size?: UnionPick<NonNullable<RcIconButtonProps['size']>, 'small' | 'medium' | 'large'>;
14
14
  } & Pick<RcIconButtonProps, 'symbol'> & RcBaseProps<ComponentProps<typeof MuiToggleButton>, 'size'>;
15
- declare const RcToggleButton: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<Omit<import("../../Tooltip/withTooltip/withTooltip").WithTooltipProps<Omit<RcToggleButtonProps, "ref"> & React.RefAttributes<any>>, "ref"> & React.RefAttributes<any>>, import("../../../foundation").RcTheme, {}, never>;
15
+ declare const RcToggleButton: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<{
16
+ title?: NonNullable<React.ReactNode> | undefined;
17
+ useRcTooltip?: boolean | undefined;
18
+ TooltipProps?: Partial<import("../../Tooltip/Tooltip").RcTooltipProps> | undefined;
19
+ } & Omit<Omit<Omit<RcToggleButtonProps, "ref"> & React.RefAttributes<any>, "ref">, "title"> & React.RefAttributes<any>> & React.ComponentType<import("../../Tooltip/withTooltip/withTooltip").WithTooltipProps<Omit<Omit<RcToggleButtonProps, "ref"> & React.RefAttributes<any>, "ref">>>, import("../../../foundation").RcTheme, {}, never>;
16
20
  export { RcToggleButton };
17
21
  export type { RcToggleButtonProps, RcToggleButtonVariant };