@ringcentral/juno 2.46.0 → 3.0.0-alpha.1
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 -4
- package/components/Accordion/Accordion.js +5 -4
- package/components/Accordion/AccordionDetails/AccordionDetails.d.ts +2 -4
- package/components/Accordion/AccordionDetails/AccordionDetails.js +5 -4
- package/components/Accordion/AccordionDetails/styles/AccordionDetailsStyle.js +4 -2
- package/components/Accordion/AccordionDetails/utils/AccordionDetailsUtils.js +2 -1
- package/components/Accordion/AccordionSummary/AccordionSummary.d.ts +2 -4
- package/components/Accordion/AccordionSummary/AccordionSummary.js +6 -5
- package/components/Accordion/AccordionSummary/styles/AccordionSummaryStyle.js +4 -2
- package/components/Accordion/AccordionSummary/utils/AccordionSummaryUtils.js +2 -1
- package/components/Accordion/styles/AccordionStyle.js +6 -4
- package/components/Accordion/utils/AccordionUtils.js +2 -1
- package/components/Alert/Alert.d.ts +3 -5
- package/components/Alert/Alert.js +5 -4
- package/components/Alert/styles/AlertStyle.d.ts +2 -2
- package/components/Alert/styles/AlertStyle.js +4 -2
- package/components/Alert/utils/AlertUtils.js +12 -11
- package/components/Animations/Highlight/Highlight.d.ts +5 -5
- package/components/Animations/Highlight/Highlight.js +17 -16
- package/components/Animations/Highlight/utils/getStyle.d.ts +1 -1
- package/components/Animations/Highlight/utils/getStyle.js +3 -2
- package/components/AppBar/AppBar.d.ts +3 -5
- package/components/AppBar/AppBar.js +3 -2
- package/components/Avatar/Avatar.d.ts +4 -4
- package/components/Avatar/Avatar.js +16 -15
- package/components/Avatar/styles/StyledAvatar.d.ts +2 -4
- package/components/Avatar/styles/StyledAvatar.js +6 -6
- package/components/Avatar/styles/StyledAvatarWrapper.d.ts +2 -4
- package/components/Avatar/styles/StyledAvatarWrapper.js +7 -9
- package/components/Avatar/styles/StyledIconAvatar.d.ts +3 -5
- package/components/Avatar/styles/StyledIconAvatar.js +2 -1
- package/components/Avatar/styles/StyledMask.d.ts +3 -2
- package/components/Avatar/styles/StyledMask.js +2 -1
- package/components/Avatar/styles/StyledPresenceWrapper.d.ts +5 -9
- package/components/Avatar/styles/StyledPresenceWrapper.js +1 -0
- package/components/Avatar/utils/AvatarUtils.js +2 -1
- package/components/Avatar/utils/useAvatarColorToken.d.ts +3 -4
- package/components/Avatar/utils/useAvatarColorToken.js +5 -3
- package/components/Avatar/utils/useAvatarShortName.d.ts +1 -1
- package/components/Avatar/utils/useAvatarShortName.js +6 -4
- package/components/Backdrop/Backdrop.d.ts +2 -4
- package/components/Backdrop/Backdrop.js +5 -4
- package/components/Backdrop/deprecated/Backdrop.d.ts +2 -2
- package/components/Backdrop/deprecated/Backdrop.js +1 -0
- package/components/Backdrop/styles/BackdropStyle.js +4 -2
- package/components/Backdrop/utils/BackdropUtils.js +2 -1
- package/components/Badge/Badge.d.ts +2 -4
- package/components/Badge/Badge.js +10 -9
- package/components/Badge/DotBadge.d.ts +2 -2
- package/components/Badge/DotBadge.js +7 -6
- package/components/Badge/styles/BadgeStyle.d.ts +1 -3
- package/components/Badge/styles/BadgeStyle.js +10 -13
- package/components/Badge/utils/BadgeUtils.js +4 -2
- package/components/Badge/utils/useRoundBadgeOffset.js +7 -5
- package/components/Box/Box.d.ts +5 -5
- package/components/Box/Box.js +3 -2
- package/components/Buttons/Button/Button.d.ts +325 -8
- package/components/Buttons/Button/Button.js +18 -21
- package/components/Buttons/Button/styles/StyledButton.js +22 -27
- package/components/Buttons/Button/utils/ButtonUtils.js +14 -13
- package/components/Buttons/Button/utils/getButtonIconSize.d.ts +1 -1
- package/components/Buttons/Button/utils/getButtonIconSize.js +1 -0
- package/components/Buttons/ButtonBase/ButtonBase.d.ts +2 -4
- package/components/Buttons/ButtonBase/ButtonBase.js +2 -1
- package/components/Buttons/ButtonGroup/ButtonGroup.d.ts +15 -4
- package/components/Buttons/ButtonGroup/ButtonGroup.js +4 -3
- package/components/Buttons/ButtonGroup/styles/index.js +2 -0
- package/components/Buttons/ButtonGroup/utils/index.js +2 -0
- package/components/Buttons/IconButton/IconButton.d.ts +383 -6
- package/components/Buttons/IconButton/IconButton.js +10 -17
- package/components/Buttons/IconButton/deprecated/IconButtonProps.d.ts +5 -5
- package/components/Buttons/IconButton/deprecated/IconButtonProps.js +1 -0
- package/components/Buttons/IconButton/styles/StyledIconButton.d.ts +2 -2
- package/components/Buttons/IconButton/styles/StyledIconButton.js +33 -39
- package/components/Buttons/IconButton/utils/IconButtonUtils.d.ts +2 -2
- package/components/Buttons/IconButton/utils/IconButtonUtils.js +4 -3
- package/components/Buttons/IconButtonGroup/IconButtonGroup.d.ts +2 -4
- package/components/Buttons/IconButtonGroup/IconButtonGroup.js +7 -6
- package/components/Buttons/IconButtonGroup/styles/IconButtonGroupStyle.js +7 -6
- package/components/Buttons/SplitButton/SplitButton.d.ts +6 -8
- package/components/Buttons/SplitButton/SplitButton.js +28 -28
- package/components/Buttons/SplitButton/styles/StyledArrowIcon.d.ts +3 -4
- package/components/Buttons/SplitButton/styles/StyledArrowIcon.js +2 -1
- package/components/Buttons/SplitButton/styles/StyledSplitButton.js +19 -28
- package/components/Buttons/SplitButton/utils/SplitButtonUtils.d.ts +3 -3
- package/components/Buttons/SplitButton/utils/SplitButtonUtils.js +7 -4
- package/components/Buttons/ToggleButton/ToggleButton.d.ts +3 -5
- package/components/Buttons/ToggleButton/ToggleButton.js +9 -8
- package/components/Buttons/ToggleButton/styles/ToggleButtonStyle.js +7 -8
- package/components/Buttons/ToggleButton/utils/ToggleButtonUtils.js +5 -4
- package/components/Buttons/ToggleButtonGroup/ToggleButtonGroup.d.ts +2 -4
- package/components/Buttons/ToggleButtonGroup/ToggleButtonGroup.js +6 -5
- package/components/Buttons/ToggleButtonGroup/styles/ToggleButtonGroupStyle.js +7 -6
- package/components/Buttons/ToggleButtonGroup/styles/boxStyle.js +11 -12
- package/components/Buttons/ToggleButtonGroup/styles/standardStyle.js +10 -12
- package/components/Buttons/ToggleButtonGroup/utils/ToggleButtonGroupUtils.js +3 -2
- package/components/Card/Card/Card.d.ts +3 -5
- package/components/Card/Card/Card.js +8 -7
- package/components/Card/Card/CardContext.d.ts +1 -2
- package/components/Card/Card/CardContext.js +4 -2
- package/components/Card/Card/styles/CardStyles.js +4 -3
- package/components/Card/Card/utils/CardUtils.js +2 -1
- package/components/Card/CardActionArea/CardActionArea.d.ts +3 -17
- package/components/Card/CardActionArea/CardActionArea.js +13 -12
- package/components/Card/CardActionArea/styles/CardActionAreaStyle.js +5 -3
- package/components/Card/CardActionArea/utils/CardActionAreaUtils.d.ts +1 -1
- package/components/Card/CardActionArea/utils/CardActionAreaUtils.js +3 -2
- package/components/Card/CardActions/CardActions.d.ts +2 -4
- package/components/Card/CardActions/CardActions.js +5 -4
- package/components/Card/CardActions/styles/CardActionsStyle.js +4 -2
- package/components/Card/CardActions/utils/CardActionsUtils.js +2 -1
- package/components/Card/CardContent/CardContent.d.ts +6 -4
- package/components/Card/CardContent/CardContent.js +5 -4
- package/components/Card/CardContent/styles/CardContentStyle.js +4 -2
- package/components/Card/CardContent/utils/CardContentUtils.js +2 -1
- package/components/Card/CardHeader/CardHeader.d.ts +18 -18
- package/components/Card/CardHeader/CardHeader.js +5 -4
- package/components/Card/CardHeader/styles/CardHeaderStyle.js +4 -2
- package/components/Card/CardHeader/utils/CardHeaderUtils.js +2 -1
- package/components/Card/CardHoverActions/CardHoverActions.d.ts +3 -5
- package/components/Card/CardHoverActions/CardHoverActions.js +6 -5
- package/components/Card/CardHoverActions/styles/CardHoverActionsStyle.js +6 -4
- package/components/Card/CardHoverActions/utils/CardHoverActionsUtils.js +2 -1
- package/components/Card/CardMedia/CardMedia.d.ts +10 -18
- package/components/Card/CardMedia/CardMedia.js +5 -4
- package/components/Card/CardMedia/styles/CardMediaStyle.js +4 -2
- package/components/Card/CardMedia/utils/CardMediaUtils.js +2 -1
- package/components/Card/CardSelectionArea/CardSelectionArea.d.ts +3 -5
- package/components/Card/CardSelectionArea/CardSelectionArea.js +9 -8
- package/components/Card/CardSelectionArea/styles/CardSelectionAreaStyle.js +4 -2
- package/components/Card/CardSelectionArea/utils/CardSelectionAreaUtils.d.ts +1 -1
- package/components/Card/CardSelectionArea/utils/CardSelectionAreaUtils.js +2 -1
- package/components/Chip/Chip.d.ts +4 -18
- package/components/Chip/Chip.js +14 -13
- package/components/Chip/styles/ChipStyle.js +17 -18
- package/components/Chip/utils/ChipUtils.d.ts +1 -1
- package/components/Chip/utils/ChipUtils.js +2 -1
- package/components/ClickAwayListener/ClickAwayListener.js +1 -0
- package/components/DetachedWindow/DetachedWindow.d.ts +2 -2
- package/components/DetachedWindow/DetachedWindow.js +16 -15
- package/components/DetachedWindow/DetachedWindowStylesProvider.d.ts +6 -2
- package/components/DetachedWindow/DetachedWindowStylesProvider.js +8 -6
- package/components/DetachedWindow/styles/DetachedWindowStyle.d.ts +1 -1
- package/components/DetachedWindow/styles/DetachedWindowStyle.js +2 -1
- package/components/DetachedWindow/utils/DetachedWindowUtils.js +1 -0
- package/components/DetachedWindow/utils/JssDomRendererFactory.d.ts +4 -4
- package/components/DetachedWindow/utils/JssDomRendererFactory.js +4 -3
- package/components/DetachedWindow/utils/index.js +1 -0
- package/components/DetachedWindow/utils/openExternalWindow.d.ts +0 -1
- package/components/DetachedWindow/utils/openExternalWindow.js +7 -5
- package/components/Dialer/DialDelete/DialDelete.d.ts +1 -1
- package/components/Dialer/DialDelete/DialDelete.js +5 -4
- package/components/Dialer/DialPad/DialPad.d.ts +7 -70
- package/components/Dialer/DialPad/DialPad.js +24 -23
- package/components/Dialer/DialPad/assets/index.js +1 -0
- package/components/Dialer/DialPad/styles/StyledDialPad.js +4 -3
- package/components/Dialer/DialPad/utils/DialPadUtils.d.ts +3 -3
- package/components/Dialer/DialPad/utils/DialPadUtils.js +4 -3
- package/components/Dialer/DialPad/utils/index.js +1 -0
- package/components/Dialer/DialPad/utils/types.d.ts +2 -2
- package/components/Dialer/DialPad/utils/useDialKeyboard.d.ts +1 -1
- package/components/Dialer/DialPad/utils/useDialKeyboard.js +8 -6
- package/components/Dialer/DialPad/utils/useKeyAudio.d.ts +1 -1
- package/components/Dialer/DialPad/utils/useKeyAudio.js +7 -5
- package/components/Dialer/DialPadButton/DialPadButton.d.ts +3 -4
- package/components/Dialer/DialPadButton/DialPadButton.js +3 -2
- package/components/Dialer/DialPadButton/styles/StyledDialPadButton.d.ts +1 -1
- package/components/Dialer/DialPadButton/styles/StyledDialPadButton.js +2 -1
- package/components/Dialer/DialTextField/DialTextField.d.ts +2 -4
- package/components/Dialer/DialTextField/DialTextField.js +26 -25
- package/components/Dialer/DialTextField/styles/DialTextFieldStyle.js +4 -2
- package/components/Dialer/DialTextField/utils/DialTextFieldUtils.js +3 -2
- package/components/Dialer/DialTextField/utils/getDialPadValueOnlyRegex.js +1 -0
- package/components/Dialer/DialTextField/utils/useFixedEndSelection.d.ts +1 -2
- package/components/Dialer/DialTextField/utils/useFixedEndSelection.js +7 -5
- package/components/Dialer/Dialer.d.ts +4 -2
- package/components/Dialer/Dialer.js +6 -5
- package/components/Dialer/utils/DialerContext.d.ts +1 -2
- package/components/Dialer/utils/DialerContext.js +3 -2
- package/components/Dialog/Dialog.d.ts +3 -5
- package/components/Dialog/Dialog.js +11 -10
- package/components/Dialog/DialogActions/DialogActions.d.ts +277 -4
- package/components/Dialog/DialogActions/DialogActions.js +7 -7
- package/components/Dialog/DialogActions/styles/DialogActionsStyle.js +9 -12
- package/components/Dialog/DialogActions/utils/DialogActionsUtils.d.ts +1 -1
- package/components/Dialog/DialogActions/utils/DialogActionsUtils.js +2 -1
- package/components/Dialog/DialogContent/DialogContent.d.ts +3 -3
- package/components/Dialog/DialogContent/DialogContent.js +5 -4
- package/components/Dialog/DialogContent/styles/DialogContentStyle.js +4 -2
- package/components/Dialog/DialogContent/utils/DialogContentUtils.d.ts +1 -1
- package/components/Dialog/DialogContent/utils/DialogContentUtils.js +4 -2
- package/components/Dialog/DialogContentText/DialogContentText.d.ts +14 -4
- package/components/Dialog/DialogContentText/DialogContentText.js +7 -6
- package/components/Dialog/DialogContentText/styles/DialogContentTextStyle.js +4 -2
- package/components/Dialog/DialogContentText/utils/DialogContentTextUtils.js +2 -1
- package/components/Dialog/DialogTitle/DialogTitle.d.ts +3 -3
- package/components/Dialog/DialogTitle/DialogTitle.js +6 -5
- package/components/Dialog/DialogTitle/styles/DialogTitleStyle.js +4 -2
- package/components/Dialog/DialogTitle/utils/DialogTitleUtils.js +2 -1
- package/components/Dialog/styles/DialogStyle.js +6 -6
- package/components/Dialog/utils/DialogContext.d.ts +3 -4
- package/components/Dialog/utils/DialogContext.js +7 -4
- package/components/Dialog/utils/DialogUtils.js +2 -1
- package/components/Divider/Divider.d.ts +7 -22
- package/components/Divider/Divider.js +4 -3
- package/components/Divider/styles/StyledDivider.js +5 -4
- package/components/DnD/DragDropContext/DragDropContext.d.ts +1 -1
- package/components/DnD/DragDropContext/DragDropContext.js +2 -1
- package/components/DnD/DragDropContext/styles/StyledGlobalDraggable.d.ts +1 -1
- package/components/DnD/DragDropContext/styles/StyledGlobalDraggable.js +2 -1
- package/components/DnD/DragHandle/DragHandle.d.ts +6 -8
- package/components/DnD/DragHandle/DragHandle.js +5 -4
- package/components/DnD/DragHandle/styles/StyledDragHandle.js +4 -2
- package/components/DnD/DragHandle/utils/DragHandleUtils.js +2 -1
- package/components/DnD/Draggable/Draggable.d.ts +8 -13
- package/components/DnD/Draggable/Draggable.js +8 -7
- package/components/DnD/Draggable/utils/DraggableUtils.d.ts +2 -1
- package/components/DnD/Draggable/utils/DraggableUtils.js +5 -3
- package/components/DnD/Droppable/Droppable.d.ts +4 -6
- package/components/DnD/Droppable/Droppable.js +5 -4
- package/components/Downshift/Downshift.d.ts +3 -3
- package/components/Downshift/Downshift.js +33 -32
- package/components/Downshift/SuggestionList/SuggestionList.d.ts +8 -52
- package/components/Downshift/SuggestionList/SuggestionList.js +31 -29
- package/components/Downshift/SuggestionList/styles/SuggestionListStyle.js +4 -2
- package/components/Downshift/SuggestionList/utils/SuggestionListUtils.js +2 -1
- package/components/Downshift/SuggestionList/utils/useSuggestionList.d.ts +266 -227
- package/components/Downshift/SuggestionList/utils/useSuggestionList.js +28 -26
- package/components/Downshift/styles/DownshiftInput.js +3 -1
- package/components/Downshift/styles/DownshiftStyle.d.ts +351 -5
- package/components/Downshift/styles/DownshiftStyle.js +5 -3
- package/components/Downshift/styles/StyledPopper.d.ts +3 -5
- package/components/Downshift/styles/StyledPopper.js +5 -5
- package/components/Downshift/styles/StyledTextField.d.ts +2 -4
- package/components/Downshift/styles/StyledTextField.js +3 -2
- package/components/Downshift/utils/DownshiftUtils.d.ts +2 -2
- package/components/Downshift/utils/DownshiftUtils.js +17 -8
- package/components/Downshift/utils/SelectItem.d.ts +2 -2
- package/components/Downshift/utils/index.js +2 -0
- package/components/Downshift/utils/useDownshift.d.ts +800 -455
- package/components/Downshift/utils/useDownshift.interface.d.ts +4 -4
- package/components/Downshift/utils/useDownshift.js +36 -34
- package/components/Downshift/utils/useDownshiftError.js +9 -7
- package/components/Downshift/utils/useDownshiftGroup.d.ts +3 -2
- package/components/Downshift/utils/useDownshiftGroup.js +16 -14
- package/components/Downshift/utils/useDownshiftTag.d.ts +503 -226
- package/components/Downshift/utils/useDownshiftTag.js +23 -21
- package/components/Drawer/Drawer.d.ts +2 -4
- package/components/Drawer/Drawer.js +10 -9
- package/components/Drawer/styles/DrawerStyle.js +5 -4
- package/components/Drawer/utils/DrawerUtils.js +2 -1
- package/components/Forms/BaseForm.d.ts +1 -1
- package/components/Forms/Checkbox/Checkbox.d.ts +4 -6
- package/components/Forms/Checkbox/Checkbox.js +8 -7
- package/components/Forms/Checkbox/styles/CheckboxStyle.js +4 -2
- package/components/Forms/Checkbox/utils/CheckboxUtils.js +2 -1
- package/components/Forms/Form/Form/Form.d.ts +2 -2
- package/components/Forms/Form/Form/Form.js +5 -4
- package/components/Forms/Form/Form/FormContext.d.ts +0 -1
- package/components/Forms/Form/Form/FormContext.js +3 -2
- package/components/Forms/Form/Form/index.js +1 -0
- package/components/Forms/Form/Form/types.d.ts +2 -2
- package/components/Forms/FormControl.d.ts +2 -4
- package/components/Forms/FormControl.js +2 -1
- package/components/Forms/FormControlLabel/FormControlLabel.d.ts +2 -4
- package/components/Forms/FormControlLabel/FormControlLabel.js +5 -4
- package/components/Forms/FormControlLabel/styles/FormControlLabelStyle.js +5 -3
- package/components/Forms/FormControlLabel/styles/StyledControl.d.ts +1 -3
- package/components/Forms/FormControlLabel/styles/StyledControl.js +1 -0
- package/components/Forms/FormControlLabel/utils/FormControlLabelUtils.js +2 -1
- package/components/Forms/FormGroup/FormGroup.d.ts +2 -4
- package/components/Forms/FormGroup/FormGroup.js +4 -3
- package/components/Forms/FormHelperText/FormHelperText.d.ts +13 -4
- package/components/Forms/FormHelperText/FormHelperText.js +5 -4
- package/components/Forms/FormHelperText/styles/StyledFormHelperText.d.ts +12 -3
- package/components/Forms/FormHelperText/styles/StyledFormHelperText.js +3 -2
- package/components/Forms/FormHelperText/utils/FormHelperTextUtils.js +2 -1
- package/components/Forms/FormLabel.d.ts +2 -4
- package/components/Forms/FormLabel.js +4 -3
- package/components/Forms/InputLabel/InputLabel.d.ts +2 -4
- package/components/Forms/InputLabel/InputLabel.js +5 -4
- package/components/Forms/InputLabel/styles/StyledInputLabel.d.ts +1 -3
- package/components/Forms/InputLabel/styles/StyledInputLabel.js +3 -2
- package/components/Forms/InputLabel/utils/InputLabelUtils.js +2 -1
- package/components/Forms/Picker/DatePicker/Calendar.d.ts +5 -6
- package/components/Forms/Picker/DatePicker/Calendar.js +36 -35
- package/components/Forms/Picker/DatePicker/DatePicker.d.ts +10 -45
- package/components/Forms/Picker/DatePicker/DatePicker.js +30 -29
- package/components/Forms/Picker/DatePicker/DatePickerHeader.d.ts +3 -2
- package/components/Forms/Picker/DatePicker/DatePickerHeader.js +6 -5
- package/components/Forms/Picker/DatePicker/Day.d.ts +2 -4
- package/components/Forms/Picker/DatePicker/Day.js +3 -2
- package/components/Forms/Picker/DatePicker/Year.d.ts +1 -1
- package/components/Forms/Picker/DatePicker/Year.js +6 -5
- package/components/Forms/Picker/DatePicker/Years.d.ts +4 -3
- package/components/Forms/Picker/DatePicker/Years.js +12 -11
- package/components/Forms/Picker/DatePicker/styles/StyledCalendar.d.ts +9 -26
- package/components/Forms/Picker/DatePicker/styles/StyledCalendar.js +16 -19
- package/components/Forms/Picker/DatePicker/styles/StyledDatePickerHeader.d.ts +355 -9
- package/components/Forms/Picker/DatePicker/styles/StyledDatePickerHeader.js +10 -11
- package/components/Forms/Picker/DatePicker/styles/StyledDay.js +5 -3
- package/components/Forms/Picker/DatePicker/styles/StyledYear.d.ts +1 -4
- package/components/Forms/Picker/DatePicker/styles/StyledYear.js +2 -1
- package/components/Forms/Picker/DatePicker/styles/StyledYears.d.ts +2 -4
- package/components/Forms/Picker/DatePicker/styles/StyledYears.js +1 -0
- package/components/Forms/Picker/DatePicker/utils/DatePickerAriaLabelUtils.d.ts +3 -2
- package/components/Forms/Picker/DatePicker/utils/DatePickerAriaLabelUtils.js +3 -2
- package/components/Forms/Picker/DatePicker/utils/DatePickerUtils.d.ts +6 -5
- package/components/Forms/Picker/DatePicker/utils/DatePickerUtils.js +15 -10
- package/components/Forms/Picker/TimePicker/NumberPicker.d.ts +7 -38
- package/components/Forms/Picker/TimePicker/NumberPicker.js +18 -17
- package/components/Forms/Picker/TimePicker/SelectionView.d.ts +1 -1
- package/components/Forms/Picker/TimePicker/SelectionView.js +4 -3
- package/components/Forms/Picker/TimePicker/TimePicker.d.ts +5 -5
- package/components/Forms/Picker/TimePicker/TimePicker.js +51 -50
- package/components/Forms/Picker/TimePicker/ToggleText.d.ts +4 -22
- package/components/Forms/Picker/TimePicker/ToggleText.js +10 -9
- package/components/Forms/Picker/TimePicker/constant.js +2 -2
- package/components/Forms/Picker/TimePicker/styles/StyledNumberPicker.d.ts +1 -3
- package/components/Forms/Picker/TimePicker/styles/StyledNumberPicker.js +2 -1
- package/components/Forms/Picker/TimePicker/styles/StyledPickerPopperWrap.d.ts +1 -3
- package/components/Forms/Picker/TimePicker/styles/StyledPickerPopperWrap.js +3 -3
- package/components/Forms/Picker/TimePicker/styles/StyledSelectionItem.d.ts +1 -4
- package/components/Forms/Picker/TimePicker/styles/StyledSelectionItem.js +3 -3
- package/components/Forms/Picker/TimePicker/styles/StyledSelectionView.d.ts +1 -3
- package/components/Forms/Picker/TimePicker/styles/StyledSelectionView.js +3 -3
- package/components/Forms/Picker/TimePicker/styles/StyledTimeIconButton.d.ts +2 -4
- package/components/Forms/Picker/TimePicker/styles/StyledTimeIconButton.js +6 -7
- package/components/Forms/Picker/TimePicker/types.d.ts +1 -1
- package/components/Forms/Picker/TimePicker/utils/A11yUtils.js +1 -0
- package/components/Forms/Picker/TimePicker/utils/TimeBoundary.js +11 -9
- package/components/Forms/Picker/TimePicker/utils/TimePickerHelper.d.ts +5 -5
- package/components/Forms/Picker/TimePicker/utils/TimePickerHelper.js +8 -7
- package/components/Forms/Picker/TimePicker/utils/TimePickerUtils.d.ts +2 -2
- package/components/Forms/Picker/TimePicker/utils/TimePickerUtils.js +4 -3
- package/components/Forms/Picker/TimePicker/utils/getNumberPickerBoundary.d.ts +1 -1
- package/components/Forms/Picker/TimePicker/utils/getNumberPickerBoundary.js +2 -1
- package/components/Forms/Picker/styles/PickerBaseIconButton.d.ts +2 -2
- package/components/Forms/Picker/styles/PickerBaseIconButton.js +2 -1
- package/components/Forms/Picker/styles/StyledPickerTextField.d.ts +1 -3
- package/components/Forms/Picker/styles/StyledPickerTextField.js +4 -3
- package/components/Forms/Picker/styles/StyledPopover.d.ts +1 -4
- package/components/Forms/Picker/styles/StyledPopover.js +2 -1
- package/components/Forms/Picker/styles/datePickerCustomFocusRingStyle.js +4 -3
- package/components/Forms/Picker/utils/PickerTextField/PickerTextField.d.ts +6 -11
- package/components/Forms/Picker/utils/PickerTextField/PickerTextField.js +20 -19
- package/components/Forms/Radio/Radio.d.ts +4 -6
- package/components/Forms/Radio/Radio.js +7 -6
- package/components/Forms/Radio/styles/RadioStyle.js +6 -4
- package/components/Forms/Radio/utils/RadioUtils.js +3 -2
- package/components/Forms/RadioGroup/RadioGroup.d.ts +2 -4
- package/components/Forms/RadioGroup/RadioGroup.js +4 -3
- package/components/Forms/Select/PlainSelect/PlainSelect.d.ts +3 -5
- package/components/Forms/Select/PlainSelect/PlainSelect.js +14 -13
- package/components/Forms/Select/PlainSelect/styles/StyledSelect.js +7 -5
- package/components/Forms/Select/PlainSelect/utils/PlainSelectUtils.d.ts +1 -1
- package/components/Forms/Select/PlainSelect/utils/PlainSelectUtils.js +3 -2
- package/components/Forms/Select/Select.d.ts +4 -6
- package/components/Forms/Select/Select.js +15 -14
- package/components/Forms/Select/styles/SelectArrowDownIcon.d.ts +2 -4
- package/components/Forms/Select/styles/SelectArrowDownIcon.js +4 -3
- package/components/Forms/Select/styles/StyledSelect.js +16 -15
- package/components/Forms/Select/utils/SelectInput/SelectInput.d.ts +2 -2
- package/components/Forms/Select/utils/SelectInput/SelectInput.js +18 -17
- package/components/Forms/Select/utils/SelectUtils.d.ts +1 -1
- package/components/Forms/Select/utils/SelectUtils.js +6 -5
- package/components/Forms/Slider/Slider.d.ts +2 -4
- package/components/Forms/Slider/Slider.js +5 -4
- package/components/Forms/Slider/styles/SliderStyle.js +6 -4
- package/components/Forms/Slider/utils/SliderUtil.js +2 -1
- package/components/Forms/Switch/Switch.d.ts +4 -6
- package/components/Forms/Switch/Switch.js +8 -7
- package/components/Forms/Switch/styles/SwitchStyle.js +12 -10
- package/components/Forms/Switch/utils/SwitchUtils.d.ts +1 -1
- package/components/Forms/Switch/utils/SwitchUtils.js +2 -1
- package/components/Forms/TextField/TextField.d.ts +362 -7
- package/components/Forms/TextField/TextField.js +24 -23
- package/components/Forms/TextField/styles/ClearIconButton.d.ts +9 -2
- package/components/Forms/TextField/styles/ClearIconButton.js +4 -3
- package/components/Forms/TextField/styles/OutlineTextFieldStyle.js +8 -6
- package/components/Forms/TextField/styles/TextFieldStyle.d.ts +1 -1
- package/components/Forms/TextField/styles/TextFieldStyle.js +19 -19
- package/components/Forms/TextField/utils/OutlineTextFieldUtils.js +2 -1
- package/components/Forms/TextField/utils/TextFieldUtils.d.ts +2 -2
- package/components/Forms/TextField/utils/TextFieldUtils.js +9 -7
- package/components/Forms/Textarea/Textarea.d.ts +2 -4
- package/components/Forms/Textarea/Textarea.js +6 -5
- package/components/Forms/Textarea/styles/TextareaStyle.js +4 -3
- package/components/Forms/Textarea/utils/TextareaUtils.js +2 -1
- package/components/Forms/index.js +1 -0
- package/components/Forms/utils/CustomIconPropsGetter.d.ts +3 -8
- package/components/Forms/utils/CustomIconPropsGetter.js +5 -3
- package/components/Forms/utils/checkedStyles.d.ts +2 -2
- package/components/Forms/utils/checkedStyles.js +9 -8
- package/components/Grid/Grid.d.ts +21 -4
- package/components/Grid/Grid.js +5 -4
- package/components/Grid/styles/GridStyle.js +4 -2
- package/components/Grid/utils/GridUtils.js +2 -1
- package/components/Hidden/Hidden.d.ts +1 -2
- package/components/Hidden/Hidden.js +1 -0
- package/components/Icon/Icon.d.ts +13 -38
- package/components/Icon/Icon.js +9 -8
- package/components/Icon/name2icon.d.ts +1 -1
- package/components/Icon/name2icon.js +1 -0
- package/components/Icon/styles/IconStyle.js +7 -5
- package/components/Icon/styles/iconSvg.d.ts +1 -3
- package/components/Icon/styles/iconSvg.js +3 -2
- package/components/Icon/utils/IconService.d.ts +2 -2
- package/components/Icon/utils/IconService.js +3 -2
- package/components/Icon/utils/IconUtils.js +5 -4
- package/components/InlineEditable/InlineEditable.d.ts +69 -6
- package/components/InlineEditable/InlineEditable.js +28 -27
- package/components/InlineEditable/styles/InlineEditableStyle.js +5 -5
- package/components/InlineEditable/styles/textFieldStyle.d.ts +2 -2
- package/components/InlineEditable/styles/textFieldStyle.js +5 -4
- package/components/InlineEditable/utils/InlineEditableUtils.js +2 -1
- package/components/Link/Link.d.ts +25 -5
- package/components/Link/Link.js +6 -5
- package/components/Link/styles/StyledLink.js +8 -7
- package/components/Link/utils/LinkUtils.js +1 -0
- package/components/List/List/List.d.ts +8 -4
- package/components/List/List/List.js +5 -4
- package/components/List/List/styles/ListStyle.js +4 -2
- package/components/List/List/utils/ListUtils.js +2 -1
- package/components/List/ListItem/ListItem.d.ts +324 -6
- package/components/List/ListItem/ListItem.js +11 -14
- package/components/List/ListItem/styles/ListItemStyle.d.ts +1 -1
- package/components/List/ListItem/styles/ListItemStyle.js +14 -16
- package/components/List/ListItem/utils/ListItemUtils.d.ts +2 -2
- package/components/List/ListItem/utils/ListItemUtils.js +7 -6
- package/components/List/ListItemAvatar/ListItemAvatar.d.ts +2 -4
- package/components/List/ListItemAvatar/ListItemAvatar.js +5 -4
- package/components/List/ListItemAvatar/styles/ListItemAvatarStyle.js +3 -1
- package/components/List/ListItemAvatar/utils/ListItemAvatarUtils.js +2 -1
- package/components/List/ListItemIcon/ListItemIcon.d.ts +2 -4
- package/components/List/ListItemIcon/ListItemIcon.js +5 -4
- package/components/List/ListItemIcon/styles/ListItemIconStyle.js +4 -2
- package/components/List/ListItemIcon/utils/ListItemIconUtils.js +2 -1
- package/components/List/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +2 -4
- package/components/List/ListItemSecondaryAction/ListItemSecondaryAction.js +9 -8
- package/components/List/ListItemSecondaryAction/styles/ListItemSecondaryActionStyle.js +4 -2
- package/components/List/ListItemSecondaryAction/utils/ListItemSecondaryActionUtils.js +2 -1
- package/components/List/ListItemText/ListItemText.d.ts +3 -5
- package/components/List/ListItemText/ListItemText.js +8 -7
- package/components/List/ListItemText/styles/ListItemTextStyle.js +9 -8
- package/components/List/ListItemText/utils/ListItemTextUtils.js +2 -1
- package/components/List/ListSubheader/ListSubheader.d.ts +2 -4
- package/components/List/ListSubheader/ListSubheader.js +5 -4
- package/components/List/ListSubheader/styles/ListSubheaderStyle.js +4 -2
- package/components/List/ListSubheader/utils/ListSubheaderUtils.js +2 -1
- package/components/Loading/Loading.d.ts +1 -1
- package/components/Loading/Loading.js +3 -2
- package/components/Loading/styles/StyledLoadingPage.d.ts +2 -2
- package/components/Loading/styles/StyledLoadingPage.js +5 -5
- package/components/Menu/Menu/Menu.d.ts +2 -4
- package/components/Menu/Menu/Menu.js +12 -11
- package/components/Menu/Menu/MenuContext.d.ts +2 -3
- package/components/Menu/Menu/MenuContext.js +2 -1
- package/components/Menu/Menu/styles/MenuStyle.js +4 -2
- package/components/Menu/Menu/utils/MenuUtils.js +2 -1
- package/components/Menu/MenuItem/MenuItem.d.ts +346 -48
- package/components/Menu/MenuItem/MenuItem.js +26 -27
- package/components/Menu/MenuItem/styles/MenuItemStyle.d.ts +7 -32
- package/components/Menu/MenuItem/styles/MenuItemStyle.js +6 -5
- package/components/Menu/MenuItem/utils/MenuItemUtils.d.ts +2 -2
- package/components/Menu/MenuItem/utils/MenuItemUtils.js +8 -7
- package/components/Menu/MenuItemActionWrapper/MenuItemActionWrapper.d.ts +1 -3
- package/components/Menu/MenuItemActionWrapper/MenuItemActionWrapper.js +1 -0
- package/components/Menu/MenuItemActionWrapper/styles/StyledMenuItemActionWrapper.d.ts +1 -3
- package/components/Menu/MenuItemActionWrapper/styles/StyledMenuItemActionWrapper.js +2 -1
- package/components/Menu/MenuItemSubAction/MenuItemSubAction.d.ts +2 -4
- package/components/Menu/MenuItemSubAction/MenuItemSubAction.js +1 -0
- package/components/Menu/MenuItemSubAction/styles/StyledMenuItemSubAction.d.ts +2 -3
- package/components/Menu/MenuItemSubAction/styles/StyledMenuItemSubAction.js +2 -1
- package/components/Menu/MenuList/MenuList.d.ts +2 -4
- package/components/Menu/MenuList/MenuList.js +11 -10
- package/components/Menu/MenuList/MenuListContext.d.ts +2 -3
- package/components/Menu/MenuList/MenuListContext.js +2 -1
- package/components/Menu/MenuList/styles/MenuListStyle.d.ts +1 -1
- package/components/Menu/MenuList/styles/MenuListStyle.js +5 -3
- package/components/Menu/MenuList/utils/MenuListUtils.js +2 -1
- package/components/Menu/MenuOption/MenuOption.d.ts +1 -1
- package/components/Menu/MenuOption/MenuOption.js +2 -1
- package/components/Menu/MenuOption/styles/StyledMenuOption.d.ts +3 -3
- package/components/Menu/MenuOption/styles/StyledMenuOption.js +2 -1
- package/components/Menu/SubMenu/SubMenu.d.ts +2 -4
- package/components/Menu/SubMenu/SubMenu.js +25 -24
- package/components/Menu/SubMenu/SubMenuContext.d.ts +2 -3
- package/components/Menu/SubMenu/SubMenuContext.js +2 -1
- package/components/Menu/SubMenu/styles/SubMenuStyle.d.ts +2 -7
- package/components/Menu/SubMenu/styles/SubMenuStyle.js +6 -4
- package/components/Menu/SubMenu/utils/SubMenuUtils.d.ts +1 -1
- package/components/Menu/SubMenu/utils/SubMenuUtils.js +2 -1
- package/components/MuiExports/index.d.ts +43 -0
- package/components/MuiExports/index.js +61 -0
- package/components/MuiExports/package.json +5 -0
- package/components/Pagination/Pagination/Pagination.d.ts +2 -4
- package/components/Pagination/Pagination/Pagination.js +5 -4
- package/components/Pagination/Pagination/styles/StyledPagination.js +4 -2
- package/components/Pagination/Pagination/utils/PaginationUtils.js +2 -1
- package/components/Pagination/PaginationItem/PaginationItem.d.ts +15 -18
- package/components/Pagination/PaginationItem/PaginationItem.js +5 -4
- package/components/Pagination/PaginationItem/styles/PaginationItemStyle.js +4 -2
- package/components/Pagination/PaginationItem/utils/PaginationItemUtils.js +2 -1
- package/components/Paper/Paper.d.ts +2 -4
- package/components/Paper/Paper.js +5 -4
- package/components/Paper/deprecated/Paper.d.ts +1 -1
- package/components/Paper/deprecated/Paper.js +1 -0
- package/components/Paper/styles/PaperStyle.js +4 -2
- package/components/Paper/utils/PaperUtils.js +2 -1
- package/components/Popover/Popover.d.ts +2 -4
- package/components/Popover/Popover.js +6 -5
- package/components/Popover/styles/PopoverStyle.js +4 -2
- package/components/Popover/utils/PopoverUtils.js +2 -1
- package/components/Popper/Popper.d.ts +2 -4
- package/components/Popper/Popper.js +5 -4
- package/components/Popper/modifiers/fixOffsetsModifer.js +2 -1
- package/components/Popper/styles/PopperStyle.js +4 -2
- package/components/PopupBox/PopupBox.d.ts +3 -5
- package/components/PopupBox/PopupBox.js +5 -4
- package/components/Portal/Portal.d.ts +1 -1
- package/components/Portal/Portal.js +2 -1
- package/components/PortalHost/Connectable/Connectable.js +2 -1
- package/components/PortalHost/Connectable/ThrottleScheduler.js +1 -0
- package/components/PortalHost/Connectable/types.d.ts +2 -2
- package/components/PortalHost/Connectable/types.js +1 -0
- package/components/PortalHost/PortalHost.d.ts +1 -1
- package/components/PortalHost/PortalHost.js +4 -3
- package/components/PortalHost/PortalManager/PortalManager.js +8 -7
- package/components/PortalHost/PortalManager/PortalStore.d.ts +3 -3
- package/components/PortalHost/PortalManager/PortalStore.js +6 -5
- package/components/PortalHost/PortalManager/types.d.ts +7 -7
- package/components/PortalHost/PortalManager/types.js +1 -0
- package/components/PortalHost/PortalManager/utils.d.ts +1 -1
- package/components/PortalHost/PortalManager/utils.js +3 -1
- package/components/PortalHost/PortalRenderer.d.ts +1 -1
- package/components/PortalHost/PortalRenderer.js +3 -2
- package/components/PortalHost/context/HasPortalParentContext.d.ts +6 -2
- package/components/PortalHost/context/HasPortalParentContext.js +4 -2
- package/components/PortalHost/context/PortalIDContext.d.ts +2 -3
- package/components/PortalHost/context/PortalIDContext.js +2 -1
- package/components/PortalHost/context/PortalManagerContext.d.ts +0 -1
- package/components/PortalHost/context/PortalManagerContext.js +2 -1
- package/components/PortalHost/index.js +2 -1
- package/components/PortalHost/utils/usePortalManagerWithID.d.ts +1 -2
- package/components/PortalHost/utils/usePortalManagerWithID.js +6 -4
- package/components/PortalHost/utils/useUnmountPortalHandler.js +5 -3
- package/components/Presence/Presence.d.ts +8 -19
- package/components/Presence/Presence.js +4 -3
- package/components/Presence/assets/Check.d.ts +1 -1
- package/components/Presence/assets/Check.js +1 -1
- package/components/Presence/assets/Default.d.ts +1 -1
- package/components/Presence/assets/Default.js +1 -1
- package/components/Presence/assets/Dnd.d.ts +1 -1
- package/components/Presence/assets/Dnd.js +1 -1
- package/components/Presence/assets/Offline.d.ts +1 -1
- package/components/Presence/assets/Offline.js +1 -1
- package/components/Presence/assets/Unattended.d.ts +1 -1
- package/components/Presence/assets/Unattended.js +1 -1
- package/components/Presence/assets/index.js +9 -5
- package/components/Presence/styles/StyledPresence.d.ts +7 -5
- package/components/Presence/styles/StyledPresence.js +11 -14
- package/components/Presence/utils/RcPresenceUtils.js +4 -3
- package/components/Progress/CircularProgress/CircularProgress.d.ts +2 -4
- package/components/Progress/CircularProgress/CircularProgress.js +5 -4
- package/components/Progress/CircularProgress/styles/CircularProgressStyle.js +5 -3
- package/components/Progress/CircularProgress/utils/CircularProgressUtils.js +2 -1
- package/components/Progress/LinearProgress/LinearProgress.d.ts +2 -4
- package/components/Progress/LinearProgress/LinearProgress.js +5 -4
- package/components/Progress/LinearProgress/styles/LinearProgressStyle.js +5 -3
- package/components/Progress/LinearProgress/utils/LinearProgressUtils.js +2 -1
- package/components/Progress/styles/StyledCircularProgress.d.ts +2 -3
- package/components/Progress/styles/StyledCircularProgress.js +2 -1
- package/components/Progress/utils/CircularProgressUtils.js +2 -1
- package/components/Rating/Rating.d.ts +2 -4
- package/components/Rating/Rating.js +8 -7
- package/components/Rating/styles/RatingStyle.js +10 -10
- package/components/Rating/utils/RatingUtils.js +2 -1
- package/components/Responsive/Responsive.d.ts +6 -2
- package/components/Responsive/Responsive.js +9 -8
- package/components/Responsive/utils/getMatchedBreakpoint.d.ts +2 -1
- package/components/Responsive/utils/getMatchedBreakpoint.js +4 -2
- package/components/Responsive/utils/index.js +1 -0
- package/components/Responsive/utils/types.d.ts +1 -1
- package/components/Snackbar/Snackbar.d.ts +2 -4
- package/components/Snackbar/Snackbar.js +6 -5
- package/components/Snackbar/SnackbarAction/SnackbarAction.d.ts +3 -5
- package/components/Snackbar/SnackbarAction/SnackbarAction.js +6 -5
- package/components/Snackbar/SnackbarAction/styles/StyledSnackbarContent.js +4 -3
- package/components/Snackbar/SnackbarAction/utils/SnackbarActionUtils.d.ts +1 -1
- package/components/Snackbar/SnackbarAction/utils/SnackbarActionUtils.js +2 -1
- package/components/Snackbar/SnackbarContent/SnackbarContent.d.ts +5 -7
- package/components/Snackbar/SnackbarContent/SnackbarContent.js +8 -7
- package/components/Snackbar/SnackbarContent/styles/StyledSnackbarContent.js +7 -5
- package/components/Snackbar/SnackbarContent/utils/SnackbarContentUtils.js +5 -4
- package/components/Snackbar/styles/SnackbarStyle.js +4 -2
- package/components/Snackbar/utils/SnackbarUtils.js +2 -1
- package/components/Stepper/Step/Step.d.ts +2 -4
- package/components/Stepper/Step/Step.js +5 -4
- package/components/Stepper/Step/styles/StepStyle.js +5 -3
- package/components/Stepper/Step/utils/StepUtils.js +2 -1
- package/components/Stepper/StepButton/StepButton.d.ts +2 -4
- package/components/Stepper/StepButton/StepButton.js +8 -7
- package/components/Stepper/StepButton/styles/StepButtonStyle.js +4 -2
- package/components/Stepper/StepButton/utils/StepButtonUtils.js +2 -1
- package/components/Stepper/StepConnector/StepConnector.d.ts +2 -4
- package/components/Stepper/StepConnector/StepConnector.js +5 -4
- package/components/Stepper/StepConnector/styles/StepConnectorStyle.js +4 -2
- package/components/Stepper/StepConnector/utils/StepConnectorUtils.js +2 -1
- package/components/Stepper/StepContent/StepContent.d.ts +2 -4
- package/components/Stepper/StepContent/StepContent.js +4 -3
- package/components/Stepper/StepContent/styles/StepContentStyle.js +4 -2
- package/components/Stepper/StepContent/utils/StepContentUtils.js +2 -1
- package/components/Stepper/StepIcon/StepIcon.d.ts +4 -4
- package/components/Stepper/StepIcon/StepIcon.js +7 -6
- package/components/Stepper/StepIcon/styles/StepIconStyle.js +4 -2
- package/components/Stepper/StepIcon/styles/StyledCircleIcon.d.ts +3 -5
- package/components/Stepper/StepIcon/styles/StyledCircleIcon.js +5 -3
- package/components/Stepper/StepIcon/utils/StepIconUtils.js +8 -6
- package/components/Stepper/StepLabel/StepLabel.d.ts +2 -4
- package/components/Stepper/StepLabel/StepLabel.js +6 -5
- package/components/Stepper/StepLabel/styles/StepLabelStyle.js +4 -2
- package/components/Stepper/StepLabel/utils/StepLabelUtils.js +2 -1
- package/components/Stepper/Stepper.d.ts +2 -4
- package/components/Stepper/Stepper.js +5 -4
- package/components/Stepper/styles/StepperStyle.js +4 -2
- package/components/Stepper/utils/StepperUtils.js +2 -1
- package/components/Table/Table.d.ts +2 -4
- package/components/Table/Table.js +5 -4
- package/components/Table/TableBody/TableBody.d.ts +4 -4
- package/components/Table/TableBody/TableBody.js +4 -3
- package/components/Table/TableCell/TableCell.d.ts +294 -4
- package/components/Table/TableCell/TableCell.js +8 -7
- package/components/Table/TableCell/styles/TableCellStyle.js +5 -3
- package/components/Table/TableCell/utils/TableCellUtils.d.ts +1 -1
- package/components/Table/TableCell/utils/TableCellUtils.js +2 -1
- package/components/Table/TableContainer/TableContainer.d.ts +2 -4
- package/components/Table/TableContainer/TableContainer.js +4 -3
- package/components/Table/TableContainer/styles/TableContainerStyle.js +4 -3
- package/components/Table/TableHead/TableHead.d.ts +4 -4
- package/components/Table/TableHead/TableHead.js +4 -3
- package/components/Table/TableRow/TableRow.d.ts +2 -4
- package/components/Table/TableRow/TableRow.js +6 -5
- package/components/Table/TableRow/styles/TableRowStyle.js +4 -2
- package/components/Table/TableRow/utils/TableRowUtils.d.ts +1 -1
- package/components/Table/TableRow/utils/TableRowUtils.js +2 -1
- package/components/Table/context.d.ts +1 -2
- package/components/Table/context.js +2 -1
- package/components/Table/index.js +1 -0
- package/components/Table/types.d.ts +2 -2
- package/components/TablePagination/TablePagination.d.ts +2 -4
- package/components/TablePagination/TablePagination.js +8 -7
- package/components/TablePagination/styles/TablePaginationActions.d.ts +2 -2
- package/components/TablePagination/styles/TablePaginationActions.js +5 -4
- package/components/TablePagination/styles/TablePaginationStyle.d.ts +342 -42
- package/components/TablePagination/styles/TablePaginationStyle.js +6 -4
- package/components/TablePagination/utils/TablePaginationUtils.d.ts +1 -1
- package/components/TablePagination/utils/TablePaginationUtils.js +7 -5
- package/components/Tabs/Tab/Tab.d.ts +3 -5
- package/components/Tabs/Tab/Tab.js +5 -4
- package/components/Tabs/Tab/styles/TabStyle.js +4 -3
- package/components/Tabs/Tab/utils/TabUtils.js +2 -1
- package/components/Tabs/TabContext/TabContext.js +4 -3
- package/components/Tabs/TabList/TabList.d.ts +2 -4
- package/components/Tabs/TabList/TabList.js +10 -9
- package/components/Tabs/TabList/styles/TabListStyle.js +4 -2
- package/components/Tabs/TabList/utils/TabListUtils.js +2 -1
- package/components/Tabs/TabPanel/TabPanel.d.ts +2 -4
- package/components/Tabs/TabPanel/TabPanel.js +6 -5
- package/components/Tabs/TabPanel/styles/TabPanelStyle.js +4 -2
- package/components/Tabs/TabPanel/utils/TabPanelUtils.js +2 -1
- package/components/Tabs/Tabs/MoreMenuTab/MoreMenuTab.d.ts +2 -4
- package/components/Tabs/Tabs/MoreMenuTab/MoreMenuTab.js +8 -7
- package/components/Tabs/Tabs/MoreMenuTab/styles/MoreMenuTabStyle.js +5 -4
- package/components/Tabs/Tabs/MoreMenuTabs/MoreMenuTabSentinel.d.ts +1 -1
- package/components/Tabs/Tabs/MoreMenuTabs/MoreMenuTabSentinel.js +2 -1
- package/components/Tabs/Tabs/MoreMenuTabs/MoreMenuTabs.d.ts +3 -5
- package/components/Tabs/Tabs/MoreMenuTabs/MoreMenuTabs.js +23 -22
- package/components/Tabs/Tabs/MoreMenuTabs/utils/MoreMenuTabsUtils.d.ts +5 -2
- package/components/Tabs/Tabs/MoreMenuTabs/utils/index.js +2 -0
- package/components/Tabs/Tabs/Tabs.d.ts +3 -5
- package/components/Tabs/Tabs/Tabs.js +6 -5
- package/components/Tabs/Tabs/styles/TabsStyle.js +4 -2
- package/components/Tabs/Tabs/utils/TabsUtils.js +2 -1
- package/components/Tag/Tag.d.ts +7 -22
- package/components/Tag/Tag.js +5 -4
- package/components/Tag/styles/TagStyle.js +5 -4
- package/components/Tag/utils/TagUtils.d.ts +4 -3
- package/components/Tag/utils/TagUtils.js +1 -0
- package/components/Text/Text.d.ts +3 -4
- package/components/Text/Text.js +14 -12
- package/components/Text/styles/StyledText.js +4 -3
- package/components/Thumbnail/Thumbnail.d.ts +5 -28
- package/components/Thumbnail/Thumbnail.js +5 -4
- package/components/Thumbnail/styles/StyledThumbnail.d.ts +3 -20
- package/components/Thumbnail/styles/StyledThumbnail.js +4 -4
- package/components/Thumbnail/utils/ThumbnailUtils.js +1 -0
- package/components/Toolbar/Toolbar.d.ts +2 -4
- package/components/Toolbar/Toolbar.js +4 -3
- package/components/Tooltip/Tooltip.d.ts +3 -5
- package/components/Tooltip/Tooltip.js +18 -17
- package/components/Tooltip/styles/Mask.d.ts +1 -3
- package/components/Tooltip/styles/Mask.js +1 -0
- package/components/Tooltip/styles/StyledTooltip.js +10 -9
- package/components/Tooltip/utils/TooltipUtils.js +11 -10
- package/components/Tooltip/utils/useTooltipForceHide.d.ts +2 -2
- package/components/Tooltip/utils/useTooltipForceHide.js +14 -12
- package/components/Tooltip/withTooltip/withTooltip.d.ts +1 -1
- package/components/Tooltip/withTooltip/withTooltip.js +2 -1
- package/components/Transitions/Collapse/Collapse.d.ts +2 -2
- package/components/Transitions/Collapse/Collapse.js +3 -2
- package/components/Transitions/Fade/Fade.d.ts +2 -2
- package/components/Transitions/Fade/Fade.js +3 -2
- package/components/Transitions/Grow/Grow.d.ts +2 -2
- package/components/Transitions/Grow/Grow.js +3 -2
- package/components/Transitions/Slide/Slide.d.ts +2 -2
- package/components/Transitions/Slide/Slide.js +3 -2
- package/components/Transitions/Transition.d.ts +6 -6
- package/components/Transitions/Transition.js +5 -2
- package/components/Transitions/Zoom/Zoom.d.ts +2 -2
- package/components/Transitions/Zoom/Zoom.js +3 -2
- package/components/Transitions/ZoomFrom/ZoomFrom.d.ts +3 -3
- package/components/Transitions/ZoomFrom/ZoomFrom.js +18 -23
- package/components/Transitions/ZoomFrom/utils/transformToFromElm.js +2 -1
- package/components/Transitions/ZoomInFadeOut/ZoomInFadeOut.d.ts +3 -3
- package/components/Transitions/ZoomInFadeOut/ZoomInFadeOut.js +17 -19
- package/components/Transitions/utils/transitionendSubscriber.js +3 -1
- package/components/Transitions/utils/useNormalizeTransition.d.ts +2 -1
- package/components/Transitions/utils/useNormalizeTransition.js +11 -8
- package/components/Typography/Typography.d.ts +6 -8
- package/components/Typography/Typography.js +5 -4
- package/components/Typography/styles/StyledTypography.js +5 -3
- package/components/Typography/utils/TypographyUtils.js +1 -0
- package/components/VirtualizedMenu/VirtualizedDivider/VirtualizedDivider.d.ts +7 -16
- package/components/VirtualizedMenu/VirtualizedDivider/VirtualizedDivider.js +4 -3
- package/components/VirtualizedMenu/VirtualizedMenu.d.ts +2 -4
- package/components/VirtualizedMenu/VirtualizedMenu.js +17 -16
- package/components/VirtualizedMenu/VirtualizedMenuList.d.ts +3 -5
- package/components/VirtualizedMenu/VirtualizedMenuList.js +36 -36
- package/components/VirtualizedMenu/styles/StyledMenuPadding.d.ts +2 -4
- package/components/VirtualizedMenu/styles/StyledMenuPadding.js +1 -0
- package/components/VirtualizedMenu/styles/VirtualizedMenuStyle.js +4 -2
- package/components/VirtualizedMenu/utils/VirtualizedMenuUtils.js +2 -1
- package/components/Virtuoso/react-virtuoso/AATree.d.ts +1 -1
- package/components/Virtuoso/react-virtuoso/AATree.js +3 -2
- package/components/Virtuoso/react-virtuoso/TableVirtuoso.d.ts +2 -2
- package/components/Virtuoso/react-virtuoso/TableVirtuoso.js +18 -17
- package/components/Virtuoso/react-virtuoso/Virtuoso.d.ts +164 -440
- package/components/Virtuoso/react-virtuoso/Virtuoso.js +61 -60
- package/components/Virtuoso/react-virtuoso/VirtuosoGrid.d.ts +47 -113
- package/components/Virtuoso/react-virtuoso/VirtuosoGrid.js +18 -17
- package/components/Virtuoso/react-virtuoso/alignToBottomSystem.d.ts +4 -4
- package/components/Virtuoso/react-virtuoso/alignToBottomSystem.js +1 -0
- package/components/Virtuoso/react-virtuoso/comparators.js +1 -0
- package/components/Virtuoso/react-virtuoso/domIOSystem.js +1 -0
- package/components/Virtuoso/react-virtuoso/followOutputSystem.d.ts +4 -4
- package/components/Virtuoso/react-virtuoso/followOutputSystem.js +1 -0
- package/components/Virtuoso/react-virtuoso/gridSystem.d.ts +4 -4
- package/components/Virtuoso/react-virtuoso/gridSystem.js +6 -33
- package/components/Virtuoso/react-virtuoso/groupedListSystem.js +3 -2
- package/components/Virtuoso/react-virtuoso/hooks/useChangedChildSizes.d.ts +2 -2
- package/components/Virtuoso/react-virtuoso/hooks/useChangedChildSizes.js +3 -3
- package/components/Virtuoso/react-virtuoso/hooks/useRcPortalWindowContext.js +3 -2
- package/components/Virtuoso/react-virtuoso/hooks/useScrollTop.d.ts +1 -1
- package/components/Virtuoso/react-virtuoso/hooks/useScrollTop.js +4 -4
- package/components/Virtuoso/react-virtuoso/hooks/useSize.d.ts +4 -4
- package/components/Virtuoso/react-virtuoso/hooks/useSize.js +2 -1
- package/components/Virtuoso/react-virtuoso/hooks/useWindowViewportRect.d.ts +1 -1
- package/components/Virtuoso/react-virtuoso/hooks/useWindowViewportRect.js +2 -2
- package/components/Virtuoso/react-virtuoso/index.js +10 -5
- package/components/Virtuoso/react-virtuoso/initialItemCountSystem.d.ts +6 -6
- package/components/Virtuoso/react-virtuoso/initialItemCountSystem.js +2 -1
- package/components/Virtuoso/react-virtuoso/initialScrollTopSystem.d.ts +4 -4
- package/components/Virtuoso/react-virtuoso/initialScrollTopSystem.js +1 -0
- package/components/Virtuoso/react-virtuoso/initialTopMostItemIndexSystem.d.ts +2 -2
- package/components/Virtuoso/react-virtuoso/initialTopMostItemIndexSystem.js +3 -2
- package/components/Virtuoso/react-virtuoso/interfaces.d.ts +23 -23
- package/components/Virtuoso/react-virtuoso/listStateSystem.d.ts +5 -5
- package/components/Virtuoso/react-virtuoso/listStateSystem.js +12 -11
- package/components/Virtuoso/react-virtuoso/listSystem.d.ts +47 -47
- package/components/Virtuoso/react-virtuoso/listSystem.js +4 -16
- package/components/Virtuoso/react-virtuoso/loggerSystem.d.ts +1 -1
- package/components/Virtuoso/react-virtuoso/loggerSystem.js +3 -2
- package/components/Virtuoso/react-virtuoso/propsReadySystem.js +1 -0
- package/components/Virtuoso/react-virtuoso/react-urx/index.d.ts +5 -5
- package/components/Virtuoso/react-virtuoso/react-urx/index.js +2 -1
- package/components/Virtuoso/react-virtuoso/recalcSystem.js +1 -0
- package/components/Virtuoso/react-virtuoso/scrollIntoViewSystem.d.ts +6 -6
- package/components/Virtuoso/react-virtuoso/scrollIntoViewSystem.js +4 -3
- package/components/Virtuoso/react-virtuoso/scrollSeekSystem.js +1 -0
- package/components/Virtuoso/react-virtuoso/scrollToIndexSystem.d.ts +2 -2
- package/components/Virtuoso/react-virtuoso/scrollToIndexSystem.js +5 -4
- package/components/Virtuoso/react-virtuoso/sizeRangeSystem.d.ts +5 -5
- package/components/Virtuoso/react-virtuoso/sizeRangeSystem.js +1 -0
- package/components/Virtuoso/react-virtuoso/sizeSystem.d.ts +6 -4
- package/components/Virtuoso/react-virtuoso/sizeSystem.js +42 -42
- package/components/Virtuoso/react-virtuoso/stateFlagsSystem.d.ts +4 -4
- package/components/Virtuoso/react-virtuoso/stateFlagsSystem.js +2 -1
- package/components/Virtuoso/react-virtuoso/stateLoadSystem.d.ts +2 -2
- package/components/Virtuoso/react-virtuoso/stateLoadSystem.js +2 -1
- package/components/Virtuoso/react-virtuoso/topItemCountSystem.d.ts +4 -4
- package/components/Virtuoso/react-virtuoso/topItemCountSystem.js +1 -0
- package/components/Virtuoso/react-virtuoso/totalListHeightSystem.d.ts +4 -4
- package/components/Virtuoso/react-virtuoso/totalListHeightSystem.js +1 -0
- package/components/Virtuoso/react-virtuoso/upwardScrollFixSystem.d.ts +4 -4
- package/components/Virtuoso/react-virtuoso/upwardScrollFixSystem.js +3 -2
- package/components/Virtuoso/react-virtuoso/urx/actions.d.ts +1 -1
- package/components/Virtuoso/react-virtuoso/urx/actions.js +2 -1
- package/components/Virtuoso/react-virtuoso/urx/constants.d.ts +4 -4
- package/components/Virtuoso/react-virtuoso/urx/constants.js +1 -0
- package/components/Virtuoso/react-virtuoso/urx/pipe.d.ts +1 -1
- package/components/Virtuoso/react-virtuoso/urx/pipe.js +6 -5
- package/components/Virtuoso/react-virtuoso/urx/streams.js +6 -5
- package/components/Virtuoso/react-virtuoso/urx/system.d.ts +5 -5
- package/components/Virtuoso/react-virtuoso/urx/system.js +2 -1
- package/components/Virtuoso/react-virtuoso/urx/transformers.js +10 -9
- package/components/Virtuoso/react-virtuoso/urx/utils.js +1 -0
- package/components/Virtuoso/react-virtuoso/utils/approximatelyEqual.js +1 -0
- package/components/Virtuoso/react-virtuoso/utils/binaryArraySearch.d.ts +1 -1
- package/components/Virtuoso/react-virtuoso/utils/binaryArraySearch.js +2 -1
- package/components/Virtuoso/react-virtuoso/utils/context.js +1 -0
- package/components/Virtuoso/react-virtuoso/utils/correctItemSize.js +1 -0
- package/components/Virtuoso/react-virtuoso/utils/positionStickyCssValue.d.ts +1 -1
- package/components/Virtuoso/react-virtuoso/utils/positionStickyCssValue.js +2 -1
- package/components/Virtuoso/react-virtuoso/utils/simpleMemoize.js +1 -0
- package/components/Virtuoso/react-virtuoso/utils/skipFrames.js +1 -0
- package/components/Virtuoso/react-virtuoso/windowScrollerSystem.js +1 -0
- package/components/Virtuoso/utils/isOutOfRange.js +1 -0
- package/components/Virtuoso/utils/useDynamicHeight.d.ts +2 -3
- package/components/Virtuoso/utils/useDynamicHeight.js +5 -3
- package/components/Virtuoso/utils/useHighlightScroll.d.ts +1 -1
- package/components/Virtuoso/utils/useHighlightScroll.js +3 -2
- package/components/VisuallyHidden/VisuallyHidden.d.ts +1 -3
- package/components/VisuallyHidden/VisuallyHidden.js +1 -0
- package/components/index.d.ts +1 -0
- package/components/index.js +2 -0
- package/es6/components/Accordion/styles/AccordionStyle.js +2 -2
- package/es6/components/Animations/Highlight/Highlight.js +1 -1
- package/es6/components/AppBar/AppBar.js +1 -1
- package/es6/components/Avatar/Avatar.js +4 -4
- package/es6/components/Avatar/styles/StyledAvatar.js +1 -2
- package/es6/components/Avatar/styles/StyledAvatarWrapper.js +2 -5
- package/es6/components/Avatar/utils/useAvatarColorToken.js +1 -1
- package/es6/components/Avatar/utils/useAvatarShortName.js +2 -2
- package/es6/components/Badge/DotBadge.js +1 -1
- package/es6/components/Badge/styles/BadgeStyle.js +3 -8
- package/es6/components/Buttons/Button/Button.js +1 -5
- package/es6/components/Buttons/Button/styles/StyledButton.js +2 -13
- package/es6/components/Buttons/ButtonGroup/styles/StyledButtonGroup.js +1 -0
- package/es6/components/Buttons/ButtonGroup/styles/index.js +1 -0
- package/es6/components/Buttons/ButtonGroup/utils/ButtonGroupUtils.js +1 -0
- package/es6/components/Buttons/ButtonGroup/utils/index.js +1 -0
- package/es6/components/Buttons/IconButton/IconButton.js +1 -9
- package/es6/components/Buttons/IconButton/styles/StyledIconButton.js +3 -13
- package/es6/components/Buttons/IconButtonGroup/styles/IconButtonGroupStyle.js +3 -4
- package/es6/components/Buttons/SplitButton/SplitButton.js +1 -2
- package/es6/components/Buttons/SplitButton/styles/StyledSplitButton.js +4 -15
- package/es6/components/Buttons/ToggleButton/styles/ToggleButtonStyle.js +1 -4
- package/es6/components/Buttons/ToggleButton/utils/ToggleButtonUtils.js +3 -3
- package/es6/components/Buttons/ToggleButtonGroup/ToggleButtonGroup.js +1 -1
- package/es6/components/Buttons/ToggleButtonGroup/styles/ToggleButtonGroupStyle.js +1 -2
- package/es6/components/Buttons/ToggleButtonGroup/styles/boxStyle.js +1 -4
- package/es6/components/Buttons/ToggleButtonGroup/styles/standardStyle.js +1 -5
- package/es6/components/Buttons/ToggleButtonGroup/utils/ToggleButtonGroupUtils.js +1 -1
- package/es6/components/Card/Card/styles/CardStyles.js +1 -2
- package/es6/components/Card/CardHoverActions/styles/CardHoverActionsStyle.js +1 -2
- package/es6/components/Chip/styles/ChipStyle.js +2 -6
- package/es6/components/DetachedWindow/utils/JssDomRendererFactory.js +1 -1
- package/es6/components/DetachedWindow/utils/openExternalWindow.js +4 -4
- package/es6/components/Dialer/DialPad/DialPad.js +3 -3
- package/es6/components/Dialer/DialPad/styles/StyledDialPad.js +1 -2
- package/es6/components/Dialer/DialPad/utils/DialPadUtils.js +4 -4
- package/es6/components/Dialer/DialPad/utils/index.js +1 -0
- package/es6/components/Dialer/DialPad/utils/types.js +1 -0
- package/es6/components/Dialer/DialPad/utils/useDialKeyboard.js +2 -2
- package/es6/components/Dialog/DialogActions/DialogActions.js +1 -2
- package/es6/components/Dialog/DialogActions/styles/DialogActionsStyle.js +5 -10
- package/es6/components/Dialog/DialogContent/styles/DialogContentStyle.js +2 -2
- package/es6/components/Dialog/DialogTitle/DialogTitle.js +1 -1
- package/es6/components/Dialog/DialogTitle/styles/DialogTitleStyle.js +2 -2
- package/es6/components/Dialog/styles/DialogStyle.js +2 -4
- package/es6/components/Divider/styles/StyledDivider.js +2 -3
- package/es6/components/DnD/Draggable/Draggable.js +2 -2
- package/es6/components/DnD/Draggable/utils/DraggableUtils.js +1 -1
- package/es6/components/DnD/Droppable/Droppable.js +2 -2
- package/es6/components/Downshift/Downshift.js +8 -8
- package/es6/components/Downshift/SuggestionList/SuggestionList.js +5 -4
- package/es6/components/Downshift/SuggestionList/utils/useSuggestionList.js +9 -9
- package/es6/components/Downshift/styles/StyledPopper.js +1 -2
- package/es6/components/Downshift/utils/DownshiftUtils.js +5 -2
- package/es6/components/Downshift/utils/SelectItem.js +1 -0
- package/es6/components/Downshift/utils/index.js +2 -0
- package/es6/components/Downshift/utils/useDownshift.interface.js +1 -0
- package/es6/components/Downshift/utils/useDownshift.js +7 -7
- package/es6/components/Downshift/utils/useDownshiftGroup.js +4 -4
- package/es6/components/Downshift/utils/useDownshiftTag.js +10 -10
- package/es6/components/Drawer/styles/DrawerStyle.js +1 -2
- package/es6/components/Forms/BaseForm.js +1 -0
- package/es6/components/Forms/Form/Form/Form.js +2 -2
- package/es6/components/Forms/Form/Form/index.js +1 -0
- package/es6/components/Forms/Form/Form/types.js +1 -0
- package/es6/components/Forms/FormControlLabel/styles/FormControlLabelStyle.js +1 -1
- package/es6/components/Forms/Picker/DatePicker/Calendar.js +3 -3
- package/es6/components/Forms/Picker/DatePicker/DatePickerHeader.js +1 -1
- package/es6/components/Forms/Picker/DatePicker/Year.js +1 -1
- package/es6/components/Forms/Picker/DatePicker/styles/StyledCalendar.js +4 -8
- package/es6/components/Forms/Picker/DatePicker/styles/StyledDatePickerHeader.js +2 -4
- package/es6/components/Forms/Picker/TimePicker/NumberPicker.js +3 -3
- package/es6/components/Forms/Picker/TimePicker/SelectionView.js +1 -1
- package/es6/components/Forms/Picker/TimePicker/TimePicker.js +4 -4
- package/es6/components/Forms/Picker/TimePicker/styles/StyledNumberPicker.js +1 -1
- package/es6/components/Forms/Picker/TimePicker/styles/StyledPickerPopperWrap.js +1 -2
- package/es6/components/Forms/Picker/TimePicker/styles/StyledSelectionItem.js +1 -2
- package/es6/components/Forms/Picker/TimePicker/styles/StyledSelectionView.js +1 -2
- package/es6/components/Forms/Picker/TimePicker/styles/StyledTimeIconButton.js +1 -3
- package/es6/components/Forms/Picker/TimePicker/types.js +1 -0
- package/es6/components/Forms/Picker/TimePicker/utils/TimeBoundary.js +4 -4
- package/es6/components/Forms/Picker/TimePicker/utils/TimePickerHelper.js +4 -4
- package/es6/components/Forms/Picker/TimePicker/utils/getNumberPickerBoundary.js +1 -1
- package/es6/components/Forms/Picker/styles/datePickerCustomFocusRingStyle.js +1 -2
- package/es6/components/Forms/Picker/utils/PickerTextField/PickerTextField.js +4 -4
- package/es6/components/Forms/Picker/utils/PickerUtils.js +1 -0
- package/es6/components/Forms/Select/PlainSelect/styles/StyledSelect.js +3 -3
- package/es6/components/Forms/Select/styles/StyledSelect.js +2 -3
- package/es6/components/Forms/Select/utils/SelectInput/SelectInput.js +8 -8
- package/es6/components/Forms/TextField/styles/TextFieldStyle.js +2 -4
- package/es6/components/Forms/Textarea/styles/TextareaStyle.js +1 -2
- package/es6/components/Forms/index.js +1 -0
- package/es6/components/Forms/utils/checkedStyles.js +1 -2
- package/es6/components/Icon/Icon.js +2 -2
- package/es6/components/InlineEditable/InlineEditable.js +2 -2
- package/es6/components/InlineEditable/styles/InlineEditableStyle.js +2 -4
- package/es6/components/Link/styles/StyledLink.js +1 -2
- package/es6/components/List/ListItem/ListItem.js +1 -5
- package/es6/components/List/ListItem/styles/ListItemStyle.js +4 -9
- package/es6/components/List/ListItem/utils/ListItemUtils.js +2 -2
- package/es6/components/List/ListItemText/styles/ListItemTextStyle.js +1 -2
- package/es6/components/Loading/styles/StyledLoadingPage.js +1 -2
- package/es6/components/Menu/MenuItem/MenuItem.js +1 -3
- package/es6/components/Menu/MenuItem/styles/MenuItemStyle.js +1 -2
- package/es6/components/Menu/MenuItem/utils/MenuItemUtils.js +1 -1
- package/es6/components/MuiExports/index.js +41 -0
- package/es6/components/Popper/modifiers/fixOffsetsModifer.js +1 -1
- package/es6/components/PortalHost/Connectable/Connectable.js +1 -1
- package/es6/components/PortalHost/PortalManager/PortalManager.js +1 -1
- package/es6/components/PortalHost/PortalManager/PortalStore.js +6 -6
- package/es6/components/Presence/styles/StyledPresence.js +5 -9
- package/es6/components/Rating/styles/RatingStyle.js +2 -4
- package/es6/components/Responsive/utils/getMatchedBreakpoint.js +2 -2
- package/es6/components/Responsive/utils/index.js +1 -0
- package/es6/components/Responsive/utils/types.js +1 -0
- package/es6/components/Snackbar/SnackbarAction/styles/StyledSnackbarContent.js +1 -2
- package/es6/components/Table/TableContainer/styles/TableContainerStyle.js +1 -2
- package/es6/components/Table/index.js +1 -0
- package/es6/components/Table/types.js +1 -0
- package/es6/components/TablePagination/TablePagination.js +1 -1
- package/es6/components/TablePagination/utils/TablePaginationUtils.js +3 -3
- package/es6/components/Tabs/Tab/styles/TabStyle.js +1 -2
- package/es6/components/Tabs/Tabs/MoreMenuTab/styles/MoreMenuTabStyle.js +1 -2
- package/es6/components/Tabs/Tabs/MoreMenuTabs/MoreMenuTabs.js +5 -5
- package/es6/components/Tabs/Tabs/MoreMenuTabs/utils/MoreMenuTabsUtils.js +1 -0
- package/es6/components/Tabs/Tabs/MoreMenuTabs/utils/index.js +1 -0
- package/es6/components/Tag/styles/TagStyle.js +1 -2
- package/es6/components/Text/Text.js +2 -1
- package/es6/components/Text/styles/StyledText.js +1 -2
- package/es6/components/Thumbnail/styles/StyledThumbnail.js +1 -2
- package/es6/components/Tooltip/styles/StyledTooltip.js +1 -2
- package/es6/components/Transitions/Transition.js +2 -1
- package/es6/components/Transitions/ZoomFrom/ZoomFrom.js +1 -7
- package/es6/components/Transitions/ZoomFrom/utils/transformToFromElm.js +1 -1
- package/es6/components/Transitions/ZoomInFadeOut/ZoomInFadeOut.js +4 -7
- package/es6/components/VirtualizedMenu/VirtualizedMenu.js +1 -1
- package/es6/components/VirtualizedMenu/VirtualizedMenuList.js +4 -5
- package/es6/components/Virtuoso/react-virtuoso/AATree.js +3 -3
- package/es6/components/Virtuoso/react-virtuoso/TableVirtuoso.js +4 -4
- package/es6/components/Virtuoso/react-virtuoso/Virtuoso.js +6 -6
- package/es6/components/Virtuoso/react-virtuoso/VirtuosoGrid.js +4 -4
- package/es6/components/Virtuoso/react-virtuoso/component-interfaces/TableVirtuoso.js +1 -0
- package/es6/components/Virtuoso/react-virtuoso/component-interfaces/Virtuoso.js +1 -0
- package/es6/components/Virtuoso/react-virtuoso/component-interfaces/VirtuosoGrid.js +1 -0
- package/es6/components/Virtuoso/react-virtuoso/gridSystem.js +2 -30
- package/es6/components/Virtuoso/react-virtuoso/hooks/useChangedChildSizes.js +1 -1
- package/es6/components/Virtuoso/react-virtuoso/index.js +4 -0
- package/es6/components/Virtuoso/react-virtuoso/interfaces.js +1 -0
- package/es6/components/Virtuoso/react-virtuoso/listStateSystem.js +1 -1
- package/es6/components/Virtuoso/react-virtuoso/listSystem.js +3 -16
- package/es6/components/Virtuoso/react-virtuoso/loggerSystem.js +1 -1
- package/es6/components/Virtuoso/react-virtuoso/react-urx/index.js +2 -2
- package/es6/components/Virtuoso/react-virtuoso/sizeSystem.js +5 -6
- package/es6/components/Virtuoso/react-virtuoso/urx/pipe.js +2 -2
- package/es6/components/Virtuoso/react-virtuoso/urx/streams.js +2 -2
- package/es6/components/Virtuoso/react-virtuoso/urx/system.js +1 -1
- package/es6/components/Virtuoso/react-virtuoso/urx/transformers.js +4 -4
- package/es6/components/Virtuoso/react-virtuoso/utils/binaryArraySearch.js +1 -1
- package/es6/components/index.js +2 -0
- package/es6/foundation/MuiExports/index.js +29 -0
- package/es6/foundation/config.js +3 -3
- package/es6/foundation/contexts/ResponsiveContext/getMatchDetail.js +5 -5
- package/es6/foundation/contexts/ResponsiveContext/index.js +1 -0
- package/es6/foundation/contexts/ResponsiveContext/types.js +1 -0
- package/es6/foundation/hoc/withResponsive/types.js +1 -0
- package/es6/foundation/hoc/withResponsive/withResponsive.js +7 -6
- package/es6/foundation/hooks/useAnnouncer/useAnnouncer.js +1 -1
- package/es6/foundation/hooks/useId/useId.js +1 -1
- package/es6/foundation/hooks/useKeyboardMoveFocus/useOnlyOneFocusable.js +5 -2
- package/es6/foundation/hooks/useResizeObserver/useResizeObserver.js +2 -2
- package/es6/foundation/hooks/useRetry/useRetry.js +3 -3
- package/es6/foundation/hooks/useTouchMouseEvent/useTouchMouseEvent.js +1 -1
- package/es6/foundation/index.js +3 -0
- package/es6/foundation/styles/flexWidth.js +1 -2
- package/es6/foundation/styles/newPalette.js +3 -3
- package/es6/foundation/styles/px.js +1 -1
- package/es6/foundation/styles/spacing.js +2 -2
- package/es6/foundation/styles/typography.js +2 -2
- package/es6/foundation/theme/DefaultTheme.js +1 -0
- package/es6/foundation/theme/ThemeHandler.js +4 -4
- package/es6/foundation/theme/ThemeProvider.js +1 -1
- package/es6/foundation/theme/index.js +5 -0
- package/es6/foundation/theme/palette.type.js +1 -0
- package/es6/foundation/theme/paletteProp.type.js +1 -0
- package/es6/foundation/theme/theme.type.js +1 -0
- package/es6/foundation/theme/typography.type.js +1 -0
- package/es6/foundation/theme/useThemeProps.js +1 -1
- package/es6/foundation/typings/BaseColor.js +1 -0
- package/es6/foundation/typings/BaseDirection.js +1 -0
- package/es6/foundation/typings/BaseFocusVariant.js +1 -0
- package/es6/foundation/typings/BaseFormControlLabel.js +1 -0
- package/es6/foundation/typings/BaseLabelPlacement.js +1 -0
- package/es6/foundation/typings/BaseProps.js +1 -0
- package/es6/foundation/typings/BaseSize.js +1 -0
- package/es6/foundation/typings/UnionOmit.js +1 -0
- package/es6/foundation/typings/UnitMap.js +1 -0
- package/es6/foundation/typings/deepPartial.js +1 -0
- package/es6/foundation/typings/index.js +11 -0
- package/es6/foundation/typings/notNullRecord.js +1 -0
- package/es6/foundation/utils/checkDefaultPrevented.js +2 -2
- package/es6/foundation/utils/classes.js +1 -1
- package/es6/foundation/utils/combineProps.js +3 -3
- package/es6/foundation/utils/deepmerge.js +2 -2
- package/es6/foundation/utils/hasValue.js +3 -1
- package/es6/foundation/utils/removeClassName.js +1 -1
- package/es6/foundation/utils/withDeprecatedCheck.js +6 -6
- package/foundation/MuiExports/index.d.ts +19 -0
- package/foundation/MuiExports/index.js +58 -0
- package/foundation/MuiExports/package.json +5 -0
- package/foundation/config.d.ts +2 -2
- package/foundation/config.js +6 -4
- package/foundation/contexts/PortalWindowContext.d.ts +1 -2
- package/foundation/contexts/PortalWindowContext.js +3 -2
- package/foundation/contexts/ResponsiveContext/ResponsiveContext.d.ts +1 -2
- package/foundation/contexts/ResponsiveContext/ResponsiveContext.js +3 -2
- package/foundation/contexts/ResponsiveContext/breakpointList.js +1 -0
- package/foundation/contexts/ResponsiveContext/getMatchDetail.js +8 -6
- package/foundation/contexts/ResponsiveContext/index.js +1 -0
- package/foundation/contexts/ResponsiveContext/types.d.ts +8 -8
- package/foundation/hoc/withDelay/withDelay.d.ts +1 -1
- package/foundation/hoc/withDelay/withDelay.js +3 -2
- package/foundation/hoc/withResponsive/types.d.ts +2 -2
- package/foundation/hoc/withResponsive/utils.d.ts +26 -4
- package/foundation/hoc/withResponsive/utils.js +5 -2
- package/foundation/hoc/withResponsive/withResponsive.d.ts +1 -1
- package/foundation/hoc/withResponsive/withResponsive.js +17 -15
- package/foundation/hooks/useA11yKeyEvent/useA11yKeyEvent.d.ts +2 -4
- package/foundation/hooks/useA11yKeyEvent/useA11yKeyEvent.js +4 -2
- package/foundation/hooks/useAnnouncer/useAnnouncer.d.ts +1 -1
- package/foundation/hooks/useAnnouncer/useAnnouncer.js +7 -5
- package/foundation/hooks/useAudio/useAudio.js +5 -3
- package/foundation/hooks/useChange/useChange.js +11 -8
- package/foundation/hooks/useControlled/useControlled.js +2 -1
- package/foundation/hooks/useDebounce/useDebounce.d.ts +1 -1
- package/foundation/hooks/useDebounce/useDebounce.js +6 -4
- package/foundation/hooks/useEventCallback/useEventCallback.js +4 -2
- package/foundation/hooks/useEventListener/useEventListener.d.ts +2 -2
- package/foundation/hooks/useEventListener/useEventListener.js +7 -6
- package/foundation/hooks/useEver/useEver.js +4 -2
- package/foundation/hooks/useFocusInside/useFocusInside.d.ts +4 -4
- package/foundation/hooks/useFocusInside/useFocusInside.js +6 -4
- package/foundation/hooks/useForceUpdate/useForceUpdate.js +3 -2
- package/foundation/hooks/useForkRef/useForkRef.js +1 -0
- package/foundation/hooks/useGlobalListener/createGlobalListener.d.ts +2 -2
- package/foundation/hooks/useGlobalListener/createGlobalListener.js +5 -3
- package/foundation/hooks/useGlobalListener/useGlobalListener.d.ts +2 -2
- package/foundation/hooks/useGlobalListener/useGlobalListener.js +8 -7
- package/foundation/hooks/useHiddenTabindex/useHiddenTabindex.js +7 -5
- package/foundation/hooks/useId/useId.js +4 -3
- package/foundation/hooks/useInterval/useInterval.js +11 -9
- package/foundation/hooks/useKeyDownOnce/useKeyDownOnce.d.ts +1 -2
- package/foundation/hooks/useKeyDownOnce/useKeyDownOnce.js +6 -4
- package/foundation/hooks/useKeyboardMoveFocus/moveIndexInTwoDimension.d.ts +1 -1
- package/foundation/hooks/useKeyboardMoveFocus/moveIndexInTwoDimension.js +1 -0
- package/foundation/hooks/useKeyboardMoveFocus/useKeyboardMoveFocus.d.ts +4 -5
- package/foundation/hooks/useKeyboardMoveFocus/useKeyboardMoveFocus.js +8 -6
- package/foundation/hooks/useKeyboardMoveFocus/useOnlyOneFocusable.d.ts +2 -3
- package/foundation/hooks/useKeyboardMoveFocus/useOnlyOneFocusable.js +10 -5
- package/foundation/hooks/useLongPress/useLongPress.d.ts +4 -4
- package/foundation/hooks/useLongPress/useLongPress.js +17 -14
- package/foundation/hooks/useMountState/useMountState.d.ts +0 -1
- package/foundation/hooks/useMountState/useMountState.js +5 -3
- package/foundation/hooks/useOnReRender/useOnReRender.d.ts +1 -1
- package/foundation/hooks/useOnReRender/useOnReRender.js +6 -4
- package/foundation/hooks/useOverflow/useOverflow.d.ts +1 -1
- package/foundation/hooks/useOverflow/useOverflow.js +6 -4
- package/foundation/hooks/usePrevious/usePrevious.js +3 -2
- package/foundation/hooks/useRefState/useRefState.d.ts +1 -2
- package/foundation/hooks/useRefState/useRefState.js +6 -4
- package/foundation/hooks/useResizeObserver/useResizeObserver.d.ts +1 -1
- package/foundation/hooks/useResizeObserver/useResizeObserver.js +16 -13
- package/foundation/hooks/useResponsiveMatch/useResponsiveMatch.d.ts +2 -1
- package/foundation/hooks/useResponsiveMatch/useResponsiveMatch.js +3 -2
- package/foundation/hooks/useResultRef/useResultRef.js +3 -2
- package/foundation/hooks/useRetry/useRetry.d.ts +2 -2
- package/foundation/hooks/useRetry/useRetry.js +7 -5
- package/foundation/hooks/useSleep/useSleep.js +7 -5
- package/foundation/hooks/useThrottle/useThrottle.d.ts +1 -1
- package/foundation/hooks/useThrottle/useThrottle.js +6 -4
- package/foundation/hooks/useTouchMouseEvent/useTouchMouseEvent.d.ts +1 -1
- package/foundation/hooks/useTouchMouseEvent/useTouchMouseEvent.js +16 -13
- package/foundation/index.d.ts +1 -0
- package/foundation/index.js +4 -0
- package/foundation/overridableStyled.d.ts +1 -1
- package/foundation/overridableStyled.js +1 -0
- package/foundation/styled-components.d.ts +3 -3
- package/foundation/styled-components.js +2 -1
- package/foundation/styles/GlobalScrollBarStyle/GlobalScrollBarStyle.d.ts +1 -1
- package/foundation/styles/GlobalScrollBarStyle/GlobalScrollBarStyle.js +2 -1
- package/foundation/styles/colorManipulator.js +6 -4
- package/foundation/styles/ellipsis.d.ts +1 -1
- package/foundation/styles/ellipsis.js +2 -1
- package/foundation/styles/fakeBorder.d.ts +3 -3
- package/foundation/styles/fakeBorder.js +6 -4
- package/foundation/styles/flexCenter.d.ts +1 -1
- package/foundation/styles/flexCenter.js +2 -1
- package/foundation/styles/flexWidth.d.ts +1 -1
- package/foundation/styles/flexWidth.js +4 -3
- package/foundation/styles/focusRing.d.ts +3 -3
- package/foundation/styles/focusRing.js +5 -3
- package/foundation/styles/focusVisible.d.ts +3 -2
- package/foundation/styles/focusVisible.js +8 -5
- package/foundation/styles/lineClamp.d.ts +1 -1
- package/foundation/styles/lineClamp.js +2 -1
- package/foundation/styles/newPalette.d.ts +3 -3
- package/foundation/styles/newPalette.js +5 -4
- package/foundation/styles/nonStyleButton.d.ts +1 -1
- package/foundation/styles/nonStyleButton.js +2 -1
- package/foundation/styles/nonTouchHoverMedia.js +1 -0
- package/foundation/styles/opacity.js +3 -2
- package/foundation/styles/palette.js +5 -4
- package/foundation/styles/paletteContrastText.js +1 -0
- package/foundation/styles/px.js +2 -1
- package/foundation/styles/radius.js +1 -0
- package/foundation/styles/rippleEnter.js +3 -1
- package/foundation/styles/rippleStyle.d.ts +1 -1
- package/foundation/styles/rippleStyle.js +4 -2
- package/foundation/styles/shadows.js +1 -0
- package/foundation/styles/spacing.js +2 -1
- package/foundation/styles/typography.d.ts +1 -1
- package/foundation/styles/typography.js +6 -5
- package/foundation/styles/zIndex.js +1 -0
- package/foundation/theme/ThemeHandler.d.ts +2 -2
- package/foundation/theme/ThemeHandler.js +7 -6
- package/foundation/theme/ThemeProvider.d.ts +3 -3
- package/foundation/theme/ThemeProvider.js +10 -8
- package/foundation/theme/ThemeSwitcherProvider/ThemeContext.d.ts +3 -2
- package/foundation/theme/ThemeSwitcherProvider/ThemeContext.js +1 -0
- package/foundation/theme/ThemeSwitcherProvider/ThemeSwitcherProvider.d.ts +2 -2
- package/foundation/theme/ThemeSwitcherProvider/ThemeSwitcherProvider.js +5 -3
- package/foundation/theme/ThemeSwitcherProvider/useThemeSwitcher.js +4 -2
- package/foundation/theme/createTheme.js +3 -3
- package/foundation/theme/index.js +7 -1
- package/foundation/theme/palette.type.d.ts +2 -2
- package/foundation/theme/paletteProp.type.d.ts +1 -1
- package/foundation/theme/theme.type.d.ts +13 -13
- package/foundation/theme/typography.type.d.ts +7 -7
- package/foundation/theme/useThemeProps.js +4 -3
- package/foundation/typings/BaseColor.d.ts +2 -2
- package/foundation/typings/BaseDirection.d.ts +2 -2
- package/foundation/typings/BaseFocusVariant.d.ts +2 -2
- package/foundation/typings/BaseFormControlLabel.d.ts +1 -1
- package/foundation/typings/BaseLabelPlacement.d.ts +2 -2
- package/foundation/typings/BaseProps.d.ts +1 -1
- package/foundation/typings/BaseSize.d.ts +3 -3
- package/foundation/typings/UnionOmit.d.ts +3 -3
- package/foundation/typings/UnitMap.d.ts +4 -4
- package/foundation/typings/index.js +12 -0
- package/foundation/typings/notNullRecord.d.ts +1 -1
- package/foundation/utils/a11yKeyboardCode.js +1 -0
- package/foundation/utils/checkDefaultPrevented.d.ts +1 -1
- package/foundation/utils/checkDefaultPrevented.js +4 -2
- package/foundation/utils/classes.d.ts +5 -2
- package/foundation/utils/classes.js +4 -2
- package/foundation/utils/clearReactReferencesInNode.js +2 -1
- package/foundation/utils/combineProps.js +11 -8
- package/foundation/utils/deepmerge.js +2 -1
- package/foundation/utils/getRefElement.d.ts +1 -1
- package/foundation/utils/getRefElement.js +4 -2
- package/foundation/utils/getScrollbarSize.js +1 -0
- package/foundation/utils/hasValue.js +1 -0
- package/foundation/utils/isRcElement.js +2 -1
- package/foundation/utils/isRef.js +3 -1
- package/foundation/utils/isTap.d.ts +1 -1
- package/foundation/utils/isTap.js +3 -1
- package/foundation/utils/isUrl.js +1 -0
- package/foundation/utils/omit.js +4 -2
- package/foundation/utils/outerSize.js +1 -0
- package/foundation/utils/parseColor.d.ts +2 -2
- package/foundation/utils/parseColor.js +1 -0
- package/foundation/utils/pick.js +4 -2
- package/foundation/utils/preloadImg.js +1 -0
- package/foundation/utils/removeClassName.d.ts +1 -1
- package/foundation/utils/removeClassName.js +3 -2
- package/foundation/utils/selectionHandler.js +3 -2
- package/foundation/utils/shallowEqual.js +1 -0
- package/foundation/utils/styleParser.js +3 -1
- package/foundation/utils/swapArrayLocs.js +3 -1
- package/foundation/utils/withDeprecatedCheck.d.ts +2 -2
- package/foundation/utils/withDeprecatedCheck.js +10 -8
- package/package.json +4 -5
|
@@ -5,14 +5,12 @@ import { RcInlineEditableClasses } from '../utils';
|
|
|
5
5
|
import { inputStyle, textareaStyle } from './textFieldStyle';
|
|
6
6
|
export var InlineEditableStyle = function (_a) {
|
|
7
7
|
var variant = _a.variant, multiline = _a.multiline, fullWidth = _a.fullWidth, disabled = _a.disabled, color = _a.color;
|
|
8
|
-
return css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", ";\n position: relative;\n display: inline-block;\n width: ", ";\n min-width: 32px;\n margin: -4px;\n color: ", ";\n\n &.", " {\n pointer-events: none;\n }\n\n .", " {\n margin: 4px;\n position: relative;\n outline: none;\n box-sizing: border-box;\n pointer-events: ", ";\n ", ";\n overflow-wrap: ", ";\n white-space: ", ";\n\n ", "\n ::after {\n content: ' ';\n width: 0;\n visibility: hidden;\n display: inline-block;\n }\n\n ", "\n user-select: ", ";\n }\n\n .", " {\n ", "\n user-select: none;\n color: ", ";\n }\n\n .", " {\n ", "\n }\n "], ["\n ", ";\n position: relative;\n display: inline-block;\n width: ", ";\n min-width: 32px;\n margin: -4px;\n color: ", ";\n\n &.", " {\n pointer-events: none;\n }\n\n .", " {\n margin: 4px;\n position: relative;\n outline: none;\n box-sizing: border-box;\n pointer-events: ", ";\n ", ";\n overflow-wrap: ", ";\n white-space: ", ";\n\n ",
|
|
8
|
+
return css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", ";\n position: relative;\n display: inline-block;\n width: ", ";\n min-width: 32px;\n margin: -4px;\n color: ", ";\n\n &.", " {\n pointer-events: none;\n }\n\n .", " {\n margin: 4px;\n position: relative;\n outline: none;\n box-sizing: border-box;\n pointer-events: ", ";\n ", ";\n overflow-wrap: ", ";\n white-space: ", ";\n\n ", "\n ::after {\n content: ' ';\n width: 0;\n visibility: hidden;\n display: inline-block;\n }\n\n ", "\n user-select: ", ";\n }\n\n .", " {\n ", "\n user-select: none;\n color: ", ";\n }\n\n .", " {\n ", "\n }\n "], ["\n ", ";\n position: relative;\n display: inline-block;\n width: ", ";\n min-width: 32px;\n margin: -4px;\n color: ", ";\n\n &.", " {\n pointer-events: none;\n }\n\n .", " {\n margin: 4px;\n position: relative;\n outline: none;\n box-sizing: border-box;\n pointer-events: ", ";\n ", ";\n overflow-wrap: ", ";\n white-space: ", ";\n\n ",
|
|
9
9
|
/*
|
|
10
10
|
1. the single '\n' would be ignore in the last line. so need append ' ' after '\n' when multiline.
|
|
11
11
|
2. need keep content height when placeholder is empty.
|
|
12
12
|
*/
|
|
13
|
-
"\n ::after {\n content: ' ';\n width: 0;\n visibility: hidden;\n display: inline-block;\n }\n\n ",
|
|
14
|
-
"\n user-select: ", ";\n }\n\n .", " {\n ",
|
|
15
|
-
"\n user-select: none;\n color: ", ";\n }\n\n .", " {\n ", "\n }\n "])), typography(variant), multiline || fullWidth ? '100%' : 'auto', getParsePaletteColor(color), RcInlineEditableClasses.saving, RcInlineEditableClasses.label, disabled ? 'initial' : 'none', ellipsis(), multiline && 'anywhere', multiline ? 'pre-wrap' : 'pre', ''
|
|
13
|
+
"\n ::after {\n content: ' ';\n width: 0;\n visibility: hidden;\n display: inline-block;\n }\n\n ", /* prevent select double content when the input has a value and not disabled (input would be removed when disabled) */ "\n user-select: ", ";\n }\n\n .", " {\n ", /* prevent select placeholder when the input does not have a value */ "\n user-select: none;\n color: ", ";\n }\n\n .", " {\n ", "\n }\n "])), typography(variant), multiline || fullWidth ? '100%' : 'auto', getParsePaletteColor(color), RcInlineEditableClasses.saving, RcInlineEditableClasses.label, disabled ? 'initial' : 'none', ellipsis(), multiline && 'anywhere', multiline ? 'pre-wrap' : 'pre', ''
|
|
16
14
|
/*
|
|
17
15
|
1. the single '\n' would be ignore in the last line. so need append ' ' after '\n' when multiline.
|
|
18
16
|
2. need keep content height when placeholder is empty.
|
|
@@ -8,8 +8,7 @@ export var LinkStyle = function (_a) {
|
|
|
8
8
|
: colorProp === 'primary'
|
|
9
9
|
? palette2('informative', 'f02')
|
|
10
10
|
: getParsePaletteColor(colorProp);
|
|
11
|
-
return css(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n text-decoration: ", ";\n ", ";\n color: ", ";\n\n &:focus {\n outline: none;\n }\n\n ", " {\n text-decoration: underline;\n }\n\n ", ";\n "], ["\n text-decoration: ", ";\n ", ";\n color: ", ";\n\n &:focus {\n outline: none;\n }\n\n ", " {\n text-decoration: underline;\n }\n\n ",
|
|
12
|
-
";\n "])), underline ? 'underline' : 'none', typography(RcLinkTypographies[size] || variant), color, focusVisible, !disabled
|
|
11
|
+
return css(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n text-decoration: ", ";\n ", ";\n color: ", ";\n\n &:focus {\n outline: none;\n }\n\n ", " {\n text-decoration: underline;\n }\n\n ", ";\n "], ["\n text-decoration: ", ";\n ", ";\n color: ", ";\n\n &:focus {\n outline: none;\n }\n\n ", " {\n text-decoration: underline;\n }\n\n ", ";\n "])), underline ? 'underline' : 'none', typography(RcLinkTypographies[size] || variant), color, focusVisible, !disabled
|
|
13
12
|
? css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n cursor: pointer;\n\n ", " {\n &:hover {\n text-decoration: underline;\n }\n }\n\n &:active {\n color: ", ";\n }\n "], ["\n cursor: pointer;\n\n ", " {\n &:hover {\n text-decoration: underline;\n }\n }\n\n &:active {\n color: ", ";\n }\n "])), nonTouchHoverMedia, setOpacity(color, '24', true)) : css(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n pointer-events: none;\n "], ["\n pointer-events: none;\n "]))));
|
|
14
13
|
};
|
|
15
14
|
var templateObject_1, templateObject_2, templateObject_3;
|
|
@@ -47,11 +47,7 @@ var RcListItem = styled(withTooltip(_RcListItem)).attrs(function (inProps) {
|
|
|
47
47
|
theme = _a.theme,
|
|
48
48
|
// Omit className, prevent duplicate className
|
|
49
49
|
className = _a.className, _b = _a.singleLine, singleLine = _b === void 0 ? false : _b, _c = _a.button, button = _c === void 0 ? true : _c, _d = _a.canHover, canHover = _d === void 0 ? true : _d, _e = _a.size, size = _e === void 0 ? 'medium' : _e, _f = _a.focusVariant, focusVariant = _f === void 0 ? 'highlight' : _f, rest = __rest(_a, ["theme", "className", "singleLine", "button", "canHover", "size", "focusVariant"]);
|
|
50
|
-
return __assign({ singleLine: singleLine,
|
|
51
|
-
button: button,
|
|
52
|
-
canHover: canHover,
|
|
53
|
-
size: size,
|
|
54
|
-
focusVariant: focusVariant }, rest);
|
|
50
|
+
return __assign({ singleLine: singleLine, button: button, canHover: canHover, size: size, focusVariant: focusVariant }, rest);
|
|
55
51
|
})(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", ";\n"], ["\n ", ";\n"])), ListItemStyle);
|
|
56
52
|
RcListItem.displayName = 'RcListItem';
|
|
57
53
|
export { RcListItem };
|
|
@@ -8,16 +8,12 @@ export var sharedListItemStyle = function (_a) {
|
|
|
8
8
|
var highlighted = _a.highlighted, color = _a.color, canHover = _a.canHover, _b = _a.baseColor, baseColorProp = _b === void 0 ? 'black' : _b, mainClasses = _a.mainClasses, rippleClasses = _a.rippleClasses, focusVariant = _a.focusVariant;
|
|
9
9
|
var baseColor = getParsePaletteColor(color !== null && color !== void 0 ? color : colorMap[baseColorProp]);
|
|
10
10
|
var useFocusRing = focusVariant === 'focusRing';
|
|
11
|
-
return css(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n ", ";\n color: ", ";\n\n ", ";\n\n ", "\n &.Mui-focusVisible {\n background-color: unset;\n }\n\n ", " {\n background-color: ", ";\n ", "\n }\n\n ", " {\n &:hover {\n background-color: ", ";\n }\n }\n\n &.", " {\n &,\n &:hover {\n background-color: ", ";\n }\n }\n\n .", " {\n color: ", ";\n }\n\n ", ";\n "], ["\n ", ";\n color: ", ";\n\n ",
|
|
12
|
-
";\n\n "
|
|
11
|
+
return css(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n ", ";\n color: ", ";\n\n ", ";\n\n ", "\n &.Mui-focusVisible {\n background-color: unset;\n }\n\n ", " {\n background-color: ", ";\n ", "\n }\n\n ", " {\n &:hover {\n background-color: ", ";\n }\n }\n\n &.", " {\n &,\n &:hover {\n background-color: ", ";\n }\n }\n\n .", " {\n color: ", ";\n }\n\n ", ";\n "], ["\n ", ";\n color: ", ";\n\n ", ";\n\n "
|
|
13
12
|
// mui focus visible have issue in old version, we use the focus-visible polyfill class to do that
|
|
14
|
-
,
|
|
15
|
-
"\n &.Mui-focusVisible {\n background-color: unset;\n }\n\n "
|
|
13
|
+
, "\n &.Mui-focusVisible {\n background-color: unset;\n }\n\n "
|
|
16
14
|
// that for menuItem, because in current version of menuItem that not support focused classes
|
|
17
15
|
// TODO: that can be remove after upgrade to V5
|
|
18
|
-
,
|
|
19
|
-
" {\n background-color: ",
|
|
20
|
-
";\n ", "\n }\n\n ", " {\n &:hover {\n background-color: ", ";\n }\n }\n\n &.", " {\n &,\n &:hover {\n background-color: ", ";\n }\n }\n\n .", " {\n color: ", ";\n }\n\n ", ";\n "])), typography('body1'), palette2('neutral', 'f06'), highlighted && css(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n background-color: ", ";\n "], ["\n background-color: ", ";\n "])), setAlpha(baseColor, 0.05)),
|
|
16
|
+
, " {\n background-color: ", ";\n ", "\n }\n\n ", " {\n &:hover {\n background-color: ", ";\n }\n }\n\n &.", " {\n &,\n &:hover {\n background-color: ", ";\n }\n }\n\n .", " {\n color: ", ";\n }\n\n ", ";\n "])), typography('body1'), palette2('neutral', 'f06'), highlighted && css(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n background-color: ", ";\n "], ["\n background-color: ", ";\n "])), setAlpha(baseColor, 0.05)),
|
|
21
17
|
// mui focus visible have issue in old version, we use the focus-visible polyfill class to do that
|
|
22
18
|
'',
|
|
23
19
|
// that for menuItem, because in current version of menuItem that not support focused classes
|
|
@@ -35,7 +31,6 @@ export var sharedListItemStyle = function (_a) {
|
|
|
35
31
|
export var ListItemStyle = function (props) {
|
|
36
32
|
var maxWidth = props.maxWidth, isInline = props.isInline, size = props.size, onClick = props.onClick, focusVariant = props.focusVariant;
|
|
37
33
|
var defaultPadding = RcListItemTopAndBottomPaddings[size];
|
|
38
|
-
return css(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n width: ", ";\n padding-top: ", ";\n padding-bottom: ", ";\n display: ", ";\n cursor: ", ";\n\n ", ";\n\n &.", " {\n padding-left: ", ";\n padding-right: ", ";\n }\n\n &.", " {\n padding-top: ", ";\n padding-bottom: ", ";\n }\n "], ["\n width: ", ";\n padding-top: ", ";\n padding-bottom: ", ";\n display: ", ";\n cursor: ", ";\n\n ",
|
|
39
|
-
";\n\n &.", " {\n padding-left: ", ";\n padding-right: ", ";\n }\n\n &.", " {\n padding-top: ", ";\n padding-bottom: ", ";\n }\n "])), maxWidth ? px(maxWidth) : '100%', defaultPadding, defaultPadding, isInline ? 'inline-flex' : 'flex', onClick ? 'pointer' : 'default', sharedListItemStyle(__assign(__assign({}, props), { mainClasses: RcListItemClasses, rippleClasses: RcListItemRippleClasses, focusVariant: focusVariant })), RcListItemClasses.gutters, spacing(4), spacing(4), RcListItemClasses.dense, spacing(1), spacing(1));
|
|
34
|
+
return css(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n width: ", ";\n padding-top: ", ";\n padding-bottom: ", ";\n display: ", ";\n cursor: ", ";\n\n ", ";\n\n &.", " {\n padding-left: ", ";\n padding-right: ", ";\n }\n\n &.", " {\n padding-top: ", ";\n padding-bottom: ", ";\n }\n "], ["\n width: ", ";\n padding-top: ", ";\n padding-bottom: ", ";\n display: ", ";\n cursor: ", ";\n\n ", ";\n\n &.", " {\n padding-left: ", ";\n padding-right: ", ";\n }\n\n &.", " {\n padding-top: ", ";\n padding-bottom: ", ";\n }\n "])), maxWidth ? px(maxWidth) : '100%', defaultPadding, defaultPadding, isInline ? 'inline-flex' : 'flex', onClick ? 'pointer' : 'default', sharedListItemStyle(__assign(__assign({}, props), { mainClasses: RcListItemClasses, rippleClasses: RcListItemRippleClasses, focusVariant: focusVariant })), RcListItemClasses.gutters, spacing(4), spacing(4), RcListItemClasses.dense, spacing(1), spacing(1));
|
|
40
35
|
};
|
|
41
36
|
var templateObject_1, templateObject_2, templateObject_3, templateObject_4;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RcClasses, spacing, } from '../../../../foundation';
|
|
2
2
|
export var RcListItemPrefix = 'RcListItem';
|
|
3
|
-
export var RcListItemRipplePrefix = RcListItemPrefix
|
|
4
|
-
export var RcListItemMultilineClassName = RcListItemPrefix
|
|
3
|
+
export var RcListItemRipplePrefix = "".concat(RcListItemPrefix, "TouchRipple");
|
|
4
|
+
export var RcListItemMultilineClassName = "".concat(RcListItemPrefix, "-multiline");
|
|
5
5
|
export var RcListItemClasses = RcClasses(['gutters', 'dense', 'selected', 'focusVisible'], RcListItemPrefix);
|
|
6
6
|
export var RcListItemTopAndBottomPaddings = {
|
|
7
7
|
small: spacing(1),
|
|
@@ -8,7 +8,6 @@ export var ListItemTextStyle = function (_a) {
|
|
|
8
8
|
var primaryTypography = typography((primaryTypographyProps === null || primaryTypographyProps === void 0 ? void 0 : primaryTypographyProps.variant) || 'body1');
|
|
9
9
|
var secondaryTypography = typography((secondaryTypographyProps === null || secondaryTypographyProps === void 0 ? void 0 : secondaryTypographyProps.variant) || 'caption1');
|
|
10
10
|
var textDisplay = css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", ";\n text-decoration-line: ", ";\n "], ["\n ", ";\n text-decoration-line: ", ";\n "])), isEllipsis && ellipsis(), lineThrough ? 'line-through' : 'inherit');
|
|
11
|
-
return css(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n ", "\n\n padding: 0;\n /** for next ListSecondaryAction default margin */\n margin: 0 ", " 0 0;\n\n &.", " {\n margin: ", ";\n }\n\n &.", " {\n padding-left: ", ";\n }\n\n .", " {\n ", ";\n ", ";\n color: ", ";\n }\n\n .", " {\n ", ";\n ", ";\n color: ", ";\n }\n "], ["\n ",
|
|
12
|
-
"\n\n padding: 0;\n /** for next ListSecondaryAction default margin */\n margin: 0 ", " 0 0;\n\n &.", " {\n margin: ", ";\n }\n\n &.", " {\n padding-left: ", ";\n }\n\n .", " {\n ", ";\n ", ";\n color: ", ";\n }\n\n .", " {\n ", ";\n ", ";\n color: ", ";\n }\n "])), alignCenter && css(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n flex: 'none !important';\n "], ["\n flex: 'none !important';\n "]))), spacing(2), RcListItemTextClasses.multiline, spacing(1, 2, 1, 0), RcListItemTextClasses.inset, spacing(14), RcListItemTextClasses.primary, textDisplay, primaryTypography, primaryColor, RcListItemTextClasses.secondary, textDisplay, secondaryTypography, secondaryColor);
|
|
11
|
+
return css(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n ", "\n\n padding: 0;\n /** for next ListSecondaryAction default margin */\n margin: 0 ", " 0 0;\n\n &.", " {\n margin: ", ";\n }\n\n &.", " {\n padding-left: ", ";\n }\n\n .", " {\n ", ";\n ", ";\n color: ", ";\n }\n\n .", " {\n ", ";\n ", ";\n color: ", ";\n }\n "], ["\n ", "\n\n padding: 0;\n /** for next ListSecondaryAction default margin */\n margin: 0 ", " 0 0;\n\n &.", " {\n margin: ", ";\n }\n\n &.", " {\n padding-left: ", ";\n }\n\n .", " {\n ", ";\n ", ";\n color: ", ";\n }\n\n .", " {\n ", ";\n ", ";\n color: ", ";\n }\n "])), alignCenter && css(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n flex: 'none !important';\n "], ["\n flex: 'none !important';\n "]))), spacing(2), RcListItemTextClasses.multiline, spacing(1, 2, 1, 0), RcListItemTextClasses.inset, spacing(14), RcListItemTextClasses.primary, textDisplay, primaryTypography, primaryColor, RcListItemTextClasses.secondary, textDisplay, secondaryTypography, secondaryColor);
|
|
13
12
|
};
|
|
14
13
|
var templateObject_1, templateObject_2, templateObject_3;
|
|
@@ -2,8 +2,7 @@ import { __makeTemplateObject } from "tslib";
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { opacity, palette2, styled, withDelay } from '../../../foundation';
|
|
4
4
|
import { RcCircularProgress } from '../../Progress/CircularProgress';
|
|
5
|
-
export var StyledLoadingPage = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n position: absolute;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n top: 0px;\n left: 0px;\n opacity: ", ";\n background: ", ";\n z-index: 1000;\n"], ["\n position: absolute;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n top: 0px;\n left: 0px;\n opacity: ",
|
|
6
|
-
";\n background: ", ";\n z-index: 1000;\n"])), function (_a) {
|
|
5
|
+
export var StyledLoadingPage = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n position: absolute;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n top: 0px;\n left: 0px;\n opacity: ", ";\n background: ", ";\n z-index: 1000;\n"], ["\n position: absolute;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n top: 0px;\n left: 0px;\n opacity: ", ";\n background: ", ";\n z-index: 1000;\n"])), function (_a) {
|
|
7
6
|
var backgroundType = _a.backgroundType;
|
|
8
7
|
return backgroundType ? opacity('40', true) : 1;
|
|
9
8
|
}, palette2('neutral', 'b01'));
|
|
@@ -110,9 +110,7 @@ var RcMenuItem = styled(withTooltip(_RcMenuItem)).attrs(function (inProps) {
|
|
|
110
110
|
theme = _a.theme,
|
|
111
111
|
// Omit className, prevent duplicate className
|
|
112
112
|
className = _a.className, _b = _a.size, size = _b === void 0 ? 'medium' : _b, _c = _a.button, button = _c === void 0 ? true : _c, _d = _a.focusVariant, focusVariant = _d === void 0 ? 'highlight' : _d, rest = __rest(_a, ["theme", "className", "size", "button", "focusVariant"]);
|
|
113
|
-
return __assign({ size: size,
|
|
114
|
-
button: button,
|
|
115
|
-
focusVariant: focusVariant }, rest);
|
|
113
|
+
return __assign({ size: size, button: button, focusVariant: focusVariant }, rest);
|
|
116
114
|
})(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", ";\n"], ["\n ", ";\n"])), MenuItemStyle);
|
|
117
115
|
RcMenuItem.displayName = 'RcMenuItem';
|
|
118
116
|
export { RcMenuItem };
|
|
@@ -8,8 +8,7 @@ export var MenuItemStyle = function (props) {
|
|
|
8
8
|
var size = props.size, _a = props.color, color = _a === void 0 ? 'action.grayLight' : _a, focusVariant = props.focusVariant;
|
|
9
9
|
var topAndBottomPadding = RcMenuItemTopAndBottomPaddings[size];
|
|
10
10
|
var leftAndRightPadding = RcMenuItemLeftAndRightPaddings[size];
|
|
11
|
-
return css(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n outline: none;\n box-sizing: border-box;\n height: auto;\n min-height: 32px;\n min-width: 112px;\n padding-top: ", ";\n padding-bottom: ", ";\n\n ", ";\n\n .", " {\n padding-left: ", ";\n padding-right: ", ";\n }\n\n &.", " {\n padding-top: ", ";\n padding-bottom: ", ";\n min-height: auto;\n line-height: 22px;\n font-weight: 700;\n }\n "], ["\n outline: none;\n box-sizing: border-box;\n height: auto;\n min-height: 32px;\n min-width: 112px;\n padding-top: ", ";\n padding-bottom: ", ";\n\n ",
|
|
12
|
-
";\n\n .", " {\n padding-left: ", ";\n padding-right: ", ";\n }\n\n &.", " {\n padding-top: ", ";\n padding-bottom: ", ";\n min-height: auto;\n line-height: 22px;\n font-weight: 700;\n }\n "])), topAndBottomPadding, topAndBottomPadding, sharedListItemStyle(__assign(__assign({}, props), { focusVariant: focusVariant, color: color,
|
|
11
|
+
return css(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n outline: none;\n box-sizing: border-box;\n height: auto;\n min-height: 32px;\n min-width: 112px;\n padding-top: ", ";\n padding-bottom: ", ";\n\n ", ";\n\n .", " {\n padding-left: ", ";\n padding-right: ", ";\n }\n\n &.", " {\n padding-top: ", ";\n padding-bottom: ", ";\n min-height: auto;\n line-height: 22px;\n font-weight: 700;\n }\n "], ["\n outline: none;\n box-sizing: border-box;\n height: auto;\n min-height: 32px;\n min-width: 112px;\n padding-top: ", ";\n padding-bottom: ", ";\n\n ", ";\n\n .", " {\n padding-left: ", ";\n padding-right: ", ";\n }\n\n &.", " {\n padding-top: ", ";\n padding-bottom: ", ";\n min-height: auto;\n line-height: 22px;\n font-weight: 700;\n }\n "])), topAndBottomPadding, topAndBottomPadding, sharedListItemStyle(__assign(__assign({}, props), { focusVariant: focusVariant, color: color,
|
|
13
12
|
// in menuItem always be can hover
|
|
14
13
|
canHover: true, mainClasses: RcMenuItemClasses, rippleClasses: RcMenuItemRippleClasses })), RcMenuItemClasses.gutters, leftAndRightPadding, leftAndRightPadding, RcMenuItemClasses.dense, spacing(1), spacing(1));
|
|
15
14
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RcClasses, spacing } from '../../../../foundation';
|
|
2
2
|
export var RcMenuItemPrefix = 'RcMenuItem';
|
|
3
|
-
export var RcMenuItemRipplePrefix = RcMenuItemPrefix
|
|
3
|
+
export var RcMenuItemRipplePrefix = "".concat(RcMenuItemPrefix, "TouchRipple");
|
|
4
4
|
export var RcMenuItemClasses = RcClasses(['checked', 'unchecked', 'gutters', 'dense', 'selected', 'focusVisible'], RcMenuItemPrefix);
|
|
5
5
|
export var RcMenuItemTopAndBottomPaddings = {
|
|
6
6
|
medium: spacing(1),
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* MUI Components Re-exports
|
|
3
|
+
*
|
|
4
|
+
* These are direct re-exports from @material-ui/core and @material-ui/lab.
|
|
5
|
+
* They are prefixed with "Mui" to indicate they are raw MUI components,
|
|
6
|
+
* not JUNO-styled wrappers.
|
|
7
|
+
*
|
|
8
|
+
* Usage:
|
|
9
|
+
* ```tsx
|
|
10
|
+
* import { MuiFab, MuiCollapse, MuiListItem } from '@ringcentral/juno';
|
|
11
|
+
* ```
|
|
12
|
+
*
|
|
13
|
+
* Note: These exports exist to centralize MUI dependencies.
|
|
14
|
+
* Consider using JUNO components (Rc* prefixed) when available.
|
|
15
|
+
*/
|
|
16
|
+
// ============================================
|
|
17
|
+
// @material-ui/core Components
|
|
18
|
+
// ============================================
|
|
19
|
+
// Buttons
|
|
20
|
+
export { default as MuiFab } from '@material-ui/core/Fab';
|
|
21
|
+
// Transitions
|
|
22
|
+
export { default as MuiCollapse } from '@material-ui/core/Collapse';
|
|
23
|
+
export { default as MuiSlide } from '@material-ui/core/Slide';
|
|
24
|
+
// List
|
|
25
|
+
export { default as MuiListItem } from '@material-ui/core/ListItem';
|
|
26
|
+
export { default as MuiListItemText } from '@material-ui/core/ListItemText';
|
|
27
|
+
export { default as MuiListItemIcon } from '@material-ui/core/ListItemIcon';
|
|
28
|
+
// Form Inputs
|
|
29
|
+
export { default as MuiTextField } from '@material-ui/core/TextField';
|
|
30
|
+
export { default as MuiInput } from '@material-ui/core/Input';
|
|
31
|
+
export { default as MuiInputLabel } from '@material-ui/core/InputLabel';
|
|
32
|
+
export { default as MuiInputAdornment } from '@material-ui/core/InputAdornment';
|
|
33
|
+
export { default as MuiFormHelperText } from '@material-ui/core/FormHelperText';
|
|
34
|
+
// Progress
|
|
35
|
+
export { default as MuiCircularProgress } from '@material-ui/core/CircularProgress';
|
|
36
|
+
// Card (additional exports not in RcCard)
|
|
37
|
+
export { default as MuiCardContent } from '@material-ui/core/CardContent';
|
|
38
|
+
// ============================================
|
|
39
|
+
// @material-ui/lab Components
|
|
40
|
+
// ============================================
|
|
41
|
+
export { default as MuiAutocomplete } from '@material-ui/lab/Autocomplete';
|
|
@@ -20,7 +20,7 @@ export var fixOffsetsModifer = {
|
|
|
20
20
|
var dpr = window.devicePixelRatio;
|
|
21
21
|
var x = Math.round(Number(matchValue[1]) * dpr) / dpr;
|
|
22
22
|
var y = Math.round(Number(matchValue[2]) * dpr) / dpr;
|
|
23
|
-
data.styles.transform = "translate3d("
|
|
23
|
+
data.styles.transform = "translate3d(".concat(x, "px, ").concat(y, "px, 0)");
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
}
|
|
@@ -34,7 +34,7 @@ var PortalManager = /** @class */ (function (_super) {
|
|
|
34
34
|
if (process.env.NODE_ENV !== 'production') {
|
|
35
35
|
logInDev({
|
|
36
36
|
component: 'RcPortalHost',
|
|
37
|
-
message: "open the portal with id('"
|
|
37
|
+
message: "open the portal with id('".concat(id, "') failed, this portal is already open"),
|
|
38
38
|
});
|
|
39
39
|
}
|
|
40
40
|
return currPortal.portalController;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { __extends, __read,
|
|
1
|
+
import { __extends, __read, __spreadArray, __values } from "tslib";
|
|
2
2
|
import { Connectable } from '../Connectable';
|
|
3
3
|
var PortalStore = /** @class */ (function (_super) {
|
|
4
4
|
__extends(PortalStore, _super);
|
|
5
5
|
function PortalStore() {
|
|
6
|
-
var _this = _super
|
|
6
|
+
var _this = _super.apply(this, __spreadArray([], __read(arguments), false)) || this;
|
|
7
7
|
_this._portalMap = new Map();
|
|
8
8
|
_this._batchMode = false;
|
|
9
9
|
return _this;
|
|
@@ -12,7 +12,7 @@ var PortalStore = /** @class */ (function (_super) {
|
|
|
12
12
|
get: function () {
|
|
13
13
|
return this._portalMap.size;
|
|
14
14
|
},
|
|
15
|
-
enumerable:
|
|
15
|
+
enumerable: false,
|
|
16
16
|
configurable: true
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(PortalStore.prototype, "lastPortal", {
|
|
@@ -34,14 +34,14 @@ var PortalStore = /** @class */ (function (_super) {
|
|
|
34
34
|
}
|
|
35
35
|
return lastPortal;
|
|
36
36
|
},
|
|
37
|
-
enumerable:
|
|
37
|
+
enumerable: false,
|
|
38
38
|
configurable: true
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(PortalStore.prototype, "portals", {
|
|
41
41
|
get: function () {
|
|
42
42
|
return this._portalMap.values();
|
|
43
43
|
},
|
|
44
|
-
enumerable:
|
|
44
|
+
enumerable: false,
|
|
45
45
|
configurable: true
|
|
46
46
|
});
|
|
47
47
|
PortalStore.prototype.addOrUpdate = function (portal) {
|
|
@@ -82,7 +82,7 @@ var PortalStore = /** @class */ (function (_super) {
|
|
|
82
82
|
this._emitChanges();
|
|
83
83
|
};
|
|
84
84
|
PortalStore.prototype._emitChanges = function () {
|
|
85
|
-
this.emit(
|
|
85
|
+
this.emit(__spreadArray([], __read(this.portals), false));
|
|
86
86
|
};
|
|
87
87
|
return PortalStore;
|
|
88
88
|
}(Connectable));
|
|
@@ -3,15 +3,12 @@ import React, { forwardRef } from 'react';
|
|
|
3
3
|
import { css, getParsePaletteColor, palette2, styled, fakeBorder, } from '../../../foundation';
|
|
4
4
|
import { RcIcon } from '../../Icon';
|
|
5
5
|
export var _StyledPresence = forwardRef(function (_a, ref) {
|
|
6
|
-
var color = _a.color, type = _a.type, iconSizeValue = _a.iconSizeValue, borderSizeValue = _a.borderSizeValue, rest = __rest(_a, ["color", "type", "iconSizeValue", "borderSizeValue"]);
|
|
7
|
-
return (React.createElement("div", __assign({ ref: ref }, rest)));
|
|
6
|
+
var color = _a.color, type = _a.type, iconSizeValue = _a.iconSizeValue, borderSizeValue = _a.borderSizeValue, children = _a.children, rest = __rest(_a, ["color", "type", "iconSizeValue", "borderSizeValue", "children"]);
|
|
7
|
+
return (React.createElement("div", __assign({ ref: ref }, rest), children));
|
|
8
8
|
});
|
|
9
|
-
export var StyledPresence = styled(_StyledPresence)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: flex;\n flex-shrink: 0;\n justify-content: center;\n align-items: center;\n border-radius: 50%;\n box-sizing: content-box;\n\n ", ";\n"], ["\n display: flex;\n flex-shrink: 0;\n justify-content: center;\n align-items: center;\n border-radius: 50%;\n box-sizing: content-box;\n\n ",
|
|
10
|
-
";\n"])), function (_a) {
|
|
9
|
+
export var StyledPresence = styled(_StyledPresence)(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: flex;\n flex-shrink: 0;\n justify-content: center;\n align-items: center;\n border-radius: 50%;\n box-sizing: content-box;\n\n ", ";\n"], ["\n display: flex;\n flex-shrink: 0;\n justify-content: center;\n align-items: center;\n border-radius: 50%;\n box-sizing: content-box;\n\n ", ";\n"])), function (_a) {
|
|
11
10
|
var iconSizeValue = _a.iconSizeValue, borderSizeValue = _a.borderSizeValue, color = _a.color;
|
|
12
|
-
return css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: ", "px;\n height: ", "px;\n background: ", ";\n ", ";\n ", " {\n svg {\n width: ", "px;\n height: ", "px;\n }\n }\n "], ["\n width: ", "px;\n height: ", "px;\n background: ",
|
|
13
|
-
";\n ",
|
|
14
|
-
";\n ", " {\n svg {\n width: ", "px;\n height: ", "px;\n }\n }\n "])), iconSizeValue, iconSizeValue, color
|
|
11
|
+
return css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: ", "px;\n height: ", "px;\n background: ", ";\n ", ";\n ", " {\n svg {\n width: ", "px;\n height: ", "px;\n }\n }\n "], ["\n width: ", "px;\n height: ", "px;\n background: ", ";\n ", ";\n ", " {\n svg {\n width: ", "px;\n height: ", "px;\n }\n }\n "])), iconSizeValue, iconSizeValue, color
|
|
15
12
|
? getParsePaletteColor(color)
|
|
16
13
|
: palette2('neutral', 'l01'), fakeBorder({
|
|
17
14
|
inset: false,
|
|
@@ -19,8 +16,7 @@ export var StyledPresence = styled(_StyledPresence)(templateObject_2 || (templat
|
|
|
19
16
|
size: borderSizeValue,
|
|
20
17
|
}), RcIcon, iconSizeValue, iconSizeValue);
|
|
21
18
|
});
|
|
22
|
-
export var PresenceContainer = styled.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n ", "\n"], ["\n ",
|
|
23
|
-
"\n"])), function (_a) {
|
|
19
|
+
export var PresenceContainer = styled.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n ", "\n"], ["\n ", "\n"])), function (_a) {
|
|
24
20
|
var iconSizeValue = _a.iconSizeValue, borderSizeValue = _a.borderSizeValue;
|
|
25
21
|
return css(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n display: flex;\n justify-content: center;\n width: ", "px;\n height: ", "px;\n padding: ", "px;\n "], ["\n display: flex;\n justify-content: center;\n width: ", "px;\n height: ", "px;\n padding: ", "px;\n "])), iconSizeValue, iconSizeValue, borderSizeValue);
|
|
26
22
|
});
|
|
@@ -12,10 +12,8 @@ export var RatingStyle = function (props) {
|
|
|
12
12
|
React.isValidElement(emptyIcon) &&
|
|
13
13
|
isRcElement(icon, ['RcIcon']) &&
|
|
14
14
|
isRcElement(emptyIcon, ['RcIcon']);
|
|
15
|
-
return css(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n &.", "\n .", ",\n input:focus\n + .", " {\n outline: none;\n border-radius: ", ";\n box-shadow: 0 0 0 1px ", ";\n }\n\n .", " {\n transform: scale(1, 1);\n }\n\n .", " {\n padding: 0 8px;\n }\n\n .", " {\n color: ", ";\n }\n\n .", " {\n color: ", ";\n }\n\n &.", " {\n opacity: 1;\n\n .", " {\n ", "\n }\n\n .", " {\n color: ", ";\n }\n }\n\n &.", " .", " {\n padding: 0 8px;\n }\n "], ["\n &.", "\n .", ",\n input:focus\n + .", " {\n outline: none;\n border-radius: ", ";\n box-shadow: 0 0 0 1px ", ";\n }\n\n .", " {\n transform: scale(1, 1);\n }\n\n .", " {\n padding: 0 8px;\n }\n\n .", " {\n color: ", ";\n }\n\n .", " {\n color: ", ";\n }\n\n &.", " {\n opacity: 1;\n\n .", " {\n ",
|
|
16
|
-
|
|
17
|
-
? css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n color: ", ";\n "], ["\n color: ",
|
|
18
|
-
";\n "])), color === 'neutral.f06' && !emphasized
|
|
15
|
+
return css(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n &.", "\n .", ",\n input:focus\n + .", " {\n outline: none;\n border-radius: ", ";\n box-shadow: 0 0 0 1px ", ";\n }\n\n .", " {\n transform: scale(1, 1);\n }\n\n .", " {\n padding: 0 8px;\n }\n\n .", " {\n color: ", ";\n }\n\n .", " {\n color: ", ";\n }\n\n &.", " {\n opacity: 1;\n\n .", " {\n ", "\n }\n\n .", " {\n color: ", ";\n }\n }\n\n &.", " .", " {\n padding: 0 8px;\n }\n "], ["\n &.", "\n .", ",\n input:focus\n + .", " {\n outline: none;\n border-radius: ", ";\n box-shadow: 0 0 0 1px ", ";\n }\n\n .", " {\n transform: scale(1, 1);\n }\n\n .", " {\n padding: 0 8px;\n }\n\n .", " {\n color: ", ";\n }\n\n .", " {\n color: ", ";\n }\n\n &.", " {\n opacity: 1;\n\n .", " {\n ", "\n }\n\n .", " {\n color: ", ";\n }\n }\n\n &.", " .", " {\n padding: 0 8px;\n }\n "])), RcRatingClasses.focusVisible, RcRatingClasses.iconActive, RcRatingClasses.pristine, radius('xxl'), focusVisibleColor, RcRatingClasses.iconActive, RcRatingClasses.label, RcRatingClasses.iconFilled, getColor, RcRatingClasses.iconEmpty, palette2('neutral', 'f04'), RcRatingClasses.disabled, RcRatingClasses.iconFilled, isIcon
|
|
16
|
+
? css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n color: ", ";\n "], ["\n color: ", ";\n "])), color === 'neutral.f06' && !emphasized
|
|
19
17
|
? palette2('neutral', 'f04')
|
|
20
18
|
: setOpacity(getColor(props), '40', true)) : css(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n opacity: ", ";\n "], ["\n opacity: ", ";\n "])), opacity('64')), RcRatingClasses.iconEmpty, palette2('disabled', 'f02'), RcRatingClasses.readOnly, RcRatingClasses.icon);
|
|
21
19
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { __read,
|
|
1
|
+
import { __read, __spreadArray } from "tslib";
|
|
2
2
|
import { breakpointList } from '../../../foundation';
|
|
3
|
-
var bpListL2S =
|
|
3
|
+
var bpListL2S = __spreadArray([], __read(breakpointList), false).reverse();
|
|
4
4
|
export var getMatchedBreakpoint = function (width, breakpointMap) {
|
|
5
5
|
// no match when width is less than min width of XS
|
|
6
6
|
return bpListL2S.find(function (bp) { return width >= breakpointMap[bp]; }) || null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -4,8 +4,7 @@ import { RcSnackbarContentLineHeight } from '../../SnackbarContent/utils';
|
|
|
4
4
|
import { RcSnackbarActionClasses } from '../utils';
|
|
5
5
|
export var snackbarContentActionStyle = function (_a) {
|
|
6
6
|
var color = _a.color;
|
|
7
|
-
return css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n color: ", ";\n\n &.", " {\n ", ";\n line-height: ", ";\n text-decoration: underline;\n }\n\n & + &.", " {\n margin-left: ", ";\n }\n\n & + &.", " {\n margin-left: ", ";\n }\n\n &:active {\n opacity: ", ";\n }\n\n &:disabled {\n opacity: ", ";\n }\n\n ", " {\n ", "\n }\n "], ["\n color: ", ";\n\n &.", " {\n ", ";\n line-height: ", ";\n text-decoration: underline;\n }\n\n & + &.", " {\n margin-left: ", ";\n }\n\n & + &.", " {\n margin-left: ", ";\n }\n\n &:active {\n opacity: ", ";\n }\n\n &:disabled {\n opacity: ", ";\n }\n\n ", " {\n ",
|
|
8
|
-
"\n }\n "])), color && getParsePaletteColor(color), RcSnackbarActionClasses.text, typography('body2'), RcSnackbarContentLineHeight, RcSnackbarActionClasses.text, spacing(3), RcSnackbarActionClasses.icon, spacing(4), opacity('24', true), opacity('24'), focusVisible, fakeBorder({
|
|
7
|
+
return css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n color: ", ";\n\n &.", " {\n ", ";\n line-height: ", ";\n text-decoration: underline;\n }\n\n & + &.", " {\n margin-left: ", ";\n }\n\n & + &.", " {\n margin-left: ", ";\n }\n\n &:active {\n opacity: ", ";\n }\n\n &:disabled {\n opacity: ", ";\n }\n\n ", " {\n ", "\n }\n "], ["\n color: ", ";\n\n &.", " {\n ", ";\n line-height: ", ";\n text-decoration: underline;\n }\n\n & + &.", " {\n margin-left: ", ";\n }\n\n & + &.", " {\n margin-left: ", ";\n }\n\n &:active {\n opacity: ", ";\n }\n\n &:disabled {\n opacity: ", ";\n }\n\n ", " {\n ", "\n }\n "])), color && getParsePaletteColor(color), RcSnackbarActionClasses.text, typography('body2'), RcSnackbarContentLineHeight, RcSnackbarActionClasses.text, spacing(3), RcSnackbarActionClasses.icon, spacing(4), opacity('24', true), opacity('24'), focusVisible, fakeBorder({
|
|
9
8
|
pseudo: true,
|
|
10
9
|
color: 'currentColor',
|
|
11
10
|
inset: false,
|
|
@@ -5,7 +5,6 @@ import { RcTableCell } from '../../TableCell';
|
|
|
5
5
|
import { RcTableRow } from '../../TableRow';
|
|
6
6
|
export var TableContainerStyle = function (props) {
|
|
7
7
|
var bordered = props.bordered, square = props.square;
|
|
8
|
-
return css(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n ", "\n "], ["\n ",
|
|
9
|
-
"\n "])), bordered && css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n border-radius: ", ";\n border: 1px solid ", ";\n\n ", " ", ":last-child ", " {\n border: none;\n }\n "], ["\n border-radius: ", ";\n border: 1px solid ", ";\n\n ", " ", ":last-child ", " {\n border: none;\n }\n "])), !square && px(4), palette2('neutral', 'l02'), RcTableBody, RcTableRow, RcTableCell));
|
|
8
|
+
return css(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n ", "\n "], ["\n ", "\n "])), bordered && css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n border-radius: ", ";\n border: 1px solid ", ";\n\n ", " ", ":last-child ", " {\n border: none;\n }\n "], ["\n border-radius: ", ";\n border: 1px solid ", ";\n\n ", " ", ":last-child ", " {\n border: none;\n }\n "])), !square && px(4), palette2('neutral', 'l02'), RcTableBody, RcTableRow, RcTableCell));
|
|
10
9
|
};
|
|
11
10
|
var templateObject_1, templateObject_2;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -58,7 +58,7 @@ var _RcTablePagination = forwardRef(function (inProps, ref) {
|
|
|
58
58
|
return (React.createElement(TablePaginationRoot, __assign({ colSpan: colSpan, ref: ref, as: component, className: clsx(classes.root, className) }, rest),
|
|
59
59
|
React.createElement(RcToolbar, { className: classes.toolbar },
|
|
60
60
|
React.createElement("div", { className: classes.spacer }),
|
|
61
|
-
rowsPerPageOptions.length > 1 && (React.createElement(RcTypography, { color:
|
|
61
|
+
rowsPerPageOptions.length > 1 && (React.createElement(RcTypography, { color: 'inherit', variant: "body1", className: classes.caption }, labelRowsPerPage)),
|
|
62
62
|
rowsPerPageOptions.length > 1 && (React.createElement(RcSelect, __assign({ className: classes.selectRoot, InputProps: { disableUnderline: true }, value: rowsPerPage, onChange: onRowsPerPageChange }, SelectProps), rowsPerPageOptions.map(function (rowsPerPageOption) {
|
|
63
63
|
var value = rowsPerPageOption.value
|
|
64
64
|
? rowsPerPageOption.value
|
|
@@ -12,13 +12,13 @@ export var RcTablePaginationClasses = RcClasses([
|
|
|
12
12
|
'actions',
|
|
13
13
|
], 'RcTablePagination');
|
|
14
14
|
export function defaultGetAriaLabel(value) {
|
|
15
|
-
return "Go to "
|
|
15
|
+
return "Go to ".concat(value, " page");
|
|
16
16
|
}
|
|
17
17
|
export function defaultLabelDisplayedRows(_a) {
|
|
18
18
|
var from = _a.from, to = _a.to, count = _a.count;
|
|
19
|
-
return from
|
|
19
|
+
return "".concat(from, "-").concat(to, " of ").concat(count !== -1 ? count : "more than ".concat(to));
|
|
20
20
|
}
|
|
21
21
|
export var defaultLabelOfPage = function (_a) {
|
|
22
22
|
var totalPage = _a.totalPage;
|
|
23
|
-
return "of "
|
|
23
|
+
return "of ".concat(totalPage, " pages");
|
|
24
24
|
};
|
|
@@ -5,7 +5,6 @@ var getMinHeight = function (size) { return (size === 'large' ? 60 : 32); };
|
|
|
5
5
|
export var TabStyle = function (props) {
|
|
6
6
|
var size = props.size, directionProp = props.direction;
|
|
7
7
|
var isVertical = directionProp === 'vertical';
|
|
8
|
-
return css(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n text-transform: none;\n box-sizing: border-box;\n ", ";\n color: ", ";\n\n &.", " {\n ", ";\n color: ", ";\n }\n\n min-height: ", ";\n min-width: 32px;\n\n ", "\n "], ["\n text-transform: none;\n box-sizing: border-box;\n ", ";\n color: ", ";\n\n &.", " {\n ", ";\n color: ", ";\n }\n\n min-height: ", ";\n min-width: 32px;\n\n ",
|
|
9
|
-
"\n "])), typography('body1'), palette2('tab', 'default'), RcTabClasses.selected, typography('body2'), palette2('tab', 'selected'), px(getMinHeight(size)), directionProp !== undefined && css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n .", " {\n flex-direction: ", ";\n }\n\n &.", " .", " > *:first-child {\n margin-bottom: ", ";\n // 6px is follow mui\n margin-right: ", ";\n }\n "], ["\n .", " {\n flex-direction: ", ";\n }\n\n &.", " .", " > *:first-child {\n margin-bottom: ", ";\n // 6px is follow mui\n margin-right: ", ";\n }\n "])), RcTabClasses.wrapper, isVertical ? 'row' : 'column', RcTabClasses.labelIcon, RcTabClasses.wrapper, isVertical && 'unset', isVertical && '6px'));
|
|
8
|
+
return css(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n text-transform: none;\n box-sizing: border-box;\n ", ";\n color: ", ";\n\n &.", " {\n ", ";\n color: ", ";\n }\n\n min-height: ", ";\n min-width: 32px;\n\n ", "\n "], ["\n text-transform: none;\n box-sizing: border-box;\n ", ";\n color: ", ";\n\n &.", " {\n ", ";\n color: ", ";\n }\n\n min-height: ", ";\n min-width: 32px;\n\n ", "\n "])), typography('body1'), palette2('tab', 'default'), RcTabClasses.selected, typography('body2'), palette2('tab', 'selected'), px(getMinHeight(size)), directionProp !== undefined && css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n .", " {\n flex-direction: ", ";\n }\n\n &.", " .", " > *:first-child {\n margin-bottom: ", ";\n // 6px is follow mui\n margin-right: ", ";\n }\n "], ["\n .", " {\n flex-direction: ", ";\n }\n\n &.", " .", " > *:first-child {\n margin-bottom: ", ";\n // 6px is follow mui\n margin-right: ", ";\n }\n "])), RcTabClasses.wrapper, isVertical ? 'row' : 'column', RcTabClasses.labelIcon, RcTabClasses.wrapper, isVertical && 'unset', isVertical && '6px'));
|
|
10
9
|
};
|
|
11
10
|
var templateObject_1, templateObject_2;
|
|
@@ -3,8 +3,7 @@ import { css } from '../../../../../foundation';
|
|
|
3
3
|
export var MoreMenuTabStyle = function (_a) {
|
|
4
4
|
var orientation = _a.orientation;
|
|
5
5
|
var isVertical = orientation === 'vertical';
|
|
6
|
-
return css(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n position: absolute;\n bottom: 0;\n\n ", "\n "], ["\n position: absolute;\n bottom: 0;\n\n ",
|
|
7
|
-
"\n "])), isVertical
|
|
6
|
+
return css(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n position: absolute;\n bottom: 0;\n\n ", "\n "], ["\n position: absolute;\n bottom: 0;\n\n ", "\n "])), isVertical
|
|
8
7
|
? css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: 100%;\n "], ["\n width: 100%;\n "]))) : css(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n top: 0;\n right: 0;\n "], ["\n top: 0;\n right: 0;\n "]))));
|
|
9
8
|
};
|
|
10
9
|
var templateObject_1, templateObject_2, templateObject_3;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __assign, __makeTemplateObject, __read, __rest,
|
|
1
|
+
import { __assign, __makeTemplateObject, __read, __rest, __spreadArray, __values } from "tslib";
|
|
2
2
|
import MuiTabs from '@material-ui/core/Tabs';
|
|
3
3
|
import React, { cloneElement, forwardRef, isValidElement, useEffect, useRef, useState, } from 'react';
|
|
4
4
|
import { getResizeObserver, styled, useForkRef, useMountState, useOnReRender, useThrottle, useRcPortalWindowContext, } from '../../../../foundation';
|
|
@@ -278,12 +278,12 @@ var _MoreMenuTabs = forwardRef(function (props, ref) {
|
|
|
278
278
|
});
|
|
279
279
|
if (!useMoreMode)
|
|
280
280
|
return tabGroupElements;
|
|
281
|
-
return
|
|
281
|
+
return __spreadArray(__spreadArray(__spreadArray(__spreadArray([], __read(tabGroupElements), false), [
|
|
282
282
|
React.createElement(MoreMenuTabSentinel, { id: "start", value: "sentinel-start", key: "sentinel-start", ref: sentinelStartRef, onFocus: function () {
|
|
283
283
|
var _a;
|
|
284
284
|
(_a = moreTabRef.current) === null || _a === void 0 ? void 0 : _a.focus();
|
|
285
285
|
} })
|
|
286
|
-
], groupInfo.menu.map(function (_a) {
|
|
286
|
+
], false), __read(groupInfo.menu.map(function (_a) {
|
|
287
287
|
var index = _a.index, key = _a.key, tabValue = _a.value, element = _a.element;
|
|
288
288
|
return cloneElement(element, {
|
|
289
289
|
key: key,
|
|
@@ -294,7 +294,7 @@ var _MoreMenuTabs = forwardRef(function (props, ref) {
|
|
|
294
294
|
disabled: true,
|
|
295
295
|
style: __assign(__assign({}, element.props.style), { opacity: 0, position: 'absolute', top: 0, left: 0 }),
|
|
296
296
|
});
|
|
297
|
-
}), [
|
|
297
|
+
})), false), [
|
|
298
298
|
React.createElement(MoreMenuTabSentinel, { id: "end", value: "sentinel-end", key: "sentinel-end", onFocus: function () {
|
|
299
299
|
var _a;
|
|
300
300
|
var focusTarget = ((_a = sentinelStartRef.current) === null || _a === void 0 ? void 0 : _a.previousElementSibling) ||
|
|
@@ -302,7 +302,7 @@ var _MoreMenuTabs = forwardRef(function (props, ref) {
|
|
|
302
302
|
if (focusTarget)
|
|
303
303
|
focusTarget.focus();
|
|
304
304
|
} }),
|
|
305
|
-
]);
|
|
305
|
+
], false);
|
|
306
306
|
})();
|
|
307
307
|
return (React.createElement(MuiTabs, __assign({}, rest, { ref: tabsRef, value: value, variant: "standard", indicatorColor: "primary", textColor: "primary", onChange: onChange, orientation: orientation }),
|
|
308
308
|
children,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './MoreMenuTabsUtils';
|
|
@@ -4,7 +4,6 @@ import { colorMap } from '../utils';
|
|
|
4
4
|
export var TagStyle = function (_a) {
|
|
5
5
|
var textColor = _a.textColor, color = _a.color, borderColor = _a.borderColor, radiusProp = _a.radius;
|
|
6
6
|
var backgroundColor = getParsePaletteColor((typeof color === 'string' && colorMap[color]) || color);
|
|
7
|
-
return css(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: inline-block;\n\n background-color: ", ";\n color: ", ";\n ", ";\n\n border-radius: ", ";\n text-align: center;\n padding: ", ";\n ", ";\n min-width: ", ";\n max-width: ", ";\n ", "\n "], ["\n display: inline-block;\n\n background-color: ", ";\n color: ", ";\n ",
|
|
8
|
-
";\n\n border-radius: ", ";\n text-align: center;\n padding: ", ";\n ", ";\n min-width: ", ";\n max-width: ", ";\n ", "\n "])), backgroundColor, getParsePaletteColor(textColor), borderColor && css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n border: 1px solid ", ";\n "], ["\n border: 1px solid ", ";\n "])), getParsePaletteColor(borderColor)), radius(radiusProp), spacing(0, 2), typography('caption1'), spacing(9), spacing(41), ellipsis);
|
|
7
|
+
return css(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: inline-block;\n\n background-color: ", ";\n color: ", ";\n ", ";\n\n border-radius: ", ";\n text-align: center;\n padding: ", ";\n ", ";\n min-width: ", ";\n max-width: ", ";\n ", "\n "], ["\n display: inline-block;\n\n background-color: ", ";\n color: ", ";\n ", ";\n\n border-radius: ", ";\n text-align: center;\n padding: ", ";\n ", ";\n min-width: ", ";\n max-width: ", ";\n ", "\n "])), backgroundColor, getParsePaletteColor(textColor), borderColor && css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n border: 1px solid ", ";\n "], ["\n border: 1px solid ", ";\n "])), getParsePaletteColor(borderColor)), radius(radiusProp), spacing(0, 2), typography('caption1'), spacing(9), spacing(41), ellipsis);
|
|
9
8
|
};
|
|
10
9
|
var templateObject_1, templateObject_2;
|
|
@@ -27,7 +27,8 @@ var _RcText = forwardRef(function (inProps, ref) {
|
|
|
27
27
|
}, [TooltipPropsProp, isShowTitle]);
|
|
28
28
|
return (React.createElement(RcTypography, __assign({ ref: textRef, title: isShowTitle || useRcTooltip // * if useRcTooltip always keep title pass into
|
|
29
29
|
? // * if user pass title, use title first
|
|
30
|
-
|
|
30
|
+
title !== null && title !== void 0 ? title : (isString(children) ? children : undefined)
|
|
31
|
+
: undefined, TooltipProps: TooltipProps, useRcTooltip: useRcTooltip, variant: highlight ? 'inherit' : undefined, component: highlight ? 'span' : undefined, className: className }, rest), children));
|
|
31
32
|
});
|
|
32
33
|
/**
|
|
33
34
|
* `RcText` will auto add title with children when that children is string
|
|
@@ -3,7 +3,6 @@ import { css, palette2 } from '../../../foundation';
|
|
|
3
3
|
export var highlightClassName = 'highlight-term';
|
|
4
4
|
export var textStyle = function (props) {
|
|
5
5
|
var titleWhenOverflow = props.titleWhenOverflow, flexFull = props.flexFull;
|
|
6
|
-
return css(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n ", ";\n\n flex: ", ";\n\n &.", " {\n color: ", " !important;\n background-color: ", " !important;\n }\n "], ["\n ",
|
|
7
|
-
";\n\n flex: ", ";\n\n &.", " {\n color: ", " !important;\n background-color: ", " !important;\n }\n "])), typeof titleWhenOverflow === 'number' && css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: ", ";\n -webkit-box-orient: vertical;\n white-space: normal;\n "], ["\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: ", ";\n -webkit-box-orient: vertical;\n white-space: normal;\n "])), titleWhenOverflow), flexFull && '1 1 auto', highlightClassName, palette2('highlight', 'f01'), palette2('highlight', 'b02'));
|
|
6
|
+
return css(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n ", ";\n\n flex: ", ";\n\n &.", " {\n color: ", " !important;\n background-color: ", " !important;\n }\n "], ["\n ", ";\n\n flex: ", ";\n\n &.", " {\n color: ", " !important;\n background-color: ", " !important;\n }\n "])), typeof titleWhenOverflow === 'number' && css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: ", ";\n -webkit-box-orient: vertical;\n white-space: normal;\n "], ["\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: ", ";\n -webkit-box-orient: vertical;\n white-space: normal;\n "])), titleWhenOverflow), flexFull && '1 1 auto', highlightClassName, palette2('highlight', 'f01'), palette2('highlight', 'b02'));
|
|
8
7
|
};
|
|
9
8
|
var templateObject_1, templateObject_2;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { __makeTemplateObject } from "tslib";
|
|
2
2
|
import { css, fakeBorder, palette2, radius, styled } from '../../../foundation';
|
|
3
3
|
import { RcThumbnailSizes } from '../utils';
|
|
4
|
-
export var StyledThumbnail = styled.span(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n ", ";\n display: inline-block;\n background-color: ", ";\n ", ";\n background-size: cover;\n background-repeat: no-repeat;\n background-position: center;\n"], ["\n ",
|
|
5
|
-
";\n display: inline-block;\n background-color: ", ";\n ", ";\n background-size: cover;\n background-repeat: no-repeat;\n background-position: center;\n"])), function (_a) {
|
|
4
|
+
export var StyledThumbnail = styled.span(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n ", ";\n display: inline-block;\n background-color: ", ";\n ", ";\n background-size: cover;\n background-repeat: no-repeat;\n background-position: center;\n"], ["\n ", ";\n display: inline-block;\n background-color: ", ";\n ", ";\n background-size: cover;\n background-repeat: no-repeat;\n background-position: center;\n"])), function (_a) {
|
|
6
5
|
var size = _a.size, src = _a.src;
|
|
7
6
|
return css(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: ", "px;\n height: ", "px;\n background-image: url(", ");\n border-radius: ", ";\n "], ["\n width: ", "px;\n height: ", "px;\n background-image: url(", ");\n border-radius: ", ";\n "])), RcThumbnailSizes[size], RcThumbnailSizes[size], src, radius(size === 'small' ? 'sm' : 'lg'));
|
|
8
7
|
}, palette2('neutral', 'b03'), fakeBorder());
|
|
@@ -31,8 +31,7 @@ export var tooltipStyle = function () {
|
|
|
31
31
|
return css(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n ", "\n max-width: calc(100% - 10px);\n\n .", " {\n ", ";\n background-color: ", ";\n color: ", ";\n padding: ", ";\n word-break: break-word;\n position: relative;\n }\n\n .", ",\n .", " {\n margin: ", " 0;\n }\n\n .", ",\n .", " {\n margin: 0 ", ";\n }\n\n .", " {\n color: ", ";\n }\n\n .", " {\n .", " {\n margin-bottom: ", ";\n ", "\n }\n }\n\n .", " {\n .", " {\n margin-top: ", ";\n ", "\n }\n }\n\n .", " {\n .", " {\n margin-right: ", ";\n ", "\n ", "\n }\n }\n\n .", " {\n .", " {\n margin-left: ", ";\n ", "\n ", "\n }\n }\n "], ["\n "
|
|
32
32
|
// The preventOverflowModifier of popperjs has 5px padding.
|
|
33
33
|
// So need set max-width to calc(100% - 10px) to prevent overflow when the tooltip is too long.
|
|
34
|
-
,
|
|
35
|
-
"\n max-width: calc(100% - 10px);\n\n .", " {\n ", ";\n background-color: ", ";\n color: ", ";\n padding: ", ";\n word-break: break-word;\n position: relative;\n }\n\n .", ",\n .", " {\n margin: ", " 0;\n }\n\n .", ",\n .", " {\n margin: 0 ", ";\n }\n\n .", " {\n color: ", ";\n }\n\n .", " {\n .", " {\n margin-bottom: ", ";\n ", "\n }\n }\n\n .", " {\n .", " {\n margin-top: ", ";\n ", "\n }\n }\n\n .", " {\n .", " {\n margin-right: ", ";\n ", "\n ", "\n }\n }\n\n .", " {\n .", " {\n margin-left: ", ";\n ", "\n ", "\n }\n }\n "])),
|
|
34
|
+
, "\n max-width: calc(100% - 10px);\n\n .", " {\n ", ";\n background-color: ", ";\n color: ", ";\n padding: ", ";\n word-break: break-word;\n position: relative;\n }\n\n .", ",\n .", " {\n margin: ", " 0;\n }\n\n .", ",\n .", " {\n margin: 0 ", ";\n }\n\n .", " {\n color: ", ";\n }\n\n .", " {\n .", " {\n margin-bottom: ", ";\n ", "\n }\n }\n\n .", " {\n .", " {\n margin-top: ", ";\n ", "\n }\n }\n\n .", " {\n .", " {\n margin-right: ", ";\n ", "\n ", "\n }\n }\n\n .", " {\n .", " {\n margin-left: ", ";\n ", "\n ", "\n }\n }\n "])),
|
|
36
35
|
// The preventOverflowModifier of popperjs has 5px padding.
|
|
37
36
|
// So need set max-width to calc(100% - 10px) to prevent overflow when the tooltip is too long.
|
|
38
37
|
'', RcTooltipClasses.tooltip, tooltipTypography, tooltipColor, tooltipTextColor, tooltipPadding, RcTooltipClasses.tooltipPlacementTop, RcTooltipClasses.tooltipPlacementBottom, placementSpace, RcTooltipClasses.tooltipPlacementRight, RcTooltipClasses.tooltipPlacementLeft, placementSpace, RcTooltipClasses.arrow, tooltipColor, RcTooltipClasses.tooltipPlacementTop, RcTooltipClasses.arrow, marginOffset, arrowSize.vertical, RcTooltipClasses.tooltipPlacementBottom, RcTooltipClasses.arrow, marginOffset, arrowSize.vertical, RcTooltipClasses.tooltipPlacementLeft, RcTooltipClasses.arrow, marginOffset, arrowSize.horizontal, horizontalMarginTopAndMarginBottom, RcTooltipClasses.tooltipPlacementRight, RcTooltipClasses.arrow, marginOffset, arrowSize.horizontal, horizontalMarginTopAndMarginBottom);
|
|
@@ -26,7 +26,8 @@ export function getTransitionProps(props, options) {
|
|
|
26
26
|
? timeout
|
|
27
27
|
: (timeout === null || timeout === void 0 ? void 0 : timeout[options.mode]) || 0,
|
|
28
28
|
easing: style.transitionTimingFunction || typeof easing === 'object'
|
|
29
|
-
? easing === null || easing === void 0 ? void 0 : easing[options.mode]
|
|
29
|
+
? easing === null || easing === void 0 ? void 0 : easing[options.mode]
|
|
30
|
+
: easing,
|
|
30
31
|
delay: style.transitionDelay,
|
|
31
32
|
};
|
|
32
33
|
}
|