@coinbase/cds-mobile 9.6.1 → 9.6.3

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/drawer/useDrawerPanResponder.d.ts.map +1 -1
  138. package/dts/overlays/modal/Modal.d.ts +7 -24
  139. package/dts/overlays/modal/Modal.d.ts.map +1 -1
  140. package/dts/overlays/tray/Tray.d.ts +3 -1
  141. package/dts/overlays/tray/Tray.d.ts.map +1 -1
  142. package/dts/page/PageFooter.d.ts +7 -33
  143. package/dts/page/PageFooter.d.ts.map +1 -1
  144. package/dts/page/PageHeader.d.ts +7 -48
  145. package/dts/page/PageHeader.d.ts.map +1 -1
  146. package/dts/section-header/SectionHeader.d.ts +3 -2
  147. package/dts/section-header/SectionHeader.d.ts.map +1 -1
  148. package/dts/stepper/Stepper.d.ts.map +1 -1
  149. package/dts/sticky-footer/StickyFooter.d.ts +17 -31
  150. package/dts/sticky-footer/StickyFooter.d.ts.map +1 -1
  151. package/dts/system/Pressable.d.ts +3 -2
  152. package/dts/system/Pressable.d.ts.map +1 -1
  153. package/dts/tabs/DefaultTab.d.ts +18 -17
  154. package/dts/tabs/DefaultTab.d.ts.map +1 -1
  155. package/dts/tabs/SegmentedTab.d.ts.map +1 -1
  156. package/dts/tabs/SegmentedTabs.d.ts.map +1 -1
  157. package/dts/tabs/TabIndicator.d.ts +11 -11
  158. package/dts/tabs/TabIndicator.d.ts.map +1 -1
  159. package/dts/tabs/TabNavigation.d.ts.map +1 -1
  160. package/dts/tabs/Tabs.d.ts.map +1 -1
  161. package/dts/tag/Tag.d.ts +7 -41
  162. package/dts/tag/Tag.d.ts.map +1 -1
  163. package/dts/tour/DefaultTourStepArrow.d.ts +9 -2
  164. package/dts/tour/DefaultTourStepArrow.d.ts.map +1 -1
  165. package/dts/tour/Tour.d.ts +5 -5
  166. package/dts/tour/Tour.d.ts.map +1 -1
  167. package/dts/typography/Text.d.ts +89 -66
  168. package/dts/typography/Text.d.ts.map +1 -1
  169. package/dts/typography/TextBody.d.ts +8 -22
  170. package/dts/typography/TextBody.d.ts.map +1 -1
  171. package/dts/typography/TextCaption.d.ts +8 -22
  172. package/dts/typography/TextCaption.d.ts.map +1 -1
  173. package/dts/typography/TextDisplay1.d.ts +9 -22
  174. package/dts/typography/TextDisplay1.d.ts.map +1 -1
  175. package/dts/typography/TextDisplay2.d.ts +9 -22
  176. package/dts/typography/TextDisplay2.d.ts.map +1 -1
  177. package/dts/typography/TextDisplay3.d.ts +9 -22
  178. package/dts/typography/TextDisplay3.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/drawer/useDrawerPanResponder.js +7 -0
  312. package/esm/overlays/modal/Modal.js +12 -7
  313. package/esm/overlays/tray/Tray.js +18 -13
  314. package/esm/page/PageFooter.js +10 -5
  315. package/esm/page/PageHeader.js +10 -5
  316. package/esm/section-header/SectionHeader.js +5 -4
  317. package/esm/stepper/Stepper.js +16 -11
  318. package/esm/sticky-footer/StickyFooter.js +5 -4
  319. package/esm/system/Pressable.js +5 -4
  320. package/esm/tabs/DefaultTab.js +5 -4
  321. package/esm/tabs/SegmentedTab.js +10 -5
  322. package/esm/tabs/SegmentedTabs.js +10 -5
  323. package/esm/tabs/TabIndicator.js +5 -4
  324. package/esm/tabs/TabNavigation.js +5 -4
  325. package/esm/tabs/Tabs.js +16 -11
  326. package/esm/tag/Tag.js +10 -5
  327. package/esm/tour/DefaultTourStepArrow.js +4 -3
  328. package/esm/tour/Tour.js +5 -1
  329. package/esm/typography/Text.js +5 -4
  330. package/esm/typography/TextBody.js +5 -4
  331. package/esm/typography/TextCaption.js +5 -4
  332. package/esm/typography/TextDisplay1.js +5 -4
  333. package/esm/typography/TextDisplay2.js +5 -4
  334. package/esm/typography/TextDisplay3.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,15 +1,16 @@
1
- const _excluded = ["children", "disabled", "background", "block", "borderColor", "borderRadius", "borderWidth", "elevation", "contentStyle", "wrapperStyles", "blendStyles", "transparentWhileInactive", "transparentWhilePressed", "pin", "bordered", "borderedTop", "borderedBottom", "borderedStart", "borderedEnd", "borderedHorizontal", "borderedVertical", "dangerouslySetBackground", "display", "position", "overflow", "zIndex", "gap", "columnGap", "rowGap", "justifyContent", "alignContent", "alignItems", "alignSelf", "flexDirection", "flexWrap", "color", "borderTopLeftRadius", "borderTopRightRadius", "borderBottomLeftRadius", "borderBottomRightRadius", "borderTopWidth", "borderEndWidth", "borderBottomWidth", "borderStartWidth", "font", "fontFamily", "fontSize", "fontWeight", "lineHeight", "textAlign", "textDecorationStyle", "textDecorationLine", "textTransform", "padding", "paddingX", "paddingY", "paddingTop", "paddingBottom", "paddingStart", "paddingEnd", "margin", "marginX", "marginY", "marginTop", "marginBottom", "marginStart", "marginEnd", "userSelect", "width", "height", "minWidth", "minHeight", "maxWidth", "maxHeight", "aspectRatio", "top", "bottom", "left", "right", "transform", "flexBasis", "flexShrink", "flexGrow", "opacity", "disableDebounce", "feedback", "loading", "onPress", "onPressIn", "onPressOut", "noScaleOnPress", "style", "eventConfig", "analyticsId", "debounceTime", "testID"];
1
+ const _excluded = ["ref", "children", "disabled", "background", "block", "borderColor", "borderRadius", "borderWidth", "elevation", "contentStyle", "wrapperStyles", "blendStyles", "transparentWhileInactive", "transparentWhilePressed", "pin", "bordered", "borderedTop", "borderedBottom", "borderedStart", "borderedEnd", "borderedHorizontal", "borderedVertical", "dangerouslySetBackground", "display", "position", "overflow", "zIndex", "gap", "columnGap", "rowGap", "justifyContent", "alignContent", "alignItems", "alignSelf", "flexDirection", "flexWrap", "color", "borderTopLeftRadius", "borderTopRightRadius", "borderBottomLeftRadius", "borderBottomRightRadius", "borderTopWidth", "borderEndWidth", "borderBottomWidth", "borderStartWidth", "font", "fontFamily", "fontSize", "fontWeight", "lineHeight", "textAlign", "textDecorationStyle", "textDecorationLine", "textTransform", "padding", "paddingX", "paddingY", "paddingTop", "paddingBottom", "paddingStart", "paddingEnd", "margin", "marginX", "marginY", "marginTop", "marginBottom", "marginStart", "marginEnd", "userSelect", "width", "height", "minWidth", "minHeight", "maxWidth", "maxHeight", "aspectRatio", "top", "bottom", "left", "right", "transform", "flexBasis", "flexShrink", "flexGrow", "opacity", "disableDebounce", "feedback", "loading", "onPress", "onPressIn", "onPressOut", "noScaleOnPress", "style", "eventConfig", "analyticsId", "debounceTime", "testID"];
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
- import React, { forwardRef, memo, useCallback, useMemo, useRef, useState } from 'react';
4
+ import React, { memo, useCallback, useMemo, useRef, useState } from 'react';
5
5
  import { Pressable as NativePressable } from 'react-native';
6
6
  import { useEventHandler } from '@coinbase/cds-common/hooks/useEventHandler';
7
7
  import { usePressAnimation } from '../hooks/usePressAnimation';
8
8
  import { Haptics } from '../utils/haptics';
9
9
  import { Interactable } from './Interactable';
10
10
  import { jsx as _jsx } from "react/jsx-runtime";
11
- export const Pressable = /*#__PURE__*/memo(/*#__PURE__*/forwardRef(function Pressable(_ref, forwardedRef) {
11
+ export const Pressable = /*#__PURE__*/memo(function Pressable(_ref) {
12
12
  let {
13
+ ref: forwardedRef,
13
14
  // Interactable
14
15
  children,
15
16
  disabled,
@@ -252,4 +253,4 @@ export const Pressable = /*#__PURE__*/memo(/*#__PURE__*/forwardRef(function Pres
252
253
  children: children
253
254
  })
254
255
  }));
255
- }));
256
+ });
@@ -1,7 +1,7 @@
1
- const _excluded = ["id", "label", "disabled", "onPress", "count", "max", "accessibilityLabel", "style", "testID", "color", "activeColor"];
1
+ const _excluded = ["ref", "id", "label", "disabled", "onPress", "count", "max", "accessibilityLabel", "style", "testID", "color", "activeColor"];
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
- import React, { forwardRef, memo, useCallback } from 'react';
4
+ import React, { memo, useCallback } from 'react';
5
5
  import { Pressable } from 'react-native';
6
6
  import { useTabsContext } from '@coinbase/cds-common/tabs/TabsContext';
7
7
  import { accessibleOpacityDisabled } from '@coinbase/cds-common/tokens/interactable';
@@ -12,8 +12,9 @@ import { Text } from '../typography/Text';
12
12
 
13
13
  /** Optional dot count and a11y overrides for the default tab row. */
14
14
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
15
- const DefaultTabComponent = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, ref) => {
15
+ const DefaultTabComponent = /*#__PURE__*/memo(_ref => {
16
16
  let {
17
+ ref,
17
18
  id,
18
19
  label,
19
20
  disabled: disabledProp,
@@ -68,6 +69,6 @@ const DefaultTabComponent = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, ref
68
69
  })]
69
70
  })
70
71
  }));
71
- }));
72
+ });
72
73
  DefaultTabComponent.displayName = 'DefaultTab';
73
74
  export const DefaultTab = DefaultTabComponent;
@@ -1,7 +1,8 @@
1
- const _excluded = ["id", "label", "disabled", "onPress", "color", "activeColor", "style", "aria-selected", "accessibilityRole", "testID", "font", "fontFamily", "fontSize", "fontWeight", "lineHeight"];
1
+ const _excluded = ["ref"],
2
+ _excluded2 = ["id", "label", "disabled", "onPress", "color", "activeColor", "style", "aria-selected", "accessibilityRole", "testID", "font", "fontFamily", "fontSize", "fontWeight", "lineHeight"];
2
3
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
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; }
4
- import React, { forwardRef, memo, useCallback, useMemo } from 'react';
5
+ import React, { memo, useCallback, useMemo } from 'react';
5
6
  import Animated, { useAnimatedStyle, useSharedValue, withSpring } from 'react-native-reanimated';
6
7
  import { useTabsContext } from '@coinbase/cds-common/tabs/TabsContext';
7
8
  import { accessibleOpacityDisabled } from '@coinbase/cds-common/tokens/interactable';
@@ -13,7 +14,11 @@ import { Text } from '../typography/Text';
13
14
  import { tabsSpringConfig } from './Tabs';
14
15
  import { jsx as _jsx } from "react/jsx-runtime";
15
16
  const AnimatedTextHeadline = Animated.createAnimatedComponent(Text);
16
- const SegmentedTabComponent = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_props, ref) => {
17
+ const SegmentedTabComponent = /*#__PURE__*/memo(_ref => {
18
+ let {
19
+ ref
20
+ } = _ref,
21
+ _props = _objectWithoutPropertiesLoose(_ref, _excluded);
17
22
  const mergedProps = useComponentConfig('SegmentedTab', _props);
18
23
  const {
19
24
  id,
@@ -32,7 +37,7 @@ const SegmentedTabComponent = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_props,
32
37
  fontWeight,
33
38
  lineHeight
34
39
  } = mergedProps,
35
- props = _objectWithoutPropertiesLoose(mergedProps, _excluded);
40
+ props = _objectWithoutPropertiesLoose(mergedProps, _excluded2);
36
41
  const {
37
42
  activeTab,
38
43
  updateActiveTab,
@@ -82,6 +87,6 @@ const SegmentedTabComponent = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_props,
82
87
  }) : label
83
88
  })
84
89
  }));
85
- }));
90
+ });
86
91
  SegmentedTabComponent.displayName = 'SegmentedTab';
87
92
  export const SegmentedTab = SegmentedTabComponent;
@@ -1,7 +1,8 @@
1
- const _excluded = ["TabComponent", "TabsActiveIndicatorComponent", "activeBackground", "background", "borderRadius"];
1
+ const _excluded = ["ref"],
2
+ _excluded2 = ["TabComponent", "TabsActiveIndicatorComponent", "activeBackground", "background", "borderRadius"];
2
3
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
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; }
4
- import React, { forwardRef, memo } from 'react';
5
+ import React, { memo } from 'react';
5
6
  import { useComponentConfig } from '../hooks/useComponentConfig';
6
7
  import { SegmentedTab } from './SegmentedTab';
7
8
  import { SegmentedTabsActiveIndicator } from './SegmentedTabsActiveIndicator';
@@ -10,7 +11,11 @@ import { Tabs } from './Tabs';
10
11
  // We do Partial/Pick to allow TabComponent and TabsActiveIndicatorComponent to be optional
11
12
  // We grab 'tabs' from the Omit allowing it to stay required
12
13
  import { jsx as _jsx } from "react/jsx-runtime";
13
- const SegmentedTabsComponent = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_props, ref) => {
14
+ const SegmentedTabsComponent = /*#__PURE__*/memo(_ref => {
15
+ let {
16
+ ref
17
+ } = _ref,
18
+ _props = _objectWithoutPropertiesLoose(_ref, _excluded);
14
19
  const mergedProps = useComponentConfig('SegmentedTabs', _props);
15
20
  const {
16
21
  TabComponent = SegmentedTab,
@@ -19,7 +24,7 @@ const SegmentedTabsComponent = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_props
19
24
  background = 'bgSecondary',
20
25
  borderRadius = 700
21
26
  } = mergedProps,
22
- props = _objectWithoutPropertiesLoose(mergedProps, _excluded);
27
+ props = _objectWithoutPropertiesLoose(mergedProps, _excluded2);
23
28
  return /*#__PURE__*/_jsx(Tabs, _extends({
24
29
  ref: ref,
25
30
  TabComponent: TabComponent,
@@ -28,6 +33,6 @@ const SegmentedTabsComponent = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_props
28
33
  background: background,
29
34
  borderRadius: borderRadius
30
35
  }, props));
31
- }));
36
+ });
32
37
  SegmentedTabsComponent.displayName = 'SegmentedTabs';
33
38
  export const SegmentedTabs = SegmentedTabsComponent;
@@ -1,15 +1,16 @@
1
- const _excluded = ["width", "x", "background", "testID"];
1
+ const _excluded = ["ref", "width", "x", "background", "testID"];
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
- import React, { forwardRef, memo } from 'react';
4
+ import React, { memo } from 'react';
5
5
  import { Animated } from 'react-native';
6
6
  import { Box } from '../layout/Box';
7
7
  import { useTabIndicatorStyles } from './hooks/useTabIndicatorStyles';
8
8
  import { jsx as _jsx } from "react/jsx-runtime";
9
9
  /** @deprecated Use DefaultTabsActiveIndicator instead. This will be removed in a future major release. */
10
10
  /** @deprecationExpectedRemoval v10 */
11
- export const TabIndicator = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, forwardedRef) => {
11
+ export const TabIndicator = /*#__PURE__*/memo(_ref => {
12
12
  let {
13
+ ref: forwardedRef,
13
14
  width,
14
15
  x,
15
16
  background = 'bg',
@@ -44,5 +45,5 @@ export const TabIndicator = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, for
44
45
  })
45
46
  })
46
47
  }));
47
- }));
48
+ });
48
49
  TabIndicator.displayName = 'TabIndicator';
@@ -1,7 +1,7 @@
1
- const _excluded = ["tabs", "value", "variant", "testID", "background", "onChange", "Component", "gap", "role"];
1
+ const _excluded = ["ref", "tabs", "value", "variant", "testID", "background", "onChange", "Component", "gap", "role"];
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
- import React, { forwardRef, memo, useCallback, useEffect, useMemo, useState } from 'react';
4
+ import React, { memo, useCallback, useEffect, useMemo, useState } from 'react';
5
5
  import { ScrollView, View } from 'react-native';
6
6
  import { isDevelopment } from '@coinbase/cds-utils';
7
7
  import { useHorizontallyScrollingPressables } from '../hooks/useHorizontallyScrollingPressables';
@@ -33,8 +33,9 @@ import { TabLabel } from './TabLabel';
33
33
  * @deprecationExpectedRemoval v10
34
34
  */
35
35
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
36
- const TabNavigationComponent = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, forwardedRef) => {
36
+ const TabNavigationComponent = /*#__PURE__*/memo(_ref => {
37
37
  let {
38
+ ref: forwardedRef,
38
39
  tabs,
39
40
  value = tabs[0].id,
40
41
  variant = 'primary',
@@ -160,7 +161,7 @@ const TabNavigationComponent = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref,
160
161
  })
161
162
  }), isScrollContentOverflowing && isScrollContentOffscreenRight ? /*#__PURE__*/_jsx(OverflowGradient, {}) : null]
162
163
  }));
163
- }));
164
+ });
164
165
 
165
166
  /**
166
167
  * TabNavigation renders a horizontal, tab-based navigation bar.
package/esm/tabs/Tabs.js CHANGED
@@ -1,10 +1,11 @@
1
1
  const _excluded = ["id", "registerRef"],
2
- _excluded2 = ["tabs", "TabComponent", "TabsActiveIndicatorComponent", "activeBackground", "color", "activeColor", "activeTab", "disabled", "onChange", "styles", "style", "role", "position", "alignSelf", "opacity", "onActiveTabElementChange", "borderRadius", "borderTopLeftRadius", "borderTopRightRadius", "borderBottomLeftRadius", "borderBottomRightRadius", "testID"],
3
- _excluded3 = ["id", "Component"],
4
- _excluded4 = ["activeTabRect", "position", "style", "testID"];
2
+ _excluded2 = ["ref"],
3
+ _excluded3 = ["tabs", "TabComponent", "TabsActiveIndicatorComponent", "activeBackground", "color", "activeColor", "activeTab", "disabled", "onChange", "styles", "style", "role", "position", "alignSelf", "opacity", "onActiveTabElementChange", "borderRadius", "borderTopLeftRadius", "borderTopRightRadius", "borderBottomLeftRadius", "borderBottomRightRadius", "testID"],
4
+ _excluded4 = ["id", "Component"],
5
+ _excluded5 = ["activeTabRect", "position", "style", "testID"];
5
6
  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
7
  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; }
7
- import React, { forwardRef, memo, useCallback, useImperativeHandle, useRef, useState } from 'react';
8
+ import React, { memo, useCallback, useImperativeHandle, useRef, useState } from 'react';
8
9
  import { View } from 'react-native';
9
10
  import Animated, { useAnimatedStyle, useSharedValue, withSpring } from 'react-native-reanimated';
10
11
  import { useRefMap } from '@coinbase/cds-common/hooks/useRefMap';
@@ -38,7 +39,11 @@ export const tabsSpringConfig = {
38
39
  damping: 10,
39
40
  overshootClamping: true
40
41
  };
41
- const TabsComponent = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_props, ref) => {
42
+ const TabsComponent = /*#__PURE__*/memo(_ref2 => {
43
+ let {
44
+ ref
45
+ } = _ref2,
46
+ _props = _objectWithoutPropertiesLoose(_ref2, _excluded2);
42
47
  const mergedProps = useComponentConfig('Tabs', _props);
43
48
  const {
44
49
  tabs,
@@ -64,7 +69,7 @@ const TabsComponent = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_props, ref) =>
64
69
  borderBottomRightRadius,
65
70
  testID
66
71
  } = mergedProps,
67
- props = _objectWithoutPropertiesLoose(mergedProps, _excluded2);
72
+ props = _objectWithoutPropertiesLoose(mergedProps, _excluded3);
68
73
  const tabsContainerRef = useRef(null);
69
74
  useImperativeHandle(ref, () => tabsContainerRef.current, []); // merge internal ref to forwarded ref
70
75
 
@@ -130,7 +135,7 @@ const TabsComponent = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_props, ref) =>
130
135
  id,
131
136
  Component: CustomTabComponent
132
137
  } = tabProps,
133
- tabRest = _objectWithoutPropertiesLoose(tabProps, _excluded3);
138
+ tabRest = _objectWithoutPropertiesLoose(tabProps, _excluded4);
134
139
  const RenderedTab = CustomTabComponent != null ? CustomTabComponent : TabComponent;
135
140
  const renderedTabProps = _extends({
136
141
  activeColor,
@@ -147,17 +152,17 @@ const TabsComponent = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_props, ref) =>
147
152
  })]
148
153
  })
149
154
  }));
150
- }));
155
+ });
151
156
  TabsComponent.displayName = 'Tabs';
152
157
  export const Tabs = TabsComponent;
153
- export const TabsActiveIndicator = _ref2 => {
158
+ export const TabsActiveIndicator = _ref3 => {
154
159
  let {
155
160
  activeTabRect,
156
161
  position = 'absolute',
157
162
  style,
158
163
  testID = 'tabs-active-indicator'
159
- } = _ref2,
160
- props = _objectWithoutPropertiesLoose(_ref2, _excluded4);
164
+ } = _ref3,
165
+ props = _objectWithoutPropertiesLoose(_ref3, _excluded5);
161
166
  const previousActiveTabRect = useRef(activeTabRect);
162
167
  const newActiveTabRect = {
163
168
  x: activeTabRect.x,
package/esm/tag/Tag.js CHANGED
@@ -1,7 +1,8 @@
1
- const _excluded = ["children", "intent", "emphasis", "colorScheme", "background", "color", "start", "startIcon", "startIconActive", "end", "endIcon", "endIconActive", "alignItems", "flexDirection", "gap", "justifyContent", "paddingX", "paddingY", "font", "fontFamily", "fontSize", "fontWeight", "lineHeight", "testID"];
1
+ const _excluded = ["ref"],
2
+ _excluded2 = ["children", "intent", "emphasis", "colorScheme", "background", "color", "start", "startIcon", "startIconActive", "end", "endIcon", "endIconActive", "alignItems", "flexDirection", "gap", "justifyContent", "paddingX", "paddingY", "font", "fontFamily", "fontSize", "fontWeight", "lineHeight", "testID"];
2
3
  function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
3
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; }
4
- import React, { forwardRef, memo } from 'react';
5
+ import React, { memo } from 'react';
5
6
  import { tagBorderRadiusMap, tagEmphasisColorMap, tagFontMap, tagHorizontalSpacing } from '@coinbase/cds-common/tokens/tags';
6
7
  import { useComponentConfig } from '../hooks/useComponentConfig';
7
8
  import { useTheme } from '../hooks/useTheme';
@@ -9,7 +10,11 @@ import { Icon } from '../icons/Icon';
9
10
  import { Box } from '../layout/Box';
10
11
  import { Text } from '../typography/Text';
11
12
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
12
- export const Tag = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_props, forwardedRef) => {
13
+ export const Tag = /*#__PURE__*/memo(_ref => {
14
+ let {
15
+ ref: forwardedRef
16
+ } = _ref,
17
+ _props = _objectWithoutPropertiesLoose(_ref, _excluded);
13
18
  const mergedProps = useComponentConfig('Tag', _props);
14
19
  const {
15
20
  children,
@@ -37,7 +42,7 @@ export const Tag = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_props, forwardedR
37
42
  lineHeight,
38
43
  testID = 'cds-tag'
39
44
  } = mergedProps,
40
- props = _objectWithoutPropertiesLoose(mergedProps, _excluded);
45
+ props = _objectWithoutPropertiesLoose(mergedProps, _excluded2);
41
46
  const theme = useTheme();
42
47
  const {
43
48
  background,
@@ -84,4 +89,4 @@ export const Tag = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_props, forwardedR
84
89
  size: "xs"
85
90
  }) : null]
86
91
  }));
87
- }));
92
+ });
@@ -1,9 +1,10 @@
1
- import React, { forwardRef, memo, useMemo } from 'react';
1
+ import React, { memo, useMemo } from 'react';
2
2
  import { Box } from '../layout/Box';
3
3
  import { jsx as _jsx } from "react/jsx-runtime";
4
- export const DefaultTourStepArrow = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, ref) => {
4
+ export const DefaultTourStepArrow = /*#__PURE__*/memo(_ref => {
5
5
  var _arrow$centerOffset;
6
6
  let {
7
+ ref,
7
8
  placement,
8
9
  arrow,
9
10
  style
@@ -34,4 +35,4 @@ export const DefaultTourStepArrow = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_
34
35
  testID: "tour-step-arrow",
35
36
  width: 24
36
37
  });
37
- }));
38
+ });
package/esm/tour/Tour.js CHANGED
@@ -49,7 +49,11 @@ const TourComponent = _props => {
49
49
  const defaultTourStepShiftPadding = theme.space[4];
50
50
  const tourStepArrowRef = useRef(null);
51
51
  const RenderedTourStep = activeTourStep == null ? void 0 : activeTourStep.Component;
52
- // activeTourStep.ArrowComponent references old, deprecated type in cds-common
52
+ // activeTourStep.ArrowComponent is typed by cds-common, which still uses the legacy
53
+ // `React.ForwardRefExoticComponent<…>` shape (kept intact because cds-web has not yet
54
+ // migrated off `React.forwardRef`). Mobile has migrated to React 19's ref-as-prop callable
55
+ // shape; runtime is equivalent under React 19. The cast also bridges the platform-agnostic
56
+ // style prop in common (`Record<string, string | number>`) with mobile's `StyleProp<ViewStyle>`.
53
57
  const RenderedTourStepArrow = (_ref = activeTourStep == null ? void 0 : activeTourStep.ArrowComponent) != null ? _ref : TourStepArrowComponent;
54
58
  const [animation, animationApi] = useSpring(() => ({
55
59
  from: {
@@ -1,7 +1,7 @@
1
- const _excluded = ["children", "style", "animated", "disabled", "mono", "underline", "tabularNumbers", "numberOfLines", "ellipsize", "noWrap", "testID", "dangerouslySetColor", "dangerouslySetBackground", "display", "position", "overflow", "zIndex", "gap", "columnGap", "rowGap", "justifyContent", "alignContent", "alignItems", "alignSelf", "flexDirection", "flexWrap", "color", "background", "borderColor", "borderTopLeftRadius", "borderTopRightRadius", "borderBottomLeftRadius", "borderBottomRightRadius", "borderTopWidth", "borderEndWidth", "borderBottomWidth", "borderStartWidth", "elevation", "borderWidth", "borderRadius", "font", "fontFamily", "fontSize", "fontWeight", "lineHeight", "align", "textDecorationStyle", "textDecorationLine", "textTransform", "padding", "paddingX", "paddingY", "paddingTop", "paddingBottom", "paddingStart", "paddingEnd", "margin", "marginX", "marginY", "marginTop", "marginBottom", "marginStart", "marginEnd", "userSelect", "width", "height", "minWidth", "minHeight", "maxWidth", "maxHeight", "aspectRatio", "top", "bottom", "left", "right", "transform", "flexBasis", "flexShrink", "flexGrow", "opacity", "renderEmptyNode", "accessibilityRole"];
1
+ const _excluded = ["ref", "children", "style", "animated", "disabled", "mono", "underline", "tabularNumbers", "numberOfLines", "ellipsize", "noWrap", "testID", "dangerouslySetColor", "dangerouslySetBackground", "display", "position", "overflow", "zIndex", "gap", "columnGap", "rowGap", "justifyContent", "alignContent", "alignItems", "alignSelf", "flexDirection", "flexWrap", "color", "background", "borderColor", "borderTopLeftRadius", "borderTopRightRadius", "borderBottomLeftRadius", "borderBottomRightRadius", "borderTopWidth", "borderEndWidth", "borderBottomWidth", "borderStartWidth", "elevation", "borderWidth", "borderRadius", "font", "fontFamily", "fontSize", "fontWeight", "lineHeight", "align", "textDecorationStyle", "textDecorationLine", "textTransform", "padding", "paddingX", "paddingY", "paddingTop", "paddingBottom", "paddingStart", "paddingEnd", "margin", "marginX", "marginY", "marginTop", "marginBottom", "marginStart", "marginEnd", "userSelect", "width", "height", "minWidth", "minHeight", "maxWidth", "maxHeight", "aspectRatio", "top", "bottom", "left", "right", "transform", "flexBasis", "flexShrink", "flexGrow", "opacity", "renderEmptyNode", "accessibilityRole"];
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
- import React, { forwardRef, memo, useMemo } from 'react';
4
+ import React, { memo, useMemo } from 'react';
5
5
  import { Animated, StyleSheet, Text as NativeText } from 'react-native';
6
6
  import { accessibleOpacityDisabled } from '@coinbase/cds-common/tokens/interactable';
7
7
  import { useTextAlign } from '../hooks/useTextAlign';
@@ -23,9 +23,10 @@ const styles = StyleSheet.create({
23
23
  }
24
24
  });
25
25
  const HEADER_FONTS = new Set(['display1', 'display2', 'display3', 'title1', 'title2']);
26
- export const Text = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, ref) => {
26
+ export const Text = /*#__PURE__*/memo(_ref => {
27
27
  var _theme$fontFamilyMono;
28
28
  let {
29
+ ref,
29
30
  children,
30
31
  style,
31
32
  animated,
@@ -204,5 +205,5 @@ export const Text = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, ref) => {
204
205
  }, props, {
205
206
  children: children
206
207
  }));
207
- }));
208
+ });
208
209
  Text.displayName = 'Text';
@@ -1,7 +1,7 @@
1
- const _excluded = ["font"];
1
+ const _excluded = ["ref", "font"];
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
- import React, { forwardRef, memo } from 'react';
4
+ import React, { memo } from 'react';
5
5
  import { Text } from './Text';
6
6
 
7
7
  /**
@@ -18,8 +18,9 @@ import { jsx as _jsx } from "react/jsx-runtime";
18
18
  * @deprecated Use `Text` with `font="body"` instead. This will be removed in a future major release.
19
19
  * @deprecationExpectedRemoval v10
20
20
  */
21
- export const TextBody = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, ref) => {
21
+ export const TextBody = /*#__PURE__*/memo(_ref => {
22
22
  let {
23
+ ref,
23
24
  font = 'body'
24
25
  } = _ref,
25
26
  props = _objectWithoutPropertiesLoose(_ref, _excluded);
@@ -27,4 +28,4 @@ export const TextBody = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, ref) =>
27
28
  ref: ref,
28
29
  font: font
29
30
  }, props));
30
- }));
31
+ });
@@ -1,7 +1,7 @@
1
- const _excluded = ["font"];
1
+ const _excluded = ["ref", "font"];
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
- import React, { forwardRef, memo } from 'react';
4
+ import React, { memo } from 'react';
5
5
  import { Text } from './Text';
6
6
 
7
7
  /**
@@ -18,8 +18,9 @@ import { jsx as _jsx } from "react/jsx-runtime";
18
18
  * @deprecated Use `Text` with `font="caption"` instead. This will be removed in a future major release.
19
19
  * @deprecationExpectedRemoval v10
20
20
  */
21
- export const TextCaption = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, ref) => {
21
+ export const TextCaption = /*#__PURE__*/memo(_ref => {
22
22
  let {
23
+ ref,
23
24
  font = 'caption'
24
25
  } = _ref,
25
26
  props = _objectWithoutPropertiesLoose(_ref, _excluded);
@@ -27,4 +28,4 @@ export const TextCaption = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, ref)
27
28
  ref: ref,
28
29
  font: font
29
30
  }, props));
30
- }));
31
+ });
@@ -1,7 +1,7 @@
1
- const _excluded = ["accessibilityRole", "font"];
1
+ const _excluded = ["ref", "accessibilityRole", "font"];
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
- import React, { forwardRef, memo } from 'react';
4
+ import React, { memo } from 'react';
5
5
  import { Text } from './Text';
6
6
 
7
7
  /**
@@ -18,8 +18,9 @@ import { jsx as _jsx } from "react/jsx-runtime";
18
18
  * @deprecated Use `Text` with `font="display1"` instead. This will be removed in a future major release.
19
19
  * @deprecationExpectedRemoval v10
20
20
  */
21
- export const TextDisplay1 = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, ref) => {
21
+ export const TextDisplay1 = /*#__PURE__*/memo(_ref => {
22
22
  let {
23
+ ref,
23
24
  accessibilityRole = 'header',
24
25
  font = 'display1'
25
26
  } = _ref,
@@ -29,4 +30,4 @@ export const TextDisplay1 = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, ref
29
30
  accessibilityRole: accessibilityRole,
30
31
  font: font
31
32
  }, props));
32
- }));
33
+ });
@@ -1,7 +1,7 @@
1
- const _excluded = ["accessibilityRole", "font"];
1
+ const _excluded = ["ref", "accessibilityRole", "font"];
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
- import React, { forwardRef, memo } from 'react';
4
+ import React, { memo } from 'react';
5
5
  import { Text } from './Text';
6
6
 
7
7
  /**
@@ -18,8 +18,9 @@ import { jsx as _jsx } from "react/jsx-runtime";
18
18
  * @deprecated Use `Text` with `font="display2"` instead. This will be removed in a future major release.
19
19
  * @deprecationExpectedRemoval v10
20
20
  */
21
- export const TextDisplay2 = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, ref) => {
21
+ export const TextDisplay2 = /*#__PURE__*/memo(_ref => {
22
22
  let {
23
+ ref,
23
24
  accessibilityRole = 'header',
24
25
  font = 'display2'
25
26
  } = _ref,
@@ -29,4 +30,4 @@ export const TextDisplay2 = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, ref
29
30
  accessibilityRole: accessibilityRole,
30
31
  font: font
31
32
  }, props));
32
- }));
33
+ });
@@ -1,7 +1,7 @@
1
- const _excluded = ["accessibilityRole", "font"];
1
+ const _excluded = ["ref", "accessibilityRole", "font"];
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
- import React, { forwardRef, memo } from 'react';
4
+ import React, { memo } from 'react';
5
5
  import { Text } from './Text';
6
6
 
7
7
  /**
@@ -18,8 +18,9 @@ import { jsx as _jsx } from "react/jsx-runtime";
18
18
  * @deprecated Use `Text` with `font="display3"` instead. This will be removed in a future major release.
19
19
  * @deprecationExpectedRemoval v10
20
20
  */
21
- export const TextDisplay3 = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, ref) => {
21
+ export const TextDisplay3 = /*#__PURE__*/memo(_ref => {
22
22
  let {
23
+ ref,
23
24
  accessibilityRole = 'header',
24
25
  font = 'display3'
25
26
  } = _ref,
@@ -29,4 +30,4 @@ export const TextDisplay3 = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, ref
29
30
  accessibilityRole: accessibilityRole,
30
31
  font: font
31
32
  }, props));
32
- }));
33
+ });
@@ -1,7 +1,7 @@
1
- const _excluded = ["font"];
1
+ const _excluded = ["ref", "font"];
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
- import React, { forwardRef, memo } from 'react';
4
+ import React, { memo } from 'react';
5
5
  import { Text } from './Text';
6
6
 
7
7
  /**
@@ -18,8 +18,9 @@ import { jsx as _jsx } from "react/jsx-runtime";
18
18
  * @deprecated Use `Text` with `font="headline"` instead. This will be removed in a future major release.
19
19
  * @deprecationExpectedRemoval v10
20
20
  */
21
- export const TextHeadline = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, ref) => {
21
+ export const TextHeadline = /*#__PURE__*/memo(_ref => {
22
22
  let {
23
+ ref,
23
24
  font = 'headline'
24
25
  } = _ref,
25
26
  props = _objectWithoutPropertiesLoose(_ref, _excluded);
@@ -27,4 +28,4 @@ export const TextHeadline = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, ref
27
28
  ref: ref,
28
29
  font: font
29
30
  }, props));
30
- }));
31
+ });
@@ -1,7 +1,7 @@
1
- const _excluded = ["font"];
1
+ const _excluded = ["ref", "font"];
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
- import React, { forwardRef, memo } from 'react';
4
+ import React, { memo } from 'react';
5
5
  import { Text } from './Text';
6
6
 
7
7
  /**
@@ -18,8 +18,9 @@ import { jsx as _jsx } from "react/jsx-runtime";
18
18
  * @deprecated Use `Text` with `font="inherit"` instead. This will be removed in a future major release.
19
19
  * @deprecationExpectedRemoval v10
20
20
  */
21
- export const TextInherited = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, ref) => {
21
+ export const TextInherited = /*#__PURE__*/memo(_ref => {
22
22
  let {
23
+ ref,
23
24
  font = 'inherit'
24
25
  } = _ref,
25
26
  props = _objectWithoutPropertiesLoose(_ref, _excluded);
@@ -27,4 +28,4 @@ export const TextInherited = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, re
27
28
  ref: ref,
28
29
  font: font
29
30
  }, props));
30
- }));
31
+ });
@@ -1,7 +1,7 @@
1
- const _excluded = ["font"];
1
+ const _excluded = ["ref", "font"];
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
- import React, { forwardRef, memo } from 'react';
4
+ import React, { memo } from 'react';
5
5
  import { Text } from './Text';
6
6
 
7
7
  /**
@@ -18,8 +18,9 @@ import { jsx as _jsx } from "react/jsx-runtime";
18
18
  * @deprecated Use `Text` with `font="label1"` instead. This will be removed in a future major release.
19
19
  * @deprecationExpectedRemoval v10
20
20
  */
21
- export const TextLabel1 = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, ref) => {
21
+ export const TextLabel1 = /*#__PURE__*/memo(_ref => {
22
22
  let {
23
+ ref,
23
24
  font = 'label1'
24
25
  } = _ref,
25
26
  props = _objectWithoutPropertiesLoose(_ref, _excluded);
@@ -27,4 +28,4 @@ export const TextLabel1 = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, ref)
27
28
  ref: ref,
28
29
  font: font
29
30
  }, props));
30
- }));
31
+ });
@@ -1,7 +1,7 @@
1
- const _excluded = ["font"];
1
+ const _excluded = ["ref", "font"];
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
- import React, { forwardRef, memo } from 'react';
4
+ import React, { memo } from 'react';
5
5
  import { Text } from './Text';
6
6
 
7
7
  /**
@@ -18,8 +18,9 @@ import { jsx as _jsx } from "react/jsx-runtime";
18
18
  * @deprecated Use `Text` with `font="label2"` instead. This will be removed in a future major release.
19
19
  * @deprecationExpectedRemoval v10
20
20
  */
21
- export const TextLabel2 = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, ref) => {
21
+ export const TextLabel2 = /*#__PURE__*/memo(_ref => {
22
22
  let {
23
+ ref,
23
24
  font = 'label2'
24
25
  } = _ref,
25
26
  props = _objectWithoutPropertiesLoose(_ref, _excluded);
@@ -27,4 +28,4 @@ export const TextLabel2 = /*#__PURE__*/memo(/*#__PURE__*/forwardRef((_ref, ref)
27
28
  ref: ref,
28
29
  font: font
29
30
  }, props));
30
- }));
31
+ });