@cdx-ui/components 0.0.1-beta.11 → 0.0.1-beta.111

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 (1128) hide show
  1. package/README.md +32 -20
  2. package/lib/commonjs/animation/hooks/index.js +17 -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/index.js +39 -0
  7. package/lib/commonjs/animation/index.js.map +1 -0
  8. package/lib/commonjs/animation/types.js +6 -0
  9. package/lib/commonjs/animation/types.js.map +1 -0
  10. package/lib/commonjs/animation/utils.js +223 -0
  11. package/lib/commonjs/animation/utils.js.map +1 -0
  12. package/lib/commonjs/components/Alert/index.js +263 -0
  13. package/lib/commonjs/components/Alert/index.js.map +1 -0
  14. package/lib/commonjs/components/Alert/styles.js +87 -0
  15. package/lib/commonjs/components/Alert/styles.js.map +1 -0
  16. package/lib/commonjs/components/AlertDialog/index.js +17 -14
  17. package/lib/commonjs/components/AlertDialog/index.js.map +1 -1
  18. package/lib/commonjs/components/Avatar/index.js +135 -26
  19. package/lib/commonjs/components/Avatar/index.js.map +1 -1
  20. package/lib/commonjs/components/Avatar/styles.js +36 -29
  21. package/lib/commonjs/components/Avatar/styles.js.map +1 -1
  22. package/lib/commonjs/components/Badge/index.js +86 -0
  23. package/lib/commonjs/components/Badge/index.js.map +1 -0
  24. package/lib/commonjs/components/Badge/styles.js +127 -0
  25. package/lib/commonjs/components/Badge/styles.js.map +1 -0
  26. package/lib/commonjs/components/BottomSheet/index.js +75 -27
  27. package/lib/commonjs/components/BottomSheet/index.js.map +1 -1
  28. package/lib/commonjs/components/BottomSheet/styles.js +8 -43
  29. package/lib/commonjs/components/BottomSheet/styles.js.map +1 -1
  30. package/lib/commonjs/components/Button/index.js +143 -29
  31. package/lib/commonjs/components/Button/index.js.map +1 -1
  32. package/lib/commonjs/components/Button/styles.js +95 -30
  33. package/lib/commonjs/components/Button/styles.js.map +1 -1
  34. package/lib/commonjs/components/CLAUDE.md +195 -0
  35. package/lib/commonjs/components/Card/index.js +74 -15
  36. package/lib/commonjs/components/Card/index.js.map +1 -1
  37. package/lib/commonjs/components/Card/styles.js +17 -3
  38. package/lib/commonjs/components/Card/styles.js.map +1 -1
  39. package/lib/commonjs/components/Carousel/index.js +153 -0
  40. package/lib/commonjs/components/Carousel/index.js.map +1 -0
  41. package/lib/commonjs/components/Carousel/paginationNavigation.js +35 -0
  42. package/lib/commonjs/components/Carousel/paginationNavigation.js.map +1 -0
  43. package/lib/commonjs/components/Carousel/styles.js +21 -0
  44. package/lib/commonjs/components/Carousel/styles.js.map +1 -0
  45. package/lib/commonjs/components/Checkbox/index.js +89 -48
  46. package/lib/commonjs/components/Checkbox/index.js.map +1 -1
  47. package/lib/commonjs/components/Checkbox/styles.js +44 -48
  48. package/lib/commonjs/components/Checkbox/styles.js.map +1 -1
  49. package/lib/commonjs/components/Chip/index.js +94 -17
  50. package/lib/commonjs/components/Chip/index.js.map +1 -1
  51. package/lib/commonjs/components/Chip/styles.js +178 -21
  52. package/lib/commonjs/components/Chip/styles.js.map +1 -1
  53. package/lib/commonjs/components/CurrencyInput/index.js +157 -0
  54. package/lib/commonjs/components/CurrencyInput/index.js.map +1 -0
  55. package/lib/commonjs/components/CurrencyInput/styles.js +31 -0
  56. package/lib/commonjs/components/CurrencyInput/styles.js.map +1 -0
  57. package/lib/commonjs/components/Dialog/index.js +140 -65
  58. package/lib/commonjs/components/Dialog/index.js.map +1 -1
  59. package/lib/commonjs/components/Dialog/styles.js +61 -15
  60. package/lib/commonjs/components/Dialog/styles.js.map +1 -1
  61. package/lib/commonjs/components/Divider/index.js +98 -0
  62. package/lib/commonjs/components/Divider/index.js.map +1 -0
  63. package/lib/commonjs/components/Divider/styles.js +75 -0
  64. package/lib/commonjs/components/Divider/styles.js.map +1 -0
  65. package/lib/commonjs/components/Field/index.js +77 -27
  66. package/lib/commonjs/components/Field/index.js.map +1 -1
  67. package/lib/commonjs/components/Field/styles.js +5 -5
  68. package/lib/commonjs/components/Field/styles.js.map +1 -1
  69. package/lib/commonjs/components/Form/index.js +5 -12
  70. package/lib/commonjs/components/Form/index.js.map +1 -1
  71. package/lib/commonjs/components/Heading/styles.js +1 -1
  72. package/lib/commonjs/components/Heading/styles.js.map +1 -1
  73. package/lib/commonjs/components/Icon/index.js +12 -5
  74. package/lib/commonjs/components/Icon/index.js.map +1 -1
  75. package/lib/commonjs/components/IconButton/index.js +11 -34
  76. package/lib/commonjs/components/IconButton/index.js.map +1 -1
  77. package/lib/commonjs/components/IconButton/styles.js +136 -11
  78. package/lib/commonjs/components/IconButton/styles.js.map +1 -1
  79. package/lib/commonjs/components/Input/index.js +50 -20
  80. package/lib/commonjs/components/Input/index.js.map +1 -1
  81. package/lib/commonjs/components/Input/styles.js +20 -7
  82. package/lib/commonjs/components/Input/styles.js.map +1 -1
  83. package/lib/commonjs/components/InsuranceDisclosure/index.js +56 -0
  84. package/lib/commonjs/components/InsuranceDisclosure/index.js.map +1 -0
  85. package/lib/commonjs/components/InsuranceDisclosure/styles.js +11 -0
  86. package/lib/commonjs/components/InsuranceDisclosure/styles.js.map +1 -0
  87. package/lib/commonjs/components/Link/index.js +35 -9
  88. package/lib/commonjs/components/Link/index.js.map +1 -1
  89. package/lib/commonjs/components/Link/styles.js +54 -7
  90. package/lib/commonjs/components/Link/styles.js.map +1 -1
  91. package/lib/commonjs/components/ListItem/index.js +132 -79
  92. package/lib/commonjs/components/ListItem/index.js.map +1 -1
  93. package/lib/commonjs/components/ListItem/styles.js +30 -58
  94. package/lib/commonjs/components/ListItem/styles.js.map +1 -1
  95. package/lib/commonjs/components/OtpInput/index.js +114 -36
  96. package/lib/commonjs/components/OtpInput/index.js.map +1 -1
  97. package/lib/commonjs/components/OtpInput/styles.js +9 -7
  98. package/lib/commonjs/components/OtpInput/styles.js.map +1 -1
  99. package/lib/commonjs/components/ProgressBar/index.js +8 -13
  100. package/lib/commonjs/components/ProgressBar/index.js.map +1 -1
  101. package/lib/commonjs/components/ProgressSegmented/index.js +24 -10
  102. package/lib/commonjs/components/ProgressSegmented/index.js.map +1 -1
  103. package/lib/commonjs/components/QuickActionButton/index.js +133 -0
  104. package/lib/commonjs/components/QuickActionButton/index.js.map +1 -0
  105. package/lib/commonjs/components/QuickActionButton/styles.js +17 -0
  106. package/lib/commonjs/components/QuickActionButton/styles.js.map +1 -0
  107. package/lib/commonjs/components/Radio/index.js +66 -51
  108. package/lib/commonjs/components/Radio/index.js.map +1 -1
  109. package/lib/commonjs/components/Radio/styles.js +21 -8
  110. package/lib/commonjs/components/Radio/styles.js.map +1 -1
  111. package/lib/commonjs/components/ScopedTheme/index.js +24 -0
  112. package/lib/commonjs/components/ScopedTheme/index.js.map +1 -0
  113. package/lib/commonjs/components/Select/index.js +111 -39
  114. package/lib/commonjs/components/Select/index.js.map +1 -1
  115. package/lib/commonjs/components/Select/styles.js +26 -21
  116. package/lib/commonjs/components/Select/styles.js.map +1 -1
  117. package/lib/commonjs/components/Skeleton/index.js +37 -0
  118. package/lib/commonjs/components/Skeleton/index.js.map +1 -0
  119. package/lib/commonjs/components/Skeleton/styles.js +9 -0
  120. package/lib/commonjs/components/Skeleton/styles.js.map +1 -0
  121. package/lib/commonjs/components/Switch/BaseSwitch.js +23 -13
  122. package/lib/commonjs/components/Switch/BaseSwitch.js.map +1 -1
  123. package/lib/commonjs/components/Switch/BaseSwitch.web.js +25 -21
  124. package/lib/commonjs/components/Switch/BaseSwitch.web.js.map +1 -1
  125. package/lib/commonjs/components/Switch/index.js +34 -3
  126. package/lib/commonjs/components/Switch/index.js.map +1 -1
  127. package/lib/commonjs/components/Text/styles.js +2 -2
  128. package/lib/commonjs/components/Text/styles.js.map +1 -1
  129. package/lib/commonjs/components/Textarea/index.js +135 -0
  130. package/lib/commonjs/components/Textarea/index.js.map +1 -0
  131. package/lib/commonjs/components/Textarea/styles.js +49 -0
  132. package/lib/commonjs/components/Textarea/styles.js.map +1 -0
  133. package/lib/commonjs/components/Tile/index.js +324 -0
  134. package/lib/commonjs/components/Tile/index.js.map +1 -0
  135. package/lib/commonjs/components/Tile/styles.js +52 -0
  136. package/lib/commonjs/components/Tile/styles.js.map +1 -0
  137. package/lib/commonjs/components/Toast/animation.js +329 -0
  138. package/lib/commonjs/components/Toast/animation.js.map +1 -0
  139. package/lib/commonjs/components/Toast/hooks.js +66 -0
  140. package/lib/commonjs/components/Toast/hooks.js.map +1 -0
  141. package/lib/commonjs/components/Toast/index.js +493 -0
  142. package/lib/commonjs/components/Toast/index.js.map +1 -0
  143. package/lib/commonjs/components/Toast/styles.js +141 -0
  144. package/lib/commonjs/components/Toast/styles.js.map +1 -0
  145. package/lib/commonjs/components/Toast/types.js +6 -0
  146. package/lib/commonjs/components/Toast/types.js.map +1 -0
  147. package/lib/commonjs/components/VirtualizedList/index.js.map +1 -1
  148. package/lib/commonjs/components/index.js +144 -0
  149. package/lib/commonjs/components/index.js.map +1 -1
  150. package/lib/commonjs/figma/Alert.Button.figma.js +31 -0
  151. package/lib/commonjs/figma/Alert.Button.figma.js.map +1 -0
  152. package/lib/commonjs/figma/Alert.Close.figma.js +24 -0
  153. package/lib/commonjs/figma/Alert.Close.figma.js.map +1 -0
  154. package/lib/commonjs/figma/Alert.Description.figma.js +20 -0
  155. package/lib/commonjs/figma/Alert.Description.figma.js.map +1 -0
  156. package/lib/commonjs/figma/Alert.Title.figma.js +20 -0
  157. package/lib/commonjs/figma/Alert.Title.figma.js.map +1 -0
  158. package/lib/commonjs/figma/Alert.figma.js +42 -0
  159. package/lib/commonjs/figma/Alert.figma.js.map +1 -0
  160. package/lib/commonjs/figma/AlertDialog.Description.figma.js +20 -0
  161. package/lib/commonjs/figma/AlertDialog.Description.figma.js.map +1 -0
  162. package/lib/commonjs/figma/AlertDialog.Footer.figma.js +41 -0
  163. package/lib/commonjs/figma/AlertDialog.Footer.figma.js.map +1 -0
  164. package/lib/commonjs/figma/AlertDialog.Header.figma.js +28 -0
  165. package/lib/commonjs/figma/AlertDialog.Header.figma.js.map +1 -0
  166. package/lib/commonjs/figma/AlertDialog.Text.figma.js +20 -0
  167. package/lib/commonjs/figma/AlertDialog.Text.figma.js.map +1 -0
  168. package/lib/commonjs/figma/AlertDialog.Title.figma.js +27 -0
  169. package/lib/commonjs/figma/AlertDialog.Title.figma.js.map +1 -0
  170. package/lib/commonjs/figma/AlertDialog.figma.js +43 -0
  171. package/lib/commonjs/figma/AlertDialog.figma.js.map +1 -0
  172. package/lib/commonjs/figma/Avatar.figma.js +57 -0
  173. package/lib/commonjs/figma/Avatar.figma.js.map +1 -0
  174. package/lib/commonjs/figma/Badge.Indicator.figma.js +47 -0
  175. package/lib/commonjs/figma/Badge.Indicator.figma.js.map +1 -0
  176. package/lib/commonjs/figma/Badge.figma.js +65 -0
  177. package/lib/commonjs/figma/Badge.figma.js.map +1 -0
  178. package/lib/commonjs/figma/BottomSheet.Footer.figma.js +31 -0
  179. package/lib/commonjs/figma/BottomSheet.Footer.figma.js.map +1 -0
  180. package/lib/commonjs/figma/BottomSheet.Header.figma.js +30 -0
  181. package/lib/commonjs/figma/BottomSheet.Header.figma.js.map +1 -0
  182. package/lib/commonjs/figma/BottomSheet.figma.js +54 -0
  183. package/lib/commonjs/figma/BottomSheet.figma.js.map +1 -0
  184. package/lib/commonjs/figma/Button.figma.js +4 -7
  185. package/lib/commonjs/figma/Button.figma.js.map +1 -1
  186. package/lib/commonjs/figma/CLAUDE.md +30 -0
  187. package/lib/commonjs/figma/Card.Header.figma.js +28 -0
  188. package/lib/commonjs/figma/Card.Header.figma.js.map +1 -0
  189. package/lib/commonjs/figma/Card.Stripe.figma.js +20 -0
  190. package/lib/commonjs/figma/Card.Stripe.figma.js.map +1 -0
  191. package/lib/commonjs/figma/Card.figma.js +45 -0
  192. package/lib/commonjs/figma/Card.figma.js.map +1 -0
  193. package/lib/commonjs/figma/Checkbox.figma.js +55 -0
  194. package/lib/commonjs/figma/Checkbox.figma.js.map +1 -0
  195. package/lib/commonjs/figma/Chip.figma.js +68 -0
  196. package/lib/commonjs/figma/Chip.figma.js.map +1 -0
  197. package/lib/commonjs/figma/Dialog.Description.figma.js +20 -0
  198. package/lib/commonjs/figma/Dialog.Description.figma.js.map +1 -0
  199. package/lib/commonjs/figma/Dialog.Footer.figma.js +30 -0
  200. package/lib/commonjs/figma/Dialog.Footer.figma.js.map +1 -0
  201. package/lib/commonjs/figma/Dialog.Header.figma.js +29 -0
  202. package/lib/commonjs/figma/Dialog.Header.figma.js.map +1 -0
  203. package/lib/commonjs/figma/Dialog.Text.figma.js +20 -0
  204. package/lib/commonjs/figma/Dialog.Text.figma.js.map +1 -0
  205. package/lib/commonjs/figma/Dialog.Title.figma.js +27 -0
  206. package/lib/commonjs/figma/Dialog.Title.figma.js.map +1 -0
  207. package/lib/commonjs/figma/Dialog.figma.js +51 -0
  208. package/lib/commonjs/figma/Dialog.figma.js.map +1 -0
  209. package/lib/commonjs/figma/Divider.figma.js +32 -0
  210. package/lib/commonjs/figma/Divider.figma.js.map +1 -0
  211. package/lib/commonjs/figma/Field.Input.figma.js +57 -0
  212. package/lib/commonjs/figma/Field.Input.figma.js.map +1 -0
  213. package/lib/commonjs/figma/Field.OtpInput.figma.js +52 -0
  214. package/lib/commonjs/figma/Field.OtpInput.figma.js.map +1 -0
  215. package/lib/commonjs/figma/Field.Select.figma.js +57 -0
  216. package/lib/commonjs/figma/Field.Select.figma.js.map +1 -0
  217. package/lib/commonjs/figma/Field.Textarea.figma.js +57 -0
  218. package/lib/commonjs/figma/Field.Textarea.figma.js.map +1 -0
  219. package/lib/commonjs/figma/Heading.figma.js +30 -0
  220. package/lib/commonjs/figma/Heading.figma.js.map +1 -0
  221. package/lib/commonjs/figma/Icon.figma.js +20 -0
  222. package/lib/commonjs/figma/Icon.figma.js.map +1 -0
  223. package/lib/commonjs/figma/IconButton.figma.js +47 -0
  224. package/lib/commonjs/figma/IconButton.figma.js.map +1 -0
  225. package/lib/commonjs/figma/Input.figma.js +52 -0
  226. package/lib/commonjs/figma/Input.figma.js.map +1 -0
  227. package/lib/commonjs/figma/Link.figma.js +30 -0
  228. package/lib/commonjs/figma/Link.figma.js.map +1 -0
  229. package/lib/commonjs/figma/ListItem.Description.figma.js +23 -0
  230. package/lib/commonjs/figma/ListItem.Description.figma.js.map +1 -0
  231. package/lib/commonjs/figma/ListItem.LeadingSlot.figma.js +24 -0
  232. package/lib/commonjs/figma/ListItem.LeadingSlot.figma.js.map +1 -0
  233. package/lib/commonjs/figma/ListItem.Meta.figma.js +23 -0
  234. package/lib/commonjs/figma/ListItem.Meta.figma.js.map +1 -0
  235. package/lib/commonjs/figma/ListItem.SectionHeader.figma.js +24 -0
  236. package/lib/commonjs/figma/ListItem.SectionHeader.figma.js.map +1 -0
  237. package/lib/commonjs/figma/ListItem.Title.figma.js +23 -0
  238. package/lib/commonjs/figma/ListItem.Title.figma.js.map +1 -0
  239. package/lib/commonjs/figma/ListItem.TrailingSlot.figma.js +24 -0
  240. package/lib/commonjs/figma/ListItem.TrailingSlot.figma.js.map +1 -0
  241. package/lib/commonjs/figma/ListItem.figma.js +50 -0
  242. package/lib/commonjs/figma/ListItem.figma.js.map +1 -0
  243. package/lib/commonjs/figma/OtpInput.Cell.figma.js +55 -0
  244. package/lib/commonjs/figma/OtpInput.Cell.figma.js.map +1 -0
  245. package/lib/commonjs/figma/OtpInput.figma.js +42 -0
  246. package/lib/commonjs/figma/OtpInput.figma.js.map +1 -0
  247. package/lib/commonjs/figma/ProgressSegmented.figma.js +39 -0
  248. package/lib/commonjs/figma/ProgressSegmented.figma.js.map +1 -0
  249. package/lib/commonjs/figma/QuickActionButton.figma.js +38 -0
  250. package/lib/commonjs/figma/QuickActionButton.figma.js.map +1 -0
  251. package/lib/commonjs/figma/Radio.figma.js +8 -6
  252. package/lib/commonjs/figma/Radio.figma.js.map +1 -1
  253. package/lib/commonjs/figma/Select.figma.js +53 -0
  254. package/lib/commonjs/figma/Select.figma.js.map +1 -0
  255. package/lib/commonjs/figma/Text.figma.js +32 -0
  256. package/lib/commonjs/figma/Text.figma.js.map +1 -0
  257. package/lib/commonjs/figma/Textarea.figma.js +47 -0
  258. package/lib/commonjs/figma/Textarea.figma.js.map +1 -0
  259. package/lib/commonjs/figma/icons.figma.batch.js +27 -0
  260. package/lib/commonjs/figma/icons.figma.batch.js.map +1 -0
  261. package/lib/commonjs/figma/icons.figma.batch.json +17705 -0
  262. package/lib/commonjs/globals.d.js +2 -0
  263. package/lib/commonjs/globals.d.js.map +1 -0
  264. package/lib/commonjs/hooks/index.js +19 -0
  265. package/lib/commonjs/hooks/index.js.map +1 -0
  266. package/lib/commonjs/hooks/useForgeBottomTabScreenOptions.js +246 -0
  267. package/lib/commonjs/hooks/useForgeBottomTabScreenOptions.js.map +1 -0
  268. package/lib/commonjs/index.js +39 -0
  269. package/lib/commonjs/index.js.map +1 -1
  270. package/lib/commonjs/metro/withCdxMetroConfig.js +7 -18
  271. package/lib/commonjs/metro/withCdxMetroConfig.js.map +1 -1
  272. package/lib/commonjs/metro/withForgeMetroConfig.js +24 -0
  273. package/lib/commonjs/metro/withForgeMetroConfig.js.map +1 -0
  274. package/lib/commonjs/navigation/forgeTabIcon.js +43 -0
  275. package/lib/commonjs/navigation/forgeTabIcon.js.map +1 -0
  276. package/lib/commonjs/navigation/forgeTabIcon.native.js +35 -0
  277. package/lib/commonjs/navigation/forgeTabIcon.native.js.map +1 -0
  278. package/lib/commonjs/navigation/index.js +13 -0
  279. package/lib/commonjs/navigation/index.js.map +1 -0
  280. package/lib/commonjs/navigation/types.js +38 -0
  281. package/lib/commonjs/navigation/types.js.map +1 -0
  282. package/lib/commonjs/providers/animation-settings/index.js +31 -0
  283. package/lib/commonjs/providers/animation-settings/index.js.map +1 -0
  284. package/lib/commonjs/providers/animation-settings/provider.js +59 -0
  285. package/lib/commonjs/providers/animation-settings/provider.js.map +1 -0
  286. package/lib/commonjs/providers/animation-settings/types.js +6 -0
  287. package/lib/commonjs/providers/animation-settings/types.js.map +1 -0
  288. package/lib/commonjs/providers/forge-design/index.js +29 -0
  289. package/lib/commonjs/providers/forge-design/index.js.map +1 -0
  290. package/lib/commonjs/providers/forge-design/provider.js +71 -0
  291. package/lib/commonjs/providers/forge-design/provider.js.map +1 -0
  292. package/lib/commonjs/providers/forge-design/types.js +6 -0
  293. package/lib/commonjs/providers/forge-design/types.js.map +1 -0
  294. package/lib/commonjs/providers/text-component/index.js +28 -0
  295. package/lib/commonjs/providers/text-component/index.js.map +1 -0
  296. package/lib/commonjs/providers/text-component/provider.js +11 -0
  297. package/lib/commonjs/providers/text-component/provider.js.map +1 -0
  298. package/lib/commonjs/providers/text-component/types.js +6 -0
  299. package/lib/commonjs/providers/text-component/types.js.map +1 -0
  300. package/lib/commonjs/providers/toast/index.js +33 -0
  301. package/lib/commonjs/providers/toast/index.js.map +1 -0
  302. package/lib/commonjs/providers/toast/insets-container.js +166 -0
  303. package/lib/commonjs/providers/toast/insets-container.js.map +1 -0
  304. package/lib/commonjs/providers/toast/lifecycle.context.js +36 -0
  305. package/lib/commonjs/providers/toast/lifecycle.context.js.map +1 -0
  306. package/lib/commonjs/providers/toast/provider.js +508 -0
  307. package/lib/commonjs/providers/toast/provider.js.map +1 -0
  308. package/lib/commonjs/providers/toast/reducer.js +46 -0
  309. package/lib/commonjs/providers/toast/reducer.js.map +1 -0
  310. package/lib/commonjs/providers/toast/toast-config.context.js +29 -0
  311. package/lib/commonjs/providers/toast/toast-config.context.js.map +1 -0
  312. package/lib/commonjs/providers/toast/toast-item-renderer.js +43 -0
  313. package/lib/commonjs/providers/toast/toast-item-renderer.js.map +1 -0
  314. package/lib/commonjs/providers/toast/types.js +6 -0
  315. package/lib/commonjs/providers/toast/types.js.map +1 -0
  316. package/lib/commonjs/styles/constants.js +16 -0
  317. package/lib/commonjs/styles/constants.js.map +1 -0
  318. package/lib/commonjs/styles.css +0 -5
  319. package/lib/commonjs/utils/positionToDataIcon.js +41 -0
  320. package/lib/commonjs/utils/positionToDataIcon.js.map +1 -0
  321. package/lib/module/animation/hooks/index.js +4 -0
  322. package/lib/module/animation/hooks/index.js.map +1 -0
  323. package/lib/module/animation/hooks/useCombinedAnimationDisabledState.js +47 -0
  324. package/lib/module/animation/hooks/useCombinedAnimationDisabledState.js.map +1 -0
  325. package/lib/module/animation/index.js +6 -0
  326. package/lib/module/animation/index.js.map +1 -0
  327. package/lib/module/animation/types.js +4 -0
  328. package/lib/module/animation/types.js.map +1 -0
  329. package/lib/module/animation/utils.js +212 -0
  330. package/lib/module/animation/utils.js.map +1 -0
  331. package/lib/module/components/Alert/index.js +259 -0
  332. package/lib/module/components/Alert/index.js.map +1 -0
  333. package/lib/module/components/Alert/styles.js +84 -0
  334. package/lib/module/components/Alert/styles.js.map +1 -0
  335. package/lib/module/components/AlertDialog/index.js +18 -15
  336. package/lib/module/components/AlertDialog/index.js.map +1 -1
  337. package/lib/module/components/Avatar/index.js +138 -29
  338. package/lib/module/components/Avatar/index.js.map +1 -1
  339. package/lib/module/components/Avatar/styles.js +36 -29
  340. package/lib/module/components/Avatar/styles.js.map +1 -1
  341. package/lib/module/components/Badge/index.js +83 -0
  342. package/lib/module/components/Badge/index.js.map +1 -0
  343. package/lib/module/components/Badge/styles.js +123 -0
  344. package/lib/module/components/Badge/styles.js.map +1 -0
  345. package/lib/module/components/BottomSheet/index.js +80 -32
  346. package/lib/module/components/BottomSheet/index.js.map +1 -1
  347. package/lib/module/components/BottomSheet/styles.js +7 -42
  348. package/lib/module/components/BottomSheet/styles.js.map +1 -1
  349. package/lib/module/components/Button/index.js +146 -33
  350. package/lib/module/components/Button/index.js.map +1 -1
  351. package/lib/module/components/Button/styles.js +94 -29
  352. package/lib/module/components/Button/styles.js.map +1 -1
  353. package/lib/module/components/CLAUDE.md +195 -0
  354. package/lib/module/components/Card/index.js +77 -18
  355. package/lib/module/components/Card/index.js.map +1 -1
  356. package/lib/module/components/Card/styles.js +16 -2
  357. package/lib/module/components/Card/styles.js.map +1 -1
  358. package/lib/module/components/Carousel/index.js +147 -0
  359. package/lib/module/components/Carousel/index.js.map +1 -0
  360. package/lib/module/components/Carousel/paginationNavigation.js +31 -0
  361. package/lib/module/components/Carousel/paginationNavigation.js.map +1 -0
  362. package/lib/module/components/Carousel/styles.js +18 -0
  363. package/lib/module/components/Carousel/styles.js.map +1 -0
  364. package/lib/module/components/Checkbox/index.js +93 -52
  365. package/lib/module/components/Checkbox/index.js.map +1 -1
  366. package/lib/module/components/Checkbox/styles.js +45 -48
  367. package/lib/module/components/Checkbox/styles.js.map +1 -1
  368. package/lib/module/components/Chip/index.js +98 -21
  369. package/lib/module/components/Chip/index.js.map +1 -1
  370. package/lib/module/components/Chip/styles.js +177 -20
  371. package/lib/module/components/Chip/styles.js.map +1 -1
  372. package/lib/module/components/CurrencyInput/index.js +154 -0
  373. package/lib/module/components/CurrencyInput/index.js.map +1 -0
  374. package/lib/module/components/CurrencyInput/styles.js +27 -0
  375. package/lib/module/components/CurrencyInput/styles.js.map +1 -0
  376. package/lib/module/components/Dialog/index.js +147 -72
  377. package/lib/module/components/Dialog/index.js.map +1 -1
  378. package/lib/module/components/Dialog/styles.js +60 -14
  379. package/lib/module/components/Dialog/styles.js.map +1 -1
  380. package/lib/module/components/Divider/index.js +94 -0
  381. package/lib/module/components/Divider/index.js.map +1 -0
  382. package/lib/module/components/Divider/styles.js +71 -0
  383. package/lib/module/components/Divider/styles.js.map +1 -0
  384. package/lib/module/components/Field/index.js +81 -32
  385. package/lib/module/components/Field/index.js.map +1 -1
  386. package/lib/module/components/Field/styles.js +5 -5
  387. package/lib/module/components/Field/styles.js.map +1 -1
  388. package/lib/module/components/Form/index.js +7 -14
  389. package/lib/module/components/Form/index.js.map +1 -1
  390. package/lib/module/components/Heading/styles.js +1 -1
  391. package/lib/module/components/Heading/styles.js.map +1 -1
  392. package/lib/module/components/Icon/index.js +12 -5
  393. package/lib/module/components/Icon/index.js.map +1 -1
  394. package/lib/module/components/IconButton/index.js +12 -35
  395. package/lib/module/components/IconButton/index.js.map +1 -1
  396. package/lib/module/components/IconButton/styles.js +136 -11
  397. package/lib/module/components/IconButton/styles.js.map +1 -1
  398. package/lib/module/components/Input/index.js +53 -23
  399. package/lib/module/components/Input/index.js.map +1 -1
  400. package/lib/module/components/Input/styles.js +20 -7
  401. package/lib/module/components/Input/styles.js.map +1 -1
  402. package/lib/module/components/InsuranceDisclosure/index.js +52 -0
  403. package/lib/module/components/InsuranceDisclosure/index.js.map +1 -0
  404. package/lib/module/components/InsuranceDisclosure/styles.js +7 -0
  405. package/lib/module/components/InsuranceDisclosure/styles.js.map +1 -0
  406. package/lib/module/components/Link/index.js +38 -11
  407. package/lib/module/components/Link/index.js.map +1 -1
  408. package/lib/module/components/Link/styles.js +53 -7
  409. package/lib/module/components/Link/styles.js.map +1 -1
  410. package/lib/module/components/ListItem/index.js +137 -84
  411. package/lib/module/components/ListItem/index.js.map +1 -1
  412. package/lib/module/components/ListItem/styles.js +30 -58
  413. package/lib/module/components/ListItem/styles.js.map +1 -1
  414. package/lib/module/components/OtpInput/index.js +114 -36
  415. package/lib/module/components/OtpInput/index.js.map +1 -1
  416. package/lib/module/components/OtpInput/styles.js +9 -7
  417. package/lib/module/components/OtpInput/styles.js.map +1 -1
  418. package/lib/module/components/ProgressBar/index.js +9 -14
  419. package/lib/module/components/ProgressBar/index.js.map +1 -1
  420. package/lib/module/components/ProgressSegmented/index.js +25 -11
  421. package/lib/module/components/ProgressSegmented/index.js.map +1 -1
  422. package/lib/module/components/QuickActionButton/index.js +129 -0
  423. package/lib/module/components/QuickActionButton/index.js.map +1 -0
  424. package/lib/module/components/QuickActionButton/styles.js +13 -0
  425. package/lib/module/components/QuickActionButton/styles.js.map +1 -0
  426. package/lib/module/components/Radio/index.js +69 -55
  427. package/lib/module/components/Radio/index.js.map +1 -1
  428. package/lib/module/components/Radio/styles.js +20 -8
  429. package/lib/module/components/Radio/styles.js.map +1 -1
  430. package/lib/module/components/ScopedTheme/index.js +19 -0
  431. package/lib/module/components/ScopedTheme/index.js.map +1 -0
  432. package/lib/module/components/Select/index.js +117 -45
  433. package/lib/module/components/Select/index.js.map +1 -1
  434. package/lib/module/components/Select/styles.js +26 -21
  435. package/lib/module/components/Select/styles.js.map +1 -1
  436. package/lib/module/components/Skeleton/index.js +32 -0
  437. package/lib/module/components/Skeleton/index.js.map +1 -0
  438. package/lib/module/components/Skeleton/styles.js +5 -0
  439. package/lib/module/components/Skeleton/styles.js.map +1 -0
  440. package/lib/module/components/Switch/BaseSwitch.js +24 -14
  441. package/lib/module/components/Switch/BaseSwitch.js.map +1 -1
  442. package/lib/module/components/Switch/BaseSwitch.web.js +26 -22
  443. package/lib/module/components/Switch/BaseSwitch.web.js.map +1 -1
  444. package/lib/module/components/Switch/index.js +35 -4
  445. package/lib/module/components/Switch/index.js.map +1 -1
  446. package/lib/module/components/Text/styles.js +2 -2
  447. package/lib/module/components/Text/styles.js.map +1 -1
  448. package/lib/module/components/Textarea/index.js +132 -0
  449. package/lib/module/components/Textarea/index.js.map +1 -0
  450. package/lib/module/components/Textarea/styles.js +45 -0
  451. package/lib/module/components/Textarea/styles.js.map +1 -0
  452. package/lib/module/components/Tile/index.js +315 -0
  453. package/lib/module/components/Tile/index.js.map +1 -0
  454. package/lib/module/components/Tile/styles.js +48 -0
  455. package/lib/module/components/Tile/styles.js.map +1 -0
  456. package/lib/module/components/Toast/animation.js +324 -0
  457. package/lib/module/components/Toast/animation.js.map +1 -0
  458. package/lib/module/components/Toast/hooks.js +61 -0
  459. package/lib/module/components/Toast/hooks.js.map +1 -0
  460. package/lib/module/components/Toast/index.js +487 -0
  461. package/lib/module/components/Toast/index.js.map +1 -0
  462. package/lib/module/components/Toast/styles.js +138 -0
  463. package/lib/module/components/Toast/styles.js.map +1 -0
  464. package/lib/module/components/Toast/types.js +4 -0
  465. package/lib/module/components/Toast/types.js.map +1 -0
  466. package/lib/module/components/VirtualizedList/index.js.map +1 -1
  467. package/lib/module/components/index.js +12 -0
  468. package/lib/module/components/index.js.map +1 -1
  469. package/lib/module/figma/Alert.Button.figma.js +25 -0
  470. package/lib/module/figma/Alert.Button.figma.js.map +1 -0
  471. package/lib/module/figma/Alert.Close.figma.js +18 -0
  472. package/lib/module/figma/Alert.Close.figma.js.map +1 -0
  473. package/lib/module/figma/Alert.Description.figma.js +14 -0
  474. package/lib/module/figma/Alert.Description.figma.js.map +1 -0
  475. package/lib/module/figma/Alert.Title.figma.js +14 -0
  476. package/lib/module/figma/Alert.Title.figma.js.map +1 -0
  477. package/lib/module/figma/Alert.figma.js +36 -0
  478. package/lib/module/figma/Alert.figma.js.map +1 -0
  479. package/lib/module/figma/AlertDialog.Description.figma.js +14 -0
  480. package/lib/module/figma/AlertDialog.Description.figma.js.map +1 -0
  481. package/lib/module/figma/AlertDialog.Footer.figma.js +35 -0
  482. package/lib/module/figma/AlertDialog.Footer.figma.js.map +1 -0
  483. package/lib/module/figma/AlertDialog.Header.figma.js +22 -0
  484. package/lib/module/figma/AlertDialog.Header.figma.js.map +1 -0
  485. package/lib/module/figma/AlertDialog.Text.figma.js +14 -0
  486. package/lib/module/figma/AlertDialog.Text.figma.js.map +1 -0
  487. package/lib/module/figma/AlertDialog.Title.figma.js +21 -0
  488. package/lib/module/figma/AlertDialog.Title.figma.js.map +1 -0
  489. package/lib/module/figma/AlertDialog.figma.js +37 -0
  490. package/lib/module/figma/AlertDialog.figma.js.map +1 -0
  491. package/lib/module/figma/Avatar.figma.js +51 -0
  492. package/lib/module/figma/Avatar.figma.js.map +1 -0
  493. package/lib/module/figma/Badge.Indicator.figma.js +41 -0
  494. package/lib/module/figma/Badge.Indicator.figma.js.map +1 -0
  495. package/lib/module/figma/Badge.figma.js +59 -0
  496. package/lib/module/figma/Badge.figma.js.map +1 -0
  497. package/lib/module/figma/BottomSheet.Footer.figma.js +25 -0
  498. package/lib/module/figma/BottomSheet.Footer.figma.js.map +1 -0
  499. package/lib/module/figma/BottomSheet.Header.figma.js +24 -0
  500. package/lib/module/figma/BottomSheet.Header.figma.js.map +1 -0
  501. package/lib/module/figma/BottomSheet.figma.js +48 -0
  502. package/lib/module/figma/BottomSheet.figma.js.map +1 -0
  503. package/lib/module/figma/Button.figma.js +4 -7
  504. package/lib/module/figma/Button.figma.js.map +1 -1
  505. package/lib/module/figma/CLAUDE.md +30 -0
  506. package/lib/module/figma/Card.Header.figma.js +22 -0
  507. package/lib/module/figma/Card.Header.figma.js.map +1 -0
  508. package/lib/module/figma/Card.Stripe.figma.js +15 -0
  509. package/lib/module/figma/Card.Stripe.figma.js.map +1 -0
  510. package/lib/module/figma/Card.figma.js +39 -0
  511. package/lib/module/figma/Card.figma.js.map +1 -0
  512. package/lib/module/figma/Checkbox.figma.js +49 -0
  513. package/lib/module/figma/Checkbox.figma.js.map +1 -0
  514. package/lib/module/figma/Chip.figma.js +62 -0
  515. package/lib/module/figma/Chip.figma.js.map +1 -0
  516. package/lib/module/figma/Dialog.Description.figma.js +14 -0
  517. package/lib/module/figma/Dialog.Description.figma.js.map +1 -0
  518. package/lib/module/figma/Dialog.Footer.figma.js +24 -0
  519. package/lib/module/figma/Dialog.Footer.figma.js.map +1 -0
  520. package/lib/module/figma/Dialog.Header.figma.js +23 -0
  521. package/lib/module/figma/Dialog.Header.figma.js.map +1 -0
  522. package/lib/module/figma/Dialog.Text.figma.js +14 -0
  523. package/lib/module/figma/Dialog.Text.figma.js.map +1 -0
  524. package/lib/module/figma/Dialog.Title.figma.js +21 -0
  525. package/lib/module/figma/Dialog.Title.figma.js.map +1 -0
  526. package/lib/module/figma/Dialog.figma.js +45 -0
  527. package/lib/module/figma/Dialog.figma.js.map +1 -0
  528. package/lib/module/figma/Divider.figma.js +26 -0
  529. package/lib/module/figma/Divider.figma.js.map +1 -0
  530. package/lib/module/figma/Field.Input.figma.js +51 -0
  531. package/lib/module/figma/Field.Input.figma.js.map +1 -0
  532. package/lib/module/figma/Field.OtpInput.figma.js +46 -0
  533. package/lib/module/figma/Field.OtpInput.figma.js.map +1 -0
  534. package/lib/module/figma/Field.Select.figma.js +51 -0
  535. package/lib/module/figma/Field.Select.figma.js.map +1 -0
  536. package/lib/module/figma/Field.Textarea.figma.js +51 -0
  537. package/lib/module/figma/Field.Textarea.figma.js.map +1 -0
  538. package/lib/module/figma/Heading.figma.js +24 -0
  539. package/lib/module/figma/Heading.figma.js.map +1 -0
  540. package/lib/module/figma/Icon.figma.js +14 -0
  541. package/lib/module/figma/Icon.figma.js.map +1 -0
  542. package/lib/module/figma/IconButton.figma.js +41 -0
  543. package/lib/module/figma/IconButton.figma.js.map +1 -0
  544. package/lib/module/figma/Input.figma.js +46 -0
  545. package/lib/module/figma/Input.figma.js.map +1 -0
  546. package/lib/module/figma/Link.figma.js +24 -0
  547. package/lib/module/figma/Link.figma.js.map +1 -0
  548. package/lib/module/figma/ListItem.Description.figma.js +17 -0
  549. package/lib/module/figma/ListItem.Description.figma.js.map +1 -0
  550. package/lib/module/figma/ListItem.LeadingSlot.figma.js +18 -0
  551. package/lib/module/figma/ListItem.LeadingSlot.figma.js.map +1 -0
  552. package/lib/module/figma/ListItem.Meta.figma.js +17 -0
  553. package/lib/module/figma/ListItem.Meta.figma.js.map +1 -0
  554. package/lib/module/figma/ListItem.SectionHeader.figma.js +18 -0
  555. package/lib/module/figma/ListItem.SectionHeader.figma.js.map +1 -0
  556. package/lib/module/figma/ListItem.Title.figma.js +17 -0
  557. package/lib/module/figma/ListItem.Title.figma.js.map +1 -0
  558. package/lib/module/figma/ListItem.TrailingSlot.figma.js +18 -0
  559. package/lib/module/figma/ListItem.TrailingSlot.figma.js.map +1 -0
  560. package/lib/module/figma/ListItem.figma.js +44 -0
  561. package/lib/module/figma/ListItem.figma.js.map +1 -0
  562. package/lib/module/figma/OtpInput.Cell.figma.js +49 -0
  563. package/lib/module/figma/OtpInput.Cell.figma.js.map +1 -0
  564. package/lib/module/figma/OtpInput.figma.js +36 -0
  565. package/lib/module/figma/OtpInput.figma.js.map +1 -0
  566. package/lib/module/figma/ProgressSegmented.figma.js +33 -0
  567. package/lib/module/figma/ProgressSegmented.figma.js.map +1 -0
  568. package/lib/module/figma/QuickActionButton.figma.js +32 -0
  569. package/lib/module/figma/QuickActionButton.figma.js.map +1 -0
  570. package/lib/module/figma/Radio.figma.js +8 -6
  571. package/lib/module/figma/Radio.figma.js.map +1 -1
  572. package/lib/module/figma/Select.figma.js +47 -0
  573. package/lib/module/figma/Select.figma.js.map +1 -0
  574. package/lib/module/figma/Text.figma.js +26 -0
  575. package/lib/module/figma/Text.figma.js.map +1 -0
  576. package/lib/module/figma/Textarea.figma.js +41 -0
  577. package/lib/module/figma/Textarea.figma.js.map +1 -0
  578. package/lib/module/figma/icons.figma.batch.js +22 -0
  579. package/lib/module/figma/icons.figma.batch.js.map +1 -0
  580. package/lib/module/figma/icons.figma.batch.json +17705 -0
  581. package/lib/module/globals.d.js +2 -0
  582. package/lib/module/globals.d.js.map +1 -0
  583. package/lib/module/hooks/index.js +4 -0
  584. package/lib/module/hooks/index.js.map +1 -0
  585. package/lib/module/hooks/useForgeBottomTabScreenOptions.js +242 -0
  586. package/lib/module/hooks/useForgeBottomTabScreenOptions.js.map +1 -0
  587. package/lib/module/index.js +3 -0
  588. package/lib/module/index.js.map +1 -1
  589. package/lib/module/metro/withCdxMetroConfig.js +3 -17
  590. package/lib/module/metro/withCdxMetroConfig.js.map +1 -1
  591. package/lib/module/metro/withForgeMetroConfig.js +20 -0
  592. package/lib/module/metro/withForgeMetroConfig.js.map +1 -0
  593. package/lib/module/navigation/forgeTabIcon.js +39 -0
  594. package/lib/module/navigation/forgeTabIcon.js.map +1 -0
  595. package/lib/module/navigation/forgeTabIcon.native.js +31 -0
  596. package/lib/module/navigation/forgeTabIcon.native.js.map +1 -0
  597. package/lib/module/navigation/index.js +4 -0
  598. package/lib/module/navigation/index.js.map +1 -0
  599. package/lib/module/navigation/types.js +36 -0
  600. package/lib/module/navigation/types.js.map +1 -0
  601. package/lib/module/providers/animation-settings/index.js +4 -0
  602. package/lib/module/providers/animation-settings/index.js.map +1 -0
  603. package/lib/module/providers/animation-settings/provider.js +52 -0
  604. package/lib/module/providers/animation-settings/provider.js.map +1 -0
  605. package/lib/module/providers/animation-settings/types.js +4 -0
  606. package/lib/module/providers/animation-settings/types.js.map +1 -0
  607. package/lib/module/providers/forge-design/index.js +5 -0
  608. package/lib/module/providers/forge-design/index.js.map +1 -0
  609. package/lib/module/providers/forge-design/provider.js +66 -0
  610. package/lib/module/providers/forge-design/provider.js.map +1 -0
  611. package/lib/module/providers/forge-design/types.js +4 -0
  612. package/lib/module/providers/forge-design/types.js.map +1 -0
  613. package/lib/module/providers/text-component/index.js +5 -0
  614. package/lib/module/providers/text-component/index.js.map +1 -0
  615. package/lib/module/providers/text-component/provider.js +6 -0
  616. package/lib/module/providers/text-component/provider.js.map +1 -0
  617. package/lib/module/providers/text-component/types.js +4 -0
  618. package/lib/module/providers/text-component/types.js.map +1 -0
  619. package/lib/module/providers/toast/index.js +6 -0
  620. package/lib/module/providers/toast/index.js.map +1 -0
  621. package/lib/module/providers/toast/insets-container.js +162 -0
  622. package/lib/module/providers/toast/insets-container.js.map +1 -0
  623. package/lib/module/providers/toast/lifecycle.context.js +32 -0
  624. package/lib/module/providers/toast/lifecycle.context.js.map +1 -0
  625. package/lib/module/providers/toast/provider.js +503 -0
  626. package/lib/module/providers/toast/provider.js.map +1 -0
  627. package/lib/module/providers/toast/reducer.js +42 -0
  628. package/lib/module/providers/toast/reducer.js.map +1 -0
  629. package/lib/module/providers/toast/toast-config.context.js +25 -0
  630. package/lib/module/providers/toast/toast-config.context.js.map +1 -0
  631. package/lib/module/providers/toast/toast-item-renderer.js +39 -0
  632. package/lib/module/providers/toast/toast-item-renderer.js.map +1 -0
  633. package/lib/module/providers/toast/types.js +4 -0
  634. package/lib/module/providers/toast/types.js.map +1 -0
  635. package/lib/module/styles/constants.js +12 -0
  636. package/lib/module/styles/constants.js.map +1 -0
  637. package/lib/module/styles.css +0 -5
  638. package/lib/module/utils/positionToDataIcon.js +38 -0
  639. package/lib/module/utils/positionToDataIcon.js.map +1 -0
  640. package/lib/typescript/animation/hooks/index.d.ts +2 -0
  641. package/lib/typescript/animation/hooks/index.d.ts.map +1 -0
  642. package/lib/typescript/animation/hooks/useCombinedAnimationDisabledState.d.ts +22 -0
  643. package/lib/typescript/animation/hooks/useCombinedAnimationDisabledState.d.ts.map +1 -0
  644. package/lib/typescript/animation/index.d.ts +4 -0
  645. package/lib/typescript/animation/index.d.ts.map +1 -0
  646. package/lib/typescript/animation/types.d.ts +105 -0
  647. package/lib/typescript/animation/types.d.ts.map +1 -0
  648. package/lib/typescript/animation/utils.d.ts +120 -0
  649. package/lib/typescript/animation/utils.d.ts.map +1 -0
  650. package/lib/typescript/components/Alert/index.d.ts +67 -0
  651. package/lib/typescript/components/Alert/index.d.ts.map +1 -0
  652. package/lib/typescript/components/Alert/styles.d.ts +19 -0
  653. package/lib/typescript/components/Alert/styles.d.ts.map +1 -0
  654. package/lib/typescript/components/AlertDialog/index.d.ts +3 -2
  655. package/lib/typescript/components/AlertDialog/index.d.ts.map +1 -1
  656. package/lib/typescript/components/Avatar/index.d.ts +14 -2
  657. package/lib/typescript/components/Avatar/index.d.ts.map +1 -1
  658. package/lib/typescript/components/Avatar/styles.d.ts +4 -4
  659. package/lib/typescript/components/Avatar/styles.d.ts.map +1 -1
  660. package/lib/typescript/components/Badge/index.d.ts +14 -0
  661. package/lib/typescript/components/Badge/index.d.ts.map +1 -0
  662. package/lib/typescript/components/Badge/styles.d.ts +18 -0
  663. package/lib/typescript/components/Badge/styles.d.ts.map +1 -0
  664. package/lib/typescript/components/BottomSheet/index.d.ts +2 -2
  665. package/lib/typescript/components/BottomSheet/index.d.ts.map +1 -1
  666. package/lib/typescript/components/BottomSheet/styles.d.ts +4 -8
  667. package/lib/typescript/components/BottomSheet/styles.d.ts.map +1 -1
  668. package/lib/typescript/components/Button/index.d.ts +81 -9
  669. package/lib/typescript/components/Button/index.d.ts.map +1 -1
  670. package/lib/typescript/components/Button/styles.d.ts +10 -7
  671. package/lib/typescript/components/Button/styles.d.ts.map +1 -1
  672. package/lib/typescript/components/Card/index.d.ts +12 -2
  673. package/lib/typescript/components/Card/index.d.ts.map +1 -1
  674. package/lib/typescript/components/Card/styles.d.ts +5 -1
  675. package/lib/typescript/components/Card/styles.d.ts.map +1 -1
  676. package/lib/typescript/components/Carousel/index.d.ts +70 -0
  677. package/lib/typescript/components/Carousel/index.d.ts.map +1 -0
  678. package/lib/typescript/components/Carousel/paginationNavigation.d.ts +12 -0
  679. package/lib/typescript/components/Carousel/paginationNavigation.d.ts.map +1 -0
  680. package/lib/typescript/components/Carousel/styles.d.ts +8 -0
  681. package/lib/typescript/components/Carousel/styles.d.ts.map +1 -0
  682. package/lib/typescript/components/Checkbox/index.d.ts +4 -3
  683. package/lib/typescript/components/Checkbox/index.d.ts.map +1 -1
  684. package/lib/typescript/components/Checkbox/styles.d.ts +4 -14
  685. package/lib/typescript/components/Checkbox/styles.d.ts.map +1 -1
  686. package/lib/typescript/components/Chip/index.d.ts +31 -8
  687. package/lib/typescript/components/Chip/index.d.ts.map +1 -1
  688. package/lib/typescript/components/Chip/styles.d.ts +12 -4
  689. package/lib/typescript/components/Chip/styles.d.ts.map +1 -1
  690. package/lib/typescript/components/CurrencyInput/index.d.ts +15 -0
  691. package/lib/typescript/components/CurrencyInput/index.d.ts.map +1 -0
  692. package/lib/typescript/components/CurrencyInput/styles.d.ts +9 -0
  693. package/lib/typescript/components/CurrencyInput/styles.d.ts.map +1 -0
  694. package/lib/typescript/components/Dialog/index.d.ts +25 -13
  695. package/lib/typescript/components/Dialog/index.d.ts.map +1 -1
  696. package/lib/typescript/components/Dialog/styles.d.ts +16 -5
  697. package/lib/typescript/components/Dialog/styles.d.ts.map +1 -1
  698. package/lib/typescript/components/Divider/index.d.ts +21 -0
  699. package/lib/typescript/components/Divider/index.d.ts.map +1 -0
  700. package/lib/typescript/components/Divider/styles.d.ts +12 -0
  701. package/lib/typescript/components/Divider/styles.d.ts.map +1 -0
  702. package/lib/typescript/components/Field/index.d.ts +14 -7
  703. package/lib/typescript/components/Field/index.d.ts.map +1 -1
  704. package/lib/typescript/components/Field/styles.d.ts.map +1 -1
  705. package/lib/typescript/components/Form/index.d.ts +4 -4
  706. package/lib/typescript/components/Form/index.d.ts.map +1 -1
  707. package/lib/typescript/components/Heading/styles.d.ts +1 -1
  708. package/lib/typescript/components/Icon/index.d.ts +5 -5
  709. package/lib/typescript/components/Icon/index.d.ts.map +1 -1
  710. package/lib/typescript/components/IconButton/index.d.ts +3 -3
  711. package/lib/typescript/components/IconButton/index.d.ts.map +1 -1
  712. package/lib/typescript/components/IconButton/styles.d.ts +6 -2
  713. package/lib/typescript/components/IconButton/styles.d.ts.map +1 -1
  714. package/lib/typescript/components/Input/index.d.ts +31 -5
  715. package/lib/typescript/components/Input/index.d.ts.map +1 -1
  716. package/lib/typescript/components/Input/styles.d.ts.map +1 -1
  717. package/lib/typescript/components/InsuranceDisclosure/index.d.ts +10 -0
  718. package/lib/typescript/components/InsuranceDisclosure/index.d.ts.map +1 -0
  719. package/lib/typescript/components/InsuranceDisclosure/styles.d.ts +4 -0
  720. package/lib/typescript/components/InsuranceDisclosure/styles.d.ts.map +1 -0
  721. package/lib/typescript/components/Link/index.d.ts +4 -2
  722. package/lib/typescript/components/Link/index.d.ts.map +1 -1
  723. package/lib/typescript/components/Link/styles.d.ts +9 -2
  724. package/lib/typescript/components/Link/styles.d.ts.map +1 -1
  725. package/lib/typescript/components/ListItem/index.d.ts +28 -6
  726. package/lib/typescript/components/ListItem/index.d.ts.map +1 -1
  727. package/lib/typescript/components/ListItem/styles.d.ts +3 -10
  728. package/lib/typescript/components/ListItem/styles.d.ts.map +1 -1
  729. package/lib/typescript/components/OtpInput/index.d.ts +30 -3
  730. package/lib/typescript/components/OtpInput/index.d.ts.map +1 -1
  731. package/lib/typescript/components/OtpInput/styles.d.ts.map +1 -1
  732. package/lib/typescript/components/ProgressBar/index.d.ts +4 -4
  733. package/lib/typescript/components/ProgressBar/index.d.ts.map +1 -1
  734. package/lib/typescript/components/ProgressSegmented/index.d.ts +14 -3
  735. package/lib/typescript/components/ProgressSegmented/index.d.ts.map +1 -1
  736. package/lib/typescript/components/QuickActionButton/index.d.ts +41 -0
  737. package/lib/typescript/components/QuickActionButton/index.d.ts.map +1 -0
  738. package/lib/typescript/components/QuickActionButton/styles.d.ts +7 -0
  739. package/lib/typescript/components/QuickActionButton/styles.d.ts.map +1 -0
  740. package/lib/typescript/components/Radio/index.d.ts +4 -0
  741. package/lib/typescript/components/Radio/index.d.ts.map +1 -1
  742. package/lib/typescript/components/Radio/styles.d.ts.map +1 -1
  743. package/lib/typescript/components/ScopedTheme/index.d.ts +16 -0
  744. package/lib/typescript/components/ScopedTheme/index.d.ts.map +1 -0
  745. package/lib/typescript/components/Select/index.d.ts +35 -2
  746. package/lib/typescript/components/Select/index.d.ts.map +1 -1
  747. package/lib/typescript/components/Select/styles.d.ts.map +1 -1
  748. package/lib/typescript/components/Skeleton/index.d.ts +9 -0
  749. package/lib/typescript/components/Skeleton/index.d.ts.map +1 -0
  750. package/lib/typescript/components/Skeleton/styles.d.ts +4 -0
  751. package/lib/typescript/components/Skeleton/styles.d.ts.map +1 -0
  752. package/lib/typescript/components/Stack/styles.d.ts +2 -2
  753. package/lib/typescript/components/Switch/BaseSwitch.d.ts +12 -5
  754. package/lib/typescript/components/Switch/BaseSwitch.d.ts.map +1 -1
  755. package/lib/typescript/components/Switch/BaseSwitch.web.d.ts +11 -5
  756. package/lib/typescript/components/Switch/BaseSwitch.web.d.ts.map +1 -1
  757. package/lib/typescript/components/Switch/index.d.ts +15 -3
  758. package/lib/typescript/components/Switch/index.d.ts.map +1 -1
  759. package/lib/typescript/components/Text/styles.d.ts +1 -1
  760. package/lib/typescript/components/Textarea/index.d.ts +27 -0
  761. package/lib/typescript/components/Textarea/index.d.ts.map +1 -0
  762. package/lib/typescript/components/Textarea/styles.d.ts +11 -0
  763. package/lib/typescript/components/Textarea/styles.d.ts.map +1 -0
  764. package/lib/typescript/components/Tile/index.d.ts +76 -0
  765. package/lib/typescript/components/Tile/index.d.ts.map +1 -0
  766. package/lib/typescript/components/Tile/styles.d.ts +18 -0
  767. package/lib/typescript/components/Tile/styles.d.ts.map +1 -0
  768. package/lib/typescript/components/Toast/animation.d.ts +21 -0
  769. package/lib/typescript/components/Toast/animation.d.ts.map +1 -0
  770. package/lib/typescript/components/Toast/hooks.d.ts +17 -0
  771. package/lib/typescript/components/Toast/hooks.d.ts.map +1 -0
  772. package/lib/typescript/components/Toast/index.d.ts +28 -0
  773. package/lib/typescript/components/Toast/index.d.ts.map +1 -0
  774. package/lib/typescript/components/Toast/styles.d.ts +73 -0
  775. package/lib/typescript/components/Toast/styles.d.ts.map +1 -0
  776. package/lib/typescript/components/Toast/types.d.ts +303 -0
  777. package/lib/typescript/components/Toast/types.d.ts.map +1 -0
  778. package/lib/typescript/components/VirtualizedList/index.d.ts +2 -1
  779. package/lib/typescript/components/VirtualizedList/index.d.ts.map +1 -1
  780. package/lib/typescript/components/index.d.ts +12 -0
  781. package/lib/typescript/components/index.d.ts.map +1 -1
  782. package/lib/typescript/figma/Alert.Button.figma.d.ts +11 -0
  783. package/lib/typescript/figma/Alert.Button.figma.d.ts.map +1 -0
  784. package/lib/typescript/figma/Alert.Close.figma.d.ts +11 -0
  785. package/lib/typescript/figma/Alert.Close.figma.d.ts.map +1 -0
  786. package/lib/typescript/figma/Alert.Description.figma.d.ts +8 -0
  787. package/lib/typescript/figma/Alert.Description.figma.d.ts.map +1 -0
  788. package/lib/typescript/figma/Alert.Title.figma.d.ts +8 -0
  789. package/lib/typescript/figma/Alert.Title.figma.d.ts.map +1 -0
  790. package/lib/typescript/figma/Alert.figma.d.ts +8 -0
  791. package/lib/typescript/figma/Alert.figma.d.ts.map +1 -0
  792. package/lib/typescript/figma/AlertDialog.Description.figma.d.ts +8 -0
  793. package/lib/typescript/figma/AlertDialog.Description.figma.d.ts.map +1 -0
  794. package/lib/typescript/figma/AlertDialog.Footer.figma.d.ts +8 -0
  795. package/lib/typescript/figma/AlertDialog.Footer.figma.d.ts.map +1 -0
  796. package/lib/typescript/figma/AlertDialog.Header.figma.d.ts +8 -0
  797. package/lib/typescript/figma/AlertDialog.Header.figma.d.ts.map +1 -0
  798. package/lib/typescript/figma/AlertDialog.Text.figma.d.ts +8 -0
  799. package/lib/typescript/figma/AlertDialog.Text.figma.d.ts.map +1 -0
  800. package/lib/typescript/figma/AlertDialog.Title.figma.d.ts +8 -0
  801. package/lib/typescript/figma/AlertDialog.Title.figma.d.ts.map +1 -0
  802. package/lib/typescript/figma/AlertDialog.figma.d.ts +8 -0
  803. package/lib/typescript/figma/AlertDialog.figma.d.ts.map +1 -0
  804. package/lib/typescript/figma/Avatar.figma.d.ts +11 -0
  805. package/lib/typescript/figma/Avatar.figma.d.ts.map +1 -0
  806. package/lib/typescript/figma/Badge.Indicator.figma.d.ts +11 -0
  807. package/lib/typescript/figma/Badge.Indicator.figma.d.ts.map +1 -0
  808. package/lib/typescript/figma/Badge.figma.d.ts +8 -0
  809. package/lib/typescript/figma/Badge.figma.d.ts.map +1 -0
  810. package/lib/typescript/figma/BottomSheet.Footer.figma.d.ts +8 -0
  811. package/lib/typescript/figma/BottomSheet.Footer.figma.d.ts.map +1 -0
  812. package/lib/typescript/figma/BottomSheet.Header.figma.d.ts +8 -0
  813. package/lib/typescript/figma/BottomSheet.Header.figma.d.ts.map +1 -0
  814. package/lib/typescript/figma/BottomSheet.figma.d.ts +8 -0
  815. package/lib/typescript/figma/BottomSheet.figma.d.ts.map +1 -0
  816. package/lib/typescript/figma/Button.figma.d.ts.map +1 -1
  817. package/lib/typescript/figma/Card.Header.figma.d.ts +8 -0
  818. package/lib/typescript/figma/Card.Header.figma.d.ts.map +1 -0
  819. package/lib/typescript/figma/Card.Stripe.figma.d.ts +11 -0
  820. package/lib/typescript/figma/Card.Stripe.figma.d.ts.map +1 -0
  821. package/lib/typescript/figma/Card.figma.d.ts +8 -0
  822. package/lib/typescript/figma/Card.figma.d.ts.map +1 -0
  823. package/lib/typescript/figma/Checkbox.figma.d.ts +8 -0
  824. package/lib/typescript/figma/Checkbox.figma.d.ts.map +1 -0
  825. package/lib/typescript/figma/Chip.figma.d.ts +8 -0
  826. package/lib/typescript/figma/Chip.figma.d.ts.map +1 -0
  827. package/lib/typescript/figma/Dialog.Description.figma.d.ts +8 -0
  828. package/lib/typescript/figma/Dialog.Description.figma.d.ts.map +1 -0
  829. package/lib/typescript/figma/Dialog.Footer.figma.d.ts +8 -0
  830. package/lib/typescript/figma/Dialog.Footer.figma.d.ts.map +1 -0
  831. package/lib/typescript/figma/Dialog.Header.figma.d.ts +8 -0
  832. package/lib/typescript/figma/Dialog.Header.figma.d.ts.map +1 -0
  833. package/lib/typescript/figma/Dialog.Text.figma.d.ts +8 -0
  834. package/lib/typescript/figma/Dialog.Text.figma.d.ts.map +1 -0
  835. package/lib/typescript/figma/Dialog.Title.figma.d.ts +8 -0
  836. package/lib/typescript/figma/Dialog.Title.figma.d.ts.map +1 -0
  837. package/lib/typescript/figma/Dialog.figma.d.ts +8 -0
  838. package/lib/typescript/figma/Dialog.figma.d.ts.map +1 -0
  839. package/lib/typescript/figma/Divider.figma.d.ts +8 -0
  840. package/lib/typescript/figma/Divider.figma.d.ts.map +1 -0
  841. package/lib/typescript/figma/Field.Input.figma.d.ts +8 -0
  842. package/lib/typescript/figma/Field.Input.figma.d.ts.map +1 -0
  843. package/lib/typescript/figma/Field.OtpInput.figma.d.ts +8 -0
  844. package/lib/typescript/figma/Field.OtpInput.figma.d.ts.map +1 -0
  845. package/lib/typescript/figma/Field.Select.figma.d.ts +8 -0
  846. package/lib/typescript/figma/Field.Select.figma.d.ts.map +1 -0
  847. package/lib/typescript/figma/Field.Textarea.figma.d.ts +8 -0
  848. package/lib/typescript/figma/Field.Textarea.figma.d.ts.map +1 -0
  849. package/lib/typescript/figma/Heading.figma.d.ts +8 -0
  850. package/lib/typescript/figma/Heading.figma.d.ts.map +1 -0
  851. package/lib/typescript/figma/Icon.figma.d.ts +8 -0
  852. package/lib/typescript/figma/Icon.figma.d.ts.map +1 -0
  853. package/lib/typescript/figma/IconButton.figma.d.ts +8 -0
  854. package/lib/typescript/figma/IconButton.figma.d.ts.map +1 -0
  855. package/lib/typescript/figma/Input.figma.d.ts +8 -0
  856. package/lib/typescript/figma/Input.figma.d.ts.map +1 -0
  857. package/lib/typescript/figma/Link.figma.d.ts +8 -0
  858. package/lib/typescript/figma/Link.figma.d.ts.map +1 -0
  859. package/lib/typescript/figma/ListItem.Description.figma.d.ts +11 -0
  860. package/lib/typescript/figma/ListItem.Description.figma.d.ts.map +1 -0
  861. package/lib/typescript/figma/ListItem.LeadingSlot.figma.d.ts +8 -0
  862. package/lib/typescript/figma/ListItem.LeadingSlot.figma.d.ts.map +1 -0
  863. package/lib/typescript/figma/ListItem.Meta.figma.d.ts +11 -0
  864. package/lib/typescript/figma/ListItem.Meta.figma.d.ts.map +1 -0
  865. package/lib/typescript/figma/ListItem.SectionHeader.figma.d.ts +8 -0
  866. package/lib/typescript/figma/ListItem.SectionHeader.figma.d.ts.map +1 -0
  867. package/lib/typescript/figma/ListItem.Title.figma.d.ts +11 -0
  868. package/lib/typescript/figma/ListItem.Title.figma.d.ts.map +1 -0
  869. package/lib/typescript/figma/ListItem.TrailingSlot.figma.d.ts +8 -0
  870. package/lib/typescript/figma/ListItem.TrailingSlot.figma.d.ts.map +1 -0
  871. package/lib/typescript/figma/ListItem.figma.d.ts +8 -0
  872. package/lib/typescript/figma/ListItem.figma.d.ts.map +1 -0
  873. package/lib/typescript/figma/OtpInput.Cell.figma.d.ts +8 -0
  874. package/lib/typescript/figma/OtpInput.Cell.figma.d.ts.map +1 -0
  875. package/lib/typescript/figma/OtpInput.figma.d.ts +8 -0
  876. package/lib/typescript/figma/OtpInput.figma.d.ts.map +1 -0
  877. package/lib/typescript/figma/ProgressSegmented.figma.d.ts +8 -0
  878. package/lib/typescript/figma/ProgressSegmented.figma.d.ts.map +1 -0
  879. package/lib/typescript/figma/QuickActionButton.figma.d.ts +8 -0
  880. package/lib/typescript/figma/QuickActionButton.figma.d.ts.map +1 -0
  881. package/lib/typescript/figma/Radio.figma.d.ts.map +1 -1
  882. package/lib/typescript/figma/Select.figma.d.ts +8 -0
  883. package/lib/typescript/figma/Select.figma.d.ts.map +1 -0
  884. package/lib/typescript/figma/Text.figma.d.ts +11 -0
  885. package/lib/typescript/figma/Text.figma.d.ts.map +1 -0
  886. package/lib/typescript/figma/Textarea.figma.d.ts +8 -0
  887. package/lib/typescript/figma/Textarea.figma.d.ts.map +1 -0
  888. package/lib/typescript/figma/icons.figma.batch.d.ts +14 -0
  889. package/lib/typescript/figma/icons.figma.batch.d.ts.map +1 -0
  890. package/lib/typescript/hooks/index.d.ts +2 -0
  891. package/lib/typescript/hooks/index.d.ts.map +1 -0
  892. package/lib/typescript/hooks/useForgeBottomTabScreenOptions.d.ts +137 -0
  893. package/lib/typescript/hooks/useForgeBottomTabScreenOptions.d.ts.map +1 -0
  894. package/lib/typescript/index.d.ts +4 -0
  895. package/lib/typescript/index.d.ts.map +1 -1
  896. package/lib/typescript/metro/withCdxMetroConfig.d.ts +4 -18
  897. package/lib/typescript/metro/withCdxMetroConfig.d.ts.map +1 -1
  898. package/lib/typescript/metro/withForgeMetroConfig.d.ts +19 -0
  899. package/lib/typescript/metro/withForgeMetroConfig.d.ts.map +1 -0
  900. package/lib/typescript/navigation/forgeTabIcon.d.ts +27 -0
  901. package/lib/typescript/navigation/forgeTabIcon.d.ts.map +1 -0
  902. package/lib/typescript/navigation/forgeTabIcon.native.d.ts +15 -0
  903. package/lib/typescript/navigation/forgeTabIcon.native.d.ts.map +1 -0
  904. package/lib/typescript/navigation/index.d.ts +4 -0
  905. package/lib/typescript/navigation/index.d.ts.map +1 -0
  906. package/lib/typescript/navigation/types.d.ts +37 -0
  907. package/lib/typescript/navigation/types.d.ts.map +1 -0
  908. package/lib/typescript/providers/animation-settings/index.d.ts +3 -0
  909. package/lib/typescript/providers/animation-settings/index.d.ts.map +1 -0
  910. package/lib/typescript/providers/animation-settings/provider.d.ts +28 -0
  911. package/lib/typescript/providers/animation-settings/provider.d.ts.map +1 -0
  912. package/lib/typescript/providers/animation-settings/types.d.ts +35 -0
  913. package/lib/typescript/providers/animation-settings/types.d.ts.map +1 -0
  914. package/lib/typescript/providers/forge-design/index.d.ts +3 -0
  915. package/lib/typescript/providers/forge-design/index.d.ts.map +1 -0
  916. package/lib/typescript/providers/forge-design/provider.d.ts +24 -0
  917. package/lib/typescript/providers/forge-design/provider.d.ts.map +1 -0
  918. package/lib/typescript/providers/forge-design/types.d.ts +82 -0
  919. package/lib/typescript/providers/forge-design/types.d.ts.map +1 -0
  920. package/lib/typescript/providers/text-component/index.d.ts +3 -0
  921. package/lib/typescript/providers/text-component/index.d.ts.map +1 -0
  922. package/lib/typescript/providers/text-component/provider.d.ts +7 -0
  923. package/lib/typescript/providers/text-component/provider.d.ts.map +1 -0
  924. package/lib/typescript/providers/text-component/types.d.ts +51 -0
  925. package/lib/typescript/providers/text-component/types.d.ts.map +1 -0
  926. package/lib/typescript/providers/toast/index.d.ts +5 -0
  927. package/lib/typescript/providers/toast/index.d.ts.map +1 -0
  928. package/lib/typescript/providers/toast/insets-container.d.ts +72 -0
  929. package/lib/typescript/providers/toast/insets-container.d.ts.map +1 -0
  930. package/lib/typescript/providers/toast/lifecycle.context.d.ts +32 -0
  931. package/lib/typescript/providers/toast/lifecycle.context.d.ts.map +1 -0
  932. package/lib/typescript/providers/toast/provider.d.ts +32 -0
  933. package/lib/typescript/providers/toast/provider.d.ts.map +1 -0
  934. package/lib/typescript/providers/toast/reducer.d.ts +14 -0
  935. package/lib/typescript/providers/toast/reducer.d.ts.map +1 -0
  936. package/lib/typescript/providers/toast/toast-config.context.d.ts +20 -0
  937. package/lib/typescript/providers/toast/toast-config.context.d.ts.map +1 -0
  938. package/lib/typescript/providers/toast/toast-item-renderer.d.ts +7 -0
  939. package/lib/typescript/providers/toast/toast-item-renderer.d.ts.map +1 -0
  940. package/lib/typescript/providers/toast/types.d.ts +422 -0
  941. package/lib/typescript/providers/toast/types.d.ts.map +1 -0
  942. package/lib/typescript/styles/constants.d.ts +4 -0
  943. package/lib/typescript/styles/constants.d.ts.map +1 -0
  944. package/lib/typescript/utils/positionToDataIcon.d.ts +29 -0
  945. package/lib/typescript/utils/positionToDataIcon.d.ts.map +1 -0
  946. package/package.json +17 -14
  947. package/src/animation/hooks/index.ts +1 -0
  948. package/src/animation/hooks/useCombinedAnimationDisabledState.ts +46 -0
  949. package/src/animation/index.ts +3 -0
  950. package/src/animation/types.ts +128 -0
  951. package/src/animation/utils.ts +249 -0
  952. package/src/components/Alert/index.tsx +318 -0
  953. package/src/components/Alert/styles.ts +88 -0
  954. package/src/components/AlertDialog/index.tsx +21 -20
  955. package/src/components/Avatar/index.tsx +143 -45
  956. package/src/components/Avatar/styles.ts +49 -34
  957. package/src/components/Badge/index.tsx +91 -0
  958. package/src/components/Badge/styles.ts +136 -0
  959. package/src/components/BottomSheet/index.tsx +107 -50
  960. package/src/components/BottomSheet/styles.ts +9 -56
  961. package/src/components/Button/index.tsx +284 -47
  962. package/src/components/Button/styles.ts +78 -37
  963. package/src/components/CLAUDE.md +195 -0
  964. package/src/components/Card/index.tsx +94 -28
  965. package/src/components/Card/styles.ts +19 -4
  966. package/src/components/Carousel/index.tsx +263 -0
  967. package/src/components/Carousel/paginationNavigation.ts +32 -0
  968. package/src/components/Carousel/styles.ts +18 -0
  969. package/src/components/Checkbox/index.tsx +124 -51
  970. package/src/components/Checkbox/styles.ts +93 -86
  971. package/src/components/Chip/index.tsx +136 -32
  972. package/src/components/Chip/styles.ts +220 -18
  973. package/src/components/CurrencyInput/index.tsx +192 -0
  974. package/src/components/CurrencyInput/styles.ts +44 -0
  975. package/src/components/Dialog/index.tsx +199 -93
  976. package/src/components/Dialog/styles.ts +72 -30
  977. package/src/components/Divider/index.tsx +94 -0
  978. package/src/components/Divider/styles.ts +86 -0
  979. package/src/components/Field/index.tsx +121 -50
  980. package/src/components/Field/styles.ts +6 -5
  981. package/src/components/Form/index.tsx +18 -14
  982. package/src/components/Heading/styles.ts +1 -1
  983. package/src/components/Icon/index.tsx +14 -8
  984. package/src/components/IconButton/index.tsx +13 -36
  985. package/src/components/IconButton/styles.ts +136 -10
  986. package/src/components/Input/index.tsx +95 -33
  987. package/src/components/Input/styles.ts +35 -12
  988. package/src/components/InsuranceDisclosure/index.tsx +59 -0
  989. package/src/components/InsuranceDisclosure/styles.ts +12 -0
  990. package/src/components/Link/index.tsx +57 -18
  991. package/src/components/Link/styles.ts +47 -10
  992. package/src/components/ListItem/index.tsx +157 -87
  993. package/src/components/ListItem/styles.ts +50 -81
  994. package/src/components/OtpInput/index.tsx +149 -34
  995. package/src/components/OtpInput/styles.ts +20 -13
  996. package/src/components/ProgressBar/index.tsx +11 -16
  997. package/src/components/ProgressSegmented/index.tsx +45 -14
  998. package/src/components/QuickActionButton/index.tsx +161 -0
  999. package/src/components/QuickActionButton/styles.ts +42 -0
  1000. package/src/components/Radio/index.tsx +96 -53
  1001. package/src/components/Radio/styles.ts +37 -14
  1002. package/src/components/ScopedTheme/index.tsx +17 -0
  1003. package/src/components/Select/index.tsx +175 -55
  1004. package/src/components/Select/styles.ts +63 -51
  1005. package/src/components/Skeleton/index.tsx +42 -0
  1006. package/src/components/Skeleton/styles.ts +5 -0
  1007. package/src/components/Switch/BaseSwitch.tsx +38 -16
  1008. package/src/components/Switch/BaseSwitch.web.tsx +28 -35
  1009. package/src/components/Switch/index.tsx +61 -6
  1010. package/src/components/Text/styles.ts +2 -2
  1011. package/src/components/Textarea/index.tsx +180 -0
  1012. package/src/components/Textarea/styles.ts +86 -0
  1013. package/src/components/Tile/index.tsx +347 -0
  1014. package/src/components/Tile/styles.ts +82 -0
  1015. package/src/components/Toast/animation.ts +387 -0
  1016. package/src/components/Toast/hooks.ts +92 -0
  1017. package/src/components/Toast/index.tsx +520 -0
  1018. package/src/components/Toast/styles.ts +186 -0
  1019. package/src/components/Toast/types.ts +332 -0
  1020. package/src/components/VirtualizedList/index.tsx +11 -1
  1021. package/src/components/index.ts +12 -0
  1022. package/src/globals.d.ts +1 -0
  1023. package/src/hooks/index.ts +5 -0
  1024. package/src/hooks/useForgeBottomTabScreenOptions.ts +245 -0
  1025. package/src/index.ts +4 -0
  1026. package/src/metro/withCdxMetroConfig.ts +4 -29
  1027. package/src/metro/withForgeMetroConfig.ts +29 -0
  1028. package/src/navigation/forgeTabIcon.native.ts +36 -0
  1029. package/src/navigation/forgeTabIcon.ts +33 -0
  1030. package/src/navigation/index.ts +3 -0
  1031. package/src/navigation/types.ts +54 -0
  1032. package/src/providers/animation-settings/index.ts +11 -0
  1033. package/src/providers/animation-settings/provider.tsx +54 -0
  1034. package/src/providers/animation-settings/types.ts +37 -0
  1035. package/src/providers/forge-design/index.ts +2 -0
  1036. package/src/providers/forge-design/provider.tsx +61 -0
  1037. package/src/providers/forge-design/types.ts +84 -0
  1038. package/src/providers/text-component/index.ts +2 -0
  1039. package/src/providers/text-component/provider.tsx +7 -0
  1040. package/src/providers/text-component/types.ts +52 -0
  1041. package/src/providers/toast/index.ts +4 -0
  1042. package/src/providers/toast/insets-container.tsx +232 -0
  1043. package/src/providers/toast/lifecycle.context.tsx +37 -0
  1044. package/src/providers/toast/provider.tsx +572 -0
  1045. package/src/providers/toast/reducer.ts +40 -0
  1046. package/src/providers/toast/toast-config.context.ts +25 -0
  1047. package/src/providers/toast/toast-item-renderer.tsx +40 -0
  1048. package/src/providers/toast/types.ts +431 -0
  1049. package/src/styles/constants.ts +10 -0
  1050. package/src/styles.css +0 -5
  1051. package/src/utils/positionToDataIcon.ts +34 -0
  1052. package/lib/commonjs/components/Field/FieldLabel.js +0 -33
  1053. package/lib/commonjs/components/Field/FieldLabel.js.map +0 -1
  1054. package/lib/commonjs/components/Field/FieldLabel.web.js +0 -22
  1055. package/lib/commonjs/components/Field/FieldLabel.web.js.map +0 -1
  1056. package/lib/commonjs/components/Form/FormRoot.js +0 -25
  1057. package/lib/commonjs/components/Form/FormRoot.js.map +0 -1
  1058. package/lib/commonjs/components/Form/FormRoot.web.js +0 -17
  1059. package/lib/commonjs/components/Form/FormRoot.web.js.map +0 -1
  1060. package/lib/commonjs/components/Input/BaseInput.android.js +0 -20
  1061. package/lib/commonjs/components/Input/BaseInput.android.js.map +0 -1
  1062. package/lib/commonjs/components/Input/BaseInput.js +0 -13
  1063. package/lib/commonjs/components/Input/BaseInput.js.map +0 -1
  1064. package/lib/commonjs/components/Input/BaseInput.web.js +0 -50
  1065. package/lib/commonjs/components/Input/BaseInput.web.js.map +0 -1
  1066. package/lib/commonjs/components/Select/SelectTriggerHost.js +0 -10
  1067. package/lib/commonjs/components/Select/SelectTriggerHost.js.map +0 -1
  1068. package/lib/commonjs/components/Select/SelectTriggerHost.web.js +0 -98
  1069. package/lib/commonjs/components/Select/SelectTriggerHost.web.js.map +0 -1
  1070. package/lib/commonjs/styles/index.js +0 -17
  1071. package/lib/commonjs/styles/index.js.map +0 -1
  1072. package/lib/commonjs/styles/primitives.js +0 -122
  1073. package/lib/commonjs/styles/primitives.js.map +0 -1
  1074. package/lib/module/components/Field/FieldLabel.js +0 -29
  1075. package/lib/module/components/Field/FieldLabel.js.map +0 -1
  1076. package/lib/module/components/Field/FieldLabel.web.js +0 -17
  1077. package/lib/module/components/Field/FieldLabel.web.js.map +0 -1
  1078. package/lib/module/components/Form/FormRoot.js +0 -21
  1079. package/lib/module/components/Form/FormRoot.js.map +0 -1
  1080. package/lib/module/components/Form/FormRoot.web.js +0 -12
  1081. package/lib/module/components/Form/FormRoot.web.js.map +0 -1
  1082. package/lib/module/components/Input/BaseInput.android.js +0 -16
  1083. package/lib/module/components/Input/BaseInput.android.js.map +0 -1
  1084. package/lib/module/components/Input/BaseInput.js +0 -4
  1085. package/lib/module/components/Input/BaseInput.js.map +0 -1
  1086. package/lib/module/components/Input/BaseInput.web.js +0 -45
  1087. package/lib/module/components/Input/BaseInput.web.js.map +0 -1
  1088. package/lib/module/components/Select/SelectTriggerHost.js +0 -7
  1089. package/lib/module/components/Select/SelectTriggerHost.js.map +0 -1
  1090. package/lib/module/components/Select/SelectTriggerHost.web.js +0 -93
  1091. package/lib/module/components/Select/SelectTriggerHost.web.js.map +0 -1
  1092. package/lib/module/styles/index.js +0 -4
  1093. package/lib/module/styles/index.js.map +0 -1
  1094. package/lib/module/styles/primitives.js +0 -118
  1095. package/lib/module/styles/primitives.js.map +0 -1
  1096. package/lib/typescript/components/Field/FieldLabel.d.ts +0 -18
  1097. package/lib/typescript/components/Field/FieldLabel.d.ts.map +0 -1
  1098. package/lib/typescript/components/Field/FieldLabel.web.d.ts +0 -16
  1099. package/lib/typescript/components/Field/FieldLabel.web.d.ts.map +0 -1
  1100. package/lib/typescript/components/Form/FormRoot.d.ts +0 -14
  1101. package/lib/typescript/components/Form/FormRoot.d.ts.map +0 -1
  1102. package/lib/typescript/components/Form/FormRoot.web.d.ts +0 -10
  1103. package/lib/typescript/components/Form/FormRoot.web.d.ts.map +0 -1
  1104. package/lib/typescript/components/Input/BaseInput.android.d.ts +0 -3
  1105. package/lib/typescript/components/Input/BaseInput.android.d.ts.map +0 -1
  1106. package/lib/typescript/components/Input/BaseInput.d.ts +0 -2
  1107. package/lib/typescript/components/Input/BaseInput.d.ts.map +0 -1
  1108. package/lib/typescript/components/Input/BaseInput.web.d.ts +0 -3
  1109. package/lib/typescript/components/Input/BaseInput.web.d.ts.map +0 -1
  1110. package/lib/typescript/components/Select/SelectTriggerHost.d.ts +0 -3
  1111. package/lib/typescript/components/Select/SelectTriggerHost.d.ts.map +0 -1
  1112. package/lib/typescript/components/Select/SelectTriggerHost.web.d.ts +0 -13
  1113. package/lib/typescript/components/Select/SelectTriggerHost.web.d.ts.map +0 -1
  1114. package/lib/typescript/styles/index.d.ts +0 -2
  1115. package/lib/typescript/styles/index.d.ts.map +0 -1
  1116. package/lib/typescript/styles/primitives.d.ts +0 -85
  1117. package/lib/typescript/styles/primitives.d.ts.map +0 -1
  1118. package/src/components/Field/FieldLabel.tsx +0 -33
  1119. package/src/components/Field/FieldLabel.web.tsx +0 -25
  1120. package/src/components/Form/FormRoot.tsx +0 -20
  1121. package/src/components/Form/FormRoot.web.tsx +0 -12
  1122. package/src/components/Input/BaseInput.android.tsx +0 -13
  1123. package/src/components/Input/BaseInput.tsx +0 -1
  1124. package/src/components/Input/BaseInput.web.tsx +0 -41
  1125. package/src/components/Select/SelectTriggerHost.tsx +0 -4
  1126. package/src/components/Select/SelectTriggerHost.web.tsx +0 -136
  1127. package/src/styles/index.ts +0 -1
  1128. package/src/styles/primitives.ts +0 -106
@@ -1 +1 @@
1
- {"version":3,"names":["forwardRef","Pressable","Text","View","ArrowDropDown","createSelect","cn","useStyleContext","withStyleContext","Icon","SelectTriggerHost","selectContentVariants","selectIconVariants","selectItemLabelVariants","selectItemVariants","selectTriggerVariants","selectValueVariants","jsx","_jsx","jsxs","_jsxs","SCOPE","Root","useSelectStyleContext","SelectPrimitive","Trigger","Value","Content","Item","ItemLabel","SelectRoot","variant","size","className","children","style","props","ref","context","displayName","SelectTrigger","computedClassName","SelectIcon","as","SelectValue","SelectContent","SelectItem","SelectItemLabel","Select","Object","assign"],"sourceRoot":"../../../../src","sources":["components/Select/index.tsx"],"mappings":";;AAAA,SAASA,UAAU,QAAwB,OAAO;AAClD,SAASC,SAAS,EAAEC,IAAI,EAAkBC,IAAI,QAAwB,cAAc;AACpF,SAASC,aAAa,QAAQ,eAAe;AAC7C,SACEC,YAAY,QAOP,oBAAoB;AAC3B,SAASC,EAAE,EAAEC,eAAe,EAAEC,gBAAgB,QAAQ,eAAe;AACrE,SAASC,IAAI,QAAmB,SAAS;AACzC,SAASC,iBAAiB,QAAQ,qBAAqB;AACvD,SAEEC,qBAAqB,EACrBC,kBAAkB,EAClBC,uBAAuB,EACvBC,kBAAkB,EAClBC,qBAAqB,EACrBC,mBAAmB,QACd,UAAU;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AEL;EAAK,CAAC,GAAGT,qBAAqB,CAAC,CAAC;EAExC,MAAMkB,iBAAiB,GAAGnC,EAAE,CAACO,uBAAuB,CAAC;IAAEmB;EAAK,CAAC,CAAC,EAAEC,SAAS,CAAC;EAE1E,oBACEf,IAAA,CAACM,eAAe,CAACK,SAAS;IAACQ,GAAG,EAAEA,GAAI;IAACJ,SAAS,EAAEQ,iBAAkB;IAACN,KAAK,EAAEA,KAAM;IAAA,GAAKC;EAAK,CAAG,CAAC;AAElG,CACF,CAAC;AAEDW,eAAe,CAACR,WAAW,GAAG,kBAAkB;;AAEhD;AACA;AACA;;AAWA,OAAO,MAAMS,MAAM,GAAGC,MAAM,CAACC,MAAM,CAACpB,UAAU,EAAE;EAC9CL,OAAO,EAAEe,aAAa;EACtBd,KAAK,EAAEkB,WAAW;EAClBnC,IAAI,EAAEiC,UAAU;EAChBf,OAAO,EAAEkB,aAAa;EACtBjB,IAAI,EAAEkB,UAAU;EAChBjB,SAAS,EAAEkB;AACb,CAAC,CAA4B","ignoreList":[]}
1
+ {"version":3,"names":["forwardRef","useMemo","Text","KeyboardArrowDown","KeyboardArrowUp","SelectContent","SelectContentPrimitive","SelectItem","SelectItemPrimitive","SelectRoot","SelectRootPrimitive","SelectTrigger","SelectTriggerPrimitive","Slot","dataAttributes","mergeDataAttributes","useSelectContext","useSelectItemContext","cn","ParentContext","useParentContext","useStyleContext","Icon","positionToDataIcon","selectContentVariants","selectIconVariants","selectItemLabelVariants","selectItemVariants","selectTriggerVariants","selectValueVariants","jsx","_jsx","Fragment","_Fragment","jsxs","_jsxs","SCOPE","useSelectStyleContext","variant","size","className","children","style","props","ref","parent","ctx","Provider","value","slot","displayName","asChild","open","computedClassName","SelectIcon","as","SelectValue","placeholder","items","invalid","hasValue","undefined","showPlaceholder","displayText","find","item","label","Comp","position","slotData","SelectItemLabel","checked","state","Select","Object","assign","Trigger","Value","Content","Item","ItemLabel"],"sourceRoot":"../../../../src","sources":["components/Select/index.tsx"],"mappings":";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GE;AAAM,CAAC,EAAEC,GAAG,KAAK;EAC1D,MAAM;IAAEL;EAAK,CAAC,GAAGF,qBAAqB,CAAC,CAAC;EACxC,MAAM;IAAEkC;EAAQ,CAAC,GAAGtD,oBAAoB,CAAC,CAAC;EAE1C,MAAMoC,iBAAiB,GAAGnC,EAAE,CAACQ,uBAAuB,CAAC;IAAEa;EAAK,CAAC,CAAC,EAAEC,SAAS,CAAC;EAC1E,MAAM2B,IAAI,GAAGhB,OAAO,GAAGtC,IAAI,GAAGX,IAAI;EAElC,oBACE6B,IAAA,CAACoC,IAAI;IACHvB,GAAG,EAAEA,GAAI;IACTJ,SAAS,EAAEa,iBAAkB;IAC7BX,KAAK,EAAEA,KAAM;IAAA,GACTC,KAAK;IAAA,GACL5B,mBAAmB,CACrB4B,KAAK,EACL7B,cAAc,CAAC;MACbmC,IAAI,EAAE,mBAAmB;MACzBuB,KAAK,EAAED,OAAO,GAAG,SAAS,GAAG;IAC/B,CAAC,CACH,CAAC;IAAA9B,QAAA,EAEAA;EAAQ,CACL,CAAC;AAEX,CACF,CAAC;AAED6B,eAAe,CAACpB,WAAW,GAAG,kBAAkB;;AAEhD;AACA;AACA;;AAWA,OAAO,MAAMuB,MAAM,GAAGC,MAAM,CAACC,MAAM,CAAClE,UAAU,EAAE;EAC9CmE,OAAO,EAAEjE,aAAa;EACtBkE,KAAK,EAAErB,WAAW;EAClBlC,IAAI,EAAEgC,UAAU;EAChBwB,OAAO,EAAEzE,aAAa;EACtB0E,IAAI,EAAExE,UAAU;EAChByE,SAAS,EAAEV;AACb,CAAC,CAA4B","ignoreList":[]}
@@ -2,21 +2,26 @@
2
2
 
3
3
  import { Platform } from 'react-native';
4
4
  import { cva } from 'class-variance-authority';
5
- import { COLOR_BG_PRIMARY, COLOR_BORDER_DEFAULT, COLOR_TEXT_MUTED, COLOR_TEXT_PRIMARY, DISABLED_CURSOR, DISABLED_OPACITY, RADIUS_SM, RADIUS_MD, SHADOW_SM, SHADOW_MD, SIZE_SCALE, TRANSITION_COLORS } from '../../styles/primitives';
5
+ import { DISABLED_CURSOR, TRANSITION_COLORS } from '../../styles/constants';
6
6
 
7
7
  // ── Trigger ─────────────────────────────────────────────────
8
8
 
9
- export const selectTriggerVariants = cva(['flex w-full min-w-0 flex-row items-center justify-between text-start', RADIUS_SM, SHADOW_SM, TRANSITION_COLORS, COLOR_BG_PRIMARY, `border ${COLOR_BORDER_DEFAULT}`, DISABLED_OPACITY, DISABLED_CURSOR, 'data-[readonly=true]:cursor-default', 'data-[state=open]:border-slate-900', 'data-[invalid=true]:border-red-500', 'data-[readonly=true]:bg-slate-50', Platform.select({
10
- default: 'data-[active=true]:border-slate-300',
11
- web: ['data-[hover=true]:border-slate-300 data-[active=true]:data-[hover=true]:border-slate-400', 'data-[focus-visible=true]:ring-2 data-[focus-visible=true]:ring-slate-400/50 data-[focus-visible=true]:ring-offset-2', 'data-[state=open]:ring-2 data-[state=open]:ring-slate-400/50'].join(' ')
12
- })], {
9
+ export const selectTriggerVariants = cva(['flex w-full min-w-0 flex-row items-center justify-between text-start', 'bg-surface-primary', 'border border-stroke-primary', 'rounded-[var(--border-radius-default)]', TRANSITION_COLORS, 'data-[disabled=true]:bg-surface-secondary', 'data-[disabled=true]:opacity-[var(--opacity-disabled)]', 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',
10
+ // Web: inset ring avoids a border-width change so no padding compensation is needed.
11
+ // Recolor the border to match the ring so the two read as a single focus outline
12
+ // instead of a gray border + colored ring.
13
+ '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', 'web:data-[state=open]:ring-inset', 'web:data-[state=open]:ring-[length:var(--border-width-focused)]', 'web:data-[state=open]:data-[invalid=false]:ring-stroke-action', 'web:data-[state=open]:data-[invalid=false]:border-stroke-action', 'web:data-[state=open]:data-[invalid=true]:ring-stroke-danger', 'web:data-[state=open]:data-[invalid=true]:border-stroke-danger',
14
+ // Native: thicker border; size variants below compensate the layout shift.
15
+ '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', 'native:data-[state=open]:border-[length:var(--border-width-focused)]', 'data-[invalid=true]:border-stroke-danger'], {
13
16
  variants: {
14
17
  variant: {
15
18
  outline: []
16
19
  },
17
20
  size: {
18
- default: `${SIZE_SCALE.default.height} ${SIZE_SCALE.default.px} ${SIZE_SCALE.default.gap}`,
19
- small: `${SIZE_SCALE.small.height} ${SIZE_SCALE.small.px} ${SIZE_SCALE.small.gap}`
21
+ default: ['h-11 min-h-11 px-4 py-3 gap-4',
22
+ // Native only: subtract one hairline so the wider focus border doesn't shift layout.
23
+ 'native:data-[focus=true]:px-[calc(var(--spacing-4)-var(--spacing-px))]', 'native:data-[focus=true]:py-[calc(var(--spacing-3)-var(--spacing-px))]', 'native:data-[state=open]:px-[calc(var(--spacing-4)-var(--spacing-px))]', 'native:data-[state=open]:py-[calc(var(--spacing-3)-var(--spacing-px))]'],
24
+ small: ['h-8 min-h-8 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))]', 'native:data-[state=open]:px-[calc(var(--spacing-3)-var(--spacing-px))]', 'native:data-[state=open]:py-[calc(var(--spacing-2)-var(--spacing-px))]']
20
25
  }
21
26
  },
22
27
  defaultVariants: {
@@ -27,11 +32,11 @@ export const selectTriggerVariants = cva(['flex w-full min-w-0 flex-row items-ce
27
32
 
28
33
  // ── Value ───────────────────────────────────────────────────
29
34
 
30
- export const selectValueVariants = cva(['min-w-0 flex-1 text-start', 'data-[placeholder=true]:text-slate-400', 'data-[invalid=true]:text-red-600', COLOR_TEXT_PRIMARY], {
35
+ export const selectValueVariants = cva(['min-w-0 flex-1 text-start', 'text-content-primary', 'data-[placeholder=true]:text-content-tertiary', 'data-[invalid=true]:text-content-danger'], {
31
36
  variants: {
32
37
  size: {
33
- default: SIZE_SCALE.default.text,
34
- small: SIZE_SCALE.small.text
38
+ default: 'text-[0.875rem]',
39
+ small: 'text-[0.75rem]'
35
40
  }
36
41
  },
37
42
  defaultVariants: {
@@ -41,11 +46,11 @@ export const selectValueVariants = cva(['min-w-0 flex-1 text-start', 'data-[plac
41
46
 
42
47
  // ── Icon ────────────────────────────────────────────────────
43
48
 
44
- export const selectIconVariants = cva(['shrink-0 items-center justify-center self-center', COLOR_TEXT_MUTED, 'data-[invalid=true]:text-red-500'], {
49
+ export const selectIconVariants = cva(['shrink-0 items-center justify-center self-center', 'text-content-tertiary', 'data-[invalid=true]:text-content-danger'], {
45
50
  variants: {
46
51
  size: {
47
- default: 'h-5 w-5',
48
- small: 'h-4 w-4'
52
+ default: 'size-5',
53
+ small: 'size-4'
49
54
  }
50
55
  },
51
56
  defaultVariants: {
@@ -55,16 +60,16 @@ export const selectIconVariants = cva(['shrink-0 items-center justify-center sel
55
60
 
56
61
  // ── Content ─────────────────────────────────────────────────
57
62
 
58
- export const selectContentVariants = cva([COLOR_BG_PRIMARY, `border ${COLOR_BORDER_DEFAULT}`, 'overflow-hidden', RADIUS_MD, Platform.select({
59
- web: SHADOW_MD,
63
+ export const selectContentVariants = cva(['bg-surface-primary', 'border border-stroke-secondary', 'overflow-hidden', 'rounded-xl', Platform.select({
64
+ web: 'shadow-sm',
60
65
  default: ''
61
66
  }), 'max-h-60', 'py-1']);
62
67
 
63
68
  // ── Item ────────────────────────────────────────────────────
64
69
 
65
- export const selectItemVariants = cva(['flex-row items-center', 'transition-colors duration-100', 'data-[disabled=true]:opacity-50 data-[disabled=true]:pointer-events-none', 'data-[state=checked]:bg-slate-50 data-[state=checked]:font-medium', Platform.select({
66
- default: 'data-[active=true]:bg-slate-100',
67
- web: 'data-[hover=true]:bg-slate-50 data-[active=true]:data-[hover=true]:bg-slate-100 data-[highlighted=true]:bg-slate-50'
70
+ export const selectItemVariants = cva(['flex-row items-center', 'transition-colors duration-100', 'data-[disabled=true]:opacity-50 data-[disabled=true]:pointer-events-none', 'data-[state=checked]:bg-surface-action-tint data-[state=checked]:font-medium', Platform.select({
71
+ default: 'data-[active=true]:bg-surface-action-tint-active',
72
+ web: 'data-[hover=true]:bg-surface-action-tint-hover data-[active=true]:data-[hover=true]:bg-surface-action-tint-active data-[highlighted=true]:bg-surface-action-tint-hover'
68
73
  })], {
69
74
  variants: {
70
75
  size: {
@@ -79,11 +84,11 @@ export const selectItemVariants = cva(['flex-row items-center', 'transition-colo
79
84
 
80
85
  // ── ItemLabel ───────────────────────────────────────────────
81
86
 
82
- export const selectItemLabelVariants = cva([COLOR_TEXT_PRIMARY, 'data-[state=checked]:font-medium'], {
87
+ export const selectItemLabelVariants = cva(['text-content-primary', 'data-[state=checked]:font-medium'], {
83
88
  variants: {
84
89
  size: {
85
- default: SIZE_SCALE.default.text,
86
- small: SIZE_SCALE.small.text
90
+ default: 'text-[0.875rem]',
91
+ small: 'text-[0.75rem]'
87
92
  }
88
93
  },
89
94
  defaultVariants: {
@@ -1 +1 @@
1
- {"version":3,"names":["Platform","cva","COLOR_BG_PRIMARY","COLOR_BORDER_DEFAULT","COLOR_TEXT_MUTED","COLOR_TEXT_PRIMARY","DISABLED_CURSOR","DISABLED_OPACITY","RADIUS_SM","RADIUS_MD","SHADOW_SM","SHADOW_MD","SIZE_SCALE","TRANSITION_COLORS","selectTriggerVariants","select","default","web","join","variants","variant","outline","size","height","px","gap","small","defaultVariants","selectValueVariants","text","selectIconVariants","selectContentVariants","selectItemVariants","selectItemLabelVariants"],"sourceRoot":"../../../../src","sources":["components/Select/styles.ts"],"mappings":";;AAAA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AAI,EAAE;MACJN,OAAO,EAAEJ,UAAU,CAACI,OAAO,CAACa,IAAI;MAChCH,KAAK,EAAEd,UAAU,CAACc,KAAK,CAACG;IAC1B;EACF,CAAC;EACDF,eAAe,EAAE;IACfL,IAAI,EAAE;EACR;AACF,CACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["Platform","cva","DISABLED_CURSOR","TRANSITION_COLORS","selectTriggerVariants","variants","variant","outline","size","default","small","defaultVariants","selectValueVariants","selectIconVariants","selectContentVariants","select","web","selectItemVariants","selectItemLabelVariants"],"sourceRoot":"../../../../src","sources":["components/Select/styles.ts"],"mappings":";;AAAA,SAASA,QAAQ,QAAQ,cAAc;AACvC,SAASC,GAAG,QAA2B,0BAA0B;AACjE,SAASC,eAAe,EAAEC,iBAAiB,QAAQ,wBAAwB;;AAE3E;;AAEA,OAAO,MAAMC,qBAAqB,GAAGH,GAAG,CACtC,CACE,sEAAsE,EACtE,oBAAoB,EACpB,8BAA8B,EAC9B,wCAAwC,EACxCE,iBAAiB,EACjB,2CAA2C,EAC3C,wDAAwD,EACxDD,eAAe,EACf,qCAAqC,EACrC,2CAA2C,EAC3C,mFAAmF;AACnF;AACA;AACA;AACA,kCAAkC,EAClC,iEAAiE,EACjE,+DAA+D,EAC/D,iEAAiE,EACjE,8DAA8D,EAC9D,gEAAgE,EAChE,kCAAkC,EAClC,iEAAiE,EACjE,+DAA+D,EAC/D,iEAAiE,EACjE,8DAA8D,EAC9D,gEAAgE;AAChE;AACA,sEAAsE,EACtE,wDAAwD,EACxD,gEAAgE,EAChE,sEAAsE,EACtE,0CAA0C,CAC3C,EACD;EACEG,QAAQ,EAAE;IACRC,OAAO,EAAE;MACPC,OAAO,EAAE;IACX,CAAC;IACDC,IAAI,EAAE;MACJC,OAAO,EAAE,CACP,+BAA+B;MAC/B;MACA,wEAAwE,EACxE,wEAAwE,EACxE,wEAAwE,EACxE,wEAAwE,CACzE;MACDC,KAAK,EAAE,CACL,+BAA+B,EAC/B,wEAAw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EACF,CAAC;EACDC,eAAe,EAAE;IACfH,IAAI,EAAE;EACR;AACF,CACF,CAAC;;AAED;;AAEA,OAAO,MAAMU,uBAAuB,GAAGjB,GAAG,CACxC,CAAC,sBAAsB,EAAE,kCAAkC,CAAC,EAC5D;EACEI,QAAQ,EAAE;IACRG,IAAI,EAAE;MACJC,OAAO,EAAE,iBAAiB;MAC1BC,KAAK,EAAE;IACT;EACF,CAAC;EACDC,eAAe,EAAE;IACfH,IAAI,EAAE;EACR;AACF,CACF,CAAC","ignoreList":[]}
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+
3
+ import { forwardRef, useEffect } from 'react';
4
+ import Animated, { Easing, useAnimatedStyle, useSharedValue, withRepeat, withTiming } from 'react-native-reanimated';
5
+ import { cn } from '@cdx-ui/utils';
6
+ import { skeletonVariants } from './styles';
7
+ import { jsx as _jsx } from "react/jsx-runtime";
8
+ export const Skeleton = /*#__PURE__*/forwardRef(({
9
+ className,
10
+ style,
11
+ duration = 1000,
12
+ ...props
13
+ }, ref) => {
14
+ const opacity = useSharedValue(1);
15
+ useEffect(() => {
16
+ opacity.set(withRepeat(withTiming(0.35, {
17
+ duration,
18
+ easing: Easing.inOut(Easing.ease)
19
+ }), -1, true));
20
+ }, [duration, opacity]);
21
+ const animatedStyle = useAnimatedStyle(() => ({
22
+ opacity: opacity.get()
23
+ }));
24
+ return /*#__PURE__*/_jsx(Animated.View, {
25
+ ref: ref,
26
+ className: cn(skeletonVariants(), className),
27
+ style: [animatedStyle, style],
28
+ ...props
29
+ });
30
+ });
31
+ Skeleton.displayName = 'Skeleton';
32
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["forwardRef","useEffect","Animated","Easing","useAnimatedStyle","useSharedValue","withRepeat","withTiming","cn","skeletonVariants","jsx","_jsx","Skeleton","className","style","duration","props","ref","opacity","set","easing","inOut","ease","animatedStyle","get","View","displayName"],"sourceRoot":"../../../../src","sources":["components/Skeleton/index.tsx"],"mappings":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cva(['bg-surface-neutral-subtle', 'rounded-md']);
5
+ //# sourceMappingURL=styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["cva","skeletonVariants"],"sourceRoot":"../../../../src","sources":["components/Skeleton/styles.ts"],"mappings":";;AAAA,SAASA,GAAG,QAA2B,0BAA0B;AAEjE,OAAO,MAAMC,gBAAgB,GAAGD,GAAG,CAAC,CAAC,2BAA2B,EAAE,YAAY,CAAC,CAAC","ignoreList":[]}
@@ -2,40 +2,50 @@
2
2
 
3
3
  import { forwardRef } from 'react';
4
4
  import { Switch as RNSwitch } from 'react-native';
5
- import { cn } from '@cdx-ui/utils';
5
+ import { mergeDataAttributes } from '@cdx-ui/primitives';
6
+ import { cn, composeEventHandlers } from '@cdx-ui/utils';
6
7
  import { switchIosBgVariants, switchThumbColorVariants, switchTrackOffVariants, switchTrackOnVariants } from './styles';
7
8
  import { jsx as _jsx } from "react/jsx-runtime";
9
+ /**
10
+ * Native host for `Switch`. Renders `RNSwitch` with Uniwind className passthrough
11
+ * derived from the resolved interaction state in `switchState`.
12
+ *
13
+ * All state/a11y/interaction machinery lives in the `useSwitch` hook; this file
14
+ * is pure rendering (Standard 3: primitives must not carry styling machinery).
15
+ */
8
16
  export const BaseSwitch = /*#__PURE__*/forwardRef(({
9
- states,
17
+ switchState,
10
18
  className,
11
- disabled,
12
- value,
19
+ size: _size,
20
+ onFocus,
21
+ onBlur,
13
22
  ...props
14
23
  }, ref) => {
15
- const isChecked = value ?? states?.checked ?? false;
16
- const isDisabled = disabled ?? states?.disabled ?? false;
17
- const isInvalid = states?.invalid ?? false;
18
24
  const uniwindProps = {
19
25
  className,
20
26
  thumbColorClassName: cn(switchThumbColorVariants({
21
- isDisabled
27
+ isDisabled: switchState.isDisabled
22
28
  })),
23
29
  trackColorOnClassName: cn(switchTrackOnVariants({
24
- isInvalid
30
+ isInvalid: switchState.isInvalid
25
31
  })),
26
32
  trackColorOffClassName: cn(switchTrackOffVariants({
27
- isInvalid
33
+ isInvalid: switchState.isInvalid
28
34
  })),
29
35
  ios_backgroundColorClassName: cn(switchIosBgVariants({
30
- isInvalid
36
+ isInvalid: switchState.isInvalid
31
37
  }))
32
38
  };
33
39
  return /*#__PURE__*/_jsx(RNSwitch, {
34
40
  ref: ref,
35
- value: isChecked,
36
- disabled: isDisabled,
41
+ value: switchState.checked,
42
+ disabled: switchState.isDisabled,
43
+ onValueChange: switchState.setChecked,
44
+ onFocus: composeEventHandlers(onFocus, switchState.focusProps.onFocus),
45
+ onBlur: composeEventHandlers(onBlur, switchState.focusProps.onBlur),
37
46
  ...uniwindProps,
38
- ...props
47
+ ...props,
48
+ ...mergeDataAttributes(props, switchState.dataAttrs)
39
49
  });
40
50
  });
41
51
  BaseSwitch.displayName = 'BaseSwitch';
@@ -1 +1 @@
1
- {"version":3,"names":["forwardRef","Switch","RNSwitch","cn","switchIosBgVariants","switchThumbColorVariants","switchTrackOffVariants","switchTrackOnVariants","jsx","_jsx","BaseSwitch","states","className","disabled","value","props","ref","isChecked","checked","isDisabled","isInvalid","invalid","uniwindProps","thumbColorClassName","trackColorOnClassName","trackColorOffClassName","ios_backgroundColorClassName","displayName"],"sourceRoot":"../../../../src","sources":["components/Switch/BaseSwitch.tsx"],"mappings":";;AAAA,SAASA,UAAU,QAAQ,OAAO;AAClC,SAASC,MAAM,IAAIC,QAAQ,QAA0B,cAAc;AACnE,SAASC,EAAE,QAAQ,eAAe;AAClC,SACEC,mBAAmB,EACnBC,wBAAwB,EACxBC,sBAAsB,EACtBC,qBAAqB,QAChB,UAAU;AAAC,SAAAC,GAAA,IAAAC,IAAA;AASlB,OAAO,MAAMC,UAAU,gBAAGV,UAAU,CAClC,CAAC;EAAEW,MAAM;EAAEC,SAAS;EAAEC,QAAQ;EAAEC,KAAK;EAAE,GAAGC;AAAM,CAAC,EAAEC,GAAG,KAAK;EACzD,MAAMC,SAAS,GAAGH,KAAK,IAAIH,MAAM,EAAEO,OAAO,IAAI,KAAK;EACnD,MAAMC,UAAU,GAAGN,QAAQ,IAAIF,MAAM,EAAEE,QAAQ,IAAI,KAAK;EACxD,MAAMO,SAAS,GAAGT,MAAM,EAAEU,OAAO,IAAI,KAAK;EAE1C,MAAMC,YAAgD,GAAG;IACvDV,SAAS;IACTW,mBAAmB,EAAEpB,EAAE,CAACE,wBAAwB,CAAC;MAAEc;IAAW,CAAC,CAAC,CAAC;IACjEK,qBAAqB,EAAErB,EAAE,CAACI,qBAAqB,CAAC;MAAEa;IAAU,CAAC,CAAC,CAAC;IAC/DK,sBAAsB,EAAEtB,EAAE,CAACG,sBAAsB,CAAC;MAAEc;IAAU,CAAC,CAAC,CAAC;IACjEM,4BAA4B,EAAEvB,EAAE,CAACC,mBAAmB,CAAC;MAAEgB;IAAU,CAAC,CAAC;EACrE,CAAC;EAED,oBACEX,IAAA,CAACP,QAAQ;IAACc,GAAG,EAAEA,GAAI;IAACF,KAAK,EAAEG,SAAU;IAACJ,QAAQ,EAAEM,UAAW;IAAA,GAAKG,YAAY;IAAA,GAAMP;EAAK,CAAG,CAAC;AAE/F,CACF,CAAC;AAEDL,UAAU,CAACiB,WAAW,GAAG,YAAY","ignoreList":[]}
1
+ {"version":3,"names":["forwardRef","Switch","RNSwitch","mergeDataAttributes","cn","composeEventHandlers","switchIosBgVariants","switchThumbColorVariants","switchTrackOffVariants","switchTrackOnVariants","jsx","_jsx","BaseSwitch","switchState","className","size","_size","onFocus","onBlur","props","ref","uniwindProps","thumbColorClassName","isDisabled","trackColorOnClassName","isInvalid","trackColorOffClassName","ios_backgroundColorClassName","value","checked","disabled","onValueChange","setChecked","focusProps","dataAttrs","displayName"],"sourceRoot":"../../../../src","sources":["components/Switch/BaseSwitch.tsx"],"mappings":";;AAAA,SAASA,UAAU,QAAQ,OAAO;AAClC,SAASC,MAAM,IAAIC,QAAQ,QAA2C,cAAc;AACpF,SAASC,mBAAmB,QAA+B,oBAAoB;AAC/E,SAASC,EAAE,EAAEC,oBAAoB,QAAQ,eAAe;AACxD,SACEC,mBAAmB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AACqB,SAAS;EAAC,CACtD,CAAC;AAEN,CACF,CAAC;AAEDtB,UAAU,CAACuB,WAAW,GAAG,YAAY","ignoreList":[]}
@@ -2,48 +2,52 @@
2
2
 
3
3
  import { forwardRef } from 'react';
4
4
  import { Pressable, View } from 'react-native';
5
- import { cn } from '@cdx-ui/utils';
5
+ import { mergeDataAttributes } from '@cdx-ui/primitives';
6
+ import { cn, composeEventHandlers } from '@cdx-ui/utils';
6
7
  import { switchThumbVariants, switchTrackVariants, switchWebTrackColorVariants } from './styles';
7
8
  import { jsx as _jsx } from "react/jsx-runtime";
9
+ /**
10
+ * Web host for `Switch`. Renders a custom `Pressable` + `View` toggle (preserving
11
+ * the existing visual contract) wired to the resolved state in `switchState`.
12
+ *
13
+ * `role="switch"` + `aria-checked` + keyboard semantics satisfy the same a11y
14
+ * contract that an `<input type="checkbox" role="switch">` would provide, without
15
+ * the visual rework an input swap would require (see spike notes in PR).
16
+ */
8
17
  export const BaseSwitch = /*#__PURE__*/forwardRef(({
9
- value,
10
- onValueChange,
11
- disabled,
12
- states,
13
- dataSet,
18
+ switchState,
14
19
  className,
15
20
  size = 'md',
21
+ accessibilityLabel,
16
22
  onFocus,
17
23
  onBlur,
18
24
  ...props
19
25
  }, ref) => {
20
- const isChecked = value ?? states?.checked ?? false;
21
- const isDisabled = disabled ?? states?.disabled ?? false;
22
- const isInvalid = states?.invalid ?? false;
23
26
  return /*#__PURE__*/_jsx(Pressable, {
24
27
  ref: ref,
25
28
  role: "switch",
26
- "aria-checked": isChecked,
27
- "aria-disabled": isDisabled,
28
- disabled: isDisabled,
29
- onPress: () => onValueChange?.(!isChecked),
30
- onFocus: onFocus,
31
- onBlur: onBlur,
29
+ "aria-checked": switchState.checked,
30
+ "aria-disabled": switchState.isDisabled,
31
+ accessibilityLabel: accessibilityLabel,
32
+ disabled: switchState.isDisabled,
33
+ onPress: () => switchState.setChecked(!switchState.checked),
34
+ onFocus: composeEventHandlers(onFocus, switchState.focusProps.onFocus),
35
+ onBlur: composeEventHandlers(onBlur, switchState.focusProps.onBlur),
36
+ onHoverIn: switchState.hoverProps.onHoverIn,
37
+ onHoverOut: switchState.hoverProps.onHoverOut,
32
38
  tabIndex: 0,
33
39
  className: cn(switchTrackVariants({
34
40
  size
35
41
  }), switchWebTrackColorVariants({
36
- isChecked,
37
- isInvalid
38
- }), className)
39
- // @ts-expect-error dataSet is a RNW/Uniwind prop not in Pressable types
40
- ,
41
- dataSet: dataSet,
42
+ isChecked: switchState.checked,
43
+ isInvalid: switchState.isInvalid
44
+ }), className),
42
45
  ...props,
46
+ ...mergeDataAttributes(props, switchState.dataAttrs),
43
47
  children: /*#__PURE__*/_jsx(View, {
44
48
  className: cn(switchThumbVariants({
45
49
  size,
46
- isChecked
50
+ isChecked: switchState.checked
47
51
  }))
48
52
  })
49
53
  });
@@ -1 +1 @@
1
- {"version":3,"names":["forwardRef","Pressable","View","cn","switchThumbVariants","switchTrackVariants","switchWebTrackColorVariants","jsx","_jsx","BaseSwitch","value","onValueChange","disabled","states","dataSet","className","size","onFocus","onBlur","props","ref","isChecked","checked","isDisabled","isInvalid","invalid","role","onPress","tabIndex","children","displayName"],"sourceRoot":"../../../../src","sources":["components/Switch/BaseSwitch.web.tsx"],"mappings":";;AAAA,SAASA,UAAU,QAAQ,OAAO;AAClC,SAASC,SAAS,EAAEC,IAAI,QAAQ,cAAc;AAC9C,SAASC,EAAE,QAAQ,eAAe;AAClC,SACEC,mBAAmB,EACnBC,mBAAmB,EACnBC,2BAA2B,QAEtB,UAAU;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAclB,OAAO,MAAMC,UAAU,gBAAGT,UAAU,CAClC,CACE;EACEU,KAAK;EACLC,aAAa;EACbC,QAAQ;EACRC,MAAM;EACNC,OAAO;EACPC,SAAS;EACTC,IAAI,GAAG,IAAI;EACXC,OAAO;EACPC,MAAM;EACN,GAAGC;AACL,CAAC,EACDC,GAAG,KACA;EACH,MAAMC,SAAS,GAAGX,KAAK,IAAIG,MAAM,EAAES,OAAO,IAAI,KAAK;EACnD,MAAMC,UAAU,GAAGX,QAAQ,IAAIC,MAAM,EAAED,QAAQ,IAAI,KAAK;EACxD,MAAMY,SAAS,GAAGX,MAAM,EAAEY,OAAO,IAAI,KAAK;EAE1C,oBACEjB,IAAA,CAACP,SAAS;IACRmB,GAAG,EAAEA,GAAI;IACTM,IAAI,EAAC,QAAQ;IACb,gBAAcL,SAAU;IACxB,iBAAeE,UAAW;IAC1BX,QAAQ,EAAEW,UAAW;IACrBI,OAAO,EAAEA,CAAA,KAAMhB,aAAa,GAAG,CAACU,SAAS,CAAE;IAC3CJ,OAAO,EAAEA,OAAQ;IACjBC,MAAM,EAAEA,MAAO;IACfU,QAAQ,EAAE,CAAE;IACZb,SAAS,EAAEZ,EAAE,CACXE,mBAAmB,CAAC;MAAEW;IAAK,CAAC,CAAC,EAC7BV,2BAA2B,CAAC;MAAEe,SAAS;MAAEG;IAAU,CAAC,CAAC,EACrDT,SACF;IACA;IAAA;IACAD,OAAO,EAAEA,OAAQ;IAAA,GACbK,KAAK;IAAAU,QAAA,eAETrB,IAAA,CAACN,IAAI;MAACa,SAAS,EAAEZ,EAAE,CAACC,mBAAmB,CAAC;QAAEY,IAAI;QAAEK;MAAU,CAAC,CAAC;IAAE,CAAE;EAAC,CACxD,CAAC;AAEhB,CACF,CAAC;AAEDZ,UAAU,CAACqB,WAAW,GAAG,YAAY","ignoreList":[]}
1
+ {"version":3,"names":["forwardRef","Pressable","View","mergeDataAttributes","cn","composeEventHandlers","switchThumbVariants","switchTrackVariants","switchWebTrackColorVariants","jsx","_jsx","BaseSwitch","switchState","className","size","accessibilityLabel","onFocus","onBlur","props","ref","role","checked","isDisabled","disabled","onPress","setChecked","focusProps","onHoverIn","hoverProps","onHoverOut","tabIndex","isChecked","isInvalid","dataAttrs","children","displayName"],"sourceRoot":"../../../../src","sources":["components/Switch/BaseSwitch.web.tsx"],"mappings":";;AAAA,SAASA,UAAU,QAAQ,OAAO;AAClC,SAASC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AACoB;IACzB,CAAC,CAAC,EACFnB,SACF,CAAE;IAAA,GACEK,KAAK;IAAA,GACLf,mBAAmB,CAACe,KAAK,EAAEN,WAAW,CAACqB,SAAS,CAAC;IAAAC,QAAA,eAErDxB,IAAA,CAACR,IAAI;MAACW,SAAS,EAAET,EAAE,CAACE,mBAAmB,CAAC;QAAEQ,IAAI;QAAEiB,SAAS,EAAEnB,WAAW,CAACS;MAAQ,CAAC,CAAC;IAAE,CAAE;EAAC,CAC7E,CAAC;AAEhB,CACF,CAAC;AAEDV,UAAU,CAACwB,WAAW,GAAG,YAAY","ignoreList":[]}
@@ -1,9 +1,40 @@
1
1
  "use strict";
2
2
 
3
- import { createSwitch } from '@cdx-ui/primitives';
3
+ import { forwardRef } from 'react';
4
+ import { dataAttributes, mergeDataAttributes, useSwitch } from '@cdx-ui/primitives';
4
5
  import { BaseSwitch } from './BaseSwitch';
5
- const SwitchPrimitive = createSwitch({
6
- Root: BaseSwitch
6
+ import { jsx as _jsx } from "react/jsx-runtime";
7
+ export const Switch = /*#__PURE__*/forwardRef(({
8
+ className,
9
+ size,
10
+ value,
11
+ isChecked,
12
+ defaultValue,
13
+ disabled,
14
+ isDisabled,
15
+ isInvalid,
16
+ onValueChange,
17
+ ...props
18
+ }, ref) => {
19
+ const switchState = useSwitch({
20
+ value,
21
+ isChecked,
22
+ defaultValue,
23
+ disabled,
24
+ isDisabled,
25
+ isInvalid,
26
+ onValueChange
27
+ });
28
+ return /*#__PURE__*/_jsx(BaseSwitch, {
29
+ ref: ref,
30
+ switchState: switchState,
31
+ className: className,
32
+ size: size,
33
+ ...props,
34
+ ...mergeDataAttributes(props, dataAttributes({
35
+ slot: 'switch'
36
+ }))
37
+ });
7
38
  });
8
- export const Switch = SwitchPrimitive;
39
+ Switch.displayName = 'Switch';
9
40
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["createSwitch","BaseSwitch","SwitchPrimitive","Root","Switch"],"sourceRoot":"../../../../src","sources":["components/Switch/index.tsx"],"mappings":";;AAAA,SAA4BA,YAAY,QAAQ,oBAAoB;AACpE,SAASC,UAAU,QAAQ,cAAc;AAGzC,MAAMC,eAAe,GAAGF,YAAY,CAAC;EAAEG,IAAI,EAAEF;AAAW,CAAC,CAAC;AAM1D,OAAO,MAAMG,MAAM,GAAGF,eAAe","ignoreList":[]}
1
+ {"version":3,"names":["forwardRef","dataAttributes","mergeDataAttributes","useSwitch","BaseSwitch","jsx","_jsx","Switch","className","size","value","isChecked","defaultValue","disabled","isDisabled","isInvalid","onValueChange","props","ref","switchState","slot","displayName"],"sourceRoot":"../../../../src","sources":["components/Switch/index.tsx"],"mappings":";;AAAA,SAASA,UAAU,QAAQ,OAAO;AAElC,SACEC,cAAc,EACdC,mBAAmB,EACnBC,SAAS,QAEJ,oBAAoB;AAC3B,SAASC,UAAU,QAAQ,cAAc;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAkB1C,OAAO,MAAMC,MAAM,gBAAGP,UAAU,CAC9B,CACE;EACEQ,SAAS;EACTC,IAAI;EACJC,KAAK;EACLC,SAAS;EACTC,YAAY;EACZC,QAAQ;EACRC,UAAU;EACVC,SAAS;EACTC,aAAa;EACb,GAAGC;AACL,CAAC,EACDC,GAAG,KACA;EACH,MAAMC,WAAW,GAAGhB,SAAS,CAAC;IAC5BO,KAAK;IACLC,SAAS;IACTC,YAAY;IACZC,QAAQ;IACRC,UAAU;IACVC,SAAS;IACTC;EACF,CAAC,CAAC;EAEF,oBACEV,IAAA,CAACF,UAAU;IACTc,GAAG,EAAEA,GAAa;IAClBC,WAAW,EAAEA,WAAY;IACzBX,SAAS,EAAEA,SAAU;IACrBC,IAAI,EAAEA,IAAK;IAAA,GACPQ,KAAK;IAAA,GACLf,mBAAmB,CAACe,KAAK,EAAEhB,cAAc,CAAC;MAAEmB,IAAI,EAAE;IAAS,CAAC,CAAC;EAAC,CACnE,CAAC;AAEN,CACF,CAAC;AAEDb,MAAM,CAACc,WAAW,GAAG,QAAQ","ignoreList":[]}
@@ -2,8 +2,8 @@
2
2
 
3
3
  import { Platform } from 'react-native';
4
4
  import { cva } from 'class-variance-authority';
5
- export const textStyle = cva([`text-content-primary font-normal`, Platform.select({
6
- web: 'font-sans my-0 bg-transparent display-inline no-underline',
5
+ export const textStyle = cva(['text-content-primary', Platform.select({
6
+ web: 'font-body my-0 bg-transparent no-underline',
7
7
  default: ''
8
8
  })], {
9
9
  variants: {
@@ -1 +1 @@
1
- {"version":3,"names":["Platform","cva","textStyle","select","web","default","variants","size","xl","lg","md","sm","xs"],"sourceRoot":"../../../../src","sources":["components/Text/styles.ts"],"mappings":";;AAAA,SAASA,QAAQ,QAAQ,cAAc;AACvC,SAASC,GAAG,QAA2B,0BAA0B;AAEjE,OAAO,MAAMC,SAAS,GAAGD,GAAG,CAC1B,CACE,kCAAkC,EAClCD,QAAQ,CAACG,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":["Platform","cva","textStyle","select","web","default","variants","size","xl","lg","md","sm","xs"],"sourceRoot":"../../../../src","sources":["components/Text/styles.ts"],"mappings":";;AAAA,SAASA,QAAQ,QAAQ,cAAc;AACvC,SAASC,GAAG,QAA2B,0BAA0B;AAEjE,OAAO,MAAMC,SAAS,GAAGD,GAAG,CAC1B,CACE,sBAAsB,EACtBD,QAAQ,CAACG,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,132 @@
1
+ "use strict";
2
+
3
+ import { forwardRef, useEffect, useState } from 'react';
4
+ import { Platform } from 'react-native';
5
+ import { InputField as InputFieldPrimitive, InputRoot as InputRootPrimitive, dataAttributes } from '@cdx-ui/primitives';
6
+ import { cn, composeEventHandlers } from '@cdx-ui/utils';
7
+ import { textareaFieldPlaceholderVariants, textareaFieldVariants, textareaRootVariants } from './styles';
8
+
9
+ // Initial/minimum visible rows. Web textareas render compactly, so a smaller default
10
+ // reads better there; native has no intrinsic multiline height, so it needs more.
11
+ import { jsx as _jsx } from "react/jsx-runtime";
12
+ const DEFAULT_MIN_ROWS = Platform.select({
13
+ web: 2,
14
+ default: 8
15
+ });
16
+
17
+ // Explicit per-size line height (px) set on the field so `rows * lineHeight` maps to an
18
+ // exact pixel height on native. Values track the field font sizes in `styles.ts`.
19
+ const LINE_HEIGHT_BY_SIZE = {
20
+ default: 20,
21
+ small: 16
22
+ };
23
+
24
+ // Module-scoped latch so the dev conflict warning fires at most once per session.
25
+ let hasWarnedResizeAutoGrowConflict = false;
26
+ export const Textarea = /*#__PURE__*/forwardRef(({
27
+ variant = 'outline',
28
+ size = 'default',
29
+ isDisabled,
30
+ isInvalid,
31
+ isReadOnly,
32
+ isRequired,
33
+ isFocused,
34
+ isHovered,
35
+ isFullWidth,
36
+ className,
37
+ placeholderTextColorClassName,
38
+ style,
39
+ numberOfLines,
40
+ autoGrow = false,
41
+ maxRows,
42
+ resize = 'none',
43
+ onContentSizeChange,
44
+ ...rest
45
+ }, ref) => {
46
+ const minRows = numberOfLines ?? DEFAULT_MIN_ROWS;
47
+ const lineHeight = LINE_HEIGHT_BY_SIZE[size ?? 'default'];
48
+ const minHeight = minRows * lineHeight;
49
+ const maxHeight = maxRows != null ? maxRows * lineHeight : undefined;
50
+ const isWeb = Platform.OS === 'web';
51
+ // Web user-resize wins over auto-grow; the two are mutually exclusive.
52
+ const userResizable = isWeb && resize === 'vertical';
53
+ const effectiveAutoGrow = autoGrow && !userResizable;
54
+ useEffect(() => {
55
+ if (__DEV__ && autoGrow && resize === 'vertical' && !hasWarnedResizeAutoGrowConflict) {
56
+ hasWarnedResizeAutoGrowConflict = true;
57
+ console.warn('[Textarea] `autoGrow` and `resize="vertical"` are mutually exclusive. ' + '`resize` takes precedence and `autoGrow` is ignored.');
58
+ }
59
+ }, [autoGrow, resize]);
60
+
61
+ // Native auto-grow: track the measured content height so we can enable internal
62
+ // scrolling once it passes the `maxRows` cap. Growth itself is handled natively
63
+ // (see `nativeScrollEnabled`), not by pinning a height here.
64
+ const [measuredHeight, setMeasuredHeight] = useState(undefined);
65
+ const handleContentSizeChange = event => {
66
+ if (!isWeb && effectiveAutoGrow) {
67
+ setMeasuredHeight(event.nativeEvent.contentSize.height);
68
+ }
69
+ };
70
+
71
+ // On native, a multiline TextInput only grows to fit its content when scrolling is
72
+ // disabled — an explicit height or an enabled scroll view pins it. So for auto-grow we
73
+ // keep `scrollEnabled` off (letting the view size itself between min/max) and only turn
74
+ // scrolling back on once the content exceeds the `maxRows` cap. Undefined elsewhere
75
+ // (web + fixed height) leaves React Native's default (`true`) so overflow scrolls.
76
+ const nativeScrollEnabled = !isWeb && effectiveAutoGrow ? maxHeight != null && measuredHeight != null && measuredHeight > maxHeight : undefined;
77
+
78
+ // Auto-grow (web + native) and fixed sizing all bound the field with min/max height and
79
+ // never pin an explicit `height`: web grows via `field-sizing: content`, native grows via
80
+ // the disabled scroll view above, and the fixed case simply floors at `minHeight`.
81
+ const heightStyle = !isWeb && !effectiveAutoGrow ? {
82
+ minHeight
83
+ } : {
84
+ minHeight,
85
+ maxHeight
86
+ };
87
+
88
+ // `textAlignVertical` is set in style (not just the prop) so it overrides the Android
89
+ // primitive's `center` default — style wins over the deprecated prop.
90
+ const fieldStyle = {
91
+ lineHeight,
92
+ textAlignVertical: 'top',
93
+ ...heightStyle
94
+ };
95
+
96
+ // `className` applies to the root (the visible bordered box), matching the flat
97
+ // CurrencyInput pattern. Field-level utilities below are internal sizing concerns.
98
+ const fieldClassName = cn(textareaFieldVariants({
99
+ size
100
+ }), effectiveAutoGrow && 'web:[field-sizing:content]', userResizable ? 'web:[resize:vertical]' : 'web:[resize:none]');
101
+ return /*#__PURE__*/_jsx(InputRootPrimitive, {
102
+ isDisabled: isDisabled,
103
+ isInvalid: isInvalid,
104
+ isReadOnly: isReadOnly,
105
+ isRequired: isRequired,
106
+ isFocused: isFocused,
107
+ isHovered: isHovered,
108
+ isFullWidth: isFullWidth,
109
+ className: cn(textareaRootVariants({
110
+ variant,
111
+ size
112
+ }), className),
113
+ style: style,
114
+ ...dataAttributes({
115
+ slot: 'textarea'
116
+ }),
117
+ children: /*#__PURE__*/_jsx(InputFieldPrimitive, {
118
+ ref: ref,
119
+ placeholderTextColorClassName: cn(textareaFieldPlaceholderVariants(), placeholderTextColorClassName),
120
+ ...rest,
121
+ multiline: true,
122
+ numberOfLines: isWeb ? minRows : undefined,
123
+ textAlignVertical: "top",
124
+ scrollEnabled: nativeScrollEnabled,
125
+ className: fieldClassName,
126
+ style: fieldStyle,
127
+ onContentSizeChange: composeEventHandlers(onContentSizeChange, handleContentSizeChange)
128
+ })
129
+ });
130
+ });
131
+ Textarea.displayName = 'Textarea';
132
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["forwardRef","useEffect","useState","Platform","InputField","InputFieldPrimitive","InputRoot","InputRootPrimitive","dataAttributes","cn","composeEventHandlers","textareaFieldPlaceholderVariants","textareaFieldVariants","textareaRootVariants","jsx","_jsx","DEFAULT_MIN_ROWS","select","web","default","LINE_HEIGHT_BY_SIZE","small","hasWarnedResizeAutoGrowConflict","Textarea","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","__DEV__","console","warn","measuredHeight","setMeasuredHeight","handleContentSizeChange","event","nativeEvent","contentSize","height","nativeScrollEnabled","heightStyle","fieldStyle","textAlignVertical","fieldClassName","slot","children","multiline","scrollEnabled","displayName"],"sourceRoot":"../../../../src","sources":["components/Textarea/index.tsx"],"mappings":";;AAAA,SAASA,UAAU,EAAEC,SAAS,EAAEC,QAAQ,QAAQ,OAAO;AACvD,SACEC,QAAQ,QAKH,cAAc;AACrB,SACEC,UAAU,IAAIC,mBAAmB,EACjCC,SAAS,IAAIC,kBAAkB,EAC/BC,cAAc,QAET,oBAAoB;AAC3B,SAASC,EAAE,EAAEC,oBAAoB,QAAQ,eAAe;AACxD,SAEEC,gCAAgC,EAChCC,qBAAqB,EACrBC,oBAAoB,QACf,UAAU;;AAEjB;AACA;AAAA,SAAAC,GAAA,IAAAC,IAAA;AACA,MAAMC,gBAAgB,GAAGb,QAAQ,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;AAgC3C,OAAO,MAAMC,QAAQ,gBAAGvB,UAAU,CAChC,CACE;EACEwB,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,GAA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