@cdx-ui/components 0.0.1-beta.98 → 0.1.0

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 (957) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +29 -6
  3. package/coverage.svg +1 -0
  4. package/lib/commonjs/animation/hooks/index.js +33 -0
  5. package/lib/commonjs/animation/hooks/index.js.map +1 -1
  6. package/lib/commonjs/animation/hooks/usePopupDialogContentAnimation.js +175 -0
  7. package/lib/commonjs/animation/hooks/usePopupDialogContentAnimation.js.map +1 -0
  8. package/lib/commonjs/animation/hooks/usePopupOverlayAnimation.js +69 -0
  9. package/lib/commonjs/animation/hooks/usePopupOverlayAnimation.js.map +1 -0
  10. package/lib/commonjs/animation/hooks/usePopupRootAnimation.js +26 -0
  11. package/lib/commonjs/animation/hooks/usePopupRootAnimation.js.map +1 -0
  12. package/lib/commonjs/components/Accordion/index.js +286 -0
  13. package/lib/commonjs/components/Accordion/index.js.map +1 -0
  14. package/lib/commonjs/components/Accordion/styles.js +56 -0
  15. package/lib/commonjs/components/Accordion/styles.js.map +1 -0
  16. package/lib/commonjs/components/Alert/styles.js +8 -8
  17. package/lib/commonjs/components/Alert/styles.js.map +1 -1
  18. package/lib/commonjs/components/AlertDialog/index.js +16 -3
  19. package/lib/commonjs/components/AlertDialog/index.js.map +1 -1
  20. package/lib/commonjs/components/Avatar/styles.js +6 -6
  21. package/lib/commonjs/components/Avatar/styles.js.map +1 -1
  22. package/lib/commonjs/components/Badge/styles.js +6 -6
  23. package/lib/commonjs/components/Badge/styles.js.map +1 -1
  24. package/lib/commonjs/components/BottomSheet/index.js +34 -2
  25. package/lib/commonjs/components/BottomSheet/index.js.map +1 -1
  26. package/lib/commonjs/components/BottomSheet/styles.js +8 -8
  27. package/lib/commonjs/components/BottomSheet/styles.js.map +1 -1
  28. package/lib/commonjs/components/Box/Box.js +1 -11
  29. package/lib/commonjs/components/Box/Box.js.map +1 -1
  30. package/lib/commonjs/components/Breadcrumbs/index.js +219 -0
  31. package/lib/commonjs/components/Breadcrumbs/index.js.map +1 -0
  32. package/lib/commonjs/components/Breadcrumbs/styles.js +38 -0
  33. package/lib/commonjs/components/Breadcrumbs/styles.js.map +1 -0
  34. package/lib/commonjs/components/Button/index.js +1 -12
  35. package/lib/commonjs/components/Button/index.js.map +1 -1
  36. package/lib/commonjs/components/Button/styles.js +34 -34
  37. package/lib/commonjs/components/Button/styles.js.map +1 -1
  38. package/lib/commonjs/components/CLAUDE.md +3 -3
  39. package/lib/commonjs/components/Calendar/CalendarMonthHeader.js +96 -0
  40. package/lib/commonjs/components/Calendar/CalendarMonthHeader.js.map +1 -0
  41. package/lib/commonjs/components/Calendar/CalendarYearPickerGrid.js +74 -0
  42. package/lib/commonjs/components/Calendar/CalendarYearPickerGrid.js.map +1 -0
  43. package/lib/commonjs/components/Calendar/flashCalendarAdapter.js +298 -0
  44. package/lib/commonjs/components/Calendar/flashCalendarAdapter.js.map +1 -0
  45. package/lib/commonjs/components/Calendar/index.js +149 -0
  46. package/lib/commonjs/components/Calendar/index.js.map +1 -0
  47. package/lib/commonjs/components/Calendar/styles.js +70 -0
  48. package/lib/commonjs/components/Calendar/styles.js.map +1 -0
  49. package/lib/commonjs/components/Card/index.js +25 -0
  50. package/lib/commonjs/components/Card/index.js.map +1 -1
  51. package/lib/commonjs/components/Card/styles.js +11 -7
  52. package/lib/commonjs/components/Card/styles.js.map +1 -1
  53. package/lib/commonjs/components/Carousel/context.js +13 -0
  54. package/lib/commonjs/components/Carousel/context.js.map +1 -0
  55. package/lib/commonjs/components/Carousel/index.js +158 -0
  56. package/lib/commonjs/components/Carousel/index.js.map +1 -0
  57. package/lib/commonjs/components/Carousel/navButton.js +119 -0
  58. package/lib/commonjs/components/Carousel/navButton.js.map +1 -0
  59. package/lib/commonjs/components/Carousel/paginationNavigation.js +35 -0
  60. package/lib/commonjs/components/Carousel/paginationNavigation.js.map +1 -0
  61. package/lib/commonjs/components/Carousel/styles.js +44 -0
  62. package/lib/commonjs/components/Carousel/styles.js.map +1 -0
  63. package/lib/commonjs/components/Carousel/useCarouselActiveIndex.js +52 -0
  64. package/lib/commonjs/components/Carousel/useCarouselActiveIndex.js.map +1 -0
  65. package/lib/commonjs/components/Checkbox/index.js +29 -4
  66. package/lib/commonjs/components/Checkbox/index.js.map +1 -1
  67. package/lib/commonjs/components/Checkbox/styles.js +26 -20
  68. package/lib/commonjs/components/Checkbox/styles.js.map +1 -1
  69. package/lib/commonjs/components/Chip/index.js +22 -2
  70. package/lib/commonjs/components/Chip/index.js.map +1 -1
  71. package/lib/commonjs/components/Chip/styles.js +56 -56
  72. package/lib/commonjs/components/Chip/styles.js.map +1 -1
  73. package/lib/commonjs/components/CurrencyInput/index.js +3 -1
  74. package/lib/commonjs/components/CurrencyInput/index.js.map +1 -1
  75. package/lib/commonjs/components/CurrencyInput/styles.js +4 -4
  76. package/lib/commonjs/components/CurrencyInput/styles.js.map +1 -1
  77. package/lib/commonjs/components/DateField/index.js +147 -0
  78. package/lib/commonjs/components/DateField/index.js.map +1 -0
  79. package/lib/commonjs/components/DateField/styles.js +34 -0
  80. package/lib/commonjs/components/DateField/styles.js.map +1 -0
  81. package/lib/commonjs/components/DatePicker/index.js +163 -0
  82. package/lib/commonjs/components/DatePicker/index.js.map +1 -0
  83. package/lib/commonjs/components/DateRangePicker/index.js +177 -0
  84. package/lib/commonjs/components/DateRangePicker/index.js.map +1 -0
  85. package/lib/commonjs/components/DateTimeField/index.js +96 -0
  86. package/lib/commonjs/components/DateTimeField/index.js.map +1 -0
  87. package/lib/commonjs/components/DateTimeList/index.js +180 -0
  88. package/lib/commonjs/components/DateTimeList/index.js.map +1 -0
  89. package/lib/commonjs/components/DateTimeList/styles.js +55 -0
  90. package/lib/commonjs/components/DateTimeList/styles.js.map +1 -0
  91. package/lib/commonjs/components/DateTimePicker/index.js +187 -0
  92. package/lib/commonjs/components/DateTimePicker/index.js.map +1 -0
  93. package/lib/commonjs/components/Dialog/animation.js +13 -0
  94. package/lib/commonjs/components/Dialog/animation.js.map +1 -0
  95. package/lib/commonjs/components/Dialog/index.js +301 -30
  96. package/lib/commonjs/components/Dialog/index.js.map +1 -1
  97. package/lib/commonjs/components/Dialog/styles.js +25 -21
  98. package/lib/commonjs/components/Dialog/styles.js.map +1 -1
  99. package/lib/commonjs/components/Divider/styles.js +4 -4
  100. package/lib/commonjs/components/Divider/styles.js.map +1 -1
  101. package/lib/commonjs/components/Field/styles.js +9 -9
  102. package/lib/commonjs/components/Field/styles.js.map +1 -1
  103. package/lib/commonjs/components/Form/styles.js +2 -2
  104. package/lib/commonjs/components/Form/styles.js.map +1 -1
  105. package/lib/commonjs/components/Heading/styles.js +2 -2
  106. package/lib/commonjs/components/Heading/styles.js.map +1 -1
  107. package/lib/commonjs/components/IconButton/index.js +15 -3
  108. package/lib/commonjs/components/IconButton/index.js.map +1 -1
  109. package/lib/commonjs/components/IconButton/styles.js +27 -27
  110. package/lib/commonjs/components/IconButton/styles.js.map +1 -1
  111. package/lib/commonjs/components/Input/index.js.map +1 -1
  112. package/lib/commonjs/components/Input/styles.js +7 -7
  113. package/lib/commonjs/components/Input/styles.js.map +1 -1
  114. package/lib/commonjs/components/InsuranceDisclosure/index.js +56 -0
  115. package/lib/commonjs/components/InsuranceDisclosure/index.js.map +1 -0
  116. package/lib/commonjs/components/InsuranceDisclosure/styles.js +11 -0
  117. package/lib/commonjs/components/InsuranceDisclosure/styles.js.map +1 -0
  118. package/lib/commonjs/components/Link/index.js.map +1 -1
  119. package/lib/commonjs/components/Link/styles.js +7 -10
  120. package/lib/commonjs/components/Link/styles.js.map +1 -1
  121. package/lib/commonjs/components/ListItem/styles.js +11 -11
  122. package/lib/commonjs/components/ListItem/styles.js.map +1 -1
  123. package/lib/commonjs/components/Menu/index.js +509 -0
  124. package/lib/commonjs/components/Menu/index.js.map +1 -0
  125. package/lib/commonjs/components/Menu/styles.js +100 -0
  126. package/lib/commonjs/components/Menu/styles.js.map +1 -0
  127. package/lib/commonjs/components/MonthCalendar/index.js +229 -0
  128. package/lib/commonjs/components/MonthCalendar/index.js.map +1 -0
  129. package/lib/commonjs/components/MonthPicker/index.js +163 -0
  130. package/lib/commonjs/components/MonthPicker/index.js.map +1 -0
  131. package/lib/commonjs/components/OtpInput/index.js +21 -9
  132. package/lib/commonjs/components/OtpInput/index.js.map +1 -1
  133. package/lib/commonjs/components/OtpInput/styles.js +10 -8
  134. package/lib/commonjs/components/OtpInput/styles.js.map +1 -1
  135. package/lib/commonjs/components/ProgressBar/styles.js +3 -3
  136. package/lib/commonjs/components/ProgressBar/styles.js.map +1 -1
  137. package/lib/commonjs/components/ProgressCircle/ProgressCircleRing.js +91 -0
  138. package/lib/commonjs/components/ProgressCircle/ProgressCircleRing.js.map +1 -0
  139. package/lib/commonjs/components/ProgressCircle/index.js +84 -0
  140. package/lib/commonjs/components/ProgressCircle/index.js.map +1 -0
  141. package/lib/commonjs/components/ProgressCircle/styles.js +50 -0
  142. package/lib/commonjs/components/ProgressCircle/styles.js.map +1 -0
  143. package/lib/commonjs/components/ProgressCircle/useProgressCircleColors.js +35 -0
  144. package/lib/commonjs/components/ProgressCircle/useProgressCircleColors.js.map +1 -0
  145. package/lib/commonjs/components/ProgressSegmented/index.js +1 -14
  146. package/lib/commonjs/components/ProgressSegmented/index.js.map +1 -1
  147. package/lib/commonjs/components/ProgressSegmented/styles.js +5 -5
  148. package/lib/commonjs/components/ProgressSegmented/styles.js.map +1 -1
  149. package/lib/commonjs/components/QuickActionButton/styles.js +6 -6
  150. package/lib/commonjs/components/QuickActionButton/styles.js.map +1 -1
  151. package/lib/commonjs/components/Radio/index.js +17 -2
  152. package/lib/commonjs/components/Radio/index.js.map +1 -1
  153. package/lib/commonjs/components/Radio/styles.js +26 -11
  154. package/lib/commonjs/components/Radio/styles.js.map +1 -1
  155. package/lib/commonjs/components/RangeCalendar/index.js +165 -0
  156. package/lib/commonjs/components/RangeCalendar/index.js.map +1 -0
  157. package/lib/commonjs/components/ScrollShadow/index.js +82 -0
  158. package/lib/commonjs/components/ScrollShadow/index.js.map +1 -0
  159. package/lib/commonjs/components/ScrollShadow/styles.js +54 -0
  160. package/lib/commonjs/components/ScrollShadow/styles.js.map +1 -0
  161. package/lib/commonjs/components/ScrollShadow/useScrollShadow.js +83 -0
  162. package/lib/commonjs/components/ScrollShadow/useScrollShadow.js.map +1 -0
  163. package/lib/commonjs/components/Select/index.js +66 -26
  164. package/lib/commonjs/components/Select/index.js.map +1 -1
  165. package/lib/commonjs/components/Select/styles.js +6 -45
  166. package/lib/commonjs/components/Select/styles.js.map +1 -1
  167. package/lib/commonjs/components/Skeleton/index.js +3 -1
  168. package/lib/commonjs/components/Skeleton/index.js.map +1 -1
  169. package/lib/commonjs/components/Skeleton/styles.js +2 -2
  170. package/lib/commonjs/components/Skeleton/styles.js.map +1 -1
  171. package/lib/commonjs/components/Slider/getSliderPopupPosition.js +67 -0
  172. package/lib/commonjs/components/Slider/getSliderPopupPosition.js.map +1 -0
  173. package/lib/commonjs/components/Slider/index.js +406 -0
  174. package/lib/commonjs/components/Slider/index.js.map +1 -0
  175. package/lib/commonjs/components/Slider/styles.js +112 -0
  176. package/lib/commonjs/components/Slider/styles.js.map +1 -0
  177. package/lib/commonjs/components/Stack/styles.js +3 -3
  178. package/lib/commonjs/components/Stack/styles.js.map +1 -1
  179. package/lib/commonjs/components/Switch/index.js.map +1 -1
  180. package/lib/commonjs/components/Switch/styles.js +8 -8
  181. package/lib/commonjs/components/Switch/styles.js.map +1 -1
  182. package/lib/commonjs/components/Table/index.js +389 -0
  183. package/lib/commonjs/components/Table/index.js.map +1 -0
  184. package/lib/commonjs/components/Table/index.web.js +329 -0
  185. package/lib/commonjs/components/Table/index.web.js.map +1 -0
  186. package/lib/commonjs/components/Table/styles.js +111 -0
  187. package/lib/commonjs/components/Table/styles.js.map +1 -0
  188. package/lib/commonjs/components/Table/types.js +6 -0
  189. package/lib/commonjs/components/Table/types.js.map +1 -0
  190. package/lib/commonjs/components/Table/useTableStyleContext.js +28 -0
  191. package/lib/commonjs/components/Table/useTableStyleContext.js.map +1 -0
  192. package/lib/commonjs/components/TablePagination/TablePaginationContext.js +31 -0
  193. package/lib/commonjs/components/TablePagination/TablePaginationContext.js.map +1 -0
  194. package/lib/commonjs/components/TablePagination/getTablePaginationItems.js +50 -0
  195. package/lib/commonjs/components/TablePagination/getTablePaginationItems.js.map +1 -0
  196. package/lib/commonjs/components/TablePagination/index.js +395 -0
  197. package/lib/commonjs/components/TablePagination/index.js.map +1 -0
  198. package/lib/commonjs/components/TablePagination/styles.js +13 -0
  199. package/lib/commonjs/components/TablePagination/styles.js.map +1 -0
  200. package/lib/commonjs/components/Tabs/index.js +527 -0
  201. package/lib/commonjs/components/Tabs/index.js.map +1 -0
  202. package/lib/commonjs/components/Tabs/styles.js +333 -0
  203. package/lib/commonjs/components/Tabs/styles.js.map +1 -0
  204. package/lib/commonjs/components/Text/styles.js +2 -2
  205. package/lib/commonjs/components/Text/styles.js.map +1 -1
  206. package/lib/commonjs/components/Textarea/styles.js +6 -6
  207. package/lib/commonjs/components/Textarea/styles.js.map +1 -1
  208. package/lib/commonjs/components/Tile/styles.js +10 -10
  209. package/lib/commonjs/components/Tile/styles.js.map +1 -1
  210. package/lib/commonjs/components/Toast/animation.js +3 -1
  211. package/lib/commonjs/components/Toast/animation.js.map +1 -1
  212. package/lib/commonjs/components/Toast/hooks.js +1 -0
  213. package/lib/commonjs/components/Toast/hooks.js.map +1 -1
  214. package/lib/commonjs/components/Toast/index.js +18 -3
  215. package/lib/commonjs/components/Toast/index.js.map +1 -1
  216. package/lib/commonjs/components/Toast/styles.js +14 -14
  217. package/lib/commonjs/components/Toast/styles.js.map +1 -1
  218. package/lib/commonjs/components/Tooltip/index.js +106 -0
  219. package/lib/commonjs/components/Tooltip/index.js.map +1 -0
  220. package/lib/commonjs/components/Tooltip/styles.js +10 -0
  221. package/lib/commonjs/components/Tooltip/styles.js.map +1 -0
  222. package/lib/commonjs/components/index.js +264 -0
  223. package/lib/commonjs/components/index.js.map +1 -1
  224. package/lib/commonjs/components/picker/PickerTrigger.js +49 -0
  225. package/lib/commonjs/components/picker/PickerTrigger.js.map +1 -0
  226. package/lib/commonjs/components/picker/styles.js +15 -0
  227. package/lib/commonjs/components/picker/styles.js.map +1 -0
  228. package/lib/commonjs/components/picker/surfaces.js +148 -0
  229. package/lib/commonjs/components/picker/surfaces.js.map +1 -0
  230. package/lib/commonjs/figma/Accordion.figma.js +50 -0
  231. package/lib/commonjs/figma/Accordion.figma.js.map +1 -0
  232. package/lib/commonjs/figma/AlertDialog.Title.figma.js +3 -3
  233. package/lib/commonjs/figma/AlertDialog.Title.figma.js.map +1 -1
  234. package/lib/commonjs/figma/Card.Header.figma.js +5 -5
  235. package/lib/commonjs/figma/Card.Header.figma.js.map +1 -1
  236. package/lib/commonjs/figma/Card.Stripe.figma.js +20 -0
  237. package/lib/commonjs/figma/Card.Stripe.figma.js.map +1 -0
  238. package/lib/commonjs/figma/Card.figma.js +3 -0
  239. package/lib/commonjs/figma/Card.figma.js.map +1 -1
  240. package/lib/commonjs/figma/Chip.figma.js +2 -2
  241. package/lib/commonjs/figma/Chip.figma.js.map +1 -1
  242. package/lib/commonjs/figma/Dialog.Header.figma.js +6 -1
  243. package/lib/commonjs/figma/Dialog.Header.figma.js.map +1 -1
  244. package/lib/commonjs/figma/Dialog.Title.figma.js +3 -3
  245. package/lib/commonjs/figma/Dialog.Title.figma.js.map +1 -1
  246. package/lib/commonjs/figma/Field.Input.figma.js +1 -1
  247. package/lib/commonjs/figma/Field.OtpInput.figma.js +52 -0
  248. package/lib/commonjs/figma/Field.OtpInput.figma.js.map +1 -0
  249. package/lib/commonjs/figma/Field.Select.figma.js +1 -1
  250. package/lib/commonjs/figma/Field.Textarea.figma.js +1 -1
  251. package/lib/commonjs/figma/IconButton.figma.js +1 -1
  252. package/lib/commonjs/figma/IconButton.figma.js.map +1 -1
  253. package/lib/commonjs/figma/Menu.Item.figma.js +52 -0
  254. package/lib/commonjs/figma/Menu.Item.figma.js.map +1 -0
  255. package/lib/commonjs/figma/Menu.figma.js +29 -0
  256. package/lib/commonjs/figma/Menu.figma.js.map +1 -0
  257. package/lib/commonjs/figma/OtpInput.Cell.figma.js +55 -0
  258. package/lib/commonjs/figma/OtpInput.Cell.figma.js.map +1 -0
  259. package/lib/commonjs/figma/OtpInput.figma.js +42 -0
  260. package/lib/commonjs/figma/OtpInput.figma.js.map +1 -0
  261. package/lib/commonjs/figma/icons.figma.batch.json +5 -0
  262. package/lib/commonjs/index.js +8 -0
  263. package/lib/commonjs/index.js.map +1 -1
  264. package/lib/commonjs/providers/forge-design/provider.js +35 -16
  265. package/lib/commonjs/providers/forge-design/provider.js.map +1 -1
  266. package/lib/commonjs/providers/toast/insets-container.js +4 -1
  267. package/lib/commonjs/providers/toast/insets-container.js.map +1 -1
  268. package/lib/commonjs/providers/toast/provider.js +127 -46
  269. package/lib/commonjs/providers/toast/provider.js.map +1 -1
  270. package/lib/commonjs/providers/toast/toast-item-renderer.js +2 -1
  271. package/lib/commonjs/providers/toast/toast-item-renderer.js.map +1 -1
  272. package/lib/commonjs/styles/constants.js +16 -0
  273. package/lib/commonjs/styles/constants.js.map +1 -0
  274. package/lib/commonjs/styles.css +1 -0
  275. package/lib/module/animation/hooks/index.js +3 -0
  276. package/lib/module/animation/hooks/index.js.map +1 -1
  277. package/lib/module/animation/hooks/usePopupDialogContentAnimation.js +171 -0
  278. package/lib/module/animation/hooks/usePopupDialogContentAnimation.js.map +1 -0
  279. package/lib/module/animation/hooks/usePopupOverlayAnimation.js +65 -0
  280. package/lib/module/animation/hooks/usePopupOverlayAnimation.js.map +1 -0
  281. package/lib/module/animation/hooks/usePopupRootAnimation.js +22 -0
  282. package/lib/module/animation/hooks/usePopupRootAnimation.js.map +1 -0
  283. package/lib/module/components/Accordion/index.js +282 -0
  284. package/lib/module/components/Accordion/index.js.map +1 -0
  285. package/lib/module/components/Accordion/styles.js +52 -0
  286. package/lib/module/components/Accordion/styles.js.map +1 -0
  287. package/lib/module/components/Alert/styles.js +1 -1
  288. package/lib/module/components/Alert/styles.js.map +1 -1
  289. package/lib/module/components/AlertDialog/index.js +16 -2
  290. package/lib/module/components/AlertDialog/index.js.map +1 -1
  291. package/lib/module/components/Avatar/styles.js +1 -1
  292. package/lib/module/components/Avatar/styles.js.map +1 -1
  293. package/lib/module/components/Badge/styles.js +2 -2
  294. package/lib/module/components/Badge/styles.js.map +1 -1
  295. package/lib/module/components/BottomSheet/index.js +34 -3
  296. package/lib/module/components/BottomSheet/index.js.map +1 -1
  297. package/lib/module/components/BottomSheet/styles.js +5 -5
  298. package/lib/module/components/BottomSheet/styles.js.map +1 -1
  299. package/lib/module/components/Box/Box.js +1 -11
  300. package/lib/module/components/Box/Box.js.map +1 -1
  301. package/lib/module/components/Breadcrumbs/index.js +215 -0
  302. package/lib/module/components/Breadcrumbs/index.js.map +1 -0
  303. package/lib/module/components/Breadcrumbs/styles.js +34 -0
  304. package/lib/module/components/Breadcrumbs/styles.js.map +1 -0
  305. package/lib/module/components/Button/index.js +2 -13
  306. package/lib/module/components/Button/index.js.map +1 -1
  307. package/lib/module/components/Button/styles.js +28 -28
  308. package/lib/module/components/Button/styles.js.map +1 -1
  309. package/lib/module/components/CLAUDE.md +3 -3
  310. package/lib/module/components/Calendar/CalendarMonthHeader.js +92 -0
  311. package/lib/module/components/Calendar/CalendarMonthHeader.js.map +1 -0
  312. package/lib/module/components/Calendar/CalendarYearPickerGrid.js +70 -0
  313. package/lib/module/components/Calendar/CalendarYearPickerGrid.js.map +1 -0
  314. package/lib/module/components/Calendar/flashCalendarAdapter.js +290 -0
  315. package/lib/module/components/Calendar/flashCalendarAdapter.js.map +1 -0
  316. package/lib/module/components/Calendar/index.js +145 -0
  317. package/lib/module/components/Calendar/index.js.map +1 -0
  318. package/lib/module/components/Calendar/styles.js +66 -0
  319. package/lib/module/components/Calendar/styles.js.map +1 -0
  320. package/lib/module/components/Card/index.js +26 -1
  321. package/lib/module/components/Card/index.js.map +1 -1
  322. package/lib/module/components/Card/styles.js +6 -2
  323. package/lib/module/components/Card/styles.js.map +1 -1
  324. package/lib/module/components/Carousel/context.js +7 -0
  325. package/lib/module/components/Carousel/context.js.map +1 -0
  326. package/lib/module/components/Carousel/index.js +152 -0
  327. package/lib/module/components/Carousel/index.js.map +1 -0
  328. package/lib/module/components/Carousel/navButton.js +114 -0
  329. package/lib/module/components/Carousel/navButton.js.map +1 -0
  330. package/lib/module/components/Carousel/paginationNavigation.js +31 -0
  331. package/lib/module/components/Carousel/paginationNavigation.js.map +1 -0
  332. package/lib/module/components/Carousel/styles.js +41 -0
  333. package/lib/module/components/Carousel/styles.js.map +1 -0
  334. package/lib/module/components/Carousel/useCarouselActiveIndex.js +48 -0
  335. package/lib/module/components/Carousel/useCarouselActiveIndex.js.map +1 -0
  336. package/lib/module/components/Checkbox/index.js +29 -4
  337. package/lib/module/components/Checkbox/index.js.map +1 -1
  338. package/lib/module/components/Checkbox/styles.js +23 -17
  339. package/lib/module/components/Checkbox/styles.js.map +1 -1
  340. package/lib/module/components/Chip/index.js +23 -3
  341. package/lib/module/components/Chip/index.js.map +1 -1
  342. package/lib/module/components/Chip/styles.js +53 -53
  343. package/lib/module/components/Chip/styles.js.map +1 -1
  344. package/lib/module/components/CurrencyInput/index.js +3 -1
  345. package/lib/module/components/CurrencyInput/index.js.map +1 -1
  346. package/lib/module/components/CurrencyInput/styles.js +2 -2
  347. package/lib/module/components/CurrencyInput/styles.js.map +1 -1
  348. package/lib/module/components/DateField/index.js +143 -0
  349. package/lib/module/components/DateField/index.js.map +1 -0
  350. package/lib/module/components/DateField/styles.js +30 -0
  351. package/lib/module/components/DateField/styles.js.map +1 -0
  352. package/lib/module/components/DatePicker/index.js +159 -0
  353. package/lib/module/components/DatePicker/index.js.map +1 -0
  354. package/lib/module/components/DateRangePicker/index.js +173 -0
  355. package/lib/module/components/DateRangePicker/index.js.map +1 -0
  356. package/lib/module/components/DateTimeField/index.js +92 -0
  357. package/lib/module/components/DateTimeField/index.js.map +1 -0
  358. package/lib/module/components/DateTimeList/index.js +176 -0
  359. package/lib/module/components/DateTimeList/index.js.map +1 -0
  360. package/lib/module/components/DateTimeList/styles.js +52 -0
  361. package/lib/module/components/DateTimeList/styles.js.map +1 -0
  362. package/lib/module/components/DateTimePicker/index.js +183 -0
  363. package/lib/module/components/DateTimePicker/index.js.map +1 -0
  364. package/lib/module/components/Dialog/animation.js +7 -0
  365. package/lib/module/components/Dialog/animation.js.map +1 -0
  366. package/lib/module/components/Dialog/index.js +301 -36
  367. package/lib/module/components/Dialog/index.js.map +1 -1
  368. package/lib/module/components/Dialog/styles.js +14 -10
  369. package/lib/module/components/Dialog/styles.js.map +1 -1
  370. package/lib/module/components/Divider/styles.js +1 -1
  371. package/lib/module/components/Divider/styles.js.map +1 -1
  372. package/lib/module/components/Field/styles.js +2 -2
  373. package/lib/module/components/Field/styles.js.map +1 -1
  374. package/lib/module/components/Form/styles.js +1 -1
  375. package/lib/module/components/Form/styles.js.map +1 -1
  376. package/lib/module/components/Heading/styles.js +1 -1
  377. package/lib/module/components/Heading/styles.js.map +1 -1
  378. package/lib/module/components/IconButton/index.js +16 -4
  379. package/lib/module/components/IconButton/index.js.map +1 -1
  380. package/lib/module/components/IconButton/styles.js +24 -24
  381. package/lib/module/components/IconButton/styles.js.map +1 -1
  382. package/lib/module/components/Input/index.js.map +1 -1
  383. package/lib/module/components/Input/styles.js +2 -2
  384. package/lib/module/components/Input/styles.js.map +1 -1
  385. package/lib/module/components/InsuranceDisclosure/index.js +52 -0
  386. package/lib/module/components/InsuranceDisclosure/index.js.map +1 -0
  387. package/lib/module/components/InsuranceDisclosure/styles.js +7 -0
  388. package/lib/module/components/InsuranceDisclosure/styles.js.map +1 -0
  389. package/lib/module/components/Link/index.js.map +1 -1
  390. package/lib/module/components/Link/styles.js +3 -6
  391. package/lib/module/components/Link/styles.js.map +1 -1
  392. package/lib/module/components/ListItem/styles.js +2 -2
  393. package/lib/module/components/ListItem/styles.js.map +1 -1
  394. package/lib/module/components/Menu/index.js +505 -0
  395. package/lib/module/components/Menu/index.js.map +1 -0
  396. package/lib/module/components/Menu/styles.js +96 -0
  397. package/lib/module/components/Menu/styles.js.map +1 -0
  398. package/lib/module/components/MonthCalendar/index.js +225 -0
  399. package/lib/module/components/MonthCalendar/index.js.map +1 -0
  400. package/lib/module/components/MonthPicker/index.js +159 -0
  401. package/lib/module/components/MonthPicker/index.js.map +1 -0
  402. package/lib/module/components/OtpInput/index.js +21 -9
  403. package/lib/module/components/OtpInput/index.js.map +1 -1
  404. package/lib/module/components/OtpInput/styles.js +10 -8
  405. package/lib/module/components/OtpInput/styles.js.map +1 -1
  406. package/lib/module/components/ProgressBar/styles.js +2 -2
  407. package/lib/module/components/ProgressBar/styles.js.map +1 -1
  408. package/lib/module/components/ProgressCircle/ProgressCircleRing.js +86 -0
  409. package/lib/module/components/ProgressCircle/ProgressCircleRing.js.map +1 -0
  410. package/lib/module/components/ProgressCircle/index.js +80 -0
  411. package/lib/module/components/ProgressCircle/index.js.map +1 -0
  412. package/lib/module/components/ProgressCircle/styles.js +46 -0
  413. package/lib/module/components/ProgressCircle/styles.js.map +1 -0
  414. package/lib/module/components/ProgressCircle/useProgressCircleColors.js +32 -0
  415. package/lib/module/components/ProgressCircle/useProgressCircleColors.js.map +1 -0
  416. package/lib/module/components/ProgressSegmented/index.js +2 -15
  417. package/lib/module/components/ProgressSegmented/index.js.map +1 -1
  418. package/lib/module/components/ProgressSegmented/styles.js +3 -3
  419. package/lib/module/components/ProgressSegmented/styles.js.map +1 -1
  420. package/lib/module/components/QuickActionButton/styles.js +2 -2
  421. package/lib/module/components/QuickActionButton/styles.js.map +1 -1
  422. package/lib/module/components/Radio/index.js +17 -2
  423. package/lib/module/components/Radio/index.js.map +1 -1
  424. package/lib/module/components/Radio/styles.js +23 -8
  425. package/lib/module/components/Radio/styles.js.map +1 -1
  426. package/lib/module/components/RangeCalendar/index.js +161 -0
  427. package/lib/module/components/RangeCalendar/index.js.map +1 -0
  428. package/lib/module/components/ScrollShadow/index.js +78 -0
  429. package/lib/module/components/ScrollShadow/index.js.map +1 -0
  430. package/lib/module/components/ScrollShadow/styles.js +50 -0
  431. package/lib/module/components/ScrollShadow/styles.js.map +1 -0
  432. package/lib/module/components/ScrollShadow/useScrollShadow.js +79 -0
  433. package/lib/module/components/ScrollShadow/useScrollShadow.js.map +1 -0
  434. package/lib/module/components/Select/index.js +64 -24
  435. package/lib/module/components/Select/index.js.map +1 -1
  436. package/lib/module/components/Select/styles.js +2 -41
  437. package/lib/module/components/Select/styles.js.map +1 -1
  438. package/lib/module/components/Skeleton/index.js +3 -1
  439. package/lib/module/components/Skeleton/index.js.map +1 -1
  440. package/lib/module/components/Skeleton/styles.js +1 -1
  441. package/lib/module/components/Skeleton/styles.js.map +1 -1
  442. package/lib/module/components/Slider/getSliderPopupPosition.js +61 -0
  443. package/lib/module/components/Slider/getSliderPopupPosition.js.map +1 -0
  444. package/lib/module/components/Slider/index.js +402 -0
  445. package/lib/module/components/Slider/index.js.map +1 -0
  446. package/lib/module/components/Slider/styles.js +108 -0
  447. package/lib/module/components/Slider/styles.js.map +1 -0
  448. package/lib/module/components/Stack/styles.js +1 -1
  449. package/lib/module/components/Stack/styles.js.map +1 -1
  450. package/lib/module/components/Switch/index.js.map +1 -1
  451. package/lib/module/components/Switch/styles.js +1 -1
  452. package/lib/module/components/Switch/styles.js.map +1 -1
  453. package/lib/module/components/Table/index.js +385 -0
  454. package/lib/module/components/Table/index.js.map +1 -0
  455. package/lib/module/components/Table/index.web.js +325 -0
  456. package/lib/module/components/Table/index.web.js.map +1 -0
  457. package/lib/module/components/Table/styles.js +107 -0
  458. package/lib/module/components/Table/styles.js.map +1 -0
  459. package/lib/module/components/Table/types.js +4 -0
  460. package/lib/module/components/Table/types.js.map +1 -0
  461. package/lib/module/components/Table/useTableStyleContext.js +17 -0
  462. package/lib/module/components/Table/useTableStyleContext.js.map +1 -0
  463. package/lib/module/components/TablePagination/TablePaginationContext.js +25 -0
  464. package/lib/module/components/TablePagination/TablePaginationContext.js.map +1 -0
  465. package/lib/module/components/TablePagination/getTablePaginationItems.js +46 -0
  466. package/lib/module/components/TablePagination/getTablePaginationItems.js.map +1 -0
  467. package/lib/module/components/TablePagination/index.js +386 -0
  468. package/lib/module/components/TablePagination/index.js.map +1 -0
  469. package/lib/module/components/TablePagination/styles.js +9 -0
  470. package/lib/module/components/TablePagination/styles.js.map +1 -0
  471. package/lib/module/components/Tabs/index.js +522 -0
  472. package/lib/module/components/Tabs/index.js.map +1 -0
  473. package/lib/module/components/Tabs/styles.js +330 -0
  474. package/lib/module/components/Tabs/styles.js.map +1 -0
  475. package/lib/module/components/Text/styles.js +1 -1
  476. package/lib/module/components/Text/styles.js.map +1 -1
  477. package/lib/module/components/Textarea/styles.js +2 -2
  478. package/lib/module/components/Textarea/styles.js.map +1 -1
  479. package/lib/module/components/Tile/styles.js +2 -2
  480. package/lib/module/components/Tile/styles.js.map +1 -1
  481. package/lib/module/components/Toast/animation.js +3 -1
  482. package/lib/module/components/Toast/animation.js.map +1 -1
  483. package/lib/module/components/Toast/hooks.js +1 -0
  484. package/lib/module/components/Toast/hooks.js.map +1 -1
  485. package/lib/module/components/Toast/index.js +18 -3
  486. package/lib/module/components/Toast/index.js.map +1 -1
  487. package/lib/module/components/Toast/styles.js +9 -9
  488. package/lib/module/components/Toast/styles.js.map +1 -1
  489. package/lib/module/components/Tooltip/index.js +102 -0
  490. package/lib/module/components/Tooltip/index.js.map +1 -0
  491. package/lib/module/components/Tooltip/styles.js +6 -0
  492. package/lib/module/components/Tooltip/styles.js.map +1 -0
  493. package/lib/module/components/index.js +22 -0
  494. package/lib/module/components/index.js.map +1 -1
  495. package/lib/module/components/picker/PickerTrigger.js +45 -0
  496. package/lib/module/components/picker/PickerTrigger.js.map +1 -0
  497. package/lib/module/components/picker/styles.js +12 -0
  498. package/lib/module/components/picker/styles.js.map +1 -0
  499. package/lib/module/components/picker/surfaces.js +142 -0
  500. package/lib/module/components/picker/surfaces.js.map +1 -0
  501. package/lib/module/figma/Accordion.figma.js +44 -0
  502. package/lib/module/figma/Accordion.figma.js.map +1 -0
  503. package/lib/module/figma/AlertDialog.Title.figma.js +3 -3
  504. package/lib/module/figma/AlertDialog.Title.figma.js.map +1 -1
  505. package/lib/module/figma/Card.Header.figma.js +5 -5
  506. package/lib/module/figma/Card.Header.figma.js.map +1 -1
  507. package/lib/module/figma/Card.Stripe.figma.js +15 -0
  508. package/lib/module/figma/Card.Stripe.figma.js.map +1 -0
  509. package/lib/module/figma/Card.figma.js +3 -0
  510. package/lib/module/figma/Card.figma.js.map +1 -1
  511. package/lib/module/figma/Chip.figma.js +2 -2
  512. package/lib/module/figma/Chip.figma.js.map +1 -1
  513. package/lib/module/figma/Dialog.Header.figma.js +6 -1
  514. package/lib/module/figma/Dialog.Header.figma.js.map +1 -1
  515. package/lib/module/figma/Dialog.Title.figma.js +3 -3
  516. package/lib/module/figma/Dialog.Title.figma.js.map +1 -1
  517. package/lib/module/figma/Field.Input.figma.js +1 -1
  518. package/lib/module/figma/Field.OtpInput.figma.js +46 -0
  519. package/lib/module/figma/Field.OtpInput.figma.js.map +1 -0
  520. package/lib/module/figma/Field.Select.figma.js +1 -1
  521. package/lib/module/figma/Field.Textarea.figma.js +1 -1
  522. package/lib/module/figma/IconButton.figma.js +1 -1
  523. package/lib/module/figma/IconButton.figma.js.map +1 -1
  524. package/lib/module/figma/Menu.Item.figma.js +46 -0
  525. package/lib/module/figma/Menu.Item.figma.js.map +1 -0
  526. package/lib/module/figma/Menu.figma.js +23 -0
  527. package/lib/module/figma/Menu.figma.js.map +1 -0
  528. package/lib/module/figma/OtpInput.Cell.figma.js +49 -0
  529. package/lib/module/figma/OtpInput.Cell.figma.js.map +1 -0
  530. package/lib/module/figma/OtpInput.figma.js +36 -0
  531. package/lib/module/figma/OtpInput.figma.js.map +1 -0
  532. package/lib/module/figma/icons.figma.batch.json +5 -0
  533. package/lib/module/index.js +1 -0
  534. package/lib/module/index.js.map +1 -1
  535. package/lib/module/providers/forge-design/provider.js +36 -17
  536. package/lib/module/providers/forge-design/provider.js.map +1 -1
  537. package/lib/module/providers/toast/insets-container.js +5 -2
  538. package/lib/module/providers/toast/insets-container.js.map +1 -1
  539. package/lib/module/providers/toast/provider.js +127 -46
  540. package/lib/module/providers/toast/provider.js.map +1 -1
  541. package/lib/module/providers/toast/toast-item-renderer.js +2 -1
  542. package/lib/module/providers/toast/toast-item-renderer.js.map +1 -1
  543. package/lib/module/styles/constants.js +12 -0
  544. package/lib/module/styles/constants.js.map +1 -0
  545. package/lib/module/styles.css +1 -0
  546. package/lib/typescript/animation/hooks/index.d.ts +3 -0
  547. package/lib/typescript/animation/hooks/index.d.ts.map +1 -1
  548. package/lib/typescript/animation/hooks/usePopupDialogContentAnimation.d.ts +47 -0
  549. package/lib/typescript/animation/hooks/usePopupDialogContentAnimation.d.ts.map +1 -0
  550. package/lib/typescript/animation/hooks/usePopupOverlayAnimation.d.ts +29 -0
  551. package/lib/typescript/animation/hooks/usePopupOverlayAnimation.d.ts.map +1 -0
  552. package/lib/typescript/animation/hooks/usePopupRootAnimation.d.ts +16 -0
  553. package/lib/typescript/animation/hooks/usePopupRootAnimation.d.ts.map +1 -0
  554. package/lib/typescript/components/Accordion/index.d.ts +90 -0
  555. package/lib/typescript/components/Accordion/index.d.ts.map +1 -0
  556. package/lib/typescript/components/Accordion/styles.d.ts +17 -0
  557. package/lib/typescript/components/Accordion/styles.d.ts.map +1 -0
  558. package/lib/typescript/components/Alert/styles.d.ts +1 -1
  559. package/lib/typescript/components/Alert/styles.d.ts.map +1 -1
  560. package/lib/typescript/components/AlertDialog/index.d.ts +8 -6
  561. package/lib/typescript/components/AlertDialog/index.d.ts.map +1 -1
  562. package/lib/typescript/components/Avatar/styles.d.ts +1 -1
  563. package/lib/typescript/components/Avatar/styles.d.ts.map +1 -1
  564. package/lib/typescript/components/Badge/styles.d.ts +1 -1
  565. package/lib/typescript/components/Badge/styles.d.ts.map +1 -1
  566. package/lib/typescript/components/BottomSheet/index.d.ts +22 -2
  567. package/lib/typescript/components/BottomSheet/index.d.ts.map +1 -1
  568. package/lib/typescript/components/BottomSheet/styles.d.ts +5 -5
  569. package/lib/typescript/components/BottomSheet/styles.d.ts.map +1 -1
  570. package/lib/typescript/components/Box/Box.d.ts +0 -3
  571. package/lib/typescript/components/Box/Box.d.ts.map +1 -1
  572. package/lib/typescript/components/Breadcrumbs/index.d.ts +28 -0
  573. package/lib/typescript/components/Breadcrumbs/index.d.ts.map +1 -0
  574. package/lib/typescript/components/Breadcrumbs/styles.d.ts +11 -0
  575. package/lib/typescript/components/Breadcrumbs/styles.d.ts.map +1 -0
  576. package/lib/typescript/components/Button/index.d.ts +40 -6
  577. package/lib/typescript/components/Button/index.d.ts.map +1 -1
  578. package/lib/typescript/components/Button/styles.d.ts +1 -1
  579. package/lib/typescript/components/Button/styles.d.ts.map +1 -1
  580. package/lib/typescript/components/Calendar/CalendarMonthHeader.d.ts +14 -0
  581. package/lib/typescript/components/Calendar/CalendarMonthHeader.d.ts.map +1 -0
  582. package/lib/typescript/components/Calendar/CalendarYearPickerGrid.d.ts +12 -0
  583. package/lib/typescript/components/Calendar/CalendarYearPickerGrid.d.ts.map +1 -0
  584. package/lib/typescript/components/Calendar/flashCalendarAdapter.d.ts +18 -0
  585. package/lib/typescript/components/Calendar/flashCalendarAdapter.d.ts.map +1 -0
  586. package/lib/typescript/components/Calendar/index.d.ts +19 -0
  587. package/lib/typescript/components/Calendar/index.d.ts.map +1 -0
  588. package/lib/typescript/components/Calendar/styles.d.ts +23 -0
  589. package/lib/typescript/components/Calendar/styles.d.ts.map +1 -0
  590. package/lib/typescript/components/Card/index.d.ts +6 -0
  591. package/lib/typescript/components/Card/index.d.ts.map +1 -1
  592. package/lib/typescript/components/Card/styles.d.ts +2 -1
  593. package/lib/typescript/components/Card/styles.d.ts.map +1 -1
  594. package/lib/typescript/components/Carousel/context.d.ts +15 -0
  595. package/lib/typescript/components/Carousel/context.d.ts.map +1 -0
  596. package/lib/typescript/components/Carousel/index.d.ts +73 -0
  597. package/lib/typescript/components/Carousel/index.d.ts.map +1 -0
  598. package/lib/typescript/components/Carousel/navButton.d.ts +40 -0
  599. package/lib/typescript/components/Carousel/navButton.d.ts.map +1 -0
  600. package/lib/typescript/components/Carousel/paginationNavigation.d.ts +12 -0
  601. package/lib/typescript/components/Carousel/paginationNavigation.d.ts.map +1 -0
  602. package/lib/typescript/components/Carousel/styles.d.ts +16 -0
  603. package/lib/typescript/components/Carousel/styles.d.ts.map +1 -0
  604. package/lib/typescript/components/Carousel/useCarouselActiveIndex.d.ts +12 -0
  605. package/lib/typescript/components/Carousel/useCarouselActiveIndex.d.ts.map +1 -0
  606. package/lib/typescript/components/Checkbox/index.d.ts +2 -0
  607. package/lib/typescript/components/Checkbox/index.d.ts.map +1 -1
  608. package/lib/typescript/components/Checkbox/styles.d.ts.map +1 -1
  609. package/lib/typescript/components/Chip/index.d.ts +21 -1
  610. package/lib/typescript/components/Chip/index.d.ts.map +1 -1
  611. package/lib/typescript/components/Chip/styles.d.ts +6 -6
  612. package/lib/typescript/components/Chip/styles.d.ts.map +1 -1
  613. package/lib/typescript/components/CurrencyInput/index.d.ts +1 -1
  614. package/lib/typescript/components/CurrencyInput/index.d.ts.map +1 -1
  615. package/lib/typescript/components/CurrencyInput/styles.d.ts +1 -1
  616. package/lib/typescript/components/CurrencyInput/styles.d.ts.map +1 -1
  617. package/lib/typescript/components/DateField/index.d.ts +43 -0
  618. package/lib/typescript/components/DateField/index.d.ts.map +1 -0
  619. package/lib/typescript/components/DateField/styles.d.ts +15 -0
  620. package/lib/typescript/components/DateField/styles.d.ts.map +1 -0
  621. package/lib/typescript/components/DatePicker/index.d.ts +40 -0
  622. package/lib/typescript/components/DatePicker/index.d.ts.map +1 -0
  623. package/lib/typescript/components/DateRangePicker/index.d.ts +45 -0
  624. package/lib/typescript/components/DateRangePicker/index.d.ts.map +1 -0
  625. package/lib/typescript/components/DateTimeField/index.d.ts +29 -0
  626. package/lib/typescript/components/DateTimeField/index.d.ts.map +1 -0
  627. package/lib/typescript/components/DateTimeList/index.d.ts +19 -0
  628. package/lib/typescript/components/DateTimeList/index.d.ts.map +1 -0
  629. package/lib/typescript/components/DateTimeList/styles.d.ts +17 -0
  630. package/lib/typescript/components/DateTimeList/styles.d.ts.map +1 -0
  631. package/lib/typescript/components/DateTimePicker/index.d.ts +40 -0
  632. package/lib/typescript/components/DateTimePicker/index.d.ts.map +1 -0
  633. package/lib/typescript/components/Dialog/animation.d.ts +11 -0
  634. package/lib/typescript/components/Dialog/animation.d.ts.map +1 -0
  635. package/lib/typescript/components/Dialog/index.d.ts +27 -3
  636. package/lib/typescript/components/Dialog/index.d.ts.map +1 -1
  637. package/lib/typescript/components/Dialog/styles.d.ts +4 -3
  638. package/lib/typescript/components/Dialog/styles.d.ts.map +1 -1
  639. package/lib/typescript/components/Divider/styles.d.ts +1 -1
  640. package/lib/typescript/components/Divider/styles.d.ts.map +1 -1
  641. package/lib/typescript/components/Field/styles.d.ts +1 -1
  642. package/lib/typescript/components/Field/styles.d.ts.map +1 -1
  643. package/lib/typescript/components/Heading/styles.d.ts +1 -1
  644. package/lib/typescript/components/Heading/styles.d.ts.map +1 -1
  645. package/lib/typescript/components/IconButton/index.d.ts +11 -1
  646. package/lib/typescript/components/IconButton/index.d.ts.map +1 -1
  647. package/lib/typescript/components/IconButton/styles.d.ts +3 -3
  648. package/lib/typescript/components/IconButton/styles.d.ts.map +1 -1
  649. package/lib/typescript/components/Input/index.d.ts +20 -2
  650. package/lib/typescript/components/Input/index.d.ts.map +1 -1
  651. package/lib/typescript/components/Input/styles.d.ts +1 -1
  652. package/lib/typescript/components/Input/styles.d.ts.map +1 -1
  653. package/lib/typescript/components/InsuranceDisclosure/index.d.ts +10 -0
  654. package/lib/typescript/components/InsuranceDisclosure/index.d.ts.map +1 -0
  655. package/lib/typescript/components/InsuranceDisclosure/styles.d.ts +4 -0
  656. package/lib/typescript/components/InsuranceDisclosure/styles.d.ts.map +1 -0
  657. package/lib/typescript/components/Link/index.d.ts +1 -0
  658. package/lib/typescript/components/Link/index.d.ts.map +1 -1
  659. package/lib/typescript/components/Link/styles.d.ts +1 -1
  660. package/lib/typescript/components/Link/styles.d.ts.map +1 -1
  661. package/lib/typescript/components/ListItem/styles.d.ts +1 -1
  662. package/lib/typescript/components/ListItem/styles.d.ts.map +1 -1
  663. package/lib/typescript/components/Menu/index.d.ts +119 -0
  664. package/lib/typescript/components/Menu/index.d.ts.map +1 -0
  665. package/lib/typescript/components/Menu/styles.d.ts +24 -0
  666. package/lib/typescript/components/Menu/styles.d.ts.map +1 -0
  667. package/lib/typescript/components/MonthCalendar/index.d.ts +29 -0
  668. package/lib/typescript/components/MonthCalendar/index.d.ts.map +1 -0
  669. package/lib/typescript/components/MonthPicker/index.d.ts +40 -0
  670. package/lib/typescript/components/MonthPicker/index.d.ts.map +1 -0
  671. package/lib/typescript/components/OtpInput/index.d.ts +30 -3
  672. package/lib/typescript/components/OtpInput/index.d.ts.map +1 -1
  673. package/lib/typescript/components/OtpInput/styles.d.ts +1 -1
  674. package/lib/typescript/components/OtpInput/styles.d.ts.map +1 -1
  675. package/lib/typescript/components/ProgressBar/styles.d.ts +1 -1
  676. package/lib/typescript/components/ProgressBar/styles.d.ts.map +1 -1
  677. package/lib/typescript/components/ProgressCircle/ProgressCircleRing.d.ts +7 -0
  678. package/lib/typescript/components/ProgressCircle/ProgressCircleRing.d.ts.map +1 -0
  679. package/lib/typescript/components/ProgressCircle/index.d.ts +29 -0
  680. package/lib/typescript/components/ProgressCircle/index.d.ts.map +1 -0
  681. package/lib/typescript/components/ProgressCircle/styles.d.ts +23 -0
  682. package/lib/typescript/components/ProgressCircle/styles.d.ts.map +1 -0
  683. package/lib/typescript/components/ProgressCircle/useProgressCircleColors.d.ts +6 -0
  684. package/lib/typescript/components/ProgressCircle/useProgressCircleColors.d.ts.map +1 -0
  685. package/lib/typescript/components/ProgressSegmented/index.d.ts +0 -5
  686. package/lib/typescript/components/ProgressSegmented/index.d.ts.map +1 -1
  687. package/lib/typescript/components/ProgressSegmented/styles.d.ts +1 -1
  688. package/lib/typescript/components/ProgressSegmented/styles.d.ts.map +1 -1
  689. package/lib/typescript/components/QuickActionButton/styles.d.ts +1 -1
  690. package/lib/typescript/components/QuickActionButton/styles.d.ts.map +1 -1
  691. package/lib/typescript/components/Radio/index.d.ts.map +1 -1
  692. package/lib/typescript/components/Radio/styles.d.ts.map +1 -1
  693. package/lib/typescript/components/RangeCalendar/index.d.ts +19 -0
  694. package/lib/typescript/components/RangeCalendar/index.d.ts.map +1 -0
  695. package/lib/typescript/components/ScrollShadow/index.d.ts +29 -0
  696. package/lib/typescript/components/ScrollShadow/index.d.ts.map +1 -0
  697. package/lib/typescript/components/ScrollShadow/styles.d.ts +12 -0
  698. package/lib/typescript/components/ScrollShadow/styles.d.ts.map +1 -0
  699. package/lib/typescript/components/ScrollShadow/useScrollShadow.d.ts +17 -0
  700. package/lib/typescript/components/ScrollShadow/useScrollShadow.d.ts.map +1 -0
  701. package/lib/typescript/components/Select/index.d.ts +11 -0
  702. package/lib/typescript/components/Select/index.d.ts.map +1 -1
  703. package/lib/typescript/components/Select/styles.d.ts +1 -8
  704. package/lib/typescript/components/Select/styles.d.ts.map +1 -1
  705. package/lib/typescript/components/Skeleton/index.d.ts.map +1 -1
  706. package/lib/typescript/components/Skeleton/styles.d.ts +1 -1
  707. package/lib/typescript/components/Skeleton/styles.d.ts.map +1 -1
  708. package/lib/typescript/components/Slider/getSliderPopupPosition.d.ts +15 -0
  709. package/lib/typescript/components/Slider/getSliderPopupPosition.d.ts.map +1 -0
  710. package/lib/typescript/components/Slider/index.d.ts +66 -0
  711. package/lib/typescript/components/Slider/index.d.ts.map +1 -0
  712. package/lib/typescript/components/Slider/styles.d.ts +30 -0
  713. package/lib/typescript/components/Slider/styles.d.ts.map +1 -0
  714. package/lib/typescript/components/Switch/index.d.ts +10 -2
  715. package/lib/typescript/components/Switch/index.d.ts.map +1 -1
  716. package/lib/typescript/components/Switch/styles.d.ts +1 -1
  717. package/lib/typescript/components/Switch/styles.d.ts.map +1 -1
  718. package/lib/typescript/components/Table/index.d.ts +23 -0
  719. package/lib/typescript/components/Table/index.d.ts.map +1 -0
  720. package/lib/typescript/components/Table/index.web.d.ts +22 -0
  721. package/lib/typescript/components/Table/index.web.d.ts.map +1 -0
  722. package/lib/typescript/components/Table/styles.d.ts +36 -0
  723. package/lib/typescript/components/Table/styles.d.ts.map +1 -0
  724. package/lib/typescript/components/Table/types.d.ts +51 -0
  725. package/lib/typescript/components/Table/types.d.ts.map +1 -0
  726. package/lib/typescript/components/Table/useTableStyleContext.d.ts +11 -0
  727. package/lib/typescript/components/Table/useTableStyleContext.d.ts.map +1 -0
  728. package/lib/typescript/components/TablePagination/TablePaginationContext.d.ts +20 -0
  729. package/lib/typescript/components/TablePagination/TablePaginationContext.d.ts.map +1 -0
  730. package/lib/typescript/components/TablePagination/getTablePaginationItems.d.ts +7 -0
  731. package/lib/typescript/components/TablePagination/getTablePaginationItems.d.ts.map +1 -0
  732. package/lib/typescript/components/TablePagination/index.d.ts +74 -0
  733. package/lib/typescript/components/TablePagination/index.d.ts.map +1 -0
  734. package/lib/typescript/components/TablePagination/styles.d.ts +8 -0
  735. package/lib/typescript/components/TablePagination/styles.d.ts.map +1 -0
  736. package/lib/typescript/components/Tabs/index.d.ts +48 -0
  737. package/lib/typescript/components/Tabs/index.d.ts.map +1 -0
  738. package/lib/typescript/components/Tabs/styles.d.ts +107 -0
  739. package/lib/typescript/components/Tabs/styles.d.ts.map +1 -0
  740. package/lib/typescript/components/Text/styles.d.ts +1 -1
  741. package/lib/typescript/components/Text/styles.d.ts.map +1 -1
  742. package/lib/typescript/components/Textarea/styles.d.ts +1 -1
  743. package/lib/typescript/components/Textarea/styles.d.ts.map +1 -1
  744. package/lib/typescript/components/Tile/styles.d.ts +1 -1
  745. package/lib/typescript/components/Tile/styles.d.ts.map +1 -1
  746. package/lib/typescript/components/Toast/animation.d.ts.map +1 -1
  747. package/lib/typescript/components/Toast/hooks.d.ts +2 -2
  748. package/lib/typescript/components/Toast/hooks.d.ts.map +1 -1
  749. package/lib/typescript/components/Toast/index.d.ts.map +1 -1
  750. package/lib/typescript/components/Toast/styles.d.ts +5 -5
  751. package/lib/typescript/components/Toast/styles.d.ts.map +1 -1
  752. package/lib/typescript/components/Toast/types.d.ts +13 -8
  753. package/lib/typescript/components/Toast/types.d.ts.map +1 -1
  754. package/lib/typescript/components/Tooltip/index.d.ts +32 -0
  755. package/lib/typescript/components/Tooltip/index.d.ts.map +1 -0
  756. package/lib/typescript/components/Tooltip/styles.d.ts +5 -0
  757. package/lib/typescript/components/Tooltip/styles.d.ts.map +1 -0
  758. package/lib/typescript/components/index.d.ts +22 -0
  759. package/lib/typescript/components/index.d.ts.map +1 -1
  760. package/lib/typescript/components/picker/PickerTrigger.d.ts +25 -0
  761. package/lib/typescript/components/picker/PickerTrigger.d.ts.map +1 -0
  762. package/lib/typescript/components/picker/styles.d.ts +4 -0
  763. package/lib/typescript/components/picker/styles.d.ts.map +1 -0
  764. package/lib/typescript/components/picker/surfaces.d.ts +28 -0
  765. package/lib/typescript/components/picker/surfaces.d.ts.map +1 -0
  766. package/lib/typescript/figma/Accordion.figma.d.ts +8 -0
  767. package/lib/typescript/figma/Accordion.figma.d.ts.map +1 -0
  768. package/lib/typescript/figma/Alert.Button.figma.d.ts +1 -1
  769. package/lib/typescript/figma/Alert.Close.figma.d.ts +1 -1
  770. package/lib/typescript/figma/Card.Header.figma.d.ts.map +1 -1
  771. package/lib/typescript/figma/Card.Stripe.figma.d.ts +11 -0
  772. package/lib/typescript/figma/Card.Stripe.figma.d.ts.map +1 -0
  773. package/lib/typescript/figma/Card.figma.d.ts.map +1 -1
  774. package/lib/typescript/figma/Dialog.Header.figma.d.ts.map +1 -1
  775. package/lib/typescript/figma/Field.OtpInput.figma.d.ts +8 -0
  776. package/lib/typescript/figma/Field.OtpInput.figma.d.ts.map +1 -0
  777. package/lib/typescript/figma/Menu.Item.figma.d.ts +8 -0
  778. package/lib/typescript/figma/Menu.Item.figma.d.ts.map +1 -0
  779. package/lib/typescript/figma/Menu.figma.d.ts +8 -0
  780. package/lib/typescript/figma/Menu.figma.d.ts.map +1 -0
  781. package/lib/typescript/figma/OtpInput.Cell.figma.d.ts +8 -0
  782. package/lib/typescript/figma/OtpInput.Cell.figma.d.ts.map +1 -0
  783. package/lib/typescript/figma/OtpInput.figma.d.ts +8 -0
  784. package/lib/typescript/figma/OtpInput.figma.d.ts.map +1 -0
  785. package/lib/typescript/index.d.ts +2 -0
  786. package/lib/typescript/index.d.ts.map +1 -1
  787. package/lib/typescript/providers/forge-design/provider.d.ts.map +1 -1
  788. package/lib/typescript/providers/toast/insets-container.d.ts.map +1 -1
  789. package/lib/typescript/providers/toast/lifecycle.context.d.ts +2 -2
  790. package/lib/typescript/providers/toast/lifecycle.context.d.ts.map +1 -1
  791. package/lib/typescript/providers/toast/provider.d.ts.map +1 -1
  792. package/lib/typescript/providers/toast/toast-item-renderer.d.ts.map +1 -1
  793. package/lib/typescript/providers/toast/types.d.ts +22 -8
  794. package/lib/typescript/providers/toast/types.d.ts.map +1 -1
  795. package/lib/typescript/styles/constants.d.ts +4 -0
  796. package/lib/typescript/styles/constants.d.ts.map +1 -0
  797. package/package.json +35 -19
  798. package/src/animation/hooks/index.ts +3 -0
  799. package/src/animation/hooks/usePopupDialogContentAnimation.ts +265 -0
  800. package/src/animation/hooks/usePopupOverlayAnimation.ts +91 -0
  801. package/src/animation/hooks/usePopupRootAnimation.ts +27 -0
  802. package/src/components/Accordion/index.tsx +385 -0
  803. package/src/components/Accordion/styles.ts +82 -0
  804. package/src/components/Alert/styles.ts +1 -1
  805. package/src/components/AlertDialog/index.tsx +17 -4
  806. package/src/components/Avatar/styles.ts +1 -1
  807. package/src/components/Badge/styles.ts +2 -2
  808. package/src/components/BottomSheet/index.tsx +31 -1
  809. package/src/components/BottomSheet/styles.ts +5 -5
  810. package/src/components/Box/Box.tsx +3 -7
  811. package/src/components/Breadcrumbs/index.tsx +311 -0
  812. package/src/components/Breadcrumbs/styles.ts +63 -0
  813. package/src/components/Button/index.tsx +44 -26
  814. package/src/components/Button/styles.ts +28 -28
  815. package/src/components/CLAUDE.md +3 -3
  816. package/src/components/Calendar/CalendarMonthHeader.tsx +124 -0
  817. package/src/components/Calendar/CalendarYearPickerGrid.tsx +101 -0
  818. package/src/components/Calendar/flashCalendarAdapter.ts +362 -0
  819. package/src/components/Calendar/index.tsx +151 -0
  820. package/src/components/Calendar/styles.ts +80 -0
  821. package/src/components/Card/index.tsx +31 -0
  822. package/src/components/Card/styles.ts +5 -2
  823. package/src/components/Carousel/context.ts +15 -0
  824. package/src/components/Carousel/index.tsx +268 -0
  825. package/src/components/Carousel/navButton.tsx +160 -0
  826. package/src/components/Carousel/paginationNavigation.ts +32 -0
  827. package/src/components/Carousel/styles.ts +45 -0
  828. package/src/components/Carousel/useCarouselActiveIndex.ts +54 -0
  829. package/src/components/Checkbox/index.tsx +37 -2
  830. package/src/components/Checkbox/styles.ts +56 -24
  831. package/src/components/Chip/index.tsx +61 -3
  832. package/src/components/Chip/styles.ts +53 -53
  833. package/src/components/CurrencyInput/index.tsx +3 -1
  834. package/src/components/CurrencyInput/styles.ts +2 -2
  835. package/src/components/DateField/index.tsx +196 -0
  836. package/src/components/DateField/styles.ts +51 -0
  837. package/src/components/DatePicker/index.tsx +187 -0
  838. package/src/components/DateRangePicker/index.tsx +202 -0
  839. package/src/components/DateTimeField/index.tsx +128 -0
  840. package/src/components/DateTimeList/index.tsx +187 -0
  841. package/src/components/DateTimeList/styles.ts +59 -0
  842. package/src/components/DateTimePicker/index.tsx +233 -0
  843. package/src/components/Dialog/animation.ts +13 -0
  844. package/src/components/Dialog/index.tsx +391 -39
  845. package/src/components/Dialog/styles.ts +26 -9
  846. package/src/components/Divider/styles.ts +1 -1
  847. package/src/components/Field/styles.ts +2 -2
  848. package/src/components/Form/styles.ts +1 -1
  849. package/src/components/Heading/styles.ts +1 -1
  850. package/src/components/IconButton/index.tsx +35 -4
  851. package/src/components/IconButton/styles.ts +24 -24
  852. package/src/components/Input/index.tsx +20 -1
  853. package/src/components/Input/styles.ts +2 -2
  854. package/src/components/InsuranceDisclosure/index.tsx +59 -0
  855. package/src/components/InsuranceDisclosure/styles.ts +12 -0
  856. package/src/components/Link/index.tsx +1 -0
  857. package/src/components/Link/styles.ts +9 -12
  858. package/src/components/ListItem/styles.ts +2 -2
  859. package/src/components/Menu/index.tsx +667 -0
  860. package/src/components/Menu/styles.ts +153 -0
  861. package/src/components/MonthCalendar/index.tsx +252 -0
  862. package/src/components/MonthPicker/index.tsx +188 -0
  863. package/src/components/OtpInput/index.tsx +74 -42
  864. package/src/components/OtpInput/styles.ts +21 -14
  865. package/src/components/ProgressBar/styles.ts +2 -2
  866. package/src/components/ProgressCircle/ProgressCircleRing.tsx +105 -0
  867. package/src/components/ProgressCircle/index.tsx +110 -0
  868. package/src/components/ProgressCircle/styles.ts +47 -0
  869. package/src/components/ProgressCircle/useProgressCircleColors.ts +33 -0
  870. package/src/components/ProgressSegmented/index.tsx +2 -21
  871. package/src/components/ProgressSegmented/styles.ts +3 -3
  872. package/src/components/QuickActionButton/styles.ts +2 -2
  873. package/src/components/Radio/index.tsx +20 -0
  874. package/src/components/Radio/styles.ts +31 -5
  875. package/src/components/RangeCalendar/index.tsx +162 -0
  876. package/src/components/ScrollShadow/index.tsx +119 -0
  877. package/src/components/ScrollShadow/styles.ts +57 -0
  878. package/src/components/ScrollShadow/useScrollShadow.ts +110 -0
  879. package/src/components/Select/index.tsx +92 -26
  880. package/src/components/Select/styles.ts +2 -61
  881. package/src/components/Skeleton/index.tsx +2 -1
  882. package/src/components/Skeleton/styles.ts +1 -1
  883. package/src/components/Slider/getSliderPopupPosition.ts +70 -0
  884. package/src/components/Slider/index.tsx +520 -0
  885. package/src/components/Slider/styles.ts +147 -0
  886. package/src/components/Stack/styles.ts +1 -1
  887. package/src/components/Switch/index.tsx +10 -2
  888. package/src/components/Switch/styles.ts +1 -1
  889. package/src/components/Table/index.tsx +459 -0
  890. package/src/components/Table/index.web.tsx +395 -0
  891. package/src/components/Table/styles.ts +143 -0
  892. package/src/components/Table/types.ts +57 -0
  893. package/src/components/Table/useTableStyleContext.ts +14 -0
  894. package/src/components/TablePagination/TablePaginationContext.tsx +37 -0
  895. package/src/components/TablePagination/getTablePaginationItems.ts +62 -0
  896. package/src/components/TablePagination/index.tsx +498 -0
  897. package/src/components/TablePagination/styles.ts +15 -0
  898. package/src/components/Tabs/index.tsx +698 -0
  899. package/src/components/Tabs/styles.ts +340 -0
  900. package/src/components/Text/styles.ts +1 -1
  901. package/src/components/Textarea/styles.ts +2 -2
  902. package/src/components/Tile/styles.ts +2 -2
  903. package/src/components/Toast/animation.ts +19 -1
  904. package/src/components/Toast/hooks.ts +3 -2
  905. package/src/components/Toast/index.tsx +34 -3
  906. package/src/components/Toast/styles.ts +9 -9
  907. package/src/components/Toast/types.ts +14 -8
  908. package/src/components/Tooltip/index.tsx +149 -0
  909. package/src/components/Tooltip/styles.ts +16 -0
  910. package/src/components/index.ts +22 -0
  911. package/src/components/picker/PickerTrigger.tsx +65 -0
  912. package/src/components/picker/styles.ts +17 -0
  913. package/src/components/picker/surfaces.tsx +178 -0
  914. package/src/index.ts +2 -0
  915. package/src/providers/forge-design/provider.tsx +49 -21
  916. package/src/providers/toast/insets-container.tsx +3 -2
  917. package/src/providers/toast/lifecycle.context.tsx +2 -2
  918. package/src/providers/toast/provider.tsx +151 -52
  919. package/src/providers/toast/toast-item-renderer.tsx +5 -1
  920. package/src/providers/toast/types.ts +22 -8
  921. package/src/styles/constants.ts +10 -0
  922. package/src/styles.css +1 -0
  923. package/lib/commonjs/metro/withCdxMetroConfig.js +0 -13
  924. package/lib/commonjs/metro/withCdxMetroConfig.js.map +0 -1
  925. package/lib/commonjs/metro/withForgeMetroConfig.js +0 -24
  926. package/lib/commonjs/metro/withForgeMetroConfig.js.map +0 -1
  927. package/lib/commonjs/styles/index.js +0 -17
  928. package/lib/commonjs/styles/index.js.map +0 -1
  929. package/lib/commonjs/styles/primitives.js +0 -159
  930. package/lib/commonjs/styles/primitives.js.map +0 -1
  931. package/lib/commonjs/utils/WrapStringChild.js +0 -22
  932. package/lib/commonjs/utils/WrapStringChild.js.map +0 -1
  933. package/lib/module/metro/withCdxMetroConfig.js +0 -6
  934. package/lib/module/metro/withCdxMetroConfig.js.map +0 -1
  935. package/lib/module/metro/withForgeMetroConfig.js +0 -20
  936. package/lib/module/metro/withForgeMetroConfig.js.map +0 -1
  937. package/lib/module/styles/index.js +0 -4
  938. package/lib/module/styles/index.js.map +0 -1
  939. package/lib/module/styles/primitives.js +0 -155
  940. package/lib/module/styles/primitives.js.map +0 -1
  941. package/lib/module/utils/WrapStringChild.js +0 -18
  942. package/lib/module/utils/WrapStringChild.js.map +0 -1
  943. package/lib/typescript/metro/withCdxMetroConfig.d.ts +0 -5
  944. package/lib/typescript/metro/withCdxMetroConfig.d.ts.map +0 -1
  945. package/lib/typescript/metro/withForgeMetroConfig.d.ts +0 -19
  946. package/lib/typescript/metro/withForgeMetroConfig.d.ts.map +0 -1
  947. package/lib/typescript/styles/index.d.ts +0 -2
  948. package/lib/typescript/styles/index.d.ts.map +0 -1
  949. package/lib/typescript/styles/primitives.d.ts +0 -123
  950. package/lib/typescript/styles/primitives.d.ts.map +0 -1
  951. package/lib/typescript/utils/WrapStringChild.d.ts +0 -10
  952. package/lib/typescript/utils/WrapStringChild.d.ts.map +0 -1
  953. package/src/metro/withCdxMetroConfig.ts +0 -4
  954. package/src/metro/withForgeMetroConfig.ts +0 -29
  955. package/src/styles/index.ts +0 -1
  956. package/src/styles/primitives.ts +0 -143
  957. package/src/utils/WrapStringChild.tsx +0 -25
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright © 2026 Digital First Holdings LLC
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -1,8 +1,10 @@
1
1
  # @cdx-ui/components
2
2
 
3
+ ![coverage](https://unpkg.com/@cdx-ui/components/coverage.svg)
4
+
3
5
  Styled, theme-aware UI components for the Forge Design System.
4
6
 
5
- Built on top of [`@cdx-ui/primitives`](../primitives/), [`@cdx-ui/utils`](../utils/), and [`@cdx-ui/icons`](../icons/), styled via [Uniwind](https://uniwind.dev) + [CVA](https://cva.style). Design tokens from [`@cdx-ui/styles`](../styles/) are consumed at the app level (not a direct package dependency).
7
+ Built on top of [`@cdx-ui/primitives`](../primitives/), [`@cdx-ui/utils`](../utils/), [`@cdx-ui/icons`](../icons/), and [`@cdx-ui/formatters`](../formatters/), styled via [Uniwind](https://uniwind.dev) + [CVA](https://cva.style). Design tokens from [`@cdx-ui/styles`](../styles/) are consumed at the app level (not a direct package dependency).
6
8
 
7
9
  ## Installation
8
10
 
@@ -16,8 +18,11 @@ pnpm add @cdx-ui/components
16
18
  - `react-native` >= 0.76.0 _(optional — for native targets)_
17
19
  - `react-native-web` >= 0.19.0 _(optional — for web targets)_
18
20
  - `react-native-safe-area-context` >= 4.0.0 — required for `SafeAreaView` and `useSafeAreaInsets` re-exports
19
- - `react-native-reanimated` >= 3.0.0 _(optional — required for `BottomSheet` and `Skeleton`)_
21
+ - `react-native-reanimated` >= 4.0.0 _(optional — required for `BottomSheet`, `Skeleton`, `Carousel`, `Dialog`, and `AlertDialog`)_
22
+ - `react-native-worklets` >= 0.4.0 _(optional — required alongside `react-native-reanimated` for animated components such as `Dialog`)_
23
+ - `react-native-gesture-handler` >= 2.0.0 _(optional — required for `Dialog`/`AlertDialog` swipe-to-dismiss)_
20
24
  - `@shopify/flash-list` >= 2.0.0 _(optional — required for `VirtualizedList`)_
25
+ - `react-native-svg` ^13.0.0 || ^14.0.0 || ^15.0.0 _(optional — required for `ProgressCircle`)_
21
26
 
22
27
  > **Note:** `uniwind` (1.10.x) is a direct dependency — it is bundled automatically and does not need to be installed separately.
23
28
 
@@ -39,10 +44,22 @@ Component stories live in [`apps/storybook`](../../apps/storybook/). See the ful
39
44
 
40
45
  ### Components
41
46
 
42
- Alert, AlertDialog, Avatar, BottomSheet, Button, Card, Checkbox, Chip, CurrencyInput, Dialog, Divider, Field, Form, Heading, HStack / VStack, Icon, IconButton, Image, Input, Link, ListItem, OtpInput, ProgressBar, ProgressSegmented, QuickActionButton, Radio, ScopedTheme, Select, Skeleton, Switch, Text, Textarea, Tile, Toast, VirtualizedList.
47
+ Accordion, Alert, AlertDialog, Avatar, Badge, BottomSheet, Breadcrumbs, Button, Calendar, Card, Carousel, Checkbox, Chip, CurrencyInput, DateField, DatePicker, DateRangePicker, DateTimeField, DateTimeList, DateTimePicker, Dialog, Divider, Field, Form, Heading, HStack / VStack, Icon, IconButton, Image, Input, InsuranceDisclosure, Link, ListItem, Menu, MonthCalendar, MonthPicker, OtpInput, ProgressBar, ProgressCircle, ProgressSegmented, QuickActionButton, Radio, RangeCalendar, ScopedTheme, ScrollShadow, Select, Skeleton, Slider, Switch, Tabs, Text, Textarea, Tile, Toast, Tooltip, VirtualizedList.
43
48
 
44
49
  > `Box` is exported but deprecated — use React Native's `View` directly.
45
50
 
51
+ ### Providers
52
+
53
+ Wrap your app (or the Forge UI section of it) with the top-level provider so overlays, toasts, and global settings work:
54
+
55
+ | Export | Description |
56
+ | --------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
57
+ | `ForgeDesignProvider` | Top-level provider — configures global animation and text settings, the toast system, and portal/overlay management. Accepts a `config` prop. |
58
+ | `ToastProvider` | Standalone toast host/queue context (already included by `ForgeDesignProvider`). |
59
+ | `useToast` | Hook to imperatively show and dismiss toasts. |
60
+
61
+ `ForgeDesignConfig` and `ForgeDesignProviderProps` types are exported alongside `ForgeDesignProvider`.
62
+
46
63
  ### Hooks and navigation
47
64
 
48
65
  | Export | Description |
@@ -53,10 +70,10 @@ Alert, AlertDialog, Avatar, BottomSheet, Button, Card, Checkbox, Chip, CurrencyI
53
70
 
54
71
  ### Metro configuration helper
55
72
 
56
- The package ships a `withForgeMetroConfig` helper that wraps your Metro config with Forge UI's styling-layer setup. This abstracts the underlying Uniwind configuration so consuming Metro configs stay stable if the styling layer changes.
73
+ The `withForgeMetroConfig` helper now ships from [`@cdx-ui/native/metro`](../native/README.md), not this package — it is native build tooling, and keeping it here forced a Metro dependency onto every consumer of the component library.
57
74
 
58
75
  ```js
59
- const { withForgeMetroConfig } = require('@cdx-ui/components/metro');
76
+ const { withForgeMetroConfig } = require('@cdx-ui/native/metro');
60
77
 
61
78
  module.exports = withForgeMetroConfig(config, {
62
79
  cssEntryFile: './global.css',
@@ -86,7 +103,7 @@ See the **[Code Connect authoring guide](../../docs/internal/practices/code-conn
86
103
 
87
104
  ## Testing
88
105
 
89
- Tests live in [`__tests__/`](./__tests__/). **Jest** uses the repo-root **`jest.config.js`** with **five projects**: **`rntl`** (jest-expo native + **`@testing-library/react-native`**) for `*.test.tsx`, **`axe`** (jest-expo web + jsdom + **`@testing-library/react`** + **`jest-axe`**) for `*.axe.test.tsx`, **`utils`** (**`@cdx-ui/utils`** co-located tests), **`styles`** (**`@cdx-ui/styles`** jest-expo native), and **`icons`** (**`@cdx-ui/icons`** jest-expo native). The first two target `packages/components/__tests__/`.
106
+ Tests live in [`__tests__/`](./__tests__/). This package uses two of the repo-root **`jest.config.js`** projects: **`rntl`** (jest-expo native + **`@testing-library/react-native`**) for `*.test.tsx`, and **`axe`** (jest-expo web + jsdom + **`@testing-library/react`** + **`jest-axe`**) for `*.axe.test.tsx` — both targeting `packages/components/__tests__/`. The root config defines nine projects in total; see **[docs/internal/testing.md](../../docs/internal/testing.md)** for the full model.
90
107
 
91
108
  ```bash
92
109
  # From monorepo root
@@ -101,3 +118,9 @@ Production types use `tsconfig.json`; tests use `tsconfig.test.json`.
101
118
 
102
119
  **A11y-only ad-hoc** (from `packages/components`):
103
120
  `pnpm exec jest --config ../../jest.config.js --testNamePattern="a11y"`
121
+
122
+ ## License
123
+
124
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](./LICENSE)
125
+
126
+ MIT © 2026 Digital First Holdings LLC. See [LICENSE](./LICENSE) for details.
package/coverage.svg ADDED
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="108" height="20" role="img" aria-label="coverage: 90.5%"><title>coverage: 90.5%</title><filter id="blur"><feGaussianBlur stdDeviation="16"/></filter><linearGradient id="s" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="r"><rect width="108" height="20" rx="3"/></clipPath><g clip-path="url(#r)"><rect width="61" height="20" fill="#555"/><rect x="61" width="47" height="20" fill="#4b0"/><rect width="108" height="20" fill="url(#s)"/></g><g fill="#fff" text-anchor="middle" font-family="Verdana,Geneva,DejaVu Sans,sans-serif" text-rendering="geometricPrecision" font-size="110"><g transform="scale(.1)"><g aria-hidden="true" fill="#010101"><text x="315" y="150" fill-opacity=".8" filter="url(#blur)" textLength="510">coverage</text><text x="315" y="150" fill-opacity=".3" textLength="510">coverage</text></g><text x="315" y="140" textLength="510">coverage</text></g><g transform="scale(.1)"><g aria-hidden="true" fill="#010101"><text x="835" y="150" fill-opacity=".8" filter="url(#blur)" textLength="370">90.5%</text><text x="835" y="150" fill-opacity=".3" textLength="370">90.5%</text></g><text x="835" y="140" textLength="370">90.5%</text></g></g></svg>
@@ -14,4 +14,37 @@ Object.keys(_useCombinedAnimationDisabledState).forEach(function (key) {
14
14
  }
15
15
  });
16
16
  });
17
+ var _usePopupRootAnimation = require("./usePopupRootAnimation");
18
+ Object.keys(_usePopupRootAnimation).forEach(function (key) {
19
+ if (key === "default" || key === "__esModule") return;
20
+ if (key in exports && exports[key] === _usePopupRootAnimation[key]) return;
21
+ Object.defineProperty(exports, key, {
22
+ enumerable: true,
23
+ get: function () {
24
+ return _usePopupRootAnimation[key];
25
+ }
26
+ });
27
+ });
28
+ var _usePopupOverlayAnimation = require("./usePopupOverlayAnimation");
29
+ Object.keys(_usePopupOverlayAnimation).forEach(function (key) {
30
+ if (key === "default" || key === "__esModule") return;
31
+ if (key in exports && exports[key] === _usePopupOverlayAnimation[key]) return;
32
+ Object.defineProperty(exports, key, {
33
+ enumerable: true,
34
+ get: function () {
35
+ return _usePopupOverlayAnimation[key];
36
+ }
37
+ });
38
+ });
39
+ var _usePopupDialogContentAnimation = require("./usePopupDialogContentAnimation");
40
+ Object.keys(_usePopupDialogContentAnimation).forEach(function (key) {
41
+ if (key === "default" || key === "__esModule") return;
42
+ if (key in exports && exports[key] === _usePopupDialogContentAnimation[key]) return;
43
+ Object.defineProperty(exports, key, {
44
+ enumerable: true,
45
+ get: function () {
46
+ return _usePopupDialogContentAnimation[key];
47
+ }
48
+ });
49
+ });
17
50
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_useCombinedAnimationDisabledState","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sourceRoot":"../../../../src","sources":["animation/hooks/index.ts"],"mappings":";;;;;AAAA,IAAAA,kCAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,kCAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,kCAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,kCAAA,CAAAK,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
1
+ {"version":3,"names":["_useCombinedAnimationDisabledState","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get","_usePopupRootAnimation","_usePopupOverlayAnimation","_usePopupDialogContentAnimation"],"sourceRoot":"../../../../src","sources":["animation/hooks/index.ts"],"mappings":";;;;;AAAA,IAAAA,kCAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,kCAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,kCAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,kCAAA,CAAAK,GAAA;IAAA;EAAA;AAAA;AACA,IAAAK,sBAAA,GAAAT,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAO,sBAAA,EAAAN,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAK,sBAAA,CAAAL,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAC,sBAAA,CAAAL,GAAA;IAAA;EAAA;AAAA;AACA,IAAAM,yBAAA,GAAAV,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAQ,yBAAA,EAAAP,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAM,yBAAA,CAAAN,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAE,yBAAA,CAAAN,GAAA;IAAA;EAAA;AAAA;AACA,IAAAO,+BAAA,GAAAX,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAS,+BAAA,EAAAR,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAO,+BAAA,CAAAP,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAG,+BAAA,CAAAP,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
@@ -0,0 +1,175 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.usePopupDialogContentAnimation = usePopupDialogContentAnimation;
7
+ var _react = require("react");
8
+ var _reactNative = require("react-native");
9
+ var _reactNativeGestureHandler = require("react-native-gesture-handler");
10
+ var _reactNativeReanimated = require("react-native-reanimated");
11
+ var _reactNativeWorklets = require("react-native-worklets");
12
+ var _animationSettings = require("../../providers/animation-settings");
13
+ var _utils = require("../utils");
14
+ const IS_WEB = _reactNative.Platform.OS === 'web';
15
+ const DEFAULT_ENTERING_ANIMATION = new _reactNativeReanimated.Keyframe({
16
+ 0: {
17
+ transform: [{
18
+ scale: 0.96
19
+ }],
20
+ opacity: 0
21
+ },
22
+ 100: {
23
+ transform: [{
24
+ scale: 1
25
+ }],
26
+ opacity: 1,
27
+ easing: _reactNativeReanimated.Easing.out(_reactNativeReanimated.Easing.ease)
28
+ }
29
+ }).duration(200);
30
+ const DEFAULT_EXITING_ANIMATION = new _reactNativeReanimated.Keyframe({
31
+ 0: {
32
+ transform: [{
33
+ scale: 1
34
+ }],
35
+ opacity: 1
36
+ },
37
+ 100: {
38
+ transform: [{
39
+ scale: 0.96
40
+ }],
41
+ opacity: 0,
42
+ easing: _reactNativeReanimated.Easing.in(_reactNativeReanimated.Easing.ease)
43
+ }
44
+ }).duration(150);
45
+
46
+ /**
47
+ * Animation hook for popup dialog content (panel).
48
+ * Handles enter/exit Keyframes, swipe-to-dismiss gesture, and drag-driven
49
+ * translateY + scale via a shared `progress` value.
50
+ *
51
+ * On web, entering/exiting are undefined (CSS transitions drive the visuals)
52
+ * and the gesture is disabled.
53
+ */
54
+ function usePopupDialogContentAnimation({
55
+ isOpen,
56
+ progress,
57
+ isDragging,
58
+ isGestureReleaseAnimationRunning,
59
+ onOpenChange,
60
+ animation,
61
+ isSwipeable = true
62
+ }) {
63
+ const {
64
+ height: screenHeight
65
+ } = (0, _reactNative.useWindowDimensions)();
66
+ const animationSettingsContext = (0, _animationSettings.useAnimationSettings)();
67
+ const isAllAnimationsDisabled = animationSettingsContext?.isAllAnimationsDisabled;
68
+ const {
69
+ animationConfig,
70
+ isAnimationDisabled
71
+ } = (0, _utils.getAnimationState)(animation);
72
+ const isAnimationDisabledValue = (0, _utils.getIsAnimationDisabledValue)({
73
+ isAnimationDisabled,
74
+ isAllAnimationsDisabled
75
+ });
76
+ const enteringValue = animationConfig?.entering ?? DEFAULT_ENTERING_ANIMATION;
77
+ const exitingValue = animationConfig?.exiting ?? DEFAULT_EXITING_ANIMATION;
78
+ const contentY = (0, _reactNativeReanimated.useSharedValue)(0);
79
+ const contentHeight = (0, _reactNativeReanimated.useSharedValue)(0);
80
+ const progressAnchor = (0, _reactNativeReanimated.useSharedValue)(1);
81
+ const contentTranslateYAnchor = (0, _reactNativeReanimated.useSharedValue)(0);
82
+ const contentScaleAnchor = (0, _reactNativeReanimated.useSharedValue)(1);
83
+ const gestureTranslationY = (0, _reactNativeReanimated.useSharedValue)(0);
84
+ (0, _react.useEffect)(() => {
85
+ if (isOpen) {
86
+ progress.set(1);
87
+ }
88
+ }, [isOpen, progress]);
89
+ const dismissKeyboard = () => {
90
+ _reactNative.Keyboard.dismiss();
91
+ };
92
+
93
+ // Explicit deps for Vite/web without the Reanimated Babel plugin.
94
+ const contentTranslateY = (0, _reactNativeReanimated.useDerivedValue)(() => {
95
+ const maxDragDistance = screenHeight - contentY.get();
96
+ if (progress.get() >= 1) {
97
+ return (0, _reactNativeReanimated.interpolate)(progress.get(), [1, 2], [0, maxDragDistance], _reactNativeReanimated.Extrapolation.CLAMP);
98
+ }
99
+ const absoluteGestureTranslationY = Math.abs(gestureTranslationY.get());
100
+ return (0, _reactNativeReanimated.interpolate)(absoluteGestureTranslationY, [0, screenHeight], [0, -50], _reactNativeReanimated.Extrapolation.CLAMP);
101
+ }, [progress, screenHeight, contentY, gestureTranslationY]);
102
+ const contentScale = (0, _reactNativeReanimated.useDerivedValue)(() => {
103
+ return (0, _reactNativeReanimated.interpolate)(progress.get(), [1, 2], [1, 0.95], _reactNativeReanimated.Extrapolation.CLAMP);
104
+ }, [progress]);
105
+ const panGesture = (0, _react.useMemo)(() => _reactNativeGestureHandler.Gesture.Pan().enabled(isSwipeable && isOpen && !isAnimationDisabledValue && !IS_WEB).onStart(() => isDragging.set(true)).onUpdate(event => {
106
+ if (!isDragging.get()) return;
107
+ const maxDragDistance = screenHeight - contentY.get();
108
+ gestureTranslationY.set(event.translationY);
109
+ if (event.translationY > 0) {
110
+ const progressValue = 1 + event.translationY / maxDragDistance;
111
+ progress.set(Math.max(1, Math.min(progressValue, 2)));
112
+ } else if (event.translationY < 0) {
113
+ const progressValue = 1 - Math.abs(event.translationY) / contentY.get();
114
+ progress.set(Math.max(0, Math.min(progressValue, 1)));
115
+ }
116
+ }).onFinalize(() => {
117
+ progressAnchor.set(progress.get());
118
+ contentTranslateYAnchor.set(contentTranslateY.get());
119
+ contentScaleAnchor.set(contentScale.get());
120
+ if (progress.get() > 1.1) {
121
+ isGestureReleaseAnimationRunning.set(true);
122
+ (0, _reactNativeWorklets.scheduleOnRN)(dismissKeyboard);
123
+ progress.set((0, _reactNativeReanimated.withSpring)(2, {
124
+ mass: 4,
125
+ damping: 120,
126
+ stiffness: 900,
127
+ overshootClamping: false
128
+ }, () => {
129
+ isGestureReleaseAnimationRunning.set(false);
130
+ }));
131
+ isDragging.set(false);
132
+ setTimeout(() => {
133
+ progress.set(2);
134
+ (0, _reactNativeWorklets.scheduleOnRN)(onOpenChange, false);
135
+ }, 300);
136
+ setTimeout(() => {
137
+ progress.set(0);
138
+ }, 350);
139
+ } else {
140
+ isGestureReleaseAnimationRunning.set(true);
141
+ progress.set((0, _reactNativeReanimated.withSpring)(1, {}, () => {
142
+ isGestureReleaseAnimationRunning.set(false);
143
+ }));
144
+ isDragging.set(false);
145
+ }
146
+ }), [contentScale, contentScaleAnchor, contentTranslateY, contentTranslateYAnchor, contentY, isOpen, isDragging, isGestureReleaseAnimationRunning, isSwipeable, onOpenChange, progress, progressAnchor, screenHeight, isAnimationDisabledValue, gestureTranslationY]);
147
+ const rDragContainerStyle = (0, _reactNativeReanimated.useAnimatedStyle)(() => {
148
+ if (isGestureReleaseAnimationRunning.get()) {
149
+ return {
150
+ opacity: (0, _reactNativeReanimated.interpolate)(progress.get(), [1, progressAnchor.get(), 1.5, 1.75], [1, 1, 1, 0]),
151
+ transform: [{
152
+ translateY: (0, _reactNativeReanimated.interpolate)(progress.get(), [progressAnchor.get(), 1, progressAnchor.get(), progressAnchor.get() + 0.1, 2], [contentTranslateYAnchor.get(), 0, contentTranslateYAnchor.get(), contentTranslateYAnchor.get() + 50, contentTranslateYAnchor.get() - 150])
153
+ }, {
154
+ scale: (0, _reactNativeReanimated.interpolate)(progress.get(), [progressAnchor.get(), 1, progressAnchor.get(), 2], [contentScaleAnchor.get(), 1, contentScaleAnchor.get(), 0.75])
155
+ }]
156
+ };
157
+ }
158
+ return {
159
+ transform: [{
160
+ translateY: contentTranslateY.get()
161
+ }, {
162
+ scale: contentScale.get()
163
+ }]
164
+ };
165
+ }, [isGestureReleaseAnimationRunning, progress, progressAnchor, contentTranslateYAnchor, contentScaleAnchor, contentTranslateY, contentScale]);
166
+ return {
167
+ contentY,
168
+ contentHeight,
169
+ panGesture,
170
+ rDragContainerStyle,
171
+ entering: isAnimationDisabledValue || IS_WEB ? undefined : enteringValue,
172
+ exiting: isAnimationDisabledValue || IS_WEB ? undefined : exitingValue
173
+ };
174
+ }
175
+ //# sourceMappingURL=usePopupDialogContentAnimation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","require","_reactNative","_reactNativeGestureHandler","_reactNativeReanimated","_reactNativeWorklets","_animationSettings","_utils","IS_WEB","Platform","OS","DEFAULT_ENTERING_ANIMATION","Keyframe","transform","scale","opacity","easing","Easing","out","ease","duration","DEFAULT_EXITING_ANIMATION","in","usePopupDialogContentAnimation","isOpen","progress","isDragging","isGestureReleaseAnimationRunning","onOpenChange","animation","isSwipeable","height","screenHeight","useWindowDimensions","animationSettingsContext","useAnimationSettings","isAllAnimationsDisabled","animationConfig","isAnimationDisabled","getAnimationState","isAnimationDisabledValue","getIsAnimationDisabledValue","enteringValue","entering","exitingValue","exiting","contentY","useSharedValue","contentHeight","progressAnchor","contentTranslateYAnchor","contentScaleAnchor","gestureTranslationY","useEffect","set","dismissKeyboard","Keyboard","dismiss","contentTranslateY","useDerivedValue","maxDragDistance","get","interpolate","Extrapolation","CLAMP","absoluteGestureTranslationY","Math","abs","contentScale","panGesture","useMemo","Gesture","Pan","enabled","onStart","onUpdate","event","translationY","progressValue","max","min","onFinalize","scheduleOnRN","withSpring","mass","damping","stiffness","overshootClamping","setTimeout","rDragContainerStyle","useAnimatedStyle","translateY","undefined"],"sourceRoot":"../../../../src","sources":["animation/hooks/usePopupDialogContentAnimation.ts"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,0BAAA,GAAAF,OAAA;AACA,IAAAG,sBAAA,GAAAH,OAAA;AAYA,IAAAI,oBAAA,GAAAJ,OAAA;AACA,IAAAK,kBAAA,GAAAL,OAAA;AAEA,IAAAM,MAAA,GAAAN,OAAA;AAEA,MAAMO,MAAM,GAAGC,qBAAQ,CAACC,EAAE,KAAK,KAAK;AAapC,MAAMC,0BAAiD,GAAG,IAAIC,+BAAQ,CAAC;EACrE,CAAC,EAAE;IACDC,SAAS,EAAE,CAAC;MAAEC,KAAK,EAAE;IAAK,CAAC,CAAC;IAC5BC,OAAO,EAAE;EACX,CAAC;EACD,GAAG,EAAE;IACHF,SAAS,EAAE,CAAC;MAAEC,KAAK,EAAE;IAAE,CAAC,CAAC;IACzBC,OAAO,EAAE,CAAC;IACVC,MAAM,EAAEC,6BAAM,CAACC,GAAG,CAACD,6BAAM,CAACE,IAAI;EAChC;AACF,CAAC,CAAC,CAACC,QAAQ,CAAC,GAAG,CAAC;AAEhB,MAAMC,yBAAgD,GAAG,IAAIT,+BAAQ,CAAC;EACpE,CAAC,EAAE;IACDC,SAAS,EAAE,CAAC;MAAEC,KAAK,EAAE;IAAE,CAAC,CAAC;IACzBC,OAAO,EAAE;EACX,CAAC;EACD,GAAG,EAAE;IACHF,SAAS,EAAE,CAAC;MAAEC,KAAK,EAAE;IAAK,CAAC,CAAC;IAC5BC,OAAO,EAAE,CAAC;IACVC,MAAM,EAAEC,6BAAM,CAACK,EAAE,CAACL,6BAAM,CAACE,IAAI;EAC/B;AACF,CAAC,CAAC,CAACC,QAAQ,CAAC,GAAG,CAAC;;AAEhB;AACA;AACA;AACA;A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,EAAE,CACDlC,gCAAgC,EAChCF,QAAQ,EACRwB,cAAc,EACdC,uBAAuB,EACvBC,kBAAkB,EAClBO,iBAAiB,EACjBU,YAAY,CACb,CAAC;EAEF,OAAO;IACLtB,QAAQ;IACRE,aAAa;IACbqB,UAAU;IACVoB,mBAAmB;IACnB9C,QAAQ,EAAEH,wBAAwB,IAAIhC,MAAM,GAAGoF,SAAS,GAAGlD,aAAa;IACxEG,OAAO,EAAEL,wBAAwB,IAAIhC,MAAM,GAAGoF,SAAS,GAAGhD;EAC5D,CAAC;AACH","ignoreList":[]}
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.usePopupOverlayAnimation = usePopupOverlayAnimation;
7
+ var _reactNative = require("react-native");
8
+ var _reactNativeReanimated = require("react-native-reanimated");
9
+ var _animationSettings = require("../../providers/animation-settings");
10
+ var _utils = require("../utils");
11
+ const IS_WEB = _reactNative.Platform.OS === 'web';
12
+ /**
13
+ * Animation hook for popup overlay (backdrop) components.
14
+ * Shared by Dialog, Select, BottomSheet, Popover, etc.
15
+ *
16
+ * Returns progress-based opacity style and entering/exiting layout animations.
17
+ * On web, entering/exiting are undefined (CSS transitions drive the visuals).
18
+ */
19
+ function usePopupOverlayAnimation(options) {
20
+ const {
21
+ progress,
22
+ isDragging,
23
+ isGestureReleaseAnimationRunning,
24
+ animation
25
+ } = options;
26
+ const animationSettingsContext = (0, _animationSettings.useAnimationSettings)();
27
+ const isAllAnimationsDisabled = animationSettingsContext?.isAllAnimationsDisabled;
28
+ const {
29
+ animationConfig,
30
+ isAnimationDisabled
31
+ } = (0, _utils.getAnimationState)(animation);
32
+ const isAnimationDisabledValue = (0, _utils.getIsAnimationDisabledValue)({
33
+ isAnimationDisabled,
34
+ isAllAnimationsDisabled
35
+ });
36
+ const opacityValue = (0, _utils.getAnimationValueProperty)({
37
+ animationValue: animationConfig?.opacity,
38
+ property: 'value',
39
+ defaultValue: [0, 1, 0]
40
+ });
41
+
42
+ // Explicit deps for Vite/web without the Reanimated Babel plugin.
43
+ const rContainerStyle = (0, _reactNativeReanimated.useAnimatedStyle)(() => {
44
+ if (progress?.get() === undefined) {
45
+ return {};
46
+ }
47
+ if (isAnimationDisabledValue) {
48
+ return {
49
+ opacity: progress.get() > 0 ? 1 : 0
50
+ };
51
+ }
52
+ if ((isDragging?.get() || isGestureReleaseAnimationRunning?.get()) && progress.get() <= 1) {
53
+ return {
54
+ opacity: 1
55
+ };
56
+ }
57
+ return {
58
+ opacity: (0, _reactNativeReanimated.interpolate)(progress.get(), [0, 1, 2], opacityValue)
59
+ };
60
+ }, [progress, isDragging, isGestureReleaseAnimationRunning, isAnimationDisabledValue, opacityValue]);
61
+ const enteringValue = animationConfig?.entering ?? (isAnimationDisabledValue ? undefined : _reactNativeReanimated.FadeIn.duration(200));
62
+ const exitingValue = animationConfig?.exiting ?? (isAnimationDisabledValue ? undefined : _reactNativeReanimated.FadeOut.duration(150));
63
+ return {
64
+ rContainerStyle,
65
+ entering: isAnimationDisabledValue || IS_WEB ? undefined : enteringValue,
66
+ exiting: isAnimationDisabledValue || IS_WEB ? undefined : exitingValue
67
+ };
68
+ }
69
+ //# sourceMappingURL=usePopupOverlayAnimation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_reactNative","require","_reactNativeReanimated","_animationSettings","_utils","IS_WEB","Platform","OS","usePopupOverlayAnimation","options","progress","isDragging","isGestureReleaseAnimationRunning","animation","animationSettingsContext","useAnimationSettings","isAllAnimationsDisabled","animationConfig","isAnimationDisabled","getAnimationState","isAnimationDisabledValue","getIsAnimationDisabledValue","opacityValue","getAnimationValueProperty","animationValue","opacity","property","defaultValue","rContainerStyle","useAnimatedStyle","get","undefined","interpolate","enteringValue","entering","FadeIn","duration","exitingValue","exiting","FadeOut"],"sourceRoot":"../../../../src","sources":["animation/hooks/usePopupOverlayAnimation.ts"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,O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IAAI,CAAC,EAAE;MACzF,OAAO;QACLL,OAAO,EAAE;MACX,CAAC;IACH;IAEA,OAAO;MACLA,OAAO,EAAE,IAAAO,kCAAW,EAACtB,QAAQ,CAACoB,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAER,YAAY;IAC9D,CAAC;EACH,CAAC,EAAE,CACDZ,QAAQ,EACRC,UAAU,EACVC,gCAAgC,EAChCQ,wBAAwB,EACxBE,YAAY,CACb,CAAC;EAEF,MAAMW,aAAa,GACjBhB,eAAe,EAAEiB,QAAQ,KAAKd,wBAAwB,GAAGW,SAAS,GAAGI,6BAAM,CAACC,QAAQ,CAAC,GAAG,CAAC,CAAC;EAE5F,MAAMC,YAAY,GAChBpB,eAAe,EAAEqB,OAAO,KAAKlB,wBAAwB,GAAGW,SAAS,GAAGQ,8BAAO,CAACH,QAAQ,CAAC,GAAG,CAAC,CAAC;EAE5F,OAAO;IACLR,eAAe;IACfM,QAAQ,EAAEd,wBAAwB,IAAIf,MAAM,GAAG0B,SAAS,GAAGE,aAAa;IACxEK,OAAO,EAAElB,wBAAwB,IAAIf,MAAM,GAAG0B,SAAS,GAAGM;EAC5D,CAAC;AACH","ignoreList":[]}
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.usePopupRootAnimation = usePopupRootAnimation;
7
+ var _reactNativeReanimated = require("react-native-reanimated");
8
+ var _useCombinedAnimationDisabledState = require("./useCombinedAnimationDisabledState");
9
+ /**
10
+ * Root animation hook for popup-like components (Dialog, Select, BottomSheet, Popover, etc.)
11
+ * Manages component state transitions and animation coordination via a shared
12
+ * `progress` value: 0 = idle/closed, 1 = fully open, 2 = dismissed.
13
+ */
14
+ function usePopupRootAnimation(options) {
15
+ const isAllAnimationsDisabled = (0, _useCombinedAnimationDisabledState.useCombinedAnimationDisabledState)(options.animation);
16
+ const progress = (0, _reactNativeReanimated.useSharedValue)(0);
17
+ const isDragging = (0, _reactNativeReanimated.useSharedValue)(false);
18
+ const isGestureReleaseAnimationRunning = (0, _reactNativeReanimated.useSharedValue)(false);
19
+ return {
20
+ isAllAnimationsDisabled,
21
+ progress,
22
+ isDragging,
23
+ isGestureReleaseAnimationRunning
24
+ };
25
+ }
26
+ //# sourceMappingURL=usePopupRootAnimation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_reactNativeReanimated","require","_useCombinedAnimationDisabledState","usePopupRootAnimation","options","isAllAnimationsDisabled","useCombinedAnimationDisabledState","animation","progress","useSharedValue","isDragging","isGestureReleaseAnimationRunning"],"sourceRoot":"../../../../src","sources":["animation/hooks/usePopupRootAnimation.ts"],"mappings":";;;;;;AAAA,IAAAA,sBAAA,GAAAC,OAAA;AAEA,IAAAC,kCAAA,GAAAD,OAAA;AAMA;AACA;AACA;AACA;AACA;AACO,SAASE,qBAAqBA,CAACC,OAAqC,EAAE;EAC3E,MAAMC,uBAAuB,GAAG,IAAAC,oEAAiC,EAACF,OAAO,CAACG,SAAS,CAAC;EAEpF,MAAMC,QAAQ,GAAG,IAAAC,qCAAc,EAAC,CAAC,CAAC;EAClC,MAAMC,UAAU,GAAG,IAAAD,qCAAc,EAAC,KAAK,CAAC;EACxC,MAAME,gCAAgC,GAAG,IAAAF,qCAAc,EAAC,KAAK,CAAC;EAE9D,OAAO;IACLJ,uBAAuB;IACvBG,QAAQ;IACRE,UAAU;IACVC;EACF,CAAC;AACH","ignoreList":[]}