@coinbase/cds-mobile 9.6.0 → 9.6.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 (367) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dts/accordion/AccordionHeader.d.ts +13 -16
  3. package/dts/accordion/AccordionHeader.d.ts.map +1 -1
  4. package/dts/accordion/AccordionPanel.d.ts +9 -10
  5. package/dts/accordion/AccordionPanel.d.ts.map +1 -1
  6. package/dts/alpha/carousel/Carousel.d.ts +19 -27
  7. package/dts/alpha/carousel/Carousel.d.ts.map +1 -1
  8. package/dts/alpha/combobox/Combobox.d.ts.map +1 -1
  9. package/dts/alpha/data-card/DataCard.d.ts +15 -15
  10. package/dts/alpha/data-card/DataCard.d.ts.map +1 -1
  11. package/dts/alpha/select/DefaultSelectAllOption.d.ts.map +1 -1
  12. package/dts/alpha/select/DefaultSelectControl.d.ts +43 -47
  13. package/dts/alpha/select/DefaultSelectControl.d.ts.map +1 -1
  14. package/dts/alpha/select/DefaultSelectDropdown.d.ts.map +1 -1
  15. package/dts/alpha/select/DefaultSelectEmptyDropdownContents.d.ts.map +1 -1
  16. package/dts/alpha/select/DefaultSelectOption.d.ts.map +1 -1
  17. package/dts/alpha/select/Select.d.ts.map +1 -1
  18. package/dts/alpha/select-chip/SelectChip.d.ts.map +1 -1
  19. package/dts/alpha/select-chip/SelectChipControl.d.ts.map +1 -1
  20. package/dts/alpha/tabbed-chips/TabbedChips.d.ts.map +1 -1
  21. package/dts/animation/Lottie.d.ts +9 -40
  22. package/dts/animation/Lottie.d.ts.map +1 -1
  23. package/dts/banner/Banner.d.ts +3 -1
  24. package/dts/banner/Banner.d.ts.map +1 -1
  25. package/dts/buttons/Button.d.ts +3 -1
  26. package/dts/buttons/Button.d.ts.map +1 -1
  27. package/dts/buttons/DefaultSlideButtonBackground.d.ts +17 -17
  28. package/dts/buttons/DefaultSlideButtonBackground.d.ts.map +1 -1
  29. package/dts/buttons/DefaultSlideButtonHandle.d.ts +21 -27
  30. package/dts/buttons/DefaultSlideButtonHandle.d.ts.map +1 -1
  31. package/dts/buttons/IconButton.d.ts +7 -31
  32. package/dts/buttons/IconButton.d.ts.map +1 -1
  33. package/dts/buttons/IconCounterButton.d.ts +3 -1
  34. package/dts/buttons/IconCounterButton.d.ts.map +1 -1
  35. package/dts/buttons/SlideButton.d.ts +7 -103
  36. package/dts/buttons/SlideButton.d.ts.map +1 -1
  37. package/dts/cards/CardGroup.d.ts +3 -1
  38. package/dts/cards/CardGroup.d.ts.map +1 -1
  39. package/dts/cards/CardRoot.d.ts +9 -5
  40. package/dts/cards/CardRoot.d.ts.map +1 -1
  41. package/dts/cards/ContentCard/ContentCard.d.ts +3 -2
  42. package/dts/cards/ContentCard/ContentCard.d.ts.map +1 -1
  43. package/dts/cards/ContentCard/ContentCardBody.d.ts +3 -2
  44. package/dts/cards/ContentCard/ContentCardBody.d.ts.map +1 -1
  45. package/dts/cards/ContentCard/ContentCardFooter.d.ts +9 -22
  46. package/dts/cards/ContentCard/ContentCardFooter.d.ts.map +1 -1
  47. package/dts/cards/ContentCard/ContentCardHeader.d.ts +3 -2
  48. package/dts/cards/ContentCard/ContentCardHeader.d.ts.map +1 -1
  49. package/dts/cards/MediaCard/index.d.ts +15 -15
  50. package/dts/cards/MediaCard/index.d.ts.map +1 -1
  51. package/dts/cards/MessagingCard/index.d.ts +21 -8
  52. package/dts/cards/MessagingCard/index.d.ts.map +1 -1
  53. package/dts/carousel/Carousel.d.ts +7 -158
  54. package/dts/carousel/Carousel.d.ts.map +1 -1
  55. package/dts/chips/Chip.d.ts +3 -1
  56. package/dts/chips/Chip.d.ts.map +1 -1
  57. package/dts/chips/InputChip.d.ts +8 -21
  58. package/dts/chips/InputChip.d.ts.map +1 -1
  59. package/dts/chips/MediaChip.d.ts +3 -1
  60. package/dts/chips/MediaChip.d.ts.map +1 -1
  61. package/dts/chips/SelectChip.d.ts +24 -8
  62. package/dts/chips/SelectChip.d.ts.map +1 -1
  63. package/dts/chips/TabbedChips.d.ts.map +1 -1
  64. package/dts/coachmark/Coachmark.d.ts +7 -54
  65. package/dts/coachmark/Coachmark.d.ts.map +1 -1
  66. package/dts/collapsible/Collapsible.d.ts +7 -30
  67. package/dts/collapsible/Collapsible.d.ts.map +1 -1
  68. package/dts/controls/Checkbox.d.ts +6 -5
  69. package/dts/controls/Checkbox.d.ts.map +1 -1
  70. package/dts/controls/CheckboxCell.d.ts +6 -5
  71. package/dts/controls/CheckboxCell.d.ts.map +1 -1
  72. package/dts/controls/CheckboxGroup.d.ts +12 -5
  73. package/dts/controls/CheckboxGroup.d.ts.map +1 -1
  74. package/dts/controls/Control.d.ts +6 -5
  75. package/dts/controls/Control.d.ts.map +1 -1
  76. package/dts/controls/ControlGroup.d.ts +6 -5
  77. package/dts/controls/ControlGroup.d.ts.map +1 -1
  78. package/dts/controls/InputIconButton.d.ts +3 -1
  79. package/dts/controls/InputIconButton.d.ts.map +1 -1
  80. package/dts/controls/NativeInput.d.ts +17 -38
  81. package/dts/controls/NativeInput.d.ts.map +1 -1
  82. package/dts/controls/Radio.d.ts +6 -5
  83. package/dts/controls/Radio.d.ts.map +1 -1
  84. package/dts/controls/RadioCell.d.ts +6 -5
  85. package/dts/controls/RadioCell.d.ts.map +1 -1
  86. package/dts/controls/RadioGroup.d.ts +15 -5
  87. package/dts/controls/RadioGroup.d.ts.map +1 -1
  88. package/dts/controls/SearchInput.d.ts +7 -113
  89. package/dts/controls/SearchInput.d.ts.map +1 -1
  90. package/dts/controls/Select.d.ts +23 -23
  91. package/dts/controls/Select.d.ts.map +1 -1
  92. package/dts/controls/Switch.d.ts +7 -22
  93. package/dts/controls/Switch.d.ts.map +1 -1
  94. package/dts/controls/TextInput.d.ts +7 -80
  95. package/dts/controls/TextInput.d.ts.map +1 -1
  96. package/dts/dates/Calendar.d.ts +7 -63
  97. package/dts/dates/Calendar.d.ts.map +1 -1
  98. package/dts/dates/DateInput.d.ts +7 -8
  99. package/dts/dates/DateInput.d.ts.map +1 -1
  100. package/dts/dates/DatePicker.d.ts +7 -85
  101. package/dts/dates/DatePicker.d.ts.map +1 -1
  102. package/dts/examples/ExampleScreen.d.ts +11 -24
  103. package/dts/examples/ExampleScreen.d.ts.map +1 -1
  104. package/dts/layout/Box.d.ts +87 -32
  105. package/dts/layout/Box.d.ts.map +1 -1
  106. package/dts/layout/Group.d.ts +3 -1
  107. package/dts/layout/Group.d.ts.map +1 -1
  108. package/dts/layout/HStack.d.ts +3 -2
  109. package/dts/layout/HStack.d.ts.map +1 -1
  110. package/dts/layout/VStack.d.ts +3 -2
  111. package/dts/layout/VStack.d.ts.map +1 -1
  112. package/dts/media/Carousel/Carousel.d.ts +12 -12
  113. package/dts/media/Carousel/Carousel.d.ts.map +1 -1
  114. package/dts/motion/ColorSurge.d.ts +3 -1
  115. package/dts/motion/ColorSurge.d.ts.map +1 -1
  116. package/dts/motion/Pulse.d.ts +3 -1
  117. package/dts/motion/Pulse.d.ts.map +1 -1
  118. package/dts/motion/Shake.d.ts +3 -1
  119. package/dts/motion/Shake.d.ts.map +1 -1
  120. package/dts/multi-content-module/MultiContentModule.d.ts +3 -2
  121. package/dts/multi-content-module/MultiContentModule.d.ts.map +1 -1
  122. package/dts/numbers/RollingNumber/DefaultRollingNumberAffixSection.d.ts.map +1 -1
  123. package/dts/numbers/RollingNumber/DefaultRollingNumberDigit.d.ts.map +1 -1
  124. package/dts/numbers/RollingNumber/DefaultRollingNumberMask.d.ts.map +1 -1
  125. package/dts/numbers/RollingNumber/DefaultRollingNumberSymbol.d.ts.map +1 -1
  126. package/dts/numbers/RollingNumber/DefaultRollingNumberValueSection.d.ts.map +1 -1
  127. package/dts/numbers/RollingNumber/RollingNumber.d.ts +7 -143
  128. package/dts/numbers/RollingNumber/RollingNumber.d.ts.map +1 -1
  129. package/dts/numpad/Numpad.d.ts +7 -35
  130. package/dts/numpad/Numpad.d.ts.map +1 -1
  131. package/dts/overlays/Alert.d.ts +7 -43
  132. package/dts/overlays/Alert.d.ts.map +1 -1
  133. package/dts/overlays/Toast.d.ts +7 -27
  134. package/dts/overlays/Toast.d.ts.map +1 -1
  135. package/dts/overlays/drawer/Drawer.d.ts +7 -82
  136. package/dts/overlays/drawer/Drawer.d.ts.map +1 -1
  137. package/dts/overlays/modal/Modal.d.ts +7 -24
  138. package/dts/overlays/modal/Modal.d.ts.map +1 -1
  139. package/dts/overlays/tray/Tray.d.ts +3 -1
  140. package/dts/overlays/tray/Tray.d.ts.map +1 -1
  141. package/dts/page/PageFooter.d.ts +7 -33
  142. package/dts/page/PageFooter.d.ts.map +1 -1
  143. package/dts/page/PageHeader.d.ts +7 -48
  144. package/dts/page/PageHeader.d.ts.map +1 -1
  145. package/dts/section-header/SectionHeader.d.ts +3 -2
  146. package/dts/section-header/SectionHeader.d.ts.map +1 -1
  147. package/dts/stepper/Stepper.d.ts.map +1 -1
  148. package/dts/sticky-footer/StickyFooter.d.ts +17 -31
  149. package/dts/sticky-footer/StickyFooter.d.ts.map +1 -1
  150. package/dts/system/Pressable.d.ts +3 -2
  151. package/dts/system/Pressable.d.ts.map +1 -1
  152. package/dts/tabs/DefaultTab.d.ts +18 -17
  153. package/dts/tabs/DefaultTab.d.ts.map +1 -1
  154. package/dts/tabs/SegmentedTab.d.ts.map +1 -1
  155. package/dts/tabs/SegmentedTabs.d.ts.map +1 -1
  156. package/dts/tabs/TabIndicator.d.ts +11 -11
  157. package/dts/tabs/TabIndicator.d.ts.map +1 -1
  158. package/dts/tabs/TabNavigation.d.ts.map +1 -1
  159. package/dts/tabs/Tabs.d.ts.map +1 -1
  160. package/dts/tag/Tag.d.ts +7 -41
  161. package/dts/tag/Tag.d.ts.map +1 -1
  162. package/dts/tour/DefaultTourStepArrow.d.ts +9 -2
  163. package/dts/tour/DefaultTourStepArrow.d.ts.map +1 -1
  164. package/dts/tour/Tour.d.ts +5 -5
  165. package/dts/tour/Tour.d.ts.map +1 -1
  166. package/dts/typography/Text.d.ts +89 -66
  167. package/dts/typography/Text.d.ts.map +1 -1
  168. package/dts/typography/TextBody.d.ts +8 -22
  169. package/dts/typography/TextBody.d.ts.map +1 -1
  170. package/dts/typography/TextCaption.d.ts +8 -22
  171. package/dts/typography/TextCaption.d.ts.map +1 -1
  172. package/dts/typography/TextDisplay1.d.ts +9 -22
  173. package/dts/typography/TextDisplay1.d.ts.map +1 -1
  174. package/dts/typography/TextDisplay2.d.ts +9 -22
  175. package/dts/typography/TextDisplay2.d.ts.map +1 -1
  176. package/dts/typography/TextDisplay3.d.ts +9 -22
  177. package/dts/typography/TextDisplay3.d.ts.map +1 -1
  178. package/dts/typography/TextFallback.d.ts.map +1 -1
  179. package/dts/typography/TextHeadline.d.ts +8 -22
  180. package/dts/typography/TextHeadline.d.ts.map +1 -1
  181. package/dts/typography/TextInherited.d.ts +8 -22
  182. package/dts/typography/TextInherited.d.ts.map +1 -1
  183. package/dts/typography/TextLabel1.d.ts +8 -22
  184. package/dts/typography/TextLabel1.d.ts.map +1 -1
  185. package/dts/typography/TextLabel2.d.ts +8 -22
  186. package/dts/typography/TextLabel2.d.ts.map +1 -1
  187. package/dts/typography/TextLegal.d.ts +8 -22
  188. package/dts/typography/TextLegal.d.ts.map +1 -1
  189. package/dts/typography/TextTitle1.d.ts +9 -22
  190. package/dts/typography/TextTitle1.d.ts.map +1 -1
  191. package/dts/typography/TextTitle2.d.ts +9 -22
  192. package/dts/typography/TextTitle2.d.ts.map +1 -1
  193. package/dts/typography/TextTitle3.d.ts +8 -22
  194. package/dts/typography/TextTitle3.d.ts.map +1 -1
  195. package/dts/typography/TextTitle4.d.ts +8 -22
  196. package/dts/typography/TextTitle4.d.ts.map +1 -1
  197. package/dts/typography/index.d.ts +1 -1
  198. package/dts/typography/index.d.ts.map +1 -1
  199. package/dts/visualizations/ProgressBar.d.ts +7 -37
  200. package/dts/visualizations/ProgressBar.d.ts.map +1 -1
  201. package/dts/visualizations/ProgressCircle.d.ts +7 -55
  202. package/dts/visualizations/ProgressCircle.d.ts.map +1 -1
  203. package/dts/visualizations/ProgressIndicator.d.ts +3 -2
  204. package/dts/visualizations/ProgressIndicator.d.ts.map +1 -1
  205. package/dts/visualizations/chart/CartesianChart.d.ts +32 -94
  206. package/dts/visualizations/chart/CartesianChart.d.ts.map +1 -1
  207. package/dts/visualizations/chart/PeriodSelector.d.ts +27 -61
  208. package/dts/visualizations/chart/PeriodSelector.d.ts.map +1 -1
  209. package/dts/visualizations/chart/area/AreaChart.d.ts +26 -59
  210. package/dts/visualizations/chart/area/AreaChart.d.ts.map +1 -1
  211. package/dts/visualizations/chart/bar/BarChart.d.ts +28 -74
  212. package/dts/visualizations/chart/bar/BarChart.d.ts.map +1 -1
  213. package/dts/visualizations/chart/bar/PercentageBarChart.d.ts +16 -44
  214. package/dts/visualizations/chart/bar/PercentageBarChart.d.ts.map +1 -1
  215. package/dts/visualizations/chart/legend/Legend.d.ts +19 -48
  216. package/dts/visualizations/chart/legend/Legend.d.ts.map +1 -1
  217. package/dts/visualizations/chart/line/LineChart.d.ts +29 -53
  218. package/dts/visualizations/chart/line/LineChart.d.ts.map +1 -1
  219. package/dts/visualizations/chart/scrubber/DefaultScrubberBeacon.d.ts +18 -21
  220. package/dts/visualizations/chart/scrubber/DefaultScrubberBeacon.d.ts.map +1 -1
  221. package/dts/visualizations/chart/scrubber/Scrubber.d.ts +28 -87
  222. package/dts/visualizations/chart/scrubber/Scrubber.d.ts.map +1 -1
  223. package/dts/visualizations/chart/scrubber/ScrubberBeaconGroup.d.ts +11 -17
  224. package/dts/visualizations/chart/scrubber/ScrubberBeaconGroup.d.ts.map +1 -1
  225. package/dts/visualizations/sparkline/Sparkline.d.ts +15 -30
  226. package/dts/visualizations/sparkline/Sparkline.d.ts.map +1 -1
  227. package/dts/visualizations/sparkline/SparklineArea.d.ts +9 -2
  228. package/dts/visualizations/sparkline/SparklineArea.d.ts.map +1 -1
  229. package/dts/visualizations/sparkline/SparklineGradient.d.ts +14 -14
  230. package/dts/visualizations/sparkline/SparklineGradient.d.ts.map +1 -1
  231. package/dts/visualizations/sparkline/sparkline-interactive/SparklineInteractiveHoverDate.d.ts +4 -4
  232. package/dts/visualizations/sparkline/sparkline-interactive/SparklineInteractiveHoverDate.d.ts.map +1 -1
  233. package/dts/visualizations/sparkline/sparkline-interactive/SparklineInteractivePanGestureHandler.d.ts.map +1 -1
  234. package/dts/visualizations/sparkline/sparkline-interactive-header/SparklineInteractiveHeader.d.ts +18 -28
  235. package/dts/visualizations/sparkline/sparkline-interactive-header/SparklineInteractiveHeader.d.ts.map +1 -1
  236. package/esm/accordion/AccordionHeader.js +4 -3
  237. package/esm/accordion/AccordionPanel.js +4 -3
  238. package/esm/alpha/carousel/Carousel.js +5 -4
  239. package/esm/alpha/combobox/Combobox.js +12 -7
  240. package/esm/alpha/data-card/DataCard.js +5 -4
  241. package/esm/alpha/select/DefaultSelectAllOption.js +4 -3
  242. package/esm/alpha/select/DefaultSelectControl.js +5 -4
  243. package/esm/alpha/select/DefaultSelectDropdown.js +5 -4
  244. package/esm/alpha/select/DefaultSelectEmptyDropdownContents.js +4 -3
  245. package/esm/alpha/select/DefaultSelectOption.js +4 -4
  246. package/esm/alpha/select/Select.js +60 -53
  247. package/esm/alpha/select-chip/SelectChip.js +10 -5
  248. package/esm/alpha/select-chip/SelectChipControl.js +4 -3
  249. package/esm/alpha/tabbed-chips/TabbedChips.js +10 -5
  250. package/esm/animation/Lottie.js +9 -7
  251. package/esm/banner/Banner.js +10 -5
  252. package/esm/buttons/Button.js +10 -5
  253. package/esm/buttons/DefaultSlideButtonBackground.js +4 -3
  254. package/esm/buttons/DefaultSlideButtonHandle.js +5 -4
  255. package/esm/buttons/IconButton.js +10 -5
  256. package/esm/buttons/IconCounterButton.js +10 -5
  257. package/esm/buttons/SlideButton.js +14 -9
  258. package/esm/cards/CardGroup.js +5 -4
  259. package/esm/cards/CardRoot.js +5 -4
  260. package/esm/cards/ContentCard/ContentCard.js +5 -4
  261. package/esm/cards/ContentCard/ContentCardBody.js +5 -4
  262. package/esm/cards/ContentCard/ContentCardFooter.js +5 -4
  263. package/esm/cards/ContentCard/ContentCardHeader.js +5 -4
  264. package/esm/cards/MediaCard/index.js +5 -4
  265. package/esm/cards/MessagingCard/index.js +5 -4
  266. package/esm/carousel/Carousel.js +14 -9
  267. package/esm/chips/Chip.js +10 -5
  268. package/esm/chips/InputChip.js +10 -5
  269. package/esm/chips/MediaChip.js +10 -5
  270. package/esm/chips/SelectChip.js +5 -4
  271. package/esm/chips/TabbedChips.js +10 -5
  272. package/esm/coachmark/Coachmark.js +10 -5
  273. package/esm/collapsible/Collapsible.js +14 -8
  274. package/esm/controls/Checkbox.js +11 -7
  275. package/esm/controls/CheckboxCell.js +10 -5
  276. package/esm/controls/CheckboxGroup.js +6 -6
  277. package/esm/controls/Control.js +13 -9
  278. package/esm/controls/ControlGroup.js +10 -5
  279. package/esm/controls/InputIconButton.js +5 -4
  280. package/esm/controls/NativeInput.js +5 -4
  281. package/esm/controls/Radio.js +11 -7
  282. package/esm/controls/RadioCell.js +10 -5
  283. package/esm/controls/RadioGroup.js +6 -6
  284. package/esm/controls/SearchInput.js +10 -5
  285. package/esm/controls/Select.js +4 -3
  286. package/esm/controls/Switch.js +10 -5
  287. package/esm/controls/TextInput.js +10 -5
  288. package/esm/dates/Calendar.js +19 -12
  289. package/esm/dates/DateInput.js +10 -5
  290. package/esm/dates/DatePicker.js +12 -7
  291. package/esm/examples/ExampleScreen.js +4 -3
  292. package/esm/layout/Box.js +5 -4
  293. package/esm/layout/Group.js +5 -4
  294. package/esm/layout/HStack.js +5 -4
  295. package/esm/layout/VStack.js +5 -4
  296. package/esm/media/Carousel/Carousel.js +5 -4
  297. package/esm/motion/ColorSurge.js +4 -3
  298. package/esm/motion/Pulse.js +4 -3
  299. package/esm/motion/Shake.js +4 -3
  300. package/esm/multi-content-module/MultiContentModule.js +5 -4
  301. package/esm/numbers/RollingNumber/DefaultRollingNumberAffixSection.js +5 -4
  302. package/esm/numbers/RollingNumber/DefaultRollingNumberDigit.js +5 -4
  303. package/esm/numbers/RollingNumber/DefaultRollingNumberMask.js +5 -4
  304. package/esm/numbers/RollingNumber/DefaultRollingNumberSymbol.js +5 -4
  305. package/esm/numbers/RollingNumber/DefaultRollingNumberValueSection.js +5 -4
  306. package/esm/numbers/RollingNumber/RollingNumber.js +10 -5
  307. package/esm/numpad/Numpad.js +12 -7
  308. package/esm/overlays/Alert.js +11 -5
  309. package/esm/overlays/Toast.js +16 -11
  310. package/esm/overlays/drawer/Drawer.js +16 -11
  311. package/esm/overlays/modal/Modal.js +12 -7
  312. package/esm/overlays/tray/Tray.js +18 -13
  313. package/esm/page/PageFooter.js +10 -5
  314. package/esm/page/PageHeader.js +10 -5
  315. package/esm/section-header/SectionHeader.js +5 -4
  316. package/esm/stepper/Stepper.js +16 -11
  317. package/esm/sticky-footer/StickyFooter.js +5 -4
  318. package/esm/system/Pressable.js +5 -4
  319. package/esm/tabs/DefaultTab.js +5 -4
  320. package/esm/tabs/SegmentedTab.js +10 -5
  321. package/esm/tabs/SegmentedTabs.js +10 -5
  322. package/esm/tabs/TabIndicator.js +5 -4
  323. package/esm/tabs/TabNavigation.js +5 -4
  324. package/esm/tabs/Tabs.js +16 -11
  325. package/esm/tag/Tag.js +10 -5
  326. package/esm/tour/DefaultTourStepArrow.js +4 -3
  327. package/esm/tour/Tour.js +5 -1
  328. package/esm/typography/Text.js +5 -4
  329. package/esm/typography/TextBody.js +5 -4
  330. package/esm/typography/TextCaption.js +5 -4
  331. package/esm/typography/TextDisplay1.js +5 -4
  332. package/esm/typography/TextDisplay2.js +5 -4
  333. package/esm/typography/TextDisplay3.js +5 -4
  334. package/esm/typography/TextFallback.js +5 -4
  335. package/esm/typography/TextHeadline.js +5 -4
  336. package/esm/typography/TextInherited.js +5 -4
  337. package/esm/typography/TextLabel1.js +5 -4
  338. package/esm/typography/TextLabel2.js +5 -4
  339. package/esm/typography/TextLegal.js +5 -4
  340. package/esm/typography/TextTitle1.js +5 -4
  341. package/esm/typography/TextTitle2.js +5 -4
  342. package/esm/typography/TextTitle3.js +5 -4
  343. package/esm/typography/TextTitle4.js +5 -4
  344. package/esm/typography/index.js +1 -1
  345. package/esm/visualizations/ProgressBar.js +11 -5
  346. package/esm/visualizations/ProgressCircle.js +11 -5
  347. package/esm/visualizations/ProgressIndicator.js +5 -4
  348. package/esm/visualizations/chart/CartesianChart.js +5 -4
  349. package/esm/visualizations/chart/PeriodSelector.js +22 -13
  350. package/esm/visualizations/chart/__stories__/ChartAccessibility.stories.js +5 -4
  351. package/esm/visualizations/chart/__stories__/PeriodSelector.stories.js +9 -7
  352. package/esm/visualizations/chart/area/AreaChart.js +5 -4
  353. package/esm/visualizations/chart/bar/BarChart.js +5 -4
  354. package/esm/visualizations/chart/bar/PercentageBarChart.js +5 -4
  355. package/esm/visualizations/chart/legend/Legend.js +5 -4
  356. package/esm/visualizations/chart/line/LineChart.js +5 -4
  357. package/esm/visualizations/chart/line/__stories__/LineChart.stories.js +5 -4
  358. package/esm/visualizations/chart/scrubber/DefaultScrubberBeacon.js +4 -3
  359. package/esm/visualizations/chart/scrubber/Scrubber.js +4 -3
  360. package/esm/visualizations/chart/scrubber/ScrubberBeaconGroup.js +4 -3
  361. package/esm/visualizations/sparkline/Sparkline.js +4 -3
  362. package/esm/visualizations/sparkline/SparklineArea.js +4 -3
  363. package/esm/visualizations/sparkline/SparklineGradient.js +4 -3
  364. package/esm/visualizations/sparkline/sparkline-interactive/SparklineInteractiveHoverDate.js +4 -3
  365. package/esm/visualizations/sparkline/sparkline-interactive/SparklineInteractivePanGestureHandler.js +1 -2
  366. package/esm/visualizations/sparkline/sparkline-interactive-header/SparklineInteractiveHeader.js +7 -5
  367. package/package.json +2 -2
@@ -1,9 +1,9 @@
1
1
  const _excluded = ["dataX", "dataY"],
2
- _excluded2 = ["label"],
2
+ _excluded2 = ["ref", "label"],
3
3
  _excluded3 = ["style"];
4
4
  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; }
5
5
  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); }
6
- import { forwardRef, memo, useCallback, useEffect, useMemo, useRef, useState } from 'react';
6
+ import { memo, useCallback, useEffect, useMemo, useRef, useState } from 'react';
7
7
  import { useAnimatedReaction, useDerivedValue, useSharedValue, withDelay, withTiming } from 'react-native-reanimated';
8
8
  import { assets, ethBackground } from '@coinbase/cds-common/internal/data/assets';
9
9
  import { prices } from '@coinbase/cds-common/internal/data/prices';
@@ -823,8 +823,9 @@ function AssetPriceWithDottedArea() {
823
823
  // Register system fonts if available, otherwise Skia will use defaults
824
824
  return fontProvider;
825
825
  }, []);
826
- const BTCTab = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref8, ref) => {
826
+ const BTCTab = /*#__PURE__*/memo(_ref8 => {
827
827
  let {
828
+ ref,
828
829
  label
829
830
  } = _ref8,
830
831
  props = _objectWithoutPropertiesLoose(_ref8, _excluded2);
@@ -842,7 +843,7 @@ function AssetPriceWithDottedArea() {
842
843
  children: label
843
844
  })
844
845
  }, props));
845
- }));
846
+ });
846
847
  const BTCActiveIndicator = /*#__PURE__*/memo(_ref9 => {
847
848
  let {
848
849
  style
@@ -1,4 +1,4 @@
1
- import { forwardRef, memo, useEffect, useImperativeHandle, useMemo } from 'react';
1
+ import { memo, useEffect, useImperativeHandle, useMemo } from 'react';
2
2
  import { cancelAnimation, Easing, useAnimatedReaction, useDerivedValue, useSharedValue, withDelay, withRepeat, withSequence, withTiming } from 'react-native-reanimated';
3
3
  import { Circle, Group } from '@shopify/react-native-skia';
4
4
  import { useTheme } from '../../../hooks/useTheme';
@@ -19,8 +19,9 @@ const defaultPulseTransition = {
19
19
  easing: Easing.bezier(0.0, 0.0, 0.0, 1.0)
20
20
  };
21
21
  const defaultPulseRepeatDelay = 400;
22
- export const DefaultScrubberBeacon = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, ref) => {
22
+ export const DefaultScrubberBeacon = /*#__PURE__*/memo(_ref => {
23
23
  let {
24
+ ref,
24
25
  seriesId,
25
26
  color: colorProp,
26
27
  dataX,
@@ -179,4 +180,4 @@ export const DefaultScrubberBeacon = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((
179
180
  r: radius - strokeWidth / 2
180
181
  })]
181
182
  });
182
- }));
183
+ });
@@ -1,5 +1,5 @@
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, { forwardRef, memo, useCallback, useEffect, useImperativeHandle, useMemo } from 'react';
2
+ import React, { memo, useCallback, useEffect, useImperativeHandle, useMemo } from 'react';
3
3
  import { runOnJS, useAnimatedReaction, useDerivedValue, useSharedValue } from 'react-native-reanimated';
4
4
  import { Group, Paint, Rect } from '@shopify/react-native-skia';
5
5
  import { useTheme } from '../../../hooks/useTheme';
@@ -16,8 +16,9 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
16
16
  /**
17
17
  * Unified component that manages all scrubber elements (beacons, line, labels).
18
18
  */
19
- export const Scrubber = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, ref) => {
19
+ export const Scrubber = /*#__PURE__*/memo(_ref => {
20
20
  let {
21
+ ref,
21
22
  seriesIds,
22
23
  hideBeaconLabels,
23
24
  hideLine,
@@ -198,4 +199,4 @@ export const Scrubber = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, ref) =>
198
199
  transitions: transitions
199
200
  })]
200
201
  });
201
- }));
202
+ });
@@ -1,4 +1,4 @@
1
- import { forwardRef, memo, useCallback, useImperativeHandle, useMemo } from 'react';
1
+ import { memo, useCallback, useImperativeHandle, useMemo } from 'react';
2
2
  import { useDerivedValue } from 'react-native-reanimated';
3
3
  import { useRefMap } from '@coinbase/cds-common/hooks/useRefMap';
4
4
  import { useTheme } from '../../../hooks/useTheme';
@@ -98,8 +98,9 @@ const BeaconWithData = /*#__PURE__*/memo(_ref => {
98
98
  transitions: transitions
99
99
  });
100
100
  });
101
- export const ScrubberBeaconGroup = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref2, ref) => {
101
+ export const ScrubberBeaconGroup = /*#__PURE__*/memo(_ref2 => {
102
102
  let {
103
+ ref,
103
104
  seriesIds,
104
105
  idlePulse,
105
106
  transitions,
@@ -167,4 +168,4 @@ export const ScrubberBeaconGroup = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_r
167
168
  stroke: stroke,
168
169
  transitions: transitions
169
170
  }, s.id));
170
- }));
171
+ });
@@ -1,5 +1,5 @@
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, { forwardRef, memo, useMemo, useRef } from 'react';
2
+ import React, { memo, useMemo, useRef } from 'react';
3
3
  import { Defs, G, LinearGradient, Mask, Path, Rect, Stop, Svg } from 'react-native-svg';
4
4
  import { getAccessibleForegroundGradient } from '@coinbase/cds-common/color/getAccessibleForegroundGradient';
5
5
  import { borderWidth } from '@coinbase/cds-common/tokens/sparkline';
@@ -15,8 +15,9 @@ import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-run
15
15
  * @deprecated Use LineChart instead. This will be removed in a future major release.
16
16
  * @deprecationExpectedRemoval v4
17
17
  */
18
- export const Sparkline = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, ref) => {
18
+ export const Sparkline = /*#__PURE__*/memo(_ref => {
19
19
  let {
20
+ ref,
20
21
  background,
21
22
  color,
22
23
  height,
@@ -161,5 +162,5 @@ export const Sparkline = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, ref) =
161
162
  }), generateSparklineAreaWithId(patternId.current, children, fillType === 'gradientDotted' ? maskId : undefined)]
162
163
  }))]
163
164
  });
164
- }));
165
+ });
165
166
  Sparkline.displayName = 'Sparkline';
@@ -1,12 +1,13 @@
1
- import React, { forwardRef, memo } from 'react';
1
+ import React, { memo } from 'react';
2
2
  import { Path } from 'react-native-svg';
3
3
  import { jsx as _jsx } from "react/jsx-runtime";
4
4
  /**
5
5
  * @deprecated Use AreaChart instead. This will be removed in a future major release.
6
6
  * @deprecationExpectedRemoval v4
7
7
  */
8
- export const SparklineArea = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, ref) => {
8
+ export const SparklineArea = /*#__PURE__*/memo(_ref => {
9
9
  let {
10
+ ref,
10
11
  area,
11
12
  patternId,
12
13
  maskId
@@ -17,4 +18,4 @@ export const SparklineArea = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, re
17
18
  fill: "url(#" + patternId + ")",
18
19
  mask: maskId ? "url(#" + maskId + ")" : undefined
19
20
  });
20
- }));
21
+ });
@@ -1,5 +1,5 @@
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, { forwardRef, memo, useMemo, useRef } from 'react';
2
+ import React, { memo, useMemo, useRef } from 'react';
3
3
  import { Defs, G, LinearGradient, Path, Stop, Svg } from 'react-native-svg';
4
4
  import { getAccessibleForegroundGradient } from '@coinbase/cds-common/color/getAccessibleForegroundGradient';
5
5
  import { borderWidth } from '@coinbase/cds-common/tokens/sparkline';
@@ -15,8 +15,9 @@ import { SparklineAreaPattern } from './SparklineAreaPattern';
15
15
  * @deprecationExpectedRemoval v4
16
16
  */
17
17
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
18
- export const SparklineGradient = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, ref) => {
18
+ export const SparklineGradient = /*#__PURE__*/memo(_ref => {
19
19
  let {
20
+ ref,
20
21
  background,
21
22
  color,
22
23
  path,
@@ -73,5 +74,5 @@ export const SparklineGradient = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref
73
74
  }), generateSparklineAreaWithId(patternId.current, children)]
74
75
  }))]
75
76
  });
76
- }));
77
+ });
77
78
  SparklineGradient.displayName = 'SparklineGradient';
@@ -1,5 +1,5 @@
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, { forwardRef, useImperativeHandle, useMemo, useRef } from 'react';
2
+ import React, { useImperativeHandle, useMemo, useRef } from 'react';
3
3
  import { Animated, StyleSheet, TextInput } from 'react-native';
4
4
  import { useTheme } from '../../../hooks/useTheme';
5
5
  import { useSparklineInteractiveContext } from './SparklineInteractiveProvider';
@@ -27,8 +27,9 @@ const styles = StyleSheet.create({
27
27
  }
28
28
  });
29
29
  const MAX_MEASURE_ITERATIONS = 5;
30
- const SparklineInteractiveHoverDateWithGeneric = /*#__PURE__*/forwardRef((_ref, ref) => {
30
+ const SparklineInteractiveHoverDateWithGeneric = _ref => {
31
31
  let {
32
+ ref,
32
33
  formatHoverDate,
33
34
  shouldTakeUpHeight
34
35
  } = _ref;
@@ -127,5 +128,5 @@ const SparklineInteractiveHoverDateWithGeneric = /*#__PURE__*/forwardRef((_ref,
127
128
  })
128
129
  })
129
130
  });
130
- });
131
+ };
131
132
  export const SparklineInteractiveHoverDate = SparklineInteractiveHoverDateWithGeneric;
@@ -10,8 +10,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
10
10
  const {
11
11
  lightImpact
12
12
  } = Haptics;
13
- // Generics do not work with React.memo or forwardRef
14
- // https://stackoverflow.com/questions/58469229/react-with-typescript-generics-while-using-react-forwardref/58473012
13
+ // Generics do not work with React.memo
15
14
  export const SparklineInteractivePanGestureHandler = function SparklineInteractivePanGestureHandler(_ref) {
16
15
  let {
17
16
  onScrubEnd = noop,
@@ -1,5 +1,5 @@
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, { forwardRef, memo, useCallback, useImperativeHandle, useRef } from 'react';
2
+ import React, { memo, useCallback, useImperativeHandle, useRef } from 'react';
3
3
  import { TextInput, View } from 'react-native';
4
4
  import { subheadIconSignMap } from '@coinbase/cds-common/tokens/sparkline';
5
5
  import { HStack } from '../../../layout/HStack';
@@ -31,8 +31,9 @@ const Trailing = _ref => {
31
31
  }
32
32
  return null;
33
33
  };
34
- const SparklineInteractiveHeaderStable = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref2, forwardedRef) => {
34
+ const SparklineInteractiveHeaderStable = /*#__PURE__*/memo(_ref2 => {
35
35
  let {
36
+ ref: forwardedRef,
36
37
  defaultLabel,
37
38
  defaultTitle,
38
39
  defaultSubHead,
@@ -207,9 +208,10 @@ const SparklineInteractiveHeaderStable = /*#__PURE__*/memo(/*#__PURE__*/forwardR
207
208
  children: trailing
208
209
  })]
209
210
  });
210
- }));
211
- export const SparklineInteractiveHeader = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref4, ref) => {
211
+ });
212
+ export const SparklineInteractiveHeader = /*#__PURE__*/memo(_ref4 => {
212
213
  let {
214
+ ref,
213
215
  defaultLabel,
214
216
  defaultTitle,
215
217
  defaultSubHead,
@@ -231,4 +233,4 @@ export const SparklineInteractiveHeader = /*#__PURE__*/memo(/*#__PURE__*/forward
231
233
  testID: testID,
232
234
  trailing: trailing
233
235
  });
234
- }));
236
+ });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coinbase/cds-mobile",
3
- "version": "9.6.0",
3
+ "version": "9.6.2",
4
4
  "description": "Coinbase Design System - Mobile",
5
5
  "repository": {
6
6
  "type": "git",
@@ -206,7 +206,7 @@
206
206
  "react-native-worklets": "0.5.2"
207
207
  },
208
208
  "dependencies": {
209
- "@coinbase/cds-common": "^9.6.0",
209
+ "@coinbase/cds-common": "^9.6.2",
210
210
  "@coinbase/cds-icons": "^5.20.0",
211
211
  "@coinbase/cds-illustrations": "^4.44.0",
212
212
  "@coinbase/cds-lottie-files": "^3.3.4",