kynjal-cli 2.0.6

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 (840) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +145 -0
  3. package/bin/kynjal.js +27 -0
  4. package/dist/commands/add.d.ts +11 -0
  5. package/dist/commands/add.js +295 -0
  6. package/dist/commands/convex.d.ts +11 -0
  7. package/dist/commands/convex.js +319 -0
  8. package/dist/commands/init.d.ts +13 -0
  9. package/dist/commands/init.js +340 -0
  10. package/dist/index.d.ts +2 -0
  11. package/dist/index.js +61 -0
  12. package/dist/index.test.d.ts +1 -0
  13. package/dist/index.test.js +6 -0
  14. package/dist/registry/accordion.d.ts +139 -0
  15. package/dist/registry/accordion.js +164 -0
  16. package/dist/registry/accordion.ts +183 -0
  17. package/dist/registry/action-sheet.d.ts +138 -0
  18. package/dist/registry/action-sheet.js +164 -0
  19. package/dist/registry/action-sheet.ts +182 -0
  20. package/dist/registry/alert-dialog.d.ts +71 -0
  21. package/dist/registry/alert-dialog.js +88 -0
  22. package/dist/registry/alert-dialog.ts +97 -0
  23. package/dist/registry/alert.d.ts +172 -0
  24. package/dist/registry/alert.js +204 -0
  25. package/dist/registry/alert.ts +225 -0
  26. package/dist/registry/audio-player.d.ts +139 -0
  27. package/dist/registry/audio-player.js +165 -0
  28. package/dist/registry/audio-player.ts +183 -0
  29. package/dist/registry/audio-recorder.d.ts +156 -0
  30. package/dist/registry/audio-recorder.js +184 -0
  31. package/dist/registry/audio-recorder.ts +203 -0
  32. package/dist/registry/audio-waveform.d.ts +121 -0
  33. package/dist/registry/audio-waveform.js +144 -0
  34. package/dist/registry/audio-waveform.ts +165 -0
  35. package/dist/registry/avatar.d.ts +139 -0
  36. package/dist/registry/avatar.js +164 -0
  37. package/dist/registry/avatar.ts +172 -0
  38. package/dist/registry/avoid-keyboard.d.ts +128 -0
  39. package/dist/registry/avoid-keyboard.js +150 -0
  40. package/dist/registry/avoid-keyboard.ts +165 -0
  41. package/dist/registry/badge.d.ts +139 -0
  42. package/dist/registry/badge.js +164 -0
  43. package/dist/registry/badge.ts +172 -0
  44. package/dist/registry/bottom-sheet.d.ts +156 -0
  45. package/dist/registry/bottom-sheet.js +184 -0
  46. package/dist/registry/bottom-sheet.ts +203 -0
  47. package/dist/registry/button.d.ts +173 -0
  48. package/dist/registry/button.js +209 -0
  49. package/dist/registry/button.ts +230 -0
  50. package/dist/registry/camera-preview.d.ts +37 -0
  51. package/dist/registry/camera-preview.js +56 -0
  52. package/dist/registry/camera-preview.ts +61 -0
  53. package/dist/registry/camera.d.ts +139 -0
  54. package/dist/registry/camera.js +168 -0
  55. package/dist/registry/camera.ts +185 -0
  56. package/dist/registry/card.d.ts +139 -0
  57. package/dist/registry/card.js +165 -0
  58. package/dist/registry/card.ts +173 -0
  59. package/dist/registry/carousel.d.ts +140 -0
  60. package/dist/registry/carousel.js +169 -0
  61. package/dist/registry/carousel.ts +186 -0
  62. package/dist/registry/charts/area-chart.d.ts +88 -0
  63. package/dist/registry/charts/area-chart.js +106 -0
  64. package/dist/registry/charts/area-chart.ts +117 -0
  65. package/dist/registry/charts/bar-chart.d.ts +71 -0
  66. package/dist/registry/charts/bar-chart.js +85 -0
  67. package/dist/registry/charts/bar-chart.ts +94 -0
  68. package/dist/registry/charts/bubble-chart.d.ts +88 -0
  69. package/dist/registry/charts/bubble-chart.js +109 -0
  70. package/dist/registry/charts/bubble-chart.ts +120 -0
  71. package/dist/registry/charts/candlestick-chart.d.ts +88 -0
  72. package/dist/registry/charts/candlestick-chart.js +109 -0
  73. package/dist/registry/charts/candlestick-chart.ts +125 -0
  74. package/dist/registry/charts/chart-container.d.ts +54 -0
  75. package/dist/registry/charts/chart-container.js +62 -0
  76. package/dist/registry/charts/chart-container.ts +71 -0
  77. package/dist/registry/charts/column-chart.d.ts +88 -0
  78. package/dist/registry/charts/column-chart.js +106 -0
  79. package/dist/registry/charts/column-chart.ts +117 -0
  80. package/dist/registry/charts/doughnut-chart.d.ts +88 -0
  81. package/dist/registry/charts/doughnut-chart.js +106 -0
  82. package/dist/registry/charts/doughnut-chart.ts +121 -0
  83. package/dist/registry/charts/heatmap-chart.d.ts +88 -0
  84. package/dist/registry/charts/heatmap-chart.js +106 -0
  85. package/dist/registry/charts/heatmap-chart.ts +117 -0
  86. package/dist/registry/charts/index.d.ts +1499 -0
  87. package/dist/registry/charts/index.js +38 -0
  88. package/dist/registry/charts/index.ts +39 -0
  89. package/dist/registry/charts/line-chart.d.ts +88 -0
  90. package/dist/registry/charts/line-chart.js +109 -0
  91. package/dist/registry/charts/line-chart.ts +120 -0
  92. package/dist/registry/charts/pie-chart.d.ts +88 -0
  93. package/dist/registry/charts/pie-chart.js +106 -0
  94. package/dist/registry/charts/pie-chart.ts +117 -0
  95. package/dist/registry/charts/polar-area-chart.d.ts +88 -0
  96. package/dist/registry/charts/polar-area-chart.js +106 -0
  97. package/dist/registry/charts/polar-area-chart.ts +121 -0
  98. package/dist/registry/charts/progress-ring-chart.d.ts +88 -0
  99. package/dist/registry/charts/progress-ring-chart.js +106 -0
  100. package/dist/registry/charts/progress-ring-chart.ts +121 -0
  101. package/dist/registry/charts/radar-chart.d.ts +88 -0
  102. package/dist/registry/charts/radar-chart.js +106 -0
  103. package/dist/registry/charts/radar-chart.ts +117 -0
  104. package/dist/registry/charts/radial-bar-chart.d.ts +88 -0
  105. package/dist/registry/charts/radial-bar-chart.js +106 -0
  106. package/dist/registry/charts/radial-bar-chart.ts +121 -0
  107. package/dist/registry/charts/scatter-chart.d.ts +88 -0
  108. package/dist/registry/charts/scatter-chart.js +106 -0
  109. package/dist/registry/charts/scatter-chart.ts +117 -0
  110. package/dist/registry/charts/stacked-area-chart.d.ts +88 -0
  111. package/dist/registry/charts/stacked-area-chart.js +106 -0
  112. package/dist/registry/charts/stacked-area-chart.ts +123 -0
  113. package/dist/registry/charts/stacked-bar-chart.d.ts +88 -0
  114. package/dist/registry/charts/stacked-bar-chart.js +109 -0
  115. package/dist/registry/charts/stacked-bar-chart.ts +125 -0
  116. package/dist/registry/charts/treemap-chart.d.ts +88 -0
  117. package/dist/registry/charts/treemap-chart.js +106 -0
  118. package/dist/registry/charts/treemap-chart.ts +117 -0
  119. package/dist/registry/checkbox.d.ts +122 -0
  120. package/dist/registry/checkbox.js +145 -0
  121. package/dist/registry/checkbox.ts +160 -0
  122. package/dist/registry/collapsible.d.ts +105 -0
  123. package/dist/registry/collapsible.js +125 -0
  124. package/dist/registry/collapsible.ts +137 -0
  125. package/dist/registry/color-picker.d.ts +156 -0
  126. package/dist/registry/color-picker.js +186 -0
  127. package/dist/registry/color-picker.ts +205 -0
  128. package/dist/registry/combobox.d.ts +139 -0
  129. package/dist/registry/combobox.js +158 -0
  130. package/dist/registry/combobox.ts +170 -0
  131. package/dist/registry/date-picker.d.ts +156 -0
  132. package/dist/registry/date-picker.js +190 -0
  133. package/dist/registry/date-picker.ts +209 -0
  134. package/dist/registry/file-picker.d.ts +139 -0
  135. package/dist/registry/file-picker.js +158 -0
  136. package/dist/registry/file-picker.ts +175 -0
  137. package/dist/registry/gallery.d.ts +122 -0
  138. package/dist/registry/gallery.js +144 -0
  139. package/dist/registry/gallery.ts +160 -0
  140. package/dist/registry/hello-wave.d.ts +37 -0
  141. package/dist/registry/hello-wave.js +44 -0
  142. package/dist/registry/hello-wave.ts +49 -0
  143. package/dist/registry/hooks/index.d.ts +60 -0
  144. package/dist/registry/hooks/index.js +75 -0
  145. package/dist/registry/hooks/index.ts +80 -0
  146. package/dist/registry/icon.d.ts +139 -0
  147. package/dist/registry/icon.js +164 -0
  148. package/dist/registry/icon.ts +173 -0
  149. package/dist/registry/image.d.ts +156 -0
  150. package/dist/registry/image.js +180 -0
  151. package/dist/registry/image.ts +191 -0
  152. package/dist/registry/index.d.ts +12 -0
  153. package/dist/registry/index.js +189 -0
  154. package/dist/registry/index.ts +209 -0
  155. package/dist/registry/input-otp.d.ts +155 -0
  156. package/dist/registry/input-otp.js +178 -0
  157. package/dist/registry/input-otp.ts +197 -0
  158. package/dist/registry/input.d.ts +164 -0
  159. package/dist/registry/input.js +192 -0
  160. package/dist/registry/input.ts +211 -0
  161. package/dist/registry/link.d.ts +139 -0
  162. package/dist/registry/link.js +164 -0
  163. package/dist/registry/link.ts +181 -0
  164. package/dist/registry/media-picker.d.ts +145 -0
  165. package/dist/registry/media-picker.js +175 -0
  166. package/dist/registry/media-picker.ts +192 -0
  167. package/dist/registry/mode-toggle.d.ts +37 -0
  168. package/dist/registry/mode-toggle.js +44 -0
  169. package/dist/registry/mode-toggle.ts +49 -0
  170. package/dist/registry/onboarding.d.ts +144 -0
  171. package/dist/registry/onboarding.js +164 -0
  172. package/dist/registry/onboarding.ts +181 -0
  173. package/dist/registry/parallax-scrollview.d.ts +125 -0
  174. package/dist/registry/parallax-scrollview.js +147 -0
  175. package/dist/registry/parallax-scrollview.ts +168 -0
  176. package/dist/registry/picker.d.ts +157 -0
  177. package/dist/registry/picker.js +178 -0
  178. package/dist/registry/picker.ts +198 -0
  179. package/dist/registry/popover.d.ts +139 -0
  180. package/dist/registry/popover.js +164 -0
  181. package/dist/registry/popover.ts +181 -0
  182. package/dist/registry/progress.d.ts +139 -0
  183. package/dist/registry/progress.js +159 -0
  184. package/dist/registry/progress.ts +172 -0
  185. package/dist/registry/radio.d.ts +139 -0
  186. package/dist/registry/radio.js +164 -0
  187. package/dist/registry/radio.ts +181 -0
  188. package/dist/registry/schema/index.d.ts +26 -0
  189. package/dist/registry/schema/index.js +1 -0
  190. package/dist/registry/schema/index.ts +28 -0
  191. package/dist/registry/scroll-view.d.ts +156 -0
  192. package/dist/registry/scroll-view.js +184 -0
  193. package/dist/registry/scroll-view.ts +203 -0
  194. package/dist/registry/searchbar.d.ts +139 -0
  195. package/dist/registry/searchbar.js +164 -0
  196. package/dist/registry/searchbar.ts +181 -0
  197. package/dist/registry/separator.d.ts +105 -0
  198. package/dist/registry/separator.js +124 -0
  199. package/dist/registry/separator.ts +130 -0
  200. package/dist/registry/share.d.ts +156 -0
  201. package/dist/registry/share.js +183 -0
  202. package/dist/registry/share.ts +202 -0
  203. package/dist/registry/sheet.d.ts +107 -0
  204. package/dist/registry/sheet.js +122 -0
  205. package/dist/registry/sheet.ts +135 -0
  206. package/dist/registry/skeleton.d.ts +122 -0
  207. package/dist/registry/skeleton.js +140 -0
  208. package/dist/registry/skeleton.ts +155 -0
  209. package/dist/registry/spinner.d.ts +156 -0
  210. package/dist/registry/spinner.js +184 -0
  211. package/dist/registry/spinner.ts +205 -0
  212. package/dist/registry/switch.d.ts +122 -0
  213. package/dist/registry/switch.js +139 -0
  214. package/dist/registry/switch.ts +154 -0
  215. package/dist/registry/table.d.ts +122 -0
  216. package/dist/registry/table.js +139 -0
  217. package/dist/registry/table.ts +154 -0
  218. package/dist/registry/tabs.d.ts +88 -0
  219. package/dist/registry/tabs.js +101 -0
  220. package/dist/registry/tabs.ts +112 -0
  221. package/dist/registry/text.d.ts +71 -0
  222. package/dist/registry/text.js +82 -0
  223. package/dist/registry/text.ts +87 -0
  224. package/dist/registry/theme/index.d.ts +35 -0
  225. package/dist/registry/theme/index.js +41 -0
  226. package/dist/registry/theme/index.ts +43 -0
  227. package/dist/registry/toast.d.ts +122 -0
  228. package/dist/registry/toast.js +148 -0
  229. package/dist/registry/toast.ts +164 -0
  230. package/dist/registry/toggle.d.ts +173 -0
  231. package/dist/registry/toggle.js +205 -0
  232. package/dist/registry/toggle.ts +225 -0
  233. package/dist/registry/video.d.ts +156 -0
  234. package/dist/registry/video.js +184 -0
  235. package/dist/registry/video.ts +203 -0
  236. package/dist/registry/view.d.ts +37 -0
  237. package/dist/registry/view.js +44 -0
  238. package/dist/registry/view.ts +47 -0
  239. package/dist/templates/components/charts/area-chart.tsx +38 -0
  240. package/dist/templates/components/charts/bar-chart.tsx +130 -0
  241. package/dist/templates/components/charts/bubble-chart.tsx +205 -0
  242. package/dist/templates/components/charts/candlestick-chart.tsx +178 -0
  243. package/dist/templates/components/charts/chart-container.tsx +47 -0
  244. package/dist/templates/components/charts/column-chart.tsx +130 -0
  245. package/dist/templates/components/charts/doughnut-chart.tsx +182 -0
  246. package/dist/templates/components/charts/heatmap-chart.tsx +253 -0
  247. package/dist/templates/components/charts/line-chart.tsx +349 -0
  248. package/dist/templates/components/charts/pie-chart.tsx +172 -0
  249. package/dist/templates/components/charts/polar-area-chart.tsx +185 -0
  250. package/dist/templates/components/charts/progress-ring-chart.tsx +161 -0
  251. package/dist/templates/components/charts/radar-chart.tsx +188 -0
  252. package/dist/templates/components/charts/radial-bar-chart.tsx +216 -0
  253. package/dist/templates/components/charts/scatter-chart.tsx +176 -0
  254. package/dist/templates/components/charts/stacked-area-chart.tsx +289 -0
  255. package/dist/templates/components/charts/stacked-bar-chart.tsx +311 -0
  256. package/dist/templates/components/charts/treemap-chart.tsx +273 -0
  257. package/dist/templates/components/ui/accordion.tsx +175 -0
  258. package/dist/templates/components/ui/action-sheet.tsx +408 -0
  259. package/dist/templates/components/ui/alert-dialog.tsx +195 -0
  260. package/dist/templates/components/ui/alert.tsx +208 -0
  261. package/dist/templates/components/ui/audio-player.tsx +300 -0
  262. package/dist/templates/components/ui/audio-recorder.tsx +476 -0
  263. package/dist/templates/components/ui/audio-waveform.tsx +292 -0
  264. package/dist/templates/components/ui/avatar.tsx +84 -0
  265. package/dist/templates/components/ui/avoid-keyboard.tsx +49 -0
  266. package/dist/templates/components/ui/badge.tsx +88 -0
  267. package/dist/templates/components/ui/bottom-sheet.tsx +352 -0
  268. package/dist/templates/components/ui/button.tsx +392 -0
  269. package/dist/templates/components/ui/camera-preview.tsx +410 -0
  270. package/dist/templates/components/ui/camera.tsx +1008 -0
  271. package/dist/templates/components/ui/card.tsx +110 -0
  272. package/dist/templates/components/ui/carousel.tsx +546 -0
  273. package/dist/templates/components/ui/checkbox.tsx +82 -0
  274. package/dist/templates/components/ui/collapsible.tsx +46 -0
  275. package/dist/templates/components/ui/color-picker.tsx +450 -0
  276. package/dist/templates/components/ui/combobox.tsx +624 -0
  277. package/dist/templates/components/ui/date-picker.tsx +1147 -0
  278. package/dist/templates/components/ui/file-picker.tsx +526 -0
  279. package/dist/templates/components/ui/gallery.tsx +871 -0
  280. package/dist/templates/components/ui/hello-wave.tsx +69 -0
  281. package/dist/templates/components/ui/icon.tsx +34 -0
  282. package/dist/templates/components/ui/image.tsx +174 -0
  283. package/dist/templates/components/ui/input-otp.tsx +302 -0
  284. package/dist/templates/components/ui/input.tsx +607 -0
  285. package/dist/templates/components/ui/link.tsx +143 -0
  286. package/dist/templates/components/ui/media-picker.tsx +548 -0
  287. package/dist/templates/components/ui/mode-toggle.tsx +55 -0
  288. package/dist/templates/components/ui/onboarding.tsx +357 -0
  289. package/dist/templates/components/ui/parallax-scrollview.tsx +85 -0
  290. package/dist/templates/components/ui/picker.tsx +476 -0
  291. package/dist/templates/components/ui/popover.tsx +450 -0
  292. package/dist/templates/components/ui/progress.tsx +159 -0
  293. package/dist/templates/components/ui/radio.tsx +133 -0
  294. package/dist/templates/components/ui/scroll-view.tsx +14 -0
  295. package/dist/templates/components/ui/searchbar.tsx +241 -0
  296. package/dist/templates/components/ui/separator.tsx +30 -0
  297. package/dist/templates/components/ui/share.tsx +304 -0
  298. package/dist/templates/components/ui/sheet.tsx +302 -0
  299. package/dist/templates/components/ui/skeleton.tsx +64 -0
  300. package/dist/templates/components/ui/spinner.tsx +462 -0
  301. package/dist/templates/components/ui/switch.tsx +78 -0
  302. package/dist/templates/components/ui/table.tsx +478 -0
  303. package/dist/templates/components/ui/tabs.tsx +500 -0
  304. package/dist/templates/components/ui/text.tsx +86 -0
  305. package/dist/templates/components/ui/toast.tsx +456 -0
  306. package/dist/templates/components/ui/toggle.tsx +347 -0
  307. package/dist/templates/components/ui/video.tsx +555 -0
  308. package/dist/templates/components/ui/view.tsx +14 -0
  309. package/dist/templates/demo/accordion/accordion-controlled.tsx +55 -0
  310. package/dist/templates/demo/accordion/accordion-demo.tsx +38 -0
  311. package/dist/templates/demo/accordion/accordion-faq.tsx +51 -0
  312. package/dist/templates/demo/accordion/accordion-multiple.tsx +51 -0
  313. package/dist/templates/demo/accordion/accordion-non-collapsible.tsx +51 -0
  314. package/dist/templates/demo/accordion/accordion-single.tsx +45 -0
  315. package/dist/templates/demo/accordion/accordion-styled.tsx +55 -0
  316. package/dist/templates/demo/action-sheet/action-sheet-demo.tsx +37 -0
  317. package/dist/templates/demo/action-sheet/action-sheet-destructive.tsx +44 -0
  318. package/dist/templates/demo/action-sheet/action-sheet-disabled.tsx +50 -0
  319. package/dist/templates/demo/action-sheet/action-sheet-hook.tsx +63 -0
  320. package/dist/templates/demo/action-sheet/action-sheet-icons.tsx +47 -0
  321. package/dist/templates/demo/action-sheet/action-sheet-long.tsx +105 -0
  322. package/dist/templates/demo/action-sheet/action-sheet-styled.tsx +52 -0
  323. package/dist/templates/demo/alert/alert-advanced-demo.tsx +132 -0
  324. package/dist/templates/demo/alert/alert-confirm-demo.tsx +20 -0
  325. package/dist/templates/demo/alert/alert-custom-demo.tsx +29 -0
  326. package/dist/templates/demo/alert/alert-demo.tsx +25 -0
  327. package/dist/templates/demo/alert/alert-error-demo.tsx +17 -0
  328. package/dist/templates/demo/alert/alert-success-demo.tsx +19 -0
  329. package/dist/templates/demo/alert/alert-three-button-demo.tsx +33 -0
  330. package/dist/templates/demo/alert/alert-visual-demo.tsx +22 -0
  331. package/dist/templates/demo/alert/alert-visual-destructive-demo.tsx +22 -0
  332. package/dist/templates/demo/alert-dialog/alert-dialog-custom.tsx +40 -0
  333. package/dist/templates/demo/alert-dialog/alert-dialog-demo.tsx +28 -0
  334. package/dist/templates/demo/alert-dialog/alert-dialog-destructive.tsx +30 -0
  335. package/dist/templates/demo/audio-player/audio-player-autoplay.tsx +22 -0
  336. package/dist/templates/demo/audio-player/audio-player-demo.tsx +21 -0
  337. package/dist/templates/demo/audio-player/audio-player-minimal.tsx +17 -0
  338. package/dist/templates/demo/audio-player/audio-player-music.tsx +158 -0
  339. package/dist/templates/demo/audio-player/audio-player-progress.tsx +17 -0
  340. package/dist/templates/demo/audio-player/audio-player-styled.tsx +32 -0
  341. package/dist/templates/demo/audio-player/audio-player-waveform.tsx +17 -0
  342. package/dist/templates/demo/audio-recorder/audio-recorder-callbacks.tsx +65 -0
  343. package/dist/templates/demo/audio-recorder/audio-recorder-cloud.tsx +67 -0
  344. package/dist/templates/demo/audio-recorder/audio-recorder-demo.tsx +27 -0
  345. package/dist/templates/demo/audio-recorder/audio-recorder-hq.tsx +24 -0
  346. package/dist/templates/demo/audio-recorder/audio-recorder-interview.tsx +98 -0
  347. package/dist/templates/demo/audio-recorder/audio-recorder-minimal.tsx +17 -0
  348. package/dist/templates/demo/audio-recorder/audio-recorder-styled.tsx +29 -0
  349. package/dist/templates/demo/audio-recorder/audio-recorder-voice.tsx +18 -0
  350. package/dist/templates/demo/audio-waveform/audio-waveform-compact.tsx +127 -0
  351. package/dist/templates/demo/audio-waveform/audio-waveform-demo.tsx +56 -0
  352. package/dist/templates/demo/audio-waveform/audio-waveform-interactive.tsx +114 -0
  353. package/dist/templates/demo/audio-waveform/audio-waveform-realtime.tsx +223 -0
  354. package/dist/templates/demo/audio-waveform/audio-waveform-recording.tsx +100 -0
  355. package/dist/templates/demo/audio-waveform/audio-waveform-styled.tsx +195 -0
  356. package/dist/templates/demo/avatar/avatar-bordered.tsx +64 -0
  357. package/dist/templates/demo/avatar/avatar-demo.tsx +13 -0
  358. package/dist/templates/demo/avatar/avatar-fallback.tsx +25 -0
  359. package/dist/templates/demo/avatar/avatar-group.tsx +76 -0
  360. package/dist/templates/demo/avatar/avatar-sizes.tsx +54 -0
  361. package/dist/templates/demo/avatar/avatar-status.tsx +76 -0
  362. package/dist/templates/demo/avatar/avatar-styled.tsx +64 -0
  363. package/dist/templates/demo/avoid-keyboard/avoid-keyboard-chat.tsx +176 -0
  364. package/dist/templates/demo/avoid-keyboard/avoid-keyboard-demo.tsx +37 -0
  365. package/dist/templates/demo/avoid-keyboard/avoid-keyboard-duration.tsx +62 -0
  366. package/dist/templates/demo/avoid-keyboard/avoid-keyboard-form.tsx +175 -0
  367. package/dist/templates/demo/avoid-keyboard/avoid-keyboard-offset.tsx +31 -0
  368. package/dist/templates/demo/avoid-keyboard/avoid-keyboard-playground.tsx +252 -0
  369. package/dist/templates/demo/badge/badge-demo.tsx +15 -0
  370. package/dist/templates/demo/badge/badge-icons.tsx +33 -0
  371. package/dist/templates/demo/badge/badge-interactive.tsx +81 -0
  372. package/dist/templates/demo/badge/badge-notifications.tsx +96 -0
  373. package/dist/templates/demo/badge/badge-sizes.tsx +104 -0
  374. package/dist/templates/demo/badge/badge-status.tsx +151 -0
  375. package/dist/templates/demo/badge/badge-styled.tsx +71 -0
  376. package/dist/templates/demo/bottom-sheet/bottom-sheet-demo.tsx +31 -0
  377. package/dist/templates/demo/bottom-sheet/bottom-sheet-form.tsx +72 -0
  378. package/dist/templates/demo/bottom-sheet/bottom-sheet-list.tsx +57 -0
  379. package/dist/templates/demo/bottom-sheet/bottom-sheet-menu.tsx +61 -0
  380. package/dist/templates/demo/bottom-sheet/bottom-sheet-no-dismiss.tsx +41 -0
  381. package/dist/templates/demo/bottom-sheet/bottom-sheet-snap-points.tsx +37 -0
  382. package/dist/templates/demo/bottom-sheet/bottom-sheet-styled.tsx +50 -0
  383. package/dist/templates/demo/bottom-sheet/bottom-sheet-title.tsx +32 -0
  384. package/dist/templates/demo/button/button-animation.tsx +28 -0
  385. package/dist/templates/demo/button/button-custom.tsx +52 -0
  386. package/dist/templates/demo/button/button-demo.tsx +8 -0
  387. package/dist/templates/demo/button/button-disabled.tsx +21 -0
  388. package/dist/templates/demo/button/button-icon-only.tsx +26 -0
  389. package/dist/templates/demo/button/button-loading.tsx +23 -0
  390. package/dist/templates/demo/button/button-sizes.tsx +19 -0
  391. package/dist/templates/demo/button/button-variants.tsx +33 -0
  392. package/dist/templates/demo/button/button-with-icons.tsx +23 -0
  393. package/dist/templates/demo/camera/camera-custom-controls.tsx +25 -0
  394. package/dist/templates/demo/camera/camera-demo.tsx +21 -0
  395. package/dist/templates/demo/camera/camera-picture-only.tsx +17 -0
  396. package/dist/templates/demo/camera/camera-settings.tsx +29 -0
  397. package/dist/templates/demo/camera/camera-timer.tsx +22 -0
  398. package/dist/templates/demo/camera/camera-video.tsx +25 -0
  399. package/dist/templates/demo/camera/camera-zoom.tsx +21 -0
  400. package/dist/templates/demo/camera-preview/camera-preview-demo.tsx +5 -0
  401. package/dist/templates/demo/card/card-demo.tsx +35 -0
  402. package/dist/templates/demo/card/card-notification.tsx +51 -0
  403. package/dist/templates/demo/card/card-pricing.tsx +115 -0
  404. package/dist/templates/demo/card/card-simple.tsx +16 -0
  405. package/dist/templates/demo/card/card-stats.tsx +33 -0
  406. package/dist/templates/demo/card/card-with-form.tsx +76 -0
  407. package/dist/templates/demo/card/card-with-image.tsx +43 -0
  408. package/dist/templates/demo/carousel/carousel-arrows.tsx +79 -0
  409. package/dist/templates/demo/carousel/carousel-cards.tsx +146 -0
  410. package/dist/templates/demo/carousel/carousel-custom-width.tsx +85 -0
  411. package/dist/templates/demo/carousel/carousel-demo.tsx +57 -0
  412. package/dist/templates/demo/carousel/carousel-images.tsx +83 -0
  413. package/dist/templates/demo/carousel/carousel-manual.tsx +215 -0
  414. package/dist/templates/demo/carousel/carousel-no-indicators.tsx +120 -0
  415. package/dist/templates/demo/charts/area-chart/area-chart-demo.tsx +33 -0
  416. package/dist/templates/demo/charts/area-chart/area-chart-interactive.tsx +36 -0
  417. package/dist/templates/demo/charts/area-chart/area-chart-large.tsx +41 -0
  418. package/dist/templates/demo/charts/area-chart/area-chart-styled.tsx +51 -0
  419. package/dist/templates/demo/charts/bar-chart/bar-chart-demo.tsx +31 -0
  420. package/dist/templates/demo/charts/bar-chart/bar-chart-minimal.tsx +26 -0
  421. package/dist/templates/demo/charts/bar-chart/bar-chart-sample.tsx +30 -0
  422. package/dist/templates/demo/charts/bubble-chart/bubble-chart-demo.tsx +34 -0
  423. package/dist/templates/demo/charts/bubble-chart/bubble-chart-minimal.tsx +26 -0
  424. package/dist/templates/demo/charts/bubble-chart/bubble-chart-sample.tsx +32 -0
  425. package/dist/templates/demo/charts/bubble-chart/bubble-chart-styled.tsx +39 -0
  426. package/dist/templates/demo/charts/candlestick-chart/candlestick-chart-demo.tsx +36 -0
  427. package/dist/templates/demo/charts/candlestick-chart/candlestick-chart-minimal.tsx +31 -0
  428. package/dist/templates/demo/charts/candlestick-chart/candlestick-chart-sample.tsx +34 -0
  429. package/dist/templates/demo/charts/candlestick-chart/candlestick-chart-styled.tsx +38 -0
  430. package/dist/templates/demo/charts/chart-container/chart-container-demo.tsx +30 -0
  431. package/dist/templates/demo/charts/chart-container/chart-container-styled.tsx +42 -0
  432. package/dist/templates/demo/charts/column-chart/column-chart-demo.tsx +31 -0
  433. package/dist/templates/demo/charts/column-chart/column-chart-large.tsx +42 -0
  434. package/dist/templates/demo/charts/column-chart/column-chart-sample.tsx +75 -0
  435. package/dist/templates/demo/charts/column-chart/column-chart-styled.tsx +37 -0
  436. package/dist/templates/demo/charts/doughnut-chart/doughnut-chart-demo.tsx +32 -0
  437. package/dist/templates/demo/charts/doughnut-chart/doughnut-chart-large.tsx +36 -0
  438. package/dist/templates/demo/charts/doughnut-chart/doughnut-chart-sample.tsx +40 -0
  439. package/dist/templates/demo/charts/doughnut-chart/doughnut-chart-styled.tsx +35 -0
  440. package/dist/templates/demo/charts/heatmap-chart/heatmap-chart-demo.tsx +41 -0
  441. package/dist/templates/demo/charts/heatmap-chart/heatmap-chart-large.tsx +66 -0
  442. package/dist/templates/demo/charts/heatmap-chart/heatmap-chart-sample.tsx +42 -0
  443. package/dist/templates/demo/charts/heatmap-chart/heatmap-chart-styled.tsx +43 -0
  444. package/dist/templates/demo/charts/line-chart/line-chart-demo.tsx +34 -0
  445. package/dist/templates/demo/charts/line-chart/line-chart-interactive.tsx +35 -0
  446. package/dist/templates/demo/charts/line-chart/line-chart-minimal.tsx +28 -0
  447. package/dist/templates/demo/charts/line-chart/line-chart-styled.tsx +51 -0
  448. package/dist/templates/demo/charts/pie-chart/pie-chart-demo.tsx +31 -0
  449. package/dist/templates/demo/charts/pie-chart/pie-chart-large.tsx +31 -0
  450. package/dist/templates/demo/charts/pie-chart/pie-chart-sample.tsx +29 -0
  451. package/dist/templates/demo/charts/pie-chart/pie-chart-styled.tsx +35 -0
  452. package/dist/templates/demo/charts/polar-area-chart/polar-area-chart-demo.tsx +31 -0
  453. package/dist/templates/demo/charts/polar-area-chart/polar-area-chart-large.tsx +37 -0
  454. package/dist/templates/demo/charts/polar-area-chart/polar-area-chart-sample.tsx +44 -0
  455. package/dist/templates/demo/charts/polar-area-chart/polar-area-chart-styled.tsx +37 -0
  456. package/dist/templates/demo/charts/progress-ring-chart/progress-ring-chart-demo.tsx +25 -0
  457. package/dist/templates/demo/charts/progress-ring-chart/progress-ring-chart-large.tsx +26 -0
  458. package/dist/templates/demo/charts/progress-ring-chart/progress-ring-chart-sample.tsx +26 -0
  459. package/dist/templates/demo/charts/progress-ring-chart/progress-ring-chart-styled.tsx +26 -0
  460. package/dist/templates/demo/charts/radar-chart/radar-chart-demo.tsx +31 -0
  461. package/dist/templates/demo/charts/radar-chart/radar-chart-large.tsx +36 -0
  462. package/dist/templates/demo/charts/radar-chart/radar-chart-sample.tsx +31 -0
  463. package/dist/templates/demo/charts/radar-chart/radar-chart-styled.tsx +41 -0
  464. package/dist/templates/demo/charts/radial-bar-chart/radial-bar-chart-demo.tsx +29 -0
  465. package/dist/templates/demo/charts/radial-bar-chart/radial-bar-chart-gradient.tsx +40 -0
  466. package/dist/templates/demo/charts/radial-bar-chart/radial-bar-chart-large.tsx +32 -0
  467. package/dist/templates/demo/charts/radial-bar-chart/radial-bar-chart-sample.tsx +37 -0
  468. package/dist/templates/demo/charts/scatter-chart/scatter-chart-demo.tsx +34 -0
  469. package/dist/templates/demo/charts/scatter-chart/scatter-chart-large.tsx +39 -0
  470. package/dist/templates/demo/charts/scatter-chart/scatter-chart-sample.tsx +36 -0
  471. package/dist/templates/demo/charts/scatter-chart/scatter-chart-styled.tsx +42 -0
  472. package/dist/templates/demo/charts/stacked-area-chart/stacked-area-chart-demo.tsx +35 -0
  473. package/dist/templates/demo/charts/stacked-area-chart/stacked-area-chart-large.tsx +63 -0
  474. package/dist/templates/demo/charts/stacked-area-chart/stacked-area-chart-sample.tsx +36 -0
  475. package/dist/templates/demo/charts/stacked-area-chart/stacked-area-chart-styled.tsx +44 -0
  476. package/dist/templates/demo/charts/stacked-bar-chart/stacked-bar-chart-demo.tsx +33 -0
  477. package/dist/templates/demo/charts/stacked-bar-chart/stacked-bar-chart-horizontal.tsx +35 -0
  478. package/dist/templates/demo/charts/stacked-bar-chart/stacked-bar-chart-large.tsx +42 -0
  479. package/dist/templates/demo/charts/stacked-bar-chart/stacked-bar-chart-styled.tsx +43 -0
  480. package/dist/templates/demo/charts/treemap-chart/treemap-chart-demo.tsx +31 -0
  481. package/dist/templates/demo/charts/treemap-chart/treemap-chart-large.tsx +41 -0
  482. package/dist/templates/demo/charts/treemap-chart/treemap-chart-sample.tsx +33 -0
  483. package/dist/templates/demo/charts/treemap-chart/treemap-chart-styled.tsx +32 -0
  484. package/dist/templates/demo/checkbox/checkbox-custom-styling.tsx +34 -0
  485. package/dist/templates/demo/checkbox/checkbox-demo.tsx +14 -0
  486. package/dist/templates/demo/checkbox/checkbox-group.tsx +44 -0
  487. package/dist/templates/demo/checkbox/checkbox-states.tsx +37 -0
  488. package/dist/templates/demo/checkbox/checkbox-with-error.tsx +24 -0
  489. package/dist/templates/demo/checkbox/checkbox-without-label.tsx +8 -0
  490. package/dist/templates/demo/collapsible/collapsible-demo.tsx +16 -0
  491. package/dist/templates/demo/collapsible/collapsible-faq.tsx +45 -0
  492. package/dist/templates/demo/collapsible/collapsible-multiple.tsx +34 -0
  493. package/dist/templates/demo/collapsible/collapsible-nested.tsx +39 -0
  494. package/dist/templates/demo/collapsible/collapsible-with-content.tsx +53 -0
  495. package/dist/templates/demo/color-picker/color-picker-colors.tsx +36 -0
  496. package/dist/templates/demo/color-picker/color-picker-demo.tsx +17 -0
  497. package/dist/templates/demo/color-picker/color-picker-disabled.tsx +15 -0
  498. package/dist/templates/demo/color-picker/color-picker-labeled.tsx +84 -0
  499. package/dist/templates/demo/color-picker/color-picker-palette.tsx +54 -0
  500. package/dist/templates/demo/color-picker/color-picker-sizes.tsx +39 -0
  501. package/dist/templates/demo/color-picker/color-picker-styled.tsx +52 -0
  502. package/dist/templates/demo/color-picker/color-swatch-demo.tsx +46 -0
  503. package/dist/templates/demo/combobox/combobox-demo.tsx +44 -0
  504. package/dist/templates/demo/combobox/combobox-disabled.tsx +44 -0
  505. package/dist/templates/demo/combobox/combobox-form.tsx +91 -0
  506. package/dist/templates/demo/combobox/combobox-groups.tsx +51 -0
  507. package/dist/templates/demo/combobox/combobox-large.tsx +89 -0
  508. package/dist/templates/demo/combobox/combobox-multiple.tsx +48 -0
  509. package/dist/templates/demo/combobox/combobox-search.tsx +67 -0
  510. package/dist/templates/demo/date-picker/date-picker-constraints.tsx +51 -0
  511. package/dist/templates/demo/date-picker/date-picker-datetime.tsx +17 -0
  512. package/dist/templates/demo/date-picker/date-picker-demo.tsx +15 -0
  513. package/dist/templates/demo/date-picker/date-picker-form.tsx +96 -0
  514. package/dist/templates/demo/date-picker/date-picker-formats.tsx +39 -0
  515. package/dist/templates/demo/date-picker/date-picker-range.tsx +16 -0
  516. package/dist/templates/demo/date-picker/date-picker-time.tsx +30 -0
  517. package/dist/templates/demo/date-picker/date-picker-variants.tsx +37 -0
  518. package/dist/templates/demo/file-picker/file-picker-controlled.tsx +134 -0
  519. package/dist/templates/demo/file-picker/file-picker-demo.tsx +16 -0
  520. package/dist/templates/demo/file-picker/file-picker-images.tsx +30 -0
  521. package/dist/templates/demo/file-picker/file-picker-info.tsx +192 -0
  522. package/dist/templates/demo/file-picker/file-picker-single.tsx +35 -0
  523. package/dist/templates/demo/file-picker/file-picker-styled.tsx +78 -0
  524. package/dist/templates/demo/file-picker/file-picker-validation.tsx +61 -0
  525. package/dist/templates/demo/gallery/gallery-controls.tsx +85 -0
  526. package/dist/templates/demo/gallery/gallery-demo.tsx +66 -0
  527. package/dist/templates/demo/gallery/gallery-grid.tsx +109 -0
  528. package/dist/templates/demo/gallery/gallery-info.tsx +70 -0
  529. package/dist/templates/demo/gallery/gallery-layouts.tsx +109 -0
  530. package/dist/templates/demo/gallery/gallery-overlay.tsx +89 -0
  531. package/dist/templates/demo/hello-wave/hello-wave-demo.tsx +6 -0
  532. package/dist/templates/demo/icon/icon-colors.tsx +39 -0
  533. package/dist/templates/demo/icon/icon-demo.tsx +7 -0
  534. package/dist/templates/demo/icon/icon-grid.tsx +69 -0
  535. package/dist/templates/demo/icon/icon-interactive.tsx +66 -0
  536. package/dist/templates/demo/icon/icon-sizes.tsx +23 -0
  537. package/dist/templates/demo/icon/icon-stroke.tsx +34 -0
  538. package/dist/templates/demo/icon/icon-themed.tsx +57 -0
  539. package/dist/templates/demo/image/image-content-fit.tsx +67 -0
  540. package/dist/templates/demo/image/image-demo.tsx +12 -0
  541. package/dist/templates/demo/image/image-error.tsx +50 -0
  542. package/dist/templates/demo/image/image-gallery.tsx +65 -0
  543. package/dist/templates/demo/image/image-loading.tsx +50 -0
  544. package/dist/templates/demo/image/image-responsive.tsx +53 -0
  545. package/dist/templates/demo/image/image-sizes.tsx +54 -0
  546. package/dist/templates/demo/image/image-variants.tsx +46 -0
  547. package/dist/templates/demo/input/input-demo.tsx +9 -0
  548. package/dist/templates/demo/input/input-disabled.tsx +18 -0
  549. package/dist/templates/demo/input/input-form.tsx +159 -0
  550. package/dist/templates/demo/input/input-grouped.tsx +28 -0
  551. package/dist/templates/demo/input/input-icons.tsx +30 -0
  552. package/dist/templates/demo/input/input-right-components.tsx +65 -0
  553. package/dist/templates/demo/input/input-validation.tsx +39 -0
  554. package/dist/templates/demo/input/input-variants.tsx +23 -0
  555. package/dist/templates/demo/input-otp/input-otp-demo.tsx +17 -0
  556. package/dist/templates/demo/input-otp/input-otp-disabled.tsx +40 -0
  557. package/dist/templates/demo/input-otp/input-otp-error.tsx +71 -0
  558. package/dist/templates/demo/input-otp/input-otp-lengths.tsx +25 -0
  559. package/dist/templates/demo/input-otp/input-otp-masked.tsx +42 -0
  560. package/dist/templates/demo/input-otp/input-otp-no-cursor.tsx +39 -0
  561. package/dist/templates/demo/input-otp/input-otp-separator.tsx +61 -0
  562. package/dist/templates/demo/input-otp/input-otp-styled.tsx +67 -0
  563. package/dist/templates/demo/link/link-browser.tsx +36 -0
  564. package/dist/templates/demo/link/link-buttons.tsx +65 -0
  565. package/dist/templates/demo/link/link-custom.tsx +42 -0
  566. package/dist/templates/demo/link/link-demo.tsx +13 -0
  567. package/dist/templates/demo/link/link-external.tsx +13 -0
  568. package/dist/templates/demo/link/link-styled.tsx +72 -0
  569. package/dist/templates/demo/link/link-types.tsx +45 -0
  570. package/dist/templates/demo/media-picker/media-picker-demo.tsx +16 -0
  571. package/dist/templates/demo/media-picker/media-picker-gallery.tsx +21 -0
  572. package/dist/templates/demo/media-picker/media-picker-images.tsx +17 -0
  573. package/dist/templates/demo/media-picker/media-picker-multiple.tsx +31 -0
  574. package/dist/templates/demo/media-picker/media-picker-preview.tsx +39 -0
  575. package/dist/templates/demo/media-picker/media-picker-quality.tsx +62 -0
  576. package/dist/templates/demo/media-picker/media-picker-videos.tsx +17 -0
  577. package/dist/templates/demo/mode-toggle/mode-toggle-demo.tsx +6 -0
  578. package/dist/templates/demo/onboarding/onboarding-custom-buttons.tsx +41 -0
  579. package/dist/templates/demo/onboarding/onboarding-demo.tsx +114 -0
  580. package/dist/templates/demo/onboarding/onboarding-hook.tsx +97 -0
  581. package/dist/templates/demo/onboarding/onboarding-images.tsx +70 -0
  582. package/dist/templates/demo/onboarding/onboarding-no-skip.tsx +62 -0
  583. package/dist/templates/demo/onboarding/onboarding-no-swipe.tsx +68 -0
  584. package/dist/templates/demo/onboarding/onboarding-styled.tsx +70 -0
  585. package/dist/templates/demo/parallax-scrollview/parallax-scrollview-article.tsx +180 -0
  586. package/dist/templates/demo/parallax-scrollview/parallax-scrollview-custom-height.tsx +44 -0
  587. package/dist/templates/demo/parallax-scrollview/parallax-scrollview-demo.tsx +39 -0
  588. package/dist/templates/demo/parallax-scrollview/parallax-scrollview-gradient.tsx +77 -0
  589. package/dist/templates/demo/parallax-scrollview/parallax-scrollview-product.tsx +181 -0
  590. package/dist/templates/demo/parallax-scrollview/parallax-scrollview-profile.tsx +144 -0
  591. package/dist/templates/demo/picker/picker-advanced.tsx +82 -0
  592. package/dist/templates/demo/picker/picker-demo.tsx +22 -0
  593. package/dist/templates/demo/picker/picker-form.tsx +81 -0
  594. package/dist/templates/demo/picker/picker-multiple.tsx +26 -0
  595. package/dist/templates/demo/picker/picker-searchable.tsx +31 -0
  596. package/dist/templates/demo/picker/picker-sections.tsx +35 -0
  597. package/dist/templates/demo/picker/picker-styled.tsx +63 -0
  598. package/dist/templates/demo/picker/picker-variants.tsx +60 -0
  599. package/dist/templates/demo/popover/popover-alignment.tsx +92 -0
  600. package/dist/templates/demo/popover/popover-controlled.tsx +53 -0
  601. package/dist/templates/demo/popover/popover-custom.tsx +79 -0
  602. package/dist/templates/demo/popover/popover-demo.tsx +39 -0
  603. package/dist/templates/demo/popover/popover-form.tsx +78 -0
  604. package/dist/templates/demo/popover/popover-menu.tsx +143 -0
  605. package/dist/templates/demo/popover/popover-positioning.tsx +62 -0
  606. package/dist/templates/demo/progress/progress-animated.tsx +71 -0
  607. package/dist/templates/demo/progress/progress-demo.tsx +6 -0
  608. package/dist/templates/demo/progress/progress-heights.tsx +35 -0
  609. package/dist/templates/demo/progress/progress-interactive.tsx +28 -0
  610. package/dist/templates/demo/progress/progress-labels.tsx +58 -0
  611. package/dist/templates/demo/progress/progress-media.tsx +120 -0
  612. package/dist/templates/demo/progress/progress-steps.tsx +137 -0
  613. package/dist/templates/demo/radio/radio-demo.tsx +18 -0
  614. package/dist/templates/demo/radio/radio-disabled.tsx +47 -0
  615. package/dist/templates/demo/radio/radio-form.tsx +82 -0
  616. package/dist/templates/demo/radio/radio-horizontal.tsx +19 -0
  617. package/dist/templates/demo/radio/radio-large.tsx +27 -0
  618. package/dist/templates/demo/radio/radio-single.tsx +36 -0
  619. package/dist/templates/demo/radio/radio-styled.tsx +77 -0
  620. package/dist/templates/demo/scroll-view/scroll-view-demo.tsx +37 -0
  621. package/dist/templates/demo/scroll-view/scroll-view-horizontal.tsx +57 -0
  622. package/dist/templates/demo/scroll-view/scroll-view-indicators.tsx +91 -0
  623. package/dist/templates/demo/scroll-view/scroll-view-inset.tsx +116 -0
  624. package/dist/templates/demo/scroll-view/scroll-view-nested.tsx +85 -0
  625. package/dist/templates/demo/scroll-view/scroll-view-refresh.tsx +81 -0
  626. package/dist/templates/demo/scroll-view/scroll-view-styled.tsx +91 -0
  627. package/dist/templates/demo/scroll-view/scroll-view-vertical.tsx +50 -0
  628. package/dist/templates/demo/searchbar/searchbar-demo.tsx +19 -0
  629. package/dist/templates/demo/searchbar/searchbar-icons.tsx +36 -0
  630. package/dist/templates/demo/searchbar/searchbar-instant.tsx +58 -0
  631. package/dist/templates/demo/searchbar/searchbar-loading.tsx +28 -0
  632. package/dist/templates/demo/searchbar/searchbar-no-clear.tsx +20 -0
  633. package/dist/templates/demo/searchbar/searchbar-styled.tsx +65 -0
  634. package/dist/templates/demo/searchbar/searchbar-suggestions.tsx +40 -0
  635. package/dist/templates/demo/separator/separator-colors.tsx +35 -0
  636. package/dist/templates/demo/separator/separator-demo.tsx +14 -0
  637. package/dist/templates/demo/separator/separator-spacing.tsx +26 -0
  638. package/dist/templates/demo/separator/separator-thickness.tsx +30 -0
  639. package/dist/templates/demo/separator/separator-vertical.tsx +21 -0
  640. package/dist/templates/demo/share/share-callbacks.tsx +61 -0
  641. package/dist/templates/demo/share/share-custom-content.tsx +53 -0
  642. package/dist/templates/demo/share/share-demo.tsx +22 -0
  643. package/dist/templates/demo/share/share-hook.tsx +71 -0
  644. package/dist/templates/demo/share/share-icon-only.tsx +42 -0
  645. package/dist/templates/demo/share/share-sizes.tsx +28 -0
  646. package/dist/templates/demo/share/share-url-only.tsx +24 -0
  647. package/dist/templates/demo/share/share-variants.tsx +38 -0
  648. package/dist/templates/demo/sheet/sheet-demo.tsx +38 -0
  649. package/dist/templates/demo/sheet/sheet-filter.tsx +191 -0
  650. package/dist/templates/demo/sheet/sheet-form.tsx +170 -0
  651. package/dist/templates/demo/sheet/sheet-left.tsx +39 -0
  652. package/dist/templates/demo/sheet/sheet-navigation.tsx +111 -0
  653. package/dist/templates/demo/skeleton/skeleton-card.tsx +39 -0
  654. package/dist/templates/demo/skeleton/skeleton-demo.tsx +6 -0
  655. package/dist/templates/demo/skeleton/skeleton-list.tsx +34 -0
  656. package/dist/templates/demo/skeleton/skeleton-profile.tsx +53 -0
  657. package/dist/templates/demo/skeleton/skeleton-shapes.tsx +44 -0
  658. package/dist/templates/demo/skeleton/skeleton-sizes.tsx +14 -0
  659. package/dist/templates/demo/spinner/spinner-colors.tsx +27 -0
  660. package/dist/templates/demo/spinner/spinner-demo.tsx +6 -0
  661. package/dist/templates/demo/spinner/spinner-inline.tsx +25 -0
  662. package/dist/templates/demo/spinner/spinner-labels.tsx +14 -0
  663. package/dist/templates/demo/spinner/spinner-overlay.tsx +31 -0
  664. package/dist/templates/demo/spinner/spinner-sizes.tsx +26 -0
  665. package/dist/templates/demo/spinner/spinner-speeds.tsx +25 -0
  666. package/dist/templates/demo/spinner/spinner-variants.tsx +27 -0
  667. package/dist/templates/demo/switch/switch-colors.tsx +33 -0
  668. package/dist/templates/demo/switch/switch-demo.tsx +14 -0
  669. package/dist/templates/demo/switch/switch-disabled.tsx +20 -0
  670. package/dist/templates/demo/switch/switch-error.tsx +24 -0
  671. package/dist/templates/demo/switch/switch-settings.tsx +42 -0
  672. package/dist/templates/demo/switch/switch-simple.tsx +8 -0
  673. package/dist/templates/demo/table/table-custom-cells.tsx +153 -0
  674. package/dist/templates/demo/table/table-demo.tsx +90 -0
  675. package/dist/templates/demo/table/table-loading.tsx +84 -0
  676. package/dist/templates/demo/table/table-pagination.tsx +114 -0
  677. package/dist/templates/demo/table/table-search.tsx +168 -0
  678. package/dist/templates/demo/table/table-sortable.tsx +119 -0
  679. package/dist/templates/demo/tabs/tabs-demo.tsx +85 -0
  680. package/dist/templates/demo/tabs/tabs-disabled.tsx +61 -0
  681. package/dist/templates/demo/tabs/tabs-styled.tsx +105 -0
  682. package/dist/templates/demo/tabs/tabs-vertical.tsx +61 -0
  683. package/dist/templates/demo/text/text-colors.tsx +40 -0
  684. package/dist/templates/demo/text/text-demo.tsx +19 -0
  685. package/dist/templates/demo/text/text-variants.tsx +60 -0
  686. package/dist/templates/demo/toast/toast-actions.tsx +51 -0
  687. package/dist/templates/demo/toast/toast-compact.tsx +66 -0
  688. package/dist/templates/demo/toast/toast-demo.tsx +18 -0
  689. package/dist/templates/demo/toast/toast-duration.tsx +68 -0
  690. package/dist/templates/demo/toast/toast-multiple.tsx +65 -0
  691. package/dist/templates/demo/toast/toast-variants.tsx +45 -0
  692. package/dist/templates/demo/toggle/toggle-demo.tsx +13 -0
  693. package/dist/templates/demo/toggle/toggle-disabled.tsx +23 -0
  694. package/dist/templates/demo/toggle/toggle-group-multiple.tsx +22 -0
  695. package/dist/templates/demo/toggle/toggle-group-outline.tsx +23 -0
  696. package/dist/templates/demo/toggle/toggle-group-single.tsx +22 -0
  697. package/dist/templates/demo/toggle/toggle-group-vertical.tsx +23 -0
  698. package/dist/templates/demo/toggle/toggle-sizes.tsx +20 -0
  699. package/dist/templates/demo/toggle/toggle-text.tsx +28 -0
  700. package/dist/templates/demo/toggle/toggle-variants.tsx +44 -0
  701. package/dist/templates/demo/video/video-autoplay-loop.tsx +22 -0
  702. package/dist/templates/demo/video/video-content-fit.tsx +47 -0
  703. package/dist/templates/demo/video/video-custom-controls.tsx +28 -0
  704. package/dist/templates/demo/video/video-demo.tsx +20 -0
  705. package/dist/templates/demo/video/video-gestures.tsx +34 -0
  706. package/dist/templates/demo/video/video-native-controls.tsx +20 -0
  707. package/dist/templates/demo/video/video-sources.tsx +39 -0
  708. package/dist/templates/demo/video/video-subtitles.tsx +29 -0
  709. package/dist/templates/demo/view/view-demo.tsx +17 -0
  710. package/dist/templates/hooks/useBottomTabOverflow.ts +6 -0
  711. package/dist/templates/hooks/useColor.ts +16 -0
  712. package/dist/templates/hooks/useColorScheme.ts +1 -0
  713. package/dist/templates/hooks/useColorScheme.web.ts +21 -0
  714. package/dist/templates/hooks/useKeyboardHeight.ts +131 -0
  715. package/dist/templates/hooks/useModeToggle.tsx +50 -0
  716. package/dist/templates/hooks/useThemeColor.ts +21 -0
  717. package/dist/templates/start/README.md +198 -0
  718. package/dist/templates/start/app/(tabs)/(home)/_layout.tsx +43 -0
  719. package/dist/templates/start/app/(tabs)/(home)/index.tsx +96 -0
  720. package/dist/templates/start/app/(tabs)/_layout.tsx +68 -0
  721. package/dist/templates/start/app/(tabs)/_layout.web.tsx +48 -0
  722. package/dist/templates/start/app/(tabs)/search/_layout.tsx +60 -0
  723. package/dist/templates/start/app/(tabs)/search/index.tsx +44 -0
  724. package/dist/templates/start/app/(tabs)/settings/_layout.tsx +42 -0
  725. package/dist/templates/start/app/(tabs)/settings/index.tsx +105 -0
  726. package/dist/templates/start/app/+not-found.tsx +24 -0
  727. package/dist/templates/start/app/_layout.tsx +90 -0
  728. package/dist/templates/start/app/sheet.tsx +1 -0
  729. package/dist/templates/start/app.json +50 -0
  730. package/dist/templates/start/assets/images/icon.png +0 -0
  731. package/dist/templates/start/assets/images/splash.png +0 -0
  732. package/dist/templates/start/components/sheet.tsx +79 -0
  733. package/dist/templates/start/components/ui/avoid-keyboard.tsx +49 -0
  734. package/dist/templates/start/components/ui/button.tsx +392 -0
  735. package/dist/templates/start/components/ui/card.tsx +110 -0
  736. package/dist/templates/start/components/ui/icon.tsx +34 -0
  737. package/dist/templates/start/components/ui/input-otp.tsx +302 -0
  738. package/dist/templates/start/components/ui/input.tsx +607 -0
  739. package/dist/templates/start/components/ui/link.tsx +143 -0
  740. package/dist/templates/start/components/ui/mode-toggle.tsx +55 -0
  741. package/dist/templates/start/components/ui/scroll-view.tsx +14 -0
  742. package/dist/templates/start/components/ui/spinner.tsx +462 -0
  743. package/dist/templates/start/components/ui/tabs.tsx +500 -0
  744. package/dist/templates/start/components/ui/text.tsx +86 -0
  745. package/dist/templates/start/components/ui/view.tsx +14 -0
  746. package/dist/templates/start/eslint.config.js +10 -0
  747. package/dist/templates/start/hooks/useColor.ts +16 -0
  748. package/dist/templates/start/hooks/useColorScheme.ts +1 -0
  749. package/dist/templates/start/hooks/useColorScheme.web.ts +21 -0
  750. package/dist/templates/start/hooks/useKeyboardHeight.ts +131 -0
  751. package/dist/templates/start/hooks/useModeToggle.tsx +88 -0
  752. package/dist/templates/start/package.json +58 -0
  753. package/dist/templates/start/providers/search-context.tsx +26 -0
  754. package/dist/templates/start/theme/colors.ts +184 -0
  755. package/dist/templates/start/theme/globals.ts +4 -0
  756. package/dist/templates/start/theme/theme-provider.tsx +59 -0
  757. package/dist/templates/start/tsconfig.json +17 -0
  758. package/dist/templates/start-convex/README.md +213 -0
  759. package/dist/templates/start-convex/app/(tabs)/(home)/_layout.tsx +43 -0
  760. package/dist/templates/start-convex/app/(tabs)/(home)/index.tsx +96 -0
  761. package/dist/templates/start-convex/app/(tabs)/_layout.tsx +68 -0
  762. package/dist/templates/start-convex/app/(tabs)/_layout.web.tsx +48 -0
  763. package/dist/templates/start-convex/app/(tabs)/search/_layout.tsx +60 -0
  764. package/dist/templates/start-convex/app/(tabs)/search/index.tsx +44 -0
  765. package/dist/templates/start-convex/app/(tabs)/settings/_layout.tsx +42 -0
  766. package/dist/templates/start-convex/app/(tabs)/settings/index.tsx +49 -0
  767. package/dist/templates/start-convex/app/+not-found.tsx +24 -0
  768. package/dist/templates/start-convex/app/_layout.tsx +136 -0
  769. package/dist/templates/start-convex/app/sheet.tsx +1 -0
  770. package/dist/templates/start-convex/app.json +51 -0
  771. package/dist/templates/start-convex/assets/images/icon.png +0 -0
  772. package/dist/templates/start-convex/assets/images/splash.png +0 -0
  773. package/dist/templates/start-convex/components/auth/apple.tsx +60 -0
  774. package/dist/templates/start-convex/components/auth/auth.tsx +127 -0
  775. package/dist/templates/start-convex/components/auth/email-otp.tsx +186 -0
  776. package/dist/templates/start-convex/components/auth/google.tsx +60 -0
  777. package/dist/templates/start-convex/components/auth/password.tsx +335 -0
  778. package/dist/templates/start-convex/components/auth/singout.tsx +36 -0
  779. package/dist/templates/start-convex/components/sheet.tsx +79 -0
  780. package/dist/templates/start-convex/components/ui/avoid-keyboard.tsx +49 -0
  781. package/dist/templates/start-convex/components/ui/button.tsx +392 -0
  782. package/dist/templates/start-convex/components/ui/card.tsx +110 -0
  783. package/dist/templates/start-convex/components/ui/icon.tsx +34 -0
  784. package/dist/templates/start-convex/components/ui/input-otp.tsx +302 -0
  785. package/dist/templates/start-convex/components/ui/input.tsx +607 -0
  786. package/dist/templates/start-convex/components/ui/link.tsx +143 -0
  787. package/dist/templates/start-convex/components/ui/mode-toggle.tsx +55 -0
  788. package/dist/templates/start-convex/components/ui/scroll-view.tsx +14 -0
  789. package/dist/templates/start-convex/components/ui/spinner.tsx +462 -0
  790. package/dist/templates/start-convex/components/ui/tabs.tsx +500 -0
  791. package/dist/templates/start-convex/components/ui/text.tsx +86 -0
  792. package/dist/templates/start-convex/components/ui/view.tsx +14 -0
  793. package/dist/templates/start-convex/convex/README.md +90 -0
  794. package/dist/templates/start-convex/convex/_generated/api.d.ts +61 -0
  795. package/dist/templates/start-convex/convex/_generated/api.js +23 -0
  796. package/dist/templates/start-convex/convex/_generated/dataModel.d.ts +60 -0
  797. package/dist/templates/start-convex/convex/_generated/server.d.ts +143 -0
  798. package/dist/templates/start-convex/convex/_generated/server.js +93 -0
  799. package/dist/templates/start-convex/convex/auth.config.ts +8 -0
  800. package/dist/templates/start-convex/convex/auth.ts +112 -0
  801. package/dist/templates/start-convex/convex/http.ts +8 -0
  802. package/dist/templates/start-convex/convex/passwordReset.ts +69 -0
  803. package/dist/templates/start-convex/convex/resendOTP.ts +60 -0
  804. package/dist/templates/start-convex/convex/resendPasswordOTP.ts +64 -0
  805. package/dist/templates/start-convex/convex/router.ts +5 -0
  806. package/dist/templates/start-convex/convex/schema.ts +23 -0
  807. package/dist/templates/start-convex/convex/tsconfig.json +25 -0
  808. package/dist/templates/start-convex/convex/users.ts +111 -0
  809. package/dist/templates/start-convex/eslint.config.js +10 -0
  810. package/dist/templates/start-convex/hooks/useColor.ts +16 -0
  811. package/dist/templates/start-convex/hooks/useColorScheme.ts +1 -0
  812. package/dist/templates/start-convex/hooks/useColorScheme.web.ts +21 -0
  813. package/dist/templates/start-convex/hooks/useKeyboardHeight.ts +131 -0
  814. package/dist/templates/start-convex/hooks/useModeToggle.tsx +88 -0
  815. package/dist/templates/start-convex/package.json +64 -0
  816. package/dist/templates/start-convex/providers/search-context.tsx +26 -0
  817. package/dist/templates/start-convex/theme/colors.ts +184 -0
  818. package/dist/templates/start-convex/theme/globals.ts +4 -0
  819. package/dist/templates/start-convex/theme/theme-provider.tsx +59 -0
  820. package/dist/templates/start-convex/tsconfig.json +17 -0
  821. package/dist/templates/theme/colors.ts +205 -0
  822. package/dist/templates/theme/globals.ts +4 -0
  823. package/dist/templates/theme/theme-provider.tsx +52 -0
  824. package/dist/utils/dependencies.d.ts +7 -0
  825. package/dist/utils/dependencies.js +109 -0
  826. package/dist/utils/filesystem.d.ts +6 -0
  827. package/dist/utils/filesystem.js +72 -0
  828. package/dist/utils/git.d.ts +2 -0
  829. package/dist/utils/git.js +33 -0
  830. package/dist/utils/logger.d.ts +11 -0
  831. package/dist/utils/logger.js +43 -0
  832. package/dist/utils/package-manager.d.ts +8 -0
  833. package/dist/utils/package-manager.js +128 -0
  834. package/dist/utils/project-config.d.ts +2 -0
  835. package/dist/utils/project-config.js +46 -0
  836. package/dist/utils/registry.d.ts +17 -0
  837. package/dist/utils/registry.js +181 -0
  838. package/dist/utils/validation.d.ts +16 -0
  839. package/dist/utils/validation.js +84 -0
  840. package/package.json +74 -0
@@ -0,0 +1,32 @@
1
+ import { BottomSheet, useBottomSheet } from '@/components/ui/bottom-sheet';
2
+ import { Button } from '@/components/ui/button';
3
+ import { Text } from '@/components/ui/text';
4
+ import { View } from '@/components/ui/view';
5
+ import React from 'react';
6
+
7
+ export function BottomSheetTitle() {
8
+ const { isVisible, open, close } = useBottomSheet();
9
+
10
+ return (
11
+ <View>
12
+ <Button onPress={open}>Open Sheet with Title</Button>
13
+
14
+ <BottomSheet
15
+ isVisible={isVisible}
16
+ onClose={close}
17
+ title='Settings'
18
+ snapPoints={[0.4, 0.7]}
19
+ >
20
+ <View style={{ gap: 16 }}>
21
+ <Text>
22
+ This bottom sheet includes a title in the header area. The title is
23
+ centered and uses the theme's title text style.
24
+ </Text>
25
+ <Button variant='secondary' onPress={close}>
26
+ Done
27
+ </Button>
28
+ </View>
29
+ </BottomSheet>
30
+ </View>
31
+ );
32
+ }
@@ -0,0 +1,28 @@
1
+ import { Button } from '@/components/ui/button';
2
+ import { Text } from '@/components/ui/text';
3
+ import { View } from '@/components/ui/view';
4
+ import React from 'react';
5
+
6
+ export function ButtonAnimation() {
7
+ return (
8
+ <View style={{ gap: 16 }}>
9
+ <View>
10
+ <Text style={{ marginBottom: 8, fontSize: 14, color: '#71717a' }}>
11
+ With Animation (default)
12
+ </Text>
13
+ <Button animation={true} onPress={() => {}}>
14
+ Animated Button
15
+ </Button>
16
+ </View>
17
+
18
+ <View>
19
+ <Text style={{ marginBottom: 8, fontSize: 14, color: '#71717a' }}>
20
+ Without Animation
21
+ </Text>
22
+ <Button animation={false} onPress={() => {}}>
23
+ Static Button
24
+ </Button>
25
+ </View>
26
+ </View>
27
+ );
28
+ }
@@ -0,0 +1,52 @@
1
+ import { Button } from '@/components/ui/button';
2
+ import { View } from '@/components/ui/view';
3
+ import { LinearGradient } from 'expo-linear-gradient';
4
+ import { Star } from 'lucide-react-native';
5
+
6
+ export function ButtonCustom() {
7
+ return (
8
+ <View style={{ gap: 12, flexDirection: 'row', flexWrap: 'wrap' }}>
9
+ <Button
10
+ style={{ backgroundColor: '#8B5CF6', borderRadius: 12 }}
11
+ textStyle={{ color: 'white', fontWeight: 'bold' }}
12
+ onPress={() => {}}
13
+ >
14
+ Custom Purple
15
+ </Button>
16
+ <Button
17
+ variant='outline'
18
+ style={{
19
+ borderColor: '#F59E0B',
20
+ borderWidth: 2,
21
+ borderRadius: 20,
22
+ }}
23
+ textStyle={{ color: '#F59E0B', fontWeight: '600' }}
24
+ onPress={() => {}}
25
+ >
26
+ Custom Orange
27
+ </Button>
28
+
29
+ <LinearGradient
30
+ colors={['#FF6B6B', '#4ECDC4']}
31
+ start={{ x: 0, y: 0 }}
32
+ end={{ x: 1, y: 1 }}
33
+ style={{
34
+ borderRadius: 12,
35
+ overflow: 'hidden',
36
+ flex: 1,
37
+ }}
38
+ >
39
+ <Button
40
+ icon={Star}
41
+ style={{
42
+ backgroundColor: 'transparent',
43
+ }}
44
+ textStyle={{ color: 'white', fontWeight: 'bold' }}
45
+ onPress={() => {}}
46
+ >
47
+ Gradient Style
48
+ </Button>
49
+ </LinearGradient>
50
+ </View>
51
+ );
52
+ }
@@ -0,0 +1,8 @@
1
+ import { Button } from '@/components/ui/button';
2
+ import React from 'react';
3
+
4
+ export function ButtonDemo() {
5
+ return (
6
+ <Button onPress={() => console.log('Button pressed!')}>Click me</Button>
7
+ );
8
+ }
@@ -0,0 +1,21 @@
1
+ import { Button } from '@/components/ui/button';
2
+ import { View } from '@/components/ui/view';
3
+ import { Lock } from 'lucide-react-native';
4
+ import React from 'react';
5
+
6
+ export function ButtonDisabled() {
7
+ return (
8
+ <View style={{ gap: 12, flexDirection: 'row', flexWrap: 'wrap' }}>
9
+ <Button disabled onPress={() => {}}>
10
+ Disabled
11
+ </Button>
12
+ <Button disabled variant='outline' onPress={() => {}}>
13
+ Disabled Outline
14
+ </Button>
15
+ <Button disabled variant='destructive' onPress={() => {}}>
16
+ Disabled Destructive
17
+ </Button>
18
+ <Button disabled size='icon' onPress={() => {}} icon={Lock} />
19
+ </View>
20
+ );
21
+ }
@@ -0,0 +1,26 @@
1
+ import { Button } from '@/components/ui/button';
2
+ import { View } from '@/components/ui/view';
3
+ import {
4
+ Heart,
5
+ MessageCircle,
6
+ MoreHorizontal,
7
+ Settings,
8
+ Share,
9
+ } from 'lucide-react-native';
10
+ import React from 'react';
11
+
12
+ export function ButtonIconOnly() {
13
+ return (
14
+ <View style={{ gap: 12, flexDirection: 'row', flexWrap: 'wrap' }}>
15
+ <Button size='icon' icon={Settings} />
16
+
17
+ <Button size='icon' variant='outline' icon={Heart} />
18
+
19
+ <Button size='icon' variant='secondary' icon={Share} />
20
+
21
+ <Button size='icon' variant='ghost' icon={MoreHorizontal} />
22
+
23
+ <Button size='icon' variant='destructive' icon={MessageCircle} />
24
+ </View>
25
+ );
26
+ }
@@ -0,0 +1,23 @@
1
+ import { Button } from '@/components/ui/button';
2
+ import { View } from '@/components/ui/view';
3
+ import { Save } from 'lucide-react-native';
4
+ import React from 'react';
5
+
6
+ export function ButtonLoading() {
7
+ return (
8
+ <View style={{ gap: 12, flexDirection: 'row', flexWrap: 'wrap' }}>
9
+ <Button loading onPress={() => {}}>
10
+ Loading...
11
+ </Button>
12
+ <Button loading variant='outline' onPress={() => {}}>
13
+ Please wait
14
+ </Button>
15
+ <Button loading variant='destructive' onPress={() => {}}>
16
+ Deleting...
17
+ </Button>
18
+ <Button loading size='icon' onPress={() => {}}>
19
+ <Save size={20} color='white' />
20
+ </Button>
21
+ </View>
22
+ );
23
+ }
@@ -0,0 +1,19 @@
1
+ import { Button } from '@/components/ui/button';
2
+ import { View } from '@/components/ui/view';
3
+ import React from 'react';
4
+
5
+ export function ButtonSizes() {
6
+ return (
7
+ <View style={{ gap: 12, alignItems: 'flex-start' }}>
8
+ <Button size='sm' onPress={() => {}}>
9
+ Small
10
+ </Button>
11
+ <Button size='default' onPress={() => {}}>
12
+ Default
13
+ </Button>
14
+ <Button size='lg' onPress={() => {}}>
15
+ Large
16
+ </Button>
17
+ </View>
18
+ );
19
+ }
@@ -0,0 +1,33 @@
1
+ import { Button } from '@/components/ui/button';
2
+ import { View } from '@/components/ui/view';
3
+ import React from 'react';
4
+
5
+ export function ButtonVariants() {
6
+ return (
7
+ <View style={{ gap: 12 }}>
8
+ <View style={{ flexDirection: 'row', alignItems: 'center', gap: 8 }}>
9
+ <Button variant='default' onPress={() => {}} style={{ flex: 1 }}>
10
+ Default
11
+ </Button>
12
+ <Button variant='destructive' onPress={() => {}} style={{ flex: 2 }}>
13
+ Destructive
14
+ </Button>
15
+ </View>
16
+ <Button variant='success' onPress={() => {}}>
17
+ Success
18
+ </Button>
19
+ <Button variant='outline' onPress={() => {}}>
20
+ Outline
21
+ </Button>
22
+ <Button variant='secondary' onPress={() => {}}>
23
+ Secondary
24
+ </Button>
25
+ <Button variant='ghost' onPress={() => {}}>
26
+ Ghost
27
+ </Button>
28
+ <Button variant='link' onPress={() => {}}>
29
+ Link
30
+ </Button>
31
+ </View>
32
+ );
33
+ }
@@ -0,0 +1,23 @@
1
+ import { Button } from '@/components/ui/button';
2
+ import { View } from '@/components/ui/view';
3
+ import { Download, Mail, Plus, Search } from 'lucide-react-native';
4
+ import React from 'react';
5
+
6
+ export function ButtonWithIcons() {
7
+ return (
8
+ <View style={{ gap: 12, flexDirection: 'row', flexWrap: 'wrap' }}>
9
+ <Button icon={Download} onPress={() => {}}>
10
+ Download
11
+ </Button>
12
+ <Button icon={Mail} variant='outline' onPress={() => {}}>
13
+ Email
14
+ </Button>
15
+ <Button icon={Plus} variant='success' onPress={() => {}}>
16
+ Add Item
17
+ </Button>
18
+ <Button icon={Search} variant='secondary' onPress={() => {}}>
19
+ Search
20
+ </Button>
21
+ </View>
22
+ );
23
+ }
@@ -0,0 +1,25 @@
1
+ import { Camera } from '@/components/ui/camera';
2
+ import React from 'react';
3
+ import { Alert } from 'react-native';
4
+
5
+ export function CameraCustomControls() {
6
+ const handleCapture = ({ uri, type }: { uri: string; type: string }) => {
7
+ Alert.alert('Capture Complete', `${type} saved successfully`);
8
+ };
9
+
10
+ const handleVideoCapture = ({ uri, type }: { uri: string; type: string }) => {
11
+ Alert.alert('Recording Complete', `Video saved successfully`);
12
+ };
13
+
14
+ return (
15
+ <Camera
16
+ facing='front'
17
+ enableTorch={false}
18
+ timerOptions={[0, 5, 15]}
19
+ maxVideoDuration={30}
20
+ onCapture={handleCapture}
21
+ onVideoCapture={handleVideoCapture}
22
+ style={{ height: 400, borderRadius: 12 }}
23
+ />
24
+ );
25
+ }
@@ -0,0 +1,21 @@
1
+ import { Camera } from '@/components/ui/camera';
2
+ import React from 'react';
3
+ import { Alert } from 'react-native';
4
+
5
+ export function CameraDemo() {
6
+ const handleCapture = ({ uri, type }: { uri: string; type: string }) => {
7
+ Alert.alert('Picture Captured', `Saved to: ${uri}`);
8
+ };
9
+
10
+ const handleVideoCapture = ({ uri, type }: { uri: string; type: string }) => {
11
+ Alert.alert('Video Recorded', `Saved to: ${uri}`);
12
+ };
13
+
14
+ return (
15
+ <Camera
16
+ onCapture={handleCapture}
17
+ onVideoCapture={handleVideoCapture}
18
+ style={{ height: 400 }}
19
+ />
20
+ );
21
+ }
@@ -0,0 +1,17 @@
1
+ import { Camera } from '@/components/ui/camera';
2
+ import React from 'react';
3
+ import { Alert } from 'react-native';
4
+
5
+ export function CameraPictureOnly() {
6
+ const handleCapture = ({ uri, type }: { uri: string; type: string }) => {
7
+ Alert.alert('Photo Captured', 'Picture saved to gallery');
8
+ };
9
+
10
+ return (
11
+ <Camera
12
+ enableVideo={false}
13
+ onCapture={handleCapture}
14
+ style={{ height: 400 }}
15
+ />
16
+ );
17
+ }
@@ -0,0 +1,29 @@
1
+ import { Camera } from '@/components/ui/camera';
2
+ import { Text } from '@/components/ui/text';
3
+ import { View } from '@/components/ui/view';
4
+ import React from 'react';
5
+ import { Alert } from 'react-native';
6
+
7
+ export function CameraSettings() {
8
+ const handleCapture = ({ uri, type }: { uri: string; type: string }) => {
9
+ Alert.alert('Settings Demo', 'Captured with current settings applied');
10
+ };
11
+
12
+ const handleVideoCapture = ({ uri, type }: { uri: string; type: string }) => {
13
+ Alert.alert('Settings Demo', 'Recorded with current settings applied');
14
+ };
15
+
16
+ return (
17
+ <View style={{ gap: 8 }}>
18
+ <Text variant='body' style={{ textAlign: 'center', opacity: 0.7 }}>
19
+ Tap the settings icon to access grid, sound, aspect ratio, and timer
20
+ controls
21
+ </Text>
22
+ <Camera
23
+ onCapture={handleCapture}
24
+ onVideoCapture={handleVideoCapture}
25
+ style={{ height: 400 }}
26
+ />
27
+ </View>
28
+ );
29
+ }
@@ -0,0 +1,22 @@
1
+ import { Camera } from '@/components/ui/camera';
2
+ import React from 'react';
3
+ import { Alert } from 'react-native';
4
+
5
+ export function CameraTimer() {
6
+ const handleCapture = ({ uri, type }: { uri: string; type: string }) => {
7
+ Alert.alert('Timer Capture', 'Photo captured after countdown!');
8
+ };
9
+
10
+ const handleVideoCapture = ({ uri, type }: { uri: string; type: string }) => {
11
+ Alert.alert('Timer Recording', 'Video started after countdown!');
12
+ };
13
+
14
+ return (
15
+ <Camera
16
+ timerOptions={[0, 3, 5, 10, 15]}
17
+ onCapture={handleCapture}
18
+ onVideoCapture={handleVideoCapture}
19
+ style={{ height: 400 }}
20
+ />
21
+ );
22
+ }
@@ -0,0 +1,25 @@
1
+ import { Camera } from '@/components/ui/camera';
2
+ import React from 'react';
3
+ import { Alert } from 'react-native';
4
+
5
+ export function CameraVideo() {
6
+ const handleCapture = ({ uri, type }: { uri: string; type: string }) => {
7
+ Alert.alert(
8
+ 'Picture Taken',
9
+ `Saved: ${uri.substring(uri.lastIndexOf('/') + 1)}`
10
+ );
11
+ };
12
+
13
+ const handleVideoCapture = ({ uri, type }: { uri: string; type: string }) => {
14
+ Alert.alert('Video Recorded', `Duration: ${uri ? 'Success' : 'Failed'}`);
15
+ };
16
+
17
+ return (
18
+ <Camera
19
+ maxVideoDuration={120}
20
+ onCapture={handleCapture}
21
+ onVideoCapture={handleVideoCapture}
22
+ style={{ height: 400 }}
23
+ />
24
+ );
25
+ }
@@ -0,0 +1,21 @@
1
+ import { Camera } from '@/components/ui/camera';
2
+ import { Text } from '@/components/ui/text';
3
+ import { View } from '@/components/ui/view';
4
+ import React from 'react';
5
+ import { Alert } from 'react-native';
6
+
7
+ export function CameraZoom() {
8
+ const handleCapture = ({ uri, type }: { uri: string; type: string }) => {
9
+ Alert.alert('Zoomed Capture', 'Photo taken with current zoom level');
10
+ };
11
+
12
+ return (
13
+ <View style={{ gap: 8 }}>
14
+ <Text variant='body' style={{ textAlign: 'center', opacity: 0.7 }}>
15
+ Pinch to zoom • Double tap for quick zoom • Tap zoom button to cycle
16
+ levels
17
+ </Text>
18
+ <Camera onCapture={handleCapture} style={{ height: 400 }} />
19
+ </View>
20
+ );
21
+ }
@@ -0,0 +1,5 @@
1
+ import { CameraPreview } from '@/components/ui/camera-preview';
2
+
3
+ export function CameraPreviewDemo() {
4
+ return <CameraPreview />;
5
+ }
@@ -0,0 +1,35 @@
1
+ import { Button } from '@/components/ui/button';
2
+ import {
3
+ Card,
4
+ CardContent,
5
+ CardDescription,
6
+ CardFooter,
7
+ CardHeader,
8
+ CardTitle,
9
+ } from '@/components/ui/card';
10
+ import { Text } from '@/components/ui/text';
11
+ import React from 'react';
12
+
13
+ export function CardDemo() {
14
+ return (
15
+ <Card>
16
+ <CardHeader>
17
+ <CardTitle>Card Title</CardTitle>
18
+ <CardDescription>
19
+ This is a description of the card content. It provides additional
20
+ context about what this card contains.
21
+ </CardDescription>
22
+ </CardHeader>
23
+ <CardContent>
24
+ <Text>
25
+ This is the main content area of the card. You can put any content
26
+ here including text, images, forms, or other components.
27
+ </Text>
28
+ </CardContent>
29
+ <CardFooter>
30
+ <Button variant='outline'>Cancel</Button>
31
+ <Button style={{ flex: 1 }}>Confirm</Button>
32
+ </CardFooter>
33
+ </Card>
34
+ );
35
+ }
@@ -0,0 +1,51 @@
1
+ import { Button } from '@/components/ui/button';
2
+ import {
3
+ Card,
4
+ CardContent,
5
+ CardDescription,
6
+ CardFooter,
7
+ CardHeader,
8
+ CardTitle,
9
+ } from '@/components/ui/card';
10
+ import { Icon } from '@/components/ui/icon';
11
+ import { Text } from '@/components/ui/text';
12
+ import { View } from '@/components/ui/view';
13
+ import { Bell } from 'lucide-react-native';
14
+ import React from 'react';
15
+
16
+ export function CardNotification() {
17
+ return (
18
+ <Card style={{ maxWidth: 400 }}>
19
+ <CardHeader>
20
+ <View style={{ flexDirection: 'row', alignItems: 'center', gap: 12 }}>
21
+ <View
22
+ style={{
23
+ width: 40,
24
+ height: 40,
25
+ borderRadius: 20,
26
+ backgroundColor: '#3b82f6',
27
+ alignItems: 'center',
28
+ justifyContent: 'center',
29
+ }}
30
+ >
31
+ <Icon name={Bell} color='white' size={20} />
32
+ </View>
33
+ <View style={{ flex: 1 }}>
34
+ <CardTitle>New Notification</CardTitle>
35
+ <CardDescription>2 minutes ago</CardDescription>
36
+ </View>
37
+ </View>
38
+ </CardHeader>
39
+ <CardContent>
40
+ <Text>
41
+ You have a new message from John Doe. Click to view the full
42
+ conversation and respond.
43
+ </Text>
44
+ </CardContent>
45
+ <CardFooter>
46
+ <Button variant='outline'>Dismiss</Button>
47
+ <Button>View Message</Button>
48
+ </CardFooter>
49
+ </Card>
50
+ );
51
+ }
@@ -0,0 +1,115 @@
1
+ import {
2
+ Card,
3
+ CardContent,
4
+ CardDescription,
5
+ CardHeader,
6
+ CardTitle,
7
+ } from '@/components/ui/card';
8
+ import { Icon } from '@/components/ui/icon';
9
+ import { Text } from '@/components/ui/text';
10
+ import { View } from '@/components/ui/view';
11
+ import { Check } from 'lucide-react-native';
12
+ import React from 'react';
13
+
14
+ export function CardPricing() {
15
+ const plans = [
16
+ {
17
+ name: 'Basic',
18
+ price: '$9',
19
+ description: 'Perfect for individuals',
20
+ features: ['1 Project', '5GB Storage', 'Email Support'],
21
+ popular: false,
22
+ },
23
+ {
24
+ name: 'Pro',
25
+ price: '$29',
26
+ description: 'Best for small teams',
27
+ features: [
28
+ '10 Projects',
29
+ '100GB Storage',
30
+ // 'Priority Support',
31
+ // 'Advanced Analytics',
32
+ ],
33
+ popular: true,
34
+ },
35
+ {
36
+ name: 'Enterprise',
37
+ price: '$99',
38
+ description: 'For large organizations',
39
+ features: [
40
+ 'Unlimited Projects',
41
+ '1TB Storage',
42
+ // '24/7 Support',
43
+ // 'Custom Integrations',
44
+ ],
45
+ popular: false,
46
+ },
47
+ ];
48
+
49
+ return (
50
+ <View style={{ flexDirection: 'row', gap: 16, flexWrap: 'wrap' }}>
51
+ {plans.map((plan, index) => (
52
+ <Card
53
+ key={index}
54
+ style={{
55
+ flex: 1,
56
+ minWidth: 250,
57
+ borderWidth: plan.popular ? 2 : 1,
58
+ borderColor: plan.popular ? '#3b82f6' : undefined,
59
+ }}
60
+ >
61
+ <CardHeader>
62
+ <View style={{ alignItems: 'center' }}>
63
+ {plan.popular && (
64
+ <View
65
+ style={{
66
+ backgroundColor: '#3b82f6',
67
+ paddingHorizontal: 12,
68
+ paddingVertical: 4,
69
+ borderRadius: 12,
70
+ marginBottom: 8,
71
+ }}
72
+ >
73
+ <Text
74
+ style={{ color: 'white', fontSize: 12, fontWeight: '600' }}
75
+ >
76
+ POPULAR
77
+ </Text>
78
+ </View>
79
+ )}
80
+ <CardTitle>{plan.name}</CardTitle>
81
+ <CardDescription>{plan.description}</CardDescription>
82
+ <Text style={{ fontSize: 32, fontWeight: 'bold', marginTop: 8 }}>
83
+ {plan.price}
84
+ <Text style={{ fontSize: 16, fontWeight: 'normal' }}>
85
+ /month
86
+ </Text>
87
+ </Text>
88
+ </View>
89
+ </CardHeader>
90
+ <CardContent>
91
+ <View style={{ gap: 8 }}>
92
+ {plan.features.map((feature, featureIndex) => (
93
+ <View
94
+ key={featureIndex}
95
+ style={{ flexDirection: 'row', alignItems: 'center', gap: 8 }}
96
+ >
97
+ <Icon name={Check} color='#22c55e' size={16} />
98
+ <Text>{feature}</Text>
99
+ </View>
100
+ ))}
101
+ </View>
102
+ </CardContent>
103
+ {/* <CardFooter>
104
+ <Button
105
+ variant={plan.popular ? 'default' : 'outline'}
106
+ style={{ width: '100%' }}
107
+ >
108
+ Get Started
109
+ </Button>
110
+ </CardFooter> */}
111
+ </Card>
112
+ ))}
113
+ </View>
114
+ );
115
+ }
@@ -0,0 +1,16 @@
1
+ import { Card, CardContent } from '@/components/ui/card';
2
+ import { Text } from '@/components/ui/text';
3
+ import React from 'react';
4
+
5
+ export function CardSimple() {
6
+ return (
7
+ <Card>
8
+ <CardContent>
9
+ <Text>
10
+ A simple card with just content. Perfect for displaying basic
11
+ information or messages.
12
+ </Text>
13
+ </CardContent>
14
+ </Card>
15
+ );
16
+ }