@cdx-ui/components 0.0.1-beta.13 → 0.0.1-beta.131

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 (1249) hide show
  1. package/README.md +34 -20
  2. package/lib/commonjs/animation/hooks/index.js +50 -0
  3. package/lib/commonjs/animation/hooks/index.js.map +1 -0
  4. package/lib/commonjs/animation/hooks/useCombinedAnimationDisabledState.js +50 -0
  5. package/lib/commonjs/animation/hooks/useCombinedAnimationDisabledState.js.map +1 -0
  6. package/lib/commonjs/animation/hooks/usePopupDialogContentAnimation.js +175 -0
  7. package/lib/commonjs/animation/hooks/usePopupDialogContentAnimation.js.map +1 -0
  8. package/lib/commonjs/animation/hooks/usePopupOverlayAnimation.js +69 -0
  9. package/lib/commonjs/animation/hooks/usePopupOverlayAnimation.js.map +1 -0
  10. package/lib/commonjs/animation/hooks/usePopupRootAnimation.js +26 -0
  11. package/lib/commonjs/animation/hooks/usePopupRootAnimation.js.map +1 -0
  12. package/lib/commonjs/animation/index.js +39 -0
  13. package/lib/commonjs/animation/index.js.map +1 -0
  14. package/lib/commonjs/animation/types.js +6 -0
  15. package/lib/commonjs/animation/types.js.map +1 -0
  16. package/lib/commonjs/animation/utils.js +223 -0
  17. package/lib/commonjs/animation/utils.js.map +1 -0
  18. package/lib/commonjs/components/Alert/index.js +263 -0
  19. package/lib/commonjs/components/Alert/index.js.map +1 -0
  20. package/lib/commonjs/components/Alert/styles.js +87 -0
  21. package/lib/commonjs/components/Alert/styles.js.map +1 -0
  22. package/lib/commonjs/components/AlertDialog/index.js +32 -16
  23. package/lib/commonjs/components/AlertDialog/index.js.map +1 -1
  24. package/lib/commonjs/components/Avatar/index.js +135 -26
  25. package/lib/commonjs/components/Avatar/index.js.map +1 -1
  26. package/lib/commonjs/components/Avatar/styles.js +36 -29
  27. package/lib/commonjs/components/Avatar/styles.js.map +1 -1
  28. package/lib/commonjs/components/Badge/index.js +86 -0
  29. package/lib/commonjs/components/Badge/index.js.map +1 -0
  30. package/lib/commonjs/components/Badge/styles.js +127 -0
  31. package/lib/commonjs/components/Badge/styles.js.map +1 -0
  32. package/lib/commonjs/components/BottomSheet/index.js +75 -27
  33. package/lib/commonjs/components/BottomSheet/index.js.map +1 -1
  34. package/lib/commonjs/components/BottomSheet/styles.js +8 -43
  35. package/lib/commonjs/components/BottomSheet/styles.js.map +1 -1
  36. package/lib/commonjs/components/Box/Box.js +1 -11
  37. package/lib/commonjs/components/Box/Box.js.map +1 -1
  38. package/lib/commonjs/components/Breadcrumbs/index.js +219 -0
  39. package/lib/commonjs/components/Breadcrumbs/index.js.map +1 -0
  40. package/lib/commonjs/components/Breadcrumbs/styles.js +38 -0
  41. package/lib/commonjs/components/Breadcrumbs/styles.js.map +1 -0
  42. package/lib/commonjs/components/Button/index.js +143 -29
  43. package/lib/commonjs/components/Button/index.js.map +1 -1
  44. package/lib/commonjs/components/Button/styles.js +95 -30
  45. package/lib/commonjs/components/Button/styles.js.map +1 -1
  46. package/lib/commonjs/components/CLAUDE.md +195 -0
  47. package/lib/commonjs/components/Card/index.js +74 -15
  48. package/lib/commonjs/components/Card/index.js.map +1 -1
  49. package/lib/commonjs/components/Card/styles.js +17 -3
  50. package/lib/commonjs/components/Card/styles.js.map +1 -1
  51. package/lib/commonjs/components/Carousel/index.js +153 -0
  52. package/lib/commonjs/components/Carousel/index.js.map +1 -0
  53. package/lib/commonjs/components/Carousel/paginationNavigation.js +35 -0
  54. package/lib/commonjs/components/Carousel/paginationNavigation.js.map +1 -0
  55. package/lib/commonjs/components/Carousel/styles.js +21 -0
  56. package/lib/commonjs/components/Carousel/styles.js.map +1 -0
  57. package/lib/commonjs/components/Checkbox/index.js +89 -48
  58. package/lib/commonjs/components/Checkbox/index.js.map +1 -1
  59. package/lib/commonjs/components/Checkbox/styles.js +44 -48
  60. package/lib/commonjs/components/Checkbox/styles.js.map +1 -1
  61. package/lib/commonjs/components/Chip/index.js +115 -18
  62. package/lib/commonjs/components/Chip/index.js.map +1 -1
  63. package/lib/commonjs/components/Chip/styles.js +180 -23
  64. package/lib/commonjs/components/Chip/styles.js.map +1 -1
  65. package/lib/commonjs/components/CurrencyInput/index.js +157 -0
  66. package/lib/commonjs/components/CurrencyInput/index.js.map +1 -0
  67. package/lib/commonjs/components/CurrencyInput/styles.js +31 -0
  68. package/lib/commonjs/components/CurrencyInput/styles.js.map +1 -0
  69. package/lib/commonjs/components/Dialog/animation.js +13 -0
  70. package/lib/commonjs/components/Dialog/animation.js.map +1 -0
  71. package/lib/commonjs/components/Dialog/index.js +403 -66
  72. package/lib/commonjs/components/Dialog/index.js.map +1 -1
  73. package/lib/commonjs/components/Dialog/styles.js +66 -16
  74. package/lib/commonjs/components/Dialog/styles.js.map +1 -1
  75. package/lib/commonjs/components/Divider/index.js +98 -0
  76. package/lib/commonjs/components/Divider/index.js.map +1 -0
  77. package/lib/commonjs/components/Divider/styles.js +75 -0
  78. package/lib/commonjs/components/Divider/styles.js.map +1 -0
  79. package/lib/commonjs/components/Field/index.js +77 -27
  80. package/lib/commonjs/components/Field/index.js.map +1 -1
  81. package/lib/commonjs/components/Field/styles.js +5 -5
  82. package/lib/commonjs/components/Field/styles.js.map +1 -1
  83. package/lib/commonjs/components/Form/index.js +5 -12
  84. package/lib/commonjs/components/Form/index.js.map +1 -1
  85. package/lib/commonjs/components/Heading/styles.js +1 -1
  86. package/lib/commonjs/components/Heading/styles.js.map +1 -1
  87. package/lib/commonjs/components/Icon/index.js +12 -5
  88. package/lib/commonjs/components/Icon/index.js.map +1 -1
  89. package/lib/commonjs/components/IconButton/index.js +22 -35
  90. package/lib/commonjs/components/IconButton/index.js.map +1 -1
  91. package/lib/commonjs/components/IconButton/styles.js +136 -11
  92. package/lib/commonjs/components/IconButton/styles.js.map +1 -1
  93. package/lib/commonjs/components/Input/index.js +50 -20
  94. package/lib/commonjs/components/Input/index.js.map +1 -1
  95. package/lib/commonjs/components/Input/styles.js +20 -7
  96. package/lib/commonjs/components/Input/styles.js.map +1 -1
  97. package/lib/commonjs/components/InsuranceDisclosure/index.js +56 -0
  98. package/lib/commonjs/components/InsuranceDisclosure/index.js.map +1 -0
  99. package/lib/commonjs/components/InsuranceDisclosure/styles.js +11 -0
  100. package/lib/commonjs/components/InsuranceDisclosure/styles.js.map +1 -0
  101. package/lib/commonjs/components/Link/index.js +35 -9
  102. package/lib/commonjs/components/Link/index.js.map +1 -1
  103. package/lib/commonjs/components/Link/styles.js +54 -7
  104. package/lib/commonjs/components/Link/styles.js.map +1 -1
  105. package/lib/commonjs/components/ListItem/index.js +132 -79
  106. package/lib/commonjs/components/ListItem/index.js.map +1 -1
  107. package/lib/commonjs/components/ListItem/styles.js +28 -56
  108. package/lib/commonjs/components/ListItem/styles.js.map +1 -1
  109. package/lib/commonjs/components/OtpInput/index.js +114 -36
  110. package/lib/commonjs/components/OtpInput/index.js.map +1 -1
  111. package/lib/commonjs/components/OtpInput/styles.js +9 -7
  112. package/lib/commonjs/components/OtpInput/styles.js.map +1 -1
  113. package/lib/commonjs/components/ProgressBar/index.js +8 -13
  114. package/lib/commonjs/components/ProgressBar/index.js.map +1 -1
  115. package/lib/commonjs/components/ProgressBar/styles.js +1 -1
  116. package/lib/commonjs/components/ProgressBar/styles.js.map +1 -1
  117. package/lib/commonjs/components/ProgressSegmented/index.js +24 -10
  118. package/lib/commonjs/components/ProgressSegmented/index.js.map +1 -1
  119. package/lib/commonjs/components/ProgressSegmented/styles.js +2 -2
  120. package/lib/commonjs/components/ProgressSegmented/styles.js.map +1 -1
  121. package/lib/commonjs/components/QuickActionButton/index.js +133 -0
  122. package/lib/commonjs/components/QuickActionButton/index.js.map +1 -0
  123. package/lib/commonjs/components/QuickActionButton/styles.js +17 -0
  124. package/lib/commonjs/components/QuickActionButton/styles.js.map +1 -0
  125. package/lib/commonjs/components/Radio/index.js +66 -51
  126. package/lib/commonjs/components/Radio/index.js.map +1 -1
  127. package/lib/commonjs/components/Radio/styles.js +21 -8
  128. package/lib/commonjs/components/Radio/styles.js.map +1 -1
  129. package/lib/commonjs/components/ScopedTheme/index.js +24 -0
  130. package/lib/commonjs/components/ScopedTheme/index.js.map +1 -0
  131. package/lib/commonjs/components/ScrollShadow/index.js +82 -0
  132. package/lib/commonjs/components/ScrollShadow/index.js.map +1 -0
  133. package/lib/commonjs/components/ScrollShadow/styles.js +54 -0
  134. package/lib/commonjs/components/ScrollShadow/styles.js.map +1 -0
  135. package/lib/commonjs/components/ScrollShadow/useScrollShadow.js +83 -0
  136. package/lib/commonjs/components/ScrollShadow/useScrollShadow.js.map +1 -0
  137. package/lib/commonjs/components/Select/index.js +111 -39
  138. package/lib/commonjs/components/Select/index.js.map +1 -1
  139. package/lib/commonjs/components/Select/styles.js +26 -21
  140. package/lib/commonjs/components/Select/styles.js.map +1 -1
  141. package/lib/commonjs/components/Skeleton/index.js +39 -0
  142. package/lib/commonjs/components/Skeleton/index.js.map +1 -0
  143. package/lib/commonjs/components/Skeleton/styles.js +9 -0
  144. package/lib/commonjs/components/Skeleton/styles.js.map +1 -0
  145. package/lib/commonjs/components/Slider/getSliderPopupPosition.js +43 -0
  146. package/lib/commonjs/components/Slider/getSliderPopupPosition.js.map +1 -0
  147. package/lib/commonjs/components/Slider/index.js +363 -0
  148. package/lib/commonjs/components/Slider/index.js.map +1 -0
  149. package/lib/commonjs/components/Slider/styles.js +112 -0
  150. package/lib/commonjs/components/Slider/styles.js.map +1 -0
  151. package/lib/commonjs/components/Switch/BaseSwitch.js +23 -13
  152. package/lib/commonjs/components/Switch/BaseSwitch.js.map +1 -1
  153. package/lib/commonjs/components/Switch/BaseSwitch.web.js +25 -21
  154. package/lib/commonjs/components/Switch/BaseSwitch.web.js.map +1 -1
  155. package/lib/commonjs/components/Switch/index.js +34 -3
  156. package/lib/commonjs/components/Switch/index.js.map +1 -1
  157. package/lib/commonjs/components/Tabs/index.js +527 -0
  158. package/lib/commonjs/components/Tabs/index.js.map +1 -0
  159. package/lib/commonjs/components/Tabs/styles.js +333 -0
  160. package/lib/commonjs/components/Tabs/styles.js.map +1 -0
  161. package/lib/commonjs/components/Text/styles.js +2 -2
  162. package/lib/commonjs/components/Text/styles.js.map +1 -1
  163. package/lib/commonjs/components/Textarea/index.js +135 -0
  164. package/lib/commonjs/components/Textarea/index.js.map +1 -0
  165. package/lib/commonjs/components/Textarea/styles.js +49 -0
  166. package/lib/commonjs/components/Textarea/styles.js.map +1 -0
  167. package/lib/commonjs/components/Tile/index.js +150 -77
  168. package/lib/commonjs/components/Tile/index.js.map +1 -1
  169. package/lib/commonjs/components/Tile/styles.js +3 -3
  170. package/lib/commonjs/components/Tile/styles.js.map +1 -1
  171. package/lib/commonjs/components/Toast/animation.js +331 -0
  172. package/lib/commonjs/components/Toast/animation.js.map +1 -0
  173. package/lib/commonjs/components/Toast/hooks.js +67 -0
  174. package/lib/commonjs/components/Toast/hooks.js.map +1 -0
  175. package/lib/commonjs/components/Toast/index.js +508 -0
  176. package/lib/commonjs/components/Toast/index.js.map +1 -0
  177. package/lib/commonjs/components/Toast/styles.js +141 -0
  178. package/lib/commonjs/components/Toast/styles.js.map +1 -0
  179. package/lib/commonjs/components/Toast/types.js +6 -0
  180. package/lib/commonjs/components/Toast/types.js.map +1 -0
  181. package/lib/commonjs/components/VirtualizedList/index.js.map +1 -1
  182. package/lib/commonjs/components/index.js +180 -0
  183. package/lib/commonjs/components/index.js.map +1 -1
  184. package/lib/commonjs/figma/Alert.Button.figma.js +31 -0
  185. package/lib/commonjs/figma/Alert.Button.figma.js.map +1 -0
  186. package/lib/commonjs/figma/Alert.Close.figma.js +24 -0
  187. package/lib/commonjs/figma/Alert.Close.figma.js.map +1 -0
  188. package/lib/commonjs/figma/Alert.Description.figma.js +20 -0
  189. package/lib/commonjs/figma/Alert.Description.figma.js.map +1 -0
  190. package/lib/commonjs/figma/Alert.Title.figma.js +20 -0
  191. package/lib/commonjs/figma/Alert.Title.figma.js.map +1 -0
  192. package/lib/commonjs/figma/Alert.figma.js +42 -0
  193. package/lib/commonjs/figma/Alert.figma.js.map +1 -0
  194. package/lib/commonjs/figma/AlertDialog.Description.figma.js +20 -0
  195. package/lib/commonjs/figma/AlertDialog.Description.figma.js.map +1 -0
  196. package/lib/commonjs/figma/AlertDialog.Footer.figma.js +41 -0
  197. package/lib/commonjs/figma/AlertDialog.Footer.figma.js.map +1 -0
  198. package/lib/commonjs/figma/AlertDialog.Header.figma.js +28 -0
  199. package/lib/commonjs/figma/AlertDialog.Header.figma.js.map +1 -0
  200. package/lib/commonjs/figma/AlertDialog.Text.figma.js +20 -0
  201. package/lib/commonjs/figma/AlertDialog.Text.figma.js.map +1 -0
  202. package/lib/commonjs/figma/AlertDialog.Title.figma.js +27 -0
  203. package/lib/commonjs/figma/AlertDialog.Title.figma.js.map +1 -0
  204. package/lib/commonjs/figma/AlertDialog.figma.js +43 -0
  205. package/lib/commonjs/figma/AlertDialog.figma.js.map +1 -0
  206. package/lib/commonjs/figma/Avatar.figma.js +57 -0
  207. package/lib/commonjs/figma/Avatar.figma.js.map +1 -0
  208. package/lib/commonjs/figma/Badge.Indicator.figma.js +47 -0
  209. package/lib/commonjs/figma/Badge.Indicator.figma.js.map +1 -0
  210. package/lib/commonjs/figma/Badge.figma.js +65 -0
  211. package/lib/commonjs/figma/Badge.figma.js.map +1 -0
  212. package/lib/commonjs/figma/BottomSheet.Footer.figma.js +31 -0
  213. package/lib/commonjs/figma/BottomSheet.Footer.figma.js.map +1 -0
  214. package/lib/commonjs/figma/BottomSheet.Header.figma.js +30 -0
  215. package/lib/commonjs/figma/BottomSheet.Header.figma.js.map +1 -0
  216. package/lib/commonjs/figma/BottomSheet.figma.js +54 -0
  217. package/lib/commonjs/figma/BottomSheet.figma.js.map +1 -0
  218. package/lib/commonjs/figma/Button.figma.js +4 -7
  219. package/lib/commonjs/figma/Button.figma.js.map +1 -1
  220. package/lib/commonjs/figma/CLAUDE.md +30 -0
  221. package/lib/commonjs/figma/Card.Header.figma.js +28 -0
  222. package/lib/commonjs/figma/Card.Header.figma.js.map +1 -0
  223. package/lib/commonjs/figma/Card.Stripe.figma.js +20 -0
  224. package/lib/commonjs/figma/Card.Stripe.figma.js.map +1 -0
  225. package/lib/commonjs/figma/Card.figma.js +45 -0
  226. package/lib/commonjs/figma/Card.figma.js.map +1 -0
  227. package/lib/commonjs/figma/Checkbox.figma.js +55 -0
  228. package/lib/commonjs/figma/Checkbox.figma.js.map +1 -0
  229. package/lib/commonjs/figma/Chip.figma.js +68 -0
  230. package/lib/commonjs/figma/Chip.figma.js.map +1 -0
  231. package/lib/commonjs/figma/Dialog.Description.figma.js +20 -0
  232. package/lib/commonjs/figma/Dialog.Description.figma.js.map +1 -0
  233. package/lib/commonjs/figma/Dialog.Footer.figma.js +30 -0
  234. package/lib/commonjs/figma/Dialog.Footer.figma.js.map +1 -0
  235. package/lib/commonjs/figma/Dialog.Header.figma.js +34 -0
  236. package/lib/commonjs/figma/Dialog.Header.figma.js.map +1 -0
  237. package/lib/commonjs/figma/Dialog.Text.figma.js +20 -0
  238. package/lib/commonjs/figma/Dialog.Text.figma.js.map +1 -0
  239. package/lib/commonjs/figma/Dialog.Title.figma.js +27 -0
  240. package/lib/commonjs/figma/Dialog.Title.figma.js.map +1 -0
  241. package/lib/commonjs/figma/Dialog.figma.js +51 -0
  242. package/lib/commonjs/figma/Dialog.figma.js.map +1 -0
  243. package/lib/commonjs/figma/Divider.figma.js +32 -0
  244. package/lib/commonjs/figma/Divider.figma.js.map +1 -0
  245. package/lib/commonjs/figma/Field.Input.figma.js +57 -0
  246. package/lib/commonjs/figma/Field.Input.figma.js.map +1 -0
  247. package/lib/commonjs/figma/Field.OtpInput.figma.js +52 -0
  248. package/lib/commonjs/figma/Field.OtpInput.figma.js.map +1 -0
  249. package/lib/commonjs/figma/Field.Select.figma.js +57 -0
  250. package/lib/commonjs/figma/Field.Select.figma.js.map +1 -0
  251. package/lib/commonjs/figma/Field.Textarea.figma.js +57 -0
  252. package/lib/commonjs/figma/Field.Textarea.figma.js.map +1 -0
  253. package/lib/commonjs/figma/Heading.figma.js +30 -0
  254. package/lib/commonjs/figma/Heading.figma.js.map +1 -0
  255. package/lib/commonjs/figma/Icon.figma.js +20 -0
  256. package/lib/commonjs/figma/Icon.figma.js.map +1 -0
  257. package/lib/commonjs/figma/IconButton.figma.js +47 -0
  258. package/lib/commonjs/figma/IconButton.figma.js.map +1 -0
  259. package/lib/commonjs/figma/Input.figma.js +52 -0
  260. package/lib/commonjs/figma/Input.figma.js.map +1 -0
  261. package/lib/commonjs/figma/Link.figma.js +30 -0
  262. package/lib/commonjs/figma/Link.figma.js.map +1 -0
  263. package/lib/commonjs/figma/ListItem.Description.figma.js +23 -0
  264. package/lib/commonjs/figma/ListItem.Description.figma.js.map +1 -0
  265. package/lib/commonjs/figma/ListItem.LeadingSlot.figma.js +24 -0
  266. package/lib/commonjs/figma/ListItem.LeadingSlot.figma.js.map +1 -0
  267. package/lib/commonjs/figma/ListItem.Meta.figma.js +23 -0
  268. package/lib/commonjs/figma/ListItem.Meta.figma.js.map +1 -0
  269. package/lib/commonjs/figma/ListItem.SectionHeader.figma.js +24 -0
  270. package/lib/commonjs/figma/ListItem.SectionHeader.figma.js.map +1 -0
  271. package/lib/commonjs/figma/ListItem.Title.figma.js +23 -0
  272. package/lib/commonjs/figma/ListItem.Title.figma.js.map +1 -0
  273. package/lib/commonjs/figma/ListItem.TrailingSlot.figma.js +24 -0
  274. package/lib/commonjs/figma/ListItem.TrailingSlot.figma.js.map +1 -0
  275. package/lib/commonjs/figma/ListItem.figma.js +50 -0
  276. package/lib/commonjs/figma/ListItem.figma.js.map +1 -0
  277. package/lib/commonjs/figma/OtpInput.Cell.figma.js +55 -0
  278. package/lib/commonjs/figma/OtpInput.Cell.figma.js.map +1 -0
  279. package/lib/commonjs/figma/OtpInput.figma.js +42 -0
  280. package/lib/commonjs/figma/OtpInput.figma.js.map +1 -0
  281. package/lib/commonjs/figma/ProgressSegmented.figma.js +39 -0
  282. package/lib/commonjs/figma/ProgressSegmented.figma.js.map +1 -0
  283. package/lib/commonjs/figma/QuickActionButton.figma.js +38 -0
  284. package/lib/commonjs/figma/QuickActionButton.figma.js.map +1 -0
  285. package/lib/commonjs/figma/Radio.figma.js +8 -6
  286. package/lib/commonjs/figma/Radio.figma.js.map +1 -1
  287. package/lib/commonjs/figma/Select.figma.js +53 -0
  288. package/lib/commonjs/figma/Select.figma.js.map +1 -0
  289. package/lib/commonjs/figma/Text.figma.js +32 -0
  290. package/lib/commonjs/figma/Text.figma.js.map +1 -0
  291. package/lib/commonjs/figma/Textarea.figma.js +47 -0
  292. package/lib/commonjs/figma/Textarea.figma.js.map +1 -0
  293. package/lib/commonjs/figma/icons.figma.batch.js +27 -0
  294. package/lib/commonjs/figma/icons.figma.batch.js.map +1 -0
  295. package/lib/commonjs/figma/icons.figma.batch.json +17705 -0
  296. package/lib/commonjs/globals.d.js +2 -0
  297. package/lib/commonjs/globals.d.js.map +1 -0
  298. package/lib/commonjs/hooks/index.js +19 -0
  299. package/lib/commonjs/hooks/index.js.map +1 -0
  300. package/lib/commonjs/hooks/useForgeBottomTabScreenOptions.js +246 -0
  301. package/lib/commonjs/hooks/useForgeBottomTabScreenOptions.js.map +1 -0
  302. package/lib/commonjs/index.js +47 -0
  303. package/lib/commonjs/index.js.map +1 -1
  304. package/lib/commonjs/metro/withCdxMetroConfig.js +7 -18
  305. package/lib/commonjs/metro/withCdxMetroConfig.js.map +1 -1
  306. package/lib/commonjs/metro/withForgeMetroConfig.js +24 -0
  307. package/lib/commonjs/metro/withForgeMetroConfig.js.map +1 -0
  308. package/lib/commonjs/navigation/forgeTabIcon.js +43 -0
  309. package/lib/commonjs/navigation/forgeTabIcon.js.map +1 -0
  310. package/lib/commonjs/navigation/forgeTabIcon.native.js +35 -0
  311. package/lib/commonjs/navigation/forgeTabIcon.native.js.map +1 -0
  312. package/lib/commonjs/navigation/index.js +13 -0
  313. package/lib/commonjs/navigation/index.js.map +1 -0
  314. package/lib/commonjs/navigation/types.js +38 -0
  315. package/lib/commonjs/navigation/types.js.map +1 -0
  316. package/lib/commonjs/providers/animation-settings/index.js +31 -0
  317. package/lib/commonjs/providers/animation-settings/index.js.map +1 -0
  318. package/lib/commonjs/providers/animation-settings/provider.js +59 -0
  319. package/lib/commonjs/providers/animation-settings/provider.js.map +1 -0
  320. package/lib/commonjs/providers/animation-settings/types.js +6 -0
  321. package/lib/commonjs/providers/animation-settings/types.js.map +1 -0
  322. package/lib/commonjs/providers/forge-design/index.js +29 -0
  323. package/lib/commonjs/providers/forge-design/index.js.map +1 -0
  324. package/lib/commonjs/providers/forge-design/provider.js +71 -0
  325. package/lib/commonjs/providers/forge-design/provider.js.map +1 -0
  326. package/lib/commonjs/providers/forge-design/types.js +6 -0
  327. package/lib/commonjs/providers/forge-design/types.js.map +1 -0
  328. package/lib/commonjs/providers/text-component/index.js +28 -0
  329. package/lib/commonjs/providers/text-component/index.js.map +1 -0
  330. package/lib/commonjs/providers/text-component/provider.js +11 -0
  331. package/lib/commonjs/providers/text-component/provider.js.map +1 -0
  332. package/lib/commonjs/providers/text-component/types.js +6 -0
  333. package/lib/commonjs/providers/text-component/types.js.map +1 -0
  334. package/lib/commonjs/providers/toast/index.js +33 -0
  335. package/lib/commonjs/providers/toast/index.js.map +1 -0
  336. package/lib/commonjs/providers/toast/insets-container.js +166 -0
  337. package/lib/commonjs/providers/toast/insets-container.js.map +1 -0
  338. package/lib/commonjs/providers/toast/lifecycle.context.js +36 -0
  339. package/lib/commonjs/providers/toast/lifecycle.context.js.map +1 -0
  340. package/lib/commonjs/providers/toast/provider.js +508 -0
  341. package/lib/commonjs/providers/toast/provider.js.map +1 -0
  342. package/lib/commonjs/providers/toast/reducer.js +46 -0
  343. package/lib/commonjs/providers/toast/reducer.js.map +1 -0
  344. package/lib/commonjs/providers/toast/toast-config.context.js +29 -0
  345. package/lib/commonjs/providers/toast/toast-config.context.js.map +1 -0
  346. package/lib/commonjs/providers/toast/toast-item-renderer.js +43 -0
  347. package/lib/commonjs/providers/toast/toast-item-renderer.js.map +1 -0
  348. package/lib/commonjs/providers/toast/types.js +6 -0
  349. package/lib/commonjs/providers/toast/types.js.map +1 -0
  350. package/lib/commonjs/styles/constants.js +16 -0
  351. package/lib/commonjs/styles/constants.js.map +1 -0
  352. package/lib/commonjs/styles.css +0 -5
  353. package/lib/commonjs/utils/positionToDataIcon.js +41 -0
  354. package/lib/commonjs/utils/positionToDataIcon.js.map +1 -0
  355. package/lib/module/animation/hooks/index.js +7 -0
  356. package/lib/module/animation/hooks/index.js.map +1 -0
  357. package/lib/module/animation/hooks/useCombinedAnimationDisabledState.js +47 -0
  358. package/lib/module/animation/hooks/useCombinedAnimationDisabledState.js.map +1 -0
  359. package/lib/module/animation/hooks/usePopupDialogContentAnimation.js +171 -0
  360. package/lib/module/animation/hooks/usePopupDialogContentAnimation.js.map +1 -0
  361. package/lib/module/animation/hooks/usePopupOverlayAnimation.js +65 -0
  362. package/lib/module/animation/hooks/usePopupOverlayAnimation.js.map +1 -0
  363. package/lib/module/animation/hooks/usePopupRootAnimation.js +22 -0
  364. package/lib/module/animation/hooks/usePopupRootAnimation.js.map +1 -0
  365. package/lib/module/animation/index.js +6 -0
  366. package/lib/module/animation/index.js.map +1 -0
  367. package/lib/module/animation/types.js +4 -0
  368. package/lib/module/animation/types.js.map +1 -0
  369. package/lib/module/animation/utils.js +212 -0
  370. package/lib/module/animation/utils.js.map +1 -0
  371. package/lib/module/components/Alert/index.js +259 -0
  372. package/lib/module/components/Alert/index.js.map +1 -0
  373. package/lib/module/components/Alert/styles.js +84 -0
  374. package/lib/module/components/Alert/styles.js.map +1 -0
  375. package/lib/module/components/AlertDialog/index.js +33 -16
  376. package/lib/module/components/AlertDialog/index.js.map +1 -1
  377. package/lib/module/components/Avatar/index.js +138 -29
  378. package/lib/module/components/Avatar/index.js.map +1 -1
  379. package/lib/module/components/Avatar/styles.js +36 -29
  380. package/lib/module/components/Avatar/styles.js.map +1 -1
  381. package/lib/module/components/Badge/index.js +83 -0
  382. package/lib/module/components/Badge/index.js.map +1 -0
  383. package/lib/module/components/Badge/styles.js +123 -0
  384. package/lib/module/components/Badge/styles.js.map +1 -0
  385. package/lib/module/components/BottomSheet/index.js +80 -32
  386. package/lib/module/components/BottomSheet/index.js.map +1 -1
  387. package/lib/module/components/BottomSheet/styles.js +7 -42
  388. package/lib/module/components/BottomSheet/styles.js.map +1 -1
  389. package/lib/module/components/Box/Box.js +1 -11
  390. package/lib/module/components/Box/Box.js.map +1 -1
  391. package/lib/module/components/Breadcrumbs/index.js +215 -0
  392. package/lib/module/components/Breadcrumbs/index.js.map +1 -0
  393. package/lib/module/components/Breadcrumbs/styles.js +34 -0
  394. package/lib/module/components/Breadcrumbs/styles.js.map +1 -0
  395. package/lib/module/components/Button/index.js +146 -33
  396. package/lib/module/components/Button/index.js.map +1 -1
  397. package/lib/module/components/Button/styles.js +94 -29
  398. package/lib/module/components/Button/styles.js.map +1 -1
  399. package/lib/module/components/CLAUDE.md +195 -0
  400. package/lib/module/components/Card/index.js +77 -18
  401. package/lib/module/components/Card/index.js.map +1 -1
  402. package/lib/module/components/Card/styles.js +16 -2
  403. package/lib/module/components/Card/styles.js.map +1 -1
  404. package/lib/module/components/Carousel/index.js +147 -0
  405. package/lib/module/components/Carousel/index.js.map +1 -0
  406. package/lib/module/components/Carousel/paginationNavigation.js +31 -0
  407. package/lib/module/components/Carousel/paginationNavigation.js.map +1 -0
  408. package/lib/module/components/Carousel/styles.js +18 -0
  409. package/lib/module/components/Carousel/styles.js.map +1 -0
  410. package/lib/module/components/Checkbox/index.js +93 -52
  411. package/lib/module/components/Checkbox/index.js.map +1 -1
  412. package/lib/module/components/Checkbox/styles.js +45 -48
  413. package/lib/module/components/Checkbox/styles.js.map +1 -1
  414. package/lib/module/components/Chip/index.js +119 -22
  415. package/lib/module/components/Chip/index.js.map +1 -1
  416. package/lib/module/components/Chip/styles.js +179 -22
  417. package/lib/module/components/Chip/styles.js.map +1 -1
  418. package/lib/module/components/CurrencyInput/index.js +154 -0
  419. package/lib/module/components/CurrencyInput/index.js.map +1 -0
  420. package/lib/module/components/CurrencyInput/styles.js +27 -0
  421. package/lib/module/components/CurrencyInput/styles.js.map +1 -0
  422. package/lib/module/components/Dialog/animation.js +7 -0
  423. package/lib/module/components/Dialog/animation.js.map +1 -0
  424. package/lib/module/components/Dialog/index.js +409 -74
  425. package/lib/module/components/Dialog/index.js.map +1 -1
  426. package/lib/module/components/Dialog/styles.js +65 -15
  427. package/lib/module/components/Dialog/styles.js.map +1 -1
  428. package/lib/module/components/Divider/index.js +94 -0
  429. package/lib/module/components/Divider/index.js.map +1 -0
  430. package/lib/module/components/Divider/styles.js +71 -0
  431. package/lib/module/components/Divider/styles.js.map +1 -0
  432. package/lib/module/components/Field/index.js +81 -32
  433. package/lib/module/components/Field/index.js.map +1 -1
  434. package/lib/module/components/Field/styles.js +5 -5
  435. package/lib/module/components/Field/styles.js.map +1 -1
  436. package/lib/module/components/Form/index.js +7 -14
  437. package/lib/module/components/Form/index.js.map +1 -1
  438. package/lib/module/components/Heading/styles.js +1 -1
  439. package/lib/module/components/Heading/styles.js.map +1 -1
  440. package/lib/module/components/Icon/index.js +12 -5
  441. package/lib/module/components/Icon/index.js.map +1 -1
  442. package/lib/module/components/IconButton/index.js +24 -37
  443. package/lib/module/components/IconButton/index.js.map +1 -1
  444. package/lib/module/components/IconButton/styles.js +136 -11
  445. package/lib/module/components/IconButton/styles.js.map +1 -1
  446. package/lib/module/components/Input/index.js +53 -23
  447. package/lib/module/components/Input/index.js.map +1 -1
  448. package/lib/module/components/Input/styles.js +20 -7
  449. package/lib/module/components/Input/styles.js.map +1 -1
  450. package/lib/module/components/InsuranceDisclosure/index.js +52 -0
  451. package/lib/module/components/InsuranceDisclosure/index.js.map +1 -0
  452. package/lib/module/components/InsuranceDisclosure/styles.js +7 -0
  453. package/lib/module/components/InsuranceDisclosure/styles.js.map +1 -0
  454. package/lib/module/components/Link/index.js +38 -11
  455. package/lib/module/components/Link/index.js.map +1 -1
  456. package/lib/module/components/Link/styles.js +53 -7
  457. package/lib/module/components/Link/styles.js.map +1 -1
  458. package/lib/module/components/ListItem/index.js +137 -84
  459. package/lib/module/components/ListItem/index.js.map +1 -1
  460. package/lib/module/components/ListItem/styles.js +28 -56
  461. package/lib/module/components/ListItem/styles.js.map +1 -1
  462. package/lib/module/components/OtpInput/index.js +114 -36
  463. package/lib/module/components/OtpInput/index.js.map +1 -1
  464. package/lib/module/components/OtpInput/styles.js +9 -7
  465. package/lib/module/components/OtpInput/styles.js.map +1 -1
  466. package/lib/module/components/ProgressBar/index.js +9 -14
  467. package/lib/module/components/ProgressBar/index.js.map +1 -1
  468. package/lib/module/components/ProgressBar/styles.js +1 -1
  469. package/lib/module/components/ProgressBar/styles.js.map +1 -1
  470. package/lib/module/components/ProgressSegmented/index.js +25 -11
  471. package/lib/module/components/ProgressSegmented/index.js.map +1 -1
  472. package/lib/module/components/ProgressSegmented/styles.js +2 -2
  473. package/lib/module/components/ProgressSegmented/styles.js.map +1 -1
  474. package/lib/module/components/QuickActionButton/index.js +129 -0
  475. package/lib/module/components/QuickActionButton/index.js.map +1 -0
  476. package/lib/module/components/QuickActionButton/styles.js +13 -0
  477. package/lib/module/components/QuickActionButton/styles.js.map +1 -0
  478. package/lib/module/components/Radio/index.js +69 -55
  479. package/lib/module/components/Radio/index.js.map +1 -1
  480. package/lib/module/components/Radio/styles.js +20 -8
  481. package/lib/module/components/Radio/styles.js.map +1 -1
  482. package/lib/module/components/ScopedTheme/index.js +19 -0
  483. package/lib/module/components/ScopedTheme/index.js.map +1 -0
  484. package/lib/module/components/ScrollShadow/index.js +78 -0
  485. package/lib/module/components/ScrollShadow/index.js.map +1 -0
  486. package/lib/module/components/ScrollShadow/styles.js +50 -0
  487. package/lib/module/components/ScrollShadow/styles.js.map +1 -0
  488. package/lib/module/components/ScrollShadow/useScrollShadow.js +79 -0
  489. package/lib/module/components/ScrollShadow/useScrollShadow.js.map +1 -0
  490. package/lib/module/components/Select/index.js +117 -45
  491. package/lib/module/components/Select/index.js.map +1 -1
  492. package/lib/module/components/Select/styles.js +26 -21
  493. package/lib/module/components/Select/styles.js.map +1 -1
  494. package/lib/module/components/Skeleton/index.js +34 -0
  495. package/lib/module/components/Skeleton/index.js.map +1 -0
  496. package/lib/module/components/Skeleton/styles.js +5 -0
  497. package/lib/module/components/Skeleton/styles.js.map +1 -0
  498. package/lib/module/components/Slider/getSliderPopupPosition.js +38 -0
  499. package/lib/module/components/Slider/getSliderPopupPosition.js.map +1 -0
  500. package/lib/module/components/Slider/index.js +359 -0
  501. package/lib/module/components/Slider/index.js.map +1 -0
  502. package/lib/module/components/Slider/styles.js +108 -0
  503. package/lib/module/components/Slider/styles.js.map +1 -0
  504. package/lib/module/components/Switch/BaseSwitch.js +24 -14
  505. package/lib/module/components/Switch/BaseSwitch.js.map +1 -1
  506. package/lib/module/components/Switch/BaseSwitch.web.js +26 -22
  507. package/lib/module/components/Switch/BaseSwitch.web.js.map +1 -1
  508. package/lib/module/components/Switch/index.js +35 -4
  509. package/lib/module/components/Switch/index.js.map +1 -1
  510. package/lib/module/components/Tabs/index.js +522 -0
  511. package/lib/module/components/Tabs/index.js.map +1 -0
  512. package/lib/module/components/Tabs/styles.js +330 -0
  513. package/lib/module/components/Tabs/styles.js.map +1 -0
  514. package/lib/module/components/Text/styles.js +2 -2
  515. package/lib/module/components/Text/styles.js.map +1 -1
  516. package/lib/module/components/Textarea/index.js +132 -0
  517. package/lib/module/components/Textarea/index.js.map +1 -0
  518. package/lib/module/components/Textarea/styles.js +45 -0
  519. package/lib/module/components/Textarea/styles.js.map +1 -0
  520. package/lib/module/components/Tile/index.js +155 -83
  521. package/lib/module/components/Tile/index.js.map +1 -1
  522. package/lib/module/components/Tile/styles.js +2 -2
  523. package/lib/module/components/Tile/styles.js.map +1 -1
  524. package/lib/module/components/Toast/animation.js +326 -0
  525. package/lib/module/components/Toast/animation.js.map +1 -0
  526. package/lib/module/components/Toast/hooks.js +62 -0
  527. package/lib/module/components/Toast/hooks.js.map +1 -0
  528. package/lib/module/components/Toast/index.js +502 -0
  529. package/lib/module/components/Toast/index.js.map +1 -0
  530. package/lib/module/components/Toast/styles.js +138 -0
  531. package/lib/module/components/Toast/styles.js.map +1 -0
  532. package/lib/module/components/Toast/types.js +4 -0
  533. package/lib/module/components/Toast/types.js.map +1 -0
  534. package/lib/module/components/VirtualizedList/index.js.map +1 -1
  535. package/lib/module/components/index.js +15 -0
  536. package/lib/module/components/index.js.map +1 -1
  537. package/lib/module/figma/Alert.Button.figma.js +25 -0
  538. package/lib/module/figma/Alert.Button.figma.js.map +1 -0
  539. package/lib/module/figma/Alert.Close.figma.js +18 -0
  540. package/lib/module/figma/Alert.Close.figma.js.map +1 -0
  541. package/lib/module/figma/Alert.Description.figma.js +14 -0
  542. package/lib/module/figma/Alert.Description.figma.js.map +1 -0
  543. package/lib/module/figma/Alert.Title.figma.js +14 -0
  544. package/lib/module/figma/Alert.Title.figma.js.map +1 -0
  545. package/lib/module/figma/Alert.figma.js +36 -0
  546. package/lib/module/figma/Alert.figma.js.map +1 -0
  547. package/lib/module/figma/AlertDialog.Description.figma.js +14 -0
  548. package/lib/module/figma/AlertDialog.Description.figma.js.map +1 -0
  549. package/lib/module/figma/AlertDialog.Footer.figma.js +35 -0
  550. package/lib/module/figma/AlertDialog.Footer.figma.js.map +1 -0
  551. package/lib/module/figma/AlertDialog.Header.figma.js +22 -0
  552. package/lib/module/figma/AlertDialog.Header.figma.js.map +1 -0
  553. package/lib/module/figma/AlertDialog.Text.figma.js +14 -0
  554. package/lib/module/figma/AlertDialog.Text.figma.js.map +1 -0
  555. package/lib/module/figma/AlertDialog.Title.figma.js +21 -0
  556. package/lib/module/figma/AlertDialog.Title.figma.js.map +1 -0
  557. package/lib/module/figma/AlertDialog.figma.js +37 -0
  558. package/lib/module/figma/AlertDialog.figma.js.map +1 -0
  559. package/lib/module/figma/Avatar.figma.js +51 -0
  560. package/lib/module/figma/Avatar.figma.js.map +1 -0
  561. package/lib/module/figma/Badge.Indicator.figma.js +41 -0
  562. package/lib/module/figma/Badge.Indicator.figma.js.map +1 -0
  563. package/lib/module/figma/Badge.figma.js +59 -0
  564. package/lib/module/figma/Badge.figma.js.map +1 -0
  565. package/lib/module/figma/BottomSheet.Footer.figma.js +25 -0
  566. package/lib/module/figma/BottomSheet.Footer.figma.js.map +1 -0
  567. package/lib/module/figma/BottomSheet.Header.figma.js +24 -0
  568. package/lib/module/figma/BottomSheet.Header.figma.js.map +1 -0
  569. package/lib/module/figma/BottomSheet.figma.js +48 -0
  570. package/lib/module/figma/BottomSheet.figma.js.map +1 -0
  571. package/lib/module/figma/Button.figma.js +4 -7
  572. package/lib/module/figma/Button.figma.js.map +1 -1
  573. package/lib/module/figma/CLAUDE.md +30 -0
  574. package/lib/module/figma/Card.Header.figma.js +22 -0
  575. package/lib/module/figma/Card.Header.figma.js.map +1 -0
  576. package/lib/module/figma/Card.Stripe.figma.js +15 -0
  577. package/lib/module/figma/Card.Stripe.figma.js.map +1 -0
  578. package/lib/module/figma/Card.figma.js +39 -0
  579. package/lib/module/figma/Card.figma.js.map +1 -0
  580. package/lib/module/figma/Checkbox.figma.js +49 -0
  581. package/lib/module/figma/Checkbox.figma.js.map +1 -0
  582. package/lib/module/figma/Chip.figma.js +62 -0
  583. package/lib/module/figma/Chip.figma.js.map +1 -0
  584. package/lib/module/figma/Dialog.Description.figma.js +14 -0
  585. package/lib/module/figma/Dialog.Description.figma.js.map +1 -0
  586. package/lib/module/figma/Dialog.Footer.figma.js +24 -0
  587. package/lib/module/figma/Dialog.Footer.figma.js.map +1 -0
  588. package/lib/module/figma/Dialog.Header.figma.js +28 -0
  589. package/lib/module/figma/Dialog.Header.figma.js.map +1 -0
  590. package/lib/module/figma/Dialog.Text.figma.js +14 -0
  591. package/lib/module/figma/Dialog.Text.figma.js.map +1 -0
  592. package/lib/module/figma/Dialog.Title.figma.js +21 -0
  593. package/lib/module/figma/Dialog.Title.figma.js.map +1 -0
  594. package/lib/module/figma/Dialog.figma.js +45 -0
  595. package/lib/module/figma/Dialog.figma.js.map +1 -0
  596. package/lib/module/figma/Divider.figma.js +26 -0
  597. package/lib/module/figma/Divider.figma.js.map +1 -0
  598. package/lib/module/figma/Field.Input.figma.js +51 -0
  599. package/lib/module/figma/Field.Input.figma.js.map +1 -0
  600. package/lib/module/figma/Field.OtpInput.figma.js +46 -0
  601. package/lib/module/figma/Field.OtpInput.figma.js.map +1 -0
  602. package/lib/module/figma/Field.Select.figma.js +51 -0
  603. package/lib/module/figma/Field.Select.figma.js.map +1 -0
  604. package/lib/module/figma/Field.Textarea.figma.js +51 -0
  605. package/lib/module/figma/Field.Textarea.figma.js.map +1 -0
  606. package/lib/module/figma/Heading.figma.js +24 -0
  607. package/lib/module/figma/Heading.figma.js.map +1 -0
  608. package/lib/module/figma/Icon.figma.js +14 -0
  609. package/lib/module/figma/Icon.figma.js.map +1 -0
  610. package/lib/module/figma/IconButton.figma.js +41 -0
  611. package/lib/module/figma/IconButton.figma.js.map +1 -0
  612. package/lib/module/figma/Input.figma.js +46 -0
  613. package/lib/module/figma/Input.figma.js.map +1 -0
  614. package/lib/module/figma/Link.figma.js +24 -0
  615. package/lib/module/figma/Link.figma.js.map +1 -0
  616. package/lib/module/figma/ListItem.Description.figma.js +17 -0
  617. package/lib/module/figma/ListItem.Description.figma.js.map +1 -0
  618. package/lib/module/figma/ListItem.LeadingSlot.figma.js +18 -0
  619. package/lib/module/figma/ListItem.LeadingSlot.figma.js.map +1 -0
  620. package/lib/module/figma/ListItem.Meta.figma.js +17 -0
  621. package/lib/module/figma/ListItem.Meta.figma.js.map +1 -0
  622. package/lib/module/figma/ListItem.SectionHeader.figma.js +18 -0
  623. package/lib/module/figma/ListItem.SectionHeader.figma.js.map +1 -0
  624. package/lib/module/figma/ListItem.Title.figma.js +17 -0
  625. package/lib/module/figma/ListItem.Title.figma.js.map +1 -0
  626. package/lib/module/figma/ListItem.TrailingSlot.figma.js +18 -0
  627. package/lib/module/figma/ListItem.TrailingSlot.figma.js.map +1 -0
  628. package/lib/module/figma/ListItem.figma.js +44 -0
  629. package/lib/module/figma/ListItem.figma.js.map +1 -0
  630. package/lib/module/figma/OtpInput.Cell.figma.js +49 -0
  631. package/lib/module/figma/OtpInput.Cell.figma.js.map +1 -0
  632. package/lib/module/figma/OtpInput.figma.js +36 -0
  633. package/lib/module/figma/OtpInput.figma.js.map +1 -0
  634. package/lib/module/figma/ProgressSegmented.figma.js +33 -0
  635. package/lib/module/figma/ProgressSegmented.figma.js.map +1 -0
  636. package/lib/module/figma/QuickActionButton.figma.js +32 -0
  637. package/lib/module/figma/QuickActionButton.figma.js.map +1 -0
  638. package/lib/module/figma/Radio.figma.js +8 -6
  639. package/lib/module/figma/Radio.figma.js.map +1 -1
  640. package/lib/module/figma/Select.figma.js +47 -0
  641. package/lib/module/figma/Select.figma.js.map +1 -0
  642. package/lib/module/figma/Text.figma.js +26 -0
  643. package/lib/module/figma/Text.figma.js.map +1 -0
  644. package/lib/module/figma/Textarea.figma.js +41 -0
  645. package/lib/module/figma/Textarea.figma.js.map +1 -0
  646. package/lib/module/figma/icons.figma.batch.js +22 -0
  647. package/lib/module/figma/icons.figma.batch.js.map +1 -0
  648. package/lib/module/figma/icons.figma.batch.json +17705 -0
  649. package/lib/module/globals.d.js +2 -0
  650. package/lib/module/globals.d.js.map +1 -0
  651. package/lib/module/hooks/index.js +4 -0
  652. package/lib/module/hooks/index.js.map +1 -0
  653. package/lib/module/hooks/useForgeBottomTabScreenOptions.js +242 -0
  654. package/lib/module/hooks/useForgeBottomTabScreenOptions.js.map +1 -0
  655. package/lib/module/index.js +4 -0
  656. package/lib/module/index.js.map +1 -1
  657. package/lib/module/metro/withCdxMetroConfig.js +3 -17
  658. package/lib/module/metro/withCdxMetroConfig.js.map +1 -1
  659. package/lib/module/metro/withForgeMetroConfig.js +20 -0
  660. package/lib/module/metro/withForgeMetroConfig.js.map +1 -0
  661. package/lib/module/navigation/forgeTabIcon.js +39 -0
  662. package/lib/module/navigation/forgeTabIcon.js.map +1 -0
  663. package/lib/module/navigation/forgeTabIcon.native.js +31 -0
  664. package/lib/module/navigation/forgeTabIcon.native.js.map +1 -0
  665. package/lib/module/navigation/index.js +4 -0
  666. package/lib/module/navigation/index.js.map +1 -0
  667. package/lib/module/navigation/types.js +36 -0
  668. package/lib/module/navigation/types.js.map +1 -0
  669. package/lib/module/providers/animation-settings/index.js +4 -0
  670. package/lib/module/providers/animation-settings/index.js.map +1 -0
  671. package/lib/module/providers/animation-settings/provider.js +52 -0
  672. package/lib/module/providers/animation-settings/provider.js.map +1 -0
  673. package/lib/module/providers/animation-settings/types.js +4 -0
  674. package/lib/module/providers/animation-settings/types.js.map +1 -0
  675. package/lib/module/providers/forge-design/index.js +5 -0
  676. package/lib/module/providers/forge-design/index.js.map +1 -0
  677. package/lib/module/providers/forge-design/provider.js +66 -0
  678. package/lib/module/providers/forge-design/provider.js.map +1 -0
  679. package/lib/module/providers/forge-design/types.js +4 -0
  680. package/lib/module/providers/forge-design/types.js.map +1 -0
  681. package/lib/module/providers/text-component/index.js +5 -0
  682. package/lib/module/providers/text-component/index.js.map +1 -0
  683. package/lib/module/providers/text-component/provider.js +6 -0
  684. package/lib/module/providers/text-component/provider.js.map +1 -0
  685. package/lib/module/providers/text-component/types.js +4 -0
  686. package/lib/module/providers/text-component/types.js.map +1 -0
  687. package/lib/module/providers/toast/index.js +6 -0
  688. package/lib/module/providers/toast/index.js.map +1 -0
  689. package/lib/module/providers/toast/insets-container.js +162 -0
  690. package/lib/module/providers/toast/insets-container.js.map +1 -0
  691. package/lib/module/providers/toast/lifecycle.context.js +32 -0
  692. package/lib/module/providers/toast/lifecycle.context.js.map +1 -0
  693. package/lib/module/providers/toast/provider.js +503 -0
  694. package/lib/module/providers/toast/provider.js.map +1 -0
  695. package/lib/module/providers/toast/reducer.js +42 -0
  696. package/lib/module/providers/toast/reducer.js.map +1 -0
  697. package/lib/module/providers/toast/toast-config.context.js +25 -0
  698. package/lib/module/providers/toast/toast-config.context.js.map +1 -0
  699. package/lib/module/providers/toast/toast-item-renderer.js +39 -0
  700. package/lib/module/providers/toast/toast-item-renderer.js.map +1 -0
  701. package/lib/module/providers/toast/types.js +4 -0
  702. package/lib/module/providers/toast/types.js.map +1 -0
  703. package/lib/module/styles/constants.js +12 -0
  704. package/lib/module/styles/constants.js.map +1 -0
  705. package/lib/module/styles.css +0 -5
  706. package/lib/module/utils/positionToDataIcon.js +38 -0
  707. package/lib/module/utils/positionToDataIcon.js.map +1 -0
  708. package/lib/typescript/animation/hooks/index.d.ts +5 -0
  709. package/lib/typescript/animation/hooks/index.d.ts.map +1 -0
  710. package/lib/typescript/animation/hooks/useCombinedAnimationDisabledState.d.ts +22 -0
  711. package/lib/typescript/animation/hooks/useCombinedAnimationDisabledState.d.ts.map +1 -0
  712. package/lib/typescript/animation/hooks/usePopupDialogContentAnimation.d.ts +47 -0
  713. package/lib/typescript/animation/hooks/usePopupDialogContentAnimation.d.ts.map +1 -0
  714. package/lib/typescript/animation/hooks/usePopupOverlayAnimation.d.ts +29 -0
  715. package/lib/typescript/animation/hooks/usePopupOverlayAnimation.d.ts.map +1 -0
  716. package/lib/typescript/animation/hooks/usePopupRootAnimation.d.ts +16 -0
  717. package/lib/typescript/animation/hooks/usePopupRootAnimation.d.ts.map +1 -0
  718. package/lib/typescript/animation/index.d.ts +4 -0
  719. package/lib/typescript/animation/index.d.ts.map +1 -0
  720. package/lib/typescript/animation/types.d.ts +105 -0
  721. package/lib/typescript/animation/types.d.ts.map +1 -0
  722. package/lib/typescript/animation/utils.d.ts +120 -0
  723. package/lib/typescript/animation/utils.d.ts.map +1 -0
  724. package/lib/typescript/components/Alert/index.d.ts +67 -0
  725. package/lib/typescript/components/Alert/index.d.ts.map +1 -0
  726. package/lib/typescript/components/Alert/styles.d.ts +19 -0
  727. package/lib/typescript/components/Alert/styles.d.ts.map +1 -0
  728. package/lib/typescript/components/AlertDialog/index.d.ts +10 -7
  729. package/lib/typescript/components/AlertDialog/index.d.ts.map +1 -1
  730. package/lib/typescript/components/Avatar/index.d.ts +14 -2
  731. package/lib/typescript/components/Avatar/index.d.ts.map +1 -1
  732. package/lib/typescript/components/Avatar/styles.d.ts +4 -4
  733. package/lib/typescript/components/Avatar/styles.d.ts.map +1 -1
  734. package/lib/typescript/components/Badge/index.d.ts +14 -0
  735. package/lib/typescript/components/Badge/index.d.ts.map +1 -0
  736. package/lib/typescript/components/Badge/styles.d.ts +18 -0
  737. package/lib/typescript/components/Badge/styles.d.ts.map +1 -0
  738. package/lib/typescript/components/BottomSheet/index.d.ts +2 -2
  739. package/lib/typescript/components/BottomSheet/index.d.ts.map +1 -1
  740. package/lib/typescript/components/BottomSheet/styles.d.ts +4 -8
  741. package/lib/typescript/components/BottomSheet/styles.d.ts.map +1 -1
  742. package/lib/typescript/components/Box/Box.d.ts +0 -3
  743. package/lib/typescript/components/Box/Box.d.ts.map +1 -1
  744. package/lib/typescript/components/Breadcrumbs/index.d.ts +28 -0
  745. package/lib/typescript/components/Breadcrumbs/index.d.ts.map +1 -0
  746. package/lib/typescript/components/Breadcrumbs/styles.d.ts +11 -0
  747. package/lib/typescript/components/Breadcrumbs/styles.d.ts.map +1 -0
  748. package/lib/typescript/components/Button/index.d.ts +81 -9
  749. package/lib/typescript/components/Button/index.d.ts.map +1 -1
  750. package/lib/typescript/components/Button/styles.d.ts +10 -7
  751. package/lib/typescript/components/Button/styles.d.ts.map +1 -1
  752. package/lib/typescript/components/Card/index.d.ts +12 -2
  753. package/lib/typescript/components/Card/index.d.ts.map +1 -1
  754. package/lib/typescript/components/Card/styles.d.ts +5 -1
  755. package/lib/typescript/components/Card/styles.d.ts.map +1 -1
  756. package/lib/typescript/components/Carousel/index.d.ts +70 -0
  757. package/lib/typescript/components/Carousel/index.d.ts.map +1 -0
  758. package/lib/typescript/components/Carousel/paginationNavigation.d.ts +12 -0
  759. package/lib/typescript/components/Carousel/paginationNavigation.d.ts.map +1 -0
  760. package/lib/typescript/components/Carousel/styles.d.ts +8 -0
  761. package/lib/typescript/components/Carousel/styles.d.ts.map +1 -0
  762. package/lib/typescript/components/Checkbox/index.d.ts +4 -3
  763. package/lib/typescript/components/Checkbox/index.d.ts.map +1 -1
  764. package/lib/typescript/components/Checkbox/styles.d.ts +4 -14
  765. package/lib/typescript/components/Checkbox/styles.d.ts.map +1 -1
  766. package/lib/typescript/components/Chip/index.d.ts +51 -8
  767. package/lib/typescript/components/Chip/index.d.ts.map +1 -1
  768. package/lib/typescript/components/Chip/styles.d.ts +12 -4
  769. package/lib/typescript/components/Chip/styles.d.ts.map +1 -1
  770. package/lib/typescript/components/CurrencyInput/index.d.ts +15 -0
  771. package/lib/typescript/components/CurrencyInput/index.d.ts.map +1 -0
  772. package/lib/typescript/components/CurrencyInput/styles.d.ts +9 -0
  773. package/lib/typescript/components/CurrencyInput/styles.d.ts.map +1 -0
  774. package/lib/typescript/components/Dialog/animation.d.ts +11 -0
  775. package/lib/typescript/components/Dialog/animation.d.ts.map +1 -0
  776. package/lib/typescript/components/Dialog/index.d.ts +43 -13
  777. package/lib/typescript/components/Dialog/index.d.ts.map +1 -1
  778. package/lib/typescript/components/Dialog/styles.d.ts +17 -5
  779. package/lib/typescript/components/Dialog/styles.d.ts.map +1 -1
  780. package/lib/typescript/components/Divider/index.d.ts +21 -0
  781. package/lib/typescript/components/Divider/index.d.ts.map +1 -0
  782. package/lib/typescript/components/Divider/styles.d.ts +12 -0
  783. package/lib/typescript/components/Divider/styles.d.ts.map +1 -0
  784. package/lib/typescript/components/Field/index.d.ts +14 -7
  785. package/lib/typescript/components/Field/index.d.ts.map +1 -1
  786. package/lib/typescript/components/Field/styles.d.ts.map +1 -1
  787. package/lib/typescript/components/Form/index.d.ts +4 -4
  788. package/lib/typescript/components/Form/index.d.ts.map +1 -1
  789. package/lib/typescript/components/Heading/styles.d.ts +1 -1
  790. package/lib/typescript/components/Icon/index.d.ts +5 -5
  791. package/lib/typescript/components/Icon/index.d.ts.map +1 -1
  792. package/lib/typescript/components/IconButton/index.d.ts +14 -4
  793. package/lib/typescript/components/IconButton/index.d.ts.map +1 -1
  794. package/lib/typescript/components/IconButton/styles.d.ts +6 -2
  795. package/lib/typescript/components/IconButton/styles.d.ts.map +1 -1
  796. package/lib/typescript/components/Input/index.d.ts +31 -5
  797. package/lib/typescript/components/Input/index.d.ts.map +1 -1
  798. package/lib/typescript/components/Input/styles.d.ts.map +1 -1
  799. package/lib/typescript/components/InsuranceDisclosure/index.d.ts +10 -0
  800. package/lib/typescript/components/InsuranceDisclosure/index.d.ts.map +1 -0
  801. package/lib/typescript/components/InsuranceDisclosure/styles.d.ts +4 -0
  802. package/lib/typescript/components/InsuranceDisclosure/styles.d.ts.map +1 -0
  803. package/lib/typescript/components/Link/index.d.ts +5 -2
  804. package/lib/typescript/components/Link/index.d.ts.map +1 -1
  805. package/lib/typescript/components/Link/styles.d.ts +9 -2
  806. package/lib/typescript/components/Link/styles.d.ts.map +1 -1
  807. package/lib/typescript/components/ListItem/index.d.ts +28 -6
  808. package/lib/typescript/components/ListItem/index.d.ts.map +1 -1
  809. package/lib/typescript/components/ListItem/styles.d.ts +3 -10
  810. package/lib/typescript/components/ListItem/styles.d.ts.map +1 -1
  811. package/lib/typescript/components/OtpInput/index.d.ts +30 -3
  812. package/lib/typescript/components/OtpInput/index.d.ts.map +1 -1
  813. package/lib/typescript/components/OtpInput/styles.d.ts.map +1 -1
  814. package/lib/typescript/components/ProgressBar/index.d.ts +4 -4
  815. package/lib/typescript/components/ProgressBar/index.d.ts.map +1 -1
  816. package/lib/typescript/components/ProgressSegmented/index.d.ts +14 -3
  817. package/lib/typescript/components/ProgressSegmented/index.d.ts.map +1 -1
  818. package/lib/typescript/components/QuickActionButton/index.d.ts +41 -0
  819. package/lib/typescript/components/QuickActionButton/index.d.ts.map +1 -0
  820. package/lib/typescript/components/QuickActionButton/styles.d.ts +7 -0
  821. package/lib/typescript/components/QuickActionButton/styles.d.ts.map +1 -0
  822. package/lib/typescript/components/Radio/index.d.ts +4 -0
  823. package/lib/typescript/components/Radio/index.d.ts.map +1 -1
  824. package/lib/typescript/components/Radio/styles.d.ts.map +1 -1
  825. package/lib/typescript/components/ScopedTheme/index.d.ts +16 -0
  826. package/lib/typescript/components/ScopedTheme/index.d.ts.map +1 -0
  827. package/lib/typescript/components/ScrollShadow/index.d.ts +29 -0
  828. package/lib/typescript/components/ScrollShadow/index.d.ts.map +1 -0
  829. package/lib/typescript/components/ScrollShadow/styles.d.ts +12 -0
  830. package/lib/typescript/components/ScrollShadow/styles.d.ts.map +1 -0
  831. package/lib/typescript/components/ScrollShadow/useScrollShadow.d.ts +17 -0
  832. package/lib/typescript/components/ScrollShadow/useScrollShadow.d.ts.map +1 -0
  833. package/lib/typescript/components/Select/index.d.ts +35 -2
  834. package/lib/typescript/components/Select/index.d.ts.map +1 -1
  835. package/lib/typescript/components/Select/styles.d.ts.map +1 -1
  836. package/lib/typescript/components/Skeleton/index.d.ts +9 -0
  837. package/lib/typescript/components/Skeleton/index.d.ts.map +1 -0
  838. package/lib/typescript/components/Skeleton/styles.d.ts +4 -0
  839. package/lib/typescript/components/Skeleton/styles.d.ts.map +1 -0
  840. package/lib/typescript/components/Slider/getSliderPopupPosition.d.ts +10 -0
  841. package/lib/typescript/components/Slider/getSliderPopupPosition.d.ts.map +1 -0
  842. package/lib/typescript/components/Slider/index.d.ts +61 -0
  843. package/lib/typescript/components/Slider/index.d.ts.map +1 -0
  844. package/lib/typescript/components/Slider/styles.d.ts +30 -0
  845. package/lib/typescript/components/Slider/styles.d.ts.map +1 -0
  846. package/lib/typescript/components/Stack/styles.d.ts +2 -2
  847. package/lib/typescript/components/Switch/BaseSwitch.d.ts +12 -5
  848. package/lib/typescript/components/Switch/BaseSwitch.d.ts.map +1 -1
  849. package/lib/typescript/components/Switch/BaseSwitch.web.d.ts +11 -5
  850. package/lib/typescript/components/Switch/BaseSwitch.web.d.ts.map +1 -1
  851. package/lib/typescript/components/Switch/index.d.ts +15 -3
  852. package/lib/typescript/components/Switch/index.d.ts.map +1 -1
  853. package/lib/typescript/components/Tabs/index.d.ts +48 -0
  854. package/lib/typescript/components/Tabs/index.d.ts.map +1 -0
  855. package/lib/typescript/components/Tabs/styles.d.ts +107 -0
  856. package/lib/typescript/components/Tabs/styles.d.ts.map +1 -0
  857. package/lib/typescript/components/Text/styles.d.ts +1 -1
  858. package/lib/typescript/components/Textarea/index.d.ts +27 -0
  859. package/lib/typescript/components/Textarea/index.d.ts.map +1 -0
  860. package/lib/typescript/components/Textarea/styles.d.ts +11 -0
  861. package/lib/typescript/components/Textarea/styles.d.ts.map +1 -0
  862. package/lib/typescript/components/Tile/index.d.ts +8 -2
  863. package/lib/typescript/components/Tile/index.d.ts.map +1 -1
  864. package/lib/typescript/components/Tile/styles.d.ts +1 -1
  865. package/lib/typescript/components/Toast/animation.d.ts +21 -0
  866. package/lib/typescript/components/Toast/animation.d.ts.map +1 -0
  867. package/lib/typescript/components/Toast/hooks.d.ts +17 -0
  868. package/lib/typescript/components/Toast/hooks.d.ts.map +1 -0
  869. package/lib/typescript/components/Toast/index.d.ts +28 -0
  870. package/lib/typescript/components/Toast/index.d.ts.map +1 -0
  871. package/lib/typescript/components/Toast/styles.d.ts +73 -0
  872. package/lib/typescript/components/Toast/styles.d.ts.map +1 -0
  873. package/lib/typescript/components/Toast/types.d.ts +308 -0
  874. package/lib/typescript/components/Toast/types.d.ts.map +1 -0
  875. package/lib/typescript/components/VirtualizedList/index.d.ts +2 -1
  876. package/lib/typescript/components/VirtualizedList/index.d.ts.map +1 -1
  877. package/lib/typescript/components/index.d.ts +15 -0
  878. package/lib/typescript/components/index.d.ts.map +1 -1
  879. package/lib/typescript/figma/Alert.Button.figma.d.ts +11 -0
  880. package/lib/typescript/figma/Alert.Button.figma.d.ts.map +1 -0
  881. package/lib/typescript/figma/Alert.Close.figma.d.ts +11 -0
  882. package/lib/typescript/figma/Alert.Close.figma.d.ts.map +1 -0
  883. package/lib/typescript/figma/Alert.Description.figma.d.ts +8 -0
  884. package/lib/typescript/figma/Alert.Description.figma.d.ts.map +1 -0
  885. package/lib/typescript/figma/Alert.Title.figma.d.ts +8 -0
  886. package/lib/typescript/figma/Alert.Title.figma.d.ts.map +1 -0
  887. package/lib/typescript/figma/Alert.figma.d.ts +8 -0
  888. package/lib/typescript/figma/Alert.figma.d.ts.map +1 -0
  889. package/lib/typescript/figma/AlertDialog.Description.figma.d.ts +8 -0
  890. package/lib/typescript/figma/AlertDialog.Description.figma.d.ts.map +1 -0
  891. package/lib/typescript/figma/AlertDialog.Footer.figma.d.ts +8 -0
  892. package/lib/typescript/figma/AlertDialog.Footer.figma.d.ts.map +1 -0
  893. package/lib/typescript/figma/AlertDialog.Header.figma.d.ts +8 -0
  894. package/lib/typescript/figma/AlertDialog.Header.figma.d.ts.map +1 -0
  895. package/lib/typescript/figma/AlertDialog.Text.figma.d.ts +8 -0
  896. package/lib/typescript/figma/AlertDialog.Text.figma.d.ts.map +1 -0
  897. package/lib/typescript/figma/AlertDialog.Title.figma.d.ts +8 -0
  898. package/lib/typescript/figma/AlertDialog.Title.figma.d.ts.map +1 -0
  899. package/lib/typescript/figma/AlertDialog.figma.d.ts +8 -0
  900. package/lib/typescript/figma/AlertDialog.figma.d.ts.map +1 -0
  901. package/lib/typescript/figma/Avatar.figma.d.ts +11 -0
  902. package/lib/typescript/figma/Avatar.figma.d.ts.map +1 -0
  903. package/lib/typescript/figma/Badge.Indicator.figma.d.ts +11 -0
  904. package/lib/typescript/figma/Badge.Indicator.figma.d.ts.map +1 -0
  905. package/lib/typescript/figma/Badge.figma.d.ts +8 -0
  906. package/lib/typescript/figma/Badge.figma.d.ts.map +1 -0
  907. package/lib/typescript/figma/BottomSheet.Footer.figma.d.ts +8 -0
  908. package/lib/typescript/figma/BottomSheet.Footer.figma.d.ts.map +1 -0
  909. package/lib/typescript/figma/BottomSheet.Header.figma.d.ts +8 -0
  910. package/lib/typescript/figma/BottomSheet.Header.figma.d.ts.map +1 -0
  911. package/lib/typescript/figma/BottomSheet.figma.d.ts +8 -0
  912. package/lib/typescript/figma/BottomSheet.figma.d.ts.map +1 -0
  913. package/lib/typescript/figma/Button.figma.d.ts.map +1 -1
  914. package/lib/typescript/figma/Card.Header.figma.d.ts +8 -0
  915. package/lib/typescript/figma/Card.Header.figma.d.ts.map +1 -0
  916. package/lib/typescript/figma/Card.Stripe.figma.d.ts +11 -0
  917. package/lib/typescript/figma/Card.Stripe.figma.d.ts.map +1 -0
  918. package/lib/typescript/figma/Card.figma.d.ts +8 -0
  919. package/lib/typescript/figma/Card.figma.d.ts.map +1 -0
  920. package/lib/typescript/figma/Checkbox.figma.d.ts +8 -0
  921. package/lib/typescript/figma/Checkbox.figma.d.ts.map +1 -0
  922. package/lib/typescript/figma/Chip.figma.d.ts +8 -0
  923. package/lib/typescript/figma/Chip.figma.d.ts.map +1 -0
  924. package/lib/typescript/figma/Dialog.Description.figma.d.ts +8 -0
  925. package/lib/typescript/figma/Dialog.Description.figma.d.ts.map +1 -0
  926. package/lib/typescript/figma/Dialog.Footer.figma.d.ts +8 -0
  927. package/lib/typescript/figma/Dialog.Footer.figma.d.ts.map +1 -0
  928. package/lib/typescript/figma/Dialog.Header.figma.d.ts +8 -0
  929. package/lib/typescript/figma/Dialog.Header.figma.d.ts.map +1 -0
  930. package/lib/typescript/figma/Dialog.Text.figma.d.ts +8 -0
  931. package/lib/typescript/figma/Dialog.Text.figma.d.ts.map +1 -0
  932. package/lib/typescript/figma/Dialog.Title.figma.d.ts +8 -0
  933. package/lib/typescript/figma/Dialog.Title.figma.d.ts.map +1 -0
  934. package/lib/typescript/figma/Dialog.figma.d.ts +8 -0
  935. package/lib/typescript/figma/Dialog.figma.d.ts.map +1 -0
  936. package/lib/typescript/figma/Divider.figma.d.ts +8 -0
  937. package/lib/typescript/figma/Divider.figma.d.ts.map +1 -0
  938. package/lib/typescript/figma/Field.Input.figma.d.ts +8 -0
  939. package/lib/typescript/figma/Field.Input.figma.d.ts.map +1 -0
  940. package/lib/typescript/figma/Field.OtpInput.figma.d.ts +8 -0
  941. package/lib/typescript/figma/Field.OtpInput.figma.d.ts.map +1 -0
  942. package/lib/typescript/figma/Field.Select.figma.d.ts +8 -0
  943. package/lib/typescript/figma/Field.Select.figma.d.ts.map +1 -0
  944. package/lib/typescript/figma/Field.Textarea.figma.d.ts +8 -0
  945. package/lib/typescript/figma/Field.Textarea.figma.d.ts.map +1 -0
  946. package/lib/typescript/figma/Heading.figma.d.ts +8 -0
  947. package/lib/typescript/figma/Heading.figma.d.ts.map +1 -0
  948. package/lib/typescript/figma/Icon.figma.d.ts +8 -0
  949. package/lib/typescript/figma/Icon.figma.d.ts.map +1 -0
  950. package/lib/typescript/figma/IconButton.figma.d.ts +8 -0
  951. package/lib/typescript/figma/IconButton.figma.d.ts.map +1 -0
  952. package/lib/typescript/figma/Input.figma.d.ts +8 -0
  953. package/lib/typescript/figma/Input.figma.d.ts.map +1 -0
  954. package/lib/typescript/figma/Link.figma.d.ts +8 -0
  955. package/lib/typescript/figma/Link.figma.d.ts.map +1 -0
  956. package/lib/typescript/figma/ListItem.Description.figma.d.ts +11 -0
  957. package/lib/typescript/figma/ListItem.Description.figma.d.ts.map +1 -0
  958. package/lib/typescript/figma/ListItem.LeadingSlot.figma.d.ts +8 -0
  959. package/lib/typescript/figma/ListItem.LeadingSlot.figma.d.ts.map +1 -0
  960. package/lib/typescript/figma/ListItem.Meta.figma.d.ts +11 -0
  961. package/lib/typescript/figma/ListItem.Meta.figma.d.ts.map +1 -0
  962. package/lib/typescript/figma/ListItem.SectionHeader.figma.d.ts +8 -0
  963. package/lib/typescript/figma/ListItem.SectionHeader.figma.d.ts.map +1 -0
  964. package/lib/typescript/figma/ListItem.Title.figma.d.ts +11 -0
  965. package/lib/typescript/figma/ListItem.Title.figma.d.ts.map +1 -0
  966. package/lib/typescript/figma/ListItem.TrailingSlot.figma.d.ts +8 -0
  967. package/lib/typescript/figma/ListItem.TrailingSlot.figma.d.ts.map +1 -0
  968. package/lib/typescript/figma/ListItem.figma.d.ts +8 -0
  969. package/lib/typescript/figma/ListItem.figma.d.ts.map +1 -0
  970. package/lib/typescript/figma/OtpInput.Cell.figma.d.ts +8 -0
  971. package/lib/typescript/figma/OtpInput.Cell.figma.d.ts.map +1 -0
  972. package/lib/typescript/figma/OtpInput.figma.d.ts +8 -0
  973. package/lib/typescript/figma/OtpInput.figma.d.ts.map +1 -0
  974. package/lib/typescript/figma/ProgressSegmented.figma.d.ts +8 -0
  975. package/lib/typescript/figma/ProgressSegmented.figma.d.ts.map +1 -0
  976. package/lib/typescript/figma/QuickActionButton.figma.d.ts +8 -0
  977. package/lib/typescript/figma/QuickActionButton.figma.d.ts.map +1 -0
  978. package/lib/typescript/figma/Radio.figma.d.ts.map +1 -1
  979. package/lib/typescript/figma/Select.figma.d.ts +8 -0
  980. package/lib/typescript/figma/Select.figma.d.ts.map +1 -0
  981. package/lib/typescript/figma/Text.figma.d.ts +11 -0
  982. package/lib/typescript/figma/Text.figma.d.ts.map +1 -0
  983. package/lib/typescript/figma/Textarea.figma.d.ts +8 -0
  984. package/lib/typescript/figma/Textarea.figma.d.ts.map +1 -0
  985. package/lib/typescript/figma/icons.figma.batch.d.ts +14 -0
  986. package/lib/typescript/figma/icons.figma.batch.d.ts.map +1 -0
  987. package/lib/typescript/hooks/index.d.ts +2 -0
  988. package/lib/typescript/hooks/index.d.ts.map +1 -0
  989. package/lib/typescript/hooks/useForgeBottomTabScreenOptions.d.ts +137 -0
  990. package/lib/typescript/hooks/useForgeBottomTabScreenOptions.d.ts.map +1 -0
  991. package/lib/typescript/index.d.ts +6 -0
  992. package/lib/typescript/index.d.ts.map +1 -1
  993. package/lib/typescript/metro/withCdxMetroConfig.d.ts +4 -18
  994. package/lib/typescript/metro/withCdxMetroConfig.d.ts.map +1 -1
  995. package/lib/typescript/metro/withForgeMetroConfig.d.ts +19 -0
  996. package/lib/typescript/metro/withForgeMetroConfig.d.ts.map +1 -0
  997. package/lib/typescript/navigation/forgeTabIcon.d.ts +27 -0
  998. package/lib/typescript/navigation/forgeTabIcon.d.ts.map +1 -0
  999. package/lib/typescript/navigation/forgeTabIcon.native.d.ts +15 -0
  1000. package/lib/typescript/navigation/forgeTabIcon.native.d.ts.map +1 -0
  1001. package/lib/typescript/navigation/index.d.ts +4 -0
  1002. package/lib/typescript/navigation/index.d.ts.map +1 -0
  1003. package/lib/typescript/navigation/types.d.ts +37 -0
  1004. package/lib/typescript/navigation/types.d.ts.map +1 -0
  1005. package/lib/typescript/providers/animation-settings/index.d.ts +3 -0
  1006. package/lib/typescript/providers/animation-settings/index.d.ts.map +1 -0
  1007. package/lib/typescript/providers/animation-settings/provider.d.ts +28 -0
  1008. package/lib/typescript/providers/animation-settings/provider.d.ts.map +1 -0
  1009. package/lib/typescript/providers/animation-settings/types.d.ts +35 -0
  1010. package/lib/typescript/providers/animation-settings/types.d.ts.map +1 -0
  1011. package/lib/typescript/providers/forge-design/index.d.ts +3 -0
  1012. package/lib/typescript/providers/forge-design/index.d.ts.map +1 -0
  1013. package/lib/typescript/providers/forge-design/provider.d.ts +24 -0
  1014. package/lib/typescript/providers/forge-design/provider.d.ts.map +1 -0
  1015. package/lib/typescript/providers/forge-design/types.d.ts +82 -0
  1016. package/lib/typescript/providers/forge-design/types.d.ts.map +1 -0
  1017. package/lib/typescript/providers/text-component/index.d.ts +3 -0
  1018. package/lib/typescript/providers/text-component/index.d.ts.map +1 -0
  1019. package/lib/typescript/providers/text-component/provider.d.ts +7 -0
  1020. package/lib/typescript/providers/text-component/provider.d.ts.map +1 -0
  1021. package/lib/typescript/providers/text-component/types.d.ts +51 -0
  1022. package/lib/typescript/providers/text-component/types.d.ts.map +1 -0
  1023. package/lib/typescript/providers/toast/index.d.ts +5 -0
  1024. package/lib/typescript/providers/toast/index.d.ts.map +1 -0
  1025. package/lib/typescript/providers/toast/insets-container.d.ts +72 -0
  1026. package/lib/typescript/providers/toast/insets-container.d.ts.map +1 -0
  1027. package/lib/typescript/providers/toast/lifecycle.context.d.ts +32 -0
  1028. package/lib/typescript/providers/toast/lifecycle.context.d.ts.map +1 -0
  1029. package/lib/typescript/providers/toast/provider.d.ts +32 -0
  1030. package/lib/typescript/providers/toast/provider.d.ts.map +1 -0
  1031. package/lib/typescript/providers/toast/reducer.d.ts +14 -0
  1032. package/lib/typescript/providers/toast/reducer.d.ts.map +1 -0
  1033. package/lib/typescript/providers/toast/toast-config.context.d.ts +20 -0
  1034. package/lib/typescript/providers/toast/toast-config.context.d.ts.map +1 -0
  1035. package/lib/typescript/providers/toast/toast-item-renderer.d.ts +7 -0
  1036. package/lib/typescript/providers/toast/toast-item-renderer.d.ts.map +1 -0
  1037. package/lib/typescript/providers/toast/types.d.ts +422 -0
  1038. package/lib/typescript/providers/toast/types.d.ts.map +1 -0
  1039. package/lib/typescript/styles/constants.d.ts +4 -0
  1040. package/lib/typescript/styles/constants.d.ts.map +1 -0
  1041. package/lib/typescript/utils/positionToDataIcon.d.ts +29 -0
  1042. package/lib/typescript/utils/positionToDataIcon.d.ts.map +1 -0
  1043. package/package.json +27 -16
  1044. package/src/animation/hooks/index.ts +4 -0
  1045. package/src/animation/hooks/useCombinedAnimationDisabledState.ts +46 -0
  1046. package/src/animation/hooks/usePopupDialogContentAnimation.ts +265 -0
  1047. package/src/animation/hooks/usePopupOverlayAnimation.ts +91 -0
  1048. package/src/animation/hooks/usePopupRootAnimation.ts +27 -0
  1049. package/src/animation/index.ts +3 -0
  1050. package/src/animation/types.ts +128 -0
  1051. package/src/animation/utils.ts +249 -0
  1052. package/src/components/Alert/index.tsx +318 -0
  1053. package/src/components/Alert/styles.ts +88 -0
  1054. package/src/components/AlertDialog/index.tsx +36 -22
  1055. package/src/components/Avatar/index.tsx +143 -45
  1056. package/src/components/Avatar/styles.ts +49 -34
  1057. package/src/components/Badge/index.tsx +91 -0
  1058. package/src/components/Badge/styles.ts +136 -0
  1059. package/src/components/BottomSheet/index.tsx +107 -50
  1060. package/src/components/BottomSheet/styles.ts +9 -56
  1061. package/src/components/Box/Box.tsx +3 -7
  1062. package/src/components/Breadcrumbs/index.tsx +311 -0
  1063. package/src/components/Breadcrumbs/styles.ts +63 -0
  1064. package/src/components/Button/index.tsx +284 -47
  1065. package/src/components/Button/styles.ts +78 -37
  1066. package/src/components/CLAUDE.md +195 -0
  1067. package/src/components/Card/index.tsx +94 -28
  1068. package/src/components/Card/styles.ts +19 -4
  1069. package/src/components/Carousel/index.tsx +263 -0
  1070. package/src/components/Carousel/paginationNavigation.ts +32 -0
  1071. package/src/components/Carousel/styles.ts +18 -0
  1072. package/src/components/Checkbox/index.tsx +124 -51
  1073. package/src/components/Checkbox/styles.ts +93 -84
  1074. package/src/components/Chip/index.tsx +194 -32
  1075. package/src/components/Chip/styles.ts +224 -22
  1076. package/src/components/CurrencyInput/index.tsx +192 -0
  1077. package/src/components/CurrencyInput/styles.ts +44 -0
  1078. package/src/components/Dialog/animation.ts +13 -0
  1079. package/src/components/Dialog/index.tsx +538 -90
  1080. package/src/components/Dialog/styles.ts +93 -30
  1081. package/src/components/Divider/index.tsx +94 -0
  1082. package/src/components/Divider/styles.ts +86 -0
  1083. package/src/components/Field/index.tsx +121 -50
  1084. package/src/components/Field/styles.ts +6 -5
  1085. package/src/components/Form/index.tsx +18 -14
  1086. package/src/components/Heading/styles.ts +1 -1
  1087. package/src/components/Icon/index.tsx +14 -8
  1088. package/src/components/IconButton/index.tsx +41 -37
  1089. package/src/components/IconButton/styles.ts +136 -10
  1090. package/src/components/Input/index.tsx +95 -33
  1091. package/src/components/Input/styles.ts +35 -12
  1092. package/src/components/InsuranceDisclosure/index.tsx +59 -0
  1093. package/src/components/InsuranceDisclosure/styles.ts +12 -0
  1094. package/src/components/Link/index.tsx +58 -18
  1095. package/src/components/Link/styles.ts +47 -10
  1096. package/src/components/ListItem/index.tsx +157 -87
  1097. package/src/components/ListItem/styles.ts +46 -70
  1098. package/src/components/OtpInput/index.tsx +149 -34
  1099. package/src/components/OtpInput/styles.ts +20 -13
  1100. package/src/components/ProgressBar/index.tsx +11 -16
  1101. package/src/components/ProgressBar/styles.ts +1 -1
  1102. package/src/components/ProgressSegmented/index.tsx +45 -14
  1103. package/src/components/ProgressSegmented/styles.ts +2 -2
  1104. package/src/components/QuickActionButton/index.tsx +161 -0
  1105. package/src/components/QuickActionButton/styles.ts +42 -0
  1106. package/src/components/Radio/index.tsx +96 -53
  1107. package/src/components/Radio/styles.ts +37 -14
  1108. package/src/components/ScopedTheme/index.tsx +17 -0
  1109. package/src/components/ScrollShadow/index.tsx +119 -0
  1110. package/src/components/ScrollShadow/styles.ts +57 -0
  1111. package/src/components/ScrollShadow/useScrollShadow.ts +110 -0
  1112. package/src/components/Select/index.tsx +175 -55
  1113. package/src/components/Select/styles.ts +63 -51
  1114. package/src/components/Skeleton/index.tsx +43 -0
  1115. package/src/components/Skeleton/styles.ts +5 -0
  1116. package/src/components/Slider/getSliderPopupPosition.ts +37 -0
  1117. package/src/components/Slider/index.tsx +456 -0
  1118. package/src/components/Slider/styles.ts +147 -0
  1119. package/src/components/Switch/BaseSwitch.tsx +38 -16
  1120. package/src/components/Switch/BaseSwitch.web.tsx +28 -35
  1121. package/src/components/Switch/index.tsx +61 -6
  1122. package/src/components/Tabs/index.tsx +698 -0
  1123. package/src/components/Tabs/styles.ts +340 -0
  1124. package/src/components/Text/styles.ts +2 -2
  1125. package/src/components/Textarea/index.tsx +180 -0
  1126. package/src/components/Textarea/styles.ts +86 -0
  1127. package/src/components/Tile/index.tsx +145 -94
  1128. package/src/components/Tile/styles.ts +2 -2
  1129. package/src/components/Toast/animation.ts +405 -0
  1130. package/src/components/Toast/hooks.ts +93 -0
  1131. package/src/components/Toast/index.tsx +551 -0
  1132. package/src/components/Toast/styles.ts +186 -0
  1133. package/src/components/Toast/types.ts +338 -0
  1134. package/src/components/VirtualizedList/index.tsx +11 -1
  1135. package/src/components/index.ts +15 -0
  1136. package/src/globals.d.ts +1 -0
  1137. package/src/hooks/index.ts +5 -0
  1138. package/src/hooks/useForgeBottomTabScreenOptions.ts +245 -0
  1139. package/src/index.ts +6 -0
  1140. package/src/metro/withCdxMetroConfig.ts +4 -29
  1141. package/src/metro/withForgeMetroConfig.ts +29 -0
  1142. package/src/navigation/forgeTabIcon.native.ts +36 -0
  1143. package/src/navigation/forgeTabIcon.ts +33 -0
  1144. package/src/navigation/index.ts +3 -0
  1145. package/src/navigation/types.ts +54 -0
  1146. package/src/providers/animation-settings/index.ts +11 -0
  1147. package/src/providers/animation-settings/provider.tsx +54 -0
  1148. package/src/providers/animation-settings/types.ts +37 -0
  1149. package/src/providers/forge-design/index.ts +2 -0
  1150. package/src/providers/forge-design/provider.tsx +61 -0
  1151. package/src/providers/forge-design/types.ts +84 -0
  1152. package/src/providers/text-component/index.ts +2 -0
  1153. package/src/providers/text-component/provider.tsx +7 -0
  1154. package/src/providers/text-component/types.ts +52 -0
  1155. package/src/providers/toast/index.ts +4 -0
  1156. package/src/providers/toast/insets-container.tsx +232 -0
  1157. package/src/providers/toast/lifecycle.context.tsx +37 -0
  1158. package/src/providers/toast/provider.tsx +572 -0
  1159. package/src/providers/toast/reducer.ts +40 -0
  1160. package/src/providers/toast/toast-config.context.ts +25 -0
  1161. package/src/providers/toast/toast-item-renderer.tsx +40 -0
  1162. package/src/providers/toast/types.ts +431 -0
  1163. package/src/styles/constants.ts +10 -0
  1164. package/src/styles.css +0 -5
  1165. package/src/utils/positionToDataIcon.ts +34 -0
  1166. package/lib/commonjs/components/Field/FieldLabel.js +0 -33
  1167. package/lib/commonjs/components/Field/FieldLabel.js.map +0 -1
  1168. package/lib/commonjs/components/Field/FieldLabel.web.js +0 -22
  1169. package/lib/commonjs/components/Field/FieldLabel.web.js.map +0 -1
  1170. package/lib/commonjs/components/Form/FormRoot.js +0 -25
  1171. package/lib/commonjs/components/Form/FormRoot.js.map +0 -1
  1172. package/lib/commonjs/components/Form/FormRoot.web.js +0 -17
  1173. package/lib/commonjs/components/Form/FormRoot.web.js.map +0 -1
  1174. package/lib/commonjs/components/Input/BaseInput.android.js +0 -20
  1175. package/lib/commonjs/components/Input/BaseInput.android.js.map +0 -1
  1176. package/lib/commonjs/components/Input/BaseInput.js +0 -13
  1177. package/lib/commonjs/components/Input/BaseInput.js.map +0 -1
  1178. package/lib/commonjs/components/Input/BaseInput.web.js +0 -50
  1179. package/lib/commonjs/components/Input/BaseInput.web.js.map +0 -1
  1180. package/lib/commonjs/components/Select/SelectTriggerHost.js +0 -10
  1181. package/lib/commonjs/components/Select/SelectTriggerHost.js.map +0 -1
  1182. package/lib/commonjs/components/Select/SelectTriggerHost.web.js +0 -98
  1183. package/lib/commonjs/components/Select/SelectTriggerHost.web.js.map +0 -1
  1184. package/lib/commonjs/styles/index.js +0 -17
  1185. package/lib/commonjs/styles/index.js.map +0 -1
  1186. package/lib/commonjs/styles/primitives.js +0 -156
  1187. package/lib/commonjs/styles/primitives.js.map +0 -1
  1188. package/lib/commonjs/utils/WrapStringChild.js +0 -22
  1189. package/lib/commonjs/utils/WrapStringChild.js.map +0 -1
  1190. package/lib/module/components/Field/FieldLabel.js +0 -29
  1191. package/lib/module/components/Field/FieldLabel.js.map +0 -1
  1192. package/lib/module/components/Field/FieldLabel.web.js +0 -17
  1193. package/lib/module/components/Field/FieldLabel.web.js.map +0 -1
  1194. package/lib/module/components/Form/FormRoot.js +0 -21
  1195. package/lib/module/components/Form/FormRoot.js.map +0 -1
  1196. package/lib/module/components/Form/FormRoot.web.js +0 -12
  1197. package/lib/module/components/Form/FormRoot.web.js.map +0 -1
  1198. package/lib/module/components/Input/BaseInput.android.js +0 -16
  1199. package/lib/module/components/Input/BaseInput.android.js.map +0 -1
  1200. package/lib/module/components/Input/BaseInput.js +0 -4
  1201. package/lib/module/components/Input/BaseInput.js.map +0 -1
  1202. package/lib/module/components/Input/BaseInput.web.js +0 -45
  1203. package/lib/module/components/Input/BaseInput.web.js.map +0 -1
  1204. package/lib/module/components/Select/SelectTriggerHost.js +0 -7
  1205. package/lib/module/components/Select/SelectTriggerHost.js.map +0 -1
  1206. package/lib/module/components/Select/SelectTriggerHost.web.js +0 -93
  1207. package/lib/module/components/Select/SelectTriggerHost.web.js.map +0 -1
  1208. package/lib/module/styles/index.js +0 -4
  1209. package/lib/module/styles/index.js.map +0 -1
  1210. package/lib/module/styles/primitives.js +0 -152
  1211. package/lib/module/styles/primitives.js.map +0 -1
  1212. package/lib/module/utils/WrapStringChild.js +0 -18
  1213. package/lib/module/utils/WrapStringChild.js.map +0 -1
  1214. package/lib/typescript/components/Field/FieldLabel.d.ts +0 -18
  1215. package/lib/typescript/components/Field/FieldLabel.d.ts.map +0 -1
  1216. package/lib/typescript/components/Field/FieldLabel.web.d.ts +0 -16
  1217. package/lib/typescript/components/Field/FieldLabel.web.d.ts.map +0 -1
  1218. package/lib/typescript/components/Form/FormRoot.d.ts +0 -14
  1219. package/lib/typescript/components/Form/FormRoot.d.ts.map +0 -1
  1220. package/lib/typescript/components/Form/FormRoot.web.d.ts +0 -10
  1221. package/lib/typescript/components/Form/FormRoot.web.d.ts.map +0 -1
  1222. package/lib/typescript/components/Input/BaseInput.android.d.ts +0 -3
  1223. package/lib/typescript/components/Input/BaseInput.android.d.ts.map +0 -1
  1224. package/lib/typescript/components/Input/BaseInput.d.ts +0 -2
  1225. package/lib/typescript/components/Input/BaseInput.d.ts.map +0 -1
  1226. package/lib/typescript/components/Input/BaseInput.web.d.ts +0 -3
  1227. package/lib/typescript/components/Input/BaseInput.web.d.ts.map +0 -1
  1228. package/lib/typescript/components/Select/SelectTriggerHost.d.ts +0 -3
  1229. package/lib/typescript/components/Select/SelectTriggerHost.d.ts.map +0 -1
  1230. package/lib/typescript/components/Select/SelectTriggerHost.web.d.ts +0 -13
  1231. package/lib/typescript/components/Select/SelectTriggerHost.web.d.ts.map +0 -1
  1232. package/lib/typescript/styles/index.d.ts +0 -2
  1233. package/lib/typescript/styles/index.d.ts.map +0 -1
  1234. package/lib/typescript/styles/primitives.d.ts +0 -120
  1235. package/lib/typescript/styles/primitives.d.ts.map +0 -1
  1236. package/lib/typescript/utils/WrapStringChild.d.ts +0 -10
  1237. package/lib/typescript/utils/WrapStringChild.d.ts.map +0 -1
  1238. package/src/components/Field/FieldLabel.tsx +0 -33
  1239. package/src/components/Field/FieldLabel.web.tsx +0 -25
  1240. package/src/components/Form/FormRoot.tsx +0 -20
  1241. package/src/components/Form/FormRoot.web.tsx +0 -12
  1242. package/src/components/Input/BaseInput.android.tsx +0 -13
  1243. package/src/components/Input/BaseInput.tsx +0 -1
  1244. package/src/components/Input/BaseInput.web.tsx +0 -41
  1245. package/src/components/Select/SelectTriggerHost.tsx +0 -4
  1246. package/src/components/Select/SelectTriggerHost.web.tsx +0 -136
  1247. package/src/styles/index.ts +0 -1
  1248. package/src/styles/primitives.ts +0 -140
  1249. package/src/utils/WrapStringChild.tsx +0 -25
@@ -0,0 +1,333 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.tabsTabVariants = exports.tabsTabLabelVariants = exports.tabsStyles = exports.tabsRootVariants = exports.tabsPanelVariants = exports.tabsOutlineTrackVariants = exports.tabsListVariants = exports.tabsListTrackVariants = exports.tabsListSolidShellVariants = exports.tabsListSolidShellBgVariants = exports.tabsListSolidScrollButtonVariants = exports.tabsListSolidScrollButtonSlotVariants = exports.tabsListScrollViewVariants = exports.tabsListScrollContainerVariants = exports.tabsListScrollButtonVariants = exports.tabsIndicatorVariants = exports.TABS_SOLID_SCROLL_FADE_SIZE = exports.TABS_SCROLL_FADE_SIZE = exports.TABS_INDICATOR_TRANSITION_MS = exports.OUTLINE_INDICATOR_THICKNESS = void 0;
7
+ var _reactNative = require("react-native");
8
+ var _classVarianceAuthority = require("class-variance-authority");
9
+ var _constants = require("../../styles/constants");
10
+ // Kept local (rather than imported from `./index`) to avoid a circular import — `index.tsx`
11
+ // imports styles from this file.
12
+
13
+ // `rounded-full` is used for the indicator + individual tabs, which are small enough that a
14
+ // full capsule radius looks correct in both orientations.
15
+ const SOLID_RADIUS = 'rounded-full';
16
+
17
+ // `rounded-full` (`border-radius/round`, 9999px) for the indicator, tab capsules, and the
18
+ // horizontal solid track/shell — matches Figma SegmentedControl (always much wider than tall,
19
+ // so full rounding reads as a capsule). Applied via StyleSheet on the track/shell because
20
+ // arbitrary-value radius classes don't reliably resolve through Uniwind's scanner.
21
+ const SOLID_TRACK_RADIUS = 9999;
22
+
23
+ /**
24
+ * Vertical solid track radius — deliberately *not* `SOLID_TRACK_RADIUS` (9999px). A vertical
25
+ * track's box can end up nearly square (few short tab labels stacked in a column), and a
26
+ * fully-round radius on a near-square box renders as a circle/blob instead of a rounded rect.
27
+ * A fixed, modest radius avoids that regardless of how many tabs are stacked or how wide their
28
+ * labels are.
29
+ */
30
+ const SOLID_VERTICAL_TRACK_RADIUS = 20;
31
+
32
+ /** Thickness of the 1px gray rail the outline indicator rides beside. */
33
+ const OUTLINE_TRACK_THICKNESS = 1;
34
+ /** Thickness of the 2px action-colored outline selection segment (animated size, not a class). */
35
+ const OUTLINE_INDICATOR_THICKNESS = exports.OUTLINE_INDICATOR_THICKNESS = 2;
36
+
37
+ /**
38
+ * Shared duration (ms) for the indicator's `withTiming` glide (`index.tsx`) and the tab's
39
+ * `duration-300` transition class (below) — kept in sync so the focus ring doesn't snap in
40
+ * ahead of a still-sliding solid/outline indicator. Change both together.
41
+ */
42
+ const TABS_INDICATOR_TRANSITION_MS = exports.TABS_INDICATOR_TRANSITION_MS = 300;
43
+
44
+ /** Outline horizontal scroll — narrow fade reads cleanly against the page background. */
45
+ const TABS_SCROLL_FADE_SIZE = exports.TABS_SCROLL_FADE_SIZE = 32;
46
+
47
+ /**
48
+ * Solid horizontal scroll — wider fade so tabs dissolve smoothly into the track (and under the
49
+ * overlay chevron) instead of ending in a hard clip at the scroll viewport edge.
50
+ */
51
+ const TABS_SOLID_SCROLL_FADE_SIZE = exports.TABS_SOLID_SCROLL_FADE_SIZE = 40;
52
+
53
+ /**
54
+ * Room reserved on the left/right sides inside the horizontal-scroll clip rect for ink that
55
+ * paints past a tab's own box: `shadow-sm` (`0px 1px 3px`, solid only) and the web focus ring
56
+ * (`ring-2` + `ring-offset-2`, ~4px, both variants). `overflow-x: auto` + `overflow-y: visible`
57
+ * does *not* achieve this — per the CSS Overflow spec, a non-`visible` value on one axis forces
58
+ * `visible` on the other axis to compute as `auto`, so it still clips. Applies to both variants —
59
+ * outline's ring bleeds past its box exactly the same way solid's does.
60
+ */
61
+ /** Reserved ink room (focus ring, shadow) inside the horizontal-scroll clip rect — 4px (`p-1`). */
62
+ const INDICATOR_BLEED = 4;
63
+
64
+ /**
65
+ * Same bleed room as `INDICATOR_BLEED` on the top/bottom sides — kept equal to the solid shell's
66
+ * own `py-1` (below) so the shell's `overflow: hidden` clip boundary sits exactly where the
67
+ * reserved ink stops, with no gap and no clipping. Solid indicator = 32px, whole tablist = 40px
68
+ * per Figma SegmentedControl — a wider value here would inflate the shell past 40px.
69
+ */
70
+ const INDICATOR_BLEED_VERTICAL = INDICATOR_BLEED;
71
+
72
+ /**
73
+ * Numeric styles that can't be expressed as static Uniwind utility classes — solid track radius
74
+ * and outline indicator offset (`bottom-px` / `left-px` don't apply on Reanimated host views).
75
+ */
76
+ const tabsStyles = exports.tabsStyles = _reactNative.StyleSheet.create({
77
+ solidTrack: {
78
+ borderRadius: SOLID_TRACK_RADIUS
79
+ },
80
+ /** See `SOLID_VERTICAL_TRACK_RADIUS` — used instead of `solidTrack` for vertical solid tracks. */
81
+ solidTrackVertical: {
82
+ borderRadius: SOLID_VERTICAL_TRACK_RADIUS
83
+ },
84
+ /** Clips scroll ink + edge fades to the solid shell's rounded rect (className radius alone won't). */
85
+ solidShell: {
86
+ borderRadius: SOLID_TRACK_RADIUS,
87
+ overflow: 'hidden'
88
+ },
89
+ horizontalScrollContent: {
90
+ paddingHorizontal: INDICATOR_BLEED,
91
+ paddingVertical: INDICATOR_BLEED_VERTICAL
92
+ },
93
+ horizontalScrollViewBleed: {
94
+ marginVertical: -INDICATOR_BLEED_VERTICAL
95
+ },
96
+ outlineIndicator: {
97
+ zIndex: 1
98
+ },
99
+ outlineIndicatorHorizontal: {
100
+ bottom: OUTLINE_TRACK_THICKNESS
101
+ },
102
+ outlineIndicatorVertical: {
103
+ left: OUTLINE_TRACK_THICKNESS
104
+ },
105
+ solidIndicator: {
106
+ zIndex: 0
107
+ },
108
+ /** Clips press/hover feedback to the solid tab capsule (`rounded-full` alone is not enough on Pressable). */
109
+ solidTabPressable: {
110
+ borderRadius: 9999,
111
+ overflow: 'hidden'
112
+ }
113
+ });
114
+ const tabsRootVariants = exports.tabsRootVariants = (0, _classVarianceAuthority.cva)([], {
115
+ variants: {
116
+ orientation: {
117
+ horizontal: 'flex-col',
118
+ vertical: 'flex-row items-start gap-4'
119
+ }
120
+ },
121
+ defaultVariants: {
122
+ orientation: 'horizontal'
123
+ }
124
+ });
125
+ const tabsListVariants = exports.tabsListVariants = (0, _classVarianceAuthority.cva)(['relative min-w-0']);
126
+
127
+ /** Flex track that hosts the rail, indicator, and tab triggers. */
128
+ const tabsListTrackVariants = exports.tabsListTrackVariants = (0, _classVarianceAuthority.cva)(['relative items-stretch'], {
129
+ variants: {
130
+ orientation: {
131
+ horizontal: 'flex-row',
132
+ vertical: 'flex-col'
133
+ },
134
+ variant: {
135
+ outline: '',
136
+ solid: 'gap-0.5'
137
+ },
138
+ /**
139
+ * When horizontal tabs scroll, the solid track background + radius live on
140
+ * `tabsListSolidShellVariants` (viewport-sized) so rounded corners aren't clipped
141
+ * by the ScrollView.
142
+ */
143
+ scrollable: {
144
+ true: '',
145
+ false: ''
146
+ }
147
+ },
148
+ compoundVariants: [{
149
+ orientation: 'vertical',
150
+ variant: 'outline',
151
+ className: 'gap-2 pl-1'
152
+ }, {
153
+ orientation: 'horizontal',
154
+ variant: 'outline',
155
+ className: 'pb-1'
156
+ }, {
157
+ variant: 'solid',
158
+ scrollable: false,
159
+ className: 'bg-surface-secondary p-1'
160
+ },
161
+ // Whole tablist = 40px per Figma SegmentedControl (`p-1` + 32px tab, above). Height-only —
162
+ // vertical solid lists size to their stacked tab content instead.
163
+ {
164
+ orientation: 'horizontal',
165
+ variant: 'solid',
166
+ scrollable: false,
167
+ className: 'h-10 max-h-10 min-h-10'
168
+ }],
169
+ defaultVariants: {
170
+ orientation: 'horizontal',
171
+ variant: 'solid',
172
+ scrollable: false
173
+ }
174
+ });
175
+
176
+ /**
177
+ * Viewport-sized solid shell for horizontal scroll — bg is a separate layer so overflow can stay
178
+ * visible. `py-1` (4px) matches the non-scrolling track's `p-1` exactly, so both the scrollable
179
+ * and non-scrollable solid paths land on the same 40px whole-tablist height (32px tab + 4px top
180
+ * + 4px bottom). `h-10`/`max-h-10`/`min-h-10` pin it explicitly so a taller-than-expected label
181
+ * line-height can't inflate the shell. `INDICATOR_BLEED_VERTICAL` (the ScrollView's own top/bottom
182
+ * reserved ink room, above) is kept equal to this `py-1` so the shell's `overflow: hidden` clip
183
+ * boundary lines up with where that reserved ink stops.
184
+ */
185
+ const tabsListSolidShellVariants = exports.tabsListSolidShellVariants = (0, _classVarianceAuthority.cva)(['relative min-w-0 w-full py-1 h-10 max-h-10 min-h-10']);
186
+ const tabsListSolidShellBgVariants = exports.tabsListSolidShellBgVariants = (0, _classVarianceAuthority.cva)(['absolute inset-0 bg-surface-secondary']);
187
+ const tabsListScrollViewVariants = exports.tabsListScrollViewVariants = (0, _classVarianceAuthority.cva)(['w-full max-w-full']);
188
+ const tabsListScrollContainerVariants = exports.tabsListScrollContainerVariants = (0, _classVarianceAuthority.cva)(['relative min-w-0 w-full']);
189
+
190
+ // Outline: flex sibling beside the scroll viewport (outline scroll looks good this way).
191
+ const tabsListScrollButtonVariants = exports.tabsListScrollButtonVariants = (0, _classVarianceAuthority.cva)(['z-10 flex h-6 w-6 shrink-0 items-center justify-center self-center rounded-full', _constants.TRANSITION_COLORS, _reactNative.Platform.select({
192
+ default: 'data-[active=true]:bg-surface-secondary-active',
193
+ web: 'data-[hover=true]:bg-surface-secondary-hover data-[active=true]:data-[hover=true]:bg-surface-secondary-active'
194
+ })]);
195
+
196
+ // Solid: tiny overlay on the edge fade — the scroll viewport stays full-width inside the shell so
197
+ // the track radius + gradient read as one continuous surface (no hard clip before the chevron).
198
+ const tabsListSolidScrollButtonVariants = exports.tabsListSolidScrollButtonVariants = (0, _classVarianceAuthority.cva)(['h-5 w-3 items-center justify-center rounded-full', _constants.TRANSITION_COLORS, _reactNative.Platform.select({
199
+ default: 'data-[active=true]:bg-surface-secondary-active',
200
+ web: 'data-[hover=true]:bg-surface-secondary-hover data-[active=true]:data-[hover=true]:bg-surface-secondary-active'
201
+ })]);
202
+ const tabsListSolidScrollButtonSlotVariants = exports.tabsListSolidScrollButtonSlotVariants = (0, _classVarianceAuthority.cva)(['pointer-events-none absolute inset-y-0 z-20 flex w-3 justify-center'], {
203
+ variants: {
204
+ position: {
205
+ start: 'left-1',
206
+ end: 'right-1'
207
+ }
208
+ }
209
+ });
210
+
211
+ // Horizontal: `h-px border-b` (1px). Vertical: Divider-style `w-px bg-*` (no border — `border`
212
+ // on `w-px` doubles thickness to 2px). Gutter padding on the list keeps tabs off the rail.
213
+ const tabsOutlineTrackVariants = exports.tabsOutlineTrackVariants = (0, _classVarianceAuthority.cva)(['absolute z-0'], {
214
+ variants: {
215
+ orientation: {
216
+ horizontal: 'bottom-0 left-0 right-0 h-px border-b border-stroke-secondary',
217
+ vertical: 'top-0 bottom-0 left-0 w-px h-full bg-stroke-secondary'
218
+ }
219
+ },
220
+ defaultVariants: {
221
+ orientation: 'horizontal'
222
+ }
223
+ });
224
+ const tabsIndicatorVariants = exports.tabsIndicatorVariants = (0, _classVarianceAuthority.cva)(['absolute'], {
225
+ variants: {
226
+ orientation: {
227
+ horizontal: '',
228
+ vertical: ''
229
+ },
230
+ variant: {
231
+ outline: 'bg-surface-action-strong',
232
+ solid: `${SOLID_RADIUS} bg-surface-primary shadow-sm`
233
+ }
234
+ },
235
+ compoundVariants: [
236
+ // Rail offset is in `tabsStyles.outlineIndicator*` (Reanimated host).
237
+ {
238
+ orientation: 'horizontal',
239
+ variant: 'outline',
240
+ className: 'left-0'
241
+ }, {
242
+ orientation: 'vertical',
243
+ variant: 'outline',
244
+ className: 'top-0'
245
+ }, {
246
+ variant: 'solid',
247
+ className: 'top-0 left-0'
248
+ }],
249
+ defaultVariants: {
250
+ orientation: 'horizontal',
251
+ variant: 'solid'
252
+ }
253
+ });
254
+ const tabsTabVariants = exports.tabsTabVariants = (0, _classVarianceAuthority.cva)(['relative z-10 items-center justify-center',
255
+ // `transition` (not `transition-colors`) — its default property list includes `box-shadow`,
256
+ // so the focus ring eases in over `TABS_INDICATOR_TRANSITION_MS` instead of snapping in
257
+ // ahead of the indicator, which glides over the same duration (see `index.tsx`).
258
+ 'transition duration-300', 'data-[disabled=true]:opacity-[var(--opacity-disabled)]', _constants.DISABLED_CURSOR, _reactNative.Platform.select({
259
+ web: ['outline-none', 'web:data-[focus-visible=true]:ring-2 web:data-[focus-visible=true]:ring-stroke-focus web:data-[focus-visible=true]:ring-offset-2'].join(' '),
260
+ default: ''
261
+ })], {
262
+ variants: {
263
+ orientation: {
264
+ horizontal: '',
265
+ vertical: ''
266
+ },
267
+ variant: {
268
+ outline: '',
269
+ solid: `${SOLID_RADIUS} overflow-hidden`
270
+ }
271
+ },
272
+ compoundVariants: [
273
+ // `py-2` keeps horizontal outline tabs closer to the solid variant's compact 32px trigger
274
+ // height. The rail gap comes from the List's own `pb-1` compound variant (in
275
+ // `tabsListVariants`), not from this padding.
276
+ {
277
+ orientation: 'horizontal',
278
+ variant: 'outline',
279
+ className: 'px-4 py-2'
280
+ }, {
281
+ orientation: 'vertical',
282
+ variant: 'outline',
283
+ // Leave room for 1px rail + 2px indicator on the left.
284
+ className: 'px-4 py-1 pl-4'
285
+ },
286
+ // Ring-offset color defaults to the page background, which doesn't match the solid
287
+ // track's `bg-surface-secondary` — override it so the offset gap blends with the track
288
+ // instead of showing as a mismatched patch next to the ring. Explicit `h-8` (32px, per
289
+ // Figma SegmentedControl) instead of vertical padding — a fixed height, combined with the
290
+ // base class's `items-center`, centers the label regardless of its line-height, and can't
291
+ // drift the way padding-derived sizing could.
292
+ {
293
+ variant: 'solid',
294
+ className: ['h-8 max-h-8 min-h-8 px-4', 'web:data-[focus-visible=true]:ring-offset-surface-secondary'].join(' ')
295
+ }],
296
+ defaultVariants: {
297
+ orientation: 'horizontal',
298
+ variant: 'solid'
299
+ }
300
+ });
301
+ const tabsPanelVariants = exports.tabsPanelVariants = (0, _classVarianceAuthority.cva)(['data-[state=inactive]:hidden'], {
302
+ variants: {
303
+ orientation: {
304
+ horizontal: '',
305
+ vertical: 'flex-1'
306
+ }
307
+ },
308
+ defaultVariants: {
309
+ orientation: 'horizontal'
310
+ }
311
+ });
312
+ const tabsTabLabelVariants = exports.tabsTabLabelVariants = (0, _classVarianceAuthority.cva)('body-md', {
313
+ variants: {
314
+ state: {
315
+ // Selection state is a CVA input (not a `data-[]` selector) so inactive/active
316
+ // typography reconciles on native — `data-[state=active]:` on `Text` is unreliable
317
+ // there, and `font-sans-medium` / `font-sans-semibold` are the same family on iOS/Android
318
+ // so weight must come from `font-medium` / `font-semibold` instead.
319
+ inactive: _reactNative.Platform.select({
320
+ web: 'font-sans-medium text-content-secondary',
321
+ default: 'font-medium text-content-secondary'
322
+ }),
323
+ active: _reactNative.Platform.select({
324
+ web: 'font-sans-semibold text-content-primary',
325
+ default: 'font-semibold text-content-primary'
326
+ })
327
+ }
328
+ },
329
+ defaultVariants: {
330
+ state: 'inactive'
331
+ }
332
+ });
333
+ //# sourceMappingURL=styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_reactNative","require","_classVarianceAuthority","_constants","SOLID_RADIUS","SOLID_TRACK_RADIUS","SOLID_VERTICAL_TRACK_RADIUS","OUTLINE_TRACK_THICKNESS","OUTLINE_INDICATOR_THICKNESS","exports","TABS_INDICATOR_TRANSITION_MS","TABS_SCROLL_FADE_SIZE","TABS_SOLID_SCROLL_FADE_SIZE","INDICATOR_BLEED","INDICATOR_BLEED_VERTICAL","tabsStyles","StyleSheet","create","solidTrack","borderRadius","solidTrackVertical","solidShell","overflow","horizontalScrollContent","paddingHorizontal","paddingVertical","horizontalScrollViewBleed","marginVertical","outlineIndicator","zIndex","outlineIndicatorHorizontal","bottom","outlineIndicatorVertical","left","solidIndicator","solidTabPressable","tabsRootVariants","cva","variants","orientation","horizontal","vertical","defaultVariants","tabsListVariants","tabsListTrackVariants","variant","outline","solid","scrollable","true","false","compoundVariants","className","tabsListSolidShellVariants","tabsListSolidShellBgVariants","tabsListScrollViewVariants","tabsListScrollContainerVariants","tabsListScrollButtonVariants","TRANSITION_COLORS","Platform","select","default","web","tabsListSolidScrollButtonVariants","tabsListSolidScrollButtonSlotVariants","position","start","end","tabsOutlineTrackVariants","tabsIndicatorVariants","tabsTabVariants","DISABLED_CURSOR","join","tabsPanelVariants","tabsTabLabelVariants","state","inactive","active"],"sourceRoot":"../../../../src","sources":["components/Tabs/styles.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,uBAAA,GAAAD,OAAA;AACA,IAAAE,UAAA,GAAAF,OAAA;AAEA;AACA;;AAGA;AACA;AACA,MAAMG,YAAY,GAAG,cAAc;;AAEnC;AACA;AACA;AACA;AACA,MAAMC,kBAAkB,GAAG,IAAI;;AAE/B;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMC,2BAA2B,GAAG,EAAE;;AAEtC;AACA,MAAMC,uBAAuB,GAAG,CAAC;AACjC;AACO,MAAMC,2BAA2B,GAAAC,OAAA,CAAAD,2BAAA,GAAG,CAAC;;AAE5C;AACA;AACA;AACA;AACA;AACO,MAAME,4BAA4B,GAAAD,OAAA,CAAAC,4BAAA,GAAG,GAAG;;AAE/C;AACO,MAAMC,qBAAqB,GAAAF,OAAA,CAAAE,qBAAA,GAAG,EAAE;;AAEvC;AACA;AACA;AACA;AACO,MAAMC,2BAA2B,GAAAH,OAAA,CAAAG,2BAAA,GAAG,EAAE;;AAE7C;AACA;AACA;AACA;AACA;AACA;AACA;AACA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O;IAChBO,SAAS,EAAE,CACT,0BAA0B,EAC1B,6DAA6D,CAC9D,CAACoB,IAAI,CAAC,GAAG;EACZ,CAAC,CACF;EACD9B,eAAe,EAAE;IAAEH,WAAW,EAAE,YAAY;IAAEM,OAAO,EAAE;EAAQ;AACjE,CACF,CAAC;AAEM,MAAM4B,iBAAiB,GAAAhE,OAAA,CAAAgE,iBAAA,GAAG,IAAApC,2BAAG,EAAC,CAAC,8BAA8B,CAAC,EAAE;EACrEC,QAAQ,EAAE;IACRC,WAAW,EAAE;MACXC,UAAU,EAAE,EAAE;MACdC,QAAQ,EAAE;IACZ;EACF,CAAC;EACDC,eAAe,EAAE;IAAEH,WAAW,EAAE;EAAa;AAC/C,CAAC,CAAC;AAEK,MAAMmC,oBAAoB,GAAAjE,OAAA,CAAAiE,oBAAA,GAAG,IAAArC,2BAAG,EAAC,SAAS,EAAE;EACjDC,QAAQ,EAAE;IACRqC,KAAK,EAAE;MACL;MACA;MACA;MACA;MACAC,QAAQ,EAAEjB,qBAAQ,CAACC,MAAM,CAAC;QACxBE,GAAG,EAAE,yCAAyC;QAC9CD,OAAO,EAAE;MACX,CAAC,CAAC;MACFgB,MAAM,EAAElB,qBAAQ,CAACC,MAAM,CAAC;QACtBE,GAAG,EAAE,yCAAyC;QAC9CD,OAAO,EAAE;MACX,CAAC;IACH;EACF,CAAC;EACDnB,eAAe,EAAE;IAAEiC,KAAK,EAAE;EAAW;AACvC,CAAC,CAAC","ignoreList":[]}
@@ -6,8 +6,8 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.textStyle = void 0;
7
7
  var _reactNative = require("react-native");
8
8
  var _classVarianceAuthority = require("class-variance-authority");
9
- const textStyle = exports.textStyle = (0, _classVarianceAuthority.cva)([`text-content-primary font-normal`, _reactNative.Platform.select({
10
- web: 'font-sans my-0 bg-transparent display-inline no-underline',
9
+ const textStyle = exports.textStyle = (0, _classVarianceAuthority.cva)(['text-content-primary', _reactNative.Platform.select({
10
+ web: 'font-body my-0 bg-transparent no-underline',
11
11
  default: ''
12
12
  })], {
13
13
  variants: {
@@ -1 +1 @@
1
- {"version":3,"names":["_reactNative","require","_classVarianceAuthority","textStyle","exports","cva","Platform","select","web","default","variants","size","xl","lg","md","sm","xs"],"sourceRoot":"../../../../src","sources":["components/Text/styles.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,uBAAA,GAAAD,OAAA;AAEO,MAAME,SAAS,GAAAC,OAAA,CAAAD,SAAA,GAAG,IAAAE,2BAAG,EAC1B,CACE,kCAAkC,EAClCC,qBAAQ,CAACC,MAAM,CAAC;EACdC,GAAG,EAAE,2DAA2D;EAChEC,OAAO,EAAE;AACX,CAAC,CAAC,CACH,EACD;EACEC,QAAQ,EAAE;IACRC,IAAI,EAAE;MACJC,EAAE,EAAE,SAAS;MACbC,EAAE,EAAE,SAAS;MACbC,EAAE,EAAE,SAAS;MACbC,EAAE,EAAE,SAAS;MACbC,EAAE,EAAE;IACN;EACF;AACF,CACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_reactNative","require","_classVarianceAuthority","textStyle","exports","cva","Platform","select","web","default","variants","size","xl","lg","md","sm","xs"],"sourceRoot":"../../../../src","sources":["components/Text/styles.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,uBAAA,GAAAD,OAAA;AAEO,MAAME,SAAS,GAAAC,OAAA,CAAAD,SAAA,GAAG,IAAAE,2BAAG,EAC1B,CACE,sBAAsB,EACtBC,qBAAQ,CAACC,MAAM,CAAC;EACdC,GAAG,EAAE,4CAA4C;EACjDC,OAAO,EAAE;AACX,CAAC,CAAC,CACH,EACD;EACEC,QAAQ,EAAE;IACRC,IAAI,EAAE;MACJC,EAAE,EAAE,SAAS;MACbC,EAAE,EAAE,SAAS;MACbC,EAAE,EAAE,SAAS;MACbC,EAAE,EAAE,SAAS;MACbC,EAAE,EAAE;IACN;EACF;AACF,CACF,CAAC","ignoreList":[]}
@@ -0,0 +1,135 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.Textarea = void 0;
7
+ var _react = require("react");
8
+ var _reactNative = require("react-native");
9
+ var _primitives = require("@cdx-ui/primitives");
10
+ var _utils = require("@cdx-ui/utils");
11
+ var _styles = require("./styles");
12
+ var _jsxRuntime = require("react/jsx-runtime");
13
+ // Initial/minimum visible rows. Web textareas render compactly, so a smaller default
14
+ // reads better there; native has no intrinsic multiline height, so it needs more.
15
+ const DEFAULT_MIN_ROWS = _reactNative.Platform.select({
16
+ web: 2,
17
+ default: 8
18
+ });
19
+
20
+ // Explicit per-size line height (px) set on the field so `rows * lineHeight` maps to an
21
+ // exact pixel height on native. Values track the field font sizes in `styles.ts`.
22
+ const LINE_HEIGHT_BY_SIZE = {
23
+ default: 20,
24
+ small: 16
25
+ };
26
+
27
+ // Module-scoped latch so the dev conflict warning fires at most once per session.
28
+ let hasWarnedResizeAutoGrowConflict = false;
29
+ const Textarea = exports.Textarea = /*#__PURE__*/(0, _react.forwardRef)(({
30
+ variant = 'outline',
31
+ size = 'default',
32
+ isDisabled,
33
+ isInvalid,
34
+ isReadOnly,
35
+ isRequired,
36
+ isFocused,
37
+ isHovered,
38
+ isFullWidth,
39
+ className,
40
+ placeholderTextColorClassName,
41
+ style,
42
+ numberOfLines,
43
+ autoGrow = false,
44
+ maxRows,
45
+ resize = 'none',
46
+ onContentSizeChange,
47
+ ...rest
48
+ }, ref) => {
49
+ const minRows = numberOfLines ?? DEFAULT_MIN_ROWS;
50
+ const lineHeight = LINE_HEIGHT_BY_SIZE[size ?? 'default'];
51
+ const minHeight = minRows * lineHeight;
52
+ const maxHeight = maxRows != null ? maxRows * lineHeight : undefined;
53
+ const isWeb = _reactNative.Platform.OS === 'web';
54
+ // Web user-resize wins over auto-grow; the two are mutually exclusive.
55
+ const userResizable = isWeb && resize === 'vertical';
56
+ const effectiveAutoGrow = autoGrow && !userResizable;
57
+ (0, _react.useEffect)(() => {
58
+ if (__DEV__ && autoGrow && resize === 'vertical' && !hasWarnedResizeAutoGrowConflict) {
59
+ hasWarnedResizeAutoGrowConflict = true;
60
+ console.warn('[Textarea] `autoGrow` and `resize="vertical"` are mutually exclusive. ' + '`resize` takes precedence and `autoGrow` is ignored.');
61
+ }
62
+ }, [autoGrow, resize]);
63
+
64
+ // Native auto-grow: track the measured content height so we can enable internal
65
+ // scrolling once it passes the `maxRows` cap. Growth itself is handled natively
66
+ // (see `nativeScrollEnabled`), not by pinning a height here.
67
+ const [measuredHeight, setMeasuredHeight] = (0, _react.useState)(undefined);
68
+ const handleContentSizeChange = event => {
69
+ if (!isWeb && effectiveAutoGrow) {
70
+ setMeasuredHeight(event.nativeEvent.contentSize.height);
71
+ }
72
+ };
73
+
74
+ // On native, a multiline TextInput only grows to fit its content when scrolling is
75
+ // disabled — an explicit height or an enabled scroll view pins it. So for auto-grow we
76
+ // keep `scrollEnabled` off (letting the view size itself between min/max) and only turn
77
+ // scrolling back on once the content exceeds the `maxRows` cap. Undefined elsewhere
78
+ // (web + fixed height) leaves React Native's default (`true`) so overflow scrolls.
79
+ const nativeScrollEnabled = !isWeb && effectiveAutoGrow ? maxHeight != null && measuredHeight != null && measuredHeight > maxHeight : undefined;
80
+
81
+ // Auto-grow (web + native) and fixed sizing all bound the field with min/max height and
82
+ // never pin an explicit `height`: web grows via `field-sizing: content`, native grows via
83
+ // the disabled scroll view above, and the fixed case simply floors at `minHeight`.
84
+ const heightStyle = !isWeb && !effectiveAutoGrow ? {
85
+ minHeight
86
+ } : {
87
+ minHeight,
88
+ maxHeight
89
+ };
90
+
91
+ // `textAlignVertical` is set in style (not just the prop) so it overrides the Android
92
+ // primitive's `center` default — style wins over the deprecated prop.
93
+ const fieldStyle = {
94
+ lineHeight,
95
+ textAlignVertical: 'top',
96
+ ...heightStyle
97
+ };
98
+
99
+ // `className` applies to the root (the visible bordered box), matching the flat
100
+ // CurrencyInput pattern. Field-level utilities below are internal sizing concerns.
101
+ const fieldClassName = (0, _utils.cn)((0, _styles.textareaFieldVariants)({
102
+ size
103
+ }), effectiveAutoGrow && 'web:[field-sizing:content]', userResizable ? 'web:[resize:vertical]' : 'web:[resize:none]');
104
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_primitives.InputRoot, {
105
+ isDisabled: isDisabled,
106
+ isInvalid: isInvalid,
107
+ isReadOnly: isReadOnly,
108
+ isRequired: isRequired,
109
+ isFocused: isFocused,
110
+ isHovered: isHovered,
111
+ isFullWidth: isFullWidth,
112
+ className: (0, _utils.cn)((0, _styles.textareaRootVariants)({
113
+ variant,
114
+ size
115
+ }), className),
116
+ style: style,
117
+ ...(0, _primitives.dataAttributes)({
118
+ slot: 'textarea'
119
+ }),
120
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_primitives.InputField, {
121
+ ref: ref,
122
+ placeholderTextColorClassName: (0, _utils.cn)((0, _styles.textareaFieldPlaceholderVariants)(), placeholderTextColorClassName),
123
+ ...rest,
124
+ multiline: true,
125
+ numberOfLines: isWeb ? minRows : undefined,
126
+ textAlignVertical: "top",
127
+ scrollEnabled: nativeScrollEnabled,
128
+ className: fieldClassName,
129
+ style: fieldStyle,
130
+ onContentSizeChange: (0, _utils.composeEventHandlers)(onContentSizeChange, handleContentSizeChange)
131
+ })
132
+ });
133
+ });
134
+ Textarea.displayName = 'Textarea';
135
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","require","_reactNative","_primitives","_utils","_styles","_jsxRuntime","DEFAULT_MIN_ROWS","Platform","select","web","default","LINE_HEIGHT_BY_SIZE","small","hasWarnedResizeAutoGrowConflict","Textarea","exports","forwardRef","variant","size","isDisabled","isInvalid","isReadOnly","isRequired","isFocused","isHovered","isFullWidth","className","placeholderTextColorClassName","style","numberOfLines","autoGrow","maxRows","resize","onContentSizeChange","rest","ref","minRows","lineHeight","minHeight","maxHeight","undefined","isWeb","OS","userResizable","effectiveAutoGrow","useEffect","__DEV__","console","warn","measuredHeight","setMeasuredHeight","useState","handleContentSizeChange","event","nativeEvent","contentSize","height","nativeScrollEnabled","heightStyle","fieldStyle","textAlignVertical","fieldClassName","cn","textareaFieldVariants","jsx","InputRoot","textareaRootVariants","dataAttributes","slot","children","InputField","textareaFieldPlaceholderVariants","multiline","scrollEnabled","composeEventHandlers","displayName"],"sourceRoot":"../../../../src","sources":["components/Textarea/index.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAOA,IAAAE,WAAA,GAAAF,OAAA;AAMA,IAAAG,MAAA,GAAAH,OAAA;AACA,IAAAI,OAAA,GAAAJ,OAAA;AAKkB,IAAAK,WAAA,GAAAL,OAAA;AAElB;AACA;AACA,MAAMM,gBAAgB,GAAGC,qBAAQ,CAACC,MAAM,CAAC;EAAEC,GAAG,EAAE,CAAC;EAAEC,OAAO,EAAE;AAAE,CAAC,CAAC;;AAEhE;AACA;AACA,MAAMC,mBAAmB,GAAG;EAAED,OAAO,EAAE,EAAE;EAAEE,KAAK,EAAE;AAAG,CAAU;;AAE/D;AACA,IAAIC,+BAA+B,GAAG,KAAK;AAgCpC,MAAMC,QAAQ,GAAAC,OAAA,CAAAD,QAAA,gBAAG,IAAAE,iBAAU,EAChC,CACE;EACEC,OAAO,GAAG,SAAS;EACnBC,IAAI,GAAG,SAAS;EAChBC,UAAU;EACVC,SAAS;EACTC,UAAU;EACVC,UAAU;EACVC,SAAS;EACTC,SAAS;EACTC,WAAW;EACXC,SAAS;EACTC,6BAA6B;EAC7BC,KAAK;EACLC,aAAa;EACbC,QAAQ,GAAG,KAAK;EAChBC,OAAO;EACPC,MAAM,GAAG,MAAM;EACfC,mBAAmB;EACnB,GAAGC;AACL,CAAC,EACDC,GAAG,KACA;EACH,MAAMC,OAAO,GAAGP,aAAa,IAAIvB,gBAAgB;EACjD,MAAM+B,UAAU,GAAG1B,mBAAmB,CAACO,IAAI,IAAI,SAA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AAC;AAEDtC,QAAQ,CAAC6D,WAAW,GAAG,UAAU","ignoreList":[]}
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.textareaRootVariants = exports.textareaFieldVariants = exports.textareaFieldPlaceholderVariants = void 0;
7
+ var _classVarianceAuthority = require("class-variance-authority");
8
+ var _constants = require("../../styles/constants");
9
+ const textareaRootVariants = exports.textareaRootVariants = (0, _classVarianceAuthority.cva)([
10
+ // Multiline shell: stretch the field to full width and let the shell grow with it
11
+ // (no fixed height, no overflow-hidden so a web resize handle is never clipped).
12
+ 'w-full flex-row items-stretch', 'bg-surface-primary', 'border-solid border-stroke-primary', 'web:border-default native:border-[length:var(--border-width-default)]', 'rounded-[var(--border-radius-default)]', _constants.TRANSITION_COLORS, 'data-[disabled=true]:bg-surface-secondary', 'data-[disabled=true]:opacity-[var(--opacity-disabled)]', _constants.DISABLED_CURSOR, 'data-[readonly=true]:cursor-default', 'data-[readonly=true]:bg-surface-secondary', 'web:data-[hover=true]:data-[focus=false]:data-[invalid=false]:border-stroke-hover',
13
+ // Web: inset ring avoids a border-width change so the shell never shifts on focus.
14
+ // Recolor the border to match the ring so the two read as a single focus outline
15
+ // instead of a gray border + colored ring.
16
+ 'web:data-[focus=true]:ring-inset', 'web:data-[focus=true]:ring-[length:var(--border-width-focused)]', 'web:data-[focus=true]:data-[invalid=false]:ring-stroke-action', 'web:data-[focus=true]:data-[invalid=false]:border-stroke-action', 'web:data-[focus=true]:data-[invalid=true]:ring-stroke-danger', 'web:data-[focus=true]:data-[invalid=true]:border-stroke-danger',
17
+ // Native: thicker border on focus; size variants subtract a hairline of padding
18
+ // so layout doesn't shift by 1px.
19
+ 'native:data-[focus=true]:border-[length:var(--border-width-focused)]', 'native:data-[field-state=focused]:border-stroke-action', 'native:data-[field-state=focused-invalid]:border-stroke-danger', 'data-[invalid=true]:border-stroke-danger'], {
20
+ variants: {
21
+ variant: {
22
+ outline: []
23
+ },
24
+ size: {
25
+ default: ['px-4 py-3 gap-4', 'native:data-[focus=true]:px-[calc(var(--spacing-4)-var(--spacing-px))]', 'native:data-[focus=true]:py-[calc(var(--spacing-3)-var(--spacing-px))]'],
26
+ small: ['px-3 py-2 gap-1.5', 'native:data-[focus=true]:px-[calc(var(--spacing-3)-var(--spacing-px))]', 'native:data-[focus=true]:py-[calc(var(--spacing-2)-var(--spacing-px))]']
27
+ }
28
+ },
29
+ defaultVariants: {
30
+ variant: 'outline',
31
+ size: 'default'
32
+ }
33
+ });
34
+ const textareaFieldVariants = exports.textareaFieldVariants = (0, _classVarianceAuthority.cva)([
35
+ // `min-w-0` lets the field shrink below its intrinsic content width so the shell
36
+ // never overflows (mirrors the Input field rationale).
37
+ 'flex-1 min-w-0 bg-transparent p-0', 'text-content-primary', 'placeholder:text-content-tertiary', 'web:outline-none', 'tracking-normal'], {
38
+ variants: {
39
+ size: {
40
+ default: 'text-[0.875rem]',
41
+ small: 'text-[0.75rem]'
42
+ }
43
+ },
44
+ defaultVariants: {
45
+ size: 'default'
46
+ }
47
+ });
48
+ const textareaFieldPlaceholderVariants = exports.textareaFieldPlaceholderVariants = (0, _classVarianceAuthority.cva)(['accent-content-tertiary']);
49
+ //# sourceMappingURL=styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_classVarianceAuthority","require","_constants","textareaRootVariants","exports","cva","TRANSITION_COLORS","DISABLED_CURSOR","variants","variant","outline","size","default","small","defaultVariants","textareaFieldVariants","textareaFieldPlaceholderVariants"],"sourceRoot":"../../../../src","sources":["components/Textarea/styles.ts"],"mappings":";;;;;;AAAA,IAAAA,uBAAA,GAAAC,OAAA;AACA,IAAAC,UAAA,GAAAD,OAAA;AAEO,MAAME,oBAAoB,GAAAC,OAAA,CAAAD,oBAAA,GAAG,IAAAE,2BAAG,EACrC;AACE;AACA;AACA,+BAA+B,EAC/B,oBAAoB,EACpB,oCAAoC,EACpC,uEAAuE,EACvE,wCAAwC,EACx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