@cdx-ui/components 0.0.1-beta.14 → 0.0.1-beta.140

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 (1299) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +39 -20
  3. package/lib/commonjs/animation/hooks/index.js +50 -0
  4. package/lib/commonjs/animation/hooks/index.js.map +1 -0
  5. package/lib/commonjs/animation/hooks/useCombinedAnimationDisabledState.js +50 -0
  6. package/lib/commonjs/animation/hooks/useCombinedAnimationDisabledState.js.map +1 -0
  7. package/lib/commonjs/animation/hooks/usePopupDialogContentAnimation.js +175 -0
  8. package/lib/commonjs/animation/hooks/usePopupDialogContentAnimation.js.map +1 -0
  9. package/lib/commonjs/animation/hooks/usePopupOverlayAnimation.js +69 -0
  10. package/lib/commonjs/animation/hooks/usePopupOverlayAnimation.js.map +1 -0
  11. package/lib/commonjs/animation/hooks/usePopupRootAnimation.js +26 -0
  12. package/lib/commonjs/animation/hooks/usePopupRootAnimation.js.map +1 -0
  13. package/lib/commonjs/animation/index.js +39 -0
  14. package/lib/commonjs/animation/index.js.map +1 -0
  15. package/lib/commonjs/animation/types.js +6 -0
  16. package/lib/commonjs/animation/types.js.map +1 -0
  17. package/lib/commonjs/animation/utils.js +223 -0
  18. package/lib/commonjs/animation/utils.js.map +1 -0
  19. package/lib/commonjs/components/Alert/index.js +263 -0
  20. package/lib/commonjs/components/Alert/index.js.map +1 -0
  21. package/lib/commonjs/components/Alert/styles.js +87 -0
  22. package/lib/commonjs/components/Alert/styles.js.map +1 -0
  23. package/lib/commonjs/components/AlertDialog/index.js +32 -16
  24. package/lib/commonjs/components/AlertDialog/index.js.map +1 -1
  25. package/lib/commonjs/components/Avatar/index.js +135 -26
  26. package/lib/commonjs/components/Avatar/index.js.map +1 -1
  27. package/lib/commonjs/components/Avatar/styles.js +37 -30
  28. package/lib/commonjs/components/Avatar/styles.js.map +1 -1
  29. package/lib/commonjs/components/Badge/index.js +86 -0
  30. package/lib/commonjs/components/Badge/index.js.map +1 -0
  31. package/lib/commonjs/components/Badge/styles.js +127 -0
  32. package/lib/commonjs/components/Badge/styles.js.map +1 -0
  33. package/lib/commonjs/components/BottomSheet/index.js +75 -27
  34. package/lib/commonjs/components/BottomSheet/index.js.map +1 -1
  35. package/lib/commonjs/components/BottomSheet/styles.js +10 -45
  36. package/lib/commonjs/components/BottomSheet/styles.js.map +1 -1
  37. package/lib/commonjs/components/Box/Box.js +1 -11
  38. package/lib/commonjs/components/Box/Box.js.map +1 -1
  39. package/lib/commonjs/components/Breadcrumbs/index.js +219 -0
  40. package/lib/commonjs/components/Breadcrumbs/index.js.map +1 -0
  41. package/lib/commonjs/components/Breadcrumbs/styles.js +38 -0
  42. package/lib/commonjs/components/Breadcrumbs/styles.js.map +1 -0
  43. package/lib/commonjs/components/Button/index.js +143 -29
  44. package/lib/commonjs/components/Button/index.js.map +1 -1
  45. package/lib/commonjs/components/Button/styles.js +98 -33
  46. package/lib/commonjs/components/Button/styles.js.map +1 -1
  47. package/lib/commonjs/components/CLAUDE.md +195 -0
  48. package/lib/commonjs/components/Card/index.js +74 -15
  49. package/lib/commonjs/components/Card/index.js.map +1 -1
  50. package/lib/commonjs/components/Card/styles.js +21 -7
  51. package/lib/commonjs/components/Card/styles.js.map +1 -1
  52. package/lib/commonjs/components/Carousel/context.js +13 -0
  53. package/lib/commonjs/components/Carousel/context.js.map +1 -0
  54. package/lib/commonjs/components/Carousel/index.js +158 -0
  55. package/lib/commonjs/components/Carousel/index.js.map +1 -0
  56. package/lib/commonjs/components/Carousel/navButton.js +119 -0
  57. package/lib/commonjs/components/Carousel/navButton.js.map +1 -0
  58. package/lib/commonjs/components/Carousel/paginationNavigation.js +35 -0
  59. package/lib/commonjs/components/Carousel/paginationNavigation.js.map +1 -0
  60. package/lib/commonjs/components/Carousel/styles.js +44 -0
  61. package/lib/commonjs/components/Carousel/styles.js.map +1 -0
  62. package/lib/commonjs/components/Carousel/useCarouselActiveIndex.js +52 -0
  63. package/lib/commonjs/components/Carousel/useCarouselActiveIndex.js.map +1 -0
  64. package/lib/commonjs/components/Checkbox/index.js +89 -48
  65. package/lib/commonjs/components/Checkbox/index.js.map +1 -1
  66. package/lib/commonjs/components/Checkbox/styles.js +46 -50
  67. package/lib/commonjs/components/Checkbox/styles.js.map +1 -1
  68. package/lib/commonjs/components/Chip/index.js +115 -18
  69. package/lib/commonjs/components/Chip/index.js.map +1 -1
  70. package/lib/commonjs/components/Chip/styles.js +181 -24
  71. package/lib/commonjs/components/Chip/styles.js.map +1 -1
  72. package/lib/commonjs/components/CurrencyInput/index.js +157 -0
  73. package/lib/commonjs/components/CurrencyInput/index.js.map +1 -0
  74. package/lib/commonjs/components/CurrencyInput/styles.js +31 -0
  75. package/lib/commonjs/components/CurrencyInput/styles.js.map +1 -0
  76. package/lib/commonjs/components/Dialog/animation.js +13 -0
  77. package/lib/commonjs/components/Dialog/animation.js.map +1 -0
  78. package/lib/commonjs/components/Dialog/index.js +403 -66
  79. package/lib/commonjs/components/Dialog/index.js.map +1 -1
  80. package/lib/commonjs/components/Dialog/styles.js +67 -17
  81. package/lib/commonjs/components/Dialog/styles.js.map +1 -1
  82. package/lib/commonjs/components/Divider/index.js +98 -0
  83. package/lib/commonjs/components/Divider/index.js.map +1 -0
  84. package/lib/commonjs/components/Divider/styles.js +75 -0
  85. package/lib/commonjs/components/Divider/styles.js.map +1 -0
  86. package/lib/commonjs/components/Field/index.js +77 -27
  87. package/lib/commonjs/components/Field/index.js.map +1 -1
  88. package/lib/commonjs/components/Field/styles.js +9 -9
  89. package/lib/commonjs/components/Field/styles.js.map +1 -1
  90. package/lib/commonjs/components/Form/index.js +5 -12
  91. package/lib/commonjs/components/Form/index.js.map +1 -1
  92. package/lib/commonjs/components/Form/styles.js +2 -2
  93. package/lib/commonjs/components/Form/styles.js.map +1 -1
  94. package/lib/commonjs/components/Heading/styles.js +3 -3
  95. package/lib/commonjs/components/Heading/styles.js.map +1 -1
  96. package/lib/commonjs/components/Icon/index.js +12 -5
  97. package/lib/commonjs/components/Icon/index.js.map +1 -1
  98. package/lib/commonjs/components/IconButton/index.js +24 -35
  99. package/lib/commonjs/components/IconButton/index.js.map +1 -1
  100. package/lib/commonjs/components/IconButton/styles.js +138 -13
  101. package/lib/commonjs/components/IconButton/styles.js.map +1 -1
  102. package/lib/commonjs/components/Input/index.js +50 -20
  103. package/lib/commonjs/components/Input/index.js.map +1 -1
  104. package/lib/commonjs/components/Input/styles.js +23 -10
  105. package/lib/commonjs/components/Input/styles.js.map +1 -1
  106. package/lib/commonjs/components/InsuranceDisclosure/index.js +56 -0
  107. package/lib/commonjs/components/InsuranceDisclosure/index.js.map +1 -0
  108. package/lib/commonjs/components/InsuranceDisclosure/styles.js +11 -0
  109. package/lib/commonjs/components/InsuranceDisclosure/styles.js.map +1 -0
  110. package/lib/commonjs/components/Link/index.js +35 -9
  111. package/lib/commonjs/components/Link/index.js.map +1 -1
  112. package/lib/commonjs/components/Link/styles.js +55 -8
  113. package/lib/commonjs/components/Link/styles.js.map +1 -1
  114. package/lib/commonjs/components/ListItem/index.js +132 -79
  115. package/lib/commonjs/components/ListItem/index.js.map +1 -1
  116. package/lib/commonjs/components/ListItem/styles.js +31 -59
  117. package/lib/commonjs/components/ListItem/styles.js.map +1 -1
  118. package/lib/commonjs/components/OtpInput/index.js +114 -36
  119. package/lib/commonjs/components/OtpInput/index.js.map +1 -1
  120. package/lib/commonjs/components/OtpInput/styles.js +10 -8
  121. package/lib/commonjs/components/OtpInput/styles.js.map +1 -1
  122. package/lib/commonjs/components/ProgressBar/index.js +8 -13
  123. package/lib/commonjs/components/ProgressBar/index.js.map +1 -1
  124. package/lib/commonjs/components/ProgressBar/styles.js +3 -3
  125. package/lib/commonjs/components/ProgressBar/styles.js.map +1 -1
  126. package/lib/commonjs/components/ProgressSegmented/index.js +24 -10
  127. package/lib/commonjs/components/ProgressSegmented/index.js.map +1 -1
  128. package/lib/commonjs/components/ProgressSegmented/styles.js +5 -5
  129. package/lib/commonjs/components/ProgressSegmented/styles.js.map +1 -1
  130. package/lib/commonjs/components/QuickActionButton/index.js +133 -0
  131. package/lib/commonjs/components/QuickActionButton/index.js.map +1 -0
  132. package/lib/commonjs/components/QuickActionButton/styles.js +17 -0
  133. package/lib/commonjs/components/QuickActionButton/styles.js.map +1 -0
  134. package/lib/commonjs/components/Radio/index.js +66 -51
  135. package/lib/commonjs/components/Radio/index.js.map +1 -1
  136. package/lib/commonjs/components/Radio/styles.js +24 -11
  137. package/lib/commonjs/components/Radio/styles.js.map +1 -1
  138. package/lib/commonjs/components/ScopedTheme/index.js +24 -0
  139. package/lib/commonjs/components/ScopedTheme/index.js.map +1 -0
  140. package/lib/commonjs/components/ScrollShadow/index.js +82 -0
  141. package/lib/commonjs/components/ScrollShadow/index.js.map +1 -0
  142. package/lib/commonjs/components/ScrollShadow/styles.js +54 -0
  143. package/lib/commonjs/components/ScrollShadow/styles.js.map +1 -0
  144. package/lib/commonjs/components/ScrollShadow/useScrollShadow.js +83 -0
  145. package/lib/commonjs/components/ScrollShadow/useScrollShadow.js.map +1 -0
  146. package/lib/commonjs/components/Select/index.js +111 -39
  147. package/lib/commonjs/components/Select/index.js.map +1 -1
  148. package/lib/commonjs/components/Select/styles.js +27 -22
  149. package/lib/commonjs/components/Select/styles.js.map +1 -1
  150. package/lib/commonjs/components/Skeleton/index.js +39 -0
  151. package/lib/commonjs/components/Skeleton/index.js.map +1 -0
  152. package/lib/commonjs/components/Skeleton/styles.js +9 -0
  153. package/lib/commonjs/components/Skeleton/styles.js.map +1 -0
  154. package/lib/commonjs/components/Slider/getSliderPopupPosition.js +43 -0
  155. package/lib/commonjs/components/Slider/getSliderPopupPosition.js.map +1 -0
  156. package/lib/commonjs/components/Slider/index.js +363 -0
  157. package/lib/commonjs/components/Slider/index.js.map +1 -0
  158. package/lib/commonjs/components/Slider/styles.js +112 -0
  159. package/lib/commonjs/components/Slider/styles.js.map +1 -0
  160. package/lib/commonjs/components/Stack/styles.js +3 -3
  161. package/lib/commonjs/components/Stack/styles.js.map +1 -1
  162. package/lib/commonjs/components/Switch/BaseSwitch.js +23 -13
  163. package/lib/commonjs/components/Switch/BaseSwitch.js.map +1 -1
  164. package/lib/commonjs/components/Switch/BaseSwitch.web.js +25 -21
  165. package/lib/commonjs/components/Switch/BaseSwitch.web.js.map +1 -1
  166. package/lib/commonjs/components/Switch/index.js +34 -3
  167. package/lib/commonjs/components/Switch/index.js.map +1 -1
  168. package/lib/commonjs/components/Switch/styles.js +8 -8
  169. package/lib/commonjs/components/Switch/styles.js.map +1 -1
  170. package/lib/commonjs/components/Tabs/index.js +527 -0
  171. package/lib/commonjs/components/Tabs/index.js.map +1 -0
  172. package/lib/commonjs/components/Tabs/styles.js +333 -0
  173. package/lib/commonjs/components/Tabs/styles.js.map +1 -0
  174. package/lib/commonjs/components/Text/styles.js +3 -3
  175. package/lib/commonjs/components/Text/styles.js.map +1 -1
  176. package/lib/commonjs/components/Textarea/index.js +135 -0
  177. package/lib/commonjs/components/Textarea/index.js.map +1 -0
  178. package/lib/commonjs/components/Textarea/styles.js +49 -0
  179. package/lib/commonjs/components/Textarea/styles.js.map +1 -0
  180. package/lib/commonjs/components/Tile/index.js +150 -77
  181. package/lib/commonjs/components/Tile/index.js.map +1 -1
  182. package/lib/commonjs/components/Tile/styles.js +11 -11
  183. package/lib/commonjs/components/Tile/styles.js.map +1 -1
  184. package/lib/commonjs/components/Toast/animation.js +331 -0
  185. package/lib/commonjs/components/Toast/animation.js.map +1 -0
  186. package/lib/commonjs/components/Toast/hooks.js +67 -0
  187. package/lib/commonjs/components/Toast/hooks.js.map +1 -0
  188. package/lib/commonjs/components/Toast/index.js +508 -0
  189. package/lib/commonjs/components/Toast/index.js.map +1 -0
  190. package/lib/commonjs/components/Toast/styles.js +141 -0
  191. package/lib/commonjs/components/Toast/styles.js.map +1 -0
  192. package/lib/commonjs/components/Toast/types.js +6 -0
  193. package/lib/commonjs/components/Toast/types.js.map +1 -0
  194. package/lib/commonjs/components/VirtualizedList/index.js.map +1 -1
  195. package/lib/commonjs/components/index.js +180 -0
  196. package/lib/commonjs/components/index.js.map +1 -1
  197. package/lib/commonjs/figma/Alert.Button.figma.js +31 -0
  198. package/lib/commonjs/figma/Alert.Button.figma.js.map +1 -0
  199. package/lib/commonjs/figma/Alert.Close.figma.js +24 -0
  200. package/lib/commonjs/figma/Alert.Close.figma.js.map +1 -0
  201. package/lib/commonjs/figma/Alert.Description.figma.js +20 -0
  202. package/lib/commonjs/figma/Alert.Description.figma.js.map +1 -0
  203. package/lib/commonjs/figma/Alert.Title.figma.js +20 -0
  204. package/lib/commonjs/figma/Alert.Title.figma.js.map +1 -0
  205. package/lib/commonjs/figma/Alert.figma.js +42 -0
  206. package/lib/commonjs/figma/Alert.figma.js.map +1 -0
  207. package/lib/commonjs/figma/AlertDialog.Description.figma.js +20 -0
  208. package/lib/commonjs/figma/AlertDialog.Description.figma.js.map +1 -0
  209. package/lib/commonjs/figma/AlertDialog.Footer.figma.js +41 -0
  210. package/lib/commonjs/figma/AlertDialog.Footer.figma.js.map +1 -0
  211. package/lib/commonjs/figma/AlertDialog.Header.figma.js +28 -0
  212. package/lib/commonjs/figma/AlertDialog.Header.figma.js.map +1 -0
  213. package/lib/commonjs/figma/AlertDialog.Text.figma.js +20 -0
  214. package/lib/commonjs/figma/AlertDialog.Text.figma.js.map +1 -0
  215. package/lib/commonjs/figma/AlertDialog.Title.figma.js +27 -0
  216. package/lib/commonjs/figma/AlertDialog.Title.figma.js.map +1 -0
  217. package/lib/commonjs/figma/AlertDialog.figma.js +43 -0
  218. package/lib/commonjs/figma/AlertDialog.figma.js.map +1 -0
  219. package/lib/commonjs/figma/Avatar.figma.js +57 -0
  220. package/lib/commonjs/figma/Avatar.figma.js.map +1 -0
  221. package/lib/commonjs/figma/Badge.Indicator.figma.js +47 -0
  222. package/lib/commonjs/figma/Badge.Indicator.figma.js.map +1 -0
  223. package/lib/commonjs/figma/Badge.figma.js +65 -0
  224. package/lib/commonjs/figma/Badge.figma.js.map +1 -0
  225. package/lib/commonjs/figma/BottomSheet.Footer.figma.js +31 -0
  226. package/lib/commonjs/figma/BottomSheet.Footer.figma.js.map +1 -0
  227. package/lib/commonjs/figma/BottomSheet.Header.figma.js +30 -0
  228. package/lib/commonjs/figma/BottomSheet.Header.figma.js.map +1 -0
  229. package/lib/commonjs/figma/BottomSheet.figma.js +54 -0
  230. package/lib/commonjs/figma/BottomSheet.figma.js.map +1 -0
  231. package/lib/commonjs/figma/Button.figma.js +4 -7
  232. package/lib/commonjs/figma/Button.figma.js.map +1 -1
  233. package/lib/commonjs/figma/CLAUDE.md +30 -0
  234. package/lib/commonjs/figma/Card.Header.figma.js +28 -0
  235. package/lib/commonjs/figma/Card.Header.figma.js.map +1 -0
  236. package/lib/commonjs/figma/Card.Stripe.figma.js +20 -0
  237. package/lib/commonjs/figma/Card.Stripe.figma.js.map +1 -0
  238. package/lib/commonjs/figma/Card.figma.js +45 -0
  239. package/lib/commonjs/figma/Card.figma.js.map +1 -0
  240. package/lib/commonjs/figma/Checkbox.figma.js +55 -0
  241. package/lib/commonjs/figma/Checkbox.figma.js.map +1 -0
  242. package/lib/commonjs/figma/Chip.figma.js +68 -0
  243. package/lib/commonjs/figma/Chip.figma.js.map +1 -0
  244. package/lib/commonjs/figma/Dialog.Description.figma.js +20 -0
  245. package/lib/commonjs/figma/Dialog.Description.figma.js.map +1 -0
  246. package/lib/commonjs/figma/Dialog.Footer.figma.js +30 -0
  247. package/lib/commonjs/figma/Dialog.Footer.figma.js.map +1 -0
  248. package/lib/commonjs/figma/Dialog.Header.figma.js +34 -0
  249. package/lib/commonjs/figma/Dialog.Header.figma.js.map +1 -0
  250. package/lib/commonjs/figma/Dialog.Text.figma.js +20 -0
  251. package/lib/commonjs/figma/Dialog.Text.figma.js.map +1 -0
  252. package/lib/commonjs/figma/Dialog.Title.figma.js +27 -0
  253. package/lib/commonjs/figma/Dialog.Title.figma.js.map +1 -0
  254. package/lib/commonjs/figma/Dialog.figma.js +51 -0
  255. package/lib/commonjs/figma/Dialog.figma.js.map +1 -0
  256. package/lib/commonjs/figma/Divider.figma.js +32 -0
  257. package/lib/commonjs/figma/Divider.figma.js.map +1 -0
  258. package/lib/commonjs/figma/Field.Input.figma.js +57 -0
  259. package/lib/commonjs/figma/Field.Input.figma.js.map +1 -0
  260. package/lib/commonjs/figma/Field.OtpInput.figma.js +52 -0
  261. package/lib/commonjs/figma/Field.OtpInput.figma.js.map +1 -0
  262. package/lib/commonjs/figma/Field.Select.figma.js +57 -0
  263. package/lib/commonjs/figma/Field.Select.figma.js.map +1 -0
  264. package/lib/commonjs/figma/Field.Textarea.figma.js +57 -0
  265. package/lib/commonjs/figma/Field.Textarea.figma.js.map +1 -0
  266. package/lib/commonjs/figma/Heading.figma.js +30 -0
  267. package/lib/commonjs/figma/Heading.figma.js.map +1 -0
  268. package/lib/commonjs/figma/Icon.figma.js +20 -0
  269. package/lib/commonjs/figma/Icon.figma.js.map +1 -0
  270. package/lib/commonjs/figma/IconButton.figma.js +47 -0
  271. package/lib/commonjs/figma/IconButton.figma.js.map +1 -0
  272. package/lib/commonjs/figma/Input.figma.js +52 -0
  273. package/lib/commonjs/figma/Input.figma.js.map +1 -0
  274. package/lib/commonjs/figma/Link.figma.js +30 -0
  275. package/lib/commonjs/figma/Link.figma.js.map +1 -0
  276. package/lib/commonjs/figma/ListItem.Description.figma.js +23 -0
  277. package/lib/commonjs/figma/ListItem.Description.figma.js.map +1 -0
  278. package/lib/commonjs/figma/ListItem.LeadingSlot.figma.js +24 -0
  279. package/lib/commonjs/figma/ListItem.LeadingSlot.figma.js.map +1 -0
  280. package/lib/commonjs/figma/ListItem.Meta.figma.js +23 -0
  281. package/lib/commonjs/figma/ListItem.Meta.figma.js.map +1 -0
  282. package/lib/commonjs/figma/ListItem.SectionHeader.figma.js +24 -0
  283. package/lib/commonjs/figma/ListItem.SectionHeader.figma.js.map +1 -0
  284. package/lib/commonjs/figma/ListItem.Title.figma.js +23 -0
  285. package/lib/commonjs/figma/ListItem.Title.figma.js.map +1 -0
  286. package/lib/commonjs/figma/ListItem.TrailingSlot.figma.js +24 -0
  287. package/lib/commonjs/figma/ListItem.TrailingSlot.figma.js.map +1 -0
  288. package/lib/commonjs/figma/ListItem.figma.js +50 -0
  289. package/lib/commonjs/figma/ListItem.figma.js.map +1 -0
  290. package/lib/commonjs/figma/OtpInput.Cell.figma.js +55 -0
  291. package/lib/commonjs/figma/OtpInput.Cell.figma.js.map +1 -0
  292. package/lib/commonjs/figma/OtpInput.figma.js +42 -0
  293. package/lib/commonjs/figma/OtpInput.figma.js.map +1 -0
  294. package/lib/commonjs/figma/ProgressSegmented.figma.js +39 -0
  295. package/lib/commonjs/figma/ProgressSegmented.figma.js.map +1 -0
  296. package/lib/commonjs/figma/QuickActionButton.figma.js +38 -0
  297. package/lib/commonjs/figma/QuickActionButton.figma.js.map +1 -0
  298. package/lib/commonjs/figma/Radio.figma.js +8 -6
  299. package/lib/commonjs/figma/Radio.figma.js.map +1 -1
  300. package/lib/commonjs/figma/Select.figma.js +53 -0
  301. package/lib/commonjs/figma/Select.figma.js.map +1 -0
  302. package/lib/commonjs/figma/Text.figma.js +32 -0
  303. package/lib/commonjs/figma/Text.figma.js.map +1 -0
  304. package/lib/commonjs/figma/Textarea.figma.js +47 -0
  305. package/lib/commonjs/figma/Textarea.figma.js.map +1 -0
  306. package/lib/commonjs/figma/icons.figma.batch.js +27 -0
  307. package/lib/commonjs/figma/icons.figma.batch.js.map +1 -0
  308. package/lib/commonjs/figma/icons.figma.batch.json +17705 -0
  309. package/lib/commonjs/globals.d.js +2 -0
  310. package/lib/commonjs/globals.d.js.map +1 -0
  311. package/lib/commonjs/hooks/index.js +19 -0
  312. package/lib/commonjs/hooks/index.js.map +1 -0
  313. package/lib/commonjs/hooks/useForgeBottomTabScreenOptions.js +246 -0
  314. package/lib/commonjs/hooks/useForgeBottomTabScreenOptions.js.map +1 -0
  315. package/lib/commonjs/index.js +47 -0
  316. package/lib/commonjs/index.js.map +1 -1
  317. package/lib/commonjs/metro/withCdxMetroConfig.js +7 -18
  318. package/lib/commonjs/metro/withCdxMetroConfig.js.map +1 -1
  319. package/lib/commonjs/metro/withForgeMetroConfig.js +24 -0
  320. package/lib/commonjs/metro/withForgeMetroConfig.js.map +1 -0
  321. package/lib/commonjs/navigation/forgeTabIcon.js +43 -0
  322. package/lib/commonjs/navigation/forgeTabIcon.js.map +1 -0
  323. package/lib/commonjs/navigation/forgeTabIcon.native.js +35 -0
  324. package/lib/commonjs/navigation/forgeTabIcon.native.js.map +1 -0
  325. package/lib/commonjs/navigation/index.js +13 -0
  326. package/lib/commonjs/navigation/index.js.map +1 -0
  327. package/lib/commonjs/navigation/types.js +38 -0
  328. package/lib/commonjs/navigation/types.js.map +1 -0
  329. package/lib/commonjs/providers/animation-settings/index.js +31 -0
  330. package/lib/commonjs/providers/animation-settings/index.js.map +1 -0
  331. package/lib/commonjs/providers/animation-settings/provider.js +59 -0
  332. package/lib/commonjs/providers/animation-settings/provider.js.map +1 -0
  333. package/lib/commonjs/providers/animation-settings/types.js +6 -0
  334. package/lib/commonjs/providers/animation-settings/types.js.map +1 -0
  335. package/lib/commonjs/providers/forge-design/index.js +29 -0
  336. package/lib/commonjs/providers/forge-design/index.js.map +1 -0
  337. package/lib/commonjs/providers/forge-design/provider.js +71 -0
  338. package/lib/commonjs/providers/forge-design/provider.js.map +1 -0
  339. package/lib/commonjs/providers/forge-design/types.js +6 -0
  340. package/lib/commonjs/providers/forge-design/types.js.map +1 -0
  341. package/lib/commonjs/providers/text-component/index.js +28 -0
  342. package/lib/commonjs/providers/text-component/index.js.map +1 -0
  343. package/lib/commonjs/providers/text-component/provider.js +11 -0
  344. package/lib/commonjs/providers/text-component/provider.js.map +1 -0
  345. package/lib/commonjs/providers/text-component/types.js +6 -0
  346. package/lib/commonjs/providers/text-component/types.js.map +1 -0
  347. package/lib/commonjs/providers/toast/index.js +33 -0
  348. package/lib/commonjs/providers/toast/index.js.map +1 -0
  349. package/lib/commonjs/providers/toast/insets-container.js +166 -0
  350. package/lib/commonjs/providers/toast/insets-container.js.map +1 -0
  351. package/lib/commonjs/providers/toast/lifecycle.context.js +36 -0
  352. package/lib/commonjs/providers/toast/lifecycle.context.js.map +1 -0
  353. package/lib/commonjs/providers/toast/provider.js +508 -0
  354. package/lib/commonjs/providers/toast/provider.js.map +1 -0
  355. package/lib/commonjs/providers/toast/reducer.js +46 -0
  356. package/lib/commonjs/providers/toast/reducer.js.map +1 -0
  357. package/lib/commonjs/providers/toast/toast-config.context.js +29 -0
  358. package/lib/commonjs/providers/toast/toast-config.context.js.map +1 -0
  359. package/lib/commonjs/providers/toast/toast-item-renderer.js +43 -0
  360. package/lib/commonjs/providers/toast/toast-item-renderer.js.map +1 -0
  361. package/lib/commonjs/providers/toast/types.js +6 -0
  362. package/lib/commonjs/providers/toast/types.js.map +1 -0
  363. package/lib/commonjs/styles/constants.js +16 -0
  364. package/lib/commonjs/styles/constants.js.map +1 -0
  365. package/lib/commonjs/styles.css +0 -5
  366. package/lib/commonjs/utils/positionToDataIcon.js +41 -0
  367. package/lib/commonjs/utils/positionToDataIcon.js.map +1 -0
  368. package/lib/module/animation/hooks/index.js +7 -0
  369. package/lib/module/animation/hooks/index.js.map +1 -0
  370. package/lib/module/animation/hooks/useCombinedAnimationDisabledState.js +47 -0
  371. package/lib/module/animation/hooks/useCombinedAnimationDisabledState.js.map +1 -0
  372. package/lib/module/animation/hooks/usePopupDialogContentAnimation.js +171 -0
  373. package/lib/module/animation/hooks/usePopupDialogContentAnimation.js.map +1 -0
  374. package/lib/module/animation/hooks/usePopupOverlayAnimation.js +65 -0
  375. package/lib/module/animation/hooks/usePopupOverlayAnimation.js.map +1 -0
  376. package/lib/module/animation/hooks/usePopupRootAnimation.js +22 -0
  377. package/lib/module/animation/hooks/usePopupRootAnimation.js.map +1 -0
  378. package/lib/module/animation/index.js +6 -0
  379. package/lib/module/animation/index.js.map +1 -0
  380. package/lib/module/animation/types.js +4 -0
  381. package/lib/module/animation/types.js.map +1 -0
  382. package/lib/module/animation/utils.js +212 -0
  383. package/lib/module/animation/utils.js.map +1 -0
  384. package/lib/module/components/Alert/index.js +259 -0
  385. package/lib/module/components/Alert/index.js.map +1 -0
  386. package/lib/module/components/Alert/styles.js +84 -0
  387. package/lib/module/components/Alert/styles.js.map +1 -0
  388. package/lib/module/components/AlertDialog/index.js +33 -16
  389. package/lib/module/components/AlertDialog/index.js.map +1 -1
  390. package/lib/module/components/Avatar/index.js +138 -29
  391. package/lib/module/components/Avatar/index.js.map +1 -1
  392. package/lib/module/components/Avatar/styles.js +37 -30
  393. package/lib/module/components/Avatar/styles.js.map +1 -1
  394. package/lib/module/components/Badge/index.js +83 -0
  395. package/lib/module/components/Badge/index.js.map +1 -0
  396. package/lib/module/components/Badge/styles.js +123 -0
  397. package/lib/module/components/Badge/styles.js.map +1 -0
  398. package/lib/module/components/BottomSheet/index.js +80 -32
  399. package/lib/module/components/BottomSheet/index.js.map +1 -1
  400. package/lib/module/components/BottomSheet/styles.js +8 -43
  401. package/lib/module/components/BottomSheet/styles.js.map +1 -1
  402. package/lib/module/components/Box/Box.js +1 -11
  403. package/lib/module/components/Box/Box.js.map +1 -1
  404. package/lib/module/components/Breadcrumbs/index.js +215 -0
  405. package/lib/module/components/Breadcrumbs/index.js.map +1 -0
  406. package/lib/module/components/Breadcrumbs/styles.js +34 -0
  407. package/lib/module/components/Breadcrumbs/styles.js.map +1 -0
  408. package/lib/module/components/Button/index.js +146 -33
  409. package/lib/module/components/Button/index.js.map +1 -1
  410. package/lib/module/components/Button/styles.js +95 -30
  411. package/lib/module/components/Button/styles.js.map +1 -1
  412. package/lib/module/components/CLAUDE.md +195 -0
  413. package/lib/module/components/Card/index.js +77 -18
  414. package/lib/module/components/Card/index.js.map +1 -1
  415. package/lib/module/components/Card/styles.js +17 -3
  416. package/lib/module/components/Card/styles.js.map +1 -1
  417. package/lib/module/components/Carousel/context.js +7 -0
  418. package/lib/module/components/Carousel/context.js.map +1 -0
  419. package/lib/module/components/Carousel/index.js +152 -0
  420. package/lib/module/components/Carousel/index.js.map +1 -0
  421. package/lib/module/components/Carousel/navButton.js +114 -0
  422. package/lib/module/components/Carousel/navButton.js.map +1 -0
  423. package/lib/module/components/Carousel/paginationNavigation.js +31 -0
  424. package/lib/module/components/Carousel/paginationNavigation.js.map +1 -0
  425. package/lib/module/components/Carousel/styles.js +41 -0
  426. package/lib/module/components/Carousel/styles.js.map +1 -0
  427. package/lib/module/components/Carousel/useCarouselActiveIndex.js +48 -0
  428. package/lib/module/components/Carousel/useCarouselActiveIndex.js.map +1 -0
  429. package/lib/module/components/Checkbox/index.js +93 -52
  430. package/lib/module/components/Checkbox/index.js.map +1 -1
  431. package/lib/module/components/Checkbox/styles.js +46 -49
  432. package/lib/module/components/Checkbox/styles.js.map +1 -1
  433. package/lib/module/components/Chip/index.js +119 -22
  434. package/lib/module/components/Chip/index.js.map +1 -1
  435. package/lib/module/components/Chip/styles.js +180 -23
  436. package/lib/module/components/Chip/styles.js.map +1 -1
  437. package/lib/module/components/CurrencyInput/index.js +154 -0
  438. package/lib/module/components/CurrencyInput/index.js.map +1 -0
  439. package/lib/module/components/CurrencyInput/styles.js +27 -0
  440. package/lib/module/components/CurrencyInput/styles.js.map +1 -0
  441. package/lib/module/components/Dialog/animation.js +7 -0
  442. package/lib/module/components/Dialog/animation.js.map +1 -0
  443. package/lib/module/components/Dialog/index.js +409 -74
  444. package/lib/module/components/Dialog/index.js.map +1 -1
  445. package/lib/module/components/Dialog/styles.js +66 -16
  446. package/lib/module/components/Dialog/styles.js.map +1 -1
  447. package/lib/module/components/Divider/index.js +94 -0
  448. package/lib/module/components/Divider/index.js.map +1 -0
  449. package/lib/module/components/Divider/styles.js +71 -0
  450. package/lib/module/components/Divider/styles.js.map +1 -0
  451. package/lib/module/components/Field/index.js +81 -32
  452. package/lib/module/components/Field/index.js.map +1 -1
  453. package/lib/module/components/Field/styles.js +6 -6
  454. package/lib/module/components/Field/styles.js.map +1 -1
  455. package/lib/module/components/Form/index.js +7 -14
  456. package/lib/module/components/Form/index.js.map +1 -1
  457. package/lib/module/components/Form/styles.js +1 -1
  458. package/lib/module/components/Form/styles.js.map +1 -1
  459. package/lib/module/components/Heading/styles.js +2 -2
  460. package/lib/module/components/Heading/styles.js.map +1 -1
  461. package/lib/module/components/Icon/index.js +12 -5
  462. package/lib/module/components/Icon/index.js.map +1 -1
  463. package/lib/module/components/IconButton/index.js +26 -37
  464. package/lib/module/components/IconButton/index.js.map +1 -1
  465. package/lib/module/components/IconButton/styles.js +137 -12
  466. package/lib/module/components/IconButton/styles.js.map +1 -1
  467. package/lib/module/components/Input/index.js +53 -23
  468. package/lib/module/components/Input/index.js.map +1 -1
  469. package/lib/module/components/Input/styles.js +21 -8
  470. package/lib/module/components/Input/styles.js.map +1 -1
  471. package/lib/module/components/InsuranceDisclosure/index.js +52 -0
  472. package/lib/module/components/InsuranceDisclosure/index.js.map +1 -0
  473. package/lib/module/components/InsuranceDisclosure/styles.js +7 -0
  474. package/lib/module/components/InsuranceDisclosure/styles.js.map +1 -0
  475. package/lib/module/components/Link/index.js +38 -11
  476. package/lib/module/components/Link/index.js.map +1 -1
  477. package/lib/module/components/Link/styles.js +54 -8
  478. package/lib/module/components/Link/styles.js.map +1 -1
  479. package/lib/module/components/ListItem/index.js +137 -84
  480. package/lib/module/components/ListItem/index.js.map +1 -1
  481. package/lib/module/components/ListItem/styles.js +29 -57
  482. package/lib/module/components/ListItem/styles.js.map +1 -1
  483. package/lib/module/components/OtpInput/index.js +114 -36
  484. package/lib/module/components/OtpInput/index.js.map +1 -1
  485. package/lib/module/components/OtpInput/styles.js +10 -8
  486. package/lib/module/components/OtpInput/styles.js.map +1 -1
  487. package/lib/module/components/ProgressBar/index.js +9 -14
  488. package/lib/module/components/ProgressBar/index.js.map +1 -1
  489. package/lib/module/components/ProgressBar/styles.js +2 -2
  490. package/lib/module/components/ProgressBar/styles.js.map +1 -1
  491. package/lib/module/components/ProgressSegmented/index.js +25 -11
  492. package/lib/module/components/ProgressSegmented/index.js.map +1 -1
  493. package/lib/module/components/ProgressSegmented/styles.js +3 -3
  494. package/lib/module/components/ProgressSegmented/styles.js.map +1 -1
  495. package/lib/module/components/QuickActionButton/index.js +129 -0
  496. package/lib/module/components/QuickActionButton/index.js.map +1 -0
  497. package/lib/module/components/QuickActionButton/styles.js +13 -0
  498. package/lib/module/components/QuickActionButton/styles.js.map +1 -0
  499. package/lib/module/components/Radio/index.js +69 -55
  500. package/lib/module/components/Radio/index.js.map +1 -1
  501. package/lib/module/components/Radio/styles.js +21 -9
  502. package/lib/module/components/Radio/styles.js.map +1 -1
  503. package/lib/module/components/ScopedTheme/index.js +19 -0
  504. package/lib/module/components/ScopedTheme/index.js.map +1 -0
  505. package/lib/module/components/ScrollShadow/index.js +78 -0
  506. package/lib/module/components/ScrollShadow/index.js.map +1 -0
  507. package/lib/module/components/ScrollShadow/styles.js +50 -0
  508. package/lib/module/components/ScrollShadow/styles.js.map +1 -0
  509. package/lib/module/components/ScrollShadow/useScrollShadow.js +79 -0
  510. package/lib/module/components/ScrollShadow/useScrollShadow.js.map +1 -0
  511. package/lib/module/components/Select/index.js +117 -45
  512. package/lib/module/components/Select/index.js.map +1 -1
  513. package/lib/module/components/Select/styles.js +27 -22
  514. package/lib/module/components/Select/styles.js.map +1 -1
  515. package/lib/module/components/Skeleton/index.js +34 -0
  516. package/lib/module/components/Skeleton/index.js.map +1 -0
  517. package/lib/module/components/Skeleton/styles.js +5 -0
  518. package/lib/module/components/Skeleton/styles.js.map +1 -0
  519. package/lib/module/components/Slider/getSliderPopupPosition.js +38 -0
  520. package/lib/module/components/Slider/getSliderPopupPosition.js.map +1 -0
  521. package/lib/module/components/Slider/index.js +359 -0
  522. package/lib/module/components/Slider/index.js.map +1 -0
  523. package/lib/module/components/Slider/styles.js +108 -0
  524. package/lib/module/components/Slider/styles.js.map +1 -0
  525. package/lib/module/components/Stack/styles.js +1 -1
  526. package/lib/module/components/Stack/styles.js.map +1 -1
  527. package/lib/module/components/Switch/BaseSwitch.js +24 -14
  528. package/lib/module/components/Switch/BaseSwitch.js.map +1 -1
  529. package/lib/module/components/Switch/BaseSwitch.web.js +26 -22
  530. package/lib/module/components/Switch/BaseSwitch.web.js.map +1 -1
  531. package/lib/module/components/Switch/index.js +35 -4
  532. package/lib/module/components/Switch/index.js.map +1 -1
  533. package/lib/module/components/Switch/styles.js +1 -1
  534. package/lib/module/components/Switch/styles.js.map +1 -1
  535. package/lib/module/components/Tabs/index.js +522 -0
  536. package/lib/module/components/Tabs/index.js.map +1 -0
  537. package/lib/module/components/Tabs/styles.js +330 -0
  538. package/lib/module/components/Tabs/styles.js.map +1 -0
  539. package/lib/module/components/Text/styles.js +3 -3
  540. package/lib/module/components/Text/styles.js.map +1 -1
  541. package/lib/module/components/Textarea/index.js +132 -0
  542. package/lib/module/components/Textarea/index.js.map +1 -0
  543. package/lib/module/components/Textarea/styles.js +45 -0
  544. package/lib/module/components/Textarea/styles.js.map +1 -0
  545. package/lib/module/components/Tile/index.js +155 -83
  546. package/lib/module/components/Tile/index.js.map +1 -1
  547. package/lib/module/components/Tile/styles.js +3 -3
  548. package/lib/module/components/Tile/styles.js.map +1 -1
  549. package/lib/module/components/Toast/animation.js +326 -0
  550. package/lib/module/components/Toast/animation.js.map +1 -0
  551. package/lib/module/components/Toast/hooks.js +62 -0
  552. package/lib/module/components/Toast/hooks.js.map +1 -0
  553. package/lib/module/components/Toast/index.js +502 -0
  554. package/lib/module/components/Toast/index.js.map +1 -0
  555. package/lib/module/components/Toast/styles.js +138 -0
  556. package/lib/module/components/Toast/styles.js.map +1 -0
  557. package/lib/module/components/Toast/types.js +4 -0
  558. package/lib/module/components/Toast/types.js.map +1 -0
  559. package/lib/module/components/VirtualizedList/index.js.map +1 -1
  560. package/lib/module/components/index.js +15 -0
  561. package/lib/module/components/index.js.map +1 -1
  562. package/lib/module/figma/Alert.Button.figma.js +25 -0
  563. package/lib/module/figma/Alert.Button.figma.js.map +1 -0
  564. package/lib/module/figma/Alert.Close.figma.js +18 -0
  565. package/lib/module/figma/Alert.Close.figma.js.map +1 -0
  566. package/lib/module/figma/Alert.Description.figma.js +14 -0
  567. package/lib/module/figma/Alert.Description.figma.js.map +1 -0
  568. package/lib/module/figma/Alert.Title.figma.js +14 -0
  569. package/lib/module/figma/Alert.Title.figma.js.map +1 -0
  570. package/lib/module/figma/Alert.figma.js +36 -0
  571. package/lib/module/figma/Alert.figma.js.map +1 -0
  572. package/lib/module/figma/AlertDialog.Description.figma.js +14 -0
  573. package/lib/module/figma/AlertDialog.Description.figma.js.map +1 -0
  574. package/lib/module/figma/AlertDialog.Footer.figma.js +35 -0
  575. package/lib/module/figma/AlertDialog.Footer.figma.js.map +1 -0
  576. package/lib/module/figma/AlertDialog.Header.figma.js +22 -0
  577. package/lib/module/figma/AlertDialog.Header.figma.js.map +1 -0
  578. package/lib/module/figma/AlertDialog.Text.figma.js +14 -0
  579. package/lib/module/figma/AlertDialog.Text.figma.js.map +1 -0
  580. package/lib/module/figma/AlertDialog.Title.figma.js +21 -0
  581. package/lib/module/figma/AlertDialog.Title.figma.js.map +1 -0
  582. package/lib/module/figma/AlertDialog.figma.js +37 -0
  583. package/lib/module/figma/AlertDialog.figma.js.map +1 -0
  584. package/lib/module/figma/Avatar.figma.js +51 -0
  585. package/lib/module/figma/Avatar.figma.js.map +1 -0
  586. package/lib/module/figma/Badge.Indicator.figma.js +41 -0
  587. package/lib/module/figma/Badge.Indicator.figma.js.map +1 -0
  588. package/lib/module/figma/Badge.figma.js +59 -0
  589. package/lib/module/figma/Badge.figma.js.map +1 -0
  590. package/lib/module/figma/BottomSheet.Footer.figma.js +25 -0
  591. package/lib/module/figma/BottomSheet.Footer.figma.js.map +1 -0
  592. package/lib/module/figma/BottomSheet.Header.figma.js +24 -0
  593. package/lib/module/figma/BottomSheet.Header.figma.js.map +1 -0
  594. package/lib/module/figma/BottomSheet.figma.js +48 -0
  595. package/lib/module/figma/BottomSheet.figma.js.map +1 -0
  596. package/lib/module/figma/Button.figma.js +4 -7
  597. package/lib/module/figma/Button.figma.js.map +1 -1
  598. package/lib/module/figma/CLAUDE.md +30 -0
  599. package/lib/module/figma/Card.Header.figma.js +22 -0
  600. package/lib/module/figma/Card.Header.figma.js.map +1 -0
  601. package/lib/module/figma/Card.Stripe.figma.js +15 -0
  602. package/lib/module/figma/Card.Stripe.figma.js.map +1 -0
  603. package/lib/module/figma/Card.figma.js +39 -0
  604. package/lib/module/figma/Card.figma.js.map +1 -0
  605. package/lib/module/figma/Checkbox.figma.js +49 -0
  606. package/lib/module/figma/Checkbox.figma.js.map +1 -0
  607. package/lib/module/figma/Chip.figma.js +62 -0
  608. package/lib/module/figma/Chip.figma.js.map +1 -0
  609. package/lib/module/figma/Dialog.Description.figma.js +14 -0
  610. package/lib/module/figma/Dialog.Description.figma.js.map +1 -0
  611. package/lib/module/figma/Dialog.Footer.figma.js +24 -0
  612. package/lib/module/figma/Dialog.Footer.figma.js.map +1 -0
  613. package/lib/module/figma/Dialog.Header.figma.js +28 -0
  614. package/lib/module/figma/Dialog.Header.figma.js.map +1 -0
  615. package/lib/module/figma/Dialog.Text.figma.js +14 -0
  616. package/lib/module/figma/Dialog.Text.figma.js.map +1 -0
  617. package/lib/module/figma/Dialog.Title.figma.js +21 -0
  618. package/lib/module/figma/Dialog.Title.figma.js.map +1 -0
  619. package/lib/module/figma/Dialog.figma.js +45 -0
  620. package/lib/module/figma/Dialog.figma.js.map +1 -0
  621. package/lib/module/figma/Divider.figma.js +26 -0
  622. package/lib/module/figma/Divider.figma.js.map +1 -0
  623. package/lib/module/figma/Field.Input.figma.js +51 -0
  624. package/lib/module/figma/Field.Input.figma.js.map +1 -0
  625. package/lib/module/figma/Field.OtpInput.figma.js +46 -0
  626. package/lib/module/figma/Field.OtpInput.figma.js.map +1 -0
  627. package/lib/module/figma/Field.Select.figma.js +51 -0
  628. package/lib/module/figma/Field.Select.figma.js.map +1 -0
  629. package/lib/module/figma/Field.Textarea.figma.js +51 -0
  630. package/lib/module/figma/Field.Textarea.figma.js.map +1 -0
  631. package/lib/module/figma/Heading.figma.js +24 -0
  632. package/lib/module/figma/Heading.figma.js.map +1 -0
  633. package/lib/module/figma/Icon.figma.js +14 -0
  634. package/lib/module/figma/Icon.figma.js.map +1 -0
  635. package/lib/module/figma/IconButton.figma.js +41 -0
  636. package/lib/module/figma/IconButton.figma.js.map +1 -0
  637. package/lib/module/figma/Input.figma.js +46 -0
  638. package/lib/module/figma/Input.figma.js.map +1 -0
  639. package/lib/module/figma/Link.figma.js +24 -0
  640. package/lib/module/figma/Link.figma.js.map +1 -0
  641. package/lib/module/figma/ListItem.Description.figma.js +17 -0
  642. package/lib/module/figma/ListItem.Description.figma.js.map +1 -0
  643. package/lib/module/figma/ListItem.LeadingSlot.figma.js +18 -0
  644. package/lib/module/figma/ListItem.LeadingSlot.figma.js.map +1 -0
  645. package/lib/module/figma/ListItem.Meta.figma.js +17 -0
  646. package/lib/module/figma/ListItem.Meta.figma.js.map +1 -0
  647. package/lib/module/figma/ListItem.SectionHeader.figma.js +18 -0
  648. package/lib/module/figma/ListItem.SectionHeader.figma.js.map +1 -0
  649. package/lib/module/figma/ListItem.Title.figma.js +17 -0
  650. package/lib/module/figma/ListItem.Title.figma.js.map +1 -0
  651. package/lib/module/figma/ListItem.TrailingSlot.figma.js +18 -0
  652. package/lib/module/figma/ListItem.TrailingSlot.figma.js.map +1 -0
  653. package/lib/module/figma/ListItem.figma.js +44 -0
  654. package/lib/module/figma/ListItem.figma.js.map +1 -0
  655. package/lib/module/figma/OtpInput.Cell.figma.js +49 -0
  656. package/lib/module/figma/OtpInput.Cell.figma.js.map +1 -0
  657. package/lib/module/figma/OtpInput.figma.js +36 -0
  658. package/lib/module/figma/OtpInput.figma.js.map +1 -0
  659. package/lib/module/figma/ProgressSegmented.figma.js +33 -0
  660. package/lib/module/figma/ProgressSegmented.figma.js.map +1 -0
  661. package/lib/module/figma/QuickActionButton.figma.js +32 -0
  662. package/lib/module/figma/QuickActionButton.figma.js.map +1 -0
  663. package/lib/module/figma/Radio.figma.js +8 -6
  664. package/lib/module/figma/Radio.figma.js.map +1 -1
  665. package/lib/module/figma/Select.figma.js +47 -0
  666. package/lib/module/figma/Select.figma.js.map +1 -0
  667. package/lib/module/figma/Text.figma.js +26 -0
  668. package/lib/module/figma/Text.figma.js.map +1 -0
  669. package/lib/module/figma/Textarea.figma.js +41 -0
  670. package/lib/module/figma/Textarea.figma.js.map +1 -0
  671. package/lib/module/figma/icons.figma.batch.js +22 -0
  672. package/lib/module/figma/icons.figma.batch.js.map +1 -0
  673. package/lib/module/figma/icons.figma.batch.json +17705 -0
  674. package/lib/module/globals.d.js +2 -0
  675. package/lib/module/globals.d.js.map +1 -0
  676. package/lib/module/hooks/index.js +4 -0
  677. package/lib/module/hooks/index.js.map +1 -0
  678. package/lib/module/hooks/useForgeBottomTabScreenOptions.js +242 -0
  679. package/lib/module/hooks/useForgeBottomTabScreenOptions.js.map +1 -0
  680. package/lib/module/index.js +4 -0
  681. package/lib/module/index.js.map +1 -1
  682. package/lib/module/metro/withCdxMetroConfig.js +3 -17
  683. package/lib/module/metro/withCdxMetroConfig.js.map +1 -1
  684. package/lib/module/metro/withForgeMetroConfig.js +20 -0
  685. package/lib/module/metro/withForgeMetroConfig.js.map +1 -0
  686. package/lib/module/navigation/forgeTabIcon.js +39 -0
  687. package/lib/module/navigation/forgeTabIcon.js.map +1 -0
  688. package/lib/module/navigation/forgeTabIcon.native.js +31 -0
  689. package/lib/module/navigation/forgeTabIcon.native.js.map +1 -0
  690. package/lib/module/navigation/index.js +4 -0
  691. package/lib/module/navigation/index.js.map +1 -0
  692. package/lib/module/navigation/types.js +36 -0
  693. package/lib/module/navigation/types.js.map +1 -0
  694. package/lib/module/providers/animation-settings/index.js +4 -0
  695. package/lib/module/providers/animation-settings/index.js.map +1 -0
  696. package/lib/module/providers/animation-settings/provider.js +52 -0
  697. package/lib/module/providers/animation-settings/provider.js.map +1 -0
  698. package/lib/module/providers/animation-settings/types.js +4 -0
  699. package/lib/module/providers/animation-settings/types.js.map +1 -0
  700. package/lib/module/providers/forge-design/index.js +5 -0
  701. package/lib/module/providers/forge-design/index.js.map +1 -0
  702. package/lib/module/providers/forge-design/provider.js +66 -0
  703. package/lib/module/providers/forge-design/provider.js.map +1 -0
  704. package/lib/module/providers/forge-design/types.js +4 -0
  705. package/lib/module/providers/forge-design/types.js.map +1 -0
  706. package/lib/module/providers/text-component/index.js +5 -0
  707. package/lib/module/providers/text-component/index.js.map +1 -0
  708. package/lib/module/providers/text-component/provider.js +6 -0
  709. package/lib/module/providers/text-component/provider.js.map +1 -0
  710. package/lib/module/providers/text-component/types.js +4 -0
  711. package/lib/module/providers/text-component/types.js.map +1 -0
  712. package/lib/module/providers/toast/index.js +6 -0
  713. package/lib/module/providers/toast/index.js.map +1 -0
  714. package/lib/module/providers/toast/insets-container.js +162 -0
  715. package/lib/module/providers/toast/insets-container.js.map +1 -0
  716. package/lib/module/providers/toast/lifecycle.context.js +32 -0
  717. package/lib/module/providers/toast/lifecycle.context.js.map +1 -0
  718. package/lib/module/providers/toast/provider.js +503 -0
  719. package/lib/module/providers/toast/provider.js.map +1 -0
  720. package/lib/module/providers/toast/reducer.js +42 -0
  721. package/lib/module/providers/toast/reducer.js.map +1 -0
  722. package/lib/module/providers/toast/toast-config.context.js +25 -0
  723. package/lib/module/providers/toast/toast-config.context.js.map +1 -0
  724. package/lib/module/providers/toast/toast-item-renderer.js +39 -0
  725. package/lib/module/providers/toast/toast-item-renderer.js.map +1 -0
  726. package/lib/module/providers/toast/types.js +4 -0
  727. package/lib/module/providers/toast/types.js.map +1 -0
  728. package/lib/module/styles/constants.js +12 -0
  729. package/lib/module/styles/constants.js.map +1 -0
  730. package/lib/module/styles.css +0 -5
  731. package/lib/module/utils/positionToDataIcon.js +38 -0
  732. package/lib/module/utils/positionToDataIcon.js.map +1 -0
  733. package/lib/typescript/animation/hooks/index.d.ts +5 -0
  734. package/lib/typescript/animation/hooks/index.d.ts.map +1 -0
  735. package/lib/typescript/animation/hooks/useCombinedAnimationDisabledState.d.ts +22 -0
  736. package/lib/typescript/animation/hooks/useCombinedAnimationDisabledState.d.ts.map +1 -0
  737. package/lib/typescript/animation/hooks/usePopupDialogContentAnimation.d.ts +47 -0
  738. package/lib/typescript/animation/hooks/usePopupDialogContentAnimation.d.ts.map +1 -0
  739. package/lib/typescript/animation/hooks/usePopupOverlayAnimation.d.ts +29 -0
  740. package/lib/typescript/animation/hooks/usePopupOverlayAnimation.d.ts.map +1 -0
  741. package/lib/typescript/animation/hooks/usePopupRootAnimation.d.ts +16 -0
  742. package/lib/typescript/animation/hooks/usePopupRootAnimation.d.ts.map +1 -0
  743. package/lib/typescript/animation/index.d.ts +4 -0
  744. package/lib/typescript/animation/index.d.ts.map +1 -0
  745. package/lib/typescript/animation/types.d.ts +105 -0
  746. package/lib/typescript/animation/types.d.ts.map +1 -0
  747. package/lib/typescript/animation/utils.d.ts +120 -0
  748. package/lib/typescript/animation/utils.d.ts.map +1 -0
  749. package/lib/typescript/components/Alert/index.d.ts +67 -0
  750. package/lib/typescript/components/Alert/index.d.ts.map +1 -0
  751. package/lib/typescript/components/Alert/styles.d.ts +19 -0
  752. package/lib/typescript/components/Alert/styles.d.ts.map +1 -0
  753. package/lib/typescript/components/AlertDialog/index.d.ts +10 -7
  754. package/lib/typescript/components/AlertDialog/index.d.ts.map +1 -1
  755. package/lib/typescript/components/Avatar/index.d.ts +14 -2
  756. package/lib/typescript/components/Avatar/index.d.ts.map +1 -1
  757. package/lib/typescript/components/Avatar/styles.d.ts +5 -5
  758. package/lib/typescript/components/Avatar/styles.d.ts.map +1 -1
  759. package/lib/typescript/components/Badge/index.d.ts +14 -0
  760. package/lib/typescript/components/Badge/index.d.ts.map +1 -0
  761. package/lib/typescript/components/Badge/styles.d.ts +18 -0
  762. package/lib/typescript/components/Badge/styles.d.ts.map +1 -0
  763. package/lib/typescript/components/BottomSheet/index.d.ts +2 -2
  764. package/lib/typescript/components/BottomSheet/index.d.ts.map +1 -1
  765. package/lib/typescript/components/BottomSheet/styles.d.ts +5 -9
  766. package/lib/typescript/components/BottomSheet/styles.d.ts.map +1 -1
  767. package/lib/typescript/components/Box/Box.d.ts +0 -3
  768. package/lib/typescript/components/Box/Box.d.ts.map +1 -1
  769. package/lib/typescript/components/Breadcrumbs/index.d.ts +28 -0
  770. package/lib/typescript/components/Breadcrumbs/index.d.ts.map +1 -0
  771. package/lib/typescript/components/Breadcrumbs/styles.d.ts +11 -0
  772. package/lib/typescript/components/Breadcrumbs/styles.d.ts.map +1 -0
  773. package/lib/typescript/components/Button/index.d.ts +86 -9
  774. package/lib/typescript/components/Button/index.d.ts.map +1 -1
  775. package/lib/typescript/components/Button/styles.d.ts +11 -8
  776. package/lib/typescript/components/Button/styles.d.ts.map +1 -1
  777. package/lib/typescript/components/Card/index.d.ts +12 -2
  778. package/lib/typescript/components/Card/index.d.ts.map +1 -1
  779. package/lib/typescript/components/Card/styles.d.ts +6 -2
  780. package/lib/typescript/components/Card/styles.d.ts.map +1 -1
  781. package/lib/typescript/components/Carousel/context.d.ts +15 -0
  782. package/lib/typescript/components/Carousel/context.d.ts.map +1 -0
  783. package/lib/typescript/components/Carousel/index.d.ts +73 -0
  784. package/lib/typescript/components/Carousel/index.d.ts.map +1 -0
  785. package/lib/typescript/components/Carousel/navButton.d.ts +40 -0
  786. package/lib/typescript/components/Carousel/navButton.d.ts.map +1 -0
  787. package/lib/typescript/components/Carousel/paginationNavigation.d.ts +12 -0
  788. package/lib/typescript/components/Carousel/paginationNavigation.d.ts.map +1 -0
  789. package/lib/typescript/components/Carousel/styles.d.ts +16 -0
  790. package/lib/typescript/components/Carousel/styles.d.ts.map +1 -0
  791. package/lib/typescript/components/Carousel/useCarouselActiveIndex.d.ts +12 -0
  792. package/lib/typescript/components/Carousel/useCarouselActiveIndex.d.ts.map +1 -0
  793. package/lib/typescript/components/Checkbox/index.d.ts +4 -3
  794. package/lib/typescript/components/Checkbox/index.d.ts.map +1 -1
  795. package/lib/typescript/components/Checkbox/styles.d.ts +4 -14
  796. package/lib/typescript/components/Checkbox/styles.d.ts.map +1 -1
  797. package/lib/typescript/components/Chip/index.d.ts +51 -8
  798. package/lib/typescript/components/Chip/index.d.ts.map +1 -1
  799. package/lib/typescript/components/Chip/styles.d.ts +13 -5
  800. package/lib/typescript/components/Chip/styles.d.ts.map +1 -1
  801. package/lib/typescript/components/CurrencyInput/index.d.ts +15 -0
  802. package/lib/typescript/components/CurrencyInput/index.d.ts.map +1 -0
  803. package/lib/typescript/components/CurrencyInput/styles.d.ts +9 -0
  804. package/lib/typescript/components/CurrencyInput/styles.d.ts.map +1 -0
  805. package/lib/typescript/components/Dialog/animation.d.ts +11 -0
  806. package/lib/typescript/components/Dialog/animation.d.ts.map +1 -0
  807. package/lib/typescript/components/Dialog/index.d.ts +43 -13
  808. package/lib/typescript/components/Dialog/index.d.ts.map +1 -1
  809. package/lib/typescript/components/Dialog/styles.d.ts +18 -6
  810. package/lib/typescript/components/Dialog/styles.d.ts.map +1 -1
  811. package/lib/typescript/components/Divider/index.d.ts +21 -0
  812. package/lib/typescript/components/Divider/index.d.ts.map +1 -0
  813. package/lib/typescript/components/Divider/styles.d.ts +12 -0
  814. package/lib/typescript/components/Divider/styles.d.ts.map +1 -0
  815. package/lib/typescript/components/Field/index.d.ts +14 -7
  816. package/lib/typescript/components/Field/index.d.ts.map +1 -1
  817. package/lib/typescript/components/Field/styles.d.ts +1 -1
  818. package/lib/typescript/components/Field/styles.d.ts.map +1 -1
  819. package/lib/typescript/components/Form/index.d.ts +4 -4
  820. package/lib/typescript/components/Form/index.d.ts.map +1 -1
  821. package/lib/typescript/components/Heading/styles.d.ts +2 -2
  822. package/lib/typescript/components/Heading/styles.d.ts.map +1 -1
  823. package/lib/typescript/components/Icon/index.d.ts +5 -5
  824. package/lib/typescript/components/Icon/index.d.ts.map +1 -1
  825. package/lib/typescript/components/IconButton/index.d.ts +14 -4
  826. package/lib/typescript/components/IconButton/index.d.ts.map +1 -1
  827. package/lib/typescript/components/IconButton/styles.d.ts +7 -3
  828. package/lib/typescript/components/IconButton/styles.d.ts.map +1 -1
  829. package/lib/typescript/components/Input/index.d.ts +31 -5
  830. package/lib/typescript/components/Input/index.d.ts.map +1 -1
  831. package/lib/typescript/components/Input/styles.d.ts +1 -1
  832. package/lib/typescript/components/Input/styles.d.ts.map +1 -1
  833. package/lib/typescript/components/InsuranceDisclosure/index.d.ts +10 -0
  834. package/lib/typescript/components/InsuranceDisclosure/index.d.ts.map +1 -0
  835. package/lib/typescript/components/InsuranceDisclosure/styles.d.ts +4 -0
  836. package/lib/typescript/components/InsuranceDisclosure/styles.d.ts.map +1 -0
  837. package/lib/typescript/components/Link/index.d.ts +5 -2
  838. package/lib/typescript/components/Link/index.d.ts.map +1 -1
  839. package/lib/typescript/components/Link/styles.d.ts +10 -3
  840. package/lib/typescript/components/Link/styles.d.ts.map +1 -1
  841. package/lib/typescript/components/ListItem/index.d.ts +28 -6
  842. package/lib/typescript/components/ListItem/index.d.ts.map +1 -1
  843. package/lib/typescript/components/ListItem/styles.d.ts +4 -11
  844. package/lib/typescript/components/ListItem/styles.d.ts.map +1 -1
  845. package/lib/typescript/components/OtpInput/index.d.ts +30 -3
  846. package/lib/typescript/components/OtpInput/index.d.ts.map +1 -1
  847. package/lib/typescript/components/OtpInput/styles.d.ts +1 -1
  848. package/lib/typescript/components/OtpInput/styles.d.ts.map +1 -1
  849. package/lib/typescript/components/ProgressBar/index.d.ts +4 -4
  850. package/lib/typescript/components/ProgressBar/index.d.ts.map +1 -1
  851. package/lib/typescript/components/ProgressBar/styles.d.ts +1 -1
  852. package/lib/typescript/components/ProgressBar/styles.d.ts.map +1 -1
  853. package/lib/typescript/components/ProgressSegmented/index.d.ts +14 -3
  854. package/lib/typescript/components/ProgressSegmented/index.d.ts.map +1 -1
  855. package/lib/typescript/components/ProgressSegmented/styles.d.ts +1 -1
  856. package/lib/typescript/components/ProgressSegmented/styles.d.ts.map +1 -1
  857. package/lib/typescript/components/QuickActionButton/index.d.ts +41 -0
  858. package/lib/typescript/components/QuickActionButton/index.d.ts.map +1 -0
  859. package/lib/typescript/components/QuickActionButton/styles.d.ts +7 -0
  860. package/lib/typescript/components/QuickActionButton/styles.d.ts.map +1 -0
  861. package/lib/typescript/components/Radio/index.d.ts +4 -0
  862. package/lib/typescript/components/Radio/index.d.ts.map +1 -1
  863. package/lib/typescript/components/Radio/styles.d.ts.map +1 -1
  864. package/lib/typescript/components/ScopedTheme/index.d.ts +16 -0
  865. package/lib/typescript/components/ScopedTheme/index.d.ts.map +1 -0
  866. package/lib/typescript/components/ScrollShadow/index.d.ts +29 -0
  867. package/lib/typescript/components/ScrollShadow/index.d.ts.map +1 -0
  868. package/lib/typescript/components/ScrollShadow/styles.d.ts +12 -0
  869. package/lib/typescript/components/ScrollShadow/styles.d.ts.map +1 -0
  870. package/lib/typescript/components/ScrollShadow/useScrollShadow.d.ts +17 -0
  871. package/lib/typescript/components/ScrollShadow/useScrollShadow.d.ts.map +1 -0
  872. package/lib/typescript/components/Select/index.d.ts +35 -2
  873. package/lib/typescript/components/Select/index.d.ts.map +1 -1
  874. package/lib/typescript/components/Select/styles.d.ts +1 -1
  875. package/lib/typescript/components/Select/styles.d.ts.map +1 -1
  876. package/lib/typescript/components/Skeleton/index.d.ts +9 -0
  877. package/lib/typescript/components/Skeleton/index.d.ts.map +1 -0
  878. package/lib/typescript/components/Skeleton/styles.d.ts +4 -0
  879. package/lib/typescript/components/Skeleton/styles.d.ts.map +1 -0
  880. package/lib/typescript/components/Slider/getSliderPopupPosition.d.ts +10 -0
  881. package/lib/typescript/components/Slider/getSliderPopupPosition.d.ts.map +1 -0
  882. package/lib/typescript/components/Slider/index.d.ts +61 -0
  883. package/lib/typescript/components/Slider/index.d.ts.map +1 -0
  884. package/lib/typescript/components/Slider/styles.d.ts +30 -0
  885. package/lib/typescript/components/Slider/styles.d.ts.map +1 -0
  886. package/lib/typescript/components/Stack/styles.d.ts +2 -2
  887. package/lib/typescript/components/Switch/BaseSwitch.d.ts +12 -5
  888. package/lib/typescript/components/Switch/BaseSwitch.d.ts.map +1 -1
  889. package/lib/typescript/components/Switch/BaseSwitch.web.d.ts +11 -5
  890. package/lib/typescript/components/Switch/BaseSwitch.web.d.ts.map +1 -1
  891. package/lib/typescript/components/Switch/index.d.ts +15 -3
  892. package/lib/typescript/components/Switch/index.d.ts.map +1 -1
  893. package/lib/typescript/components/Switch/styles.d.ts +1 -1
  894. package/lib/typescript/components/Switch/styles.d.ts.map +1 -1
  895. package/lib/typescript/components/Tabs/index.d.ts +48 -0
  896. package/lib/typescript/components/Tabs/index.d.ts.map +1 -0
  897. package/lib/typescript/components/Tabs/styles.d.ts +107 -0
  898. package/lib/typescript/components/Tabs/styles.d.ts.map +1 -0
  899. package/lib/typescript/components/Text/styles.d.ts +2 -2
  900. package/lib/typescript/components/Text/styles.d.ts.map +1 -1
  901. package/lib/typescript/components/Textarea/index.d.ts +27 -0
  902. package/lib/typescript/components/Textarea/index.d.ts.map +1 -0
  903. package/lib/typescript/components/Textarea/styles.d.ts +11 -0
  904. package/lib/typescript/components/Textarea/styles.d.ts.map +1 -0
  905. package/lib/typescript/components/Tile/index.d.ts +8 -2
  906. package/lib/typescript/components/Tile/index.d.ts.map +1 -1
  907. package/lib/typescript/components/Tile/styles.d.ts +2 -2
  908. package/lib/typescript/components/Tile/styles.d.ts.map +1 -1
  909. package/lib/typescript/components/Toast/animation.d.ts +21 -0
  910. package/lib/typescript/components/Toast/animation.d.ts.map +1 -0
  911. package/lib/typescript/components/Toast/hooks.d.ts +17 -0
  912. package/lib/typescript/components/Toast/hooks.d.ts.map +1 -0
  913. package/lib/typescript/components/Toast/index.d.ts +28 -0
  914. package/lib/typescript/components/Toast/index.d.ts.map +1 -0
  915. package/lib/typescript/components/Toast/styles.d.ts +73 -0
  916. package/lib/typescript/components/Toast/styles.d.ts.map +1 -0
  917. package/lib/typescript/components/Toast/types.d.ts +308 -0
  918. package/lib/typescript/components/Toast/types.d.ts.map +1 -0
  919. package/lib/typescript/components/VirtualizedList/index.d.ts +2 -1
  920. package/lib/typescript/components/VirtualizedList/index.d.ts.map +1 -1
  921. package/lib/typescript/components/index.d.ts +15 -0
  922. package/lib/typescript/components/index.d.ts.map +1 -1
  923. package/lib/typescript/figma/Alert.Button.figma.d.ts +11 -0
  924. package/lib/typescript/figma/Alert.Button.figma.d.ts.map +1 -0
  925. package/lib/typescript/figma/Alert.Close.figma.d.ts +11 -0
  926. package/lib/typescript/figma/Alert.Close.figma.d.ts.map +1 -0
  927. package/lib/typescript/figma/Alert.Description.figma.d.ts +8 -0
  928. package/lib/typescript/figma/Alert.Description.figma.d.ts.map +1 -0
  929. package/lib/typescript/figma/Alert.Title.figma.d.ts +8 -0
  930. package/lib/typescript/figma/Alert.Title.figma.d.ts.map +1 -0
  931. package/lib/typescript/figma/Alert.figma.d.ts +8 -0
  932. package/lib/typescript/figma/Alert.figma.d.ts.map +1 -0
  933. package/lib/typescript/figma/AlertDialog.Description.figma.d.ts +8 -0
  934. package/lib/typescript/figma/AlertDialog.Description.figma.d.ts.map +1 -0
  935. package/lib/typescript/figma/AlertDialog.Footer.figma.d.ts +8 -0
  936. package/lib/typescript/figma/AlertDialog.Footer.figma.d.ts.map +1 -0
  937. package/lib/typescript/figma/AlertDialog.Header.figma.d.ts +8 -0
  938. package/lib/typescript/figma/AlertDialog.Header.figma.d.ts.map +1 -0
  939. package/lib/typescript/figma/AlertDialog.Text.figma.d.ts +8 -0
  940. package/lib/typescript/figma/AlertDialog.Text.figma.d.ts.map +1 -0
  941. package/lib/typescript/figma/AlertDialog.Title.figma.d.ts +8 -0
  942. package/lib/typescript/figma/AlertDialog.Title.figma.d.ts.map +1 -0
  943. package/lib/typescript/figma/AlertDialog.figma.d.ts +8 -0
  944. package/lib/typescript/figma/AlertDialog.figma.d.ts.map +1 -0
  945. package/lib/typescript/figma/Avatar.figma.d.ts +11 -0
  946. package/lib/typescript/figma/Avatar.figma.d.ts.map +1 -0
  947. package/lib/typescript/figma/Badge.Indicator.figma.d.ts +11 -0
  948. package/lib/typescript/figma/Badge.Indicator.figma.d.ts.map +1 -0
  949. package/lib/typescript/figma/Badge.figma.d.ts +8 -0
  950. package/lib/typescript/figma/Badge.figma.d.ts.map +1 -0
  951. package/lib/typescript/figma/BottomSheet.Footer.figma.d.ts +8 -0
  952. package/lib/typescript/figma/BottomSheet.Footer.figma.d.ts.map +1 -0
  953. package/lib/typescript/figma/BottomSheet.Header.figma.d.ts +8 -0
  954. package/lib/typescript/figma/BottomSheet.Header.figma.d.ts.map +1 -0
  955. package/lib/typescript/figma/BottomSheet.figma.d.ts +8 -0
  956. package/lib/typescript/figma/BottomSheet.figma.d.ts.map +1 -0
  957. package/lib/typescript/figma/Button.figma.d.ts.map +1 -1
  958. package/lib/typescript/figma/Card.Header.figma.d.ts +8 -0
  959. package/lib/typescript/figma/Card.Header.figma.d.ts.map +1 -0
  960. package/lib/typescript/figma/Card.Stripe.figma.d.ts +11 -0
  961. package/lib/typescript/figma/Card.Stripe.figma.d.ts.map +1 -0
  962. package/lib/typescript/figma/Card.figma.d.ts +8 -0
  963. package/lib/typescript/figma/Card.figma.d.ts.map +1 -0
  964. package/lib/typescript/figma/Checkbox.figma.d.ts +8 -0
  965. package/lib/typescript/figma/Checkbox.figma.d.ts.map +1 -0
  966. package/lib/typescript/figma/Chip.figma.d.ts +8 -0
  967. package/lib/typescript/figma/Chip.figma.d.ts.map +1 -0
  968. package/lib/typescript/figma/Dialog.Description.figma.d.ts +8 -0
  969. package/lib/typescript/figma/Dialog.Description.figma.d.ts.map +1 -0
  970. package/lib/typescript/figma/Dialog.Footer.figma.d.ts +8 -0
  971. package/lib/typescript/figma/Dialog.Footer.figma.d.ts.map +1 -0
  972. package/lib/typescript/figma/Dialog.Header.figma.d.ts +8 -0
  973. package/lib/typescript/figma/Dialog.Header.figma.d.ts.map +1 -0
  974. package/lib/typescript/figma/Dialog.Text.figma.d.ts +8 -0
  975. package/lib/typescript/figma/Dialog.Text.figma.d.ts.map +1 -0
  976. package/lib/typescript/figma/Dialog.Title.figma.d.ts +8 -0
  977. package/lib/typescript/figma/Dialog.Title.figma.d.ts.map +1 -0
  978. package/lib/typescript/figma/Dialog.figma.d.ts +8 -0
  979. package/lib/typescript/figma/Dialog.figma.d.ts.map +1 -0
  980. package/lib/typescript/figma/Divider.figma.d.ts +8 -0
  981. package/lib/typescript/figma/Divider.figma.d.ts.map +1 -0
  982. package/lib/typescript/figma/Field.Input.figma.d.ts +8 -0
  983. package/lib/typescript/figma/Field.Input.figma.d.ts.map +1 -0
  984. package/lib/typescript/figma/Field.OtpInput.figma.d.ts +8 -0
  985. package/lib/typescript/figma/Field.OtpInput.figma.d.ts.map +1 -0
  986. package/lib/typescript/figma/Field.Select.figma.d.ts +8 -0
  987. package/lib/typescript/figma/Field.Select.figma.d.ts.map +1 -0
  988. package/lib/typescript/figma/Field.Textarea.figma.d.ts +8 -0
  989. package/lib/typescript/figma/Field.Textarea.figma.d.ts.map +1 -0
  990. package/lib/typescript/figma/Heading.figma.d.ts +8 -0
  991. package/lib/typescript/figma/Heading.figma.d.ts.map +1 -0
  992. package/lib/typescript/figma/Icon.figma.d.ts +8 -0
  993. package/lib/typescript/figma/Icon.figma.d.ts.map +1 -0
  994. package/lib/typescript/figma/IconButton.figma.d.ts +8 -0
  995. package/lib/typescript/figma/IconButton.figma.d.ts.map +1 -0
  996. package/lib/typescript/figma/Input.figma.d.ts +8 -0
  997. package/lib/typescript/figma/Input.figma.d.ts.map +1 -0
  998. package/lib/typescript/figma/Link.figma.d.ts +8 -0
  999. package/lib/typescript/figma/Link.figma.d.ts.map +1 -0
  1000. package/lib/typescript/figma/ListItem.Description.figma.d.ts +11 -0
  1001. package/lib/typescript/figma/ListItem.Description.figma.d.ts.map +1 -0
  1002. package/lib/typescript/figma/ListItem.LeadingSlot.figma.d.ts +8 -0
  1003. package/lib/typescript/figma/ListItem.LeadingSlot.figma.d.ts.map +1 -0
  1004. package/lib/typescript/figma/ListItem.Meta.figma.d.ts +11 -0
  1005. package/lib/typescript/figma/ListItem.Meta.figma.d.ts.map +1 -0
  1006. package/lib/typescript/figma/ListItem.SectionHeader.figma.d.ts +8 -0
  1007. package/lib/typescript/figma/ListItem.SectionHeader.figma.d.ts.map +1 -0
  1008. package/lib/typescript/figma/ListItem.Title.figma.d.ts +11 -0
  1009. package/lib/typescript/figma/ListItem.Title.figma.d.ts.map +1 -0
  1010. package/lib/typescript/figma/ListItem.TrailingSlot.figma.d.ts +8 -0
  1011. package/lib/typescript/figma/ListItem.TrailingSlot.figma.d.ts.map +1 -0
  1012. package/lib/typescript/figma/ListItem.figma.d.ts +8 -0
  1013. package/lib/typescript/figma/ListItem.figma.d.ts.map +1 -0
  1014. package/lib/typescript/figma/OtpInput.Cell.figma.d.ts +8 -0
  1015. package/lib/typescript/figma/OtpInput.Cell.figma.d.ts.map +1 -0
  1016. package/lib/typescript/figma/OtpInput.figma.d.ts +8 -0
  1017. package/lib/typescript/figma/OtpInput.figma.d.ts.map +1 -0
  1018. package/lib/typescript/figma/ProgressSegmented.figma.d.ts +8 -0
  1019. package/lib/typescript/figma/ProgressSegmented.figma.d.ts.map +1 -0
  1020. package/lib/typescript/figma/QuickActionButton.figma.d.ts +8 -0
  1021. package/lib/typescript/figma/QuickActionButton.figma.d.ts.map +1 -0
  1022. package/lib/typescript/figma/Radio.figma.d.ts.map +1 -1
  1023. package/lib/typescript/figma/Select.figma.d.ts +8 -0
  1024. package/lib/typescript/figma/Select.figma.d.ts.map +1 -0
  1025. package/lib/typescript/figma/Text.figma.d.ts +11 -0
  1026. package/lib/typescript/figma/Text.figma.d.ts.map +1 -0
  1027. package/lib/typescript/figma/Textarea.figma.d.ts +8 -0
  1028. package/lib/typescript/figma/Textarea.figma.d.ts.map +1 -0
  1029. package/lib/typescript/figma/icons.figma.batch.d.ts +14 -0
  1030. package/lib/typescript/figma/icons.figma.batch.d.ts.map +1 -0
  1031. package/lib/typescript/hooks/index.d.ts +2 -0
  1032. package/lib/typescript/hooks/index.d.ts.map +1 -0
  1033. package/lib/typescript/hooks/useForgeBottomTabScreenOptions.d.ts +137 -0
  1034. package/lib/typescript/hooks/useForgeBottomTabScreenOptions.d.ts.map +1 -0
  1035. package/lib/typescript/index.d.ts +6 -0
  1036. package/lib/typescript/index.d.ts.map +1 -1
  1037. package/lib/typescript/metro/withCdxMetroConfig.d.ts +4 -18
  1038. package/lib/typescript/metro/withCdxMetroConfig.d.ts.map +1 -1
  1039. package/lib/typescript/metro/withForgeMetroConfig.d.ts +19 -0
  1040. package/lib/typescript/metro/withForgeMetroConfig.d.ts.map +1 -0
  1041. package/lib/typescript/navigation/forgeTabIcon.d.ts +27 -0
  1042. package/lib/typescript/navigation/forgeTabIcon.d.ts.map +1 -0
  1043. package/lib/typescript/navigation/forgeTabIcon.native.d.ts +15 -0
  1044. package/lib/typescript/navigation/forgeTabIcon.native.d.ts.map +1 -0
  1045. package/lib/typescript/navigation/index.d.ts +4 -0
  1046. package/lib/typescript/navigation/index.d.ts.map +1 -0
  1047. package/lib/typescript/navigation/types.d.ts +37 -0
  1048. package/lib/typescript/navigation/types.d.ts.map +1 -0
  1049. package/lib/typescript/providers/animation-settings/index.d.ts +3 -0
  1050. package/lib/typescript/providers/animation-settings/index.d.ts.map +1 -0
  1051. package/lib/typescript/providers/animation-settings/provider.d.ts +28 -0
  1052. package/lib/typescript/providers/animation-settings/provider.d.ts.map +1 -0
  1053. package/lib/typescript/providers/animation-settings/types.d.ts +35 -0
  1054. package/lib/typescript/providers/animation-settings/types.d.ts.map +1 -0
  1055. package/lib/typescript/providers/forge-design/index.d.ts +3 -0
  1056. package/lib/typescript/providers/forge-design/index.d.ts.map +1 -0
  1057. package/lib/typescript/providers/forge-design/provider.d.ts +24 -0
  1058. package/lib/typescript/providers/forge-design/provider.d.ts.map +1 -0
  1059. package/lib/typescript/providers/forge-design/types.d.ts +82 -0
  1060. package/lib/typescript/providers/forge-design/types.d.ts.map +1 -0
  1061. package/lib/typescript/providers/text-component/index.d.ts +3 -0
  1062. package/lib/typescript/providers/text-component/index.d.ts.map +1 -0
  1063. package/lib/typescript/providers/text-component/provider.d.ts +7 -0
  1064. package/lib/typescript/providers/text-component/provider.d.ts.map +1 -0
  1065. package/lib/typescript/providers/text-component/types.d.ts +51 -0
  1066. package/lib/typescript/providers/text-component/types.d.ts.map +1 -0
  1067. package/lib/typescript/providers/toast/index.d.ts +5 -0
  1068. package/lib/typescript/providers/toast/index.d.ts.map +1 -0
  1069. package/lib/typescript/providers/toast/insets-container.d.ts +72 -0
  1070. package/lib/typescript/providers/toast/insets-container.d.ts.map +1 -0
  1071. package/lib/typescript/providers/toast/lifecycle.context.d.ts +32 -0
  1072. package/lib/typescript/providers/toast/lifecycle.context.d.ts.map +1 -0
  1073. package/lib/typescript/providers/toast/provider.d.ts +32 -0
  1074. package/lib/typescript/providers/toast/provider.d.ts.map +1 -0
  1075. package/lib/typescript/providers/toast/reducer.d.ts +14 -0
  1076. package/lib/typescript/providers/toast/reducer.d.ts.map +1 -0
  1077. package/lib/typescript/providers/toast/toast-config.context.d.ts +20 -0
  1078. package/lib/typescript/providers/toast/toast-config.context.d.ts.map +1 -0
  1079. package/lib/typescript/providers/toast/toast-item-renderer.d.ts +7 -0
  1080. package/lib/typescript/providers/toast/toast-item-renderer.d.ts.map +1 -0
  1081. package/lib/typescript/providers/toast/types.d.ts +422 -0
  1082. package/lib/typescript/providers/toast/types.d.ts.map +1 -0
  1083. package/lib/typescript/styles/constants.d.ts +4 -0
  1084. package/lib/typescript/styles/constants.d.ts.map +1 -0
  1085. package/lib/typescript/utils/positionToDataIcon.d.ts +29 -0
  1086. package/lib/typescript/utils/positionToDataIcon.d.ts.map +1 -0
  1087. package/package.json +28 -17
  1088. package/src/animation/hooks/index.ts +4 -0
  1089. package/src/animation/hooks/useCombinedAnimationDisabledState.ts +46 -0
  1090. package/src/animation/hooks/usePopupDialogContentAnimation.ts +265 -0
  1091. package/src/animation/hooks/usePopupOverlayAnimation.ts +91 -0
  1092. package/src/animation/hooks/usePopupRootAnimation.ts +27 -0
  1093. package/src/animation/index.ts +3 -0
  1094. package/src/animation/types.ts +128 -0
  1095. package/src/animation/utils.ts +249 -0
  1096. package/src/components/Alert/index.tsx +318 -0
  1097. package/src/components/Alert/styles.ts +88 -0
  1098. package/src/components/AlertDialog/index.tsx +36 -22
  1099. package/src/components/Avatar/index.tsx +143 -45
  1100. package/src/components/Avatar/styles.ts +50 -35
  1101. package/src/components/Badge/index.tsx +91 -0
  1102. package/src/components/Badge/styles.ts +136 -0
  1103. package/src/components/BottomSheet/index.tsx +107 -50
  1104. package/src/components/BottomSheet/styles.ts +10 -57
  1105. package/src/components/Box/Box.tsx +3 -7
  1106. package/src/components/Breadcrumbs/index.tsx +311 -0
  1107. package/src/components/Breadcrumbs/styles.ts +63 -0
  1108. package/src/components/Button/index.tsx +289 -47
  1109. package/src/components/Button/styles.ts +79 -38
  1110. package/src/components/CLAUDE.md +195 -0
  1111. package/src/components/Card/index.tsx +94 -28
  1112. package/src/components/Card/styles.ts +20 -5
  1113. package/src/components/Carousel/context.ts +15 -0
  1114. package/src/components/Carousel/index.tsx +268 -0
  1115. package/src/components/Carousel/navButton.tsx +160 -0
  1116. package/src/components/Carousel/paginationNavigation.ts +32 -0
  1117. package/src/components/Carousel/styles.ts +45 -0
  1118. package/src/components/Carousel/useCarouselActiveIndex.ts +54 -0
  1119. package/src/components/Checkbox/index.tsx +124 -51
  1120. package/src/components/Checkbox/styles.ts +93 -84
  1121. package/src/components/Chip/index.tsx +194 -32
  1122. package/src/components/Chip/styles.ts +225 -23
  1123. package/src/components/CurrencyInput/index.tsx +192 -0
  1124. package/src/components/CurrencyInput/styles.ts +44 -0
  1125. package/src/components/Dialog/animation.ts +13 -0
  1126. package/src/components/Dialog/index.tsx +538 -90
  1127. package/src/components/Dialog/styles.ts +94 -31
  1128. package/src/components/Divider/index.tsx +94 -0
  1129. package/src/components/Divider/styles.ts +86 -0
  1130. package/src/components/Field/index.tsx +121 -50
  1131. package/src/components/Field/styles.ts +7 -6
  1132. package/src/components/Form/index.tsx +18 -14
  1133. package/src/components/Form/styles.ts +1 -1
  1134. package/src/components/Heading/styles.ts +2 -2
  1135. package/src/components/Icon/index.tsx +14 -8
  1136. package/src/components/IconButton/index.tsx +45 -37
  1137. package/src/components/IconButton/styles.ts +137 -11
  1138. package/src/components/Input/index.tsx +95 -33
  1139. package/src/components/Input/styles.ts +36 -13
  1140. package/src/components/InsuranceDisclosure/index.tsx +59 -0
  1141. package/src/components/InsuranceDisclosure/styles.ts +12 -0
  1142. package/src/components/Link/index.tsx +58 -18
  1143. package/src/components/Link/styles.ts +48 -11
  1144. package/src/components/ListItem/index.tsx +157 -87
  1145. package/src/components/ListItem/styles.ts +47 -71
  1146. package/src/components/OtpInput/index.tsx +149 -34
  1147. package/src/components/OtpInput/styles.ts +21 -14
  1148. package/src/components/ProgressBar/index.tsx +11 -16
  1149. package/src/components/ProgressBar/styles.ts +2 -2
  1150. package/src/components/ProgressSegmented/index.tsx +45 -14
  1151. package/src/components/ProgressSegmented/styles.ts +3 -3
  1152. package/src/components/QuickActionButton/index.tsx +161 -0
  1153. package/src/components/QuickActionButton/styles.ts +42 -0
  1154. package/src/components/Radio/index.tsx +96 -53
  1155. package/src/components/Radio/styles.ts +38 -15
  1156. package/src/components/ScopedTheme/index.tsx +17 -0
  1157. package/src/components/ScrollShadow/index.tsx +119 -0
  1158. package/src/components/ScrollShadow/styles.ts +57 -0
  1159. package/src/components/ScrollShadow/useScrollShadow.ts +110 -0
  1160. package/src/components/Select/index.tsx +175 -55
  1161. package/src/components/Select/styles.ts +64 -52
  1162. package/src/components/Skeleton/index.tsx +43 -0
  1163. package/src/components/Skeleton/styles.ts +5 -0
  1164. package/src/components/Slider/getSliderPopupPosition.ts +37 -0
  1165. package/src/components/Slider/index.tsx +456 -0
  1166. package/src/components/Slider/styles.ts +147 -0
  1167. package/src/components/Stack/styles.ts +1 -1
  1168. package/src/components/Switch/BaseSwitch.tsx +38 -16
  1169. package/src/components/Switch/BaseSwitch.web.tsx +28 -35
  1170. package/src/components/Switch/index.tsx +61 -6
  1171. package/src/components/Switch/styles.ts +1 -1
  1172. package/src/components/Tabs/index.tsx +698 -0
  1173. package/src/components/Tabs/styles.ts +340 -0
  1174. package/src/components/Text/styles.ts +3 -3
  1175. package/src/components/Textarea/index.tsx +180 -0
  1176. package/src/components/Textarea/styles.ts +86 -0
  1177. package/src/components/Tile/index.tsx +145 -94
  1178. package/src/components/Tile/styles.ts +3 -3
  1179. package/src/components/Toast/animation.ts +405 -0
  1180. package/src/components/Toast/hooks.ts +93 -0
  1181. package/src/components/Toast/index.tsx +551 -0
  1182. package/src/components/Toast/styles.ts +186 -0
  1183. package/src/components/Toast/types.ts +338 -0
  1184. package/src/components/VirtualizedList/index.tsx +11 -1
  1185. package/src/components/index.ts +15 -0
  1186. package/src/globals.d.ts +1 -0
  1187. package/src/hooks/index.ts +5 -0
  1188. package/src/hooks/useForgeBottomTabScreenOptions.ts +245 -0
  1189. package/src/index.ts +6 -0
  1190. package/src/metro/withCdxMetroConfig.ts +4 -29
  1191. package/src/metro/withForgeMetroConfig.ts +29 -0
  1192. package/src/navigation/forgeTabIcon.native.ts +36 -0
  1193. package/src/navigation/forgeTabIcon.ts +33 -0
  1194. package/src/navigation/index.ts +3 -0
  1195. package/src/navigation/types.ts +54 -0
  1196. package/src/providers/animation-settings/index.ts +11 -0
  1197. package/src/providers/animation-settings/provider.tsx +54 -0
  1198. package/src/providers/animation-settings/types.ts +37 -0
  1199. package/src/providers/forge-design/index.ts +2 -0
  1200. package/src/providers/forge-design/provider.tsx +61 -0
  1201. package/src/providers/forge-design/types.ts +84 -0
  1202. package/src/providers/text-component/index.ts +2 -0
  1203. package/src/providers/text-component/provider.tsx +7 -0
  1204. package/src/providers/text-component/types.ts +52 -0
  1205. package/src/providers/toast/index.ts +4 -0
  1206. package/src/providers/toast/insets-container.tsx +232 -0
  1207. package/src/providers/toast/lifecycle.context.tsx +37 -0
  1208. package/src/providers/toast/provider.tsx +572 -0
  1209. package/src/providers/toast/reducer.ts +40 -0
  1210. package/src/providers/toast/toast-config.context.ts +25 -0
  1211. package/src/providers/toast/toast-item-renderer.tsx +40 -0
  1212. package/src/providers/toast/types.ts +431 -0
  1213. package/src/styles/constants.ts +10 -0
  1214. package/src/styles.css +0 -5
  1215. package/src/utils/positionToDataIcon.ts +34 -0
  1216. package/lib/commonjs/components/Field/FieldLabel.js +0 -33
  1217. package/lib/commonjs/components/Field/FieldLabel.js.map +0 -1
  1218. package/lib/commonjs/components/Field/FieldLabel.web.js +0 -22
  1219. package/lib/commonjs/components/Field/FieldLabel.web.js.map +0 -1
  1220. package/lib/commonjs/components/Form/FormRoot.js +0 -25
  1221. package/lib/commonjs/components/Form/FormRoot.js.map +0 -1
  1222. package/lib/commonjs/components/Form/FormRoot.web.js +0 -17
  1223. package/lib/commonjs/components/Form/FormRoot.web.js.map +0 -1
  1224. package/lib/commonjs/components/Input/BaseInput.android.js +0 -20
  1225. package/lib/commonjs/components/Input/BaseInput.android.js.map +0 -1
  1226. package/lib/commonjs/components/Input/BaseInput.js +0 -13
  1227. package/lib/commonjs/components/Input/BaseInput.js.map +0 -1
  1228. package/lib/commonjs/components/Input/BaseInput.web.js +0 -50
  1229. package/lib/commonjs/components/Input/BaseInput.web.js.map +0 -1
  1230. package/lib/commonjs/components/Select/SelectTriggerHost.js +0 -10
  1231. package/lib/commonjs/components/Select/SelectTriggerHost.js.map +0 -1
  1232. package/lib/commonjs/components/Select/SelectTriggerHost.web.js +0 -98
  1233. package/lib/commonjs/components/Select/SelectTriggerHost.web.js.map +0 -1
  1234. package/lib/commonjs/styles/index.js +0 -17
  1235. package/lib/commonjs/styles/index.js.map +0 -1
  1236. package/lib/commonjs/styles/primitives.js +0 -156
  1237. package/lib/commonjs/styles/primitives.js.map +0 -1
  1238. package/lib/commonjs/utils/WrapStringChild.js +0 -22
  1239. package/lib/commonjs/utils/WrapStringChild.js.map +0 -1
  1240. package/lib/module/components/Field/FieldLabel.js +0 -29
  1241. package/lib/module/components/Field/FieldLabel.js.map +0 -1
  1242. package/lib/module/components/Field/FieldLabel.web.js +0 -17
  1243. package/lib/module/components/Field/FieldLabel.web.js.map +0 -1
  1244. package/lib/module/components/Form/FormRoot.js +0 -21
  1245. package/lib/module/components/Form/FormRoot.js.map +0 -1
  1246. package/lib/module/components/Form/FormRoot.web.js +0 -12
  1247. package/lib/module/components/Form/FormRoot.web.js.map +0 -1
  1248. package/lib/module/components/Input/BaseInput.android.js +0 -16
  1249. package/lib/module/components/Input/BaseInput.android.js.map +0 -1
  1250. package/lib/module/components/Input/BaseInput.js +0 -4
  1251. package/lib/module/components/Input/BaseInput.js.map +0 -1
  1252. package/lib/module/components/Input/BaseInput.web.js +0 -45
  1253. package/lib/module/components/Input/BaseInput.web.js.map +0 -1
  1254. package/lib/module/components/Select/SelectTriggerHost.js +0 -7
  1255. package/lib/module/components/Select/SelectTriggerHost.js.map +0 -1
  1256. package/lib/module/components/Select/SelectTriggerHost.web.js +0 -93
  1257. package/lib/module/components/Select/SelectTriggerHost.web.js.map +0 -1
  1258. package/lib/module/styles/index.js +0 -4
  1259. package/lib/module/styles/index.js.map +0 -1
  1260. package/lib/module/styles/primitives.js +0 -152
  1261. package/lib/module/styles/primitives.js.map +0 -1
  1262. package/lib/module/utils/WrapStringChild.js +0 -18
  1263. package/lib/module/utils/WrapStringChild.js.map +0 -1
  1264. package/lib/typescript/components/Field/FieldLabel.d.ts +0 -18
  1265. package/lib/typescript/components/Field/FieldLabel.d.ts.map +0 -1
  1266. package/lib/typescript/components/Field/FieldLabel.web.d.ts +0 -16
  1267. package/lib/typescript/components/Field/FieldLabel.web.d.ts.map +0 -1
  1268. package/lib/typescript/components/Form/FormRoot.d.ts +0 -14
  1269. package/lib/typescript/components/Form/FormRoot.d.ts.map +0 -1
  1270. package/lib/typescript/components/Form/FormRoot.web.d.ts +0 -10
  1271. package/lib/typescript/components/Form/FormRoot.web.d.ts.map +0 -1
  1272. package/lib/typescript/components/Input/BaseInput.android.d.ts +0 -3
  1273. package/lib/typescript/components/Input/BaseInput.android.d.ts.map +0 -1
  1274. package/lib/typescript/components/Input/BaseInput.d.ts +0 -2
  1275. package/lib/typescript/components/Input/BaseInput.d.ts.map +0 -1
  1276. package/lib/typescript/components/Input/BaseInput.web.d.ts +0 -3
  1277. package/lib/typescript/components/Input/BaseInput.web.d.ts.map +0 -1
  1278. package/lib/typescript/components/Select/SelectTriggerHost.d.ts +0 -3
  1279. package/lib/typescript/components/Select/SelectTriggerHost.d.ts.map +0 -1
  1280. package/lib/typescript/components/Select/SelectTriggerHost.web.d.ts +0 -13
  1281. package/lib/typescript/components/Select/SelectTriggerHost.web.d.ts.map +0 -1
  1282. package/lib/typescript/styles/index.d.ts +0 -2
  1283. package/lib/typescript/styles/index.d.ts.map +0 -1
  1284. package/lib/typescript/styles/primitives.d.ts +0 -120
  1285. package/lib/typescript/styles/primitives.d.ts.map +0 -1
  1286. package/lib/typescript/utils/WrapStringChild.d.ts +0 -10
  1287. package/lib/typescript/utils/WrapStringChild.d.ts.map +0 -1
  1288. package/src/components/Field/FieldLabel.tsx +0 -33
  1289. package/src/components/Field/FieldLabel.web.tsx +0 -25
  1290. package/src/components/Form/FormRoot.tsx +0 -20
  1291. package/src/components/Form/FormRoot.web.tsx +0 -12
  1292. package/src/components/Input/BaseInput.android.tsx +0 -13
  1293. package/src/components/Input/BaseInput.tsx +0 -1
  1294. package/src/components/Input/BaseInput.web.tsx +0 -41
  1295. package/src/components/Select/SelectTriggerHost.tsx +0 -4
  1296. package/src/components/Select/SelectTriggerHost.web.tsx +0 -136
  1297. package/src/styles/index.ts +0 -1
  1298. package/src/styles/primitives.ts +0 -140
  1299. package/src/utils/WrapStringChild.tsx +0 -25
@@ -0,0 +1,114 @@
1
+ "use strict";
2
+
3
+ import { useCallback } from 'react';
4
+ import { ChevronLeft, ChevronRight, KeyboardArrowDown, KeyboardArrowUp } from '@cdx-ui/icons';
5
+ import { dataAttributes, mergeDataAttributes } from '@cdx-ui/primitives';
6
+ import { cn } from '@cdx-ui/utils';
7
+ import { IconButton } from '../IconButton';
8
+ import { useCarouselProgressContext } from './context';
9
+ import { carouselNavButtonIconVariants, carouselNavButtonRootVariants } from './styles';
10
+ import { useCarouselActiveIndex } from './useCarouselActiveIndex';
11
+ import { jsx as _jsx } from "react/jsx-runtime";
12
+ function resolveDefaultIcon(vertical, direction) {
13
+ if (vertical) {
14
+ return direction === 'prev' ? KeyboardArrowUp : KeyboardArrowDown;
15
+ }
16
+ return direction === 'prev' ? ChevronLeft : ChevronRight;
17
+ }
18
+ function resolveDefaultAccessibilityLabel(vertical, direction) {
19
+ if (vertical) {
20
+ return direction === 'prev' ? 'Previous item' : 'Next item';
21
+ }
22
+ return direction === 'prev' ? 'Previous slide' : 'Next slide';
23
+ }
24
+ function CarouselNavButton({
25
+ direction,
26
+ progress: progressProp,
27
+ carouselRef: carouselRefProp,
28
+ itemCount: itemCountProp,
29
+ loop: loopProp,
30
+ vertical: verticalProp,
31
+ onPress,
32
+ disabled: disabledProp,
33
+ as,
34
+ accessibilityLabel,
35
+ color = 'neutral',
36
+ size = 'default',
37
+ className,
38
+ iconClassName,
39
+ ...iconButtonProps
40
+ }) {
41
+ const context = useCarouselProgressContext();
42
+ const progress = progressProp ?? context?.progress;
43
+ const carouselRef = carouselRefProp ?? context?.carouselRef;
44
+ const itemCount = itemCountProp ?? context?.itemCount;
45
+ const loop = loopProp ?? context?.loop ?? true;
46
+ const vertical = verticalProp ?? context?.vertical ?? false;
47
+ if (!progress) {
48
+ throw new Error(`Carousel.${direction === 'prev' ? 'PrevButton' : 'NextButton'} must be rendered inside <Carousel> or receive an explicit \`progress\` prop.`);
49
+ }
50
+ if (!onPress && !carouselRef) {
51
+ throw new Error(`Carousel.${direction === 'prev' ? 'PrevButton' : 'NextButton'} must be rendered inside <Carousel> or receive an explicit \`carouselRef\` prop (or a custom \`onPress\`).`);
52
+ }
53
+ if (itemCount == null) {
54
+ throw new Error(`Carousel.${direction === 'prev' ? 'PrevButton' : 'NextButton'} must be rendered inside <Carousel> or receive an explicit \`itemCount\` prop.`);
55
+ }
56
+ const activeIndex = useCarouselActiveIndex(progress);
57
+ const atStart = activeIndex <= 0;
58
+ const atEnd = activeIndex >= itemCount - 1;
59
+ const autoDisabled = !loop && (direction === 'prev' ? atStart : atEnd);
60
+ const disabled = disabledProp ?? autoDisabled;
61
+ const handlePress = useCallback(() => {
62
+ if (onPress) {
63
+ onPress();
64
+ return;
65
+ }
66
+ if (direction === 'prev') {
67
+ carouselRef?.current?.prev({
68
+ animated: true
69
+ });
70
+ } else {
71
+ carouselRef?.current?.next({
72
+ animated: true
73
+ });
74
+ }
75
+ }, [onPress, carouselRef, direction]);
76
+ const dataSlot = direction === 'prev' ? 'carousel-prev-button' : 'carousel-next-button';
77
+ return /*#__PURE__*/_jsx(IconButton, {
78
+ as: as ?? resolveDefaultIcon(vertical, direction),
79
+ variant: "ghost",
80
+ color: color,
81
+ size: size,
82
+ isDisabled: disabled,
83
+ onPress: handlePress,
84
+ accessibilityLabel: accessibilityLabel ?? resolveDefaultAccessibilityLabel(vertical, direction),
85
+ accessibilityState: {
86
+ disabled
87
+ },
88
+ className: cn(carouselNavButtonRootVariants({
89
+ disabled
90
+ }), className),
91
+ iconClassName: cn(carouselNavButtonIconVariants({
92
+ disabled
93
+ }), iconClassName),
94
+ ...iconButtonProps,
95
+ ...mergeDataAttributes(iconButtonProps, dataAttributes({
96
+ slot: dataSlot
97
+ }))
98
+ });
99
+ }
100
+ export function CarouselPrevButton(props) {
101
+ return /*#__PURE__*/_jsx(CarouselNavButton, {
102
+ direction: "prev",
103
+ ...props
104
+ });
105
+ }
106
+ CarouselPrevButton.displayName = 'Carousel.PrevButton';
107
+ export function CarouselNextButton(props) {
108
+ return /*#__PURE__*/_jsx(CarouselNavButton, {
109
+ direction: "next",
110
+ ...props
111
+ });
112
+ }
113
+ CarouselNextButton.displayName = 'Carousel.NextButton';
114
+ //# sourceMappingURL=navButton.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["useCallback","ChevronLeft","ChevronRight","KeyboardArrowDown","KeyboardArrowUp","dataAttributes","mergeDataAttributes","cn","IconButton","useCarouselProgressContext","carouselNavButtonIconVariants","carouselNavButtonRootVariants","useCarouselActiveIndex","jsx","_jsx","resolveDefaultIcon","vertical","direction","resolveDefaultAccessibilityLabel","CarouselNavButton","progress","progressProp","carouselRef","carouselRefProp","itemCount","itemCountProp","loop","loopProp","verticalProp","onPress","disabled","disabledProp","as","accessibilityLabel","color","size","className","iconClassName","iconButtonProps","context","Error","activeIndex","atStart","atEnd","autoDisabled","handlePress","current","prev","animated","next","dataSlot","variant","isDisabled","accessibilityState","slot","CarouselPrevButton","props","displayName","CarouselNextButton"],"sourceRoot":"../../../../src","sources":["components/Carousel/navButton.tsx"],"mappings":";;AAAA,SAASA,WAAW,QAAQ,OAAO;AAInC,SACEC,WAAW,EACXC,YAAY,EACZC,iBAAiB,EACjBC,eAAe,QAEV,eAAe;AACtB,SAASC,cAAc,EAAEC,mBAAmB,QAAQ,oBAAoB;AACxE,SAASC,EAAE,QAAQ,eAAe;AAClC,SAASC,UAAU,QAA8B,eAAe;AAChE,SAASC,0BAA0B,QAAQ,WAAW;AACtD,SAASC,6BAA6B,EAAEC,6BAA6B,QAAQ,UAAU;AACvF,SAASC,sBAAsB,QAAQ,0BAA0B;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAoClE,SAASC,kBAAkBA,CAACC,QAAiB,EAAEC,SAA0B,EAAa;EACpF,IAAID,QAAQ,EAAE;IACZ,OAAOC,SAAS,KAAK,MAAM,GAAGb,eAAe,GAAGD,iBAAiB;EACnE;EACA,OAAOc,SAAS,KAAK,MAAM,GAAGhB,WAAW,GAAGC,YAAY;AAC1D;AAEA,SAASgB,gCAAgCA,CAACF,QAAiB,EAAEC,SAA0B,EAAU;EAC/F,IAAID,QAAQ,EA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AACI,6BAA6B,CAAC;MAAEmB;IAAS,CAAC,CAAC,EAAEM,SAAS,CAAE;IACtEC,aAAa,EAAE9B,EAAE,CAACG,6BAA6B,CAAC;MAAEoB;IAAS,CAAC,CAAC,EAAEO,aAAa,CAAE;IAAA,GAC1EC,eAAe;IAAA,GACfhC,mBAAmB,CAACgC,eAAe,EAAEjC,cAAc,CAAC;MAAEiD,IAAI,EAAEJ;IAAS,CAAC,CAAC;EAAC,CAC7E,CAAC;AAEN;AAEA,OAAO,SAASK,kBAAkBA,CAACC,KAA6B,EAAE;EAChE,oBAAO1C,IAAA,CAACK,iBAAiB;IAACF,SAAS,EAAC,MAAM;IAAA,GAAKuC;EAAK,CAAG,CAAC;AAC1D;AAEAD,kBAAkB,CAACE,WAAW,GAAG,qBAAqB;AAEtD,OAAO,SAASC,kBAAkBA,CAACF,KAA6B,EAAE;EAChE,oBAAO1C,IAAA,CAACK,iBAAiB;IAACF,SAAS,EAAC,MAAM;IAAA,GAAKuC;EAAK,CAAG,CAAC;AAC1D;AAEAE,kBAAkB,CAACD,WAAW,GAAG,qBAAqB","ignoreList":[]}
@@ -0,0 +1,31 @@
1
+ "use strict";
2
+
3
+ /**
4
+ * Resolves the shortest `scrollTo` action for pagination dot presses.
5
+ *
6
+ * In loop mode the library's absolute `scrollTo({ index })` can animate through every
7
+ * slide when the current index is past the halfway point of the loop buffer (e.g. index 2 → 3
8
+ * with four items). Relative `count` navigation avoids that wrap-around path.
9
+ */
10
+ export function resolveCarouselPaginationScrollAction(currentIndex, targetIndex, dataLength, loop) {
11
+ if (currentIndex === targetIndex) return null;
12
+ if (!loop) {
13
+ return {
14
+ index: targetIndex,
15
+ animated: true
16
+ };
17
+ }
18
+ const forwardDelta = (targetIndex - currentIndex + dataLength) % dataLength;
19
+ const backwardDelta = (currentIndex - targetIndex + dataLength) % dataLength;
20
+ if (forwardDelta <= backwardDelta) {
21
+ return {
22
+ count: forwardDelta,
23
+ animated: true
24
+ };
25
+ }
26
+ return {
27
+ count: -backwardDelta,
28
+ animated: true
29
+ };
30
+ }
31
+ //# sourceMappingURL=paginationNavigation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["resolveCarouselPaginationScrollAction","currentIndex","targetIndex","dataLength","loop","index","animated","forwardDelta","backwardDelta","count"],"sourceRoot":"../../../../src","sources":["components/Carousel/paginationNavigation.ts"],"mappings":";;AAIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,SAASA,qCAAqCA,CACnDC,YAAoB,EACpBC,WAAmB,EACnBC,UAAkB,EAClBC,IAAa,EAC0B;EACvC,IAAIH,YAAY,KAAKC,WAAW,EAAE,OAAO,IAAI;EAE7C,IAAI,CAACE,IAAI,EAAE;IACT,OAAO;MAAEC,KAAK,EAAEH,WAAW;MAAEI,QAAQ,EAAE;IAAK,CAAC;EAC/C;EAEA,MAAMC,YAAY,GAAG,CAACL,WAAW,GAAGD,YAAY,GAAGE,UAAU,IAAIA,UAAU;EAC3E,MAAMK,aAAa,GAAG,CAACP,YAAY,GAAGC,WAAW,GAAGC,UAAU,IAAIA,UAAU;EAE5E,IAAII,YAAY,IAAIC,aAAa,EAAE;IACjC,OAAO;MAAEC,KAAK,EAAEF,YAAY;MAAED,QAAQ,EAAE;IAAK,CAAC;EAChD;EAEA,OAAO;IAAEG,KAAK,EAAE,CAACD,aAAa;IAAEF,QAAQ,EAAE;EAAK,CAAC;AAClD","ignoreList":[]}
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+
3
+ import { cva } from '@cdx-ui/utils';
4
+
5
+ /** Small default gap between dots — the library ships no default spacing between pagination items. */
6
+ export const carouselPaginationContainerClassName = 'gap-2 py-1';
7
+ export const carouselPaginationDotVariants = cva('rounded-full', {
8
+ variants: {
9
+ active: {
10
+ true: 'bg-surface-neutral-strong',
11
+ false: 'bg-surface-neutral-subtle'
12
+ }
13
+ },
14
+ defaultVariants: {
15
+ active: false
16
+ }
17
+ });
18
+ /** Overrides IconButton's default disabled opacity so tertiary icon color reads clearly at bounds. */
19
+ export const carouselNavButtonRootVariants = cva([], {
20
+ variants: {
21
+ disabled: {
22
+ true: 'data-[disabled=true]:opacity-100',
23
+ false: ''
24
+ }
25
+ },
26
+ defaultVariants: {
27
+ disabled: false
28
+ }
29
+ });
30
+ export const carouselNavButtonIconVariants = cva([], {
31
+ variants: {
32
+ disabled: {
33
+ true: 'text-content-tertiary',
34
+ false: ''
35
+ }
36
+ },
37
+ defaultVariants: {
38
+ disabled: false
39
+ }
40
+ });
41
+ //# sourceMappingURL=styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["cva","carouselPaginationContainerClassName","carouselPaginationDotVariants","variants","active","true","false","defaultVariants","carouselNavButtonRootVariants","disabled","carouselNavButtonIconVariants"],"sourceRoot":"../../../../src","sources":["components/Carousel/styles.ts"],"mappings":";;AAAA,SAASA,GAAG,QAA2B,eAAe;;AAEtD;AACA,OAAO,MAAMC,oCAAoC,GAAG,YAAY;AAEhE,OAAO,MAAMC,6BAA6B,GAAGF,GAAG,CAAC,cAAc,EAAE;EAC/DG,QAAQ,EAAE;IACRC,MAAM,EAAE;MACNC,IAAI,EAAE,2BAA2B;MACjCC,KAAK,EAAE;IACT;EACF,CAAC;EACDC,eAAe,EAAE;IACfH,MAAM,EAAE;EACV;AACF,CAAC,CAAC;AAIF;AACA,OAAO,MAAMI,6BAA6B,GAAGR,GAAG,CAAC,EAAE,EAAE;EACnDG,QAAQ,EAAE;IACRM,QAAQ,EAAE;MACRJ,IAAI,EAAE,kCAAkC;MACxCC,KAAK,EAAE;IACT;EACF,CAAC;EACDC,eAAe,EAAE;IACfE,QAAQ,EAAE;EACZ;AACF,CAAC,CAAC;AAEF,OAAO,MAAMC,6BAA6B,GAAGV,GAAG,CAAC,EAAE,EAAE;EACnDG,QAAQ,EAAE;IACRM,QAAQ,EAAE;MACRJ,IAAI,EAAE,uBAAuB;MAC7BC,KAAK,EAAE;IACT;EACF,CAAC;EACDC,eAAe,EAAE;IACfE,QAAQ,EAAE;EACZ;AACF,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+
3
+ import { useEffect, useRef, useState } from 'react';
4
+ import { useAnimatedReaction } from 'react-native-reanimated';
5
+ import { scheduleOnRN } from 'react-native-worklets';
6
+ let nextListenerId = 1;
7
+
8
+ /**
9
+ * Syncs `Math.round(progress)` into React state for bounds-aware disabled state.
10
+ * Do not call `getCurrentIndex()` during render — the adopted library warns against it.
11
+ *
12
+ * Uses both:
13
+ * - `useAnimatedReaction` + `scheduleOnRN` (native / Babel-transformed web worklets)
14
+ * - SharedValue `addListener` (JS-thread fallback for web hosts that serve bob-built
15
+ * `lib/` without the Reanimated Babel plugin — e.g. the docs Vite SPA)
16
+ */
17
+ export function useCarouselActiveIndex(progress) {
18
+ const [activeIndex, setActiveIndex] = useState(() => Math.round(progress.get()));
19
+ const setActiveIndexRef = useRef(setActiveIndex);
20
+ setActiveIndexRef.current = setActiveIndex;
21
+ useAnimatedReaction(() => Math.round(progress.get()), (current, previous) => {
22
+ if (current !== previous) {
23
+ scheduleOnRN(setActiveIndexRef.current, current);
24
+ }
25
+ });
26
+ useEffect(() => {
27
+ const listenerId = nextListenerId++;
28
+ const onChange = value => {
29
+ const next = Math.round(value);
30
+ setActiveIndexRef.current(prev => prev === next ? prev : next);
31
+ };
32
+ try {
33
+ progress.addListener(listenerId, onChange);
34
+ } catch {
35
+ // Native JS runtime rejects addListener — the worklet path above handles it.
36
+ return;
37
+ }
38
+ return () => {
39
+ try {
40
+ progress.removeListener(listenerId);
41
+ } catch {
42
+ // ignore
43
+ }
44
+ };
45
+ }, [progress]);
46
+ return activeIndex;
47
+ }
48
+ //# sourceMappingURL=useCarouselActiveIndex.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["useEffect","useRef","useState","useAnimatedReaction","scheduleOnRN","nextListenerId","useCarouselActiveIndex","progress","activeIndex","setActiveIndex","Math","round","get","setActiveIndexRef","current","previous","listenerId","onChange","value","next","prev","addListener","removeListener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Q,CAACe,cAAc,CAACN,UAAU,CAAC;MACrC,CAAC,CAAC,MAAM;QACN;MAAA;IAEJ,CAAC;EACH,CAAC,EAAE,CAACT,QAAQ,CAAC,CAAC;EAEd,OAAOC,WAAW;AACpB","ignoreList":[]}
@@ -1,53 +1,37 @@
1
1
  "use strict";
2
2
 
3
3
  import { forwardRef } from 'react';
4
- import { Pressable, Text, View } from 'react-native';
4
+ import { Text, View } from 'react-native';
5
5
  import { Check, CheckIndeterminateSmall } from '@cdx-ui/icons';
6
- import { createCheckbox } from '@cdx-ui/primitives';
7
- import { cn, useStyleContext, withStyleContext } from '@cdx-ui/utils';
6
+ import { CheckboxRoot as CheckboxRootPrimitive, CheckboxGroup as CheckboxGroupPrimitive, Slot, dataAttributes, mergeDataAttributes, useCheckboxContext } from '@cdx-ui/primitives';
7
+ import { cn } from '@cdx-ui/utils';
8
8
  import { Icon } from '../Icon';
9
9
  import { checkboxGroupVariants, checkboxIconVariants, checkboxIndicatorVariants, checkboxLabelVariants, checkboxRootVariants } from './styles';
10
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
11
- const SCOPE = 'CHECKBOX';
12
- const Root = withStyleContext(Pressable, SCOPE);
13
- const useCheckboxStyleContext = () => useStyleContext(SCOPE);
14
- const CheckboxPrimitive = createCheckbox({
15
- Root,
16
- Indicator: View,
17
- Icon: View,
18
- Label: Text,
19
- Group: View
20
- });
21
10
 
22
11
  // =============================================================================
23
12
  // CHECKBOX ROOT
24
13
  // =============================================================================
25
-
14
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
26
15
  const CheckboxRoot = /*#__PURE__*/forwardRef(({
27
- size = 'default',
28
16
  className,
29
17
  isIndeterminate,
30
18
  children,
31
19
  style,
32
20
  ...props
33
21
  }, ref) => {
34
- const computedClassName = cn(checkboxRootVariants({
35
- size
36
- }), className);
37
- return /*#__PURE__*/_jsxs(CheckboxPrimitive, {
22
+ const computedClassName = cn(checkboxRootVariants(), className);
23
+ return /*#__PURE__*/_jsxs(CheckboxRootPrimitive, {
38
24
  ref: ref,
39
25
  className: computedClassName,
40
26
  isIndeterminate: isIndeterminate,
41
27
  style: style,
42
- context: {
43
- size
44
- },
45
28
  ...props,
29
+ ...mergeDataAttributes(props, dataAttributes({
30
+ slot: 'checkbox'
31
+ })),
46
32
  children: [/*#__PURE__*/_jsx(CheckboxIndicator, {
47
- children: /*#__PURE__*/_jsx(CheckboxPrimitive.Icon, {
48
- children: /*#__PURE__*/_jsx(CheckboxIcon, {
49
- as: isIndeterminate ? CheckIndeterminateSmall : Check
50
- })
33
+ children: /*#__PURE__*/_jsx(CheckboxIconSlot, {
34
+ isIndeterminate: isIndeterminate
51
35
  })
52
36
  }), children]
53
37
  });
@@ -55,33 +39,71 @@ const CheckboxRoot = /*#__PURE__*/forwardRef(({
55
39
  CheckboxRoot.displayName = 'Checkbox';
56
40
 
57
41
  // =============================================================================
58
- // CHECKBOX INDICATOR
42
+ // CHECKBOX INDICATOR (styled-only, reads context for data-* styling)
59
43
  // =============================================================================
60
44
 
45
+ /** Compound check × invalid × active state for native Uniwind selectors (single data-field-state). */
46
+ const INDICATOR_STATES = {
47
+ 'unchecked:false:false': 'idle',
48
+ 'unchecked:true:false': 'invalid',
49
+ 'unchecked:false:true': 'active',
50
+ 'unchecked:true:true': 'invalid-active',
51
+ 'checked:false:false': 'checked',
52
+ 'checked:true:false': 'checked-invalid',
53
+ 'checked:false:true': 'checked-active',
54
+ 'checked:true:true': 'checked-invalid-active',
55
+ 'indeterminate:false:false': 'indeterminate',
56
+ 'indeterminate:true:false': 'indeterminate-invalid',
57
+ 'indeterminate:false:true': 'indeterminate-active',
58
+ 'indeterminate:true:true': 'indeterminate-invalid-active'
59
+ };
61
60
  const CheckboxIndicator = /*#__PURE__*/forwardRef(({
61
+ asChild,
62
62
  className,
63
63
  children,
64
64
  style,
65
65
  ...props
66
66
  }, ref) => {
67
67
  const {
68
- size
69
- } = useCheckboxStyleContext();
70
- const computedClassName = cn(checkboxIndicatorVariants({
71
- size
72
- }), className);
73
- return /*#__PURE__*/_jsx(CheckboxPrimitive.Indicator, {
68
+ isChecked,
69
+ isDisabled,
70
+ isHovered,
71
+ isInvalid,
72
+ isReadOnly,
73
+ isPressed,
74
+ isFocused,
75
+ isIndeterminate,
76
+ isFocusVisible
77
+ } = useCheckboxContext();
78
+ const checkState = isIndeterminate ? 'indeterminate' : isChecked ? 'checked' : 'unchecked';
79
+ const fieldState = INDICATOR_STATES[`${checkState}:${isInvalid ? 'true' : 'false'}:${isPressed ? 'true' : 'false'}`];
80
+ const computedClassName = cn(checkboxIndicatorVariants(), className);
81
+ const Comp = asChild ? Slot : View;
82
+ return /*#__PURE__*/_jsx(Comp, {
74
83
  ref: ref,
75
84
  className: computedClassName,
76
85
  style: style,
77
86
  ...props,
87
+ ...mergeDataAttributes(props, dataAttributes({
88
+ slot: 'checkbox-indicator',
89
+ hover: isHovered,
90
+ checked: isChecked,
91
+ disabled: isDisabled,
92
+ focusVisible: isFocusVisible,
93
+ invalid: isInvalid,
94
+ readonly: isReadOnly,
95
+ active: isPressed,
96
+ focused: isFocused,
97
+ indeterminate: isIndeterminate,
98
+ fieldState
99
+ })),
78
100
  children: children
79
101
  });
80
102
  });
81
103
  CheckboxIndicator.displayName = 'Checkbox.Indicator';
82
104
 
83
105
  // =============================================================================
84
- // CHECKBOX ICON
106
+ // CHECKBOX ICON (styled-only, reads context for conditional mount)
85
107
  // =============================================================================
86
108
 
87
109
  const CheckboxIcon = ({
@@ -89,48 +111,65 @@ const CheckboxIcon = ({
89
111
  style,
90
112
  ...props
91
113
  }) => {
92
- const {
93
- size
94
- } = useCheckboxStyleContext();
95
- const computedClassName = cn(checkboxIconVariants({
96
- size
97
- }), className);
114
+ const computedClassName = cn(checkboxIconVariants(), className);
98
115
  return /*#__PURE__*/_jsx(Icon, {
99
116
  className: computedClassName,
100
117
  style: style,
101
- ...props
118
+ ...props,
119
+ ...mergeDataAttributes(props, dataAttributes({
120
+ slot: 'checkbox-icon'
121
+ }))
102
122
  });
103
123
  };
104
124
  CheckboxIcon.displayName = 'Checkbox.Icon';
105
125
 
126
+ // Internal helper that reads context for conditional rendering
127
+ const CheckboxIconSlot = ({
128
+ isIndeterminate: isIndeterminateProp
129
+ }) => {
130
+ const {
131
+ isChecked,
132
+ isIndeterminate
133
+ } = useCheckboxContext();
134
+ const showIcon = isChecked || isIndeterminateProp || isIndeterminate;
135
+ if (!showIcon) return null;
136
+ return /*#__PURE__*/_jsx(CheckboxIcon, {
137
+ as: isIndeterminate || isIndeterminateProp ? CheckIndeterminateSmall : Check
138
+ });
139
+ };
140
+
106
141
  // =============================================================================
107
- // CHECKBOX LABEL
142
+ // CHECKBOX LABEL (styled-only)
108
143
  // =============================================================================
109
144
 
110
145
  const CheckboxLabel = /*#__PURE__*/forwardRef(({
146
+ asChild,
111
147
  className,
112
148
  children,
113
149
  style,
114
150
  ...props
115
151
  }, ref) => {
116
152
  const {
117
- size
118
- } = useCheckboxStyleContext();
119
- const computedClassName = cn(checkboxLabelVariants({
120
- size
121
- }), className);
122
- return /*#__PURE__*/_jsx(CheckboxPrimitive.Label, {
153
+ isDisabled
154
+ } = useCheckboxContext();
155
+ const computedClassName = cn(checkboxLabelVariants(), className);
156
+ const Comp = asChild ? Slot : Text;
157
+ return /*#__PURE__*/_jsx(Comp, {
123
158
  ref: ref,
124
159
  className: computedClassName,
125
160
  style: style,
126
161
  ...props,
162
+ ...mergeDataAttributes(props, dataAttributes({
163
+ slot: 'checkbox-label',
164
+ disabled: isDisabled
165
+ })),
127
166
  children: children
128
167
  });
129
168
  });
130
169
  CheckboxLabel.displayName = 'Checkbox.Label';
131
170
 
132
171
  // =============================================================================
133
- // CHECKBOX GROUP
172
+ // CHECKBOX GROUP (wraps the primitive)
134
173
  // =============================================================================
135
174
 
136
175
  const CheckboxGroup = /*#__PURE__*/forwardRef(({
@@ -148,7 +187,7 @@ const CheckboxGroup = /*#__PURE__*/forwardRef(({
148
187
  const computedClassName = cn(checkboxGroupVariants({
149
188
  direction
150
189
  }), className);
151
- return /*#__PURE__*/_jsx(CheckboxPrimitive.Group, {
190
+ return /*#__PURE__*/_jsx(CheckboxGroupPrimitive, {
152
191
  ref: ref,
153
192
  className: computedClassName,
154
193
  style: style,
@@ -157,7 +196,9 @@ const CheckboxGroup = /*#__PURE__*/forwardRef(({
157
196
  isDisabled: isDisabled,
158
197
  isInvalid: isInvalid,
159
198
  isReadOnly: isReadOnly,
160
- ...viewProps,
199
+ ...mergeDataAttributes(viewProps, dataAttributes({
200
+ slot: 'checkbox-group'
201
+ })),
161
202
  children: children
162
203
  });
163
204
  });
@@ -1 +1 @@
1
- {"version":3,"names":["forwardRef","Pressable","Text","View","Check","CheckIndeterminateSmall","createCheckbox","cn","useStyleContext","withStyleContext","Icon","checkboxGroupVariants","checkboxIconVariants","checkboxIndicatorVariants","checkboxLabelVariants","checkboxRootVariants","jsx","_jsx","jsxs","_jsxs","SCOPE","Root","useCheckboxStyleContext","CheckboxPrimitive","Indicator","Label","Group","CheckboxRoot","size","className","isIndeterminate","children","style","props","ref","computedClassName","context","CheckboxIndicator","CheckboxIcon","as","displayName","CheckboxLabel","CheckboxGroup","direction","value","onChange","isDisabled","isInvalid","isReadOnly","viewProps","Checkbox","Object","assign"],"sourceRoot":"../../../../src","sources":["components/Checkbox/index.tsx"],"mappings":";;AAAA,SAASA,UAAU,QAAwB,OAAO;AAClD,SAASC,SAAS,EAAEC,IAAI,EAAkBC,IAAI,QAAwB,cAAc;AACpF,SAASC,KAAK,EAAEC,uBAAuB,QAAQ,eAAe;AAC9D,SAASC,cAAc,QAA6B,oBAAoB;AACxE,SAASC,EAAE,EAAEC,eAAe,EAAEC,gBAAgB,QAAQ,eAAe;AACrE,SAASC,IAAI,QAAmB,SAAS;AACzC,SAEEC,qBAAqB,EACrBC,oBAAoB,EACpBC,yBAAyB,EACzBC,qBAAqB,EACrBC,oBAAoB,QACf,UAAU;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,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,"names":["forwardRef","Text","View","Check","CheckIndeterminateSmall","CheckboxRoot","CheckboxRootPrimitive","CheckboxGroup","CheckboxGroupPrimitive","Slot","dataAttributes","mergeDataAttributes","useCheckboxContext","cn","Icon","checkboxGroupVariants","checkboxIconVariants","checkboxIndicatorVariants","checkboxLabelVariants","checkboxRootVariants","jsx","_jsx","jsxs","_jsxs","className","isIndeterminate","children","style","props","ref","computedClassName","slot","CheckboxIndicator","CheckboxIconSlot","displayName","INDICATOR_STATES","asChild","isChecked","isDisabled","isHovered","isInvalid","isReadOnly","isPressed","isFocused","isFocusVisible","checkState","fieldState","Comp","hover","checked","disabled","focusVisible","invalid","readonly","active","focused","indeterminate","CheckboxIcon","isIndeterminateProp","showIcon","as","CheckboxLabel","direction","value","onChange","viewProps","Checkbox","Object","assign","Indicator","Label","Group"],"sourceRoot":"../../../../src","sources":["components/Checkbox/index.tsx"],"mappings":";;AAAA,SAASA,UAAU,QAAwB,OAAO;AAClD,SAASC,IAAI,EAAEC,IAAI,QAAwC,cAAc;AACzE,SAASC,KAAK,EAAEC,uBAAuB,QAAQ,eAAe;AAC9D,SACEC,YAAY,IAAIC,qBAAqB,EACrCC,aAAa,IAAIC,sBAAsB,EACvCC,IAAI,EACJC,cAAc,EACdC,mBAAmB,EACnBC,kBAAkB,QAEb,oBAAoB;AAC3B,SAASC,EAAE,QAAQ,eAAe;AAClC,SAASC,IAAI,QAAmB,SAAS;AACzC,SACEC,qBAAqB,EACrBC,oBAAoB,EACpBC,yBAAyB,EACzBC,qBAAqB,EACrBC,oBAAoB,QACf,UAAU;;AAEjB;AACA;AACA;AAAA,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAOA,MAAMlB,YAAY,gBAAGL,UAAU,CAC7B,CAAC;EAAEwB,SAAS;EAAEC,eAAe;EAAEC,QAAQ;EAAEC,KAAK;EAAE,GAAGC;AAAM,CAAC,EAAEC,GAAG,KAAK;EAClE,MAAMC,iBAAiB,GAAGjB,EA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