@fountain-ui/core 2.0.0-beta.5 → 2.0.0-beta.50
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/CHANGELOG.md +32 -0
- 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 +1 -1
- 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 +6 -15
- 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 +1 -1
- 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 +67 -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 +10 -8
- 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 +25 -27
- 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 +24 -8
- 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 +1 -1
- 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 +60 -16
- 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 +36 -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 +19 -1
- package/build/commonjs/ImageCore/ImageCoreWeb.js.map +1 -1
- package/build/commonjs/ImageCore/ImageFileExtensionContext.js +14 -0
- package/build/commonjs/ImageCore/ImageFileExtensionContext.js.map +1 -0
- package/build/commonjs/ImageCore/ImageFileExtensionProvider.js +42 -0
- package/build/commonjs/ImageCore/ImageFileExtensionProvider.js.map +1 -0
- package/build/commonjs/ImageCore/index.js +17 -5
- package/build/commonjs/ImageCore/index.js.map +1 -1
- package/build/commonjs/ImageCore/index.native.js +27 -0
- 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 +2 -2
- package/build/commonjs/Paper/Paper.js.map +1 -1
- package/build/commonjs/Paper/PaperProps.js.map +1 -1
- package/build/commonjs/Paper/PaperStylesProvider.js.map +1 -1
- package/build/commonjs/Paper/index.js.map +1 -1
- package/build/commonjs/Paper/usePaperStyles.js.map +1 -1
- 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 -8
- 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 +17 -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 +1 -1
- 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 +15 -8
- package/build/commonjs/Tab/Tab.js.map +1 -1
- package/build/commonjs/Tab/TabIndicator.js +8 -5
- 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 +35 -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 +73 -31
- package/build/commonjs/Tabs/TabIndicator.js.map +1 -1
- package/build/commonjs/Tabs/TabIndicatorProps.js.map +1 -1
- package/build/commonjs/Tabs/Tabs.js +73 -84
- 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 +69 -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 +8 -6
- package/build/commonjs/TextField/InputLabel.js.map +1 -1
- package/build/commonjs/TextField/OutlinedTextField.js +6 -2
- package/build/commonjs/TextField/OutlinedTextField.js.map +1 -1
- package/build/commonjs/TextField/TextField.js +6 -6
- 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 +38 -30
- 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 +8 -3
- 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 +32 -0
- package/build/commonjs/hooks/index.js.map +1 -1
- package/build/commonjs/hooks/useAnimatedValue.js +31 -0
- package/build/commonjs/hooks/useAnimatedValue.js.map +1 -0
- package/build/commonjs/hooks/useAppbarStyles.js.map +1 -1
- package/build/commonjs/hooks/useBreakpointUp.js.map +1 -1
- package/build/commonjs/hooks/useCollapsibleAppBar.js +49 -76
- 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/useDebounce.js +33 -0
- package/build/commonjs/hooks/useDebounce.js.map +1 -0
- package/build/commonjs/hooks/useElevationStyle.js.map +1 -1
- package/build/commonjs/hooks/useFadeInAppBar.js +31 -42
- 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 +40 -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 +34 -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 +5 -10
- 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.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 +27 -0
- package/build/commonjs/store/MockStore.js.map +1 -0
- package/build/commonjs/store/SimpleStore.js +59 -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.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 +1 -1
- 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 +6 -15
- 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 +1 -1
- 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 +65 -51
- 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 +10 -8
- 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 +24 -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 +19 -6
- 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 +1 -1
- 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 +56 -14
- 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 +30 -25
- package/build/module/ImageCore/ImageCoreNative.js.map +1 -1
- package/build/module/ImageCore/ImageCoreProps.js.map +1 -1
- package/build/module/ImageCore/ImageCoreWeb.js +19 -1
- package/build/module/ImageCore/ImageCoreWeb.js.map +1 -1
- package/build/module/ImageCore/ImageFileExtensionContext.js +5 -0
- package/build/module/ImageCore/ImageFileExtensionContext.js.map +1 -0
- package/build/module/ImageCore/ImageFileExtensionProvider.js +24 -0
- package/build/module/ImageCore/ImageFileExtensionProvider.js.map +1 -0
- package/build/module/ImageCore/index.js +2 -1
- package/build/module/ImageCore/index.js.map +1 -1
- package/build/module/ImageCore/index.native.js +2 -0
- 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 +2 -2
- package/build/module/Paper/Paper.js.map +1 -1
- package/build/module/Paper/PaperProps.js.map +1 -1
- package/build/module/Paper/PaperStylesProvider.js.map +1 -1
- package/build/module/Paper/index.js.map +1 -1
- package/build/module/Paper/usePaperStyles.js.map +1 -1
- 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 +4 -9
- 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 +20 -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 +1 -1
- 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 +11 -8
- package/build/module/Tab/Tab.js.map +1 -1
- package/build/module/Tab/TabIndicator.js +8 -5
- 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 +22 -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 +66 -28
- package/build/module/Tabs/TabIndicator.js.map +1 -1
- package/build/module/Tabs/TabIndicatorProps.js.map +1 -1
- package/build/module/Tabs/Tabs.js +66 -72
- 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 +57 -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 +9 -7
- package/build/module/TextField/InputLabel.js.map +1 -1
- package/build/module/TextField/OutlinedTextField.js +7 -3
- package/build/module/TextField/OutlinedTextField.js.map +1 -1
- package/build/module/TextField/TextField.js +4 -3
- 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 +33 -23
- 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 +8 -3
- 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 +4 -0
- package/build/module/hooks/index.js.map +1 -1
- package/build/module/hooks/useAnimatedValue.js +22 -0
- package/build/module/hooks/useAnimatedValue.js.map +1 -0
- package/build/module/hooks/useAppbarStyles.js.map +1 -1
- package/build/module/hooks/useBreakpointUp.js.map +1 -1
- package/build/module/hooks/useCollapsibleAppBar.js +49 -66
- 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/useDebounce.js +25 -0
- package/build/module/hooks/useDebounce.js.map +1 -0
- package/build/module/hooks/useElevationStyle.js.map +1 -1
- package/build/module/hooks/useFadeInAppBar.js +32 -33
- 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 +28 -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 +2 -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 +5 -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.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 +18 -0
- package/build/module/store/MockStore.js.map +1 -0
- package/build/module/store/SimpleStore.js +50 -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.map +1 -1
- package/build/module/utils/createSvgIcon.js.map +1 -1
- package/build/module/utils/index.js.map +1 -1
- package/build/typescript/Badge/BadgeProps.d.ts +5 -0
- package/build/typescript/ButtonBase/ButtonBaseProps.d.ts +4 -0
- package/build/typescript/Checkbox/CheckboxProps.d.ts +1 -1
- package/build/typescript/Chip/ChipProps.d.ts +4 -0
- package/build/typescript/CircularProgress/CircularProgress.d.ts +2 -2
- package/build/typescript/Dialog/DialogProps.d.ts +4 -0
- package/build/typescript/Image/ImageProps.d.ts +30 -2
- package/build/typescript/Image/index.d.ts +1 -1
- package/build/typescript/ImageCore/ImageCoreProps.d.ts +5 -1
- package/build/typescript/ImageCore/ImageFileExtensionContext.d.ts +3 -0
- package/build/typescript/ImageCore/ImageFileExtensionProvider.d.ts +13 -0
- package/build/typescript/ImageCore/index.d.ts +3 -1
- package/build/typescript/ImageCore/index.native.d.ts +2 -0
- package/build/typescript/Slider/Slider.d.ts +1 -1
- package/build/typescript/Tab/TabIndicator.d.ts +4 -1
- package/build/typescript/Tab/TabProps.d.ts +6 -0
- 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 +8 -0
- package/build/typescript/Tabs/TabIndicatorProps.d.ts +10 -5
- package/build/typescript/Tabs/Tabs.d.ts +4 -2
- package/build/typescript/Tabs/TabsProps.d.ts +18 -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/Tooltip/TooltipProps.d.ts +15 -1
- package/build/typescript/Typography/TypographyProps.d.ts +13 -0
- package/build/typescript/animated/AnimatedPressable.d.ts +2 -2
- package/build/typescript/hooks/index.d.ts +4 -0
- package/build/typescript/hooks/useAnimatedValue.d.ts +2 -0
- package/build/typescript/hooks/useCollapsibleAppBar.d.ts +2 -1
- package/build/typescript/hooks/useDebounce.d.ts +1 -0
- package/build/typescript/hooks/useFadeInAppBar.d.ts +4 -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 +2 -0
- package/build/typescript/internal/hooks/index.d.ts +0 -1
- package/build/typescript/internal/icons/Checkbox.d.ts +27 -10
- package/build/typescript/internal/icons/CheckboxChecked.d.ts +27 -10
- package/build/typescript/internal/icons/ChevronDown.d.ts +27 -10
- package/build/typescript/internal/icons/ChevronLeft.d.ts +27 -10
- package/build/typescript/internal/icons/ChevronRight.d.ts +27 -10
- package/build/typescript/internal/icons/Close.d.ts +27 -10
- package/build/typescript/internal/icons/Radio.d.ts +27 -10
- package/build/typescript/internal/icons/RadioChecked.d.ts +27 -10
- package/build/typescript/store/MockStore.d.ts +7 -0
- package/build/typescript/store/SimpleStore.d.ts +10 -0
- package/build/typescript/store/index.d.ts +3 -0
- package/build/typescript/store/types.d.ts +10 -0
- package/build/typescript/types/index.d.ts +6 -0
- package/package.json +9 -9
- package/src/Accordion/Accordion.tsx +8 -6
- package/src/Badge/Badge.tsx +6 -16
- package/src/Badge/BadgeProps.ts +6 -0
- package/src/ButtonBase/ButtonBase.tsx +73 -43
- package/src/ButtonBase/ButtonBaseProps.ts +5 -0
- package/src/Checkbox/CheckboxProps.ts +1 -1
- package/src/Chip/Chip.tsx +11 -7
- package/src/Chip/ChipProps.ts +5 -0
- package/src/CircularProgress/CircularProgress.tsx +38 -28
- package/src/Dialog/Dialog.tsx +32 -11
- package/src/Dialog/DialogProps.ts +5 -0
- package/src/Image/Image.tsx +79 -17
- package/src/Image/ImageProps.ts +36 -2
- package/src/Image/index.ts +1 -1
- package/src/ImageCore/ImageCoreNative.tsx +28 -18
- package/src/ImageCore/ImageCoreProps.ts +6 -1
- package/src/ImageCore/ImageCoreWeb.tsx +22 -2
- package/src/ImageCore/ImageFileExtensionContext.ts +7 -0
- package/src/ImageCore/ImageFileExtensionProvider.tsx +33 -0
- package/src/ImageCore/index.native.ts +3 -1
- package/src/ImageCore/index.ts +4 -1
- package/src/Radio/Radio.tsx +1 -3
- package/src/Slide/Slide.tsx +23 -19
- package/src/Tab/Tab.tsx +8 -7
- package/src/Tab/TabIndicator.tsx +17 -15
- package/src/Tab/TabProps.ts +7 -0
- package/src/Tabs/IndexAwareTab.tsx +29 -0
- package/src/Tabs/InternalContext.ts +13 -0
- package/src/Tabs/ScrollableTabsView.tsx +28 -0
- package/src/Tabs/TabIndicator.tsx +73 -37
- package/src/Tabs/TabIndicatorProps.ts +12 -5
- package/src/Tabs/Tabs.tsx +96 -97
- package/src/Tabs/TabsProps.ts +21 -22
- 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 +62 -0
- package/src/Tabs/useTabCoordinates.ts +25 -0
- package/src/Tabs/utils.ts +14 -0
- package/src/TextField/InputLabel.tsx +7 -2
- package/src/TextField/OutlinedTextField.tsx +7 -1
- package/src/TextField/TextField.tsx +4 -3
- package/src/Tooltip/Tooltip.tsx +44 -25
- package/src/Tooltip/TooltipProps.ts +18 -1
- package/src/Typography/Typography.tsx +8 -3
- package/src/Typography/TypographyProps.ts +16 -0
- package/src/animated/AnimatedPressable.tsx +1 -2
- package/src/hooks/index.ts +4 -0
- package/src/hooks/useAnimatedValue.ts +21 -0
- package/src/hooks/useCollapsibleAppBar.ts +79 -59
- package/src/hooks/useDebounce.ts +23 -0
- package/src/hooks/useFadeInAppBar.ts +32 -30
- package/src/hooks/useImperativeState.ts +24 -0
- package/src/hooks/useSyncAnimatedValue.ts +38 -0
- package/src/hooks/useThrottle.ts +3 -3
- package/src/hooks/useValidWindowDimensions/index.ios.ts +16 -10
- package/src/index.ts +4 -0
- package/src/internal/hooks/index.ts +0 -1
- package/src/internal/hooks/useHeight.ts +4 -5
- package/src/store/MockStore.ts +21 -0
- package/src/store/SimpleStore.ts +50 -0
- package/src/store/index.ts +3 -0
- package/src/store/types.ts +12 -0
- package/src/types/index.ts +7 -0
- 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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sources":["types.ts"],"sourcesContent":["export interface StoreSubscription {\n (): void;\n}\n\nexport type DispatchAction<State> = State | ((prevState: State) => State);\n\nexport interface MonoStore<S> {\n dispatch: (action: DispatchAction<S>) => void;\n getState: () => S;\n subscribe: (listener: (state: S) => void) => StoreSubscription;\n removeAllListeners: () => void;\n}\n"],"mappings":""}
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
const cache = {};
|
|
2
2
|
|
|
3
|
-
const createCacheKey =
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
const createCacheKey = _ref => {
|
|
4
|
+
let {
|
|
5
|
+
left,
|
|
6
|
+
top,
|
|
7
|
+
right,
|
|
8
|
+
bottom
|
|
9
|
+
} = _ref;
|
|
10
|
+
return `${left}|${top}|${right}|${bottom}`;
|
|
11
|
+
};
|
|
9
12
|
|
|
10
13
|
const fromCache = insets => {
|
|
11
14
|
const key = createCacheKey(insets);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"names":["cache","createCacheKey","left","top","right","bottom","fromCache","insets","key","stored","factory","all","value","horizontal","vertical","fromVH","fromLTRB"],"sources":["EdgeInsets.ts"],"sourcesContent":["export interface EdgeInsetsType {\n left: number;\n top: number;\n right: number;\n bottom: number;\n}\n\ninterface EdgeInsetsFactory {\n all: (value: number) => EdgeInsetsType;\n left: (value: number) => EdgeInsetsType;\n top: (value: number) => EdgeInsetsType;\n right: (value: number) => EdgeInsetsType;\n bottom: (value: number) => EdgeInsetsType;\n horizontal: (value: number) => EdgeInsetsType;\n vertical: (value: number) => EdgeInsetsType;\n fromVH: (vertical: number, horizontal: number) => EdgeInsetsType;\n fromLTRB: (left: number, top: number, right: number, bottom: number) => EdgeInsetsType;\n}\n\ninterface EdgeInsetsCache extends Partial<{\n [key: string]: EdgeInsetsType;\n}> {}\n\nconst cache: EdgeInsetsCache = {};\n\nconst createCacheKey = ({ left, top, right, bottom }: EdgeInsetsType): string => `${left}|${top}|${right}|${bottom}`;\n\nconst fromCache = (insets: EdgeInsetsType): EdgeInsetsType => {\n const key = createCacheKey(insets);\n\n const stored = cache[key];\n\n if (stored) {\n return stored;\n }\n\n cache[key] = insets;\n\n return insets;\n};\n\nconst factory: EdgeInsetsFactory = {\n all: (value) => fromCache({ left: value, top: value, right: value, bottom: value }),\n left: (value) => fromCache({ left: value, top: 0, right: 0, bottom: 0 }),\n top: (value) => fromCache({ left: 0, top: value, right: 0, bottom: 0 }),\n right: (value) => fromCache({ left: 0, top: 0, right: value, bottom: 0 }),\n bottom: (value) => fromCache({ left: 0, top: 0, right: 0, bottom: value }),\n horizontal: (value) => fromCache({ left: value, top: 0, right: value, bottom: 0 }),\n vertical: (value) => fromCache({ left: 0, top: value, right: 0, bottom: value }),\n fromVH: (vertical, horizontal) => fromCache({\n left: horizontal,\n top: vertical,\n right: horizontal,\n bottom: vertical,\n }),\n fromLTRB: (left, top, right, bottom) => fromCache({ left, top, right, bottom }),\n};\n\nexport default factory;"],"mappings":"AAuBA,MAAMA,KAAsB,GAAG,EAA/B;;AAEA,MAAMC,cAAc,GAAG;EAAA,IAAC;IAAEC,IAAF;IAAQC,GAAR;IAAaC,KAAb;IAAoBC;EAApB,CAAD;EAAA,OAA2D,GAAEH,IAAK,IAAGC,GAAI,IAAGC,KAAM,IAAGC,MAAO,EAA5F;AAAA,CAAvB;;AAEA,MAAMC,SAAS,GAAIC,MAAD,IAA4C;EAC1D,MAAMC,GAAG,GAAGP,cAAc,CAACM,MAAD,CAA1B;EAEA,MAAME,MAAM,GAAGT,KAAK,CAACQ,GAAD,CAApB;;EAEA,IAAIC,MAAJ,EAAY;IACR,OAAOA,MAAP;EACH;;EAEDT,KAAK,CAACQ,GAAD,CAAL,GAAaD,MAAb;EAEA,OAAOA,MAAP;AACH,CAZD;;AAcA,MAAMG,OAA0B,GAAG;EAC/BC,GAAG,EAAGC,KAAD,IAAWN,SAAS,CAAC;IAAEJ,IAAI,EAAEU,KAAR;IAAeT,GAAG,EAAES,KAApB;IAA2BR,KAAK,EAAEQ,KAAlC;IAAyCP,MAAM,EAAEO;EAAjD,CAAD,CADM;EAE/BV,IAAI,EAAGU,KAAD,IAAWN,SAAS,CAAC;IAAEJ,IAAI,EAAEU,KAAR;IAAeT,GAAG,EAAE,CAApB;IAAuBC,KAAK,EAAE,CAA9B;IAAiCC,MAAM,EAAE;EAAzC,CAAD,CAFK;EAG/BF,GAAG,EAAGS,KAAD,IAAWN,SAAS,CAAC;IAAEJ,IAAI,EAAE,CAAR;IAAWC,GAAG,EAAES,KAAhB;IAAuBR,KAAK,EAAE,CAA9B;IAAiCC,MAAM,EAAE;EAAzC,CAAD,CAHM;EAI/BD,KAAK,EAAGQ,KAAD,IAAWN,SAAS,CAAC;IAAEJ,IAAI,EAAE,CAAR;IAAWC,GAAG,EAAE,CAAhB;IAAmBC,KAAK,EAAEQ,KAA1B;IAAiCP,MAAM,EAAE;EAAzC,CAAD,CAJI;EAK/BA,MAAM,EAAGO,KAAD,IAAWN,SAAS,CAAC;IAAEJ,IAAI,EAAE,CAAR;IAAWC,GAAG,EAAE,CAAhB;IAAmBC,KAAK,EAAE,CAA1B;IAA6BC,MAAM,EAAEO;EAArC,CAAD,CALG;EAM/BC,UAAU,EAAGD,KAAD,IAAWN,SAAS,CAAC;IAAEJ,IAAI,EAAEU,KAAR;IAAeT,GAAG,EAAE,CAApB;IAAuBC,KAAK,EAAEQ,KAA9B;IAAqCP,MAAM,EAAE;EAA7C,CAAD,CAND;EAO/BS,QAAQ,EAAGF,KAAD,IAAWN,SAAS,CAAC;IAAEJ,IAAI,EAAE,CAAR;IAAWC,GAAG,EAAES,KAAhB;IAAuBR,KAAK,EAAE,CAA9B;IAAiCC,MAAM,EAAEO;EAAzC,CAAD,CAPC;EAQ/BG,MAAM,EAAE,CAACD,QAAD,EAAWD,UAAX,KAA0BP,SAAS,CAAC;IACxCJ,IAAI,EAAEW,UADkC;IAExCV,GAAG,EAAEW,QAFmC;IAGxCV,KAAK,EAAES,UAHiC;IAIxCR,MAAM,EAAES;EAJgC,CAAD,CARZ;EAc/BE,QAAQ,EAAE,CAACd,IAAD,EAAOC,GAAP,EAAYC,KAAZ,EAAmBC,MAAnB,KAA8BC,SAAS,CAAC;IAAEJ,IAAF;IAAQC,GAAR;IAAaC,KAAb;IAAoBC;EAApB,CAAD;AAdlB,CAAnC;AAiBA,eAAeK,OAAf"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"names":["StyleSheet","create","fill","flex"],"sources":["PredefinedStyles.ts"],"sourcesContent":["import StyleSheet from './StyleSheet';\n\nexport default StyleSheet.create({\n fill: {\n flex: 1,\n },\n});\n"],"mappings":"AAAA,OAAOA,UAAP,MAAuB,cAAvB;AAEA,eAAeA,UAAU,CAACC,MAAX,CAAkB;EAC7BC,IAAI,EAAE;IACFC,IAAI,EAAE;EADJ;AADuB,CAAlB,CAAf"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"names":["StyleSheet","default"],"sources":["StyleSheet.ts"],"sourcesContent":["export { StyleSheet as default } from 'react-native';"],"mappings":"AAAA,SAASA,UAAU,IAAIC,OAAvB,QAAsC,cAAtC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"names":["ThemeProvider","default"],"sources":["ThemeProvider.ts"],"sourcesContent":["export { ThemeProvider as default } from '@fountain-ui/styles';"],"mappings":"AAAA,SAASA,aAAa,IAAIC,OAA1B,QAAyC,qBAAzC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { Platform } from 'react-native';
|
|
2
2
|
export default function createFontStyle(theme, config) {
|
|
3
|
-
var _config$selector
|
|
3
|
+
var _config$selector;
|
|
4
4
|
|
|
5
5
|
const typography = theme.typography;
|
|
6
6
|
const selected = config === null || config === void 0 ? void 0 : (_config$selector = config.selector) === null || _config$selector === void 0 ? void 0 : _config$selector.call(config, typography);
|
|
7
7
|
const fontFamily = selected === null || selected === void 0 ? void 0 : selected.fontFamily;
|
|
8
8
|
const fontWeight = selected === null || selected === void 0 ? void 0 : selected.fontWeight; // @ts-ignore
|
|
9
9
|
|
|
10
|
-
const fontSize = Platform.OS === 'web' ? selected === null || selected === void 0 ? void 0 : selected.fontSize.rem : (
|
|
10
|
+
const fontSize = Platform.OS === 'web' ? selected === null || selected === void 0 ? void 0 : selected.fontSize.rem : (selected === null || selected === void 0 ? void 0 : selected.fontSize.unitless) ?? typography.fontSize; // @ts-ignore
|
|
11
11
|
|
|
12
12
|
const lineHeight = Platform.OS === 'web' ? selected === null || selected === void 0 ? void 0 : selected.lineHeight.rem : selected === null || selected === void 0 ? void 0 : selected.lineHeight.unitless; // @ts-ignore
|
|
13
13
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"names":["Platform","createFontStyle","theme","config","typography","selected","selector","fontFamily","fontWeight","fontSize","OS","rem","unitless","lineHeight","letterSpacing","em","color"],"sources":["createFontStyle.ts"],"sourcesContent":["import type { TextStyle } from 'react-native';\nimport { Platform } from 'react-native';\nimport type { Theme } from '@fountain-ui/styles';\n\ntype Typography = Theme['typography'];\n\ntype Variant = Typography['h1'];\n\ninterface FontStyleConfig {\n selector?: (typography: Typography) => Variant;\n color?: TextStyle['color'];\n}\n\nexport default function createFontStyle(theme: Theme, config?: FontStyleConfig): TextStyle {\n const typography = theme.typography;\n const selected = config?.selector?.(typography);\n\n const fontFamily = selected?.fontFamily;\n\n const fontWeight = selected?.fontWeight;\n\n // @ts-ignore\n const fontSize: TextStyle['fontSize'] = Platform.OS === 'web'\n ? selected?.fontSize.rem\n : selected?.fontSize.unitless\n ?? typography.fontSize;\n\n // @ts-ignore\n const lineHeight: TextStyle['lineHeight'] = Platform.OS === 'web'\n ? selected?.lineHeight.rem\n : selected?.lineHeight.unitless;\n\n // @ts-ignore\n const letterSpacing: TextStyle['letterSpacing'] = Platform.OS === 'web'\n ? selected?.letterSpacing.em\n : selected?.letterSpacing.unitless;\n\n return {\n color: config?.color,\n fontFamily,\n fontSize,\n fontWeight,\n lineHeight,\n letterSpacing,\n };\n};\n"],"mappings":"AACA,SAASA,QAAT,QAAyB,cAAzB;AAYA,eAAe,SAASC,eAAT,CAAyBC,KAAzB,EAAuCC,MAAvC,EAA4E;EAAA;;EACvF,MAAMC,UAAU,GAAGF,KAAK,CAACE,UAAzB;EACA,MAAMC,QAAQ,GAAGF,MAAH,aAAGA,MAAH,2CAAGA,MAAM,CAAEG,QAAX,qDAAG,sBAAAH,MAAM,EAAaC,UAAb,CAAvB;EAEA,MAAMG,UAAU,GAAGF,QAAH,aAAGA,QAAH,uBAAGA,QAAQ,CAAEE,UAA7B;EAEA,MAAMC,UAAU,GAAGH,QAAH,aAAGA,QAAH,uBAAGA,QAAQ,CAAEG,UAA7B,CANuF,CAQvF;;EACA,MAAMC,QAA+B,GAAGT,QAAQ,CAACU,EAAT,KAAgB,KAAhB,GAClCL,QADkC,aAClCA,QADkC,uBAClCA,QAAQ,CAAEI,QAAV,CAAmBE,GADe,GAElC,CAAAN,QAAQ,SAAR,IAAAA,QAAQ,WAAR,YAAAA,QAAQ,CAAEI,QAAV,CAAmBG,QAAnB,KACCR,UAAU,CAACK,QAHlB,CATuF,CAcvF;;EACA,MAAMI,UAAmC,GAAGb,QAAQ,CAACU,EAAT,KAAgB,KAAhB,GACtCL,QADsC,aACtCA,QADsC,uBACtCA,QAAQ,CAAEQ,UAAV,CAAqBF,GADiB,GAEtCN,QAFsC,aAEtCA,QAFsC,uBAEtCA,QAAQ,CAAEQ,UAAV,CAAqBD,QAF3B,CAfuF,CAmBvF;;EACA,MAAME,aAAyC,GAAGd,QAAQ,CAACU,EAAT,KAAgB,KAAhB,GAC5CL,QAD4C,aAC5CA,QAD4C,uBAC5CA,QAAQ,CAAES,aAAV,CAAwBC,EADoB,GAE5CV,QAF4C,aAE5CA,QAF4C,uBAE5CA,QAAQ,CAAES,aAAV,CAAwBF,QAF9B;EAIA,OAAO;IACHI,KAAK,EAAEb,MAAF,aAAEA,MAAF,uBAAEA,MAAM,CAAEa,KADZ;IAEHT,UAFG;IAGHE,QAHG;IAIHD,UAJG;IAKHK,UALG;IAMHC;EANG,CAAP;AAQH;AAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"names":["default","createFontStyle","EdgeInsets","PredefinedStyles","styled","css","StyleSheet","ThemeProvider","useTheme"],"sources":["index.ts"],"sourcesContent":["export { default as createFontStyle } from './createFontStyle';\nexport { default as EdgeInsets } from './EdgeInsets';\nexport type { EdgeInsetsType } from './EdgeInsets';\nexport { default as PredefinedStyles } from './PredefinedStyles';\nexport { default as styled, css } from './styled';\nexport { default as StyleSheet } from './StyleSheet';\nexport { default as ThemeProvider } from './ThemeProvider';\nexport { default as useTheme } from './useTheme';\n"],"mappings":"AAAA,SAASA,OAAO,IAAIC,eAApB,QAA2C,mBAA3C;AACA,SAASD,OAAO,IAAIE,UAApB,QAAsC,cAAtC;AAEA,SAASF,OAAO,IAAIG,gBAApB,QAA4C,oBAA5C;AACA,SAASH,OAAO,IAAII,MAApB,EAA4BC,GAA5B,QAAuC,UAAvC;AACA,SAASL,OAAO,IAAIM,UAApB,QAAsC,cAAtC;AACA,SAASN,OAAO,IAAIO,aAApB,QAAyC,iBAAzC;AACA,SAASP,OAAO,IAAIQ,QAApB,QAAoC,YAApC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"names":["styled","default","css"],"sources":["styled.ts"],"sourcesContent":["export { styled as default, css } from '@fountain-ui/styles';"],"mappings":"AAAA,SAASA,MAAM,IAAIC,OAAnB,EAA4BC,GAA5B,QAAuC,qBAAvC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"names":["useTheme","default"],"sources":["useTheme.ts"],"sourcesContent":["export { useTheme as default } from '@fountain-ui/styles';"],"mappings":"AAAA,SAASA,QAAQ,IAAIC,OAArB,QAAoC,qBAApC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["import type { Animated } from 'react-native';\nimport type { FountainUiStyle } from '@fountain-ui/styles';\n\nexport type ExtendedStyle<StyleType extends FountainUiStyle = FountainUiStyle> = StyleType;\n\nexport type ComponentProps<P = {}> = BaseProps & Readonly<P>;\n\nexport type OverridableComponentProps<R, P = {}> =\n & ComponentProps<P>\n & Omit<R, keyof ComponentProps<P>>;\n\nexport interface BaseProps extends Readonly<{\n style?: ExtendedStyle | ExtendedStyle[];\n}> {}\n\nexport type { Theme } from '@fountain-ui/styles';\n\nexport type CommonComponentColor =\n | 'primary'\n | 'secondary'\n | 'tertiary'\n | 'warning'\n | 'accent';\n\nexport interface SyncAnimatedValue {\n animatedValue: Animated.Value;\n initialValue: number;\n getCurrentValue: () => number;\n}\n"],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"names":["cloneElement","cloneElementSafely","element","props"],"sources":["cloneElementSafely.ts"],"sourcesContent":["import { cloneElement, ReactElement } from 'react';\n\ntype FalsyReactElement = ReactElement | null | undefined;\n\nexport default function cloneElementSafely(element: FalsyReactElement, props?: any): FalsyReactElement {\n return element\n ? cloneElement(element, { ...props, ...element?.props })\n : null;\n};\n"],"mappings":"AAAA,SAASA,YAAT,QAA2C,OAA3C;AAIA,eAAe,SAASC,kBAAT,CAA4BC,OAA5B,EAAwDC,KAAxD,EAAwF;EACnG,OAAOD,OAAO,gBACRF,YAAY,CAACE,OAAD,EAAU,EAAE,GAAGC,KAAL;IAAY,IAAGD,OAAH,aAAGA,OAAH,uBAAGA,OAAO,CAAEC,KAAZ;EAAZ,CAAV,CADJ,GAER,IAFN;AAGH;AAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"names":["React","SvgIcon","createSvgIcon","path","displayName","Component","props","memo"],"sources":["createSvgIcon.tsx"],"sourcesContent":["import React from 'react';\nimport type { SvgIconProps } from '../SvgIcon';\nimport SvgIcon from '../SvgIcon';\n\ntype SvgIconBaseProps = Omit<SvgIconProps, 'children'>;\n\nconst createSvgIcon = (path: React.ReactElement | React.ReactFragment, displayName: string) => {\n function Component(props: SvgIconBaseProps) {\n return (\n <SvgIcon {...props}>\n {path}\n </SvgIcon>\n );\n }\n\n Component.displayName = `${displayName}Icon`;\n\n return React.memo(Component);\n};\n\nexport default createSvgIcon;\n"],"mappings":"AAAA,OAAOA,KAAP,MAAkB,OAAlB;AAEA,OAAOC,OAAP,MAAoB,YAApB;;AAIA,MAAMC,aAAa,GAAG,CAACC,IAAD,EAAiDC,WAAjD,KAAyE;EAC3F,SAASC,SAAT,CAAmBC,KAAnB,EAA4C;IACxC,oBACI,oBAAC,OAAD,EAAaA,KAAb,EACKH,IADL,CADJ;EAKH;;EAEDE,SAAS,CAACD,WAAV,GAAyB,GAAEA,WAAY,MAAvC;EAEA,oBAAOJ,KAAK,CAACO,IAAN,CAAWF,SAAX,CAAP;AACH,CAZD;;AAcA,eAAeH,aAAf"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"names":["default","cloneElementSafely","createSvgIcon"],"sources":["index.ts"],"sourcesContent":["export { default as cloneElementSafely } from './cloneElementSafely';\nexport { default as createSvgIcon } from './createSvgIcon';\n"],"mappings":"AAAA,SAASA,OAAO,IAAIC,kBAApB,QAA8C,sBAA9C;AACA,SAASD,OAAO,IAAIE,aAApB,QAAyC,iBAAzC"}
|
|
@@ -25,6 +25,10 @@ export default interface ButtonBaseProps extends OverridableComponentProps<Press
|
|
|
25
25
|
* @default 'opacity'
|
|
26
26
|
*/
|
|
27
27
|
pressEffect?: PressEffect;
|
|
28
|
+
/**
|
|
29
|
+
* The milliseconds to delay effect.
|
|
30
|
+
*/
|
|
31
|
+
pressDelay?: number;
|
|
28
32
|
/**
|
|
29
33
|
* The millisecond for debouncing.
|
|
30
34
|
* @default 650
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { CommonComponentColor, OverridableComponentProps } from '../types';
|
|
3
3
|
import type { ButtonBaseProps } from '../ButtonBase';
|
|
4
|
-
declare type BaseProps = Omit<ButtonBaseProps, 'onPress'>;
|
|
4
|
+
declare type BaseProps = Omit<ButtonBaseProps, 'onPress' | 'children'>;
|
|
5
5
|
export declare type CheckboxColor = CommonComponentColor;
|
|
6
6
|
export default interface CheckboxProps extends OverridableComponentProps<BaseProps, {
|
|
7
7
|
/**
|
|
@@ -11,6 +11,10 @@ export default interface ChipProps extends OverridableComponentProps<ButtonBaseP
|
|
|
11
11
|
* The content of the component.
|
|
12
12
|
*/
|
|
13
13
|
children: string;
|
|
14
|
+
/**
|
|
15
|
+
* Number of lines of children.
|
|
16
|
+
*/
|
|
17
|
+
numberOfLines?: number;
|
|
14
18
|
/**
|
|
15
19
|
* Element placed before the children.
|
|
16
20
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { ViewProps } from 'react-native';
|
|
3
|
-
import { OverridableComponentProps } from '../types';
|
|
2
|
+
import type { ViewProps } from 'react-native';
|
|
3
|
+
import type { OverridableComponentProps } from '../types';
|
|
4
4
|
export default function CircularProgress(props: OverridableComponentProps<ViewProps>): JSX.Element;
|
|
@@ -11,5 +11,9 @@ export default interface DialogProps extends OverridableComponentProps<ModalProp
|
|
|
11
11
|
* @default false
|
|
12
12
|
*/
|
|
13
13
|
fullScreen?: boolean;
|
|
14
|
+
/**
|
|
15
|
+
* Top element for displaying additional information on the dialog.
|
|
16
|
+
*/
|
|
17
|
+
topElement?: React.ReactNode;
|
|
14
18
|
}> {
|
|
15
19
|
}
|
|
@@ -1,13 +1,28 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { ViewProps } from 'react-native';
|
|
3
3
|
import type { OverridableComponentProps } from '../types';
|
|
4
|
-
import type { ImageSource, Loading, ResizeMode } from '../ImageCore';
|
|
4
|
+
import type { ImageSource, Loading, ResizeMode, CacheControl } from '../ImageCore';
|
|
5
|
+
/**
|
|
6
|
+
* Image file quality.
|
|
7
|
+
* Request image by query string.
|
|
8
|
+
*/
|
|
9
|
+
export declare type ImageQuality = 'small' | 'medium' | 'large';
|
|
5
10
|
export default interface ImageProps extends OverridableComponentProps<ViewProps, {
|
|
6
11
|
/**
|
|
7
12
|
* Indicating the alternate fallback content to be displayed
|
|
8
13
|
* if the image has not been loaded.
|
|
9
14
|
*/
|
|
10
15
|
alt?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Disable drag event for web.
|
|
18
|
+
* @default false
|
|
19
|
+
*/
|
|
20
|
+
disableDrag?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Disable Long click event for web.
|
|
23
|
+
* @default false
|
|
24
|
+
*/
|
|
25
|
+
disableLongClick?: boolean;
|
|
11
26
|
/**
|
|
12
27
|
* If `true`, the image outline is not rendered.
|
|
13
28
|
* @default false
|
|
@@ -18,6 +33,10 @@ export default interface ImageProps extends OverridableComponentProps<ViewProps,
|
|
|
18
33
|
* @default false
|
|
19
34
|
*/
|
|
20
35
|
disablePlaceholder?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Custom error element. Default is simple alt text.
|
|
38
|
+
*/
|
|
39
|
+
error?: React.ReactElement | null;
|
|
21
40
|
/**
|
|
22
41
|
* Web only. Loading the document by determining whether to load
|
|
23
42
|
* the image immediately (`eager`) or on an as-needed basis (`lazy`).
|
|
@@ -36,7 +55,11 @@ export default interface ImageProps extends OverridableComponentProps<ViewProps,
|
|
|
36
55
|
/**
|
|
37
56
|
* The children on top this image.
|
|
38
57
|
*/
|
|
39
|
-
overlaidChildren?: React.
|
|
58
|
+
overlaidChildren?: React.ReactElement;
|
|
59
|
+
/**
|
|
60
|
+
* Custom placeholder element.
|
|
61
|
+
*/
|
|
62
|
+
placeholder?: React.ReactElement;
|
|
40
63
|
/**
|
|
41
64
|
* Determines how to resize the image when the frame doesn't match the raw image dimensions.
|
|
42
65
|
* @default 'cover'
|
|
@@ -51,5 +74,10 @@ export default interface ImageProps extends OverridableComponentProps<ViewProps,
|
|
|
51
74
|
* @default false
|
|
52
75
|
*/
|
|
53
76
|
square?: boolean;
|
|
77
|
+
/***
|
|
78
|
+
* FastImage cache control value.
|
|
79
|
+
* @default 'immutable'
|
|
80
|
+
*/
|
|
81
|
+
cache?: CacheControl;
|
|
54
82
|
}> {
|
|
55
83
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default } from './Image';
|
|
2
|
-
export type { default as ImageProps } from './ImageProps';
|
|
2
|
+
export type { default as ImageProps, ImageQuality } from './ImageProps';
|
|
@@ -1,10 +1,14 @@
|
|
|
1
1
|
export interface ImageSource {
|
|
2
|
-
uri
|
|
2
|
+
uri?: string;
|
|
3
3
|
}
|
|
4
4
|
export declare type ResizeMode = 'cover' | 'contain';
|
|
5
5
|
export declare type Loading = 'lazy' | 'eager';
|
|
6
|
+
export declare type CacheControl = 'immutable' | 'web' | 'cacheOnly';
|
|
6
7
|
export default interface ImageCoreProps extends Readonly<{
|
|
7
8
|
alt?: string;
|
|
9
|
+
cache?: CacheControl;
|
|
10
|
+
disableDrag?: boolean;
|
|
11
|
+
disableLongClick?: boolean;
|
|
8
12
|
height?: number | string;
|
|
9
13
|
loading: Loading;
|
|
10
14
|
onError?: () => void;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare enum ImageFileExtension {
|
|
3
|
+
AVIF = "avif",
|
|
4
|
+
WEBP = "webp",
|
|
5
|
+
JPG = "jpg",
|
|
6
|
+
PNG = "png"
|
|
7
|
+
}
|
|
8
|
+
interface ImageFileExtensionProviderProps {
|
|
9
|
+
children: React.ReactNode;
|
|
10
|
+
extensions: ImageFileExtension[];
|
|
11
|
+
}
|
|
12
|
+
export default function ImageFileExtensionProvider(props: ImageFileExtensionProviderProps): JSX.Element;
|
|
13
|
+
export {};
|
|
@@ -1,2 +1,4 @@
|
|
|
1
1
|
export { default } from './ImageCoreWeb';
|
|
2
|
-
export
|
|
2
|
+
export type { default as ImageCoreProps, ImageSource, Loading, ResizeMode, CacheControl } from './ImageCoreProps';
|
|
3
|
+
export { default as ImageFileExtensionProvider } from './ImageFileExtensionProvider';
|
|
4
|
+
export * from './ImageFileExtensionProvider';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import RNSlider from '@react-native-community/slider';
|
|
3
3
|
import type SliderProps from './SliderProps';
|
|
4
|
-
declare const _default: React.ForwardRefExoticComponent<Pick<SliderProps, "testID" | "style" | "onLayout" | "value" | "pointerEvents" | "onStartShouldSetResponder" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "disabled" | "hitSlop" | "removeClippedSubviews" | "nativeID" | "collapsable" | "needsOffscreenAlphaCompositing" | "renderToHardwareTextureAndroid" | "focusable" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxProperties" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "
|
|
4
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<SliderProps, "testID" | "style" | "onLayout" | "value" | "children" | "pointerEvents" | "onStartShouldSetResponder" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "disabled" | "accessibilityLabel" | "accessible" | "hitSlop" | "removeClippedSubviews" | "nativeID" | "collapsable" | "needsOffscreenAlphaCompositing" | "renderToHardwareTextureAndroid" | "focusable" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxProperties" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "accessibilityActions" | "accessibilityRole" | "accessibilityState" | "accessibilityHint" | "accessibilityValue" | "onAccessibilityAction" | "accessibilityLabelledBy" | "accessibilityLiveRegion" | "importantForAccessibility" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "inverted" | "vertical" | "maximumTrackTintColor" | "maximumValue" | "minimumTrackTintColor" | "minimumValue" | "onSlidingStart" | "onSlidingComplete" | "onValueChange" | "step" | "accessibilityUnits" | "accessibilityIncrements" | "maximumTrackImage" | "minimumTrackImage" | "tapToSeek" | "thumbImage" | "trackImage" | "thumbTintColor"> & React.RefAttributes<RNSlider>>;
|
|
5
5
|
export default _default;
|
|
@@ -1,3 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
2
|
+
import type { TabIndicatorColor } from './TabProps';
|
|
3
|
+
declare const _default: React.MemoExoticComponent<({ color }: {
|
|
4
|
+
color: TabIndicatorColor;
|
|
5
|
+
}) => JSX.Element>;
|
|
3
6
|
export default _default;
|
|
@@ -2,6 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import type { TabBaseProps } from '../TabBase';
|
|
3
3
|
import type { OverridableComponentProps } from '../types';
|
|
4
4
|
export declare type TabVariant = 'primary' | 'secondary' | 'bottom-navigation';
|
|
5
|
+
export declare type TabIndicatorColor = 'primary' | 'secondary';
|
|
5
6
|
export default interface TabProps extends OverridableComponentProps<TabBaseProps, {
|
|
6
7
|
/**
|
|
7
8
|
* If `true`, the badge is visible.
|
|
@@ -26,6 +27,11 @@ export default interface TabProps extends OverridableComponentProps<TabBaseProps
|
|
|
26
27
|
* Element placed before the children.
|
|
27
28
|
*/
|
|
28
29
|
icon?: React.ReactElement;
|
|
30
|
+
/**
|
|
31
|
+
* Tab indicator color
|
|
32
|
+
* @default 'primary'
|
|
33
|
+
*/
|
|
34
|
+
indicatorColor?: TabIndicatorColor;
|
|
29
35
|
/**
|
|
30
36
|
* If supplied, use this icon on selected state.
|
|
31
37
|
*/
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { ReactElement } from 'react';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
export interface IndexAwareTabProps {
|
|
4
|
+
children: ReactElement;
|
|
5
|
+
index: number;
|
|
6
|
+
initialIndex: number;
|
|
7
|
+
}
|
|
8
|
+
export default function IndexAwareTab(props: IndexAwareTabProps): ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { MonoStore } from '../store';
|
|
3
|
+
export interface InternalContextValue {
|
|
4
|
+
indexStore: MonoStore<number>;
|
|
5
|
+
}
|
|
6
|
+
declare const InternalContext: import("react").Context<InternalContextValue>;
|
|
7
|
+
export default InternalContext;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import type { ScrollViewProps } from 'react-native';
|
|
3
|
+
import TabCoordinate from './TabCoordinate';
|
|
4
|
+
export interface ScrollableTabsViewProps extends ScrollViewProps {
|
|
5
|
+
initialIndex: number;
|
|
6
|
+
coordinates: TabCoordinate[];
|
|
7
|
+
}
|
|
8
|
+
export default function ScrollableTabsView(props: ScrollableTabsViewProps): JSX.Element;
|
|
@@ -1,23 +1,28 @@
|
|
|
1
1
|
import type { ViewProps } from 'react-native';
|
|
2
|
-
import Animated from 'react-native-reanimated';
|
|
3
2
|
import type { OverridableComponentProps } from '../types';
|
|
4
3
|
import type TabCoordinate from './TabCoordinate';
|
|
4
|
+
export declare type TabIndicatorColor = 'primary' | 'secondary';
|
|
5
5
|
export default interface TabIndicatorProps extends OverridableComponentProps<ViewProps, {
|
|
6
6
|
/**
|
|
7
7
|
* Tab item coordinates.
|
|
8
8
|
*/
|
|
9
9
|
coordinates: TabCoordinate[];
|
|
10
|
+
/**
|
|
11
|
+
* Indicator color.
|
|
12
|
+
* @default: 'primary'
|
|
13
|
+
*/
|
|
14
|
+
color?: TabIndicatorColor;
|
|
10
15
|
/**
|
|
11
16
|
* If `true`, the indicator is disabled.
|
|
12
17
|
*/
|
|
13
18
|
disabled: boolean;
|
|
14
19
|
/**
|
|
15
|
-
*
|
|
20
|
+
* Initial index.
|
|
16
21
|
*/
|
|
17
|
-
|
|
22
|
+
initialIndex: number;
|
|
18
23
|
/**
|
|
19
|
-
*
|
|
24
|
+
* If `true`, the tab will be able to scroll.
|
|
20
25
|
*/
|
|
21
|
-
|
|
26
|
+
scrollable: boolean;
|
|
22
27
|
}> {
|
|
23
28
|
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import type TabsProps from './TabsProps';
|
|
3
|
-
|
|
3
|
+
import type { TabsInstance } from './types';
|
|
4
|
+
declare const Tabs: React.ForwardRefExoticComponent<Pick<TabsProps, "testID" | "style" | "onLayout" | "keyboardDismissMode" | "children" | "pointerEvents" | "onStartShouldSetResponder" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "accessibilityLabel" | "accessible" | "hitSlop" | "removeClippedSubviews" | "nativeID" | "collapsable" | "needsOffscreenAlphaCompositing" | "renderToHardwareTextureAndroid" | "focusable" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxProperties" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "accessibilityActions" | "accessibilityRole" | "accessibilityState" | "accessibilityHint" | "accessibilityValue" | "onAccessibilityAction" | "accessibilityLabelledBy" | "accessibilityLiveRegion" | "importantForAccessibility" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "variant" | "keyboardShouldPersistTaps" | "onChange" | "indicatorColor" | "initialIndex" | "scrollable" | "disableIndicator" | "UNSTABLE_sharedIndex"> & React.RefAttributes<TabsInstance>>;
|
|
5
|
+
export default Tabs;
|
|
@@ -1,24 +1,30 @@
|
|
|
1
|
-
import
|
|
1
|
+
import type { ReactNode, Ref } from 'react';
|
|
2
2
|
import type { ViewProps } from 'react-native';
|
|
3
|
-
import
|
|
3
|
+
import type { TabIndicatorColor } from './TabIndicatorProps';
|
|
4
4
|
import type { TabVariant } from '../Tab';
|
|
5
|
-
import type { OverridableComponentProps } from '../types';
|
|
6
|
-
|
|
7
|
-
export declare type KeyboardShouldPersistTaps = 'never' | boolean | 'always' | 'handled';
|
|
5
|
+
import type { OverridableComponentProps, SyncAnimatedValue } from '../types';
|
|
6
|
+
import type { KeyboardDismissMode, KeyboardShouldPersistTaps, TabsInstance } from './types';
|
|
8
7
|
export default interface TabsProps extends OverridableComponentProps<ViewProps, {
|
|
8
|
+
ref?: Ref<TabsInstance>;
|
|
9
9
|
/**
|
|
10
10
|
* Collection of Tab components.
|
|
11
11
|
*/
|
|
12
|
-
children:
|
|
13
|
-
/**
|
|
14
|
-
* Selected index.
|
|
15
|
-
*/
|
|
16
|
-
index: number;
|
|
12
|
+
children: ReactNode;
|
|
17
13
|
/**
|
|
18
14
|
* If `true`, the indicator is disabled.
|
|
19
15
|
* @default false
|
|
20
16
|
*/
|
|
21
17
|
disableIndicator?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* The color of tab indicator
|
|
20
|
+
* @default 'primary'
|
|
21
|
+
*/
|
|
22
|
+
indicatorColor?: TabIndicatorColor;
|
|
23
|
+
/**
|
|
24
|
+
* Index of initial tab that should be selected.
|
|
25
|
+
* @default 0
|
|
26
|
+
*/
|
|
27
|
+
initialIndex?: number;
|
|
22
28
|
/**
|
|
23
29
|
* keyboard dismissing condition of dragging.
|
|
24
30
|
* @default 'none'
|
|
@@ -39,9 +45,9 @@ export default interface TabsProps extends OverridableComponentProps<ViewProps,
|
|
|
39
45
|
*/
|
|
40
46
|
scrollable?: boolean;
|
|
41
47
|
/**
|
|
42
|
-
*
|
|
48
|
+
* Unstable API.
|
|
43
49
|
*/
|
|
44
|
-
|
|
50
|
+
UNSTABLE_sharedIndex?: SyncAnimatedValue;
|
|
45
51
|
/**
|
|
46
52
|
* The variant to use.
|
|
47
53
|
* @default 'primary'
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare type KeyboardDismissMode = 'none' | 'on-drag' | 'interactive';
|
|
2
|
+
export declare type KeyboardShouldPersistTaps = 'never' | boolean | 'always' | 'handled';
|
|
3
|
+
export interface TabsInstance {
|
|
4
|
+
/**
|
|
5
|
+
* Function to scroll to a specific tab. Invalid index is ignored.
|
|
6
|
+
* @param index
|
|
7
|
+
*/
|
|
8
|
+
setTab: (index: number) => void;
|
|
9
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { MutableRefObject } from 'react';
|
|
2
|
+
import type { ScrollView, ViewProps } from 'react-native';
|
|
3
|
+
import type TabCoordinate from './TabCoordinate';
|
|
4
|
+
export interface UseScrollViewReaction {
|
|
5
|
+
scrollViewRef: MutableRefObject<ScrollView | null>;
|
|
6
|
+
onLayout: ViewProps['onLayout'];
|
|
7
|
+
}
|
|
8
|
+
export default function useScrollViewReaction(initialIndex: number, coordinates: TabCoordinate[]): UseScrollViewReaction;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import TabCoordinate from './TabCoordinate';
|
|
3
|
+
export interface UpdateCoordinate {
|
|
4
|
+
(index: number, x: number, width: number): void;
|
|
5
|
+
}
|
|
6
|
+
export default function useTabCoordinates(tabElements: React.ReactNode): [TabCoordinate[], UpdateCoordinate];
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { ViewProps } from 'react-native';
|
|
2
|
+
import type { TextProps, ViewProps } from 'react-native';
|
|
3
3
|
import type { ComponentProps } from '../types';
|
|
4
4
|
import type { ButtonProps } from '../Button';
|
|
5
5
|
export declare type TooltipPlacement = 'top' | 'bottom';
|
|
6
|
+
export declare type TooltipArrowPlacement = 'left' | 'right';
|
|
6
7
|
export default interface TooltipProps extends ComponentProps<{
|
|
7
8
|
/**
|
|
8
9
|
* Tooltip reference element.
|
|
@@ -43,5 +44,18 @@ export default interface TooltipProps extends ComponentProps<{
|
|
|
43
44
|
* @default false
|
|
44
45
|
*/
|
|
45
46
|
visible?: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* Tooltip arrow layout.
|
|
49
|
+
* If 'undefined', the arrow will be centered on tooltip.
|
|
50
|
+
*/
|
|
51
|
+
arrowLayout?: {
|
|
52
|
+
placement: TooltipArrowPlacement;
|
|
53
|
+
offset: number;
|
|
54
|
+
};
|
|
55
|
+
/**
|
|
56
|
+
* number of tooltip's title lines
|
|
57
|
+
* @default 1
|
|
58
|
+
*/
|
|
59
|
+
numberOfTitleLines?: TextProps['numberOfLines'];
|
|
46
60
|
}> {
|
|
47
61
|
}
|
|
@@ -13,12 +13,25 @@ export interface AccessibilityMap extends Partial<{
|
|
|
13
13
|
}> {
|
|
14
14
|
}
|
|
15
15
|
export default interface TypographyProps extends ComponentProps<{
|
|
16
|
+
/**
|
|
17
|
+
* Applies HTML tag at web and communicates purpose of component at app
|
|
18
|
+
*/
|
|
19
|
+
accessibilityRole?: AccessibilityProps['accessibilityRole'];
|
|
16
20
|
/**
|
|
17
21
|
* Set the text-align on the component.
|
|
18
22
|
* The value 'justify' is not supported on Android and fallbacks to left.
|
|
19
23
|
* @default 'inherit'
|
|
20
24
|
*/
|
|
21
25
|
align?: TypographyAlign;
|
|
26
|
+
/**
|
|
27
|
+
* Applies HTML heading level
|
|
28
|
+
*/
|
|
29
|
+
ariaLevel?: number;
|
|
30
|
+
/**
|
|
31
|
+
* Specifies whether fonts should scale to respect Text Size accessibility settings.
|
|
32
|
+
* @default false
|
|
33
|
+
*/
|
|
34
|
+
disableFontScaling?: boolean;
|
|
22
35
|
/**
|
|
23
36
|
* The content of the component.
|
|
24
37
|
*/
|