@coinbase/cds-mobile 8.13.1 → 8.13.5

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 (1008) hide show
  1. package/CHANGELOG.md +61 -0
  2. package/dts/accordion/Accordion.d.ts +12 -2
  3. package/dts/accordion/AccordionHeader.d.ts +43 -27
  4. package/dts/accordion/AccordionItem.d.ts +19 -4
  5. package/dts/accordion/AccordionPanel.d.ts +17 -11
  6. package/dts/accordion/__figma__/Accordion.figma.d.ts +1 -1
  7. package/dts/accordion/index.d.ts +1 -1
  8. package/dts/alpha/carousel/Carousel.d.ts +61 -49
  9. package/dts/alpha/carousel/CarouselControlsWrapper.d.ts +2 -2
  10. package/dts/alpha/carousel/CarouselItem.d.ts +26 -26
  11. package/dts/alpha/carousel/types.d.ts +16 -16
  12. package/dts/alpha/carousel/useCarousel.d.ts +2 -2
  13. package/dts/alpha/carousel/useCarouselItem.d.ts +1 -1
  14. package/dts/animation/AnimationProps.d.ts +4 -4
  15. package/dts/animation/Lottie.d.ts +22 -13
  16. package/dts/animation/Lottie.e2e.d.ts +11 -2
  17. package/dts/animation/LottieStatusAnimation.d.ts +7 -2
  18. package/dts/animation/convertMotionConfig.d.ts +15 -8
  19. package/dts/animation/createLottie.d.ts +22 -19
  20. package/dts/animation/createLottie.e2e.d.ts +28 -19
  21. package/dts/animation/index.d.ts +1 -1
  22. package/dts/animation/lottieProgresConfig.d.ts +4 -4
  23. package/dts/animation/mocks.d.ts +38 -20
  24. package/dts/animation/types.d.ts +49 -46
  25. package/dts/animation/useLottie.d.ts +5 -2
  26. package/dts/animation/useLottie.e2e.d.ts +28 -19
  27. package/dts/animation/useLottieColorFilters.d.ts +7 -4
  28. package/dts/animation/useRotateAnimation.d.ts +14 -10
  29. package/dts/banner/Banner.d.ts +102 -92
  30. package/dts/buttons/AvatarButton.d.ts +5 -2
  31. package/dts/buttons/Button.d.ts +87 -71
  32. package/dts/buttons/ButtonGroup.d.ts +9 -4
  33. package/dts/buttons/DefaultSlideButtonBackground.d.ts +18 -11
  34. package/dts/buttons/DefaultSlideButtonHandle.d.ts +63 -39
  35. package/dts/buttons/IconButton.d.ts +5 -3
  36. package/dts/buttons/IconCounterButton.d.ts +33 -24
  37. package/dts/buttons/SlideButton.d.ts +212 -201
  38. package/dts/buttons/__figma__/AvatarButton.figma.d.ts +1 -1
  39. package/dts/buttons/__figma__/Button.figma.d.ts +1 -1
  40. package/dts/buttons/__figma__/ButtonGroup.figma.d.ts +1 -1
  41. package/dts/buttons/__figma__/IconButton.figma.d.ts +1 -1
  42. package/dts/buttons/__figma__/SlideButton.figma.d.ts +1 -1
  43. package/dts/buttons/index.d.ts +1 -1
  44. package/dts/cards/AnnouncementCard.d.ts +1 -1
  45. package/dts/cards/Card.d.ts +8 -3
  46. package/dts/cards/CardBody.d.ts +7 -3
  47. package/dts/cards/CardFooter.d.ts +7 -3
  48. package/dts/cards/CardGroup.d.ts +39 -31
  49. package/dts/cards/CardHeader.d.ts +10 -2
  50. package/dts/cards/CardMedia.d.ts +1 -1
  51. package/dts/cards/CardRemoteImage.d.ts +1 -1
  52. package/dts/cards/ContainedAssetCard.d.ts +37 -22
  53. package/dts/cards/ContentCard/ContentCard.d.ts +25 -18
  54. package/dts/cards/ContentCard/ContentCardBody.d.ts +50 -43
  55. package/dts/cards/ContentCard/ContentCardFooter.d.ts +28 -21
  56. package/dts/cards/ContentCard/ContentCardHeader.d.ts +42 -35
  57. package/dts/cards/ContentCard/__figma__/ContentCard.figma.d.ts +1 -1
  58. package/dts/cards/ContentCard/__figma__/ContentCardBody.figma.d.ts +1 -1
  59. package/dts/cards/ContentCard/__figma__/ContentCardFooter.figma.d.ts +1 -1
  60. package/dts/cards/ContentCard/__figma__/ContentCardHeader.figma.d.ts +1 -1
  61. package/dts/cards/ContentCard/index.d.ts +1 -1
  62. package/dts/cards/DataCard.d.ts +5 -4
  63. package/dts/cards/FeatureEntryCard.d.ts +1 -1
  64. package/dts/cards/FeedCard.d.ts +6 -4
  65. package/dts/cards/FloatingAssetCard.d.ts +29 -19
  66. package/dts/cards/LikeButton.d.ts +7 -3
  67. package/dts/cards/NudgeCard.d.ts +32 -5
  68. package/dts/cards/UpsellCard.d.ts +26 -5
  69. package/dts/cards/__figma__/AnnouncementCard.figma.d.ts +1 -1
  70. package/dts/cards/__figma__/ContainedAssetCard.figma.d.ts +1 -1
  71. package/dts/cards/__figma__/FloatingAssetCard.figma.d.ts +1 -1
  72. package/dts/cards/__figma__/NudgeCard.figma.d.ts +1 -1
  73. package/dts/cards/__figma__/UpsellCard.figma.d.ts +1 -1
  74. package/dts/cards/index.d.ts +1 -1
  75. package/dts/carousel/Carousel.d.ts +213 -204
  76. package/dts/carousel/CarouselItem.d.ts +4 -2
  77. package/dts/carousel/DefaultCarouselNavigation.d.ts +37 -37
  78. package/dts/carousel/DefaultCarouselPagination.d.ts +12 -12
  79. package/dts/carousel/index.d.ts +1 -1
  80. package/dts/cells/Cell.d.ts +21 -4
  81. package/dts/cells/CellAccessory.d.ts +7 -7
  82. package/dts/cells/CellDetail.d.ts +14 -14
  83. package/dts/cells/CellHelperText.d.ts +6 -4
  84. package/dts/cells/CellMedia.d.ts +20 -18
  85. package/dts/cells/ContentCell.d.ts +13 -13
  86. package/dts/cells/ContentCellFallback.d.ts +11 -11
  87. package/dts/cells/ListCell.d.ts +4 -3
  88. package/dts/cells/ListCellFallback.d.ts +19 -17
  89. package/dts/cells/MediaFallback.d.ts +2 -2
  90. package/dts/cells/__figma__/ContentCell.figma.d.ts +1 -1
  91. package/dts/cells/__figma__/ListCell.figma.d.ts +1 -1
  92. package/dts/cells/index.d.ts +1 -1
  93. package/dts/chips/Chip.d.ts +17 -11
  94. package/dts/chips/ChipProps.d.ts +14 -8
  95. package/dts/chips/InputChip.d.ts +10 -5
  96. package/dts/chips/SelectChip.d.ts +19 -8
  97. package/dts/chips/TabbedChips.d.ts +9 -4
  98. package/dts/chips/__figma__/InputChip.figma.d.ts +1 -1
  99. package/dts/chips/__figma__/SelectChip.figma.d.ts +1 -1
  100. package/dts/chips/__figma__/TabbedChips.figma.d.ts +1 -1
  101. package/dts/coachmark/Coachmark.d.ts +62 -53
  102. package/dts/coachmark/__figma__/Coachmark.figma.d.ts +1 -1
  103. package/dts/collapsible/Collapsible.d.ts +37 -31
  104. package/dts/collapsible/index.d.ts +1 -1
  105. package/dts/collapsible/useCollapsibleAnimation.d.ts +17 -12
  106. package/dts/collapsible/useCollapsibleDirection.d.ts +14 -8
  107. package/dts/collapsible/useToggleAnimation.d.ts +4 -4
  108. package/dts/controls/Checkbox.d.ts +16 -13
  109. package/dts/controls/CheckboxCell.d.ts +22 -18
  110. package/dts/controls/CheckboxGroup.d.ts +10 -6
  111. package/dts/controls/Control.d.ts +36 -24
  112. package/dts/controls/ControlGroup.d.ts +19 -9
  113. package/dts/controls/HelperText.d.ts +10 -10
  114. package/dts/controls/InputIcon.d.ts +10 -8
  115. package/dts/controls/InputIconButton.d.ts +6 -6
  116. package/dts/controls/InputLabel.d.ts +1 -1
  117. package/dts/controls/InputStack.d.ts +58 -57
  118. package/dts/controls/Menu.d.ts +8 -2
  119. package/dts/controls/NativeInput.d.ts +57 -40
  120. package/dts/controls/Radio.d.ts +5 -3
  121. package/dts/controls/RadioCell.d.ts +22 -18
  122. package/dts/controls/RadioGroup.d.ts +14 -6
  123. package/dts/controls/SearchInput.d.ts +131 -95
  124. package/dts/controls/Select.d.ts +43 -17
  125. package/dts/controls/SelectContext.d.ts +10 -10
  126. package/dts/controls/SelectOption.d.ts +5 -3
  127. package/dts/controls/Switch.d.ts +4 -2
  128. package/dts/controls/TextInput.d.ts +98 -58
  129. package/dts/controls/__figma__/Checkbox.figma.d.ts +1 -1
  130. package/dts/controls/__figma__/CheckboxCell.figma.d.ts +1 -1
  131. package/dts/controls/__figma__/CheckboxGroup.figma.d.ts +1 -1
  132. package/dts/controls/__figma__/RadioCell.figma.d.ts +1 -1
  133. package/dts/controls/__figma__/RadioGroup.figma.d.ts +1 -1
  134. package/dts/controls/__figma__/SearchInput.figma.d.ts +1 -1
  135. package/dts/controls/__figma__/Select.figma.d.ts +1 -1
  136. package/dts/controls/__figma__/SelectOption.figma.d.ts +1 -1
  137. package/dts/controls/__figma__/Switch.figma.d.ts +1 -1
  138. package/dts/controls/__figma__/TextInput.figma.d.ts +1 -1
  139. package/dts/controls/context.d.ts +4 -2
  140. package/dts/controls/index.d.ts +1 -1
  141. package/dts/controls/useControlMotionProps.d.ts +13 -9
  142. package/dts/controls/useSelect.d.ts +14 -7
  143. package/dts/core/theme.d.ts +85 -85
  144. package/dts/dates/DateInput.d.ts +17 -10
  145. package/dts/dates/DatePicker.d.ts +110 -79
  146. package/dts/dates/__figma__/DatePicker.figma.d.ts +1 -1
  147. package/dts/dots/DotCount.d.ts +43 -21
  148. package/dts/dots/DotStatusColor.d.ts +25 -5
  149. package/dts/dots/DotSymbol.d.ts +40 -6
  150. package/dts/dots/__figma__/DotCount.figma.d.ts +1 -1
  151. package/dts/dots/__figma__/DotStatusColor.figma.d.ts +1 -1
  152. package/dts/dots/__figma__/DotSymbol.figma.d.ts +1 -1
  153. package/dts/dots/dotStyles.d.ts +12 -6
  154. package/dts/dots/index.d.ts +1 -1
  155. package/dts/dots/useDotsLayout.d.ts +1 -1
  156. package/dts/examples/ExampleScreen.d.ts +12 -6
  157. package/dts/gradients/LinearGradient.d.ts +63 -51
  158. package/dts/hooks/useA11y.d.ts +3 -3
  159. package/dts/hooks/useAnimatedTransition.d.ts +5 -2
  160. package/dts/hooks/useAppState.d.ts +7 -2
  161. package/dts/hooks/useCellSpacing.d.ts +225 -42
  162. package/dts/hooks/useCheckboxGroupState.d.ts +1 -1
  163. package/dts/hooks/useContentSize.d.ts +3 -3
  164. package/dts/hooks/useDeviceColorScheme.d.ts +1 -1
  165. package/dts/hooks/useDeviceFontScale.d.ts +1 -1
  166. package/dts/hooks/useDimensions.d.ts +4 -4
  167. package/dts/hooks/useDotPinStyles.d.ts +10 -6
  168. package/dts/hooks/useEventHandler.d.ts +1 -1
  169. package/dts/hooks/useHasNotch.d.ts +1 -1
  170. package/dts/hooks/useHorizontallyScrollingPressables.d.ts +23 -12
  171. package/dts/hooks/useInputBorderAnimation.d.ts +10 -7
  172. package/dts/hooks/useInputBorderStyle.d.ts +16 -11
  173. package/dts/hooks/useLayout.d.ts +1 -1
  174. package/dts/hooks/usePressAnimation.d.ts +7 -5
  175. package/dts/hooks/useSafeBottomPadding.d.ts +1 -1
  176. package/dts/hooks/useScreenReaderStatus.d.ts +1 -1
  177. package/dts/hooks/useScrollOffset.d.ts +5 -5
  178. package/dts/hooks/useScrollTo.d.ts +11 -10
  179. package/dts/hooks/useSelectionCellBorderStyle.d.ts +26 -20
  180. package/dts/hooks/useStatusBarHeight.d.ts +1 -1
  181. package/dts/hooks/useTextAlign.d.ts +8 -6
  182. package/dts/hooks/useTheme.d.ts +1 -1
  183. package/dts/hooks/useWebBrowserOpener.d.ts +5 -2
  184. package/dts/icons/Icon.d.ts +17 -8
  185. package/dts/icons/LogoMark.d.ts +7 -2
  186. package/dts/icons/LogoWordmark.d.ts +6 -2
  187. package/dts/icons/SubBrandLogoMark.d.ts +4 -2
  188. package/dts/icons/SubBrandLogoWordmark.d.ts +4 -2
  189. package/dts/icons/TextIcon.d.ts +13 -10
  190. package/dts/icons/__figma__/Icon.figma.d.ts +1 -1
  191. package/dts/icons/__figma__/LogoMark.figma.d.ts +1 -1
  192. package/dts/icons/__figma__/LogoWordmark.figma.d.ts +1 -1
  193. package/dts/icons/__figma__/SubBrandLogoMark.figma.d.ts +1 -1
  194. package/dts/icons/__figma__/SubBrandLogoWordmark.figma.d.ts +1 -1
  195. package/dts/icons/index.d.ts +1 -1
  196. package/dts/illustrations/HeroSquare.d.ts +12 -5
  197. package/dts/illustrations/Pictogram.d.ts +12 -5
  198. package/dts/illustrations/SpotIcon.d.ts +12 -5
  199. package/dts/illustrations/SpotRectangle.d.ts +12 -5
  200. package/dts/illustrations/SpotSquare.d.ts +12 -5
  201. package/dts/illustrations/__figma__/HeroSquare.figma.d.ts +1 -1
  202. package/dts/illustrations/__figma__/Pictogram.figma.d.ts +1 -1
  203. package/dts/illustrations/__figma__/SpotIcon.figma.d.ts +1 -1
  204. package/dts/illustrations/__figma__/SpotRectangle.figma.d.ts +1 -1
  205. package/dts/illustrations/__figma__/SpotSquare.figma.d.ts +1 -1
  206. package/dts/illustrations/createIllustration.d.ts +60 -35
  207. package/dts/illustrations/index.d.ts +1 -1
  208. package/dts/index.d.ts +1 -1
  209. package/dts/layout/Box.d.ts +65 -56
  210. package/dts/layout/Divider.d.ts +11 -11
  211. package/dts/layout/Fallback.d.ts +14 -14
  212. package/dts/layout/Group.d.ts +83 -75
  213. package/dts/layout/HStack.d.ts +25 -18
  214. package/dts/layout/OverflowGradient.d.ts +3 -3
  215. package/dts/layout/Spacer.d.ts +4 -3
  216. package/dts/layout/VStack.d.ts +25 -18
  217. package/dts/layout/__figma__/Divider.figma.d.ts +1 -1
  218. package/dts/layout/__figma__/Fallback.figma.d.ts +1 -1
  219. package/dts/layout/index.d.ts +1 -1
  220. package/dts/loaders/Spinner.d.ts +1 -1
  221. package/dts/loaders/index.d.ts +1 -1
  222. package/dts/media/Avatar.d.ts +30 -7
  223. package/dts/media/Carousel/Carousel.d.ts +25 -18
  224. package/dts/media/Carousel/CarouselItem.d.ts +9 -9
  225. package/dts/media/Carousel/CarouselItemContext.d.ts +4 -2
  226. package/dts/media/Carousel/index.d.ts +1 -1
  227. package/dts/media/Carousel/types.d.ts +13 -13
  228. package/dts/media/Carousel/useCarousel.d.ts +2 -2
  229. package/dts/media/Carousel/useCarouselItem.d.ts +1 -1
  230. package/dts/media/Carousel/useDismissCarouselItem.d.ts +11 -8
  231. package/dts/media/RemoteImage.d.ts +65 -47
  232. package/dts/media/RemoteImageFallbackXmls/dark.d.ts +1 -1
  233. package/dts/media/RemoteImageFallbackXmls/light.d.ts +1 -1
  234. package/dts/media/RemoteImageGroup.d.ts +18 -5
  235. package/dts/media/__figma__/Avatar.figma.d.ts +1 -1
  236. package/dts/media/index.d.ts +1 -1
  237. package/dts/motion/AnimatedCaret.d.ts +8 -8
  238. package/dts/motion/ColorSurge.d.ts +18 -14
  239. package/dts/motion/Pulse.d.ts +45 -41
  240. package/dts/motion/Shake.d.ts +10 -6
  241. package/dts/motion/convertMotionConfig.d.ts +43 -36
  242. package/dts/motion/types.d.ts +6 -6
  243. package/dts/motion/withMotionTiming.d.ts +5 -2
  244. package/dts/multi-content-module/MultiContentModule.d.ts +26 -21
  245. package/dts/multi-content-module/__figma__/MultiContentModule.figma.d.ts +1 -1
  246. package/dts/navigation/BrowserBar.d.ts +27 -14
  247. package/dts/navigation/BrowserBarSearchInput.d.ts +15 -7
  248. package/dts/navigation/NavBarIconButton.d.ts +18 -4
  249. package/dts/navigation/NavigationSubtitle.d.ts +8 -3
  250. package/dts/navigation/NavigationTitle.d.ts +8 -2
  251. package/dts/navigation/NavigationTitleSelect.d.ts +18 -8
  252. package/dts/navigation/TopNavBar.d.ts +87 -54
  253. package/dts/navigation/__figma__/BrowserBar.figma.d.ts +1 -1
  254. package/dts/navigation/__figma__/TopNavBar.figma.d.ts +1 -1
  255. package/dts/navigation/index.d.ts +1 -1
  256. package/dts/numbers/RollingNumber/DefaultRollingNumberAffixSection.d.ts +1 -1
  257. package/dts/numbers/RollingNumber/DefaultRollingNumberDigit.d.ts +1 -1
  258. package/dts/numbers/RollingNumber/DefaultRollingNumberMask.d.ts +1 -1
  259. package/dts/numbers/RollingNumber/DefaultRollingNumberSymbol.d.ts +1 -1
  260. package/dts/numbers/RollingNumber/DefaultRollingNumberValueSection.d.ts +1 -1
  261. package/dts/numbers/RollingNumber/RollingNumber.d.ts +353 -320
  262. package/dts/numbers/RollingNumber/index.d.ts +1 -1
  263. package/dts/numbers/RollingNumber/useColorPulse.d.ts +17 -9
  264. package/dts/numbers/index.d.ts +1 -1
  265. package/dts/numpad/Numpad.d.ts +65 -56
  266. package/dts/numpad/__figma__/Numpad.figma.d.ts +1 -1
  267. package/dts/overlays/Alert.d.ts +57 -44
  268. package/dts/overlays/PortalProvider.d.ts +11 -9
  269. package/dts/overlays/Toast.d.ts +36 -24
  270. package/dts/overlays/__figma__/Alert.figma.d.ts +1 -1
  271. package/dts/overlays/__figma__/Toast.figma.d.ts +1 -1
  272. package/dts/overlays/drawer/Drawer.d.ts +60 -54
  273. package/dts/overlays/drawer/DrawerStatusBar.d.ts +3 -3
  274. package/dts/overlays/drawer/useDrawerAnimation.d.ts +21 -15
  275. package/dts/overlays/drawer/useDrawerPanResponder.d.ts +19 -10
  276. package/dts/overlays/drawer/useDrawerSpacing.d.ts +26 -22
  277. package/dts/overlays/handlebar/HandleBar.d.ts +3 -3
  278. package/dts/overlays/index.d.ts +1 -1
  279. package/dts/overlays/modal/Modal.d.ts +26 -16
  280. package/dts/overlays/modal/ModalBody.d.ts +1 -1
  281. package/dts/overlays/modal/ModalFooter.d.ts +22 -10
  282. package/dts/overlays/modal/ModalHeader.d.ts +39 -39
  283. package/dts/overlays/modal/__figma__/Modal.figma.d.ts +1 -1
  284. package/dts/overlays/modal/useModalAnimation.d.ts +7 -3
  285. package/dts/overlays/overlay/Overlay.d.ts +3 -3
  286. package/dts/overlays/overlay/useOverlayAnimation.d.ts +5 -2
  287. package/dts/overlays/tooltip/InternalTooltip.d.ts +1 -1
  288. package/dts/overlays/tooltip/Tooltip.d.ts +20 -2
  289. package/dts/overlays/tooltip/TooltipProps.d.ts +28 -12
  290. package/dts/overlays/tooltip/__figma__/Tooltip.figma.d.ts +1 -1
  291. package/dts/overlays/tooltip/useTooltipAnimation.d.ts +5 -5
  292. package/dts/overlays/tooltip/useTooltipPosition.d.ts +10 -5
  293. package/dts/overlays/tray/Tray.d.ts +33 -27
  294. package/dts/overlays/tray/__figma__/Tray.figma.d.ts +1 -1
  295. package/dts/overlays/useAlertAnimation.d.ts +7 -3
  296. package/dts/overlays/useModal.d.ts +1 -1
  297. package/dts/overlays/usePortal.d.ts +1 -1
  298. package/dts/overlays/useToast.d.ts +4 -4
  299. package/dts/overlays/useToastAnimation.d.ts +7 -3
  300. package/dts/overlays/useToastPanResponder.d.ts +14 -8
  301. package/dts/page/PageFooter.d.ts +37 -28
  302. package/dts/page/PageHeader.d.ts +76 -69
  303. package/dts/page/__figma__/PageFooter.figma.d.ts +1 -1
  304. package/dts/page/__figma__/PageHeader.figma.d.ts +1 -1
  305. package/dts/section-header/SectionHeader.d.ts +17 -10
  306. package/dts/section-header/__figma__/SectionHeader.figma.d.ts +1 -1
  307. package/dts/stepper/DefaultStepperHeaderHorizontal.d.ts +1 -1
  308. package/dts/stepper/DefaultStepperIconVertical.d.ts +1 -1
  309. package/dts/stepper/DefaultStepperLabelVertical.d.ts +2 -2
  310. package/dts/stepper/DefaultStepperProgressHorizontal.d.ts +1 -1
  311. package/dts/stepper/DefaultStepperProgressVertical.d.ts +1 -1
  312. package/dts/stepper/DefaultStepperStepHorizontal.d.ts +1 -1
  313. package/dts/stepper/DefaultStepperStepVertical.d.ts +1 -1
  314. package/dts/stepper/DefaultStepperSubstepContainerHorizontal.d.ts +1 -1
  315. package/dts/stepper/DefaultStepperSubstepContainerVertical.d.ts +1 -1
  316. package/dts/stepper/Stepper.d.ts +112 -81
  317. package/dts/stepper/index.d.ts +1 -1
  318. package/dts/sticky-footer/StickyFooter.d.ts +35 -29
  319. package/dts/sticky-footer/__figma__/StickyFooter.figma.d.ts +1 -1
  320. package/dts/styles/fallbackShimmer.d.ts +3 -3
  321. package/dts/styles/getBorderStyles.d.ts +39 -26
  322. package/dts/styles/getFlushStyles.d.ts +3 -3
  323. package/dts/styles/getInteractableStyles.d.ts +45 -37
  324. package/dts/styles/pinStyles.d.ts +26 -26
  325. package/dts/styles/styleProps.d.ts +101 -101
  326. package/dts/system/AndroidNavigationBar.d.ts +8 -4
  327. package/dts/system/EventHandlerProvider.d.ts +1 -1
  328. package/dts/system/Interactable.d.ts +61 -61
  329. package/dts/system/Pressable.d.ts +54 -35
  330. package/dts/system/PressableOpacity.d.ts +9 -3
  331. package/dts/system/StatusBar.d.ts +17 -4
  332. package/dts/system/ThemeProvider.d.ts +13 -7
  333. package/dts/system/__figma__/AndroidNavigationBar.figma.d.ts +1 -1
  334. package/dts/system/index.d.ts +1 -1
  335. package/dts/tabs/SegmentedTab.d.ts +17 -6
  336. package/dts/tabs/SegmentedTab.d.ts.map +1 -1
  337. package/dts/tabs/SegmentedTabs.d.ts +9 -4
  338. package/dts/tabs/SegmentedTabsActiveIndicator.d.ts +5 -2
  339. package/dts/tabs/TabIndicator.d.ts +23 -19
  340. package/dts/tabs/TabLabel.d.ts +13 -4
  341. package/dts/tabs/TabNavigation.d.ts +19 -14
  342. package/dts/tabs/Tabs.d.ts +27 -20
  343. package/dts/tabs/__figma__/SegmentedTabs.figma.d.ts +1 -1
  344. package/dts/tabs/__figma__/TabNavigation.figma.d.ts +1 -1
  345. package/dts/tabs/hooks/useDotAnimation.d.ts +5 -5
  346. package/dts/tabs/hooks/useTabIndicatorStyles.d.ts +15 -12
  347. package/dts/tabs/index.d.ts +1 -1
  348. package/dts/tag/Tag.d.ts +38 -25
  349. package/dts/tag/__figma__/Tag.figma.d.ts +1 -1
  350. package/dts/themes/coinbaseDenseTheme.d.ts +551 -551
  351. package/dts/themes/coinbaseHighContrastTheme.d.ts +551 -551
  352. package/dts/themes/coinbaseTheme.d.ts +551 -551
  353. package/dts/themes/defaultHighContrastTheme.d.ts +551 -551
  354. package/dts/themes/defaultTheme.d.ts +551 -551
  355. package/dts/tour/DefaultTourMask.d.ts +8 -2
  356. package/dts/tour/DefaultTourStepArrow.d.ts +4 -2
  357. package/dts/tour/Tour.d.ts +59 -54
  358. package/dts/tour/Tour.d.ts.map +1 -1
  359. package/dts/tour/TourStep.d.ts +8 -5
  360. package/dts/tour/TourStep.d.ts.map +1 -1
  361. package/dts/tour/index.d.ts +1 -1
  362. package/dts/typography/Link.d.ts +20 -4
  363. package/dts/typography/Text.d.ts +121 -110
  364. package/dts/typography/TextBody.d.ts +26 -19
  365. package/dts/typography/TextCaption.d.ts +26 -19
  366. package/dts/typography/TextDisplay1.d.ts +26 -19
  367. package/dts/typography/TextDisplay2.d.ts +26 -19
  368. package/dts/typography/TextDisplay3.d.ts +26 -19
  369. package/dts/typography/TextHeadline.d.ts +26 -19
  370. package/dts/typography/TextInherited.d.ts +26 -19
  371. package/dts/typography/TextLabel1.d.ts +26 -19
  372. package/dts/typography/TextLabel2.d.ts +26 -19
  373. package/dts/typography/TextLegal.d.ts +26 -19
  374. package/dts/typography/TextTitle1.d.ts +26 -19
  375. package/dts/typography/TextTitle2.d.ts +26 -19
  376. package/dts/typography/TextTitle3.d.ts +26 -19
  377. package/dts/typography/TextTitle4.d.ts +26 -19
  378. package/dts/typography/__figma__/Link.figma.d.ts +1 -1
  379. package/dts/typography/index.d.ts +1 -1
  380. package/dts/utils/customTabsHelper.d.ts +2 -2
  381. package/dts/utils/debounce.d.ts +5 -2
  382. package/dts/utils/flattenAndJoinNodes.d.ts +18 -4
  383. package/dts/utils/getAdjustedFontScale.d.ts +6 -2
  384. package/dts/utils/getSpacerStyle.d.ts +23 -12
  385. package/dts/utils/haptics.d.ts +7 -7
  386. package/dts/utils/isValidURL.d.ts +1 -1
  387. package/dts/utils/openWebBrowser.d.ts +45 -34
  388. package/dts/utils/testHelpers.d.ts +570 -566
  389. package/dts/visualizations/Counter.d.ts +11 -6
  390. package/dts/visualizations/DefaultProgressCircleContent.d.ts +8 -2
  391. package/dts/visualizations/ProgressBar.d.ts +57 -49
  392. package/dts/visualizations/ProgressBarWithFixedLabels.d.ts +46 -40
  393. package/dts/visualizations/ProgressBarWithFloatLabel.d.ts +35 -27
  394. package/dts/visualizations/ProgressCircle.d.ts +104 -97
  395. package/dts/visualizations/ProgressContainerWithButtons.d.ts +5 -2
  396. package/dts/visualizations/ProgressIndicator.d.ts +39 -32
  397. package/dts/visualizations/ProgressTextLabel.d.ts +17 -9
  398. package/dts/visualizations/VisualizationContainer.d.ts +8 -8
  399. package/dts/visualizations/__figma__/ProgressBar.figma.d.ts +1 -1
  400. package/dts/visualizations/__figma__/ProgressCircle.figma.d.ts +1 -1
  401. package/dts/visualizations/getProgressBarLabelParts.d.ts +16 -12
  402. package/dts/visualizations/index.d.ts +1 -1
  403. package/esm/controls/__stories__/TextInput.stories.js +1 -1
  404. package/esm/numbers/RollingNumber/RollingNumber.js +0 -1
  405. package/esm/numbers/__stories__/RollingNumber.stories.js +2 -1
  406. package/esm/tabs/SegmentedTab.js +12 -3
  407. package/esm/tabs/__stories__/SegmentedTabs.stories.js +25 -0
  408. package/esm/tour/Tour.js +73 -62
  409. package/esm/tour/TourStep.js +5 -4
  410. package/package.json +8 -8
  411. package/dts/accordion/__stories__/Accordion.stories.d.ts +0 -3
  412. package/dts/accordion/__stories__/Accordion.stories.d.ts.map +0 -1
  413. package/dts/accordion/__tests__/Accordion.test.d.ts +0 -2
  414. package/dts/accordion/__tests__/Accordion.test.d.ts.map +0 -1
  415. package/dts/alpha/carousel/__tests__/Carousel.test.d.ts +0 -2
  416. package/dts/alpha/carousel/__tests__/Carousel.test.d.ts.map +0 -1
  417. package/dts/alpha/carousel/__tests__/CarouselItem.test.d.ts +0 -2
  418. package/dts/alpha/carousel/__tests__/CarouselItem.test.d.ts.map +0 -1
  419. package/dts/animation/__stories__/Lottie.stories.d.ts +0 -3
  420. package/dts/animation/__stories__/Lottie.stories.d.ts.map +0 -1
  421. package/dts/animation/__stories__/LottieStatusAnimation.stories.d.ts +0 -3
  422. package/dts/animation/__stories__/LottieStatusAnimation.stories.d.ts.map +0 -1
  423. package/dts/animation/__tests__/Lottie.perf-test.d.ts +0 -2
  424. package/dts/animation/__tests__/Lottie.perf-test.d.ts.map +0 -1
  425. package/dts/animation/__tests__/Lottie.test.d.ts +0 -2
  426. package/dts/animation/__tests__/Lottie.test.d.ts.map +0 -1
  427. package/dts/animation/__tests__/LottieStatusAnimation.perf-test.d.ts +0 -2
  428. package/dts/animation/__tests__/LottieStatusAnimation.perf-test.d.ts.map +0 -1
  429. package/dts/animation/__tests__/LottieStatusAnimation.test.d.ts +0 -2
  430. package/dts/animation/__tests__/LottieStatusAnimation.test.d.ts.map +0 -1
  431. package/dts/animation/__tests__/convertMotionConfig.test.d.ts +0 -2
  432. package/dts/animation/__tests__/convertMotionConfig.test.d.ts.map +0 -1
  433. package/dts/animation/__tests__/createLottie.test.d.ts +0 -2
  434. package/dts/animation/__tests__/createLottie.test.d.ts.map +0 -1
  435. package/dts/banner/__stories__/Banner.stories.d.ts +0 -3
  436. package/dts/banner/__stories__/Banner.stories.d.ts.map +0 -1
  437. package/dts/banner/__tests__/Banner.test.d.ts +0 -2
  438. package/dts/banner/__tests__/Banner.test.d.ts.map +0 -1
  439. package/dts/buttons/__stories__/AvatarButton.stories.d.ts +0 -3
  440. package/dts/buttons/__stories__/AvatarButton.stories.d.ts.map +0 -1
  441. package/dts/buttons/__stories__/Button.stories.d.ts +0 -3
  442. package/dts/buttons/__stories__/Button.stories.d.ts.map +0 -1
  443. package/dts/buttons/__stories__/ButtonGroup.stories.d.ts +0 -3
  444. package/dts/buttons/__stories__/ButtonGroup.stories.d.ts.map +0 -1
  445. package/dts/buttons/__stories__/IconButton.stories.d.ts +0 -3
  446. package/dts/buttons/__stories__/IconButton.stories.d.ts.map +0 -1
  447. package/dts/buttons/__stories__/IconCounterButton.stories.d.ts +0 -3
  448. package/dts/buttons/__stories__/IconCounterButton.stories.d.ts.map +0 -1
  449. package/dts/buttons/__stories__/SlideButton.stories.d.ts +0 -3
  450. package/dts/buttons/__stories__/SlideButton.stories.d.ts.map +0 -1
  451. package/dts/buttons/__tests__/AvatarButton.test.d.ts +0 -2
  452. package/dts/buttons/__tests__/AvatarButton.test.d.ts.map +0 -1
  453. package/dts/buttons/__tests__/Button.perf-test.d.ts +0 -2
  454. package/dts/buttons/__tests__/Button.perf-test.d.ts.map +0 -1
  455. package/dts/buttons/__tests__/Button.test.d.ts +0 -2
  456. package/dts/buttons/__tests__/Button.test.d.ts.map +0 -1
  457. package/dts/buttons/__tests__/ButtonEventHandler.test.d.ts +0 -2
  458. package/dts/buttons/__tests__/ButtonEventHandler.test.d.ts.map +0 -1
  459. package/dts/buttons/__tests__/IconButton.test.d.ts +0 -2
  460. package/dts/buttons/__tests__/IconButton.test.d.ts.map +0 -1
  461. package/dts/buttons/__tests__/IconCounterButton.test.d.ts +0 -2
  462. package/dts/buttons/__tests__/IconCounterButton.test.d.ts.map +0 -1
  463. package/dts/buttons/__tests__/SlideButton.test.d.ts +0 -2
  464. package/dts/buttons/__tests__/SlideButton.test.d.ts.map +0 -1
  465. package/dts/cards/ContentCard/__tests__/ContentCard.test.d.ts +0 -2
  466. package/dts/cards/ContentCard/__tests__/ContentCard.test.d.ts.map +0 -1
  467. package/dts/cards/__stories__/Card.stories.d.ts +0 -3
  468. package/dts/cards/__stories__/Card.stories.d.ts.map +0 -1
  469. package/dts/cards/__stories__/ContainedAssetCard.stories.d.ts +0 -3
  470. package/dts/cards/__stories__/ContainedAssetCard.stories.d.ts.map +0 -1
  471. package/dts/cards/__stories__/ContentCard.stories.d.ts +0 -3
  472. package/dts/cards/__stories__/ContentCard.stories.d.ts.map +0 -1
  473. package/dts/cards/__stories__/FloatingAssetCard.stories.d.ts +0 -3
  474. package/dts/cards/__stories__/FloatingAssetCard.stories.d.ts.map +0 -1
  475. package/dts/cards/__stories__/NudgeCard.stories.d.ts +0 -3
  476. package/dts/cards/__stories__/NudgeCard.stories.d.ts.map +0 -1
  477. package/dts/cards/__stories__/UpsellCard.stories.d.ts +0 -3
  478. package/dts/cards/__stories__/UpsellCard.stories.d.ts.map +0 -1
  479. package/dts/cards/__tests__/CardGroup.test.d.ts +0 -2
  480. package/dts/cards/__tests__/CardGroup.test.d.ts.map +0 -1
  481. package/dts/cards/__tests__/CardMedia.test.d.ts +0 -2
  482. package/dts/cards/__tests__/CardMedia.test.d.ts.map +0 -1
  483. package/dts/cards/__tests__/ContainedAssetCard.test.d.ts +0 -2
  484. package/dts/cards/__tests__/ContainedAssetCard.test.d.ts.map +0 -1
  485. package/dts/cards/__tests__/FloatingAssetCard.test.d.ts +0 -2
  486. package/dts/cards/__tests__/FloatingAssetCard.test.d.ts.map +0 -1
  487. package/dts/cards/__tests__/NudgeCard.test.d.ts +0 -2
  488. package/dts/cards/__tests__/NudgeCard.test.d.ts.map +0 -1
  489. package/dts/cards/__tests__/UpsellCard.test.d.ts +0 -2
  490. package/dts/cards/__tests__/UpsellCard.test.d.ts.map +0 -1
  491. package/dts/carousel/__stories__/Carousel.stories.d.ts +0 -2
  492. package/dts/carousel/__stories__/Carousel.stories.d.ts.map +0 -1
  493. package/dts/carousel/__tests__/Carousel.test.d.ts +0 -2
  494. package/dts/carousel/__tests__/Carousel.test.d.ts.map +0 -1
  495. package/dts/cells/__stories__/ContentCell.stories.d.ts +0 -3
  496. package/dts/cells/__stories__/ContentCell.stories.d.ts.map +0 -1
  497. package/dts/cells/__stories__/ContentCellFallback.stories.d.ts +0 -3
  498. package/dts/cells/__stories__/ContentCellFallback.stories.d.ts.map +0 -1
  499. package/dts/cells/__stories__/ListCell.stories.d.ts +0 -3
  500. package/dts/cells/__stories__/ListCell.stories.d.ts.map +0 -1
  501. package/dts/cells/__stories__/ListCellFallback.stories.d.ts +0 -3
  502. package/dts/cells/__stories__/ListCellFallback.stories.d.ts.map +0 -1
  503. package/dts/cells/__tests__/CellMedia.test.d.ts +0 -2
  504. package/dts/cells/__tests__/CellMedia.test.d.ts.map +0 -1
  505. package/dts/cells/__tests__/ContentCell.test.d.ts +0 -2
  506. package/dts/cells/__tests__/ContentCell.test.d.ts.map +0 -1
  507. package/dts/cells/__tests__/ContentCellFallback.test.d.ts +0 -2
  508. package/dts/cells/__tests__/ContentCellFallback.test.d.ts.map +0 -1
  509. package/dts/cells/__tests__/ListCell.perf-test.d.ts +0 -2
  510. package/dts/cells/__tests__/ListCell.perf-test.d.ts.map +0 -1
  511. package/dts/cells/__tests__/ListCell.test.d.ts +0 -2
  512. package/dts/cells/__tests__/ListCell.test.d.ts.map +0 -1
  513. package/dts/cells/__tests__/ListCellFallback.test.d.ts +0 -2
  514. package/dts/cells/__tests__/ListCellFallback.test.d.ts.map +0 -1
  515. package/dts/chips/__stories__/Chip.stories.d.ts +0 -3
  516. package/dts/chips/__stories__/Chip.stories.d.ts.map +0 -1
  517. package/dts/chips/__stories__/InputChip.stories.d.ts +0 -3
  518. package/dts/chips/__stories__/InputChip.stories.d.ts.map +0 -1
  519. package/dts/chips/__stories__/SelectChip.stories.d.ts +0 -3
  520. package/dts/chips/__stories__/SelectChip.stories.d.ts.map +0 -1
  521. package/dts/chips/__stories__/TabbedChips.stories.d.ts +0 -3
  522. package/dts/chips/__stories__/TabbedChips.stories.d.ts.map +0 -1
  523. package/dts/chips/__tests__/Chip.test.d.ts +0 -2
  524. package/dts/chips/__tests__/Chip.test.d.ts.map +0 -1
  525. package/dts/chips/__tests__/InputChip.test.d.ts +0 -2
  526. package/dts/chips/__tests__/InputChip.test.d.ts.map +0 -1
  527. package/dts/chips/__tests__/SelectChip.test.d.ts +0 -2
  528. package/dts/chips/__tests__/SelectChip.test.d.ts.map +0 -1
  529. package/dts/chips/__tests__/TabbedChips.test.d.ts +0 -2
  530. package/dts/chips/__tests__/TabbedChips.test.d.ts.map +0 -1
  531. package/dts/coachmark/__stories__/Coachmark.stories.d.ts +0 -3
  532. package/dts/coachmark/__stories__/Coachmark.stories.d.ts.map +0 -1
  533. package/dts/coachmark/__tests__/Coachmark.test.d.ts +0 -2
  534. package/dts/coachmark/__tests__/Coachmark.test.d.ts.map +0 -1
  535. package/dts/collapsible/__stories__/Collapsible.stories.d.ts +0 -3
  536. package/dts/collapsible/__stories__/Collapsible.stories.d.ts.map +0 -1
  537. package/dts/collapsible/__tests__/Collapsible.test.d.ts +0 -2
  538. package/dts/collapsible/__tests__/Collapsible.test.d.ts.map +0 -1
  539. package/dts/controls/__stories__/Checkbox.stories.d.ts +0 -3
  540. package/dts/controls/__stories__/Checkbox.stories.d.ts.map +0 -1
  541. package/dts/controls/__stories__/CheckboxCell.stories.d.ts +0 -3
  542. package/dts/controls/__stories__/CheckboxCell.stories.d.ts.map +0 -1
  543. package/dts/controls/__stories__/ControlGroup.stories.d.ts +0 -3
  544. package/dts/controls/__stories__/ControlGroup.stories.d.ts.map +0 -1
  545. package/dts/controls/__stories__/InputIcon.stories.d.ts +0 -3
  546. package/dts/controls/__stories__/InputIcon.stories.d.ts.map +0 -1
  547. package/dts/controls/__stories__/InputIconButton.stories.d.ts +0 -3
  548. package/dts/controls/__stories__/InputIconButton.stories.d.ts.map +0 -1
  549. package/dts/controls/__stories__/InputStack.stories.d.ts +0 -2
  550. package/dts/controls/__stories__/InputStack.stories.d.ts.map +0 -1
  551. package/dts/controls/__stories__/RadioCell.stories.d.ts +0 -3
  552. package/dts/controls/__stories__/RadioCell.stories.d.ts.map +0 -1
  553. package/dts/controls/__stories__/RadioGroup.stories.d.ts +0 -3
  554. package/dts/controls/__stories__/RadioGroup.stories.d.ts.map +0 -1
  555. package/dts/controls/__stories__/SearchInput.stories.d.ts +0 -3
  556. package/dts/controls/__stories__/SearchInput.stories.d.ts.map +0 -1
  557. package/dts/controls/__stories__/Select.stories.d.ts +0 -3
  558. package/dts/controls/__stories__/Select.stories.d.ts.map +0 -1
  559. package/dts/controls/__stories__/SelectOption.stories.d.ts +0 -2
  560. package/dts/controls/__stories__/SelectOption.stories.d.ts.map +0 -1
  561. package/dts/controls/__stories__/Switch.stories.d.ts +0 -3
  562. package/dts/controls/__stories__/Switch.stories.d.ts.map +0 -1
  563. package/dts/controls/__stories__/TextInput.stories.d.ts +0 -3
  564. package/dts/controls/__stories__/TextInput.stories.d.ts.map +0 -1
  565. package/dts/controls/__tests__/Checkbox.test.d.ts +0 -2
  566. package/dts/controls/__tests__/Checkbox.test.d.ts.map +0 -1
  567. package/dts/controls/__tests__/CheckboxCell.test.d.ts +0 -2
  568. package/dts/controls/__tests__/CheckboxCell.test.d.ts.map +0 -1
  569. package/dts/controls/__tests__/CheckboxGroup.test.d.ts +0 -2
  570. package/dts/controls/__tests__/CheckboxGroup.test.d.ts.map +0 -1
  571. package/dts/controls/__tests__/ControlGroup.test.d.ts +0 -2
  572. package/dts/controls/__tests__/ControlGroup.test.d.ts.map +0 -1
  573. package/dts/controls/__tests__/HelperText.test.d.ts +0 -2
  574. package/dts/controls/__tests__/HelperText.test.d.ts.map +0 -1
  575. package/dts/controls/__tests__/InputIcon.test.d.ts +0 -2
  576. package/dts/controls/__tests__/InputIcon.test.d.ts.map +0 -1
  577. package/dts/controls/__tests__/InputIconButton.test.d.ts +0 -2
  578. package/dts/controls/__tests__/InputIconButton.test.d.ts.map +0 -1
  579. package/dts/controls/__tests__/InputStack.test.d.ts +0 -2
  580. package/dts/controls/__tests__/InputStack.test.d.ts.map +0 -1
  581. package/dts/controls/__tests__/Menu.test.d.ts +0 -2
  582. package/dts/controls/__tests__/Menu.test.d.ts.map +0 -1
  583. package/dts/controls/__tests__/RadioCell.test.d.ts +0 -2
  584. package/dts/controls/__tests__/RadioCell.test.d.ts.map +0 -1
  585. package/dts/controls/__tests__/RadioGroup.test.d.ts +0 -2
  586. package/dts/controls/__tests__/RadioGroup.test.d.ts.map +0 -1
  587. package/dts/controls/__tests__/SearchInput.test.d.ts +0 -2
  588. package/dts/controls/__tests__/SearchInput.test.d.ts.map +0 -1
  589. package/dts/controls/__tests__/Select.test.d.ts +0 -2
  590. package/dts/controls/__tests__/Select.test.d.ts.map +0 -1
  591. package/dts/controls/__tests__/SelectOption.test.d.ts +0 -2
  592. package/dts/controls/__tests__/SelectOption.test.d.ts.map +0 -1
  593. package/dts/controls/__tests__/Switch.test.d.ts +0 -2
  594. package/dts/controls/__tests__/Switch.test.d.ts.map +0 -1
  595. package/dts/controls/__tests__/TextInput.test.d.ts +0 -2
  596. package/dts/controls/__tests__/TextInput.test.d.ts.map +0 -1
  597. package/dts/controls/__tests__/useControlMotionProps.test.d.ts +0 -2
  598. package/dts/controls/__tests__/useControlMotionProps.test.d.ts.map +0 -1
  599. package/dts/dates/__stories__/DateInput.stories.d.ts +0 -3
  600. package/dts/dates/__stories__/DateInput.stories.d.ts.map +0 -1
  601. package/dts/dates/__stories__/DatePicker.stories.d.ts +0 -3
  602. package/dts/dates/__stories__/DatePicker.stories.d.ts.map +0 -1
  603. package/dts/dots/__stories__/Dot.stories.d.ts +0 -3
  604. package/dts/dots/__stories__/Dot.stories.d.ts.map +0 -1
  605. package/dts/dots/__stories__/DotMisc.stories.d.ts +0 -3
  606. package/dts/dots/__stories__/DotMisc.stories.d.ts.map +0 -1
  607. package/dts/dots/__tests__/DotCount.test.d.ts +0 -2
  608. package/dts/dots/__tests__/DotCount.test.d.ts.map +0 -1
  609. package/dts/dots/__tests__/DotStatusColor.test.d.ts +0 -2
  610. package/dts/dots/__tests__/DotStatusColor.test.d.ts.map +0 -1
  611. package/dts/dots/__tests__/DotSymbol.test.d.ts +0 -2
  612. package/dts/dots/__tests__/DotSymbol.test.d.ts.map +0 -1
  613. package/dts/dots/__tests__/getTransformers.test.d.ts +0 -2
  614. package/dts/dots/__tests__/getTransformers.test.d.ts.map +0 -1
  615. package/dts/gradients/__stories__/LinearGradient.stories.d.ts +0 -3
  616. package/dts/gradients/__stories__/LinearGradient.stories.d.ts.map +0 -1
  617. package/dts/hooks/__tests__/constants.d.ts +0 -2
  618. package/dts/hooks/__tests__/constants.d.ts.map +0 -1
  619. package/dts/hooks/__tests__/useA11y.test.d.ts +0 -2
  620. package/dts/hooks/__tests__/useA11y.test.d.ts.map +0 -1
  621. package/dts/hooks/__tests__/useAppState.test.d.ts +0 -2
  622. package/dts/hooks/__tests__/useAppState.test.d.ts.map +0 -1
  623. package/dts/hooks/__tests__/useCellSpacing.test.d.ts +0 -2
  624. package/dts/hooks/__tests__/useCellSpacing.test.d.ts.map +0 -1
  625. package/dts/hooks/__tests__/useDimension.test.d.ts +0 -2
  626. package/dts/hooks/__tests__/useDimension.test.d.ts.map +0 -1
  627. package/dts/hooks/__tests__/useInputBorderStyle.test.d.ts +0 -2
  628. package/dts/hooks/__tests__/useInputBorderStyle.test.d.ts.map +0 -1
  629. package/dts/hooks/__tests__/usePressAnimation.test.d.ts +0 -2
  630. package/dts/hooks/__tests__/usePressAnimation.test.d.ts.map +0 -1
  631. package/dts/hooks/__tests__/useScreenReaderStatus.test.d.ts +0 -2
  632. package/dts/hooks/__tests__/useScreenReaderStatus.test.d.ts.map +0 -1
  633. package/dts/hooks/__tests__/useScrollOffset.test.d.ts +0 -2
  634. package/dts/hooks/__tests__/useScrollOffset.test.d.ts.map +0 -1
  635. package/dts/hooks/__tests__/useScrollTo.test.d.ts +0 -2
  636. package/dts/hooks/__tests__/useScrollTo.test.d.ts.map +0 -1
  637. package/dts/hooks/__tests__/useStatusBarHeight.test.d.ts +0 -2
  638. package/dts/hooks/__tests__/useStatusBarHeight.test.d.ts.map +0 -1
  639. package/dts/hooks/__tests__/useWebBrowserOpener.test.d.ts +0 -2
  640. package/dts/hooks/__tests__/useWebBrowserOpener.test.d.ts.map +0 -1
  641. package/dts/icons/__stories__/Icon.stories.d.ts +0 -5
  642. package/dts/icons/__stories__/Icon.stories.d.ts.map +0 -1
  643. package/dts/icons/__stories__/IconSheet.d.ts +0 -8
  644. package/dts/icons/__stories__/IconSheet.d.ts.map +0 -1
  645. package/dts/icons/__stories__/Logo.stories.d.ts +0 -3
  646. package/dts/icons/__stories__/Logo.stories.d.ts.map +0 -1
  647. package/dts/icons/__tests__/Icon.perf-test.d.ts +0 -2
  648. package/dts/icons/__tests__/Icon.perf-test.d.ts.map +0 -1
  649. package/dts/icons/__tests__/Icon.test.d.ts +0 -2
  650. package/dts/icons/__tests__/Icon.test.d.ts.map +0 -1
  651. package/dts/illustrations/__stories__/HeroSquare.stories.d.ts +0 -3
  652. package/dts/illustrations/__stories__/HeroSquare.stories.d.ts.map +0 -1
  653. package/dts/illustrations/__stories__/Pictogram.stories.d.ts +0 -3
  654. package/dts/illustrations/__stories__/Pictogram.stories.d.ts.map +0 -1
  655. package/dts/illustrations/__stories__/SpotIcon.stories.d.ts +0 -3
  656. package/dts/illustrations/__stories__/SpotIcon.stories.d.ts.map +0 -1
  657. package/dts/illustrations/__stories__/SpotRectangle.stories.d.ts +0 -3
  658. package/dts/illustrations/__stories__/SpotRectangle.stories.d.ts.map +0 -1
  659. package/dts/illustrations/__stories__/SpotSquare.stories.d.ts +0 -3
  660. package/dts/illustrations/__stories__/SpotSquare.stories.d.ts.map +0 -1
  661. package/dts/illustrations/__stories__/getIllustrationSheet.d.ts +0 -4
  662. package/dts/illustrations/__stories__/getIllustrationSheet.d.ts.map +0 -1
  663. package/dts/illustrations/__tests__/HeroSquare.test.d.ts +0 -2
  664. package/dts/illustrations/__tests__/HeroSquare.test.d.ts.map +0 -1
  665. package/dts/illustrations/__tests__/Pictogram.test.d.ts +0 -2
  666. package/dts/illustrations/__tests__/Pictogram.test.d.ts.map +0 -1
  667. package/dts/illustrations/__tests__/SpotRectangle.test.d.ts +0 -2
  668. package/dts/illustrations/__tests__/SpotRectangle.test.d.ts.map +0 -1
  669. package/dts/illustrations/__tests__/SpotSquare.test.d.ts +0 -2
  670. package/dts/illustrations/__tests__/SpotSquare.test.d.ts.map +0 -1
  671. package/dts/layout/__stories__/Box.stories.d.ts +0 -3
  672. package/dts/layout/__stories__/Box.stories.d.ts.map +0 -1
  673. package/dts/layout/__stories__/Divider.stories.d.ts +0 -3
  674. package/dts/layout/__stories__/Divider.stories.d.ts.map +0 -1
  675. package/dts/layout/__stories__/Group.stories.d.ts +0 -3
  676. package/dts/layout/__stories__/Group.stories.d.ts.map +0 -1
  677. package/dts/layout/__stories__/LoremIpsum.d.ts +0 -9
  678. package/dts/layout/__stories__/LoremIpsum.d.ts.map +0 -1
  679. package/dts/layout/__stories__/Spacer.stories.d.ts +0 -3
  680. package/dts/layout/__stories__/Spacer.stories.d.ts.map +0 -1
  681. package/dts/layout/__tests__/Box.perf-test.d.ts +0 -2
  682. package/dts/layout/__tests__/Box.perf-test.d.ts.map +0 -1
  683. package/dts/layout/__tests__/Box.test.d.ts +0 -2
  684. package/dts/layout/__tests__/Box.test.d.ts.map +0 -1
  685. package/dts/layout/__tests__/Divider.perf-test.d.ts +0 -2
  686. package/dts/layout/__tests__/Divider.perf-test.d.ts.map +0 -1
  687. package/dts/layout/__tests__/Fallback.perf-test.d.ts +0 -2
  688. package/dts/layout/__tests__/Fallback.perf-test.d.ts.map +0 -1
  689. package/dts/layout/__tests__/Fallback.test.d.ts +0 -2
  690. package/dts/layout/__tests__/Fallback.test.d.ts.map +0 -1
  691. package/dts/loaders/__stories__/Spinner.stories.d.ts +0 -3
  692. package/dts/loaders/__stories__/Spinner.stories.d.ts.map +0 -1
  693. package/dts/loaders/__tests__/Spinner.test.d.ts +0 -2
  694. package/dts/loaders/__tests__/Spinner.test.d.ts.map +0 -1
  695. package/dts/media/Carousel/__tests__/Carousel.test.d.ts +0 -2
  696. package/dts/media/Carousel/__tests__/Carousel.test.d.ts.map +0 -1
  697. package/dts/media/Carousel/__tests__/useCarousel.test.d.ts +0 -2
  698. package/dts/media/Carousel/__tests__/useCarousel.test.d.ts.map +0 -1
  699. package/dts/media/Carousel/__tests__/useCarouselItem.test.d.ts +0 -2
  700. package/dts/media/Carousel/__tests__/useCarouselItem.test.d.ts.map +0 -1
  701. package/dts/media/__stories__/Avatar.stories.d.ts +0 -3
  702. package/dts/media/__stories__/Avatar.stories.d.ts.map +0 -1
  703. package/dts/media/__stories__/CarouselAlphaExample.d.ts +0 -7
  704. package/dts/media/__stories__/CarouselAlphaExample.d.ts.map +0 -1
  705. package/dts/media/__stories__/CarouselMedia.stories.d.ts +0 -3
  706. package/dts/media/__stories__/CarouselMedia.stories.d.ts.map +0 -1
  707. package/dts/media/__stories__/RemoteImage.stories.d.ts +0 -3
  708. package/dts/media/__stories__/RemoteImage.stories.d.ts.map +0 -1
  709. package/dts/media/__stories__/RemoteImageGroup.stories.d.ts +0 -5
  710. package/dts/media/__stories__/RemoteImageGroup.stories.d.ts.map +0 -1
  711. package/dts/media/__tests__/Avatar.test.d.ts +0 -2
  712. package/dts/media/__tests__/Avatar.test.d.ts.map +0 -1
  713. package/dts/media/__tests__/RemoteImage.test.d.ts +0 -2
  714. package/dts/media/__tests__/RemoteImage.test.d.ts.map +0 -1
  715. package/dts/media/__tests__/RemoteImageGroup.test.d.ts +0 -2
  716. package/dts/media/__tests__/RemoteImageGroup.test.d.ts.map +0 -1
  717. package/dts/media/__tests__/getSource.test.d.ts +0 -2
  718. package/dts/media/__tests__/getSource.test.d.ts.map +0 -1
  719. package/dts/motion/__stories__/AnimatedCaret.stories.d.ts +0 -3
  720. package/dts/motion/__stories__/AnimatedCaret.stories.d.ts.map +0 -1
  721. package/dts/motion/__stories__/HintMotion.stories.d.ts +0 -3
  722. package/dts/motion/__stories__/HintMotion.stories.d.ts.map +0 -1
  723. package/dts/motion/__tests__/AnimatedCaret.test.d.ts +0 -2
  724. package/dts/motion/__tests__/AnimatedCaret.test.d.ts.map +0 -1
  725. package/dts/motion/__tests__/Pulse.test.d.ts +0 -2
  726. package/dts/motion/__tests__/Pulse.test.d.ts.map +0 -1
  727. package/dts/motion/__tests__/Shake.test.d.ts +0 -2
  728. package/dts/motion/__tests__/Shake.test.d.ts.map +0 -1
  729. package/dts/motion/__tests__/convertMotionConfig.test.d.ts +0 -2
  730. package/dts/motion/__tests__/convertMotionConfig.test.d.ts.map +0 -1
  731. package/dts/motion/__tests__/withMotionTiming.test.d.ts +0 -2
  732. package/dts/motion/__tests__/withMotionTiming.test.d.ts.map +0 -1
  733. package/dts/multi-content-module/__stories__/MultiContentModule.stories.d.ts +0 -6
  734. package/dts/multi-content-module/__stories__/MultiContentModule.stories.d.ts.map +0 -1
  735. package/dts/multi-content-module/__tests__/MultiContentModule.test.d.ts +0 -2
  736. package/dts/multi-content-module/__tests__/MultiContentModule.test.d.ts.map +0 -1
  737. package/dts/navigation/__stories__/BrowserBar.stories.d.ts +0 -3
  738. package/dts/navigation/__stories__/BrowserBar.stories.d.ts.map +0 -1
  739. package/dts/navigation/__stories__/BrowserBarSearchInput.stories.d.ts +0 -3
  740. package/dts/navigation/__stories__/BrowserBarSearchInput.stories.d.ts.map +0 -1
  741. package/dts/navigation/__stories__/NavBarIconButton.stories.d.ts +0 -3
  742. package/dts/navigation/__stories__/NavBarIconButton.stories.d.ts.map +0 -1
  743. package/dts/navigation/__stories__/NavigationSubtitle.stories.d.ts +0 -3
  744. package/dts/navigation/__stories__/NavigationSubtitle.stories.d.ts.map +0 -1
  745. package/dts/navigation/__stories__/NavigationTitle.stories.d.ts +0 -3
  746. package/dts/navigation/__stories__/NavigationTitle.stories.d.ts.map +0 -1
  747. package/dts/navigation/__stories__/NavigationTitleSelect.stories.d.ts +0 -3
  748. package/dts/navigation/__stories__/NavigationTitleSelect.stories.d.ts.map +0 -1
  749. package/dts/navigation/__stories__/TopNavBar.stories.d.ts +0 -3
  750. package/dts/navigation/__stories__/TopNavBar.stories.d.ts.map +0 -1
  751. package/dts/navigation/__tests__/BrowserBar.test.d.ts +0 -2
  752. package/dts/navigation/__tests__/BrowserBar.test.d.ts.map +0 -1
  753. package/dts/navigation/__tests__/BrowserBarSearchInput.test.d.ts +0 -2
  754. package/dts/navigation/__tests__/BrowserBarSearchInput.test.d.ts.map +0 -1
  755. package/dts/navigation/__tests__/NavBarIconButton.test.d.ts +0 -2
  756. package/dts/navigation/__tests__/NavBarIconButton.test.d.ts.map +0 -1
  757. package/dts/navigation/__tests__/NavigationSubtitle.test.d.ts +0 -2
  758. package/dts/navigation/__tests__/NavigationSubtitle.test.d.ts.map +0 -1
  759. package/dts/navigation/__tests__/NavigationTitle.test.d.ts +0 -2
  760. package/dts/navigation/__tests__/NavigationTitle.test.d.ts.map +0 -1
  761. package/dts/navigation/__tests__/NavigationTitleSelect.test.d.ts +0 -2
  762. package/dts/navigation/__tests__/NavigationTitleSelect.test.d.ts.map +0 -1
  763. package/dts/navigation/__tests__/TopNavBar.test.d.ts +0 -2
  764. package/dts/navigation/__tests__/TopNavBar.test.d.ts.map +0 -1
  765. package/dts/numbers/__stories__/RollingNumber.stories.d.ts +0 -7
  766. package/dts/numbers/__stories__/RollingNumber.stories.d.ts.map +0 -1
  767. package/dts/numbers/__tests__/RollingNumber.a11y.test.d.ts +0 -2
  768. package/dts/numbers/__tests__/RollingNumber.a11y.test.d.ts.map +0 -1
  769. package/dts/numpad/__stories__/Numpad.stories.d.ts +0 -3
  770. package/dts/numpad/__stories__/Numpad.stories.d.ts.map +0 -1
  771. package/dts/numpad/__tests__/Numpad.test.d.ts +0 -2
  772. package/dts/numpad/__tests__/Numpad.test.d.ts.map +0 -1
  773. package/dts/overlays/__stories__/AlertBasic.stories.d.ts +0 -3
  774. package/dts/overlays/__stories__/AlertBasic.stories.d.ts.map +0 -1
  775. package/dts/overlays/__stories__/AlertLongTitle.stories.d.ts +0 -3
  776. package/dts/overlays/__stories__/AlertLongTitle.stories.d.ts.map +0 -1
  777. package/dts/overlays/__stories__/AlertOverModal.stories.d.ts +0 -3
  778. package/dts/overlays/__stories__/AlertOverModal.stories.d.ts.map +0 -1
  779. package/dts/overlays/__stories__/AlertPortal.stories.d.ts +0 -3
  780. package/dts/overlays/__stories__/AlertPortal.stories.d.ts.map +0 -1
  781. package/dts/overlays/__stories__/AlertSingleAction.stories.d.ts +0 -3
  782. package/dts/overlays/__stories__/AlertSingleAction.stories.d.ts.map +0 -1
  783. package/dts/overlays/__stories__/AlertVerticalActions.stories.d.ts +0 -3
  784. package/dts/overlays/__stories__/AlertVerticalActions.stories.d.ts.map +0 -1
  785. package/dts/overlays/__stories__/DrawerBottom.stories.d.ts +0 -3
  786. package/dts/overlays/__stories__/DrawerBottom.stories.d.ts.map +0 -1
  787. package/dts/overlays/__stories__/DrawerFallback.stories.d.ts +0 -3
  788. package/dts/overlays/__stories__/DrawerFallback.stories.d.ts.map +0 -1
  789. package/dts/overlays/__stories__/DrawerLeft.stories.d.ts +0 -3
  790. package/dts/overlays/__stories__/DrawerLeft.stories.d.ts.map +0 -1
  791. package/dts/overlays/__stories__/DrawerMisc.stories.d.ts +0 -3
  792. package/dts/overlays/__stories__/DrawerMisc.stories.d.ts.map +0 -1
  793. package/dts/overlays/__stories__/DrawerRight.stories.d.ts +0 -3
  794. package/dts/overlays/__stories__/DrawerRight.stories.d.ts.map +0 -1
  795. package/dts/overlays/__stories__/DrawerScrollable.stories.d.ts +0 -3
  796. package/dts/overlays/__stories__/DrawerScrollable.stories.d.ts.map +0 -1
  797. package/dts/overlays/__stories__/DrawerTop.stories.d.ts +0 -3
  798. package/dts/overlays/__stories__/DrawerTop.stories.d.ts.map +0 -1
  799. package/dts/overlays/__stories__/Drawers.d.ts +0 -15
  800. package/dts/overlays/__stories__/Drawers.d.ts.map +0 -1
  801. package/dts/overlays/__stories__/ModalBackButton.stories.d.ts +0 -3
  802. package/dts/overlays/__stories__/ModalBackButton.stories.d.ts.map +0 -1
  803. package/dts/overlays/__stories__/ModalBasic.stories.d.ts +0 -3
  804. package/dts/overlays/__stories__/ModalBasic.stories.d.ts.map +0 -1
  805. package/dts/overlays/__stories__/ModalLong.stories.d.ts +0 -3
  806. package/dts/overlays/__stories__/ModalLong.stories.d.ts.map +0 -1
  807. package/dts/overlays/__stories__/ModalPortal.stories.d.ts +0 -3
  808. package/dts/overlays/__stories__/ModalPortal.stories.d.ts.map +0 -1
  809. package/dts/overlays/__stories__/Overlay.stories.d.ts +0 -3
  810. package/dts/overlays/__stories__/Overlay.stories.d.ts.map +0 -1
  811. package/dts/overlays/__stories__/Toast.stories.d.ts +0 -3
  812. package/dts/overlays/__stories__/Toast.stories.d.ts.map +0 -1
  813. package/dts/overlays/__stories__/TooltipV2.stories.d.ts +0 -3
  814. package/dts/overlays/__stories__/TooltipV2.stories.d.ts.map +0 -1
  815. package/dts/overlays/__stories__/TrayAction.stories.d.ts +0 -6
  816. package/dts/overlays/__stories__/TrayAction.stories.d.ts.map +0 -1
  817. package/dts/overlays/__stories__/TrayBasic.stories.d.ts +0 -3
  818. package/dts/overlays/__stories__/TrayBasic.stories.d.ts.map +0 -1
  819. package/dts/overlays/__stories__/TrayFallback.stories.d.ts +0 -3
  820. package/dts/overlays/__stories__/TrayFallback.stories.d.ts.map +0 -1
  821. package/dts/overlays/__stories__/TrayFeedCard.stories.d.ts +0 -3
  822. package/dts/overlays/__stories__/TrayFeedCard.stories.d.ts.map +0 -1
  823. package/dts/overlays/__stories__/TrayInformational.stories.d.ts +0 -5
  824. package/dts/overlays/__stories__/TrayInformational.stories.d.ts.map +0 -1
  825. package/dts/overlays/__stories__/TrayMessaging.stories.d.ts +0 -4
  826. package/dts/overlays/__stories__/TrayMessaging.stories.d.ts.map +0 -1
  827. package/dts/overlays/__stories__/TrayMisc.stories.d.ts +0 -3
  828. package/dts/overlays/__stories__/TrayMisc.stories.d.ts.map +0 -1
  829. package/dts/overlays/__stories__/TrayNavigation.stories.d.ts +0 -3
  830. package/dts/overlays/__stories__/TrayNavigation.stories.d.ts.map +0 -1
  831. package/dts/overlays/__stories__/TrayPromotional.stories.d.ts +0 -4
  832. package/dts/overlays/__stories__/TrayPromotional.stories.d.ts.map +0 -1
  833. package/dts/overlays/__stories__/TrayScrollable.stories.d.ts +0 -3
  834. package/dts/overlays/__stories__/TrayScrollable.stories.d.ts.map +0 -1
  835. package/dts/overlays/__stories__/TrayTall.stories.d.ts +0 -3
  836. package/dts/overlays/__stories__/TrayTall.stories.d.ts.map +0 -1
  837. package/dts/overlays/__stories__/TrayWithTitle.stories.d.ts +0 -3
  838. package/dts/overlays/__stories__/TrayWithTitle.stories.d.ts.map +0 -1
  839. package/dts/overlays/__stories__/Trays.d.ts +0 -11
  840. package/dts/overlays/__stories__/Trays.d.ts.map +0 -1
  841. package/dts/overlays/__tests__/Alert.test.d.ts +0 -2
  842. package/dts/overlays/__tests__/Alert.test.d.ts.map +0 -1
  843. package/dts/overlays/__tests__/PortalProvider.test.d.ts +0 -2
  844. package/dts/overlays/__tests__/PortalProvider.test.d.ts.map +0 -1
  845. package/dts/overlays/__tests__/Toast.test.d.ts +0 -2
  846. package/dts/overlays/__tests__/Toast.test.d.ts.map +0 -1
  847. package/dts/overlays/drawer/__tests__/Drawer.test.d.ts +0 -2
  848. package/dts/overlays/drawer/__tests__/Drawer.test.d.ts.map +0 -1
  849. package/dts/overlays/drawer/__tests__/useDrawerSpacing.test.d.ts +0 -2
  850. package/dts/overlays/drawer/__tests__/useDrawerSpacing.test.d.ts.map +0 -1
  851. package/dts/overlays/modal/__tests__/Modal.perf-test.d.ts +0 -2
  852. package/dts/overlays/modal/__tests__/Modal.perf-test.d.ts.map +0 -1
  853. package/dts/overlays/modal/__tests__/Modal.test.d.ts +0 -2
  854. package/dts/overlays/modal/__tests__/Modal.test.d.ts.map +0 -1
  855. package/dts/overlays/overlay/__tests__/Overlay.test.d.ts +0 -2
  856. package/dts/overlays/overlay/__tests__/Overlay.test.d.ts.map +0 -1
  857. package/dts/overlays/overlay/__tests__/useOverlayAnimation.test.d.ts +0 -2
  858. package/dts/overlays/overlay/__tests__/useOverlayAnimation.test.d.ts.map +0 -1
  859. package/dts/overlays/tooltip/__tests__/InternalTooltip.test.d.ts +0 -2
  860. package/dts/overlays/tooltip/__tests__/InternalTooltip.test.d.ts.map +0 -1
  861. package/dts/overlays/tooltip/__tests__/Tooltip.test.d.ts +0 -2
  862. package/dts/overlays/tooltip/__tests__/Tooltip.test.d.ts.map +0 -1
  863. package/dts/overlays/tooltip/__tests__/UseTooltipPositionTestData.d.ts +0 -19
  864. package/dts/overlays/tooltip/__tests__/UseTooltipPositionTestData.d.ts.map +0 -1
  865. package/dts/overlays/tray/__tests__/Tray.test.d.ts +0 -2
  866. package/dts/overlays/tray/__tests__/Tray.test.d.ts.map +0 -1
  867. package/dts/page/__stories__/PageFooter.stories.d.ts +0 -3
  868. package/dts/page/__stories__/PageFooter.stories.d.ts.map +0 -1
  869. package/dts/page/__stories__/PageFooterInPage.stories.d.ts +0 -3
  870. package/dts/page/__stories__/PageFooterInPage.stories.d.ts.map +0 -1
  871. package/dts/page/__stories__/PageHeader.stories.d.ts +0 -3
  872. package/dts/page/__stories__/PageHeader.stories.d.ts.map +0 -1
  873. package/dts/page/__stories__/PageHeaderInErrorEmptyState.stories.d.ts +0 -3
  874. package/dts/page/__stories__/PageHeaderInErrorEmptyState.stories.d.ts.map +0 -1
  875. package/dts/page/__stories__/PageHeaderInPage.stories.d.ts +0 -3
  876. package/dts/page/__stories__/PageHeaderInPage.stories.d.ts.map +0 -1
  877. package/dts/page/__tests__/PageFooter.test.d.ts +0 -2
  878. package/dts/page/__tests__/PageFooter.test.d.ts.map +0 -1
  879. package/dts/page/__tests__/PageHeader.test.d.ts +0 -2
  880. package/dts/page/__tests__/PageHeader.test.d.ts.map +0 -1
  881. package/dts/section-header/__stories__/SectionHeader.stories.d.ts +0 -3
  882. package/dts/section-header/__stories__/SectionHeader.stories.d.ts.map +0 -1
  883. package/dts/section-header/__tests__/SectionHeader.test.d.ts +0 -2
  884. package/dts/section-header/__tests__/SectionHeader.test.d.ts.map +0 -1
  885. package/dts/stepper/__stories__/StepperHorizontal.stories.d.ts +0 -3
  886. package/dts/stepper/__stories__/StepperHorizontal.stories.d.ts.map +0 -1
  887. package/dts/stepper/__stories__/StepperVertical.stories.d.ts +0 -3
  888. package/dts/stepper/__stories__/StepperVertical.stories.d.ts.map +0 -1
  889. package/dts/sticky-footer/__stories__/StickyFooter.stories.d.ts +0 -3
  890. package/dts/sticky-footer/__stories__/StickyFooter.stories.d.ts.map +0 -1
  891. package/dts/sticky-footer/__stories__/StickyFooterWithTray.stories.d.ts +0 -3
  892. package/dts/sticky-footer/__stories__/StickyFooterWithTray.stories.d.ts.map +0 -1
  893. package/dts/sticky-footer/__tests__/StickyFooter.test.d.ts +0 -2
  894. package/dts/sticky-footer/__tests__/StickyFooter.test.d.ts.map +0 -1
  895. package/dts/system/__stories__/Frontier.stories.d.ts +0 -3
  896. package/dts/system/__stories__/Frontier.stories.d.ts.map +0 -1
  897. package/dts/system/__stories__/Palette.stories.d.ts +0 -3
  898. package/dts/system/__stories__/Palette.stories.d.ts.map +0 -1
  899. package/dts/system/__stories__/PatternDisclosureHighFrictionBenefit.stories.d.ts +0 -3
  900. package/dts/system/__stories__/PatternDisclosureHighFrictionBenefit.stories.d.ts.map +0 -1
  901. package/dts/system/__stories__/PatternDisclosureHighFrictionRisk.stories.d.ts +0 -3
  902. package/dts/system/__stories__/PatternDisclosureHighFrictionRisk.stories.d.ts.map +0 -1
  903. package/dts/system/__stories__/PatternDisclosureLowFriction.stories.d.ts +0 -3
  904. package/dts/system/__stories__/PatternDisclosureLowFriction.stories.d.ts.map +0 -1
  905. package/dts/system/__stories__/PatternDisclosureMedFriction.stories.d.ts +0 -3
  906. package/dts/system/__stories__/PatternDisclosureMedFriction.stories.d.ts.map +0 -1
  907. package/dts/system/__stories__/PatternError.stories.d.ts +0 -3
  908. package/dts/system/__stories__/PatternError.stories.d.ts.map +0 -1
  909. package/dts/system/__stories__/Pressable.stories.d.ts +0 -3
  910. package/dts/system/__stories__/Pressable.stories.d.ts.map +0 -1
  911. package/dts/system/__stories__/PressableOpacity.stories.d.ts +0 -3
  912. package/dts/system/__stories__/PressableOpacity.stories.d.ts.map +0 -1
  913. package/dts/system/__stories__/Spectrum.stories.d.ts +0 -4
  914. package/dts/system/__stories__/Spectrum.stories.d.ts.map +0 -1
  915. package/dts/system/__stories__/ThemeProvider.stories.d.ts +0 -3
  916. package/dts/system/__stories__/ThemeProvider.stories.d.ts.map +0 -1
  917. package/dts/system/__tests__/AndroidNavigationBar.test.d.ts +0 -2
  918. package/dts/system/__tests__/AndroidNavigationBar.test.d.ts.map +0 -1
  919. package/dts/system/__tests__/StatusBar.test.d.ts +0 -2
  920. package/dts/system/__tests__/StatusBar.test.d.ts.map +0 -1
  921. package/dts/system/__tests__/useAndroidNavigationBarUpdater.test.d.ts +0 -2
  922. package/dts/system/__tests__/useAndroidNavigationBarUpdater.test.d.ts.map +0 -1
  923. package/dts/tabs/__stories__/SegmentedTabs.stories.d.ts +0 -3
  924. package/dts/tabs/__stories__/SegmentedTabs.stories.d.ts.map +0 -1
  925. package/dts/tabs/__stories__/TabIndicator.stories.d.ts +0 -3
  926. package/dts/tabs/__stories__/TabIndicator.stories.d.ts.map +0 -1
  927. package/dts/tabs/__stories__/TabLabel.stories.d.ts +0 -3
  928. package/dts/tabs/__stories__/TabLabel.stories.d.ts.map +0 -1
  929. package/dts/tabs/__stories__/TabNavigation.stories.d.ts +0 -3
  930. package/dts/tabs/__stories__/TabNavigation.stories.d.ts.map +0 -1
  931. package/dts/tabs/__stories__/Tabs.stories.d.ts +0 -3
  932. package/dts/tabs/__stories__/Tabs.stories.d.ts.map +0 -1
  933. package/dts/tabs/__tests__/SegmentedTab.test.d.ts +0 -2
  934. package/dts/tabs/__tests__/SegmentedTab.test.d.ts.map +0 -1
  935. package/dts/tabs/__tests__/SegmentedTabs.test.d.ts +0 -2
  936. package/dts/tabs/__tests__/SegmentedTabs.test.d.ts.map +0 -1
  937. package/dts/tabs/__tests__/TabIndicator.test.d.ts +0 -2
  938. package/dts/tabs/__tests__/TabIndicator.test.d.ts.map +0 -1
  939. package/dts/tabs/__tests__/TabNavigation.test.d.ts +0 -2
  940. package/dts/tabs/__tests__/TabNavigation.test.d.ts.map +0 -1
  941. package/dts/tabs/hooks/__tests__/useDotAnimation.test.d.ts +0 -2
  942. package/dts/tabs/hooks/__tests__/useDotAnimation.test.d.ts.map +0 -1
  943. package/dts/tag/__stories__/Tag.stories.d.ts +0 -3
  944. package/dts/tag/__stories__/Tag.stories.d.ts.map +0 -1
  945. package/dts/tag/__tests__/Tag.test.d.ts +0 -2
  946. package/dts/tag/__tests__/Tag.test.d.ts.map +0 -1
  947. package/dts/tour/__stories__/Tour.stories.d.ts +0 -4
  948. package/dts/tour/__stories__/Tour.stories.d.ts.map +0 -1
  949. package/dts/tour/__tests__/Tour.test.d.ts +0 -2
  950. package/dts/tour/__tests__/Tour.test.d.ts.map +0 -1
  951. package/dts/typography/__stories__/Link.stories.d.ts +0 -3
  952. package/dts/typography/__stories__/Link.stories.d.ts.map +0 -1
  953. package/dts/typography/__stories__/Text.stories.d.ts +0 -3
  954. package/dts/typography/__stories__/Text.stories.d.ts.map +0 -1
  955. package/dts/typography/__stories__/TextBody.stories.d.ts +0 -3
  956. package/dts/typography/__stories__/TextBody.stories.d.ts.map +0 -1
  957. package/dts/typography/__stories__/TextCaption.stories.d.ts +0 -3
  958. package/dts/typography/__stories__/TextCaption.stories.d.ts.map +0 -1
  959. package/dts/typography/__stories__/TextCore.stories.d.ts +0 -3
  960. package/dts/typography/__stories__/TextCore.stories.d.ts.map +0 -1
  961. package/dts/typography/__stories__/TextDisplay1.stories.d.ts +0 -3
  962. package/dts/typography/__stories__/TextDisplay1.stories.d.ts.map +0 -1
  963. package/dts/typography/__stories__/TextDisplay2.stories.d.ts +0 -3
  964. package/dts/typography/__stories__/TextDisplay2.stories.d.ts.map +0 -1
  965. package/dts/typography/__stories__/TextDisplay3.stories.d.ts +0 -3
  966. package/dts/typography/__stories__/TextDisplay3.stories.d.ts.map +0 -1
  967. package/dts/typography/__stories__/TextExamples.d.ts +0 -8
  968. package/dts/typography/__stories__/TextExamples.d.ts.map +0 -1
  969. package/dts/typography/__stories__/TextHeadline.stories.d.ts +0 -3
  970. package/dts/typography/__stories__/TextHeadline.stories.d.ts.map +0 -1
  971. package/dts/typography/__stories__/TextLabel1.stories.d.ts +0 -3
  972. package/dts/typography/__stories__/TextLabel1.stories.d.ts.map +0 -1
  973. package/dts/typography/__stories__/TextLabel2.stories.d.ts +0 -3
  974. package/dts/typography/__stories__/TextLabel2.stories.d.ts.map +0 -1
  975. package/dts/typography/__stories__/TextLegal.stories.d.ts +0 -3
  976. package/dts/typography/__stories__/TextLegal.stories.d.ts.map +0 -1
  977. package/dts/typography/__stories__/TextTitle1.stories.d.ts +0 -3
  978. package/dts/typography/__stories__/TextTitle1.stories.d.ts.map +0 -1
  979. package/dts/typography/__stories__/TextTitle2.stories.d.ts +0 -3
  980. package/dts/typography/__stories__/TextTitle2.stories.d.ts.map +0 -1
  981. package/dts/typography/__stories__/TextTitle3.stories.d.ts +0 -3
  982. package/dts/typography/__stories__/TextTitle3.stories.d.ts.map +0 -1
  983. package/dts/typography/__stories__/TextTitle4.stories.d.ts +0 -3
  984. package/dts/typography/__stories__/TextTitle4.stories.d.ts.map +0 -1
  985. package/dts/typography/__tests__/Link.perf-test.d.ts +0 -2
  986. package/dts/typography/__tests__/Link.perf-test.d.ts.map +0 -1
  987. package/dts/typography/__tests__/Link.test.d.ts +0 -2
  988. package/dts/typography/__tests__/Link.test.d.ts.map +0 -1
  989. package/dts/typography/__tests__/Text.test.d.ts +0 -2
  990. package/dts/typography/__tests__/Text.test.d.ts.map +0 -1
  991. package/dts/utils/__tests__/debounce.test.d.ts +0 -2
  992. package/dts/utils/__tests__/debounce.test.d.ts.map +0 -1
  993. package/dts/utils/__tests__/flattenAndJoinNodes.test.d.ts +0 -2
  994. package/dts/utils/__tests__/flattenAndJoinNodes.test.d.ts.map +0 -1
  995. package/dts/utils/__tests__/isValidURL.test.d.ts +0 -2
  996. package/dts/utils/__tests__/isValidURL.test.d.ts.map +0 -1
  997. package/dts/utils/__tests__/openWebBrowser.test.d.ts +0 -2
  998. package/dts/utils/__tests__/openWebBrowser.test.d.ts.map +0 -1
  999. package/dts/visualizations/__stories__/ProgressBar.stories.d.ts +0 -3
  1000. package/dts/visualizations/__stories__/ProgressBar.stories.d.ts.map +0 -1
  1001. package/dts/visualizations/__stories__/ProgressCircle.stories.d.ts +0 -3
  1002. package/dts/visualizations/__stories__/ProgressCircle.stories.d.ts.map +0 -1
  1003. package/dts/visualizations/__tests__/ProgressBar.test.d.ts +0 -2
  1004. package/dts/visualizations/__tests__/ProgressBar.test.d.ts.map +0 -1
  1005. package/dts/visualizations/__tests__/ProgressCircle.test.d.ts +0 -2
  1006. package/dts/visualizations/__tests__/ProgressCircle.test.d.ts.map +0 -1
  1007. package/dts/visualizations/__tests__/ProgressIndicator.test.d.ts +0 -2
  1008. package/dts/visualizations/__tests__/ProgressIndicator.test.d.ts.map +0 -1
@@ -5,35 +5,42 @@ import type { SharedProps } from '@coinbase/cds-common';
5
5
  import type { BoxProps } from '../layout/Box';
6
6
  export declare const PROGRESS_INDICATOR_WIDTH = 24;
7
7
  export type ProgressIndicatorProps = {
8
- /** An Animated.Value or interpolated Animated.Value between 0 and 1 */
9
- progress?: Animated.Value | Animated.AnimatedInterpolation<number>;
10
- /**
11
- * @danger This is a migration escape hatch. It is not intended to be used normally.
12
- */
13
- style?: Animated.WithAnimatedValue<StyleProp<ViewStyle>>;
14
- } & BoxProps & SharedProps;
15
- export declare const ProgressIndicator: React.MemoExoticComponent<React.ForwardRefExoticComponent<{
16
- /** An Animated.Value or interpolated Animated.Value between 0 and 1 */
17
- progress?: Animated.Value | Animated.AnimatedInterpolation<number>;
18
- /**
19
- * @danger This is a migration escape hatch. It is not intended to be used normally.
20
- */
21
- style?: Animated.WithAnimatedValue<StyleProp<ViewStyle>>;
22
- } & import("../styles/styleProps").StyleProps & {
23
- children?: React.ReactNode;
24
- style?: Animated.WithAnimatedValue<StyleProp<ViewStyle>>;
25
- animated?: boolean;
26
- elevation?: import("@coinbase/cds-common").ElevationLevels;
27
- font?: import("@coinbase/cds-common").ThemeVars.FontFamily | "inherit";
28
- pin?: import("@coinbase/cds-common").PinningDirection;
29
- bordered?: boolean;
30
- borderedTop?: boolean;
31
- borderedBottom?: boolean;
32
- borderedStart?: boolean;
33
- borderedEnd?: boolean;
34
- borderedHorizontal?: boolean;
35
- borderedVertical?: boolean;
36
- dangerouslySetBackground?: string;
37
- testID?: string;
38
- } & Omit<import("react-native").ViewProps, "style"> & SharedProps & React.RefAttributes<View>>>;
39
- //# sourceMappingURL=ProgressIndicator.d.ts.map
8
+ /** An Animated.Value or interpolated Animated.Value between 0 and 1 */
9
+ progress?: Animated.Value | Animated.AnimatedInterpolation<number>;
10
+ /**
11
+ * @danger This is a migration escape hatch. It is not intended to be used normally.
12
+ */
13
+ style?: Animated.WithAnimatedValue<StyleProp<ViewStyle>>;
14
+ } & BoxProps &
15
+ SharedProps;
16
+ export declare const ProgressIndicator: React.MemoExoticComponent<
17
+ React.ForwardRefExoticComponent<
18
+ {
19
+ /** An Animated.Value or interpolated Animated.Value between 0 and 1 */
20
+ progress?: Animated.Value | Animated.AnimatedInterpolation<number>;
21
+ /**
22
+ * @danger This is a migration escape hatch. It is not intended to be used normally.
23
+ */
24
+ style?: Animated.WithAnimatedValue<StyleProp<ViewStyle>>;
25
+ } & import('../styles/styleProps').StyleProps & {
26
+ children?: React.ReactNode;
27
+ style?: Animated.WithAnimatedValue<StyleProp<ViewStyle>>;
28
+ animated?: boolean;
29
+ elevation?: import('@coinbase/cds-common').ElevationLevels;
30
+ font?: import('@coinbase/cds-common').ThemeVars.FontFamily | 'inherit';
31
+ pin?: import('@coinbase/cds-common').PinningDirection;
32
+ bordered?: boolean;
33
+ borderedTop?: boolean;
34
+ borderedBottom?: boolean;
35
+ borderedStart?: boolean;
36
+ borderedEnd?: boolean;
37
+ borderedHorizontal?: boolean;
38
+ borderedVertical?: boolean;
39
+ dangerouslySetBackground?: string;
40
+ testID?: string;
41
+ } & Omit<import('react-native').ViewProps, 'style'> &
42
+ SharedProps &
43
+ React.RefAttributes<View>
44
+ >
45
+ >;
46
+ //# sourceMappingURL=ProgressIndicator.d.ts.map
@@ -3,13 +3,21 @@ import { type StyleProp, type TextStyle } from 'react-native';
3
3
  import type { ThemeVars } from '@coinbase/cds-common/core/theme';
4
4
  import type { ProgressBaseProps } from './ProgressBar';
5
5
  export type ProgressTextLabelProps = Pick<ProgressBaseProps, 'disabled'> & {
6
- value: number;
7
- renderLabel?: (num: number, disabled?: boolean) => React.ReactNode;
8
- color?: ThemeVars.Color;
9
- /**
10
- * Custom style for the text label.
11
- */
12
- style?: StyleProp<TextStyle>;
6
+ value: number;
7
+ renderLabel?: (num: number, disabled?: boolean) => React.ReactNode;
8
+ color?: ThemeVars.Color;
9
+ /**
10
+ * Custom style for the text label.
11
+ */
12
+ style?: StyleProp<TextStyle>;
13
13
  };
14
- export declare const ProgressTextLabel: React.MemoExoticComponent<({ value, renderLabel, disabled, color, style }: ProgressTextLabelProps) => import("react/jsx-runtime").JSX.Element>;
15
- //# sourceMappingURL=ProgressTextLabel.d.ts.map
14
+ export declare const ProgressTextLabel: React.MemoExoticComponent<
15
+ ({
16
+ value,
17
+ renderLabel,
18
+ disabled,
19
+ color,
20
+ style,
21
+ }: ProgressTextLabelProps) => import('react/jsx-runtime').JSX.Element
22
+ >;
23
+ //# sourceMappingURL=ProgressTextLabel.d.ts.map
@@ -1,16 +1,16 @@
1
1
  import React from 'react';
2
2
  import type { DimensionValue } from '@coinbase/cds-common/types';
3
3
  export type VisualizationContainerDimension = {
4
- width: number;
5
- height: number;
6
- circleSize: number;
4
+ width: number;
5
+ height: number;
6
+ circleSize: number;
7
7
  };
8
8
  export type VisualizationContainerBaseProps = {
9
- width: DimensionValue;
10
- height: DimensionValue;
11
- minHeight?: DimensionValue;
12
- children: (dimensions: VisualizationContainerDimension) => React.ReactNode;
9
+ width: DimensionValue;
10
+ height: DimensionValue;
11
+ minHeight?: DimensionValue;
12
+ children: (dimensions: VisualizationContainerDimension) => React.ReactNode;
13
13
  };
14
14
  export type VisualizationContainerProps = VisualizationContainerBaseProps;
15
15
  export declare const VisualizationContainer: React.FC<VisualizationContainerProps>;
16
- //# sourceMappingURL=VisualizationContainer.d.ts.map
16
+ //# sourceMappingURL=VisualizationContainer.d.ts.map
@@ -1,2 +1,2 @@
1
1
  export {};
2
- //# sourceMappingURL=ProgressBar.figma.d.ts.map
2
+ //# sourceMappingURL=ProgressBar.figma.d.ts.map
@@ -1,2 +1,2 @@
1
1
  export {};
2
- //# sourceMappingURL=ProgressCircle.figma.d.ts.map
2
+ //# sourceMappingURL=ProgressCircle.figma.d.ts.map
@@ -1,12 +1,16 @@
1
- export type ProgressBarLabel = number | {
2
- value: number;
3
- render: (num: number, disabled?: boolean) => React.ReactNode;
4
- };
5
- export declare const getProgressBarLabelParts: (label: ProgressBarLabel) => {
6
- value: number;
7
- render?: undefined;
8
- } | {
9
- value: number;
10
- render: (num: number, disabled?: boolean) => React.ReactNode;
11
- };
12
- //# sourceMappingURL=getProgressBarLabelParts.d.ts.map
1
+ export type ProgressBarLabel =
2
+ | number
3
+ | {
4
+ value: number;
5
+ render: (num: number, disabled?: boolean) => React.ReactNode;
6
+ };
7
+ export declare const getProgressBarLabelParts: (label: ProgressBarLabel) =>
8
+ | {
9
+ value: number;
10
+ render?: undefined;
11
+ }
12
+ | {
13
+ value: number;
14
+ render: (num: number, disabled?: boolean) => React.ReactNode;
15
+ };
16
+ //# sourceMappingURL=getProgressBarLabelParts.d.ts.map
@@ -4,4 +4,4 @@ export * from './ProgressBar';
4
4
  export * from './ProgressBarWithFixedLabels';
5
5
  export * from './ProgressBarWithFloatLabel';
6
6
  export * from './ProgressCircle';
7
- //# sourceMappingURL=index.d.ts.map
7
+ //# sourceMappingURL=index.d.ts.map
@@ -94,7 +94,7 @@ const InputScreen = () => {
94
94
  label: "Username",
95
95
  placeholder: "john.doe@coinbase.com",
96
96
  textAlign: "unset",
97
- value: "https://github.com/coinbase/cds-staging/blob/master/docs/commands.md!-|?/",
97
+ value: "https://github.com/coinbase/cds/blob/master/docs/commands.md!-|?/",
98
98
  variant: "foregroundMuted"
99
99
  })
100
100
  }), /*#__PURE__*/_jsx(Example, {
@@ -256,7 +256,6 @@ export const RollingNumber = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, re
256
256
  }, [accessibilityLiveRegion, textProps, accessibilityLabelPrefix, accessibilityLabel, formatted, prefix, suffix, accessibilityLabelSuffix, styles == null ? void 0 : styles.text]);
257
257
  return /*#__PURE__*/_jsxs(HStack, {
258
258
  ref: ref,
259
- alignSelf: "flex-start",
260
259
  style: rootStyle,
261
260
  testID: testID,
262
261
  children: [invisibleMeasuredDigits, screenReaderOnlySection, /*#__PURE__*/_jsxs(HStack, {
@@ -470,7 +470,8 @@ const StyleOverrides = () => {
470
470
  paddingVertical: 4,
471
471
  paddingHorizontal: 8,
472
472
  borderRadius: 8,
473
- backgroundColor: theme.color.bgSecondaryWash
473
+ backgroundColor: theme.color.bgSecondaryWash,
474
+ alignSelf: 'flex-start'
474
475
  },
475
476
  fraction: {
476
477
  opacity: 0.2,
@@ -1,4 +1,4 @@
1
- const _excluded = ["id", "label", "disabled", "onPress", "color", "activeColor", "style", "aria-selected", "accessibilityRole", "testID"];
1
+ const _excluded = ["id", "label", "disabled", "onPress", "color", "activeColor", "style", "aria-selected", "accessibilityRole", "testID", "font", "fontFamily", "fontSize", "fontWeight", "lineHeight"];
2
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
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
4
  import React, { forwardRef, memo, useCallback, useMemo } from 'react';
@@ -23,7 +23,12 @@ const SegmentedTabComponent = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, r
23
23
  style,
24
24
  'aria-selected': ariaSelected,
25
25
  accessibilityRole = 'button',
26
- testID
26
+ testID,
27
+ font = 'headline',
28
+ fontFamily,
29
+ fontSize,
30
+ fontWeight,
31
+ lineHeight
27
32
  } = _ref,
28
33
  props = _objectWithoutPropertiesLoose(_ref, _excluded);
29
34
  const {
@@ -64,7 +69,11 @@ const SegmentedTabComponent = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, r
64
69
  paddingY: 1,
65
70
  children: typeof label === 'string' ? /*#__PURE__*/_jsx(AnimatedTextHeadline, {
66
71
  animated: true,
67
- font: "headline",
72
+ font: font,
73
+ fontFamily: fontFamily,
74
+ fontSize: fontSize,
75
+ fontWeight: fontWeight,
76
+ lineHeight: lineHeight,
68
77
  style: animatedTextStyles,
69
78
  testID: testID + "-label",
70
79
  children: label
@@ -57,6 +57,14 @@ const AnotherCustomSegmentedTab = _ref2 => {
57
57
  })
58
58
  });
59
59
  };
60
+ const CustomSegmentedTabColor = props => /*#__PURE__*/_jsx(SegmentedTab, _extends({}, props, {
61
+ activeColor: "fgWarning",
62
+ color: "bgPrimary",
63
+ font: "label2"
64
+ }));
65
+ const CustomSegmentedTabFont = props => /*#__PURE__*/_jsx(SegmentedTab, _extends({}, props, {
66
+ font: "label2"
67
+ }));
60
68
  const basicSegments = [{
61
69
  id: 'buy',
62
70
  label: 'Buy'
@@ -124,6 +132,19 @@ const customSegments = [{
124
132
  id: 'convert',
125
133
  label: 'Convert'
126
134
  }];
135
+ const mixedCustomSegments = [{
136
+ id: 'buy',
137
+ label: 'Buy',
138
+ Component: CustomSegmentedTabColor
139
+ }, {
140
+ id: 'sell',
141
+ label: 'Sell',
142
+ Component: CustomSegmentedTabFont
143
+ }, {
144
+ id: 'convert',
145
+ label: 'Convert',
146
+ Component: CustomSegmentedTabColor
147
+ }];
127
148
  const SegmentedTabsExample = _ref3 => {
128
149
  let {
129
150
  title,
@@ -179,6 +200,10 @@ const SegmentedTabsScreen = () => /*#__PURE__*/_jsxs(ExampleScreen, {
179
200
  defaultActiveTab: customSegments[0],
180
201
  tabs: customSegments,
181
202
  title: "Custom Single Segment"
203
+ }), /*#__PURE__*/_jsx(SegmentedTabsExample, {
204
+ defaultActiveTab: mixedCustomSegments[0],
205
+ tabs: mixedCustomSegments,
206
+ title: "Mixed Custom Segments"
182
207
  }), /*#__PURE__*/_jsx(SegmentedTabsExample, {
183
208
  TabComponent: AnotherCustomSegmentedTab,
184
209
  TabsActiveIndicatorComponent: CustomActiveIndicator,
package/esm/tour/Tour.js CHANGED
@@ -1,9 +1,7 @@
1
1
  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); }
2
- import React, { useCallback, useEffect, useRef } from 'react';
2
+ import React, { useCallback, useRef } from 'react';
3
3
  import { Modal, View } from 'react-native';
4
- import { useRefMap } from '@coinbase/cds-common/hooks/useRefMap';
5
4
  import { OverlayContentContext } from '@coinbase/cds-common/overlays/OverlayContentContext';
6
- import { RefMapContext } from '@coinbase/cds-common/system/RefMapContext';
7
5
  import { TourContext } from '@coinbase/cds-common/tour/TourContext';
8
6
  import { useTour } from '@coinbase/cds-common/tour/useTour';
9
7
  import { arrow as arrowMiddleware, autoPlacement, offset, shift, useFloating } from '@floating-ui/react-native';
@@ -35,13 +33,17 @@ const TourComponent = _ref => {
35
33
  testID
36
34
  } = _ref;
37
35
  const theme = useTheme();
38
- const refMap = useRefMap();
36
+ const defaultTourStepOffset = theme.space[3];
37
+ const defaultTourStepShiftPadding = theme.space[4];
39
38
  const tourStepArrowRef = useRef(null);
40
39
  const RenderedTourStep = activeTourStep == null ? void 0 : activeTourStep.Component;
41
40
  const RenderedTourStepArrow = (_activeTourStep$Arrow = activeTourStep == null ? void 0 : activeTourStep.ArrowComponent) != null ? _activeTourStep$Arrow : TourStepArrowComponent;
42
- const activeTourStepTarget = activeTourStep ? refMap.getRef(activeTourStep.id) : null;
43
- const defaultTourStepOffset = theme.space[3];
44
- const defaultTourStepShiftPadding = theme.space[4];
41
+ const [animation, animationApi] = useSpring(() => ({
42
+ from: {
43
+ opacity: 0
44
+ },
45
+ config: springConfig.slow
46
+ }), []);
45
47
  const {
46
48
  refs,
47
49
  floatingStyles,
@@ -56,25 +58,43 @@ const TourComponent = _ref => {
56
58
  element: tourStepArrowRef
57
59
  })]
58
60
  });
59
- const [animation, animationApi] = useSpring(() => ({
60
- from: {
61
- opacity: 0
62
- },
63
- config: springConfig.slow
64
- }), []);
65
61
  const handleChange = useCallback(tourStep => {
66
- // If the opacity is already 0, animating it to 0 does not trigger `onRest`
67
- if (animation.opacity.get() === 0) return onChange(tourStep);
68
62
  void animationApi.start({
69
63
  to: {
70
64
  opacity: 0
71
65
  },
72
66
  config: springConfig.stiff,
73
- onRest: () => onChange(tourStep)
67
+ onResolve: () => {
68
+ onChange(tourStep);
69
+ }
74
70
  });
75
- }, [animation.opacity, animationApi, onChange]);
76
- const revealTourStep = useCallback(() => {
77
- activeTourStepTarget == null || activeTourStepTarget.measureInWindow((x, y, width, height) => {
71
+ }, [animationApi, onChange]);
72
+ const api = useTour({
73
+ steps,
74
+ activeTourStep,
75
+ onChange: handleChange
76
+ });
77
+ const {
78
+ activeTourStepTarget,
79
+ setActiveTourStepTarget
80
+ } = api;
81
+
82
+ // Component Lifecycle & Side Effects
83
+ // ---------------------------------------------------------------------------
84
+ // This component's visual side effects (animations) are driven by a single
85
+ // callback, `handleSetActiveTourStepTarget`.
86
+ //
87
+ // This function is called from the `TourStep` component's ref callback
88
+ // whenever the active step changes. Because the ref callback is tied to the
89
+ // lifecycle of the `TourStep`, it reliably fires whenever a new step becomes
90
+ // active.
91
+ //
92
+ // This centralizes the logic for revealing a step: when the callback fires,
93
+ // we measure the target element's position on screen and then kick off the
94
+ // fade-in animation, all in one sequential, event-driven flow.
95
+
96
+ const handleActiveTourStepTargetChange = useCallback(target => {
97
+ target == null || target.measureInWindow((x, y, width, height) => {
78
98
  refs.setReference({
79
99
  measure: callback => {
80
100
  callback(x, y, width, height);
@@ -87,53 +107,44 @@ const TourComponent = _ref => {
87
107
  }
88
108
  });
89
109
  });
90
- }, [activeTourStepTarget, animationApi, refs]);
91
- const api = useTour({
92
- steps,
93
- activeTourStep,
94
- onChange: handleChange
95
- });
96
- useEffect(() => {
97
- if (!activeTourStep) return;
98
- revealTourStep();
99
- }, [activeTourStep, revealTourStep]);
110
+ setActiveTourStepTarget(target);
111
+ }, [animationApi, refs, setActiveTourStepTarget]);
100
112
  return /*#__PURE__*/_jsx(OverlayContentContext.Provider, {
101
113
  value: overlayContentContextValue,
102
- children: /*#__PURE__*/_jsx(RefMapContext.Provider, {
103
- value: refMap,
104
- children: /*#__PURE__*/_jsxs(TourContext.Provider, {
105
- value: api,
106
- children: [children, !!RenderedTourStep && /*#__PURE__*/_jsxs(Modal, {
107
- transparent: true,
108
- accessibilityLabel: accessibilityLabel,
109
- accessibilityLabelledBy: accessibilityLabelledBy,
110
- animationType: "none",
111
- id: id,
112
- presentationStyle: "overFullScreen",
113
- testID: testID,
114
- children: [!((_activeTourStep$hideO = activeTourStep.hideOverlay) != null ? _activeTourStep$hideO : hideOverlay) && !!activeTourStepTarget && /*#__PURE__*/_jsx(animated.View, {
114
+ children: /*#__PURE__*/_jsxs(TourContext.Provider, {
115
+ value: _extends({}, api, {
116
+ setActiveTourStepTarget: handleActiveTourStepTargetChange
117
+ }),
118
+ children: [children, !!RenderedTourStep && /*#__PURE__*/_jsxs(Modal, {
119
+ transparent: true,
120
+ accessibilityLabel: accessibilityLabel,
121
+ accessibilityLabelledBy: accessibilityLabelledBy,
122
+ animationType: "none",
123
+ id: id,
124
+ presentationStyle: "overFullScreen",
125
+ testID: testID,
126
+ children: [!((_activeTourStep$hideO = activeTourStep.hideOverlay) != null ? _activeTourStep$hideO : hideOverlay) && !!activeTourStepTarget && /*#__PURE__*/_jsx(animated.View, {
127
+ style: animation,
128
+ children: /*#__PURE__*/_jsx(TourMaskComponent, {
129
+ activeTourStepTarget: activeTourStepTarget,
130
+ borderRadius: (_activeTourStep$tourM = activeTourStep.tourMaskBorderRadius) != null ? _activeTourStep$tourM : tourMaskBorderRadius,
131
+ padding: (_activeTourStep$tourM2 = activeTourStep.tourMaskPadding) != null ? _activeTourStep$tourM2 : tourMaskPadding
132
+ })
133
+ }), /*#__PURE__*/_jsx(View, {
134
+ ref: refs.setFloating,
135
+ collapsable: false,
136
+ style: floatingStyles,
137
+ children: /*#__PURE__*/_jsxs(animated.View, {
115
138
  style: animation,
116
- children: /*#__PURE__*/_jsx(TourMaskComponent, {
117
- activeTourStepTarget: activeTourStepTarget,
118
- borderRadius: (_activeTourStep$tourM = activeTourStep.tourMaskBorderRadius) != null ? _activeTourStep$tourM : tourMaskBorderRadius,
119
- padding: (_activeTourStep$tourM2 = activeTourStep.tourMaskPadding) != null ? _activeTourStep$tourM2 : tourMaskPadding
120
- })
121
- }), /*#__PURE__*/_jsx(View, {
122
- ref: refs.setFloating,
123
- collapsable: false,
124
- style: floatingStyles,
125
- children: /*#__PURE__*/_jsxs(animated.View, {
126
- style: animation,
127
- children: [/*#__PURE__*/_jsx(RenderedTourStepArrow, {
128
- ref: tourStepArrowRef,
129
- arrow: arrow,
130
- placement: placement,
131
- style: activeTourStep == null ? void 0 : activeTourStep.arrowStyle
132
- }), /*#__PURE__*/_jsx(RenderedTourStep, _extends({}, activeTourStep))]
133
- })
134
- })]
139
+ children: [/*#__PURE__*/_jsx(RenderedTourStepArrow, {
140
+ ref: tourStepArrowRef,
141
+ arrow: arrow,
142
+ placement: placement,
143
+ style: activeTourStep == null ? void 0 : activeTourStep.arrowStyle
144
+ }), /*#__PURE__*/_jsx(RenderedTourStep, _extends({}, activeTourStep))]
145
+ })
135
146
  })]
136
- })
147
+ })]
137
148
  })
138
149
  });
139
150
  };
@@ -1,6 +1,6 @@
1
1
  import React, { useCallback } from 'react';
2
2
  import { View } from 'react-native';
3
- import { useRefMapContext } from '@coinbase/cds-common/system/RefMapContext';
3
+ import { useTourContext } from '@coinbase/cds-common/tour/TourContext';
4
4
  import { jsx as _jsx } from "react/jsx-runtime";
5
5
  /**
6
6
  * The TourStep component wraps the target element (children) that you want to highlight during a step
@@ -13,9 +13,10 @@ export const TourStep = _ref => {
13
13
  children
14
14
  } = _ref;
15
15
  const {
16
- registerRef
17
- } = useRefMapContext();
18
- const refCallback = useCallback(ref => ref && registerRef(id, ref), [id, registerRef]);
16
+ activeTourStep,
17
+ setActiveTourStepTarget
18
+ } = useTourContext();
19
+ const refCallback = useCallback(ref => (activeTourStep == null ? void 0 : activeTourStep.id) === id && ref && setActiveTourStepTarget(ref), [activeTourStep, id, setActiveTourStepTarget]);
19
20
  return /*#__PURE__*/_jsx(View, {
20
21
  ref: refCallback,
21
22
  collapsable: false,
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@coinbase/cds-mobile",
3
- "version": "8.13.1",
3
+ "version": "8.13.5",
4
4
  "description": "Coinbase Design System - Mobile",
5
5
  "repository": {
6
6
  "type": "git",
7
- "url": "git@github.com:coinbase/cds-staging.git",
7
+ "url": "git@github.com:coinbase/cds.git",
8
8
  "directory": "packages/mobile"
9
9
  },
10
10
  "react-native": "./src/index.ts",
@@ -150,11 +150,11 @@
150
150
  "react-native-svg": "^14.1.0"
151
151
  },
152
152
  "dependencies": {
153
- "@coinbase/cds-common": "workspace:^",
154
- "@coinbase/cds-icons": "workspace:^",
155
- "@coinbase/cds-illustrations": "workspace:^",
156
- "@coinbase/cds-lottie-files": "workspace:^",
157
- "@coinbase/cds-utils": "workspace:^",
153
+ "@coinbase/cds-common": "^8.13.5",
154
+ "@coinbase/cds-icons": "^5.4.1",
155
+ "@coinbase/cds-illustrations": "^4.23.0",
156
+ "@coinbase/cds-lottie-files": "^3.3.1",
157
+ "@coinbase/cds-utils": "^2.3.2",
158
158
  "@floating-ui/react-native": "^0.10.5",
159
159
  "@react-spring/native": "^9.7.4",
160
160
  "lodash": "^4.17.21",
@@ -186,4 +186,4 @@
186
186
  "react-native-svg": "14.1.0",
187
187
  "react-test-renderer": "^18.3.1"
188
188
  }
189
- }
189
+ }
@@ -1,3 +0,0 @@
1
- declare const AccordionScreen: () => import("react/jsx-runtime").JSX.Element;
2
- export default AccordionScreen;
3
- //# sourceMappingURL=Accordion.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Accordion.stories.d.ts","sourceRoot":"","sources":["../../../src/accordion/__stories__/Accordion.stories.tsx"],"names":[],"mappings":"AAiHA,QAAA,MAAM,eAAe,+CAyEpB,CAAC;AAEF,eAAe,eAAe,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=Accordion.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Accordion.test.d.ts","sourceRoot":"","sources":["../../../src/accordion/__tests__/Accordion.test.tsx"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=Carousel.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Carousel.test.d.ts","sourceRoot":"","sources":["../../../../src/alpha/carousel/__tests__/Carousel.test.tsx"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=CarouselItem.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"CarouselItem.test.d.ts","sourceRoot":"","sources":["../../../../src/alpha/carousel/__tests__/CarouselItem.test.tsx"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- declare const LottieScreen: () => import("react/jsx-runtime").JSX.Element;
2
- export default LottieScreen;
3
- //# sourceMappingURL=Lottie.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Lottie.stories.d.ts","sourceRoot":"","sources":["../../../src/animation/__stories__/Lottie.stories.tsx"],"names":[],"mappings":"AAQA,QAAA,MAAM,YAAY,+CAejB,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -1,3 +0,0 @@
1
- declare const LottieStatusAnimationScreen: () => import("react/jsx-runtime").JSX.Element;
2
- export default LottieStatusAnimationScreen;
3
- //# sourceMappingURL=LottieStatusAnimation.stories.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LottieStatusAnimation.stories.d.ts","sourceRoot":"","sources":["../../../src/animation/__stories__/LottieStatusAnimation.stories.tsx"],"names":[],"mappings":"AAkBA,QAAA,MAAM,2BAA2B,+CA8BhC,CAAC;AAEF,eAAe,2BAA2B,CAAC"}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=Lottie.perf-test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Lottie.perf-test.d.ts","sourceRoot":"","sources":["../../../src/animation/__tests__/Lottie.perf-test.tsx"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=Lottie.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Lottie.test.d.ts","sourceRoot":"","sources":["../../../src/animation/__tests__/Lottie.test.tsx"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=LottieStatusAnimation.perf-test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LottieStatusAnimation.perf-test.d.ts","sourceRoot":"","sources":["../../../src/animation/__tests__/LottieStatusAnimation.perf-test.tsx"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=LottieStatusAnimation.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LottieStatusAnimation.test.d.ts","sourceRoot":"","sources":["../../../src/animation/__tests__/LottieStatusAnimation.test.tsx"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=convertMotionConfig.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"convertMotionConfig.test.d.ts","sourceRoot":"","sources":["../../../src/animation/__tests__/convertMotionConfig.test.ts"],"names":[],"mappings":""}
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=createLottie.test.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createLottie.test.d.ts","sourceRoot":"","sources":["../../../src/animation/__tests__/createLottie.test.tsx"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- declare const BannerScreen: () => import("react/jsx-runtime").JSX.Element;
2
- export default BannerScreen;
3
- //# sourceMappingURL=Banner.stories.d.ts.map