@coinbase/cds-mobile 0.0.0 → 8.13.2

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 (1357) hide show
  1. package/CHANGELOG.md +43 -0
  2. package/README.md +14 -0
  3. package/dts/accordion/Accordion.d.ts +18 -0
  4. package/dts/accordion/Accordion.d.ts.map +1 -0
  5. package/dts/accordion/AccordionHeader.d.ts +70 -0
  6. package/dts/accordion/AccordionHeader.d.ts.map +1 -0
  7. package/dts/accordion/AccordionItem.d.ts +31 -0
  8. package/dts/accordion/AccordionItem.d.ts.map +1 -0
  9. package/dts/accordion/AccordionPanel.d.ts +32 -0
  10. package/dts/accordion/AccordionPanel.d.ts.map +1 -0
  11. package/dts/accordion/__figma__/Accordion.figma.d.ts +2 -0
  12. package/dts/accordion/__figma__/Accordion.figma.d.ts.map +1 -0
  13. package/dts/accordion/index.d.ts +3 -0
  14. package/dts/accordion/index.d.ts.map +1 -0
  15. package/dts/alpha/carousel/Carousel.d.ts +68 -0
  16. package/dts/alpha/carousel/Carousel.d.ts.map +1 -0
  17. package/dts/alpha/carousel/CarouselControlsWrapper.d.ts +8 -0
  18. package/dts/alpha/carousel/CarouselControlsWrapper.d.ts.map +1 -0
  19. package/dts/alpha/carousel/CarouselItem.d.ts +41 -0
  20. package/dts/alpha/carousel/CarouselItem.d.ts.map +1 -0
  21. package/dts/alpha/carousel/types.d.ts +32 -0
  22. package/dts/alpha/carousel/types.d.ts.map +1 -0
  23. package/dts/alpha/carousel/useCarousel.d.ts +14 -0
  24. package/dts/alpha/carousel/useCarousel.d.ts.map +1 -0
  25. package/dts/alpha/carousel/useCarouselItem.d.ts +22 -0
  26. package/dts/alpha/carousel/useCarouselItem.d.ts.map +1 -0
  27. package/dts/animation/AnimationProps.d.ts +7 -0
  28. package/dts/animation/AnimationProps.d.ts.map +1 -0
  29. package/dts/animation/Lottie.d.ts +28 -0
  30. package/dts/animation/Lottie.d.ts.map +1 -0
  31. package/dts/animation/Lottie.e2e.d.ts +11 -0
  32. package/dts/animation/Lottie.e2e.d.ts.map +1 -0
  33. package/dts/animation/LottieStatusAnimation.d.ts +8 -0
  34. package/dts/animation/LottieStatusAnimation.d.ts.map +1 -0
  35. package/dts/animation/convertMotionConfig.d.ts +21 -0
  36. package/dts/animation/convertMotionConfig.d.ts.map +1 -0
  37. package/dts/animation/createLottie.d.ts +35 -0
  38. package/dts/animation/createLottie.d.ts.map +1 -0
  39. package/dts/animation/createLottie.e2e.d.ts +34 -0
  40. package/dts/animation/createLottie.e2e.d.ts.map +1 -0
  41. package/dts/animation/index.d.ts +7 -0
  42. package/dts/animation/index.d.ts.map +1 -0
  43. package/dts/animation/lottieProgresConfig.d.ts +6 -0
  44. package/dts/animation/lottieProgresConfig.d.ts.map +1 -0
  45. package/dts/animation/mocks.d.ts +46 -0
  46. package/dts/animation/mocks.d.ts.map +1 -0
  47. package/dts/animation/types.d.ts +54 -0
  48. package/dts/animation/types.d.ts.map +1 -0
  49. package/dts/animation/useLottie.d.ts +6 -0
  50. package/dts/animation/useLottie.d.ts.map +1 -0
  51. package/dts/animation/useLottie.e2e.d.ts +34 -0
  52. package/dts/animation/useLottie.e2e.d.ts.map +1 -0
  53. package/dts/animation/useLottieColorFilters.d.ts +14 -0
  54. package/dts/animation/useLottieColorFilters.d.ts.map +1 -0
  55. package/dts/animation/useRotateAnimation.d.ts +19 -0
  56. package/dts/animation/useRotateAnimation.d.ts.map +1 -0
  57. package/dts/banner/Banner.d.ts +109 -0
  58. package/dts/banner/Banner.d.ts.map +1 -0
  59. package/dts/buttons/AvatarButton.d.ts +11 -0
  60. package/dts/buttons/AvatarButton.d.ts.map +1 -0
  61. package/dts/buttons/Button.d.ts +136 -0
  62. package/dts/buttons/Button.d.ts.map +1 -0
  63. package/dts/buttons/ButtonGroup.d.ts +23 -0
  64. package/dts/buttons/ButtonGroup.d.ts.map +1 -0
  65. package/dts/buttons/DefaultSlideButtonBackground.d.ts +22 -0
  66. package/dts/buttons/DefaultSlideButtonBackground.d.ts.map +1 -0
  67. package/dts/buttons/DefaultSlideButtonHandle.d.ts +74 -0
  68. package/dts/buttons/DefaultSlideButtonHandle.d.ts.map +1 -0
  69. package/dts/buttons/IconButton.d.ts +20 -0
  70. package/dts/buttons/IconButton.d.ts.map +1 -0
  71. package/dts/buttons/IconCounterButton.d.ts +42 -0
  72. package/dts/buttons/IconCounterButton.d.ts.map +1 -0
  73. package/dts/buttons/SlideButton.d.ts +237 -0
  74. package/dts/buttons/SlideButton.d.ts.map +1 -0
  75. package/dts/buttons/__figma__/AvatarButton.figma.d.ts +2 -0
  76. package/dts/buttons/__figma__/AvatarButton.figma.d.ts.map +1 -0
  77. package/dts/buttons/__figma__/Button.figma.d.ts +2 -0
  78. package/dts/buttons/__figma__/Button.figma.d.ts.map +1 -0
  79. package/dts/buttons/__figma__/ButtonGroup.figma.d.ts +2 -0
  80. package/dts/buttons/__figma__/ButtonGroup.figma.d.ts.map +1 -0
  81. package/dts/buttons/__figma__/IconButton.figma.d.ts +2 -0
  82. package/dts/buttons/__figma__/IconButton.figma.d.ts.map +1 -0
  83. package/dts/buttons/__figma__/SlideButton.figma.d.ts +2 -0
  84. package/dts/buttons/__figma__/SlideButton.figma.d.ts.map +1 -0
  85. package/dts/buttons/index.d.ts +7 -0
  86. package/dts/buttons/index.d.ts.map +1 -0
  87. package/dts/cards/AnnouncementCard.d.ts +9 -0
  88. package/dts/cards/AnnouncementCard.d.ts.map +1 -0
  89. package/dts/cards/Card.d.ts +21 -0
  90. package/dts/cards/Card.d.ts.map +1 -0
  91. package/dts/cards/CardBody.d.ts +56 -0
  92. package/dts/cards/CardBody.d.ts.map +1 -0
  93. package/dts/cards/CardFooter.d.ts +14 -0
  94. package/dts/cards/CardFooter.d.ts.map +1 -0
  95. package/dts/cards/CardGroup.d.ts +45 -0
  96. package/dts/cards/CardGroup.d.ts.map +1 -0
  97. package/dts/cards/CardHeader.d.ts +13 -0
  98. package/dts/cards/CardHeader.d.ts.map +1 -0
  99. package/dts/cards/CardMedia.d.ts +5 -0
  100. package/dts/cards/CardMedia.d.ts.map +1 -0
  101. package/dts/cards/CardRemoteImage.d.ts +5 -0
  102. package/dts/cards/CardRemoteImage.d.ts.map +1 -0
  103. package/dts/cards/ContainedAssetCard.d.ts +43 -0
  104. package/dts/cards/ContainedAssetCard.d.ts.map +1 -0
  105. package/dts/cards/ContentCard/ContentCard.d.ts +30 -0
  106. package/dts/cards/ContentCard/ContentCard.d.ts.map +1 -0
  107. package/dts/cards/ContentCard/ContentCardBody.d.ts +57 -0
  108. package/dts/cards/ContentCard/ContentCardBody.d.ts.map +1 -0
  109. package/dts/cards/ContentCard/ContentCardFooter.d.ts +35 -0
  110. package/dts/cards/ContentCard/ContentCardFooter.d.ts.map +1 -0
  111. package/dts/cards/ContentCard/ContentCardHeader.d.ts +49 -0
  112. package/dts/cards/ContentCard/ContentCardHeader.d.ts.map +1 -0
  113. package/dts/cards/ContentCard/__figma__/ContentCard.figma.d.ts +2 -0
  114. package/dts/cards/ContentCard/__figma__/ContentCard.figma.d.ts.map +1 -0
  115. package/dts/cards/ContentCard/__figma__/ContentCardBody.figma.d.ts +2 -0
  116. package/dts/cards/ContentCard/__figma__/ContentCardBody.figma.d.ts.map +1 -0
  117. package/dts/cards/ContentCard/__figma__/ContentCardFooter.figma.d.ts +2 -0
  118. package/dts/cards/ContentCard/__figma__/ContentCardFooter.figma.d.ts.map +1 -0
  119. package/dts/cards/ContentCard/__figma__/ContentCardHeader.figma.d.ts +2 -0
  120. package/dts/cards/ContentCard/__figma__/ContentCardHeader.figma.d.ts.map +1 -0
  121. package/dts/cards/ContentCard/index.d.ts +5 -0
  122. package/dts/cards/ContentCard/index.d.ts.map +1 -0
  123. package/dts/cards/DataCard.d.ts +19 -0
  124. package/dts/cards/DataCard.d.ts.map +1 -0
  125. package/dts/cards/FeatureEntryCard.d.ts +9 -0
  126. package/dts/cards/FeatureEntryCard.d.ts.map +1 -0
  127. package/dts/cards/FeedCard.d.ts +36 -0
  128. package/dts/cards/FeedCard.d.ts.map +1 -0
  129. package/dts/cards/FloatingAssetCard.d.ts +35 -0
  130. package/dts/cards/FloatingAssetCard.d.ts.map +1 -0
  131. package/dts/cards/LikeButton.d.ts +21 -0
  132. package/dts/cards/LikeButton.d.ts.map +1 -0
  133. package/dts/cards/NudgeCard.d.ts +72 -0
  134. package/dts/cards/NudgeCard.d.ts.map +1 -0
  135. package/dts/cards/UpsellCard.d.ts +55 -0
  136. package/dts/cards/UpsellCard.d.ts.map +1 -0
  137. package/dts/cards/__figma__/AnnouncementCard.figma.d.ts +2 -0
  138. package/dts/cards/__figma__/AnnouncementCard.figma.d.ts.map +1 -0
  139. package/dts/cards/__figma__/ContainedAssetCard.figma.d.ts +2 -0
  140. package/dts/cards/__figma__/ContainedAssetCard.figma.d.ts.map +1 -0
  141. package/dts/cards/__figma__/FloatingAssetCard.figma.d.ts +2 -0
  142. package/dts/cards/__figma__/FloatingAssetCard.figma.d.ts.map +1 -0
  143. package/dts/cards/__figma__/NudgeCard.figma.d.ts +2 -0
  144. package/dts/cards/__figma__/NudgeCard.figma.d.ts.map +1 -0
  145. package/dts/cards/__figma__/UpsellCard.figma.d.ts +2 -0
  146. package/dts/cards/__figma__/UpsellCard.figma.d.ts.map +1 -0
  147. package/dts/cards/index.d.ts +11 -0
  148. package/dts/cards/index.d.ts.map +1 -0
  149. package/dts/carousel/Carousel.d.ts +352 -0
  150. package/dts/carousel/Carousel.d.ts.map +1 -0
  151. package/dts/carousel/CarouselItem.d.ts +6 -0
  152. package/dts/carousel/CarouselItem.d.ts.map +1 -0
  153. package/dts/carousel/DefaultCarouselNavigation.d.ts +54 -0
  154. package/dts/carousel/DefaultCarouselNavigation.d.ts.map +1 -0
  155. package/dts/carousel/DefaultCarouselPagination.d.ts +20 -0
  156. package/dts/carousel/DefaultCarouselPagination.d.ts.map +1 -0
  157. package/dts/carousel/index.d.ts +5 -0
  158. package/dts/carousel/index.d.ts.map +1 -0
  159. package/dts/cells/Cell.d.ts +52 -0
  160. package/dts/cells/Cell.d.ts.map +1 -0
  161. package/dts/cells/CellAccessory.d.ts +13 -0
  162. package/dts/cells/CellAccessory.d.ts.map +1 -0
  163. package/dts/cells/CellDetail.d.ts +19 -0
  164. package/dts/cells/CellDetail.d.ts.map +1 -0
  165. package/dts/cells/CellHelperText.d.ts +10 -0
  166. package/dts/cells/CellHelperText.d.ts.map +1 -0
  167. package/dts/cells/CellMedia.d.ts +40 -0
  168. package/dts/cells/CellMedia.d.ts.map +1 -0
  169. package/dts/cells/ContentCell.d.ts +20 -0
  170. package/dts/cells/ContentCell.d.ts.map +1 -0
  171. package/dts/cells/ContentCellFallback.d.ts +17 -0
  172. package/dts/cells/ContentCellFallback.d.ts.map +1 -0
  173. package/dts/cells/ListCell.d.ts +39 -0
  174. package/dts/cells/ListCell.d.ts.map +1 -0
  175. package/dts/cells/ListCellFallback.d.ts +37 -0
  176. package/dts/cells/ListCellFallback.d.ts.map +1 -0
  177. package/dts/cells/MediaFallback.d.ts +8 -0
  178. package/dts/cells/MediaFallback.d.ts.map +1 -0
  179. package/dts/cells/__figma__/ContentCell.figma.d.ts +2 -0
  180. package/dts/cells/__figma__/ContentCell.figma.d.ts.map +1 -0
  181. package/dts/cells/__figma__/ListCell.figma.d.ts +2 -0
  182. package/dts/cells/__figma__/ListCell.figma.d.ts.map +1 -0
  183. package/dts/cells/index.d.ts +7 -0
  184. package/dts/cells/index.d.ts.map +1 -0
  185. package/dts/chips/Chip.d.ts +22 -0
  186. package/dts/chips/Chip.d.ts.map +1 -0
  187. package/dts/chips/ChipProps.d.ts +45 -0
  188. package/dts/chips/ChipProps.d.ts.map +1 -0
  189. package/dts/chips/InputChip.d.ts +12 -0
  190. package/dts/chips/InputChip.d.ts.map +1 -0
  191. package/dts/chips/SelectChip.d.ts +27 -0
  192. package/dts/chips/SelectChip.d.ts.map +1 -0
  193. package/dts/chips/TabbedChips.d.ts +16 -0
  194. package/dts/chips/TabbedChips.d.ts.map +1 -0
  195. package/dts/chips/__figma__/InputChip.figma.d.ts +2 -0
  196. package/dts/chips/__figma__/InputChip.figma.d.ts.map +1 -0
  197. package/dts/chips/__figma__/SelectChip.figma.d.ts +2 -0
  198. package/dts/chips/__figma__/SelectChip.figma.d.ts.map +1 -0
  199. package/dts/chips/__figma__/TabbedChips.figma.d.ts +2 -0
  200. package/dts/chips/__figma__/TabbedChips.figma.d.ts.map +1 -0
  201. package/dts/coachmark/Coachmark.d.ts +99 -0
  202. package/dts/coachmark/Coachmark.d.ts.map +1 -0
  203. package/dts/coachmark/__figma__/Coachmark.figma.d.ts +2 -0
  204. package/dts/coachmark/__figma__/Coachmark.figma.d.ts.map +1 -0
  205. package/dts/collapsible/Collapsible.d.ts +68 -0
  206. package/dts/collapsible/Collapsible.d.ts.map +1 -0
  207. package/dts/collapsible/index.d.ts +2 -0
  208. package/dts/collapsible/index.d.ts.map +1 -0
  209. package/dts/collapsible/useCollapsibleAnimation.d.ts +24 -0
  210. package/dts/collapsible/useCollapsibleAnimation.d.ts.map +1 -0
  211. package/dts/collapsible/useCollapsibleDirection.d.ts +18 -0
  212. package/dts/collapsible/useCollapsibleDirection.d.ts.map +1 -0
  213. package/dts/collapsible/useToggleAnimation.d.ts +9 -0
  214. package/dts/collapsible/useToggleAnimation.d.ts.map +1 -0
  215. package/dts/controls/Checkbox.d.ts +25 -0
  216. package/dts/controls/Checkbox.d.ts.map +1 -0
  217. package/dts/controls/CheckboxCell.d.ts +32 -0
  218. package/dts/controls/CheckboxCell.d.ts.map +1 -0
  219. package/dts/controls/CheckboxGroup.d.ts +48 -0
  220. package/dts/controls/CheckboxGroup.d.ts.map +1 -0
  221. package/dts/controls/Control.d.ts +70 -0
  222. package/dts/controls/Control.d.ts.map +1 -0
  223. package/dts/controls/ControlGroup.d.ts +39 -0
  224. package/dts/controls/ControlGroup.d.ts.map +1 -0
  225. package/dts/controls/HelperText.d.ts +16 -0
  226. package/dts/controls/HelperText.d.ts.map +1 -0
  227. package/dts/controls/InputIcon.d.ts +16 -0
  228. package/dts/controls/InputIcon.d.ts.map +1 -0
  229. package/dts/controls/InputIconButton.d.ts +13 -0
  230. package/dts/controls/InputIconButton.d.ts.map +1 -0
  231. package/dts/controls/InputLabel.d.ts +4 -0
  232. package/dts/controls/InputLabel.d.ts.map +1 -0
  233. package/dts/controls/InputStack.d.ts +67 -0
  234. package/dts/controls/InputStack.d.ts.map +1 -0
  235. package/dts/controls/Menu.d.ts +10 -0
  236. package/dts/controls/Menu.d.ts.map +1 -0
  237. package/dts/controls/NativeInput.d.ts +65 -0
  238. package/dts/controls/NativeInput.d.ts.map +1 -0
  239. package/dts/controls/Radio.d.ts +13 -0
  240. package/dts/controls/Radio.d.ts.map +1 -0
  241. package/dts/controls/RadioCell.d.ts +32 -0
  242. package/dts/controls/RadioCell.d.ts.map +1 -0
  243. package/dts/controls/RadioGroup.d.ts +62 -0
  244. package/dts/controls/RadioGroup.d.ts.map +1 -0
  245. package/dts/controls/SearchInput.d.ts +148 -0
  246. package/dts/controls/SearchInput.d.ts.map +1 -0
  247. package/dts/controls/Select.d.ts +58 -0
  248. package/dts/controls/Select.d.ts.map +1 -0
  249. package/dts/controls/SelectContext.d.ts +17 -0
  250. package/dts/controls/SelectContext.d.ts.map +1 -0
  251. package/dts/controls/SelectOption.d.ts +15 -0
  252. package/dts/controls/SelectOption.d.ts.map +1 -0
  253. package/dts/controls/Switch.d.ts +9 -0
  254. package/dts/controls/Switch.d.ts.map +1 -0
  255. package/dts/controls/TextInput.d.ts +143 -0
  256. package/dts/controls/TextInput.d.ts.map +1 -0
  257. package/dts/controls/__figma__/Checkbox.figma.d.ts +2 -0
  258. package/dts/controls/__figma__/Checkbox.figma.d.ts.map +1 -0
  259. package/dts/controls/__figma__/CheckboxCell.figma.d.ts +2 -0
  260. package/dts/controls/__figma__/CheckboxCell.figma.d.ts.map +1 -0
  261. package/dts/controls/__figma__/CheckboxGroup.figma.d.ts +2 -0
  262. package/dts/controls/__figma__/CheckboxGroup.figma.d.ts.map +1 -0
  263. package/dts/controls/__figma__/RadioCell.figma.d.ts +2 -0
  264. package/dts/controls/__figma__/RadioCell.figma.d.ts.map +1 -0
  265. package/dts/controls/__figma__/RadioGroup.figma.d.ts +2 -0
  266. package/dts/controls/__figma__/RadioGroup.figma.d.ts.map +1 -0
  267. package/dts/controls/__figma__/SearchInput.figma.d.ts +2 -0
  268. package/dts/controls/__figma__/SearchInput.figma.d.ts.map +1 -0
  269. package/dts/controls/__figma__/Select.figma.d.ts +2 -0
  270. package/dts/controls/__figma__/Select.figma.d.ts.map +1 -0
  271. package/dts/controls/__figma__/SelectOption.figma.d.ts +2 -0
  272. package/dts/controls/__figma__/SelectOption.figma.d.ts.map +1 -0
  273. package/dts/controls/__figma__/Switch.figma.d.ts +2 -0
  274. package/dts/controls/__figma__/Switch.figma.d.ts.map +1 -0
  275. package/dts/controls/__figma__/TextInput.figma.d.ts +2 -0
  276. package/dts/controls/__figma__/TextInput.figma.d.ts.map +1 -0
  277. package/dts/controls/context.d.ts +5 -0
  278. package/dts/controls/context.d.ts.map +1 -0
  279. package/dts/controls/index.d.ts +16 -0
  280. package/dts/controls/index.d.ts.map +1 -0
  281. package/dts/controls/useControlMotionProps.d.ts +24 -0
  282. package/dts/controls/useControlMotionProps.d.ts.map +1 -0
  283. package/dts/controls/useSelect.d.ts +17 -0
  284. package/dts/controls/useSelect.d.ts.map +1 -0
  285. package/dts/core/theme.d.ts +94 -0
  286. package/dts/core/theme.d.ts.map +1 -0
  287. package/dts/dates/DateInput.d.ts +22 -0
  288. package/dts/dates/DateInput.d.ts.map +1 -0
  289. package/dts/dates/DatePicker.d.ts +114 -0
  290. package/dts/dates/DatePicker.d.ts.map +1 -0
  291. package/dts/dates/__figma__/DatePicker.figma.d.ts +2 -0
  292. package/dts/dates/__figma__/DatePicker.figma.d.ts.map +1 -0
  293. package/dts/dots/DotCount.d.ts +74 -0
  294. package/dts/dots/DotCount.d.ts.map +1 -0
  295. package/dts/dots/DotStatusColor.d.ts +37 -0
  296. package/dts/dots/DotStatusColor.d.ts.map +1 -0
  297. package/dts/dots/DotSymbol.d.ts +67 -0
  298. package/dts/dots/DotSymbol.d.ts.map +1 -0
  299. package/dts/dots/__figma__/DotCount.figma.d.ts +2 -0
  300. package/dts/dots/__figma__/DotCount.figma.d.ts.map +1 -0
  301. package/dts/dots/__figma__/DotStatusColor.figma.d.ts +2 -0
  302. package/dts/dots/__figma__/DotStatusColor.figma.d.ts.map +1 -0
  303. package/dts/dots/__figma__/DotSymbol.figma.d.ts +2 -0
  304. package/dts/dots/__figma__/DotSymbol.figma.d.ts.map +1 -0
  305. package/dts/dots/dotStyles.d.ts +17 -0
  306. package/dts/dots/dotStyles.d.ts.map +1 -0
  307. package/dts/dots/index.d.ts +4 -0
  308. package/dts/dots/index.d.ts.map +1 -0
  309. package/dts/dots/useDotsLayout.d.ts +4 -0
  310. package/dts/dots/useDotsLayout.d.ts.map +1 -0
  311. package/dts/examples/ExampleScreen.d.ts +20 -0
  312. package/dts/examples/ExampleScreen.d.ts.map +1 -0
  313. package/dts/gradients/LinearGradient.d.ts +71 -0
  314. package/dts/gradients/LinearGradient.d.ts.map +1 -0
  315. package/dts/hooks/useA11y.d.ts +5 -0
  316. package/dts/hooks/useA11y.d.ts.map +1 -0
  317. package/dts/hooks/useAnimatedTransition.d.ts +8 -0
  318. package/dts/hooks/useAnimatedTransition.d.ts.map +1 -0
  319. package/dts/hooks/useAppState.d.ts +7 -0
  320. package/dts/hooks/useAppState.d.ts.map +1 -0
  321. package/dts/hooks/useCellSpacing.d.ts +236 -0
  322. package/dts/hooks/useCellSpacing.d.ts.map +1 -0
  323. package/dts/hooks/useCheckboxGroupState.d.ts +3 -0
  324. package/dts/hooks/useCheckboxGroupState.d.ts.map +1 -0
  325. package/dts/hooks/useContentSize.d.ts +7 -0
  326. package/dts/hooks/useContentSize.d.ts.map +1 -0
  327. package/dts/hooks/useDeviceColorScheme.d.ts +4 -0
  328. package/dts/hooks/useDeviceColorScheme.d.ts.map +1 -0
  329. package/dts/hooks/useDeviceFontScale.d.ts +3 -0
  330. package/dts/hooks/useDeviceFontScale.d.ts.map +1 -0
  331. package/dts/hooks/useDimensions.d.ts +7 -0
  332. package/dts/hooks/useDimensions.d.ts.map +1 -0
  333. package/dts/hooks/useDotPinStyles.d.ts +14 -0
  334. package/dts/hooks/useDotPinStyles.d.ts.map +1 -0
  335. package/dts/hooks/useEventHandler.d.ts +7 -0
  336. package/dts/hooks/useEventHandler.d.ts.map +1 -0
  337. package/dts/hooks/useHasNotch.d.ts +2 -0
  338. package/dts/hooks/useHasNotch.d.ts.map +1 -0
  339. package/dts/hooks/useHorizontallyScrollingPressables.d.ts +27 -0
  340. package/dts/hooks/useHorizontallyScrollingPressables.d.ts.map +1 -0
  341. package/dts/hooks/useInputBorderAnimation.d.ts +15 -0
  342. package/dts/hooks/useInputBorderAnimation.d.ts.map +1 -0
  343. package/dts/hooks/useInputBorderStyle.d.ts +25 -0
  344. package/dts/hooks/useInputBorderStyle.d.ts.map +1 -0
  345. package/dts/hooks/useLayout.d.ts +4 -0
  346. package/dts/hooks/useLayout.d.ts.map +1 -0
  347. package/dts/hooks/usePressAnimation.d.ts +10 -0
  348. package/dts/hooks/usePressAnimation.d.ts.map +1 -0
  349. package/dts/hooks/useSafeBottomPadding.d.ts +2 -0
  350. package/dts/hooks/useSafeBottomPadding.d.ts.map +1 -0
  351. package/dts/hooks/useScreenReaderStatus.d.ts +7 -0
  352. package/dts/hooks/useScreenReaderStatus.d.ts.map +1 -0
  353. package/dts/hooks/useScrollOffset.d.ts +8 -0
  354. package/dts/hooks/useScrollOffset.d.ts.map +1 -0
  355. package/dts/hooks/useScrollTo.d.ts +21 -0
  356. package/dts/hooks/useScrollTo.d.ts.map +1 -0
  357. package/dts/hooks/useSelectionCellBorderStyle.d.ts +30 -0
  358. package/dts/hooks/useSelectionCellBorderStyle.d.ts.map +1 -0
  359. package/dts/hooks/useStatusBarHeight.d.ts +6 -0
  360. package/dts/hooks/useStatusBarHeight.d.ts.map +1 -0
  361. package/dts/hooks/useTextAlign.d.ts +10 -0
  362. package/dts/hooks/useTextAlign.d.ts.map +1 -0
  363. package/dts/hooks/useTheme.d.ts +4 -0
  364. package/dts/hooks/useTheme.d.ts.map +1 -0
  365. package/dts/hooks/useWebBrowserOpener.d.ts +6 -0
  366. package/dts/hooks/useWebBrowserOpener.d.ts.map +1 -0
  367. package/dts/icons/Icon.d.ts +50 -0
  368. package/dts/icons/Icon.d.ts.map +1 -0
  369. package/dts/icons/LogoMark.d.ts +9 -0
  370. package/dts/icons/LogoMark.d.ts.map +1 -0
  371. package/dts/icons/LogoWordmark.d.ts +8 -0
  372. package/dts/icons/LogoWordmark.d.ts.map +1 -0
  373. package/dts/icons/SubBrandLogoMark.d.ts +7 -0
  374. package/dts/icons/SubBrandLogoMark.d.ts.map +1 -0
  375. package/dts/icons/SubBrandLogoWordmark.d.ts +7 -0
  376. package/dts/icons/SubBrandLogoWordmark.d.ts.map +1 -0
  377. package/dts/icons/TextIcon.d.ts +26 -0
  378. package/dts/icons/TextIcon.d.ts.map +1 -0
  379. package/dts/icons/__figma__/Icon.figma.d.ts +2 -0
  380. package/dts/icons/__figma__/Icon.figma.d.ts.map +1 -0
  381. package/dts/icons/__figma__/LogoMark.figma.d.ts +2 -0
  382. package/dts/icons/__figma__/LogoMark.figma.d.ts.map +1 -0
  383. package/dts/icons/__figma__/LogoWordmark.figma.d.ts +2 -0
  384. package/dts/icons/__figma__/LogoWordmark.figma.d.ts.map +1 -0
  385. package/dts/icons/__figma__/SubBrandLogoMark.figma.d.ts +2 -0
  386. package/dts/icons/__figma__/SubBrandLogoMark.figma.d.ts.map +1 -0
  387. package/dts/icons/__figma__/SubBrandLogoWordmark.figma.d.ts +2 -0
  388. package/dts/icons/__figma__/SubBrandLogoWordmark.figma.d.ts.map +1 -0
  389. package/dts/icons/index.d.ts +7 -0
  390. package/dts/icons/index.d.ts.map +1 -0
  391. package/dts/illustrations/HeroSquare.d.ts +19 -0
  392. package/dts/illustrations/HeroSquare.d.ts.map +1 -0
  393. package/dts/illustrations/Pictogram.d.ts +18 -0
  394. package/dts/illustrations/Pictogram.d.ts.map +1 -0
  395. package/dts/illustrations/SpotIcon.d.ts +18 -0
  396. package/dts/illustrations/SpotIcon.d.ts.map +1 -0
  397. package/dts/illustrations/SpotRectangle.d.ts +19 -0
  398. package/dts/illustrations/SpotRectangle.d.ts.map +1 -0
  399. package/dts/illustrations/SpotSquare.d.ts +18 -0
  400. package/dts/illustrations/SpotSquare.d.ts.map +1 -0
  401. package/dts/illustrations/__figma__/HeroSquare.figma.d.ts +2 -0
  402. package/dts/illustrations/__figma__/HeroSquare.figma.d.ts.map +1 -0
  403. package/dts/illustrations/__figma__/Pictogram.figma.d.ts +2 -0
  404. package/dts/illustrations/__figma__/Pictogram.figma.d.ts.map +1 -0
  405. package/dts/illustrations/__figma__/SpotIcon.figma.d.ts +2 -0
  406. package/dts/illustrations/__figma__/SpotIcon.figma.d.ts.map +1 -0
  407. package/dts/illustrations/__figma__/SpotRectangle.figma.d.ts +2 -0
  408. package/dts/illustrations/__figma__/SpotRectangle.figma.d.ts.map +1 -0
  409. package/dts/illustrations/__figma__/SpotSquare.figma.d.ts +2 -0
  410. package/dts/illustrations/__figma__/SpotSquare.figma.d.ts.map +1 -0
  411. package/dts/illustrations/createIllustration.d.ts +73 -0
  412. package/dts/illustrations/createIllustration.d.ts.map +1 -0
  413. package/dts/illustrations/index.d.ts +6 -0
  414. package/dts/illustrations/index.d.ts.map +1 -0
  415. package/dts/index.d.ts +4 -0
  416. package/dts/index.d.ts.map +1 -0
  417. package/dts/layout/Box.d.ts +75 -0
  418. package/dts/layout/Box.d.ts.map +1 -0
  419. package/dts/layout/Divider.d.ts +18 -0
  420. package/dts/layout/Divider.d.ts.map +1 -0
  421. package/dts/layout/Fallback.d.ts +21 -0
  422. package/dts/layout/Fallback.d.ts.map +1 -0
  423. package/dts/layout/Group.d.ts +96 -0
  424. package/dts/layout/Group.d.ts.map +1 -0
  425. package/dts/layout/HStack.d.ts +29 -0
  426. package/dts/layout/HStack.d.ts.map +1 -0
  427. package/dts/layout/OverflowGradient.d.ts +9 -0
  428. package/dts/layout/OverflowGradient.d.ts.map +1 -0
  429. package/dts/layout/Spacer.d.ts +29 -0
  430. package/dts/layout/Spacer.d.ts.map +1 -0
  431. package/dts/layout/VStack.d.ts +29 -0
  432. package/dts/layout/VStack.d.ts.map +1 -0
  433. package/dts/layout/__figma__/Divider.figma.d.ts +2 -0
  434. package/dts/layout/__figma__/Divider.figma.d.ts.map +1 -0
  435. package/dts/layout/__figma__/Fallback.figma.d.ts +2 -0
  436. package/dts/layout/__figma__/Fallback.figma.d.ts.map +1 -0
  437. package/dts/layout/index.d.ts +9 -0
  438. package/dts/layout/index.d.ts.map +1 -0
  439. package/dts/loaders/Spinner.d.ts +4 -0
  440. package/dts/loaders/Spinner.d.ts.map +1 -0
  441. package/dts/loaders/index.d.ts +2 -0
  442. package/dts/loaders/index.d.ts.map +1 -0
  443. package/dts/media/Avatar.d.ts +59 -0
  444. package/dts/media/Avatar.d.ts.map +1 -0
  445. package/dts/media/Carousel/Carousel.d.ts +32 -0
  446. package/dts/media/Carousel/Carousel.d.ts.map +1 -0
  447. package/dts/media/Carousel/CarouselItem.d.ts +16 -0
  448. package/dts/media/Carousel/CarouselItem.d.ts.map +1 -0
  449. package/dts/media/Carousel/CarouselItemContext.d.ts +25 -0
  450. package/dts/media/Carousel/CarouselItemContext.d.ts.map +1 -0
  451. package/dts/media/Carousel/index.d.ts +5 -0
  452. package/dts/media/Carousel/index.d.ts.map +1 -0
  453. package/dts/media/Carousel/types.d.ts +28 -0
  454. package/dts/media/Carousel/types.d.ts.map +1 -0
  455. package/dts/media/Carousel/useCarousel.d.ts +14 -0
  456. package/dts/media/Carousel/useCarousel.d.ts.map +1 -0
  457. package/dts/media/Carousel/useCarouselItem.d.ts +4 -0
  458. package/dts/media/Carousel/useCarouselItem.d.ts.map +1 -0
  459. package/dts/media/Carousel/useDismissCarouselItem.d.ts +15 -0
  460. package/dts/media/Carousel/useDismissCarouselItem.d.ts.map +1 -0
  461. package/dts/media/RemoteImage.d.ts +84 -0
  462. package/dts/media/RemoteImage.d.ts.map +1 -0
  463. package/dts/media/RemoteImageFallbackXmls/dark.d.ts +2 -0
  464. package/dts/media/RemoteImageFallbackXmls/dark.d.ts.map +1 -0
  465. package/dts/media/RemoteImageFallbackXmls/light.d.ts +2 -0
  466. package/dts/media/RemoteImageFallbackXmls/light.d.ts.map +1 -0
  467. package/dts/media/RemoteImageGroup.d.ts +39 -0
  468. package/dts/media/RemoteImageGroup.d.ts.map +1 -0
  469. package/dts/media/__figma__/Avatar.figma.d.ts +2 -0
  470. package/dts/media/__figma__/Avatar.figma.d.ts.map +1 -0
  471. package/dts/media/index.d.ts +5 -0
  472. package/dts/media/index.d.ts.map +1 -0
  473. package/dts/motion/AnimatedCaret.d.ts +18 -0
  474. package/dts/motion/AnimatedCaret.d.ts.map +1 -0
  475. package/dts/motion/ColorSurge.d.ts +29 -0
  476. package/dts/motion/ColorSurge.d.ts.map +1 -0
  477. package/dts/motion/Pulse.d.ts +56 -0
  478. package/dts/motion/Pulse.d.ts.map +1 -0
  479. package/dts/motion/Shake.d.ts +20 -0
  480. package/dts/motion/Shake.d.ts.map +1 -0
  481. package/dts/motion/convertMotionConfig.d.ts +51 -0
  482. package/dts/motion/convertMotionConfig.d.ts.map +1 -0
  483. package/dts/motion/types.d.ts +8 -0
  484. package/dts/motion/types.d.ts.map +1 -0
  485. package/dts/motion/withMotionTiming.d.ts +13 -0
  486. package/dts/motion/withMotionTiming.d.ts.map +1 -0
  487. package/dts/multi-content-module/MultiContentModule.d.ts +35 -0
  488. package/dts/multi-content-module/MultiContentModule.d.ts.map +1 -0
  489. package/dts/multi-content-module/__figma__/MultiContentModule.figma.d.ts +2 -0
  490. package/dts/multi-content-module/__figma__/MultiContentModule.figma.d.ts.map +1 -0
  491. package/dts/navigation/BrowserBar.d.ts +43 -0
  492. package/dts/navigation/BrowserBar.d.ts.map +1 -0
  493. package/dts/navigation/BrowserBarSearchInput.d.ts +23 -0
  494. package/dts/navigation/BrowserBarSearchInput.d.ts.map +1 -0
  495. package/dts/navigation/NavBarIconButton.d.ts +30 -0
  496. package/dts/navigation/NavBarIconButton.d.ts.map +1 -0
  497. package/dts/navigation/NavigationSubtitle.d.ts +12 -0
  498. package/dts/navigation/NavigationSubtitle.d.ts.map +1 -0
  499. package/dts/navigation/NavigationTitle.d.ts +10 -0
  500. package/dts/navigation/NavigationTitle.d.ts.map +1 -0
  501. package/dts/navigation/NavigationTitleSelect.d.ts +22 -0
  502. package/dts/navigation/NavigationTitleSelect.d.ts.map +1 -0
  503. package/dts/navigation/TopNavBar.d.ts +98 -0
  504. package/dts/navigation/TopNavBar.d.ts.map +1 -0
  505. package/dts/navigation/__figma__/BrowserBar.figma.d.ts +2 -0
  506. package/dts/navigation/__figma__/BrowserBar.figma.d.ts.map +1 -0
  507. package/dts/navigation/__figma__/TopNavBar.figma.d.ts +2 -0
  508. package/dts/navigation/__figma__/TopNavBar.figma.d.ts.map +1 -0
  509. package/dts/navigation/index.d.ts +8 -0
  510. package/dts/navigation/index.d.ts.map +1 -0
  511. package/dts/numbers/RollingNumber/DefaultRollingNumberAffixSection.d.ts +3 -0
  512. package/dts/numbers/RollingNumber/DefaultRollingNumberAffixSection.d.ts.map +1 -0
  513. package/dts/numbers/RollingNumber/DefaultRollingNumberDigit.d.ts +8 -0
  514. package/dts/numbers/RollingNumber/DefaultRollingNumberDigit.d.ts.map +1 -0
  515. package/dts/numbers/RollingNumber/DefaultRollingNumberMask.d.ts +3 -0
  516. package/dts/numbers/RollingNumber/DefaultRollingNumberMask.d.ts.map +1 -0
  517. package/dts/numbers/RollingNumber/DefaultRollingNumberSymbol.d.ts +3 -0
  518. package/dts/numbers/RollingNumber/DefaultRollingNumberSymbol.d.ts.map +1 -0
  519. package/dts/numbers/RollingNumber/DefaultRollingNumberValueSection.d.ts +3 -0
  520. package/dts/numbers/RollingNumber/DefaultRollingNumberValueSection.d.ts.map +1 -0
  521. package/dts/numbers/RollingNumber/RollingNumber.d.ts +516 -0
  522. package/dts/numbers/RollingNumber/RollingNumber.d.ts.map +1 -0
  523. package/dts/numbers/RollingNumber/index.d.ts +7 -0
  524. package/dts/numbers/RollingNumber/index.d.ts.map +1 -0
  525. package/dts/numbers/RollingNumber/useColorPulse.d.ts +23 -0
  526. package/dts/numbers/RollingNumber/useColorPulse.d.ts.map +1 -0
  527. package/dts/numbers/index.d.ts +2 -0
  528. package/dts/numbers/index.d.ts.map +1 -0
  529. package/dts/numpad/Numpad.d.ts +76 -0
  530. package/dts/numpad/Numpad.d.ts.map +1 -0
  531. package/dts/numpad/__figma__/Numpad.figma.d.ts +2 -0
  532. package/dts/numpad/__figma__/Numpad.figma.d.ts.map +1 -0
  533. package/dts/overlays/Alert.d.ts +97 -0
  534. package/dts/overlays/Alert.d.ts.map +1 -0
  535. package/dts/overlays/PortalProvider.d.ts +20 -0
  536. package/dts/overlays/PortalProvider.d.ts.map +1 -0
  537. package/dts/overlays/Toast.d.ts +40 -0
  538. package/dts/overlays/Toast.d.ts.map +1 -0
  539. package/dts/overlays/__figma__/Alert.figma.d.ts +2 -0
  540. package/dts/overlays/__figma__/Alert.figma.d.ts.map +1 -0
  541. package/dts/overlays/__figma__/Toast.figma.d.ts +2 -0
  542. package/dts/overlays/__figma__/Toast.figma.d.ts.map +1 -0
  543. package/dts/overlays/drawer/Drawer.d.ts +114 -0
  544. package/dts/overlays/drawer/Drawer.d.ts.map +1 -0
  545. package/dts/overlays/drawer/DrawerStatusBar.d.ts +9 -0
  546. package/dts/overlays/drawer/DrawerStatusBar.d.ts.map +1 -0
  547. package/dts/overlays/drawer/useDrawerAnimation.d.ts +24 -0
  548. package/dts/overlays/drawer/useDrawerAnimation.d.ts.map +1 -0
  549. package/dts/overlays/drawer/useDrawerPanResponder.d.ts +24 -0
  550. package/dts/overlays/drawer/useDrawerPanResponder.d.ts.map +1 -0
  551. package/dts/overlays/drawer/useDrawerSpacing.d.ts +27 -0
  552. package/dts/overlays/drawer/useDrawerSpacing.d.ts.map +1 -0
  553. package/dts/overlays/handlebar/HandleBar.d.ts +6 -0
  554. package/dts/overlays/handlebar/HandleBar.d.ts.map +1 -0
  555. package/dts/overlays/index.d.ts +12 -0
  556. package/dts/overlays/index.d.ts.map +1 -0
  557. package/dts/overlays/modal/Modal.d.ts +45 -0
  558. package/dts/overlays/modal/Modal.d.ts.map +1 -0
  559. package/dts/overlays/modal/ModalBody.d.ts +6 -0
  560. package/dts/overlays/modal/ModalBody.d.ts.map +1 -0
  561. package/dts/overlays/modal/ModalFooter.d.ts +29 -0
  562. package/dts/overlays/modal/ModalFooter.d.ts.map +1 -0
  563. package/dts/overlays/modal/ModalHeader.d.ts +46 -0
  564. package/dts/overlays/modal/ModalHeader.d.ts.map +1 -0
  565. package/dts/overlays/modal/__figma__/Modal.figma.d.ts +2 -0
  566. package/dts/overlays/modal/__figma__/Modal.figma.d.ts.map +1 -0
  567. package/dts/overlays/modal/useModalAnimation.d.ts +10 -0
  568. package/dts/overlays/modal/useModalAnimation.d.ts.map +1 -0
  569. package/dts/overlays/overlay/Overlay.d.ts +9 -0
  570. package/dts/overlays/overlay/Overlay.d.ts.map +1 -0
  571. package/dts/overlays/overlay/useOverlayAnimation.d.ts +11 -0
  572. package/dts/overlays/overlay/useOverlayAnimation.d.ts.map +1 -0
  573. package/dts/overlays/tooltip/InternalTooltip.d.ts +4 -0
  574. package/dts/overlays/tooltip/InternalTooltip.d.ts.map +1 -0
  575. package/dts/overlays/tooltip/Tooltip.d.ts +22 -0
  576. package/dts/overlays/tooltip/Tooltip.d.ts.map +1 -0
  577. package/dts/overlays/tooltip/TooltipProps.d.ts +98 -0
  578. package/dts/overlays/tooltip/TooltipProps.d.ts.map +1 -0
  579. package/dts/overlays/tooltip/__figma__/Tooltip.figma.d.ts +2 -0
  580. package/dts/overlays/tooltip/__figma__/Tooltip.figma.d.ts.map +1 -0
  581. package/dts/overlays/tooltip/useTooltipAnimation.d.ts +9 -0
  582. package/dts/overlays/tooltip/useTooltipAnimation.d.ts.map +1 -0
  583. package/dts/overlays/tooltip/useTooltipPosition.d.ts +12 -0
  584. package/dts/overlays/tooltip/useTooltipPosition.d.ts.map +1 -0
  585. package/dts/overlays/tray/Tray.d.ts +43 -0
  586. package/dts/overlays/tray/Tray.d.ts.map +1 -0
  587. package/dts/overlays/tray/__figma__/Tray.figma.d.ts +2 -0
  588. package/dts/overlays/tray/__figma__/Tray.figma.d.ts.map +1 -0
  589. package/dts/overlays/useAlertAnimation.d.ts +11 -0
  590. package/dts/overlays/useAlertAnimation.d.ts.map +1 -0
  591. package/dts/overlays/useModal.d.ts +6 -0
  592. package/dts/overlays/useModal.d.ts.map +1 -0
  593. package/dts/overlays/usePortal.d.ts +3 -0
  594. package/dts/overlays/usePortal.d.ts.map +1 -0
  595. package/dts/overlays/useToast.d.ts +9 -0
  596. package/dts/overlays/useToast.d.ts.map +1 -0
  597. package/dts/overlays/useToastAnimation.d.ts +10 -0
  598. package/dts/overlays/useToastAnimation.d.ts.map +1 -0
  599. package/dts/overlays/useToastPanResponder.d.ts +17 -0
  600. package/dts/overlays/useToastPanResponder.d.ts.map +1 -0
  601. package/dts/page/PageFooter.d.ts +50 -0
  602. package/dts/page/PageFooter.d.ts.map +1 -0
  603. package/dts/page/PageHeader.d.ts +112 -0
  604. package/dts/page/PageHeader.d.ts.map +1 -0
  605. package/dts/page/__figma__/PageFooter.figma.d.ts +2 -0
  606. package/dts/page/__figma__/PageFooter.figma.d.ts.map +1 -0
  607. package/dts/page/__figma__/PageHeader.figma.d.ts +2 -0
  608. package/dts/page/__figma__/PageHeader.figma.d.ts.map +1 -0
  609. package/dts/section-header/SectionHeader.d.ts +20 -0
  610. package/dts/section-header/SectionHeader.d.ts.map +1 -0
  611. package/dts/section-header/__figma__/SectionHeader.figma.d.ts +2 -0
  612. package/dts/section-header/__figma__/SectionHeader.figma.d.ts.map +1 -0
  613. package/dts/stepper/DefaultStepperHeaderHorizontal.d.ts +3 -0
  614. package/dts/stepper/DefaultStepperHeaderHorizontal.d.ts.map +1 -0
  615. package/dts/stepper/DefaultStepperIconVertical.d.ts +3 -0
  616. package/dts/stepper/DefaultStepperIconVertical.d.ts.map +1 -0
  617. package/dts/stepper/DefaultStepperLabelVertical.d.ts +3 -0
  618. package/dts/stepper/DefaultStepperLabelVertical.d.ts.map +1 -0
  619. package/dts/stepper/DefaultStepperProgressHorizontal.d.ts +3 -0
  620. package/dts/stepper/DefaultStepperProgressHorizontal.d.ts.map +1 -0
  621. package/dts/stepper/DefaultStepperProgressVertical.d.ts +3 -0
  622. package/dts/stepper/DefaultStepperProgressVertical.d.ts.map +1 -0
  623. package/dts/stepper/DefaultStepperStepHorizontal.d.ts +3 -0
  624. package/dts/stepper/DefaultStepperStepHorizontal.d.ts.map +1 -0
  625. package/dts/stepper/DefaultStepperStepVertical.d.ts +3 -0
  626. package/dts/stepper/DefaultStepperStepVertical.d.ts.map +1 -0
  627. package/dts/stepper/DefaultStepperSubstepContainerHorizontal.d.ts +3 -0
  628. package/dts/stepper/DefaultStepperSubstepContainerHorizontal.d.ts.map +1 -0
  629. package/dts/stepper/DefaultStepperSubstepContainerVertical.d.ts +3 -0
  630. package/dts/stepper/DefaultStepperSubstepContainerVertical.d.ts.map +1 -0
  631. package/dts/stepper/Stepper.d.ts +224 -0
  632. package/dts/stepper/Stepper.d.ts.map +1 -0
  633. package/dts/stepper/index.d.ts +11 -0
  634. package/dts/stepper/index.d.ts.map +1 -0
  635. package/dts/sticky-footer/StickyFooter.d.ts +40 -0
  636. package/dts/sticky-footer/StickyFooter.d.ts.map +1 -0
  637. package/dts/sticky-footer/__figma__/StickyFooter.figma.d.ts +2 -0
  638. package/dts/sticky-footer/__figma__/StickyFooter.figma.d.ts.map +1 -0
  639. package/dts/styles/fallbackShimmer.d.ts +5 -0
  640. package/dts/styles/fallbackShimmer.d.ts.map +1 -0
  641. package/dts/styles/getBorderStyles.d.ts +46 -0
  642. package/dts/styles/getBorderStyles.d.ts.map +1 -0
  643. package/dts/styles/getFlushStyles.d.ts +9 -0
  644. package/dts/styles/getFlushStyles.d.ts.map +1 -0
  645. package/dts/styles/getInteractableStyles.d.ts +55 -0
  646. package/dts/styles/getInteractableStyles.d.ts.map +1 -0
  647. package/dts/styles/pinStyles.d.ts +29 -0
  648. package/dts/styles/pinStyles.d.ts.map +1 -0
  649. package/dts/styles/styleProps.d.ts +117 -0
  650. package/dts/styles/styleProps.d.ts.map +1 -0
  651. package/dts/system/AndroidNavigationBar.d.ts +11 -0
  652. package/dts/system/AndroidNavigationBar.d.ts.map +1 -0
  653. package/dts/system/EventHandlerProvider.d.ts +8 -0
  654. package/dts/system/EventHandlerProvider.d.ts.map +1 -0
  655. package/dts/system/Interactable.d.ts +69 -0
  656. package/dts/system/Interactable.d.ts.map +1 -0
  657. package/dts/system/Pressable.d.ts +87 -0
  658. package/dts/system/Pressable.d.ts.map +1 -0
  659. package/dts/system/PressableOpacity.d.ts +12 -0
  660. package/dts/system/PressableOpacity.d.ts.map +1 -0
  661. package/dts/system/StatusBar.d.ts +27 -0
  662. package/dts/system/StatusBar.d.ts.map +1 -0
  663. package/dts/system/ThemeProvider.d.ts +23 -0
  664. package/dts/system/ThemeProvider.d.ts.map +1 -0
  665. package/dts/system/__figma__/AndroidNavigationBar.figma.d.ts +2 -0
  666. package/dts/system/__figma__/AndroidNavigationBar.figma.d.ts.map +1 -0
  667. package/dts/system/index.d.ts +8 -0
  668. package/dts/system/index.d.ts.map +1 -0
  669. package/dts/tabs/SegmentedTab.d.ts +34 -0
  670. package/dts/tabs/SegmentedTab.d.ts.map +1 -0
  671. package/dts/tabs/SegmentedTabs.d.ts +15 -0
  672. package/dts/tabs/SegmentedTabs.d.ts.map +1 -0
  673. package/dts/tabs/SegmentedTabsActiveIndicator.d.ts +7 -0
  674. package/dts/tabs/SegmentedTabsActiveIndicator.d.ts.map +1 -0
  675. package/dts/tabs/TabIndicator.d.ts +29 -0
  676. package/dts/tabs/TabIndicator.d.ts.map +1 -0
  677. package/dts/tabs/TabLabel.d.ts +24 -0
  678. package/dts/tabs/TabLabel.d.ts.map +1 -0
  679. package/dts/tabs/TabNavigation.d.ts +85 -0
  680. package/dts/tabs/TabNavigation.d.ts.map +1 -0
  681. package/dts/tabs/Tabs.d.ts +43 -0
  682. package/dts/tabs/Tabs.d.ts.map +1 -0
  683. package/dts/tabs/__figma__/SegmentedTabs.figma.d.ts +2 -0
  684. package/dts/tabs/__figma__/SegmentedTabs.figma.d.ts.map +1 -0
  685. package/dts/tabs/__figma__/TabNavigation.figma.d.ts +2 -0
  686. package/dts/tabs/__figma__/TabNavigation.figma.d.ts.map +1 -0
  687. package/dts/tabs/hooks/useDotAnimation.d.ts +8 -0
  688. package/dts/tabs/hooks/useDotAnimation.d.ts.map +1 -0
  689. package/dts/tabs/hooks/useTabIndicatorStyles.d.ts +17 -0
  690. package/dts/tabs/hooks/useTabIndicatorStyles.d.ts.map +1 -0
  691. package/dts/tabs/index.d.ts +6 -0
  692. package/dts/tabs/index.d.ts.map +1 -0
  693. package/dts/tag/Tag.d.ts +60 -0
  694. package/dts/tag/Tag.d.ts.map +1 -0
  695. package/dts/tag/__figma__/Tag.figma.d.ts +2 -0
  696. package/dts/tag/__figma__/Tag.figma.d.ts.map +1 -0
  697. package/dts/themes/coinbaseDenseTheme.d.ts +556 -0
  698. package/dts/themes/coinbaseDenseTheme.d.ts.map +1 -0
  699. package/dts/themes/coinbaseHighContrastTheme.d.ts +555 -0
  700. package/dts/themes/coinbaseHighContrastTheme.d.ts.map +1 -0
  701. package/dts/themes/coinbaseTheme.d.ts +555 -0
  702. package/dts/themes/coinbaseTheme.d.ts.map +1 -0
  703. package/dts/themes/defaultHighContrastTheme.d.ts +555 -0
  704. package/dts/themes/defaultHighContrastTheme.d.ts.map +1 -0
  705. package/dts/themes/defaultTheme.d.ts +555 -0
  706. package/dts/themes/defaultTheme.d.ts.map +1 -0
  707. package/dts/tour/DefaultTourMask.d.ts +10 -0
  708. package/dts/tour/DefaultTourMask.d.ts.map +1 -0
  709. package/dts/tour/DefaultTourStepArrow.d.ts +7 -0
  710. package/dts/tour/DefaultTourStepArrow.d.ts.map +1 -0
  711. package/dts/tour/Tour.d.ts +71 -0
  712. package/dts/tour/Tour.d.ts.map +1 -0
  713. package/dts/tour/TourStep.d.ts +17 -0
  714. package/dts/tour/TourStep.d.ts.map +1 -0
  715. package/dts/tour/index.d.ts +5 -0
  716. package/dts/tour/index.d.ts.map +1 -0
  717. package/dts/typography/Link.d.ts +54 -0
  718. package/dts/typography/Link.d.ts.map +1 -0
  719. package/dts/typography/Text.d.ts +127 -0
  720. package/dts/typography/Text.d.ts.map +1 -0
  721. package/dts/typography/TextBody.d.ts +31 -0
  722. package/dts/typography/TextBody.d.ts.map +1 -0
  723. package/dts/typography/TextCaption.d.ts +31 -0
  724. package/dts/typography/TextCaption.d.ts.map +1 -0
  725. package/dts/typography/TextDisplay1.d.ts +31 -0
  726. package/dts/typography/TextDisplay1.d.ts.map +1 -0
  727. package/dts/typography/TextDisplay2.d.ts +31 -0
  728. package/dts/typography/TextDisplay2.d.ts.map +1 -0
  729. package/dts/typography/TextDisplay3.d.ts +31 -0
  730. package/dts/typography/TextDisplay3.d.ts.map +1 -0
  731. package/dts/typography/TextHeadline.d.ts +31 -0
  732. package/dts/typography/TextHeadline.d.ts.map +1 -0
  733. package/dts/typography/TextInherited.d.ts +31 -0
  734. package/dts/typography/TextInherited.d.ts.map +1 -0
  735. package/dts/typography/TextLabel1.d.ts +31 -0
  736. package/dts/typography/TextLabel1.d.ts.map +1 -0
  737. package/dts/typography/TextLabel2.d.ts +31 -0
  738. package/dts/typography/TextLabel2.d.ts.map +1 -0
  739. package/dts/typography/TextLegal.d.ts +31 -0
  740. package/dts/typography/TextLegal.d.ts.map +1 -0
  741. package/dts/typography/TextTitle1.d.ts +31 -0
  742. package/dts/typography/TextTitle1.d.ts.map +1 -0
  743. package/dts/typography/TextTitle2.d.ts +31 -0
  744. package/dts/typography/TextTitle2.d.ts.map +1 -0
  745. package/dts/typography/TextTitle3.d.ts +31 -0
  746. package/dts/typography/TextTitle3.d.ts.map +1 -0
  747. package/dts/typography/TextTitle4.d.ts +31 -0
  748. package/dts/typography/TextTitle4.d.ts.map +1 -0
  749. package/dts/typography/__figma__/Link.figma.d.ts +2 -0
  750. package/dts/typography/__figma__/Link.figma.d.ts.map +1 -0
  751. package/dts/typography/index.d.ts +16 -0
  752. package/dts/typography/index.d.ts.map +1 -0
  753. package/dts/utils/customTabsHelper.d.ts +5 -0
  754. package/dts/utils/customTabsHelper.d.ts.map +1 -0
  755. package/dts/utils/debounce.d.ts +6 -0
  756. package/dts/utils/debounce.d.ts.map +1 -0
  757. package/dts/utils/flattenAndJoinNodes.d.ts +24 -0
  758. package/dts/utils/flattenAndJoinNodes.d.ts.map +1 -0
  759. package/dts/utils/getAdjustedFontScale.d.ts +7 -0
  760. package/dts/utils/getAdjustedFontScale.d.ts.map +1 -0
  761. package/dts/utils/getSpacerStyle.d.ts +27 -0
  762. package/dts/utils/getSpacerStyle.d.ts.map +1 -0
  763. package/dts/utils/haptics.d.ts +9 -0
  764. package/dts/utils/haptics.d.ts.map +1 -0
  765. package/dts/utils/isValidURL.d.ts +2 -0
  766. package/dts/utils/isValidURL.d.ts.map +1 -0
  767. package/dts/utils/openWebBrowser.d.ts +53 -0
  768. package/dts/utils/openWebBrowser.d.ts.map +1 -0
  769. package/dts/utils/testHelpers.d.ts +582 -0
  770. package/dts/utils/testHelpers.d.ts.map +1 -0
  771. package/dts/visualizations/Counter.d.ts +15 -0
  772. package/dts/visualizations/Counter.d.ts.map +1 -0
  773. package/dts/visualizations/DefaultProgressCircleContent.d.ts +9 -0
  774. package/dts/visualizations/DefaultProgressCircleContent.d.ts.map +1 -0
  775. package/dts/visualizations/ProgressBar.d.ts +103 -0
  776. package/dts/visualizations/ProgressBar.d.ts.map +1 -0
  777. package/dts/visualizations/ProgressBarWithFixedLabels.d.ts +63 -0
  778. package/dts/visualizations/ProgressBarWithFixedLabels.d.ts.map +1 -0
  779. package/dts/visualizations/ProgressBarWithFloatLabel.d.ts +46 -0
  780. package/dts/visualizations/ProgressBarWithFloatLabel.d.ts.map +1 -0
  781. package/dts/visualizations/ProgressCircle.d.ts +141 -0
  782. package/dts/visualizations/ProgressCircle.d.ts.map +1 -0
  783. package/dts/visualizations/ProgressContainerWithButtons.d.ts +6 -0
  784. package/dts/visualizations/ProgressContainerWithButtons.d.ts.map +1 -0
  785. package/dts/visualizations/ProgressIndicator.d.ts +46 -0
  786. package/dts/visualizations/ProgressIndicator.d.ts.map +1 -0
  787. package/dts/visualizations/ProgressTextLabel.d.ts +23 -0
  788. package/dts/visualizations/ProgressTextLabel.d.ts.map +1 -0
  789. package/dts/visualizations/VisualizationContainer.d.ts +16 -0
  790. package/dts/visualizations/VisualizationContainer.d.ts.map +1 -0
  791. package/dts/visualizations/__figma__/ProgressBar.figma.d.ts +2 -0
  792. package/dts/visualizations/__figma__/ProgressBar.figma.d.ts.map +1 -0
  793. package/dts/visualizations/__figma__/ProgressCircle.figma.d.ts +2 -0
  794. package/dts/visualizations/__figma__/ProgressCircle.figma.d.ts.map +1 -0
  795. package/dts/visualizations/getProgressBarLabelParts.d.ts +16 -0
  796. package/dts/visualizations/getProgressBarLabelParts.d.ts.map +1 -0
  797. package/dts/visualizations/index.d.ts +7 -0
  798. package/dts/visualizations/index.d.ts.map +1 -0
  799. package/esm/accordion/Accordion.js +30 -0
  800. package/esm/accordion/AccordionHeader.js +104 -0
  801. package/esm/accordion/AccordionItem.js +51 -0
  802. package/esm/accordion/AccordionPanel.js +25 -0
  803. package/esm/accordion/__figma__/Accordion.figma.js +42 -0
  804. package/esm/accordion/__stories__/Accordion.stories.js +275 -0
  805. package/esm/accordion/index.js +2 -0
  806. package/esm/alpha/carousel/Carousel.js +244 -0
  807. package/esm/alpha/carousel/CarouselControlsWrapper.js +29 -0
  808. package/esm/alpha/carousel/CarouselItem.js +134 -0
  809. package/esm/alpha/carousel/types.js +1 -0
  810. package/esm/alpha/carousel/useCarousel.js +25 -0
  811. package/esm/alpha/carousel/useCarouselItem.js +36 -0
  812. package/esm/animation/AnimationProps.js +1 -0
  813. package/esm/animation/Lottie.e2e.js +2 -0
  814. package/esm/animation/Lottie.js +55 -0
  815. package/esm/animation/LottieStatusAnimation.js +29 -0
  816. package/esm/animation/__stories__/Lottie.stories.js +33 -0
  817. package/esm/animation/__stories__/LottieStatusAnimation.stories.js +39 -0
  818. package/esm/animation/convertMotionConfig.js +30 -0
  819. package/esm/animation/createLottie.e2e.js +2 -0
  820. package/esm/animation/createLottie.js +104 -0
  821. package/esm/animation/index.js +6 -0
  822. package/esm/animation/lottieProgresConfig.js +6 -0
  823. package/esm/animation/mocks.js +45 -0
  824. package/esm/animation/types.js +1 -0
  825. package/esm/animation/useLottie.e2e.js +2 -0
  826. package/esm/animation/useLottie.js +10 -0
  827. package/esm/animation/useLottieColorFilters.js +42 -0
  828. package/esm/animation/useRotateAnimation.js +26 -0
  829. package/esm/banner/Banner.js +209 -0
  830. package/esm/banner/__stories__/Banner.stories.js +310 -0
  831. package/esm/buttons/AvatarButton.js +37 -0
  832. package/esm/buttons/Button.js +140 -0
  833. package/esm/buttons/ButtonGroup.js +34 -0
  834. package/esm/buttons/DefaultSlideButtonBackground.js +45 -0
  835. package/esm/buttons/DefaultSlideButtonHandle.js +138 -0
  836. package/esm/buttons/IconButton.js +87 -0
  837. package/esm/buttons/IconCounterButton.js +42 -0
  838. package/esm/buttons/SlideButton.js +145 -0
  839. package/esm/buttons/__figma__/AvatarButton.figma.js +25 -0
  840. package/esm/buttons/__figma__/Button.figma.js +65 -0
  841. package/esm/buttons/__figma__/ButtonGroup.figma.js +48 -0
  842. package/esm/buttons/__figma__/IconButton.figma.js +29 -0
  843. package/esm/buttons/__figma__/SlideButton.figma.js +26 -0
  844. package/esm/buttons/__stories__/AvatarButton.stories.js +132 -0
  845. package/esm/buttons/__stories__/Button.stories.js +181 -0
  846. package/esm/buttons/__stories__/ButtonGroup.stories.js +170 -0
  847. package/esm/buttons/__stories__/IconButton.stories.js +183 -0
  848. package/esm/buttons/__stories__/IconCounterButton.stories.js +80 -0
  849. package/esm/buttons/__stories__/SlideButton.stories.js +169 -0
  850. package/esm/buttons/index.js +6 -0
  851. package/esm/cards/AnnouncementCard.js +43 -0
  852. package/esm/cards/Card.js +100 -0
  853. package/esm/cards/CardBody.js +169 -0
  854. package/esm/cards/CardFooter.js +23 -0
  855. package/esm/cards/CardGroup.js +30 -0
  856. package/esm/cards/CardHeader.js +40 -0
  857. package/esm/cards/CardMedia.js +48 -0
  858. package/esm/cards/CardRemoteImage.js +18 -0
  859. package/esm/cards/ContainedAssetCard.js +78 -0
  860. package/esm/cards/ContentCard/ContentCard.js +29 -0
  861. package/esm/cards/ContentCard/ContentCardBody.js +47 -0
  862. package/esm/cards/ContentCard/ContentCardFooter.js +20 -0
  863. package/esm/cards/ContentCard/ContentCardHeader.js +46 -0
  864. package/esm/cards/ContentCard/__figma__/ContentCard.figma.js +32 -0
  865. package/esm/cards/ContentCard/__figma__/ContentCardBody.figma.js +39 -0
  866. package/esm/cards/ContentCard/__figma__/ContentCardFooter.figma.js +142 -0
  867. package/esm/cards/ContentCard/__figma__/ContentCardHeader.figma.js +25 -0
  868. package/esm/cards/ContentCard/index.js +4 -0
  869. package/esm/cards/DataCard.js +68 -0
  870. package/esm/cards/FeatureEntryCard.js +39 -0
  871. package/esm/cards/FeedCard.js +95 -0
  872. package/esm/cards/FloatingAssetCard.js +65 -0
  873. package/esm/cards/LikeButton.js +89 -0
  874. package/esm/cards/NudgeCard.js +121 -0
  875. package/esm/cards/UpsellCard.js +92 -0
  876. package/esm/cards/__figma__/AnnouncementCard.figma.js +18 -0
  877. package/esm/cards/__figma__/ContainedAssetCard.figma.js +39 -0
  878. package/esm/cards/__figma__/FloatingAssetCard.figma.js +30 -0
  879. package/esm/cards/__figma__/NudgeCard.figma.js +54 -0
  880. package/esm/cards/__figma__/UpsellCard.figma.js +46 -0
  881. package/esm/cards/__stories__/Card.stories.js +396 -0
  882. package/esm/cards/__stories__/ContainedAssetCard.stories.js +134 -0
  883. package/esm/cards/__stories__/ContentCard.stories.js +332 -0
  884. package/esm/cards/__stories__/FloatingAssetCard.stories.js +81 -0
  885. package/esm/cards/__stories__/NudgeCard.stories.js +179 -0
  886. package/esm/cards/__stories__/UpsellCard.stories.js +143 -0
  887. package/esm/cards/index.js +12 -0
  888. package/esm/carousel/Carousel.js +391 -0
  889. package/esm/carousel/CarouselItem.js +58 -0
  890. package/esm/carousel/DefaultCarouselNavigation.js +52 -0
  891. package/esm/carousel/DefaultCarouselPagination.js +49 -0
  892. package/esm/carousel/__stories__/Carousel.stories.js +740 -0
  893. package/esm/carousel/index.js +4 -0
  894. package/esm/cells/Cell.js +158 -0
  895. package/esm/cells/CellAccessory.js +43 -0
  896. package/esm/cells/CellDetail.js +35 -0
  897. package/esm/cells/CellHelperText.js +34 -0
  898. package/esm/cells/CellMedia.js +68 -0
  899. package/esm/cells/ContentCell.js +99 -0
  900. package/esm/cells/ContentCellFallback.js +43 -0
  901. package/esm/cells/ListCell.js +78 -0
  902. package/esm/cells/ListCellFallback.js +110 -0
  903. package/esm/cells/MediaFallback.js +23 -0
  904. package/esm/cells/__figma__/ContentCell.figma.js +35 -0
  905. package/esm/cells/__figma__/ListCell.figma.js +74 -0
  906. package/esm/cells/__stories__/ContentCell.stories.js +227 -0
  907. package/esm/cells/__stories__/ContentCellFallback.stories.js +96 -0
  908. package/esm/cells/__stories__/ListCell.stories.js +763 -0
  909. package/esm/cells/__stories__/ListCellFallback.stories.js +244 -0
  910. package/esm/cells/index.js +6 -0
  911. package/esm/chips/Chip.js +63 -0
  912. package/esm/chips/ChipProps.js +1 -0
  913. package/esm/chips/InputChip.js +28 -0
  914. package/esm/chips/SelectChip.js +124 -0
  915. package/esm/chips/TabbedChips.js +84 -0
  916. package/esm/chips/__figma__/InputChip.figma.js +26 -0
  917. package/esm/chips/__figma__/SelectChip.figma.js +39 -0
  918. package/esm/chips/__figma__/TabbedChips.figma.js +55 -0
  919. package/esm/chips/__stories__/Chip.stories.js +108 -0
  920. package/esm/chips/__stories__/InputChip.stories.js +48 -0
  921. package/esm/chips/__stories__/SelectChip.stories.js +128 -0
  922. package/esm/chips/__stories__/TabbedChips.stories.js +65 -0
  923. package/esm/coachmark/Coachmark.js +73 -0
  924. package/esm/coachmark/__figma__/Coachmark.figma.js +41 -0
  925. package/esm/coachmark/__stories__/Coachmark.stories.js +107 -0
  926. package/esm/collapsible/Collapsible.js +128 -0
  927. package/esm/collapsible/__stories__/Collapsible.stories.js +127 -0
  928. package/esm/collapsible/index.js +1 -0
  929. package/esm/collapsible/useCollapsibleAnimation.js +37 -0
  930. package/esm/collapsible/useCollapsibleDirection.js +23 -0
  931. package/esm/collapsible/useToggleAnimation.js +19 -0
  932. package/esm/controls/Checkbox.js +95 -0
  933. package/esm/controls/CheckboxCell.js +188 -0
  934. package/esm/controls/CheckboxGroup.js +102 -0
  935. package/esm/controls/Control.js +155 -0
  936. package/esm/controls/ControlGroup.js +46 -0
  937. package/esm/controls/HelperText.js +52 -0
  938. package/esm/controls/InputIcon.js +39 -0
  939. package/esm/controls/InputIconButton.js +39 -0
  940. package/esm/controls/InputLabel.js +17 -0
  941. package/esm/controls/InputStack.js +131 -0
  942. package/esm/controls/Menu.js +19 -0
  943. package/esm/controls/NativeInput.js +61 -0
  944. package/esm/controls/Radio.js +101 -0
  945. package/esm/controls/RadioCell.js +186 -0
  946. package/esm/controls/RadioGroup.js +95 -0
  947. package/esm/controls/SearchInput.js +102 -0
  948. package/esm/controls/Select.js +197 -0
  949. package/esm/controls/SelectContext.js +18 -0
  950. package/esm/controls/SelectOption.js +71 -0
  951. package/esm/controls/Switch.js +102 -0
  952. package/esm/controls/TextInput.js +201 -0
  953. package/esm/controls/__figma__/Checkbox.figma.js +27 -0
  954. package/esm/controls/__figma__/CheckboxCell.figma.js +38 -0
  955. package/esm/controls/__figma__/CheckboxGroup.figma.js +23 -0
  956. package/esm/controls/__figma__/RadioCell.figma.js +38 -0
  957. package/esm/controls/__figma__/RadioGroup.figma.js +47 -0
  958. package/esm/controls/__figma__/SearchInput.figma.js +35 -0
  959. package/esm/controls/__figma__/Select.figma.js +62 -0
  960. package/esm/controls/__figma__/SelectOption.figma.js +35 -0
  961. package/esm/controls/__figma__/Switch.figma.js +16 -0
  962. package/esm/controls/__figma__/TextInput.figma.js +125 -0
  963. package/esm/controls/__stories__/Checkbox.stories.js +143 -0
  964. package/esm/controls/__stories__/CheckboxCell.stories.js +292 -0
  965. package/esm/controls/__stories__/ControlGroup.stories.js +235 -0
  966. package/esm/controls/__stories__/InputIcon.stories.js +134 -0
  967. package/esm/controls/__stories__/InputIconButton.stories.js +120 -0
  968. package/esm/controls/__stories__/InputStack.stories.js +208 -0
  969. package/esm/controls/__stories__/RadioCell.stories.js +296 -0
  970. package/esm/controls/__stories__/RadioGroup.stories.js +141 -0
  971. package/esm/controls/__stories__/SearchInput.stories.js +200 -0
  972. package/esm/controls/__stories__/Select.stories.js +422 -0
  973. package/esm/controls/__stories__/SelectOption.stories.js +60 -0
  974. package/esm/controls/__stories__/Switch.stories.js +69 -0
  975. package/esm/controls/__stories__/TextInput.stories.js +543 -0
  976. package/esm/controls/context.js +2 -0
  977. package/esm/controls/index.js +15 -0
  978. package/esm/controls/useControlMotionProps.js +35 -0
  979. package/esm/controls/useSelect.js +13 -0
  980. package/esm/core/theme.js +1 -0
  981. package/esm/dates/DateInput.js +107 -0
  982. package/esm/dates/DatePicker.js +119 -0
  983. package/esm/dates/__figma__/DatePicker.figma.js +43 -0
  984. package/esm/dates/__stories__/DateInput.stories.js +68 -0
  985. package/esm/dates/__stories__/DatePicker.stories.js +34 -0
  986. package/esm/dots/DotCount.js +140 -0
  987. package/esm/dots/DotStatusColor.js +61 -0
  988. package/esm/dots/DotSymbol.js +101 -0
  989. package/esm/dots/__figma__/DotCount.figma.js +16 -0
  990. package/esm/dots/__figma__/DotStatusColor.figma.js +23 -0
  991. package/esm/dots/__figma__/DotSymbol.figma.js +45 -0
  992. package/esm/dots/__stories__/Dot.stories.js +480 -0
  993. package/esm/dots/__stories__/DotMisc.stories.js +39 -0
  994. package/esm/dots/dotStyles.js +10 -0
  995. package/esm/dots/index.js +3 -0
  996. package/esm/dots/useDotsLayout.js +8 -0
  997. package/esm/examples/ExampleScreen.js +76 -0
  998. package/esm/gradients/LinearGradient.js +67 -0
  999. package/esm/gradients/__stories__/LinearGradient.stories.js +78 -0
  1000. package/esm/hooks/useA11y.js +36 -0
  1001. package/esm/hooks/useAnimatedTransition.js +24 -0
  1002. package/esm/hooks/useAppState.js +15 -0
  1003. package/esm/hooks/useCellSpacing.js +27 -0
  1004. package/esm/hooks/useCheckboxGroupState.js +1 -0
  1005. package/esm/hooks/useContentSize.js +15 -0
  1006. package/esm/hooks/useDeviceColorScheme.js +25 -0
  1007. package/esm/hooks/useDeviceFontScale.js +20 -0
  1008. package/esm/hooks/useDimensions.js +19 -0
  1009. package/esm/hooks/useDotPinStyles.js +28 -0
  1010. package/esm/hooks/useEventHandler.js +6 -0
  1011. package/esm/hooks/useHasNotch.js +9 -0
  1012. package/esm/hooks/useHorizontallyScrollingPressables.js +104 -0
  1013. package/esm/hooks/useInputBorderAnimation.js +32 -0
  1014. package/esm/hooks/useInputBorderStyle.js +55 -0
  1015. package/esm/hooks/useLayout.js +14 -0
  1016. package/esm/hooks/usePressAnimation.js +23 -0
  1017. package/esm/hooks/useSafeBottomPadding.js +11 -0
  1018. package/esm/hooks/useScreenReaderStatus.js +25 -0
  1019. package/esm/hooks/useScrollOffset.js +36 -0
  1020. package/esm/hooks/useScrollTo.js +32 -0
  1021. package/esm/hooks/useSelectionCellBorderStyle.js +58 -0
  1022. package/esm/hooks/useStatusBarHeight.js +36 -0
  1023. package/esm/hooks/useTextAlign.js +19 -0
  1024. package/esm/hooks/useTheme.js +9 -0
  1025. package/esm/hooks/useWebBrowserOpener.js +27 -0
  1026. package/esm/icons/Icon.js +86 -0
  1027. package/esm/icons/LogoMark.js +35 -0
  1028. package/esm/icons/LogoWordmark.js +29 -0
  1029. package/esm/icons/SubBrandLogoMark.js +33 -0
  1030. package/esm/icons/SubBrandLogoWordmark.js +33 -0
  1031. package/esm/icons/TextIcon.js +48 -0
  1032. package/esm/icons/__figma__/Icon.figma.js +2996 -0
  1033. package/esm/icons/__figma__/LogoMark.figma.js +20 -0
  1034. package/esm/icons/__figma__/LogoWordmark.figma.js +32 -0
  1035. package/esm/icons/__figma__/SubBrandLogoMark.figma.js +47 -0
  1036. package/esm/icons/__figma__/SubBrandLogoWordmark.figma.js +48 -0
  1037. package/esm/icons/__stories__/Icon.stories.js +98 -0
  1038. package/esm/icons/__stories__/IconSheet.js +27 -0
  1039. package/esm/icons/__stories__/Logo.stories.js +332 -0
  1040. package/esm/icons/index.js +6 -0
  1041. package/esm/illustrations/HeroSquare.js +3 -0
  1042. package/esm/illustrations/Pictogram.js +3 -0
  1043. package/esm/illustrations/SpotIcon.js +3 -0
  1044. package/esm/illustrations/SpotRectangle.js +3 -0
  1045. package/esm/illustrations/SpotSquare.js +3 -0
  1046. package/esm/illustrations/__figma__/HeroSquare.figma.js +2104 -0
  1047. package/esm/illustrations/__figma__/Pictogram.figma.js +1774 -0
  1048. package/esm/illustrations/__figma__/SpotIcon.figma.js +340 -0
  1049. package/esm/illustrations/__figma__/SpotRectangle.figma.js +1102 -0
  1050. package/esm/illustrations/__figma__/SpotSquare.figma.js +1192 -0
  1051. package/esm/illustrations/__stories__/HeroSquare.stories.js +2 -0
  1052. package/esm/illustrations/__stories__/Pictogram.stories.js +2 -0
  1053. package/esm/illustrations/__stories__/SpotIcon.stories.js +2 -0
  1054. package/esm/illustrations/__stories__/SpotRectangle.stories.js +2 -0
  1055. package/esm/illustrations/__stories__/SpotSquare.stories.js +2 -0
  1056. package/esm/illustrations/__stories__/getIllustrationSheet.js +164 -0
  1057. package/esm/illustrations/createIllustration.js +55 -0
  1058. package/esm/illustrations/index.js +5 -0
  1059. package/esm/index.js +3 -0
  1060. package/esm/jest.d.js +3 -0
  1061. package/esm/layout/Box.js +250 -0
  1062. package/esm/layout/Divider.js +37 -0
  1063. package/esm/layout/Fallback.js +98 -0
  1064. package/esm/layout/Group.js +40 -0
  1065. package/esm/layout/HStack.js +16 -0
  1066. package/esm/layout/OverflowGradient.js +74 -0
  1067. package/esm/layout/Spacer.js +44 -0
  1068. package/esm/layout/VStack.js +16 -0
  1069. package/esm/layout/__figma__/Divider.figma.js +27 -0
  1070. package/esm/layout/__figma__/Fallback.figma.js +21 -0
  1071. package/esm/layout/__stories__/Box.stories.js +327 -0
  1072. package/esm/layout/__stories__/Divider.stories.js +34 -0
  1073. package/esm/layout/__stories__/Group.stories.js +109 -0
  1074. package/esm/layout/__stories__/LoremIpsum.js +25 -0
  1075. package/esm/layout/__stories__/Spacer.stories.js +115 -0
  1076. package/esm/layout/index.js +8 -0
  1077. package/esm/loaders/Spinner.js +21 -0
  1078. package/esm/loaders/__stories__/Spinner.stories.js +18 -0
  1079. package/esm/loaders/index.js +1 -0
  1080. package/esm/media/Avatar.js +119 -0
  1081. package/esm/media/Carousel/Carousel.js +152 -0
  1082. package/esm/media/Carousel/CarouselItem.js +64 -0
  1083. package/esm/media/Carousel/CarouselItemContext.js +22 -0
  1084. package/esm/media/Carousel/index.js +4 -0
  1085. package/esm/media/Carousel/types.js +1 -0
  1086. package/esm/media/Carousel/useCarousel.js +23 -0
  1087. package/esm/media/Carousel/useCarouselItem.js +17 -0
  1088. package/esm/media/Carousel/useDismissCarouselItem.js +65 -0
  1089. package/esm/media/RemoteImage.js +178 -0
  1090. package/esm/media/RemoteImageFallbackXmls/dark.js +3 -0
  1091. package/esm/media/RemoteImageFallbackXmls/light.js +3 -0
  1092. package/esm/media/RemoteImageGroup.js +111 -0
  1093. package/esm/media/__figma__/Avatar.figma.js +56 -0
  1094. package/esm/media/__stories__/Avatar.stories.js +134 -0
  1095. package/esm/media/__stories__/CarouselAlphaExample.js +93 -0
  1096. package/esm/media/__stories__/CarouselMedia.stories.js +183 -0
  1097. package/esm/media/__stories__/RemoteImage.stories.js +269 -0
  1098. package/esm/media/__stories__/RemoteImageGroup.stories.js +289 -0
  1099. package/esm/media/index.js +4 -0
  1100. package/esm/motion/AnimatedCaret.js +61 -0
  1101. package/esm/motion/ColorSurge.js +44 -0
  1102. package/esm/motion/Pulse.js +54 -0
  1103. package/esm/motion/Shake.js +51 -0
  1104. package/esm/motion/__stories__/AnimatedCaret.stories.js +27 -0
  1105. package/esm/motion/__stories__/HintMotion.stories.js +182 -0
  1106. package/esm/motion/convertMotionConfig.js +34 -0
  1107. package/esm/motion/types.js +1 -0
  1108. package/esm/motion/withMotionTiming.js +16 -0
  1109. package/esm/multi-content-module/MultiContentModule.js +59 -0
  1110. package/esm/multi-content-module/__figma__/MultiContentModule.figma.js +31 -0
  1111. package/esm/multi-content-module/__stories__/MultiContentModule.stories.js +390 -0
  1112. package/esm/navigation/BrowserBar.js +77 -0
  1113. package/esm/navigation/BrowserBarSearchInput.js +43 -0
  1114. package/esm/navigation/NavBarIconButton.js +61 -0
  1115. package/esm/navigation/NavigationSubtitle.js +19 -0
  1116. package/esm/navigation/NavigationTitle.js +18 -0
  1117. package/esm/navigation/NavigationTitleSelect.js +84 -0
  1118. package/esm/navigation/TopNavBar.js +121 -0
  1119. package/esm/navigation/__figma__/BrowserBar.figma.js +58 -0
  1120. package/esm/navigation/__figma__/TopNavBar.figma.js +312 -0
  1121. package/esm/navigation/__stories__/BrowserBar.stories.js +121 -0
  1122. package/esm/navigation/__stories__/BrowserBarSearchInput.stories.js +62 -0
  1123. package/esm/navigation/__stories__/NavBarIconButton.stories.js +59 -0
  1124. package/esm/navigation/__stories__/NavigationSubtitle.stories.js +152 -0
  1125. package/esm/navigation/__stories__/NavigationTitle.stories.js +198 -0
  1126. package/esm/navigation/__stories__/NavigationTitleSelect.stories.js +253 -0
  1127. package/esm/navigation/__stories__/TopNavBar.stories.js +108 -0
  1128. package/esm/navigation/index.js +7 -0
  1129. package/esm/numbers/RollingNumber/DefaultRollingNumberAffixSection.js +33 -0
  1130. package/esm/numbers/RollingNumber/DefaultRollingNumberDigit.js +73 -0
  1131. package/esm/numbers/RollingNumber/DefaultRollingNumberMask.js +27 -0
  1132. package/esm/numbers/RollingNumber/DefaultRollingNumberSymbol.js +31 -0
  1133. package/esm/numbers/RollingNumber/DefaultRollingNumberValueSection.js +97 -0
  1134. package/esm/numbers/RollingNumber/RollingNumber.js +270 -0
  1135. package/esm/numbers/RollingNumber/index.js +6 -0
  1136. package/esm/numbers/RollingNumber/useColorPulse.js +48 -0
  1137. package/esm/numbers/__stories__/RollingNumber.stories.js +1008 -0
  1138. package/esm/numbers/index.js +1 -0
  1139. package/esm/numpad/Numpad.js +150 -0
  1140. package/esm/numpad/__figma__/Numpad.figma.js +63 -0
  1141. package/esm/numpad/__stories__/Numpad.stories.js +230 -0
  1142. package/esm/overlays/Alert.js +147 -0
  1143. package/esm/overlays/PortalProvider.js +56 -0
  1144. package/esm/overlays/Toast.js +126 -0
  1145. package/esm/overlays/__figma__/Alert.figma.js +32 -0
  1146. package/esm/overlays/__figma__/Toast.figma.js +51 -0
  1147. package/esm/overlays/__stories__/AlertBasic.stories.js +35 -0
  1148. package/esm/overlays/__stories__/AlertLongTitle.stories.js +35 -0
  1149. package/esm/overlays/__stories__/AlertOverModal.stories.js +72 -0
  1150. package/esm/overlays/__stories__/AlertPortal.stories.js +47 -0
  1151. package/esm/overlays/__stories__/AlertSingleAction.stories.js +34 -0
  1152. package/esm/overlays/__stories__/AlertVerticalActions.stories.js +36 -0
  1153. package/esm/overlays/__stories__/DrawerBottom.stories.js +15 -0
  1154. package/esm/overlays/__stories__/DrawerFallback.stories.js +92 -0
  1155. package/esm/overlays/__stories__/DrawerLeft.stories.js +15 -0
  1156. package/esm/overlays/__stories__/DrawerMisc.stories.js +52 -0
  1157. package/esm/overlays/__stories__/DrawerRight.stories.js +15 -0
  1158. package/esm/overlays/__stories__/DrawerScrollable.stories.js +82 -0
  1159. package/esm/overlays/__stories__/DrawerTop.stories.js +15 -0
  1160. package/esm/overlays/__stories__/Drawers.js +138 -0
  1161. package/esm/overlays/__stories__/ModalBackButton.stories.js +47 -0
  1162. package/esm/overlays/__stories__/ModalBasic.stories.js +46 -0
  1163. package/esm/overlays/__stories__/ModalLong.stories.js +54 -0
  1164. package/esm/overlays/__stories__/ModalPortal.stories.js +50 -0
  1165. package/esm/overlays/__stories__/Overlay.stories.js +48 -0
  1166. package/esm/overlays/__stories__/Toast.stories.js +69 -0
  1167. package/esm/overlays/__stories__/TooltipV2.stories.js +297 -0
  1168. package/esm/overlays/__stories__/TrayAction.stories.js +195 -0
  1169. package/esm/overlays/__stories__/TrayBasic.stories.js +13 -0
  1170. package/esm/overlays/__stories__/TrayFallback.stories.js +16 -0
  1171. package/esm/overlays/__stories__/TrayFeedCard.stories.js +57 -0
  1172. package/esm/overlays/__stories__/TrayInformational.stories.js +158 -0
  1173. package/esm/overlays/__stories__/TrayMessaging.stories.js +74 -0
  1174. package/esm/overlays/__stories__/TrayMisc.stories.js +187 -0
  1175. package/esm/overlays/__stories__/TrayNavigation.stories.js +73 -0
  1176. package/esm/overlays/__stories__/TrayPromotional.stories.js +74 -0
  1177. package/esm/overlays/__stories__/TrayScrollable.stories.js +15 -0
  1178. package/esm/overlays/__stories__/TrayTall.stories.js +16 -0
  1179. package/esm/overlays/__stories__/TrayWithTitle.stories.js +15 -0
  1180. package/esm/overlays/__stories__/Trays.js +119 -0
  1181. package/esm/overlays/drawer/Drawer.js +183 -0
  1182. package/esm/overlays/drawer/DrawerStatusBar.js +21 -0
  1183. package/esm/overlays/drawer/useDrawerAnimation.js +76 -0
  1184. package/esm/overlays/drawer/useDrawerPanResponder.js +181 -0
  1185. package/esm/overlays/drawer/useDrawerSpacing.js +40 -0
  1186. package/esm/overlays/handlebar/HandleBar.js +40 -0
  1187. package/esm/overlays/index.js +11 -0
  1188. package/esm/overlays/modal/Modal.js +100 -0
  1189. package/esm/overlays/modal/ModalBody.js +48 -0
  1190. package/esm/overlays/modal/ModalFooter.js +39 -0
  1191. package/esm/overlays/modal/ModalHeader.js +63 -0
  1192. package/esm/overlays/modal/__figma__/Modal.figma.js +74 -0
  1193. package/esm/overlays/modal/useModalAnimation.js +24 -0
  1194. package/esm/overlays/overlay/Overlay.js +31 -0
  1195. package/esm/overlays/overlay/useOverlayAnimation.js +32 -0
  1196. package/esm/overlays/tooltip/InternalTooltip.js +92 -0
  1197. package/esm/overlays/tooltip/Tooltip.js +107 -0
  1198. package/esm/overlays/tooltip/TooltipProps.js +1 -0
  1199. package/esm/overlays/tooltip/__figma__/Tooltip.figma.js +90 -0
  1200. package/esm/overlays/tooltip/useTooltipAnimation.js +31 -0
  1201. package/esm/overlays/tooltip/useTooltipPosition.js +76 -0
  1202. package/esm/overlays/tray/Tray.js +90 -0
  1203. package/esm/overlays/tray/__figma__/Tray.figma.js +225 -0
  1204. package/esm/overlays/useAlertAnimation.js +16 -0
  1205. package/esm/overlays/useModal.js +6 -0
  1206. package/esm/overlays/usePortal.js +2 -0
  1207. package/esm/overlays/useToast.js +39 -0
  1208. package/esm/overlays/useToastAnimation.js +24 -0
  1209. package/esm/overlays/useToastPanResponder.js +92 -0
  1210. package/esm/page/PageFooter.js +23 -0
  1211. package/esm/page/PageHeader.js +58 -0
  1212. package/esm/page/__figma__/PageFooter.figma.js +18 -0
  1213. package/esm/page/__figma__/PageHeader.figma.js +58 -0
  1214. package/esm/page/__stories__/PageFooter.stories.js +57 -0
  1215. package/esm/page/__stories__/PageFooterInPage.stories.js +82 -0
  1216. package/esm/page/__stories__/PageHeader.stories.js +210 -0
  1217. package/esm/page/__stories__/PageHeaderInErrorEmptyState.stories.js +71 -0
  1218. package/esm/page/__stories__/PageHeaderInPage.stories.js +79 -0
  1219. package/esm/section-header/SectionHeader.js +60 -0
  1220. package/esm/section-header/__figma__/SectionHeader.figma.js +50 -0
  1221. package/esm/section-header/__stories__/SectionHeader.stories.js +133 -0
  1222. package/esm/stepper/DefaultStepperHeaderHorizontal.js +78 -0
  1223. package/esm/stepper/DefaultStepperIconVertical.js +34 -0
  1224. package/esm/stepper/DefaultStepperLabelVertical.js +61 -0
  1225. package/esm/stepper/DefaultStepperProgressHorizontal.js +42 -0
  1226. package/esm/stepper/DefaultStepperProgressVertical.js +87 -0
  1227. package/esm/stepper/DefaultStepperStepHorizontal.js +146 -0
  1228. package/esm/stepper/DefaultStepperStepVertical.js +156 -0
  1229. package/esm/stepper/DefaultStepperSubstepContainerHorizontal.js +20 -0
  1230. package/esm/stepper/DefaultStepperSubstepContainerVertical.js +18 -0
  1231. package/esm/stepper/Stepper.js +220 -0
  1232. package/esm/stepper/__stories__/StepperHorizontal.stories.js +321 -0
  1233. package/esm/stepper/__stories__/StepperVertical.stories.js +575 -0
  1234. package/esm/stepper/index.js +12 -0
  1235. package/esm/sticky-footer/StickyFooter.js +31 -0
  1236. package/esm/sticky-footer/__figma__/StickyFooter.figma.js +25 -0
  1237. package/esm/sticky-footer/__stories__/StickyFooter.stories.js +52 -0
  1238. package/esm/sticky-footer/__stories__/StickyFooterWithTray.stories.js +103 -0
  1239. package/esm/styles/fallbackShimmer.js +4 -0
  1240. package/esm/styles/getBorderStyles.js +60 -0
  1241. package/esm/styles/getFlushStyles.js +18 -0
  1242. package/esm/styles/getInteractableStyles.js +60 -0
  1243. package/esm/styles/pinStyles.js +28 -0
  1244. package/esm/styles/styleProps.js +89 -0
  1245. package/esm/system/AndroidNavigationBar.js +42 -0
  1246. package/esm/system/EventHandlerProvider.js +7 -0
  1247. package/esm/system/Interactable.js +64 -0
  1248. package/esm/system/Pressable.js +255 -0
  1249. package/esm/system/PressableOpacity.js +20 -0
  1250. package/esm/system/StatusBar.js +66 -0
  1251. package/esm/system/ThemeProvider.js +51 -0
  1252. package/esm/system/__figma__/AndroidNavigationBar.figma.js +23 -0
  1253. package/esm/system/__stories__/Frontier.stories.js +100 -0
  1254. package/esm/system/__stories__/Palette.stories.js +100 -0
  1255. package/esm/system/__stories__/PatternDisclosureHighFrictionBenefit.stories.js +95 -0
  1256. package/esm/system/__stories__/PatternDisclosureHighFrictionRisk.stories.js +116 -0
  1257. package/esm/system/__stories__/PatternDisclosureLowFriction.stories.js +100 -0
  1258. package/esm/system/__stories__/PatternDisclosureMedFriction.stories.js +100 -0
  1259. package/esm/system/__stories__/PatternError.stories.js +62 -0
  1260. package/esm/system/__stories__/Pressable.stories.js +175 -0
  1261. package/esm/system/__stories__/PressableOpacity.stories.js +33 -0
  1262. package/esm/system/__stories__/Spectrum.stories.js +38 -0
  1263. package/esm/system/__stories__/ThemeProvider.stories.js +171 -0
  1264. package/esm/system/index.js +7 -0
  1265. package/esm/tabs/SegmentedTab.js +76 -0
  1266. package/esm/tabs/SegmentedTabs.js +28 -0
  1267. package/esm/tabs/SegmentedTabsActiveIndicator.js +15 -0
  1268. package/esm/tabs/TabIndicator.js +46 -0
  1269. package/esm/tabs/TabLabel.js +111 -0
  1270. package/esm/tabs/TabNavigation.js +145 -0
  1271. package/esm/tabs/Tabs.js +143 -0
  1272. package/esm/tabs/__figma__/SegmentedTabs.figma.js +79 -0
  1273. package/esm/tabs/__figma__/TabNavigation.figma.js +83 -0
  1274. package/esm/tabs/__stories__/SegmentedTabs.stories.js +209 -0
  1275. package/esm/tabs/__stories__/TabIndicator.stories.js +34 -0
  1276. package/esm/tabs/__stories__/TabLabel.stories.js +55 -0
  1277. package/esm/tabs/__stories__/TabNavigation.stories.js +148 -0
  1278. package/esm/tabs/__stories__/Tabs.stories.js +79 -0
  1279. package/esm/tabs/hooks/useDotAnimation.js +48 -0
  1280. package/esm/tabs/hooks/useTabIndicatorStyles.js +24 -0
  1281. package/esm/tabs/index.js +5 -0
  1282. package/esm/tag/Tag.js +48 -0
  1283. package/esm/tag/__figma__/Tag.figma.js +78 -0
  1284. package/esm/tag/__stories__/Tag.stories.js +57 -0
  1285. package/esm/themes/coinbaseDenseTheme.js +122 -0
  1286. package/esm/themes/coinbaseHighContrastTheme.js +568 -0
  1287. package/esm/themes/coinbaseTheme.js +568 -0
  1288. package/esm/themes/defaultHighContrastTheme.js +568 -0
  1289. package/esm/themes/defaultTheme.js +568 -0
  1290. package/esm/tour/DefaultTourMask.js +63 -0
  1291. package/esm/tour/DefaultTourStepArrow.js +38 -0
  1292. package/esm/tour/Tour.js +141 -0
  1293. package/esm/tour/TourStep.js +24 -0
  1294. package/esm/tour/__stories__/Tour.stories.js +423 -0
  1295. package/esm/tour/index.js +4 -0
  1296. package/esm/typography/Link.js +46 -0
  1297. package/esm/typography/Text.js +203 -0
  1298. package/esm/typography/TextBody.js +16 -0
  1299. package/esm/typography/TextCaption.js +16 -0
  1300. package/esm/typography/TextDisplay1.js +18 -0
  1301. package/esm/typography/TextDisplay2.js +18 -0
  1302. package/esm/typography/TextDisplay3.js +18 -0
  1303. package/esm/typography/TextHeadline.js +16 -0
  1304. package/esm/typography/TextInherited.js +16 -0
  1305. package/esm/typography/TextLabel1.js +16 -0
  1306. package/esm/typography/TextLabel2.js +16 -0
  1307. package/esm/typography/TextLegal.js +16 -0
  1308. package/esm/typography/TextTitle1.js +18 -0
  1309. package/esm/typography/TextTitle2.js +18 -0
  1310. package/esm/typography/TextTitle3.js +16 -0
  1311. package/esm/typography/TextTitle4.js +16 -0
  1312. package/esm/typography/__figma__/Link.figma.js +28 -0
  1313. package/esm/typography/__stories__/Link.stories.js +295 -0
  1314. package/esm/typography/__stories__/Text.stories.js +93 -0
  1315. package/esm/typography/__stories__/TextBody.stories.js +7 -0
  1316. package/esm/typography/__stories__/TextCaption.stories.js +7 -0
  1317. package/esm/typography/__stories__/TextCore.stories.js +7 -0
  1318. package/esm/typography/__stories__/TextDisplay1.stories.js +7 -0
  1319. package/esm/typography/__stories__/TextDisplay2.stories.js +7 -0
  1320. package/esm/typography/__stories__/TextDisplay3.stories.js +7 -0
  1321. package/esm/typography/__stories__/TextExamples.js +176 -0
  1322. package/esm/typography/__stories__/TextHeadline.stories.js +7 -0
  1323. package/esm/typography/__stories__/TextLabel1.stories.js +7 -0
  1324. package/esm/typography/__stories__/TextLabel2.stories.js +7 -0
  1325. package/esm/typography/__stories__/TextLegal.stories.js +7 -0
  1326. package/esm/typography/__stories__/TextTitle1.stories.js +7 -0
  1327. package/esm/typography/__stories__/TextTitle2.stories.js +7 -0
  1328. package/esm/typography/__stories__/TextTitle3.stories.js +7 -0
  1329. package/esm/typography/__stories__/TextTitle4.stories.js +7 -0
  1330. package/esm/typography/index.js +15 -0
  1331. package/esm/utils/customTabsHelper.js +8 -0
  1332. package/esm/utils/debounce.js +16 -0
  1333. package/esm/utils/flattenAndJoinNodes.js +47 -0
  1334. package/esm/utils/getAdjustedFontScale.js +13 -0
  1335. package/esm/utils/getSpacerStyle.js +27 -0
  1336. package/esm/utils/haptics.js +22 -0
  1337. package/esm/utils/isValidURL.js +4 -0
  1338. package/esm/utils/openWebBrowser.js +61 -0
  1339. package/esm/utils/testHelpers.js +31 -0
  1340. package/esm/visualizations/Counter.js +45 -0
  1341. package/esm/visualizations/DefaultProgressCircleContent.js +21 -0
  1342. package/esm/visualizations/ProgressBar.js +105 -0
  1343. package/esm/visualizations/ProgressBarWithFixedLabels.js +146 -0
  1344. package/esm/visualizations/ProgressBarWithFloatLabel.js +106 -0
  1345. package/esm/visualizations/ProgressCircle.js +162 -0
  1346. package/esm/visualizations/ProgressContainerWithButtons.js +39 -0
  1347. package/esm/visualizations/ProgressIndicator.js +58 -0
  1348. package/esm/visualizations/ProgressTextLabel.js +50 -0
  1349. package/esm/visualizations/VisualizationContainer.js +31 -0
  1350. package/esm/visualizations/__figma__/ProgressBar.figma.js +99 -0
  1351. package/esm/visualizations/__figma__/ProgressCircle.figma.js +26 -0
  1352. package/esm/visualizations/__stories__/ProgressBar.stories.js +478 -0
  1353. package/esm/visualizations/__stories__/ProgressCircle.stories.js +432 -0
  1354. package/esm/visualizations/getProgressBarLabelParts.js +11 -0
  1355. package/esm/visualizations/index.js +6 -0
  1356. package/package.json +187 -6
  1357. package/index.js +0 -1
@@ -0,0 +1,2 @@
1
+ import { getIllustrationSheet } from './getIllustrationSheet';
2
+ export default getIllustrationSheet('heroSquare');
@@ -0,0 +1,2 @@
1
+ import { getIllustrationSheet } from './getIllustrationSheet';
2
+ export default getIllustrationSheet('pictogram');
@@ -0,0 +1,2 @@
1
+ import { getIllustrationSheet } from './getIllustrationSheet';
2
+ export default getIllustrationSheet('spotIcon');
@@ -0,0 +1,2 @@
1
+ import { getIllustrationSheet } from './getIllustrationSheet';
2
+ export default getIllustrationSheet('spotRectangle');
@@ -0,0 +1,2 @@
1
+ import { getIllustrationSheet } from './getIllustrationSheet';
2
+ export default getIllustrationSheet('spotSquare');
@@ -0,0 +1,164 @@
1
+ import React, { memo, useCallback } from 'react';
2
+ import { Dimensions, FlatList } from 'react-native';
3
+ import { illustrationDimensions, illustrationSizes } from '@coinbase/cds-common/tokens/illustrations';
4
+ import heroSquareVersionMap from '@coinbase/cds-illustrations/__generated__/heroSquare/data/versionMap';
5
+ import pictogramVersionMap from '@coinbase/cds-illustrations/__generated__/pictogram/data/versionMap';
6
+ import spotIconVersionMap from '@coinbase/cds-illustrations/__generated__/spotIcon/data/versionMap';
7
+ import spotRectangleVersionMap from '@coinbase/cds-illustrations/__generated__/spotRectangle/data/versionMap';
8
+ import spotSquareVersionMap from '@coinbase/cds-illustrations/__generated__/spotSquare/data/versionMap';
9
+ import { Divider, VStack } from '../../layout';
10
+ import { ThemeProvider } from '../../system/ThemeProvider';
11
+ import { defaultTheme } from '../../themes/defaultTheme';
12
+ import { Text } from '../../typography/Text';
13
+ import { HeroSquare, Pictogram, SpotIcon, SpotRectangle, SpotSquare } from '../index';
14
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
15
+ function keys(obj) {
16
+ return Object.keys(obj);
17
+ }
18
+ const images = {
19
+ heroSquare: keys(heroSquareVersionMap),
20
+ pictogram: keys(pictogramVersionMap),
21
+ spotRectangle: keys(spotRectangleVersionMap),
22
+ spotSquare: keys(spotSquareVersionMap),
23
+ spotIcon: keys(spotIconVersionMap)
24
+ };
25
+ export function getIllustrationSheet(type) {
26
+ /** Constants */
27
+ const FLAT_LIST_STYLE = {
28
+ width: '100%'
29
+ };
30
+ const FLAT_LIST_CONTAINER_STYLE = {
31
+ marginLeft: 24,
32
+ paddingBottom: 24,
33
+ alignContent: 'flex-start'
34
+ };
35
+ const SCREEN_WIDTH = Dimensions.get('window').width - FLAT_LIST_CONTAINER_STYLE.marginLeft * 2;
36
+ const SIZES = {
37
+ pictogram: {
38
+ height: illustrationSizes[illustrationDimensions.pictogram[0]][1],
39
+ width: illustrationSizes[illustrationDimensions.pictogram[0]][0],
40
+ scaleMultiplier: 1
41
+ },
42
+ spotSquare: {
43
+ height: illustrationSizes[illustrationDimensions.spotSquare[0]][1],
44
+ width: illustrationSizes[illustrationDimensions.spotSquare[0]][0],
45
+ scaleMultiplier: 0.4
46
+ },
47
+ spotRectangle: {
48
+ height: illustrationSizes[illustrationDimensions.spotRectangle[0]][1],
49
+ width: illustrationSizes[illustrationDimensions.spotRectangle[0]][0],
50
+ scaleMultiplier: 0.3
51
+ },
52
+ heroSquare: {
53
+ height: illustrationSizes[illustrationDimensions.heroSquare[0]][1],
54
+ width: illustrationSizes[illustrationDimensions.heroSquare[0]][0],
55
+ scaleMultiplier: 0.24
56
+ },
57
+ spotIcon: {
58
+ height: illustrationSizes[illustrationDimensions.spotIcon[0]][1],
59
+ width: illustrationSizes[illustrationDimensions.spotIcon[0]][0],
60
+ scaleMultiplier: 1
61
+ }
62
+ };
63
+ const ITEM_COLUMNS = Math.floor(SCREEN_WIDTH / (SIZES[type].width * SIZES[type].scaleMultiplier));
64
+ const names = images[type];
65
+ const data = [];
66
+ names.forEach(name => {
67
+ data.push({
68
+ name,
69
+ colorScheme: 'light'
70
+ });
71
+ data.push({
72
+ name,
73
+ colorScheme: 'dark'
74
+ });
75
+ });
76
+ const ListFooterComponent = /*#__PURE__*/memo(function ListFooterComponent() {
77
+ // TODO: pull from ui-mobile-playground/helpers/constants via scrollViewEnd constant
78
+ return /*#__PURE__*/_jsx(Divider, {
79
+ testID: "mobile-playground-scrollview-end"
80
+ });
81
+ });
82
+ const renderItem = _ref => {
83
+ let {
84
+ item
85
+ } = _ref;
86
+ const dim = SIZES[type].width + "x" + SIZES[type].height;
87
+ return /*#__PURE__*/_jsx(ThemeProvider, {
88
+ activeColorScheme: item.colorScheme,
89
+ theme: defaultTheme,
90
+ children: /*#__PURE__*/_jsxs(VStack, {
91
+ background: "bg",
92
+ overflow: "hidden",
93
+ width: SIZES[type].width * SIZES[type].scaleMultiplier,
94
+ children: [type === 'heroSquare' &&
95
+ /*#__PURE__*/
96
+ // render a 48x48 thumbnail
97
+ _jsx(HeroSquare, {
98
+ dimension: dim,
99
+ name: item.name,
100
+ scaleMultiplier: SIZES.heroSquare.scaleMultiplier
101
+ }), type === 'spotSquare' &&
102
+ /*#__PURE__*/
103
+ // render a 48x48 thumbnail
104
+ _jsx(SpotSquare, {
105
+ name: item.name,
106
+ scaleMultiplier: SIZES.spotSquare.scaleMultiplier
107
+ }), type === 'spotRectangle' &&
108
+ /*#__PURE__*/
109
+ // render a 72x36 thumbnail
110
+ _jsx(SpotRectangle, {
111
+ name: item.name,
112
+ scaleMultiplier: SIZES.spotRectangle.scaleMultiplier
113
+ }), type === 'pictogram' && /*#__PURE__*/_jsx(Pictogram, {
114
+ dimension: dim,
115
+ name: item.name,
116
+ scaleMultiplier: SIZES.pictogram.scaleMultiplier
117
+ }), type === 'spotIcon' && /*#__PURE__*/_jsx(SpotIcon, {
118
+ dimension: dim,
119
+ name: item.name,
120
+ scaleMultiplier: SIZES.spotIcon.scaleMultiplier
121
+ }), /*#__PURE__*/_jsx(Text, {
122
+ ellipsize: "tail",
123
+ font: "legal",
124
+ children: item.name
125
+ })]
126
+ })
127
+ });
128
+ };
129
+ const IllustrationSheet = /*#__PURE__*/memo(function IllustrationSheet() {
130
+ const getItemLayout = useCallback(function getItemLayout(_data, index) {
131
+ return {
132
+ length: SIZES[type].height * SIZES[type].scaleMultiplier,
133
+ offset: SIZES[type].height * SIZES[type].scaleMultiplier * index,
134
+ index
135
+ };
136
+ }, []);
137
+ const keyExtractor = useCallback(function keyExtractor(item) {
138
+ return type + "-" + item.name + "-" + item.colorScheme;
139
+ }, []);
140
+ return /*#__PURE__*/_jsx(VStack
141
+ // TODO: pull from ui-mobile-playground/helpers/constants via screen constant
142
+ , {
143
+ alignItems: "center",
144
+ background: "bg",
145
+ flexGrow: 1,
146
+ justifyContent: "center",
147
+ testID: "mobile-playground-screen",
148
+ children: /*#__PURE__*/_jsx(FlatList, {
149
+ ListFooterComponent: ListFooterComponent,
150
+ contentContainerStyle: FLAT_LIST_CONTAINER_STYLE,
151
+ data: data,
152
+ getItemLayout: getItemLayout,
153
+ keyExtractor: keyExtractor,
154
+ numColumns: ITEM_COLUMNS,
155
+ renderItem: renderItem,
156
+ style: FLAT_LIST_STYLE
157
+ // TODO: pull from ui-mobile-playground/helpers/constants via scrollView constant
158
+ ,
159
+ testID: "mobile-playground-scrollview"
160
+ })
161
+ });
162
+ });
163
+ return IllustrationSheet;
164
+ }
@@ -0,0 +1,55 @@
1
+ import React, { memo, useMemo } from 'react';
2
+ import { SvgXml } from 'react-native-svg';
3
+ import { convertDimensionToSize } from '@coinbase/cds-common/utils/convertDimensionToSize';
4
+ import { convertSizeWithMultiplier } from '@coinbase/cds-common/utils/convertSizeWithMultiplier';
5
+ import { getDefaultSizeObjectForIllustration } from '@coinbase/cds-common/utils/getDefaultSizeObjectForIllustration';
6
+ import { isDevelopment } from '@coinbase/cds-utils';
7
+ import { useTheme } from '../hooks/useTheme';
8
+ import { jsx as _jsx } from "react/jsx-runtime";
9
+ export function createIllustration(variant, config) {
10
+ const defaultSize = getDefaultSizeObjectForIllustration(variant);
11
+ const Illustration = /*#__PURE__*/memo(function Illustration(_ref) {
12
+ var _config$name;
13
+ let {
14
+ fallback = null,
15
+ name,
16
+ dimension,
17
+ scaleMultiplier,
18
+ testID,
19
+ accessibilityHint,
20
+ accessibilityLabel
21
+ } = _ref;
22
+ const {
23
+ activeColorScheme
24
+ } = useTheme();
25
+ const requireFn = (_config$name = config[name]) == null ? void 0 : _config$name[activeColorScheme];
26
+ const xml = useMemo(() => requireFn == null ? void 0 : requireFn(), [requireFn]);
27
+ const style = useMemo(() => {
28
+ let size = defaultSize;
29
+ if (dimension) {
30
+ size = convertDimensionToSize(dimension);
31
+ }
32
+ if (scaleMultiplier) {
33
+ size = convertSizeWithMultiplier(size, scaleMultiplier);
34
+ }
35
+ return size;
36
+ }, [dimension, scaleMultiplier]);
37
+ if (!xml) {
38
+ if (isDevelopment()) {
39
+ console.error("Unable to find illustration with name: " + name);
40
+ }
41
+ return fallback;
42
+ }
43
+ return /*#__PURE__*/_jsx(SvgXml, {
44
+ accessibilityHint: accessibilityHint,
45
+ accessibilityLabel: accessibilityLabel,
46
+ accessibilityRole: "image",
47
+ accessible: !!accessibilityLabel,
48
+ style: style,
49
+ testID: testID,
50
+ xml: xml
51
+ });
52
+ });
53
+ Illustration.displayName = "Illustration";
54
+ return Illustration;
55
+ }
@@ -0,0 +1,5 @@
1
+ export * from './HeroSquare';
2
+ export * from './Pictogram';
3
+ export * from './SpotIcon';
4
+ export * from './SpotRectangle';
5
+ export * from './SpotSquare';
package/esm/index.js ADDED
@@ -0,0 +1,3 @@
1
+ export * from './core/theme';
2
+ export * from './hooks/useTheme';
3
+ export * from './system/ThemeProvider';
package/esm/jest.d.js ADDED
@@ -0,0 +1,3 @@
1
+ /// <reference types='react-native-gesture-handler/jestSetup' />
2
+ /// <reference types='react-native-accessibility-engine' />
3
+ /// <reference types='@testing-library/jest-native/extend-expect' />
@@ -0,0 +1,250 @@
1
+ const _excluded = ["children", "style", "animated", "testID", "pin", "bordered", "borderedTop", "borderedBottom", "borderedStart", "borderedEnd", "borderedHorizontal", "borderedVertical", "dangerouslySetBackground", "display", "position", "overflow", "zIndex", "gap", "columnGap", "rowGap", "justifyContent", "alignContent", "alignItems", "alignSelf", "flexDirection", "flexWrap", "color", "background", "borderColor", "borderTopLeftRadius", "borderTopRightRadius", "borderBottomLeftRadius", "borderBottomRightRadius", "borderTopWidth", "borderEndWidth", "borderBottomWidth", "borderStartWidth", "elevation", "borderWidth", "borderRadius", "font", "fontFamily", "fontSize", "fontWeight", "lineHeight", "textAlign", "textDecorationStyle", "textDecorationLine", "textTransform", "padding", "paddingX", "paddingY", "paddingTop", "paddingBottom", "paddingStart", "paddingEnd", "margin", "marginX", "marginY", "marginTop", "marginBottom", "marginStart", "marginEnd", "userSelect", "width", "height", "minWidth", "minHeight", "maxWidth", "maxHeight", "aspectRatio", "top", "bottom", "left", "right", "transform", "flexBasis", "flexShrink", "flexGrow", "opacity"];
2
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
3
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
4
+ import React, { forwardRef, memo, useMemo } from 'react';
5
+ import { Animated, View } from 'react-native';
6
+ import { useTheme } from '../hooks/useTheme';
7
+ import { pinStyles } from '../styles/pinStyles';
8
+ import { getStyles } from '../styles/styleProps';
9
+ import { jsx as _jsx } from "react/jsx-runtime";
10
+ export const getElevationStyles = (elevation, theme, background) => {
11
+ const elevationStyles = {
12
+ 0: {},
13
+ 1: _extends({
14
+ elevation: 2
15
+ }, background === undefined ? {
16
+ backgroundColor: theme.color.bgElevation1
17
+ } : {}, theme.shadow.elevation1),
18
+ 2: _extends({
19
+ elevation: 8
20
+ }, background === undefined ? {
21
+ backgroundColor: theme.color.bgElevation2
22
+ } : {}, theme.shadow.elevation2)
23
+ };
24
+ return elevationStyles[elevation];
25
+ };
26
+ const getBorderedStyles = (_ref, theme) => {
27
+ let {
28
+ bordered,
29
+ borderedHorizontal,
30
+ borderedVertical,
31
+ borderedStart,
32
+ borderedEnd,
33
+ borderedTop,
34
+ borderedBottom
35
+ } = _ref;
36
+ const borderStyles = {
37
+ bordered: {
38
+ borderWidth: theme.borderWidth[100],
39
+ borderStyle: 'solid',
40
+ borderColor: theme.color.bgLine
41
+ },
42
+ borderedHorizontal: {
43
+ borderStartWidth: theme.borderWidth[100],
44
+ borderEndWidth: theme.borderWidth[100],
45
+ borderStyle: 'solid',
46
+ borderColor: theme.color.bgLine
47
+ },
48
+ borderedVertical: {
49
+ borderTopWidth: theme.borderWidth[100],
50
+ borderBottomWidth: theme.borderWidth[100],
51
+ borderStyle: 'solid',
52
+ borderColor: theme.color.bgLine
53
+ },
54
+ borderedStart: {
55
+ borderStartWidth: theme.borderWidth[100],
56
+ borderStyle: 'solid',
57
+ borderColor: theme.color.bgLine
58
+ },
59
+ borderedEnd: {
60
+ borderEndWidth: theme.borderWidth[100],
61
+ borderStyle: 'solid',
62
+ borderColor: theme.color.bgLine
63
+ },
64
+ borderedTop: {
65
+ borderTopWidth: theme.borderWidth[100],
66
+ borderStyle: 'solid',
67
+ borderColor: theme.color.bgLine
68
+ },
69
+ borderedBottom: {
70
+ borderBottomWidth: theme.borderWidth[100],
71
+ borderStyle: 'solid',
72
+ borderColor: theme.color.bgLine
73
+ }
74
+ };
75
+ return [bordered && borderStyles.bordered, borderedHorizontal && borderStyles.borderedHorizontal, borderedVertical && borderStyles.borderedVertical, borderedStart && borderStyles.borderedStart, borderedEnd && borderStyles.borderedEnd, borderedTop && borderStyles.borderedTop, borderedBottom && borderStyles.borderedBottom];
76
+ };
77
+ export const Box = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref2, ref) => {
78
+ let {
79
+ children,
80
+ style,
81
+ animated,
82
+ testID,
83
+ pin,
84
+ bordered,
85
+ borderedTop,
86
+ borderedBottom,
87
+ borderedStart,
88
+ borderedEnd,
89
+ borderedHorizontal,
90
+ borderedVertical,
91
+ dangerouslySetBackground,
92
+ // Begin style props
93
+ display,
94
+ position,
95
+ overflow,
96
+ zIndex,
97
+ gap,
98
+ columnGap,
99
+ rowGap,
100
+ justifyContent,
101
+ alignContent,
102
+ alignItems,
103
+ alignSelf,
104
+ flexDirection,
105
+ flexWrap,
106
+ color,
107
+ background,
108
+ borderColor,
109
+ borderTopLeftRadius,
110
+ borderTopRightRadius,
111
+ borderBottomLeftRadius,
112
+ borderBottomRightRadius,
113
+ borderTopWidth,
114
+ borderEndWidth,
115
+ borderBottomWidth,
116
+ borderStartWidth,
117
+ elevation,
118
+ borderWidth,
119
+ borderRadius,
120
+ font,
121
+ fontFamily = font,
122
+ fontSize = font,
123
+ fontWeight = font,
124
+ lineHeight = font,
125
+ textAlign,
126
+ textDecorationStyle,
127
+ textDecorationLine,
128
+ textTransform,
129
+ padding,
130
+ paddingX,
131
+ paddingY,
132
+ paddingTop,
133
+ paddingBottom,
134
+ paddingStart,
135
+ paddingEnd,
136
+ margin,
137
+ marginX,
138
+ marginY,
139
+ marginTop,
140
+ marginBottom,
141
+ marginStart,
142
+ marginEnd,
143
+ userSelect,
144
+ width,
145
+ height,
146
+ minWidth,
147
+ minHeight,
148
+ maxWidth,
149
+ maxHeight,
150
+ aspectRatio,
151
+ top,
152
+ bottom,
153
+ left,
154
+ right,
155
+ transform,
156
+ flexBasis,
157
+ flexShrink,
158
+ flexGrow,
159
+ opacity
160
+ } = _ref2,
161
+ props = _objectWithoutPropertiesLoose(_ref2, _excluded);
162
+ const Component = animated ? Animated.View : View;
163
+ const theme = useTheme();
164
+ const styles = useMemo(() => [getBorderedStyles({
165
+ bordered,
166
+ borderedHorizontal,
167
+ borderedVertical,
168
+ borderedStart,
169
+ borderedEnd,
170
+ borderedTop,
171
+ borderedBottom
172
+ }, theme), getStyles({
173
+ display,
174
+ position,
175
+ overflow,
176
+ zIndex,
177
+ gap,
178
+ columnGap,
179
+ rowGap,
180
+ justifyContent,
181
+ alignContent,
182
+ alignItems,
183
+ alignSelf,
184
+ flexDirection,
185
+ flexWrap,
186
+ color,
187
+ background,
188
+ borderColor,
189
+ borderWidth,
190
+ borderRadius,
191
+ borderTopLeftRadius,
192
+ borderTopRightRadius,
193
+ borderBottomLeftRadius,
194
+ borderBottomRightRadius,
195
+ borderTopWidth,
196
+ borderEndWidth,
197
+ borderBottomWidth,
198
+ borderStartWidth,
199
+ elevation,
200
+ fontFamily,
201
+ fontSize,
202
+ fontWeight,
203
+ lineHeight,
204
+ textAlign,
205
+ textDecorationStyle,
206
+ textDecorationLine,
207
+ textTransform,
208
+ padding,
209
+ paddingX,
210
+ paddingY,
211
+ paddingTop,
212
+ paddingBottom,
213
+ paddingStart,
214
+ paddingEnd,
215
+ margin,
216
+ marginX,
217
+ marginY,
218
+ marginTop,
219
+ marginBottom,
220
+ marginStart,
221
+ marginEnd,
222
+ userSelect,
223
+ width,
224
+ height,
225
+ minWidth,
226
+ minHeight,
227
+ maxWidth,
228
+ maxHeight,
229
+ aspectRatio,
230
+ top,
231
+ bottom,
232
+ left,
233
+ right,
234
+ transform,
235
+ flexBasis,
236
+ flexShrink,
237
+ flexGrow,
238
+ opacity
239
+ }, theme), elevation ? getElevationStyles(elevation, theme, background) : undefined, pin && pinStyles[pin], dangerouslySetBackground ? {
240
+ backgroundColor: dangerouslySetBackground
241
+ } : undefined, style], [display, position, overflow, zIndex, gap, columnGap, rowGap, justifyContent, alignContent, alignItems, alignSelf, flexDirection, flexWrap, color, background, borderColor, borderWidth, borderRadius, borderTopLeftRadius, borderTopRightRadius, borderBottomLeftRadius, borderBottomRightRadius, borderTopWidth, borderEndWidth, borderBottomWidth, borderStartWidth, elevation, fontFamily, fontSize, fontWeight, lineHeight, textAlign, textDecorationStyle, textDecorationLine, textTransform, padding, paddingX, paddingY, paddingTop, paddingBottom, paddingStart, paddingEnd, margin, marginX, marginY, marginTop, marginBottom, marginStart, marginEnd, userSelect, width, height, minWidth, minHeight, maxWidth, maxHeight, aspectRatio, top, bottom, left, right, transform, flexBasis, flexShrink, flexGrow, opacity, dangerouslySetBackground, pin, bordered, borderedHorizontal, borderedVertical, borderedStart, borderedEnd, borderedTop, borderedBottom, theme, style]);
242
+ return /*#__PURE__*/_jsx(Component, _extends({
243
+ ref: ref,
244
+ style: styles,
245
+ testID: testID
246
+ }, props, {
247
+ children: children
248
+ }));
249
+ }));
250
+ Box.displayName = 'Box';
@@ -0,0 +1,37 @@
1
+ const _excluded = ["color", "direction"];
2
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
4
+ import React, { memo, useMemo } from 'react';
5
+ import { StyleSheet, View } from 'react-native';
6
+ import { useTheme } from '../hooks/useTheme';
7
+ import { Box } from './Box';
8
+ import { jsx as _jsx } from "react/jsx-runtime";
9
+ export const Divider = /*#__PURE__*/memo(function Divider(_ref) {
10
+ let {
11
+ color = 'bgLine',
12
+ direction = 'horizontal'
13
+ } = _ref,
14
+ boxProps = _objectWithoutPropertiesLoose(_ref, _excluded);
15
+ const theme = useTheme();
16
+ const style = useMemo(() => [styles[direction], {
17
+ backgroundColor: theme.color[color]
18
+ }], [direction, theme.color, color]);
19
+ return /*#__PURE__*/_jsx(Box, _extends({
20
+ alignItems: "stretch",
21
+ alignSelf: "stretch"
22
+ }, boxProps, {
23
+ children: /*#__PURE__*/_jsx(View, {
24
+ style: style
25
+ })
26
+ }));
27
+ });
28
+ const styles = StyleSheet.create({
29
+ horizontal: {
30
+ height: 1,
31
+ flexGrow: 1
32
+ },
33
+ vertical: {
34
+ width: 1,
35
+ flexGrow: 1
36
+ }
37
+ });
@@ -0,0 +1,98 @@
1
+ const _excluded = ["height", "shape", "width", "disableRandomRectWidth", "rectWidthVariant"];
2
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
4
+ // Simplified version of https://github.com/tomzaku/react-native-shimmer-placeholder/blob/master/lib/ShimmerPlaceholder.js
5
+ import React, { memo, useEffect, useMemo, useRef } from 'react';
6
+ import { Animated, StyleSheet, View } from 'react-native';
7
+ import { useFallbackShape } from '@coinbase/cds-common/hooks/useFallbackShape';
8
+ import { LinearGradient } from '../gradients/LinearGradient';
9
+ import { useTheme } from '../hooks/useTheme';
10
+ import { fallbackShimmer } from '../styles/fallbackShimmer';
11
+ import { Box } from './Box';
12
+ import { jsx as _jsx } from "react/jsx-runtime";
13
+ export const Fallback = /*#__PURE__*/memo(function Fallback(_ref) {
14
+ let {
15
+ height,
16
+ shape = 'rectangle',
17
+ width: baseWidth,
18
+ disableRandomRectWidth,
19
+ rectWidthVariant
20
+ } = _ref,
21
+ props = _objectWithoutPropertiesLoose(_ref, _excluded);
22
+ const fallbackShapeOptions = useMemo(() => ({
23
+ disableRandomRectWidth,
24
+ rectWidthVariant
25
+ }), [disableRandomRectWidth, rectWidthVariant]);
26
+ const {
27
+ width,
28
+ borderRadius
29
+ } = useFallbackShape(shape, baseWidth, fallbackShapeOptions);
30
+ const {
31
+ activeColorScheme
32
+ } = useTheme();
33
+ const shimmerColor = fallbackShimmer[activeColorScheme];
34
+ const shimmerPosition = useRef(new Animated.Value(-1));
35
+ useEffect(() => {
36
+ const shimmerAnimation = Animated.loop(Animated.timing(shimmerPosition.current, {
37
+ toValue: 1,
38
+ duration: 1300,
39
+ useNativeDriver: true,
40
+ // Disable interaction otherwise all `InteractionManager` listeners
41
+ // will hang indefinitely since Fallbacks will be rendered offscreen.
42
+ isInteraction: false
43
+ }), {
44
+ iterations: 10
45
+ });
46
+ const animateShimmer = () => {
47
+ shimmerAnimation.start();
48
+ };
49
+ animateShimmer();
50
+ return () => shimmerAnimation.stop();
51
+ }, []);
52
+ const containerStyle = useMemo(() => ({
53
+ width: width,
54
+ height: height,
55
+ overflow: 'hidden',
56
+ backgroundColor: shimmerColor[0],
57
+ borderRadius
58
+ }), [width, height, shimmerColor, borderRadius]);
59
+ const outputRange = useMemo(() => typeof width === 'number' ? [-width, width] : [-400, 400], [width]);
60
+ return /*#__PURE__*/_jsx(Box, _extends({
61
+ width: width
62
+ }, props, {
63
+ children: /*#__PURE__*/_jsx(View, {
64
+ style: containerStyle,
65
+ children: /*#__PURE__*/_jsx(Animated.View, {
66
+ style: [styles.child, {
67
+ transform: [{
68
+ translateX: shimmerPosition.current.interpolate({
69
+ inputRange: [-1, 1],
70
+ outputRange
71
+ })
72
+ }]
73
+ }],
74
+ children: /*#__PURE__*/_jsx(LinearGradient, {
75
+ colors: shimmerColor,
76
+ end: gradEnd,
77
+ start: gradStart,
78
+ stops: gradLocations,
79
+ style: styles.child
80
+ })
81
+ })
82
+ })
83
+ }));
84
+ });
85
+ const gradStart = {
86
+ x: -1,
87
+ y: 0.5
88
+ };
89
+ const gradEnd = {
90
+ x: 2,
91
+ y: 0.5
92
+ };
93
+ const gradLocations = [0.3, 0.5, 0.7];
94
+ const styles = StyleSheet.create({
95
+ child: {
96
+ flex: 1
97
+ }
98
+ });
@@ -0,0 +1,40 @@
1
+ const _excluded = ["children", "direction", "divider", "gap", "renderItem"];
2
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
+ function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
4
+ import React, { forwardRef, memo, useMemo } from 'react';
5
+ import { flattenAndJoinNodes } from '../utils/flattenAndJoinNodes';
6
+ import { Box } from './Box';
7
+ import { Spacer } from './Spacer';
8
+ import { jsx as _jsx } from "react/jsx-runtime";
9
+ /**
10
+ * @deprecated Use `Box`, `HStack` or `VStack` instead.
11
+ * @danger Make sure to add a `key` prop to each item.
12
+ */
13
+ export const Group = /*#__PURE__*/memo(/*#__PURE__*/forwardRef(function Group(_ref, forwardedRef) {
14
+ let {
15
+ children,
16
+ direction = 'vertical',
17
+ divider,
18
+ gap,
19
+ renderItem
20
+ } = _ref,
21
+ boxProps = _objectWithoutPropertiesLoose(_ref, _excluded);
22
+ const contents = useMemo(() => flattenAndJoinNodes({
23
+ children,
24
+ gap,
25
+ divider,
26
+ renderItem,
27
+ direction,
28
+ Spacer,
29
+ ItemWrapper: Box
30
+ }), [children, direction, divider, gap, renderItem]);
31
+ return /*#__PURE__*/_jsx(Box, _extends({
32
+ ref: forwardedRef,
33
+ alignItems: "stretch",
34
+ flexDirection: direction === 'horizontal' ? 'row' : 'column',
35
+ flexWrap: "nowrap"
36
+ }, boxProps, {
37
+ children: contents
38
+ }));
39
+ }));
40
+ Group.displayName = 'Group';