@cdx-ui/components 0.0.1-beta.12 → 0.0.1-beta.121

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 (1191) hide show
  1. package/README.md +34 -20
  2. package/lib/commonjs/animation/hooks/index.js +50 -0
  3. package/lib/commonjs/animation/hooks/index.js.map +1 -0
  4. package/lib/commonjs/animation/hooks/useCombinedAnimationDisabledState.js +50 -0
  5. package/lib/commonjs/animation/hooks/useCombinedAnimationDisabledState.js.map +1 -0
  6. package/lib/commonjs/animation/hooks/usePopupDialogContentAnimation.js +175 -0
  7. package/lib/commonjs/animation/hooks/usePopupDialogContentAnimation.js.map +1 -0
  8. package/lib/commonjs/animation/hooks/usePopupOverlayAnimation.js +69 -0
  9. package/lib/commonjs/animation/hooks/usePopupOverlayAnimation.js.map +1 -0
  10. package/lib/commonjs/animation/hooks/usePopupRootAnimation.js +26 -0
  11. package/lib/commonjs/animation/hooks/usePopupRootAnimation.js.map +1 -0
  12. package/lib/commonjs/animation/index.js +39 -0
  13. package/lib/commonjs/animation/index.js.map +1 -0
  14. package/lib/commonjs/animation/types.js +6 -0
  15. package/lib/commonjs/animation/types.js.map +1 -0
  16. package/lib/commonjs/animation/utils.js +223 -0
  17. package/lib/commonjs/animation/utils.js.map +1 -0
  18. package/lib/commonjs/components/Alert/index.js +263 -0
  19. package/lib/commonjs/components/Alert/index.js.map +1 -0
  20. package/lib/commonjs/components/Alert/styles.js +87 -0
  21. package/lib/commonjs/components/Alert/styles.js.map +1 -0
  22. package/lib/commonjs/components/AlertDialog/index.js +32 -16
  23. package/lib/commonjs/components/AlertDialog/index.js.map +1 -1
  24. package/lib/commonjs/components/Avatar/index.js +135 -26
  25. package/lib/commonjs/components/Avatar/index.js.map +1 -1
  26. package/lib/commonjs/components/Avatar/styles.js +36 -29
  27. package/lib/commonjs/components/Avatar/styles.js.map +1 -1
  28. package/lib/commonjs/components/Badge/index.js +86 -0
  29. package/lib/commonjs/components/Badge/index.js.map +1 -0
  30. package/lib/commonjs/components/Badge/styles.js +127 -0
  31. package/lib/commonjs/components/Badge/styles.js.map +1 -0
  32. package/lib/commonjs/components/BottomSheet/index.js +75 -27
  33. package/lib/commonjs/components/BottomSheet/index.js.map +1 -1
  34. package/lib/commonjs/components/BottomSheet/styles.js +8 -43
  35. package/lib/commonjs/components/BottomSheet/styles.js.map +1 -1
  36. package/lib/commonjs/components/Box/Box.js +1 -11
  37. package/lib/commonjs/components/Box/Box.js.map +1 -1
  38. package/lib/commonjs/components/Button/index.js +143 -29
  39. package/lib/commonjs/components/Button/index.js.map +1 -1
  40. package/lib/commonjs/components/Button/styles.js +95 -30
  41. package/lib/commonjs/components/Button/styles.js.map +1 -1
  42. package/lib/commonjs/components/CLAUDE.md +195 -0
  43. package/lib/commonjs/components/Card/index.js +74 -15
  44. package/lib/commonjs/components/Card/index.js.map +1 -1
  45. package/lib/commonjs/components/Card/styles.js +17 -3
  46. package/lib/commonjs/components/Card/styles.js.map +1 -1
  47. package/lib/commonjs/components/Carousel/index.js +153 -0
  48. package/lib/commonjs/components/Carousel/index.js.map +1 -0
  49. package/lib/commonjs/components/Carousel/paginationNavigation.js +35 -0
  50. package/lib/commonjs/components/Carousel/paginationNavigation.js.map +1 -0
  51. package/lib/commonjs/components/Carousel/styles.js +21 -0
  52. package/lib/commonjs/components/Carousel/styles.js.map +1 -0
  53. package/lib/commonjs/components/Checkbox/index.js +89 -48
  54. package/lib/commonjs/components/Checkbox/index.js.map +1 -1
  55. package/lib/commonjs/components/Checkbox/styles.js +44 -48
  56. package/lib/commonjs/components/Checkbox/styles.js.map +1 -1
  57. package/lib/commonjs/components/Chip/index.js +115 -18
  58. package/lib/commonjs/components/Chip/index.js.map +1 -1
  59. package/lib/commonjs/components/Chip/styles.js +180 -23
  60. package/lib/commonjs/components/Chip/styles.js.map +1 -1
  61. package/lib/commonjs/components/CurrencyInput/index.js +157 -0
  62. package/lib/commonjs/components/CurrencyInput/index.js.map +1 -0
  63. package/lib/commonjs/components/CurrencyInput/styles.js +31 -0
  64. package/lib/commonjs/components/CurrencyInput/styles.js.map +1 -0
  65. package/lib/commonjs/components/Dialog/animation.js +13 -0
  66. package/lib/commonjs/components/Dialog/animation.js.map +1 -0
  67. package/lib/commonjs/components/Dialog/index.js +403 -66
  68. package/lib/commonjs/components/Dialog/index.js.map +1 -1
  69. package/lib/commonjs/components/Dialog/styles.js +66 -16
  70. package/lib/commonjs/components/Dialog/styles.js.map +1 -1
  71. package/lib/commonjs/components/Divider/index.js +98 -0
  72. package/lib/commonjs/components/Divider/index.js.map +1 -0
  73. package/lib/commonjs/components/Divider/styles.js +75 -0
  74. package/lib/commonjs/components/Divider/styles.js.map +1 -0
  75. package/lib/commonjs/components/Field/index.js +77 -27
  76. package/lib/commonjs/components/Field/index.js.map +1 -1
  77. package/lib/commonjs/components/Field/styles.js +5 -5
  78. package/lib/commonjs/components/Field/styles.js.map +1 -1
  79. package/lib/commonjs/components/Form/index.js +5 -12
  80. package/lib/commonjs/components/Form/index.js.map +1 -1
  81. package/lib/commonjs/components/Heading/styles.js +1 -1
  82. package/lib/commonjs/components/Heading/styles.js.map +1 -1
  83. package/lib/commonjs/components/Icon/index.js +12 -5
  84. package/lib/commonjs/components/Icon/index.js.map +1 -1
  85. package/lib/commonjs/components/IconButton/index.js +22 -35
  86. package/lib/commonjs/components/IconButton/index.js.map +1 -1
  87. package/lib/commonjs/components/IconButton/styles.js +136 -11
  88. package/lib/commonjs/components/IconButton/styles.js.map +1 -1
  89. package/lib/commonjs/components/Input/index.js +50 -20
  90. package/lib/commonjs/components/Input/index.js.map +1 -1
  91. package/lib/commonjs/components/Input/styles.js +20 -7
  92. package/lib/commonjs/components/Input/styles.js.map +1 -1
  93. package/lib/commonjs/components/InsuranceDisclosure/index.js +56 -0
  94. package/lib/commonjs/components/InsuranceDisclosure/index.js.map +1 -0
  95. package/lib/commonjs/components/InsuranceDisclosure/styles.js +11 -0
  96. package/lib/commonjs/components/InsuranceDisclosure/styles.js.map +1 -0
  97. package/lib/commonjs/components/Link/index.js +35 -9
  98. package/lib/commonjs/components/Link/index.js.map +1 -1
  99. package/lib/commonjs/components/Link/styles.js +54 -7
  100. package/lib/commonjs/components/Link/styles.js.map +1 -1
  101. package/lib/commonjs/components/ListItem/index.js +132 -79
  102. package/lib/commonjs/components/ListItem/index.js.map +1 -1
  103. package/lib/commonjs/components/ListItem/styles.js +30 -58
  104. package/lib/commonjs/components/ListItem/styles.js.map +1 -1
  105. package/lib/commonjs/components/OtpInput/index.js +114 -36
  106. package/lib/commonjs/components/OtpInput/index.js.map +1 -1
  107. package/lib/commonjs/components/OtpInput/styles.js +9 -7
  108. package/lib/commonjs/components/OtpInput/styles.js.map +1 -1
  109. package/lib/commonjs/components/ProgressBar/index.js +8 -13
  110. package/lib/commonjs/components/ProgressBar/index.js.map +1 -1
  111. package/lib/commonjs/components/ProgressSegmented/index.js +24 -10
  112. package/lib/commonjs/components/ProgressSegmented/index.js.map +1 -1
  113. package/lib/commonjs/components/QuickActionButton/index.js +133 -0
  114. package/lib/commonjs/components/QuickActionButton/index.js.map +1 -0
  115. package/lib/commonjs/components/QuickActionButton/styles.js +17 -0
  116. package/lib/commonjs/components/QuickActionButton/styles.js.map +1 -0
  117. package/lib/commonjs/components/Radio/index.js +66 -51
  118. package/lib/commonjs/components/Radio/index.js.map +1 -1
  119. package/lib/commonjs/components/Radio/styles.js +21 -8
  120. package/lib/commonjs/components/Radio/styles.js.map +1 -1
  121. package/lib/commonjs/components/ScopedTheme/index.js +24 -0
  122. package/lib/commonjs/components/ScopedTheme/index.js.map +1 -0
  123. package/lib/commonjs/components/Select/index.js +111 -39
  124. package/lib/commonjs/components/Select/index.js.map +1 -1
  125. package/lib/commonjs/components/Select/styles.js +26 -21
  126. package/lib/commonjs/components/Select/styles.js.map +1 -1
  127. package/lib/commonjs/components/Skeleton/index.js +39 -0
  128. package/lib/commonjs/components/Skeleton/index.js.map +1 -0
  129. package/lib/commonjs/components/Skeleton/styles.js +9 -0
  130. package/lib/commonjs/components/Skeleton/styles.js.map +1 -0
  131. package/lib/commonjs/components/Slider/getSliderPopupPosition.js +43 -0
  132. package/lib/commonjs/components/Slider/getSliderPopupPosition.js.map +1 -0
  133. package/lib/commonjs/components/Slider/index.js +363 -0
  134. package/lib/commonjs/components/Slider/index.js.map +1 -0
  135. package/lib/commonjs/components/Slider/styles.js +112 -0
  136. package/lib/commonjs/components/Slider/styles.js.map +1 -0
  137. package/lib/commonjs/components/Switch/BaseSwitch.js +23 -13
  138. package/lib/commonjs/components/Switch/BaseSwitch.js.map +1 -1
  139. package/lib/commonjs/components/Switch/BaseSwitch.web.js +25 -21
  140. package/lib/commonjs/components/Switch/BaseSwitch.web.js.map +1 -1
  141. package/lib/commonjs/components/Switch/index.js +34 -3
  142. package/lib/commonjs/components/Switch/index.js.map +1 -1
  143. package/lib/commonjs/components/Text/styles.js +2 -2
  144. package/lib/commonjs/components/Text/styles.js.map +1 -1
  145. package/lib/commonjs/components/Textarea/index.js +135 -0
  146. package/lib/commonjs/components/Textarea/index.js.map +1 -0
  147. package/lib/commonjs/components/Textarea/styles.js +49 -0
  148. package/lib/commonjs/components/Textarea/styles.js.map +1 -0
  149. package/lib/commonjs/components/Tile/index.js +324 -0
  150. package/lib/commonjs/components/Tile/index.js.map +1 -0
  151. package/lib/commonjs/components/Tile/styles.js +52 -0
  152. package/lib/commonjs/components/Tile/styles.js.map +1 -0
  153. package/lib/commonjs/components/Toast/animation.js +331 -0
  154. package/lib/commonjs/components/Toast/animation.js.map +1 -0
  155. package/lib/commonjs/components/Toast/hooks.js +67 -0
  156. package/lib/commonjs/components/Toast/hooks.js.map +1 -0
  157. package/lib/commonjs/components/Toast/index.js +508 -0
  158. package/lib/commonjs/components/Toast/index.js.map +1 -0
  159. package/lib/commonjs/components/Toast/styles.js +141 -0
  160. package/lib/commonjs/components/Toast/styles.js.map +1 -0
  161. package/lib/commonjs/components/Toast/types.js +6 -0
  162. package/lib/commonjs/components/Toast/types.js.map +1 -0
  163. package/lib/commonjs/components/VirtualizedList/index.js.map +1 -1
  164. package/lib/commonjs/components/index.js +156 -0
  165. package/lib/commonjs/components/index.js.map +1 -1
  166. package/lib/commonjs/figma/Alert.Button.figma.js +31 -0
  167. package/lib/commonjs/figma/Alert.Button.figma.js.map +1 -0
  168. package/lib/commonjs/figma/Alert.Close.figma.js +24 -0
  169. package/lib/commonjs/figma/Alert.Close.figma.js.map +1 -0
  170. package/lib/commonjs/figma/Alert.Description.figma.js +20 -0
  171. package/lib/commonjs/figma/Alert.Description.figma.js.map +1 -0
  172. package/lib/commonjs/figma/Alert.Title.figma.js +20 -0
  173. package/lib/commonjs/figma/Alert.Title.figma.js.map +1 -0
  174. package/lib/commonjs/figma/Alert.figma.js +42 -0
  175. package/lib/commonjs/figma/Alert.figma.js.map +1 -0
  176. package/lib/commonjs/figma/AlertDialog.Description.figma.js +20 -0
  177. package/lib/commonjs/figma/AlertDialog.Description.figma.js.map +1 -0
  178. package/lib/commonjs/figma/AlertDialog.Footer.figma.js +41 -0
  179. package/lib/commonjs/figma/AlertDialog.Footer.figma.js.map +1 -0
  180. package/lib/commonjs/figma/AlertDialog.Header.figma.js +28 -0
  181. package/lib/commonjs/figma/AlertDialog.Header.figma.js.map +1 -0
  182. package/lib/commonjs/figma/AlertDialog.Text.figma.js +20 -0
  183. package/lib/commonjs/figma/AlertDialog.Text.figma.js.map +1 -0
  184. package/lib/commonjs/figma/AlertDialog.Title.figma.js +27 -0
  185. package/lib/commonjs/figma/AlertDialog.Title.figma.js.map +1 -0
  186. package/lib/commonjs/figma/AlertDialog.figma.js +43 -0
  187. package/lib/commonjs/figma/AlertDialog.figma.js.map +1 -0
  188. package/lib/commonjs/figma/Avatar.figma.js +57 -0
  189. package/lib/commonjs/figma/Avatar.figma.js.map +1 -0
  190. package/lib/commonjs/figma/Badge.Indicator.figma.js +47 -0
  191. package/lib/commonjs/figma/Badge.Indicator.figma.js.map +1 -0
  192. package/lib/commonjs/figma/Badge.figma.js +65 -0
  193. package/lib/commonjs/figma/Badge.figma.js.map +1 -0
  194. package/lib/commonjs/figma/BottomSheet.Footer.figma.js +31 -0
  195. package/lib/commonjs/figma/BottomSheet.Footer.figma.js.map +1 -0
  196. package/lib/commonjs/figma/BottomSheet.Header.figma.js +30 -0
  197. package/lib/commonjs/figma/BottomSheet.Header.figma.js.map +1 -0
  198. package/lib/commonjs/figma/BottomSheet.figma.js +54 -0
  199. package/lib/commonjs/figma/BottomSheet.figma.js.map +1 -0
  200. package/lib/commonjs/figma/Button.figma.js +4 -7
  201. package/lib/commonjs/figma/Button.figma.js.map +1 -1
  202. package/lib/commonjs/figma/CLAUDE.md +30 -0
  203. package/lib/commonjs/figma/Card.Header.figma.js +28 -0
  204. package/lib/commonjs/figma/Card.Header.figma.js.map +1 -0
  205. package/lib/commonjs/figma/Card.Stripe.figma.js +20 -0
  206. package/lib/commonjs/figma/Card.Stripe.figma.js.map +1 -0
  207. package/lib/commonjs/figma/Card.figma.js +45 -0
  208. package/lib/commonjs/figma/Card.figma.js.map +1 -0
  209. package/lib/commonjs/figma/Checkbox.figma.js +55 -0
  210. package/lib/commonjs/figma/Checkbox.figma.js.map +1 -0
  211. package/lib/commonjs/figma/Chip.figma.js +68 -0
  212. package/lib/commonjs/figma/Chip.figma.js.map +1 -0
  213. package/lib/commonjs/figma/Dialog.Description.figma.js +20 -0
  214. package/lib/commonjs/figma/Dialog.Description.figma.js.map +1 -0
  215. package/lib/commonjs/figma/Dialog.Footer.figma.js +30 -0
  216. package/lib/commonjs/figma/Dialog.Footer.figma.js.map +1 -0
  217. package/lib/commonjs/figma/Dialog.Header.figma.js +29 -0
  218. package/lib/commonjs/figma/Dialog.Header.figma.js.map +1 -0
  219. package/lib/commonjs/figma/Dialog.Text.figma.js +20 -0
  220. package/lib/commonjs/figma/Dialog.Text.figma.js.map +1 -0
  221. package/lib/commonjs/figma/Dialog.Title.figma.js +27 -0
  222. package/lib/commonjs/figma/Dialog.Title.figma.js.map +1 -0
  223. package/lib/commonjs/figma/Dialog.figma.js +51 -0
  224. package/lib/commonjs/figma/Dialog.figma.js.map +1 -0
  225. package/lib/commonjs/figma/Divider.figma.js +32 -0
  226. package/lib/commonjs/figma/Divider.figma.js.map +1 -0
  227. package/lib/commonjs/figma/Field.Input.figma.js +57 -0
  228. package/lib/commonjs/figma/Field.Input.figma.js.map +1 -0
  229. package/lib/commonjs/figma/Field.OtpInput.figma.js +52 -0
  230. package/lib/commonjs/figma/Field.OtpInput.figma.js.map +1 -0
  231. package/lib/commonjs/figma/Field.Select.figma.js +57 -0
  232. package/lib/commonjs/figma/Field.Select.figma.js.map +1 -0
  233. package/lib/commonjs/figma/Field.Textarea.figma.js +57 -0
  234. package/lib/commonjs/figma/Field.Textarea.figma.js.map +1 -0
  235. package/lib/commonjs/figma/Heading.figma.js +30 -0
  236. package/lib/commonjs/figma/Heading.figma.js.map +1 -0
  237. package/lib/commonjs/figma/Icon.figma.js +20 -0
  238. package/lib/commonjs/figma/Icon.figma.js.map +1 -0
  239. package/lib/commonjs/figma/IconButton.figma.js +47 -0
  240. package/lib/commonjs/figma/IconButton.figma.js.map +1 -0
  241. package/lib/commonjs/figma/Input.figma.js +52 -0
  242. package/lib/commonjs/figma/Input.figma.js.map +1 -0
  243. package/lib/commonjs/figma/Link.figma.js +30 -0
  244. package/lib/commonjs/figma/Link.figma.js.map +1 -0
  245. package/lib/commonjs/figma/ListItem.Description.figma.js +23 -0
  246. package/lib/commonjs/figma/ListItem.Description.figma.js.map +1 -0
  247. package/lib/commonjs/figma/ListItem.LeadingSlot.figma.js +24 -0
  248. package/lib/commonjs/figma/ListItem.LeadingSlot.figma.js.map +1 -0
  249. package/lib/commonjs/figma/ListItem.Meta.figma.js +23 -0
  250. package/lib/commonjs/figma/ListItem.Meta.figma.js.map +1 -0
  251. package/lib/commonjs/figma/ListItem.SectionHeader.figma.js +24 -0
  252. package/lib/commonjs/figma/ListItem.SectionHeader.figma.js.map +1 -0
  253. package/lib/commonjs/figma/ListItem.Title.figma.js +23 -0
  254. package/lib/commonjs/figma/ListItem.Title.figma.js.map +1 -0
  255. package/lib/commonjs/figma/ListItem.TrailingSlot.figma.js +24 -0
  256. package/lib/commonjs/figma/ListItem.TrailingSlot.figma.js.map +1 -0
  257. package/lib/commonjs/figma/ListItem.figma.js +50 -0
  258. package/lib/commonjs/figma/ListItem.figma.js.map +1 -0
  259. package/lib/commonjs/figma/OtpInput.Cell.figma.js +55 -0
  260. package/lib/commonjs/figma/OtpInput.Cell.figma.js.map +1 -0
  261. package/lib/commonjs/figma/OtpInput.figma.js +42 -0
  262. package/lib/commonjs/figma/OtpInput.figma.js.map +1 -0
  263. package/lib/commonjs/figma/ProgressSegmented.figma.js +39 -0
  264. package/lib/commonjs/figma/ProgressSegmented.figma.js.map +1 -0
  265. package/lib/commonjs/figma/QuickActionButton.figma.js +38 -0
  266. package/lib/commonjs/figma/QuickActionButton.figma.js.map +1 -0
  267. package/lib/commonjs/figma/Radio.figma.js +8 -6
  268. package/lib/commonjs/figma/Radio.figma.js.map +1 -1
  269. package/lib/commonjs/figma/Select.figma.js +53 -0
  270. package/lib/commonjs/figma/Select.figma.js.map +1 -0
  271. package/lib/commonjs/figma/Text.figma.js +32 -0
  272. package/lib/commonjs/figma/Text.figma.js.map +1 -0
  273. package/lib/commonjs/figma/Textarea.figma.js +47 -0
  274. package/lib/commonjs/figma/Textarea.figma.js.map +1 -0
  275. package/lib/commonjs/figma/icons.figma.batch.js +27 -0
  276. package/lib/commonjs/figma/icons.figma.batch.js.map +1 -0
  277. package/lib/commonjs/figma/icons.figma.batch.json +17705 -0
  278. package/lib/commonjs/globals.d.js +2 -0
  279. package/lib/commonjs/globals.d.js.map +1 -0
  280. package/lib/commonjs/hooks/index.js +19 -0
  281. package/lib/commonjs/hooks/index.js.map +1 -0
  282. package/lib/commonjs/hooks/useForgeBottomTabScreenOptions.js +246 -0
  283. package/lib/commonjs/hooks/useForgeBottomTabScreenOptions.js.map +1 -0
  284. package/lib/commonjs/index.js +39 -0
  285. package/lib/commonjs/index.js.map +1 -1
  286. package/lib/commonjs/metro/withCdxMetroConfig.js +7 -18
  287. package/lib/commonjs/metro/withCdxMetroConfig.js.map +1 -1
  288. package/lib/commonjs/metro/withForgeMetroConfig.js +24 -0
  289. package/lib/commonjs/metro/withForgeMetroConfig.js.map +1 -0
  290. package/lib/commonjs/navigation/forgeTabIcon.js +43 -0
  291. package/lib/commonjs/navigation/forgeTabIcon.js.map +1 -0
  292. package/lib/commonjs/navigation/forgeTabIcon.native.js +35 -0
  293. package/lib/commonjs/navigation/forgeTabIcon.native.js.map +1 -0
  294. package/lib/commonjs/navigation/index.js +13 -0
  295. package/lib/commonjs/navigation/index.js.map +1 -0
  296. package/lib/commonjs/navigation/types.js +38 -0
  297. package/lib/commonjs/navigation/types.js.map +1 -0
  298. package/lib/commonjs/providers/animation-settings/index.js +31 -0
  299. package/lib/commonjs/providers/animation-settings/index.js.map +1 -0
  300. package/lib/commonjs/providers/animation-settings/provider.js +59 -0
  301. package/lib/commonjs/providers/animation-settings/provider.js.map +1 -0
  302. package/lib/commonjs/providers/animation-settings/types.js +6 -0
  303. package/lib/commonjs/providers/animation-settings/types.js.map +1 -0
  304. package/lib/commonjs/providers/forge-design/index.js +29 -0
  305. package/lib/commonjs/providers/forge-design/index.js.map +1 -0
  306. package/lib/commonjs/providers/forge-design/provider.js +71 -0
  307. package/lib/commonjs/providers/forge-design/provider.js.map +1 -0
  308. package/lib/commonjs/providers/forge-design/types.js +6 -0
  309. package/lib/commonjs/providers/forge-design/types.js.map +1 -0
  310. package/lib/commonjs/providers/text-component/index.js +28 -0
  311. package/lib/commonjs/providers/text-component/index.js.map +1 -0
  312. package/lib/commonjs/providers/text-component/provider.js +11 -0
  313. package/lib/commonjs/providers/text-component/provider.js.map +1 -0
  314. package/lib/commonjs/providers/text-component/types.js +6 -0
  315. package/lib/commonjs/providers/text-component/types.js.map +1 -0
  316. package/lib/commonjs/providers/toast/index.js +33 -0
  317. package/lib/commonjs/providers/toast/index.js.map +1 -0
  318. package/lib/commonjs/providers/toast/insets-container.js +166 -0
  319. package/lib/commonjs/providers/toast/insets-container.js.map +1 -0
  320. package/lib/commonjs/providers/toast/lifecycle.context.js +36 -0
  321. package/lib/commonjs/providers/toast/lifecycle.context.js.map +1 -0
  322. package/lib/commonjs/providers/toast/provider.js +508 -0
  323. package/lib/commonjs/providers/toast/provider.js.map +1 -0
  324. package/lib/commonjs/providers/toast/reducer.js +46 -0
  325. package/lib/commonjs/providers/toast/reducer.js.map +1 -0
  326. package/lib/commonjs/providers/toast/toast-config.context.js +29 -0
  327. package/lib/commonjs/providers/toast/toast-config.context.js.map +1 -0
  328. package/lib/commonjs/providers/toast/toast-item-renderer.js +43 -0
  329. package/lib/commonjs/providers/toast/toast-item-renderer.js.map +1 -0
  330. package/lib/commonjs/providers/toast/types.js +6 -0
  331. package/lib/commonjs/providers/toast/types.js.map +1 -0
  332. package/lib/commonjs/styles/constants.js +16 -0
  333. package/lib/commonjs/styles/constants.js.map +1 -0
  334. package/lib/commonjs/styles.css +0 -5
  335. package/lib/commonjs/utils/positionToDataIcon.js +41 -0
  336. package/lib/commonjs/utils/positionToDataIcon.js.map +1 -0
  337. package/lib/module/animation/hooks/index.js +7 -0
  338. package/lib/module/animation/hooks/index.js.map +1 -0
  339. package/lib/module/animation/hooks/useCombinedAnimationDisabledState.js +47 -0
  340. package/lib/module/animation/hooks/useCombinedAnimationDisabledState.js.map +1 -0
  341. package/lib/module/animation/hooks/usePopupDialogContentAnimation.js +171 -0
  342. package/lib/module/animation/hooks/usePopupDialogContentAnimation.js.map +1 -0
  343. package/lib/module/animation/hooks/usePopupOverlayAnimation.js +65 -0
  344. package/lib/module/animation/hooks/usePopupOverlayAnimation.js.map +1 -0
  345. package/lib/module/animation/hooks/usePopupRootAnimation.js +22 -0
  346. package/lib/module/animation/hooks/usePopupRootAnimation.js.map +1 -0
  347. package/lib/module/animation/index.js +6 -0
  348. package/lib/module/animation/index.js.map +1 -0
  349. package/lib/module/animation/types.js +4 -0
  350. package/lib/module/animation/types.js.map +1 -0
  351. package/lib/module/animation/utils.js +212 -0
  352. package/lib/module/animation/utils.js.map +1 -0
  353. package/lib/module/components/Alert/index.js +259 -0
  354. package/lib/module/components/Alert/index.js.map +1 -0
  355. package/lib/module/components/Alert/styles.js +84 -0
  356. package/lib/module/components/Alert/styles.js.map +1 -0
  357. package/lib/module/components/AlertDialog/index.js +33 -16
  358. package/lib/module/components/AlertDialog/index.js.map +1 -1
  359. package/lib/module/components/Avatar/index.js +138 -29
  360. package/lib/module/components/Avatar/index.js.map +1 -1
  361. package/lib/module/components/Avatar/styles.js +36 -29
  362. package/lib/module/components/Avatar/styles.js.map +1 -1
  363. package/lib/module/components/Badge/index.js +83 -0
  364. package/lib/module/components/Badge/index.js.map +1 -0
  365. package/lib/module/components/Badge/styles.js +123 -0
  366. package/lib/module/components/Badge/styles.js.map +1 -0
  367. package/lib/module/components/BottomSheet/index.js +80 -32
  368. package/lib/module/components/BottomSheet/index.js.map +1 -1
  369. package/lib/module/components/BottomSheet/styles.js +7 -42
  370. package/lib/module/components/BottomSheet/styles.js.map +1 -1
  371. package/lib/module/components/Box/Box.js +1 -11
  372. package/lib/module/components/Box/Box.js.map +1 -1
  373. package/lib/module/components/Button/index.js +146 -33
  374. package/lib/module/components/Button/index.js.map +1 -1
  375. package/lib/module/components/Button/styles.js +94 -29
  376. package/lib/module/components/Button/styles.js.map +1 -1
  377. package/lib/module/components/CLAUDE.md +195 -0
  378. package/lib/module/components/Card/index.js +77 -18
  379. package/lib/module/components/Card/index.js.map +1 -1
  380. package/lib/module/components/Card/styles.js +16 -2
  381. package/lib/module/components/Card/styles.js.map +1 -1
  382. package/lib/module/components/Carousel/index.js +147 -0
  383. package/lib/module/components/Carousel/index.js.map +1 -0
  384. package/lib/module/components/Carousel/paginationNavigation.js +31 -0
  385. package/lib/module/components/Carousel/paginationNavigation.js.map +1 -0
  386. package/lib/module/components/Carousel/styles.js +18 -0
  387. package/lib/module/components/Carousel/styles.js.map +1 -0
  388. package/lib/module/components/Checkbox/index.js +93 -52
  389. package/lib/module/components/Checkbox/index.js.map +1 -1
  390. package/lib/module/components/Checkbox/styles.js +45 -48
  391. package/lib/module/components/Checkbox/styles.js.map +1 -1
  392. package/lib/module/components/Chip/index.js +119 -22
  393. package/lib/module/components/Chip/index.js.map +1 -1
  394. package/lib/module/components/Chip/styles.js +179 -22
  395. package/lib/module/components/Chip/styles.js.map +1 -1
  396. package/lib/module/components/CurrencyInput/index.js +154 -0
  397. package/lib/module/components/CurrencyInput/index.js.map +1 -0
  398. package/lib/module/components/CurrencyInput/styles.js +27 -0
  399. package/lib/module/components/CurrencyInput/styles.js.map +1 -0
  400. package/lib/module/components/Dialog/animation.js +7 -0
  401. package/lib/module/components/Dialog/animation.js.map +1 -0
  402. package/lib/module/components/Dialog/index.js +409 -74
  403. package/lib/module/components/Dialog/index.js.map +1 -1
  404. package/lib/module/components/Dialog/styles.js +65 -15
  405. package/lib/module/components/Dialog/styles.js.map +1 -1
  406. package/lib/module/components/Divider/index.js +94 -0
  407. package/lib/module/components/Divider/index.js.map +1 -0
  408. package/lib/module/components/Divider/styles.js +71 -0
  409. package/lib/module/components/Divider/styles.js.map +1 -0
  410. package/lib/module/components/Field/index.js +81 -32
  411. package/lib/module/components/Field/index.js.map +1 -1
  412. package/lib/module/components/Field/styles.js +5 -5
  413. package/lib/module/components/Field/styles.js.map +1 -1
  414. package/lib/module/components/Form/index.js +7 -14
  415. package/lib/module/components/Form/index.js.map +1 -1
  416. package/lib/module/components/Heading/styles.js +1 -1
  417. package/lib/module/components/Heading/styles.js.map +1 -1
  418. package/lib/module/components/Icon/index.js +12 -5
  419. package/lib/module/components/Icon/index.js.map +1 -1
  420. package/lib/module/components/IconButton/index.js +24 -37
  421. package/lib/module/components/IconButton/index.js.map +1 -1
  422. package/lib/module/components/IconButton/styles.js +136 -11
  423. package/lib/module/components/IconButton/styles.js.map +1 -1
  424. package/lib/module/components/Input/index.js +53 -23
  425. package/lib/module/components/Input/index.js.map +1 -1
  426. package/lib/module/components/Input/styles.js +20 -7
  427. package/lib/module/components/Input/styles.js.map +1 -1
  428. package/lib/module/components/InsuranceDisclosure/index.js +52 -0
  429. package/lib/module/components/InsuranceDisclosure/index.js.map +1 -0
  430. package/lib/module/components/InsuranceDisclosure/styles.js +7 -0
  431. package/lib/module/components/InsuranceDisclosure/styles.js.map +1 -0
  432. package/lib/module/components/Link/index.js +38 -11
  433. package/lib/module/components/Link/index.js.map +1 -1
  434. package/lib/module/components/Link/styles.js +53 -7
  435. package/lib/module/components/Link/styles.js.map +1 -1
  436. package/lib/module/components/ListItem/index.js +137 -84
  437. package/lib/module/components/ListItem/index.js.map +1 -1
  438. package/lib/module/components/ListItem/styles.js +30 -58
  439. package/lib/module/components/ListItem/styles.js.map +1 -1
  440. package/lib/module/components/OtpInput/index.js +114 -36
  441. package/lib/module/components/OtpInput/index.js.map +1 -1
  442. package/lib/module/components/OtpInput/styles.js +9 -7
  443. package/lib/module/components/OtpInput/styles.js.map +1 -1
  444. package/lib/module/components/ProgressBar/index.js +9 -14
  445. package/lib/module/components/ProgressBar/index.js.map +1 -1
  446. package/lib/module/components/ProgressSegmented/index.js +25 -11
  447. package/lib/module/components/ProgressSegmented/index.js.map +1 -1
  448. package/lib/module/components/QuickActionButton/index.js +129 -0
  449. package/lib/module/components/QuickActionButton/index.js.map +1 -0
  450. package/lib/module/components/QuickActionButton/styles.js +13 -0
  451. package/lib/module/components/QuickActionButton/styles.js.map +1 -0
  452. package/lib/module/components/Radio/index.js +69 -55
  453. package/lib/module/components/Radio/index.js.map +1 -1
  454. package/lib/module/components/Radio/styles.js +20 -8
  455. package/lib/module/components/Radio/styles.js.map +1 -1
  456. package/lib/module/components/ScopedTheme/index.js +19 -0
  457. package/lib/module/components/ScopedTheme/index.js.map +1 -0
  458. package/lib/module/components/Select/index.js +117 -45
  459. package/lib/module/components/Select/index.js.map +1 -1
  460. package/lib/module/components/Select/styles.js +26 -21
  461. package/lib/module/components/Select/styles.js.map +1 -1
  462. package/lib/module/components/Skeleton/index.js +34 -0
  463. package/lib/module/components/Skeleton/index.js.map +1 -0
  464. package/lib/module/components/Skeleton/styles.js +5 -0
  465. package/lib/module/components/Skeleton/styles.js.map +1 -0
  466. package/lib/module/components/Slider/getSliderPopupPosition.js +38 -0
  467. package/lib/module/components/Slider/getSliderPopupPosition.js.map +1 -0
  468. package/lib/module/components/Slider/index.js +359 -0
  469. package/lib/module/components/Slider/index.js.map +1 -0
  470. package/lib/module/components/Slider/styles.js +108 -0
  471. package/lib/module/components/Slider/styles.js.map +1 -0
  472. package/lib/module/components/Switch/BaseSwitch.js +24 -14
  473. package/lib/module/components/Switch/BaseSwitch.js.map +1 -1
  474. package/lib/module/components/Switch/BaseSwitch.web.js +26 -22
  475. package/lib/module/components/Switch/BaseSwitch.web.js.map +1 -1
  476. package/lib/module/components/Switch/index.js +35 -4
  477. package/lib/module/components/Switch/index.js.map +1 -1
  478. package/lib/module/components/Text/styles.js +2 -2
  479. package/lib/module/components/Text/styles.js.map +1 -1
  480. package/lib/module/components/Textarea/index.js +132 -0
  481. package/lib/module/components/Textarea/index.js.map +1 -0
  482. package/lib/module/components/Textarea/styles.js +45 -0
  483. package/lib/module/components/Textarea/styles.js.map +1 -0
  484. package/lib/module/components/Tile/index.js +315 -0
  485. package/lib/module/components/Tile/index.js.map +1 -0
  486. package/lib/module/components/Tile/styles.js +48 -0
  487. package/lib/module/components/Tile/styles.js.map +1 -0
  488. package/lib/module/components/Toast/animation.js +326 -0
  489. package/lib/module/components/Toast/animation.js.map +1 -0
  490. package/lib/module/components/Toast/hooks.js +62 -0
  491. package/lib/module/components/Toast/hooks.js.map +1 -0
  492. package/lib/module/components/Toast/index.js +502 -0
  493. package/lib/module/components/Toast/index.js.map +1 -0
  494. package/lib/module/components/Toast/styles.js +138 -0
  495. package/lib/module/components/Toast/styles.js.map +1 -0
  496. package/lib/module/components/Toast/types.js +4 -0
  497. package/lib/module/components/Toast/types.js.map +1 -0
  498. package/lib/module/components/VirtualizedList/index.js.map +1 -1
  499. package/lib/module/components/index.js +13 -0
  500. package/lib/module/components/index.js.map +1 -1
  501. package/lib/module/figma/Alert.Button.figma.js +25 -0
  502. package/lib/module/figma/Alert.Button.figma.js.map +1 -0
  503. package/lib/module/figma/Alert.Close.figma.js +18 -0
  504. package/lib/module/figma/Alert.Close.figma.js.map +1 -0
  505. package/lib/module/figma/Alert.Description.figma.js +14 -0
  506. package/lib/module/figma/Alert.Description.figma.js.map +1 -0
  507. package/lib/module/figma/Alert.Title.figma.js +14 -0
  508. package/lib/module/figma/Alert.Title.figma.js.map +1 -0
  509. package/lib/module/figma/Alert.figma.js +36 -0
  510. package/lib/module/figma/Alert.figma.js.map +1 -0
  511. package/lib/module/figma/AlertDialog.Description.figma.js +14 -0
  512. package/lib/module/figma/AlertDialog.Description.figma.js.map +1 -0
  513. package/lib/module/figma/AlertDialog.Footer.figma.js +35 -0
  514. package/lib/module/figma/AlertDialog.Footer.figma.js.map +1 -0
  515. package/lib/module/figma/AlertDialog.Header.figma.js +22 -0
  516. package/lib/module/figma/AlertDialog.Header.figma.js.map +1 -0
  517. package/lib/module/figma/AlertDialog.Text.figma.js +14 -0
  518. package/lib/module/figma/AlertDialog.Text.figma.js.map +1 -0
  519. package/lib/module/figma/AlertDialog.Title.figma.js +21 -0
  520. package/lib/module/figma/AlertDialog.Title.figma.js.map +1 -0
  521. package/lib/module/figma/AlertDialog.figma.js +37 -0
  522. package/lib/module/figma/AlertDialog.figma.js.map +1 -0
  523. package/lib/module/figma/Avatar.figma.js +51 -0
  524. package/lib/module/figma/Avatar.figma.js.map +1 -0
  525. package/lib/module/figma/Badge.Indicator.figma.js +41 -0
  526. package/lib/module/figma/Badge.Indicator.figma.js.map +1 -0
  527. package/lib/module/figma/Badge.figma.js +59 -0
  528. package/lib/module/figma/Badge.figma.js.map +1 -0
  529. package/lib/module/figma/BottomSheet.Footer.figma.js +25 -0
  530. package/lib/module/figma/BottomSheet.Footer.figma.js.map +1 -0
  531. package/lib/module/figma/BottomSheet.Header.figma.js +24 -0
  532. package/lib/module/figma/BottomSheet.Header.figma.js.map +1 -0
  533. package/lib/module/figma/BottomSheet.figma.js +48 -0
  534. package/lib/module/figma/BottomSheet.figma.js.map +1 -0
  535. package/lib/module/figma/Button.figma.js +4 -7
  536. package/lib/module/figma/Button.figma.js.map +1 -1
  537. package/lib/module/figma/CLAUDE.md +30 -0
  538. package/lib/module/figma/Card.Header.figma.js +22 -0
  539. package/lib/module/figma/Card.Header.figma.js.map +1 -0
  540. package/lib/module/figma/Card.Stripe.figma.js +15 -0
  541. package/lib/module/figma/Card.Stripe.figma.js.map +1 -0
  542. package/lib/module/figma/Card.figma.js +39 -0
  543. package/lib/module/figma/Card.figma.js.map +1 -0
  544. package/lib/module/figma/Checkbox.figma.js +49 -0
  545. package/lib/module/figma/Checkbox.figma.js.map +1 -0
  546. package/lib/module/figma/Chip.figma.js +62 -0
  547. package/lib/module/figma/Chip.figma.js.map +1 -0
  548. package/lib/module/figma/Dialog.Description.figma.js +14 -0
  549. package/lib/module/figma/Dialog.Description.figma.js.map +1 -0
  550. package/lib/module/figma/Dialog.Footer.figma.js +24 -0
  551. package/lib/module/figma/Dialog.Footer.figma.js.map +1 -0
  552. package/lib/module/figma/Dialog.Header.figma.js +23 -0
  553. package/lib/module/figma/Dialog.Header.figma.js.map +1 -0
  554. package/lib/module/figma/Dialog.Text.figma.js +14 -0
  555. package/lib/module/figma/Dialog.Text.figma.js.map +1 -0
  556. package/lib/module/figma/Dialog.Title.figma.js +21 -0
  557. package/lib/module/figma/Dialog.Title.figma.js.map +1 -0
  558. package/lib/module/figma/Dialog.figma.js +45 -0
  559. package/lib/module/figma/Dialog.figma.js.map +1 -0
  560. package/lib/module/figma/Divider.figma.js +26 -0
  561. package/lib/module/figma/Divider.figma.js.map +1 -0
  562. package/lib/module/figma/Field.Input.figma.js +51 -0
  563. package/lib/module/figma/Field.Input.figma.js.map +1 -0
  564. package/lib/module/figma/Field.OtpInput.figma.js +46 -0
  565. package/lib/module/figma/Field.OtpInput.figma.js.map +1 -0
  566. package/lib/module/figma/Field.Select.figma.js +51 -0
  567. package/lib/module/figma/Field.Select.figma.js.map +1 -0
  568. package/lib/module/figma/Field.Textarea.figma.js +51 -0
  569. package/lib/module/figma/Field.Textarea.figma.js.map +1 -0
  570. package/lib/module/figma/Heading.figma.js +24 -0
  571. package/lib/module/figma/Heading.figma.js.map +1 -0
  572. package/lib/module/figma/Icon.figma.js +14 -0
  573. package/lib/module/figma/Icon.figma.js.map +1 -0
  574. package/lib/module/figma/IconButton.figma.js +41 -0
  575. package/lib/module/figma/IconButton.figma.js.map +1 -0
  576. package/lib/module/figma/Input.figma.js +46 -0
  577. package/lib/module/figma/Input.figma.js.map +1 -0
  578. package/lib/module/figma/Link.figma.js +24 -0
  579. package/lib/module/figma/Link.figma.js.map +1 -0
  580. package/lib/module/figma/ListItem.Description.figma.js +17 -0
  581. package/lib/module/figma/ListItem.Description.figma.js.map +1 -0
  582. package/lib/module/figma/ListItem.LeadingSlot.figma.js +18 -0
  583. package/lib/module/figma/ListItem.LeadingSlot.figma.js.map +1 -0
  584. package/lib/module/figma/ListItem.Meta.figma.js +17 -0
  585. package/lib/module/figma/ListItem.Meta.figma.js.map +1 -0
  586. package/lib/module/figma/ListItem.SectionHeader.figma.js +18 -0
  587. package/lib/module/figma/ListItem.SectionHeader.figma.js.map +1 -0
  588. package/lib/module/figma/ListItem.Title.figma.js +17 -0
  589. package/lib/module/figma/ListItem.Title.figma.js.map +1 -0
  590. package/lib/module/figma/ListItem.TrailingSlot.figma.js +18 -0
  591. package/lib/module/figma/ListItem.TrailingSlot.figma.js.map +1 -0
  592. package/lib/module/figma/ListItem.figma.js +44 -0
  593. package/lib/module/figma/ListItem.figma.js.map +1 -0
  594. package/lib/module/figma/OtpInput.Cell.figma.js +49 -0
  595. package/lib/module/figma/OtpInput.Cell.figma.js.map +1 -0
  596. package/lib/module/figma/OtpInput.figma.js +36 -0
  597. package/lib/module/figma/OtpInput.figma.js.map +1 -0
  598. package/lib/module/figma/ProgressSegmented.figma.js +33 -0
  599. package/lib/module/figma/ProgressSegmented.figma.js.map +1 -0
  600. package/lib/module/figma/QuickActionButton.figma.js +32 -0
  601. package/lib/module/figma/QuickActionButton.figma.js.map +1 -0
  602. package/lib/module/figma/Radio.figma.js +8 -6
  603. package/lib/module/figma/Radio.figma.js.map +1 -1
  604. package/lib/module/figma/Select.figma.js +47 -0
  605. package/lib/module/figma/Select.figma.js.map +1 -0
  606. package/lib/module/figma/Text.figma.js +26 -0
  607. package/lib/module/figma/Text.figma.js.map +1 -0
  608. package/lib/module/figma/Textarea.figma.js +41 -0
  609. package/lib/module/figma/Textarea.figma.js.map +1 -0
  610. package/lib/module/figma/icons.figma.batch.js +22 -0
  611. package/lib/module/figma/icons.figma.batch.js.map +1 -0
  612. package/lib/module/figma/icons.figma.batch.json +17705 -0
  613. package/lib/module/globals.d.js +2 -0
  614. package/lib/module/globals.d.js.map +1 -0
  615. package/lib/module/hooks/index.js +4 -0
  616. package/lib/module/hooks/index.js.map +1 -0
  617. package/lib/module/hooks/useForgeBottomTabScreenOptions.js +242 -0
  618. package/lib/module/hooks/useForgeBottomTabScreenOptions.js.map +1 -0
  619. package/lib/module/index.js +3 -0
  620. package/lib/module/index.js.map +1 -1
  621. package/lib/module/metro/withCdxMetroConfig.js +3 -17
  622. package/lib/module/metro/withCdxMetroConfig.js.map +1 -1
  623. package/lib/module/metro/withForgeMetroConfig.js +20 -0
  624. package/lib/module/metro/withForgeMetroConfig.js.map +1 -0
  625. package/lib/module/navigation/forgeTabIcon.js +39 -0
  626. package/lib/module/navigation/forgeTabIcon.js.map +1 -0
  627. package/lib/module/navigation/forgeTabIcon.native.js +31 -0
  628. package/lib/module/navigation/forgeTabIcon.native.js.map +1 -0
  629. package/lib/module/navigation/index.js +4 -0
  630. package/lib/module/navigation/index.js.map +1 -0
  631. package/lib/module/navigation/types.js +36 -0
  632. package/lib/module/navigation/types.js.map +1 -0
  633. package/lib/module/providers/animation-settings/index.js +4 -0
  634. package/lib/module/providers/animation-settings/index.js.map +1 -0
  635. package/lib/module/providers/animation-settings/provider.js +52 -0
  636. package/lib/module/providers/animation-settings/provider.js.map +1 -0
  637. package/lib/module/providers/animation-settings/types.js +4 -0
  638. package/lib/module/providers/animation-settings/types.js.map +1 -0
  639. package/lib/module/providers/forge-design/index.js +5 -0
  640. package/lib/module/providers/forge-design/index.js.map +1 -0
  641. package/lib/module/providers/forge-design/provider.js +66 -0
  642. package/lib/module/providers/forge-design/provider.js.map +1 -0
  643. package/lib/module/providers/forge-design/types.js +4 -0
  644. package/lib/module/providers/forge-design/types.js.map +1 -0
  645. package/lib/module/providers/text-component/index.js +5 -0
  646. package/lib/module/providers/text-component/index.js.map +1 -0
  647. package/lib/module/providers/text-component/provider.js +6 -0
  648. package/lib/module/providers/text-component/provider.js.map +1 -0
  649. package/lib/module/providers/text-component/types.js +4 -0
  650. package/lib/module/providers/text-component/types.js.map +1 -0
  651. package/lib/module/providers/toast/index.js +6 -0
  652. package/lib/module/providers/toast/index.js.map +1 -0
  653. package/lib/module/providers/toast/insets-container.js +162 -0
  654. package/lib/module/providers/toast/insets-container.js.map +1 -0
  655. package/lib/module/providers/toast/lifecycle.context.js +32 -0
  656. package/lib/module/providers/toast/lifecycle.context.js.map +1 -0
  657. package/lib/module/providers/toast/provider.js +503 -0
  658. package/lib/module/providers/toast/provider.js.map +1 -0
  659. package/lib/module/providers/toast/reducer.js +42 -0
  660. package/lib/module/providers/toast/reducer.js.map +1 -0
  661. package/lib/module/providers/toast/toast-config.context.js +25 -0
  662. package/lib/module/providers/toast/toast-config.context.js.map +1 -0
  663. package/lib/module/providers/toast/toast-item-renderer.js +39 -0
  664. package/lib/module/providers/toast/toast-item-renderer.js.map +1 -0
  665. package/lib/module/providers/toast/types.js +4 -0
  666. package/lib/module/providers/toast/types.js.map +1 -0
  667. package/lib/module/styles/constants.js +12 -0
  668. package/lib/module/styles/constants.js.map +1 -0
  669. package/lib/module/styles.css +0 -5
  670. package/lib/module/utils/positionToDataIcon.js +38 -0
  671. package/lib/module/utils/positionToDataIcon.js.map +1 -0
  672. package/lib/typescript/animation/hooks/index.d.ts +5 -0
  673. package/lib/typescript/animation/hooks/index.d.ts.map +1 -0
  674. package/lib/typescript/animation/hooks/useCombinedAnimationDisabledState.d.ts +22 -0
  675. package/lib/typescript/animation/hooks/useCombinedAnimationDisabledState.d.ts.map +1 -0
  676. package/lib/typescript/animation/hooks/usePopupDialogContentAnimation.d.ts +47 -0
  677. package/lib/typescript/animation/hooks/usePopupDialogContentAnimation.d.ts.map +1 -0
  678. package/lib/typescript/animation/hooks/usePopupOverlayAnimation.d.ts +29 -0
  679. package/lib/typescript/animation/hooks/usePopupOverlayAnimation.d.ts.map +1 -0
  680. package/lib/typescript/animation/hooks/usePopupRootAnimation.d.ts +16 -0
  681. package/lib/typescript/animation/hooks/usePopupRootAnimation.d.ts.map +1 -0
  682. package/lib/typescript/animation/index.d.ts +4 -0
  683. package/lib/typescript/animation/index.d.ts.map +1 -0
  684. package/lib/typescript/animation/types.d.ts +105 -0
  685. package/lib/typescript/animation/types.d.ts.map +1 -0
  686. package/lib/typescript/animation/utils.d.ts +120 -0
  687. package/lib/typescript/animation/utils.d.ts.map +1 -0
  688. package/lib/typescript/components/Alert/index.d.ts +67 -0
  689. package/lib/typescript/components/Alert/index.d.ts.map +1 -0
  690. package/lib/typescript/components/Alert/styles.d.ts +19 -0
  691. package/lib/typescript/components/Alert/styles.d.ts.map +1 -0
  692. package/lib/typescript/components/AlertDialog/index.d.ts +10 -7
  693. package/lib/typescript/components/AlertDialog/index.d.ts.map +1 -1
  694. package/lib/typescript/components/Avatar/index.d.ts +14 -2
  695. package/lib/typescript/components/Avatar/index.d.ts.map +1 -1
  696. package/lib/typescript/components/Avatar/styles.d.ts +4 -4
  697. package/lib/typescript/components/Avatar/styles.d.ts.map +1 -1
  698. package/lib/typescript/components/Badge/index.d.ts +14 -0
  699. package/lib/typescript/components/Badge/index.d.ts.map +1 -0
  700. package/lib/typescript/components/Badge/styles.d.ts +18 -0
  701. package/lib/typescript/components/Badge/styles.d.ts.map +1 -0
  702. package/lib/typescript/components/BottomSheet/index.d.ts +2 -2
  703. package/lib/typescript/components/BottomSheet/index.d.ts.map +1 -1
  704. package/lib/typescript/components/BottomSheet/styles.d.ts +4 -8
  705. package/lib/typescript/components/BottomSheet/styles.d.ts.map +1 -1
  706. package/lib/typescript/components/Box/Box.d.ts +0 -3
  707. package/lib/typescript/components/Box/Box.d.ts.map +1 -1
  708. package/lib/typescript/components/Button/index.d.ts +81 -9
  709. package/lib/typescript/components/Button/index.d.ts.map +1 -1
  710. package/lib/typescript/components/Button/styles.d.ts +10 -7
  711. package/lib/typescript/components/Button/styles.d.ts.map +1 -1
  712. package/lib/typescript/components/Card/index.d.ts +12 -2
  713. package/lib/typescript/components/Card/index.d.ts.map +1 -1
  714. package/lib/typescript/components/Card/styles.d.ts +5 -1
  715. package/lib/typescript/components/Card/styles.d.ts.map +1 -1
  716. package/lib/typescript/components/Carousel/index.d.ts +70 -0
  717. package/lib/typescript/components/Carousel/index.d.ts.map +1 -0
  718. package/lib/typescript/components/Carousel/paginationNavigation.d.ts +12 -0
  719. package/lib/typescript/components/Carousel/paginationNavigation.d.ts.map +1 -0
  720. package/lib/typescript/components/Carousel/styles.d.ts +8 -0
  721. package/lib/typescript/components/Carousel/styles.d.ts.map +1 -0
  722. package/lib/typescript/components/Checkbox/index.d.ts +4 -3
  723. package/lib/typescript/components/Checkbox/index.d.ts.map +1 -1
  724. package/lib/typescript/components/Checkbox/styles.d.ts +4 -14
  725. package/lib/typescript/components/Checkbox/styles.d.ts.map +1 -1
  726. package/lib/typescript/components/Chip/index.d.ts +51 -8
  727. package/lib/typescript/components/Chip/index.d.ts.map +1 -1
  728. package/lib/typescript/components/Chip/styles.d.ts +12 -4
  729. package/lib/typescript/components/Chip/styles.d.ts.map +1 -1
  730. package/lib/typescript/components/CurrencyInput/index.d.ts +15 -0
  731. package/lib/typescript/components/CurrencyInput/index.d.ts.map +1 -0
  732. package/lib/typescript/components/CurrencyInput/styles.d.ts +9 -0
  733. package/lib/typescript/components/CurrencyInput/styles.d.ts.map +1 -0
  734. package/lib/typescript/components/Dialog/animation.d.ts +11 -0
  735. package/lib/typescript/components/Dialog/animation.d.ts.map +1 -0
  736. package/lib/typescript/components/Dialog/index.d.ts +43 -13
  737. package/lib/typescript/components/Dialog/index.d.ts.map +1 -1
  738. package/lib/typescript/components/Dialog/styles.d.ts +17 -5
  739. package/lib/typescript/components/Dialog/styles.d.ts.map +1 -1
  740. package/lib/typescript/components/Divider/index.d.ts +21 -0
  741. package/lib/typescript/components/Divider/index.d.ts.map +1 -0
  742. package/lib/typescript/components/Divider/styles.d.ts +12 -0
  743. package/lib/typescript/components/Divider/styles.d.ts.map +1 -0
  744. package/lib/typescript/components/Field/index.d.ts +14 -7
  745. package/lib/typescript/components/Field/index.d.ts.map +1 -1
  746. package/lib/typescript/components/Field/styles.d.ts.map +1 -1
  747. package/lib/typescript/components/Form/index.d.ts +4 -4
  748. package/lib/typescript/components/Form/index.d.ts.map +1 -1
  749. package/lib/typescript/components/Heading/styles.d.ts +1 -1
  750. package/lib/typescript/components/Icon/index.d.ts +5 -5
  751. package/lib/typescript/components/Icon/index.d.ts.map +1 -1
  752. package/lib/typescript/components/IconButton/index.d.ts +14 -4
  753. package/lib/typescript/components/IconButton/index.d.ts.map +1 -1
  754. package/lib/typescript/components/IconButton/styles.d.ts +6 -2
  755. package/lib/typescript/components/IconButton/styles.d.ts.map +1 -1
  756. package/lib/typescript/components/Input/index.d.ts +31 -5
  757. package/lib/typescript/components/Input/index.d.ts.map +1 -1
  758. package/lib/typescript/components/Input/styles.d.ts.map +1 -1
  759. package/lib/typescript/components/InsuranceDisclosure/index.d.ts +10 -0
  760. package/lib/typescript/components/InsuranceDisclosure/index.d.ts.map +1 -0
  761. package/lib/typescript/components/InsuranceDisclosure/styles.d.ts +4 -0
  762. package/lib/typescript/components/InsuranceDisclosure/styles.d.ts.map +1 -0
  763. package/lib/typescript/components/Link/index.d.ts +5 -2
  764. package/lib/typescript/components/Link/index.d.ts.map +1 -1
  765. package/lib/typescript/components/Link/styles.d.ts +9 -2
  766. package/lib/typescript/components/Link/styles.d.ts.map +1 -1
  767. package/lib/typescript/components/ListItem/index.d.ts +28 -6
  768. package/lib/typescript/components/ListItem/index.d.ts.map +1 -1
  769. package/lib/typescript/components/ListItem/styles.d.ts +3 -10
  770. package/lib/typescript/components/ListItem/styles.d.ts.map +1 -1
  771. package/lib/typescript/components/OtpInput/index.d.ts +30 -3
  772. package/lib/typescript/components/OtpInput/index.d.ts.map +1 -1
  773. package/lib/typescript/components/OtpInput/styles.d.ts.map +1 -1
  774. package/lib/typescript/components/ProgressBar/index.d.ts +4 -4
  775. package/lib/typescript/components/ProgressBar/index.d.ts.map +1 -1
  776. package/lib/typescript/components/ProgressSegmented/index.d.ts +14 -3
  777. package/lib/typescript/components/ProgressSegmented/index.d.ts.map +1 -1
  778. package/lib/typescript/components/QuickActionButton/index.d.ts +41 -0
  779. package/lib/typescript/components/QuickActionButton/index.d.ts.map +1 -0
  780. package/lib/typescript/components/QuickActionButton/styles.d.ts +7 -0
  781. package/lib/typescript/components/QuickActionButton/styles.d.ts.map +1 -0
  782. package/lib/typescript/components/Radio/index.d.ts +4 -0
  783. package/lib/typescript/components/Radio/index.d.ts.map +1 -1
  784. package/lib/typescript/components/Radio/styles.d.ts.map +1 -1
  785. package/lib/typescript/components/ScopedTheme/index.d.ts +16 -0
  786. package/lib/typescript/components/ScopedTheme/index.d.ts.map +1 -0
  787. package/lib/typescript/components/Select/index.d.ts +35 -2
  788. package/lib/typescript/components/Select/index.d.ts.map +1 -1
  789. package/lib/typescript/components/Select/styles.d.ts.map +1 -1
  790. package/lib/typescript/components/Skeleton/index.d.ts +9 -0
  791. package/lib/typescript/components/Skeleton/index.d.ts.map +1 -0
  792. package/lib/typescript/components/Skeleton/styles.d.ts +4 -0
  793. package/lib/typescript/components/Skeleton/styles.d.ts.map +1 -0
  794. package/lib/typescript/components/Slider/getSliderPopupPosition.d.ts +10 -0
  795. package/lib/typescript/components/Slider/getSliderPopupPosition.d.ts.map +1 -0
  796. package/lib/typescript/components/Slider/index.d.ts +61 -0
  797. package/lib/typescript/components/Slider/index.d.ts.map +1 -0
  798. package/lib/typescript/components/Slider/styles.d.ts +30 -0
  799. package/lib/typescript/components/Slider/styles.d.ts.map +1 -0
  800. package/lib/typescript/components/Stack/styles.d.ts +2 -2
  801. package/lib/typescript/components/Switch/BaseSwitch.d.ts +12 -5
  802. package/lib/typescript/components/Switch/BaseSwitch.d.ts.map +1 -1
  803. package/lib/typescript/components/Switch/BaseSwitch.web.d.ts +11 -5
  804. package/lib/typescript/components/Switch/BaseSwitch.web.d.ts.map +1 -1
  805. package/lib/typescript/components/Switch/index.d.ts +15 -3
  806. package/lib/typescript/components/Switch/index.d.ts.map +1 -1
  807. package/lib/typescript/components/Text/styles.d.ts +1 -1
  808. package/lib/typescript/components/Textarea/index.d.ts +27 -0
  809. package/lib/typescript/components/Textarea/index.d.ts.map +1 -0
  810. package/lib/typescript/components/Textarea/styles.d.ts +11 -0
  811. package/lib/typescript/components/Textarea/styles.d.ts.map +1 -0
  812. package/lib/typescript/components/Tile/index.d.ts +76 -0
  813. package/lib/typescript/components/Tile/index.d.ts.map +1 -0
  814. package/lib/typescript/components/Tile/styles.d.ts +18 -0
  815. package/lib/typescript/components/Tile/styles.d.ts.map +1 -0
  816. package/lib/typescript/components/Toast/animation.d.ts +21 -0
  817. package/lib/typescript/components/Toast/animation.d.ts.map +1 -0
  818. package/lib/typescript/components/Toast/hooks.d.ts +17 -0
  819. package/lib/typescript/components/Toast/hooks.d.ts.map +1 -0
  820. package/lib/typescript/components/Toast/index.d.ts +28 -0
  821. package/lib/typescript/components/Toast/index.d.ts.map +1 -0
  822. package/lib/typescript/components/Toast/styles.d.ts +73 -0
  823. package/lib/typescript/components/Toast/styles.d.ts.map +1 -0
  824. package/lib/typescript/components/Toast/types.d.ts +308 -0
  825. package/lib/typescript/components/Toast/types.d.ts.map +1 -0
  826. package/lib/typescript/components/VirtualizedList/index.d.ts +2 -1
  827. package/lib/typescript/components/VirtualizedList/index.d.ts.map +1 -1
  828. package/lib/typescript/components/index.d.ts +13 -0
  829. package/lib/typescript/components/index.d.ts.map +1 -1
  830. package/lib/typescript/figma/Alert.Button.figma.d.ts +11 -0
  831. package/lib/typescript/figma/Alert.Button.figma.d.ts.map +1 -0
  832. package/lib/typescript/figma/Alert.Close.figma.d.ts +11 -0
  833. package/lib/typescript/figma/Alert.Close.figma.d.ts.map +1 -0
  834. package/lib/typescript/figma/Alert.Description.figma.d.ts +8 -0
  835. package/lib/typescript/figma/Alert.Description.figma.d.ts.map +1 -0
  836. package/lib/typescript/figma/Alert.Title.figma.d.ts +8 -0
  837. package/lib/typescript/figma/Alert.Title.figma.d.ts.map +1 -0
  838. package/lib/typescript/figma/Alert.figma.d.ts +8 -0
  839. package/lib/typescript/figma/Alert.figma.d.ts.map +1 -0
  840. package/lib/typescript/figma/AlertDialog.Description.figma.d.ts +8 -0
  841. package/lib/typescript/figma/AlertDialog.Description.figma.d.ts.map +1 -0
  842. package/lib/typescript/figma/AlertDialog.Footer.figma.d.ts +8 -0
  843. package/lib/typescript/figma/AlertDialog.Footer.figma.d.ts.map +1 -0
  844. package/lib/typescript/figma/AlertDialog.Header.figma.d.ts +8 -0
  845. package/lib/typescript/figma/AlertDialog.Header.figma.d.ts.map +1 -0
  846. package/lib/typescript/figma/AlertDialog.Text.figma.d.ts +8 -0
  847. package/lib/typescript/figma/AlertDialog.Text.figma.d.ts.map +1 -0
  848. package/lib/typescript/figma/AlertDialog.Title.figma.d.ts +8 -0
  849. package/lib/typescript/figma/AlertDialog.Title.figma.d.ts.map +1 -0
  850. package/lib/typescript/figma/AlertDialog.figma.d.ts +8 -0
  851. package/lib/typescript/figma/AlertDialog.figma.d.ts.map +1 -0
  852. package/lib/typescript/figma/Avatar.figma.d.ts +11 -0
  853. package/lib/typescript/figma/Avatar.figma.d.ts.map +1 -0
  854. package/lib/typescript/figma/Badge.Indicator.figma.d.ts +11 -0
  855. package/lib/typescript/figma/Badge.Indicator.figma.d.ts.map +1 -0
  856. package/lib/typescript/figma/Badge.figma.d.ts +8 -0
  857. package/lib/typescript/figma/Badge.figma.d.ts.map +1 -0
  858. package/lib/typescript/figma/BottomSheet.Footer.figma.d.ts +8 -0
  859. package/lib/typescript/figma/BottomSheet.Footer.figma.d.ts.map +1 -0
  860. package/lib/typescript/figma/BottomSheet.Header.figma.d.ts +8 -0
  861. package/lib/typescript/figma/BottomSheet.Header.figma.d.ts.map +1 -0
  862. package/lib/typescript/figma/BottomSheet.figma.d.ts +8 -0
  863. package/lib/typescript/figma/BottomSheet.figma.d.ts.map +1 -0
  864. package/lib/typescript/figma/Button.figma.d.ts.map +1 -1
  865. package/lib/typescript/figma/Card.Header.figma.d.ts +8 -0
  866. package/lib/typescript/figma/Card.Header.figma.d.ts.map +1 -0
  867. package/lib/typescript/figma/Card.Stripe.figma.d.ts +11 -0
  868. package/lib/typescript/figma/Card.Stripe.figma.d.ts.map +1 -0
  869. package/lib/typescript/figma/Card.figma.d.ts +8 -0
  870. package/lib/typescript/figma/Card.figma.d.ts.map +1 -0
  871. package/lib/typescript/figma/Checkbox.figma.d.ts +8 -0
  872. package/lib/typescript/figma/Checkbox.figma.d.ts.map +1 -0
  873. package/lib/typescript/figma/Chip.figma.d.ts +8 -0
  874. package/lib/typescript/figma/Chip.figma.d.ts.map +1 -0
  875. package/lib/typescript/figma/Dialog.Description.figma.d.ts +8 -0
  876. package/lib/typescript/figma/Dialog.Description.figma.d.ts.map +1 -0
  877. package/lib/typescript/figma/Dialog.Footer.figma.d.ts +8 -0
  878. package/lib/typescript/figma/Dialog.Footer.figma.d.ts.map +1 -0
  879. package/lib/typescript/figma/Dialog.Header.figma.d.ts +8 -0
  880. package/lib/typescript/figma/Dialog.Header.figma.d.ts.map +1 -0
  881. package/lib/typescript/figma/Dialog.Text.figma.d.ts +8 -0
  882. package/lib/typescript/figma/Dialog.Text.figma.d.ts.map +1 -0
  883. package/lib/typescript/figma/Dialog.Title.figma.d.ts +8 -0
  884. package/lib/typescript/figma/Dialog.Title.figma.d.ts.map +1 -0
  885. package/lib/typescript/figma/Dialog.figma.d.ts +8 -0
  886. package/lib/typescript/figma/Dialog.figma.d.ts.map +1 -0
  887. package/lib/typescript/figma/Divider.figma.d.ts +8 -0
  888. package/lib/typescript/figma/Divider.figma.d.ts.map +1 -0
  889. package/lib/typescript/figma/Field.Input.figma.d.ts +8 -0
  890. package/lib/typescript/figma/Field.Input.figma.d.ts.map +1 -0
  891. package/lib/typescript/figma/Field.OtpInput.figma.d.ts +8 -0
  892. package/lib/typescript/figma/Field.OtpInput.figma.d.ts.map +1 -0
  893. package/lib/typescript/figma/Field.Select.figma.d.ts +8 -0
  894. package/lib/typescript/figma/Field.Select.figma.d.ts.map +1 -0
  895. package/lib/typescript/figma/Field.Textarea.figma.d.ts +8 -0
  896. package/lib/typescript/figma/Field.Textarea.figma.d.ts.map +1 -0
  897. package/lib/typescript/figma/Heading.figma.d.ts +8 -0
  898. package/lib/typescript/figma/Heading.figma.d.ts.map +1 -0
  899. package/lib/typescript/figma/Icon.figma.d.ts +8 -0
  900. package/lib/typescript/figma/Icon.figma.d.ts.map +1 -0
  901. package/lib/typescript/figma/IconButton.figma.d.ts +8 -0
  902. package/lib/typescript/figma/IconButton.figma.d.ts.map +1 -0
  903. package/lib/typescript/figma/Input.figma.d.ts +8 -0
  904. package/lib/typescript/figma/Input.figma.d.ts.map +1 -0
  905. package/lib/typescript/figma/Link.figma.d.ts +8 -0
  906. package/lib/typescript/figma/Link.figma.d.ts.map +1 -0
  907. package/lib/typescript/figma/ListItem.Description.figma.d.ts +11 -0
  908. package/lib/typescript/figma/ListItem.Description.figma.d.ts.map +1 -0
  909. package/lib/typescript/figma/ListItem.LeadingSlot.figma.d.ts +8 -0
  910. package/lib/typescript/figma/ListItem.LeadingSlot.figma.d.ts.map +1 -0
  911. package/lib/typescript/figma/ListItem.Meta.figma.d.ts +11 -0
  912. package/lib/typescript/figma/ListItem.Meta.figma.d.ts.map +1 -0
  913. package/lib/typescript/figma/ListItem.SectionHeader.figma.d.ts +8 -0
  914. package/lib/typescript/figma/ListItem.SectionHeader.figma.d.ts.map +1 -0
  915. package/lib/typescript/figma/ListItem.Title.figma.d.ts +11 -0
  916. package/lib/typescript/figma/ListItem.Title.figma.d.ts.map +1 -0
  917. package/lib/typescript/figma/ListItem.TrailingSlot.figma.d.ts +8 -0
  918. package/lib/typescript/figma/ListItem.TrailingSlot.figma.d.ts.map +1 -0
  919. package/lib/typescript/figma/ListItem.figma.d.ts +8 -0
  920. package/lib/typescript/figma/ListItem.figma.d.ts.map +1 -0
  921. package/lib/typescript/figma/OtpInput.Cell.figma.d.ts +8 -0
  922. package/lib/typescript/figma/OtpInput.Cell.figma.d.ts.map +1 -0
  923. package/lib/typescript/figma/OtpInput.figma.d.ts +8 -0
  924. package/lib/typescript/figma/OtpInput.figma.d.ts.map +1 -0
  925. package/lib/typescript/figma/ProgressSegmented.figma.d.ts +8 -0
  926. package/lib/typescript/figma/ProgressSegmented.figma.d.ts.map +1 -0
  927. package/lib/typescript/figma/QuickActionButton.figma.d.ts +8 -0
  928. package/lib/typescript/figma/QuickActionButton.figma.d.ts.map +1 -0
  929. package/lib/typescript/figma/Radio.figma.d.ts.map +1 -1
  930. package/lib/typescript/figma/Select.figma.d.ts +8 -0
  931. package/lib/typescript/figma/Select.figma.d.ts.map +1 -0
  932. package/lib/typescript/figma/Text.figma.d.ts +11 -0
  933. package/lib/typescript/figma/Text.figma.d.ts.map +1 -0
  934. package/lib/typescript/figma/Textarea.figma.d.ts +8 -0
  935. package/lib/typescript/figma/Textarea.figma.d.ts.map +1 -0
  936. package/lib/typescript/figma/icons.figma.batch.d.ts +14 -0
  937. package/lib/typescript/figma/icons.figma.batch.d.ts.map +1 -0
  938. package/lib/typescript/hooks/index.d.ts +2 -0
  939. package/lib/typescript/hooks/index.d.ts.map +1 -0
  940. package/lib/typescript/hooks/useForgeBottomTabScreenOptions.d.ts +137 -0
  941. package/lib/typescript/hooks/useForgeBottomTabScreenOptions.d.ts.map +1 -0
  942. package/lib/typescript/index.d.ts +4 -0
  943. package/lib/typescript/index.d.ts.map +1 -1
  944. package/lib/typescript/metro/withCdxMetroConfig.d.ts +4 -18
  945. package/lib/typescript/metro/withCdxMetroConfig.d.ts.map +1 -1
  946. package/lib/typescript/metro/withForgeMetroConfig.d.ts +19 -0
  947. package/lib/typescript/metro/withForgeMetroConfig.d.ts.map +1 -0
  948. package/lib/typescript/navigation/forgeTabIcon.d.ts +27 -0
  949. package/lib/typescript/navigation/forgeTabIcon.d.ts.map +1 -0
  950. package/lib/typescript/navigation/forgeTabIcon.native.d.ts +15 -0
  951. package/lib/typescript/navigation/forgeTabIcon.native.d.ts.map +1 -0
  952. package/lib/typescript/navigation/index.d.ts +4 -0
  953. package/lib/typescript/navigation/index.d.ts.map +1 -0
  954. package/lib/typescript/navigation/types.d.ts +37 -0
  955. package/lib/typescript/navigation/types.d.ts.map +1 -0
  956. package/lib/typescript/providers/animation-settings/index.d.ts +3 -0
  957. package/lib/typescript/providers/animation-settings/index.d.ts.map +1 -0
  958. package/lib/typescript/providers/animation-settings/provider.d.ts +28 -0
  959. package/lib/typescript/providers/animation-settings/provider.d.ts.map +1 -0
  960. package/lib/typescript/providers/animation-settings/types.d.ts +35 -0
  961. package/lib/typescript/providers/animation-settings/types.d.ts.map +1 -0
  962. package/lib/typescript/providers/forge-design/index.d.ts +3 -0
  963. package/lib/typescript/providers/forge-design/index.d.ts.map +1 -0
  964. package/lib/typescript/providers/forge-design/provider.d.ts +24 -0
  965. package/lib/typescript/providers/forge-design/provider.d.ts.map +1 -0
  966. package/lib/typescript/providers/forge-design/types.d.ts +82 -0
  967. package/lib/typescript/providers/forge-design/types.d.ts.map +1 -0
  968. package/lib/typescript/providers/text-component/index.d.ts +3 -0
  969. package/lib/typescript/providers/text-component/index.d.ts.map +1 -0
  970. package/lib/typescript/providers/text-component/provider.d.ts +7 -0
  971. package/lib/typescript/providers/text-component/provider.d.ts.map +1 -0
  972. package/lib/typescript/providers/text-component/types.d.ts +51 -0
  973. package/lib/typescript/providers/text-component/types.d.ts.map +1 -0
  974. package/lib/typescript/providers/toast/index.d.ts +5 -0
  975. package/lib/typescript/providers/toast/index.d.ts.map +1 -0
  976. package/lib/typescript/providers/toast/insets-container.d.ts +72 -0
  977. package/lib/typescript/providers/toast/insets-container.d.ts.map +1 -0
  978. package/lib/typescript/providers/toast/lifecycle.context.d.ts +32 -0
  979. package/lib/typescript/providers/toast/lifecycle.context.d.ts.map +1 -0
  980. package/lib/typescript/providers/toast/provider.d.ts +32 -0
  981. package/lib/typescript/providers/toast/provider.d.ts.map +1 -0
  982. package/lib/typescript/providers/toast/reducer.d.ts +14 -0
  983. package/lib/typescript/providers/toast/reducer.d.ts.map +1 -0
  984. package/lib/typescript/providers/toast/toast-config.context.d.ts +20 -0
  985. package/lib/typescript/providers/toast/toast-config.context.d.ts.map +1 -0
  986. package/lib/typescript/providers/toast/toast-item-renderer.d.ts +7 -0
  987. package/lib/typescript/providers/toast/toast-item-renderer.d.ts.map +1 -0
  988. package/lib/typescript/providers/toast/types.d.ts +422 -0
  989. package/lib/typescript/providers/toast/types.d.ts.map +1 -0
  990. package/lib/typescript/styles/constants.d.ts +4 -0
  991. package/lib/typescript/styles/constants.d.ts.map +1 -0
  992. package/lib/typescript/utils/positionToDataIcon.d.ts +29 -0
  993. package/lib/typescript/utils/positionToDataIcon.d.ts.map +1 -0
  994. package/package.json +26 -15
  995. package/src/animation/hooks/index.ts +4 -0
  996. package/src/animation/hooks/useCombinedAnimationDisabledState.ts +46 -0
  997. package/src/animation/hooks/usePopupDialogContentAnimation.ts +265 -0
  998. package/src/animation/hooks/usePopupOverlayAnimation.ts +91 -0
  999. package/src/animation/hooks/usePopupRootAnimation.ts +27 -0
  1000. package/src/animation/index.ts +3 -0
  1001. package/src/animation/types.ts +128 -0
  1002. package/src/animation/utils.ts +249 -0
  1003. package/src/components/Alert/index.tsx +318 -0
  1004. package/src/components/Alert/styles.ts +88 -0
  1005. package/src/components/AlertDialog/index.tsx +36 -22
  1006. package/src/components/Avatar/index.tsx +143 -45
  1007. package/src/components/Avatar/styles.ts +49 -34
  1008. package/src/components/Badge/index.tsx +91 -0
  1009. package/src/components/Badge/styles.ts +136 -0
  1010. package/src/components/BottomSheet/index.tsx +107 -50
  1011. package/src/components/BottomSheet/styles.ts +9 -56
  1012. package/src/components/Box/Box.tsx +3 -7
  1013. package/src/components/Button/index.tsx +284 -47
  1014. package/src/components/Button/styles.ts +78 -37
  1015. package/src/components/CLAUDE.md +195 -0
  1016. package/src/components/Card/index.tsx +94 -28
  1017. package/src/components/Card/styles.ts +19 -4
  1018. package/src/components/Carousel/index.tsx +263 -0
  1019. package/src/components/Carousel/paginationNavigation.ts +32 -0
  1020. package/src/components/Carousel/styles.ts +18 -0
  1021. package/src/components/Checkbox/index.tsx +124 -51
  1022. package/src/components/Checkbox/styles.ts +93 -86
  1023. package/src/components/Chip/index.tsx +194 -32
  1024. package/src/components/Chip/styles.ts +224 -22
  1025. package/src/components/CurrencyInput/index.tsx +192 -0
  1026. package/src/components/CurrencyInput/styles.ts +44 -0
  1027. package/src/components/Dialog/animation.ts +13 -0
  1028. package/src/components/Dialog/index.tsx +538 -90
  1029. package/src/components/Dialog/styles.ts +93 -30
  1030. package/src/components/Divider/index.tsx +94 -0
  1031. package/src/components/Divider/styles.ts +86 -0
  1032. package/src/components/Field/index.tsx +121 -50
  1033. package/src/components/Field/styles.ts +6 -5
  1034. package/src/components/Form/index.tsx +18 -14
  1035. package/src/components/Heading/styles.ts +1 -1
  1036. package/src/components/Icon/index.tsx +14 -8
  1037. package/src/components/IconButton/index.tsx +41 -37
  1038. package/src/components/IconButton/styles.ts +136 -10
  1039. package/src/components/Input/index.tsx +95 -33
  1040. package/src/components/Input/styles.ts +35 -12
  1041. package/src/components/InsuranceDisclosure/index.tsx +59 -0
  1042. package/src/components/InsuranceDisclosure/styles.ts +12 -0
  1043. package/src/components/Link/index.tsx +58 -18
  1044. package/src/components/Link/styles.ts +47 -10
  1045. package/src/components/ListItem/index.tsx +157 -87
  1046. package/src/components/ListItem/styles.ts +50 -81
  1047. package/src/components/OtpInput/index.tsx +149 -34
  1048. package/src/components/OtpInput/styles.ts +20 -13
  1049. package/src/components/ProgressBar/index.tsx +11 -16
  1050. package/src/components/ProgressSegmented/index.tsx +45 -14
  1051. package/src/components/QuickActionButton/index.tsx +161 -0
  1052. package/src/components/QuickActionButton/styles.ts +42 -0
  1053. package/src/components/Radio/index.tsx +96 -53
  1054. package/src/components/Radio/styles.ts +37 -14
  1055. package/src/components/ScopedTheme/index.tsx +17 -0
  1056. package/src/components/Select/index.tsx +175 -55
  1057. package/src/components/Select/styles.ts +63 -51
  1058. package/src/components/Skeleton/index.tsx +43 -0
  1059. package/src/components/Skeleton/styles.ts +5 -0
  1060. package/src/components/Slider/getSliderPopupPosition.ts +37 -0
  1061. package/src/components/Slider/index.tsx +456 -0
  1062. package/src/components/Slider/styles.ts +147 -0
  1063. package/src/components/Switch/BaseSwitch.tsx +38 -16
  1064. package/src/components/Switch/BaseSwitch.web.tsx +28 -35
  1065. package/src/components/Switch/index.tsx +61 -6
  1066. package/src/components/Text/styles.ts +2 -2
  1067. package/src/components/Textarea/index.tsx +180 -0
  1068. package/src/components/Textarea/styles.ts +86 -0
  1069. package/src/components/Tile/index.tsx +347 -0
  1070. package/src/components/Tile/styles.ts +82 -0
  1071. package/src/components/Toast/animation.ts +405 -0
  1072. package/src/components/Toast/hooks.ts +93 -0
  1073. package/src/components/Toast/index.tsx +551 -0
  1074. package/src/components/Toast/styles.ts +186 -0
  1075. package/src/components/Toast/types.ts +338 -0
  1076. package/src/components/VirtualizedList/index.tsx +11 -1
  1077. package/src/components/index.ts +13 -0
  1078. package/src/globals.d.ts +1 -0
  1079. package/src/hooks/index.ts +5 -0
  1080. package/src/hooks/useForgeBottomTabScreenOptions.ts +245 -0
  1081. package/src/index.ts +4 -0
  1082. package/src/metro/withCdxMetroConfig.ts +4 -29
  1083. package/src/metro/withForgeMetroConfig.ts +29 -0
  1084. package/src/navigation/forgeTabIcon.native.ts +36 -0
  1085. package/src/navigation/forgeTabIcon.ts +33 -0
  1086. package/src/navigation/index.ts +3 -0
  1087. package/src/navigation/types.ts +54 -0
  1088. package/src/providers/animation-settings/index.ts +11 -0
  1089. package/src/providers/animation-settings/provider.tsx +54 -0
  1090. package/src/providers/animation-settings/types.ts +37 -0
  1091. package/src/providers/forge-design/index.ts +2 -0
  1092. package/src/providers/forge-design/provider.tsx +61 -0
  1093. package/src/providers/forge-design/types.ts +84 -0
  1094. package/src/providers/text-component/index.ts +2 -0
  1095. package/src/providers/text-component/provider.tsx +7 -0
  1096. package/src/providers/text-component/types.ts +52 -0
  1097. package/src/providers/toast/index.ts +4 -0
  1098. package/src/providers/toast/insets-container.tsx +232 -0
  1099. package/src/providers/toast/lifecycle.context.tsx +37 -0
  1100. package/src/providers/toast/provider.tsx +572 -0
  1101. package/src/providers/toast/reducer.ts +40 -0
  1102. package/src/providers/toast/toast-config.context.ts +25 -0
  1103. package/src/providers/toast/toast-item-renderer.tsx +40 -0
  1104. package/src/providers/toast/types.ts +431 -0
  1105. package/src/styles/constants.ts +10 -0
  1106. package/src/styles.css +0 -5
  1107. package/src/utils/positionToDataIcon.ts +34 -0
  1108. package/lib/commonjs/components/Field/FieldLabel.js +0 -33
  1109. package/lib/commonjs/components/Field/FieldLabel.js.map +0 -1
  1110. package/lib/commonjs/components/Field/FieldLabel.web.js +0 -22
  1111. package/lib/commonjs/components/Field/FieldLabel.web.js.map +0 -1
  1112. package/lib/commonjs/components/Form/FormRoot.js +0 -25
  1113. package/lib/commonjs/components/Form/FormRoot.js.map +0 -1
  1114. package/lib/commonjs/components/Form/FormRoot.web.js +0 -17
  1115. package/lib/commonjs/components/Form/FormRoot.web.js.map +0 -1
  1116. package/lib/commonjs/components/Input/BaseInput.android.js +0 -20
  1117. package/lib/commonjs/components/Input/BaseInput.android.js.map +0 -1
  1118. package/lib/commonjs/components/Input/BaseInput.js +0 -13
  1119. package/lib/commonjs/components/Input/BaseInput.js.map +0 -1
  1120. package/lib/commonjs/components/Input/BaseInput.web.js +0 -50
  1121. package/lib/commonjs/components/Input/BaseInput.web.js.map +0 -1
  1122. package/lib/commonjs/components/Select/SelectTriggerHost.js +0 -10
  1123. package/lib/commonjs/components/Select/SelectTriggerHost.js.map +0 -1
  1124. package/lib/commonjs/components/Select/SelectTriggerHost.web.js +0 -98
  1125. package/lib/commonjs/components/Select/SelectTriggerHost.web.js.map +0 -1
  1126. package/lib/commonjs/styles/index.js +0 -17
  1127. package/lib/commonjs/styles/index.js.map +0 -1
  1128. package/lib/commonjs/styles/primitives.js +0 -122
  1129. package/lib/commonjs/styles/primitives.js.map +0 -1
  1130. package/lib/commonjs/utils/WrapStringChild.js +0 -22
  1131. package/lib/commonjs/utils/WrapStringChild.js.map +0 -1
  1132. package/lib/module/components/Field/FieldLabel.js +0 -29
  1133. package/lib/module/components/Field/FieldLabel.js.map +0 -1
  1134. package/lib/module/components/Field/FieldLabel.web.js +0 -17
  1135. package/lib/module/components/Field/FieldLabel.web.js.map +0 -1
  1136. package/lib/module/components/Form/FormRoot.js +0 -21
  1137. package/lib/module/components/Form/FormRoot.js.map +0 -1
  1138. package/lib/module/components/Form/FormRoot.web.js +0 -12
  1139. package/lib/module/components/Form/FormRoot.web.js.map +0 -1
  1140. package/lib/module/components/Input/BaseInput.android.js +0 -16
  1141. package/lib/module/components/Input/BaseInput.android.js.map +0 -1
  1142. package/lib/module/components/Input/BaseInput.js +0 -4
  1143. package/lib/module/components/Input/BaseInput.js.map +0 -1
  1144. package/lib/module/components/Input/BaseInput.web.js +0 -45
  1145. package/lib/module/components/Input/BaseInput.web.js.map +0 -1
  1146. package/lib/module/components/Select/SelectTriggerHost.js +0 -7
  1147. package/lib/module/components/Select/SelectTriggerHost.js.map +0 -1
  1148. package/lib/module/components/Select/SelectTriggerHost.web.js +0 -93
  1149. package/lib/module/components/Select/SelectTriggerHost.web.js.map +0 -1
  1150. package/lib/module/styles/index.js +0 -4
  1151. package/lib/module/styles/index.js.map +0 -1
  1152. package/lib/module/styles/primitives.js +0 -118
  1153. package/lib/module/styles/primitives.js.map +0 -1
  1154. package/lib/module/utils/WrapStringChild.js +0 -18
  1155. package/lib/module/utils/WrapStringChild.js.map +0 -1
  1156. package/lib/typescript/components/Field/FieldLabel.d.ts +0 -18
  1157. package/lib/typescript/components/Field/FieldLabel.d.ts.map +0 -1
  1158. package/lib/typescript/components/Field/FieldLabel.web.d.ts +0 -16
  1159. package/lib/typescript/components/Field/FieldLabel.web.d.ts.map +0 -1
  1160. package/lib/typescript/components/Form/FormRoot.d.ts +0 -14
  1161. package/lib/typescript/components/Form/FormRoot.d.ts.map +0 -1
  1162. package/lib/typescript/components/Form/FormRoot.web.d.ts +0 -10
  1163. package/lib/typescript/components/Form/FormRoot.web.d.ts.map +0 -1
  1164. package/lib/typescript/components/Input/BaseInput.android.d.ts +0 -3
  1165. package/lib/typescript/components/Input/BaseInput.android.d.ts.map +0 -1
  1166. package/lib/typescript/components/Input/BaseInput.d.ts +0 -2
  1167. package/lib/typescript/components/Input/BaseInput.d.ts.map +0 -1
  1168. package/lib/typescript/components/Input/BaseInput.web.d.ts +0 -3
  1169. package/lib/typescript/components/Input/BaseInput.web.d.ts.map +0 -1
  1170. package/lib/typescript/components/Select/SelectTriggerHost.d.ts +0 -3
  1171. package/lib/typescript/components/Select/SelectTriggerHost.d.ts.map +0 -1
  1172. package/lib/typescript/components/Select/SelectTriggerHost.web.d.ts +0 -13
  1173. package/lib/typescript/components/Select/SelectTriggerHost.web.d.ts.map +0 -1
  1174. package/lib/typescript/styles/index.d.ts +0 -2
  1175. package/lib/typescript/styles/index.d.ts.map +0 -1
  1176. package/lib/typescript/styles/primitives.d.ts +0 -85
  1177. package/lib/typescript/styles/primitives.d.ts.map +0 -1
  1178. package/lib/typescript/utils/WrapStringChild.d.ts +0 -10
  1179. package/lib/typescript/utils/WrapStringChild.d.ts.map +0 -1
  1180. package/src/components/Field/FieldLabel.tsx +0 -33
  1181. package/src/components/Field/FieldLabel.web.tsx +0 -25
  1182. package/src/components/Form/FormRoot.tsx +0 -20
  1183. package/src/components/Form/FormRoot.web.tsx +0 -12
  1184. package/src/components/Input/BaseInput.android.tsx +0 -13
  1185. package/src/components/Input/BaseInput.tsx +0 -1
  1186. package/src/components/Input/BaseInput.web.tsx +0 -41
  1187. package/src/components/Select/SelectTriggerHost.tsx +0 -4
  1188. package/src/components/Select/SelectTriggerHost.web.tsx +0 -136
  1189. package/src/styles/index.ts +0 -1
  1190. package/src/styles/primitives.ts +0 -106
  1191. package/src/utils/WrapStringChild.tsx +0 -25
@@ -1 +1 @@
1
- {"version":3,"names":["_react","require","_reactNative","_icons","_primitives","_utils","_Icon","_SelectTriggerHost","_styles","_jsxRuntime","SCOPE","Root","withStyleContext","View","useSelectStyleContext","useStyleContext","SelectPrimitive","createSelect","Trigger","SelectTriggerHost","Value","Text","Icon","Content","Item","Pressable","ItemLabel","SelectRoot","forwardRef","variant","size","className","children","style","props","ref","jsx","context","displayName","SelectTrigger","computedClassName","cn","selectTriggerVariants","jsxs","SelectIcon","as","ArrowDropDown","SelectValue","selectValueVariants","selectIconVariants","SelectContent","selectContentVariants","SelectItem","selectItemVariants","SelectItemLabel","selectItemLabelVariants","Select","exports","Object","assign"],"sourceRoot":"../../../../src","sources":["components/Select/index.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,WAAA,GAAAH,OAAA;AASA,IAAAI,MAAA,GAAAJ,OAAA;AACA,IAAAK,KAAA,GAAAL,OAA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S,EAAES,iBAAkB;IAACP,KAAK,EAAEA,KAAM;IAAA,GAAKC,KAAK;IAAAF,QAAA,EAClFA;EAAQ,CACW,CAAC;AAE3B,CACF,CAAC;AAEDoB,UAAU,CAACd,WAAW,GAAG,aAAa;;AAEtC;AACA;AACA;;AAMA,MAAMgB,eAAe,gBAAG,IAAA1B,iBAAU,EAChC,CAAC;EAAEG,SAAS;EAAEE,KAAK;EAAE,GAAGC;AAAM,CAAC,EAAEC,GAAG,KAAK;EACvC,MAAM;IAAEL;EAAK,CAAC,GAAGhB,qBAAqB,CAAC,CAAC;EAExC,MAAM0B,iBAAiB,GAAG,IAAAC,SAAE,EAAC,IAAAc,+BAAuB,EAAC;IAAEzB;EAAK,CAAC,CAAC,EAAEC,SAAS,CAAC;EAE1E,oBACE,IAAAtB,WAAA,CAAA2B,GAAA,EAACpB,eAAe,CAACU,SAAS;IAACS,GAAG,EAAEA,GAAI;IAACJ,SAAS,EAAES,iBAAkB;IAACP,KAAK,EAAEA,KAAM;IAAA,GAAKC;EAAK,CAAG,CAAC;AAElG,CACF,CAAC;AAEDoB,eAAe,CAAChB,WAAW,GAAG,kBAAkB;;AAEhD;AACA;AACA;;AAWO,MAAMkB,MAAM,GAAAC,OAAA,CAAAD,MAAA,GAAGE,MAAM,CAACC,MAAM,CAAChC,UAAU,EAAE;EAC9CT,OAAO,EAAEqB,aAAa;EACtBnB,KAAK,EAAE2B,WAAW;EAClBzB,IAAI,EAAEsB,UAAU;EAChBrB,OAAO,EAAE2B,aAAa;EACtB1B,IAAI,EAAE4B,UAAU;EAChB1B,SAAS,EAAE4B;AACb,CAAC,CAA4B","ignoreList":[]}
1
+ {"version":3,"names":["_react","require","_reactNative","_icons","_primitives","_utils","_Icon","_positionToDataIcon","_styles","_jsxRuntime","SCOPE","useSelectStyleContext","useStyleContext","SelectRoot","forwardRef","variant","size","className","children","style","props","ref","parent","useParentContext","ctx","useMemo","jsx","ParentContext","Provider","value","mergeDataAttributes","dataAttributes","slot","displayName","SelectTrigger","asChild","open","useSelectContext","computedClassName","cn","selectTriggerVariants","jsxs","Fragment","SelectIcon","as","KeyboardArrowUp","KeyboardArrowDown","SelectValue","placeholder","items","invalid","hasValue","undefined","showPlaceholder","displayText","find","item","label","selectValueVariants","Comp","Slot","Text","position","selectIconVariants","slotData","positionToDataIcon","Icon","SelectContent","selectContentVariants","SelectItem","selectItemVariants","SelectItemLabel","checked","useSelectItemContext","selectItemLabelVariants","state","Select","exports","Object","assign","Trigger","Value","Content","Item","ItemLabel"],"sourceRoot":"../../../../src","sources":["components/Select/index.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,MAAA,GAAAF,OAAA;AACA,IAAAG,WAAA,GAAAH,OAAA;AAiBA,IAAAI,MAAA,GAAAJ,OAAA;AACA,IAAAK,KAAA,GAAAL,OAAA;AACA,IAAAM,mBAAA,GAAAN,OAAA;AACA,IAAAO,OAAA,GAAAP,OAAA;AAQkB,IAAAQ,WAAA,GAAAR,OAAA;AAElB,MAAMS,KAAK,GAAG,QAAQ;AAEtB,MAAMC,qBAAqB,GAAGA,CAAA,KAAM,IAAAC,sBAAe,EAACF,KAAK,CAAuB;;AAEhF;AACA;AACA;;AAMA,MAAMG,UAAU,gBAAG,IAAAC,iBAAU,EAC3B,CAAC;EAAEC,OAAO,GAAG,SAAS;EAAEC,IAAI,GAAG,SAAS;EAAEC,SAAS;EAAEC,QAAQ;EAAEC,KAAK;EAAE,GAAGC;AAAM,CAAC,EAAEC,GAAG,KAAK;EACxF,MAAMC,MAAM,GAAG,IAAAC,uBAAgB,EAAC,CAAC;EACjC,MAAMC,GAAG,GAAG,IAAAC,cAAO,EAAC,OAAO;IAAE,GAAGH,MAAM;IAAE,CAACZ,KAAK,GAAG;MAAEK,OAAO;MAAEC;IAAK;EAAE,CAAC,CAAC,EAAE,CAACM,MAAM,EAAEP,OAAO,EAAEC,IAAI,CAAC,CAAC;E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C;AAEX,CACF,CAAC;AAEDqD,eAAe,CAACtC,WAAW,GAAG,kBAAkB;;AAEhD;AACA;AACA;;AAWO,MAAM2C,MAAM,GAAAC,OAAA,CAAAD,MAAA,GAAGE,MAAM,CAACC,MAAM,CAAClE,UAAU,EAAE;EAC9CmE,OAAO,EAAE9C,aAAa;EACtB+C,KAAK,EAAElC,WAAW;EAClBmB,IAAI,EAAEvB,UAAU;EAChBuC,OAAO,EAAEf,aAAa;EACtBgB,IAAI,EAAEd,UAAU;EAChBe,SAAS,EAAEb;AACb,CAAC,CAA4B","ignoreList":[]}
@@ -6,20 +6,25 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.selectValueVariants = exports.selectTriggerVariants = exports.selectItemVariants = exports.selectItemLabelVariants = exports.selectIconVariants = exports.selectContentVariants = void 0;
7
7
  var _reactNative = require("react-native");
8
8
  var _classVarianceAuthority = require("class-variance-authority");
9
- var _primitives = require("../../styles/primitives");
9
+ var _constants = require("../../styles/constants");
10
10
  // ── Trigger ─────────────────────────────────────────────────
11
11
 
12
- const selectTriggerVariants = exports.selectTriggerVariants = (0, _classVarianceAuthority.cva)(['flex w-full min-w-0 flex-row items-center justify-between text-start', _primitives.RADIUS_SM, _primitives.SHADOW_SM, _primitives.TRANSITION_COLORS, _primitives.COLOR_BG_PRIMARY, `border ${_primitives.COLOR_BORDER_DEFAULT}`, _primitives.DISABLED_OPACITY, _primitives.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', _reactNative.Platform.select({
13
- default: 'data-[active=true]:border-slate-300',
14
- 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(' ')
15
- })], {
12
+ const selectTriggerVariants = exports.selectTriggerVariants = (0, _classVarianceAuthority.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)]', _constants.TRANSITION_COLORS, 'data-[disabled=true]:bg-surface-secondary', 'data-[disabled=true]:opacity-[var(--opacity-disabled)]', _constants.DISABLED_CURSOR, 'data-[readonly=true]:cursor-default', 'data-[readonly=true]:bg-surface-secondary', 'web:data-[hover=true]:data-[focus=false]:data-[invalid=false]:border-stroke-hover',
13
+ // Web: inset ring avoids a border-width change so no padding compensation is needed.
14
+ // Recolor the border to match the ring so the two read as a single focus outline
15
+ // instead of a gray border + colored ring.
16
+ 'web:data-[focus=true]:ring-inset', 'web:data-[focus=true]:ring-[length:var(--border-width-focused)]', 'web:data-[focus=true]:data-[invalid=false]:ring-stroke-action', 'web:data-[focus=true]:data-[invalid=false]:border-stroke-action', 'web:data-[focus=true]:data-[invalid=true]:ring-stroke-danger', 'web:data-[focus=true]:data-[invalid=true]:border-stroke-danger', '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',
17
+ // Native: thicker border; size variants below compensate the layout shift.
18
+ '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'], {
16
19
  variants: {
17
20
  variant: {
18
21
  outline: []
19
22
  },
20
23
  size: {
21
- default: `${_primitives.SIZE_SCALE.default.height} ${_primitives.SIZE_SCALE.default.px} ${_primitives.SIZE_SCALE.default.gap}`,
22
- small: `${_primitives.SIZE_SCALE.small.height} ${_primitives.SIZE_SCALE.small.px} ${_primitives.SIZE_SCALE.small.gap}`
24
+ default: ['h-11 min-h-11 px-4 py-3 gap-4',
25
+ // Native only: subtract one hairline so the wider focus border doesn't shift layout.
26
+ '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))]'],
27
+ 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))]']
23
28
  }
24
29
  },
25
30
  defaultVariants: {
@@ -30,11 +35,11 @@ const selectTriggerVariants = exports.selectTriggerVariants = (0, _classVariance
30
35
 
31
36
  // ── Value ───────────────────────────────────────────────────
32
37
 
33
- const selectValueVariants = exports.selectValueVariants = (0, _classVarianceAuthority.cva)(['min-w-0 flex-1 text-start', 'data-[placeholder=true]:text-slate-400', 'data-[invalid=true]:text-red-600', _primitives.COLOR_TEXT_PRIMARY], {
38
+ const selectValueVariants = exports.selectValueVariants = (0, _classVarianceAuthority.cva)(['min-w-0 flex-1 text-start', 'text-content-primary', 'data-[placeholder=true]:text-content-tertiary', 'data-[invalid=true]:text-content-danger'], {
34
39
  variants: {
35
40
  size: {
36
- default: _primitives.SIZE_SCALE.default.text,
37
- small: _primitives.SIZE_SCALE.small.text
41
+ default: 'text-[0.875rem]',
42
+ small: 'text-[0.75rem]'
38
43
  }
39
44
  },
40
45
  defaultVariants: {
@@ -44,11 +49,11 @@ const selectValueVariants = exports.selectValueVariants = (0, _classVarianceAuth
44
49
 
45
50
  // ── Icon ────────────────────────────────────────────────────
46
51
 
47
- const selectIconVariants = exports.selectIconVariants = (0, _classVarianceAuthority.cva)(['shrink-0 items-center justify-center self-center', _primitives.COLOR_TEXT_MUTED, 'data-[invalid=true]:text-red-500'], {
52
+ const selectIconVariants = exports.selectIconVariants = (0, _classVarianceAuthority.cva)(['shrink-0 items-center justify-center self-center', 'text-content-tertiary', 'data-[invalid=true]:text-content-danger'], {
48
53
  variants: {
49
54
  size: {
50
- default: 'h-5 w-5',
51
- small: 'h-4 w-4'
55
+ default: 'size-5',
56
+ small: 'size-4'
52
57
  }
53
58
  },
54
59
  defaultVariants: {
@@ -58,16 +63,16 @@ const selectIconVariants = exports.selectIconVariants = (0, _classVarianceAuthor
58
63
 
59
64
  // ── Content ─────────────────────────────────────────────────
60
65
 
61
- const selectContentVariants = exports.selectContentVariants = (0, _classVarianceAuthority.cva)([_primitives.COLOR_BG_PRIMARY, `border ${_primitives.COLOR_BORDER_DEFAULT}`, 'overflow-hidden', _primitives.RADIUS_MD, _reactNative.Platform.select({
62
- web: _primitives.SHADOW_MD,
66
+ const selectContentVariants = exports.selectContentVariants = (0, _classVarianceAuthority.cva)(['bg-surface-primary', 'border border-stroke-secondary', 'overflow-hidden', 'rounded-xl', _reactNative.Platform.select({
67
+ web: 'shadow-sm',
63
68
  default: ''
64
69
  }), 'max-h-60', 'py-1']);
65
70
 
66
71
  // ── Item ────────────────────────────────────────────────────
67
72
 
68
- const selectItemVariants = exports.selectItemVariants = (0, _classVarianceAuthority.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', _reactNative.Platform.select({
69
- default: 'data-[active=true]:bg-slate-100',
70
- web: 'data-[hover=true]:bg-slate-50 data-[active=true]:data-[hover=true]:bg-slate-100 data-[highlighted=true]:bg-slate-50'
73
+ const selectItemVariants = exports.selectItemVariants = (0, _classVarianceAuthority.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', _reactNative.Platform.select({
74
+ default: 'data-[active=true]:bg-surface-action-tint-active',
75
+ 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'
71
76
  })], {
72
77
  variants: {
73
78
  size: {
@@ -82,11 +87,11 @@ const selectItemVariants = exports.selectItemVariants = (0, _classVarianceAuthor
82
87
 
83
88
  // ── ItemLabel ───────────────────────────────────────────────
84
89
 
85
- const selectItemLabelVariants = exports.selectItemLabelVariants = (0, _classVarianceAuthority.cva)([_primitives.COLOR_TEXT_PRIMARY, 'data-[state=checked]:font-medium'], {
90
+ const selectItemLabelVariants = exports.selectItemLabelVariants = (0, _classVarianceAuthority.cva)(['text-content-primary', 'data-[state=checked]:font-medium'], {
86
91
  variants: {
87
92
  size: {
88
- default: _primitives.SIZE_SCALE.default.text,
89
- small: _primitives.SIZE_SCALE.small.text
93
+ default: 'text-[0.875rem]',
94
+ small: 'text-[0.75rem]'
90
95
  }
91
96
  },
92
97
  defaultVariants: {
@@ -1 +1 @@
1
- {"version":3,"names":["_reactNative","require","_classVarianceAuthority","_primitives","selectTriggerVariants","exports","cva","RADIUS_SM","SHADOW_SM","TRANSITION_COLORS","COLOR_BG_PRIMARY","COLOR_BORDER_DEFAULT","DISABLED_OPACITY","DISABLED_CURSOR","Platform","select","default","web","join","variants","variant","outline","size","SIZE_SCALE","height","px","gap","small","defaultVariants","selectValueVariants","COLOR_TEXT_PRIMARY","text","selectIconVariants","COLOR_TEXT_MUTED","selectContentVariants","RADIUS_MD","SHADOW_MD","selectItemVariants","selectItemLabelVariants"],"sourceRoot":"../../../../src","sources":["components/Select/styles.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,uBAAA,GAAAD,OAAA;AACA,IAAAE,WAAA,GAAAF,OAAA;AAeA;;AAEO,MAAM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IAAI;MAChCJ,KAAK,EAAEJ,sBAAU,CAACI,KAAK,CAACI;IAC1B;EACF,CAAC;EACDH,eAAe,EAAE;IACfN,IAAI,EAAE;EACR;AACF,CACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_reactNative","require","_classVarianceAuthority","_constants","selectTriggerVariants","exports","cva","TRANSITION_COLORS","DISABLED_CURSOR","variants","variant","outline","size","default","small","defaultVariants","selectValueVariants","selectIconVariants","selectContentVariants","Platform","select","web","selectItemVariants","selectItemLabelVariants"],"sourceRoot":"../../../../src","sources":["components/Select/styles.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AACA,IAAAC,uBAAA,GAAAD,OAAA;AACA,IAAAE,UAAA,GAAAF,OAAA;AAEA;;AAEO,MAAMG,qBAAqB,GAAAC,OAAA,CAAAD,qBAAA,GAAG,IAAAE,2BAAG,EACtC,CACE,sEAAsE,EACtE,oBAAoB,EACpB,8BAA8B,EAC9B,wCAAwC,EACxCC,4BAAiB,EACjB,2CAA2C,EAC3C,wDAAwD,EACxDC,0BAAe,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;EACEC,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,wEAAwE,EACxE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AE;AACP,CAAC,CAAC,CACH,EACD;EACEZ,QAAQ,EAAE;IACRG,IAAI,EAAE;MACJC,OAAO,EAAE,WAAW;MACpBC,KAAK,EAAE;IACT;EACF,CAAC;EACDC,eAAe,EAAE;IACfH,IAAI,EAAE;EACR;AACF,CACF,CAAC;;AAED;;AAEO,MAAMW,uBAAuB,GAAAlB,OAAA,CAAAkB,uBAAA,GAAG,IAAAjB,2BAAG,EACxC,CAAC,sBAAsB,EAAE,kCAAkC,CAAC,EAC5D;EACEG,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,39 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.Skeleton = void 0;
7
+ var _react = require("react");
8
+ var _reactNativeReanimated = _interopRequireWildcard(require("react-native-reanimated"));
9
+ var _utils = require("@cdx-ui/utils");
10
+ var _styles = require("./styles");
11
+ var _jsxRuntime = require("react/jsx-runtime");
12
+ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function (e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != typeof e && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (const t in e) "default" !== t && {}.hasOwnProperty.call(e, t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, t)) && (i.get || i.set) ? o(f, t, i) : f[t] = e[t]); return f; })(e, t); }
13
+ const Skeleton = exports.Skeleton = /*#__PURE__*/(0, _react.forwardRef)(({
14
+ className,
15
+ style,
16
+ duration = 1000,
17
+ ...props
18
+ }, ref) => {
19
+ const opacity = (0, _reactNativeReanimated.useSharedValue)(1);
20
+ (0, _react.useEffect)(() => {
21
+ opacity.set((0, _reactNativeReanimated.withRepeat)((0, _reactNativeReanimated.withTiming)(0.35, {
22
+ duration,
23
+ easing: _reactNativeReanimated.Easing.inOut(_reactNativeReanimated.Easing.ease)
24
+ }), -1, true));
25
+ }, [duration, opacity]);
26
+
27
+ // Explicit deps for Vite/web without the Reanimated Babel plugin.
28
+ const animatedStyle = (0, _reactNativeReanimated.useAnimatedStyle)(() => ({
29
+ opacity: opacity.get()
30
+ }), [opacity]);
31
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNativeReanimated.default.View, {
32
+ ref: ref,
33
+ className: (0, _utils.cn)((0, _styles.skeletonVariants)(), className),
34
+ style: [animatedStyle, style],
35
+ ...props
36
+ });
37
+ });
38
+ Skeleton.displayName = 'Skeleton';
39
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","require","_reactNativeReanimated","_interopRequireWildcard","_utils","_styles","_jsxRuntime","e","t","WeakMap","r","n","__esModule","o","i","f","__proto__","default","has","get","set","hasOwnProperty","call","Object","defineProperty","getOwnPropertyDescriptor","Skeleton","exports","forwardRef","className","style","duration","props","ref","opacity","useSharedValue","useEffect","withRepeat","withTiming","easing","Easing","inOut","ease","animatedStyle","useAnimatedStyle","jsx","View","cn","skeletonVariants","displayName"],"sourceRoot":"../../../../src","sources":["components/Skeleton/index.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AAEA,IAAAC,sBAAA,GAAAC,uBAAA,CAAAF,OAAA;AAOA,IAAAG,MAAA,GAAAH,OAAA;AACA,IAAAI,OAAA,GAAAJ,OAAA;AAA4C,IAAAK,WAAA,GAAAL,OAAA;AAAA,SAAAE,wBAAAI,CAAA,EAAAC,CAAA,6BAAAC,OAAA,MAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAN,uBAAA,YAAAA,CAAAI,CAAA,EAAAC,CAAA,SAAAA,CAAA,I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EAAE,CAAC,CAAC,EAAE,IAAI,CACxF,CAAC;EACH,CAAC,EAAE,CAACX,QAAQ,EAAEG,OAAO,CAAC,CAAC;;EAEvB;EACA,MAAMS,aAAa,GAAG,IAAAC,uCAAgB,EAAC,OAAO;IAAEV,OAAO,EAAEA,OAAO,CAACf,GAAG,CAAC;EAAE,CAAC,CAAC,EAAE,CAACe,OAAO,CAAC,CAAC;EAErF,oBACE,IAAA5B,WAAA,CAAAuC,GAAA,EAAC3C,sBAAA,CAAAe,OAAQ,CAAC6B,IAAI;IACZb,GAAG,EAAEA,GAAI;IACTJ,SAAS,EAAE,IAAAkB,SAAE,EAAC,IAAAC,wBAAgB,EAAC,CAAC,EAAEnB,SAAS,CAAE;IAC7CC,KAAK,EAAE,CAACa,aAAa,EAAEb,KAAK,CAAE;IAAA,GAC1BE;EAAK,CACV,CAAC;AAEN,CACF,CAAC;AAEDN,QAAQ,CAACuB,WAAW,GAAG,UAAU","ignoreList":[]}
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.skeletonVariants = void 0;
7
+ var _classVarianceAuthority = require("class-variance-authority");
8
+ const skeletonVariants = exports.skeletonVariants = (0, _classVarianceAuthority.cva)(['bg-surface-neutral-subtle', 'rounded-md']);
9
+ //# sourceMappingURL=styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_classVarianceAuthority","require","skeletonVariants","exports","cva"],"sourceRoot":"../../../../src","sources":["components/Skeleton/styles.ts"],"mappings":";;;;;;AAAA,IAAAA,uBAAA,GAAAC,OAAA;AAEO,MAAMC,gBAAgB,GAAAC,OAAA,CAAAD,gBAAA,GAAG,IAAAE,2BAAG,EAAC,CAAC,2BAA2B,EAAE,YAAY,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,43 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.SLIDER_POPUP_Z_INDEX = exports.SLIDER_POPUP_OFFSET = void 0;
7
+ exports.getSliderPopupAnchorStyle = getSliderPopupAnchorStyle;
8
+ var _reactNative = require("react-native");
9
+ const SLIDER_POPUP_OFFSET = exports.SLIDER_POPUP_OFFSET = 8;
10
+ const SLIDER_POPUP_Z_INDEX = exports.SLIDER_POPUP_Z_INDEX = 9999;
11
+
12
+ /**
13
+ * Popover-style placement for the slider value tooltip, modeled after anchored
14
+ * popover content positioning (placement + offset relative to a measured trigger).
15
+ */
16
+ function getSliderPopupAnchorStyle(anchor, orientation, offset = SLIDER_POPUP_OFFSET) {
17
+ const position = _reactNative.Platform.OS === 'web' ? 'fixed' : 'absolute';
18
+ if (orientation === 'vertical') {
19
+ const centerY = anchor.y + anchor.height / 2;
20
+ return {
21
+ position,
22
+ left: anchor.x + anchor.width + offset,
23
+ top: centerY,
24
+ zIndex: SLIDER_POPUP_Z_INDEX,
25
+ transform: [{
26
+ translateY: '-50%'
27
+ }]
28
+ };
29
+ }
30
+ const centerX = anchor.x + anchor.width / 2;
31
+ return {
32
+ position,
33
+ left: centerX,
34
+ top: anchor.y - offset,
35
+ zIndex: SLIDER_POPUP_Z_INDEX,
36
+ transform: [{
37
+ translateX: '-50%'
38
+ }, {
39
+ translateY: '-100%'
40
+ }]
41
+ };
42
+ }
43
+ //# sourceMappingURL=getSliderPopupPosition.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_reactNative","require","SLIDER_POPUP_OFFSET","exports","SLIDER_POPUP_Z_INDEX","getSliderPopupAnchorStyle","anchor","orientation","offset","position","Platform","OS","centerY","y","height","left","x","width","top","zIndex","transform","translateY","centerX","translateX"],"sourceRoot":"../../../../src","sources":["components/Slider/getSliderPopupPosition.ts"],"mappings":";;;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAGO,MAAMC,mBAAmB,GAAAC,OAAA,CAAAD,mBAAA,GAAG,CAAC;AAC7B,MAAME,oBAAoB,GAAAD,OAAA,CAAAC,oBAAA,GAAG,IAAI;;AAExC;AACA;AACA;AACA;AACO,SAASC,yBAAyBA,CACvCC,MAAoB,EACpBC,WAA8B,EAC9BC,MAAM,GAAGN,mBAAmB,EACjB;EACX,MAAMO,QAAQ,GAAIC,qBAAQ,CAACC,EAAE,KAAK,KAAK,GAAG,OAAO,GAAG,UAAoC;EAExF,IAAIJ,WAAW,KAAK,UAAU,EAAE;IAC9B,MAAMK,OAAO,GAAGN,MAAM,CAACO,CAAC,GAAGP,MAAM,CAACQ,MAAM,GAAG,CAAC;IAC5C,OAAO;MACLL,QAAQ;MACRM,IAAI,EAAET,MAAM,CAACU,CAAC,GAAGV,MAAM,CAACW,KAAK,GAAGT,MAAM;MACtCU,GAAG,EAAEN,OAAO;MACZO,MAAM,EAAEf,oBAAoB;MAC5BgB,SAAS,EAAE,CAAC;QAAEC,UAAU,EAAE;MAAO,CAAC;IACpC,CAAC;EACH;EAEA,MAAMC,OAAO,GAAGhB,MAAM,CAACU,CAAC,GAAGV,MAAM,CAACW,KAAK,GAAG,CAAC;EAC3C,OAAO;IACLR,QAAQ;IACRM,IAAI,EAAEO,OAAO;IACbJ,GAAG,EAAEZ,MAAM,CAACO,CAAC,GAAGL,MAAM;IACtBW,MAAM,EAAEf,oBAAoB;IAC5BgB,SAAS,EAAE,CAAC;MAAEG,UAAU,EAAE;IAAO,CAAC,EAAE;MAAEF,UAAU,EAAE;IAAQ,CAAC;EAC7D,CAAC;AACH","ignoreList":[]}
@@ -0,0 +1,363 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.Slider = void 0;
7
+ var _react = require("react");
8
+ var _reactNative = require("react-native");
9
+ var _primitives = require("@cdx-ui/primitives");
10
+ var _utils = require("@cdx-ui/utils");
11
+ var _styles = require("./styles");
12
+ var _getSliderPopupPosition = require("./getSliderPopupPosition");
13
+ var _jsxRuntime = require("react/jsx-runtime");
14
+ const SCOPE = 'SLIDER';
15
+ const useSliderStyleContext = () => {
16
+ const {
17
+ color,
18
+ orientation
19
+ } = (0, _utils.useStyleContext)(SCOPE);
20
+ return {
21
+ color,
22
+ orientation: orientation ?? 'horizontal'
23
+ };
24
+ };
25
+ const SliderRoot = /*#__PURE__*/(0, _react.forwardRef)(({
26
+ className,
27
+ style,
28
+ color = 'action',
29
+ orientation = 'horizontal',
30
+ children,
31
+ isDisabled,
32
+ ...props
33
+ }, ref) => {
34
+ const parent = (0, _utils.useParentContext)();
35
+ const ctx = (0, _react.useMemo)(() => ({
36
+ ...parent,
37
+ [SCOPE]: {
38
+ color,
39
+ orientation
40
+ }
41
+ }), [color, orientation, parent]);
42
+ const computedClassName = (0, _utils.cn)((0, _styles.sliderRootVariants)({
43
+ orientation
44
+ }), className);
45
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_utils.ParentContext.Provider, {
46
+ value: ctx,
47
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_primitives.SliderRoot, {
48
+ ref: ref,
49
+ className: computedClassName,
50
+ style: style,
51
+ orientation: orientation,
52
+ isDisabled: isDisabled,
53
+ ...props,
54
+ children: children
55
+ })
56
+ });
57
+ });
58
+ SliderRoot.displayName = 'Slider';
59
+ const SliderRail = /*#__PURE__*/(0, _react.forwardRef)(({
60
+ className,
61
+ style,
62
+ children,
63
+ ...props
64
+ }, ref) => {
65
+ const {
66
+ orientation,
67
+ color
68
+ } = useSliderStyleContext();
69
+ const computedClassName = (0, _utils.cn)((0, _styles.sliderRailVariants)({
70
+ orientation
71
+ }), (0, _styles.sliderRailColorVariants)({
72
+ color
73
+ }), className);
74
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_primitives.SliderRail, {
75
+ ref: ref,
76
+ className: computedClassName,
77
+ style: style,
78
+ ...props,
79
+ children: children
80
+ });
81
+ });
82
+ SliderRail.displayName = 'Slider.Rail';
83
+ const SliderTrack = /*#__PURE__*/(0, _react.forwardRef)(({
84
+ asChild,
85
+ className,
86
+ style,
87
+ children,
88
+ testID,
89
+ ...props
90
+ }, ref) => {
91
+ const {
92
+ color,
93
+ orientation
94
+ } = useSliderStyleContext();
95
+ const {
96
+ percent,
97
+ isDragging,
98
+ trackLayout,
99
+ thumbSize
100
+ } = (0, _primitives.useSliderContext)();
101
+ const fillStyle = (0, _react.useMemo)(() => {
102
+ const trackSize = trackLayout == null ? 0 : orientation === 'horizontal' ? trackLayout.width : trackLayout.height;
103
+ if (trackSize <= 0) {
104
+ return orientation === 'vertical' ? {
105
+ position: 'absolute',
106
+ left: 0,
107
+ right: 0,
108
+ bottom: 0,
109
+ height: 0
110
+ } : {
111
+ position: 'absolute',
112
+ top: 0,
113
+ bottom: 0,
114
+ left: 0,
115
+ width: 0
116
+ };
117
+ }
118
+ const extent = (0, _primitives.percentToFillExtent)(percent, trackSize, thumbSize);
119
+ if (orientation === 'vertical') {
120
+ return {
121
+ position: 'absolute',
122
+ left: 0,
123
+ right: 0,
124
+ bottom: 0,
125
+ height: extent
126
+ };
127
+ }
128
+ return {
129
+ position: 'absolute',
130
+ top: 0,
131
+ bottom: 0,
132
+ left: 0,
133
+ width: extent
134
+ };
135
+ }, [orientation, percent, thumbSize, trackLayout]);
136
+ const computedClassName = (0, _utils.cn)((0, _styles.sliderTrackVariants)({
137
+ orientation
138
+ }), (0, _styles.sliderTrackColorVariants)({
139
+ color
140
+ }), className);
141
+ const Comp = asChild ? _primitives.Slot : _reactNative.View;
142
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(Comp, {
143
+ ref: ref,
144
+ testID: testID,
145
+ className: computedClassName,
146
+ pointerEvents: "none",
147
+ style: [fillStyle, style],
148
+ accessibilityElementsHidden: true,
149
+ importantForAccessibility: "no-hide-descendants",
150
+ ...(0, _primitives.mergeDataAttributes)(props, (0, _primitives.dataAttributes)({
151
+ slot: 'slider-track',
152
+ dragging: isDragging
153
+ })),
154
+ children: children
155
+ });
156
+ });
157
+ SliderTrack.displayName = 'Slider.Track';
158
+ const SliderThumb = /*#__PURE__*/(0, _react.forwardRef)(({
159
+ className,
160
+ style,
161
+ children,
162
+ ...props
163
+ }, ref) => {
164
+ const {
165
+ color
166
+ } = useSliderStyleContext();
167
+ const computedClassName = (0, _utils.cn)((0, _styles.sliderThumbVariants)({
168
+ color
169
+ }), className);
170
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_primitives.SliderThumb, {
171
+ ref: ref,
172
+ className: computedClassName,
173
+ style: style,
174
+ ...props,
175
+ children: children
176
+ });
177
+ });
178
+ SliderThumb.displayName = 'Slider.Thumb';
179
+ function dataOrientation(orientation) {
180
+ return {
181
+ 'data-orientation': orientation ?? 'horizontal'
182
+ };
183
+ }
184
+ function renderPopupLabel(children, getValueLabel) {
185
+ if (children == null || typeof children === 'string' || typeof children === 'number') {
186
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Text, {
187
+ className: "text-content-primary text-xs font-medium select-none",
188
+ selectable: false,
189
+ children: children ?? getValueLabel()
190
+ });
191
+ }
192
+ return children;
193
+ }
194
+ const SliderPopup = /*#__PURE__*/(0, _react.forwardRef)(({
195
+ asChild,
196
+ className,
197
+ style,
198
+ children,
199
+ ...props
200
+ }, ref) => {
201
+ const {
202
+ orientation
203
+ } = useSliderStyleContext();
204
+ const {
205
+ isDragging,
206
+ isHovered,
207
+ isFocused,
208
+ getValueLabel,
209
+ thumbRef,
210
+ percent
211
+ } = (0, _primitives.useSliderContext)();
212
+ const portalName = (0, _react.useId)();
213
+ const visible = isDragging || isHovered || isFocused;
214
+ const anchorLayout = (0, _primitives.useAnchorPosition)(thumbRef, visible, {
215
+ remeasureKey: percent,
216
+ trackWhileOpen: true
217
+ });
218
+ if (!visible || anchorLayout == null) {
219
+ return null;
220
+ }
221
+ const label = renderPopupLabel(children, getValueLabel);
222
+ const computedClassName = (0, _utils.cn)((0, _styles.sliderPopupBaseVariants)(), className);
223
+ const Comp = asChild ? _primitives.Slot : _reactNative.View;
224
+ const anchorStyle = (0, _getSliderPopupPosition.getSliderPopupAnchorStyle)(anchorLayout, orientation);
225
+ const popup = /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
226
+ pointerEvents: "none",
227
+ style: anchorStyle,
228
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(Comp, {
229
+ ref: ref,
230
+ className: computedClassName,
231
+ style: style,
232
+ accessibilityElementsHidden: true,
233
+ importantForAccessibility: "no-hide-descendants",
234
+ ...(0, _primitives.mergeDataAttributes)(props, (0, _primitives.dataAttributes)({
235
+ slot: 'slider-popup',
236
+ visible: true
237
+ }), dataOrientation(orientation)),
238
+ children: label
239
+ })
240
+ });
241
+ if (_reactNative.Platform.OS === 'web' && _primitives.createPortalFn && typeof document !== 'undefined') {
242
+ return (0, _primitives.createPortalFn)(popup, document.body);
243
+ }
244
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(_primitives.Portal, {
245
+ name: portalName,
246
+ children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
247
+ pointerEvents: "box-none",
248
+ style: [_reactNative.StyleSheet.absoluteFill, {
249
+ zIndex: _getSliderPopupPosition.SLIDER_POPUP_Z_INDEX
250
+ }],
251
+ children: popup
252
+ })
253
+ });
254
+ });
255
+ SliderPopup.displayName = 'Slider.Popup';
256
+ const SliderMarker = /*#__PURE__*/(0, _react.forwardRef)(({
257
+ asChild,
258
+ className,
259
+ style,
260
+ value,
261
+ testID,
262
+ ...props
263
+ }, ref) => {
264
+ const {
265
+ value: currentValue,
266
+ min,
267
+ max,
268
+ orientation,
269
+ trackLayout,
270
+ thumbSize
271
+ } = (0, _primitives.useSliderContext)();
272
+ const markerStyle = (0, _react.useMemo)(() => {
273
+ if (value == null) {
274
+ return undefined;
275
+ }
276
+ const percent = (0, _primitives.valueToPercent)(value, min, max);
277
+ return (0, _primitives.getMarkerPositionStyle)(percent, orientation, trackLayout, thumbSize);
278
+ }, [max, min, orientation, thumbSize, trackLayout, value]);
279
+ const isFilled = value != null && value <= currentValue;
280
+ const computedClassName = (0, _utils.cn)((0, _styles.sliderMarkerVariants)({
281
+ filled: isFilled
282
+ }), className);
283
+ const Comp = asChild ? _primitives.Slot : _reactNative.View;
284
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(Comp, {
285
+ ref: ref,
286
+ testID: testID,
287
+ className: computedClassName,
288
+ style: [markerStyle, style],
289
+ accessibilityElementsHidden: true,
290
+ importantForAccessibility: "no-hide-descendants",
291
+ ...(0, _primitives.mergeDataAttributes)(props, (0, _primitives.dataAttributes)({
292
+ slot: 'slider-marker',
293
+ value: value == null ? undefined : String(value),
294
+ filled: isFilled
295
+ }))
296
+ });
297
+ });
298
+ SliderMarker.displayName = 'Slider.Marker';
299
+ function isSliderMarkerElement(child) {
300
+ if (! /*#__PURE__*/(0, _react.isValidElement)(child)) {
301
+ return false;
302
+ }
303
+ const type = child.type;
304
+ return type.displayName === 'Slider.Marker';
305
+ }
306
+ const SliderMarkerGroup = /*#__PURE__*/(0, _react.forwardRef)(({
307
+ asChild,
308
+ className,
309
+ style,
310
+ children,
311
+ testID,
312
+ ...props
313
+ }, ref) => {
314
+ const {
315
+ min,
316
+ max,
317
+ step
318
+ } = (0, _primitives.useSliderContext)();
319
+ const markers = (0, _react.useMemo)(() => {
320
+ if (step <= 0 || max <= min) {
321
+ return null;
322
+ }
323
+ const childList = _react.Children.toArray(children);
324
+ if (childList.length === 0) {
325
+ return null;
326
+ }
327
+ const templateMarker = childList.find(child => isSliderMarkerElement(child) && child.props.value == null);
328
+ if (templateMarker) {
329
+ return (0, _primitives.getMarkerStepValues)(min, max, step).map(markerValue => /*#__PURE__*/(0, _react.cloneElement)(templateMarker, {
330
+ key: markerValue,
331
+ value: markerValue
332
+ }));
333
+ }
334
+ return childList;
335
+ }, [children, max, min, step]);
336
+ if (!markers) {
337
+ return null;
338
+ }
339
+ const Comp = asChild ? _primitives.Slot : _reactNative.View;
340
+ return /*#__PURE__*/(0, _jsxRuntime.jsx)(Comp, {
341
+ ref: ref,
342
+ testID: testID,
343
+ className: (0, _utils.cn)('absolute inset-0 z-[1]', className),
344
+ style: style,
345
+ pointerEvents: "none",
346
+ accessibilityElementsHidden: true,
347
+ importantForAccessibility: "no-hide-descendants",
348
+ ...(0, _primitives.mergeDataAttributes)(props, (0, _primitives.dataAttributes)({
349
+ slot: 'slider-marker-group'
350
+ })),
351
+ children: markers
352
+ });
353
+ });
354
+ SliderMarkerGroup.displayName = 'Slider.MarkerGroup';
355
+ const Slider = exports.Slider = Object.assign(SliderRoot, {
356
+ Rail: SliderRail,
357
+ Track: SliderTrack,
358
+ Thumb: SliderThumb,
359
+ Popup: SliderPopup,
360
+ MarkerGroup: SliderMarkerGroup,
361
+ Marker: SliderMarker
362
+ });
363
+ //# sourceMappingURL=index.js.map