@ringcentral/juno 3.0.0-alpha.2 → 3.0.0-alpha.3

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.
@@ -26,7 +26,7 @@ type RcTextFieldProps = {
26
26
  /** when clear button trigger */
27
27
  onClear?: React.MouseEventHandler<HTMLButtonElement>;
28
28
  /** props apply on default clear button */
29
- clearButtonProps?: RcIconButtonProps & WithTooltipProps;
29
+ clearButtonProps?: Partial<RcIconButtonProps & WithTooltipProps>;
30
30
  /** If `true`, the input element will be `select` during the first mount. */
31
31
  autoSelect?: boolean;
32
32
  /** @deprecated please use `autoFocus` to replace that */
@@ -63,7 +63,7 @@ declare const RcTextField: import("styled-components").StyledComponent<React.For
63
63
  /** when clear button trigger */
64
64
  onClear?: React.MouseEventHandler<HTMLButtonElement> | undefined;
65
65
  /** props apply on default clear button */
66
- clearButtonProps?: ({
66
+ clearButtonProps?: Partial<{
67
67
  variant?: import("../../Buttons/IconButton/IconButton").RcIconButtonVariant | undefined;
68
68
  size?: import("../../Buttons/IconButton/IconButton").RcIconButtonSize | undefined;
69
69
  shouldPersistBg?: boolean | undefined;
@@ -88,7 +88,7 @@ declare const RcTextField: import("styled-components").StyledComponent<React.For
88
88
  /** border radius for outline text field */
89
89
  focusVisibleClassName?: string | undefined;
90
90
  onFocusVisible?: React.FocusEventHandler<any> | undefined;
91
- tabIndex?: string | number | undefined; /** @deprecated */
91
+ tabIndex?: string | number | undefined;
92
92
  TouchRippleProps?: Partial<import("@material-ui/core/ButtonBase/TouchRipple").TouchRippleProps> | undefined;
93
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
94
  ref?: ((instance: HTMLButtonElement | null) => void) | React.RefObject<HTMLButtonElement> | null | undefined;
@@ -96,7 +96,7 @@ declare const RcTextField: import("styled-components").StyledComponent<React.For
96
96
  title?: NonNullable<React.ReactNode> | undefined;
97
97
  useRcTooltip?: boolean | undefined;
98
98
  TooltipProps?: Partial<import("../../Tooltip/Tooltip").RcTooltipProps> | undefined;
99
- } & Omit<{}, "title">) | undefined;
99
+ } & Omit<{}, "title">> | undefined;
100
100
  /** If `true`, the input element will be `select` during the first mount. */
101
101
  autoSelect?: boolean | undefined;
102
102
  /** @deprecated please use `autoFocus` to replace that */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ringcentral/juno",
3
- "version": "3.0.0-alpha.2",
3
+ "version": "3.0.0-alpha.3",
4
4
  "author": "RingCentral",
5
5
  "license": "MIT",
6
6
  "main": "./index.js",