@ringcentral/juno 3.0.0-alpha.7 → 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
|
@@ -39,6 +39,35 @@ type NumberPickerRef = {
|
|
|
39
39
|
value: number;
|
|
40
40
|
setRange: React.Dispatch<React.SetStateAction<Range>>;
|
|
41
41
|
};
|
|
42
|
-
declare const NumberPicker:
|
|
42
|
+
declare const NumberPicker: import("styled-components").StyledComponent<React.MemoExoticComponent<React.ForwardRefExoticComponent<{
|
|
43
|
+
/** min number */
|
|
44
|
+
min?: number | undefined;
|
|
45
|
+
/** max number */
|
|
46
|
+
max?: number | undefined;
|
|
47
|
+
/** when user click the display number */
|
|
48
|
+
onClick?: (() => void) | undefined;
|
|
49
|
+
/** selected value */
|
|
50
|
+
value: number;
|
|
51
|
+
/** data source of the number array */
|
|
52
|
+
source: number[];
|
|
53
|
+
/** trigger when want update value */
|
|
54
|
+
onUpdateValue: (value?: number) => void;
|
|
55
|
+
/** trigger when inner update */
|
|
56
|
+
onInnerChange?: ((value?: number) => void) | undefined;
|
|
57
|
+
/** trigger when confirm value */
|
|
58
|
+
onClose: (event: React.KeyboardEvent<HTMLDivElement>) => void;
|
|
59
|
+
/** automationId, used for test */
|
|
60
|
+
automationId?: string | undefined;
|
|
61
|
+
/** get label for screen reader */
|
|
62
|
+
getScreenReaderLabel?: ((value: string) => string) | undefined;
|
|
63
|
+
/** each step value */
|
|
64
|
+
step: number;
|
|
65
|
+
/** render value fn */
|
|
66
|
+
renderValue?: ((value: number) => string) | undefined;
|
|
67
|
+
/**
|
|
68
|
+
* If `true`, the `NumberPicker` element will be focused during the first mount.
|
|
69
|
+
*/
|
|
70
|
+
autoFocus?: boolean | undefined;
|
|
71
|
+
} & RcClickFiledStyleProps & RcBaseProps<React.HTMLAttributes<HTMLDivElement>, "onChange" | "onClick"> & React.RefAttributes<NumberPickerRef>>>, import("../../../../foundation").RcTheme, {}, never>;
|
|
43
72
|
export { NumberPicker };
|
|
44
73
|
export type { NumberPickerProps, NumberPickerRef };
|
|
@@ -21,6 +21,22 @@ type ToggleTextProps = {
|
|
|
21
21
|
type ToggleTextRef = {
|
|
22
22
|
value: TIME_SYSTEM_TEXT;
|
|
23
23
|
};
|
|
24
|
-
declare const ToggleText:
|
|
24
|
+
declare const ToggleText: import("styled-components").StyledComponent<React.MemoExoticComponent<React.ForwardRefExoticComponent<{
|
|
25
|
+
/** when user click th display text to change */
|
|
26
|
+
onUpdateValue: (value: TIME_SYSTEM_TEXT) => void;
|
|
27
|
+
/** trigger when inner update */
|
|
28
|
+
onInnerChange?: ((value: TIME_SYSTEM_TEXT) => void) | undefined;
|
|
29
|
+
/** initial value */
|
|
30
|
+
value: TIME_SYSTEM_TEXT;
|
|
31
|
+
/** get label for screen reader */
|
|
32
|
+
getScreenReaderLabel?: ((value: string) => string) | undefined;
|
|
33
|
+
/** trigger when confirm value */
|
|
34
|
+
onClose: (event: React.KeyboardEvent<HTMLButtonElement>) => void;
|
|
35
|
+
/** custom text for 'AM' and 'PM' */
|
|
36
|
+
periodTexts: {
|
|
37
|
+
AM: string;
|
|
38
|
+
PM: string;
|
|
39
|
+
};
|
|
40
|
+
} & RcClickFiledStyleProps & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "onClick" | "value"> & React.RefAttributes<ToggleTextRef>>>, import("../../../../foundation").RcTheme, {}, never>;
|
|
25
41
|
export { ToggleText };
|
|
26
42
|
export type { ToggleTextProps, ToggleTextRef };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const StyledNumberPicker:
|
|
1
|
+
export declare const StyledNumberPicker: import("styled-components").StyledComponent<"div", import("../../../../../foundation").RcTheme, {}, never>;
|
|
@@ -1 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { RcTimePickerProps } from '../TimePicker';
|
|
2
|
+
type StyledPickerPopperWrapProps = Omit<RcTimePickerProps, 'value' | 'periodTexts'>;
|
|
3
|
+
export declare const StyledPickerPopperWrap: import("styled-components").StyledComponent<"div", import("../../../../../foundation").RcTheme, StyledPickerPopperWrapProps, never>;
|
|
4
|
+
export {};
|
|
@@ -1 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { StyledTimeIconButtonProps } from './StyledTimeIconButton';
|
|
3
|
+
export declare const StyledSelectionItem: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<StyledTimeIconButtonProps, "ref"> & import("react").RefAttributes<any>>, import("../../../../../foundation").RcTheme, {
|
|
4
|
+
wrapperSize?: "small" | "medium" | undefined;
|
|
5
|
+
itemLength?: number | undefined;
|
|
6
|
+
} & {
|
|
7
|
+
theme?: import("../../../../../foundation").RcTheme | undefined;
|
|
8
|
+
} & {
|
|
9
|
+
as?: string | import("react").ComponentType<any> | undefined;
|
|
10
|
+
forwardedAs?: string | import("react").ComponentType<any> | undefined;
|
|
11
|
+
} & {
|
|
12
|
+
selected?: boolean | undefined;
|
|
13
|
+
hidden?: boolean | undefined;
|
|
14
|
+
}, never>;
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import { RcClickFiledStyleProps } from '../TimePicker';
|
|
2
|
+
export declare const StyledSelectionView: import("styled-components").StyledComponent<"div", import("../../../../../foundation").RcTheme, RcClickFiledStyleProps, never>;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { PickerBaseIconButtonProps } from '../../styles';
|
|
2
3
|
import { RcTimePickerSize } from '../TimePicker';
|
|
3
4
|
export type StyledTimeIconButtonProps = {
|
|
@@ -5,4 +6,16 @@ export type StyledTimeIconButtonProps = {
|
|
|
5
6
|
/** item length of data source */
|
|
6
7
|
itemLength?: number;
|
|
7
8
|
} & PickerBaseIconButtonProps;
|
|
8
|
-
export declare const StyledTimeIconButton: any
|
|
9
|
+
export declare const StyledTimeIconButton: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<Omit<StyledTimeIconButtonProps, "ref"> & React.RefAttributes<any>>, import("../../../../../foundation").RcTheme, {
|
|
10
|
+
wrapperSize?: "small" | "medium" | undefined;
|
|
11
|
+
/** item length of data source */
|
|
12
|
+
itemLength?: number | undefined;
|
|
13
|
+
} & {
|
|
14
|
+
theme?: import("../../../../../foundation").RcTheme | undefined;
|
|
15
|
+
} & {
|
|
16
|
+
as?: string | React.ComponentType<any> | undefined;
|
|
17
|
+
forwardedAs?: string | React.ComponentType<any> | undefined;
|
|
18
|
+
} & {
|
|
19
|
+
selected?: boolean | undefined;
|
|
20
|
+
hidden?: boolean | undefined;
|
|
21
|
+
}, never>;
|
|
@@ -4,4 +4,4 @@ export type PickerBaseIconButtonProps = ComponentProps<typeof RcIconButton> & {
|
|
|
4
4
|
selected?: boolean;
|
|
5
5
|
hidden?: boolean;
|
|
6
6
|
};
|
|
7
|
-
export declare const PickerBaseIconButton: React.ForwardRefExoticComponent<Omit<
|
|
7
|
+
export declare const PickerBaseIconButton: React.ForwardRefExoticComponent<Omit<PickerBaseIconButtonProps, "ref"> & React.RefAttributes<any>>;
|
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { RcTextFieldProps } from '../../TextField';
|
|
3
|
+
declare const StyledPickerTextField: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<Omit<RcTextFieldProps, "ref"> & React.RefAttributes<any>>, import("../../../../foundation").RcTheme, {}, never>;
|
|
2
4
|
export { StyledPickerTextField };
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const StyledPopover: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("../../../../foundation").RcBaseProps<import("@material-ui/core").PopoverProps>, "ref"> & import("react").RefAttributes<any>>, import("../../../../foundation").RcTheme, {}, never>;
|
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
import { ComponentProps } from 'react';
|
|
1
|
+
import React, { ComponentProps } from 'react';
|
|
2
2
|
import MuiRadio from '@material-ui/core/Radio';
|
|
3
3
|
import { RcBaseFormControlLabelProps, RcBaseLabelPlacement, RcBaseProps } from '../../../foundation';
|
|
4
4
|
import { RcCheckedStyledProps } from '../utils';
|
|
5
5
|
type RcRadioLabelPlacement = RcBaseLabelPlacement<'start' | 'end'>;
|
|
6
6
|
type RcRadioFormControlLabelProps = RcBaseFormControlLabelProps<RcRadioLabelPlacement>;
|
|
7
7
|
type RcRadioProps = {} & RcCheckedStyledProps<RcRadioFormControlLabelProps> & RcBaseProps<ComponentProps<typeof MuiRadio>, 'size' | 'color' | 'title' | 'edge'>;
|
|
8
|
-
declare const RcRadio:
|
|
8
|
+
declare const RcRadio: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<{
|
|
9
|
+
title?: NonNullable<React.ReactNode> | undefined;
|
|
10
|
+
useRcTooltip?: boolean | undefined;
|
|
11
|
+
TooltipProps?: Partial<import("../../Tooltip/Tooltip").RcTooltipProps> | undefined;
|
|
12
|
+
} & Omit<Omit<Omit<RcRadioProps, "ref"> & React.RefAttributes<any>, "ref">, "title"> & React.RefAttributes<any>> & React.ComponentType<import("../../Tooltip/withTooltip/withTooltip").WithTooltipProps<Omit<Omit<RcRadioProps, "ref"> & React.RefAttributes<any>, "ref">>>, import("../../../foundation").RcTheme, {}, never>;
|
|
9
13
|
export { RcRadio };
|
|
10
14
|
export type { RcRadioFormControlLabelProps, RcRadioLabelPlacement, RcRadioProps, };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ComponentProps } from 'react';
|
|
1
|
+
import React, { ComponentProps } from 'react';
|
|
2
2
|
import MuiRadioGroup from '@material-ui/core/RadioGroup';
|
|
3
3
|
import { RcBaseProps } from '../../../foundation';
|
|
4
4
|
type RcRadioGroupProps = {} & RcBaseProps<ComponentProps<typeof MuiRadioGroup>>;
|
|
5
|
-
declare const RcRadioGroup: any
|
|
5
|
+
declare const RcRadioGroup: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<Omit<RcBaseProps<import("@material-ui/core/RadioGroup").RadioGroupProps>, "ref"> & React.RefAttributes<any>>, import("../../../foundation").RcTheme, {}, never>;
|
|
6
6
|
export { RcRadioGroup };
|
|
7
7
|
export type { RcRadioGroupProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { RcBaseProps } from '../../../../foundation';
|
|
3
3
|
import { RcButtonProps } from '../../../Buttons';
|
|
4
4
|
import { RcSelectProps } from '../Select';
|
|
@@ -15,6 +15,6 @@ type RcPlainSelectProps = {
|
|
|
15
15
|
children: JSX.Element[];
|
|
16
16
|
} & RcBaseProps<RcSelectProps, 'variant' | 'multiple' | 'error' | 'placeholder'>;
|
|
17
17
|
/** @release */
|
|
18
|
-
declare const RcPlainSelect: any
|
|
18
|
+
declare const RcPlainSelect: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<Omit<RcPlainSelectProps, "ref"> & React.RefAttributes<any>>, import("../../../../foundation").RcTheme, {}, never>;
|
|
19
19
|
export { RcPlainSelect };
|
|
20
20
|
export type { RcPlainSelectProps, RcPlainSelectPropsVariant };
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { SelectProps as MuiSelectProps } from '@material-ui/core/Select';
|
|
2
3
|
import { RcBaseProps, RcBaseSize } from '../../../foundation';
|
|
3
4
|
import { RcTextFieldProps } from '../TextField';
|
|
@@ -14,6 +15,6 @@ type RcSelectProps = {
|
|
|
14
15
|
/** is that menu virtualize */
|
|
15
16
|
virtualize?: boolean;
|
|
16
17
|
} & RcBaseProps<MuiSelectProps, 'variant' | 'color' | 'rows' | 'rowsMax' | 'rowsMin' | 'maxRows' | 'minRows' | 'renderSuffix' | 'multiline' | 'margin'> & Pick<RcTextFieldProps, 'InputProps' | 'helperText' | 'label' | 'validate' | 'focused' | 'gutterBottom' | 'textVariant' | 'color'>;
|
|
17
|
-
declare const RcSelect: any
|
|
18
|
+
declare const RcSelect: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<Omit<RcSelectProps, "ref"> & React.RefAttributes<any>>, import("../../../foundation").RcTheme, {}, never>;
|
|
18
19
|
export { RcSelect };
|
|
19
20
|
export type { RcSelectProps, RcSelectSize, RcSelectVariant };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ComponentProps } from 'react';
|
|
1
|
+
import React, { ComponentProps } from 'react';
|
|
2
2
|
import { RcIcon } from '../../../Icon';
|
|
3
3
|
export type SelectArrowDownIconProps = {
|
|
4
4
|
className?: string;
|
|
5
5
|
} & ComponentProps<typeof RcIcon>;
|
|
6
|
-
export declare const SelectArrowDownIcon: any
|
|
6
|
+
export declare const SelectArrowDownIcon: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<Omit<SelectArrowDownIconProps, "ref"> & React.RefAttributes<any>>, import("../../../../foundation").RcTheme, {}, never>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { ComponentProps } from 'react';
|
|
1
|
+
import React, { ComponentProps } from 'react';
|
|
2
2
|
import MuiSlider from '@material-ui/core/Slider';
|
|
3
3
|
import { RcBaseProps, RcPaletteKeys } from '../../../foundation';
|
|
4
4
|
type RcSliderProps = {
|
|
5
5
|
/** custom color for Slider */
|
|
6
6
|
color?: RcPaletteKeys;
|
|
7
7
|
} & RcBaseProps<ComponentProps<typeof MuiSlider>, 'color'>;
|
|
8
|
-
declare const RcSlider: any
|
|
8
|
+
declare const RcSlider: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<Omit<RcSliderProps, "ref"> & React.RefAttributes<any>>, import("../../../foundation").RcTheme, {}, never>;
|
|
9
9
|
export { RcSlider };
|
|
10
10
|
export type { RcSliderProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComponentProps } from 'react';
|
|
1
|
+
import React, { ComponentProps } from 'react';
|
|
2
2
|
import MuiSwitch from '@material-ui/core/Switch';
|
|
3
3
|
import { RcPaletteProp } from '../../../foundation';
|
|
4
4
|
import { RcBaseFormControlLabelProps, RcBaseLabelPlacement, RcBaseProps } from '../../../foundation/typings';
|
|
@@ -9,6 +9,6 @@ type RcSwitchProps = {
|
|
|
9
9
|
/** custom trackColor when unchecked status */
|
|
10
10
|
trackColor?: RcPaletteProp;
|
|
11
11
|
} & RcBaseProps<RcCheckedStyledProps<RcSwitchFormControlLabelProps>, 'size' | 'error' | 'followColorWhenUnChecked'> & RcBaseProps<ComponentProps<typeof MuiSwitch>, 'size' | 'color' | 'edge' | 'checkedIcon' | 'icon' | 'disableFocusRipple' | 'centerRipple' | 'disableRipple' | 'disableTouchRipple' | 'focusRipple' | 'TouchRippleProps'>;
|
|
12
|
-
declare const RcSwitch: any
|
|
12
|
+
declare const RcSwitch: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<Omit<RcSwitchProps, "ref"> & React.RefAttributes<any>>, import("../../../foundation").RcTheme, {}, never>;
|
|
13
13
|
export { RcSwitch };
|
|
14
14
|
export type { RcSwitchFormControlLabelProps, RcSwitchLabelPlacement, RcSwitchProps, };
|