@fountain-ui/core 2.0.0-beta.2 → 2.0.0-beta.20
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/build/commonjs/Accordion/Accordion.js +6 -8
- package/build/commonjs/Accordion/Accordion.js.map +1 -1
- package/build/commonjs/Accordion/AccordionProps.js.map +1 -1
- package/build/commonjs/Accordion/index.js.map +1 -1
- package/build/commonjs/AppBar/AppBar.js +9 -14
- package/build/commonjs/AppBar/AppBar.js.map +1 -1
- package/build/commonjs/AppBar/AppBarProps.js.map +1 -1
- package/build/commonjs/AppBar/index.js.map +1 -1
- package/build/commonjs/AspectRatio/AspectRatioNative.js +1 -1
- package/build/commonjs/AspectRatio/AspectRatioNative.js.map +1 -1
- package/build/commonjs/AspectRatio/AspectRatioProps.js.map +1 -1
- package/build/commonjs/AspectRatio/AspectRatioWeb.js +1 -1
- package/build/commonjs/AspectRatio/AspectRatioWeb.js.map +1 -1
- package/build/commonjs/AspectRatio/index.js.map +1 -1
- package/build/commonjs/AspectRatio/index.native.js.map +1 -1
- package/build/commonjs/AspectRatio/utils.js +1 -1
- package/build/commonjs/AspectRatio/utils.js.map +1 -1
- package/build/commonjs/Avatar/Avatar.js.map +1 -1
- package/build/commonjs/Avatar/AvatarProps.js.map +1 -1
- package/build/commonjs/Avatar/index.js.map +1 -1
- package/build/commonjs/Badge/Badge.js +1 -1
- package/build/commonjs/Badge/Badge.js.map +1 -1
- package/build/commonjs/Badge/BadgeProps.js.map +1 -1
- package/build/commonjs/Badge/index.js.map +1 -1
- package/build/commonjs/Button/Button.js +2 -2
- package/build/commonjs/Button/Button.js.map +1 -1
- package/build/commonjs/Button/ButtonProps.js.map +1 -1
- package/build/commonjs/Button/index.js.map +1 -1
- package/build/commonjs/ButtonBase/ButtonBase.js +64 -59
- package/build/commonjs/ButtonBase/ButtonBase.js.map +1 -1
- package/build/commonjs/ButtonBase/ButtonBaseProps.js.map +1 -1
- package/build/commonjs/ButtonBase/index.js.map +1 -1
- package/build/commonjs/Card/Card.js +1 -1
- package/build/commonjs/Card/Card.js.map +1 -1
- package/build/commonjs/Card/CardProps.js.map +1 -1
- package/build/commonjs/Card/index.js.map +1 -1
- package/build/commonjs/CardActions/CardActions.js +1 -1
- package/build/commonjs/CardActions/CardActions.js.map +1 -1
- package/build/commonjs/CardActions/CardActionsProps.js.map +1 -1
- package/build/commonjs/CardActions/index.js.map +1 -1
- package/build/commonjs/CardContent/CardContent.js +1 -1
- package/build/commonjs/CardContent/CardContent.js.map +1 -1
- package/build/commonjs/CardContent/CardContentProps.js.map +1 -1
- package/build/commonjs/CardContent/index.js.map +1 -1
- package/build/commonjs/CardMedia/CardMedia.js +1 -1
- package/build/commonjs/CardMedia/CardMedia.js.map +1 -1
- package/build/commonjs/CardMedia/CardMediaProps.js.map +1 -1
- package/build/commonjs/CardMedia/index.js.map +1 -1
- package/build/commonjs/Checkbox/Checkbox.js +1 -1
- package/build/commonjs/Checkbox/Checkbox.js.map +1 -1
- package/build/commonjs/Checkbox/CheckboxProps.js.map +1 -1
- package/build/commonjs/Checkbox/index.js.map +1 -1
- package/build/commonjs/Chip/Chip.js +2 -2
- package/build/commonjs/Chip/Chip.js.map +1 -1
- package/build/commonjs/Chip/ChipProps.js.map +1 -1
- package/build/commonjs/Chip/index.js.map +1 -1
- package/build/commonjs/CircularProgress/CircularProgress.js +24 -28
- package/build/commonjs/CircularProgress/CircularProgress.js.map +1 -1
- package/build/commonjs/CircularProgress/index.js.map +1 -1
- package/build/commonjs/Column/Column.js.map +1 -1
- package/build/commonjs/Column/ColumnProps.js.map +1 -1
- package/build/commonjs/Column/index.js.map +1 -1
- package/build/commonjs/Dialog/Dialog.js +1 -1
- package/build/commonjs/Dialog/Dialog.js.map +1 -1
- package/build/commonjs/Dialog/DialogProps.js.map +1 -1
- package/build/commonjs/Dialog/index.js.map +1 -1
- package/build/commonjs/DialogActions/DialogActions.js +1 -1
- package/build/commonjs/DialogActions/DialogActions.js.map +1 -1
- package/build/commonjs/DialogActions/DialogActionsProps.js.map +1 -1
- package/build/commonjs/DialogActions/index.js.map +1 -1
- package/build/commonjs/DialogContent/DialogContent.js +1 -1
- package/build/commonjs/DialogContent/DialogContent.js.map +1 -1
- package/build/commonjs/DialogContent/DialogContentProps.js.map +1 -1
- package/build/commonjs/DialogContent/index.js.map +1 -1
- package/build/commonjs/DialogMedia/DialogMedia.js +1 -1
- package/build/commonjs/DialogMedia/DialogMedia.js.map +1 -1
- package/build/commonjs/DialogMedia/DialogMediaProps.js.map +1 -1
- package/build/commonjs/DialogMedia/index.js.map +1 -1
- package/build/commonjs/DialogTitle/DialogTitle.js +1 -1
- package/build/commonjs/DialogTitle/DialogTitle.js.map +1 -1
- package/build/commonjs/DialogTitle/DialogTitleProps.js.map +1 -1
- package/build/commonjs/DialogTitle/index.js.map +1 -1
- package/build/commonjs/Divider/Divider.js +1 -1
- package/build/commonjs/Divider/Divider.js.map +1 -1
- package/build/commonjs/Divider/DividerProps.js.map +1 -1
- package/build/commonjs/Divider/index.js.map +1 -1
- package/build/commonjs/Fab/Fab.js +2 -2
- package/build/commonjs/Fab/Fab.js.map +1 -1
- package/build/commonjs/Fab/FabProps.js.map +1 -1
- package/build/commonjs/Fab/index.js.map +1 -1
- package/build/commonjs/Flexbox/Flexbox.js +1 -1
- package/build/commonjs/Flexbox/Flexbox.js.map +1 -1
- package/build/commonjs/Flexbox/FlexboxProps.js.map +1 -1
- package/build/commonjs/Flexbox/index.js.map +1 -1
- package/build/commonjs/IconButton/IconButton.js +1 -1
- package/build/commonjs/IconButton/IconButton.js.map +1 -1
- package/build/commonjs/IconButton/IconButtonProps.js.map +1 -1
- package/build/commonjs/IconButton/index.js.map +1 -1
- package/build/commonjs/Image/Image.js +1 -1
- package/build/commonjs/Image/Image.js.map +1 -1
- package/build/commonjs/Image/ImageProps.js.map +1 -1
- package/build/commonjs/Image/index.js.map +1 -1
- package/build/commonjs/ImageCore/ImageCoreNative.js +26 -26
- package/build/commonjs/ImageCore/ImageCoreNative.js.map +1 -1
- package/build/commonjs/ImageCore/ImageCoreProps.js.map +1 -1
- package/build/commonjs/ImageCore/ImageCoreWeb.js.map +1 -1
- package/build/commonjs/ImageCore/index.js.map +1 -1
- package/build/commonjs/ImageCore/index.native.js.map +1 -1
- package/build/commonjs/Link/Link.js +5 -4
- package/build/commonjs/Link/Link.js.map +1 -1
- package/build/commonjs/Link/LinkProps.js.map +1 -1
- package/build/commonjs/Link/index.js.map +1 -1
- package/build/commonjs/List/List.js +1 -1
- package/build/commonjs/List/List.js.map +1 -1
- package/build/commonjs/List/ListProps.js.map +1 -1
- package/build/commonjs/List/index.js.map +1 -1
- package/build/commonjs/ListItem/ListItem.js +1 -1
- package/build/commonjs/ListItem/ListItem.js.map +1 -1
- package/build/commonjs/ListItem/ListItemProps.js.map +1 -1
- package/build/commonjs/ListItem/index.js.map +1 -1
- package/build/commonjs/ListItemIcon/ListItemIcon.js +1 -1
- package/build/commonjs/ListItemIcon/ListItemIcon.js.map +1 -1
- package/build/commonjs/ListItemIcon/ListItemIconProps.js.map +1 -1
- package/build/commonjs/ListItemIcon/index.js.map +1 -1
- package/build/commonjs/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
- package/build/commonjs/ListItemSecondaryAction/ListItemSecondaryAction.js.map +1 -1
- package/build/commonjs/ListItemSecondaryAction/ListItemSecondaryActionProps.js.map +1 -1
- package/build/commonjs/ListItemSecondaryAction/index.js.map +1 -1
- package/build/commonjs/ListItemText/ListItemText.js +1 -1
- package/build/commonjs/ListItemText/ListItemText.js.map +1 -1
- package/build/commonjs/ListItemText/ListItemTextProps.js.map +1 -1
- package/build/commonjs/ListItemText/index.js.map +1 -1
- package/build/commonjs/ListSubheader/ListSubheader.js +1 -1
- package/build/commonjs/ListSubheader/ListSubheader.js.map +1 -1
- package/build/commonjs/ListSubheader/ListSubheaderProps.js.map +1 -1
- package/build/commonjs/ListSubheader/index.js.map +1 -1
- package/build/commonjs/Menu/Menu.js.map +1 -1
- package/build/commonjs/Menu/MenuProps.js.map +1 -1
- package/build/commonjs/Menu/index.js.map +1 -1
- package/build/commonjs/MenuItem/MenuItem.js.map +1 -1
- package/build/commonjs/MenuItem/MenuItemProps.js.map +1 -1
- package/build/commonjs/MenuItem/index.js.map +1 -1
- package/build/commonjs/Modal/Modal.js +2 -2
- package/build/commonjs/Modal/Modal.js.map +1 -1
- package/build/commonjs/Modal/ModalProps.js.map +1 -1
- package/build/commonjs/Modal/SimpleBackdrop.js +1 -1
- package/build/commonjs/Modal/SimpleBackdrop.js.map +1 -1
- package/build/commonjs/Modal/SimpleBackdropProps.js.map +1 -1
- package/build/commonjs/Modal/index.js +4 -4
- package/build/commonjs/Modal/index.js.map +1 -1
- package/build/commonjs/Pagination/Pagination.js +10 -7
- package/build/commonjs/Pagination/Pagination.js.map +1 -1
- package/build/commonjs/Pagination/PaginationProps.js.map +1 -1
- package/build/commonjs/Pagination/index.js.map +1 -1
- package/build/commonjs/PaginationItem/PaginationItem.js +1 -1
- package/build/commonjs/PaginationItem/PaginationItem.js.map +1 -1
- package/build/commonjs/PaginationItem/PaginationItemProps.js.map +1 -1
- package/build/commonjs/PaginationItem/index.js.map +1 -1
- package/build/commonjs/Paper/Paper.js +12 -4
- package/build/commonjs/Paper/Paper.js.map +1 -1
- package/build/commonjs/Paper/PaperProps.js.map +1 -1
- package/build/commonjs/Paper/PaperStylesProvider.js +14 -0
- package/build/commonjs/Paper/PaperStylesProvider.js.map +1 -0
- package/build/commonjs/Paper/index.js.map +1 -1
- package/build/commonjs/Paper/usePaperStyles.js +17 -0
- package/build/commonjs/Paper/usePaperStyles.js.map +1 -0
- package/build/commonjs/Portal/Portal.js.map +1 -1
- package/build/commonjs/Portal/PortalConsumer.js +2 -2
- package/build/commonjs/Portal/PortalConsumer.js.map +1 -1
- package/build/commonjs/Portal/PortalHost.js +2 -2
- package/build/commonjs/Portal/PortalHost.js.map +1 -1
- package/build/commonjs/Portal/PortalManager.js +11 -8
- package/build/commonjs/Portal/PortalManager.js.map +1 -1
- package/build/commonjs/Portal/PortalProps.js.map +1 -1
- package/build/commonjs/Portal/index.js.map +1 -1
- package/build/commonjs/Pressable/index.js.map +1 -1
- package/build/commonjs/Radio/Radio.js +3 -7
- package/build/commonjs/Radio/Radio.js.map +1 -1
- package/build/commonjs/Radio/RadioProps.js.map +1 -1
- package/build/commonjs/Radio/index.js.map +1 -1
- package/build/commonjs/RadioGroup/RadioContextProvider.js.map +1 -1
- package/build/commonjs/RadioGroup/RadioGroup.js.map +1 -1
- package/build/commonjs/RadioGroup/RadioGroupProps.js.map +1 -1
- package/build/commonjs/RadioGroup/index.js.map +1 -1
- package/build/commonjs/Row/Row.js.map +1 -1
- package/build/commonjs/Row/RowProps.js.map +1 -1
- package/build/commonjs/Row/index.js.map +1 -1
- package/build/commonjs/Slide/Slide.js +16 -20
- package/build/commonjs/Slide/Slide.js.map +1 -1
- package/build/commonjs/Slide/SlideProps.js.map +1 -1
- package/build/commonjs/Slide/index.js.map +1 -1
- package/build/commonjs/Slider/Slider.js +1 -1
- package/build/commonjs/Slider/Slider.js.map +1 -1
- package/build/commonjs/Slider/SliderProps.js.map +1 -1
- package/build/commonjs/Slider/index.js.map +1 -1
- package/build/commonjs/Snackbar/Snackbar.js +1 -1
- package/build/commonjs/Snackbar/Snackbar.js.map +1 -1
- package/build/commonjs/Snackbar/SnackbarProps.js.map +1 -1
- package/build/commonjs/Snackbar/index.js.map +1 -1
- package/build/commonjs/SnackbarContent/SnackbarContent.js +1 -1
- package/build/commonjs/SnackbarContent/SnackbarContent.js.map +1 -1
- package/build/commonjs/SnackbarContent/SnackbarContentProps.js.map +1 -1
- package/build/commonjs/SnackbarContent/index.js.map +1 -1
- package/build/commonjs/Spacer/Spacer.js +1 -1
- package/build/commonjs/Spacer/Spacer.js.map +1 -1
- package/build/commonjs/Spacer/SpacerProps.js.map +1 -1
- package/build/commonjs/Spacer/index.js.map +1 -1
- package/build/commonjs/SvgIcon/SvgIcon.js +2 -3
- package/build/commonjs/SvgIcon/SvgIcon.js.map +1 -1
- package/build/commonjs/SvgIcon/SvgIconProps.js.map +1 -1
- package/build/commonjs/SvgIcon/index.js.map +1 -1
- package/build/commonjs/Switch/Switch.js +1 -1
- package/build/commonjs/Switch/Switch.js.map +1 -1
- package/build/commonjs/Switch/SwitchProps.js.map +1 -1
- package/build/commonjs/Switch/index.js.map +1 -1
- package/build/commonjs/Tab/Tab.js +10 -6
- package/build/commonjs/Tab/Tab.js.map +1 -1
- package/build/commonjs/Tab/TabIndicator.js.map +1 -1
- package/build/commonjs/Tab/TabProps.js.map +1 -1
- package/build/commonjs/Tab/index.js.map +1 -1
- package/build/commonjs/TabBase/TabBase.js +1 -1
- package/build/commonjs/TabBase/TabBase.js.map +1 -1
- package/build/commonjs/TabBase/TabBaseProps.js.map +1 -1
- package/build/commonjs/TabBase/index.js.map +1 -1
- package/build/commonjs/Tabs/IndexAwareTab.js +35 -0
- package/build/commonjs/Tabs/IndexAwareTab.js.map +1 -0
- package/build/commonjs/Tabs/InternalContext.js +17 -0
- package/build/commonjs/Tabs/InternalContext.js.map +1 -0
- package/build/commonjs/Tabs/ScrollableTabsView.js +34 -0
- package/build/commonjs/Tabs/ScrollableTabsView.js.map +1 -0
- package/build/commonjs/Tabs/TabCoordinate.js.map +1 -1
- package/build/commonjs/Tabs/TabIndicator.js +65 -29
- package/build/commonjs/Tabs/TabIndicator.js.map +1 -1
- package/build/commonjs/Tabs/TabIndicatorProps.js.map +1 -1
- package/build/commonjs/Tabs/Tabs.js +62 -82
- package/build/commonjs/Tabs/Tabs.js.map +1 -1
- package/build/commonjs/Tabs/TabsProps.js.map +1 -1
- package/build/commonjs/Tabs/index.js.map +1 -1
- package/build/commonjs/Tabs/types.js +2 -0
- package/build/commonjs/Tabs/types.js.map +1 -0
- package/build/commonjs/Tabs/useIndexStore.js +35 -0
- package/build/commonjs/Tabs/useIndexStore.js.map +1 -0
- package/build/commonjs/Tabs/useScrollViewReaction.js +61 -0
- package/build/commonjs/Tabs/useScrollViewReaction.js.map +1 -0
- package/build/commonjs/Tabs/useTabCoordinates.js +30 -0
- package/build/commonjs/Tabs/useTabCoordinates.js.map +1 -0
- package/build/commonjs/Tabs/utils.js +19 -0
- package/build/commonjs/Tabs/utils.js.map +1 -0
- package/build/commonjs/TextField/InputLabel.js +11 -7
- package/build/commonjs/TextField/InputLabel.js.map +1 -1
- package/build/commonjs/TextField/OutlinedTextField.js +1 -2
- package/build/commonjs/TextField/OutlinedTextField.js.map +1 -1
- package/build/commonjs/TextField/TextField.js.map +1 -1
- package/build/commonjs/TextField/TextFieldProps.js.map +1 -1
- package/build/commonjs/TextField/index.js.map +1 -1
- package/build/commonjs/TextField/utils.js +1 -1
- package/build/commonjs/TextField/utils.js.map +1 -1
- package/build/commonjs/Toolbar/Toolbar.js +1 -1
- package/build/commonjs/Toolbar/Toolbar.js.map +1 -1
- package/build/commonjs/Toolbar/ToolbarProps.js.map +1 -1
- package/build/commonjs/Toolbar/index.js.map +1 -1
- package/build/commonjs/Tooltip/Tooltip.js +22 -24
- package/build/commonjs/Tooltip/Tooltip.js.map +1 -1
- package/build/commonjs/Tooltip/TooltipProps.js.map +1 -1
- package/build/commonjs/Tooltip/UpArrow.js +6 -5
- package/build/commonjs/Tooltip/UpArrow.js.map +1 -1
- package/build/commonjs/Tooltip/UpArrowProps.js.map +1 -1
- package/build/commonjs/Tooltip/index.js.map +1 -1
- package/build/commonjs/Typography/Typography.js.map +1 -1
- package/build/commonjs/Typography/TypographyProps.js.map +1 -1
- package/build/commonjs/Typography/index.js.map +1 -1
- package/build/commonjs/animated/AnimatedAppBar.js.map +1 -1
- package/build/commonjs/animated/AnimatedFlatList.js.map +1 -1
- package/build/commonjs/animated/AnimatedPressable.js +2 -3
- package/build/commonjs/animated/AnimatedPressable.js.map +1 -1
- package/build/commonjs/animated/AnimatedTypography.js.map +1 -1
- package/build/commonjs/animated/index.js.map +1 -1
- package/build/commonjs/hooks/index.js +16 -0
- package/build/commonjs/hooks/index.js.map +1 -1
- package/build/commonjs/hooks/useAppbarStyles.js.map +1 -1
- package/build/commonjs/hooks/useBreakpointUp.js.map +1 -1
- package/build/commonjs/hooks/useCollapsibleAppBar.js +58 -59
- package/build/commonjs/hooks/useCollapsibleAppBar.js.map +1 -1
- package/build/commonjs/hooks/useContentContainerStyle.js +2 -1
- package/build/commonjs/hooks/useContentContainerStyle.js.map +1 -1
- package/build/commonjs/hooks/useElevationStyle.js.map +1 -1
- package/build/commonjs/hooks/useFadeInAppBar.js +45 -35
- package/build/commonjs/hooks/useFadeInAppBar.js.map +1 -1
- package/build/commonjs/hooks/useImperativeState.js +26 -0
- package/build/commonjs/hooks/useImperativeState.js.map +1 -0
- package/build/commonjs/hooks/useSyncAnimatedValue.js +37 -0
- package/build/commonjs/hooks/useSyncAnimatedValue.js.map +1 -0
- package/build/commonjs/hooks/useThrottle.js +4 -8
- package/build/commonjs/hooks/useThrottle.js.map +1 -1
- package/build/commonjs/hooks/useValidWindowDimensions/index.ios.js +14 -7
- package/build/commonjs/hooks/useValidWindowDimensions/index.ios.js.map +1 -1
- package/build/commonjs/hooks/useValidWindowDimensions/index.js.map +1 -1
- package/build/commonjs/index.js +20 -6
- package/build/commonjs/index.js.map +1 -1
- package/build/commonjs/internal/hooks/index.js +0 -8
- package/build/commonjs/internal/hooks/index.js.map +1 -1
- package/build/commonjs/internal/hooks/useHeight.js +6 -9
- package/build/commonjs/internal/hooks/useHeight.js.map +1 -1
- package/build/commonjs/internal/icons/Checkbox.js.map +1 -1
- package/build/commonjs/internal/icons/CheckboxChecked.js +3 -8
- package/build/commonjs/internal/icons/CheckboxChecked.js.map +1 -1
- package/build/commonjs/internal/icons/ChevronDown.js.map +1 -1
- package/build/commonjs/internal/icons/ChevronLeft.js.map +1 -1
- package/build/commonjs/internal/icons/ChevronRight.js.map +1 -1
- package/build/commonjs/internal/icons/CircularProgress.js.map +1 -1
- package/build/commonjs/internal/icons/Close.js.map +1 -1
- package/build/commonjs/internal/icons/Radio.js.map +1 -1
- package/build/commonjs/internal/icons/RadioChecked.js.map +1 -1
- package/build/commonjs/internal/icons/index.js.map +1 -1
- package/build/commonjs/internal/index.js.map +1 -1
- package/build/commonjs/store/MockStore.js +23 -0
- package/build/commonjs/store/MockStore.js.map +1 -0
- package/build/commonjs/store/SimpleStore.js +53 -0
- package/build/commonjs/store/SimpleStore.js.map +1 -0
- package/build/commonjs/store/index.js +24 -0
- package/build/commonjs/store/index.js.map +1 -0
- package/build/commonjs/store/types.js +2 -0
- package/build/commonjs/store/types.js.map +1 -0
- package/build/commonjs/styles/EdgeInsets.js +9 -6
- package/build/commonjs/styles/EdgeInsets.js.map +1 -1
- package/build/commonjs/styles/PredefinedStyles.js.map +1 -1
- package/build/commonjs/styles/StyleSheet.js.map +1 -1
- package/build/commonjs/styles/ThemeProvider.js.map +1 -1
- package/build/commonjs/styles/createFontStyle.js +2 -2
- package/build/commonjs/styles/createFontStyle.js.map +1 -1
- package/build/commonjs/styles/index.js +14 -14
- package/build/commonjs/styles/index.js.map +1 -1
- package/build/commonjs/styles/styled.js +4 -4
- package/build/commonjs/styles/styled.js.map +1 -1
- package/build/commonjs/styles/useTheme.js.map +1 -1
- package/build/commonjs/types/index.js.map +1 -1
- package/build/commonjs/utils/cloneElementSafely.js +3 -1
- package/build/commonjs/utils/cloneElementSafely.js.map +1 -1
- package/build/commonjs/utils/createSvgIcon.js.map +1 -1
- package/build/commonjs/utils/index.js.map +1 -1
- package/build/module/Accordion/Accordion.js +6 -6
- package/build/module/Accordion/Accordion.js.map +1 -1
- package/build/module/Accordion/AccordionProps.js.map +1 -1
- package/build/module/Accordion/index.js.map +1 -1
- package/build/module/AppBar/AppBar.js +9 -14
- package/build/module/AppBar/AppBar.js.map +1 -1
- package/build/module/AppBar/AppBarProps.js.map +1 -1
- package/build/module/AppBar/index.js.map +1 -1
- package/build/module/AspectRatio/AspectRatioNative.js +1 -1
- package/build/module/AspectRatio/AspectRatioNative.js.map +1 -1
- package/build/module/AspectRatio/AspectRatioProps.js.map +1 -1
- package/build/module/AspectRatio/AspectRatioWeb.js +1 -1
- package/build/module/AspectRatio/AspectRatioWeb.js.map +1 -1
- package/build/module/AspectRatio/index.js.map +1 -1
- package/build/module/AspectRatio/index.native.js.map +1 -1
- package/build/module/AspectRatio/utils.js.map +1 -1
- package/build/module/Avatar/Avatar.js.map +1 -1
- package/build/module/Avatar/AvatarProps.js.map +1 -1
- package/build/module/Avatar/index.js.map +1 -1
- package/build/module/Badge/Badge.js +1 -1
- package/build/module/Badge/Badge.js.map +1 -1
- package/build/module/Badge/BadgeProps.js.map +1 -1
- package/build/module/Badge/index.js.map +1 -1
- package/build/module/Button/Button.js +2 -2
- package/build/module/Button/Button.js.map +1 -1
- package/build/module/Button/ButtonProps.js.map +1 -1
- package/build/module/Button/index.js.map +1 -1
- package/build/module/ButtonBase/ButtonBase.js +61 -50
- package/build/module/ButtonBase/ButtonBase.js.map +1 -1
- package/build/module/ButtonBase/ButtonBaseProps.js.map +1 -1
- package/build/module/ButtonBase/index.js.map +1 -1
- package/build/module/Card/Card.js +1 -1
- package/build/module/Card/Card.js.map +1 -1
- package/build/module/Card/CardProps.js.map +1 -1
- package/build/module/Card/index.js.map +1 -1
- package/build/module/CardActions/CardActions.js +1 -1
- package/build/module/CardActions/CardActions.js.map +1 -1
- package/build/module/CardActions/CardActionsProps.js.map +1 -1
- package/build/module/CardActions/index.js.map +1 -1
- package/build/module/CardContent/CardContent.js +1 -1
- package/build/module/CardContent/CardContent.js.map +1 -1
- package/build/module/CardContent/CardContentProps.js.map +1 -1
- package/build/module/CardContent/index.js.map +1 -1
- package/build/module/CardMedia/CardMedia.js +1 -1
- package/build/module/CardMedia/CardMedia.js.map +1 -1
- package/build/module/CardMedia/CardMediaProps.js.map +1 -1
- package/build/module/CardMedia/index.js.map +1 -1
- package/build/module/Checkbox/Checkbox.js +1 -1
- package/build/module/Checkbox/Checkbox.js.map +1 -1
- package/build/module/Checkbox/CheckboxProps.js.map +1 -1
- package/build/module/Checkbox/index.js.map +1 -1
- package/build/module/Chip/Chip.js +2 -2
- package/build/module/Chip/Chip.js.map +1 -1
- package/build/module/Chip/ChipProps.js.map +1 -1
- package/build/module/Chip/index.js.map +1 -1
- package/build/module/CircularProgress/CircularProgress.js +23 -20
- package/build/module/CircularProgress/CircularProgress.js.map +1 -1
- package/build/module/CircularProgress/index.js.map +1 -1
- package/build/module/Column/Column.js.map +1 -1
- package/build/module/Column/ColumnProps.js.map +1 -1
- package/build/module/Column/index.js.map +1 -1
- package/build/module/Dialog/Dialog.js +1 -1
- package/build/module/Dialog/Dialog.js.map +1 -1
- package/build/module/Dialog/DialogProps.js.map +1 -1
- package/build/module/Dialog/index.js.map +1 -1
- package/build/module/DialogActions/DialogActions.js +1 -1
- package/build/module/DialogActions/DialogActions.js.map +1 -1
- package/build/module/DialogActions/DialogActionsProps.js.map +1 -1
- package/build/module/DialogActions/index.js.map +1 -1
- package/build/module/DialogContent/DialogContent.js +1 -1
- package/build/module/DialogContent/DialogContent.js.map +1 -1
- package/build/module/DialogContent/DialogContentProps.js.map +1 -1
- package/build/module/DialogContent/index.js.map +1 -1
- package/build/module/DialogMedia/DialogMedia.js +1 -1
- package/build/module/DialogMedia/DialogMedia.js.map +1 -1
- package/build/module/DialogMedia/DialogMediaProps.js.map +1 -1
- package/build/module/DialogMedia/index.js.map +1 -1
- package/build/module/DialogTitle/DialogTitle.js +1 -1
- package/build/module/DialogTitle/DialogTitle.js.map +1 -1
- package/build/module/DialogTitle/DialogTitleProps.js.map +1 -1
- package/build/module/DialogTitle/index.js.map +1 -1
- package/build/module/Divider/Divider.js +1 -1
- package/build/module/Divider/Divider.js.map +1 -1
- package/build/module/Divider/DividerProps.js.map +1 -1
- package/build/module/Divider/index.js.map +1 -1
- package/build/module/Fab/Fab.js +2 -2
- package/build/module/Fab/Fab.js.map +1 -1
- package/build/module/Fab/FabProps.js.map +1 -1
- package/build/module/Fab/index.js.map +1 -1
- package/build/module/Flexbox/Flexbox.js +1 -1
- package/build/module/Flexbox/Flexbox.js.map +1 -1
- package/build/module/Flexbox/FlexboxProps.js.map +1 -1
- package/build/module/Flexbox/index.js.map +1 -1
- package/build/module/IconButton/IconButton.js +1 -1
- package/build/module/IconButton/IconButton.js.map +1 -1
- package/build/module/IconButton/IconButtonProps.js.map +1 -1
- package/build/module/IconButton/index.js.map +1 -1
- package/build/module/Image/Image.js +1 -1
- package/build/module/Image/Image.js.map +1 -1
- package/build/module/Image/ImageProps.js.map +1 -1
- package/build/module/Image/index.js.map +1 -1
- package/build/module/ImageCore/ImageCoreNative.js +20 -23
- package/build/module/ImageCore/ImageCoreNative.js.map +1 -1
- package/build/module/ImageCore/ImageCoreProps.js.map +1 -1
- package/build/module/ImageCore/ImageCoreWeb.js.map +1 -1
- package/build/module/ImageCore/index.js.map +1 -1
- package/build/module/ImageCore/index.native.js.map +1 -1
- package/build/module/Link/Link.js +5 -4
- package/build/module/Link/Link.js.map +1 -1
- package/build/module/Link/LinkProps.js.map +1 -1
- package/build/module/Link/index.js.map +1 -1
- package/build/module/List/List.js +1 -1
- package/build/module/List/List.js.map +1 -1
- package/build/module/List/ListProps.js.map +1 -1
- package/build/module/List/index.js.map +1 -1
- package/build/module/ListItem/ListItem.js +1 -1
- package/build/module/ListItem/ListItem.js.map +1 -1
- package/build/module/ListItem/ListItemProps.js.map +1 -1
- package/build/module/ListItem/index.js.map +1 -1
- package/build/module/ListItemIcon/ListItemIcon.js +1 -1
- package/build/module/ListItemIcon/ListItemIcon.js.map +1 -1
- package/build/module/ListItemIcon/ListItemIconProps.js.map +1 -1
- package/build/module/ListItemIcon/index.js.map +1 -1
- package/build/module/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
- package/build/module/ListItemSecondaryAction/ListItemSecondaryAction.js.map +1 -1
- package/build/module/ListItemSecondaryAction/ListItemSecondaryActionProps.js.map +1 -1
- package/build/module/ListItemSecondaryAction/index.js.map +1 -1
- package/build/module/ListItemText/ListItemText.js +1 -1
- package/build/module/ListItemText/ListItemText.js.map +1 -1
- package/build/module/ListItemText/ListItemTextProps.js.map +1 -1
- package/build/module/ListItemText/index.js.map +1 -1
- package/build/module/ListSubheader/ListSubheader.js +1 -1
- package/build/module/ListSubheader/ListSubheader.js.map +1 -1
- package/build/module/ListSubheader/ListSubheaderProps.js.map +1 -1
- package/build/module/ListSubheader/index.js.map +1 -1
- package/build/module/Menu/Menu.js.map +1 -1
- package/build/module/Menu/MenuProps.js.map +1 -1
- package/build/module/Menu/index.js.map +1 -1
- package/build/module/MenuItem/MenuItem.js.map +1 -1
- package/build/module/MenuItem/MenuItemProps.js.map +1 -1
- package/build/module/MenuItem/index.js.map +1 -1
- package/build/module/Modal/Modal.js +1 -1
- package/build/module/Modal/Modal.js.map +1 -1
- package/build/module/Modal/ModalProps.js.map +1 -1
- package/build/module/Modal/SimpleBackdrop.js +1 -1
- package/build/module/Modal/SimpleBackdrop.js.map +1 -1
- package/build/module/Modal/SimpleBackdropProps.js.map +1 -1
- package/build/module/Modal/index.js.map +1 -1
- package/build/module/Pagination/Pagination.js +10 -7
- package/build/module/Pagination/Pagination.js.map +1 -1
- package/build/module/Pagination/PaginationProps.js.map +1 -1
- package/build/module/Pagination/index.js.map +1 -1
- package/build/module/PaginationItem/PaginationItem.js +1 -1
- package/build/module/PaginationItem/PaginationItem.js.map +1 -1
- package/build/module/PaginationItem/PaginationItemProps.js.map +1 -1
- package/build/module/PaginationItem/index.js.map +1 -1
- package/build/module/Paper/Paper.js +11 -4
- package/build/module/Paper/Paper.js.map +1 -1
- package/build/module/Paper/PaperProps.js.map +1 -1
- package/build/module/Paper/PaperStylesProvider.js +4 -0
- package/build/module/Paper/PaperStylesProvider.js.map +1 -0
- package/build/module/Paper/index.js.map +1 -1
- package/build/module/Paper/usePaperStyles.js +7 -0
- package/build/module/Paper/usePaperStyles.js.map +1 -0
- package/build/module/Portal/Portal.js.map +1 -1
- package/build/module/Portal/PortalConsumer.js +2 -2
- package/build/module/Portal/PortalConsumer.js.map +1 -1
- package/build/module/Portal/PortalHost.js +2 -2
- package/build/module/Portal/PortalHost.js.map +1 -1
- package/build/module/Portal/PortalManager.js +11 -8
- package/build/module/Portal/PortalManager.js.map +1 -1
- package/build/module/Portal/PortalProps.js.map +1 -1
- package/build/module/Portal/index.js.map +1 -1
- package/build/module/Pressable/index.js.map +1 -1
- package/build/module/Radio/Radio.js +3 -7
- package/build/module/Radio/Radio.js.map +1 -1
- package/build/module/Radio/RadioProps.js.map +1 -1
- package/build/module/Radio/index.js.map +1 -1
- package/build/module/RadioGroup/RadioContextProvider.js.map +1 -1
- package/build/module/RadioGroup/RadioGroup.js.map +1 -1
- package/build/module/RadioGroup/RadioGroupProps.js.map +1 -1
- package/build/module/RadioGroup/index.js.map +1 -1
- package/build/module/Row/Row.js.map +1 -1
- package/build/module/Row/RowProps.js.map +1 -1
- package/build/module/Row/index.js.map +1 -1
- package/build/module/Slide/Slide.js +19 -15
- package/build/module/Slide/Slide.js.map +1 -1
- package/build/module/Slide/SlideProps.js.map +1 -1
- package/build/module/Slide/index.js.map +1 -1
- package/build/module/Slider/Slider.js +1 -1
- package/build/module/Slider/Slider.js.map +1 -1
- package/build/module/Slider/SliderProps.js.map +1 -1
- package/build/module/Slider/index.js.map +1 -1
- package/build/module/Snackbar/Snackbar.js +1 -1
- package/build/module/Snackbar/Snackbar.js.map +1 -1
- package/build/module/Snackbar/SnackbarProps.js.map +1 -1
- package/build/module/Snackbar/index.js.map +1 -1
- package/build/module/SnackbarContent/SnackbarContent.js +1 -1
- package/build/module/SnackbarContent/SnackbarContent.js.map +1 -1
- package/build/module/SnackbarContent/SnackbarContentProps.js.map +1 -1
- package/build/module/SnackbarContent/index.js.map +1 -1
- package/build/module/Spacer/Spacer.js +1 -1
- package/build/module/Spacer/Spacer.js.map +1 -1
- package/build/module/Spacer/SpacerProps.js.map +1 -1
- package/build/module/Spacer/index.js.map +1 -1
- package/build/module/SvgIcon/SvgIcon.js +2 -3
- package/build/module/SvgIcon/SvgIcon.js.map +1 -1
- package/build/module/SvgIcon/SvgIconProps.js.map +1 -1
- package/build/module/SvgIcon/index.js.map +1 -1
- package/build/module/Switch/Switch.js +1 -1
- package/build/module/Switch/Switch.js.map +1 -1
- package/build/module/Switch/SwitchProps.js.map +1 -1
- package/build/module/Switch/index.js.map +1 -1
- package/build/module/Tab/Tab.js +6 -6
- package/build/module/Tab/Tab.js.map +1 -1
- package/build/module/Tab/TabIndicator.js.map +1 -1
- package/build/module/Tab/TabProps.js.map +1 -1
- package/build/module/Tab/index.js.map +1 -1
- package/build/module/TabBase/TabBase.js +1 -1
- package/build/module/TabBase/TabBase.js.map +1 -1
- package/build/module/TabBase/TabBaseProps.js.map +1 -1
- package/build/module/TabBase/index.js.map +1 -1
- package/build/module/Tabs/IndexAwareTab.js +23 -0
- package/build/module/Tabs/IndexAwareTab.js.map +1 -0
- package/build/module/Tabs/InternalContext.js +7 -0
- package/build/module/Tabs/InternalContext.js.map +1 -0
- package/build/module/Tabs/ScrollableTabsView.js +21 -0
- package/build/module/Tabs/ScrollableTabsView.js.map +1 -0
- package/build/module/Tabs/TabCoordinate.js.map +1 -1
- package/build/module/Tabs/TabIndicator.js +58 -25
- package/build/module/Tabs/TabIndicator.js.map +1 -1
- package/build/module/Tabs/TabIndicatorProps.js.map +1 -1
- package/build/module/Tabs/Tabs.js +55 -70
- package/build/module/Tabs/Tabs.js.map +1 -1
- package/build/module/Tabs/TabsProps.js.map +1 -1
- package/build/module/Tabs/index.js.map +1 -1
- package/build/module/Tabs/types.js +2 -0
- package/build/module/Tabs/types.js.map +1 -0
- package/build/module/Tabs/useIndexStore.js +25 -0
- package/build/module/Tabs/useIndexStore.js.map +1 -0
- package/build/module/Tabs/useScrollViewReaction.js +49 -0
- package/build/module/Tabs/useScrollViewReaction.js.map +1 -0
- package/build/module/Tabs/useTabCoordinates.js +21 -0
- package/build/module/Tabs/useTabCoordinates.js.map +1 -0
- package/build/module/Tabs/utils.js +9 -0
- package/build/module/Tabs/utils.js.map +1 -0
- package/build/module/TextField/InputLabel.js +10 -7
- package/build/module/TextField/InputLabel.js.map +1 -1
- package/build/module/TextField/OutlinedTextField.js +1 -2
- package/build/module/TextField/OutlinedTextField.js.map +1 -1
- package/build/module/TextField/TextField.js.map +1 -1
- package/build/module/TextField/TextFieldProps.js.map +1 -1
- package/build/module/TextField/index.js.map +1 -1
- package/build/module/TextField/utils.js.map +1 -1
- package/build/module/Toolbar/Toolbar.js +1 -1
- package/build/module/Toolbar/Toolbar.js.map +1 -1
- package/build/module/Toolbar/ToolbarProps.js.map +1 -1
- package/build/module/Toolbar/index.js.map +1 -1
- package/build/module/Tooltip/Tooltip.js +17 -17
- package/build/module/Tooltip/Tooltip.js.map +1 -1
- package/build/module/Tooltip/TooltipProps.js.map +1 -1
- package/build/module/Tooltip/UpArrow.js +6 -5
- package/build/module/Tooltip/UpArrow.js.map +1 -1
- package/build/module/Tooltip/UpArrowProps.js.map +1 -1
- package/build/module/Tooltip/index.js.map +1 -1
- package/build/module/Typography/Typography.js.map +1 -1
- package/build/module/Typography/TypographyProps.js.map +1 -1
- package/build/module/Typography/index.js.map +1 -1
- package/build/module/animated/AnimatedAppBar.js.map +1 -1
- package/build/module/animated/AnimatedFlatList.js.map +1 -1
- package/build/module/animated/AnimatedPressable.js +2 -3
- package/build/module/animated/AnimatedPressable.js.map +1 -1
- package/build/module/animated/AnimatedTypography.js.map +1 -1
- package/build/module/animated/index.js.map +1 -1
- package/build/module/hooks/index.js +2 -0
- package/build/module/hooks/index.js.map +1 -1
- package/build/module/hooks/useAppbarStyles.js.map +1 -1
- package/build/module/hooks/useBreakpointUp.js.map +1 -1
- package/build/module/hooks/useCollapsibleAppBar.js +60 -51
- package/build/module/hooks/useCollapsibleAppBar.js.map +1 -1
- package/build/module/hooks/useContentContainerStyle.js +2 -1
- package/build/module/hooks/useContentContainerStyle.js.map +1 -1
- package/build/module/hooks/useElevationStyle.js.map +1 -1
- package/build/module/hooks/useFadeInAppBar.js +48 -28
- package/build/module/hooks/useFadeInAppBar.js.map +1 -1
- package/build/module/hooks/useImperativeState.js +17 -0
- package/build/module/hooks/useImperativeState.js.map +1 -0
- package/build/module/hooks/useSyncAnimatedValue.js +27 -0
- package/build/module/hooks/useSyncAnimatedValue.js.map +1 -0
- package/build/module/hooks/useThrottle.js +4 -4
- package/build/module/hooks/useThrottle.js.map +1 -1
- package/build/module/hooks/useValidWindowDimensions/index.ios.js +15 -9
- package/build/module/hooks/useValidWindowDimensions/index.ios.js.map +1 -1
- package/build/module/hooks/useValidWindowDimensions/index.js.map +1 -1
- package/build/module/index.js +1 -0
- package/build/module/index.js.map +1 -1
- package/build/module/internal/hooks/index.js +0 -1
- package/build/module/internal/hooks/index.js.map +1 -1
- package/build/module/internal/hooks/useHeight.js +6 -5
- package/build/module/internal/hooks/useHeight.js.map +1 -1
- package/build/module/internal/icons/Checkbox.js.map +1 -1
- package/build/module/internal/icons/CheckboxChecked.js +3 -8
- package/build/module/internal/icons/CheckboxChecked.js.map +1 -1
- package/build/module/internal/icons/ChevronDown.js.map +1 -1
- package/build/module/internal/icons/ChevronLeft.js.map +1 -1
- package/build/module/internal/icons/ChevronRight.js.map +1 -1
- package/build/module/internal/icons/CircularProgress.js.map +1 -1
- package/build/module/internal/icons/Close.js.map +1 -1
- package/build/module/internal/icons/Radio.js.map +1 -1
- package/build/module/internal/icons/RadioChecked.js.map +1 -1
- package/build/module/internal/icons/index.js.map +1 -1
- package/build/module/internal/index.js.map +1 -1
- package/build/module/store/MockStore.js +14 -0
- package/build/module/store/MockStore.js.map +1 -0
- package/build/module/store/SimpleStore.js +44 -0
- package/build/module/store/SimpleStore.js.map +1 -0
- package/build/module/store/index.js +3 -0
- package/build/module/store/index.js.map +1 -0
- package/build/module/store/types.js +2 -0
- package/build/module/store/types.js.map +1 -0
- package/build/module/styles/EdgeInsets.js +9 -6
- package/build/module/styles/EdgeInsets.js.map +1 -1
- package/build/module/styles/PredefinedStyles.js.map +1 -1
- package/build/module/styles/StyleSheet.js.map +1 -1
- package/build/module/styles/ThemeProvider.js.map +1 -1
- package/build/module/styles/createFontStyle.js +2 -2
- package/build/module/styles/createFontStyle.js.map +1 -1
- package/build/module/styles/index.js.map +1 -1
- package/build/module/styles/styled.js.map +1 -1
- package/build/module/styles/useTheme.js.map +1 -1
- package/build/module/types/index.js.map +1 -1
- package/build/module/utils/cloneElementSafely.js +3 -1
- package/build/module/utils/cloneElementSafely.js.map +1 -1
- package/build/module/utils/createSvgIcon.js.map +1 -1
- package/build/module/utils/index.js.map +1 -1
- package/build/typescript/Accordion/Accordion.d.ts +0 -1
- package/build/typescript/AppBar/AppBarProps.d.ts +1 -1
- package/build/typescript/AspectRatio/AspectRatioNative.d.ts +0 -1
- package/build/typescript/AspectRatio/AspectRatioWeb.d.ts +0 -1
- package/build/typescript/Avatar/Avatar.d.ts +0 -1
- package/build/typescript/Badge/Badge.d.ts +0 -1
- package/build/typescript/Button/Button.d.ts +0 -1
- package/build/typescript/ButtonBase/ButtonBase.d.ts +0 -1
- package/build/typescript/Card/Card.d.ts +0 -1
- package/build/typescript/CardActions/CardActions.d.ts +0 -1
- package/build/typescript/CardContent/CardContent.d.ts +0 -1
- package/build/typescript/CardMedia/CardMedia.d.ts +0 -1
- package/build/typescript/Checkbox/Checkbox.d.ts +0 -1
- package/build/typescript/Chip/Chip.d.ts +0 -1
- package/build/typescript/CircularProgress/CircularProgress.d.ts +1 -2
- package/build/typescript/Column/Column.d.ts +0 -1
- package/build/typescript/Dialog/Dialog.d.ts +0 -1
- package/build/typescript/DialogActions/DialogActions.d.ts +0 -1
- package/build/typescript/DialogContent/DialogContent.d.ts +0 -1
- package/build/typescript/DialogMedia/DialogMedia.d.ts +0 -1
- package/build/typescript/DialogTitle/DialogTitle.d.ts +0 -1
- package/build/typescript/Divider/Divider.d.ts +0 -1
- package/build/typescript/Fab/Fab.d.ts +0 -1
- package/build/typescript/Flexbox/Flexbox.d.ts +0 -1
- package/build/typescript/IconButton/IconButton.d.ts +0 -1
- package/build/typescript/Image/Image.d.ts +0 -1
- package/build/typescript/ImageCore/ImageCoreNative.d.ts +0 -1
- package/build/typescript/ImageCore/ImageCoreWeb.d.ts +0 -1
- package/build/typescript/Link/Link.d.ts +0 -1
- package/build/typescript/List/List.d.ts +0 -1
- package/build/typescript/ListItem/ListItem.d.ts +0 -1
- package/build/typescript/ListItemIcon/ListItemIcon.d.ts +0 -1
- package/build/typescript/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +0 -1
- package/build/typescript/ListItemText/ListItemText.d.ts +0 -1
- package/build/typescript/ListSubheader/ListSubheader.d.ts +0 -1
- package/build/typescript/Menu/Menu.d.ts +0 -1
- package/build/typescript/MenuItem/MenuItem.d.ts +0 -1
- package/build/typescript/Modal/Modal.d.ts +0 -1
- package/build/typescript/Pagination/Pagination.d.ts +0 -1
- package/build/typescript/Paper/PaperProps.d.ts +5 -0
- package/build/typescript/Paper/PaperStylesProvider.d.ts +7 -0
- package/build/typescript/Paper/usePaperStyles.d.ts +1 -0
- package/build/typescript/Portal/Portal.d.ts +0 -1
- package/build/typescript/Radio/Radio.d.ts +0 -1
- package/build/typescript/RadioGroup/RadioGroup.d.ts +0 -1
- package/build/typescript/Row/Row.d.ts +0 -1
- package/build/typescript/Slide/Slide.d.ts +0 -1
- package/build/typescript/Slider/Slider.d.ts +1 -1
- package/build/typescript/Snackbar/Snackbar.d.ts +0 -1
- package/build/typescript/SnackbarContent/SnackbarContent.d.ts +0 -1
- package/build/typescript/Spacer/Spacer.d.ts +0 -1
- package/build/typescript/SvgIcon/SvgIcon.d.ts +0 -1
- package/build/typescript/SvgIcon/SvgIconProps.d.ts +1 -1
- package/build/typescript/Switch/Switch.d.ts +0 -1
- package/build/typescript/Tab/Tab.d.ts +0 -1
- package/build/typescript/TabBase/TabBase.d.ts +0 -1
- package/build/typescript/Tabs/IndexAwareTab.d.ts +8 -0
- package/build/typescript/Tabs/InternalContext.d.ts +7 -0
- package/build/typescript/Tabs/ScrollableTabsView.d.ts +6 -0
- package/build/typescript/Tabs/TabIndicator.d.ts +0 -1
- package/build/typescript/Tabs/TabIndicatorProps.d.ts +4 -5
- package/build/typescript/Tabs/Tabs.d.ts +4 -2
- package/build/typescript/Tabs/TabsProps.d.ts +12 -12
- package/build/typescript/Tabs/index.d.ts +1 -0
- package/build/typescript/Tabs/types.d.ts +9 -0
- package/build/typescript/Tabs/useIndexStore.d.ts +3 -0
- package/build/typescript/Tabs/useScrollViewReaction.d.ts +8 -0
- package/build/typescript/Tabs/useTabCoordinates.d.ts +6 -0
- package/build/typescript/Tabs/utils.d.ts +3 -0
- package/build/typescript/TextField/InputLabel.d.ts +0 -1
- package/build/typescript/Toolbar/Toolbar.d.ts +0 -1
- package/build/typescript/Tooltip/Tooltip.d.ts +0 -1
- package/build/typescript/animated/AnimatedPressable.d.ts +2 -2
- package/build/typescript/hooks/index.d.ts +2 -0
- package/build/typescript/hooks/useCollapsibleAppBar.d.ts +0 -1
- package/build/typescript/hooks/useFadeInAppBar.d.ts +3 -4
- package/build/typescript/hooks/useImperativeState.d.ts +6 -0
- package/build/typescript/hooks/useSyncAnimatedValue.d.ts +6 -0
- package/build/typescript/hooks/useValidWindowDimensions/index.ios.d.ts +2 -1
- package/build/typescript/index.d.ts +1 -0
- package/build/typescript/internal/hooks/index.d.ts +0 -1
- package/build/typescript/internal/icons/Checkbox.d.ts +18 -4
- package/build/typescript/internal/icons/CheckboxChecked.d.ts +18 -4
- package/build/typescript/internal/icons/ChevronDown.d.ts +18 -4
- package/build/typescript/internal/icons/ChevronLeft.d.ts +18 -4
- package/build/typescript/internal/icons/ChevronRight.d.ts +18 -4
- package/build/typescript/internal/icons/CircularProgress.d.ts +0 -1
- package/build/typescript/internal/icons/Close.d.ts +18 -4
- package/build/typescript/internal/icons/Radio.d.ts +18 -4
- package/build/typescript/internal/icons/RadioChecked.d.ts +18 -4
- package/build/typescript/store/MockStore.d.ts +6 -0
- package/build/typescript/store/SimpleStore.d.ts +9 -0
- package/build/typescript/store/index.d.ts +3 -0
- package/build/typescript/store/types.d.ts +8 -0
- package/build/typescript/types/index.d.ts +6 -0
- package/package.json +5 -5
- package/src/Accordion/Accordion.tsx +8 -6
- package/src/AppBar/AppBar.tsx +13 -21
- package/src/AppBar/AppBarProps.ts +1 -1
- package/src/Button/Button.tsx +1 -1
- package/src/ButtonBase/ButtonBase.tsx +69 -42
- package/src/Chip/Chip.tsx +1 -1
- package/src/CircularProgress/CircularProgress.tsx +36 -27
- package/src/Fab/Fab.tsx +1 -1
- package/src/ImageCore/ImageCoreNative.tsx +17 -18
- package/src/Paper/Paper.tsx +14 -8
- package/src/Paper/PaperProps.ts +6 -0
- package/src/Paper/PaperStylesProvider.tsx +9 -0
- package/src/Paper/usePaperStyles.ts +6 -0
- package/src/Slide/Slide.tsx +22 -19
- package/src/SvgIcon/SvgIcon.tsx +1 -2
- package/src/SvgIcon/SvgIconProps.ts +1 -1
- package/src/Tab/Tab.tsx +5 -5
- package/src/Tabs/IndexAwareTab.tsx +29 -0
- package/src/Tabs/InternalContext.ts +13 -0
- package/src/Tabs/ScrollableTabsView.tsx +26 -0
- package/src/Tabs/TabIndicator.tsx +48 -24
- package/src/Tabs/TabIndicatorProps.ts +4 -5
- package/src/Tabs/Tabs.tsx +88 -96
- package/src/Tabs/TabsProps.ts +15 -23
- package/src/Tabs/index.ts +2 -1
- package/src/Tabs/types.ts +18 -0
- package/src/Tabs/useIndexStore.ts +31 -0
- package/src/Tabs/useScrollViewReaction.ts +52 -0
- package/src/Tabs/useTabCoordinates.ts +25 -0
- package/src/Tabs/utils.ts +14 -0
- package/src/TextField/InputLabel.tsx +12 -5
- package/src/TextField/OutlinedTextField.tsx +1 -1
- package/src/Tooltip/Tooltip.tsx +19 -18
- package/src/animated/AnimatedPressable.tsx +1 -2
- package/src/hooks/index.ts +2 -0
- package/src/hooks/useCollapsibleAppBar.ts +58 -43
- package/src/hooks/useFadeInAppBar.ts +44 -30
- package/src/hooks/useImperativeState.ts +24 -0
- package/src/hooks/useSyncAnimatedValue.ts +37 -0
- package/src/hooks/useThrottle.ts +3 -3
- package/src/hooks/useValidWindowDimensions/index.ios.ts +16 -10
- package/src/index.ts +2 -0
- package/src/internal/hooks/index.ts +0 -1
- package/src/internal/hooks/useHeight.ts +4 -4
- package/src/internal/icons/CheckboxChecked.tsx +3 -11
- package/src/store/MockStore.ts +17 -0
- package/src/store/SimpleStore.ts +43 -0
- package/src/store/index.ts +3 -0
- package/src/store/types.ts +9 -0
- package/src/types/index.ts +7 -0
- package/src/utils/cloneElementSafely.ts +1 -1
- package/build/commonjs/ButtonBase/ButtonBase.ios.js +0 -99
- package/build/commonjs/ButtonBase/ButtonBase.ios.js.map +0 -1
- package/build/commonjs/ButtonBase/useDisabledReaction/index.js +0 -23
- package/build/commonjs/ButtonBase/useDisabledReaction/index.js.map +0 -1
- package/build/commonjs/ButtonBase/useDisabledReaction/index.native.js +0 -9
- package/build/commonjs/ButtonBase/useDisabledReaction/index.native.js.map +0 -1
- package/build/commonjs/ImageCore/ImageCoreNative.ios.js +0 -60
- package/build/commonjs/ImageCore/ImageCoreNative.ios.js.map +0 -1
- package/build/commonjs/internal/hooks/useWidth.js +0 -29
- package/build/commonjs/internal/hooks/useWidth.js.map +0 -1
- package/build/module/ButtonBase/ButtonBase.ios.js +0 -80
- package/build/module/ButtonBase/ButtonBase.ios.js.map +0 -1
- package/build/module/ButtonBase/useDisabledReaction/index.js +0 -12
- package/build/module/ButtonBase/useDisabledReaction/index.js.map +0 -1
- package/build/module/ButtonBase/useDisabledReaction/index.native.js +0 -2
- package/build/module/ButtonBase/useDisabledReaction/index.native.js.map +0 -1
- package/build/module/ImageCore/ImageCoreNative.ios.js +0 -45
- package/build/module/ImageCore/ImageCoreNative.ios.js.map +0 -1
- package/build/module/internal/hooks/useWidth.js +0 -15
- package/build/module/internal/hooks/useWidth.js.map +0 -1
- package/build/typescript/ButtonBase/ButtonBase.ios.d.ts +0 -3
- package/build/typescript/ButtonBase/useDisabledReaction/index.d.ts +0 -2
- package/build/typescript/ButtonBase/useDisabledReaction/index.native.d.ts +0 -2
- package/build/typescript/ImageCore/ImageCoreNative.ios.d.ts +0 -3
- package/build/typescript/internal/hooks/useWidth.d.ts +0 -2
- package/src/ButtonBase/ButtonBase.ios.tsx +0 -95
- package/src/ButtonBase/useDisabledReaction/index.native.ts +0 -4
- package/src/ButtonBase/useDisabledReaction/index.ts +0 -15
- package/src/ImageCore/ImageCoreNative.ios.tsx +0 -46
- package/src/internal/hooks/useWidth.ts +0 -17
|
@@ -2,8 +2,14 @@ import React from 'react';
|
|
|
2
2
|
declare const _default: React.MemoExoticComponent<{
|
|
3
3
|
(props: {
|
|
4
4
|
readonly color?: import("../..").CommonComponentColor | undefined;
|
|
5
|
-
|
|
5
|
+
fontFamily?: string | undefined;
|
|
6
|
+
fontSize?: import("react-native-svg").NumberProp | undefined;
|
|
7
|
+
fontWeight?: import("react-native-svg").FontWeight | undefined;
|
|
8
|
+
letterSpacing?: import("react-native-svg").NumberProp | undefined;
|
|
9
|
+
readonly fill?: import("react-native").ColorValue | undefined;
|
|
10
|
+
fontStyle?: import("react-native-svg").FontStyle | undefined;
|
|
6
11
|
testID?: string | undefined;
|
|
12
|
+
fontVariant?: import("react-native-svg").FontVariant | undefined;
|
|
7
13
|
opacity?: import("react-native-svg").NumberProp | undefined;
|
|
8
14
|
readonly height?: import("react-native-svg").NumberProp | undefined;
|
|
9
15
|
readonly width?: import("react-native-svg").NumberProp | undefined;
|
|
@@ -23,7 +29,7 @@ declare const _default: React.MemoExoticComponent<{
|
|
|
23
29
|
preserveAspectRatio?: string | undefined;
|
|
24
30
|
fillOpacity?: import("react-native-svg").NumberProp | undefined;
|
|
25
31
|
fillRule?: import("react-native-svg").FillRule | undefined;
|
|
26
|
-
stroke?: import("react-native
|
|
32
|
+
stroke?: import("react-native").ColorValue | undefined;
|
|
27
33
|
strokeWidth?: import("react-native-svg").NumberProp | undefined;
|
|
28
34
|
strokeOpacity?: import("react-native-svg").NumberProp | undefined;
|
|
29
35
|
strokeDasharray?: import("react-native-svg").NumberProp | readonly import("react-native-svg").NumberProp[] | undefined;
|
|
@@ -31,6 +37,7 @@ declare const _default: React.MemoExoticComponent<{
|
|
|
31
37
|
strokeLinecap?: import("react-native-svg").Linecap | undefined;
|
|
32
38
|
strokeLinejoin?: import("react-native-svg").Linejoin | undefined;
|
|
33
39
|
strokeMiterlimit?: import("react-native-svg").NumberProp | undefined;
|
|
40
|
+
vectorEffect?: import("react-native-svg").VectorEffect | undefined;
|
|
34
41
|
clipRule?: import("react-native-svg").FillRule | undefined;
|
|
35
42
|
clipPath?: string | undefined;
|
|
36
43
|
translate?: import("react-native-svg").NumberArray | undefined;
|
|
@@ -40,7 +47,6 @@ declare const _default: React.MemoExoticComponent<{
|
|
|
40
47
|
skew?: import("react-native-svg").NumberArray | undefined;
|
|
41
48
|
x?: import("react-native-svg").NumberArray | undefined;
|
|
42
49
|
y?: import("react-native-svg").NumberArray | undefined;
|
|
43
|
-
vectorEffect?: "none" | "inherit" | "default" | "non-scaling-stroke" | "nonScalingStroke" | "uri" | undefined;
|
|
44
50
|
pointerEvents?: "auto" | "none" | "box-none" | "box-only" | undefined;
|
|
45
51
|
onStartShouldSetResponder?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
46
52
|
onMoveShouldSetResponder?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
@@ -68,6 +74,15 @@ declare const _default: React.MemoExoticComponent<{
|
|
|
68
74
|
markerMid?: string | undefined;
|
|
69
75
|
markerEnd?: string | undefined;
|
|
70
76
|
mask?: string | undefined;
|
|
77
|
+
font?: import("react-native-svg").FontObject | undefined;
|
|
78
|
+
fontStretch?: import("react-native-svg").FontStretch | undefined;
|
|
79
|
+
textAnchor?: import("react-native-svg").TextAnchor | undefined;
|
|
80
|
+
textDecoration?: import("react-native-svg").TextDecoration | undefined;
|
|
81
|
+
wordSpacing?: import("react-native-svg").NumberProp | undefined;
|
|
82
|
+
kerning?: import("react-native-svg").NumberProp | undefined;
|
|
83
|
+
fontFeatureSettings?: string | undefined;
|
|
84
|
+
fontVariantLigatures?: import("react-native-svg").FontVariantLigatures | undefined;
|
|
85
|
+
fontVariationSettings?: string | undefined;
|
|
71
86
|
hitSlop?: import("react-native").Insets | undefined;
|
|
72
87
|
removeClippedSubviews?: boolean | undefined;
|
|
73
88
|
nativeID?: string | undefined;
|
|
@@ -107,7 +122,6 @@ declare const _default: React.MemoExoticComponent<{
|
|
|
107
122
|
onAccessibilityTap?: (() => void) | undefined;
|
|
108
123
|
onMagicTap?: (() => void) | undefined;
|
|
109
124
|
accessibilityIgnoresInvertColors?: boolean | undefined;
|
|
110
|
-
readonly colorValue?: string | undefined;
|
|
111
125
|
}): JSX.Element;
|
|
112
126
|
displayName: string;
|
|
113
127
|
}>;
|
|
@@ -2,8 +2,14 @@ import React from 'react';
|
|
|
2
2
|
declare const _default: React.MemoExoticComponent<{
|
|
3
3
|
(props: {
|
|
4
4
|
readonly color?: import("../..").CommonComponentColor | undefined;
|
|
5
|
-
|
|
5
|
+
fontFamily?: string | undefined;
|
|
6
|
+
fontSize?: import("react-native-svg").NumberProp | undefined;
|
|
7
|
+
fontWeight?: import("react-native-svg").FontWeight | undefined;
|
|
8
|
+
letterSpacing?: import("react-native-svg").NumberProp | undefined;
|
|
9
|
+
readonly fill?: import("react-native").ColorValue | undefined;
|
|
10
|
+
fontStyle?: import("react-native-svg").FontStyle | undefined;
|
|
6
11
|
testID?: string | undefined;
|
|
12
|
+
fontVariant?: import("react-native-svg").FontVariant | undefined;
|
|
7
13
|
opacity?: import("react-native-svg").NumberProp | undefined;
|
|
8
14
|
readonly height?: import("react-native-svg").NumberProp | undefined;
|
|
9
15
|
readonly width?: import("react-native-svg").NumberProp | undefined;
|
|
@@ -23,7 +29,7 @@ declare const _default: React.MemoExoticComponent<{
|
|
|
23
29
|
preserveAspectRatio?: string | undefined;
|
|
24
30
|
fillOpacity?: import("react-native-svg").NumberProp | undefined;
|
|
25
31
|
fillRule?: import("react-native-svg").FillRule | undefined;
|
|
26
|
-
stroke?: import("react-native
|
|
32
|
+
stroke?: import("react-native").ColorValue | undefined;
|
|
27
33
|
strokeWidth?: import("react-native-svg").NumberProp | undefined;
|
|
28
34
|
strokeOpacity?: import("react-native-svg").NumberProp | undefined;
|
|
29
35
|
strokeDasharray?: import("react-native-svg").NumberProp | readonly import("react-native-svg").NumberProp[] | undefined;
|
|
@@ -31,6 +37,7 @@ declare const _default: React.MemoExoticComponent<{
|
|
|
31
37
|
strokeLinecap?: import("react-native-svg").Linecap | undefined;
|
|
32
38
|
strokeLinejoin?: import("react-native-svg").Linejoin | undefined;
|
|
33
39
|
strokeMiterlimit?: import("react-native-svg").NumberProp | undefined;
|
|
40
|
+
vectorEffect?: import("react-native-svg").VectorEffect | undefined;
|
|
34
41
|
clipRule?: import("react-native-svg").FillRule | undefined;
|
|
35
42
|
clipPath?: string | undefined;
|
|
36
43
|
translate?: import("react-native-svg").NumberArray | undefined;
|
|
@@ -40,7 +47,6 @@ declare const _default: React.MemoExoticComponent<{
|
|
|
40
47
|
skew?: import("react-native-svg").NumberArray | undefined;
|
|
41
48
|
x?: import("react-native-svg").NumberArray | undefined;
|
|
42
49
|
y?: import("react-native-svg").NumberArray | undefined;
|
|
43
|
-
vectorEffect?: "none" | "inherit" | "default" | "non-scaling-stroke" | "nonScalingStroke" | "uri" | undefined;
|
|
44
50
|
pointerEvents?: "auto" | "none" | "box-none" | "box-only" | undefined;
|
|
45
51
|
onStartShouldSetResponder?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
46
52
|
onMoveShouldSetResponder?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
@@ -68,6 +74,15 @@ declare const _default: React.MemoExoticComponent<{
|
|
|
68
74
|
markerMid?: string | undefined;
|
|
69
75
|
markerEnd?: string | undefined;
|
|
70
76
|
mask?: string | undefined;
|
|
77
|
+
font?: import("react-native-svg").FontObject | undefined;
|
|
78
|
+
fontStretch?: import("react-native-svg").FontStretch | undefined;
|
|
79
|
+
textAnchor?: import("react-native-svg").TextAnchor | undefined;
|
|
80
|
+
textDecoration?: import("react-native-svg").TextDecoration | undefined;
|
|
81
|
+
wordSpacing?: import("react-native-svg").NumberProp | undefined;
|
|
82
|
+
kerning?: import("react-native-svg").NumberProp | undefined;
|
|
83
|
+
fontFeatureSettings?: string | undefined;
|
|
84
|
+
fontVariantLigatures?: import("react-native-svg").FontVariantLigatures | undefined;
|
|
85
|
+
fontVariationSettings?: string | undefined;
|
|
71
86
|
hitSlop?: import("react-native").Insets | undefined;
|
|
72
87
|
removeClippedSubviews?: boolean | undefined;
|
|
73
88
|
nativeID?: string | undefined;
|
|
@@ -107,7 +122,6 @@ declare const _default: React.MemoExoticComponent<{
|
|
|
107
122
|
onAccessibilityTap?: (() => void) | undefined;
|
|
108
123
|
onMagicTap?: (() => void) | undefined;
|
|
109
124
|
accessibilityIgnoresInvertColors?: boolean | undefined;
|
|
110
|
-
readonly colorValue?: string | undefined;
|
|
111
125
|
}): JSX.Element;
|
|
112
126
|
displayName: string;
|
|
113
127
|
}>;
|
|
@@ -2,8 +2,14 @@ import React from 'react';
|
|
|
2
2
|
declare const _default: React.MemoExoticComponent<{
|
|
3
3
|
(props: {
|
|
4
4
|
readonly color?: import("../..").CommonComponentColor | undefined;
|
|
5
|
-
|
|
5
|
+
fontFamily?: string | undefined;
|
|
6
|
+
fontSize?: import("react-native-svg").NumberProp | undefined;
|
|
7
|
+
fontWeight?: import("react-native-svg").FontWeight | undefined;
|
|
8
|
+
letterSpacing?: import("react-native-svg").NumberProp | undefined;
|
|
9
|
+
readonly fill?: import("react-native").ColorValue | undefined;
|
|
10
|
+
fontStyle?: import("react-native-svg").FontStyle | undefined;
|
|
6
11
|
testID?: string | undefined;
|
|
12
|
+
fontVariant?: import("react-native-svg").FontVariant | undefined;
|
|
7
13
|
opacity?: import("react-native-svg").NumberProp | undefined;
|
|
8
14
|
readonly height?: import("react-native-svg").NumberProp | undefined;
|
|
9
15
|
readonly width?: import("react-native-svg").NumberProp | undefined;
|
|
@@ -23,7 +29,7 @@ declare const _default: React.MemoExoticComponent<{
|
|
|
23
29
|
preserveAspectRatio?: string | undefined;
|
|
24
30
|
fillOpacity?: import("react-native-svg").NumberProp | undefined;
|
|
25
31
|
fillRule?: import("react-native-svg").FillRule | undefined;
|
|
26
|
-
stroke?: import("react-native
|
|
32
|
+
stroke?: import("react-native").ColorValue | undefined;
|
|
27
33
|
strokeWidth?: import("react-native-svg").NumberProp | undefined;
|
|
28
34
|
strokeOpacity?: import("react-native-svg").NumberProp | undefined;
|
|
29
35
|
strokeDasharray?: import("react-native-svg").NumberProp | readonly import("react-native-svg").NumberProp[] | undefined;
|
|
@@ -31,6 +37,7 @@ declare const _default: React.MemoExoticComponent<{
|
|
|
31
37
|
strokeLinecap?: import("react-native-svg").Linecap | undefined;
|
|
32
38
|
strokeLinejoin?: import("react-native-svg").Linejoin | undefined;
|
|
33
39
|
strokeMiterlimit?: import("react-native-svg").NumberProp | undefined;
|
|
40
|
+
vectorEffect?: import("react-native-svg").VectorEffect | undefined;
|
|
34
41
|
clipRule?: import("react-native-svg").FillRule | undefined;
|
|
35
42
|
clipPath?: string | undefined;
|
|
36
43
|
translate?: import("react-native-svg").NumberArray | undefined;
|
|
@@ -40,7 +47,6 @@ declare const _default: React.MemoExoticComponent<{
|
|
|
40
47
|
skew?: import("react-native-svg").NumberArray | undefined;
|
|
41
48
|
x?: import("react-native-svg").NumberArray | undefined;
|
|
42
49
|
y?: import("react-native-svg").NumberArray | undefined;
|
|
43
|
-
vectorEffect?: "none" | "inherit" | "default" | "non-scaling-stroke" | "nonScalingStroke" | "uri" | undefined;
|
|
44
50
|
pointerEvents?: "auto" | "none" | "box-none" | "box-only" | undefined;
|
|
45
51
|
onStartShouldSetResponder?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
46
52
|
onMoveShouldSetResponder?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
@@ -68,6 +74,15 @@ declare const _default: React.MemoExoticComponent<{
|
|
|
68
74
|
markerMid?: string | undefined;
|
|
69
75
|
markerEnd?: string | undefined;
|
|
70
76
|
mask?: string | undefined;
|
|
77
|
+
font?: import("react-native-svg").FontObject | undefined;
|
|
78
|
+
fontStretch?: import("react-native-svg").FontStretch | undefined;
|
|
79
|
+
textAnchor?: import("react-native-svg").TextAnchor | undefined;
|
|
80
|
+
textDecoration?: import("react-native-svg").TextDecoration | undefined;
|
|
81
|
+
wordSpacing?: import("react-native-svg").NumberProp | undefined;
|
|
82
|
+
kerning?: import("react-native-svg").NumberProp | undefined;
|
|
83
|
+
fontFeatureSettings?: string | undefined;
|
|
84
|
+
fontVariantLigatures?: import("react-native-svg").FontVariantLigatures | undefined;
|
|
85
|
+
fontVariationSettings?: string | undefined;
|
|
71
86
|
hitSlop?: import("react-native").Insets | undefined;
|
|
72
87
|
removeClippedSubviews?: boolean | undefined;
|
|
73
88
|
nativeID?: string | undefined;
|
|
@@ -107,7 +122,6 @@ declare const _default: React.MemoExoticComponent<{
|
|
|
107
122
|
onAccessibilityTap?: (() => void) | undefined;
|
|
108
123
|
onMagicTap?: (() => void) | undefined;
|
|
109
124
|
accessibilityIgnoresInvertColors?: boolean | undefined;
|
|
110
|
-
readonly colorValue?: string | undefined;
|
|
111
125
|
}): JSX.Element;
|
|
112
126
|
displayName: string;
|
|
113
127
|
}>;
|
|
@@ -2,8 +2,14 @@ import React from 'react';
|
|
|
2
2
|
declare const _default: React.MemoExoticComponent<{
|
|
3
3
|
(props: {
|
|
4
4
|
readonly color?: import("../..").CommonComponentColor | undefined;
|
|
5
|
-
|
|
5
|
+
fontFamily?: string | undefined;
|
|
6
|
+
fontSize?: import("react-native-svg").NumberProp | undefined;
|
|
7
|
+
fontWeight?: import("react-native-svg").FontWeight | undefined;
|
|
8
|
+
letterSpacing?: import("react-native-svg").NumberProp | undefined;
|
|
9
|
+
readonly fill?: import("react-native").ColorValue | undefined;
|
|
10
|
+
fontStyle?: import("react-native-svg").FontStyle | undefined;
|
|
6
11
|
testID?: string | undefined;
|
|
12
|
+
fontVariant?: import("react-native-svg").FontVariant | undefined;
|
|
7
13
|
opacity?: import("react-native-svg").NumberProp | undefined;
|
|
8
14
|
readonly height?: import("react-native-svg").NumberProp | undefined;
|
|
9
15
|
readonly width?: import("react-native-svg").NumberProp | undefined;
|
|
@@ -23,7 +29,7 @@ declare const _default: React.MemoExoticComponent<{
|
|
|
23
29
|
preserveAspectRatio?: string | undefined;
|
|
24
30
|
fillOpacity?: import("react-native-svg").NumberProp | undefined;
|
|
25
31
|
fillRule?: import("react-native-svg").FillRule | undefined;
|
|
26
|
-
stroke?: import("react-native
|
|
32
|
+
stroke?: import("react-native").ColorValue | undefined;
|
|
27
33
|
strokeWidth?: import("react-native-svg").NumberProp | undefined;
|
|
28
34
|
strokeOpacity?: import("react-native-svg").NumberProp | undefined;
|
|
29
35
|
strokeDasharray?: import("react-native-svg").NumberProp | readonly import("react-native-svg").NumberProp[] | undefined;
|
|
@@ -31,6 +37,7 @@ declare const _default: React.MemoExoticComponent<{
|
|
|
31
37
|
strokeLinecap?: import("react-native-svg").Linecap | undefined;
|
|
32
38
|
strokeLinejoin?: import("react-native-svg").Linejoin | undefined;
|
|
33
39
|
strokeMiterlimit?: import("react-native-svg").NumberProp | undefined;
|
|
40
|
+
vectorEffect?: import("react-native-svg").VectorEffect | undefined;
|
|
34
41
|
clipRule?: import("react-native-svg").FillRule | undefined;
|
|
35
42
|
clipPath?: string | undefined;
|
|
36
43
|
translate?: import("react-native-svg").NumberArray | undefined;
|
|
@@ -40,7 +47,6 @@ declare const _default: React.MemoExoticComponent<{
|
|
|
40
47
|
skew?: import("react-native-svg").NumberArray | undefined;
|
|
41
48
|
x?: import("react-native-svg").NumberArray | undefined;
|
|
42
49
|
y?: import("react-native-svg").NumberArray | undefined;
|
|
43
|
-
vectorEffect?: "none" | "inherit" | "default" | "non-scaling-stroke" | "nonScalingStroke" | "uri" | undefined;
|
|
44
50
|
pointerEvents?: "auto" | "none" | "box-none" | "box-only" | undefined;
|
|
45
51
|
onStartShouldSetResponder?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
46
52
|
onMoveShouldSetResponder?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
@@ -68,6 +74,15 @@ declare const _default: React.MemoExoticComponent<{
|
|
|
68
74
|
markerMid?: string | undefined;
|
|
69
75
|
markerEnd?: string | undefined;
|
|
70
76
|
mask?: string | undefined;
|
|
77
|
+
font?: import("react-native-svg").FontObject | undefined;
|
|
78
|
+
fontStretch?: import("react-native-svg").FontStretch | undefined;
|
|
79
|
+
textAnchor?: import("react-native-svg").TextAnchor | undefined;
|
|
80
|
+
textDecoration?: import("react-native-svg").TextDecoration | undefined;
|
|
81
|
+
wordSpacing?: import("react-native-svg").NumberProp | undefined;
|
|
82
|
+
kerning?: import("react-native-svg").NumberProp | undefined;
|
|
83
|
+
fontFeatureSettings?: string | undefined;
|
|
84
|
+
fontVariantLigatures?: import("react-native-svg").FontVariantLigatures | undefined;
|
|
85
|
+
fontVariationSettings?: string | undefined;
|
|
71
86
|
hitSlop?: import("react-native").Insets | undefined;
|
|
72
87
|
removeClippedSubviews?: boolean | undefined;
|
|
73
88
|
nativeID?: string | undefined;
|
|
@@ -107,7 +122,6 @@ declare const _default: React.MemoExoticComponent<{
|
|
|
107
122
|
onAccessibilityTap?: (() => void) | undefined;
|
|
108
123
|
onMagicTap?: (() => void) | undefined;
|
|
109
124
|
accessibilityIgnoresInvertColors?: boolean | undefined;
|
|
110
|
-
readonly colorValue?: string | undefined;
|
|
111
125
|
}): JSX.Element;
|
|
112
126
|
displayName: string;
|
|
113
127
|
}>;
|
|
@@ -2,8 +2,14 @@ import React from 'react';
|
|
|
2
2
|
declare const _default: React.MemoExoticComponent<{
|
|
3
3
|
(props: {
|
|
4
4
|
readonly color?: import("../..").CommonComponentColor | undefined;
|
|
5
|
-
|
|
5
|
+
fontFamily?: string | undefined;
|
|
6
|
+
fontSize?: import("react-native-svg").NumberProp | undefined;
|
|
7
|
+
fontWeight?: import("react-native-svg").FontWeight | undefined;
|
|
8
|
+
letterSpacing?: import("react-native-svg").NumberProp | undefined;
|
|
9
|
+
readonly fill?: import("react-native").ColorValue | undefined;
|
|
10
|
+
fontStyle?: import("react-native-svg").FontStyle | undefined;
|
|
6
11
|
testID?: string | undefined;
|
|
12
|
+
fontVariant?: import("react-native-svg").FontVariant | undefined;
|
|
7
13
|
opacity?: import("react-native-svg").NumberProp | undefined;
|
|
8
14
|
readonly height?: import("react-native-svg").NumberProp | undefined;
|
|
9
15
|
readonly width?: import("react-native-svg").NumberProp | undefined;
|
|
@@ -23,7 +29,7 @@ declare const _default: React.MemoExoticComponent<{
|
|
|
23
29
|
preserveAspectRatio?: string | undefined;
|
|
24
30
|
fillOpacity?: import("react-native-svg").NumberProp | undefined;
|
|
25
31
|
fillRule?: import("react-native-svg").FillRule | undefined;
|
|
26
|
-
stroke?: import("react-native
|
|
32
|
+
stroke?: import("react-native").ColorValue | undefined;
|
|
27
33
|
strokeWidth?: import("react-native-svg").NumberProp | undefined;
|
|
28
34
|
strokeOpacity?: import("react-native-svg").NumberProp | undefined;
|
|
29
35
|
strokeDasharray?: import("react-native-svg").NumberProp | readonly import("react-native-svg").NumberProp[] | undefined;
|
|
@@ -31,6 +37,7 @@ declare const _default: React.MemoExoticComponent<{
|
|
|
31
37
|
strokeLinecap?: import("react-native-svg").Linecap | undefined;
|
|
32
38
|
strokeLinejoin?: import("react-native-svg").Linejoin | undefined;
|
|
33
39
|
strokeMiterlimit?: import("react-native-svg").NumberProp | undefined;
|
|
40
|
+
vectorEffect?: import("react-native-svg").VectorEffect | undefined;
|
|
34
41
|
clipRule?: import("react-native-svg").FillRule | undefined;
|
|
35
42
|
clipPath?: string | undefined;
|
|
36
43
|
translate?: import("react-native-svg").NumberArray | undefined;
|
|
@@ -40,7 +47,6 @@ declare const _default: React.MemoExoticComponent<{
|
|
|
40
47
|
skew?: import("react-native-svg").NumberArray | undefined;
|
|
41
48
|
x?: import("react-native-svg").NumberArray | undefined;
|
|
42
49
|
y?: import("react-native-svg").NumberArray | undefined;
|
|
43
|
-
vectorEffect?: "none" | "inherit" | "default" | "non-scaling-stroke" | "nonScalingStroke" | "uri" | undefined;
|
|
44
50
|
pointerEvents?: "auto" | "none" | "box-none" | "box-only" | undefined;
|
|
45
51
|
onStartShouldSetResponder?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
46
52
|
onMoveShouldSetResponder?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
@@ -68,6 +74,15 @@ declare const _default: React.MemoExoticComponent<{
|
|
|
68
74
|
markerMid?: string | undefined;
|
|
69
75
|
markerEnd?: string | undefined;
|
|
70
76
|
mask?: string | undefined;
|
|
77
|
+
font?: import("react-native-svg").FontObject | undefined;
|
|
78
|
+
fontStretch?: import("react-native-svg").FontStretch | undefined;
|
|
79
|
+
textAnchor?: import("react-native-svg").TextAnchor | undefined;
|
|
80
|
+
textDecoration?: import("react-native-svg").TextDecoration | undefined;
|
|
81
|
+
wordSpacing?: import("react-native-svg").NumberProp | undefined;
|
|
82
|
+
kerning?: import("react-native-svg").NumberProp | undefined;
|
|
83
|
+
fontFeatureSettings?: string | undefined;
|
|
84
|
+
fontVariantLigatures?: import("react-native-svg").FontVariantLigatures | undefined;
|
|
85
|
+
fontVariationSettings?: string | undefined;
|
|
71
86
|
hitSlop?: import("react-native").Insets | undefined;
|
|
72
87
|
removeClippedSubviews?: boolean | undefined;
|
|
73
88
|
nativeID?: string | undefined;
|
|
@@ -107,7 +122,6 @@ declare const _default: React.MemoExoticComponent<{
|
|
|
107
122
|
onAccessibilityTap?: (() => void) | undefined;
|
|
108
123
|
onMagicTap?: (() => void) | undefined;
|
|
109
124
|
accessibilityIgnoresInvertColors?: boolean | undefined;
|
|
110
|
-
readonly colorValue?: string | undefined;
|
|
111
125
|
}): JSX.Element;
|
|
112
126
|
displayName: string;
|
|
113
127
|
}>;
|
|
@@ -2,8 +2,14 @@ import React from 'react';
|
|
|
2
2
|
declare const _default: React.MemoExoticComponent<{
|
|
3
3
|
(props: {
|
|
4
4
|
readonly color?: import("../..").CommonComponentColor | undefined;
|
|
5
|
-
|
|
5
|
+
fontFamily?: string | undefined;
|
|
6
|
+
fontSize?: import("react-native-svg").NumberProp | undefined;
|
|
7
|
+
fontWeight?: import("react-native-svg").FontWeight | undefined;
|
|
8
|
+
letterSpacing?: import("react-native-svg").NumberProp | undefined;
|
|
9
|
+
readonly fill?: import("react-native").ColorValue | undefined;
|
|
10
|
+
fontStyle?: import("react-native-svg").FontStyle | undefined;
|
|
6
11
|
testID?: string | undefined;
|
|
12
|
+
fontVariant?: import("react-native-svg").FontVariant | undefined;
|
|
7
13
|
opacity?: import("react-native-svg").NumberProp | undefined;
|
|
8
14
|
readonly height?: import("react-native-svg").NumberProp | undefined;
|
|
9
15
|
readonly width?: import("react-native-svg").NumberProp | undefined;
|
|
@@ -23,7 +29,7 @@ declare const _default: React.MemoExoticComponent<{
|
|
|
23
29
|
preserveAspectRatio?: string | undefined;
|
|
24
30
|
fillOpacity?: import("react-native-svg").NumberProp | undefined;
|
|
25
31
|
fillRule?: import("react-native-svg").FillRule | undefined;
|
|
26
|
-
stroke?: import("react-native
|
|
32
|
+
stroke?: import("react-native").ColorValue | undefined;
|
|
27
33
|
strokeWidth?: import("react-native-svg").NumberProp | undefined;
|
|
28
34
|
strokeOpacity?: import("react-native-svg").NumberProp | undefined;
|
|
29
35
|
strokeDasharray?: import("react-native-svg").NumberProp | readonly import("react-native-svg").NumberProp[] | undefined;
|
|
@@ -31,6 +37,7 @@ declare const _default: React.MemoExoticComponent<{
|
|
|
31
37
|
strokeLinecap?: import("react-native-svg").Linecap | undefined;
|
|
32
38
|
strokeLinejoin?: import("react-native-svg").Linejoin | undefined;
|
|
33
39
|
strokeMiterlimit?: import("react-native-svg").NumberProp | undefined;
|
|
40
|
+
vectorEffect?: import("react-native-svg").VectorEffect | undefined;
|
|
34
41
|
clipRule?: import("react-native-svg").FillRule | undefined;
|
|
35
42
|
clipPath?: string | undefined;
|
|
36
43
|
translate?: import("react-native-svg").NumberArray | undefined;
|
|
@@ -40,7 +47,6 @@ declare const _default: React.MemoExoticComponent<{
|
|
|
40
47
|
skew?: import("react-native-svg").NumberArray | undefined;
|
|
41
48
|
x?: import("react-native-svg").NumberArray | undefined;
|
|
42
49
|
y?: import("react-native-svg").NumberArray | undefined;
|
|
43
|
-
vectorEffect?: "none" | "inherit" | "default" | "non-scaling-stroke" | "nonScalingStroke" | "uri" | undefined;
|
|
44
50
|
pointerEvents?: "auto" | "none" | "box-none" | "box-only" | undefined;
|
|
45
51
|
onStartShouldSetResponder?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
46
52
|
onMoveShouldSetResponder?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
@@ -68,6 +74,15 @@ declare const _default: React.MemoExoticComponent<{
|
|
|
68
74
|
markerMid?: string | undefined;
|
|
69
75
|
markerEnd?: string | undefined;
|
|
70
76
|
mask?: string | undefined;
|
|
77
|
+
font?: import("react-native-svg").FontObject | undefined;
|
|
78
|
+
fontStretch?: import("react-native-svg").FontStretch | undefined;
|
|
79
|
+
textAnchor?: import("react-native-svg").TextAnchor | undefined;
|
|
80
|
+
textDecoration?: import("react-native-svg").TextDecoration | undefined;
|
|
81
|
+
wordSpacing?: import("react-native-svg").NumberProp | undefined;
|
|
82
|
+
kerning?: import("react-native-svg").NumberProp | undefined;
|
|
83
|
+
fontFeatureSettings?: string | undefined;
|
|
84
|
+
fontVariantLigatures?: import("react-native-svg").FontVariantLigatures | undefined;
|
|
85
|
+
fontVariationSettings?: string | undefined;
|
|
71
86
|
hitSlop?: import("react-native").Insets | undefined;
|
|
72
87
|
removeClippedSubviews?: boolean | undefined;
|
|
73
88
|
nativeID?: string | undefined;
|
|
@@ -107,7 +122,6 @@ declare const _default: React.MemoExoticComponent<{
|
|
|
107
122
|
onAccessibilityTap?: (() => void) | undefined;
|
|
108
123
|
onMagicTap?: (() => void) | undefined;
|
|
109
124
|
accessibilityIgnoresInvertColors?: boolean | undefined;
|
|
110
|
-
readonly colorValue?: string | undefined;
|
|
111
125
|
}): JSX.Element;
|
|
112
126
|
displayName: string;
|
|
113
127
|
}>;
|
|
@@ -2,8 +2,14 @@ import React from 'react';
|
|
|
2
2
|
declare const _default: React.MemoExoticComponent<{
|
|
3
3
|
(props: {
|
|
4
4
|
readonly color?: import("../..").CommonComponentColor | undefined;
|
|
5
|
-
|
|
5
|
+
fontFamily?: string | undefined;
|
|
6
|
+
fontSize?: import("react-native-svg").NumberProp | undefined;
|
|
7
|
+
fontWeight?: import("react-native-svg").FontWeight | undefined;
|
|
8
|
+
letterSpacing?: import("react-native-svg").NumberProp | undefined;
|
|
9
|
+
readonly fill?: import("react-native").ColorValue | undefined;
|
|
10
|
+
fontStyle?: import("react-native-svg").FontStyle | undefined;
|
|
6
11
|
testID?: string | undefined;
|
|
12
|
+
fontVariant?: import("react-native-svg").FontVariant | undefined;
|
|
7
13
|
opacity?: import("react-native-svg").NumberProp | undefined;
|
|
8
14
|
readonly height?: import("react-native-svg").NumberProp | undefined;
|
|
9
15
|
readonly width?: import("react-native-svg").NumberProp | undefined;
|
|
@@ -23,7 +29,7 @@ declare const _default: React.MemoExoticComponent<{
|
|
|
23
29
|
preserveAspectRatio?: string | undefined;
|
|
24
30
|
fillOpacity?: import("react-native-svg").NumberProp | undefined;
|
|
25
31
|
fillRule?: import("react-native-svg").FillRule | undefined;
|
|
26
|
-
stroke?: import("react-native
|
|
32
|
+
stroke?: import("react-native").ColorValue | undefined;
|
|
27
33
|
strokeWidth?: import("react-native-svg").NumberProp | undefined;
|
|
28
34
|
strokeOpacity?: import("react-native-svg").NumberProp | undefined;
|
|
29
35
|
strokeDasharray?: import("react-native-svg").NumberProp | readonly import("react-native-svg").NumberProp[] | undefined;
|
|
@@ -31,6 +37,7 @@ declare const _default: React.MemoExoticComponent<{
|
|
|
31
37
|
strokeLinecap?: import("react-native-svg").Linecap | undefined;
|
|
32
38
|
strokeLinejoin?: import("react-native-svg").Linejoin | undefined;
|
|
33
39
|
strokeMiterlimit?: import("react-native-svg").NumberProp | undefined;
|
|
40
|
+
vectorEffect?: import("react-native-svg").VectorEffect | undefined;
|
|
34
41
|
clipRule?: import("react-native-svg").FillRule | undefined;
|
|
35
42
|
clipPath?: string | undefined;
|
|
36
43
|
translate?: import("react-native-svg").NumberArray | undefined;
|
|
@@ -40,7 +47,6 @@ declare const _default: React.MemoExoticComponent<{
|
|
|
40
47
|
skew?: import("react-native-svg").NumberArray | undefined;
|
|
41
48
|
x?: import("react-native-svg").NumberArray | undefined;
|
|
42
49
|
y?: import("react-native-svg").NumberArray | undefined;
|
|
43
|
-
vectorEffect?: "none" | "inherit" | "default" | "non-scaling-stroke" | "nonScalingStroke" | "uri" | undefined;
|
|
44
50
|
pointerEvents?: "auto" | "none" | "box-none" | "box-only" | undefined;
|
|
45
51
|
onStartShouldSetResponder?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
46
52
|
onMoveShouldSetResponder?: ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
@@ -68,6 +74,15 @@ declare const _default: React.MemoExoticComponent<{
|
|
|
68
74
|
markerMid?: string | undefined;
|
|
69
75
|
markerEnd?: string | undefined;
|
|
70
76
|
mask?: string | undefined;
|
|
77
|
+
font?: import("react-native-svg").FontObject | undefined;
|
|
78
|
+
fontStretch?: import("react-native-svg").FontStretch | undefined;
|
|
79
|
+
textAnchor?: import("react-native-svg").TextAnchor | undefined;
|
|
80
|
+
textDecoration?: import("react-native-svg").TextDecoration | undefined;
|
|
81
|
+
wordSpacing?: import("react-native-svg").NumberProp | undefined;
|
|
82
|
+
kerning?: import("react-native-svg").NumberProp | undefined;
|
|
83
|
+
fontFeatureSettings?: string | undefined;
|
|
84
|
+
fontVariantLigatures?: import("react-native-svg").FontVariantLigatures | undefined;
|
|
85
|
+
fontVariationSettings?: string | undefined;
|
|
71
86
|
hitSlop?: import("react-native").Insets | undefined;
|
|
72
87
|
removeClippedSubviews?: boolean | undefined;
|
|
73
88
|
nativeID?: string | undefined;
|
|
@@ -107,7 +122,6 @@ declare const _default: React.MemoExoticComponent<{
|
|
|
107
122
|
onAccessibilityTap?: (() => void) | undefined;
|
|
108
123
|
onMagicTap?: (() => void) | undefined;
|
|
109
124
|
accessibilityIgnoresInvertColors?: boolean | undefined;
|
|
110
|
-
readonly colorValue?: string | undefined;
|
|
111
125
|
}): JSX.Element;
|
|
112
126
|
displayName: string;
|
|
113
127
|
}>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { MonoStore, StoreSubscription } from './types';
|
|
2
|
+
export default class SimpleStore<T> implements MonoStore<T> {
|
|
3
|
+
private data;
|
|
4
|
+
private listeners;
|
|
5
|
+
constructor(initialData: T);
|
|
6
|
+
subscribe(listener: (data: T) => void): StoreSubscription;
|
|
7
|
+
dispatch(data: T): void;
|
|
8
|
+
removeAllListeners(): void;
|
|
9
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type { Animated } from 'react-native';
|
|
1
2
|
import type { FountainUiStyle } from '@fountain-ui/styles';
|
|
2
3
|
export declare type ExtendedStyle<StyleType extends FountainUiStyle = FountainUiStyle> = StyleType;
|
|
3
4
|
export declare type ComponentProps<P = {}> = BaseProps & Readonly<P>;
|
|
@@ -8,3 +9,8 @@ export interface BaseProps extends Readonly<{
|
|
|
8
9
|
}
|
|
9
10
|
export type { Theme } from '@fountain-ui/styles';
|
|
10
11
|
export declare type CommonComponentColor = 'primary' | 'secondary' | 'tertiary' | 'warning' | 'accent';
|
|
12
|
+
export interface SyncAnimatedValue {
|
|
13
|
+
animatedValue: Animated.Value;
|
|
14
|
+
initialValue: number;
|
|
15
|
+
getCurrentValue: () => number;
|
|
16
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fountain-ui/core",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.20",
|
|
4
4
|
"author": "Fountain-UI Team",
|
|
5
5
|
"description": "React components that implement Tappytoon's Fountain Design.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"prepare": "bob build"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@fountain-ui/styles": "^2.0.0-beta.
|
|
18
|
-
"@fountain-ui/utils": "^2.0.0-beta.
|
|
17
|
+
"@fountain-ui/styles": "^2.0.0-beta.8",
|
|
18
|
+
"@fountain-ui/utils": "^2.0.0-beta.4"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
21
21
|
"@react-native-community/slider": "^4.1.6",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
}
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"react-native-reanimated": "2.
|
|
45
|
+
"react-native-reanimated": "^2.9.1",
|
|
46
46
|
"react-native-svg": "^12.1.1"
|
|
47
47
|
},
|
|
48
48
|
"react-native-builder-bob": {
|
|
@@ -67,5 +67,5 @@
|
|
|
67
67
|
"publishConfig": {
|
|
68
68
|
"access": "public"
|
|
69
69
|
},
|
|
70
|
-
"gitHead": "
|
|
70
|
+
"gitHead": "8ca13c00c2424b287a26c7cb62619c2c0a9596df"
|
|
71
71
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React, { useState } from 'react';
|
|
2
|
-
import
|
|
2
|
+
import type { WithTimingConfig } from 'react-native-reanimated';
|
|
3
|
+
import Animated, { useAnimatedStyle, useSharedValue, withTiming } from 'react-native-reanimated';
|
|
3
4
|
import { NamedStylesStringUnion, UseStyles } from '@fountain-ui/styles';
|
|
4
5
|
import { ChevronDown as ChevronDownIcon } from '../internal/icons';
|
|
5
6
|
import ButtonBase from '../ButtonBase';
|
|
@@ -13,7 +14,7 @@ import AccordionProps from './AccordionProps';
|
|
|
13
14
|
|
|
14
15
|
type AccordionStyles = NamedStylesStringUnion<'root'>;
|
|
15
16
|
|
|
16
|
-
const
|
|
17
|
+
const ANIMATION_CONFIG: Readonly<WithTimingConfig> = { duration: 250 };
|
|
17
18
|
|
|
18
19
|
const useStyles: UseStyles<AccordionStyles> = function (): AccordionStyles {
|
|
19
20
|
const theme = useTheme();
|
|
@@ -38,15 +39,16 @@ export default function Accordion(props: AccordionProps) {
|
|
|
38
39
|
const styles = useStyles();
|
|
39
40
|
|
|
40
41
|
const [isExpanded, setIsExpanded] = useState(false);
|
|
41
|
-
const rotate = Animated.useSharedValue(0);
|
|
42
42
|
|
|
43
|
-
const
|
|
43
|
+
const rotate = useSharedValue(0);
|
|
44
|
+
|
|
45
|
+
const animatedChevronDownStyles = useAnimatedStyle(() => ({
|
|
44
46
|
transform: [{ rotate: `${rotate.value}deg` }],
|
|
45
|
-
}));
|
|
47
|
+
}), []);
|
|
46
48
|
|
|
47
49
|
const onPress = () => {
|
|
48
50
|
setIsExpanded(prev => !prev);
|
|
49
|
-
rotate.value =
|
|
51
|
+
rotate.value = withTiming(!isExpanded ? 180 : 0, ANIMATION_CONFIG);
|
|
50
52
|
};
|
|
51
53
|
|
|
52
54
|
return (
|
package/src/AppBar/AppBar.tsx
CHANGED
|
@@ -5,11 +5,7 @@ import Paper from '../Paper';
|
|
|
5
5
|
import { css, useTheme } from '../styles';
|
|
6
6
|
import type AppBarProps from './AppBarProps';
|
|
7
7
|
|
|
8
|
-
type AppBarStyleKeys =
|
|
9
|
-
| 'root'
|
|
10
|
-
| 'colorDefault'
|
|
11
|
-
| 'colorPrimary'
|
|
12
|
-
| 'colorTransparent';
|
|
8
|
+
type AppBarStyleKeys = 'root';
|
|
13
9
|
|
|
14
10
|
type AppBarStyles = NamedStylesStringUnion<AppBarStyleKeys>;
|
|
15
11
|
|
|
@@ -23,15 +19,6 @@ const useStyles: UseStyles<AppBarStyles> = function (): AppBarStyles {
|
|
|
23
19
|
width: '100%',
|
|
24
20
|
zIndex: theme.zIndex.appBar,
|
|
25
21
|
},
|
|
26
|
-
colorDefault: {
|
|
27
|
-
backgroundColor: theme.palette.background.default,
|
|
28
|
-
},
|
|
29
|
-
colorPrimary: {
|
|
30
|
-
backgroundColor: theme.palette.primary.main,
|
|
31
|
-
},
|
|
32
|
-
colorTransparent: {
|
|
33
|
-
backgroundColor: 'transparent',
|
|
34
|
-
},
|
|
35
22
|
};
|
|
36
23
|
};
|
|
37
24
|
|
|
@@ -42,26 +29,31 @@ const AppBar = React.forwardRef<View, AppBarProps>(function AppBar(props, ref) {
|
|
|
42
29
|
...otherProps
|
|
43
30
|
} = props;
|
|
44
31
|
|
|
32
|
+
const theme = useTheme();
|
|
33
|
+
|
|
45
34
|
const styles = useStyles();
|
|
46
35
|
|
|
47
|
-
const
|
|
48
|
-
?
|
|
49
|
-
: color === '
|
|
50
|
-
?
|
|
51
|
-
:
|
|
36
|
+
const backgroundColor = color === 'default'
|
|
37
|
+
? theme.palette.background.default
|
|
38
|
+
: color === 'paper'
|
|
39
|
+
? theme.palette.paper.default
|
|
40
|
+
: color === 'primary'
|
|
41
|
+
? theme.palette.primary.main
|
|
42
|
+
: 'transparent';
|
|
52
43
|
|
|
53
44
|
const paperStyle = css([
|
|
54
45
|
styles.root,
|
|
55
|
-
|
|
46
|
+
{ backgroundColor },
|
|
56
47
|
style,
|
|
57
48
|
]);
|
|
58
49
|
|
|
59
50
|
return (
|
|
60
51
|
<Paper
|
|
61
52
|
ref={ref}
|
|
62
|
-
|
|
53
|
+
colorValue={backgroundColor}
|
|
63
54
|
elevation={0}
|
|
64
55
|
style={paperStyle}
|
|
56
|
+
square={true}
|
|
65
57
|
{...otherProps}
|
|
66
58
|
/>
|
|
67
59
|
);
|