@campxdev/react-native-blueprint 0.1.8 → 0.1.11

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 (407) hide show
  1. package/README.md +188 -89
  2. package/lib/commonjs/app/_layout.js +34 -0
  3. package/lib/commonjs/app/_layout.js.map +1 -0
  4. package/lib/commonjs/assets/icons/weather_icons/drizzle.png +0 -0
  5. package/lib/commonjs/assets/icons/weather_icons/foggy.png +0 -0
  6. package/lib/commonjs/assets/icons/weather_icons/freezing_rain.png +0 -0
  7. package/lib/commonjs/assets/icons/weather_icons/partly_cloudy.png +0 -0
  8. package/lib/commonjs/assets/icons/weather_icons/rainy.png +0 -0
  9. package/lib/commonjs/assets/icons/weather_icons/showers.png +0 -0
  10. package/lib/commonjs/assets/icons/weather_icons/sunny_weather.png +0 -0
  11. package/lib/commonjs/assets/icons/weather_icons/thunderstorm.png +0 -0
  12. package/lib/commonjs/assets/icons/weather_icons/thunderstorm_hail.png +0 -0
  13. package/lib/commonjs/components/theme-config.js +274 -0
  14. package/lib/commonjs/components/theme-config.js.map +1 -0
  15. package/lib/commonjs/components/ui/Accordion.js +235 -0
  16. package/lib/commonjs/components/ui/Accordion.js.map +1 -0
  17. package/lib/commonjs/components/ui/Alert-Dialog.js +280 -0
  18. package/lib/commonjs/components/ui/Alert-Dialog.js.map +1 -0
  19. package/lib/commonjs/components/ui/Alert.js +113 -0
  20. package/lib/commonjs/components/ui/Alert.js.map +1 -0
  21. package/lib/commonjs/components/ui/AppBar.js +407 -0
  22. package/lib/commonjs/components/ui/AppBar.js.map +1 -0
  23. package/lib/commonjs/components/ui/Aspect-Ratio.js +30 -0
  24. package/lib/commonjs/components/ui/Aspect-Ratio.js.map +1 -0
  25. package/lib/commonjs/components/ui/Avatar.js +101 -0
  26. package/lib/commonjs/components/ui/Avatar.js.map +1 -0
  27. package/lib/commonjs/components/ui/Badge.js +131 -0
  28. package/lib/commonjs/components/ui/Badge.js.map +1 -0
  29. package/lib/commonjs/components/ui/Bottom-Sheet.js +156 -0
  30. package/lib/commonjs/components/ui/Bottom-Sheet.js.map +1 -0
  31. package/lib/commonjs/components/ui/Button.js +92 -0
  32. package/lib/commonjs/components/ui/Button.js.map +1 -0
  33. package/lib/commonjs/components/ui/Card.js +180 -0
  34. package/lib/commonjs/components/ui/Card.js.map +1 -0
  35. package/lib/commonjs/components/ui/Checkbox.js +69 -0
  36. package/lib/commonjs/components/ui/Checkbox.js.map +1 -0
  37. package/lib/commonjs/components/ui/Collapsible.js +45 -0
  38. package/lib/commonjs/components/ui/Collapsible.js.map +1 -0
  39. package/lib/commonjs/components/ui/Context-Menu.js +304 -0
  40. package/lib/commonjs/components/ui/Context-Menu.js.map +1 -0
  41. package/lib/commonjs/components/ui/Custom-Card.js +210 -0
  42. package/lib/commonjs/components/ui/Custom-Card.js.map +1 -0
  43. package/lib/commonjs/components/ui/Dialog.js +214 -0
  44. package/lib/commonjs/components/ui/Dialog.js.map +1 -0
  45. package/lib/commonjs/components/ui/Dropdown-Menu.js +438 -0
  46. package/lib/commonjs/components/ui/Dropdown-Menu.js.map +1 -0
  47. package/lib/commonjs/components/ui/Floating-Action.js +55 -0
  48. package/lib/commonjs/components/ui/Floating-Action.js.map +1 -0
  49. package/lib/commonjs/components/ui/Greeting-Card.js +401 -0
  50. package/lib/commonjs/components/ui/Greeting-Card.js.map +1 -0
  51. package/lib/commonjs/components/ui/Hover-Card.js +100 -0
  52. package/lib/commonjs/components/ui/Hover-Card.js.map +1 -0
  53. package/lib/commonjs/components/ui/Icon.js +76 -0
  54. package/lib/commonjs/components/ui/Icon.js.map +1 -0
  55. package/lib/commonjs/components/ui/Input.js +79 -0
  56. package/lib/commonjs/components/ui/Input.js.map +1 -0
  57. package/lib/commonjs/components/ui/Label.js +48 -0
  58. package/lib/commonjs/components/ui/Label.js.map +1 -0
  59. package/lib/commonjs/components/ui/Menubar.js +392 -0
  60. package/lib/commonjs/components/ui/Menubar.js.map +1 -0
  61. package/lib/commonjs/components/ui/Native-Only-Animated-View.js +43 -0
  62. package/lib/commonjs/components/ui/Native-Only-Animated-View.js.map +1 -0
  63. package/lib/commonjs/components/ui/NavBar.js +356 -0
  64. package/lib/commonjs/components/ui/NavBar.js.map +1 -0
  65. package/lib/commonjs/components/ui/Popover.js +105 -0
  66. package/lib/commonjs/components/ui/Popover.js.map +1 -0
  67. package/lib/commonjs/components/ui/Progress.js +127 -0
  68. package/lib/commonjs/components/ui/Progress.js.map +1 -0
  69. package/lib/commonjs/components/ui/Radio-Group.js +78 -0
  70. package/lib/commonjs/components/ui/Radio-Group.js.map +1 -0
  71. package/lib/commonjs/components/ui/Select.js +283 -0
  72. package/lib/commonjs/components/ui/Select.js.map +1 -0
  73. package/lib/commonjs/components/ui/Separator.js +62 -0
  74. package/lib/commonjs/components/ui/Separator.js.map +1 -0
  75. package/lib/commonjs/components/ui/SizedBox.js +106 -0
  76. package/lib/commonjs/components/ui/SizedBox.js.map +1 -0
  77. package/lib/commonjs/components/ui/Skeleton.js +60 -0
  78. package/lib/commonjs/components/ui/Skeleton.js.map +1 -0
  79. package/lib/commonjs/components/ui/Slider.js +178 -0
  80. package/lib/commonjs/components/ui/Slider.js.map +1 -0
  81. package/lib/commonjs/components/ui/Switch.js +57 -0
  82. package/lib/commonjs/components/ui/Switch.js.map +1 -0
  83. package/lib/commonjs/components/ui/Table.js +161 -0
  84. package/lib/commonjs/components/ui/Table.js.map +1 -0
  85. package/lib/commonjs/components/ui/Tabs.js +111 -0
  86. package/lib/commonjs/components/ui/Tabs.js.map +1 -0
  87. package/lib/commonjs/components/ui/Text.js +73 -0
  88. package/lib/commonjs/components/ui/Text.js.map +1 -0
  89. package/lib/commonjs/components/ui/Textarea.js +93 -0
  90. package/lib/commonjs/components/ui/Textarea.js.map +1 -0
  91. package/lib/commonjs/components/ui/Theme-Toggle.js +160 -0
  92. package/lib/commonjs/components/ui/Theme-Toggle.js.map +1 -0
  93. package/lib/commonjs/components/ui/Toast.js +107 -0
  94. package/lib/commonjs/components/ui/Toast.js.map +1 -0
  95. package/lib/commonjs/components/ui/Toggle-Group.js +133 -0
  96. package/lib/commonjs/components/ui/Toggle-Group.js.map +1 -0
  97. package/lib/commonjs/components/ui/Toggle.js +110 -0
  98. package/lib/commonjs/components/ui/Toggle.js.map +1 -0
  99. package/lib/commonjs/components/ui/Tooltip.js +110 -0
  100. package/lib/commonjs/components/ui/Tooltip.js.map +1 -0
  101. package/lib/commonjs/components/ui/index.js +479 -0
  102. package/lib/commonjs/components/ui/index.js.map +1 -0
  103. package/lib/commonjs/global.css +417 -0
  104. package/lib/commonjs/index.js +118 -0
  105. package/lib/commonjs/index.js.map +1 -0
  106. package/lib/commonjs/lib/ThemeProvider.js +180 -0
  107. package/lib/commonjs/lib/ThemeProvider.js.map +1 -0
  108. package/lib/commonjs/lib/cornerRadius.js +171 -0
  109. package/lib/commonjs/lib/cornerRadius.js.map +1 -0
  110. package/lib/commonjs/lib/fonts.js +101 -0
  111. package/lib/commonjs/lib/fonts.js.map +1 -0
  112. package/lib/commonjs/lib/slot-helpers.js +24 -0
  113. package/lib/commonjs/lib/slot-helpers.js.map +1 -0
  114. package/lib/commonjs/lib/theme.js +215 -0
  115. package/lib/commonjs/lib/theme.js.map +1 -0
  116. package/lib/commonjs/lib/utils.js +142 -0
  117. package/lib/commonjs/lib/utils.js.map +1 -0
  118. package/lib/commonjs/package.json +1 -0
  119. package/lib/commonjs/types/components.d.js +6 -0
  120. package/lib/commonjs/types/components.d.js.map +1 -0
  121. package/lib/commonjs/types/global.d.js +8 -0
  122. package/lib/commonjs/types/global.d.js.map +1 -0
  123. package/lib/commonjs/types/rn-primitives.d.js +6 -0
  124. package/lib/commonjs/types/rn-primitives.d.js.map +1 -0
  125. package/lib/module/components/ui/Alert-Dialog.js.map +1 -1
  126. package/lib/module/components/ui/Context-Menu.js.map +1 -1
  127. package/lib/module/components/ui/Dropdown-Menu.js.map +1 -1
  128. package/lib/module/components/ui/Menubar.js.map +1 -1
  129. package/lib/module/components/ui/Tabs.js.map +1 -1
  130. package/lib/module/components/ui/Toggle-Group.js.map +1 -1
  131. package/lib/module/lib/fonts.js +81 -8
  132. package/lib/module/lib/fonts.js.map +1 -1
  133. package/lib/typescript/commonjs/package.json +1 -0
  134. package/lib/typescript/commonjs/src/app/_layout.d.ts.map +1 -0
  135. package/lib/typescript/commonjs/src/components/theme-config.d.ts.map +1 -0
  136. package/lib/typescript/commonjs/src/components/ui/Accordion.d.ts.map +1 -0
  137. package/lib/typescript/commonjs/src/components/ui/Alert-Dialog.d.ts.map +1 -0
  138. package/lib/typescript/commonjs/src/components/ui/Alert.d.ts.map +1 -0
  139. package/lib/typescript/commonjs/src/components/ui/AppBar.d.ts.map +1 -0
  140. package/lib/typescript/commonjs/src/components/ui/Aspect-Ratio.d.ts.map +1 -0
  141. package/lib/typescript/{src → commonjs/src}/components/ui/Avatar.d.ts +59 -59
  142. package/lib/typescript/{src → commonjs/src}/components/ui/Avatar.d.ts.map +1 -1
  143. package/lib/typescript/commonjs/src/components/ui/Badge.d.ts.map +1 -0
  144. package/lib/typescript/commonjs/src/components/ui/Bottom-Sheet.d.ts.map +1 -0
  145. package/lib/typescript/commonjs/src/components/ui/Button.d.ts.map +1 -0
  146. package/lib/typescript/commonjs/src/components/ui/Card.d.ts.map +1 -0
  147. package/lib/typescript/commonjs/src/components/ui/Checkbox.d.ts.map +1 -0
  148. package/lib/typescript/commonjs/src/components/ui/Collapsible.d.ts.map +1 -0
  149. package/lib/typescript/commonjs/src/components/ui/Context-Menu.d.ts.map +1 -0
  150. package/lib/typescript/commonjs/src/components/ui/Custom-Card.d.ts.map +1 -0
  151. package/lib/typescript/commonjs/src/components/ui/Dialog.d.ts.map +1 -0
  152. package/lib/typescript/commonjs/src/components/ui/Dropdown-Menu.d.ts.map +1 -0
  153. package/lib/typescript/commonjs/src/components/ui/Floating-Action.d.ts.map +1 -0
  154. package/lib/typescript/commonjs/src/components/ui/Greeting-Card.d.ts.map +1 -0
  155. package/lib/typescript/commonjs/src/components/ui/Hover-Card.d.ts.map +1 -0
  156. package/lib/typescript/commonjs/src/components/ui/Icon.d.ts.map +1 -0
  157. package/lib/typescript/commonjs/src/components/ui/Input.d.ts.map +1 -0
  158. package/lib/typescript/commonjs/src/components/ui/Label.d.ts.map +1 -0
  159. package/lib/typescript/commonjs/src/components/ui/Menubar.d.ts.map +1 -0
  160. package/lib/typescript/commonjs/src/components/ui/Native-Only-Animated-View.d.ts.map +1 -0
  161. package/lib/typescript/commonjs/src/components/ui/NavBar.d.ts.map +1 -0
  162. package/lib/typescript/commonjs/src/components/ui/Popover.d.ts.map +1 -0
  163. package/lib/typescript/commonjs/src/components/ui/Progress.d.ts.map +1 -0
  164. package/lib/typescript/commonjs/src/components/ui/Radio-Group.d.ts.map +1 -0
  165. package/lib/typescript/commonjs/src/components/ui/Select.d.ts.map +1 -0
  166. package/lib/typescript/commonjs/src/components/ui/Separator.d.ts.map +1 -0
  167. package/lib/typescript/commonjs/src/components/ui/SizedBox.d.ts.map +1 -0
  168. package/lib/typescript/commonjs/src/components/ui/Skeleton.d.ts.map +1 -0
  169. package/lib/typescript/commonjs/src/components/ui/Slider.d.ts.map +1 -0
  170. package/lib/typescript/commonjs/src/components/ui/Switch.d.ts.map +1 -0
  171. package/lib/typescript/commonjs/src/components/ui/Table.d.ts.map +1 -0
  172. package/lib/typescript/commonjs/src/components/ui/Tabs.d.ts.map +1 -0
  173. package/lib/typescript/commonjs/src/components/ui/Text.d.ts.map +1 -0
  174. package/lib/typescript/commonjs/src/components/ui/Textarea.d.ts.map +1 -0
  175. package/lib/typescript/commonjs/src/components/ui/Theme-Toggle.d.ts.map +1 -0
  176. package/lib/typescript/commonjs/src/components/ui/Toast.d.ts.map +1 -0
  177. package/lib/typescript/commonjs/src/components/ui/Toggle-Group.d.ts.map +1 -0
  178. package/lib/typescript/commonjs/src/components/ui/Toggle.d.ts.map +1 -0
  179. package/lib/typescript/commonjs/src/components/ui/Tooltip.d.ts.map +1 -0
  180. package/lib/typescript/commonjs/src/components/ui/index.d.ts.map +1 -0
  181. package/lib/typescript/commonjs/src/index.d.ts.map +1 -0
  182. package/lib/typescript/commonjs/src/lib/ThemeProvider.d.ts.map +1 -0
  183. package/lib/typescript/commonjs/src/lib/cornerRadius.d.ts.map +1 -0
  184. package/lib/typescript/commonjs/src/lib/fonts.d.ts +16 -0
  185. package/lib/typescript/commonjs/src/lib/fonts.d.ts.map +1 -0
  186. package/lib/typescript/commonjs/src/lib/slot-helpers.d.ts.map +1 -0
  187. package/lib/typescript/commonjs/src/lib/theme.d.ts.map +1 -0
  188. package/lib/typescript/commonjs/src/lib/utils.d.ts.map +1 -0
  189. package/lib/typescript/module/src/app/_layout.d.ts +7 -0
  190. package/lib/typescript/module/src/app/_layout.d.ts.map +1 -0
  191. package/lib/typescript/module/src/components/theme-config.d.ts +174 -0
  192. package/lib/typescript/module/src/components/theme-config.d.ts.map +1 -0
  193. package/lib/typescript/module/src/components/ui/Accordion.d.ts +103 -0
  194. package/lib/typescript/module/src/components/ui/Accordion.d.ts.map +1 -0
  195. package/lib/typescript/module/src/components/ui/Alert-Dialog.d.ts +145 -0
  196. package/lib/typescript/module/src/components/ui/Alert-Dialog.d.ts.map +1 -0
  197. package/lib/typescript/module/src/components/ui/Alert.d.ts +61 -0
  198. package/lib/typescript/module/src/components/ui/Alert.d.ts.map +1 -0
  199. package/lib/typescript/module/src/components/ui/AppBar.d.ts +227 -0
  200. package/lib/typescript/module/src/components/ui/AppBar.d.ts.map +1 -0
  201. package/lib/typescript/module/src/components/ui/Aspect-Ratio.d.ts +24 -0
  202. package/lib/typescript/module/src/components/ui/Aspect-Ratio.d.ts.map +1 -0
  203. package/lib/typescript/module/src/components/ui/Avatar.d.ts +1486 -0
  204. package/lib/typescript/module/src/components/ui/Avatar.d.ts.map +1 -0
  205. package/lib/typescript/module/src/components/ui/Badge.d.ts +77 -0
  206. package/lib/typescript/module/src/components/ui/Badge.d.ts.map +1 -0
  207. package/lib/typescript/module/src/components/ui/Bottom-Sheet.d.ts +43 -0
  208. package/lib/typescript/module/src/components/ui/Bottom-Sheet.d.ts.map +1 -0
  209. package/lib/typescript/module/src/components/ui/Button.d.ts +23 -0
  210. package/lib/typescript/module/src/components/ui/Button.d.ts.map +1 -0
  211. package/lib/typescript/module/src/components/ui/Card.d.ts +93 -0
  212. package/lib/typescript/module/src/components/ui/Card.d.ts.map +1 -0
  213. package/lib/typescript/module/src/components/ui/Checkbox.d.ts +36 -0
  214. package/lib/typescript/module/src/components/ui/Checkbox.d.ts.map +1 -0
  215. package/lib/typescript/module/src/components/ui/Collapsible.d.ts +37 -0
  216. package/lib/typescript/module/src/components/ui/Collapsible.d.ts.map +1 -0
  217. package/lib/typescript/module/src/components/ui/Context-Menu.d.ts +107 -0
  218. package/lib/typescript/module/src/components/ui/Context-Menu.d.ts.map +1 -0
  219. package/lib/typescript/module/src/components/ui/Custom-Card.d.ts +103 -0
  220. package/lib/typescript/module/src/components/ui/Custom-Card.d.ts.map +1 -0
  221. package/lib/typescript/module/src/components/ui/Dialog.d.ts +90 -0
  222. package/lib/typescript/module/src/components/ui/Dialog.d.ts.map +1 -0
  223. package/lib/typescript/module/src/components/ui/Dropdown-Menu.d.ts +242 -0
  224. package/lib/typescript/module/src/components/ui/Dropdown-Menu.d.ts.map +1 -0
  225. package/lib/typescript/module/src/components/ui/Floating-Action.d.ts +44 -0
  226. package/lib/typescript/module/src/components/ui/Floating-Action.d.ts.map +1 -0
  227. package/lib/typescript/module/src/components/ui/Greeting-Card.d.ts +153 -0
  228. package/lib/typescript/module/src/components/ui/Greeting-Card.d.ts.map +1 -0
  229. package/lib/typescript/module/src/components/ui/Hover-Card.d.ts +49 -0
  230. package/lib/typescript/module/src/components/ui/Hover-Card.d.ts.map +1 -0
  231. package/lib/typescript/module/src/components/ui/Icon.d.ts +43 -0
  232. package/lib/typescript/module/src/components/ui/Icon.d.ts.map +1 -0
  233. package/lib/typescript/module/src/components/ui/Input.d.ts +54 -0
  234. package/lib/typescript/module/src/components/ui/Input.d.ts.map +1 -0
  235. package/lib/typescript/module/src/components/ui/Label.d.ts +34 -0
  236. package/lib/typescript/module/src/components/ui/Label.d.ts.map +1 -0
  237. package/lib/typescript/module/src/components/ui/Menubar.d.ts +142 -0
  238. package/lib/typescript/module/src/components/ui/Menubar.d.ts.map +1 -0
  239. package/lib/typescript/module/src/components/ui/Native-Only-Animated-View.d.ts +26 -0
  240. package/lib/typescript/module/src/components/ui/Native-Only-Animated-View.d.ts.map +1 -0
  241. package/lib/typescript/module/src/components/ui/NavBar.d.ts +273 -0
  242. package/lib/typescript/module/src/components/ui/NavBar.d.ts.map +1 -0
  243. package/lib/typescript/module/src/components/ui/Popover.d.ts +54 -0
  244. package/lib/typescript/module/src/components/ui/Popover.d.ts.map +1 -0
  245. package/lib/typescript/module/src/components/ui/Progress.d.ts +27 -0
  246. package/lib/typescript/module/src/components/ui/Progress.d.ts.map +1 -0
  247. package/lib/typescript/module/src/components/ui/Radio-Group.d.ts +47 -0
  248. package/lib/typescript/module/src/components/ui/Radio-Group.d.ts.map +1 -0
  249. package/lib/typescript/module/src/components/ui/Select.d.ts +86 -0
  250. package/lib/typescript/module/src/components/ui/Select.d.ts.map +1 -0
  251. package/lib/typescript/module/src/components/ui/Separator.d.ts +40 -0
  252. package/lib/typescript/module/src/components/ui/Separator.d.ts.map +1 -0
  253. package/lib/typescript/module/src/components/ui/SizedBox.d.ts +79 -0
  254. package/lib/typescript/module/src/components/ui/SizedBox.d.ts.map +1 -0
  255. package/lib/typescript/module/src/components/ui/Skeleton.d.ts +42 -0
  256. package/lib/typescript/module/src/components/ui/Skeleton.d.ts.map +1 -0
  257. package/lib/typescript/module/src/components/ui/Slider.d.ts +56 -0
  258. package/lib/typescript/module/src/components/ui/Slider.d.ts.map +1 -0
  259. package/lib/typescript/module/src/components/ui/Switch.d.ts +34 -0
  260. package/lib/typescript/module/src/components/ui/Switch.d.ts.map +1 -0
  261. package/lib/typescript/module/src/components/ui/Table.d.ts +80 -0
  262. package/lib/typescript/module/src/components/ui/Table.d.ts.map +1 -0
  263. package/lib/typescript/module/src/components/ui/Tabs.d.ts +51 -0
  264. package/lib/typescript/module/src/components/ui/Tabs.d.ts.map +1 -0
  265. package/lib/typescript/module/src/components/ui/Text.d.ts +45 -0
  266. package/lib/typescript/module/src/components/ui/Text.d.ts.map +1 -0
  267. package/lib/typescript/module/src/components/ui/Textarea.d.ts +65 -0
  268. package/lib/typescript/module/src/components/ui/Textarea.d.ts.map +1 -0
  269. package/lib/typescript/module/src/components/ui/Theme-Toggle.d.ts +67 -0
  270. package/lib/typescript/module/src/components/ui/Theme-Toggle.d.ts.map +1 -0
  271. package/lib/typescript/module/src/components/ui/Toast.d.ts +56 -0
  272. package/lib/typescript/module/src/components/ui/Toast.d.ts.map +1 -0
  273. package/lib/typescript/module/src/components/ui/Toggle-Group.d.ts +49 -0
  274. package/lib/typescript/module/src/components/ui/Toggle-Group.d.ts.map +1 -0
  275. package/lib/typescript/module/src/components/ui/Toggle.d.ts +53 -0
  276. package/lib/typescript/module/src/components/ui/Toggle.d.ts.map +1 -0
  277. package/lib/typescript/module/src/components/ui/Tooltip.d.ts +51 -0
  278. package/lib/typescript/module/src/components/ui/Tooltip.d.ts.map +1 -0
  279. package/lib/typescript/module/src/components/ui/index.d.ts +44 -0
  280. package/lib/typescript/module/src/components/ui/index.d.ts.map +1 -0
  281. package/lib/typescript/module/src/index.d.ts +9 -0
  282. package/lib/typescript/module/src/index.d.ts.map +1 -0
  283. package/lib/typescript/module/src/lib/ThemeProvider.d.ts +137 -0
  284. package/lib/typescript/module/src/lib/ThemeProvider.d.ts.map +1 -0
  285. package/lib/typescript/module/src/lib/cornerRadius.d.ts +112 -0
  286. package/lib/typescript/module/src/lib/cornerRadius.d.ts.map +1 -0
  287. package/lib/typescript/module/src/lib/fonts.d.ts +16 -0
  288. package/lib/typescript/module/src/lib/fonts.d.ts.map +1 -0
  289. package/lib/typescript/module/src/lib/slot-helpers.d.ts +32 -0
  290. package/lib/typescript/module/src/lib/slot-helpers.d.ts.map +1 -0
  291. package/lib/typescript/module/src/lib/theme.d.ts +87 -0
  292. package/lib/typescript/module/src/lib/theme.d.ts.map +1 -0
  293. package/lib/typescript/module/src/lib/utils.d.ts +111 -0
  294. package/lib/typescript/module/src/lib/utils.d.ts.map +1 -0
  295. package/package.json +180 -50
  296. package/src/components/ui/Alert-Dialog.tsx +2 -2
  297. package/src/components/ui/Context-Menu.tsx +1 -1
  298. package/src/components/ui/Dropdown-Menu.tsx +1 -1
  299. package/src/components/ui/Menubar.tsx +2 -2
  300. package/src/components/ui/Tabs.tsx +1 -1
  301. package/src/components/ui/Toggle-Group.tsx +2 -2
  302. package/src/lib/fonts.ts +83 -12
  303. package/lib/typescript/src/app/_layout.d.ts.map +0 -1
  304. package/lib/typescript/src/components/theme-config.d.ts.map +0 -1
  305. package/lib/typescript/src/components/ui/Accordion.d.ts.map +0 -1
  306. package/lib/typescript/src/components/ui/Alert-Dialog.d.ts.map +0 -1
  307. package/lib/typescript/src/components/ui/Alert.d.ts.map +0 -1
  308. package/lib/typescript/src/components/ui/AppBar.d.ts.map +0 -1
  309. package/lib/typescript/src/components/ui/Aspect-Ratio.d.ts.map +0 -1
  310. package/lib/typescript/src/components/ui/Badge.d.ts.map +0 -1
  311. package/lib/typescript/src/components/ui/Bottom-Sheet.d.ts.map +0 -1
  312. package/lib/typescript/src/components/ui/Button.d.ts.map +0 -1
  313. package/lib/typescript/src/components/ui/Card.d.ts.map +0 -1
  314. package/lib/typescript/src/components/ui/Checkbox.d.ts.map +0 -1
  315. package/lib/typescript/src/components/ui/Collapsible.d.ts.map +0 -1
  316. package/lib/typescript/src/components/ui/Context-Menu.d.ts.map +0 -1
  317. package/lib/typescript/src/components/ui/Custom-Card.d.ts.map +0 -1
  318. package/lib/typescript/src/components/ui/Dialog.d.ts.map +0 -1
  319. package/lib/typescript/src/components/ui/Dropdown-Menu.d.ts.map +0 -1
  320. package/lib/typescript/src/components/ui/Floating-Action.d.ts.map +0 -1
  321. package/lib/typescript/src/components/ui/Greeting-Card.d.ts.map +0 -1
  322. package/lib/typescript/src/components/ui/Hover-Card.d.ts.map +0 -1
  323. package/lib/typescript/src/components/ui/Icon.d.ts.map +0 -1
  324. package/lib/typescript/src/components/ui/Input.d.ts.map +0 -1
  325. package/lib/typescript/src/components/ui/Label.d.ts.map +0 -1
  326. package/lib/typescript/src/components/ui/Menubar.d.ts.map +0 -1
  327. package/lib/typescript/src/components/ui/Native-Only-Animated-View.d.ts.map +0 -1
  328. package/lib/typescript/src/components/ui/NavBar.d.ts.map +0 -1
  329. package/lib/typescript/src/components/ui/Popover.d.ts.map +0 -1
  330. package/lib/typescript/src/components/ui/Progress.d.ts.map +0 -1
  331. package/lib/typescript/src/components/ui/Radio-Group.d.ts.map +0 -1
  332. package/lib/typescript/src/components/ui/Select.d.ts.map +0 -1
  333. package/lib/typescript/src/components/ui/Separator.d.ts.map +0 -1
  334. package/lib/typescript/src/components/ui/SizedBox.d.ts.map +0 -1
  335. package/lib/typescript/src/components/ui/Skeleton.d.ts.map +0 -1
  336. package/lib/typescript/src/components/ui/Slider.d.ts.map +0 -1
  337. package/lib/typescript/src/components/ui/Switch.d.ts.map +0 -1
  338. package/lib/typescript/src/components/ui/Table.d.ts.map +0 -1
  339. package/lib/typescript/src/components/ui/Tabs.d.ts.map +0 -1
  340. package/lib/typescript/src/components/ui/Text.d.ts.map +0 -1
  341. package/lib/typescript/src/components/ui/Textarea.d.ts.map +0 -1
  342. package/lib/typescript/src/components/ui/Theme-Toggle.d.ts.map +0 -1
  343. package/lib/typescript/src/components/ui/Toast.d.ts.map +0 -1
  344. package/lib/typescript/src/components/ui/Toggle-Group.d.ts.map +0 -1
  345. package/lib/typescript/src/components/ui/Toggle.d.ts.map +0 -1
  346. package/lib/typescript/src/components/ui/Tooltip.d.ts.map +0 -1
  347. package/lib/typescript/src/components/ui/index.d.ts.map +0 -1
  348. package/lib/typescript/src/index.d.ts.map +0 -1
  349. package/lib/typescript/src/lib/ThemeProvider.d.ts.map +0 -1
  350. package/lib/typescript/src/lib/cornerRadius.d.ts.map +0 -1
  351. package/lib/typescript/src/lib/fonts.d.ts +0 -21
  352. package/lib/typescript/src/lib/fonts.d.ts.map +0 -1
  353. package/lib/typescript/src/lib/slot-helpers.d.ts.map +0 -1
  354. package/lib/typescript/src/lib/theme.d.ts.map +0 -1
  355. package/lib/typescript/src/lib/utils.d.ts.map +0 -1
  356. /package/lib/typescript/{src → commonjs/src}/app/_layout.d.ts +0 -0
  357. /package/lib/typescript/{src → commonjs/src}/components/theme-config.d.ts +0 -0
  358. /package/lib/typescript/{src → commonjs/src}/components/ui/Accordion.d.ts +0 -0
  359. /package/lib/typescript/{src → commonjs/src}/components/ui/Alert-Dialog.d.ts +0 -0
  360. /package/lib/typescript/{src → commonjs/src}/components/ui/Alert.d.ts +0 -0
  361. /package/lib/typescript/{src → commonjs/src}/components/ui/AppBar.d.ts +0 -0
  362. /package/lib/typescript/{src → commonjs/src}/components/ui/Aspect-Ratio.d.ts +0 -0
  363. /package/lib/typescript/{src → commonjs/src}/components/ui/Badge.d.ts +0 -0
  364. /package/lib/typescript/{src → commonjs/src}/components/ui/Bottom-Sheet.d.ts +0 -0
  365. /package/lib/typescript/{src → commonjs/src}/components/ui/Button.d.ts +0 -0
  366. /package/lib/typescript/{src → commonjs/src}/components/ui/Card.d.ts +0 -0
  367. /package/lib/typescript/{src → commonjs/src}/components/ui/Checkbox.d.ts +0 -0
  368. /package/lib/typescript/{src → commonjs/src}/components/ui/Collapsible.d.ts +0 -0
  369. /package/lib/typescript/{src → commonjs/src}/components/ui/Context-Menu.d.ts +0 -0
  370. /package/lib/typescript/{src → commonjs/src}/components/ui/Custom-Card.d.ts +0 -0
  371. /package/lib/typescript/{src → commonjs/src}/components/ui/Dialog.d.ts +0 -0
  372. /package/lib/typescript/{src → commonjs/src}/components/ui/Dropdown-Menu.d.ts +0 -0
  373. /package/lib/typescript/{src → commonjs/src}/components/ui/Floating-Action.d.ts +0 -0
  374. /package/lib/typescript/{src → commonjs/src}/components/ui/Greeting-Card.d.ts +0 -0
  375. /package/lib/typescript/{src → commonjs/src}/components/ui/Hover-Card.d.ts +0 -0
  376. /package/lib/typescript/{src → commonjs/src}/components/ui/Icon.d.ts +0 -0
  377. /package/lib/typescript/{src → commonjs/src}/components/ui/Input.d.ts +0 -0
  378. /package/lib/typescript/{src → commonjs/src}/components/ui/Label.d.ts +0 -0
  379. /package/lib/typescript/{src → commonjs/src}/components/ui/Menubar.d.ts +0 -0
  380. /package/lib/typescript/{src → commonjs/src}/components/ui/Native-Only-Animated-View.d.ts +0 -0
  381. /package/lib/typescript/{src → commonjs/src}/components/ui/NavBar.d.ts +0 -0
  382. /package/lib/typescript/{src → commonjs/src}/components/ui/Popover.d.ts +0 -0
  383. /package/lib/typescript/{src → commonjs/src}/components/ui/Progress.d.ts +0 -0
  384. /package/lib/typescript/{src → commonjs/src}/components/ui/Radio-Group.d.ts +0 -0
  385. /package/lib/typescript/{src → commonjs/src}/components/ui/Select.d.ts +0 -0
  386. /package/lib/typescript/{src → commonjs/src}/components/ui/Separator.d.ts +0 -0
  387. /package/lib/typescript/{src → commonjs/src}/components/ui/SizedBox.d.ts +0 -0
  388. /package/lib/typescript/{src → commonjs/src}/components/ui/Skeleton.d.ts +0 -0
  389. /package/lib/typescript/{src → commonjs/src}/components/ui/Slider.d.ts +0 -0
  390. /package/lib/typescript/{src → commonjs/src}/components/ui/Switch.d.ts +0 -0
  391. /package/lib/typescript/{src → commonjs/src}/components/ui/Table.d.ts +0 -0
  392. /package/lib/typescript/{src → commonjs/src}/components/ui/Tabs.d.ts +0 -0
  393. /package/lib/typescript/{src → commonjs/src}/components/ui/Text.d.ts +0 -0
  394. /package/lib/typescript/{src → commonjs/src}/components/ui/Textarea.d.ts +0 -0
  395. /package/lib/typescript/{src → commonjs/src}/components/ui/Theme-Toggle.d.ts +0 -0
  396. /package/lib/typescript/{src → commonjs/src}/components/ui/Toast.d.ts +0 -0
  397. /package/lib/typescript/{src → commonjs/src}/components/ui/Toggle-Group.d.ts +0 -0
  398. /package/lib/typescript/{src → commonjs/src}/components/ui/Toggle.d.ts +0 -0
  399. /package/lib/typescript/{src → commonjs/src}/components/ui/Tooltip.d.ts +0 -0
  400. /package/lib/typescript/{src → commonjs/src}/components/ui/index.d.ts +0 -0
  401. /package/lib/typescript/{src → commonjs/src}/index.d.ts +0 -0
  402. /package/lib/typescript/{src → commonjs/src}/lib/ThemeProvider.d.ts +0 -0
  403. /package/lib/typescript/{src → commonjs/src}/lib/cornerRadius.d.ts +0 -0
  404. /package/lib/typescript/{src → commonjs/src}/lib/slot-helpers.d.ts +0 -0
  405. /package/lib/typescript/{src → commonjs/src}/lib/theme.d.ts +0 -0
  406. /package/lib/typescript/{src → commonjs/src}/lib/utils.d.ts +0 -0
  407. /package/lib/typescript/{package.json → module/package.json} +0 -0
@@ -0,0 +1,65 @@
1
+ import * as React from 'react';
2
+ import { TextInput as RNTextInput, type TextInputProps } from 'react-native';
3
+ /**
4
+ * Props for Textarea component
5
+ *
6
+ * @extends TextInputProps - All React Native TextInput properties
7
+ * @property {string} [className] - Additional Tailwind classes for styling
8
+ * @property {string} [placeholderClassName] - Tailwind classes for placeholder text styling
9
+ *
10
+ * @example
11
+ * ```tsx
12
+ * <Textarea
13
+ * placeholder="Enter your message"
14
+ * value={message}
15
+ * onChangeText={setMessage}
16
+ * numberOfLines={4}
17
+ * />
18
+ * ```
19
+ */
20
+ interface TextareaProps extends Omit<TextInputProps, 'multiline' | 'numberOfLines' | 'editable'> {
21
+ className?: string;
22
+ placeholderClassName?: string;
23
+ multiline?: boolean;
24
+ numberOfLines?: number;
25
+ editable?: boolean;
26
+ }
27
+ /**
28
+ * Multi-line text input component
29
+ *
30
+ * A textarea component for longer text input with configurable height and styling.
31
+ * Automatically configured for multi-line input with appropriate platform-specific defaults.
32
+ *
33
+ * @component
34
+ * @example
35
+ * ```tsx
36
+ * // Basic textarea
37
+ * <Textarea
38
+ * placeholder="Enter description"
39
+ * value={description}
40
+ * onChangeText={setDescription}
41
+ * />
42
+ *
43
+ * // Controlled textarea with validation
44
+ * <Textarea
45
+ * value={bio}
46
+ * onChangeText={setBio}
47
+ * placeholder="Tell us about yourself"
48
+ * numberOfLines={6}
49
+ * maxLength={500}
50
+ * />
51
+ *
52
+ * // Disabled textarea
53
+ * <Textarea value={content} editable={false} />
54
+ * ```
55
+ *
56
+ * @accessibility
57
+ * - Supports standard TextInput accessibility props
58
+ * - Placeholder text with appropriate color contrast
59
+ * - Focus states on web for keyboard navigation
60
+ * - Disabled state with reduced opacity
61
+ */
62
+ declare function Textarea({ className, multiline, numberOfLines, placeholderClassName, editable, ...props }: TextareaProps & React.RefAttributes<RNTextInput>): import("react/jsx-runtime").JSX.Element;
63
+ export { Textarea };
64
+ export type { TextareaProps };
65
+ //# sourceMappingURL=Textarea.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Textarea.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ui/Textarea.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAEL,SAAS,IAAI,WAAW,EACxB,KAAK,cAAc,EACpB,MAAM,cAAc,CAAC;AAOtB;;;;;;;;;;;;;;;;GAgBG;AACH,UAAU,aACR,SAAQ,IAAI,CAAC,cAAc,EAAE,WAAW,GAAG,eAAe,GAAG,UAAU,CAAC;IACxE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAC9B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,iBAAS,QAAQ,CAAC,EAChB,SAAS,EACT,SAAgB,EAChB,aAAsD,EACtD,oBAAoB,EACpB,QAAe,EACf,GAAG,KAAK,EACT,EAAE,aAAa,GAAG,KAAK,CAAC,aAAa,CAAC,WAAW,CAAC,2CAmBlD;AAED,OAAO,EAAE,QAAQ,EAAE,CAAC;AACpB,YAAY,EAAE,aAAa,EAAE,CAAC"}
@@ -0,0 +1,67 @@
1
+ import * as React from 'react';
2
+ import type { SlottableViewProps } from '@rn-primitives/types';
3
+ /**
4
+ * Theme toggle button variants
5
+ */
6
+ type ThemeToggleVariant = 'icon' | 'button' | 'segmented';
7
+ /**
8
+ * Props for ThemeToggle component
9
+ *
10
+ * @property {'icon' | 'button' | 'segmented'} [variant='icon'] - Visual style variant
11
+ * @property {boolean} [showLabel=false] - Show text label next to icon (for button variant)
12
+ * @property {string} [className] - Additional Tailwind classes
13
+ *
14
+ * @example
15
+ * ```tsx
16
+ * // Icon only (default)
17
+ * <ThemeToggle />
18
+ *
19
+ * // Button with label
20
+ * <ThemeToggle variant="button" showLabel />
21
+ *
22
+ * // Segmented control
23
+ * <ThemeToggle variant="segmented" />
24
+ * ```
25
+ */
26
+ type ThemeToggleProps = SlottableViewProps & {
27
+ variant?: ThemeToggleVariant;
28
+ showLabel?: boolean;
29
+ className?: string;
30
+ };
31
+ /**
32
+ * Theme toggle component for switching between light, dark, and system themes
33
+ *
34
+ * Provides three variants:
35
+ * - **icon**: Simple icon button that cycles through themes (light → dark → system)
36
+ * - **button**: Button with icon and optional label
37
+ * - **segmented**: Segmented control showing all three options
38
+ *
39
+ * @component
40
+ * @example
41
+ * ```tsx
42
+ * // Icon toggle (minimal)
43
+ * <ThemeToggle />
44
+ *
45
+ * // Button with label
46
+ * <ThemeToggle variant="button" showLabel />
47
+ *
48
+ * // Segmented control (shows all options)
49
+ * <ThemeToggle variant="segmented" />
50
+ *
51
+ * // Custom styling
52
+ * <ThemeToggle className="my-4" />
53
+ * ```
54
+ *
55
+ * @accessibility
56
+ * - Proper button role for screen readers
57
+ * - Announces current theme state
58
+ * - Keyboard navigable on web
59
+ */
60
+ declare const ThemeToggle: React.ForwardRefExoticComponent<SlottableViewProps & {
61
+ variant?: ThemeToggleVariant;
62
+ showLabel?: boolean;
63
+ className?: string;
64
+ } & React.RefAttributes<import("react-native/types_generated/src/private/types/HostInstance").LegacyHostInstanceMethods>>;
65
+ export { ThemeToggle };
66
+ export type { ThemeToggleProps, ThemeToggleVariant };
67
+ //# sourceMappingURL=Theme-Toggle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Theme-Toggle.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ui/Theme-Toggle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,OAAO,KAAK,EAAE,kBAAkB,EAAW,MAAM,sBAAsB,CAAC;AASxE;;GAEG;AACH,KAAK,kBAAkB,GAAG,MAAM,GAAG,QAAQ,GAAG,WAAW,CAAC;AAE1D;;;;;;;;;;;;;;;;;;GAkBG;AACH,KAAK,gBAAgB,GAAG,kBAAkB,GAAG;IAC3C,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAC7B,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,QAAA,MAAM,WAAW;cAlCL,kBAAkB;gBAChB,OAAO;gBACP,MAAM;yHA+JnB,CAAC;AAGF,OAAO,EAAE,WAAW,EAAE,CAAC;AACvB,YAAY,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,CAAC"}
@@ -0,0 +1,56 @@
1
+ import { Text } from './Text';
2
+ import type { LucideIcon } from 'lucide-react-native';
3
+ import * as React from 'react';
4
+ import { View as RNView, type ViewProps } from 'react-native';
5
+ /**
6
+ * Toast notification component
7
+ *
8
+ * Displays temporary messages or notifications with optional icons.
9
+ * Supports default and destructive variants for different message types.
10
+ *
11
+ * @component
12
+ * @example
13
+ * ```tsx
14
+ * <Toast icon={CheckCircle}>
15
+ * <ToastTitle>
16
+ * <Text>Success</Text>
17
+ * </ToastTitle>
18
+ * <ToastDescription>
19
+ * <Text>Your changes have been saved</Text>
20
+ * </ToastDescription>
21
+ * </Toast>
22
+ *
23
+ * <Toast variant="destructive" icon={AlertCircle}>
24
+ * <ToastTitle>
25
+ * <Text>Error</Text>
26
+ * </ToastTitle>
27
+ * <ToastDescription>
28
+ * <Text>Failed to save changes</Text>
29
+ * </ToastDescription>
30
+ * </Toast>
31
+ * ```
32
+ *
33
+ * @accessibility
34
+ * - Announces messages to screen readers
35
+ * - Proper role for notifications
36
+ */
37
+ declare function Toast({ className, variant, children, icon, iconClassName, ...props }: ViewProps & React.RefAttributes<RNView> & {
38
+ children?: React.ReactNode;
39
+ icon?: LucideIcon;
40
+ variant?: 'default' | 'destructive';
41
+ iconClassName?: string;
42
+ }): import("react/jsx-runtime").JSX.Element;
43
+ /**
44
+ * Toast title component
45
+ *
46
+ * @component
47
+ */
48
+ declare function ToastTitle({ className, ...props }: React.ComponentProps<typeof Text> & React.RefAttributes<Text>): import("react/jsx-runtime").JSX.Element;
49
+ /**
50
+ * Toast description component
51
+ *
52
+ * @component
53
+ */
54
+ declare function ToastDescription({ className, ...props }: React.ComponentProps<typeof Text> & React.RefAttributes<Text>): import("react/jsx-runtime").JSX.Element;
55
+ export { Toast, ToastDescription, ToastTitle };
56
+ //# sourceMappingURL=Toast.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Toast.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ui/Toast.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAoB,MAAM,QAAQ,CAAC;AAEhD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,IAAI,IAAI,MAAM,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAO9D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,iBAAS,KAAK,CAAC,EACb,SAAS,EACT,OAAO,EACP,QAAQ,EACR,IAAI,EACJ,aAAa,EACb,GAAG,KAAK,EACT,EAAE,SAAS,GACV,KAAK,CAAC,aAAa,CAAC,MAAM,CAAC,GAAG;IAC5B,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,OAAO,CAAC,EAAE,SAAS,GAAG,aAAa,CAAC;IACpC,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,2CA+BF;AAED;;;;GAIG;AACH,iBAAS,UAAU,CAAC,EAClB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,IAAI,CAAC,GAAG,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,2CAO/D;AAED;;;;GAIG;AACH,iBAAS,gBAAgB,CAAC,EACxB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,IAAI,CAAC,GAAG,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,2CAY/D;AAED,OAAO,EAAE,KAAK,EAAE,gBAAgB,EAAE,UAAU,EAAE,CAAC"}
@@ -0,0 +1,49 @@
1
+ import { Icon } from './Icon';
2
+ import { toggleVariants } from './Toggle';
3
+ import * as ToggleGroupPrimitive from '@rn-primitives/toggle-group';
4
+ import type { VariantProps } from 'class-variance-authority';
5
+ import * as React from 'react';
6
+ /**
7
+ * Toggle group component for grouping related toggle buttons
8
+ *
9
+ * Allows single or multiple selection among a set of toggle buttons.
10
+ * Supports both outline and default variants.
11
+ *
12
+ * @component
13
+ * @example
14
+ * ```tsx
15
+ * <ToggleGroup type="single" value={alignment} onValueChange={setAlignment}>
16
+ * <ToggleGroupItem value="left" isFirst>
17
+ * <ToggleGroupIcon as={AlignLeft} />
18
+ * </ToggleGroupItem>
19
+ * <ToggleGroupItem value="center">
20
+ * <ToggleGroupIcon as={AlignCenter} />
21
+ * </ToggleGroupItem>
22
+ * <ToggleGroupItem value="right" isLast>
23
+ * <ToggleGroupIcon as={AlignRight} />
24
+ * </ToggleGroupItem>
25
+ * </ToggleGroup>
26
+ * ```
27
+ *
28
+ * @accessibility
29
+ * - Uses proper ARIA attributes for grouped toggles
30
+ * - Keyboard navigation support
31
+ */
32
+ declare function ToggleGroup({ className, variant, size, children, ...props }: ToggleGroupPrimitive.RootProps & VariantProps<typeof toggleVariants> & React.RefAttributes<ToggleGroupPrimitive.RootRef>): import("react/jsx-runtime").JSX.Element;
33
+ /**
34
+ * Individual toggle item within a toggle group
35
+ *
36
+ * @component
37
+ */
38
+ declare function ToggleGroupItem({ className, children, variant, size, isFirst, isLast, ...props }: ToggleGroupPrimitive.ItemProps & VariantProps<typeof toggleVariants> & React.RefAttributes<ToggleGroupPrimitive.ItemRef> & {
39
+ isFirst?: boolean;
40
+ isLast?: boolean;
41
+ }): import("react/jsx-runtime").JSX.Element;
42
+ /**
43
+ * Icon component for use within toggle group items
44
+ *
45
+ * @component
46
+ */
47
+ declare function ToggleGroupIcon({ className, ...props }: React.ComponentProps<typeof Icon>): import("react/jsx-runtime").JSX.Element;
48
+ export { ToggleGroup, ToggleGroupIcon, ToggleGroupItem };
49
+ //# sourceMappingURL=Toggle-Group.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Toggle-Group.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ui/Toggle-Group.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAE9B,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE1C,OAAO,KAAK,oBAAoB,MAAM,6BAA6B,CAAC;AACpE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAU/B;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,iBAAS,WAAW,CAAC,EACnB,SAAS,EACT,OAAO,EACP,IAAI,EACJ,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,oBAAoB,CAAC,SAAS,GAC/B,YAAY,CAAC,OAAO,cAAc,CAAC,GACnC,KAAK,CAAC,aAAa,CAAC,oBAAoB,CAAC,OAAO,CAAC,2CAgBlD;AAiBD;;;;GAIG;AACH,iBAAS,eAAe,CAAC,EACvB,SAAS,EACT,QAAQ,EACR,OAAO,EACP,IAAI,EACJ,OAAO,EACP,MAAM,EACN,GAAG,KAAK,EACT,EAAE,oBAAoB,CAAC,SAAS,GAC/B,YAAY,CAAC,OAAO,cAAc,CAAC,GACnC,KAAK,CAAC,aAAa,CAAC,oBAAoB,CAAC,OAAO,CAAC,GAAG;IAClD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,2CAyCF;AAED;;;;GAIG;AACH,iBAAS,eAAe,CAAC,EACvB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,IAAI,CAAC,2CAKnC;AAED,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,eAAe,EAAE,CAAC"}
@@ -0,0 +1,53 @@
1
+ import { Icon } from './Icon';
2
+ import * as TogglePrimitive from '@rn-primitives/toggle';
3
+ import { type VariantProps } from 'class-variance-authority';
4
+ import * as React from 'react';
5
+ /**
6
+ * Toggle button style variants using class-variance-authority
7
+ *
8
+ * @variant default - Standard toggle with transparent background
9
+ * @variant outline - Toggle with border and background
10
+ *
11
+ * @size default - Standard size (40px/36px)
12
+ * @size sm - Small size (36px/32px)
13
+ * @size lg - Large size (44px/40px)
14
+ */
15
+ declare const toggleVariants: (props?: ({
16
+ variant?: "default" | "outline" | null | undefined;
17
+ size?: "default" | "sm" | "lg" | null | undefined;
18
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
19
+ /**
20
+ * Toggle button component for on/off states
21
+ *
22
+ * A two-state button that can be toggled between pressed and unpressed states.
23
+ * Supports multiple variants and sizes.
24
+ *
25
+ * @component
26
+ * @example
27
+ * ```tsx
28
+ * <Toggle pressed={isBold} onPressedChange={setIsBold}>
29
+ * <ToggleIcon as={Bold} />
30
+ * <Text>Bold</Text>
31
+ * </Toggle>
32
+ *
33
+ * <Toggle variant="outline" size="sm">
34
+ * <ToggleIcon as={Italic} />
35
+ * </Toggle>
36
+ * ```
37
+ *
38
+ * @accessibility
39
+ * - Uses proper ARIA pressed state
40
+ * - Disabled state prevents interaction
41
+ * - Focus visible states on web
42
+ */
43
+ declare function Toggle({ className, variant, size, ...props }: TogglePrimitive.RootProps & VariantProps<typeof toggleVariants> & React.RefAttributes<TogglePrimitive.RootRef>): import("react/jsx-runtime").JSX.Element;
44
+ /**
45
+ * Icon component for use within Toggle buttons
46
+ *
47
+ * Automatically inherits text styling from the toggle context.
48
+ *
49
+ * @component
50
+ */
51
+ declare function ToggleIcon({ className, ...props }: React.ComponentProps<typeof Icon>): import("react/jsx-runtime").JSX.Element;
52
+ export { Toggle, ToggleIcon, toggleVariants };
53
+ //# sourceMappingURL=Toggle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Toggle.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ui/Toggle.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAG9B,OAAO,KAAK,eAAe,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAClE,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAG/B;;;;;;;;;GASG;AACH,QAAA,MAAM,cAAc;;;8EA6BnB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,iBAAS,MAAM,CAAC,EACd,SAAS,EACT,OAAO,EACP,IAAI,EACJ,GAAG,KAAK,EACT,EAAE,eAAe,CAAC,SAAS,GAC1B,YAAY,CAAC,OAAO,cAAc,CAAC,GACnC,KAAK,CAAC,aAAa,CAAC,eAAe,CAAC,OAAO,CAAC,2CAsB7C;AAED;;;;;;GAMG;AACH,iBAAS,UAAU,CAAC,EAClB,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,IAAI,CAAC,2CAKnC;AAED,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,cAAc,EAAE,CAAC"}
@@ -0,0 +1,51 @@
1
+ import * as TooltipPrimitive from '@rn-primitives/tooltip';
2
+ import * as React from 'react';
3
+ /**
4
+ * Root tooltip component - provides context for trigger and content
5
+ *
6
+ * @component
7
+ * @example
8
+ * ```tsx
9
+ * <Tooltip>
10
+ * <TooltipTrigger>
11
+ * <Button variant="outline">
12
+ * <Text>Hover me</Text>
13
+ * </Button>
14
+ * </TooltipTrigger>
15
+ * <TooltipContent>
16
+ * <Text>Helpful tooltip text</Text>
17
+ * </TooltipContent>
18
+ * </Tooltip>
19
+ * ```
20
+ */
21
+ declare const Tooltip: React.ForwardRefExoticComponent<TooltipPrimitive.RootProps>;
22
+ /**
23
+ * Trigger component that shows tooltip on hover/press
24
+ *
25
+ * @component
26
+ */
27
+ declare const TooltipTrigger: React.ForwardRefExoticComponent<TooltipPrimitive.TriggerProps>;
28
+ /**
29
+ * Tooltip content component
30
+ *
31
+ * Displays helpful text in a small popup when hovering or pressing the trigger.
32
+ * Includes directional animations based on positioning.
33
+ *
34
+ * @component
35
+ * @example
36
+ * ```tsx
37
+ * <TooltipContent side="top" sideOffset={8}>
38
+ * <Text>Add to favorites</Text>
39
+ * </TooltipContent>
40
+ * ```
41
+ *
42
+ * @accessibility
43
+ * - Content is announced by screen readers
44
+ * - Proper ARIA attributes for tooltips
45
+ * - Dismissible on escape key (web)
46
+ */
47
+ declare function TooltipContent({ className, sideOffset, portalHost, side, ...props }: TooltipPrimitive.ContentProps & React.RefAttributes<TooltipPrimitive.ContentRef> & {
48
+ portalHost?: string;
49
+ }): import("react/jsx-runtime").JSX.Element;
50
+ export { Tooltip, TooltipContent, TooltipTrigger };
51
+ //# sourceMappingURL=Tooltip.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Tooltip.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ui/Tooltip.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,gBAAgB,MAAM,wBAAwB,CAAC;AAC3D,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B;;;;;;;;;;;;;;;;;GAiBG;AACH,QAAA,MAAM,OAAO,6DAAwB,CAAC;AAEtC;;;;GAIG;AACH,QAAA,MAAM,cAAc,gEAA2B,CAAC;AAQhD;;;;;;;;;;;;;;;;;;GAkBG;AACH,iBAAS,cAAc,CAAC,EACtB,SAAS,EACT,UAAc,EACd,UAAU,EACV,IAAY,EACZ,GAAG,KAAK,EACT,EAAE,gBAAgB,CAAC,YAAY,GAC9B,KAAK,CAAC,aAAa,CAAC,gBAAgB,CAAC,UAAU,CAAC,GAAG;IACjD,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,2CA4CF;AAED,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,CAAC"}
@@ -0,0 +1,44 @@
1
+ export * from './Accordion';
2
+ export * from './Alert';
3
+ export * from './Alert-Dialog';
4
+ export * from './AppBar';
5
+ export * from './Aspect-Ratio';
6
+ export * from './Avatar';
7
+ export * from './Badge';
8
+ export * from './Bottom-Sheet';
9
+ export * from './Button';
10
+ export * from './Card';
11
+ export * from './Checkbox';
12
+ export * from './Collapsible';
13
+ export * from './Context-Menu';
14
+ export * from './Custom-Card';
15
+ export * from './Dialog';
16
+ export * from './Dropdown-Menu';
17
+ export * from './Floating-Action';
18
+ export * from './Greeting-Card';
19
+ export * from './Hover-Card';
20
+ export * from './Icon';
21
+ export * from './Input';
22
+ export * from './Label';
23
+ export * from './Menubar';
24
+ export * from './Native-Only-Animated-View';
25
+ export * from './NavBar';
26
+ export * from './Popover';
27
+ export * from './Progress';
28
+ export * from './Radio-Group';
29
+ export * from './Select';
30
+ export * from './Separator';
31
+ export * from './SizedBox';
32
+ export * from './Skeleton';
33
+ export * from './Slider';
34
+ export * from './Switch';
35
+ export * from './Table';
36
+ export * from './Tabs';
37
+ export * from './Text';
38
+ export * from './Textarea';
39
+ export * from './Theme-Toggle';
40
+ export * from './Toast';
41
+ export * from './Toggle';
42
+ export * from './Toggle-Group';
43
+ export * from './Tooltip';
44
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/ui/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,iBAAiB,CAAC;AAChC,cAAc,cAAc,CAAC;AAC7B,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,WAAW,CAAC;AAC1B,cAAc,6BAA6B,CAAC;AAC5C,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC;AAC1B,cAAc,YAAY,CAAC;AAC3B,cAAc,eAAe,CAAC;AAC9B,cAAc,UAAU,CAAC;AACzB,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,cAAc,YAAY,CAAC;AAC3B,cAAc,UAAU,CAAC;AACzB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,QAAQ,CAAC;AACvB,cAAc,YAAY,CAAC;AAC3B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,WAAW,CAAC"}
@@ -0,0 +1,9 @@
1
+ export * from './components/ui';
2
+ export { default as RootLayout } from './app/_layout';
3
+ export { cn } from './lib/utils';
4
+ export { THEME, NAV_THEME } from './lib/theme';
5
+ export { ThemeProvider, useTheme } from './lib/ThemeProvider';
6
+ export { getRadiusForHeight, getRadiusForDimensions, getCustomRadius, RADIUS, RADIUS_PRESET, CORNER_SMOOTHING, } from './lib/cornerRadius';
7
+ export { fonts } from './lib/fonts';
8
+ export type { FontName } from './lib/fonts';
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/index.tsx"],"names":[],"mappings":"AAIA,cAAc,iBAAiB,CAAC;AAGhC,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,eAAe,CAAC;AAGtD,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAC;AACjC,OAAO,EAAE,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC/C,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAG9D,OAAO,EACL,kBAAkB,EAClB,sBAAsB,EACtB,eAAe,EACf,MAAM,EACN,aAAa,EACb,gBAAgB,GACjB,MAAM,oBAAoB,CAAC;AAG5B,OAAO,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACpC,YAAY,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC"}
@@ -0,0 +1,137 @@
1
+ import * as React from 'react';
2
+ /**
3
+ * Available theme modes for the application
4
+ * @typedef {'light' | 'dark' | 'system'} ThemeMode
5
+ * - `light`: Force light theme regardless of system preference
6
+ * - `dark`: Force dark theme regardless of system preference
7
+ * - `system`: Automatically follow device system theme preference (default)
8
+ */
9
+ export type ThemeMode = 'light' | 'dark' | 'system';
10
+ /**
11
+ * Context type for theme management
12
+ * @internal
13
+ */
14
+ type ThemeContextType = {
15
+ /** Current theme mode setting */
16
+ mode: ThemeMode;
17
+ /** Whether dark mode is currently active (computed from mode and system preference) */
18
+ isDark: boolean;
19
+ /** Function to change the theme mode */
20
+ setMode: (mode: ThemeMode) => void;
21
+ /** Theme color tokens for the current mode */
22
+ colors: typeof import('./theme').THEME.light;
23
+ };
24
+ /**
25
+ * Props for ThemeProvider component
26
+ */
27
+ type ThemeProviderProps = {
28
+ /** Application content to provide theme context to */
29
+ children: React.ReactNode;
30
+ /**
31
+ * Initial theme mode
32
+ * @default 'system'
33
+ */
34
+ defaultMode?: ThemeMode;
35
+ /**
36
+ * Storage key for persisting theme preference (not yet implemented)
37
+ * @deprecated Currently not used - will be implemented in future version
38
+ */
39
+ storageKey?: string;
40
+ };
41
+ /**
42
+ * Theme Provider component that manages application theme state
43
+ *
44
+ * Provides theme context to all child components, enabling dark mode support
45
+ * throughout the application. Automatically responds to system theme changes
46
+ * when mode is set to 'system'.
47
+ *
48
+ * @component
49
+ * @example
50
+ * ```tsx
51
+ * // Basic usage with system theme
52
+ * function App() {
53
+ * return (
54
+ * <ThemeProvider>
55
+ * <YourApp />
56
+ * </ThemeProvider>
57
+ * );
58
+ * }
59
+ *
60
+ * // Start with dark mode
61
+ * function App() {
62
+ * return (
63
+ * <ThemeProvider defaultMode="dark">
64
+ * <YourApp />
65
+ * </ThemeProvider>
66
+ * );
67
+ * }
68
+ * ```
69
+ *
70
+ * @param {ThemeProviderProps} props - Component props
71
+ * @returns {JSX.Element} Provider component wrapping children with theme context
72
+ *
73
+ * @see {@link useTheme} for accessing theme in child components
74
+ * @see {@link useThemeMode} for optional theme access without error
75
+ */
76
+ export declare function ThemeProvider({ children, defaultMode, }: ThemeProviderProps): import("react/jsx-runtime").JSX.Element;
77
+ /**
78
+ * Hook to access theme context and controls
79
+ *
80
+ * Provides access to the current theme state and methods to change the theme.
81
+ * Must be used within a ThemeProvider component tree.
82
+ *
83
+ * @returns {ThemeContextType} Theme context object
84
+ * @throws {Error} If used outside of ThemeProvider
85
+ *
86
+ * @example
87
+ * ```tsx
88
+ * function MyComponent() {
89
+ * const { mode, isDark, setMode, colors } = useTheme();
90
+ *
91
+ * return (
92
+ * <View style={{ backgroundColor: colors.background }}>
93
+ * <Text style={{ color: colors.foreground }}>
94
+ * Current mode: {mode} (Dark: {isDark ? 'Yes' : 'No'})
95
+ * </Text>
96
+ * <Button onPress={() => setMode(isDark ? 'light' : 'dark')}>
97
+ * <Text>Toggle Theme</Text>
98
+ * </Button>
99
+ * </View>
100
+ * );
101
+ * }
102
+ * ```
103
+ *
104
+ * @see {@link ThemeProvider} for setup
105
+ * @see {@link useThemeMode} for optional access without error throwing
106
+ */
107
+ export declare function useTheme(): ThemeContextType;
108
+ /**
109
+ * Optional hook to get current dark mode state
110
+ *
111
+ * Similar to useTheme but only returns the isDark boolean and doesn't throw
112
+ * an error if used outside ThemeProvider. Useful for components that want
113
+ * to adapt to theme but don't require it.
114
+ *
115
+ * @returns {boolean | undefined} Whether dark mode is active, or undefined if no provider
116
+ *
117
+ * @example
118
+ * ```tsx
119
+ * function OptionalThemedComponent() {
120
+ * const isDark = useThemeMode();
121
+ *
122
+ * // Component works with or without ThemeProvider
123
+ * const backgroundColor = isDark ? '#000' : '#fff';
124
+ *
125
+ * return (
126
+ * <View style={{ backgroundColor }}>
127
+ * <Text>This component adapts if theme is available</Text>
128
+ * </View>
129
+ * );
130
+ * }
131
+ * ```
132
+ *
133
+ * @see {@link useTheme} for full theme access (requires provider)
134
+ */
135
+ export declare function useThemeMode(): boolean | undefined;
136
+ export {};
137
+ //# sourceMappingURL=ThemeProvider.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ThemeProvider.d.ts","sourceRoot":"","sources":["../../../../../src/lib/ThemeProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B;;;;;;GAMG;AACH,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAC;AAEpD;;;GAGG;AACH,KAAK,gBAAgB,GAAG;IACtB,iCAAiC;IACjC,IAAI,EAAE,SAAS,CAAC;IAChB,uFAAuF;IACvF,MAAM,EAAE,OAAO,CAAC;IAChB,wCAAwC;IACxC,OAAO,EAAE,CAAC,IAAI,EAAE,SAAS,KAAK,IAAI,CAAC;IACnC,8CAA8C;IAC9C,MAAM,EAAE,cAAc,SAAS,EAAE,KAAK,CAAC,KAAK,CAAC;CAC9C,CAAC;AAMF;;GAEG;AACH,KAAK,kBAAkB,GAAG;IACxB,sDAAsD;IACtD,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B;;;OAGG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,wBAAgB,aAAa,CAAC,EAC5B,QAAQ,EACR,WAAsB,GACvB,EAAE,kBAAkB,2CA6CpB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,wBAAgB,QAAQ,qBAMvB;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,wBAAgB,YAAY,IAAI,OAAO,GAAG,SAAS,CAGlD"}