@ringcentral/juno 3.0.0-alpha.3 → 3.0.0-alpha.4
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 +1 -3
- package/components/Avatar/styles/StyledAvatarWrapper.d.ts +1 -2
- package/components/Avatar/styles/StyledIconAvatar.d.ts +1 -7
- package/components/Avatar/styles/StyledPresenceWrapper.d.ts +1 -5
- package/components/Avatar/styles/StyledPresenceWrapper.js +2 -2
- 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 +1 -320
- package/components/Buttons/ButtonBase/ButtonBase.d.ts +1 -1
- package/components/Buttons/ButtonGroup/ButtonGroup.d.ts +2 -15
- package/components/Buttons/IconButton/IconButton.d.ts +1 -382
- 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 +1 -2
- package/components/Buttons/ToggleButton/ToggleButton.d.ts +2 -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 +2 -8
- package/components/Card/CardActions/CardActions.d.ts +2 -2
- package/components/Card/CardContent/CardContent.d.ts +2 -6
- package/components/Card/CardHeader/CardHeader.d.ts +2 -22
- package/components/Card/CardHoverActions/CardHoverActions.d.ts +2 -2
- package/components/Card/CardMedia/CardMedia.d.ts +2 -14
- package/components/Card/CardSelectionArea/CardSelectionArea.d.ts +2 -2
- package/components/Chip/Chip.d.ts +2 -8
- package/components/DetachedWindow/styles/DetachedWindowStyle.d.ts +1 -1
- package/components/Dialer/DialPad/DialPad.d.ts +2 -63
- package/components/Dialer/DialPadButton/DialPadButton.d.ts +1 -2
- package/components/Dialer/DialPadButton/styles/StyledDialPadButton.d.ts +1 -1
- package/components/Dialer/DialTextField/DialTextField.d.ts +1 -2
- package/components/Dialog/Dialog.d.ts +2 -2
- package/components/Dialog/DialogActions/DialogActions.d.ts +2 -277
- package/components/Dialog/DialogContent/DialogContent.d.ts +2 -4
- package/components/Dialog/DialogContentText/DialogContentText.d.ts +2 -14
- package/components/Dialog/DialogTitle/DialogTitle.d.ts +2 -4
- package/components/Divider/Divider.d.ts +1 -14
- package/components/DnD/DragDropContext/styles/StyledGlobalDraggable.d.ts +1 -1
- package/components/DnD/DragHandle/DragHandle.d.ts +1 -4
- package/components/DnD/Draggable/Draggable.d.ts +1 -4
- package/components/DnD/Droppable/Droppable.d.ts +1 -2
- package/components/Downshift/SuggestionList/SuggestionList.d.ts +2 -44
- package/components/Downshift/styles/DownshiftStyle.d.ts +2 -352
- package/components/Downshift/styles/StyledPopper.d.ts +1 -11
- package/components/Downshift/styles/StyledTextField.d.ts +1 -8
- package/components/Drawer/Drawer.d.ts +2 -2
- package/components/Forms/Checkbox/Checkbox.d.ts +2 -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 +1 -2
- package/components/Forms/FormHelperText/FormHelperText.d.ts +2 -13
- package/components/Forms/FormHelperText/styles/StyledFormHelperText.d.ts +1 -13
- package/components/Forms/FormLabel.d.ts +1 -2
- package/components/Forms/InputLabel/InputLabel.d.ts +2 -2
- package/components/Forms/InputLabel/styles/StyledInputLabel.d.ts +1 -2
- package/components/Forms/Picker/DatePicker/DatePicker.d.ts +1 -34
- package/components/Forms/Picker/DatePicker/Day.d.ts +1 -1
- package/components/Forms/Picker/DatePicker/styles/StyledCalendar.d.ts +8 -10
- package/components/Forms/Picker/DatePicker/styles/StyledDatePickerHeader.d.ts +4 -357
- package/components/Forms/Picker/DatePicker/styles/StyledDatePickerHeader.js +3 -3
- package/components/Forms/Picker/DatePicker/styles/StyledYear.d.ts +1 -2
- package/components/Forms/Picker/DatePicker/styles/StyledYears.d.ts +1 -5
- package/components/Forms/Picker/DatePicker/utils/DatePickerUtils.d.ts +1 -1
- package/components/Forms/Picker/TimePicker/NumberPicker.d.ts +1 -30
- package/components/Forms/Picker/TimePicker/ToggleText.d.ts +1 -17
- package/components/Forms/Picker/TimePicker/styles/StyledNumberPicker.d.ts +1 -1
- package/components/Forms/Picker/TimePicker/styles/StyledPickerPopperWrap.d.ts +1 -2
- package/components/Forms/Picker/TimePicker/styles/StyledSelectionItem.d.ts +1 -2
- package/components/Forms/Picker/TimePicker/styles/StyledSelectionView.d.ts +1 -2
- package/components/Forms/Picker/TimePicker/styles/StyledTimeIconButton.d.ts +1 -2
- package/components/Forms/Picker/styles/PickerBaseIconButton.d.ts +1 -1
- package/components/Forms/Picker/styles/StyledPickerTextField.d.ts +1 -3
- package/components/Forms/Picker/styles/StyledPopover.d.ts +1 -2
- package/components/Forms/Radio/Radio.d.ts +2 -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 +1 -2
- 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 +1 -358
- package/components/Forms/TextField/styles/ClearIconButton.d.ts +1 -10
- package/components/Forms/TextField/styles/TextFieldStyle.d.ts +1 -1
- package/components/Forms/Textarea/Textarea.d.ts +1 -2
- package/components/Grid/Grid.d.ts +2 -21
- package/components/Icon/Icon.d.ts +1 -24
- package/components/Icon/styles/iconSvg.d.ts +1 -2
- package/components/InlineEditable/InlineEditable.d.ts +2 -67
- package/components/InlineEditable/styles/textFieldStyle.d.ts +2 -2
- package/components/Link/Link.d.ts +1 -23
- package/components/List/List/List.d.ts +2 -8
- package/components/List/ListItem/ListItem.d.ts +1 -321
- 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 +2 -376
- package/components/Menu/MenuItem/styles/MenuItemStyle.d.ts +1 -14
- 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 +1 -2
- 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 +1 -3
- package/components/Menu/SubMenu/SubMenu.d.ts +2 -2
- package/components/Menu/SubMenu/styles/SubMenuStyle.d.ts +2 -3
- package/components/Pagination/Pagination/Pagination.d.ts +2 -2
- package/components/Pagination/PaginationItem/PaginationItem.d.ts +2 -19
- 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/PopupBox/PopupBox.js +3 -1
- package/components/Presence/Presence.d.ts +1 -10
- package/components/Presence/styles/StyledPresence.d.ts +1 -3
- 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 +1 -2
- 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 +2 -4
- package/components/Table/TableCell/TableCell.d.ts +2 -294
- package/components/Table/TableContainer/TableContainer.d.ts +2 -2
- package/components/Table/TableHead/TableHead.d.ts +2 -4
- package/components/Table/TableRow/TableRow.d.ts +2 -2
- package/components/TablePagination/TablePagination.d.ts +2 -2
- package/components/TablePagination/styles/TablePaginationStyle.d.ts +2 -356
- package/components/Tabs/Tab/Tab.d.ts +2 -2
- package/components/Tabs/TabList/TabList.d.ts +1 -7
- 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 +1 -2
- package/components/Tabs/Tabs/Tabs.d.ts +2 -2
- package/components/Tag/Tag.d.ts +1 -14
- package/components/Text/Text.d.ts +1 -2
- package/components/Thumbnail/Thumbnail.d.ts +2 -13
- package/components/Thumbnail/styles/StyledThumbnail.d.ts +1 -8
- package/components/Toolbar/Toolbar.d.ts +1 -2
- package/components/Tooltip/Tooltip.d.ts +2 -2
- package/components/Tooltip/styles/Mask.d.ts +1 -1
- package/components/Typography/Typography.d.ts +2 -2
- package/components/VirtualizedMenu/VirtualizedDivider/VirtualizedDivider.d.ts +1 -9
- package/components/VirtualizedMenu/VirtualizedMenu.d.ts +1 -2
- package/components/VirtualizedMenu/VirtualizedMenuList.d.ts +1 -1
- package/components/VirtualizedMenu/styles/StyledMenuPadding.d.ts +1 -6
- package/components/Virtuoso/react-virtuoso/Virtuoso.d.ts +3 -3
- package/components/VisuallyHidden/VisuallyHidden.d.ts +1 -1
- package/es6/components/Avatar/styles/StyledPresenceWrapper.js +2 -2
- package/es6/components/Forms/Picker/DatePicker/styles/StyledDatePickerHeader.js +3 -3
- package/es6/components/Forms/Picker/TimePicker/styles/StyledSelectionItem.js +1 -1
- package/es6/components/PopupBox/PopupBox.js +3 -1
- package/es6/foundation/styled-components.js +1 -0
- package/foundation/hooks/useFocusInside/useFocusInside.d.ts +1 -1
- package/foundation/styled-components.d.ts +1 -2
- package/foundation/styled-components.js +1 -0
- package/foundation/styles/GlobalScrollBarStyle/GlobalScrollBarStyle.d.ts +1 -1
- package/foundation/styles/ellipsis.d.ts +1 -1
- package/foundation/styles/fakeBorder.d.ts +1 -1
- package/foundation/styles/flexCenter.d.ts +1 -1
- package/foundation/styles/flexWidth.d.ts +1 -1
- package/foundation/styles/focusRing.d.ts +1 -1
- package/foundation/styles/focusVisible.d.ts +2 -2
- package/foundation/styles/lineClamp.d.ts +1 -1
- package/foundation/styles/nonStyleButton.d.ts +1 -1
- package/foundation/styles/rippleEnter.d.ts +1 -1
- package/foundation/styles/rippleStyle.d.ts +1 -1
- package/foundation/styles/typography.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { RcBaseProps } from '../../foundation';
|
|
3
2
|
import { RcMenuProps } from '../Menu';
|
|
4
3
|
import { RcVirtualizedMenuListProps } from './VirtualizedMenuList';
|
|
@@ -6,6 +5,6 @@ type RcVirtualizedMenuProps = {
|
|
|
6
5
|
/** props for apply on inner `MenuList` */
|
|
7
6
|
MenuListProps?: RcVirtualizedMenuListProps;
|
|
8
7
|
} & RcBaseProps<RcMenuProps, 'MenuListProps'>;
|
|
9
|
-
declare const RcVirtualizedMenu:
|
|
8
|
+
declare const RcVirtualizedMenu: any;
|
|
10
9
|
export { RcVirtualizedMenu };
|
|
11
10
|
export type { RcVirtualizedMenuProps };
|
|
@@ -31,6 +31,6 @@ type RcVirtualizedMenuListProps = {
|
|
|
31
31
|
*/
|
|
32
32
|
VirtuosoProps?: RcBaseProps<ComponentProps<typeof Virtuoso>, 'data' | 'itemContent' | 'totalCount' | 'components' | 'overscan'>;
|
|
33
33
|
} & RcMenuListProps;
|
|
34
|
-
declare const RcVirtualizedMenuList:
|
|
34
|
+
declare const RcVirtualizedMenuList: any;
|
|
35
35
|
export { RcVirtualizedMenuList };
|
|
36
36
|
export type { RcVirtualizedMenuListProps, RcVirtualizedMenuListRef };
|
|
@@ -1,7 +1,2 @@
|
|
|
1
1
|
export declare const menuListBoundaryPadding = 8;
|
|
2
|
-
|
|
3
|
-
/** that element height */
|
|
4
|
-
height: number;
|
|
5
|
-
};
|
|
6
|
-
export declare const StyledMenuListPadding: import("styled-components").StyledComponent<"div", import("../../../foundation").RcTheme, StyledMenuListPaddingProps, never>;
|
|
7
|
-
export {};
|
|
2
|
+
export declare const StyledMenuListPadding: any;
|
|
@@ -7008,7 +7008,7 @@ export declare const List: React.ForwardRefExoticComponent<{} & {
|
|
|
7008
7008
|
itemsRendered: "itemsRendered";
|
|
7009
7009
|
groupIndices: "groupIndices";
|
|
7010
7010
|
};
|
|
7011
|
-
}>>>, usePublisher: <K extends "data" | "log" | "sizes" | "gap" | "
|
|
7011
|
+
}>>>, usePublisher: <K extends "data" | "log" | "sizes" | "gap" | "propsReady" | "logLevel" | "scrollContainerState" | "scrollTop" | "viewportHeight" | "headerHeight" | "fixedHeaderHeight" | "fixedFooterHeight" | "footerHeight" | "scrollHeight" | "smoothScrollTargetReached" | "scrollTo" | "scrollBy" | "statefulScrollTop" | "deviation" | "scrollingInProgress" | "groupIndices" | "totalCount" | "sizeRanges" | "firstItemIndex" | "statefulTotalCount" | "trackItemSizes" | "itemSize" | "scrollToIndex" | "topListHeight" | "isScrolling" | "isAtTop" | "isAtBottom" | "atBottomThreshold" | "atBottomState" | "atTopStateChange" | "atBottomStateChange" | "scrollDirection" | "atTopThreshold" | "scrollVelocity" | "lastJumpDueToItemResize" | "didMount" | "scrolledToInitialItem" | "initialTopMostItemIndex" | "followOutput" | "autoscrollToBottom" | "groupCounts" | "topItemsIndexes" | "listBoundary" | "overscan" | "increaseViewportBy" | "visibleRange" | "listState" | "endReached" | "startReached" | "rangeChanged" | "itemsRendered" | "initialItemCount" | "isSeeking" | "scrollSeekConfiguration" | "scrollSeekRangeChanged" | "topItemCount" | "totalListHeight" | "totalListHeightChanged" | "initialScrollTop" | "alignToBottom" | "paddingTopAddition" | "useWindowScroll" | "customScrollParent" | "windowScrollContainerState" | "windowViewportRect" | "windowScrollTo" | "scrollIntoView" | "getState" | "restoreStateFrom" | "fixedItemHeight" | "defaultItemHeight" | "context" | "components" | "itemContent" | "computeItemKey" | "headerFooterTag" | "scrollerRef" | "groupContent" | "EmptyPlaceholder" | "ScrollSeekPlaceholder" | "FooterComponent" | "HeaderComponent" | "TopItemListComponent" | "ListComponent" | "ItemComponent" | "GroupComponent" | "ScrollerComponent">(key: K) => (value: {
|
|
7012
7012
|
context: u.StatefulStream<unknown>;
|
|
7013
7013
|
itemContent: u.StatefulStream<ItemContent<any, any> | GroupItemContent<any, any>>;
|
|
7014
7014
|
groupContent: u.StatefulStream<GroupContent<any>>;
|
|
@@ -7142,7 +7142,7 @@ export declare const List: React.ForwardRefExoticComponent<{} & {
|
|
|
7142
7142
|
fixedItemHeight: u.StatefulStream<number | undefined>;
|
|
7143
7143
|
defaultItemHeight: u.StatefulStream<number | undefined>;
|
|
7144
7144
|
gap: u.StatefulStream<number>;
|
|
7145
|
-
}[K] extends u.Stream<infer R> ? R : never) => void, useEmitterValue: <K extends "data" | "log" | "sizes" | "gap" | "
|
|
7145
|
+
}[K] extends u.Stream<infer R> ? R : never) => void, useEmitterValue: <K extends "data" | "log" | "sizes" | "gap" | "propsReady" | "logLevel" | "scrollContainerState" | "scrollTop" | "viewportHeight" | "headerHeight" | "fixedHeaderHeight" | "fixedFooterHeight" | "footerHeight" | "scrollHeight" | "smoothScrollTargetReached" | "scrollTo" | "scrollBy" | "statefulScrollTop" | "deviation" | "scrollingInProgress" | "groupIndices" | "totalCount" | "sizeRanges" | "firstItemIndex" | "statefulTotalCount" | "trackItemSizes" | "itemSize" | "scrollToIndex" | "topListHeight" | "isScrolling" | "isAtTop" | "isAtBottom" | "atBottomThreshold" | "atBottomState" | "atTopStateChange" | "atBottomStateChange" | "scrollDirection" | "atTopThreshold" | "scrollVelocity" | "lastJumpDueToItemResize" | "didMount" | "scrolledToInitialItem" | "initialTopMostItemIndex" | "followOutput" | "autoscrollToBottom" | "groupCounts" | "topItemsIndexes" | "listBoundary" | "overscan" | "increaseViewportBy" | "visibleRange" | "listState" | "endReached" | "startReached" | "rangeChanged" | "itemsRendered" | "initialItemCount" | "isSeeking" | "scrollSeekConfiguration" | "scrollSeekRangeChanged" | "topItemCount" | "totalListHeight" | "totalListHeightChanged" | "initialScrollTop" | "alignToBottom" | "paddingTopAddition" | "useWindowScroll" | "customScrollParent" | "windowScrollContainerState" | "windowViewportRect" | "windowScrollTo" | "scrollIntoView" | "getState" | "restoreStateFrom" | "fixedItemHeight" | "defaultItemHeight" | "context" | "components" | "itemContent" | "computeItemKey" | "headerFooterTag" | "scrollerRef" | "groupContent" | "EmptyPlaceholder" | "ScrollSeekPlaceholder" | "FooterComponent" | "HeaderComponent" | "TopItemListComponent" | "ListComponent" | "ItemComponent" | "GroupComponent" | "ScrollerComponent", V = {
|
|
7146
7146
|
context: u.StatefulStream<unknown>;
|
|
7147
7147
|
itemContent: u.StatefulStream<ItemContent<any, any> | GroupItemContent<any, any>>;
|
|
7148
7148
|
groupContent: u.StatefulStream<GroupContent<any>>;
|
|
@@ -7276,7 +7276,7 @@ export declare const List: React.ForwardRefExoticComponent<{} & {
|
|
|
7276
7276
|
fixedItemHeight: u.StatefulStream<number | undefined>;
|
|
7277
7277
|
defaultItemHeight: u.StatefulStream<number | undefined>;
|
|
7278
7278
|
gap: u.StatefulStream<number>;
|
|
7279
|
-
}[K] extends u.StatefulStream<infer R> ? R : never>(key: K) => V, useEmitter: <K extends "data" | "log" | "sizes" | "gap" | "
|
|
7279
|
+
}[K] extends u.StatefulStream<infer R> ? R : never>(key: K) => V, useEmitter: <K extends "data" | "log" | "sizes" | "gap" | "propsReady" | "logLevel" | "scrollContainerState" | "scrollTop" | "viewportHeight" | "headerHeight" | "fixedHeaderHeight" | "fixedFooterHeight" | "footerHeight" | "scrollHeight" | "smoothScrollTargetReached" | "scrollTo" | "scrollBy" | "statefulScrollTop" | "deviation" | "scrollingInProgress" | "groupIndices" | "totalCount" | "sizeRanges" | "firstItemIndex" | "statefulTotalCount" | "trackItemSizes" | "itemSize" | "scrollToIndex" | "topListHeight" | "isScrolling" | "isAtTop" | "isAtBottom" | "atBottomThreshold" | "atBottomState" | "atTopStateChange" | "atBottomStateChange" | "scrollDirection" | "atTopThreshold" | "scrollVelocity" | "lastJumpDueToItemResize" | "didMount" | "scrolledToInitialItem" | "initialTopMostItemIndex" | "followOutput" | "autoscrollToBottom" | "groupCounts" | "topItemsIndexes" | "listBoundary" | "overscan" | "increaseViewportBy" | "visibleRange" | "listState" | "endReached" | "startReached" | "rangeChanged" | "itemsRendered" | "initialItemCount" | "isSeeking" | "scrollSeekConfiguration" | "scrollSeekRangeChanged" | "topItemCount" | "totalListHeight" | "totalListHeightChanged" | "initialScrollTop" | "alignToBottom" | "paddingTopAddition" | "useWindowScroll" | "customScrollParent" | "windowScrollContainerState" | "windowViewportRect" | "windowScrollTo" | "scrollIntoView" | "getState" | "restoreStateFrom" | "fixedItemHeight" | "defaultItemHeight" | "context" | "components" | "itemContent" | "computeItemKey" | "headerFooterTag" | "scrollerRef" | "groupContent" | "EmptyPlaceholder" | "ScrollSeekPlaceholder" | "FooterComponent" | "HeaderComponent" | "TopItemListComponent" | "ListComponent" | "ItemComponent" | "GroupComponent" | "ScrollerComponent", V = {
|
|
7280
7280
|
context: u.StatefulStream<unknown>;
|
|
7281
7281
|
itemContent: u.StatefulStream<ItemContent<any, any> | GroupItemContent<any, any>>;
|
|
7282
7282
|
groupContent: u.StatefulStream<GroupContent<any>>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const RcVisuallyHidden:
|
|
1
|
+
declare const RcVisuallyHidden: any;
|
|
2
2
|
export { RcVisuallyHidden };
|
|
@@ -8,9 +8,9 @@ export var StyledPresenceWrapper = styled.div(templateObject_1 || (templateObjec
|
|
|
8
8
|
return vertical;
|
|
9
9
|
}, function (_a) {
|
|
10
10
|
var horizontal = _a.horizontal;
|
|
11
|
-
return
|
|
11
|
+
return horizontal === 'right' ? '' : '-';
|
|
12
12
|
}, function (_a) {
|
|
13
13
|
var vertical = _a.vertical;
|
|
14
|
-
return
|
|
14
|
+
return vertical === 'bottom' ? '' : '-';
|
|
15
15
|
});
|
|
16
16
|
var templateObject_1;
|
|
@@ -5,9 +5,9 @@ import { RcIconButtonClasses } from '../../../../Buttons/IconButton/utils';
|
|
|
5
5
|
import { RcIcon } from '../../../../Icon';
|
|
6
6
|
import { textColor } from '../utils';
|
|
7
7
|
var monthInactiveStyle = css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n &,\n ", " {\n color: ", ";\n }\n"], ["\n &,\n ", " {\n color: ", ";\n }\n"])), RcIcon, focusVisibleColor);
|
|
8
|
-
var StyledCurrentMonth = styled.button(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n background: none;\n border: none;\n cursor: pointer;\n outline: inherit;\n\n ", ";\n position: relative;\n cursor: pointer;\n margin-left: ", ";\n color: ", ";\n ", ";\n border-radius: ", ";\n\n padding: ", ";\n\n ", ";\n\n ", " {\n margin-left: ", ";\n transform: rotate(", "deg);\n color: ", ";\n }\n\n ", " {\n ", ";\n }\n\n ", " {\n &:hover {\n ", ";\n }\n }\n"], ["\n background: none;\n border: none;\n cursor: pointer;\n outline: inherit;\n\n ", ";\n position: relative;\n cursor: pointer;\n margin-left: ", ";\n color: ", ";\n ", ";\n border-radius: ", ";\n\n padding: ", ";\n\n ", ";\n\n ", " {\n margin-left: ", ";\n transform: rotate(", "deg);\n color: ", ";\n }\n\n ", " {\n ", ";\n }\n\n ", " {\n &:hover {\n ", ";\n }\n }\n"])), flexCenterStyle, spacing(5), textColor, typography('body2'), radius('sm'), spacing(1, 0, 1, 1), focusVisibleShadowStyle('lg', undefined, undefined, 2), RcIcon, spacing(2), function (_a) {
|
|
8
|
+
var StyledCurrentMonth = styled.button(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n background: none;\n border: none;\n cursor: pointer;\n outline: inherit;\n\n ", ";\n position: relative;\n cursor: pointer;\n margin-left: ", ";\n color: ", ";\n ", ";\n border-radius: ", ";\n\n padding: ", ";\n\n ", ";\n\n ", " {\n margin-left: ", ";\n transform: rotate(\n ", "deg\n );\n color: ", ";\n }\n\n ", " {\n ", ";\n }\n\n ", " {\n &:hover {\n ", ";\n }\n }\n"], ["\n background: none;\n border: none;\n cursor: pointer;\n outline: inherit;\n\n ", ";\n position: relative;\n cursor: pointer;\n margin-left: ", ";\n color: ", ";\n ", ";\n border-radius: ", ";\n\n padding: ", ";\n\n ", ";\n\n ", " {\n margin-left: ", ";\n transform: rotate(\n ", "deg\n );\n color: ", ";\n }\n\n ", " {\n ", ";\n }\n\n ", " {\n &:hover {\n ", ";\n }\n }\n"])), flexCenterStyle, spacing(5), textColor, typography('body2'), radius('sm'), spacing(1, 0, 1, 1), focusVisibleShadowStyle('lg', undefined, undefined, 2), RcIcon, spacing(2), function (_a) {
|
|
9
9
|
var view = _a.view;
|
|
10
|
-
return
|
|
10
|
+
return view === 'day' ? '0' : '180';
|
|
11
11
|
}, palette2('neutral', 'f04'), focusVisible, monthInactiveStyle, nonTouchHoverMedia, monthInactiveStyle);
|
|
12
12
|
var SwitchHeaderWrapper = styled.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n display: flex;\n justify-content: space-between;\n align-items: center;\n flex-wrap: wrap;\n\n ", "\n"], ["\n display: flex;\n justify-content: space-between;\n align-items: center;\n flex-wrap: wrap;\n\n ", "\n"])), function (_a) {
|
|
13
13
|
var size = _a.size;
|
|
@@ -18,7 +18,7 @@ var SwitchHeaderWrapper = styled.div(templateObject_4 || (templateObject_4 = __m
|
|
|
18
18
|
});
|
|
19
19
|
var SwitchHeaderButtonWrapper = styled(RcIconButtonGroup)(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n flex: 1;\n display: ", ";\n justify-content: flex-end;\n padding-right: 12px;\n\n ", "\n"], ["\n flex: 1;\n display: ", ";\n justify-content: flex-end;\n padding-right: 12px;\n\n ", "\n"])), function (_a) {
|
|
20
20
|
var view = _a.view;
|
|
21
|
-
return
|
|
21
|
+
return view === 'day' ? 'flex' : 'none';
|
|
22
22
|
}, function (_a) {
|
|
23
23
|
var size = _a.size;
|
|
24
24
|
if (size === 'small') {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { __makeTemplateObject } from "tslib";
|
|
2
2
|
import { spacing, styled, typography } from '../../../../../foundation';
|
|
3
|
-
import { StyledTimeIconButton } from './StyledTimeIconButton';
|
|
3
|
+
import { StyledTimeIconButton, } from './StyledTimeIconButton';
|
|
4
4
|
export var StyledSelectionItem = styled(StyledTimeIconButton)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n && {\n ", ";\n /* when itemLength is 4 which makes it to become two line, so add padding for it. */\n margin: ", ";\n }\n"], ["\n && {\n ", ";\n /* when itemLength is 4 which makes it to become two line, so add padding for it. */\n margin: ", ";\n }\n"])), typography('body1'), function (_a) {
|
|
5
5
|
var itemLength = _a.itemLength, wrapperSize = _a.wrapperSize;
|
|
6
6
|
return spacing(wrapperSize === 'small' && itemLength === 4 ? 2 : 1);
|
|
@@ -26,7 +26,9 @@ var _RcPopupBox = forwardRef(function (inProps, ref) {
|
|
|
26
26
|
React.createElement(RcDialogTitle, __assign({ "data-test-automation-id": 'DialogTitle' }, TitleProps), title),
|
|
27
27
|
React.createElement(RcDialogContent, __assign({ "data-test-automation-id": 'DialogContent' }, ContentProps), typeof children === 'string' ? (React.createElement(RcDialogContentText, null, children)) : (children)),
|
|
28
28
|
footer !== null && (React.createElement(RcDialogActions, __assign({ "data-test-automation-id": 'DialogActions' }, ActionsProps), footer || (React.createElement(React.Fragment, null,
|
|
29
|
-
cancelButtonText && (React.createElement(RcButton, __assign({ fullWidth: isXsmall, variant: "text", onClick: function (e) {
|
|
29
|
+
cancelButtonText && (React.createElement(RcButton, __assign({ fullWidth: isXsmall, variant: "text", onClick: function (e) {
|
|
30
|
+
return onCancel === null || onCancel === void 0 ? void 0 : onCancel(e, 'cancelClick');
|
|
31
|
+
}, "data-test-automation-id": "DialogCancelButton", disabled: loading }, cancelButtonProps), cancelButtonText)),
|
|
30
32
|
confirmButtonText && (React.createElement(RcButton, __assign({ fullWidth: isXsmall, onClick: onConfirm, variant: "contained", "data-test-automation-id": "DialogOKButton", disabled: loading, loading: loading }, confirmButtonProps), confirmButtonText)))))))));
|
|
31
33
|
});
|
|
32
34
|
/**
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
/* eslint-disable import/no-duplicates */
|
|
2
|
+
// @ts-ignore - styled-components 5.x type import workaround
|
|
2
3
|
import * as styledComponents from 'styled-components';
|
|
3
4
|
import { useTheme } from '@material-ui/core/styles';
|
|
4
5
|
var _a = styledComponents, styled = _a.default, css = _a.css, keyframes = _a.keyframes, createGlobalStyle = _a.createGlobalStyle, withTheme = _a.withTheme,
|
|
@@ -2,7 +2,7 @@ import React from 'react';
|
|
|
2
2
|
/**
|
|
3
3
|
* non size for just render hidden element
|
|
4
4
|
*/
|
|
5
|
-
export declare const RcFocusInside:
|
|
5
|
+
export declare const RcFocusInside: any;
|
|
6
6
|
export type useFocusInsideParams = {
|
|
7
7
|
/**
|
|
8
8
|
* the container that should move focus inside witch `[data-focusable="true"]`
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import type { FlattenInterpolation, Interpolation, InterpolationValue, Keyframes, ThemedStyledProps, ThemeProps as StyledThemeProps } from 'styled-components';
|
|
3
|
-
import * as styledComponents from 'styled-components';
|
|
4
3
|
import { RcTheme } from './theme/theme.type';
|
|
5
4
|
type ThemeProps = StyledThemeProps<RcTheme>;
|
|
6
|
-
declare const styled:
|
|
5
|
+
declare const styled: ThemedStyledComponentsModule<RcTheme>, css: ThemedStyledComponentsModule<RcTheme>, keyframes: ThemedStyledComponentsModule<RcTheme>, createGlobalStyle: ThemedStyledComponentsModule<RcTheme>, withTheme: ThemedStyledComponentsModule<RcTheme>, StyleSheetManager: ThemedStyledComponentsModule<RcTheme>, ThemeProvider: ThemedStyledComponentsModule<RcTheme>, ThemeConsumer: ThemedStyledComponentsModule<RcTheme>;
|
|
7
6
|
type Dependencies = {
|
|
8
7
|
dependencies?: (React.ComponentType | ((props: any) => JSX.Element))[];
|
|
9
8
|
};
|
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.withTheme = exports.ThemeProvider = exports.ThemeConsumer = exports.StyleSheetManager = exports.useTheme = exports.keyframes = exports.css = exports.createGlobalStyle = void 0;
|
|
4
4
|
var tslib_1 = require("tslib");
|
|
5
5
|
/* eslint-disable import/no-duplicates */
|
|
6
|
+
// @ts-ignore - styled-components 5.x type import workaround
|
|
6
7
|
var styledComponents = tslib_1.__importStar(require("styled-components"));
|
|
7
8
|
var styles_1 = require("@material-ui/core/styles");
|
|
8
9
|
var _a = styledComponents, styled = _a.default, css = _a.css, keyframes = _a.keyframes, createGlobalStyle = _a.createGlobalStyle, withTheme = _a.withTheme,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** Provide you to change whole app scrollBar color */
|
|
2
|
-
export declare const RcGlobalScrollBarStyle:
|
|
2
|
+
export declare const RcGlobalScrollBarStyle: any;
|
|
@@ -19,5 +19,5 @@ export type FakeBorderOption = {
|
|
|
19
19
|
};
|
|
20
20
|
export declare const fakeBorder: ({ pseudo, inset, radius, size, color, allowTransparent, }?: FakeBorderOption) => ({ theme }: {
|
|
21
21
|
theme?: RcTheme | undefined;
|
|
22
|
-
}) =>
|
|
22
|
+
}) => any;
|
|
23
23
|
export {};
|
|
@@ -17,4 +17,4 @@ import { LiteralUnion } from '../typings';
|
|
|
17
17
|
* // max-width: 500px
|
|
18
18
|
* ```
|
|
19
19
|
*/
|
|
20
|
-
export declare const flexWidth: (width: LiteralUnion<'auto'>) =>
|
|
20
|
+
export declare const flexWidth: (width: LiteralUnion<'auto'>) => any;
|
|
@@ -26,4 +26,4 @@ export type FocusRingOptions = {
|
|
|
26
26
|
*/
|
|
27
27
|
gapColor?: RcPaletteProp;
|
|
28
28
|
};
|
|
29
|
-
export declare const focusRing: (variant: FocusRingVariant, options?: FocusRingOptions) =>
|
|
29
|
+
export declare const focusRing: (variant: FocusRingVariant, options?: FocusRingOptions) => any;
|
|
@@ -2,5 +2,5 @@ import { radius } from './radius';
|
|
|
2
2
|
export declare const focusVisible = "&.focus-visible, &[data-focus-visible-added]";
|
|
3
3
|
export declare const focusWithin = "&:hover, &:focus-within";
|
|
4
4
|
export declare const focusVisibleColor: import("./newPalette").PaletteReturnType;
|
|
5
|
-
export declare const shadowBorder: (r?: Parameters<typeof radius>[0], color?: any, inset?: boolean, size?: number) =>
|
|
6
|
-
export declare const focusVisibleShadowStyle: (r?: Parameters<typeof radius>[0], color?: any, inset?: boolean, size?: number) =>
|
|
5
|
+
export declare const shadowBorder: (r?: Parameters<typeof radius>[0], color?: any, inset?: boolean, size?: number) => any;
|
|
6
|
+
export declare const focusVisibleShadowStyle: (r?: Parameters<typeof radius>[0], color?: any, inset?: boolean, size?: number) => any;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** lineClamp helper */
|
|
2
|
-
export declare function lineClamp(lineNumber: number, maxHeight: number):
|
|
2
|
+
export declare function lineClamp(lineNumber: number, maxHeight: number): any;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/** reset browser button style */
|
|
2
|
-
export declare function nonStyleButton():
|
|
2
|
+
export declare function nonStyleButton(): any;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { RcTheme } from '../theme/theme.type';
|
|
2
|
-
export declare const rippleEnter: (theme: RcTheme) =>
|
|
2
|
+
export declare const rippleEnter: (theme: RcTheme) => any;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { RcThemedStyled } from '../theme/theme.type';
|
|
2
2
|
export declare const backgroundTransition: RcThemedStyled<{}, string>;
|
|
3
|
-
export declare const rippleStyle:
|
|
3
|
+
export declare const rippleStyle: any;
|
|
@@ -21,5 +21,5 @@ declare function typography(
|
|
|
21
21
|
/** name of token */
|
|
22
22
|
name: RcTypographyKeys,
|
|
23
23
|
/** not contain `line-hight` style */
|
|
24
|
-
fontOnly?: boolean):
|
|
24
|
+
fontOnly?: boolean): any;
|
|
25
25
|
export { typography, typographyProp };
|