@cdx-ui/components 0.0.1-beta.16 → 0.0.1-beta.160

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 (1490) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +41 -20
  3. package/coverage.svg +1 -0
  4. package/lib/commonjs/animation/hooks/index.js +50 -0
  5. package/lib/commonjs/animation/hooks/index.js.map +1 -0
  6. package/lib/commonjs/animation/hooks/useCombinedAnimationDisabledState.js +50 -0
  7. package/lib/commonjs/animation/hooks/useCombinedAnimationDisabledState.js.map +1 -0
  8. package/lib/commonjs/animation/hooks/usePopupDialogContentAnimation.js +175 -0
  9. package/lib/commonjs/animation/hooks/usePopupDialogContentAnimation.js.map +1 -0
  10. package/lib/commonjs/animation/hooks/usePopupOverlayAnimation.js +69 -0
  11. package/lib/commonjs/animation/hooks/usePopupOverlayAnimation.js.map +1 -0
  12. package/lib/commonjs/animation/hooks/usePopupRootAnimation.js +26 -0
  13. package/lib/commonjs/animation/hooks/usePopupRootAnimation.js.map +1 -0
  14. package/lib/commonjs/animation/index.js +39 -0
  15. package/lib/commonjs/animation/index.js.map +1 -0
  16. package/lib/commonjs/animation/types.js +6 -0
  17. package/lib/commonjs/animation/types.js.map +1 -0
  18. package/lib/commonjs/animation/utils.js +223 -0
  19. package/lib/commonjs/animation/utils.js.map +1 -0
  20. package/lib/commonjs/components/Alert/index.js +263 -0
  21. package/lib/commonjs/components/Alert/index.js.map +1 -0
  22. package/lib/commonjs/components/Alert/styles.js +87 -0
  23. package/lib/commonjs/components/Alert/styles.js.map +1 -0
  24. package/lib/commonjs/components/AlertDialog/index.js +32 -16
  25. package/lib/commonjs/components/AlertDialog/index.js.map +1 -1
  26. package/lib/commonjs/components/Avatar/index.js +135 -26
  27. package/lib/commonjs/components/Avatar/index.js.map +1 -1
  28. package/lib/commonjs/components/Avatar/styles.js +37 -30
  29. package/lib/commonjs/components/Avatar/styles.js.map +1 -1
  30. package/lib/commonjs/components/Badge/index.js +86 -0
  31. package/lib/commonjs/components/Badge/index.js.map +1 -0
  32. package/lib/commonjs/components/Badge/styles.js +127 -0
  33. package/lib/commonjs/components/Badge/styles.js.map +1 -0
  34. package/lib/commonjs/components/BottomSheet/index.js +109 -29
  35. package/lib/commonjs/components/BottomSheet/index.js.map +1 -1
  36. package/lib/commonjs/components/BottomSheet/styles.js +10 -45
  37. package/lib/commonjs/components/BottomSheet/styles.js.map +1 -1
  38. package/lib/commonjs/components/Box/Box.js +1 -11
  39. package/lib/commonjs/components/Box/Box.js.map +1 -1
  40. package/lib/commonjs/components/Breadcrumbs/index.js +219 -0
  41. package/lib/commonjs/components/Breadcrumbs/index.js.map +1 -0
  42. package/lib/commonjs/components/Breadcrumbs/styles.js +38 -0
  43. package/lib/commonjs/components/Breadcrumbs/styles.js.map +1 -0
  44. package/lib/commonjs/components/Button/index.js +143 -29
  45. package/lib/commonjs/components/Button/index.js.map +1 -1
  46. package/lib/commonjs/components/Button/styles.js +98 -33
  47. package/lib/commonjs/components/Button/styles.js.map +1 -1
  48. package/lib/commonjs/components/CLAUDE.md +195 -0
  49. package/lib/commonjs/components/Calendar/CalendarMonthHeader.js +96 -0
  50. package/lib/commonjs/components/Calendar/CalendarMonthHeader.js.map +1 -0
  51. package/lib/commonjs/components/Calendar/CalendarYearPickerGrid.js +74 -0
  52. package/lib/commonjs/components/Calendar/CalendarYearPickerGrid.js.map +1 -0
  53. package/lib/commonjs/components/Calendar/flashCalendarAdapter.js +298 -0
  54. package/lib/commonjs/components/Calendar/flashCalendarAdapter.js.map +1 -0
  55. package/lib/commonjs/components/Calendar/index.js +149 -0
  56. package/lib/commonjs/components/Calendar/index.js.map +1 -0
  57. package/lib/commonjs/components/Calendar/styles.js +70 -0
  58. package/lib/commonjs/components/Calendar/styles.js.map +1 -0
  59. package/lib/commonjs/components/Card/index.js +74 -15
  60. package/lib/commonjs/components/Card/index.js.map +1 -1
  61. package/lib/commonjs/components/Card/styles.js +21 -7
  62. package/lib/commonjs/components/Card/styles.js.map +1 -1
  63. package/lib/commonjs/components/Carousel/context.js +13 -0
  64. package/lib/commonjs/components/Carousel/context.js.map +1 -0
  65. package/lib/commonjs/components/Carousel/index.js +158 -0
  66. package/lib/commonjs/components/Carousel/index.js.map +1 -0
  67. package/lib/commonjs/components/Carousel/navButton.js +119 -0
  68. package/lib/commonjs/components/Carousel/navButton.js.map +1 -0
  69. package/lib/commonjs/components/Carousel/paginationNavigation.js +35 -0
  70. package/lib/commonjs/components/Carousel/paginationNavigation.js.map +1 -0
  71. package/lib/commonjs/components/Carousel/styles.js +44 -0
  72. package/lib/commonjs/components/Carousel/styles.js.map +1 -0
  73. package/lib/commonjs/components/Carousel/useCarouselActiveIndex.js +52 -0
  74. package/lib/commonjs/components/Carousel/useCarouselActiveIndex.js.map +1 -0
  75. package/lib/commonjs/components/Checkbox/index.js +94 -47
  76. package/lib/commonjs/components/Checkbox/index.js.map +1 -1
  77. package/lib/commonjs/components/Checkbox/styles.js +50 -50
  78. package/lib/commonjs/components/Checkbox/styles.js.map +1 -1
  79. package/lib/commonjs/components/Chip/index.js +115 -18
  80. package/lib/commonjs/components/Chip/index.js.map +1 -1
  81. package/lib/commonjs/components/Chip/styles.js +181 -24
  82. package/lib/commonjs/components/Chip/styles.js.map +1 -1
  83. package/lib/commonjs/components/CurrencyInput/index.js +157 -0
  84. package/lib/commonjs/components/CurrencyInput/index.js.map +1 -0
  85. package/lib/commonjs/components/CurrencyInput/styles.js +31 -0
  86. package/lib/commonjs/components/CurrencyInput/styles.js.map +1 -0
  87. package/lib/commonjs/components/DateField/index.js +147 -0
  88. package/lib/commonjs/components/DateField/index.js.map +1 -0
  89. package/lib/commonjs/components/DateField/styles.js +34 -0
  90. package/lib/commonjs/components/DateField/styles.js.map +1 -0
  91. package/lib/commonjs/components/DatePicker/index.js +163 -0
  92. package/lib/commonjs/components/DatePicker/index.js.map +1 -0
  93. package/lib/commonjs/components/DateRangePicker/index.js +177 -0
  94. package/lib/commonjs/components/DateRangePicker/index.js.map +1 -0
  95. package/lib/commonjs/components/DateTimeField/index.js +96 -0
  96. package/lib/commonjs/components/DateTimeField/index.js.map +1 -0
  97. package/lib/commonjs/components/DateTimeList/index.js +180 -0
  98. package/lib/commonjs/components/DateTimeList/index.js.map +1 -0
  99. package/lib/commonjs/components/DateTimeList/styles.js +55 -0
  100. package/lib/commonjs/components/DateTimeList/styles.js.map +1 -0
  101. package/lib/commonjs/components/DateTimePicker/index.js +187 -0
  102. package/lib/commonjs/components/DateTimePicker/index.js.map +1 -0
  103. package/lib/commonjs/components/Dialog/animation.js +13 -0
  104. package/lib/commonjs/components/Dialog/animation.js.map +1 -0
  105. package/lib/commonjs/components/Dialog/index.js +412 -66
  106. package/lib/commonjs/components/Dialog/index.js.map +1 -1
  107. package/lib/commonjs/components/Dialog/styles.js +67 -17
  108. package/lib/commonjs/components/Dialog/styles.js.map +1 -1
  109. package/lib/commonjs/components/Divider/index.js +98 -0
  110. package/lib/commonjs/components/Divider/index.js.map +1 -0
  111. package/lib/commonjs/components/Divider/styles.js +75 -0
  112. package/lib/commonjs/components/Divider/styles.js.map +1 -0
  113. package/lib/commonjs/components/Field/index.js +77 -27
  114. package/lib/commonjs/components/Field/index.js.map +1 -1
  115. package/lib/commonjs/components/Field/styles.js +9 -9
  116. package/lib/commonjs/components/Field/styles.js.map +1 -1
  117. package/lib/commonjs/components/Form/index.js +5 -12
  118. package/lib/commonjs/components/Form/index.js.map +1 -1
  119. package/lib/commonjs/components/Form/styles.js +2 -2
  120. package/lib/commonjs/components/Form/styles.js.map +1 -1
  121. package/lib/commonjs/components/Heading/styles.js +3 -3
  122. package/lib/commonjs/components/Heading/styles.js.map +1 -1
  123. package/lib/commonjs/components/Icon/index.js +12 -5
  124. package/lib/commonjs/components/Icon/index.js.map +1 -1
  125. package/lib/commonjs/components/IconButton/index.js +24 -35
  126. package/lib/commonjs/components/IconButton/index.js.map +1 -1
  127. package/lib/commonjs/components/IconButton/styles.js +138 -13
  128. package/lib/commonjs/components/IconButton/styles.js.map +1 -1
  129. package/lib/commonjs/components/Input/index.js +50 -20
  130. package/lib/commonjs/components/Input/index.js.map +1 -1
  131. package/lib/commonjs/components/Input/styles.js +23 -10
  132. package/lib/commonjs/components/Input/styles.js.map +1 -1
  133. package/lib/commonjs/components/InsuranceDisclosure/index.js +56 -0
  134. package/lib/commonjs/components/InsuranceDisclosure/index.js.map +1 -0
  135. package/lib/commonjs/components/InsuranceDisclosure/styles.js +11 -0
  136. package/lib/commonjs/components/InsuranceDisclosure/styles.js.map +1 -0
  137. package/lib/commonjs/components/Link/index.js +35 -9
  138. package/lib/commonjs/components/Link/index.js.map +1 -1
  139. package/lib/commonjs/components/Link/styles.js +55 -8
  140. package/lib/commonjs/components/Link/styles.js.map +1 -1
  141. package/lib/commonjs/components/ListItem/index.js +132 -79
  142. package/lib/commonjs/components/ListItem/index.js.map +1 -1
  143. package/lib/commonjs/components/ListItem/styles.js +31 -59
  144. package/lib/commonjs/components/ListItem/styles.js.map +1 -1
  145. package/lib/commonjs/components/Menu/index.js +499 -0
  146. package/lib/commonjs/components/Menu/index.js.map +1 -0
  147. package/lib/commonjs/components/Menu/styles.js +100 -0
  148. package/lib/commonjs/components/Menu/styles.js.map +1 -0
  149. package/lib/commonjs/components/MonthCalendar/index.js +229 -0
  150. package/lib/commonjs/components/MonthCalendar/index.js.map +1 -0
  151. package/lib/commonjs/components/MonthPicker/index.js +163 -0
  152. package/lib/commonjs/components/MonthPicker/index.js.map +1 -0
  153. package/lib/commonjs/components/OtpInput/index.js +114 -36
  154. package/lib/commonjs/components/OtpInput/index.js.map +1 -1
  155. package/lib/commonjs/components/OtpInput/styles.js +10 -8
  156. package/lib/commonjs/components/OtpInput/styles.js.map +1 -1
  157. package/lib/commonjs/components/ProgressBar/index.js +8 -13
  158. package/lib/commonjs/components/ProgressBar/index.js.map +1 -1
  159. package/lib/commonjs/components/ProgressBar/styles.js +3 -3
  160. package/lib/commonjs/components/ProgressBar/styles.js.map +1 -1
  161. package/lib/commonjs/components/ProgressCircle/ProgressCircleRing.js +91 -0
  162. package/lib/commonjs/components/ProgressCircle/ProgressCircleRing.js.map +1 -0
  163. package/lib/commonjs/components/ProgressCircle/index.js +84 -0
  164. package/lib/commonjs/components/ProgressCircle/index.js.map +1 -0
  165. package/lib/commonjs/components/ProgressCircle/styles.js +50 -0
  166. package/lib/commonjs/components/ProgressCircle/styles.js.map +1 -0
  167. package/lib/commonjs/components/ProgressCircle/useProgressCircleColors.js +35 -0
  168. package/lib/commonjs/components/ProgressCircle/useProgressCircleColors.js.map +1 -0
  169. package/lib/commonjs/components/ProgressSegmented/index.js +24 -10
  170. package/lib/commonjs/components/ProgressSegmented/index.js.map +1 -1
  171. package/lib/commonjs/components/ProgressSegmented/styles.js +5 -5
  172. package/lib/commonjs/components/ProgressSegmented/styles.js.map +1 -1
  173. package/lib/commonjs/components/QuickActionButton/index.js +133 -0
  174. package/lib/commonjs/components/QuickActionButton/index.js.map +1 -0
  175. package/lib/commonjs/components/QuickActionButton/styles.js +17 -0
  176. package/lib/commonjs/components/QuickActionButton/styles.js.map +1 -0
  177. package/lib/commonjs/components/Radio/index.js +66 -51
  178. package/lib/commonjs/components/Radio/index.js.map +1 -1
  179. package/lib/commonjs/components/Radio/styles.js +27 -11
  180. package/lib/commonjs/components/Radio/styles.js.map +1 -1
  181. package/lib/commonjs/components/RangeCalendar/index.js +165 -0
  182. package/lib/commonjs/components/RangeCalendar/index.js.map +1 -0
  183. package/lib/commonjs/components/ScopedTheme/index.js +24 -0
  184. package/lib/commonjs/components/ScopedTheme/index.js.map +1 -0
  185. package/lib/commonjs/components/ScrollShadow/index.js +82 -0
  186. package/lib/commonjs/components/ScrollShadow/index.js.map +1 -0
  187. package/lib/commonjs/components/ScrollShadow/styles.js +54 -0
  188. package/lib/commonjs/components/ScrollShadow/styles.js.map +1 -0
  189. package/lib/commonjs/components/ScrollShadow/useScrollShadow.js +83 -0
  190. package/lib/commonjs/components/ScrollShadow/useScrollShadow.js.map +1 -0
  191. package/lib/commonjs/components/Select/index.js +158 -51
  192. package/lib/commonjs/components/Select/index.js.map +1 -1
  193. package/lib/commonjs/components/Select/styles.js +20 -54
  194. package/lib/commonjs/components/Select/styles.js.map +1 -1
  195. package/lib/commonjs/components/Skeleton/index.js +39 -0
  196. package/lib/commonjs/components/Skeleton/index.js.map +1 -0
  197. package/lib/commonjs/components/Skeleton/styles.js +9 -0
  198. package/lib/commonjs/components/Skeleton/styles.js.map +1 -0
  199. package/lib/commonjs/components/Slider/getSliderPopupPosition.js +53 -0
  200. package/lib/commonjs/components/Slider/getSliderPopupPosition.js.map +1 -0
  201. package/lib/commonjs/components/Slider/index.js +375 -0
  202. package/lib/commonjs/components/Slider/index.js.map +1 -0
  203. package/lib/commonjs/components/Slider/styles.js +112 -0
  204. package/lib/commonjs/components/Slider/styles.js.map +1 -0
  205. package/lib/commonjs/components/Stack/styles.js +3 -3
  206. package/lib/commonjs/components/Stack/styles.js.map +1 -1
  207. package/lib/commonjs/components/Switch/BaseSwitch.js +23 -13
  208. package/lib/commonjs/components/Switch/BaseSwitch.js.map +1 -1
  209. package/lib/commonjs/components/Switch/BaseSwitch.web.js +25 -21
  210. package/lib/commonjs/components/Switch/BaseSwitch.web.js.map +1 -1
  211. package/lib/commonjs/components/Switch/index.js +34 -3
  212. package/lib/commonjs/components/Switch/index.js.map +1 -1
  213. package/lib/commonjs/components/Switch/styles.js +8 -8
  214. package/lib/commonjs/components/Switch/styles.js.map +1 -1
  215. package/lib/commonjs/components/Tabs/index.js +527 -0
  216. package/lib/commonjs/components/Tabs/index.js.map +1 -0
  217. package/lib/commonjs/components/Tabs/styles.js +333 -0
  218. package/lib/commonjs/components/Tabs/styles.js.map +1 -0
  219. package/lib/commonjs/components/Text/styles.js +3 -3
  220. package/lib/commonjs/components/Text/styles.js.map +1 -1
  221. package/lib/commonjs/components/Textarea/index.js +135 -0
  222. package/lib/commonjs/components/Textarea/index.js.map +1 -0
  223. package/lib/commonjs/components/Textarea/styles.js +49 -0
  224. package/lib/commonjs/components/Textarea/styles.js.map +1 -0
  225. package/lib/commonjs/components/Tile/index.js +150 -77
  226. package/lib/commonjs/components/Tile/index.js.map +1 -1
  227. package/lib/commonjs/components/Tile/styles.js +11 -11
  228. package/lib/commonjs/components/Tile/styles.js.map +1 -1
  229. package/lib/commonjs/components/Toast/animation.js +331 -0
  230. package/lib/commonjs/components/Toast/animation.js.map +1 -0
  231. package/lib/commonjs/components/Toast/hooks.js +67 -0
  232. package/lib/commonjs/components/Toast/hooks.js.map +1 -0
  233. package/lib/commonjs/components/Toast/index.js +508 -0
  234. package/lib/commonjs/components/Toast/index.js.map +1 -0
  235. package/lib/commonjs/components/Toast/styles.js +141 -0
  236. package/lib/commonjs/components/Toast/styles.js.map +1 -0
  237. package/lib/commonjs/components/Toast/types.js +6 -0
  238. package/lib/commonjs/components/Toast/types.js.map +1 -0
  239. package/lib/commonjs/components/Tooltip/index.js +106 -0
  240. package/lib/commonjs/components/Tooltip/index.js.map +1 -0
  241. package/lib/commonjs/components/Tooltip/styles.js +10 -0
  242. package/lib/commonjs/components/Tooltip/styles.js.map +1 -0
  243. package/lib/commonjs/components/VirtualizedList/index.js.map +1 -1
  244. package/lib/commonjs/components/index.js +336 -0
  245. package/lib/commonjs/components/index.js.map +1 -1
  246. package/lib/commonjs/components/picker/PickerTrigger.js +49 -0
  247. package/lib/commonjs/components/picker/PickerTrigger.js.map +1 -0
  248. package/lib/commonjs/components/picker/styles.js +15 -0
  249. package/lib/commonjs/components/picker/styles.js.map +1 -0
  250. package/lib/commonjs/components/picker/surfaces.js +148 -0
  251. package/lib/commonjs/components/picker/surfaces.js.map +1 -0
  252. package/lib/commonjs/figma/Alert.Button.figma.js +31 -0
  253. package/lib/commonjs/figma/Alert.Button.figma.js.map +1 -0
  254. package/lib/commonjs/figma/Alert.Close.figma.js +24 -0
  255. package/lib/commonjs/figma/Alert.Close.figma.js.map +1 -0
  256. package/lib/commonjs/figma/Alert.Description.figma.js +20 -0
  257. package/lib/commonjs/figma/Alert.Description.figma.js.map +1 -0
  258. package/lib/commonjs/figma/Alert.Title.figma.js +20 -0
  259. package/lib/commonjs/figma/Alert.Title.figma.js.map +1 -0
  260. package/lib/commonjs/figma/Alert.figma.js +42 -0
  261. package/lib/commonjs/figma/Alert.figma.js.map +1 -0
  262. package/lib/commonjs/figma/AlertDialog.Description.figma.js +20 -0
  263. package/lib/commonjs/figma/AlertDialog.Description.figma.js.map +1 -0
  264. package/lib/commonjs/figma/AlertDialog.Footer.figma.js +41 -0
  265. package/lib/commonjs/figma/AlertDialog.Footer.figma.js.map +1 -0
  266. package/lib/commonjs/figma/AlertDialog.Header.figma.js +28 -0
  267. package/lib/commonjs/figma/AlertDialog.Header.figma.js.map +1 -0
  268. package/lib/commonjs/figma/AlertDialog.Text.figma.js +20 -0
  269. package/lib/commonjs/figma/AlertDialog.Text.figma.js.map +1 -0
  270. package/lib/commonjs/figma/AlertDialog.Title.figma.js +27 -0
  271. package/lib/commonjs/figma/AlertDialog.Title.figma.js.map +1 -0
  272. package/lib/commonjs/figma/AlertDialog.figma.js +43 -0
  273. package/lib/commonjs/figma/AlertDialog.figma.js.map +1 -0
  274. package/lib/commonjs/figma/Avatar.figma.js +57 -0
  275. package/lib/commonjs/figma/Avatar.figma.js.map +1 -0
  276. package/lib/commonjs/figma/Badge.Indicator.figma.js +47 -0
  277. package/lib/commonjs/figma/Badge.Indicator.figma.js.map +1 -0
  278. package/lib/commonjs/figma/Badge.figma.js +65 -0
  279. package/lib/commonjs/figma/Badge.figma.js.map +1 -0
  280. package/lib/commonjs/figma/BottomSheet.Footer.figma.js +31 -0
  281. package/lib/commonjs/figma/BottomSheet.Footer.figma.js.map +1 -0
  282. package/lib/commonjs/figma/BottomSheet.Header.figma.js +30 -0
  283. package/lib/commonjs/figma/BottomSheet.Header.figma.js.map +1 -0
  284. package/lib/commonjs/figma/BottomSheet.figma.js +54 -0
  285. package/lib/commonjs/figma/BottomSheet.figma.js.map +1 -0
  286. package/lib/commonjs/figma/Button.figma.js +4 -7
  287. package/lib/commonjs/figma/Button.figma.js.map +1 -1
  288. package/lib/commonjs/figma/CLAUDE.md +30 -0
  289. package/lib/commonjs/figma/Card.Header.figma.js +28 -0
  290. package/lib/commonjs/figma/Card.Header.figma.js.map +1 -0
  291. package/lib/commonjs/figma/Card.Stripe.figma.js +20 -0
  292. package/lib/commonjs/figma/Card.Stripe.figma.js.map +1 -0
  293. package/lib/commonjs/figma/Card.figma.js +45 -0
  294. package/lib/commonjs/figma/Card.figma.js.map +1 -0
  295. package/lib/commonjs/figma/Checkbox.figma.js +55 -0
  296. package/lib/commonjs/figma/Checkbox.figma.js.map +1 -0
  297. package/lib/commonjs/figma/Chip.figma.js +68 -0
  298. package/lib/commonjs/figma/Chip.figma.js.map +1 -0
  299. package/lib/commonjs/figma/Dialog.Description.figma.js +20 -0
  300. package/lib/commonjs/figma/Dialog.Description.figma.js.map +1 -0
  301. package/lib/commonjs/figma/Dialog.Footer.figma.js +30 -0
  302. package/lib/commonjs/figma/Dialog.Footer.figma.js.map +1 -0
  303. package/lib/commonjs/figma/Dialog.Header.figma.js +34 -0
  304. package/lib/commonjs/figma/Dialog.Header.figma.js.map +1 -0
  305. package/lib/commonjs/figma/Dialog.Text.figma.js +20 -0
  306. package/lib/commonjs/figma/Dialog.Text.figma.js.map +1 -0
  307. package/lib/commonjs/figma/Dialog.Title.figma.js +27 -0
  308. package/lib/commonjs/figma/Dialog.Title.figma.js.map +1 -0
  309. package/lib/commonjs/figma/Dialog.figma.js +51 -0
  310. package/lib/commonjs/figma/Dialog.figma.js.map +1 -0
  311. package/lib/commonjs/figma/Divider.figma.js +32 -0
  312. package/lib/commonjs/figma/Divider.figma.js.map +1 -0
  313. package/lib/commonjs/figma/Field.Input.figma.js +57 -0
  314. package/lib/commonjs/figma/Field.Input.figma.js.map +1 -0
  315. package/lib/commonjs/figma/Field.OtpInput.figma.js +52 -0
  316. package/lib/commonjs/figma/Field.OtpInput.figma.js.map +1 -0
  317. package/lib/commonjs/figma/Field.Select.figma.js +57 -0
  318. package/lib/commonjs/figma/Field.Select.figma.js.map +1 -0
  319. package/lib/commonjs/figma/Field.Textarea.figma.js +57 -0
  320. package/lib/commonjs/figma/Field.Textarea.figma.js.map +1 -0
  321. package/lib/commonjs/figma/Heading.figma.js +1 -1
  322. package/lib/commonjs/figma/Icon.figma.js +20 -0
  323. package/lib/commonjs/figma/Icon.figma.js.map +1 -0
  324. package/lib/commonjs/figma/IconButton.figma.js +47 -0
  325. package/lib/commonjs/figma/IconButton.figma.js.map +1 -0
  326. package/lib/commonjs/figma/Input.figma.js +52 -0
  327. package/lib/commonjs/figma/Input.figma.js.map +1 -0
  328. package/lib/commonjs/figma/Link.figma.js +30 -0
  329. package/lib/commonjs/figma/Link.figma.js.map +1 -0
  330. package/lib/commonjs/figma/ListItem.Description.figma.js +23 -0
  331. package/lib/commonjs/figma/ListItem.Description.figma.js.map +1 -0
  332. package/lib/commonjs/figma/ListItem.LeadingSlot.figma.js +24 -0
  333. package/lib/commonjs/figma/ListItem.LeadingSlot.figma.js.map +1 -0
  334. package/lib/commonjs/figma/ListItem.Meta.figma.js +23 -0
  335. package/lib/commonjs/figma/ListItem.Meta.figma.js.map +1 -0
  336. package/lib/commonjs/figma/ListItem.SectionHeader.figma.js +24 -0
  337. package/lib/commonjs/figma/ListItem.SectionHeader.figma.js.map +1 -0
  338. package/lib/commonjs/figma/ListItem.Title.figma.js +23 -0
  339. package/lib/commonjs/figma/ListItem.Title.figma.js.map +1 -0
  340. package/lib/commonjs/figma/ListItem.TrailingSlot.figma.js +24 -0
  341. package/lib/commonjs/figma/ListItem.TrailingSlot.figma.js.map +1 -0
  342. package/lib/commonjs/figma/ListItem.figma.js +50 -0
  343. package/lib/commonjs/figma/ListItem.figma.js.map +1 -0
  344. package/lib/commonjs/figma/Menu.Item.figma.js +52 -0
  345. package/lib/commonjs/figma/Menu.Item.figma.js.map +1 -0
  346. package/lib/commonjs/figma/Menu.figma.js +29 -0
  347. package/lib/commonjs/figma/Menu.figma.js.map +1 -0
  348. package/lib/commonjs/figma/OtpInput.Cell.figma.js +55 -0
  349. package/lib/commonjs/figma/OtpInput.Cell.figma.js.map +1 -0
  350. package/lib/commonjs/figma/OtpInput.figma.js +42 -0
  351. package/lib/commonjs/figma/OtpInput.figma.js.map +1 -0
  352. package/lib/commonjs/figma/ProgressSegmented.figma.js +39 -0
  353. package/lib/commonjs/figma/ProgressSegmented.figma.js.map +1 -0
  354. package/lib/commonjs/figma/QuickActionButton.figma.js +38 -0
  355. package/lib/commonjs/figma/QuickActionButton.figma.js.map +1 -0
  356. package/lib/commonjs/figma/Radio.figma.js +8 -6
  357. package/lib/commonjs/figma/Radio.figma.js.map +1 -1
  358. package/lib/commonjs/figma/Select.figma.js +53 -0
  359. package/lib/commonjs/figma/Select.figma.js.map +1 -0
  360. package/lib/commonjs/figma/Text.figma.js +5 -2
  361. package/lib/commonjs/figma/Text.figma.js.map +1 -1
  362. package/lib/commonjs/figma/Textarea.figma.js +47 -0
  363. package/lib/commonjs/figma/Textarea.figma.js.map +1 -0
  364. package/lib/commonjs/figma/icons.figma.batch.js +27 -0
  365. package/lib/commonjs/figma/icons.figma.batch.js.map +1 -0
  366. package/lib/commonjs/figma/icons.figma.batch.json +17710 -0
  367. package/lib/commonjs/globals.d.js +2 -0
  368. package/lib/commonjs/globals.d.js.map +1 -0
  369. package/lib/commonjs/hooks/index.js +19 -0
  370. package/lib/commonjs/hooks/index.js.map +1 -0
  371. package/lib/commonjs/hooks/useForgeBottomTabScreenOptions.js +246 -0
  372. package/lib/commonjs/hooks/useForgeBottomTabScreenOptions.js.map +1 -0
  373. package/lib/commonjs/index.js +47 -0
  374. package/lib/commonjs/index.js.map +1 -1
  375. package/lib/commonjs/navigation/forgeTabIcon.js +43 -0
  376. package/lib/commonjs/navigation/forgeTabIcon.js.map +1 -0
  377. package/lib/commonjs/navigation/forgeTabIcon.native.js +35 -0
  378. package/lib/commonjs/navigation/forgeTabIcon.native.js.map +1 -0
  379. package/lib/commonjs/navigation/index.js +13 -0
  380. package/lib/commonjs/navigation/index.js.map +1 -0
  381. package/lib/commonjs/navigation/types.js +38 -0
  382. package/lib/commonjs/navigation/types.js.map +1 -0
  383. package/lib/commonjs/providers/animation-settings/index.js +31 -0
  384. package/lib/commonjs/providers/animation-settings/index.js.map +1 -0
  385. package/lib/commonjs/providers/animation-settings/provider.js +59 -0
  386. package/lib/commonjs/providers/animation-settings/provider.js.map +1 -0
  387. package/lib/commonjs/providers/animation-settings/types.js +6 -0
  388. package/lib/commonjs/providers/animation-settings/types.js.map +1 -0
  389. package/lib/commonjs/providers/forge-design/index.js +29 -0
  390. package/lib/commonjs/providers/forge-design/index.js.map +1 -0
  391. package/lib/commonjs/providers/forge-design/provider.js +85 -0
  392. package/lib/commonjs/providers/forge-design/provider.js.map +1 -0
  393. package/lib/commonjs/providers/forge-design/types.js +6 -0
  394. package/lib/commonjs/providers/forge-design/types.js.map +1 -0
  395. package/lib/commonjs/providers/text-component/index.js +28 -0
  396. package/lib/commonjs/providers/text-component/index.js.map +1 -0
  397. package/lib/commonjs/providers/text-component/provider.js +11 -0
  398. package/lib/commonjs/providers/text-component/provider.js.map +1 -0
  399. package/lib/commonjs/providers/text-component/types.js +6 -0
  400. package/lib/commonjs/providers/text-component/types.js.map +1 -0
  401. package/lib/commonjs/providers/toast/index.js +33 -0
  402. package/lib/commonjs/providers/toast/index.js.map +1 -0
  403. package/lib/commonjs/providers/toast/insets-container.js +169 -0
  404. package/lib/commonjs/providers/toast/insets-container.js.map +1 -0
  405. package/lib/commonjs/providers/toast/lifecycle.context.js +36 -0
  406. package/lib/commonjs/providers/toast/lifecycle.context.js.map +1 -0
  407. package/lib/commonjs/providers/toast/provider.js +589 -0
  408. package/lib/commonjs/providers/toast/provider.js.map +1 -0
  409. package/lib/commonjs/providers/toast/reducer.js +46 -0
  410. package/lib/commonjs/providers/toast/reducer.js.map +1 -0
  411. package/lib/commonjs/providers/toast/toast-config.context.js +29 -0
  412. package/lib/commonjs/providers/toast/toast-config.context.js.map +1 -0
  413. package/lib/commonjs/providers/toast/toast-item-renderer.js +44 -0
  414. package/lib/commonjs/providers/toast/toast-item-renderer.js.map +1 -0
  415. package/lib/commonjs/providers/toast/types.js +6 -0
  416. package/lib/commonjs/providers/toast/types.js.map +1 -0
  417. package/lib/commonjs/styles/constants.js +16 -0
  418. package/lib/commonjs/styles/constants.js.map +1 -0
  419. package/lib/commonjs/styles.css +0 -5
  420. package/lib/commonjs/utils/positionToDataIcon.js +41 -0
  421. package/lib/commonjs/utils/positionToDataIcon.js.map +1 -0
  422. package/lib/module/animation/hooks/index.js +7 -0
  423. package/lib/module/animation/hooks/index.js.map +1 -0
  424. package/lib/module/animation/hooks/useCombinedAnimationDisabledState.js +47 -0
  425. package/lib/module/animation/hooks/useCombinedAnimationDisabledState.js.map +1 -0
  426. package/lib/module/animation/hooks/usePopupDialogContentAnimation.js +171 -0
  427. package/lib/module/animation/hooks/usePopupDialogContentAnimation.js.map +1 -0
  428. package/lib/module/animation/hooks/usePopupOverlayAnimation.js +65 -0
  429. package/lib/module/animation/hooks/usePopupOverlayAnimation.js.map +1 -0
  430. package/lib/module/animation/hooks/usePopupRootAnimation.js +22 -0
  431. package/lib/module/animation/hooks/usePopupRootAnimation.js.map +1 -0
  432. package/lib/module/animation/index.js +6 -0
  433. package/lib/module/animation/index.js.map +1 -0
  434. package/lib/module/animation/types.js +4 -0
  435. package/lib/module/animation/types.js.map +1 -0
  436. package/lib/module/animation/utils.js +212 -0
  437. package/lib/module/animation/utils.js.map +1 -0
  438. package/lib/module/components/Alert/index.js +259 -0
  439. package/lib/module/components/Alert/index.js.map +1 -0
  440. package/lib/module/components/Alert/styles.js +84 -0
  441. package/lib/module/components/Alert/styles.js.map +1 -0
  442. package/lib/module/components/AlertDialog/index.js +33 -16
  443. package/lib/module/components/AlertDialog/index.js.map +1 -1
  444. package/lib/module/components/Avatar/index.js +138 -29
  445. package/lib/module/components/Avatar/index.js.map +1 -1
  446. package/lib/module/components/Avatar/styles.js +37 -30
  447. package/lib/module/components/Avatar/styles.js.map +1 -1
  448. package/lib/module/components/Badge/index.js +83 -0
  449. package/lib/module/components/Badge/index.js.map +1 -0
  450. package/lib/module/components/Badge/styles.js +123 -0
  451. package/lib/module/components/Badge/styles.js.map +1 -0
  452. package/lib/module/components/BottomSheet/index.js +114 -35
  453. package/lib/module/components/BottomSheet/index.js.map +1 -1
  454. package/lib/module/components/BottomSheet/styles.js +8 -43
  455. package/lib/module/components/BottomSheet/styles.js.map +1 -1
  456. package/lib/module/components/Box/Box.js +1 -11
  457. package/lib/module/components/Box/Box.js.map +1 -1
  458. package/lib/module/components/Breadcrumbs/index.js +215 -0
  459. package/lib/module/components/Breadcrumbs/index.js.map +1 -0
  460. package/lib/module/components/Breadcrumbs/styles.js +34 -0
  461. package/lib/module/components/Breadcrumbs/styles.js.map +1 -0
  462. package/lib/module/components/Button/index.js +146 -33
  463. package/lib/module/components/Button/index.js.map +1 -1
  464. package/lib/module/components/Button/styles.js +95 -30
  465. package/lib/module/components/Button/styles.js.map +1 -1
  466. package/lib/module/components/CLAUDE.md +195 -0
  467. package/lib/module/components/Calendar/CalendarMonthHeader.js +92 -0
  468. package/lib/module/components/Calendar/CalendarMonthHeader.js.map +1 -0
  469. package/lib/module/components/Calendar/CalendarYearPickerGrid.js +70 -0
  470. package/lib/module/components/Calendar/CalendarYearPickerGrid.js.map +1 -0
  471. package/lib/module/components/Calendar/flashCalendarAdapter.js +290 -0
  472. package/lib/module/components/Calendar/flashCalendarAdapter.js.map +1 -0
  473. package/lib/module/components/Calendar/index.js +145 -0
  474. package/lib/module/components/Calendar/index.js.map +1 -0
  475. package/lib/module/components/Calendar/styles.js +66 -0
  476. package/lib/module/components/Calendar/styles.js.map +1 -0
  477. package/lib/module/components/Card/index.js +77 -18
  478. package/lib/module/components/Card/index.js.map +1 -1
  479. package/lib/module/components/Card/styles.js +17 -3
  480. package/lib/module/components/Card/styles.js.map +1 -1
  481. package/lib/module/components/Carousel/context.js +7 -0
  482. package/lib/module/components/Carousel/context.js.map +1 -0
  483. package/lib/module/components/Carousel/index.js +152 -0
  484. package/lib/module/components/Carousel/index.js.map +1 -0
  485. package/lib/module/components/Carousel/navButton.js +114 -0
  486. package/lib/module/components/Carousel/navButton.js.map +1 -0
  487. package/lib/module/components/Carousel/paginationNavigation.js +31 -0
  488. package/lib/module/components/Carousel/paginationNavigation.js.map +1 -0
  489. package/lib/module/components/Carousel/styles.js +41 -0
  490. package/lib/module/components/Carousel/styles.js.map +1 -0
  491. package/lib/module/components/Carousel/useCarouselActiveIndex.js +48 -0
  492. package/lib/module/components/Carousel/useCarouselActiveIndex.js.map +1 -0
  493. package/lib/module/components/Checkbox/index.js +98 -51
  494. package/lib/module/components/Checkbox/index.js.map +1 -1
  495. package/lib/module/components/Checkbox/styles.js +50 -49
  496. package/lib/module/components/Checkbox/styles.js.map +1 -1
  497. package/lib/module/components/Chip/index.js +119 -22
  498. package/lib/module/components/Chip/index.js.map +1 -1
  499. package/lib/module/components/Chip/styles.js +180 -23
  500. package/lib/module/components/Chip/styles.js.map +1 -1
  501. package/lib/module/components/CurrencyInput/index.js +154 -0
  502. package/lib/module/components/CurrencyInput/index.js.map +1 -0
  503. package/lib/module/components/CurrencyInput/styles.js +27 -0
  504. package/lib/module/components/CurrencyInput/styles.js.map +1 -0
  505. package/lib/module/components/DateField/index.js +143 -0
  506. package/lib/module/components/DateField/index.js.map +1 -0
  507. package/lib/module/components/DateField/styles.js +30 -0
  508. package/lib/module/components/DateField/styles.js.map +1 -0
  509. package/lib/module/components/DatePicker/index.js +159 -0
  510. package/lib/module/components/DatePicker/index.js.map +1 -0
  511. package/lib/module/components/DateRangePicker/index.js +173 -0
  512. package/lib/module/components/DateRangePicker/index.js.map +1 -0
  513. package/lib/module/components/DateTimeField/index.js +92 -0
  514. package/lib/module/components/DateTimeField/index.js.map +1 -0
  515. package/lib/module/components/DateTimeList/index.js +176 -0
  516. package/lib/module/components/DateTimeList/index.js.map +1 -0
  517. package/lib/module/components/DateTimeList/styles.js +52 -0
  518. package/lib/module/components/DateTimeList/styles.js.map +1 -0
  519. package/lib/module/components/DateTimePicker/index.js +183 -0
  520. package/lib/module/components/DateTimePicker/index.js.map +1 -0
  521. package/lib/module/components/Dialog/animation.js +7 -0
  522. package/lib/module/components/Dialog/animation.js.map +1 -0
  523. package/lib/module/components/Dialog/index.js +414 -74
  524. package/lib/module/components/Dialog/index.js.map +1 -1
  525. package/lib/module/components/Dialog/styles.js +66 -16
  526. package/lib/module/components/Dialog/styles.js.map +1 -1
  527. package/lib/module/components/Divider/index.js +94 -0
  528. package/lib/module/components/Divider/index.js.map +1 -0
  529. package/lib/module/components/Divider/styles.js +71 -0
  530. package/lib/module/components/Divider/styles.js.map +1 -0
  531. package/lib/module/components/Field/index.js +81 -32
  532. package/lib/module/components/Field/index.js.map +1 -1
  533. package/lib/module/components/Field/styles.js +6 -6
  534. package/lib/module/components/Field/styles.js.map +1 -1
  535. package/lib/module/components/Form/index.js +7 -14
  536. package/lib/module/components/Form/index.js.map +1 -1
  537. package/lib/module/components/Form/styles.js +1 -1
  538. package/lib/module/components/Form/styles.js.map +1 -1
  539. package/lib/module/components/Heading/styles.js +2 -2
  540. package/lib/module/components/Heading/styles.js.map +1 -1
  541. package/lib/module/components/Icon/index.js +12 -5
  542. package/lib/module/components/Icon/index.js.map +1 -1
  543. package/lib/module/components/IconButton/index.js +26 -37
  544. package/lib/module/components/IconButton/index.js.map +1 -1
  545. package/lib/module/components/IconButton/styles.js +137 -12
  546. package/lib/module/components/IconButton/styles.js.map +1 -1
  547. package/lib/module/components/Input/index.js +53 -23
  548. package/lib/module/components/Input/index.js.map +1 -1
  549. package/lib/module/components/Input/styles.js +21 -8
  550. package/lib/module/components/Input/styles.js.map +1 -1
  551. package/lib/module/components/InsuranceDisclosure/index.js +52 -0
  552. package/lib/module/components/InsuranceDisclosure/index.js.map +1 -0
  553. package/lib/module/components/InsuranceDisclosure/styles.js +7 -0
  554. package/lib/module/components/InsuranceDisclosure/styles.js.map +1 -0
  555. package/lib/module/components/Link/index.js +38 -11
  556. package/lib/module/components/Link/index.js.map +1 -1
  557. package/lib/module/components/Link/styles.js +54 -8
  558. package/lib/module/components/Link/styles.js.map +1 -1
  559. package/lib/module/components/ListItem/index.js +137 -84
  560. package/lib/module/components/ListItem/index.js.map +1 -1
  561. package/lib/module/components/ListItem/styles.js +29 -57
  562. package/lib/module/components/ListItem/styles.js.map +1 -1
  563. package/lib/module/components/Menu/index.js +495 -0
  564. package/lib/module/components/Menu/index.js.map +1 -0
  565. package/lib/module/components/Menu/styles.js +96 -0
  566. package/lib/module/components/Menu/styles.js.map +1 -0
  567. package/lib/module/components/MonthCalendar/index.js +225 -0
  568. package/lib/module/components/MonthCalendar/index.js.map +1 -0
  569. package/lib/module/components/MonthPicker/index.js +159 -0
  570. package/lib/module/components/MonthPicker/index.js.map +1 -0
  571. package/lib/module/components/OtpInput/index.js +114 -36
  572. package/lib/module/components/OtpInput/index.js.map +1 -1
  573. package/lib/module/components/OtpInput/styles.js +10 -8
  574. package/lib/module/components/OtpInput/styles.js.map +1 -1
  575. package/lib/module/components/ProgressBar/index.js +9 -14
  576. package/lib/module/components/ProgressBar/index.js.map +1 -1
  577. package/lib/module/components/ProgressBar/styles.js +2 -2
  578. package/lib/module/components/ProgressBar/styles.js.map +1 -1
  579. package/lib/module/components/ProgressCircle/ProgressCircleRing.js +86 -0
  580. package/lib/module/components/ProgressCircle/ProgressCircleRing.js.map +1 -0
  581. package/lib/module/components/ProgressCircle/index.js +80 -0
  582. package/lib/module/components/ProgressCircle/index.js.map +1 -0
  583. package/lib/module/components/ProgressCircle/styles.js +46 -0
  584. package/lib/module/components/ProgressCircle/styles.js.map +1 -0
  585. package/lib/module/components/ProgressCircle/useProgressCircleColors.js +32 -0
  586. package/lib/module/components/ProgressCircle/useProgressCircleColors.js.map +1 -0
  587. package/lib/module/components/ProgressSegmented/index.js +25 -11
  588. package/lib/module/components/ProgressSegmented/index.js.map +1 -1
  589. package/lib/module/components/ProgressSegmented/styles.js +3 -3
  590. package/lib/module/components/ProgressSegmented/styles.js.map +1 -1
  591. package/lib/module/components/QuickActionButton/index.js +129 -0
  592. package/lib/module/components/QuickActionButton/index.js.map +1 -0
  593. package/lib/module/components/QuickActionButton/styles.js +13 -0
  594. package/lib/module/components/QuickActionButton/styles.js.map +1 -0
  595. package/lib/module/components/Radio/index.js +69 -55
  596. package/lib/module/components/Radio/index.js.map +1 -1
  597. package/lib/module/components/Radio/styles.js +25 -10
  598. package/lib/module/components/Radio/styles.js.map +1 -1
  599. package/lib/module/components/RangeCalendar/index.js +161 -0
  600. package/lib/module/components/RangeCalendar/index.js.map +1 -0
  601. package/lib/module/components/ScopedTheme/index.js +19 -0
  602. package/lib/module/components/ScopedTheme/index.js.map +1 -0
  603. package/lib/module/components/ScrollShadow/index.js +78 -0
  604. package/lib/module/components/ScrollShadow/index.js.map +1 -0
  605. package/lib/module/components/ScrollShadow/styles.js +50 -0
  606. package/lib/module/components/ScrollShadow/styles.js.map +1 -0
  607. package/lib/module/components/ScrollShadow/useScrollShadow.js +79 -0
  608. package/lib/module/components/ScrollShadow/useScrollShadow.js.map +1 -0
  609. package/lib/module/components/Select/index.js +162 -55
  610. package/lib/module/components/Select/index.js.map +1 -1
  611. package/lib/module/components/Select/styles.js +19 -53
  612. package/lib/module/components/Select/styles.js.map +1 -1
  613. package/lib/module/components/Skeleton/index.js +34 -0
  614. package/lib/module/components/Skeleton/index.js.map +1 -0
  615. package/lib/module/components/Skeleton/styles.js +5 -0
  616. package/lib/module/components/Skeleton/styles.js.map +1 -0
  617. package/lib/module/components/Slider/getSliderPopupPosition.js +48 -0
  618. package/lib/module/components/Slider/getSliderPopupPosition.js.map +1 -0
  619. package/lib/module/components/Slider/index.js +371 -0
  620. package/lib/module/components/Slider/index.js.map +1 -0
  621. package/lib/module/components/Slider/styles.js +108 -0
  622. package/lib/module/components/Slider/styles.js.map +1 -0
  623. package/lib/module/components/Stack/styles.js +1 -1
  624. package/lib/module/components/Stack/styles.js.map +1 -1
  625. package/lib/module/components/Switch/BaseSwitch.js +24 -14
  626. package/lib/module/components/Switch/BaseSwitch.js.map +1 -1
  627. package/lib/module/components/Switch/BaseSwitch.web.js +26 -22
  628. package/lib/module/components/Switch/BaseSwitch.web.js.map +1 -1
  629. package/lib/module/components/Switch/index.js +35 -4
  630. package/lib/module/components/Switch/index.js.map +1 -1
  631. package/lib/module/components/Switch/styles.js +1 -1
  632. package/lib/module/components/Switch/styles.js.map +1 -1
  633. package/lib/module/components/Tabs/index.js +522 -0
  634. package/lib/module/components/Tabs/index.js.map +1 -0
  635. package/lib/module/components/Tabs/styles.js +330 -0
  636. package/lib/module/components/Tabs/styles.js.map +1 -0
  637. package/lib/module/components/Text/styles.js +2 -2
  638. package/lib/module/components/Text/styles.js.map +1 -1
  639. package/lib/module/components/Textarea/index.js +132 -0
  640. package/lib/module/components/Textarea/index.js.map +1 -0
  641. package/lib/module/components/Textarea/styles.js +45 -0
  642. package/lib/module/components/Textarea/styles.js.map +1 -0
  643. package/lib/module/components/Tile/index.js +155 -83
  644. package/lib/module/components/Tile/index.js.map +1 -1
  645. package/lib/module/components/Tile/styles.js +3 -3
  646. package/lib/module/components/Tile/styles.js.map +1 -1
  647. package/lib/module/components/Toast/animation.js +326 -0
  648. package/lib/module/components/Toast/animation.js.map +1 -0
  649. package/lib/module/components/Toast/hooks.js +62 -0
  650. package/lib/module/components/Toast/hooks.js.map +1 -0
  651. package/lib/module/components/Toast/index.js +502 -0
  652. package/lib/module/components/Toast/index.js.map +1 -0
  653. package/lib/module/components/Toast/styles.js +138 -0
  654. package/lib/module/components/Toast/styles.js.map +1 -0
  655. package/lib/module/components/Toast/types.js +4 -0
  656. package/lib/module/components/Toast/types.js.map +1 -0
  657. package/lib/module/components/Tooltip/index.js +102 -0
  658. package/lib/module/components/Tooltip/index.js.map +1 -0
  659. package/lib/module/components/Tooltip/styles.js +6 -0
  660. package/lib/module/components/Tooltip/styles.js.map +1 -0
  661. package/lib/module/components/VirtualizedList/index.js.map +1 -1
  662. package/lib/module/components/index.js +28 -0
  663. package/lib/module/components/index.js.map +1 -1
  664. package/lib/module/components/picker/PickerTrigger.js +45 -0
  665. package/lib/module/components/picker/PickerTrigger.js.map +1 -0
  666. package/lib/module/components/picker/styles.js +12 -0
  667. package/lib/module/components/picker/styles.js.map +1 -0
  668. package/lib/module/components/picker/surfaces.js +142 -0
  669. package/lib/module/components/picker/surfaces.js.map +1 -0
  670. package/lib/module/figma/Alert.Button.figma.js +25 -0
  671. package/lib/module/figma/Alert.Button.figma.js.map +1 -0
  672. package/lib/module/figma/Alert.Close.figma.js +18 -0
  673. package/lib/module/figma/Alert.Close.figma.js.map +1 -0
  674. package/lib/module/figma/Alert.Description.figma.js +14 -0
  675. package/lib/module/figma/Alert.Description.figma.js.map +1 -0
  676. package/lib/module/figma/Alert.Title.figma.js +14 -0
  677. package/lib/module/figma/Alert.Title.figma.js.map +1 -0
  678. package/lib/module/figma/Alert.figma.js +36 -0
  679. package/lib/module/figma/Alert.figma.js.map +1 -0
  680. package/lib/module/figma/AlertDialog.Description.figma.js +14 -0
  681. package/lib/module/figma/AlertDialog.Description.figma.js.map +1 -0
  682. package/lib/module/figma/AlertDialog.Footer.figma.js +35 -0
  683. package/lib/module/figma/AlertDialog.Footer.figma.js.map +1 -0
  684. package/lib/module/figma/AlertDialog.Header.figma.js +22 -0
  685. package/lib/module/figma/AlertDialog.Header.figma.js.map +1 -0
  686. package/lib/module/figma/AlertDialog.Text.figma.js +14 -0
  687. package/lib/module/figma/AlertDialog.Text.figma.js.map +1 -0
  688. package/lib/module/figma/AlertDialog.Title.figma.js +21 -0
  689. package/lib/module/figma/AlertDialog.Title.figma.js.map +1 -0
  690. package/lib/module/figma/AlertDialog.figma.js +37 -0
  691. package/lib/module/figma/AlertDialog.figma.js.map +1 -0
  692. package/lib/module/figma/Avatar.figma.js +51 -0
  693. package/lib/module/figma/Avatar.figma.js.map +1 -0
  694. package/lib/module/figma/Badge.Indicator.figma.js +41 -0
  695. package/lib/module/figma/Badge.Indicator.figma.js.map +1 -0
  696. package/lib/module/figma/Badge.figma.js +59 -0
  697. package/lib/module/figma/Badge.figma.js.map +1 -0
  698. package/lib/module/figma/BottomSheet.Footer.figma.js +25 -0
  699. package/lib/module/figma/BottomSheet.Footer.figma.js.map +1 -0
  700. package/lib/module/figma/BottomSheet.Header.figma.js +24 -0
  701. package/lib/module/figma/BottomSheet.Header.figma.js.map +1 -0
  702. package/lib/module/figma/BottomSheet.figma.js +48 -0
  703. package/lib/module/figma/BottomSheet.figma.js.map +1 -0
  704. package/lib/module/figma/Button.figma.js +4 -7
  705. package/lib/module/figma/Button.figma.js.map +1 -1
  706. package/lib/module/figma/CLAUDE.md +30 -0
  707. package/lib/module/figma/Card.Header.figma.js +22 -0
  708. package/lib/module/figma/Card.Header.figma.js.map +1 -0
  709. package/lib/module/figma/Card.Stripe.figma.js +15 -0
  710. package/lib/module/figma/Card.Stripe.figma.js.map +1 -0
  711. package/lib/module/figma/Card.figma.js +39 -0
  712. package/lib/module/figma/Card.figma.js.map +1 -0
  713. package/lib/module/figma/Checkbox.figma.js +49 -0
  714. package/lib/module/figma/Checkbox.figma.js.map +1 -0
  715. package/lib/module/figma/Chip.figma.js +62 -0
  716. package/lib/module/figma/Chip.figma.js.map +1 -0
  717. package/lib/module/figma/Dialog.Description.figma.js +14 -0
  718. package/lib/module/figma/Dialog.Description.figma.js.map +1 -0
  719. package/lib/module/figma/Dialog.Footer.figma.js +24 -0
  720. package/lib/module/figma/Dialog.Footer.figma.js.map +1 -0
  721. package/lib/module/figma/Dialog.Header.figma.js +28 -0
  722. package/lib/module/figma/Dialog.Header.figma.js.map +1 -0
  723. package/lib/module/figma/Dialog.Text.figma.js +14 -0
  724. package/lib/module/figma/Dialog.Text.figma.js.map +1 -0
  725. package/lib/module/figma/Dialog.Title.figma.js +21 -0
  726. package/lib/module/figma/Dialog.Title.figma.js.map +1 -0
  727. package/lib/module/figma/Dialog.figma.js +45 -0
  728. package/lib/module/figma/Dialog.figma.js.map +1 -0
  729. package/lib/module/figma/Divider.figma.js +26 -0
  730. package/lib/module/figma/Divider.figma.js.map +1 -0
  731. package/lib/module/figma/Field.Input.figma.js +51 -0
  732. package/lib/module/figma/Field.Input.figma.js.map +1 -0
  733. package/lib/module/figma/Field.OtpInput.figma.js +46 -0
  734. package/lib/module/figma/Field.OtpInput.figma.js.map +1 -0
  735. package/lib/module/figma/Field.Select.figma.js +51 -0
  736. package/lib/module/figma/Field.Select.figma.js.map +1 -0
  737. package/lib/module/figma/Field.Textarea.figma.js +51 -0
  738. package/lib/module/figma/Field.Textarea.figma.js.map +1 -0
  739. package/lib/module/figma/Heading.figma.js +1 -1
  740. package/lib/module/figma/Icon.figma.js +14 -0
  741. package/lib/module/figma/Icon.figma.js.map +1 -0
  742. package/lib/module/figma/IconButton.figma.js +41 -0
  743. package/lib/module/figma/IconButton.figma.js.map +1 -0
  744. package/lib/module/figma/Input.figma.js +46 -0
  745. package/lib/module/figma/Input.figma.js.map +1 -0
  746. package/lib/module/figma/Link.figma.js +24 -0
  747. package/lib/module/figma/Link.figma.js.map +1 -0
  748. package/lib/module/figma/ListItem.Description.figma.js +17 -0
  749. package/lib/module/figma/ListItem.Description.figma.js.map +1 -0
  750. package/lib/module/figma/ListItem.LeadingSlot.figma.js +18 -0
  751. package/lib/module/figma/ListItem.LeadingSlot.figma.js.map +1 -0
  752. package/lib/module/figma/ListItem.Meta.figma.js +17 -0
  753. package/lib/module/figma/ListItem.Meta.figma.js.map +1 -0
  754. package/lib/module/figma/ListItem.SectionHeader.figma.js +18 -0
  755. package/lib/module/figma/ListItem.SectionHeader.figma.js.map +1 -0
  756. package/lib/module/figma/ListItem.Title.figma.js +17 -0
  757. package/lib/module/figma/ListItem.Title.figma.js.map +1 -0
  758. package/lib/module/figma/ListItem.TrailingSlot.figma.js +18 -0
  759. package/lib/module/figma/ListItem.TrailingSlot.figma.js.map +1 -0
  760. package/lib/module/figma/ListItem.figma.js +44 -0
  761. package/lib/module/figma/ListItem.figma.js.map +1 -0
  762. package/lib/module/figma/Menu.Item.figma.js +46 -0
  763. package/lib/module/figma/Menu.Item.figma.js.map +1 -0
  764. package/lib/module/figma/Menu.figma.js +23 -0
  765. package/lib/module/figma/Menu.figma.js.map +1 -0
  766. package/lib/module/figma/OtpInput.Cell.figma.js +49 -0
  767. package/lib/module/figma/OtpInput.Cell.figma.js.map +1 -0
  768. package/lib/module/figma/OtpInput.figma.js +36 -0
  769. package/lib/module/figma/OtpInput.figma.js.map +1 -0
  770. package/lib/module/figma/ProgressSegmented.figma.js +33 -0
  771. package/lib/module/figma/ProgressSegmented.figma.js.map +1 -0
  772. package/lib/module/figma/QuickActionButton.figma.js +32 -0
  773. package/lib/module/figma/QuickActionButton.figma.js.map +1 -0
  774. package/lib/module/figma/Radio.figma.js +8 -6
  775. package/lib/module/figma/Radio.figma.js.map +1 -1
  776. package/lib/module/figma/Select.figma.js +47 -0
  777. package/lib/module/figma/Select.figma.js.map +1 -0
  778. package/lib/module/figma/Text.figma.js +5 -2
  779. package/lib/module/figma/Text.figma.js.map +1 -1
  780. package/lib/module/figma/Textarea.figma.js +41 -0
  781. package/lib/module/figma/Textarea.figma.js.map +1 -0
  782. package/lib/module/figma/icons.figma.batch.js +22 -0
  783. package/lib/module/figma/icons.figma.batch.js.map +1 -0
  784. package/lib/module/figma/icons.figma.batch.json +17710 -0
  785. package/lib/module/globals.d.js +2 -0
  786. package/lib/module/globals.d.js.map +1 -0
  787. package/lib/module/hooks/index.js +4 -0
  788. package/lib/module/hooks/index.js.map +1 -0
  789. package/lib/module/hooks/useForgeBottomTabScreenOptions.js +242 -0
  790. package/lib/module/hooks/useForgeBottomTabScreenOptions.js.map +1 -0
  791. package/lib/module/index.js +4 -0
  792. package/lib/module/index.js.map +1 -1
  793. package/lib/module/navigation/forgeTabIcon.js +39 -0
  794. package/lib/module/navigation/forgeTabIcon.js.map +1 -0
  795. package/lib/module/navigation/forgeTabIcon.native.js +31 -0
  796. package/lib/module/navigation/forgeTabIcon.native.js.map +1 -0
  797. package/lib/module/navigation/index.js +4 -0
  798. package/lib/module/navigation/index.js.map +1 -0
  799. package/lib/module/navigation/types.js +36 -0
  800. package/lib/module/navigation/types.js.map +1 -0
  801. package/lib/module/providers/animation-settings/index.js +4 -0
  802. package/lib/module/providers/animation-settings/index.js.map +1 -0
  803. package/lib/module/providers/animation-settings/provider.js +52 -0
  804. package/lib/module/providers/animation-settings/provider.js.map +1 -0
  805. package/lib/module/providers/animation-settings/types.js +4 -0
  806. package/lib/module/providers/animation-settings/types.js.map +1 -0
  807. package/lib/module/providers/forge-design/index.js +5 -0
  808. package/lib/module/providers/forge-design/index.js.map +1 -0
  809. package/lib/module/providers/forge-design/provider.js +80 -0
  810. package/lib/module/providers/forge-design/provider.js.map +1 -0
  811. package/lib/module/providers/forge-design/types.js +4 -0
  812. package/lib/module/providers/forge-design/types.js.map +1 -0
  813. package/lib/module/providers/text-component/index.js +5 -0
  814. package/lib/module/providers/text-component/index.js.map +1 -0
  815. package/lib/module/providers/text-component/provider.js +6 -0
  816. package/lib/module/providers/text-component/provider.js.map +1 -0
  817. package/lib/module/providers/text-component/types.js +4 -0
  818. package/lib/module/providers/text-component/types.js.map +1 -0
  819. package/lib/module/providers/toast/index.js +6 -0
  820. package/lib/module/providers/toast/index.js.map +1 -0
  821. package/lib/module/providers/toast/insets-container.js +165 -0
  822. package/lib/module/providers/toast/insets-container.js.map +1 -0
  823. package/lib/module/providers/toast/lifecycle.context.js +32 -0
  824. package/lib/module/providers/toast/lifecycle.context.js.map +1 -0
  825. package/lib/module/providers/toast/provider.js +584 -0
  826. package/lib/module/providers/toast/provider.js.map +1 -0
  827. package/lib/module/providers/toast/reducer.js +42 -0
  828. package/lib/module/providers/toast/reducer.js.map +1 -0
  829. package/lib/module/providers/toast/toast-config.context.js +25 -0
  830. package/lib/module/providers/toast/toast-config.context.js.map +1 -0
  831. package/lib/module/providers/toast/toast-item-renderer.js +40 -0
  832. package/lib/module/providers/toast/toast-item-renderer.js.map +1 -0
  833. package/lib/module/providers/toast/types.js +4 -0
  834. package/lib/module/providers/toast/types.js.map +1 -0
  835. package/lib/module/styles/constants.js +12 -0
  836. package/lib/module/styles/constants.js.map +1 -0
  837. package/lib/module/styles.css +0 -5
  838. package/lib/module/utils/positionToDataIcon.js +38 -0
  839. package/lib/module/utils/positionToDataIcon.js.map +1 -0
  840. package/lib/typescript/animation/hooks/index.d.ts +5 -0
  841. package/lib/typescript/animation/hooks/index.d.ts.map +1 -0
  842. package/lib/typescript/animation/hooks/useCombinedAnimationDisabledState.d.ts +22 -0
  843. package/lib/typescript/animation/hooks/useCombinedAnimationDisabledState.d.ts.map +1 -0
  844. package/lib/typescript/animation/hooks/usePopupDialogContentAnimation.d.ts +47 -0
  845. package/lib/typescript/animation/hooks/usePopupDialogContentAnimation.d.ts.map +1 -0
  846. package/lib/typescript/animation/hooks/usePopupOverlayAnimation.d.ts +29 -0
  847. package/lib/typescript/animation/hooks/usePopupOverlayAnimation.d.ts.map +1 -0
  848. package/lib/typescript/animation/hooks/usePopupRootAnimation.d.ts +16 -0
  849. package/lib/typescript/animation/hooks/usePopupRootAnimation.d.ts.map +1 -0
  850. package/lib/typescript/animation/index.d.ts +4 -0
  851. package/lib/typescript/animation/index.d.ts.map +1 -0
  852. package/lib/typescript/animation/types.d.ts +105 -0
  853. package/lib/typescript/animation/types.d.ts.map +1 -0
  854. package/lib/typescript/animation/utils.d.ts +120 -0
  855. package/lib/typescript/animation/utils.d.ts.map +1 -0
  856. package/lib/typescript/components/Alert/index.d.ts +67 -0
  857. package/lib/typescript/components/Alert/index.d.ts.map +1 -0
  858. package/lib/typescript/components/Alert/styles.d.ts +19 -0
  859. package/lib/typescript/components/Alert/styles.d.ts.map +1 -0
  860. package/lib/typescript/components/AlertDialog/index.d.ts +10 -7
  861. package/lib/typescript/components/AlertDialog/index.d.ts.map +1 -1
  862. package/lib/typescript/components/Avatar/index.d.ts +14 -2
  863. package/lib/typescript/components/Avatar/index.d.ts.map +1 -1
  864. package/lib/typescript/components/Avatar/styles.d.ts +5 -5
  865. package/lib/typescript/components/Avatar/styles.d.ts.map +1 -1
  866. package/lib/typescript/components/Badge/index.d.ts +14 -0
  867. package/lib/typescript/components/Badge/index.d.ts.map +1 -0
  868. package/lib/typescript/components/Badge/styles.d.ts +18 -0
  869. package/lib/typescript/components/Badge/styles.d.ts.map +1 -0
  870. package/lib/typescript/components/BottomSheet/index.d.ts +24 -4
  871. package/lib/typescript/components/BottomSheet/index.d.ts.map +1 -1
  872. package/lib/typescript/components/BottomSheet/styles.d.ts +5 -9
  873. package/lib/typescript/components/BottomSheet/styles.d.ts.map +1 -1
  874. package/lib/typescript/components/Box/Box.d.ts +0 -3
  875. package/lib/typescript/components/Box/Box.d.ts.map +1 -1
  876. package/lib/typescript/components/Breadcrumbs/index.d.ts +28 -0
  877. package/lib/typescript/components/Breadcrumbs/index.d.ts.map +1 -0
  878. package/lib/typescript/components/Breadcrumbs/styles.d.ts +11 -0
  879. package/lib/typescript/components/Breadcrumbs/styles.d.ts.map +1 -0
  880. package/lib/typescript/components/Button/index.d.ts +86 -9
  881. package/lib/typescript/components/Button/index.d.ts.map +1 -1
  882. package/lib/typescript/components/Button/styles.d.ts +11 -8
  883. package/lib/typescript/components/Button/styles.d.ts.map +1 -1
  884. package/lib/typescript/components/Calendar/CalendarMonthHeader.d.ts +14 -0
  885. package/lib/typescript/components/Calendar/CalendarMonthHeader.d.ts.map +1 -0
  886. package/lib/typescript/components/Calendar/CalendarYearPickerGrid.d.ts +12 -0
  887. package/lib/typescript/components/Calendar/CalendarYearPickerGrid.d.ts.map +1 -0
  888. package/lib/typescript/components/Calendar/flashCalendarAdapter.d.ts +18 -0
  889. package/lib/typescript/components/Calendar/flashCalendarAdapter.d.ts.map +1 -0
  890. package/lib/typescript/components/Calendar/index.d.ts +19 -0
  891. package/lib/typescript/components/Calendar/index.d.ts.map +1 -0
  892. package/lib/typescript/components/Calendar/styles.d.ts +23 -0
  893. package/lib/typescript/components/Calendar/styles.d.ts.map +1 -0
  894. package/lib/typescript/components/Card/index.d.ts +12 -2
  895. package/lib/typescript/components/Card/index.d.ts.map +1 -1
  896. package/lib/typescript/components/Card/styles.d.ts +6 -2
  897. package/lib/typescript/components/Card/styles.d.ts.map +1 -1
  898. package/lib/typescript/components/Carousel/context.d.ts +15 -0
  899. package/lib/typescript/components/Carousel/context.d.ts.map +1 -0
  900. package/lib/typescript/components/Carousel/index.d.ts +73 -0
  901. package/lib/typescript/components/Carousel/index.d.ts.map +1 -0
  902. package/lib/typescript/components/Carousel/navButton.d.ts +40 -0
  903. package/lib/typescript/components/Carousel/navButton.d.ts.map +1 -0
  904. package/lib/typescript/components/Carousel/paginationNavigation.d.ts +12 -0
  905. package/lib/typescript/components/Carousel/paginationNavigation.d.ts.map +1 -0
  906. package/lib/typescript/components/Carousel/styles.d.ts +16 -0
  907. package/lib/typescript/components/Carousel/styles.d.ts.map +1 -0
  908. package/lib/typescript/components/Carousel/useCarouselActiveIndex.d.ts +12 -0
  909. package/lib/typescript/components/Carousel/useCarouselActiveIndex.d.ts.map +1 -0
  910. package/lib/typescript/components/Checkbox/index.d.ts +4 -3
  911. package/lib/typescript/components/Checkbox/index.d.ts.map +1 -1
  912. package/lib/typescript/components/Checkbox/styles.d.ts +4 -14
  913. package/lib/typescript/components/Checkbox/styles.d.ts.map +1 -1
  914. package/lib/typescript/components/Chip/index.d.ts +51 -8
  915. package/lib/typescript/components/Chip/index.d.ts.map +1 -1
  916. package/lib/typescript/components/Chip/styles.d.ts +13 -5
  917. package/lib/typescript/components/Chip/styles.d.ts.map +1 -1
  918. package/lib/typescript/components/CurrencyInput/index.d.ts +15 -0
  919. package/lib/typescript/components/CurrencyInput/index.d.ts.map +1 -0
  920. package/lib/typescript/components/CurrencyInput/styles.d.ts +9 -0
  921. package/lib/typescript/components/CurrencyInput/styles.d.ts.map +1 -0
  922. package/lib/typescript/components/DateField/index.d.ts +43 -0
  923. package/lib/typescript/components/DateField/index.d.ts.map +1 -0
  924. package/lib/typescript/components/DateField/styles.d.ts +15 -0
  925. package/lib/typescript/components/DateField/styles.d.ts.map +1 -0
  926. package/lib/typescript/components/DatePicker/index.d.ts +40 -0
  927. package/lib/typescript/components/DatePicker/index.d.ts.map +1 -0
  928. package/lib/typescript/components/DateRangePicker/index.d.ts +45 -0
  929. package/lib/typescript/components/DateRangePicker/index.d.ts.map +1 -0
  930. package/lib/typescript/components/DateTimeField/index.d.ts +29 -0
  931. package/lib/typescript/components/DateTimeField/index.d.ts.map +1 -0
  932. package/lib/typescript/components/DateTimeList/index.d.ts +19 -0
  933. package/lib/typescript/components/DateTimeList/index.d.ts.map +1 -0
  934. package/lib/typescript/components/DateTimeList/styles.d.ts +17 -0
  935. package/lib/typescript/components/DateTimeList/styles.d.ts.map +1 -0
  936. package/lib/typescript/components/DateTimePicker/index.d.ts +40 -0
  937. package/lib/typescript/components/DateTimePicker/index.d.ts.map +1 -0
  938. package/lib/typescript/components/Dialog/animation.d.ts +11 -0
  939. package/lib/typescript/components/Dialog/animation.d.ts.map +1 -0
  940. package/lib/typescript/components/Dialog/index.d.ts +49 -13
  941. package/lib/typescript/components/Dialog/index.d.ts.map +1 -1
  942. package/lib/typescript/components/Dialog/styles.d.ts +18 -6
  943. package/lib/typescript/components/Dialog/styles.d.ts.map +1 -1
  944. package/lib/typescript/components/Divider/index.d.ts +21 -0
  945. package/lib/typescript/components/Divider/index.d.ts.map +1 -0
  946. package/lib/typescript/components/Divider/styles.d.ts +12 -0
  947. package/lib/typescript/components/Divider/styles.d.ts.map +1 -0
  948. package/lib/typescript/components/Field/index.d.ts +14 -7
  949. package/lib/typescript/components/Field/index.d.ts.map +1 -1
  950. package/lib/typescript/components/Field/styles.d.ts +1 -1
  951. package/lib/typescript/components/Field/styles.d.ts.map +1 -1
  952. package/lib/typescript/components/Form/index.d.ts +4 -4
  953. package/lib/typescript/components/Form/index.d.ts.map +1 -1
  954. package/lib/typescript/components/Heading/styles.d.ts +2 -2
  955. package/lib/typescript/components/Heading/styles.d.ts.map +1 -1
  956. package/lib/typescript/components/Icon/index.d.ts +5 -5
  957. package/lib/typescript/components/Icon/index.d.ts.map +1 -1
  958. package/lib/typescript/components/IconButton/index.d.ts +14 -4
  959. package/lib/typescript/components/IconButton/index.d.ts.map +1 -1
  960. package/lib/typescript/components/IconButton/styles.d.ts +7 -3
  961. package/lib/typescript/components/IconButton/styles.d.ts.map +1 -1
  962. package/lib/typescript/components/Input/index.d.ts +31 -5
  963. package/lib/typescript/components/Input/index.d.ts.map +1 -1
  964. package/lib/typescript/components/Input/styles.d.ts +1 -1
  965. package/lib/typescript/components/Input/styles.d.ts.map +1 -1
  966. package/lib/typescript/components/InsuranceDisclosure/index.d.ts +10 -0
  967. package/lib/typescript/components/InsuranceDisclosure/index.d.ts.map +1 -0
  968. package/lib/typescript/components/InsuranceDisclosure/styles.d.ts +4 -0
  969. package/lib/typescript/components/InsuranceDisclosure/styles.d.ts.map +1 -0
  970. package/lib/typescript/components/Link/index.d.ts +5 -2
  971. package/lib/typescript/components/Link/index.d.ts.map +1 -1
  972. package/lib/typescript/components/Link/styles.d.ts +10 -3
  973. package/lib/typescript/components/Link/styles.d.ts.map +1 -1
  974. package/lib/typescript/components/ListItem/index.d.ts +28 -6
  975. package/lib/typescript/components/ListItem/index.d.ts.map +1 -1
  976. package/lib/typescript/components/ListItem/styles.d.ts +4 -11
  977. package/lib/typescript/components/ListItem/styles.d.ts.map +1 -1
  978. package/lib/typescript/components/Menu/index.d.ts +119 -0
  979. package/lib/typescript/components/Menu/index.d.ts.map +1 -0
  980. package/lib/typescript/components/Menu/styles.d.ts +24 -0
  981. package/lib/typescript/components/Menu/styles.d.ts.map +1 -0
  982. package/lib/typescript/components/MonthCalendar/index.d.ts +29 -0
  983. package/lib/typescript/components/MonthCalendar/index.d.ts.map +1 -0
  984. package/lib/typescript/components/MonthPicker/index.d.ts +40 -0
  985. package/lib/typescript/components/MonthPicker/index.d.ts.map +1 -0
  986. package/lib/typescript/components/OtpInput/index.d.ts +30 -3
  987. package/lib/typescript/components/OtpInput/index.d.ts.map +1 -1
  988. package/lib/typescript/components/OtpInput/styles.d.ts +1 -1
  989. package/lib/typescript/components/OtpInput/styles.d.ts.map +1 -1
  990. package/lib/typescript/components/ProgressBar/index.d.ts +4 -4
  991. package/lib/typescript/components/ProgressBar/index.d.ts.map +1 -1
  992. package/lib/typescript/components/ProgressBar/styles.d.ts +1 -1
  993. package/lib/typescript/components/ProgressBar/styles.d.ts.map +1 -1
  994. package/lib/typescript/components/ProgressCircle/ProgressCircleRing.d.ts +7 -0
  995. package/lib/typescript/components/ProgressCircle/ProgressCircleRing.d.ts.map +1 -0
  996. package/lib/typescript/components/ProgressCircle/index.d.ts +29 -0
  997. package/lib/typescript/components/ProgressCircle/index.d.ts.map +1 -0
  998. package/lib/typescript/components/ProgressCircle/styles.d.ts +23 -0
  999. package/lib/typescript/components/ProgressCircle/styles.d.ts.map +1 -0
  1000. package/lib/typescript/components/ProgressCircle/useProgressCircleColors.d.ts +6 -0
  1001. package/lib/typescript/components/ProgressCircle/useProgressCircleColors.d.ts.map +1 -0
  1002. package/lib/typescript/components/ProgressSegmented/index.d.ts +14 -3
  1003. package/lib/typescript/components/ProgressSegmented/index.d.ts.map +1 -1
  1004. package/lib/typescript/components/ProgressSegmented/styles.d.ts +1 -1
  1005. package/lib/typescript/components/ProgressSegmented/styles.d.ts.map +1 -1
  1006. package/lib/typescript/components/QuickActionButton/index.d.ts +41 -0
  1007. package/lib/typescript/components/QuickActionButton/index.d.ts.map +1 -0
  1008. package/lib/typescript/components/QuickActionButton/styles.d.ts +7 -0
  1009. package/lib/typescript/components/QuickActionButton/styles.d.ts.map +1 -0
  1010. package/lib/typescript/components/Radio/index.d.ts +4 -0
  1011. package/lib/typescript/components/Radio/index.d.ts.map +1 -1
  1012. package/lib/typescript/components/Radio/styles.d.ts.map +1 -1
  1013. package/lib/typescript/components/RangeCalendar/index.d.ts +19 -0
  1014. package/lib/typescript/components/RangeCalendar/index.d.ts.map +1 -0
  1015. package/lib/typescript/components/ScopedTheme/index.d.ts +16 -0
  1016. package/lib/typescript/components/ScopedTheme/index.d.ts.map +1 -0
  1017. package/lib/typescript/components/ScrollShadow/index.d.ts +29 -0
  1018. package/lib/typescript/components/ScrollShadow/index.d.ts.map +1 -0
  1019. package/lib/typescript/components/ScrollShadow/styles.d.ts +12 -0
  1020. package/lib/typescript/components/ScrollShadow/styles.d.ts.map +1 -0
  1021. package/lib/typescript/components/ScrollShadow/useScrollShadow.d.ts +17 -0
  1022. package/lib/typescript/components/ScrollShadow/useScrollShadow.d.ts.map +1 -0
  1023. package/lib/typescript/components/Select/index.d.ts +35 -2
  1024. package/lib/typescript/components/Select/index.d.ts.map +1 -1
  1025. package/lib/typescript/components/Select/styles.d.ts +1 -8
  1026. package/lib/typescript/components/Select/styles.d.ts.map +1 -1
  1027. package/lib/typescript/components/Skeleton/index.d.ts +9 -0
  1028. package/lib/typescript/components/Skeleton/index.d.ts.map +1 -0
  1029. package/lib/typescript/components/Skeleton/styles.d.ts +4 -0
  1030. package/lib/typescript/components/Skeleton/styles.d.ts.map +1 -0
  1031. package/lib/typescript/components/Slider/getSliderPopupPosition.d.ts +10 -0
  1032. package/lib/typescript/components/Slider/getSliderPopupPosition.d.ts.map +1 -0
  1033. package/lib/typescript/components/Slider/index.d.ts +61 -0
  1034. package/lib/typescript/components/Slider/index.d.ts.map +1 -0
  1035. package/lib/typescript/components/Slider/styles.d.ts +30 -0
  1036. package/lib/typescript/components/Slider/styles.d.ts.map +1 -0
  1037. package/lib/typescript/components/Stack/styles.d.ts +2 -2
  1038. package/lib/typescript/components/Switch/BaseSwitch.d.ts +12 -5
  1039. package/lib/typescript/components/Switch/BaseSwitch.d.ts.map +1 -1
  1040. package/lib/typescript/components/Switch/BaseSwitch.web.d.ts +11 -5
  1041. package/lib/typescript/components/Switch/BaseSwitch.web.d.ts.map +1 -1
  1042. package/lib/typescript/components/Switch/index.d.ts +15 -3
  1043. package/lib/typescript/components/Switch/index.d.ts.map +1 -1
  1044. package/lib/typescript/components/Switch/styles.d.ts +1 -1
  1045. package/lib/typescript/components/Switch/styles.d.ts.map +1 -1
  1046. package/lib/typescript/components/Tabs/index.d.ts +48 -0
  1047. package/lib/typescript/components/Tabs/index.d.ts.map +1 -0
  1048. package/lib/typescript/components/Tabs/styles.d.ts +107 -0
  1049. package/lib/typescript/components/Tabs/styles.d.ts.map +1 -0
  1050. package/lib/typescript/components/Text/styles.d.ts +2 -2
  1051. package/lib/typescript/components/Text/styles.d.ts.map +1 -1
  1052. package/lib/typescript/components/Textarea/index.d.ts +27 -0
  1053. package/lib/typescript/components/Textarea/index.d.ts.map +1 -0
  1054. package/lib/typescript/components/Textarea/styles.d.ts +11 -0
  1055. package/lib/typescript/components/Textarea/styles.d.ts.map +1 -0
  1056. package/lib/typescript/components/Tile/index.d.ts +8 -2
  1057. package/lib/typescript/components/Tile/index.d.ts.map +1 -1
  1058. package/lib/typescript/components/Tile/styles.d.ts +2 -2
  1059. package/lib/typescript/components/Tile/styles.d.ts.map +1 -1
  1060. package/lib/typescript/components/Toast/animation.d.ts +21 -0
  1061. package/lib/typescript/components/Toast/animation.d.ts.map +1 -0
  1062. package/lib/typescript/components/Toast/hooks.d.ts +17 -0
  1063. package/lib/typescript/components/Toast/hooks.d.ts.map +1 -0
  1064. package/lib/typescript/components/Toast/index.d.ts +28 -0
  1065. package/lib/typescript/components/Toast/index.d.ts.map +1 -0
  1066. package/lib/typescript/components/Toast/styles.d.ts +73 -0
  1067. package/lib/typescript/components/Toast/styles.d.ts.map +1 -0
  1068. package/lib/typescript/components/Toast/types.d.ts +308 -0
  1069. package/lib/typescript/components/Toast/types.d.ts.map +1 -0
  1070. package/lib/typescript/components/Tooltip/index.d.ts +32 -0
  1071. package/lib/typescript/components/Tooltip/index.d.ts.map +1 -0
  1072. package/lib/typescript/components/Tooltip/styles.d.ts +5 -0
  1073. package/lib/typescript/components/Tooltip/styles.d.ts.map +1 -0
  1074. package/lib/typescript/components/VirtualizedList/index.d.ts +2 -1
  1075. package/lib/typescript/components/VirtualizedList/index.d.ts.map +1 -1
  1076. package/lib/typescript/components/index.d.ts +28 -0
  1077. package/lib/typescript/components/index.d.ts.map +1 -1
  1078. package/lib/typescript/components/picker/PickerTrigger.d.ts +25 -0
  1079. package/lib/typescript/components/picker/PickerTrigger.d.ts.map +1 -0
  1080. package/lib/typescript/components/picker/styles.d.ts +4 -0
  1081. package/lib/typescript/components/picker/styles.d.ts.map +1 -0
  1082. package/lib/typescript/components/picker/surfaces.d.ts +28 -0
  1083. package/lib/typescript/components/picker/surfaces.d.ts.map +1 -0
  1084. package/lib/typescript/figma/Alert.Button.figma.d.ts +11 -0
  1085. package/lib/typescript/figma/Alert.Button.figma.d.ts.map +1 -0
  1086. package/lib/typescript/figma/Alert.Close.figma.d.ts +11 -0
  1087. package/lib/typescript/figma/Alert.Close.figma.d.ts.map +1 -0
  1088. package/lib/typescript/figma/Alert.Description.figma.d.ts +8 -0
  1089. package/lib/typescript/figma/Alert.Description.figma.d.ts.map +1 -0
  1090. package/lib/typescript/figma/Alert.Title.figma.d.ts +8 -0
  1091. package/lib/typescript/figma/Alert.Title.figma.d.ts.map +1 -0
  1092. package/lib/typescript/figma/Alert.figma.d.ts +8 -0
  1093. package/lib/typescript/figma/Alert.figma.d.ts.map +1 -0
  1094. package/lib/typescript/figma/AlertDialog.Description.figma.d.ts +8 -0
  1095. package/lib/typescript/figma/AlertDialog.Description.figma.d.ts.map +1 -0
  1096. package/lib/typescript/figma/AlertDialog.Footer.figma.d.ts +8 -0
  1097. package/lib/typescript/figma/AlertDialog.Footer.figma.d.ts.map +1 -0
  1098. package/lib/typescript/figma/AlertDialog.Header.figma.d.ts +8 -0
  1099. package/lib/typescript/figma/AlertDialog.Header.figma.d.ts.map +1 -0
  1100. package/lib/typescript/figma/AlertDialog.Text.figma.d.ts +8 -0
  1101. package/lib/typescript/figma/AlertDialog.Text.figma.d.ts.map +1 -0
  1102. package/lib/typescript/figma/AlertDialog.Title.figma.d.ts +8 -0
  1103. package/lib/typescript/figma/AlertDialog.Title.figma.d.ts.map +1 -0
  1104. package/lib/typescript/figma/AlertDialog.figma.d.ts +8 -0
  1105. package/lib/typescript/figma/AlertDialog.figma.d.ts.map +1 -0
  1106. package/lib/typescript/figma/Avatar.figma.d.ts +11 -0
  1107. package/lib/typescript/figma/Avatar.figma.d.ts.map +1 -0
  1108. package/lib/typescript/figma/Badge.Indicator.figma.d.ts +11 -0
  1109. package/lib/typescript/figma/Badge.Indicator.figma.d.ts.map +1 -0
  1110. package/lib/typescript/figma/Badge.figma.d.ts +8 -0
  1111. package/lib/typescript/figma/Badge.figma.d.ts.map +1 -0
  1112. package/lib/typescript/figma/BottomSheet.Footer.figma.d.ts +8 -0
  1113. package/lib/typescript/figma/BottomSheet.Footer.figma.d.ts.map +1 -0
  1114. package/lib/typescript/figma/BottomSheet.Header.figma.d.ts +8 -0
  1115. package/lib/typescript/figma/BottomSheet.Header.figma.d.ts.map +1 -0
  1116. package/lib/typescript/figma/BottomSheet.figma.d.ts +8 -0
  1117. package/lib/typescript/figma/BottomSheet.figma.d.ts.map +1 -0
  1118. package/lib/typescript/figma/Button.figma.d.ts.map +1 -1
  1119. package/lib/typescript/figma/Card.Header.figma.d.ts +8 -0
  1120. package/lib/typescript/figma/Card.Header.figma.d.ts.map +1 -0
  1121. package/lib/typescript/figma/Card.Stripe.figma.d.ts +11 -0
  1122. package/lib/typescript/figma/Card.Stripe.figma.d.ts.map +1 -0
  1123. package/lib/typescript/figma/Card.figma.d.ts +8 -0
  1124. package/lib/typescript/figma/Card.figma.d.ts.map +1 -0
  1125. package/lib/typescript/figma/Checkbox.figma.d.ts +8 -0
  1126. package/lib/typescript/figma/Checkbox.figma.d.ts.map +1 -0
  1127. package/lib/typescript/figma/Chip.figma.d.ts +8 -0
  1128. package/lib/typescript/figma/Chip.figma.d.ts.map +1 -0
  1129. package/lib/typescript/figma/Dialog.Description.figma.d.ts +8 -0
  1130. package/lib/typescript/figma/Dialog.Description.figma.d.ts.map +1 -0
  1131. package/lib/typescript/figma/Dialog.Footer.figma.d.ts +8 -0
  1132. package/lib/typescript/figma/Dialog.Footer.figma.d.ts.map +1 -0
  1133. package/lib/typescript/figma/Dialog.Header.figma.d.ts +8 -0
  1134. package/lib/typescript/figma/Dialog.Header.figma.d.ts.map +1 -0
  1135. package/lib/typescript/figma/Dialog.Text.figma.d.ts +8 -0
  1136. package/lib/typescript/figma/Dialog.Text.figma.d.ts.map +1 -0
  1137. package/lib/typescript/figma/Dialog.Title.figma.d.ts +8 -0
  1138. package/lib/typescript/figma/Dialog.Title.figma.d.ts.map +1 -0
  1139. package/lib/typescript/figma/Dialog.figma.d.ts +8 -0
  1140. package/lib/typescript/figma/Dialog.figma.d.ts.map +1 -0
  1141. package/lib/typescript/figma/Divider.figma.d.ts +8 -0
  1142. package/lib/typescript/figma/Divider.figma.d.ts.map +1 -0
  1143. package/lib/typescript/figma/Field.Input.figma.d.ts +8 -0
  1144. package/lib/typescript/figma/Field.Input.figma.d.ts.map +1 -0
  1145. package/lib/typescript/figma/Field.OtpInput.figma.d.ts +8 -0
  1146. package/lib/typescript/figma/Field.OtpInput.figma.d.ts.map +1 -0
  1147. package/lib/typescript/figma/Field.Select.figma.d.ts +8 -0
  1148. package/lib/typescript/figma/Field.Select.figma.d.ts.map +1 -0
  1149. package/lib/typescript/figma/Field.Textarea.figma.d.ts +8 -0
  1150. package/lib/typescript/figma/Field.Textarea.figma.d.ts.map +1 -0
  1151. package/lib/typescript/figma/Icon.figma.d.ts +8 -0
  1152. package/lib/typescript/figma/Icon.figma.d.ts.map +1 -0
  1153. package/lib/typescript/figma/IconButton.figma.d.ts +8 -0
  1154. package/lib/typescript/figma/IconButton.figma.d.ts.map +1 -0
  1155. package/lib/typescript/figma/Input.figma.d.ts +8 -0
  1156. package/lib/typescript/figma/Input.figma.d.ts.map +1 -0
  1157. package/lib/typescript/figma/Link.figma.d.ts +8 -0
  1158. package/lib/typescript/figma/Link.figma.d.ts.map +1 -0
  1159. package/lib/typescript/figma/ListItem.Description.figma.d.ts +11 -0
  1160. package/lib/typescript/figma/ListItem.Description.figma.d.ts.map +1 -0
  1161. package/lib/typescript/figma/ListItem.LeadingSlot.figma.d.ts +8 -0
  1162. package/lib/typescript/figma/ListItem.LeadingSlot.figma.d.ts.map +1 -0
  1163. package/lib/typescript/figma/ListItem.Meta.figma.d.ts +11 -0
  1164. package/lib/typescript/figma/ListItem.Meta.figma.d.ts.map +1 -0
  1165. package/lib/typescript/figma/ListItem.SectionHeader.figma.d.ts +8 -0
  1166. package/lib/typescript/figma/ListItem.SectionHeader.figma.d.ts.map +1 -0
  1167. package/lib/typescript/figma/ListItem.Title.figma.d.ts +11 -0
  1168. package/lib/typescript/figma/ListItem.Title.figma.d.ts.map +1 -0
  1169. package/lib/typescript/figma/ListItem.TrailingSlot.figma.d.ts +8 -0
  1170. package/lib/typescript/figma/ListItem.TrailingSlot.figma.d.ts.map +1 -0
  1171. package/lib/typescript/figma/ListItem.figma.d.ts +8 -0
  1172. package/lib/typescript/figma/ListItem.figma.d.ts.map +1 -0
  1173. package/lib/typescript/figma/Menu.Item.figma.d.ts +8 -0
  1174. package/lib/typescript/figma/Menu.Item.figma.d.ts.map +1 -0
  1175. package/lib/typescript/figma/Menu.figma.d.ts +8 -0
  1176. package/lib/typescript/figma/Menu.figma.d.ts.map +1 -0
  1177. package/lib/typescript/figma/OtpInput.Cell.figma.d.ts +8 -0
  1178. package/lib/typescript/figma/OtpInput.Cell.figma.d.ts.map +1 -0
  1179. package/lib/typescript/figma/OtpInput.figma.d.ts +8 -0
  1180. package/lib/typescript/figma/OtpInput.figma.d.ts.map +1 -0
  1181. package/lib/typescript/figma/ProgressSegmented.figma.d.ts +8 -0
  1182. package/lib/typescript/figma/ProgressSegmented.figma.d.ts.map +1 -0
  1183. package/lib/typescript/figma/QuickActionButton.figma.d.ts +8 -0
  1184. package/lib/typescript/figma/QuickActionButton.figma.d.ts.map +1 -0
  1185. package/lib/typescript/figma/Radio.figma.d.ts.map +1 -1
  1186. package/lib/typescript/figma/Select.figma.d.ts +8 -0
  1187. package/lib/typescript/figma/Select.figma.d.ts.map +1 -0
  1188. package/lib/typescript/figma/Text.figma.d.ts +3 -0
  1189. package/lib/typescript/figma/Text.figma.d.ts.map +1 -1
  1190. package/lib/typescript/figma/Textarea.figma.d.ts +8 -0
  1191. package/lib/typescript/figma/Textarea.figma.d.ts.map +1 -0
  1192. package/lib/typescript/figma/icons.figma.batch.d.ts +14 -0
  1193. package/lib/typescript/figma/icons.figma.batch.d.ts.map +1 -0
  1194. package/lib/typescript/hooks/index.d.ts +2 -0
  1195. package/lib/typescript/hooks/index.d.ts.map +1 -0
  1196. package/lib/typescript/hooks/useForgeBottomTabScreenOptions.d.ts +137 -0
  1197. package/lib/typescript/hooks/useForgeBottomTabScreenOptions.d.ts.map +1 -0
  1198. package/lib/typescript/index.d.ts +6 -0
  1199. package/lib/typescript/index.d.ts.map +1 -1
  1200. package/lib/typescript/navigation/forgeTabIcon.d.ts +27 -0
  1201. package/lib/typescript/navigation/forgeTabIcon.d.ts.map +1 -0
  1202. package/lib/typescript/navigation/forgeTabIcon.native.d.ts +15 -0
  1203. package/lib/typescript/navigation/forgeTabIcon.native.d.ts.map +1 -0
  1204. package/lib/typescript/navigation/index.d.ts +4 -0
  1205. package/lib/typescript/navigation/index.d.ts.map +1 -0
  1206. package/lib/typescript/navigation/types.d.ts +37 -0
  1207. package/lib/typescript/navigation/types.d.ts.map +1 -0
  1208. package/lib/typescript/providers/animation-settings/index.d.ts +3 -0
  1209. package/lib/typescript/providers/animation-settings/index.d.ts.map +1 -0
  1210. package/lib/typescript/providers/animation-settings/provider.d.ts +28 -0
  1211. package/lib/typescript/providers/animation-settings/provider.d.ts.map +1 -0
  1212. package/lib/typescript/providers/animation-settings/types.d.ts +35 -0
  1213. package/lib/typescript/providers/animation-settings/types.d.ts.map +1 -0
  1214. package/lib/typescript/providers/forge-design/index.d.ts +3 -0
  1215. package/lib/typescript/providers/forge-design/index.d.ts.map +1 -0
  1216. package/lib/typescript/providers/forge-design/provider.d.ts +24 -0
  1217. package/lib/typescript/providers/forge-design/provider.d.ts.map +1 -0
  1218. package/lib/typescript/providers/forge-design/types.d.ts +82 -0
  1219. package/lib/typescript/providers/forge-design/types.d.ts.map +1 -0
  1220. package/lib/typescript/providers/text-component/index.d.ts +3 -0
  1221. package/lib/typescript/providers/text-component/index.d.ts.map +1 -0
  1222. package/lib/typescript/providers/text-component/provider.d.ts +7 -0
  1223. package/lib/typescript/providers/text-component/provider.d.ts.map +1 -0
  1224. package/lib/typescript/providers/text-component/types.d.ts +51 -0
  1225. package/lib/typescript/providers/text-component/types.d.ts.map +1 -0
  1226. package/lib/typescript/providers/toast/index.d.ts +5 -0
  1227. package/lib/typescript/providers/toast/index.d.ts.map +1 -0
  1228. package/lib/typescript/providers/toast/insets-container.d.ts +72 -0
  1229. package/lib/typescript/providers/toast/insets-container.d.ts.map +1 -0
  1230. package/lib/typescript/providers/toast/lifecycle.context.d.ts +32 -0
  1231. package/lib/typescript/providers/toast/lifecycle.context.d.ts.map +1 -0
  1232. package/lib/typescript/providers/toast/provider.d.ts +32 -0
  1233. package/lib/typescript/providers/toast/provider.d.ts.map +1 -0
  1234. package/lib/typescript/providers/toast/reducer.d.ts +14 -0
  1235. package/lib/typescript/providers/toast/reducer.d.ts.map +1 -0
  1236. package/lib/typescript/providers/toast/toast-config.context.d.ts +20 -0
  1237. package/lib/typescript/providers/toast/toast-config.context.d.ts.map +1 -0
  1238. package/lib/typescript/providers/toast/toast-item-renderer.d.ts +7 -0
  1239. package/lib/typescript/providers/toast/toast-item-renderer.d.ts.map +1 -0
  1240. package/lib/typescript/providers/toast/types.d.ts +436 -0
  1241. package/lib/typescript/providers/toast/types.d.ts.map +1 -0
  1242. package/lib/typescript/styles/constants.d.ts +4 -0
  1243. package/lib/typescript/styles/constants.d.ts.map +1 -0
  1244. package/lib/typescript/utils/positionToDataIcon.d.ts +29 -0
  1245. package/lib/typescript/utils/positionToDataIcon.d.ts.map +1 -0
  1246. package/package.json +39 -21
  1247. package/src/animation/hooks/index.ts +4 -0
  1248. package/src/animation/hooks/useCombinedAnimationDisabledState.ts +46 -0
  1249. package/src/animation/hooks/usePopupDialogContentAnimation.ts +265 -0
  1250. package/src/animation/hooks/usePopupOverlayAnimation.ts +91 -0
  1251. package/src/animation/hooks/usePopupRootAnimation.ts +27 -0
  1252. package/src/animation/index.ts +3 -0
  1253. package/src/animation/types.ts +128 -0
  1254. package/src/animation/utils.ts +249 -0
  1255. package/src/components/Alert/index.tsx +318 -0
  1256. package/src/components/Alert/styles.ts +88 -0
  1257. package/src/components/AlertDialog/index.tsx +36 -22
  1258. package/src/components/Avatar/index.tsx +143 -45
  1259. package/src/components/Avatar/styles.ts +50 -35
  1260. package/src/components/Badge/index.tsx +91 -0
  1261. package/src/components/Badge/styles.ts +136 -0
  1262. package/src/components/BottomSheet/index.tsx +138 -51
  1263. package/src/components/BottomSheet/styles.ts +10 -57
  1264. package/src/components/Box/Box.tsx +3 -7
  1265. package/src/components/Breadcrumbs/index.tsx +311 -0
  1266. package/src/components/Breadcrumbs/styles.ts +63 -0
  1267. package/src/components/Button/index.tsx +289 -47
  1268. package/src/components/Button/styles.ts +79 -38
  1269. package/src/components/CLAUDE.md +195 -0
  1270. package/src/components/Calendar/CalendarMonthHeader.tsx +124 -0
  1271. package/src/components/Calendar/CalendarYearPickerGrid.tsx +101 -0
  1272. package/src/components/Calendar/flashCalendarAdapter.ts +362 -0
  1273. package/src/components/Calendar/index.tsx +151 -0
  1274. package/src/components/Calendar/styles.ts +80 -0
  1275. package/src/components/Card/index.tsx +94 -28
  1276. package/src/components/Card/styles.ts +20 -5
  1277. package/src/components/Carousel/context.ts +15 -0
  1278. package/src/components/Carousel/index.tsx +268 -0
  1279. package/src/components/Carousel/navButton.tsx +160 -0
  1280. package/src/components/Carousel/paginationNavigation.ts +32 -0
  1281. package/src/components/Carousel/styles.ts +45 -0
  1282. package/src/components/Carousel/useCarouselActiveIndex.ts +54 -0
  1283. package/src/components/Checkbox/index.tsx +133 -51
  1284. package/src/components/Checkbox/styles.ts +116 -84
  1285. package/src/components/Chip/index.tsx +194 -32
  1286. package/src/components/Chip/styles.ts +225 -23
  1287. package/src/components/CurrencyInput/index.tsx +192 -0
  1288. package/src/components/CurrencyInput/styles.ts +44 -0
  1289. package/src/components/DateField/index.tsx +196 -0
  1290. package/src/components/DateField/styles.ts +51 -0
  1291. package/src/components/DatePicker/index.tsx +187 -0
  1292. package/src/components/DateRangePicker/index.tsx +202 -0
  1293. package/src/components/DateTimeField/index.tsx +128 -0
  1294. package/src/components/DateTimeList/index.tsx +187 -0
  1295. package/src/components/DateTimeList/styles.ts +59 -0
  1296. package/src/components/DateTimePicker/index.tsx +233 -0
  1297. package/src/components/Dialog/animation.ts +13 -0
  1298. package/src/components/Dialog/index.tsx +548 -90
  1299. package/src/components/Dialog/styles.ts +90 -31
  1300. package/src/components/Divider/index.tsx +94 -0
  1301. package/src/components/Divider/styles.ts +86 -0
  1302. package/src/components/Field/index.tsx +121 -50
  1303. package/src/components/Field/styles.ts +7 -6
  1304. package/src/components/Form/index.tsx +18 -14
  1305. package/src/components/Form/styles.ts +1 -1
  1306. package/src/components/Heading/styles.ts +2 -2
  1307. package/src/components/Icon/index.tsx +14 -8
  1308. package/src/components/IconButton/index.tsx +45 -37
  1309. package/src/components/IconButton/styles.ts +137 -11
  1310. package/src/components/Input/index.tsx +95 -33
  1311. package/src/components/Input/styles.ts +36 -13
  1312. package/src/components/InsuranceDisclosure/index.tsx +59 -0
  1313. package/src/components/InsuranceDisclosure/styles.ts +12 -0
  1314. package/src/components/Link/index.tsx +58 -18
  1315. package/src/components/Link/styles.ts +48 -11
  1316. package/src/components/ListItem/index.tsx +157 -87
  1317. package/src/components/ListItem/styles.ts +47 -71
  1318. package/src/components/Menu/index.tsx +654 -0
  1319. package/src/components/Menu/styles.ts +153 -0
  1320. package/src/components/MonthCalendar/index.tsx +252 -0
  1321. package/src/components/MonthPicker/index.tsx +188 -0
  1322. package/src/components/OtpInput/index.tsx +149 -34
  1323. package/src/components/OtpInput/styles.ts +21 -14
  1324. package/src/components/ProgressBar/index.tsx +11 -16
  1325. package/src/components/ProgressBar/styles.ts +2 -2
  1326. package/src/components/ProgressCircle/ProgressCircleRing.tsx +105 -0
  1327. package/src/components/ProgressCircle/index.tsx +110 -0
  1328. package/src/components/ProgressCircle/styles.ts +47 -0
  1329. package/src/components/ProgressCircle/useProgressCircleColors.ts +33 -0
  1330. package/src/components/ProgressSegmented/index.tsx +45 -14
  1331. package/src/components/ProgressSegmented/styles.ts +3 -3
  1332. package/src/components/QuickActionButton/index.tsx +161 -0
  1333. package/src/components/QuickActionButton/styles.ts +42 -0
  1334. package/src/components/Radio/index.tsx +96 -53
  1335. package/src/components/Radio/styles.ts +41 -15
  1336. package/src/components/RangeCalendar/index.tsx +162 -0
  1337. package/src/components/ScopedTheme/index.tsx +17 -0
  1338. package/src/components/ScrollShadow/index.tsx +119 -0
  1339. package/src/components/ScrollShadow/styles.ts +57 -0
  1340. package/src/components/ScrollShadow/useScrollShadow.ts +110 -0
  1341. package/src/components/Select/index.tsx +218 -63
  1342. package/src/components/Select/styles.ts +54 -101
  1343. package/src/components/Skeleton/index.tsx +43 -0
  1344. package/src/components/Skeleton/styles.ts +5 -0
  1345. package/src/components/Slider/getSliderPopupPosition.ts +49 -0
  1346. package/src/components/Slider/index.tsx +472 -0
  1347. package/src/components/Slider/styles.ts +147 -0
  1348. package/src/components/Stack/styles.ts +1 -1
  1349. package/src/components/Switch/BaseSwitch.tsx +38 -16
  1350. package/src/components/Switch/BaseSwitch.web.tsx +28 -35
  1351. package/src/components/Switch/index.tsx +61 -6
  1352. package/src/components/Switch/styles.ts +1 -1
  1353. package/src/components/Tabs/index.tsx +698 -0
  1354. package/src/components/Tabs/styles.ts +340 -0
  1355. package/src/components/Text/styles.ts +2 -2
  1356. package/src/components/Textarea/index.tsx +180 -0
  1357. package/src/components/Textarea/styles.ts +86 -0
  1358. package/src/components/Tile/index.tsx +145 -94
  1359. package/src/components/Tile/styles.ts +3 -3
  1360. package/src/components/Toast/animation.ts +405 -0
  1361. package/src/components/Toast/hooks.ts +93 -0
  1362. package/src/components/Toast/index.tsx +551 -0
  1363. package/src/components/Toast/styles.ts +186 -0
  1364. package/src/components/Toast/types.ts +338 -0
  1365. package/src/components/Tooltip/index.tsx +149 -0
  1366. package/src/components/Tooltip/styles.ts +16 -0
  1367. package/src/components/VirtualizedList/index.tsx +11 -1
  1368. package/src/components/index.ts +28 -0
  1369. package/src/components/picker/PickerTrigger.tsx +65 -0
  1370. package/src/components/picker/styles.ts +17 -0
  1371. package/src/components/picker/surfaces.tsx +178 -0
  1372. package/src/globals.d.ts +1 -0
  1373. package/src/hooks/index.ts +5 -0
  1374. package/src/hooks/useForgeBottomTabScreenOptions.ts +245 -0
  1375. package/src/index.ts +6 -0
  1376. package/src/navigation/forgeTabIcon.native.ts +36 -0
  1377. package/src/navigation/forgeTabIcon.ts +33 -0
  1378. package/src/navigation/index.ts +3 -0
  1379. package/src/navigation/types.ts +54 -0
  1380. package/src/providers/animation-settings/index.ts +11 -0
  1381. package/src/providers/animation-settings/provider.tsx +54 -0
  1382. package/src/providers/animation-settings/types.ts +37 -0
  1383. package/src/providers/forge-design/index.ts +2 -0
  1384. package/src/providers/forge-design/provider.tsx +80 -0
  1385. package/src/providers/forge-design/types.ts +84 -0
  1386. package/src/providers/text-component/index.ts +2 -0
  1387. package/src/providers/text-component/provider.tsx +7 -0
  1388. package/src/providers/text-component/types.ts +52 -0
  1389. package/src/providers/toast/index.ts +4 -0
  1390. package/src/providers/toast/insets-container.tsx +233 -0
  1391. package/src/providers/toast/lifecycle.context.tsx +37 -0
  1392. package/src/providers/toast/provider.tsx +671 -0
  1393. package/src/providers/toast/reducer.ts +40 -0
  1394. package/src/providers/toast/toast-config.context.ts +25 -0
  1395. package/src/providers/toast/toast-item-renderer.tsx +44 -0
  1396. package/src/providers/toast/types.ts +445 -0
  1397. package/src/styles/constants.ts +10 -0
  1398. package/src/styles.css +0 -5
  1399. package/src/utils/positionToDataIcon.ts +34 -0
  1400. package/lib/commonjs/components/Field/FieldLabel.js +0 -33
  1401. package/lib/commonjs/components/Field/FieldLabel.js.map +0 -1
  1402. package/lib/commonjs/components/Field/FieldLabel.web.js +0 -22
  1403. package/lib/commonjs/components/Field/FieldLabel.web.js.map +0 -1
  1404. package/lib/commonjs/components/Form/FormRoot.js +0 -25
  1405. package/lib/commonjs/components/Form/FormRoot.js.map +0 -1
  1406. package/lib/commonjs/components/Form/FormRoot.web.js +0 -17
  1407. package/lib/commonjs/components/Form/FormRoot.web.js.map +0 -1
  1408. package/lib/commonjs/components/Input/BaseInput.android.js +0 -20
  1409. package/lib/commonjs/components/Input/BaseInput.android.js.map +0 -1
  1410. package/lib/commonjs/components/Input/BaseInput.js +0 -13
  1411. package/lib/commonjs/components/Input/BaseInput.js.map +0 -1
  1412. package/lib/commonjs/components/Input/BaseInput.web.js +0 -50
  1413. package/lib/commonjs/components/Input/BaseInput.web.js.map +0 -1
  1414. package/lib/commonjs/components/Select/SelectTriggerHost.js +0 -10
  1415. package/lib/commonjs/components/Select/SelectTriggerHost.js.map +0 -1
  1416. package/lib/commonjs/components/Select/SelectTriggerHost.web.js +0 -98
  1417. package/lib/commonjs/components/Select/SelectTriggerHost.web.js.map +0 -1
  1418. package/lib/commonjs/metro/withCdxMetroConfig.js +0 -24
  1419. package/lib/commonjs/metro/withCdxMetroConfig.js.map +0 -1
  1420. package/lib/commonjs/styles/index.js +0 -17
  1421. package/lib/commonjs/styles/index.js.map +0 -1
  1422. package/lib/commonjs/styles/primitives.js +0 -156
  1423. package/lib/commonjs/styles/primitives.js.map +0 -1
  1424. package/lib/commonjs/utils/WrapStringChild.js +0 -22
  1425. package/lib/commonjs/utils/WrapStringChild.js.map +0 -1
  1426. package/lib/module/components/Field/FieldLabel.js +0 -29
  1427. package/lib/module/components/Field/FieldLabel.js.map +0 -1
  1428. package/lib/module/components/Field/FieldLabel.web.js +0 -17
  1429. package/lib/module/components/Field/FieldLabel.web.js.map +0 -1
  1430. package/lib/module/components/Form/FormRoot.js +0 -21
  1431. package/lib/module/components/Form/FormRoot.js.map +0 -1
  1432. package/lib/module/components/Form/FormRoot.web.js +0 -12
  1433. package/lib/module/components/Form/FormRoot.web.js.map +0 -1
  1434. package/lib/module/components/Input/BaseInput.android.js +0 -16
  1435. package/lib/module/components/Input/BaseInput.android.js.map +0 -1
  1436. package/lib/module/components/Input/BaseInput.js +0 -4
  1437. package/lib/module/components/Input/BaseInput.js.map +0 -1
  1438. package/lib/module/components/Input/BaseInput.web.js +0 -45
  1439. package/lib/module/components/Input/BaseInput.web.js.map +0 -1
  1440. package/lib/module/components/Select/SelectTriggerHost.js +0 -7
  1441. package/lib/module/components/Select/SelectTriggerHost.js.map +0 -1
  1442. package/lib/module/components/Select/SelectTriggerHost.web.js +0 -93
  1443. package/lib/module/components/Select/SelectTriggerHost.web.js.map +0 -1
  1444. package/lib/module/metro/withCdxMetroConfig.js +0 -20
  1445. package/lib/module/metro/withCdxMetroConfig.js.map +0 -1
  1446. package/lib/module/styles/index.js +0 -4
  1447. package/lib/module/styles/index.js.map +0 -1
  1448. package/lib/module/styles/primitives.js +0 -152
  1449. package/lib/module/styles/primitives.js.map +0 -1
  1450. package/lib/module/utils/WrapStringChild.js +0 -18
  1451. package/lib/module/utils/WrapStringChild.js.map +0 -1
  1452. package/lib/typescript/components/Field/FieldLabel.d.ts +0 -18
  1453. package/lib/typescript/components/Field/FieldLabel.d.ts.map +0 -1
  1454. package/lib/typescript/components/Field/FieldLabel.web.d.ts +0 -16
  1455. package/lib/typescript/components/Field/FieldLabel.web.d.ts.map +0 -1
  1456. package/lib/typescript/components/Form/FormRoot.d.ts +0 -14
  1457. package/lib/typescript/components/Form/FormRoot.d.ts.map +0 -1
  1458. package/lib/typescript/components/Form/FormRoot.web.d.ts +0 -10
  1459. package/lib/typescript/components/Form/FormRoot.web.d.ts.map +0 -1
  1460. package/lib/typescript/components/Input/BaseInput.android.d.ts +0 -3
  1461. package/lib/typescript/components/Input/BaseInput.android.d.ts.map +0 -1
  1462. package/lib/typescript/components/Input/BaseInput.d.ts +0 -2
  1463. package/lib/typescript/components/Input/BaseInput.d.ts.map +0 -1
  1464. package/lib/typescript/components/Input/BaseInput.web.d.ts +0 -3
  1465. package/lib/typescript/components/Input/BaseInput.web.d.ts.map +0 -1
  1466. package/lib/typescript/components/Select/SelectTriggerHost.d.ts +0 -3
  1467. package/lib/typescript/components/Select/SelectTriggerHost.d.ts.map +0 -1
  1468. package/lib/typescript/components/Select/SelectTriggerHost.web.d.ts +0 -13
  1469. package/lib/typescript/components/Select/SelectTriggerHost.web.d.ts.map +0 -1
  1470. package/lib/typescript/metro/withCdxMetroConfig.d.ts +0 -19
  1471. package/lib/typescript/metro/withCdxMetroConfig.d.ts.map +0 -1
  1472. package/lib/typescript/styles/index.d.ts +0 -2
  1473. package/lib/typescript/styles/index.d.ts.map +0 -1
  1474. package/lib/typescript/styles/primitives.d.ts +0 -120
  1475. package/lib/typescript/styles/primitives.d.ts.map +0 -1
  1476. package/lib/typescript/utils/WrapStringChild.d.ts +0 -10
  1477. package/lib/typescript/utils/WrapStringChild.d.ts.map +0 -1
  1478. package/src/components/Field/FieldLabel.tsx +0 -33
  1479. package/src/components/Field/FieldLabel.web.tsx +0 -25
  1480. package/src/components/Form/FormRoot.tsx +0 -20
  1481. package/src/components/Form/FormRoot.web.tsx +0 -12
  1482. package/src/components/Input/BaseInput.android.tsx +0 -13
  1483. package/src/components/Input/BaseInput.tsx +0 -1
  1484. package/src/components/Input/BaseInput.web.tsx +0 -41
  1485. package/src/components/Select/SelectTriggerHost.tsx +0 -4
  1486. package/src/components/Select/SelectTriggerHost.web.tsx +0 -136
  1487. package/src/metro/withCdxMetroConfig.ts +0 -29
  1488. package/src/styles/index.ts +0 -1
  1489. package/src/styles/primitives.ts +0 -140
  1490. package/src/utils/WrapStringChild.tsx +0 -25
@@ -0,0 +1,79 @@
1
+ "use strict";
2
+
3
+ import { useCallback, useEffect, useRef, useState } from 'react';
4
+ const INITIAL_METRICS = {
5
+ scrollOffset: 0,
6
+ viewportSize: 0,
7
+ contentSize: 0
8
+ };
9
+ function getScrollCapability(metrics, offset) {
10
+ const {
11
+ scrollOffset,
12
+ viewportSize,
13
+ contentSize
14
+ } = metrics;
15
+ if (viewportSize <= 0 || contentSize <= viewportSize) {
16
+ return {
17
+ canScrollBefore: false,
18
+ canScrollAfter: false
19
+ };
20
+ }
21
+ return {
22
+ canScrollBefore: scrollOffset > offset,
23
+ canScrollAfter: scrollOffset + viewportSize + offset < contentSize
24
+ };
25
+ }
26
+ export function useScrollShadow({
27
+ orientation = 'horizontal',
28
+ offset = 0,
29
+ onCapabilityChange
30
+ } = {}) {
31
+ const metricsRef = useRef(INITIAL_METRICS);
32
+ const [capability, setCapability] = useState({
33
+ canScrollBefore: false,
34
+ canScrollAfter: false
35
+ });
36
+ const updateCapability = useCallback(() => {
37
+ const nextCapability = getScrollCapability(metricsRef.current, offset);
38
+ setCapability(prev => {
39
+ if (prev.canScrollBefore === nextCapability.canScrollBefore && prev.canScrollAfter === nextCapability.canScrollAfter) {
40
+ return prev;
41
+ }
42
+ onCapabilityChange?.(nextCapability);
43
+ return nextCapability;
44
+ });
45
+ }, [offset, onCapabilityChange]);
46
+ useEffect(() => {
47
+ updateCapability();
48
+ }, [updateCapability]);
49
+ const handleLayout = useCallback(event => {
50
+ const {
51
+ width,
52
+ height
53
+ } = event.nativeEvent.layout;
54
+ metricsRef.current.viewportSize = orientation === 'vertical' ? height : width;
55
+ updateCapability();
56
+ }, [orientation, updateCapability]);
57
+ const handleContentSizeChange = useCallback((width, height) => {
58
+ metricsRef.current.contentSize = orientation === 'vertical' ? height : width;
59
+ updateCapability();
60
+ }, [orientation, updateCapability]);
61
+ const handleScroll = useCallback(event => {
62
+ const {
63
+ contentOffset,
64
+ layoutMeasurement,
65
+ contentSize
66
+ } = event.nativeEvent;
67
+ metricsRef.current.scrollOffset = orientation === 'vertical' ? contentOffset.y : contentOffset.x;
68
+ metricsRef.current.viewportSize = orientation === 'vertical' ? layoutMeasurement.height : layoutMeasurement.width;
69
+ metricsRef.current.contentSize = orientation === 'vertical' ? contentSize.height : contentSize.width;
70
+ updateCapability();
71
+ }, [orientation, updateCapability]);
72
+ return {
73
+ capability,
74
+ handleLayout,
75
+ handleContentSizeChange,
76
+ handleScroll
77
+ };
78
+ }
79
+ //# sourceMappingURL=useScrollShadow.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["useCallback","useEffect","useRef","useState","INITIAL_METRICS","scrollOffset","viewportSize","contentSize","getScrollCapability","metrics","offset","canScrollBefore","canScrollAfter","useScrollShadow","orientation","onCapabilityChange","metricsRef","capability","setCapability","updateCapability","nextCapability","current","prev","handleLayout","event","width","height","nativeEvent","layout","handleContentSizeChange","handleScroll","contentOffset","layoutMeasurement","y","x"],"sourceRoot":"../../../../src","sources":["components/ScrollShadow/useScrollShadow.ts"],"mappings":";;AAAA,SAASA,WAAW,EAAEC,SAAS,EAAEC,MAAM,EAAEC,QAAQ,QAAQ,OAAO;AAoBhE,MAAMC,eAA8B,GAAG;EACrCC,YAAY,EAAE,CAAC;EACfC,YAAY,EAAE,CAAC;EACfC,WAAW,EAAE;AACf,CAAC;AAED,SAASC,mBAAmBA,CAACC,OAAsB,EAAEC,MAAc,EAA0B;EAC3F,MAAM;IAAEL,YAAY;IAAEC,YAAY;IAAEC;EAAY,CAAC,GAAGE,OAAO;EAE3D,IAAIH,YAAY,IAAI,CAAC,IAAIC,WAAW,IAAID,YAAY,EAAE;IACpD,OAAO;MAAEK,eAAe,EAAE,KAAK;MAAEC,cAAc,EAAE;IAAM,CAAC;EAC1D;EAEA,OAAO;IACLD,eAAe,EAAEN,YAAY,GAAGK,MAA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AAC;EAED,MAAMU,uBAAuB,GAAG7B,WAAW,CACzC,CAACyB,KAAa,EAAEC,MAAc,KAAK;IACjCV,UAAU,CAACK,OAAO,CAACd,WAAW,GAAGO,WAAW,KAAK,UAAU,GAAGY,MAAM,GAAGD,KAAK;IAC5EN,gBAAgB,CAAC,CAAC;EACpB,CAAC,EACD,CAACL,WAAW,EAAEK,gBAAgB,CAChC,CAAC;EAED,MAAMW,YAAY,GAAG9B,WAAW,CAC7BwB,KAA8C,IAAK;IAClD,MAAM;MAAEO,aAAa;MAAEC,iBAAiB;MAAEzB;IAAY,CAAC,GAAGiB,KAAK,CAACG,WAAW;IAE3EX,UAAU,CAACK,OAAO,CAAChB,YAAY,GAC7BS,WAAW,KAAK,UAAU,GAAGiB,aAAa,CAACE,CAAC,GAAGF,aAAa,CAACG,CAAC;IAChElB,UAAU,CAACK,OAAO,CAACf,YAAY,GAC7BQ,WAAW,KAAK,UAAU,GAAGkB,iBAAiB,CAACN,MAAM,GAAGM,iBAAiB,CAACP,KAAK;IACjFT,UAAU,CAACK,OAAO,CAACd,WAAW,GAC5BO,WAAW,KAAK,UAAU,GAAGP,WAAW,CAACmB,MAAM,GAAGnB,WAAW,CAACkB,KAAK;IAErEN,gBAAgB,CAAC,CAAC;EACpB,CAAC,EACD,CAACL,WAAW,EAAEK,gBAAgB,CAChC,CAAC;EAED,OAAO;IACLF,UAAU;IACVM,YAAY;IACZM,uBAAuB;IACvBC;EACF,CAAC;AACH","ignoreList":[]}
@@ -1,29 +1,22 @@
1
1
  "use strict";
2
2
 
3
- import { forwardRef } from 'react';
4
- import { Pressable, Text, View } from 'react-native';
5
- import { ArrowDropDown } from '@cdx-ui/icons';
6
- import { createSelect } from '@cdx-ui/primitives';
7
- import { cn, useStyleContext, withStyleContext } from '@cdx-ui/utils';
3
+ import { cloneElement, forwardRef, isValidElement, useMemo } from 'react';
4
+ import { Text } from 'react-native';
5
+ import { KeyboardArrowDown, KeyboardArrowUp } from '@cdx-ui/icons';
6
+ import { SelectContent as SelectContentPrimitive, SelectItem as SelectItemPrimitive, SelectRoot as SelectRootPrimitive, SelectTrigger as SelectTriggerPrimitive, Slot, dataAttributes, mergeDataAttributes, useSelectContext, useSelectItemContext } from '@cdx-ui/primitives';
7
+ import { cn, ParentContext, useParentContext, useStyleContext } from '@cdx-ui/utils';
8
8
  import { Icon } from '../Icon';
9
- import { SelectTriggerHost } from './SelectTriggerHost';
10
- import { selectContentVariants, selectIconVariants, selectItemLabelVariants, selectItemVariants, selectTriggerVariants, selectValueVariants } from './styles';
11
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
9
+ import { Menu } from '../Menu';
10
+ import { menuItemLabelVariants, menuItemVariants } from '../Menu/styles';
11
+ import { positionToDataIcon } from '../../utils/positionToDataIcon';
12
+ import { selectIconVariants, selectTriggerVariants, selectValueVariants } from './styles';
13
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
12
14
  const SCOPE = 'SELECT';
13
- const Root = withStyleContext(View, SCOPE);
14
15
  const useSelectStyleContext = () => useStyleContext(SCOPE);
15
- const SelectPrimitive = createSelect({
16
- Root,
17
- Trigger: SelectTriggerHost,
18
- Value: Text,
19
- Icon: View,
20
- Content: View,
21
- Item: Pressable,
22
- ItemLabel: Text
23
- });
16
+ const toMenuItemSize = size => size === 'small' ? 'small' : 'default';
24
17
 
25
18
  // =============================================================================
26
- // STYLED ROOT COMPONENT
19
+ // STYLED ROOT
27
20
  // =============================================================================
28
21
 
29
22
  const SelectRoot = /*#__PURE__*/forwardRef(({
@@ -34,162 +27,276 @@ const SelectRoot = /*#__PURE__*/forwardRef(({
34
27
  style,
35
28
  ...props
36
29
  }, ref) => {
37
- return /*#__PURE__*/_jsx(SelectPrimitive, {
38
- ref: ref,
39
- className: className,
40
- style: style,
41
- context: {
30
+ const parent = useParentContext();
31
+ const ctx = useMemo(() => ({
32
+ ...parent,
33
+ [SCOPE]: {
42
34
  variant,
43
35
  size
44
- },
45
- ...props,
46
- children: children
36
+ }
37
+ }), [parent, variant, size]);
38
+ return /*#__PURE__*/_jsx(ParentContext.Provider, {
39
+ value: ctx,
40
+ children: /*#__PURE__*/_jsx(SelectRootPrimitive, {
41
+ ref: ref,
42
+ className: className,
43
+ style: style,
44
+ ...props,
45
+ ...mergeDataAttributes(props, dataAttributes({
46
+ slot: 'select'
47
+ })),
48
+ children: children
49
+ })
47
50
  });
48
51
  });
49
52
  SelectRoot.displayName = 'Select';
50
53
 
51
54
  // =============================================================================
52
- // STYLED TRIGGER COMPONENT
55
+ // STYLED TRIGGER
53
56
  // =============================================================================
54
57
 
55
58
  const SelectTrigger = /*#__PURE__*/forwardRef(({
59
+ asChild,
56
60
  className,
57
61
  children,
58
62
  style,
59
63
  ...props
60
64
  }, ref) => {
65
+ const {
66
+ open
67
+ } = useSelectContext();
61
68
  const {
62
69
  variant,
63
70
  size
64
71
  } = useSelectStyleContext();
65
- const computedClassName = cn(selectTriggerVariants({
72
+ const computedClassName = asChild ? className : cn(selectTriggerVariants({
66
73
  variant,
67
74
  size
68
75
  }), className);
69
- return /*#__PURE__*/_jsxs(SelectPrimitive.Trigger, {
76
+ return /*#__PURE__*/_jsx(SelectTriggerPrimitive, {
70
77
  ref: ref,
78
+ asChild: asChild,
71
79
  className: computedClassName,
72
80
  style: style,
73
81
  ...props,
74
- children: [children, /*#__PURE__*/_jsx(SelectIcon, {
75
- as: ArrowDropDown
76
- })]
82
+ ...mergeDataAttributes(props, dataAttributes({
83
+ slot: 'select-trigger'
84
+ })),
85
+ children: asChild ? children : /*#__PURE__*/_jsxs(_Fragment, {
86
+ children: [children, /*#__PURE__*/_jsx(SelectIcon, {
87
+ as: open ? KeyboardArrowUp : KeyboardArrowDown
88
+ })]
89
+ })
77
90
  });
78
91
  });
79
92
  SelectTrigger.displayName = 'Select.Trigger';
80
93
 
81
94
  // =============================================================================
82
- // STYLED VALUE COMPONENT
95
+ // STYLED VALUE (styled-only)
83
96
  // =============================================================================
84
97
 
85
98
  const SelectValue = /*#__PURE__*/forwardRef(({
99
+ asChild,
86
100
  className,
87
101
  style,
102
+ placeholder,
103
+ children,
88
104
  ...props
89
105
  }, ref) => {
90
106
  const {
91
107
  size
92
108
  } = useSelectStyleContext();
109
+ const {
110
+ value,
111
+ items,
112
+ invalid
113
+ } = useSelectContext();
114
+ const hasValue = value !== undefined && value !== '';
115
+ const showPlaceholder = !hasValue;
116
+ const displayText = hasValue ? items.find(item => item.value === value)?.label : placeholder;
93
117
  const computedClassName = cn(selectValueVariants({
94
118
  size
95
119
  }), className);
96
- return /*#__PURE__*/_jsx(SelectPrimitive.Value, {
120
+ const Comp = asChild ? Slot : Text;
121
+ return /*#__PURE__*/_jsx(Comp, {
97
122
  ref: ref,
98
123
  className: computedClassName,
99
124
  style: style,
100
- ...props
125
+ ...props,
126
+ ...mergeDataAttributes(props, dataAttributes({
127
+ slot: 'select-value',
128
+ placeholder: showPlaceholder,
129
+ invalid
130
+ })),
131
+ children: children ?? displayText
101
132
  });
102
133
  });
103
134
  SelectValue.displayName = 'Select.Value';
104
135
 
105
136
  // =============================================================================
106
- // STYLED ICON COMPONENT
137
+ // STYLED ICON (styled-only, reads context for state=open / invalid)
107
138
  // =============================================================================
108
139
 
109
140
  const SelectIcon = ({
141
+ asChild,
110
142
  className,
111
143
  style,
144
+ as,
145
+ position,
112
146
  ...props
113
147
  }) => {
114
148
  const {
115
149
  size
116
150
  } = useSelectStyleContext();
151
+ const {
152
+ invalid
153
+ } = useSelectContext();
117
154
  const computedClassName = cn(selectIconVariants({
118
155
  size
119
156
  }), className);
157
+ const slotData = mergeDataAttributes(props, dataAttributes({
158
+ slot: 'select-icon',
159
+ invalid
160
+ }), positionToDataIcon(position));
161
+ if (asChild) {
162
+ return /*#__PURE__*/_jsx(Slot, {
163
+ className: computedClassName,
164
+ style: style,
165
+ ...props,
166
+ ...slotData
167
+ });
168
+ }
169
+ if (!as) {
170
+ return null;
171
+ }
120
172
  return /*#__PURE__*/_jsx(Icon, {
173
+ as: as,
121
174
  className: computedClassName,
122
175
  style: style,
123
- ...props
176
+ ...props,
177
+ ...slotData
124
178
  });
125
179
  };
126
180
  SelectIcon.displayName = 'Select.Icon';
127
181
 
128
182
  // =============================================================================
129
- // STYLED CONTENT COMPONENT
183
+ // STYLED CONTENT — composes Menu surface (listbox semantics stay on primitive)
130
184
  // =============================================================================
131
185
 
132
186
  const SelectContent = /*#__PURE__*/forwardRef(({
187
+ asChild,
133
188
  className,
134
189
  style,
190
+ children,
135
191
  ...props
136
192
  }, ref) => {
137
- const computedClassName = cn(selectContentVariants(), className);
138
- return /*#__PURE__*/_jsx(SelectPrimitive.Content, {
193
+ if (asChild) {
194
+ return /*#__PURE__*/_jsx(SelectContentPrimitive, {
195
+ ref: ref,
196
+ asChild: true,
197
+ className: className,
198
+ style: style,
199
+ ...props,
200
+ ...mergeDataAttributes(props, dataAttributes({
201
+ slot: 'select-content'
202
+ })),
203
+ children: children
204
+ });
205
+ }
206
+ return /*#__PURE__*/_jsx(SelectContentPrimitive, {
139
207
  ref: ref,
140
- className: computedClassName,
141
208
  style: style,
142
- ...props
209
+ ...props,
210
+ ...mergeDataAttributes(props, dataAttributes({
211
+ slot: 'select-content'
212
+ })),
213
+ children: /*#__PURE__*/_jsx(Menu.Content, {
214
+ asSurface: true,
215
+ scrollable: true,
216
+ className: className,
217
+ children: children
218
+ })
143
219
  });
144
220
  });
145
221
  SelectContent.displayName = 'Select.Content';
146
222
 
147
223
  // =============================================================================
148
- // STYLED ITEM COMPONENT
224
+ // STYLED ITEM — composes Menu item visuals (option semantics stay on primitive)
149
225
  // =============================================================================
150
226
 
151
227
  const SelectItem = /*#__PURE__*/forwardRef(({
228
+ asChild,
152
229
  className,
153
230
  children,
154
231
  style,
232
+ value: itemValue,
155
233
  ...props
156
234
  }, ref) => {
157
235
  const {
158
236
  size
159
237
  } = useSelectStyleContext();
160
- const computedClassName = cn(selectItemVariants({
161
- size
238
+ const {
239
+ value: selectedValue
240
+ } = useSelectContext();
241
+ const menuSize = toMenuItemSize(size);
242
+ const checked = selectedValue === itemValue;
243
+ const computedClassName = cn(menuItemVariants({
244
+ size: menuSize
162
245
  }), className);
163
- return /*#__PURE__*/_jsx(SelectPrimitive.Item, {
246
+ const selectedIcon = /*#__PURE__*/_jsx(Menu.ItemIndicator, {
247
+ isChecked: checked
248
+ });
249
+ const itemChildren = asChild ? selectedIcon && /*#__PURE__*/isValidElement(children) ? (/*#__PURE__*/cloneElement(children, undefined, children.props.children, selectedIcon)) : children : /*#__PURE__*/_jsxs(_Fragment, {
250
+ children: [children, selectedIcon]
251
+ });
252
+ return /*#__PURE__*/_jsx(SelectItemPrimitive, {
164
253
  ref: ref,
254
+ asChild: asChild,
255
+ value: itemValue,
165
256
  className: computedClassName,
166
257
  style: style,
167
258
  ...props,
168
- children: children
259
+ ...mergeDataAttributes(props, dataAttributes({
260
+ slot: 'select-item'
261
+ })),
262
+ children: itemChildren
169
263
  });
170
264
  });
171
265
  SelectItem.displayName = 'Select.Item';
172
266
 
173
267
  // =============================================================================
174
- // STYLED ITEM LABEL COMPONENT
268
+ // STYLED ITEM LABEL — composes Menu.ItemLabel
175
269
  // =============================================================================
176
270
 
177
271
  const SelectItemLabel = /*#__PURE__*/forwardRef(({
272
+ asChild,
178
273
  className,
179
274
  style,
275
+ children,
180
276
  ...props
181
277
  }, ref) => {
182
278
  const {
183
279
  size
184
280
  } = useSelectStyleContext();
185
- const computedClassName = cn(selectItemLabelVariants({
186
- size
187
- }), className);
188
- return /*#__PURE__*/_jsx(SelectPrimitive.ItemLabel, {
281
+ const {
282
+ checked
283
+ } = useSelectItemContext();
284
+ const menuSize = toMenuItemSize(size);
285
+ return /*#__PURE__*/_jsx(Menu.ItemLabel, {
189
286
  ref: ref,
190
- className: computedClassName,
287
+ asChild: asChild,
288
+ isChecked: checked,
289
+ size: menuSize,
290
+ className: cn(menuItemLabelVariants({
291
+ size: menuSize
292
+ }), className),
191
293
  style: style,
192
- ...props
294
+ ...props,
295
+ ...mergeDataAttributes(dataAttributes({
296
+ slot: 'select-item-label',
297
+ state: checked ? 'checked' : 'unchecked'
298
+ }), props),
299
+ children: children
193
300
  });
194
301
  });
195
302
  SelectItemLabel.displayName = 'Select.ItemLabel';
@@ -1 +1 @@
1
- {"version":3,"names":["forwardRef","Pressable","Text","View","ArrowDropDown","createSelect","cn","useStyleContext","withStyleContext","Icon","SelectTriggerHost","selectContentVariants","selectIconVariants","selectItemLabelVariants","selectItemVariants","selectTriggerVariants","selectValueVariants","jsx","_jsx","jsxs","_jsxs","SCOPE","Root","useSelectStyleContext","SelectPrimitive","Trigger","Value","Content","Item","ItemLabel","SelectRoot","variant","size","className","children","style","props","ref","context","displayName","SelectTrigger","computedClassName","SelectIcon","as","SelectValue","SelectContent","SelectItem","SelectItemLabel","Select","Object","assign"],"sourceRoot":"../../../../src","sources":["components/Select/index.tsx"],"mappings":";;AAAA,SAASA,UAAU,QAAwB,OAAO;AAClD,SAASC,SAAS,EAAEC,IAAI,EAAkBC,IAAI,QAAwB,cAAc;AACpF,SAASC,aAAa,QAAQ,eAAe;AAC7C,SACEC,YAAY,QAOP,oBAAoB;AAC3B,SAASC,EAAE,EAAEC,eAAe,EAAEC,gBAAgB,QAAQ,eAAe;AACrE,SAASC,IAAI,QAAmB,SAAS;AACzC,SAASC,iBAAiB,QAAQ,qBAAqB;AACvD,SAEEC,qBAAqB,EACrBC,kBAAkB,EAClBC,uBAAuB,EACvBC,kBAAkB,EAClBC,qBAAqB,EACrBC,mBAAmB,QACd,UAAU;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAElB,MAAMC,KAAK,GAAG,QAAQ;AAEtB,MAAMC,IAAI,GAAGd,gBAAgB,CAACL,IAAI,EAAEkB,KAAK,CAAC;AAE1C,MAAME,qBAAqB,GAAGA,CAAA,KAAMhB,eAAe,CAACc,KAAK,CAAuB;AAEhF,MAAMG,eAAe,GAAGnB,YAAY,CAAC;EACnCiB,IAAI;EACJ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EAAK,CAAG,CAAC;AAElG,CACF,CAAC;AAEDW,eAAe,CAACR,WAAW,GAAG,kBAAkB;;AAEhD;AACA;AACA;;AAWA,OAAO,MAAMS,MAAM,GAAGC,MAAM,CAACC,MAAM,CAACpB,UAAU,EAAE;EAC9CL,OAAO,EAAEe,aAAa;EACtBd,KAAK,EAAEkB,WAAW;EAClBnC,IAAI,EAAEiC,UAAU;EAChBf,OAAO,EAAEkB,aAAa;EACtBjB,IAAI,EAAEkB,UAAU;EAChBjB,SAAS,EAAEkB;AACb,CAAC,CAA4B","ignoreList":[]}
1
+ {"version":3,"names":["cloneElement","forwardRef","isValidElement","useMemo","Text","KeyboardArrowDown","KeyboardArrowUp","SelectContent","SelectContentPrimitive","SelectItem","SelectItemPrimitive","SelectRoot","SelectRootPrimitive","SelectTrigger","SelectTriggerPrimitive","Slot","dataAttributes","mergeDataAttributes","useSelectContext","useSelectItemContext","cn","ParentContext","useParentContext","useStyleContext","Icon","Menu","menuItemLabelVariants","menuItemVariants","positionToDataIcon","selectIconVariants","selectTriggerVariants","selectValueVariants","jsx","_jsx","Fragment","_Fragment","jsxs","_jsxs","SCOPE","useSelectStyleContext","toMenuItemSize","size","variant","className","children","style","props","ref","parent","ctx","Provider","value","slot","displayName","asChild","open","computedClassName","SelectIcon","as","SelectValue","placeholder","items","invalid","hasValue","undefined","showPlaceholder","displayText","find","item","label","Comp","position","slotData","Content","asSurface","scrollable","itemValue","selectedValue","menuSize","checked","selectedIcon","ItemIndicator","isChecked","itemChildren","SelectItemLabel","ItemLabel","state","Select","Object","assign","Trigger","Value","Item"],"sourceRoot":"../../../../src","sources":["components/Select/index.tsx"],"mappings":";;AAAA,SAASA,YAAY,EAAEC,UAAU,EAAEC,cAAc,EAAEC,OAAO,QAAwB,OAAO;AACzF,SAASC,IAAI,QAA8C,cAAc;AACzE,SAASC,iBAAiB,EAAEC,eAAe,QAAQ,eAAe;AAClE,SACEC,aAAa,IAAIC,sBAAsB,EACvCC,UAAU,IAAIC,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AS,EAAEH,OAAQ;IACnBtC,IAAI,EAAEqC,QAAS;IACfnC,SAAS,EAAEvB,EAAE,CAACM,qBAAqB,CAAC;MAAEe,IAAI,EAAEqC;IAAS,CAAC,CAAC,EAAEnC,SAAS,CAAE;IACpEE,KAAK,EAAEA,KAAM;IAAA,GACTC,KAAK;IAAA,GACL7B,mBAAmB,CACrBD,cAAc,CAAC;MACboC,IAAI,EAAE,mBAAmB;MACzBkC,KAAK,EAAEP,OAAO,GAAG,SAAS,GAAG;IAC/B,CAAC,CAAC,EACFjC,KACF,CAAC;IAAAF,QAAA,EAEAA;EAAQ,CACK,CAAC;AAErB,CACF,CAAC;AAEDwC,eAAe,CAAC/B,WAAW,GAAG,kBAAkB;;AAEhD;AACA;AACA;;AAWA,OAAO,MAAMkC,MAAM,GAAGC,MAAM,CAACC,MAAM,CAAC9E,UAAU,EAAE;EAC9C+E,OAAO,EAAE7E,aAAa;EACtB8E,KAAK,EAAEhC,WAAW;EAClBnC,IAAI,EAAEiC,UAAU;EAChBgB,OAAO,EAAElE,aAAa;EACtBqF,IAAI,EAAEnF,UAAU;EAChB4E,SAAS,EAAED;AACb,CAAC,CAA4B","ignoreList":[]}
@@ -1,22 +1,26 @@
1
1
  "use strict";
2
2
 
3
- import { Platform } from 'react-native';
4
- import { cva } from 'class-variance-authority';
5
- import { COLOR_BG_PRIMARY, COLOR_BORDER_DEFAULT, COLOR_TEXT_MUTED, COLOR_TEXT_PRIMARY, DISABLED_CURSOR, DISABLED_OPACITY, RADIUS_SM, RADIUS_MD, SHADOW_SM, SHADOW_MD, SIZE_SCALE, TRANSITION_COLORS } from '../../styles/primitives';
3
+ import { cva } from '@cdx-ui/utils';
4
+ import { DISABLED_CURSOR, TRANSITION_COLORS } from '../../styles/constants';
6
5
 
7
6
  // ── Trigger ─────────────────────────────────────────────────
8
7
 
9
- export const selectTriggerVariants = cva(['flex w-full min-w-0 flex-row items-center justify-between text-start', RADIUS_SM, SHADOW_SM, TRANSITION_COLORS, COLOR_BG_PRIMARY, `border ${COLOR_BORDER_DEFAULT}`, DISABLED_OPACITY, DISABLED_CURSOR, 'data-[readonly=true]:cursor-default', 'data-[state=open]:border-slate-900', 'data-[invalid=true]:border-red-500', 'data-[readonly=true]:bg-slate-50', Platform.select({
10
- default: 'data-[active=true]:border-slate-300',
11
- web: ['data-[hover=true]:border-slate-300 data-[active=true]:data-[hover=true]:border-slate-400', 'data-[focus-visible=true]:ring-2 data-[focus-visible=true]:ring-slate-400/50 data-[focus-visible=true]:ring-offset-2', 'data-[state=open]:ring-2 data-[state=open]:ring-slate-400/50'].join(' ')
12
- })], {
8
+ export const selectTriggerVariants = cva(['flex w-full min-w-0 flex-row items-center justify-between text-start', 'bg-surface-primary', 'border border-stroke-primary', 'rounded-[var(--border-radius-default)]', TRANSITION_COLORS, 'data-[disabled=true]:bg-surface-secondary', 'data-[disabled=true]:opacity-[var(--opacity-disabled)]', DISABLED_CURSOR, 'data-[readonly=true]:cursor-default', 'data-[readonly=true]:bg-surface-secondary', 'web:data-[hover=true]:data-[focus=false]:data-[invalid=false]:border-stroke-hover',
9
+ // Web: inset ring avoids a border-width change so no padding compensation is needed.
10
+ // Recolor the border to match the ring so the two read as a single focus outline
11
+ // instead of a gray border + colored ring.
12
+ 'web:data-[focus=true]:ring-inset', 'web:data-[focus=true]:ring-[length:var(--border-width-focused)]', 'web:data-[focus=true]:data-[invalid=false]:ring-stroke-action', 'web:data-[focus=true]:data-[invalid=false]:border-stroke-action', 'web:data-[focus=true]:data-[invalid=true]:ring-stroke-danger', 'web:data-[focus=true]:data-[invalid=true]:border-stroke-danger', 'web:data-[state=open]:ring-inset', 'web:data-[state=open]:ring-[length:var(--border-width-focused)]', 'web:data-[state=open]:data-[invalid=false]:ring-stroke-action', 'web:data-[state=open]:data-[invalid=false]:border-stroke-action', 'web:data-[state=open]:data-[invalid=true]:ring-stroke-danger', 'web:data-[state=open]:data-[invalid=true]:border-stroke-danger',
13
+ // Native: thicker border; size variants below compensate the layout shift.
14
+ 'native:data-[focus=true]:border-[length:var(--border-width-focused)]', 'native:data-[field-state=focused]:border-stroke-action', 'native:data-[field-state=focused-invalid]:border-stroke-danger', 'native:data-[state=open]:border-[length:var(--border-width-focused)]', 'data-[invalid=true]:border-stroke-danger'], {
13
15
  variants: {
14
16
  variant: {
15
17
  outline: []
16
18
  },
17
19
  size: {
18
- default: `${SIZE_SCALE.default.height} ${SIZE_SCALE.default.px} ${SIZE_SCALE.default.gap}`,
19
- small: `${SIZE_SCALE.small.height} ${SIZE_SCALE.small.px} ${SIZE_SCALE.small.gap}`
20
+ default: ['h-11 min-h-11 px-4 py-3 gap-4',
21
+ // Native only: subtract one hairline so the wider focus border doesn't shift layout.
22
+ 'native:data-[focus=true]:px-[calc(var(--spacing-4)-var(--spacing-px))]', 'native:data-[focus=true]:py-[calc(var(--spacing-3)-var(--spacing-px))]', 'native:data-[state=open]:px-[calc(var(--spacing-4)-var(--spacing-px))]', 'native:data-[state=open]:py-[calc(var(--spacing-3)-var(--spacing-px))]'],
23
+ small: ['h-8 min-h-8 px-3 py-2 gap-1.5', 'native:data-[focus=true]:px-[calc(var(--spacing-3)-var(--spacing-px))]', 'native:data-[focus=true]:py-[calc(var(--spacing-2)-var(--spacing-px))]', 'native:data-[state=open]:px-[calc(var(--spacing-3)-var(--spacing-px))]', 'native:data-[state=open]:py-[calc(var(--spacing-2)-var(--spacing-px))]']
20
24
  }
21
25
  },
22
26
  defaultVariants: {
@@ -27,11 +31,11 @@ export const selectTriggerVariants = cva(['flex w-full min-w-0 flex-row items-ce
27
31
 
28
32
  // ── Value ───────────────────────────────────────────────────
29
33
 
30
- export const selectValueVariants = cva(['min-w-0 flex-1 text-start', 'data-[placeholder=true]:text-slate-400', 'data-[invalid=true]:text-red-600', COLOR_TEXT_PRIMARY], {
34
+ export const selectValueVariants = cva(['min-w-0 flex-1 text-start', 'text-content-primary', 'data-[placeholder=true]:text-content-tertiary', 'data-[invalid=true]:text-content-danger'], {
31
35
  variants: {
32
36
  size: {
33
- default: SIZE_SCALE.default.text,
34
- small: SIZE_SCALE.small.text
37
+ default: 'text-[0.875rem]',
38
+ small: 'text-[0.75rem]'
35
39
  }
36
40
  },
37
41
  defaultVariants: {
@@ -41,49 +45,11 @@ export const selectValueVariants = cva(['min-w-0 flex-1 text-start', 'data-[plac
41
45
 
42
46
  // ── Icon ────────────────────────────────────────────────────
43
47
 
44
- export const selectIconVariants = cva(['shrink-0 items-center justify-center self-center', COLOR_TEXT_MUTED, 'data-[invalid=true]:text-red-500'], {
48
+ export const selectIconVariants = cva(['shrink-0 items-center justify-center self-center', 'text-content-tertiary', 'data-[invalid=true]:text-content-danger'], {
45
49
  variants: {
46
50
  size: {
47
- default: 'h-5 w-5',
48
- small: 'h-4 w-4'
49
- }
50
- },
51
- defaultVariants: {
52
- size: 'default'
53
- }
54
- });
55
-
56
- // ── Content ─────────────────────────────────────────────────
57
-
58
- export const selectContentVariants = cva([COLOR_BG_PRIMARY, `border ${COLOR_BORDER_DEFAULT}`, 'overflow-hidden', RADIUS_MD, Platform.select({
59
- web: SHADOW_MD,
60
- default: ''
61
- }), 'max-h-60', 'py-1']);
62
-
63
- // ── Item ────────────────────────────────────────────────────
64
-
65
- export const selectItemVariants = cva(['flex-row items-center', 'transition-colors duration-100', 'data-[disabled=true]:opacity-50 data-[disabled=true]:pointer-events-none', 'data-[state=checked]:bg-slate-50 data-[state=checked]:font-medium', Platform.select({
66
- default: 'data-[active=true]:bg-slate-100',
67
- web: 'data-[hover=true]:bg-slate-50 data-[active=true]:data-[hover=true]:bg-slate-100 data-[highlighted=true]:bg-slate-50'
68
- })], {
69
- variants: {
70
- size: {
71
- default: 'px-3 py-2',
72
- small: 'px-2.5 py-1.5'
73
- }
74
- },
75
- defaultVariants: {
76
- size: 'default'
77
- }
78
- });
79
-
80
- // ── ItemLabel ───────────────────────────────────────────────
81
-
82
- export const selectItemLabelVariants = cva([COLOR_TEXT_PRIMARY, 'data-[state=checked]:font-medium'], {
83
- variants: {
84
- size: {
85
- default: SIZE_SCALE.default.text,
86
- small: SIZE_SCALE.small.text
51
+ default: 'size-5',
52
+ small: 'size-4'
87
53
  }
88
54
  },
89
55
  defaultVariants: {
@@ -1 +1 @@
1
- {"version":3,"names":["Platform","cva","COLOR_BG_PRIMARY","COLOR_BORDER_DEFAULT","COLOR_TEXT_MUTED","COLOR_TEXT_PRIMARY","DISABLED_CURSOR","DISABLED_OPACITY","RADIUS_SM","RADIUS_MD","SHADOW_SM","SHADOW_MD","SIZE_SCALE","TRANSITION_COLORS","selectTriggerVariants","select","default","web","join","variants","variant","outline","size","height","px","gap","small","defaultVariants","selectValueVariants","text","selectIconVariants","selectContentVariants","selectItemVariants","selectItemLabelVariants"],"sourceRoot":"../../../../src","sources":["components/Select/styles.ts"],"mappings":";;AAAA,SAASA,QAAQ,QAAQ,cAAc;AACvC,SAASC,GAAG,QAA2B,0BAA0B;AACjE,SACEC,gBAAgB,EAChBC,oBAAoB,EACpBC,gBAAgB,EAChBC,kBAAkB,EAClBC,eAAe,EACfC,gBAAgB,EAChBC,SAAS,EACTC,SAAS,EACTC,SAAS,EACTC,SAAS,EACTC,UAAU,EACVC,iBAAiB,QACZ,yBAAyB;;AAEhC;;AAEA,OAAO,MAAMC,qBAAqB,GAAGb,GAAG,CACtC,CACE,sEAAsE,EACtEO,SAAS,EACTE,SAAS,EACTG,iBAAiB,EACjBX,gBAAgB,EAChB,UAAUC,oBAAoB,EAAE,EAChCI,gBAAgB,EAChBD,eAAe,EACf,qCAAqC,EACrC,oCAAoC,EACpC,oCAAoC,EACpC,kCAAkC,EAClCN,QAAQ,CAACe,MAAM,CAAC;EACdC,OAAO,EAAE,qCAAqC;EAC9CC,GAAG,EAAE,CACH,0FAA0F,EAC1F,sHAAsH,EACtH,8DAA8D,CAC/D,CAACC,IAAI,CAAC,GAAG;AACZ,CAAC,CAAC,CACH,EACD;EACEC,QAAQ,EAAE;IACRC,OAAO,EAAE;MACPC,OAAO,EAAE;IACX,CAAC;IACDC,I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EF;;AAEA,OAAO,MAAMgB,kBAAkB,GAAG/B,GAAG,CACnC,CACE,uBAAuB,EACvB,gCAAgC,EAChC,0EAA0E,EAC1E,mEAAmE,EACnED,QAAQ,CAACe,MAAM,CAAC;EACdC,OAAO,EAAE,iCAAiC;EAC1CC,GAAG,EAAE;AACP,CAAC,CAAC,CACH,EACD;EACEE,QAAQ,EAAE;IACRG,IAAI,EAAE;MACJN,OAAO,EAAE,WAAW;MACpBU,KAAK,EAAE;IACT;EACF,CAAC;EACDC,eAAe,EAAE;IACfL,IAAI,EAAE;EACR;AACF,CACF,CAAC;;AAED;;AAEA,OAAO,MAAMW,uBAAuB,GAAGhC,GAAG,CACxC,CAACI,kBAAkB,EAAE,kCAAkC,CAAC,EACxD;EACEc,QAAQ,EAAE;IACRG,IAAI,EAAE;MACJN,OAAO,EAAEJ,UAAU,CAACI,OAAO,CAACa,IAAI;MAChCH,KAAK,EAAEd,UAAU,CAACc,KAAK,CAACG;IAC1B;EACF,CAAC;EACDF,eAAe,EAAE;IACfL,IAAI,EAAE;EACR;AACF,CACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["cva","DISABLED_CURSOR","TRANSITION_COLORS","selectTriggerVariants","variants","variant","outline","size","default","small","defaultVariants","selectValueVariants","selectIconVariants"],"sourceRoot":"../../../../src","sources":["components/Select/styles.ts"],"mappings":";;AAAA,SAASA,GAAG,QAA2B,eAAe;AACtD,SAASC,eAAe,EAAEC,iBAAiB,QAAQ,wBAAwB;;AAE3E;;AAEA,OAAO,MAAMC,qBAAqB,GAAGH,GAAG,CACtC,CACE,sEAAsE,EACtE,oBAAoB,EACpB,8BAA8B,EAC9B,wCAAwC,EACxCE,iBAAiB,EACjB,2CAA2C,EAC3C,wDAAwD,EACxDD,eAAe,EACf,qCAAqC,EACrC,2CAA2C,EAC3C,mFAAmF;AACnF;AACA;AACA;AACA,kCAAkC,EAClC,iEAAiE,EACjE,+DAA+D,EAC/D,iEAAiE,EACjE,8DAA8D,EAC9D,gEAAgE,EAChE,kCAAkC,EAClC,iEAAiE,EACjE,+DAA+D,EAC/D,iEAAiE,EACjE,8DAA8D,EAC9D,gEAAgE;AAChE;AACA,sEAAsE,EACtE,wDAAwD,EACxD,gEAAgE,EAChE,sEAAsE,EACtE,0CAA0C,CAC3C,EACD;EACEG,QAAQ,EAAE;IACRC,OAAO,EAAE;MACPC,OAAO,EAAE;IACX,CAAC;IACDC,IAAI,EAAE;MACJC,OAAO,EAAE,CACP,+BAA+B;MAC/B;MACA,wEAAwE,EACxE,wEAAwE,EACxE,wEAAwE,EACxE,wEAAwE,CACzE;MACDC,KAAK,EAAE,CACL,+BAA+B,EAC/B,wEAAwE,EACxE,wEAAwE,EACxE,wEAAwE,EACxE,wEAAwE;IAE5E;EACF,CAAC;EACDC,eAAe,EAAE;IACfL,OAAO,EAAE,SAAS;IAClBE,IAAI,EAAE;EACR;AACF,CACF,CAAC;;AAED;;AAEA,OAAO,MAAMI,mBAAmB,GAAGX,GAAG,CACpC,CACE,2BAA2B,EAC3B,sBAAsB,EACtB,+CAA+C,EAC/C,yCAAyC,CAC1C,EACD;EACEI,QAAQ,EAAE;IACRG,IAAI,EAAE;MACJC,OAAO,EAAE,iBAAiB;MAC1BC,KAAK,EAAE;IACT;EACF,CAAC;EACDC,eAAe,EAAE;IACfH,IAAI,EAAE;EACR;AACF,CACF,CAAC;;AAED;;AAEA,OAAO,MAAMK,kBAAkB,GAAGZ,GAAG,CACnC,CACE,kDAAkD,EAClD,uBAAuB,EACvB,yCAAyC,CAC1C,EACD;EACEI,QAAQ,EAAE;IACRG,IAAI,EAAE;MACJC,OAAO,EAAE,QAAQ;MACjBC,KAAK,EAAE;IACT;EACF,CAAC;EACDC,eAAe,EAAE;IACfH,IAAI,EAAE;EACR;AACF,CACF,CAAC","ignoreList":[]}
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+
3
+ import { forwardRef, useEffect } from 'react';
4
+ import Animated, { Easing, useAnimatedStyle, useSharedValue, withRepeat, withTiming } from 'react-native-reanimated';
5
+ import { cn } from '@cdx-ui/utils';
6
+ import { skeletonVariants } from './styles';
7
+ import { jsx as _jsx } from "react/jsx-runtime";
8
+ export const Skeleton = /*#__PURE__*/forwardRef(({
9
+ className,
10
+ style,
11
+ duration = 1000,
12
+ ...props
13
+ }, ref) => {
14
+ const opacity = useSharedValue(1);
15
+ useEffect(() => {
16
+ opacity.set(withRepeat(withTiming(0.35, {
17
+ duration,
18
+ easing: Easing.inOut(Easing.ease)
19
+ }), -1, true));
20
+ }, [duration, opacity]);
21
+
22
+ // Explicit deps for Vite/web without the Reanimated Babel plugin.
23
+ const animatedStyle = useAnimatedStyle(() => ({
24
+ opacity: opacity.get()
25
+ }), [opacity]);
26
+ return /*#__PURE__*/_jsx(Animated.View, {
27
+ ref: ref,
28
+ className: cn(skeletonVariants(), className),
29
+ style: [animatedStyle, style],
30
+ ...props
31
+ });
32
+ });
33
+ Skeleton.displayName = 'Skeleton';
34
+ //# sourceMappingURL=index.js.map