@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.
Files changed (852) hide show
  1. package/build/commonjs/Accordion/Accordion.js +6 -8
  2. package/build/commonjs/Accordion/Accordion.js.map +1 -1
  3. package/build/commonjs/Accordion/AccordionProps.js.map +1 -1
  4. package/build/commonjs/Accordion/index.js.map +1 -1
  5. package/build/commonjs/AppBar/AppBar.js +9 -14
  6. package/build/commonjs/AppBar/AppBar.js.map +1 -1
  7. package/build/commonjs/AppBar/AppBarProps.js.map +1 -1
  8. package/build/commonjs/AppBar/index.js.map +1 -1
  9. package/build/commonjs/AspectRatio/AspectRatioNative.js +1 -1
  10. package/build/commonjs/AspectRatio/AspectRatioNative.js.map +1 -1
  11. package/build/commonjs/AspectRatio/AspectRatioProps.js.map +1 -1
  12. package/build/commonjs/AspectRatio/AspectRatioWeb.js +1 -1
  13. package/build/commonjs/AspectRatio/AspectRatioWeb.js.map +1 -1
  14. package/build/commonjs/AspectRatio/index.js.map +1 -1
  15. package/build/commonjs/AspectRatio/index.native.js.map +1 -1
  16. package/build/commonjs/AspectRatio/utils.js +1 -1
  17. package/build/commonjs/AspectRatio/utils.js.map +1 -1
  18. package/build/commonjs/Avatar/Avatar.js.map +1 -1
  19. package/build/commonjs/Avatar/AvatarProps.js.map +1 -1
  20. package/build/commonjs/Avatar/index.js.map +1 -1
  21. package/build/commonjs/Badge/Badge.js +1 -1
  22. package/build/commonjs/Badge/Badge.js.map +1 -1
  23. package/build/commonjs/Badge/BadgeProps.js.map +1 -1
  24. package/build/commonjs/Badge/index.js.map +1 -1
  25. package/build/commonjs/Button/Button.js +2 -2
  26. package/build/commonjs/Button/Button.js.map +1 -1
  27. package/build/commonjs/Button/ButtonProps.js.map +1 -1
  28. package/build/commonjs/Button/index.js.map +1 -1
  29. package/build/commonjs/ButtonBase/ButtonBase.js +64 -59
  30. package/build/commonjs/ButtonBase/ButtonBase.js.map +1 -1
  31. package/build/commonjs/ButtonBase/ButtonBaseProps.js.map +1 -1
  32. package/build/commonjs/ButtonBase/index.js.map +1 -1
  33. package/build/commonjs/Card/Card.js +1 -1
  34. package/build/commonjs/Card/Card.js.map +1 -1
  35. package/build/commonjs/Card/CardProps.js.map +1 -1
  36. package/build/commonjs/Card/index.js.map +1 -1
  37. package/build/commonjs/CardActions/CardActions.js +1 -1
  38. package/build/commonjs/CardActions/CardActions.js.map +1 -1
  39. package/build/commonjs/CardActions/CardActionsProps.js.map +1 -1
  40. package/build/commonjs/CardActions/index.js.map +1 -1
  41. package/build/commonjs/CardContent/CardContent.js +1 -1
  42. package/build/commonjs/CardContent/CardContent.js.map +1 -1
  43. package/build/commonjs/CardContent/CardContentProps.js.map +1 -1
  44. package/build/commonjs/CardContent/index.js.map +1 -1
  45. package/build/commonjs/CardMedia/CardMedia.js +1 -1
  46. package/build/commonjs/CardMedia/CardMedia.js.map +1 -1
  47. package/build/commonjs/CardMedia/CardMediaProps.js.map +1 -1
  48. package/build/commonjs/CardMedia/index.js.map +1 -1
  49. package/build/commonjs/Checkbox/Checkbox.js +1 -1
  50. package/build/commonjs/Checkbox/Checkbox.js.map +1 -1
  51. package/build/commonjs/Checkbox/CheckboxProps.js.map +1 -1
  52. package/build/commonjs/Checkbox/index.js.map +1 -1
  53. package/build/commonjs/Chip/Chip.js +2 -2
  54. package/build/commonjs/Chip/Chip.js.map +1 -1
  55. package/build/commonjs/Chip/ChipProps.js.map +1 -1
  56. package/build/commonjs/Chip/index.js.map +1 -1
  57. package/build/commonjs/CircularProgress/CircularProgress.js +24 -28
  58. package/build/commonjs/CircularProgress/CircularProgress.js.map +1 -1
  59. package/build/commonjs/CircularProgress/index.js.map +1 -1
  60. package/build/commonjs/Column/Column.js.map +1 -1
  61. package/build/commonjs/Column/ColumnProps.js.map +1 -1
  62. package/build/commonjs/Column/index.js.map +1 -1
  63. package/build/commonjs/Dialog/Dialog.js +1 -1
  64. package/build/commonjs/Dialog/Dialog.js.map +1 -1
  65. package/build/commonjs/Dialog/DialogProps.js.map +1 -1
  66. package/build/commonjs/Dialog/index.js.map +1 -1
  67. package/build/commonjs/DialogActions/DialogActions.js +1 -1
  68. package/build/commonjs/DialogActions/DialogActions.js.map +1 -1
  69. package/build/commonjs/DialogActions/DialogActionsProps.js.map +1 -1
  70. package/build/commonjs/DialogActions/index.js.map +1 -1
  71. package/build/commonjs/DialogContent/DialogContent.js +1 -1
  72. package/build/commonjs/DialogContent/DialogContent.js.map +1 -1
  73. package/build/commonjs/DialogContent/DialogContentProps.js.map +1 -1
  74. package/build/commonjs/DialogContent/index.js.map +1 -1
  75. package/build/commonjs/DialogMedia/DialogMedia.js +1 -1
  76. package/build/commonjs/DialogMedia/DialogMedia.js.map +1 -1
  77. package/build/commonjs/DialogMedia/DialogMediaProps.js.map +1 -1
  78. package/build/commonjs/DialogMedia/index.js.map +1 -1
  79. package/build/commonjs/DialogTitle/DialogTitle.js +1 -1
  80. package/build/commonjs/DialogTitle/DialogTitle.js.map +1 -1
  81. package/build/commonjs/DialogTitle/DialogTitleProps.js.map +1 -1
  82. package/build/commonjs/DialogTitle/index.js.map +1 -1
  83. package/build/commonjs/Divider/Divider.js +1 -1
  84. package/build/commonjs/Divider/Divider.js.map +1 -1
  85. package/build/commonjs/Divider/DividerProps.js.map +1 -1
  86. package/build/commonjs/Divider/index.js.map +1 -1
  87. package/build/commonjs/Fab/Fab.js +2 -2
  88. package/build/commonjs/Fab/Fab.js.map +1 -1
  89. package/build/commonjs/Fab/FabProps.js.map +1 -1
  90. package/build/commonjs/Fab/index.js.map +1 -1
  91. package/build/commonjs/Flexbox/Flexbox.js +1 -1
  92. package/build/commonjs/Flexbox/Flexbox.js.map +1 -1
  93. package/build/commonjs/Flexbox/FlexboxProps.js.map +1 -1
  94. package/build/commonjs/Flexbox/index.js.map +1 -1
  95. package/build/commonjs/IconButton/IconButton.js +1 -1
  96. package/build/commonjs/IconButton/IconButton.js.map +1 -1
  97. package/build/commonjs/IconButton/IconButtonProps.js.map +1 -1
  98. package/build/commonjs/IconButton/index.js.map +1 -1
  99. package/build/commonjs/Image/Image.js +1 -1
  100. package/build/commonjs/Image/Image.js.map +1 -1
  101. package/build/commonjs/Image/ImageProps.js.map +1 -1
  102. package/build/commonjs/Image/index.js.map +1 -1
  103. package/build/commonjs/ImageCore/ImageCoreNative.js +26 -26
  104. package/build/commonjs/ImageCore/ImageCoreNative.js.map +1 -1
  105. package/build/commonjs/ImageCore/ImageCoreProps.js.map +1 -1
  106. package/build/commonjs/ImageCore/ImageCoreWeb.js.map +1 -1
  107. package/build/commonjs/ImageCore/index.js.map +1 -1
  108. package/build/commonjs/ImageCore/index.native.js.map +1 -1
  109. package/build/commonjs/Link/Link.js +5 -4
  110. package/build/commonjs/Link/Link.js.map +1 -1
  111. package/build/commonjs/Link/LinkProps.js.map +1 -1
  112. package/build/commonjs/Link/index.js.map +1 -1
  113. package/build/commonjs/List/List.js +1 -1
  114. package/build/commonjs/List/List.js.map +1 -1
  115. package/build/commonjs/List/ListProps.js.map +1 -1
  116. package/build/commonjs/List/index.js.map +1 -1
  117. package/build/commonjs/ListItem/ListItem.js +1 -1
  118. package/build/commonjs/ListItem/ListItem.js.map +1 -1
  119. package/build/commonjs/ListItem/ListItemProps.js.map +1 -1
  120. package/build/commonjs/ListItem/index.js.map +1 -1
  121. package/build/commonjs/ListItemIcon/ListItemIcon.js +1 -1
  122. package/build/commonjs/ListItemIcon/ListItemIcon.js.map +1 -1
  123. package/build/commonjs/ListItemIcon/ListItemIconProps.js.map +1 -1
  124. package/build/commonjs/ListItemIcon/index.js.map +1 -1
  125. package/build/commonjs/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
  126. package/build/commonjs/ListItemSecondaryAction/ListItemSecondaryAction.js.map +1 -1
  127. package/build/commonjs/ListItemSecondaryAction/ListItemSecondaryActionProps.js.map +1 -1
  128. package/build/commonjs/ListItemSecondaryAction/index.js.map +1 -1
  129. package/build/commonjs/ListItemText/ListItemText.js +1 -1
  130. package/build/commonjs/ListItemText/ListItemText.js.map +1 -1
  131. package/build/commonjs/ListItemText/ListItemTextProps.js.map +1 -1
  132. package/build/commonjs/ListItemText/index.js.map +1 -1
  133. package/build/commonjs/ListSubheader/ListSubheader.js +1 -1
  134. package/build/commonjs/ListSubheader/ListSubheader.js.map +1 -1
  135. package/build/commonjs/ListSubheader/ListSubheaderProps.js.map +1 -1
  136. package/build/commonjs/ListSubheader/index.js.map +1 -1
  137. package/build/commonjs/Menu/Menu.js.map +1 -1
  138. package/build/commonjs/Menu/MenuProps.js.map +1 -1
  139. package/build/commonjs/Menu/index.js.map +1 -1
  140. package/build/commonjs/MenuItem/MenuItem.js.map +1 -1
  141. package/build/commonjs/MenuItem/MenuItemProps.js.map +1 -1
  142. package/build/commonjs/MenuItem/index.js.map +1 -1
  143. package/build/commonjs/Modal/Modal.js +2 -2
  144. package/build/commonjs/Modal/Modal.js.map +1 -1
  145. package/build/commonjs/Modal/ModalProps.js.map +1 -1
  146. package/build/commonjs/Modal/SimpleBackdrop.js +1 -1
  147. package/build/commonjs/Modal/SimpleBackdrop.js.map +1 -1
  148. package/build/commonjs/Modal/SimpleBackdropProps.js.map +1 -1
  149. package/build/commonjs/Modal/index.js +4 -4
  150. package/build/commonjs/Modal/index.js.map +1 -1
  151. package/build/commonjs/Pagination/Pagination.js +10 -7
  152. package/build/commonjs/Pagination/Pagination.js.map +1 -1
  153. package/build/commonjs/Pagination/PaginationProps.js.map +1 -1
  154. package/build/commonjs/Pagination/index.js.map +1 -1
  155. package/build/commonjs/PaginationItem/PaginationItem.js +1 -1
  156. package/build/commonjs/PaginationItem/PaginationItem.js.map +1 -1
  157. package/build/commonjs/PaginationItem/PaginationItemProps.js.map +1 -1
  158. package/build/commonjs/PaginationItem/index.js.map +1 -1
  159. package/build/commonjs/Paper/Paper.js +12 -4
  160. package/build/commonjs/Paper/Paper.js.map +1 -1
  161. package/build/commonjs/Paper/PaperProps.js.map +1 -1
  162. package/build/commonjs/Paper/PaperStylesProvider.js +14 -0
  163. package/build/commonjs/Paper/PaperStylesProvider.js.map +1 -0
  164. package/build/commonjs/Paper/index.js.map +1 -1
  165. package/build/commonjs/Paper/usePaperStyles.js +17 -0
  166. package/build/commonjs/Paper/usePaperStyles.js.map +1 -0
  167. package/build/commonjs/Portal/Portal.js.map +1 -1
  168. package/build/commonjs/Portal/PortalConsumer.js +2 -2
  169. package/build/commonjs/Portal/PortalConsumer.js.map +1 -1
  170. package/build/commonjs/Portal/PortalHost.js +2 -2
  171. package/build/commonjs/Portal/PortalHost.js.map +1 -1
  172. package/build/commonjs/Portal/PortalManager.js +11 -8
  173. package/build/commonjs/Portal/PortalManager.js.map +1 -1
  174. package/build/commonjs/Portal/PortalProps.js.map +1 -1
  175. package/build/commonjs/Portal/index.js.map +1 -1
  176. package/build/commonjs/Pressable/index.js.map +1 -1
  177. package/build/commonjs/Radio/Radio.js +3 -7
  178. package/build/commonjs/Radio/Radio.js.map +1 -1
  179. package/build/commonjs/Radio/RadioProps.js.map +1 -1
  180. package/build/commonjs/Radio/index.js.map +1 -1
  181. package/build/commonjs/RadioGroup/RadioContextProvider.js.map +1 -1
  182. package/build/commonjs/RadioGroup/RadioGroup.js.map +1 -1
  183. package/build/commonjs/RadioGroup/RadioGroupProps.js.map +1 -1
  184. package/build/commonjs/RadioGroup/index.js.map +1 -1
  185. package/build/commonjs/Row/Row.js.map +1 -1
  186. package/build/commonjs/Row/RowProps.js.map +1 -1
  187. package/build/commonjs/Row/index.js.map +1 -1
  188. package/build/commonjs/Slide/Slide.js +16 -20
  189. package/build/commonjs/Slide/Slide.js.map +1 -1
  190. package/build/commonjs/Slide/SlideProps.js.map +1 -1
  191. package/build/commonjs/Slide/index.js.map +1 -1
  192. package/build/commonjs/Slider/Slider.js +1 -1
  193. package/build/commonjs/Slider/Slider.js.map +1 -1
  194. package/build/commonjs/Slider/SliderProps.js.map +1 -1
  195. package/build/commonjs/Slider/index.js.map +1 -1
  196. package/build/commonjs/Snackbar/Snackbar.js +1 -1
  197. package/build/commonjs/Snackbar/Snackbar.js.map +1 -1
  198. package/build/commonjs/Snackbar/SnackbarProps.js.map +1 -1
  199. package/build/commonjs/Snackbar/index.js.map +1 -1
  200. package/build/commonjs/SnackbarContent/SnackbarContent.js +1 -1
  201. package/build/commonjs/SnackbarContent/SnackbarContent.js.map +1 -1
  202. package/build/commonjs/SnackbarContent/SnackbarContentProps.js.map +1 -1
  203. package/build/commonjs/SnackbarContent/index.js.map +1 -1
  204. package/build/commonjs/Spacer/Spacer.js +1 -1
  205. package/build/commonjs/Spacer/Spacer.js.map +1 -1
  206. package/build/commonjs/Spacer/SpacerProps.js.map +1 -1
  207. package/build/commonjs/Spacer/index.js.map +1 -1
  208. package/build/commonjs/SvgIcon/SvgIcon.js +2 -3
  209. package/build/commonjs/SvgIcon/SvgIcon.js.map +1 -1
  210. package/build/commonjs/SvgIcon/SvgIconProps.js.map +1 -1
  211. package/build/commonjs/SvgIcon/index.js.map +1 -1
  212. package/build/commonjs/Switch/Switch.js +1 -1
  213. package/build/commonjs/Switch/Switch.js.map +1 -1
  214. package/build/commonjs/Switch/SwitchProps.js.map +1 -1
  215. package/build/commonjs/Switch/index.js.map +1 -1
  216. package/build/commonjs/Tab/Tab.js +10 -6
  217. package/build/commonjs/Tab/Tab.js.map +1 -1
  218. package/build/commonjs/Tab/TabIndicator.js.map +1 -1
  219. package/build/commonjs/Tab/TabProps.js.map +1 -1
  220. package/build/commonjs/Tab/index.js.map +1 -1
  221. package/build/commonjs/TabBase/TabBase.js +1 -1
  222. package/build/commonjs/TabBase/TabBase.js.map +1 -1
  223. package/build/commonjs/TabBase/TabBaseProps.js.map +1 -1
  224. package/build/commonjs/TabBase/index.js.map +1 -1
  225. package/build/commonjs/Tabs/IndexAwareTab.js +35 -0
  226. package/build/commonjs/Tabs/IndexAwareTab.js.map +1 -0
  227. package/build/commonjs/Tabs/InternalContext.js +17 -0
  228. package/build/commonjs/Tabs/InternalContext.js.map +1 -0
  229. package/build/commonjs/Tabs/ScrollableTabsView.js +34 -0
  230. package/build/commonjs/Tabs/ScrollableTabsView.js.map +1 -0
  231. package/build/commonjs/Tabs/TabCoordinate.js.map +1 -1
  232. package/build/commonjs/Tabs/TabIndicator.js +65 -29
  233. package/build/commonjs/Tabs/TabIndicator.js.map +1 -1
  234. package/build/commonjs/Tabs/TabIndicatorProps.js.map +1 -1
  235. package/build/commonjs/Tabs/Tabs.js +62 -82
  236. package/build/commonjs/Tabs/Tabs.js.map +1 -1
  237. package/build/commonjs/Tabs/TabsProps.js.map +1 -1
  238. package/build/commonjs/Tabs/index.js.map +1 -1
  239. package/build/commonjs/Tabs/types.js +2 -0
  240. package/build/commonjs/Tabs/types.js.map +1 -0
  241. package/build/commonjs/Tabs/useIndexStore.js +35 -0
  242. package/build/commonjs/Tabs/useIndexStore.js.map +1 -0
  243. package/build/commonjs/Tabs/useScrollViewReaction.js +61 -0
  244. package/build/commonjs/Tabs/useScrollViewReaction.js.map +1 -0
  245. package/build/commonjs/Tabs/useTabCoordinates.js +30 -0
  246. package/build/commonjs/Tabs/useTabCoordinates.js.map +1 -0
  247. package/build/commonjs/Tabs/utils.js +19 -0
  248. package/build/commonjs/Tabs/utils.js.map +1 -0
  249. package/build/commonjs/TextField/InputLabel.js +11 -7
  250. package/build/commonjs/TextField/InputLabel.js.map +1 -1
  251. package/build/commonjs/TextField/OutlinedTextField.js +1 -2
  252. package/build/commonjs/TextField/OutlinedTextField.js.map +1 -1
  253. package/build/commonjs/TextField/TextField.js.map +1 -1
  254. package/build/commonjs/TextField/TextFieldProps.js.map +1 -1
  255. package/build/commonjs/TextField/index.js.map +1 -1
  256. package/build/commonjs/TextField/utils.js +1 -1
  257. package/build/commonjs/TextField/utils.js.map +1 -1
  258. package/build/commonjs/Toolbar/Toolbar.js +1 -1
  259. package/build/commonjs/Toolbar/Toolbar.js.map +1 -1
  260. package/build/commonjs/Toolbar/ToolbarProps.js.map +1 -1
  261. package/build/commonjs/Toolbar/index.js.map +1 -1
  262. package/build/commonjs/Tooltip/Tooltip.js +22 -24
  263. package/build/commonjs/Tooltip/Tooltip.js.map +1 -1
  264. package/build/commonjs/Tooltip/TooltipProps.js.map +1 -1
  265. package/build/commonjs/Tooltip/UpArrow.js +6 -5
  266. package/build/commonjs/Tooltip/UpArrow.js.map +1 -1
  267. package/build/commonjs/Tooltip/UpArrowProps.js.map +1 -1
  268. package/build/commonjs/Tooltip/index.js.map +1 -1
  269. package/build/commonjs/Typography/Typography.js.map +1 -1
  270. package/build/commonjs/Typography/TypographyProps.js.map +1 -1
  271. package/build/commonjs/Typography/index.js.map +1 -1
  272. package/build/commonjs/animated/AnimatedAppBar.js.map +1 -1
  273. package/build/commonjs/animated/AnimatedFlatList.js.map +1 -1
  274. package/build/commonjs/animated/AnimatedPressable.js +2 -3
  275. package/build/commonjs/animated/AnimatedPressable.js.map +1 -1
  276. package/build/commonjs/animated/AnimatedTypography.js.map +1 -1
  277. package/build/commonjs/animated/index.js.map +1 -1
  278. package/build/commonjs/hooks/index.js +16 -0
  279. package/build/commonjs/hooks/index.js.map +1 -1
  280. package/build/commonjs/hooks/useAppbarStyles.js.map +1 -1
  281. package/build/commonjs/hooks/useBreakpointUp.js.map +1 -1
  282. package/build/commonjs/hooks/useCollapsibleAppBar.js +58 -59
  283. package/build/commonjs/hooks/useCollapsibleAppBar.js.map +1 -1
  284. package/build/commonjs/hooks/useContentContainerStyle.js +2 -1
  285. package/build/commonjs/hooks/useContentContainerStyle.js.map +1 -1
  286. package/build/commonjs/hooks/useElevationStyle.js.map +1 -1
  287. package/build/commonjs/hooks/useFadeInAppBar.js +45 -35
  288. package/build/commonjs/hooks/useFadeInAppBar.js.map +1 -1
  289. package/build/commonjs/hooks/useImperativeState.js +26 -0
  290. package/build/commonjs/hooks/useImperativeState.js.map +1 -0
  291. package/build/commonjs/hooks/useSyncAnimatedValue.js +37 -0
  292. package/build/commonjs/hooks/useSyncAnimatedValue.js.map +1 -0
  293. package/build/commonjs/hooks/useThrottle.js +4 -8
  294. package/build/commonjs/hooks/useThrottle.js.map +1 -1
  295. package/build/commonjs/hooks/useValidWindowDimensions/index.ios.js +14 -7
  296. package/build/commonjs/hooks/useValidWindowDimensions/index.ios.js.map +1 -1
  297. package/build/commonjs/hooks/useValidWindowDimensions/index.js.map +1 -1
  298. package/build/commonjs/index.js +20 -6
  299. package/build/commonjs/index.js.map +1 -1
  300. package/build/commonjs/internal/hooks/index.js +0 -8
  301. package/build/commonjs/internal/hooks/index.js.map +1 -1
  302. package/build/commonjs/internal/hooks/useHeight.js +6 -9
  303. package/build/commonjs/internal/hooks/useHeight.js.map +1 -1
  304. package/build/commonjs/internal/icons/Checkbox.js.map +1 -1
  305. package/build/commonjs/internal/icons/CheckboxChecked.js +3 -8
  306. package/build/commonjs/internal/icons/CheckboxChecked.js.map +1 -1
  307. package/build/commonjs/internal/icons/ChevronDown.js.map +1 -1
  308. package/build/commonjs/internal/icons/ChevronLeft.js.map +1 -1
  309. package/build/commonjs/internal/icons/ChevronRight.js.map +1 -1
  310. package/build/commonjs/internal/icons/CircularProgress.js.map +1 -1
  311. package/build/commonjs/internal/icons/Close.js.map +1 -1
  312. package/build/commonjs/internal/icons/Radio.js.map +1 -1
  313. package/build/commonjs/internal/icons/RadioChecked.js.map +1 -1
  314. package/build/commonjs/internal/icons/index.js.map +1 -1
  315. package/build/commonjs/internal/index.js.map +1 -1
  316. package/build/commonjs/store/MockStore.js +23 -0
  317. package/build/commonjs/store/MockStore.js.map +1 -0
  318. package/build/commonjs/store/SimpleStore.js +53 -0
  319. package/build/commonjs/store/SimpleStore.js.map +1 -0
  320. package/build/commonjs/store/index.js +24 -0
  321. package/build/commonjs/store/index.js.map +1 -0
  322. package/build/commonjs/store/types.js +2 -0
  323. package/build/commonjs/store/types.js.map +1 -0
  324. package/build/commonjs/styles/EdgeInsets.js +9 -6
  325. package/build/commonjs/styles/EdgeInsets.js.map +1 -1
  326. package/build/commonjs/styles/PredefinedStyles.js.map +1 -1
  327. package/build/commonjs/styles/StyleSheet.js.map +1 -1
  328. package/build/commonjs/styles/ThemeProvider.js.map +1 -1
  329. package/build/commonjs/styles/createFontStyle.js +2 -2
  330. package/build/commonjs/styles/createFontStyle.js.map +1 -1
  331. package/build/commonjs/styles/index.js +14 -14
  332. package/build/commonjs/styles/index.js.map +1 -1
  333. package/build/commonjs/styles/styled.js +4 -4
  334. package/build/commonjs/styles/styled.js.map +1 -1
  335. package/build/commonjs/styles/useTheme.js.map +1 -1
  336. package/build/commonjs/types/index.js.map +1 -1
  337. package/build/commonjs/utils/cloneElementSafely.js +3 -1
  338. package/build/commonjs/utils/cloneElementSafely.js.map +1 -1
  339. package/build/commonjs/utils/createSvgIcon.js.map +1 -1
  340. package/build/commonjs/utils/index.js.map +1 -1
  341. package/build/module/Accordion/Accordion.js +6 -6
  342. package/build/module/Accordion/Accordion.js.map +1 -1
  343. package/build/module/Accordion/AccordionProps.js.map +1 -1
  344. package/build/module/Accordion/index.js.map +1 -1
  345. package/build/module/AppBar/AppBar.js +9 -14
  346. package/build/module/AppBar/AppBar.js.map +1 -1
  347. package/build/module/AppBar/AppBarProps.js.map +1 -1
  348. package/build/module/AppBar/index.js.map +1 -1
  349. package/build/module/AspectRatio/AspectRatioNative.js +1 -1
  350. package/build/module/AspectRatio/AspectRatioNative.js.map +1 -1
  351. package/build/module/AspectRatio/AspectRatioProps.js.map +1 -1
  352. package/build/module/AspectRatio/AspectRatioWeb.js +1 -1
  353. package/build/module/AspectRatio/AspectRatioWeb.js.map +1 -1
  354. package/build/module/AspectRatio/index.js.map +1 -1
  355. package/build/module/AspectRatio/index.native.js.map +1 -1
  356. package/build/module/AspectRatio/utils.js.map +1 -1
  357. package/build/module/Avatar/Avatar.js.map +1 -1
  358. package/build/module/Avatar/AvatarProps.js.map +1 -1
  359. package/build/module/Avatar/index.js.map +1 -1
  360. package/build/module/Badge/Badge.js +1 -1
  361. package/build/module/Badge/Badge.js.map +1 -1
  362. package/build/module/Badge/BadgeProps.js.map +1 -1
  363. package/build/module/Badge/index.js.map +1 -1
  364. package/build/module/Button/Button.js +2 -2
  365. package/build/module/Button/Button.js.map +1 -1
  366. package/build/module/Button/ButtonProps.js.map +1 -1
  367. package/build/module/Button/index.js.map +1 -1
  368. package/build/module/ButtonBase/ButtonBase.js +61 -50
  369. package/build/module/ButtonBase/ButtonBase.js.map +1 -1
  370. package/build/module/ButtonBase/ButtonBaseProps.js.map +1 -1
  371. package/build/module/ButtonBase/index.js.map +1 -1
  372. package/build/module/Card/Card.js +1 -1
  373. package/build/module/Card/Card.js.map +1 -1
  374. package/build/module/Card/CardProps.js.map +1 -1
  375. package/build/module/Card/index.js.map +1 -1
  376. package/build/module/CardActions/CardActions.js +1 -1
  377. package/build/module/CardActions/CardActions.js.map +1 -1
  378. package/build/module/CardActions/CardActionsProps.js.map +1 -1
  379. package/build/module/CardActions/index.js.map +1 -1
  380. package/build/module/CardContent/CardContent.js +1 -1
  381. package/build/module/CardContent/CardContent.js.map +1 -1
  382. package/build/module/CardContent/CardContentProps.js.map +1 -1
  383. package/build/module/CardContent/index.js.map +1 -1
  384. package/build/module/CardMedia/CardMedia.js +1 -1
  385. package/build/module/CardMedia/CardMedia.js.map +1 -1
  386. package/build/module/CardMedia/CardMediaProps.js.map +1 -1
  387. package/build/module/CardMedia/index.js.map +1 -1
  388. package/build/module/Checkbox/Checkbox.js +1 -1
  389. package/build/module/Checkbox/Checkbox.js.map +1 -1
  390. package/build/module/Checkbox/CheckboxProps.js.map +1 -1
  391. package/build/module/Checkbox/index.js.map +1 -1
  392. package/build/module/Chip/Chip.js +2 -2
  393. package/build/module/Chip/Chip.js.map +1 -1
  394. package/build/module/Chip/ChipProps.js.map +1 -1
  395. package/build/module/Chip/index.js.map +1 -1
  396. package/build/module/CircularProgress/CircularProgress.js +23 -20
  397. package/build/module/CircularProgress/CircularProgress.js.map +1 -1
  398. package/build/module/CircularProgress/index.js.map +1 -1
  399. package/build/module/Column/Column.js.map +1 -1
  400. package/build/module/Column/ColumnProps.js.map +1 -1
  401. package/build/module/Column/index.js.map +1 -1
  402. package/build/module/Dialog/Dialog.js +1 -1
  403. package/build/module/Dialog/Dialog.js.map +1 -1
  404. package/build/module/Dialog/DialogProps.js.map +1 -1
  405. package/build/module/Dialog/index.js.map +1 -1
  406. package/build/module/DialogActions/DialogActions.js +1 -1
  407. package/build/module/DialogActions/DialogActions.js.map +1 -1
  408. package/build/module/DialogActions/DialogActionsProps.js.map +1 -1
  409. package/build/module/DialogActions/index.js.map +1 -1
  410. package/build/module/DialogContent/DialogContent.js +1 -1
  411. package/build/module/DialogContent/DialogContent.js.map +1 -1
  412. package/build/module/DialogContent/DialogContentProps.js.map +1 -1
  413. package/build/module/DialogContent/index.js.map +1 -1
  414. package/build/module/DialogMedia/DialogMedia.js +1 -1
  415. package/build/module/DialogMedia/DialogMedia.js.map +1 -1
  416. package/build/module/DialogMedia/DialogMediaProps.js.map +1 -1
  417. package/build/module/DialogMedia/index.js.map +1 -1
  418. package/build/module/DialogTitle/DialogTitle.js +1 -1
  419. package/build/module/DialogTitle/DialogTitle.js.map +1 -1
  420. package/build/module/DialogTitle/DialogTitleProps.js.map +1 -1
  421. package/build/module/DialogTitle/index.js.map +1 -1
  422. package/build/module/Divider/Divider.js +1 -1
  423. package/build/module/Divider/Divider.js.map +1 -1
  424. package/build/module/Divider/DividerProps.js.map +1 -1
  425. package/build/module/Divider/index.js.map +1 -1
  426. package/build/module/Fab/Fab.js +2 -2
  427. package/build/module/Fab/Fab.js.map +1 -1
  428. package/build/module/Fab/FabProps.js.map +1 -1
  429. package/build/module/Fab/index.js.map +1 -1
  430. package/build/module/Flexbox/Flexbox.js +1 -1
  431. package/build/module/Flexbox/Flexbox.js.map +1 -1
  432. package/build/module/Flexbox/FlexboxProps.js.map +1 -1
  433. package/build/module/Flexbox/index.js.map +1 -1
  434. package/build/module/IconButton/IconButton.js +1 -1
  435. package/build/module/IconButton/IconButton.js.map +1 -1
  436. package/build/module/IconButton/IconButtonProps.js.map +1 -1
  437. package/build/module/IconButton/index.js.map +1 -1
  438. package/build/module/Image/Image.js +1 -1
  439. package/build/module/Image/Image.js.map +1 -1
  440. package/build/module/Image/ImageProps.js.map +1 -1
  441. package/build/module/Image/index.js.map +1 -1
  442. package/build/module/ImageCore/ImageCoreNative.js +20 -23
  443. package/build/module/ImageCore/ImageCoreNative.js.map +1 -1
  444. package/build/module/ImageCore/ImageCoreProps.js.map +1 -1
  445. package/build/module/ImageCore/ImageCoreWeb.js.map +1 -1
  446. package/build/module/ImageCore/index.js.map +1 -1
  447. package/build/module/ImageCore/index.native.js.map +1 -1
  448. package/build/module/Link/Link.js +5 -4
  449. package/build/module/Link/Link.js.map +1 -1
  450. package/build/module/Link/LinkProps.js.map +1 -1
  451. package/build/module/Link/index.js.map +1 -1
  452. package/build/module/List/List.js +1 -1
  453. package/build/module/List/List.js.map +1 -1
  454. package/build/module/List/ListProps.js.map +1 -1
  455. package/build/module/List/index.js.map +1 -1
  456. package/build/module/ListItem/ListItem.js +1 -1
  457. package/build/module/ListItem/ListItem.js.map +1 -1
  458. package/build/module/ListItem/ListItemProps.js.map +1 -1
  459. package/build/module/ListItem/index.js.map +1 -1
  460. package/build/module/ListItemIcon/ListItemIcon.js +1 -1
  461. package/build/module/ListItemIcon/ListItemIcon.js.map +1 -1
  462. package/build/module/ListItemIcon/ListItemIconProps.js.map +1 -1
  463. package/build/module/ListItemIcon/index.js.map +1 -1
  464. package/build/module/ListItemSecondaryAction/ListItemSecondaryAction.js +1 -1
  465. package/build/module/ListItemSecondaryAction/ListItemSecondaryAction.js.map +1 -1
  466. package/build/module/ListItemSecondaryAction/ListItemSecondaryActionProps.js.map +1 -1
  467. package/build/module/ListItemSecondaryAction/index.js.map +1 -1
  468. package/build/module/ListItemText/ListItemText.js +1 -1
  469. package/build/module/ListItemText/ListItemText.js.map +1 -1
  470. package/build/module/ListItemText/ListItemTextProps.js.map +1 -1
  471. package/build/module/ListItemText/index.js.map +1 -1
  472. package/build/module/ListSubheader/ListSubheader.js +1 -1
  473. package/build/module/ListSubheader/ListSubheader.js.map +1 -1
  474. package/build/module/ListSubheader/ListSubheaderProps.js.map +1 -1
  475. package/build/module/ListSubheader/index.js.map +1 -1
  476. package/build/module/Menu/Menu.js.map +1 -1
  477. package/build/module/Menu/MenuProps.js.map +1 -1
  478. package/build/module/Menu/index.js.map +1 -1
  479. package/build/module/MenuItem/MenuItem.js.map +1 -1
  480. package/build/module/MenuItem/MenuItemProps.js.map +1 -1
  481. package/build/module/MenuItem/index.js.map +1 -1
  482. package/build/module/Modal/Modal.js +1 -1
  483. package/build/module/Modal/Modal.js.map +1 -1
  484. package/build/module/Modal/ModalProps.js.map +1 -1
  485. package/build/module/Modal/SimpleBackdrop.js +1 -1
  486. package/build/module/Modal/SimpleBackdrop.js.map +1 -1
  487. package/build/module/Modal/SimpleBackdropProps.js.map +1 -1
  488. package/build/module/Modal/index.js.map +1 -1
  489. package/build/module/Pagination/Pagination.js +10 -7
  490. package/build/module/Pagination/Pagination.js.map +1 -1
  491. package/build/module/Pagination/PaginationProps.js.map +1 -1
  492. package/build/module/Pagination/index.js.map +1 -1
  493. package/build/module/PaginationItem/PaginationItem.js +1 -1
  494. package/build/module/PaginationItem/PaginationItem.js.map +1 -1
  495. package/build/module/PaginationItem/PaginationItemProps.js.map +1 -1
  496. package/build/module/PaginationItem/index.js.map +1 -1
  497. package/build/module/Paper/Paper.js +11 -4
  498. package/build/module/Paper/Paper.js.map +1 -1
  499. package/build/module/Paper/PaperProps.js.map +1 -1
  500. package/build/module/Paper/PaperStylesProvider.js +4 -0
  501. package/build/module/Paper/PaperStylesProvider.js.map +1 -0
  502. package/build/module/Paper/index.js.map +1 -1
  503. package/build/module/Paper/usePaperStyles.js +7 -0
  504. package/build/module/Paper/usePaperStyles.js.map +1 -0
  505. package/build/module/Portal/Portal.js.map +1 -1
  506. package/build/module/Portal/PortalConsumer.js +2 -2
  507. package/build/module/Portal/PortalConsumer.js.map +1 -1
  508. package/build/module/Portal/PortalHost.js +2 -2
  509. package/build/module/Portal/PortalHost.js.map +1 -1
  510. package/build/module/Portal/PortalManager.js +11 -8
  511. package/build/module/Portal/PortalManager.js.map +1 -1
  512. package/build/module/Portal/PortalProps.js.map +1 -1
  513. package/build/module/Portal/index.js.map +1 -1
  514. package/build/module/Pressable/index.js.map +1 -1
  515. package/build/module/Radio/Radio.js +3 -7
  516. package/build/module/Radio/Radio.js.map +1 -1
  517. package/build/module/Radio/RadioProps.js.map +1 -1
  518. package/build/module/Radio/index.js.map +1 -1
  519. package/build/module/RadioGroup/RadioContextProvider.js.map +1 -1
  520. package/build/module/RadioGroup/RadioGroup.js.map +1 -1
  521. package/build/module/RadioGroup/RadioGroupProps.js.map +1 -1
  522. package/build/module/RadioGroup/index.js.map +1 -1
  523. package/build/module/Row/Row.js.map +1 -1
  524. package/build/module/Row/RowProps.js.map +1 -1
  525. package/build/module/Row/index.js.map +1 -1
  526. package/build/module/Slide/Slide.js +19 -15
  527. package/build/module/Slide/Slide.js.map +1 -1
  528. package/build/module/Slide/SlideProps.js.map +1 -1
  529. package/build/module/Slide/index.js.map +1 -1
  530. package/build/module/Slider/Slider.js +1 -1
  531. package/build/module/Slider/Slider.js.map +1 -1
  532. package/build/module/Slider/SliderProps.js.map +1 -1
  533. package/build/module/Slider/index.js.map +1 -1
  534. package/build/module/Snackbar/Snackbar.js +1 -1
  535. package/build/module/Snackbar/Snackbar.js.map +1 -1
  536. package/build/module/Snackbar/SnackbarProps.js.map +1 -1
  537. package/build/module/Snackbar/index.js.map +1 -1
  538. package/build/module/SnackbarContent/SnackbarContent.js +1 -1
  539. package/build/module/SnackbarContent/SnackbarContent.js.map +1 -1
  540. package/build/module/SnackbarContent/SnackbarContentProps.js.map +1 -1
  541. package/build/module/SnackbarContent/index.js.map +1 -1
  542. package/build/module/Spacer/Spacer.js +1 -1
  543. package/build/module/Spacer/Spacer.js.map +1 -1
  544. package/build/module/Spacer/SpacerProps.js.map +1 -1
  545. package/build/module/Spacer/index.js.map +1 -1
  546. package/build/module/SvgIcon/SvgIcon.js +2 -3
  547. package/build/module/SvgIcon/SvgIcon.js.map +1 -1
  548. package/build/module/SvgIcon/SvgIconProps.js.map +1 -1
  549. package/build/module/SvgIcon/index.js.map +1 -1
  550. package/build/module/Switch/Switch.js +1 -1
  551. package/build/module/Switch/Switch.js.map +1 -1
  552. package/build/module/Switch/SwitchProps.js.map +1 -1
  553. package/build/module/Switch/index.js.map +1 -1
  554. package/build/module/Tab/Tab.js +6 -6
  555. package/build/module/Tab/Tab.js.map +1 -1
  556. package/build/module/Tab/TabIndicator.js.map +1 -1
  557. package/build/module/Tab/TabProps.js.map +1 -1
  558. package/build/module/Tab/index.js.map +1 -1
  559. package/build/module/TabBase/TabBase.js +1 -1
  560. package/build/module/TabBase/TabBase.js.map +1 -1
  561. package/build/module/TabBase/TabBaseProps.js.map +1 -1
  562. package/build/module/TabBase/index.js.map +1 -1
  563. package/build/module/Tabs/IndexAwareTab.js +23 -0
  564. package/build/module/Tabs/IndexAwareTab.js.map +1 -0
  565. package/build/module/Tabs/InternalContext.js +7 -0
  566. package/build/module/Tabs/InternalContext.js.map +1 -0
  567. package/build/module/Tabs/ScrollableTabsView.js +21 -0
  568. package/build/module/Tabs/ScrollableTabsView.js.map +1 -0
  569. package/build/module/Tabs/TabCoordinate.js.map +1 -1
  570. package/build/module/Tabs/TabIndicator.js +58 -25
  571. package/build/module/Tabs/TabIndicator.js.map +1 -1
  572. package/build/module/Tabs/TabIndicatorProps.js.map +1 -1
  573. package/build/module/Tabs/Tabs.js +55 -70
  574. package/build/module/Tabs/Tabs.js.map +1 -1
  575. package/build/module/Tabs/TabsProps.js.map +1 -1
  576. package/build/module/Tabs/index.js.map +1 -1
  577. package/build/module/Tabs/types.js +2 -0
  578. package/build/module/Tabs/types.js.map +1 -0
  579. package/build/module/Tabs/useIndexStore.js +25 -0
  580. package/build/module/Tabs/useIndexStore.js.map +1 -0
  581. package/build/module/Tabs/useScrollViewReaction.js +49 -0
  582. package/build/module/Tabs/useScrollViewReaction.js.map +1 -0
  583. package/build/module/Tabs/useTabCoordinates.js +21 -0
  584. package/build/module/Tabs/useTabCoordinates.js.map +1 -0
  585. package/build/module/Tabs/utils.js +9 -0
  586. package/build/module/Tabs/utils.js.map +1 -0
  587. package/build/module/TextField/InputLabel.js +10 -7
  588. package/build/module/TextField/InputLabel.js.map +1 -1
  589. package/build/module/TextField/OutlinedTextField.js +1 -2
  590. package/build/module/TextField/OutlinedTextField.js.map +1 -1
  591. package/build/module/TextField/TextField.js.map +1 -1
  592. package/build/module/TextField/TextFieldProps.js.map +1 -1
  593. package/build/module/TextField/index.js.map +1 -1
  594. package/build/module/TextField/utils.js.map +1 -1
  595. package/build/module/Toolbar/Toolbar.js +1 -1
  596. package/build/module/Toolbar/Toolbar.js.map +1 -1
  597. package/build/module/Toolbar/ToolbarProps.js.map +1 -1
  598. package/build/module/Toolbar/index.js.map +1 -1
  599. package/build/module/Tooltip/Tooltip.js +17 -17
  600. package/build/module/Tooltip/Tooltip.js.map +1 -1
  601. package/build/module/Tooltip/TooltipProps.js.map +1 -1
  602. package/build/module/Tooltip/UpArrow.js +6 -5
  603. package/build/module/Tooltip/UpArrow.js.map +1 -1
  604. package/build/module/Tooltip/UpArrowProps.js.map +1 -1
  605. package/build/module/Tooltip/index.js.map +1 -1
  606. package/build/module/Typography/Typography.js.map +1 -1
  607. package/build/module/Typography/TypographyProps.js.map +1 -1
  608. package/build/module/Typography/index.js.map +1 -1
  609. package/build/module/animated/AnimatedAppBar.js.map +1 -1
  610. package/build/module/animated/AnimatedFlatList.js.map +1 -1
  611. package/build/module/animated/AnimatedPressable.js +2 -3
  612. package/build/module/animated/AnimatedPressable.js.map +1 -1
  613. package/build/module/animated/AnimatedTypography.js.map +1 -1
  614. package/build/module/animated/index.js.map +1 -1
  615. package/build/module/hooks/index.js +2 -0
  616. package/build/module/hooks/index.js.map +1 -1
  617. package/build/module/hooks/useAppbarStyles.js.map +1 -1
  618. package/build/module/hooks/useBreakpointUp.js.map +1 -1
  619. package/build/module/hooks/useCollapsibleAppBar.js +60 -51
  620. package/build/module/hooks/useCollapsibleAppBar.js.map +1 -1
  621. package/build/module/hooks/useContentContainerStyle.js +2 -1
  622. package/build/module/hooks/useContentContainerStyle.js.map +1 -1
  623. package/build/module/hooks/useElevationStyle.js.map +1 -1
  624. package/build/module/hooks/useFadeInAppBar.js +48 -28
  625. package/build/module/hooks/useFadeInAppBar.js.map +1 -1
  626. package/build/module/hooks/useImperativeState.js +17 -0
  627. package/build/module/hooks/useImperativeState.js.map +1 -0
  628. package/build/module/hooks/useSyncAnimatedValue.js +27 -0
  629. package/build/module/hooks/useSyncAnimatedValue.js.map +1 -0
  630. package/build/module/hooks/useThrottle.js +4 -4
  631. package/build/module/hooks/useThrottle.js.map +1 -1
  632. package/build/module/hooks/useValidWindowDimensions/index.ios.js +15 -9
  633. package/build/module/hooks/useValidWindowDimensions/index.ios.js.map +1 -1
  634. package/build/module/hooks/useValidWindowDimensions/index.js.map +1 -1
  635. package/build/module/index.js +1 -0
  636. package/build/module/index.js.map +1 -1
  637. package/build/module/internal/hooks/index.js +0 -1
  638. package/build/module/internal/hooks/index.js.map +1 -1
  639. package/build/module/internal/hooks/useHeight.js +6 -5
  640. package/build/module/internal/hooks/useHeight.js.map +1 -1
  641. package/build/module/internal/icons/Checkbox.js.map +1 -1
  642. package/build/module/internal/icons/CheckboxChecked.js +3 -8
  643. package/build/module/internal/icons/CheckboxChecked.js.map +1 -1
  644. package/build/module/internal/icons/ChevronDown.js.map +1 -1
  645. package/build/module/internal/icons/ChevronLeft.js.map +1 -1
  646. package/build/module/internal/icons/ChevronRight.js.map +1 -1
  647. package/build/module/internal/icons/CircularProgress.js.map +1 -1
  648. package/build/module/internal/icons/Close.js.map +1 -1
  649. package/build/module/internal/icons/Radio.js.map +1 -1
  650. package/build/module/internal/icons/RadioChecked.js.map +1 -1
  651. package/build/module/internal/icons/index.js.map +1 -1
  652. package/build/module/internal/index.js.map +1 -1
  653. package/build/module/store/MockStore.js +14 -0
  654. package/build/module/store/MockStore.js.map +1 -0
  655. package/build/module/store/SimpleStore.js +44 -0
  656. package/build/module/store/SimpleStore.js.map +1 -0
  657. package/build/module/store/index.js +3 -0
  658. package/build/module/store/index.js.map +1 -0
  659. package/build/module/store/types.js +2 -0
  660. package/build/module/store/types.js.map +1 -0
  661. package/build/module/styles/EdgeInsets.js +9 -6
  662. package/build/module/styles/EdgeInsets.js.map +1 -1
  663. package/build/module/styles/PredefinedStyles.js.map +1 -1
  664. package/build/module/styles/StyleSheet.js.map +1 -1
  665. package/build/module/styles/ThemeProvider.js.map +1 -1
  666. package/build/module/styles/createFontStyle.js +2 -2
  667. package/build/module/styles/createFontStyle.js.map +1 -1
  668. package/build/module/styles/index.js.map +1 -1
  669. package/build/module/styles/styled.js.map +1 -1
  670. package/build/module/styles/useTheme.js.map +1 -1
  671. package/build/module/types/index.js.map +1 -1
  672. package/build/module/utils/cloneElementSafely.js +3 -1
  673. package/build/module/utils/cloneElementSafely.js.map +1 -1
  674. package/build/module/utils/createSvgIcon.js.map +1 -1
  675. package/build/module/utils/index.js.map +1 -1
  676. package/build/typescript/Accordion/Accordion.d.ts +0 -1
  677. package/build/typescript/AppBar/AppBarProps.d.ts +1 -1
  678. package/build/typescript/AspectRatio/AspectRatioNative.d.ts +0 -1
  679. package/build/typescript/AspectRatio/AspectRatioWeb.d.ts +0 -1
  680. package/build/typescript/Avatar/Avatar.d.ts +0 -1
  681. package/build/typescript/Badge/Badge.d.ts +0 -1
  682. package/build/typescript/Button/Button.d.ts +0 -1
  683. package/build/typescript/ButtonBase/ButtonBase.d.ts +0 -1
  684. package/build/typescript/Card/Card.d.ts +0 -1
  685. package/build/typescript/CardActions/CardActions.d.ts +0 -1
  686. package/build/typescript/CardContent/CardContent.d.ts +0 -1
  687. package/build/typescript/CardMedia/CardMedia.d.ts +0 -1
  688. package/build/typescript/Checkbox/Checkbox.d.ts +0 -1
  689. package/build/typescript/Chip/Chip.d.ts +0 -1
  690. package/build/typescript/CircularProgress/CircularProgress.d.ts +1 -2
  691. package/build/typescript/Column/Column.d.ts +0 -1
  692. package/build/typescript/Dialog/Dialog.d.ts +0 -1
  693. package/build/typescript/DialogActions/DialogActions.d.ts +0 -1
  694. package/build/typescript/DialogContent/DialogContent.d.ts +0 -1
  695. package/build/typescript/DialogMedia/DialogMedia.d.ts +0 -1
  696. package/build/typescript/DialogTitle/DialogTitle.d.ts +0 -1
  697. package/build/typescript/Divider/Divider.d.ts +0 -1
  698. package/build/typescript/Fab/Fab.d.ts +0 -1
  699. package/build/typescript/Flexbox/Flexbox.d.ts +0 -1
  700. package/build/typescript/IconButton/IconButton.d.ts +0 -1
  701. package/build/typescript/Image/Image.d.ts +0 -1
  702. package/build/typescript/ImageCore/ImageCoreNative.d.ts +0 -1
  703. package/build/typescript/ImageCore/ImageCoreWeb.d.ts +0 -1
  704. package/build/typescript/Link/Link.d.ts +0 -1
  705. package/build/typescript/List/List.d.ts +0 -1
  706. package/build/typescript/ListItem/ListItem.d.ts +0 -1
  707. package/build/typescript/ListItemIcon/ListItemIcon.d.ts +0 -1
  708. package/build/typescript/ListItemSecondaryAction/ListItemSecondaryAction.d.ts +0 -1
  709. package/build/typescript/ListItemText/ListItemText.d.ts +0 -1
  710. package/build/typescript/ListSubheader/ListSubheader.d.ts +0 -1
  711. package/build/typescript/Menu/Menu.d.ts +0 -1
  712. package/build/typescript/MenuItem/MenuItem.d.ts +0 -1
  713. package/build/typescript/Modal/Modal.d.ts +0 -1
  714. package/build/typescript/Pagination/Pagination.d.ts +0 -1
  715. package/build/typescript/Paper/PaperProps.d.ts +5 -0
  716. package/build/typescript/Paper/PaperStylesProvider.d.ts +7 -0
  717. package/build/typescript/Paper/usePaperStyles.d.ts +1 -0
  718. package/build/typescript/Portal/Portal.d.ts +0 -1
  719. package/build/typescript/Radio/Radio.d.ts +0 -1
  720. package/build/typescript/RadioGroup/RadioGroup.d.ts +0 -1
  721. package/build/typescript/Row/Row.d.ts +0 -1
  722. package/build/typescript/Slide/Slide.d.ts +0 -1
  723. package/build/typescript/Slider/Slider.d.ts +1 -1
  724. package/build/typescript/Snackbar/Snackbar.d.ts +0 -1
  725. package/build/typescript/SnackbarContent/SnackbarContent.d.ts +0 -1
  726. package/build/typescript/Spacer/Spacer.d.ts +0 -1
  727. package/build/typescript/SvgIcon/SvgIcon.d.ts +0 -1
  728. package/build/typescript/SvgIcon/SvgIconProps.d.ts +1 -1
  729. package/build/typescript/Switch/Switch.d.ts +0 -1
  730. package/build/typescript/Tab/Tab.d.ts +0 -1
  731. package/build/typescript/TabBase/TabBase.d.ts +0 -1
  732. package/build/typescript/Tabs/IndexAwareTab.d.ts +8 -0
  733. package/build/typescript/Tabs/InternalContext.d.ts +7 -0
  734. package/build/typescript/Tabs/ScrollableTabsView.d.ts +6 -0
  735. package/build/typescript/Tabs/TabIndicator.d.ts +0 -1
  736. package/build/typescript/Tabs/TabIndicatorProps.d.ts +4 -5
  737. package/build/typescript/Tabs/Tabs.d.ts +4 -2
  738. package/build/typescript/Tabs/TabsProps.d.ts +12 -12
  739. package/build/typescript/Tabs/index.d.ts +1 -0
  740. package/build/typescript/Tabs/types.d.ts +9 -0
  741. package/build/typescript/Tabs/useIndexStore.d.ts +3 -0
  742. package/build/typescript/Tabs/useScrollViewReaction.d.ts +8 -0
  743. package/build/typescript/Tabs/useTabCoordinates.d.ts +6 -0
  744. package/build/typescript/Tabs/utils.d.ts +3 -0
  745. package/build/typescript/TextField/InputLabel.d.ts +0 -1
  746. package/build/typescript/Toolbar/Toolbar.d.ts +0 -1
  747. package/build/typescript/Tooltip/Tooltip.d.ts +0 -1
  748. package/build/typescript/animated/AnimatedPressable.d.ts +2 -2
  749. package/build/typescript/hooks/index.d.ts +2 -0
  750. package/build/typescript/hooks/useCollapsibleAppBar.d.ts +0 -1
  751. package/build/typescript/hooks/useFadeInAppBar.d.ts +3 -4
  752. package/build/typescript/hooks/useImperativeState.d.ts +6 -0
  753. package/build/typescript/hooks/useSyncAnimatedValue.d.ts +6 -0
  754. package/build/typescript/hooks/useValidWindowDimensions/index.ios.d.ts +2 -1
  755. package/build/typescript/index.d.ts +1 -0
  756. package/build/typescript/internal/hooks/index.d.ts +0 -1
  757. package/build/typescript/internal/icons/Checkbox.d.ts +18 -4
  758. package/build/typescript/internal/icons/CheckboxChecked.d.ts +18 -4
  759. package/build/typescript/internal/icons/ChevronDown.d.ts +18 -4
  760. package/build/typescript/internal/icons/ChevronLeft.d.ts +18 -4
  761. package/build/typescript/internal/icons/ChevronRight.d.ts +18 -4
  762. package/build/typescript/internal/icons/CircularProgress.d.ts +0 -1
  763. package/build/typescript/internal/icons/Close.d.ts +18 -4
  764. package/build/typescript/internal/icons/Radio.d.ts +18 -4
  765. package/build/typescript/internal/icons/RadioChecked.d.ts +18 -4
  766. package/build/typescript/store/MockStore.d.ts +6 -0
  767. package/build/typescript/store/SimpleStore.d.ts +9 -0
  768. package/build/typescript/store/index.d.ts +3 -0
  769. package/build/typescript/store/types.d.ts +8 -0
  770. package/build/typescript/types/index.d.ts +6 -0
  771. package/package.json +5 -5
  772. package/src/Accordion/Accordion.tsx +8 -6
  773. package/src/AppBar/AppBar.tsx +13 -21
  774. package/src/AppBar/AppBarProps.ts +1 -1
  775. package/src/Button/Button.tsx +1 -1
  776. package/src/ButtonBase/ButtonBase.tsx +69 -42
  777. package/src/Chip/Chip.tsx +1 -1
  778. package/src/CircularProgress/CircularProgress.tsx +36 -27
  779. package/src/Fab/Fab.tsx +1 -1
  780. package/src/ImageCore/ImageCoreNative.tsx +17 -18
  781. package/src/Paper/Paper.tsx +14 -8
  782. package/src/Paper/PaperProps.ts +6 -0
  783. package/src/Paper/PaperStylesProvider.tsx +9 -0
  784. package/src/Paper/usePaperStyles.ts +6 -0
  785. package/src/Slide/Slide.tsx +22 -19
  786. package/src/SvgIcon/SvgIcon.tsx +1 -2
  787. package/src/SvgIcon/SvgIconProps.ts +1 -1
  788. package/src/Tab/Tab.tsx +5 -5
  789. package/src/Tabs/IndexAwareTab.tsx +29 -0
  790. package/src/Tabs/InternalContext.ts +13 -0
  791. package/src/Tabs/ScrollableTabsView.tsx +26 -0
  792. package/src/Tabs/TabIndicator.tsx +48 -24
  793. package/src/Tabs/TabIndicatorProps.ts +4 -5
  794. package/src/Tabs/Tabs.tsx +88 -96
  795. package/src/Tabs/TabsProps.ts +15 -23
  796. package/src/Tabs/index.ts +2 -1
  797. package/src/Tabs/types.ts +18 -0
  798. package/src/Tabs/useIndexStore.ts +31 -0
  799. package/src/Tabs/useScrollViewReaction.ts +52 -0
  800. package/src/Tabs/useTabCoordinates.ts +25 -0
  801. package/src/Tabs/utils.ts +14 -0
  802. package/src/TextField/InputLabel.tsx +12 -5
  803. package/src/TextField/OutlinedTextField.tsx +1 -1
  804. package/src/Tooltip/Tooltip.tsx +19 -18
  805. package/src/animated/AnimatedPressable.tsx +1 -2
  806. package/src/hooks/index.ts +2 -0
  807. package/src/hooks/useCollapsibleAppBar.ts +58 -43
  808. package/src/hooks/useFadeInAppBar.ts +44 -30
  809. package/src/hooks/useImperativeState.ts +24 -0
  810. package/src/hooks/useSyncAnimatedValue.ts +37 -0
  811. package/src/hooks/useThrottle.ts +3 -3
  812. package/src/hooks/useValidWindowDimensions/index.ios.ts +16 -10
  813. package/src/index.ts +2 -0
  814. package/src/internal/hooks/index.ts +0 -1
  815. package/src/internal/hooks/useHeight.ts +4 -4
  816. package/src/internal/icons/CheckboxChecked.tsx +3 -11
  817. package/src/store/MockStore.ts +17 -0
  818. package/src/store/SimpleStore.ts +43 -0
  819. package/src/store/index.ts +3 -0
  820. package/src/store/types.ts +9 -0
  821. package/src/types/index.ts +7 -0
  822. package/src/utils/cloneElementSafely.ts +1 -1
  823. package/build/commonjs/ButtonBase/ButtonBase.ios.js +0 -99
  824. package/build/commonjs/ButtonBase/ButtonBase.ios.js.map +0 -1
  825. package/build/commonjs/ButtonBase/useDisabledReaction/index.js +0 -23
  826. package/build/commonjs/ButtonBase/useDisabledReaction/index.js.map +0 -1
  827. package/build/commonjs/ButtonBase/useDisabledReaction/index.native.js +0 -9
  828. package/build/commonjs/ButtonBase/useDisabledReaction/index.native.js.map +0 -1
  829. package/build/commonjs/ImageCore/ImageCoreNative.ios.js +0 -60
  830. package/build/commonjs/ImageCore/ImageCoreNative.ios.js.map +0 -1
  831. package/build/commonjs/internal/hooks/useWidth.js +0 -29
  832. package/build/commonjs/internal/hooks/useWidth.js.map +0 -1
  833. package/build/module/ButtonBase/ButtonBase.ios.js +0 -80
  834. package/build/module/ButtonBase/ButtonBase.ios.js.map +0 -1
  835. package/build/module/ButtonBase/useDisabledReaction/index.js +0 -12
  836. package/build/module/ButtonBase/useDisabledReaction/index.js.map +0 -1
  837. package/build/module/ButtonBase/useDisabledReaction/index.native.js +0 -2
  838. package/build/module/ButtonBase/useDisabledReaction/index.native.js.map +0 -1
  839. package/build/module/ImageCore/ImageCoreNative.ios.js +0 -45
  840. package/build/module/ImageCore/ImageCoreNative.ios.js.map +0 -1
  841. package/build/module/internal/hooks/useWidth.js +0 -15
  842. package/build/module/internal/hooks/useWidth.js.map +0 -1
  843. package/build/typescript/ButtonBase/ButtonBase.ios.d.ts +0 -3
  844. package/build/typescript/ButtonBase/useDisabledReaction/index.d.ts +0 -2
  845. package/build/typescript/ButtonBase/useDisabledReaction/index.native.d.ts +0 -2
  846. package/build/typescript/ImageCore/ImageCoreNative.ios.d.ts +0 -3
  847. package/build/typescript/internal/hooks/useWidth.d.ts +0 -2
  848. package/src/ButtonBase/ButtonBase.ios.tsx +0 -95
  849. package/src/ButtonBase/useDisabledReaction/index.native.ts +0 -4
  850. package/src/ButtonBase/useDisabledReaction/index.ts +0 -15
  851. package/src/ImageCore/ImageCoreNative.ios.tsx +0 -46
  852. 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
- fill?: import("react-native-svg").Color | undefined;
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-svg").Color | undefined;
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
- fill?: import("react-native-svg").Color | undefined;
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-svg").Color | undefined;
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
- fill?: import("react-native-svg").Color | undefined;
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-svg").Color | undefined;
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
- fill?: import("react-native-svg").Color | undefined;
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-svg").Color | undefined;
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
  }>;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  declare const _default: () => JSX.Element;
3
2
  export default _default;
@@ -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
- fill?: import("react-native-svg").Color | undefined;
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-svg").Color | undefined;
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
- fill?: import("react-native-svg").Color | undefined;
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-svg").Color | undefined;
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
- fill?: import("react-native-svg").Color | undefined;
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-svg").Color | undefined;
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,6 @@
1
+ import { MonoStore, StoreSubscription } from './types';
2
+ export default class MockStore<T> implements MonoStore<T> {
3
+ dispatch(data: T): void;
4
+ removeAllListeners(): void;
5
+ subscribe(listener: (data: T) => void): StoreSubscription;
6
+ }
@@ -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
+ }
@@ -0,0 +1,3 @@
1
+ export { default as SimpleStore } from './SimpleStore';
2
+ export { default as MockStore } from './MockStore';
3
+ export type { MonoStore } from './types';
@@ -0,0 +1,8 @@
1
+ export interface StoreSubscription {
2
+ (): void;
3
+ }
4
+ export interface MonoStore<T> {
5
+ dispatch: (data: T) => void;
6
+ subscribe: (listener: (data: T) => void) => StoreSubscription;
7
+ removeAllListeners: () => void;
8
+ }
@@ -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.2",
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.1",
18
- "@fountain-ui/utils": "^2.0.0-beta.1"
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.0.1",
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": "8107ff9fe7c77760a205e9656cb7c4b270ac0d52"
70
+ "gitHead": "8ca13c00c2424b287a26c7cb62619c2c0a9596df"
71
71
  }
@@ -1,5 +1,6 @@
1
1
  import React, { useState } from 'react';
2
- import Animated from 'react-native-reanimated';
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 ANIMATION_OPTION = { duration: 250 };
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 animatedChevronDownStyles = Animated.useAnimatedStyle(() => ({
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 = Animated.withTiming(!isExpanded ? 180 : 0, ANIMATION_OPTION);
51
+ rotate.value = withTiming(!isExpanded ? 180 : 0, ANIMATION_CONFIG);
50
52
  };
51
53
 
52
54
  return (
@@ -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 colorStyle = color === 'default'
48
- ? styles.colorDefault
49
- : color === 'primary'
50
- ? styles.colorPrimary
51
- : styles.colorTransparent;
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
- colorStyle,
46
+ { backgroundColor },
56
47
  style,
57
48
  ]);
58
49
 
59
50
  return (
60
51
  <Paper
61
52
  ref={ref}
62
- square
53
+ colorValue={backgroundColor}
63
54
  elevation={0}
64
55
  style={paperStyle}
56
+ square={true}
65
57
  {...otherProps}
66
58
  />
67
59
  );