@sudobility/components-rn 1.0.1

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 (667) hide show
  1. package/README.md +252 -0
  2. package/dist/index.cjs.js +10311 -0
  3. package/dist/index.cjs.js.map +1 -0
  4. package/dist/index.d.ts +116 -0
  5. package/dist/index.d.ts.map +1 -0
  6. package/dist/index.esm.js +10284 -0
  7. package/dist/index.esm.js.map +1 -0
  8. package/dist/lib/utils.d.ts +8 -0
  9. package/dist/lib/utils.d.ts.map +1 -0
  10. package/dist/ui/ActionButton/ActionButton.d.ts +33 -0
  11. package/dist/ui/ActionButton/ActionButton.d.ts.map +1 -0
  12. package/dist/ui/ActionButton/index.d.ts +3 -0
  13. package/dist/ui/ActionButton/index.d.ts.map +1 -0
  14. package/dist/ui/AddressLink/AddressLink.d.ts +39 -0
  15. package/dist/ui/AddressLink/AddressLink.d.ts.map +1 -0
  16. package/dist/ui/AddressLink/index.d.ts +3 -0
  17. package/dist/ui/AddressLink/index.d.ts.map +1 -0
  18. package/dist/ui/Alert/Alert.d.ts +27 -0
  19. package/dist/ui/Alert/Alert.d.ts.map +1 -0
  20. package/dist/ui/Alert/index.d.ts +2 -0
  21. package/dist/ui/Alert/index.d.ts.map +1 -0
  22. package/dist/ui/AnimatedCounter/AnimatedCounter.d.ts +46 -0
  23. package/dist/ui/AnimatedCounter/AnimatedCounter.d.ts.map +1 -0
  24. package/dist/ui/AnimatedCounter/index.d.ts +3 -0
  25. package/dist/ui/AnimatedCounter/index.d.ts.map +1 -0
  26. package/dist/ui/AnimatedSection/AnimatedSection.d.ts +47 -0
  27. package/dist/ui/AnimatedSection/AnimatedSection.d.ts.map +1 -0
  28. package/dist/ui/AnimatedSection/index.d.ts +3 -0
  29. package/dist/ui/AnimatedSection/index.d.ts.map +1 -0
  30. package/dist/ui/AspectRatio/AspectRatio.d.ts +33 -0
  31. package/dist/ui/AspectRatio/AspectRatio.d.ts.map +1 -0
  32. package/dist/ui/AspectRatio/index.d.ts +3 -0
  33. package/dist/ui/AspectRatio/index.d.ts.map +1 -0
  34. package/dist/ui/Avatar/Avatar.d.ts +52 -0
  35. package/dist/ui/Avatar/Avatar.d.ts.map +1 -0
  36. package/dist/ui/Avatar/index.d.ts +3 -0
  37. package/dist/ui/Avatar/index.d.ts.map +1 -0
  38. package/dist/ui/Backdrop/Backdrop.d.ts +41 -0
  39. package/dist/ui/Backdrop/Backdrop.d.ts.map +1 -0
  40. package/dist/ui/Backdrop/index.d.ts +3 -0
  41. package/dist/ui/Backdrop/index.d.ts.map +1 -0
  42. package/dist/ui/Badge/Badge.d.ts +44 -0
  43. package/dist/ui/Badge/Badge.d.ts.map +1 -0
  44. package/dist/ui/Badge/index.d.ts +3 -0
  45. package/dist/ui/Badge/index.d.ts.map +1 -0
  46. package/dist/ui/Box/Box.d.ts +47 -0
  47. package/dist/ui/Box/Box.d.ts.map +1 -0
  48. package/dist/ui/Box/index.d.ts +3 -0
  49. package/dist/ui/Box/index.d.ts.map +1 -0
  50. package/dist/ui/Breadcrumb/Breadcrumb.d.ts +51 -0
  51. package/dist/ui/Breadcrumb/Breadcrumb.d.ts.map +1 -0
  52. package/dist/ui/Breadcrumb/index.d.ts +3 -0
  53. package/dist/ui/Breadcrumb/index.d.ts.map +1 -0
  54. package/dist/ui/BreadcrumbNav/BreadcrumbNav.d.ts +34 -0
  55. package/dist/ui/BreadcrumbNav/BreadcrumbNav.d.ts.map +1 -0
  56. package/dist/ui/BreadcrumbNav/index.d.ts +2 -0
  57. package/dist/ui/BreadcrumbNav/index.d.ts.map +1 -0
  58. package/dist/ui/Button/Button.d.ts +29 -0
  59. package/dist/ui/Button/Button.d.ts.map +1 -0
  60. package/dist/ui/Button/Button.shared.d.ts +28 -0
  61. package/dist/ui/Button/Button.shared.d.ts.map +1 -0
  62. package/dist/ui/Button/index.d.ts +3 -0
  63. package/dist/ui/Button/index.d.ts.map +1 -0
  64. package/dist/ui/CTASection/CTASection.d.ts +44 -0
  65. package/dist/ui/CTASection/CTASection.d.ts.map +1 -0
  66. package/dist/ui/CTASection/index.d.ts +2 -0
  67. package/dist/ui/CTASection/index.d.ts.map +1 -0
  68. package/dist/ui/Calendar/Calendar.d.ts +34 -0
  69. package/dist/ui/Calendar/Calendar.d.ts.map +1 -0
  70. package/dist/ui/Calendar/index.d.ts +3 -0
  71. package/dist/ui/Calendar/index.d.ts.map +1 -0
  72. package/dist/ui/Card/Card.d.ts +22 -0
  73. package/dist/ui/Card/Card.d.ts.map +1 -0
  74. package/dist/ui/Card/index.d.ts +2 -0
  75. package/dist/ui/Card/index.d.ts.map +1 -0
  76. package/dist/ui/Center/Center.d.ts +31 -0
  77. package/dist/ui/Center/Center.d.ts.map +1 -0
  78. package/dist/ui/Center/index.d.ts +3 -0
  79. package/dist/ui/Center/index.d.ts.map +1 -0
  80. package/dist/ui/ChainBadge.d.ts +10 -0
  81. package/dist/ui/ChainBadge.d.ts.map +1 -0
  82. package/dist/ui/Checkbox/Checkbox.d.ts +54 -0
  83. package/dist/ui/Checkbox/Checkbox.d.ts.map +1 -0
  84. package/dist/ui/Checkbox/index.d.ts +3 -0
  85. package/dist/ui/Checkbox/index.d.ts.map +1 -0
  86. package/dist/ui/Code/Code.d.ts +30 -0
  87. package/dist/ui/Code/Code.d.ts.map +1 -0
  88. package/dist/ui/Code/index.d.ts +3 -0
  89. package/dist/ui/Code/index.d.ts.map +1 -0
  90. package/dist/ui/CodeDisplay/CodeDisplay.d.ts +40 -0
  91. package/dist/ui/CodeDisplay/CodeDisplay.d.ts.map +1 -0
  92. package/dist/ui/CodeDisplay/index.d.ts +3 -0
  93. package/dist/ui/CodeDisplay/index.d.ts.map +1 -0
  94. package/dist/ui/CollapsibleSection/CollapsibleSection.d.ts +52 -0
  95. package/dist/ui/CollapsibleSection/CollapsibleSection.d.ts.map +1 -0
  96. package/dist/ui/CollapsibleSection/index.d.ts +2 -0
  97. package/dist/ui/CollapsibleSection/index.d.ts.map +1 -0
  98. package/dist/ui/Combobox/Combobox.d.ts +49 -0
  99. package/dist/ui/Combobox/Combobox.d.ts.map +1 -0
  100. package/dist/ui/Combobox/index.d.ts +3 -0
  101. package/dist/ui/Combobox/index.d.ts.map +1 -0
  102. package/dist/ui/Command/Command.d.ts +52 -0
  103. package/dist/ui/Command/Command.d.ts.map +1 -0
  104. package/dist/ui/Command/index.d.ts +2 -0
  105. package/dist/ui/Command/index.d.ts.map +1 -0
  106. package/dist/ui/Container/Container.d.ts +35 -0
  107. package/dist/ui/Container/Container.d.ts.map +1 -0
  108. package/dist/ui/Container/index.d.ts +3 -0
  109. package/dist/ui/Container/index.d.ts.map +1 -0
  110. package/dist/ui/DashboardStatCard/DashboardStatCard.d.ts +36 -0
  111. package/dist/ui/DashboardStatCard/DashboardStatCard.d.ts.map +1 -0
  112. package/dist/ui/DashboardStatCard/index.d.ts +2 -0
  113. package/dist/ui/DashboardStatCard/index.d.ts.map +1 -0
  114. package/dist/ui/DataList/DataList.d.ts +53 -0
  115. package/dist/ui/DataList/DataList.d.ts.map +1 -0
  116. package/dist/ui/DataList/index.d.ts +3 -0
  117. package/dist/ui/DataList/index.d.ts.map +1 -0
  118. package/dist/ui/DateInput/DateInput.d.ts +45 -0
  119. package/dist/ui/DateInput/DateInput.d.ts.map +1 -0
  120. package/dist/ui/DateInput/index.d.ts +3 -0
  121. package/dist/ui/DateInput/index.d.ts.map +1 -0
  122. package/dist/ui/DateTimePicker/DateTimePicker.d.ts +39 -0
  123. package/dist/ui/DateTimePicker/DateTimePicker.d.ts.map +1 -0
  124. package/dist/ui/DateTimePicker/index.d.ts +3 -0
  125. package/dist/ui/DateTimePicker/index.d.ts.map +1 -0
  126. package/dist/ui/Dialog/Dialog.d.ts +35 -0
  127. package/dist/ui/Dialog/Dialog.d.ts.map +1 -0
  128. package/dist/ui/Dialog/index.d.ts +3 -0
  129. package/dist/ui/Dialog/index.d.ts.map +1 -0
  130. package/dist/ui/Divider/Divider.d.ts +45 -0
  131. package/dist/ui/Divider/Divider.d.ts.map +1 -0
  132. package/dist/ui/Divider/index.d.ts +3 -0
  133. package/dist/ui/Divider/index.d.ts.map +1 -0
  134. package/dist/ui/Dropdown/Dropdown.d.ts +46 -0
  135. package/dist/ui/Dropdown/Dropdown.d.ts.map +1 -0
  136. package/dist/ui/Dropdown/index.d.ts +3 -0
  137. package/dist/ui/Dropdown/index.d.ts.map +1 -0
  138. package/dist/ui/EmptyState/EmptyState.d.ts +43 -0
  139. package/dist/ui/EmptyState/EmptyState.d.ts.map +1 -0
  140. package/dist/ui/EmptyState/index.d.ts +3 -0
  141. package/dist/ui/EmptyState/index.d.ts.map +1 -0
  142. package/dist/ui/ExternalLink/ExternalLink.d.ts +45 -0
  143. package/dist/ui/ExternalLink/ExternalLink.d.ts.map +1 -0
  144. package/dist/ui/ExternalLink/index.d.ts +3 -0
  145. package/dist/ui/ExternalLink/index.d.ts.map +1 -0
  146. package/dist/ui/FeatureCard/FeatureCard.d.ts +47 -0
  147. package/dist/ui/FeatureCard/FeatureCard.d.ts.map +1 -0
  148. package/dist/ui/FeatureCard/index.d.ts +2 -0
  149. package/dist/ui/FeatureCard/index.d.ts.map +1 -0
  150. package/dist/ui/FeatureGrid/FeatureGrid.d.ts +51 -0
  151. package/dist/ui/FeatureGrid/FeatureGrid.d.ts.map +1 -0
  152. package/dist/ui/FeatureGrid/index.d.ts +2 -0
  153. package/dist/ui/FeatureGrid/index.d.ts.map +1 -0
  154. package/dist/ui/FileInput/FileInput.d.ts +54 -0
  155. package/dist/ui/FileInput/FileInput.d.ts.map +1 -0
  156. package/dist/ui/FileInput/index.d.ts +3 -0
  157. package/dist/ui/FileInput/index.d.ts.map +1 -0
  158. package/dist/ui/Flex/Flex.d.ts +40 -0
  159. package/dist/ui/Flex/Flex.d.ts.map +1 -0
  160. package/dist/ui/Flex/index.d.ts +3 -0
  161. package/dist/ui/Flex/index.d.ts.map +1 -0
  162. package/dist/ui/FloatingPanel/FloatingPanel.d.ts +38 -0
  163. package/dist/ui/FloatingPanel/FloatingPanel.d.ts.map +1 -0
  164. package/dist/ui/FloatingPanel/index.d.ts +3 -0
  165. package/dist/ui/FloatingPanel/index.d.ts.map +1 -0
  166. package/dist/ui/FormAlerts/FormAlerts.d.ts +38 -0
  167. package/dist/ui/FormAlerts/FormAlerts.d.ts.map +1 -0
  168. package/dist/ui/FormAlerts/index.d.ts +3 -0
  169. package/dist/ui/FormAlerts/index.d.ts.map +1 -0
  170. package/dist/ui/FormattedNumber/FormattedNumber.d.ts +47 -0
  171. package/dist/ui/FormattedNumber/FormattedNumber.d.ts.map +1 -0
  172. package/dist/ui/FormattedNumber/index.d.ts +3 -0
  173. package/dist/ui/FormattedNumber/index.d.ts.map +1 -0
  174. package/dist/ui/GradientIconContainer/GradientIconContainer.d.ts +28 -0
  175. package/dist/ui/GradientIconContainer/GradientIconContainer.d.ts.map +1 -0
  176. package/dist/ui/GradientIconContainer/index.d.ts +3 -0
  177. package/dist/ui/GradientIconContainer/index.d.ts.map +1 -0
  178. package/dist/ui/Grid/Grid.d.ts +55 -0
  179. package/dist/ui/Grid/Grid.d.ts.map +1 -0
  180. package/dist/ui/Grid/index.d.ts +3 -0
  181. package/dist/ui/Grid/index.d.ts.map +1 -0
  182. package/dist/ui/Heading/Heading.d.ts +39 -0
  183. package/dist/ui/Heading/Heading.d.ts.map +1 -0
  184. package/dist/ui/Heading/index.d.ts +3 -0
  185. package/dist/ui/Heading/index.d.ts.map +1 -0
  186. package/dist/ui/HelperText/HelperText.d.ts +36 -0
  187. package/dist/ui/HelperText/HelperText.d.ts.map +1 -0
  188. package/dist/ui/HelperText/index.d.ts +3 -0
  189. package/dist/ui/HelperText/index.d.ts.map +1 -0
  190. package/dist/ui/IconContainer/IconContainer.d.ts +28 -0
  191. package/dist/ui/IconContainer/IconContainer.d.ts.map +1 -0
  192. package/dist/ui/IconContainer/index.d.ts +3 -0
  193. package/dist/ui/IconContainer/index.d.ts.map +1 -0
  194. package/dist/ui/IconText/IconText.d.ts +46 -0
  195. package/dist/ui/IconText/IconText.d.ts.map +1 -0
  196. package/dist/ui/IconText/index.d.ts +3 -0
  197. package/dist/ui/IconText/index.d.ts.map +1 -0
  198. package/dist/ui/InfiniteScroll/InfiniteScroll.d.ts +55 -0
  199. package/dist/ui/InfiniteScroll/InfiniteScroll.d.ts.map +1 -0
  200. package/dist/ui/InfiniteScroll/index.d.ts +3 -0
  201. package/dist/ui/InfiniteScroll/index.d.ts.map +1 -0
  202. package/dist/ui/InfoBox/InfoBox.d.ts +40 -0
  203. package/dist/ui/InfoBox/InfoBox.d.ts.map +1 -0
  204. package/dist/ui/InfoBox/index.d.ts +3 -0
  205. package/dist/ui/InfoBox/index.d.ts.map +1 -0
  206. package/dist/ui/Input/Input.d.ts +25 -0
  207. package/dist/ui/Input/Input.d.ts.map +1 -0
  208. package/dist/ui/Input/index.d.ts +2 -0
  209. package/dist/ui/Input/index.d.ts.map +1 -0
  210. package/dist/ui/Kbd/Kbd.d.ts +31 -0
  211. package/dist/ui/Kbd/Kbd.d.ts.map +1 -0
  212. package/dist/ui/Kbd/index.d.ts +2 -0
  213. package/dist/ui/Kbd/index.d.ts.map +1 -0
  214. package/dist/ui/KeyValuePair/KeyValuePair.d.ts +42 -0
  215. package/dist/ui/KeyValuePair/KeyValuePair.d.ts.map +1 -0
  216. package/dist/ui/KeyValuePair/index.d.ts +2 -0
  217. package/dist/ui/KeyValuePair/index.d.ts.map +1 -0
  218. package/dist/ui/Label/Label.d.ts +31 -0
  219. package/dist/ui/Label/Label.d.ts.map +1 -0
  220. package/dist/ui/Label/index.d.ts +3 -0
  221. package/dist/ui/Label/index.d.ts.map +1 -0
  222. package/dist/ui/Link/Link.d.ts +41 -0
  223. package/dist/ui/Link/Link.d.ts.map +1 -0
  224. package/dist/ui/Link/index.d.ts +3 -0
  225. package/dist/ui/Link/index.d.ts.map +1 -0
  226. package/dist/ui/List/List.d.ts +60 -0
  227. package/dist/ui/List/List.d.ts.map +1 -0
  228. package/dist/ui/List/index.d.ts +3 -0
  229. package/dist/ui/List/index.d.ts.map +1 -0
  230. package/dist/ui/ListItemWithAction/ListItemWithAction.d.ts +39 -0
  231. package/dist/ui/ListItemWithAction/ListItemWithAction.d.ts.map +1 -0
  232. package/dist/ui/ListItemWithAction/index.d.ts +3 -0
  233. package/dist/ui/ListItemWithAction/index.d.ts.map +1 -0
  234. package/dist/ui/LoadingDots/LoadingDots.d.ts +22 -0
  235. package/dist/ui/LoadingDots/LoadingDots.d.ts.map +1 -0
  236. package/dist/ui/LoadingDots/index.d.ts +3 -0
  237. package/dist/ui/LoadingDots/index.d.ts.map +1 -0
  238. package/dist/ui/LoadingOverlay/LoadingOverlay.d.ts +40 -0
  239. package/dist/ui/LoadingOverlay/LoadingOverlay.d.ts.map +1 -0
  240. package/dist/ui/LoadingOverlay/index.d.ts +3 -0
  241. package/dist/ui/LoadingOverlay/index.d.ts.map +1 -0
  242. package/dist/ui/Logo/Logo.d.ts +36 -0
  243. package/dist/ui/Logo/Logo.d.ts.map +1 -0
  244. package/dist/ui/Logo/index.d.ts +3 -0
  245. package/dist/ui/Logo/index.d.ts.map +1 -0
  246. package/dist/ui/Masonry/Masonry.d.ts +26 -0
  247. package/dist/ui/Masonry/Masonry.d.ts.map +1 -0
  248. package/dist/ui/Masonry/index.d.ts +3 -0
  249. package/dist/ui/Masonry/index.d.ts.map +1 -0
  250. package/dist/ui/MasterDetailLayout/MasterDetailLayout.d.ts +65 -0
  251. package/dist/ui/MasterDetailLayout/MasterDetailLayout.d.ts.map +1 -0
  252. package/dist/ui/MasterDetailLayout/index.d.ts +2 -0
  253. package/dist/ui/MasterDetailLayout/index.d.ts.map +1 -0
  254. package/dist/ui/Modal/Modal.d.ts +67 -0
  255. package/dist/ui/Modal/Modal.d.ts.map +1 -0
  256. package/dist/ui/Modal/index.d.ts +3 -0
  257. package/dist/ui/Modal/index.d.ts.map +1 -0
  258. package/dist/ui/MultiSelect/MultiSelect.d.ts +48 -0
  259. package/dist/ui/MultiSelect/MultiSelect.d.ts.map +1 -0
  260. package/dist/ui/MultiSelect/index.d.ts +3 -0
  261. package/dist/ui/MultiSelect/index.d.ts.map +1 -0
  262. package/dist/ui/NavigationList/NavigationList.d.ts +57 -0
  263. package/dist/ui/NavigationList/NavigationList.d.ts.map +1 -0
  264. package/dist/ui/NavigationList/index.d.ts +3 -0
  265. package/dist/ui/NavigationList/index.d.ts.map +1 -0
  266. package/dist/ui/NumberInput/NumberInput.d.ts +56 -0
  267. package/dist/ui/NumberInput/NumberInput.d.ts.map +1 -0
  268. package/dist/ui/NumberInput/index.d.ts +3 -0
  269. package/dist/ui/NumberInput/index.d.ts.map +1 -0
  270. package/dist/ui/Overlay/Overlay.d.ts +33 -0
  271. package/dist/ui/Overlay/Overlay.d.ts.map +1 -0
  272. package/dist/ui/Overlay/index.d.ts +3 -0
  273. package/dist/ui/Overlay/index.d.ts.map +1 -0
  274. package/dist/ui/PageContainer/PageContainer.d.ts +43 -0
  275. package/dist/ui/PageContainer/PageContainer.d.ts.map +1 -0
  276. package/dist/ui/PageContainer/index.d.ts +3 -0
  277. package/dist/ui/PageContainer/index.d.ts.map +1 -0
  278. package/dist/ui/PageHeader/PageHeader.d.ts +24 -0
  279. package/dist/ui/PageHeader/PageHeader.d.ts.map +1 -0
  280. package/dist/ui/PageHeader/index.d.ts +2 -0
  281. package/dist/ui/PageHeader/index.d.ts.map +1 -0
  282. package/dist/ui/PageSectionHeader/PageSectionHeader.d.ts +49 -0
  283. package/dist/ui/PageSectionHeader/PageSectionHeader.d.ts.map +1 -0
  284. package/dist/ui/PageSectionHeader/index.d.ts +3 -0
  285. package/dist/ui/PageSectionHeader/index.d.ts.map +1 -0
  286. package/dist/ui/Pagination/Pagination.d.ts +50 -0
  287. package/dist/ui/Pagination/Pagination.d.ts.map +1 -0
  288. package/dist/ui/Pagination/index.d.ts +3 -0
  289. package/dist/ui/Pagination/index.d.ts.map +1 -0
  290. package/dist/ui/PhoneInput/PhoneInput.d.ts +47 -0
  291. package/dist/ui/PhoneInput/PhoneInput.d.ts.map +1 -0
  292. package/dist/ui/PhoneInput/index.d.ts +3 -0
  293. package/dist/ui/PhoneInput/index.d.ts.map +1 -0
  294. package/dist/ui/Popover/Popover.d.ts +32 -0
  295. package/dist/ui/Popover/Popover.d.ts.map +1 -0
  296. package/dist/ui/Popover/index.d.ts +3 -0
  297. package/dist/ui/Popover/index.d.ts.map +1 -0
  298. package/dist/ui/Progress/Progress.d.ts +67 -0
  299. package/dist/ui/Progress/Progress.d.ts.map +1 -0
  300. package/dist/ui/Progress/index.d.ts +3 -0
  301. package/dist/ui/Progress/index.d.ts.map +1 -0
  302. package/dist/ui/ProgressCircle/ProgressCircle.d.ts +40 -0
  303. package/dist/ui/ProgressCircle/ProgressCircle.d.ts.map +1 -0
  304. package/dist/ui/ProgressCircle/index.d.ts +3 -0
  305. package/dist/ui/ProgressCircle/index.d.ts.map +1 -0
  306. package/dist/ui/PromotionalBanner/PromotionalBanner.d.ts +37 -0
  307. package/dist/ui/PromotionalBanner/PromotionalBanner.d.ts.map +1 -0
  308. package/dist/ui/PromotionalBanner/index.d.ts +2 -0
  309. package/dist/ui/PromotionalBanner/index.d.ts.map +1 -0
  310. package/dist/ui/QuickActions/QuickActions.d.ts +46 -0
  311. package/dist/ui/QuickActions/QuickActions.d.ts.map +1 -0
  312. package/dist/ui/QuickActions/index.d.ts +3 -0
  313. package/dist/ui/QuickActions/index.d.ts.map +1 -0
  314. package/dist/ui/ScrollArea/ScrollArea.d.ts +39 -0
  315. package/dist/ui/ScrollArea/ScrollArea.d.ts.map +1 -0
  316. package/dist/ui/ScrollArea/index.d.ts +3 -0
  317. package/dist/ui/ScrollArea/index.d.ts.map +1 -0
  318. package/dist/ui/ScrollSpy/ScrollSpy.d.ts +111 -0
  319. package/dist/ui/ScrollSpy/ScrollSpy.d.ts.map +1 -0
  320. package/dist/ui/ScrollSpy/index.d.ts +2 -0
  321. package/dist/ui/ScrollSpy/index.d.ts.map +1 -0
  322. package/dist/ui/SearchInput/SearchInput.d.ts +39 -0
  323. package/dist/ui/SearchInput/SearchInput.d.ts.map +1 -0
  324. package/dist/ui/SearchInput/index.d.ts +3 -0
  325. package/dist/ui/SearchInput/index.d.ts.map +1 -0
  326. package/dist/ui/SectionBadge/SectionBadge.d.ts +30 -0
  327. package/dist/ui/SectionBadge/SectionBadge.d.ts.map +1 -0
  328. package/dist/ui/SectionBadge/index.d.ts +3 -0
  329. package/dist/ui/SectionBadge/index.d.ts.map +1 -0
  330. package/dist/ui/SectionHeader/SectionHeader.d.ts +33 -0
  331. package/dist/ui/SectionHeader/SectionHeader.d.ts.map +1 -0
  332. package/dist/ui/SectionHeader/index.d.ts +3 -0
  333. package/dist/ui/SectionHeader/index.d.ts.map +1 -0
  334. package/dist/ui/Select/Select.d.ts +54 -0
  335. package/dist/ui/Select/Select.d.ts.map +1 -0
  336. package/dist/ui/Select/index.d.ts +3 -0
  337. package/dist/ui/Select/index.d.ts.map +1 -0
  338. package/dist/ui/Separator/Separator.d.ts +37 -0
  339. package/dist/ui/Separator/Separator.d.ts.map +1 -0
  340. package/dist/ui/Separator/index.d.ts +3 -0
  341. package/dist/ui/Separator/index.d.ts.map +1 -0
  342. package/dist/ui/SettingsList/SettingsList.d.ts +51 -0
  343. package/dist/ui/SettingsList/SettingsList.d.ts.map +1 -0
  344. package/dist/ui/SettingsList/index.d.ts +3 -0
  345. package/dist/ui/SettingsList/index.d.ts.map +1 -0
  346. package/dist/ui/Sheet/Sheet.d.ts +46 -0
  347. package/dist/ui/Sheet/Sheet.d.ts.map +1 -0
  348. package/dist/ui/Sheet/index.d.ts +3 -0
  349. package/dist/ui/Sheet/index.d.ts.map +1 -0
  350. package/dist/ui/SideNav/SideNav.d.ts +39 -0
  351. package/dist/ui/SideNav/SideNav.d.ts.map +1 -0
  352. package/dist/ui/SideNav/index.d.ts +3 -0
  353. package/dist/ui/SideNav/index.d.ts.map +1 -0
  354. package/dist/ui/Skeleton/Skeleton.d.ts +54 -0
  355. package/dist/ui/Skeleton/Skeleton.d.ts.map +1 -0
  356. package/dist/ui/Skeleton/index.d.ts +3 -0
  357. package/dist/ui/Skeleton/index.d.ts.map +1 -0
  358. package/dist/ui/SmartLink/SmartLink.d.ts +67 -0
  359. package/dist/ui/SmartLink/SmartLink.d.ts.map +1 -0
  360. package/dist/ui/SmartLink/index.d.ts +2 -0
  361. package/dist/ui/SmartLink/index.d.ts.map +1 -0
  362. package/dist/ui/Spacer/Spacer.d.ts +37 -0
  363. package/dist/ui/Spacer/Spacer.d.ts.map +1 -0
  364. package/dist/ui/Spacer/index.d.ts +3 -0
  365. package/dist/ui/Spacer/index.d.ts.map +1 -0
  366. package/dist/ui/Spinner/Spinner.d.ts +19 -0
  367. package/dist/ui/Spinner/Spinner.d.ts.map +1 -0
  368. package/dist/ui/Spinner/index.d.ts +2 -0
  369. package/dist/ui/Spinner/index.d.ts.map +1 -0
  370. package/dist/ui/SplitPane/SplitPane.d.ts +45 -0
  371. package/dist/ui/SplitPane/SplitPane.d.ts.map +1 -0
  372. package/dist/ui/SplitPane/index.d.ts +2 -0
  373. package/dist/ui/SplitPane/index.d.ts.map +1 -0
  374. package/dist/ui/Stack/Stack.d.ts +60 -0
  375. package/dist/ui/Stack/Stack.d.ts.map +1 -0
  376. package/dist/ui/Stack/index.d.ts +3 -0
  377. package/dist/ui/Stack/index.d.ts.map +1 -0
  378. package/dist/ui/StandardPageLayout/StandardPageLayout.d.ts +27 -0
  379. package/dist/ui/StandardPageLayout/StandardPageLayout.d.ts.map +1 -0
  380. package/dist/ui/StandardPageLayout/index.d.ts +2 -0
  381. package/dist/ui/StandardPageLayout/index.d.ts.map +1 -0
  382. package/dist/ui/StatDisplay/StatDisplay.d.ts +33 -0
  383. package/dist/ui/StatDisplay/StatDisplay.d.ts.map +1 -0
  384. package/dist/ui/StatDisplay/index.d.ts +2 -0
  385. package/dist/ui/StatDisplay/index.d.ts.map +1 -0
  386. package/dist/ui/StepList/StepList.d.ts +40 -0
  387. package/dist/ui/StepList/StepList.d.ts.map +1 -0
  388. package/dist/ui/StepList/index.d.ts +2 -0
  389. package/dist/ui/StepList/index.d.ts.map +1 -0
  390. package/dist/ui/Switch/Switch.d.ts +36 -0
  391. package/dist/ui/Switch/Switch.d.ts.map +1 -0
  392. package/dist/ui/Switch/index.d.ts +3 -0
  393. package/dist/ui/Switch/index.d.ts.map +1 -0
  394. package/dist/ui/Table/Table.d.ts +66 -0
  395. package/dist/ui/Table/Table.d.ts.map +1 -0
  396. package/dist/ui/Table/index.d.ts +2 -0
  397. package/dist/ui/Table/index.d.ts.map +1 -0
  398. package/dist/ui/Tabs/Tabs.d.ts +73 -0
  399. package/dist/ui/Tabs/Tabs.d.ts.map +1 -0
  400. package/dist/ui/Tabs/index.d.ts +3 -0
  401. package/dist/ui/Tabs/index.d.ts.map +1 -0
  402. package/dist/ui/Text/Text.d.ts +41 -0
  403. package/dist/ui/Text/Text.d.ts.map +1 -0
  404. package/dist/ui/Text/index.d.ts +3 -0
  405. package/dist/ui/Text/index.d.ts.map +1 -0
  406. package/dist/ui/TextArea/TextArea.d.ts +54 -0
  407. package/dist/ui/TextArea/TextArea.d.ts.map +1 -0
  408. package/dist/ui/TextArea/index.d.ts +3 -0
  409. package/dist/ui/TextArea/index.d.ts.map +1 -0
  410. package/dist/ui/TextInputModal/TextInputModal.d.ts +52 -0
  411. package/dist/ui/TextInputModal/TextInputModal.d.ts.map +1 -0
  412. package/dist/ui/TextInputModal/index.d.ts +3 -0
  413. package/dist/ui/TextInputModal/index.d.ts.map +1 -0
  414. package/dist/ui/TimePicker/TimePicker.d.ts +33 -0
  415. package/dist/ui/TimePicker/TimePicker.d.ts.map +1 -0
  416. package/dist/ui/TimePicker/index.d.ts +3 -0
  417. package/dist/ui/TimePicker/index.d.ts.map +1 -0
  418. package/dist/ui/Toast/Toast.d.ts +61 -0
  419. package/dist/ui/Toast/Toast.d.ts.map +1 -0
  420. package/dist/ui/Toast/index.d.ts +3 -0
  421. package/dist/ui/Toast/index.d.ts.map +1 -0
  422. package/dist/ui/Tooltip/Tooltip.d.ts +39 -0
  423. package/dist/ui/Tooltip/Tooltip.d.ts.map +1 -0
  424. package/dist/ui/Tooltip/index.d.ts +3 -0
  425. package/dist/ui/Tooltip/index.d.ts.map +1 -0
  426. package/dist/ui/TransferList/TransferList.d.ts +58 -0
  427. package/dist/ui/TransferList/TransferList.d.ts.map +1 -0
  428. package/dist/ui/TransferList/index.d.ts +3 -0
  429. package/dist/ui/TransferList/index.d.ts.map +1 -0
  430. package/dist/ui/TreeView/TreeView.d.ts +49 -0
  431. package/dist/ui/TreeView/TreeView.d.ts.map +1 -0
  432. package/dist/ui/TreeView/index.d.ts +3 -0
  433. package/dist/ui/TreeView/index.d.ts.map +1 -0
  434. package/dist/ui/TruncatedText/TruncatedText.d.ts +38 -0
  435. package/dist/ui/TruncatedText/TruncatedText.d.ts.map +1 -0
  436. package/dist/ui/TruncatedText/index.d.ts +3 -0
  437. package/dist/ui/TruncatedText/index.d.ts.map +1 -0
  438. package/dist/ui/VirtualList/VirtualList.d.ts +115 -0
  439. package/dist/ui/VirtualList/VirtualList.d.ts.map +1 -0
  440. package/dist/ui/VirtualList/index.d.ts +2 -0
  441. package/dist/ui/VirtualList/index.d.ts.map +1 -0
  442. package/dist/ui/VisuallyHidden/VisuallyHidden.d.ts +21 -0
  443. package/dist/ui/VisuallyHidden/VisuallyHidden.d.ts.map +1 -0
  444. package/dist/ui/VisuallyHidden/index.d.ts +3 -0
  445. package/dist/ui/VisuallyHidden/index.d.ts.map +1 -0
  446. package/package.json +104 -0
  447. package/src/index.ts +194 -0
  448. package/src/lib/utils.ts +10 -0
  449. package/src/nativewind-env.d.ts +57 -0
  450. package/src/ui/ActionButton/ActionButton.tsx +56 -0
  451. package/src/ui/ActionButton/index.ts +2 -0
  452. package/src/ui/AddressLink/AddressLink.tsx +189 -0
  453. package/src/ui/AddressLink/index.ts +2 -0
  454. package/src/ui/Alert/Alert.tsx +75 -0
  455. package/src/ui/Alert/index.ts +1 -0
  456. package/src/ui/AnimatedCounter/AnimatedCounter.tsx +110 -0
  457. package/src/ui/AnimatedCounter/index.ts +2 -0
  458. package/src/ui/AnimatedSection/AnimatedSection.tsx +176 -0
  459. package/src/ui/AnimatedSection/index.ts +7 -0
  460. package/src/ui/AspectRatio/AspectRatio.tsx +69 -0
  461. package/src/ui/AspectRatio/index.ts +2 -0
  462. package/src/ui/Avatar/Avatar.tsx +243 -0
  463. package/src/ui/Avatar/index.ts +2 -0
  464. package/src/ui/Backdrop/Backdrop.tsx +85 -0
  465. package/src/ui/Backdrop/index.ts +2 -0
  466. package/src/ui/Badge/Badge.tsx +198 -0
  467. package/src/ui/Badge/index.ts +2 -0
  468. package/src/ui/Box/Box.tsx +167 -0
  469. package/src/ui/Box/index.ts +2 -0
  470. package/src/ui/Breadcrumb/Breadcrumb.tsx +199 -0
  471. package/src/ui/Breadcrumb/index.ts +2 -0
  472. package/src/ui/BreadcrumbNav/BreadcrumbNav.tsx +75 -0
  473. package/src/ui/BreadcrumbNav/index.ts +1 -0
  474. package/src/ui/Button/Button.shared.ts +83 -0
  475. package/src/ui/Button/Button.tsx +139 -0
  476. package/src/ui/Button/index.ts +2 -0
  477. package/src/ui/CTASection/CTASection.tsx +146 -0
  478. package/src/ui/CTASection/index.ts +1 -0
  479. package/src/ui/Calendar/Calendar.tsx +242 -0
  480. package/src/ui/Calendar/index.ts +2 -0
  481. package/src/ui/Card/Card.tsx +133 -0
  482. package/src/ui/Card/index.ts +7 -0
  483. package/src/ui/Center/Center.tsx +54 -0
  484. package/src/ui/Center/index.ts +2 -0
  485. package/src/ui/ChainBadge.tsx +85 -0
  486. package/src/ui/Checkbox/Checkbox.tsx +200 -0
  487. package/src/ui/Checkbox/index.ts +2 -0
  488. package/src/ui/Code/Code.tsx +81 -0
  489. package/src/ui/Code/index.ts +2 -0
  490. package/src/ui/CodeDisplay/CodeDisplay.tsx +148 -0
  491. package/src/ui/CodeDisplay/index.ts +2 -0
  492. package/src/ui/CollapsibleSection/CollapsibleSection.tsx +190 -0
  493. package/src/ui/CollapsibleSection/index.ts +1 -0
  494. package/src/ui/Combobox/Combobox.tsx +216 -0
  495. package/src/ui/Combobox/index.ts +2 -0
  496. package/src/ui/Command/Command.tsx +252 -0
  497. package/src/ui/Command/index.ts +1 -0
  498. package/src/ui/Container/Container.tsx +82 -0
  499. package/src/ui/Container/index.ts +2 -0
  500. package/src/ui/DashboardStatCard/DashboardStatCard.tsx +101 -0
  501. package/src/ui/DashboardStatCard/index.ts +1 -0
  502. package/src/ui/DataList/DataList.tsx +156 -0
  503. package/src/ui/DataList/index.ts +2 -0
  504. package/src/ui/DateInput/DateInput.tsx +174 -0
  505. package/src/ui/DateInput/index.ts +2 -0
  506. package/src/ui/DateTimePicker/DateTimePicker.tsx +231 -0
  507. package/src/ui/DateTimePicker/index.ts +2 -0
  508. package/src/ui/Dialog/Dialog.tsx +145 -0
  509. package/src/ui/Dialog/index.ts +2 -0
  510. package/src/ui/Divider/Divider.tsx +166 -0
  511. package/src/ui/Divider/index.ts +2 -0
  512. package/src/ui/Dropdown/Dropdown.tsx +176 -0
  513. package/src/ui/Dropdown/index.ts +2 -0
  514. package/src/ui/EmptyState/EmptyState.tsx +118 -0
  515. package/src/ui/EmptyState/index.ts +2 -0
  516. package/src/ui/ExternalLink/ExternalLink.tsx +112 -0
  517. package/src/ui/ExternalLink/index.ts +2 -0
  518. package/src/ui/FeatureCard/FeatureCard.tsx +221 -0
  519. package/src/ui/FeatureCard/index.ts +1 -0
  520. package/src/ui/FeatureGrid/FeatureGrid.tsx +181 -0
  521. package/src/ui/FeatureGrid/index.ts +1 -0
  522. package/src/ui/FileInput/FileInput.tsx +216 -0
  523. package/src/ui/FileInput/index.ts +2 -0
  524. package/src/ui/Flex/Flex.tsx +116 -0
  525. package/src/ui/Flex/index.ts +2 -0
  526. package/src/ui/FloatingPanel/FloatingPanel.tsx +122 -0
  527. package/src/ui/FloatingPanel/index.ts +2 -0
  528. package/src/ui/FormAlerts/FormAlerts.tsx +81 -0
  529. package/src/ui/FormAlerts/index.ts +2 -0
  530. package/src/ui/FormattedNumber/FormattedNumber.tsx +82 -0
  531. package/src/ui/FormattedNumber/index.ts +2 -0
  532. package/src/ui/GradientIconContainer/GradientIconContainer.tsx +84 -0
  533. package/src/ui/GradientIconContainer/index.ts +2 -0
  534. package/src/ui/Grid/Grid.tsx +144 -0
  535. package/src/ui/Grid/index.ts +2 -0
  536. package/src/ui/Heading/Heading.tsx +112 -0
  537. package/src/ui/Heading/index.ts +2 -0
  538. package/src/ui/HelperText/HelperText.tsx +91 -0
  539. package/src/ui/HelperText/index.ts +2 -0
  540. package/src/ui/IconContainer/IconContainer.tsx +82 -0
  541. package/src/ui/IconContainer/index.ts +2 -0
  542. package/src/ui/IconText/IconText.tsx +120 -0
  543. package/src/ui/IconText/index.ts +2 -0
  544. package/src/ui/InfiniteScroll/InfiniteScroll.tsx +192 -0
  545. package/src/ui/InfiniteScroll/index.ts +2 -0
  546. package/src/ui/InfoBox/InfoBox.tsx +120 -0
  547. package/src/ui/InfoBox/index.ts +2 -0
  548. package/src/ui/Input/Input.tsx +74 -0
  549. package/src/ui/Input/index.ts +1 -0
  550. package/src/ui/Kbd/Kbd.tsx +71 -0
  551. package/src/ui/Kbd/index.ts +1 -0
  552. package/src/ui/KeyValuePair/KeyValuePair.tsx +128 -0
  553. package/src/ui/KeyValuePair/index.ts +1 -0
  554. package/src/ui/Label/Label.tsx +54 -0
  555. package/src/ui/Label/index.ts +2 -0
  556. package/src/ui/Link/Link.tsx +104 -0
  557. package/src/ui/Link/index.ts +2 -0
  558. package/src/ui/List/List.tsx +182 -0
  559. package/src/ui/List/index.ts +2 -0
  560. package/src/ui/ListItemWithAction/ListItemWithAction.tsx +114 -0
  561. package/src/ui/ListItemWithAction/index.ts +2 -0
  562. package/src/ui/LoadingDots/LoadingDots.tsx +118 -0
  563. package/src/ui/LoadingDots/index.ts +2 -0
  564. package/src/ui/LoadingOverlay/LoadingOverlay.tsx +89 -0
  565. package/src/ui/LoadingOverlay/index.ts +2 -0
  566. package/src/ui/Logo/Logo.tsx +129 -0
  567. package/src/ui/Logo/index.ts +2 -0
  568. package/src/ui/Masonry/Masonry.tsx +57 -0
  569. package/src/ui/Masonry/index.ts +2 -0
  570. package/src/ui/MasterDetailLayout/MasterDetailLayout.tsx +272 -0
  571. package/src/ui/MasterDetailLayout/index.ts +1 -0
  572. package/src/ui/Modal/Modal.tsx +189 -0
  573. package/src/ui/Modal/index.ts +7 -0
  574. package/src/ui/MultiSelect/MultiSelect.tsx +283 -0
  575. package/src/ui/MultiSelect/index.ts +2 -0
  576. package/src/ui/NavigationList/NavigationList.tsx +138 -0
  577. package/src/ui/NavigationList/index.ts +2 -0
  578. package/src/ui/NumberInput/NumberInput.tsx +267 -0
  579. package/src/ui/NumberInput/index.ts +2 -0
  580. package/src/ui/Overlay/Overlay.tsx +86 -0
  581. package/src/ui/Overlay/index.ts +2 -0
  582. package/src/ui/PageContainer/PageContainer.tsx +95 -0
  583. package/src/ui/PageContainer/index.ts +2 -0
  584. package/src/ui/PageHeader/PageHeader.tsx +46 -0
  585. package/src/ui/PageHeader/index.ts +1 -0
  586. package/src/ui/PageSectionHeader/PageSectionHeader.tsx +138 -0
  587. package/src/ui/PageSectionHeader/index.ts +2 -0
  588. package/src/ui/Pagination/Pagination.tsx +271 -0
  589. package/src/ui/Pagination/index.ts +2 -0
  590. package/src/ui/PhoneInput/PhoneInput.tsx +267 -0
  591. package/src/ui/PhoneInput/index.ts +2 -0
  592. package/src/ui/Popover/Popover.tsx +155 -0
  593. package/src/ui/Popover/index.ts +2 -0
  594. package/src/ui/Progress/Progress.tsx +221 -0
  595. package/src/ui/Progress/index.ts +2 -0
  596. package/src/ui/ProgressCircle/ProgressCircle.tsx +136 -0
  597. package/src/ui/ProgressCircle/index.ts +2 -0
  598. package/src/ui/PromotionalBanner/PromotionalBanner.tsx +113 -0
  599. package/src/ui/PromotionalBanner/index.ts +1 -0
  600. package/src/ui/QuickActions/QuickActions.tsx +132 -0
  601. package/src/ui/QuickActions/index.ts +2 -0
  602. package/src/ui/ScrollArea/ScrollArea.tsx +77 -0
  603. package/src/ui/ScrollArea/index.ts +2 -0
  604. package/src/ui/ScrollSpy/ScrollSpy.tsx +313 -0
  605. package/src/ui/ScrollSpy/index.ts +1 -0
  606. package/src/ui/SearchInput/SearchInput.tsx +167 -0
  607. package/src/ui/SearchInput/index.ts +2 -0
  608. package/src/ui/SectionBadge/SectionBadge.tsx +105 -0
  609. package/src/ui/SectionBadge/index.ts +2 -0
  610. package/src/ui/SectionHeader/SectionHeader.tsx +74 -0
  611. package/src/ui/SectionHeader/index.ts +2 -0
  612. package/src/ui/Select/Select.tsx +186 -0
  613. package/src/ui/Select/index.ts +2 -0
  614. package/src/ui/Separator/Separator.tsx +90 -0
  615. package/src/ui/Separator/index.ts +2 -0
  616. package/src/ui/SettingsList/SettingsList.tsx +106 -0
  617. package/src/ui/SettingsList/index.ts +2 -0
  618. package/src/ui/Sheet/Sheet.tsx +309 -0
  619. package/src/ui/Sheet/index.ts +2 -0
  620. package/src/ui/SideNav/SideNav.tsx +82 -0
  621. package/src/ui/SideNav/index.ts +2 -0
  622. package/src/ui/Skeleton/Skeleton.tsx +153 -0
  623. package/src/ui/Skeleton/index.ts +7 -0
  624. package/src/ui/SmartLink/SmartLink.tsx +248 -0
  625. package/src/ui/SmartLink/index.ts +1 -0
  626. package/src/ui/Spacer/Spacer.tsx +83 -0
  627. package/src/ui/Spacer/index.ts +2 -0
  628. package/src/ui/Spinner/Spinner.tsx +63 -0
  629. package/src/ui/Spinner/index.ts +1 -0
  630. package/src/ui/SplitPane/SplitPane.tsx +204 -0
  631. package/src/ui/SplitPane/index.ts +1 -0
  632. package/src/ui/Stack/Stack.tsx +154 -0
  633. package/src/ui/Stack/index.ts +2 -0
  634. package/src/ui/StandardPageLayout/StandardPageLayout.tsx +40 -0
  635. package/src/ui/StandardPageLayout/index.ts +1 -0
  636. package/src/ui/StatDisplay/StatDisplay.tsx +124 -0
  637. package/src/ui/StatDisplay/index.ts +1 -0
  638. package/src/ui/StepList/StepList.tsx +151 -0
  639. package/src/ui/StepList/index.ts +1 -0
  640. package/src/ui/Switch/Switch.tsx +139 -0
  641. package/src/ui/Switch/index.ts +2 -0
  642. package/src/ui/Table/Table.tsx +192 -0
  643. package/src/ui/Table/index.ts +1 -0
  644. package/src/ui/Tabs/Tabs.tsx +196 -0
  645. package/src/ui/Tabs/index.ts +7 -0
  646. package/src/ui/Text/Text.tsx +117 -0
  647. package/src/ui/Text/index.ts +2 -0
  648. package/src/ui/TextArea/TextArea.tsx +138 -0
  649. package/src/ui/TextArea/index.ts +2 -0
  650. package/src/ui/TextInputModal/TextInputModal.tsx +225 -0
  651. package/src/ui/TextInputModal/index.ts +2 -0
  652. package/src/ui/TimePicker/TimePicker.tsx +325 -0
  653. package/src/ui/TimePicker/index.ts +2 -0
  654. package/src/ui/Toast/Toast.tsx +218 -0
  655. package/src/ui/Toast/index.ts +2 -0
  656. package/src/ui/Tooltip/Tooltip.tsx +183 -0
  657. package/src/ui/Tooltip/index.ts +2 -0
  658. package/src/ui/TransferList/TransferList.tsx +339 -0
  659. package/src/ui/TransferList/index.ts +2 -0
  660. package/src/ui/TreeView/TreeView.tsx +182 -0
  661. package/src/ui/TreeView/index.ts +2 -0
  662. package/src/ui/TruncatedText/TruncatedText.tsx +80 -0
  663. package/src/ui/TruncatedText/index.ts +2 -0
  664. package/src/ui/VirtualList/VirtualList.tsx +285 -0
  665. package/src/ui/VirtualList/index.ts +1 -0
  666. package/src/ui/VisuallyHidden/VisuallyHidden.tsx +50 -0
  667. package/src/ui/VisuallyHidden/index.ts +2 -0
@@ -0,0 +1,110 @@
1
+ import * as React from 'react';
2
+ import { useEffect, useRef, useState } from 'react';
3
+ import { Text, Animated } from 'react-native';
4
+ import { cn } from '../../lib/utils';
5
+
6
+ export interface AnimatedCounterProps {
7
+ /** Target value to count to */
8
+ value: number;
9
+ /** Animation duration in milliseconds */
10
+ duration?: number;
11
+ /** Number of decimal places */
12
+ decimals?: number;
13
+ /** Prefix (e.g., "$") */
14
+ prefix?: string;
15
+ /** Suffix (e.g., "%") */
16
+ suffix?: string;
17
+ /** Format with commas */
18
+ formatWithCommas?: boolean;
19
+ /** Additional className */
20
+ className?: string;
21
+ /** Text color className */
22
+ textClassName?: string;
23
+ }
24
+
25
+ /**
26
+ * AnimatedCounter Component
27
+ *
28
+ * Animated number counter that counts up/down to target value.
29
+ * Useful for statistics, dashboards, and metrics display.
30
+ *
31
+ * @example
32
+ * ```tsx
33
+ * <AnimatedCounter
34
+ * value={1234}
35
+ * duration={2000}
36
+ * prefix="$"
37
+ * formatWithCommas
38
+ * />
39
+ * ```
40
+ *
41
+ * @example
42
+ * ```tsx
43
+ * <AnimatedCounter
44
+ * value={99.9}
45
+ * decimals={1}
46
+ * suffix="%"
47
+ * />
48
+ * ```
49
+ */
50
+ export const AnimatedCounter: React.FC<AnimatedCounterProps> = ({
51
+ value,
52
+ duration = 1000,
53
+ decimals = 0,
54
+ prefix = '',
55
+ suffix = '',
56
+ formatWithCommas = false,
57
+ className,
58
+ textClassName,
59
+ }) => {
60
+ const [displayValue, setDisplayValue] = useState(0);
61
+ const animatedValue = useRef(new Animated.Value(0)).current;
62
+ const previousValue = useRef(0);
63
+
64
+ useEffect(() => {
65
+ // Listen to animated value changes
66
+ const listenerId = animatedValue.addListener(({ value: animValue }) => {
67
+ setDisplayValue(animValue);
68
+ });
69
+
70
+ // Animate from previous value to new value
71
+ Animated.timing(animatedValue, {
72
+ toValue: value,
73
+ duration,
74
+ useNativeDriver: false,
75
+ }).start();
76
+
77
+ previousValue.current = value;
78
+
79
+ return () => {
80
+ animatedValue.removeListener(listenerId);
81
+ };
82
+ }, [value, duration, animatedValue]);
83
+
84
+ // Format the display value
85
+ const formatValue = (val: number): string => {
86
+ const fixed = val.toFixed(decimals);
87
+
88
+ if (formatWithCommas) {
89
+ const parts = fixed.split('.');
90
+ parts[0] = parts[0].replace(/\B(?=(\d{3})+(?!\d))/g, ',');
91
+ return parts.join('.');
92
+ }
93
+
94
+ return fixed;
95
+ };
96
+
97
+ return (
98
+ <Text
99
+ className={cn(
100
+ 'text-2xl font-bold text-gray-900 dark:text-white',
101
+ textClassName,
102
+ className
103
+ )}
104
+ >
105
+ {prefix}
106
+ {formatValue(displayValue)}
107
+ {suffix}
108
+ </Text>
109
+ );
110
+ };
@@ -0,0 +1,2 @@
1
+ export { AnimatedCounter } from './AnimatedCounter';
2
+ export type { AnimatedCounterProps } from './AnimatedCounter';
@@ -0,0 +1,176 @@
1
+ import * as React from 'react';
2
+ import { useEffect, useRef } from 'react';
3
+ import { Animated, ViewStyle } from 'react-native';
4
+ import { cn } from '../../lib/utils';
5
+
6
+ export type AnimationType =
7
+ | 'fade-in'
8
+ | 'fade-in-up'
9
+ | 'fade-in-down'
10
+ | 'fade-in-left'
11
+ | 'fade-in-right'
12
+ | 'scale-in';
13
+
14
+ export interface AnimatedSectionProps {
15
+ /** Animation type */
16
+ animation?: AnimationType;
17
+ /** Animation delay in milliseconds */
18
+ delay?: number;
19
+ /** Animation duration in milliseconds */
20
+ duration?: number;
21
+ /** Children to animate */
22
+ children: React.ReactNode;
23
+ /** Additional className */
24
+ className?: string;
25
+ /** Additional style */
26
+ style?: ViewStyle;
27
+ }
28
+
29
+ /**
30
+ * AnimatedSection Component
31
+ *
32
+ * Wrapper component that animates its children on mount.
33
+ * Supports various animation types for entrance animations.
34
+ *
35
+ * @example
36
+ * ```tsx
37
+ * <AnimatedSection animation="fade-in-up" delay={200}>
38
+ * <Card>Content</Card>
39
+ * </AnimatedSection>
40
+ * ```
41
+ */
42
+ export const AnimatedSection: React.FC<AnimatedSectionProps> = ({
43
+ animation = 'fade-in',
44
+ delay = 0,
45
+ duration = 400,
46
+ children,
47
+ className,
48
+ style,
49
+ }) => {
50
+ const opacity = useRef(new Animated.Value(0)).current;
51
+ const translateY = useRef(new Animated.Value(0)).current;
52
+ const translateX = useRef(new Animated.Value(0)).current;
53
+ const scale = useRef(new Animated.Value(1)).current;
54
+
55
+ useEffect(() => {
56
+ // Set initial values based on animation type
57
+ switch (animation) {
58
+ case 'fade-in':
59
+ opacity.setValue(0);
60
+ break;
61
+ case 'fade-in-up':
62
+ opacity.setValue(0);
63
+ translateY.setValue(20);
64
+ break;
65
+ case 'fade-in-down':
66
+ opacity.setValue(0);
67
+ translateY.setValue(-20);
68
+ break;
69
+ case 'fade-in-left':
70
+ opacity.setValue(0);
71
+ translateX.setValue(-20);
72
+ break;
73
+ case 'fade-in-right':
74
+ opacity.setValue(0);
75
+ translateX.setValue(20);
76
+ break;
77
+ case 'scale-in':
78
+ opacity.setValue(0);
79
+ scale.setValue(0.9);
80
+ break;
81
+ }
82
+
83
+ // Animate to final values
84
+ const animations: Animated.CompositeAnimation[] = [];
85
+
86
+ animations.push(
87
+ Animated.timing(opacity, {
88
+ toValue: 1,
89
+ duration,
90
+ delay,
91
+ useNativeDriver: true,
92
+ })
93
+ );
94
+
95
+ if (animation === 'fade-in-up' || animation === 'fade-in-down') {
96
+ animations.push(
97
+ Animated.timing(translateY, {
98
+ toValue: 0,
99
+ duration,
100
+ delay,
101
+ useNativeDriver: true,
102
+ })
103
+ );
104
+ }
105
+
106
+ if (animation === 'fade-in-left' || animation === 'fade-in-right') {
107
+ animations.push(
108
+ Animated.timing(translateX, {
109
+ toValue: 0,
110
+ duration,
111
+ delay,
112
+ useNativeDriver: true,
113
+ })
114
+ );
115
+ }
116
+
117
+ if (animation === 'scale-in') {
118
+ animations.push(
119
+ Animated.timing(scale, {
120
+ toValue: 1,
121
+ duration,
122
+ delay,
123
+ useNativeDriver: true,
124
+ })
125
+ );
126
+ }
127
+
128
+ Animated.parallel(animations).start();
129
+ }, [animation, delay, duration, opacity, translateY, translateX, scale]);
130
+
131
+ return (
132
+ <Animated.View
133
+ className={cn(className)}
134
+ style={[
135
+ style,
136
+ {
137
+ opacity,
138
+ transform: [{ translateY }, { translateX }, { scale }],
139
+ },
140
+ ]}
141
+ >
142
+ {children}
143
+ </Animated.View>
144
+ );
145
+ };
146
+
147
+ // Utility components for common animation patterns
148
+ export const FadeIn: React.FC<{
149
+ children: React.ReactNode;
150
+ delay?: number;
151
+ className?: string;
152
+ }> = ({ children, delay = 0, className }) => (
153
+ <AnimatedSection animation='fade-in' delay={delay} className={className}>
154
+ {children}
155
+ </AnimatedSection>
156
+ );
157
+
158
+ export const FadeInUp: React.FC<{
159
+ children: React.ReactNode;
160
+ delay?: number;
161
+ className?: string;
162
+ }> = ({ children, delay = 0, className }) => (
163
+ <AnimatedSection animation='fade-in-up' delay={delay} className={className}>
164
+ {children}
165
+ </AnimatedSection>
166
+ );
167
+
168
+ export const FadeInScale: React.FC<{
169
+ children: React.ReactNode;
170
+ delay?: number;
171
+ className?: string;
172
+ }> = ({ children, delay = 0, className }) => (
173
+ <AnimatedSection animation='scale-in' delay={delay} className={className}>
174
+ {children}
175
+ </AnimatedSection>
176
+ );
@@ -0,0 +1,7 @@
1
+ export {
2
+ AnimatedSection,
3
+ FadeIn,
4
+ FadeInUp,
5
+ FadeInScale,
6
+ } from './AnimatedSection';
7
+ export type { AnimatedSectionProps, AnimationType } from './AnimatedSection';
@@ -0,0 +1,69 @@
1
+ import * as React from 'react';
2
+ import { View, useWindowDimensions } from 'react-native';
3
+ import { cn } from '../../lib/utils';
4
+
5
+ export interface AspectRatioProps {
6
+ /** Content to maintain aspect ratio */
7
+ children: React.ReactNode;
8
+ /** Aspect ratio (width/height or preset) */
9
+ ratio?: number | '16/9' | '4/3' | '1/1' | '21/9' | '3/2';
10
+ /** Additional className */
11
+ className?: string;
12
+ /** Fixed width (optional, defaults to full width) */
13
+ width?: number | 'full';
14
+ }
15
+
16
+ /**
17
+ * AspectRatio Component
18
+ *
19
+ * Maintains a specific aspect ratio for its content.
20
+ * Useful for responsive images, videos, and embeds.
21
+ *
22
+ * @example
23
+ * ```tsx
24
+ * <AspectRatio ratio="16/9">
25
+ * <Image source={{ uri: '/image.jpg' }} style={{ flex: 1 }} />
26
+ * </AspectRatio>
27
+ * ```
28
+ *
29
+ * @example
30
+ * ```tsx
31
+ * <AspectRatio ratio={1.5} width={200}>
32
+ * <View style={{ backgroundColor: 'blue', flex: 1 }} />
33
+ * </AspectRatio>
34
+ * ```
35
+ */
36
+ export const AspectRatio: React.FC<AspectRatioProps> = ({
37
+ children,
38
+ ratio = '16/9',
39
+ className,
40
+ width = 'full',
41
+ }) => {
42
+ const { width: screenWidth } = useWindowDimensions();
43
+
44
+ // Convert preset ratios to numbers
45
+ const ratioMap: Record<string, number> = {
46
+ '16/9': 16 / 9,
47
+ '4/3': 4 / 3,
48
+ '1/1': 1,
49
+ '21/9': 21 / 9,
50
+ '3/2': 3 / 2,
51
+ };
52
+
53
+ const numericRatio = typeof ratio === 'string' ? ratioMap[ratio] : ratio;
54
+
55
+ // Calculate container width
56
+ const containerWidth = width === 'full' ? screenWidth : width;
57
+
58
+ return (
59
+ <View
60
+ className={cn('relative overflow-hidden', className)}
61
+ style={{
62
+ width: width === 'full' ? '100%' : containerWidth,
63
+ aspectRatio: numericRatio,
64
+ }}
65
+ >
66
+ <View className='absolute inset-0'>{children}</View>
67
+ </View>
68
+ );
69
+ };
@@ -0,0 +1,2 @@
1
+ export { AspectRatio } from './AspectRatio';
2
+ export type { AspectRatioProps } from './AspectRatio';
@@ -0,0 +1,243 @@
1
+ import * as React from 'react';
2
+ import { useState } from 'react';
3
+ import { View, Text, Image, Pressable } from 'react-native';
4
+ import { cn } from '../../lib/utils';
5
+
6
+ export interface AvatarProps {
7
+ /** Image source URL */
8
+ src?: string;
9
+ /** Alt text for image */
10
+ alt?: string;
11
+ /** Fallback text (initials) to display when no image */
12
+ fallback?: string;
13
+ /** Name to generate initials from */
14
+ name?: string;
15
+ /** Size variant */
16
+ size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
17
+ /** Show status indicator */
18
+ status?: 'online' | 'offline' | 'away' | 'busy';
19
+ /** Additional className */
20
+ className?: string;
21
+ /** Click handler */
22
+ onPress?: () => void;
23
+ }
24
+
25
+ /**
26
+ * Avatar Component
27
+ *
28
+ * Avatar component for displaying user images or initials.
29
+ *
30
+ * @example
31
+ * ```tsx
32
+ * // User image
33
+ * <Avatar src="https://example.com/avatar.jpg" alt="John Doe" fallback="JD" />
34
+ *
35
+ * // Generate initials from name
36
+ * <Avatar name="John Doe" />
37
+ *
38
+ * // With status indicator
39
+ * <Avatar src="/avatar.jpg" status="online" />
40
+ * ```
41
+ */
42
+ export const Avatar: React.FC<AvatarProps> = ({
43
+ src,
44
+ alt = 'Avatar',
45
+ fallback,
46
+ name,
47
+ size = 'md',
48
+ status,
49
+ className,
50
+ onPress,
51
+ }) => {
52
+ const [imageError, setImageError] = useState(false);
53
+
54
+ // Size configurations
55
+ const sizeClasses = {
56
+ xs: 'w-6 h-6',
57
+ sm: 'w-8 h-8',
58
+ md: 'w-10 h-10',
59
+ lg: 'w-12 h-12',
60
+ xl: 'w-16 h-16',
61
+ };
62
+
63
+ const textSizeClasses = {
64
+ xs: 'text-xs',
65
+ sm: 'text-xs',
66
+ md: 'text-sm',
67
+ lg: 'text-base',
68
+ xl: 'text-lg',
69
+ };
70
+
71
+ const statusSizeClasses = {
72
+ xs: 'w-1.5 h-1.5',
73
+ sm: 'w-2 h-2',
74
+ md: 'w-2.5 h-2.5',
75
+ lg: 'w-3 h-3',
76
+ xl: 'w-4 h-4',
77
+ };
78
+
79
+ // Status indicator configurations
80
+ const statusClasses = {
81
+ online: 'bg-green-500',
82
+ offline: 'bg-gray-400',
83
+ away: 'bg-yellow-500',
84
+ busy: 'bg-red-500',
85
+ };
86
+
87
+ // Generate initials from name
88
+ const generateInitials = (name: string): string => {
89
+ const parts = name.trim().split(/\s+/);
90
+ if (parts.length === 1) {
91
+ return parts[0].charAt(0).toUpperCase();
92
+ }
93
+ return (
94
+ parts[0].charAt(0).toUpperCase() +
95
+ parts[parts.length - 1].charAt(0).toUpperCase()
96
+ );
97
+ };
98
+
99
+ // Determine what to display
100
+ const displayFallback = fallback || (name ? generateInitials(name) : '');
101
+ const showImage = src && !imageError;
102
+
103
+ const handleImageError = () => {
104
+ setImageError(true);
105
+ };
106
+
107
+ const content = (
108
+ <View className='relative'>
109
+ <View
110
+ className={cn(
111
+ 'flex items-center justify-center overflow-hidden rounded-full',
112
+ sizeClasses[size],
113
+ !showImage && 'bg-gray-300 dark:bg-gray-600',
114
+ className
115
+ )}
116
+ >
117
+ {showImage ? (
118
+ <Image
119
+ source={{ uri: src }}
120
+ className='w-full h-full'
121
+ accessibilityLabel={alt}
122
+ onError={handleImageError}
123
+ />
124
+ ) : (
125
+ <Text
126
+ className={cn(
127
+ 'font-semibold text-gray-700 dark:text-gray-200',
128
+ textSizeClasses[size]
129
+ )}
130
+ >
131
+ {displayFallback}
132
+ </Text>
133
+ )}
134
+ </View>
135
+ {status && (
136
+ <View
137
+ className={cn(
138
+ 'absolute bottom-0 right-0 rounded-full border-2 border-white dark:border-gray-800',
139
+ statusClasses[status],
140
+ statusSizeClasses[size]
141
+ )}
142
+ accessibilityLabel={status}
143
+ />
144
+ )}
145
+ </View>
146
+ );
147
+
148
+ if (onPress) {
149
+ return (
150
+ <Pressable
151
+ onPress={onPress}
152
+ accessibilityRole='button'
153
+ accessibilityLabel={alt}
154
+ >
155
+ {content}
156
+ </Pressable>
157
+ );
158
+ }
159
+
160
+ return content;
161
+ };
162
+
163
+ export interface AvatarGroupProps {
164
+ /** Avatar components */
165
+ children: React.ReactNode;
166
+ /** Maximum number of avatars to show */
167
+ max?: number;
168
+ /** Size for all avatars */
169
+ size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
170
+ /** Additional className */
171
+ className?: string;
172
+ }
173
+
174
+ /**
175
+ * AvatarGroup - Display multiple avatars in a stack
176
+ */
177
+ export const AvatarGroup: React.FC<AvatarGroupProps> = ({
178
+ children,
179
+ max = 5,
180
+ size = 'md',
181
+ className,
182
+ }) => {
183
+ const childArray = React.Children.toArray(children);
184
+ const excess = childArray.length - max;
185
+ const visibleChildren = childArray.slice(0, max);
186
+
187
+ // Overlap amounts based on size
188
+ const overlapClasses = {
189
+ xs: '-ml-2',
190
+ sm: '-ml-2',
191
+ md: '-ml-3',
192
+ lg: '-ml-4',
193
+ xl: '-ml-5',
194
+ };
195
+
196
+ return (
197
+ <View className={cn('flex flex-row items-center', className)}>
198
+ {visibleChildren.map((child, index) => (
199
+ <View
200
+ key={index}
201
+ className={cn(index > 0 && overlapClasses[size])}
202
+ style={{ zIndex: visibleChildren.length - index }}
203
+ >
204
+ {React.isValidElement(child)
205
+ ? React.cloneElement(child as React.ReactElement<AvatarProps>, {
206
+ size,
207
+ })
208
+ : child}
209
+ </View>
210
+ ))}
211
+ {excess > 0 && (
212
+ <View
213
+ className={cn(
214
+ overlapClasses[size],
215
+ 'flex items-center justify-center rounded-full bg-gray-200 dark:bg-gray-600',
216
+ {
217
+ xs: 'w-6 h-6',
218
+ sm: 'w-8 h-8',
219
+ md: 'w-10 h-10',
220
+ lg: 'w-12 h-12',
221
+ xl: 'w-16 h-16',
222
+ }[size]
223
+ )}
224
+ >
225
+ <Text
226
+ className={cn(
227
+ 'font-medium text-gray-700 dark:text-gray-200',
228
+ {
229
+ xs: 'text-xs',
230
+ sm: 'text-xs',
231
+ md: 'text-sm',
232
+ lg: 'text-base',
233
+ xl: 'text-lg',
234
+ }[size]
235
+ )}
236
+ >
237
+ +{excess}
238
+ </Text>
239
+ </View>
240
+ )}
241
+ </View>
242
+ );
243
+ };
@@ -0,0 +1,2 @@
1
+ export { Avatar, AvatarGroup } from './Avatar';
2
+ export type { AvatarProps, AvatarGroupProps } from './Avatar';
@@ -0,0 +1,85 @@
1
+ import * as React from 'react';
2
+ import { Pressable, View } from 'react-native';
3
+ import { cn } from '../../lib/utils';
4
+
5
+ export interface BackdropProps {
6
+ /** Whether the backdrop is visible */
7
+ isOpen: boolean;
8
+ /** Press handler for backdrop */
9
+ onPress?: () => void;
10
+ /** Backdrop opacity variant */
11
+ opacity?: 'light' | 'medium' | 'dark';
12
+ /** Children to render on top of backdrop */
13
+ children?: React.ReactNode;
14
+ /** Additional className */
15
+ className?: string;
16
+ }
17
+
18
+ /**
19
+ * Backdrop Component
20
+ *
21
+ * Reusable backdrop/overlay for modals, drawers, and dialogs.
22
+ * Provides consistent darkening effect.
23
+ *
24
+ * @example
25
+ * ```tsx
26
+ * <Backdrop isOpen={isModalOpen} onPress={closeModal}>
27
+ * <View onStartShouldSetResponder={() => true}>
28
+ * <ModalContent />
29
+ * </View>
30
+ * </Backdrop>
31
+ * ```
32
+ *
33
+ * @example
34
+ * ```tsx
35
+ * <Backdrop
36
+ * isOpen={isDrawerOpen}
37
+ * onPress={closeDrawer}
38
+ * opacity="medium"
39
+ * >
40
+ * <Drawer />
41
+ * </Backdrop>
42
+ * ```
43
+ */
44
+ export const Backdrop: React.FC<BackdropProps> = ({
45
+ isOpen,
46
+ onPress,
47
+ opacity = 'medium',
48
+ children,
49
+ className,
50
+ }) => {
51
+ if (!isOpen) return null;
52
+
53
+ // Opacity configurations
54
+ const opacityClasses = {
55
+ light: 'bg-black/20',
56
+ medium: 'bg-black/50',
57
+ dark: 'bg-black/75',
58
+ };
59
+
60
+ if (children) {
61
+ return (
62
+ <Pressable
63
+ onPress={onPress}
64
+ className={cn('absolute inset-0', opacityClasses[opacity], className)}
65
+ accessibilityRole='none'
66
+ >
67
+ <View
68
+ className='flex-1'
69
+ onStartShouldSetResponder={() => true}
70
+ onResponderRelease={e => e.stopPropagation()}
71
+ >
72
+ {children}
73
+ </View>
74
+ </Pressable>
75
+ );
76
+ }
77
+
78
+ return (
79
+ <Pressable
80
+ onPress={onPress}
81
+ className={cn('absolute inset-0', opacityClasses[opacity], className)}
82
+ accessibilityRole='none'
83
+ />
84
+ );
85
+ };
@@ -0,0 +1,2 @@
1
+ export { Backdrop } from './Backdrop';
2
+ export type { BackdropProps } from './Backdrop';