create-tauri-ui 0.3.2 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (636) hide show
  1. package/README.md +188 -97
  2. package/assets/debug-panel/debug-events.ts.tmpl +97 -0
  3. package/assets/debug-panel/debug-panel.tsx.tmpl +1354 -0
  4. package/assets/debug-panel/tauri.ts.tmpl +53 -0
  5. package/assets/release.yml.tmpl +74 -0
  6. package/dist/index.mjs +483 -52
  7. package/index.js +2 -2
  8. package/package.json +53 -55
  9. package/templates/.shared/.github/workflows/release.yml +0 -112
  10. package/templates/.shared/src-tauri/Cargo.lock +0 -3835
  11. package/templates/.shared/src-tauri/Cargo.toml +0 -39
  12. package/templates/.shared/src-tauri/build.rs +0 -3
  13. package/templates/.shared/src-tauri/icons/128x128.png +0 -0
  14. package/templates/.shared/src-tauri/icons/128x128@2x.png +0 -0
  15. package/templates/.shared/src-tauri/icons/32x32.png +0 -0
  16. package/templates/.shared/src-tauri/icons/Square107x107Logo.png +0 -0
  17. package/templates/.shared/src-tauri/icons/Square142x142Logo.png +0 -0
  18. package/templates/.shared/src-tauri/icons/Square150x150Logo.png +0 -0
  19. package/templates/.shared/src-tauri/icons/Square284x284Logo.png +0 -0
  20. package/templates/.shared/src-tauri/icons/Square30x30Logo.png +0 -0
  21. package/templates/.shared/src-tauri/icons/Square310x310Logo.png +0 -0
  22. package/templates/.shared/src-tauri/icons/Square44x44Logo.png +0 -0
  23. package/templates/.shared/src-tauri/icons/Square71x71Logo.png +0 -0
  24. package/templates/.shared/src-tauri/icons/Square89x89Logo.png +0 -0
  25. package/templates/.shared/src-tauri/icons/StoreLogo.png +0 -0
  26. package/templates/.shared/src-tauri/icons/android/mipmap-hdpi/ic_launcher.png +0 -0
  27. package/templates/.shared/src-tauri/icons/android/mipmap-hdpi/ic_launcher_foreground.png +0 -0
  28. package/templates/.shared/src-tauri/icons/android/mipmap-hdpi/ic_launcher_round.png +0 -0
  29. package/templates/.shared/src-tauri/icons/android/mipmap-mdpi/ic_launcher.png +0 -0
  30. package/templates/.shared/src-tauri/icons/android/mipmap-mdpi/ic_launcher_foreground.png +0 -0
  31. package/templates/.shared/src-tauri/icons/android/mipmap-mdpi/ic_launcher_round.png +0 -0
  32. package/templates/.shared/src-tauri/icons/android/mipmap-xhdpi/ic_launcher.png +0 -0
  33. package/templates/.shared/src-tauri/icons/android/mipmap-xhdpi/ic_launcher_foreground.png +0 -0
  34. package/templates/.shared/src-tauri/icons/android/mipmap-xhdpi/ic_launcher_round.png +0 -0
  35. package/templates/.shared/src-tauri/icons/android/mipmap-xxhdpi/ic_launcher.png +0 -0
  36. package/templates/.shared/src-tauri/icons/android/mipmap-xxhdpi/ic_launcher_foreground.png +0 -0
  37. package/templates/.shared/src-tauri/icons/android/mipmap-xxhdpi/ic_launcher_round.png +0 -0
  38. package/templates/.shared/src-tauri/icons/android/mipmap-xxxhdpi/ic_launcher.png +0 -0
  39. package/templates/.shared/src-tauri/icons/android/mipmap-xxxhdpi/ic_launcher_foreground.png +0 -0
  40. package/templates/.shared/src-tauri/icons/android/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
  41. package/templates/.shared/src-tauri/icons/icon.icns +0 -0
  42. package/templates/.shared/src-tauri/icons/icon.ico +0 -0
  43. package/templates/.shared/src-tauri/icons/icon.png +0 -0
  44. package/templates/.shared/src-tauri/icons/ios/AppIcon-20x20@1x.png +0 -0
  45. package/templates/.shared/src-tauri/icons/ios/AppIcon-20x20@2x-1.png +0 -0
  46. package/templates/.shared/src-tauri/icons/ios/AppIcon-20x20@2x.png +0 -0
  47. package/templates/.shared/src-tauri/icons/ios/AppIcon-20x20@3x.png +0 -0
  48. package/templates/.shared/src-tauri/icons/ios/AppIcon-29x29@1x.png +0 -0
  49. package/templates/.shared/src-tauri/icons/ios/AppIcon-29x29@2x-1.png +0 -0
  50. package/templates/.shared/src-tauri/icons/ios/AppIcon-29x29@2x.png +0 -0
  51. package/templates/.shared/src-tauri/icons/ios/AppIcon-29x29@3x.png +0 -0
  52. package/templates/.shared/src-tauri/icons/ios/AppIcon-40x40@1x.png +0 -0
  53. package/templates/.shared/src-tauri/icons/ios/AppIcon-40x40@2x-1.png +0 -0
  54. package/templates/.shared/src-tauri/icons/ios/AppIcon-40x40@2x.png +0 -0
  55. package/templates/.shared/src-tauri/icons/ios/AppIcon-40x40@3x.png +0 -0
  56. package/templates/.shared/src-tauri/icons/ios/AppIcon-512@2x.png +0 -0
  57. package/templates/.shared/src-tauri/icons/ios/AppIcon-60x60@2x.png +0 -0
  58. package/templates/.shared/src-tauri/icons/ios/AppIcon-60x60@3x.png +0 -0
  59. package/templates/.shared/src-tauri/icons/ios/AppIcon-76x76@1x.png +0 -0
  60. package/templates/.shared/src-tauri/icons/ios/AppIcon-76x76@2x.png +0 -0
  61. package/templates/.shared/src-tauri/icons/ios/AppIcon-83.5x83.5@2x.png +0 -0
  62. package/templates/.shared/src-tauri/src/main.rs +0 -22
  63. package/templates/.shared/src-tauri/tauri.conf.json +0 -71
  64. package/templates/next/.env +0 -1
  65. package/templates/next/.github/workflows/release.yml +0 -108
  66. package/templates/next/.vscode/extensions.json +0 -3
  67. package/templates/next/LICENSE +0 -21
  68. package/templates/next/README.md +0 -95
  69. package/templates/next/app-icon.png +0 -0
  70. package/templates/next/components.json +0 -16
  71. package/templates/next/next-env.d.ts +0 -5
  72. package/templates/next/next.config.js +0 -14
  73. package/templates/next/package.json +0 -87
  74. package/templates/next/pnpm-lock.yaml +0 -4911
  75. package/templates/next/postcss.config.js +0 -6
  76. package/templates/next/prettier.config.js +0 -35
  77. package/templates/next/public/avatars/01.png +0 -0
  78. package/templates/next/public/avatars/02.png +0 -0
  79. package/templates/next/public/avatars/03.png +0 -0
  80. package/templates/next/public/avatars/04.png +0 -0
  81. package/templates/next/public/avatars/05.png +0 -0
  82. package/templates/next/src/app/examples/authentication/components/user-auth-form.tsx +0 -71
  83. package/templates/next/src/app/examples/authentication/page.tsx +0 -88
  84. package/templates/next/src/app/examples/cards/components/cookie-settings.tsx +0 -60
  85. package/templates/next/src/app/examples/cards/components/create-account.tsx +0 -60
  86. package/templates/next/src/app/examples/cards/components/date-picker.tsx +0 -20
  87. package/templates/next/src/app/examples/cards/components/github-card.tsx +0 -88
  88. package/templates/next/src/app/examples/cards/components/notifications.tsx +0 -53
  89. package/templates/next/src/app/examples/cards/components/payment-method.tsx +0 -129
  90. package/templates/next/src/app/examples/cards/components/report-an-issue.tsx +0 -85
  91. package/templates/next/src/app/examples/cards/components/share-document.tsx +0 -120
  92. package/templates/next/src/app/examples/cards/components/team-members.tsx +0 -149
  93. package/templates/next/src/app/examples/cards/page.tsx +0 -76
  94. package/templates/next/src/app/examples/dashboard/components/date-range-picker.tsx +0 -65
  95. package/templates/next/src/app/examples/dashboard/components/main-nav.tsx +0 -40
  96. package/templates/next/src/app/examples/dashboard/components/overview.tsx +0 -78
  97. package/templates/next/src/app/examples/dashboard/components/recent-sales.tsx +0 -71
  98. package/templates/next/src/app/examples/dashboard/components/search.tsx +0 -13
  99. package/templates/next/src/app/examples/dashboard/components/team-switcher.tsx +0 -213
  100. package/templates/next/src/app/examples/dashboard/components/user-nav.tsx +0 -62
  101. package/templates/next/src/app/examples/dashboard/page.tsx +0 -197
  102. package/templates/next/src/app/examples/forms/account/account-form.tsx +0 -219
  103. package/templates/next/src/app/examples/forms/account/page.tsx +0 -18
  104. package/templates/next/src/app/examples/forms/appearance/appearance-form.tsx +0 -164
  105. package/templates/next/src/app/examples/forms/appearance/page.tsx +0 -18
  106. package/templates/next/src/app/examples/forms/components/profile-form.tsx +0 -191
  107. package/templates/next/src/app/examples/forms/components/sidebar-nav.tsx +0 -44
  108. package/templates/next/src/app/examples/forms/display/display-form.tsx +0 -132
  109. package/templates/next/src/app/examples/forms/display/page.tsx +0 -17
  110. package/templates/next/src/app/examples/forms/layout.tsx +0 -59
  111. package/templates/next/src/app/examples/forms/notifications/notifications-form.tsx +0 -222
  112. package/templates/next/src/app/examples/forms/notifications/page.tsx +0 -17
  113. package/templates/next/src/app/examples/forms/page.tsx +0 -17
  114. package/templates/next/src/app/examples/layout.tsx +0 -7
  115. package/templates/next/src/app/examples/music/components/album-artwork.tsx +0 -95
  116. package/templates/next/src/app/examples/music/components/menu.tsx +0 -200
  117. package/templates/next/src/app/examples/music/components/podcast-empty-placeholder.tsx +0 -64
  118. package/templates/next/src/app/examples/music/components/sidebar.tsx +0 -204
  119. package/templates/next/src/app/examples/music/data/albums.ts +0 -71
  120. package/templates/next/src/app/examples/music/data/playlists.ts +0 -16
  121. package/templates/next/src/app/examples/music/page.tsx +0 -141
  122. package/templates/next/src/app/examples/playground/components/code-viewer.tsx +0 -89
  123. package/templates/next/src/app/examples/playground/components/maxlength-selector.tsx +0 -55
  124. package/templates/next/src/app/examples/playground/components/model-selector.tsx +0 -163
  125. package/templates/next/src/app/examples/playground/components/preset-actions.tsx +0 -122
  126. package/templates/next/src/app/examples/playground/components/preset-save.tsx +0 -44
  127. package/templates/next/src/app/examples/playground/components/preset-selector.tsx +0 -82
  128. package/templates/next/src/app/examples/playground/components/preset-share.tsx +0 -46
  129. package/templates/next/src/app/examples/playground/components/temperature-selector.tsx +0 -57
  130. package/templates/next/src/app/examples/playground/components/top-p-selector.tsx +0 -54
  131. package/templates/next/src/app/examples/playground/data/models.ts +0 -62
  132. package/templates/next/src/app/examples/playground/data/presets.ts +0 -47
  133. package/templates/next/src/app/examples/playground/page.tsx +0 -313
  134. package/templates/next/src/app/examples/tasks/components/columns.tsx +0 -120
  135. package/templates/next/src/app/examples/tasks/components/data-table-column-header.tsx +0 -71
  136. package/templates/next/src/app/examples/tasks/components/data-table-faceted-filter.tsx +0 -147
  137. package/templates/next/src/app/examples/tasks/components/data-table-pagination.tsx +0 -97
  138. package/templates/next/src/app/examples/tasks/components/data-table-row-actions.tsx +0 -69
  139. package/templates/next/src/app/examples/tasks/components/data-table-toolbar.tsx +0 -61
  140. package/templates/next/src/app/examples/tasks/components/data-table-view-options.tsx +0 -59
  141. package/templates/next/src/app/examples/tasks/components/data-table.tsx +0 -126
  142. package/templates/next/src/app/examples/tasks/components/user-nav.tsx +0 -62
  143. package/templates/next/src/app/examples/tasks/data/data.tsx +0 -71
  144. package/templates/next/src/app/examples/tasks/data/schema.ts +0 -13
  145. package/templates/next/src/app/examples/tasks/data/seed.ts +0 -20
  146. package/templates/next/src/app/examples/tasks/data/tasks.json +0 -702
  147. package/templates/next/src/app/examples/tasks/page.tsx +0 -49
  148. package/templates/next/src/app/layout.tsx +0 -47
  149. package/templates/next/src/app/page.tsx +0 -5
  150. package/templates/next/src/assets/Inter-VariableFont_slnt,wght.ttf +0 -0
  151. package/templates/next/src/assets/logo.png +0 -0
  152. package/templates/next/src/components/about-dialog.tsx +0 -111
  153. package/templates/next/src/components/example/date-picker-with-range.tsx +0 -65
  154. package/templates/next/src/components/examples-nav.tsx +0 -70
  155. package/templates/next/src/components/greeting.tsx +0 -21
  156. package/templates/next/src/components/icons.tsx +0 -156
  157. package/templates/next/src/components/menu-mode-toggle.tsx +0 -47
  158. package/templates/next/src/components/menu.tsx +0 -224
  159. package/templates/next/src/components/mode-toggle.tsx +0 -43
  160. package/templates/next/src/components/page-header.tsx +0 -52
  161. package/templates/next/src/components/style-switcher.tsx +0 -19
  162. package/templates/next/src/components/tailwind-indicator.tsx +0 -18
  163. package/templates/next/src/components/theme-provider.tsx +0 -9
  164. package/templates/next/src/components/ui/accordion.tsx +0 -60
  165. package/templates/next/src/components/ui/alert-dialog.tsx +0 -145
  166. package/templates/next/src/components/ui/alert.tsx +0 -59
  167. package/templates/next/src/components/ui/aspect-ratio.tsx +0 -7
  168. package/templates/next/src/components/ui/avatar.tsx +0 -50
  169. package/templates/next/src/components/ui/badge.tsx +0 -36
  170. package/templates/next/src/components/ui/button.tsx +0 -56
  171. package/templates/next/src/components/ui/calendar.tsx +0 -64
  172. package/templates/next/src/components/ui/card.tsx +0 -79
  173. package/templates/next/src/components/ui/checkbox.tsx +0 -30
  174. package/templates/next/src/components/ui/collapsible.tsx +0 -11
  175. package/templates/next/src/components/ui/command.tsx +0 -155
  176. package/templates/next/src/components/ui/context-menu.tsx +0 -200
  177. package/templates/next/src/components/ui/dialog.tsx +0 -123
  178. package/templates/next/src/components/ui/dropdown-menu.tsx +0 -200
  179. package/templates/next/src/components/ui/form.tsx +0 -176
  180. package/templates/next/src/components/ui/hover-card.tsx +0 -29
  181. package/templates/next/src/components/ui/input.tsx +0 -25
  182. package/templates/next/src/components/ui/label.tsx +0 -26
  183. package/templates/next/src/components/ui/menubar.tsx +0 -236
  184. package/templates/next/src/components/ui/navigation-menu.tsx +0 -128
  185. package/templates/next/src/components/ui/popover.tsx +0 -31
  186. package/templates/next/src/components/ui/progress.tsx +0 -28
  187. package/templates/next/src/components/ui/radio-group.tsx +0 -44
  188. package/templates/next/src/components/ui/scroll-area.tsx +0 -48
  189. package/templates/next/src/components/ui/select.tsx +0 -121
  190. package/templates/next/src/components/ui/separator.tsx +0 -31
  191. package/templates/next/src/components/ui/sheet.tsx +0 -144
  192. package/templates/next/src/components/ui/skeleton.tsx +0 -15
  193. package/templates/next/src/components/ui/slider.tsx +0 -28
  194. package/templates/next/src/components/ui/switch.tsx +0 -29
  195. package/templates/next/src/components/ui/table.tsx +0 -114
  196. package/templates/next/src/components/ui/tabs.tsx +0 -55
  197. package/templates/next/src/components/ui/textarea.tsx +0 -24
  198. package/templates/next/src/components/ui/toast.tsx +0 -127
  199. package/templates/next/src/components/ui/toaster.tsx +0 -35
  200. package/templates/next/src/components/ui/toggle.tsx +0 -45
  201. package/templates/next/src/components/ui/tooltip.tsx +0 -30
  202. package/templates/next/src/components/ui/use-toast.ts +0 -192
  203. package/templates/next/src/data/albums.ts +0 -71
  204. package/templates/next/src/data/playlists.ts +0 -16
  205. package/templates/next/src/hooks/use-lock-body.ts +0 -12
  206. package/templates/next/src/hooks/use-mounted.ts +0 -11
  207. package/templates/next/src/hooks/use-mutation-observer.ts +0 -20
  208. package/templates/next/src/lib/fonts.ts +0 -11
  209. package/templates/next/src/lib/utils.ts +0 -6
  210. package/templates/next/src/styles/globals.css +0 -88
  211. package/templates/next/src-tauri/Cargo.lock +0 -3835
  212. package/templates/next/src-tauri/Cargo.toml +0 -39
  213. package/templates/next/src-tauri/build.rs +0 -3
  214. package/templates/next/src-tauri/icons/128x128.png +0 -0
  215. package/templates/next/src-tauri/icons/128x128@2x.png +0 -0
  216. package/templates/next/src-tauri/icons/32x32.png +0 -0
  217. package/templates/next/src-tauri/icons/Square107x107Logo.png +0 -0
  218. package/templates/next/src-tauri/icons/Square142x142Logo.png +0 -0
  219. package/templates/next/src-tauri/icons/Square150x150Logo.png +0 -0
  220. package/templates/next/src-tauri/icons/Square284x284Logo.png +0 -0
  221. package/templates/next/src-tauri/icons/Square30x30Logo.png +0 -0
  222. package/templates/next/src-tauri/icons/Square310x310Logo.png +0 -0
  223. package/templates/next/src-tauri/icons/Square44x44Logo.png +0 -0
  224. package/templates/next/src-tauri/icons/Square71x71Logo.png +0 -0
  225. package/templates/next/src-tauri/icons/Square89x89Logo.png +0 -0
  226. package/templates/next/src-tauri/icons/StoreLogo.png +0 -0
  227. package/templates/next/src-tauri/icons/android/mipmap-hdpi/ic_launcher.png +0 -0
  228. package/templates/next/src-tauri/icons/android/mipmap-hdpi/ic_launcher_foreground.png +0 -0
  229. package/templates/next/src-tauri/icons/android/mipmap-hdpi/ic_launcher_round.png +0 -0
  230. package/templates/next/src-tauri/icons/android/mipmap-mdpi/ic_launcher.png +0 -0
  231. package/templates/next/src-tauri/icons/android/mipmap-mdpi/ic_launcher_foreground.png +0 -0
  232. package/templates/next/src-tauri/icons/android/mipmap-mdpi/ic_launcher_round.png +0 -0
  233. package/templates/next/src-tauri/icons/android/mipmap-xhdpi/ic_launcher.png +0 -0
  234. package/templates/next/src-tauri/icons/android/mipmap-xhdpi/ic_launcher_foreground.png +0 -0
  235. package/templates/next/src-tauri/icons/android/mipmap-xhdpi/ic_launcher_round.png +0 -0
  236. package/templates/next/src-tauri/icons/android/mipmap-xxhdpi/ic_launcher.png +0 -0
  237. package/templates/next/src-tauri/icons/android/mipmap-xxhdpi/ic_launcher_foreground.png +0 -0
  238. package/templates/next/src-tauri/icons/android/mipmap-xxhdpi/ic_launcher_round.png +0 -0
  239. package/templates/next/src-tauri/icons/android/mipmap-xxxhdpi/ic_launcher.png +0 -0
  240. package/templates/next/src-tauri/icons/android/mipmap-xxxhdpi/ic_launcher_foreground.png +0 -0
  241. package/templates/next/src-tauri/icons/android/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
  242. package/templates/next/src-tauri/icons/icon.icns +0 -0
  243. package/templates/next/src-tauri/icons/icon.ico +0 -0
  244. package/templates/next/src-tauri/icons/icon.png +0 -0
  245. package/templates/next/src-tauri/icons/ios/AppIcon-20x20@1x.png +0 -0
  246. package/templates/next/src-tauri/icons/ios/AppIcon-20x20@2x-1.png +0 -0
  247. package/templates/next/src-tauri/icons/ios/AppIcon-20x20@2x.png +0 -0
  248. package/templates/next/src-tauri/icons/ios/AppIcon-20x20@3x.png +0 -0
  249. package/templates/next/src-tauri/icons/ios/AppIcon-29x29@1x.png +0 -0
  250. package/templates/next/src-tauri/icons/ios/AppIcon-29x29@2x-1.png +0 -0
  251. package/templates/next/src-tauri/icons/ios/AppIcon-29x29@2x.png +0 -0
  252. package/templates/next/src-tauri/icons/ios/AppIcon-29x29@3x.png +0 -0
  253. package/templates/next/src-tauri/icons/ios/AppIcon-40x40@1x.png +0 -0
  254. package/templates/next/src-tauri/icons/ios/AppIcon-40x40@2x-1.png +0 -0
  255. package/templates/next/src-tauri/icons/ios/AppIcon-40x40@2x.png +0 -0
  256. package/templates/next/src-tauri/icons/ios/AppIcon-40x40@3x.png +0 -0
  257. package/templates/next/src-tauri/icons/ios/AppIcon-512@2x.png +0 -0
  258. package/templates/next/src-tauri/icons/ios/AppIcon-60x60@2x.png +0 -0
  259. package/templates/next/src-tauri/icons/ios/AppIcon-60x60@3x.png +0 -0
  260. package/templates/next/src-tauri/icons/ios/AppIcon-76x76@1x.png +0 -0
  261. package/templates/next/src-tauri/icons/ios/AppIcon-76x76@2x.png +0 -0
  262. package/templates/next/src-tauri/icons/ios/AppIcon-83.5x83.5@2x.png +0 -0
  263. package/templates/next/src-tauri/src/main.rs +0 -22
  264. package/templates/next/src-tauri/tauri.conf.json +0 -71
  265. package/templates/next/tailwind.config.js +0 -78
  266. package/templates/next/tsconfig.json +0 -35
  267. package/templates/sveltekit/.github/workflows/release.yml +0 -108
  268. package/templates/sveltekit/.prettierignore +0 -13
  269. package/templates/sveltekit/.prettierrc +0 -8
  270. package/templates/sveltekit/README.md +0 -1
  271. package/templates/sveltekit/app-icon.png +0 -0
  272. package/templates/sveltekit/package.json +0 -85
  273. package/templates/sveltekit/pnpm-lock.yaml +0 -4177
  274. package/templates/sveltekit/postcss.config.cjs +0 -13
  275. package/templates/sveltekit/src/app.d.ts +0 -18
  276. package/templates/sveltekit/src/app.html +0 -16
  277. package/templates/sveltekit/src/assets/Inter.var.woff2 +0 -0
  278. package/templates/sveltekit/src/index.test.ts +0 -7
  279. package/templates/sveltekit/src/lib/components/docs/TailwindIndicator.svelte +0 -10
  280. package/templates/sveltekit/src/lib/components/docs/charts/Bar.svelte +0 -152
  281. package/templates/sveltekit/src/lib/components/docs/dashboard/DashboardPage.svelte +0 -108
  282. package/templates/sveltekit/src/lib/components/docs/dashboard/MainNav.svelte +0 -31
  283. package/templates/sveltekit/src/lib/components/docs/dashboard/Overview.svelte +0 -5
  284. package/templates/sveltekit/src/lib/components/docs/dashboard/RecentSales.svelte +0 -61
  285. package/templates/sveltekit/src/lib/components/docs/dashboard/Search.svelte +0 -7
  286. package/templates/sveltekit/src/lib/components/docs/dashboard/index.ts +0 -1
  287. package/templates/sveltekit/src/lib/components/docs/examples-nav/ExampleCodeLink.svelte +0 -19
  288. package/templates/sveltekit/src/lib/components/docs/examples-nav/ExamplesNav.svelte +0 -27
  289. package/templates/sveltekit/src/lib/components/docs/examples-nav/index.ts +0 -2
  290. package/templates/sveltekit/src/lib/components/docs/icons/Apple.svelte +0 -12
  291. package/templates/sveltekit/src/lib/components/docs/icons/Aria.svelte +0 -11
  292. package/templates/sveltekit/src/lib/components/docs/icons/GitHub.svelte +0 -12
  293. package/templates/sveltekit/src/lib/components/docs/icons/Google.svelte +0 -12
  294. package/templates/sveltekit/src/lib/components/docs/icons/Logo.svelte +0 -17
  295. package/templates/sveltekit/src/lib/components/docs/icons/Minimize.svelte +0 -12
  296. package/templates/sveltekit/src/lib/components/docs/icons/Npm.svelte +0 -12
  297. package/templates/sveltekit/src/lib/components/docs/icons/PayPal.svelte +0 -12
  298. package/templates/sveltekit/src/lib/components/docs/icons/Pnpm.svelte +0 -12
  299. package/templates/sveltekit/src/lib/components/docs/icons/Radix.svelte +0 -14
  300. package/templates/sveltekit/src/lib/components/docs/icons/RadixSvelte.svelte +0 -14
  301. package/templates/sveltekit/src/lib/components/docs/icons/Tailwind.svelte +0 -12
  302. package/templates/sveltekit/src/lib/components/docs/icons/Yarn.svelte +0 -12
  303. package/templates/sveltekit/src/lib/components/docs/icons/index.ts +0 -78
  304. package/templates/sveltekit/src/lib/components/docs/index.ts +0 -6
  305. package/templates/sveltekit/src/lib/components/docs/light-switch/LightSwitch.svelte +0 -75
  306. package/templates/sveltekit/src/lib/components/docs/light-switch/index.ts +0 -1
  307. package/templates/sveltekit/src/lib/components/docs/light-switch/light-switch.ts +0 -87
  308. package/templates/sveltekit/src/lib/components/docs/light-switch/local-storage-store.ts +0 -81
  309. package/templates/sveltekit/src/lib/components/ui/accordion/Accordion.svelte +0 -11
  310. package/templates/sveltekit/src/lib/components/ui/accordion/AccordionContent.svelte +0 -19
  311. package/templates/sveltekit/src/lib/components/ui/accordion/AccordionItem.svelte +0 -13
  312. package/templates/sveltekit/src/lib/components/ui/accordion/AccordionTrigger.svelte +0 -21
  313. package/templates/sveltekit/src/lib/components/ui/accordion/index.ts +0 -4
  314. package/templates/sveltekit/src/lib/components/ui/alert/Alert.svelte +0 -29
  315. package/templates/sveltekit/src/lib/components/ui/alert/AlertDescription.svelte +0 -10
  316. package/templates/sveltekit/src/lib/components/ui/alert/AlertTitle.svelte +0 -15
  317. package/templates/sveltekit/src/lib/components/ui/alert/index.ts +0 -3
  318. package/templates/sveltekit/src/lib/components/ui/alert-dialog/AlertDialogAction.svelte +0 -12
  319. package/templates/sveltekit/src/lib/components/ui/alert-dialog/AlertDialogCancel.svelte +0 -15
  320. package/templates/sveltekit/src/lib/components/ui/alert-dialog/AlertDialogContent.svelte +0 -22
  321. package/templates/sveltekit/src/lib/components/ui/alert-dialog/AlertDialogDescription.svelte +0 -14
  322. package/templates/sveltekit/src/lib/components/ui/alert-dialog/AlertDialogFooter.svelte +0 -13
  323. package/templates/sveltekit/src/lib/components/ui/alert-dialog/AlertDialogHeader.svelte +0 -10
  324. package/templates/sveltekit/src/lib/components/ui/alert-dialog/AlertDialogOverlay.svelte +0 -15
  325. package/templates/sveltekit/src/lib/components/ui/alert-dialog/AlertDialogPortal.svelte +0 -9
  326. package/templates/sveltekit/src/lib/components/ui/alert-dialog/AlertDialogTitle.svelte +0 -11
  327. package/templates/sveltekit/src/lib/components/ui/alert-dialog/index.ts +0 -12
  328. package/templates/sveltekit/src/lib/components/ui/aspect-ratio/AspectRatio.svelte +0 -13
  329. package/templates/sveltekit/src/lib/components/ui/aspect-ratio/index.ts +0 -1
  330. package/templates/sveltekit/src/lib/components/ui/avatar/Avatar.svelte +0 -14
  331. package/templates/sveltekit/src/lib/components/ui/avatar/AvatarFallback.svelte +0 -14
  332. package/templates/sveltekit/src/lib/components/ui/avatar/AvatarImage.svelte +0 -17
  333. package/templates/sveltekit/src/lib/components/ui/avatar/index.ts +0 -3
  334. package/templates/sveltekit/src/lib/components/ui/badge/Badge.svelte +0 -39
  335. package/templates/sveltekit/src/lib/components/ui/badge/index.ts +0 -21
  336. package/templates/sveltekit/src/lib/components/ui/button/Button.svelte +0 -47
  337. package/templates/sveltekit/src/lib/components/ui/button/index.ts +0 -28
  338. package/templates/sveltekit/src/lib/components/ui/card/Card.svelte +0 -18
  339. package/templates/sveltekit/src/lib/components/ui/card/CardContent.svelte +0 -10
  340. package/templates/sveltekit/src/lib/components/ui/card/CardDescription.svelte +0 -10
  341. package/templates/sveltekit/src/lib/components/ui/card/CardFooter.svelte +0 -10
  342. package/templates/sveltekit/src/lib/components/ui/card/CardHeader.svelte +0 -10
  343. package/templates/sveltekit/src/lib/components/ui/card/CardTitle.svelte +0 -16
  344. package/templates/sveltekit/src/lib/components/ui/card/index.ts +0 -6
  345. package/templates/sveltekit/src/lib/components/ui/checkbox/Checkbox.svelte +0 -23
  346. package/templates/sveltekit/src/lib/components/ui/checkbox/index.ts +0 -1
  347. package/templates/sveltekit/src/lib/components/ui/collapsible/index.ts +0 -7
  348. package/templates/sveltekit/src/lib/components/ui/dialog/DialogContent.svelte +0 -29
  349. package/templates/sveltekit/src/lib/components/ui/dialog/DialogDescription.svelte +0 -14
  350. package/templates/sveltekit/src/lib/components/ui/dialog/DialogFooter.svelte +0 -13
  351. package/templates/sveltekit/src/lib/components/ui/dialog/DialogHeader.svelte +0 -10
  352. package/templates/sveltekit/src/lib/components/ui/dialog/DialogOverlay.svelte +0 -15
  353. package/templates/sveltekit/src/lib/components/ui/dialog/DialogPortal.svelte +0 -13
  354. package/templates/sveltekit/src/lib/components/ui/dialog/DialogTitle.svelte +0 -14
  355. package/templates/sveltekit/src/lib/components/ui/dialog/index.ts +0 -12
  356. package/templates/sveltekit/src/lib/components/ui/hover-card/HoverCardContent.svelte +0 -24
  357. package/templates/sveltekit/src/lib/components/ui/hover-card/index.ts +0 -6
  358. package/templates/sveltekit/src/lib/components/ui/input/Input.svelte +0 -30
  359. package/templates/sveltekit/src/lib/components/ui/input/index.ts +0 -1
  360. package/templates/sveltekit/src/lib/components/ui/label/Label.svelte +0 -16
  361. package/templates/sveltekit/src/lib/components/ui/label/index.ts +0 -1
  362. package/templates/sveltekit/src/lib/components/ui/progress/Progress.svelte +0 -22
  363. package/templates/sveltekit/src/lib/components/ui/progress/index.ts +0 -1
  364. package/templates/sveltekit/src/lib/components/ui/radio-group/RadioGroup.svelte +0 -13
  365. package/templates/sveltekit/src/lib/components/ui/radio-group/RadioGroupItem.svelte +0 -23
  366. package/templates/sveltekit/src/lib/components/ui/radio-group/index.ts +0 -2
  367. package/templates/sveltekit/src/lib/components/ui/select/SelectContent.svelte +0 -26
  368. package/templates/sveltekit/src/lib/components/ui/select/SelectItem.svelte +0 -29
  369. package/templates/sveltekit/src/lib/components/ui/select/SelectLabel.svelte +0 -14
  370. package/templates/sveltekit/src/lib/components/ui/select/SelectSeparator.svelte +0 -9
  371. package/templates/sveltekit/src/lib/components/ui/select/SelectTrigger.svelte +0 -21
  372. package/templates/sveltekit/src/lib/components/ui/select/index.ts +0 -10
  373. package/templates/sveltekit/src/lib/components/ui/separator/Separator.svelte +0 -22
  374. package/templates/sveltekit/src/lib/components/ui/separator/index.ts +0 -1
  375. package/templates/sveltekit/src/lib/components/ui/sheet/SheetContent.svelte +0 -27
  376. package/templates/sveltekit/src/lib/components/ui/sheet/SheetDescription.svelte +0 -11
  377. package/templates/sveltekit/src/lib/components/ui/sheet/SheetFooter.svelte +0 -13
  378. package/templates/sveltekit/src/lib/components/ui/sheet/SheetHeader.svelte +0 -10
  379. package/templates/sveltekit/src/lib/components/ui/sheet/SheetOverlay.svelte +0 -15
  380. package/templates/sveltekit/src/lib/components/ui/sheet/SheetPortal.svelte +0 -28
  381. package/templates/sveltekit/src/lib/components/ui/sheet/SheetTitle.svelte +0 -14
  382. package/templates/sveltekit/src/lib/components/ui/sheet/index.ts +0 -102
  383. package/templates/sveltekit/src/lib/components/ui/skeleton/Skeleton.svelte +0 -8
  384. package/templates/sveltekit/src/lib/components/ui/skeleton/index.ts +0 -1
  385. package/templates/sveltekit/src/lib/components/ui/slider/Slider.svelte +0 -22
  386. package/templates/sveltekit/src/lib/components/ui/slider/index.ts +0 -1
  387. package/templates/sveltekit/src/lib/components/ui/switch/Switch.svelte +0 -32
  388. package/templates/sveltekit/src/lib/components/ui/switch/index.ts +0 -1
  389. package/templates/sveltekit/src/lib/components/ui/table/Table.svelte +0 -12
  390. package/templates/sveltekit/src/lib/components/ui/table/TableBody.svelte +0 -10
  391. package/templates/sveltekit/src/lib/components/ui/table/TableCaption.svelte +0 -10
  392. package/templates/sveltekit/src/lib/components/ui/table/TableCell.svelte +0 -10
  393. package/templates/sveltekit/src/lib/components/ui/table/TableFooter.svelte +0 -10
  394. package/templates/sveltekit/src/lib/components/ui/table/TableHead.svelte +0 -16
  395. package/templates/sveltekit/src/lib/components/ui/table/TableHeader.svelte +0 -10
  396. package/templates/sveltekit/src/lib/components/ui/table/TableRow.svelte +0 -16
  397. package/templates/sveltekit/src/lib/components/ui/table/index.ts +0 -8
  398. package/templates/sveltekit/src/lib/components/ui/tabs/TabsContent.svelte +0 -20
  399. package/templates/sveltekit/src/lib/components/ui/tabs/TabsList.svelte +0 -17
  400. package/templates/sveltekit/src/lib/components/ui/tabs/TabsTrigger.svelte +0 -20
  401. package/templates/sveltekit/src/lib/components/ui/tabs/index.ts +0 -7
  402. package/templates/sveltekit/src/lib/components/ui/textarea/Textarea.svelte +0 -30
  403. package/templates/sveltekit/src/lib/components/ui/textarea/index.ts +0 -1
  404. package/templates/sveltekit/src/lib/components/ui/toggle/Toggle.svelte +0 -44
  405. package/templates/sveltekit/src/lib/components/ui/toggle/index.ts +0 -1
  406. package/templates/sveltekit/src/lib/components/ui/tooltip/TooltipContent.svelte +0 -22
  407. package/templates/sveltekit/src/lib/components/ui/tooltip/index.ts +0 -6
  408. package/templates/sveltekit/src/lib/config/components.ts +0 -306
  409. package/templates/sveltekit/src/lib/config/docs.ts +0 -356
  410. package/templates/sveltekit/src/lib/config/site.ts +0 -15
  411. package/templates/sveltekit/src/lib/types/docs.ts +0 -50
  412. package/templates/sveltekit/src/lib/types/nav.ts +0 -18
  413. package/templates/sveltekit/src/lib/utils.ts +0 -75
  414. package/templates/sveltekit/src/routes/+layout.svelte +0 -48
  415. package/templates/sveltekit/src/routes/+layout.ts +0 -4
  416. package/templates/sveltekit/src/routes/+page.svelte +0 -0
  417. package/templates/sveltekit/src/routes/+page.ts +0 -6
  418. package/templates/sveltekit/src/routes/authentication/+page.svelte +0 -57
  419. package/templates/sveltekit/src/routes/authentication/+page.ts +0 -7
  420. package/templates/sveltekit/src/routes/authentication/UserAuthForm.svelte +0 -61
  421. package/templates/sveltekit/src/routes/cards/+page.svelte +0 -26
  422. package/templates/sveltekit/src/routes/cards/+page.ts +0 -7
  423. package/templates/sveltekit/src/routes/cards/CookieSettings.svelte +0 -52
  424. package/templates/sveltekit/src/routes/cards/CreateAccount.svelte +0 -52
  425. package/templates/sveltekit/src/routes/cards/DemoContainer.svelte +0 -10
  426. package/templates/sveltekit/src/routes/cards/Notifications.svelte +0 -38
  427. package/templates/sveltekit/src/routes/cards/PaymentMethod.svelte +0 -110
  428. package/templates/sveltekit/src/routes/cards/ReportAnIssue.svelte +0 -71
  429. package/templates/sveltekit/src/routes/cards/ShareDocument.svelte +0 -91
  430. package/templates/sveltekit/src/routes/dashboard/+page.svelte +0 -5
  431. package/templates/sveltekit/src/routes/dashboard/+page.ts +0 -7
  432. package/templates/sveltekit/src/routes/forms/+page.svelte +0 -0
  433. package/templates/sveltekit/src/routes/music/+page.svelte +0 -0
  434. package/templates/sveltekit/src/routes/music/albums.ts +0 -61
  435. package/templates/sveltekit/src/routes/music/playlists.ts +0 -16
  436. package/templates/sveltekit/src/routes/playground/+page.svelte +0 -0
  437. package/templates/sveltekit/src/routes/tasks/+page.svelte +0 -0
  438. package/templates/sveltekit/src/styles/globals.css +0 -125
  439. package/templates/sveltekit/src/styles/mdsvex.css +0 -80
  440. package/templates/sveltekit/src-tauri/Cargo.lock +0 -3835
  441. package/templates/sveltekit/src-tauri/Cargo.toml +0 -39
  442. package/templates/sveltekit/src-tauri/build.rs +0 -3
  443. package/templates/sveltekit/src-tauri/icons/128x128.png +0 -0
  444. package/templates/sveltekit/src-tauri/icons/128x128@2x.png +0 -0
  445. package/templates/sveltekit/src-tauri/icons/32x32.png +0 -0
  446. package/templates/sveltekit/src-tauri/icons/Square107x107Logo.png +0 -0
  447. package/templates/sveltekit/src-tauri/icons/Square142x142Logo.png +0 -0
  448. package/templates/sveltekit/src-tauri/icons/Square150x150Logo.png +0 -0
  449. package/templates/sveltekit/src-tauri/icons/Square284x284Logo.png +0 -0
  450. package/templates/sveltekit/src-tauri/icons/Square30x30Logo.png +0 -0
  451. package/templates/sveltekit/src-tauri/icons/Square310x310Logo.png +0 -0
  452. package/templates/sveltekit/src-tauri/icons/Square44x44Logo.png +0 -0
  453. package/templates/sveltekit/src-tauri/icons/Square71x71Logo.png +0 -0
  454. package/templates/sveltekit/src-tauri/icons/Square89x89Logo.png +0 -0
  455. package/templates/sveltekit/src-tauri/icons/StoreLogo.png +0 -0
  456. package/templates/sveltekit/src-tauri/icons/android/mipmap-hdpi/ic_launcher.png +0 -0
  457. package/templates/sveltekit/src-tauri/icons/android/mipmap-hdpi/ic_launcher_foreground.png +0 -0
  458. package/templates/sveltekit/src-tauri/icons/android/mipmap-hdpi/ic_launcher_round.png +0 -0
  459. package/templates/sveltekit/src-tauri/icons/android/mipmap-mdpi/ic_launcher.png +0 -0
  460. package/templates/sveltekit/src-tauri/icons/android/mipmap-mdpi/ic_launcher_foreground.png +0 -0
  461. package/templates/sveltekit/src-tauri/icons/android/mipmap-mdpi/ic_launcher_round.png +0 -0
  462. package/templates/sveltekit/src-tauri/icons/android/mipmap-xhdpi/ic_launcher.png +0 -0
  463. package/templates/sveltekit/src-tauri/icons/android/mipmap-xhdpi/ic_launcher_foreground.png +0 -0
  464. package/templates/sveltekit/src-tauri/icons/android/mipmap-xhdpi/ic_launcher_round.png +0 -0
  465. package/templates/sveltekit/src-tauri/icons/android/mipmap-xxhdpi/ic_launcher.png +0 -0
  466. package/templates/sveltekit/src-tauri/icons/android/mipmap-xxhdpi/ic_launcher_foreground.png +0 -0
  467. package/templates/sveltekit/src-tauri/icons/android/mipmap-xxhdpi/ic_launcher_round.png +0 -0
  468. package/templates/sveltekit/src-tauri/icons/android/mipmap-xxxhdpi/ic_launcher.png +0 -0
  469. package/templates/sveltekit/src-tauri/icons/android/mipmap-xxxhdpi/ic_launcher_foreground.png +0 -0
  470. package/templates/sveltekit/src-tauri/icons/android/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
  471. package/templates/sveltekit/src-tauri/icons/icon.icns +0 -0
  472. package/templates/sveltekit/src-tauri/icons/icon.ico +0 -0
  473. package/templates/sveltekit/src-tauri/icons/icon.png +0 -0
  474. package/templates/sveltekit/src-tauri/icons/ios/AppIcon-20x20@1x.png +0 -0
  475. package/templates/sveltekit/src-tauri/icons/ios/AppIcon-20x20@2x-1.png +0 -0
  476. package/templates/sveltekit/src-tauri/icons/ios/AppIcon-20x20@2x.png +0 -0
  477. package/templates/sveltekit/src-tauri/icons/ios/AppIcon-20x20@3x.png +0 -0
  478. package/templates/sveltekit/src-tauri/icons/ios/AppIcon-29x29@1x.png +0 -0
  479. package/templates/sveltekit/src-tauri/icons/ios/AppIcon-29x29@2x-1.png +0 -0
  480. package/templates/sveltekit/src-tauri/icons/ios/AppIcon-29x29@2x.png +0 -0
  481. package/templates/sveltekit/src-tauri/icons/ios/AppIcon-29x29@3x.png +0 -0
  482. package/templates/sveltekit/src-tauri/icons/ios/AppIcon-40x40@1x.png +0 -0
  483. package/templates/sveltekit/src-tauri/icons/ios/AppIcon-40x40@2x-1.png +0 -0
  484. package/templates/sveltekit/src-tauri/icons/ios/AppIcon-40x40@2x.png +0 -0
  485. package/templates/sveltekit/src-tauri/icons/ios/AppIcon-40x40@3x.png +0 -0
  486. package/templates/sveltekit/src-tauri/icons/ios/AppIcon-512@2x.png +0 -0
  487. package/templates/sveltekit/src-tauri/icons/ios/AppIcon-60x60@2x.png +0 -0
  488. package/templates/sveltekit/src-tauri/icons/ios/AppIcon-60x60@3x.png +0 -0
  489. package/templates/sveltekit/src-tauri/icons/ios/AppIcon-76x76@1x.png +0 -0
  490. package/templates/sveltekit/src-tauri/icons/ios/AppIcon-76x76@2x.png +0 -0
  491. package/templates/sveltekit/src-tauri/icons/ios/AppIcon-83.5x83.5@2x.png +0 -0
  492. package/templates/sveltekit/src-tauri/src/main.rs +0 -22
  493. package/templates/sveltekit/src-tauri/tauri.conf.json +0 -71
  494. package/templates/sveltekit/static/avatars/01.png +0 -0
  495. package/templates/sveltekit/static/avatars/02.png +0 -0
  496. package/templates/sveltekit/static/avatars/03.png +0 -0
  497. package/templates/sveltekit/static/avatars/04.png +0 -0
  498. package/templates/sveltekit/static/avatars/05.png +0 -0
  499. package/templates/sveltekit/static/favicon.ico +0 -0
  500. package/templates/sveltekit/svelte.config.js +0 -22
  501. package/templates/sveltekit/tailwind.config.js +0 -67
  502. package/templates/sveltekit/tsconfig.json +0 -13
  503. package/templates/sveltekit/vite.config.js +0 -12
  504. package/templates/vite/.github/workflows/release.yml +0 -108
  505. package/templates/vite/.vscode/extensions.json +0 -3
  506. package/templates/vite/README.md +0 -7
  507. package/templates/vite/app-icon.png +0 -0
  508. package/templates/vite/components.json +0 -16
  509. package/templates/vite/index.html +0 -16
  510. package/templates/vite/package.json +0 -83
  511. package/templates/vite/pnpm-lock.yaml +0 -5176
  512. package/templates/vite/postcss.config.js +0 -6
  513. package/templates/vite/prettier.config.cjs +0 -35
  514. package/templates/vite/public/avatars/01.png +0 -0
  515. package/templates/vite/public/avatars/02.png +0 -0
  516. package/templates/vite/public/avatars/03.png +0 -0
  517. package/templates/vite/public/avatars/04.png +0 -0
  518. package/templates/vite/public/avatars/05.png +0 -0
  519. package/templates/vite/src/App.tsx +0 -39
  520. package/templates/vite/src/assets/Inter-VariableFont_slnt,wght.ttf +0 -0
  521. package/templates/vite/src/components/about-dialog.tsx +0 -101
  522. package/templates/vite/src/components/icons.tsx +0 -154
  523. package/templates/vite/src/components/menu-mode-toggle.tsx +0 -47
  524. package/templates/vite/src/components/menu.tsx +0 -212
  525. package/templates/vite/src/components/tailwind-indicator.tsx +0 -18
  526. package/templates/vite/src/components/theme-provider.tsx +0 -9
  527. package/templates/vite/src/components/ui/accordion.tsx +0 -58
  528. package/templates/vite/src/components/ui/alert-dialog.tsx +0 -143
  529. package/templates/vite/src/components/ui/alert.tsx +0 -59
  530. package/templates/vite/src/components/ui/aspect-ratio.tsx +0 -5
  531. package/templates/vite/src/components/ui/avatar.tsx +0 -48
  532. package/templates/vite/src/components/ui/badge.tsx +0 -36
  533. package/templates/vite/src/components/ui/button.tsx +0 -56
  534. package/templates/vite/src/components/ui/calendar.tsx +0 -62
  535. package/templates/vite/src/components/ui/card.tsx +0 -79
  536. package/templates/vite/src/components/ui/checkbox.tsx +0 -28
  537. package/templates/vite/src/components/ui/collapsible.tsx +0 -9
  538. package/templates/vite/src/components/ui/command.tsx +0 -153
  539. package/templates/vite/src/components/ui/context-menu.tsx +0 -198
  540. package/templates/vite/src/components/ui/dialog.tsx +0 -121
  541. package/templates/vite/src/components/ui/dropdown-menu.tsx +0 -198
  542. package/templates/vite/src/components/ui/form.tsx +0 -176
  543. package/templates/vite/src/components/ui/hover-card.tsx +0 -27
  544. package/templates/vite/src/components/ui/input.tsx +0 -25
  545. package/templates/vite/src/components/ui/label.tsx +0 -24
  546. package/templates/vite/src/components/ui/menubar.tsx +0 -234
  547. package/templates/vite/src/components/ui/navigation-menu.tsx +0 -128
  548. package/templates/vite/src/components/ui/popover.tsx +0 -29
  549. package/templates/vite/src/components/ui/progress.tsx +0 -26
  550. package/templates/vite/src/components/ui/radio-group.tsx +0 -42
  551. package/templates/vite/src/components/ui/scroll-area.tsx +0 -46
  552. package/templates/vite/src/components/ui/select.tsx +0 -119
  553. package/templates/vite/src/components/ui/separator.tsx +0 -29
  554. package/templates/vite/src/components/ui/sheet.tsx +0 -142
  555. package/templates/vite/src/components/ui/skeleton.tsx +0 -15
  556. package/templates/vite/src/components/ui/slider.tsx +0 -26
  557. package/templates/vite/src/components/ui/switch.tsx +0 -27
  558. package/templates/vite/src/components/ui/table.tsx +0 -114
  559. package/templates/vite/src/components/ui/tabs.tsx +0 -53
  560. package/templates/vite/src/components/ui/textarea.tsx +0 -24
  561. package/templates/vite/src/components/ui/toast.tsx +0 -127
  562. package/templates/vite/src/components/ui/toaster.tsx +0 -33
  563. package/templates/vite/src/components/ui/toggle.tsx +0 -43
  564. package/templates/vite/src/components/ui/tooltip.tsx +0 -28
  565. package/templates/vite/src/components/ui/use-toast.ts +0 -192
  566. package/templates/vite/src/dashboard/components/date-range-picker.tsx +0 -65
  567. package/templates/vite/src/dashboard/components/main-nav.tsx +0 -38
  568. package/templates/vite/src/dashboard/components/overview.tsx +0 -78
  569. package/templates/vite/src/dashboard/components/recent-sales.tsx +0 -71
  570. package/templates/vite/src/dashboard/components/search.tsx +0 -13
  571. package/templates/vite/src/dashboard/components/team-switcher.tsx +0 -213
  572. package/templates/vite/src/dashboard/components/user-nav.tsx +0 -62
  573. package/templates/vite/src/dashboard/page.tsx +0 -191
  574. package/templates/vite/src/lib/utils.ts +0 -19
  575. package/templates/vite/src/main.tsx +0 -10
  576. package/templates/vite/src/styles/globals.css +0 -88
  577. package/templates/vite/src/vite-env.d.ts +0 -1
  578. package/templates/vite/src-tauri/Cargo.lock +0 -3835
  579. package/templates/vite/src-tauri/Cargo.toml +0 -39
  580. package/templates/vite/src-tauri/build.rs +0 -3
  581. package/templates/vite/src-tauri/icons/128x128.png +0 -0
  582. package/templates/vite/src-tauri/icons/128x128@2x.png +0 -0
  583. package/templates/vite/src-tauri/icons/32x32.png +0 -0
  584. package/templates/vite/src-tauri/icons/Square107x107Logo.png +0 -0
  585. package/templates/vite/src-tauri/icons/Square142x142Logo.png +0 -0
  586. package/templates/vite/src-tauri/icons/Square150x150Logo.png +0 -0
  587. package/templates/vite/src-tauri/icons/Square284x284Logo.png +0 -0
  588. package/templates/vite/src-tauri/icons/Square30x30Logo.png +0 -0
  589. package/templates/vite/src-tauri/icons/Square310x310Logo.png +0 -0
  590. package/templates/vite/src-tauri/icons/Square44x44Logo.png +0 -0
  591. package/templates/vite/src-tauri/icons/Square71x71Logo.png +0 -0
  592. package/templates/vite/src-tauri/icons/Square89x89Logo.png +0 -0
  593. package/templates/vite/src-tauri/icons/StoreLogo.png +0 -0
  594. package/templates/vite/src-tauri/icons/android/mipmap-hdpi/ic_launcher.png +0 -0
  595. package/templates/vite/src-tauri/icons/android/mipmap-hdpi/ic_launcher_foreground.png +0 -0
  596. package/templates/vite/src-tauri/icons/android/mipmap-hdpi/ic_launcher_round.png +0 -0
  597. package/templates/vite/src-tauri/icons/android/mipmap-mdpi/ic_launcher.png +0 -0
  598. package/templates/vite/src-tauri/icons/android/mipmap-mdpi/ic_launcher_foreground.png +0 -0
  599. package/templates/vite/src-tauri/icons/android/mipmap-mdpi/ic_launcher_round.png +0 -0
  600. package/templates/vite/src-tauri/icons/android/mipmap-xhdpi/ic_launcher.png +0 -0
  601. package/templates/vite/src-tauri/icons/android/mipmap-xhdpi/ic_launcher_foreground.png +0 -0
  602. package/templates/vite/src-tauri/icons/android/mipmap-xhdpi/ic_launcher_round.png +0 -0
  603. package/templates/vite/src-tauri/icons/android/mipmap-xxhdpi/ic_launcher.png +0 -0
  604. package/templates/vite/src-tauri/icons/android/mipmap-xxhdpi/ic_launcher_foreground.png +0 -0
  605. package/templates/vite/src-tauri/icons/android/mipmap-xxhdpi/ic_launcher_round.png +0 -0
  606. package/templates/vite/src-tauri/icons/android/mipmap-xxxhdpi/ic_launcher.png +0 -0
  607. package/templates/vite/src-tauri/icons/android/mipmap-xxxhdpi/ic_launcher_foreground.png +0 -0
  608. package/templates/vite/src-tauri/icons/android/mipmap-xxxhdpi/ic_launcher_round.png +0 -0
  609. package/templates/vite/src-tauri/icons/icon.icns +0 -0
  610. package/templates/vite/src-tauri/icons/icon.ico +0 -0
  611. package/templates/vite/src-tauri/icons/icon.png +0 -0
  612. package/templates/vite/src-tauri/icons/ios/AppIcon-20x20@1x.png +0 -0
  613. package/templates/vite/src-tauri/icons/ios/AppIcon-20x20@2x-1.png +0 -0
  614. package/templates/vite/src-tauri/icons/ios/AppIcon-20x20@2x.png +0 -0
  615. package/templates/vite/src-tauri/icons/ios/AppIcon-20x20@3x.png +0 -0
  616. package/templates/vite/src-tauri/icons/ios/AppIcon-29x29@1x.png +0 -0
  617. package/templates/vite/src-tauri/icons/ios/AppIcon-29x29@2x-1.png +0 -0
  618. package/templates/vite/src-tauri/icons/ios/AppIcon-29x29@2x.png +0 -0
  619. package/templates/vite/src-tauri/icons/ios/AppIcon-29x29@3x.png +0 -0
  620. package/templates/vite/src-tauri/icons/ios/AppIcon-40x40@1x.png +0 -0
  621. package/templates/vite/src-tauri/icons/ios/AppIcon-40x40@2x-1.png +0 -0
  622. package/templates/vite/src-tauri/icons/ios/AppIcon-40x40@2x.png +0 -0
  623. package/templates/vite/src-tauri/icons/ios/AppIcon-40x40@3x.png +0 -0
  624. package/templates/vite/src-tauri/icons/ios/AppIcon-512@2x.png +0 -0
  625. package/templates/vite/src-tauri/icons/ios/AppIcon-60x60@2x.png +0 -0
  626. package/templates/vite/src-tauri/icons/ios/AppIcon-60x60@3x.png +0 -0
  627. package/templates/vite/src-tauri/icons/ios/AppIcon-76x76@1x.png +0 -0
  628. package/templates/vite/src-tauri/icons/ios/AppIcon-76x76@2x.png +0 -0
  629. package/templates/vite/src-tauri/icons/ios/AppIcon-83.5x83.5@2x.png +0 -0
  630. package/templates/vite/src-tauri/src/main.rs +0 -22
  631. package/templates/vite/src-tauri/tauri.conf.json +0 -71
  632. package/templates/vite/tailwind.config.js +0 -78
  633. package/templates/vite/tsconfig.json +0 -26
  634. package/templates/vite/tsconfig.node.json +0 -9
  635. package/templates/vite/vite.config.ts +0 -33
  636. /package/{templates/.shared → assets}/app-icon.png +0 -0
@@ -1,82 +0,0 @@
1
- "use client"
2
-
3
- import * as React from "react"
4
- import { useRouter } from "next/navigation"
5
- import { CaretSortIcon, CheckIcon } from "@radix-ui/react-icons"
6
- import { PopoverProps } from "@radix-ui/react-popover"
7
-
8
- import { cn } from "@/lib/utils"
9
- import { Button } from "@/components/ui/button"
10
- import {
11
- Command,
12
- CommandEmpty,
13
- CommandGroup,
14
- CommandInput,
15
- CommandItem,
16
- } from "@/components/ui/command"
17
- import {
18
- Popover,
19
- PopoverContent,
20
- PopoverTrigger,
21
- } from "@/components/ui/popover"
22
-
23
- import { Preset } from "../data/presets"
24
-
25
- interface PresetSelectorProps extends PopoverProps {
26
- presets: Preset[]
27
- }
28
-
29
- export function PresetSelector({ presets, ...props }: PresetSelectorProps) {
30
- const [open, setOpen] = React.useState(false)
31
- const [selectedPreset, setSelectedPreset] = React.useState<Preset>()
32
- const router = useRouter()
33
-
34
- return (
35
- <Popover open={open} onOpenChange={setOpen} {...props}>
36
- <PopoverTrigger asChild>
37
- <Button
38
- variant="outline"
39
- role="combobox"
40
- aria-label="Load a preset..."
41
- aria-expanded={open}
42
- className="flex-1 justify-between md:max-w-[200px] lg:max-w-[300px]"
43
- >
44
- {selectedPreset ? selectedPreset.name : "Load a preset..."}
45
- <CaretSortIcon className="ml-2 h-4 w-4 shrink-0 opacity-50" />
46
- </Button>
47
- </PopoverTrigger>
48
- <PopoverContent className="w-[300px] p-0">
49
- <Command>
50
- <CommandInput placeholder="Search presets..." />
51
- <CommandEmpty>No presets found.</CommandEmpty>
52
- <CommandGroup heading="Examples">
53
- {presets.map((preset) => (
54
- <CommandItem
55
- key={preset.id}
56
- onSelect={() => {
57
- setSelectedPreset(preset)
58
- setOpen(false)
59
- }}
60
- >
61
- {preset.name}
62
- <CheckIcon
63
- className={cn(
64
- "ml-auto h-4 w-4",
65
- selectedPreset?.id === preset.id
66
- ? "opacity-100"
67
- : "opacity-0"
68
- )}
69
- />
70
- </CommandItem>
71
- ))}
72
- </CommandGroup>
73
- <CommandGroup className="pt-0">
74
- <CommandItem onSelect={() => router.push("/examples")}>
75
- More examples
76
- </CommandItem>
77
- </CommandGroup>
78
- </Command>
79
- </PopoverContent>
80
- </Popover>
81
- )
82
- }
@@ -1,46 +0,0 @@
1
- import { CopyIcon } from "@radix-ui/react-icons"
2
-
3
- import { Button } from "@/components/ui/button"
4
- import { Input } from "@/components/ui/input"
5
- import { Label } from "@/components/ui/label"
6
- import {
7
- Popover,
8
- PopoverContent,
9
- PopoverTrigger,
10
- } from "@/components/ui/popover"
11
-
12
- export function PresetShare() {
13
- return (
14
- <Popover>
15
- <PopoverTrigger asChild>
16
- <Button variant="secondary">Share</Button>
17
- </PopoverTrigger>
18
- <PopoverContent align="end" className="w-[520px]">
19
- <div className="flex flex-col space-y-2 text-center sm:text-left">
20
- <h3 className="text-lg font-semibold">Share preset</h3>
21
- <p className="text-sm text-muted-foreground">
22
- Anyone who has this link and an OpenAI account will be able to view
23
- this.
24
- </p>
25
- </div>
26
- <div className="flex items-center space-x-2 pt-4">
27
- <div className="grid flex-1 gap-2">
28
- <Label htmlFor="link" className="sr-only">
29
- Link
30
- </Label>
31
- <Input
32
- id="link"
33
- defaultValue="https://platform.openai.com/playground/p/7bbKYQvsVkNmVb8NGcdUOLae?model=text-davinci-003"
34
- readOnly
35
- className="h-9"
36
- />
37
- </div>
38
- <Button type="submit" size="sm" className="px-3">
39
- <span className="sr-only">Copy</span>
40
- <CopyIcon className="h-4 w-4" />
41
- </Button>
42
- </div>
43
- </PopoverContent>
44
- </Popover>
45
- )
46
- }
@@ -1,57 +0,0 @@
1
- "use client"
2
-
3
- import * as React from "react"
4
- import { SliderProps } from "@radix-ui/react-slider"
5
-
6
- import {
7
- HoverCard,
8
- HoverCardContent,
9
- HoverCardTrigger,
10
- } from "@/components/ui/hover-card"
11
- import { Label } from "@/components/ui/label"
12
- import { Slider } from "@/components/ui/slider"
13
-
14
- interface TemperatureSelectorProps {
15
- defaultValue: SliderProps["defaultValue"]
16
- }
17
-
18
- export function TemperatureSelector({
19
- defaultValue,
20
- }: TemperatureSelectorProps) {
21
- const [value, setValue] = React.useState(defaultValue)
22
-
23
- return (
24
- <div className="grid gap-2 pt-2">
25
- <HoverCard openDelay={200}>
26
- <HoverCardTrigger asChild>
27
- <div className="grid gap-4">
28
- <div className="flex items-center justify-between">
29
- <Label htmlFor="temperature">Temperature</Label>
30
- <span className="w-12 rounded-md border border-transparent px-2 py-0.5 text-right text-sm text-muted-foreground hover:border-border">
31
- {value}
32
- </span>
33
- </div>
34
- <Slider
35
- id="temperature"
36
- max={1}
37
- defaultValue={value}
38
- step={0.1}
39
- onValueChange={setValue}
40
- className="[&_[role=slider]]:h-4 [&_[role=slider]]:w-4"
41
- aria-label="Temperature"
42
- />
43
- </div>
44
- </HoverCardTrigger>
45
- <HoverCardContent
46
- align="start"
47
- className="w-[260px] text-sm"
48
- side="left"
49
- >
50
- Controls randomness: lowering results in less random completions. As
51
- the temperature approaches zero, the model will become deterministic
52
- and repetitive.
53
- </HoverCardContent>
54
- </HoverCard>
55
- </div>
56
- )
57
- }
@@ -1,54 +0,0 @@
1
- "use client"
2
-
3
- import * as React from "react"
4
- import { SliderProps } from "@radix-ui/react-slider"
5
-
6
- import {
7
- HoverCard,
8
- HoverCardContent,
9
- HoverCardTrigger,
10
- } from "@/components/ui/hover-card"
11
- import { Label } from "@/components/ui/label"
12
- import { Slider } from "@/components/ui/slider"
13
-
14
- interface TopPSelectorProps {
15
- defaultValue: SliderProps["defaultValue"]
16
- }
17
-
18
- export function TopPSelector({ defaultValue }: TopPSelectorProps) {
19
- const [value, setValue] = React.useState(defaultValue)
20
-
21
- return (
22
- <div className="grid gap-2 pt-2">
23
- <HoverCard openDelay={200}>
24
- <HoverCardTrigger asChild>
25
- <div className="grid gap-4">
26
- <div className="flex items-center justify-between">
27
- <Label htmlFor="top-p">Top P</Label>
28
- <span className="w-12 rounded-md border border-transparent px-2 py-0.5 text-right text-sm text-muted-foreground hover:border-border">
29
- {value}
30
- </span>
31
- </div>
32
- <Slider
33
- id="top-p"
34
- max={1}
35
- defaultValue={value}
36
- step={0.1}
37
- onValueChange={setValue}
38
- className="[&_[role=slider]]:h-4 [&_[role=slider]]:w-4"
39
- aria-label="Top P"
40
- />
41
- </div>
42
- </HoverCardTrigger>
43
- <HoverCardContent
44
- align="start"
45
- className="w-[260px] text-sm"
46
- side="left"
47
- >
48
- Control diversity via nucleus sampling: 0.5 means half of all
49
- likelihood-weighted options are considered.
50
- </HoverCardContent>
51
- </HoverCard>
52
- </div>
53
- )
54
- }
@@ -1,62 +0,0 @@
1
- export const types = ["GPT-3", "Codex"] as const
2
-
3
- export type ModelType = (typeof types)[number]
4
-
5
- export interface Model<Type = string> {
6
- id: string
7
- name: string
8
- description: string
9
- strengths?: string
10
- type: Type
11
- }
12
-
13
- export const models: Model<ModelType>[] = [
14
- {
15
- id: "c305f976-8e38-42b1-9fb7-d21b2e34f0da",
16
- name: "text-davinci-003",
17
- description:
18
- "Most capable GPT-3 model. Can do any task the other models can do, often with higher quality, longer output and better instruction-following. Also supports inserting completions within text.",
19
- type: "GPT-3",
20
- strengths:
21
- "Complex intent, cause and effect, creative generation, search, summarization for audience",
22
- },
23
- {
24
- id: "464a47c3-7ab5-44d7-b669-f9cb5a9e8465",
25
- name: "text-curie-001",
26
- description: "Very capable, but faster and lower cost than Davinci.",
27
- type: "GPT-3",
28
- strengths:
29
- "Language translation, complex classification, sentiment, summarization",
30
- },
31
- {
32
- id: "ac0797b0-7e31-43b6-a494-da7e2ab43445",
33
- name: "text-babbage-001",
34
- description: "Capable of straightforward tasks, very fast, and lower cost.",
35
- type: "GPT-3",
36
- strengths: "Moderate classification, semantic search",
37
- },
38
- {
39
- id: " be638fb1-973b-4471-a49c-290325085802",
40
- name: "text-ada-001",
41
- description:
42
- "Capable of very simple tasks, usually the fastest model in the GPT-3 series, and lowest cost.",
43
- type: "GPT-3",
44
- strengths:
45
- "Parsing text, simple classification, address correction, keywords",
46
- },
47
- {
48
- id: "b43c0ea9-5ad4-456a-ae29-26cd77b6d0fb",
49
- name: "code-davinci-002",
50
- description:
51
- "Most capable Codex model. Particularly good at translating natural language to code. In addition to completing code, also supports inserting completions within code.",
52
- type: "Codex",
53
- },
54
- {
55
- id: "bbd57291-4622-4a21-9eed-dd6bd786fdd1",
56
- name: "code-cushman-001",
57
- description:
58
- "Almost as capable as Davinci Codex, but slightly faster. This speed advantage may make it preferable for real-time applications.",
59
- type: "Codex",
60
- strengths: "Real-time application where low-latency is preferable",
61
- },
62
- ]
@@ -1,47 +0,0 @@
1
- export interface Preset {
2
- id: string
3
- name: string
4
- }
5
-
6
- export const presets: Preset[] = [
7
- {
8
- id: "9cb0e66a-9937-465d-a188-2c4c4ae2401f",
9
- name: "Grammatical Standard English",
10
- },
11
- {
12
- id: "61eb0e32-2391-4cd3-adc3-66efe09bc0b7",
13
- name: "Summarize for a 2nd grader",
14
- },
15
- {
16
- id: "a4e1fa51-f4ce-4e45-892c-224030a00bdd",
17
- name: "Text to command",
18
- },
19
- {
20
- id: "cc198b13-4933-43aa-977e-dcd95fa30770",
21
- name: "Q&A",
22
- },
23
- {
24
- id: "adfa95be-a575-45fd-a9ef-ea45386c64de",
25
- name: "English to other languages",
26
- },
27
- {
28
- id: "c569a06a-0bd6-43a7-adf9-bf68c09e7a79",
29
- name: "Parse unstructured data",
30
- },
31
- {
32
- id: "15ccc0d7-f37a-4f0a-8163-a37e162877dc",
33
- name: "Classification",
34
- },
35
- {
36
- id: "4641ef41-1c0f-421d-b4b2-70fe431081f3",
37
- name: "Natural language to Python",
38
- },
39
- {
40
- id: "48d34082-72f3-4a1b-a14d-f15aca4f57a0",
41
- name: "Explain code",
42
- },
43
- {
44
- id: "dfd42fd5-0394-4810-92c6-cc907d3bfd1a",
45
- name: "Chat",
46
- },
47
- ]
@@ -1,313 +0,0 @@
1
- import { Metadata } from "next"
2
- import Image from "next/image"
3
- import { CounterClockwiseClockIcon } from "@radix-ui/react-icons"
4
-
5
- import { Button } from "@/components/ui/button"
6
- import {
7
- HoverCard,
8
- HoverCardContent,
9
- HoverCardTrigger,
10
- } from "@/components/ui/hover-card"
11
- import { Label } from "@/components/ui/label"
12
- import { Separator } from "@/components/ui/separator"
13
- import {
14
- Tabs,
15
- TabsContent,
16
- TabsList,
17
- TabsTrigger,
18
- } from "@/components/ui/tabs"
19
- import { Textarea } from "@/components/ui/textarea"
20
-
21
- import { CodeViewer } from "./components/code-viewer"
22
- import { MaxLengthSelector } from "./components/maxlength-selector"
23
- import { ModelSelector } from "./components/model-selector"
24
- import { PresetActions } from "./components/preset-actions"
25
- import { PresetSave } from "./components/preset-save"
26
- import { PresetSelector } from "./components/preset-selector"
27
- import { PresetShare } from "./components/preset-share"
28
- import { TemperatureSelector } from "./components/temperature-selector"
29
- import { TopPSelector } from "./components/top-p-selector"
30
- import { models, types } from "./data/models"
31
- import { presets } from "./data/presets"
32
-
33
- export const metadata: Metadata = {
34
- title: "Playground",
35
- description: "The OpenAI Playground built using the components.",
36
- }
37
-
38
- export default function PlaygroundPage() {
39
- return (
40
- <>
41
- <div className="h-full flex-col md:flex">
42
- <div className="container flex flex-col items-start justify-between space-y-2 py-4 sm:flex-row sm:items-center sm:space-y-0 md:h-16">
43
- <h2 className="text-lg font-semibold">Playground</h2>
44
- <div className="ml-auto flex w-full space-x-2 sm:justify-end">
45
- <PresetSelector presets={presets} />
46
- <PresetSave />
47
- <div className="hidden space-x-2 md:flex">
48
- <CodeViewer />
49
- <PresetShare />
50
- </div>
51
- <PresetActions />
52
- </div>
53
- </div>
54
- <Separator />
55
- <Tabs defaultValue="complete" className="flex-1">
56
- <div className="container h-full py-6">
57
- <div className="grid h-full items-stretch gap-6 md:grid-cols-[1fr_200px]">
58
- <div className="hidden flex-col space-y-4 sm:flex md:order-2">
59
- <div className="grid gap-2">
60
- <HoverCard openDelay={200}>
61
- <HoverCardTrigger asChild>
62
- <span className="text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70">
63
- Mode
64
- </span>
65
- </HoverCardTrigger>
66
- <HoverCardContent className="w-[320px] text-sm" side="left">
67
- Choose the interface that best suits your task. You can
68
- provide: a simple prompt to complete, starting and ending
69
- text to insert a completion within, or some text with
70
- instructions to edit it.
71
- </HoverCardContent>
72
- </HoverCard>
73
- <TabsList className="grid grid-cols-3">
74
- <TabsTrigger value="complete">
75
- <span className="sr-only">Complete</span>
76
- <svg
77
- xmlns="http://www.w3.org/2000/svg"
78
- viewBox="0 0 20 20"
79
- fill="none"
80
- className="h-5 w-5"
81
- >
82
- <rect
83
- x="4"
84
- y="3"
85
- width="12"
86
- height="2"
87
- rx="1"
88
- fill="currentColor"
89
- ></rect>
90
- <rect
91
- x="4"
92
- y="7"
93
- width="12"
94
- height="2"
95
- rx="1"
96
- fill="currentColor"
97
- ></rect>
98
- <rect
99
- x="4"
100
- y="11"
101
- width="3"
102
- height="2"
103
- rx="1"
104
- fill="currentColor"
105
- ></rect>
106
- <rect
107
- x="4"
108
- y="15"
109
- width="3"
110
- height="2"
111
- rx="1"
112
- fill="currentColor"
113
- ></rect>
114
- <rect
115
- x="8.5"
116
- y="11"
117
- width="3"
118
- height="2"
119
- rx="1"
120
- fill="currentColor"
121
- ></rect>
122
- <rect
123
- x="8.5"
124
- y="15"
125
- width="3"
126
- height="2"
127
- rx="1"
128
- fill="currentColor"
129
- ></rect>
130
- <rect
131
- x="13"
132
- y="11"
133
- width="3"
134
- height="2"
135
- rx="1"
136
- fill="currentColor"
137
- ></rect>
138
- </svg>
139
- </TabsTrigger>
140
- <TabsTrigger value="insert">
141
- <span className="sr-only">Insert</span>
142
- <svg
143
- xmlns="http://www.w3.org/2000/svg"
144
- viewBox="0 0 20 20"
145
- fill="none"
146
- className="h-5 w-5"
147
- >
148
- <path
149
- fillRule="evenodd"
150
- clipRule="evenodd"
151
- d="M14.491 7.769a.888.888 0 0 1 .287.648.888.888 0 0 1-.287.648l-3.916 3.667a1.013 1.013 0 0 1-.692.268c-.26 0-.509-.097-.692-.268L5.275 9.065A.886.886 0 0 1 5 8.42a.889.889 0 0 1 .287-.64c.181-.17.427-.267.683-.269.257-.002.504.09.69.258L8.903 9.87V3.917c0-.243.103-.477.287-.649.183-.171.432-.268.692-.268.26 0 .509.097.692.268a.888.888 0 0 1 .287.649V9.87l2.245-2.102c.183-.172.432-.269.692-.269.26 0 .508.097.692.269Z"
152
- fill="currentColor"
153
- ></path>
154
- <rect
155
- x="4"
156
- y="15"
157
- width="3"
158
- height="2"
159
- rx="1"
160
- fill="currentColor"
161
- ></rect>
162
- <rect
163
- x="8.5"
164
- y="15"
165
- width="3"
166
- height="2"
167
- rx="1"
168
- fill="currentColor"
169
- ></rect>
170
- <rect
171
- x="13"
172
- y="15"
173
- width="3"
174
- height="2"
175
- rx="1"
176
- fill="currentColor"
177
- ></rect>
178
- </svg>
179
- </TabsTrigger>
180
- <TabsTrigger value="edit">
181
- <span className="sr-only">Edit</span>
182
- <svg
183
- xmlns="http://www.w3.org/2000/svg"
184
- viewBox="0 0 20 20"
185
- fill="none"
186
- className="h-5 w-5"
187
- >
188
- <rect
189
- x="4"
190
- y="3"
191
- width="12"
192
- height="2"
193
- rx="1"
194
- fill="currentColor"
195
- ></rect>
196
- <rect
197
- x="4"
198
- y="7"
199
- width="12"
200
- height="2"
201
- rx="1"
202
- fill="currentColor"
203
- ></rect>
204
- <rect
205
- x="4"
206
- y="11"
207
- width="3"
208
- height="2"
209
- rx="1"
210
- fill="currentColor"
211
- ></rect>
212
- <rect
213
- x="4"
214
- y="15"
215
- width="4"
216
- height="2"
217
- rx="1"
218
- fill="currentColor"
219
- ></rect>
220
- <rect
221
- x="8.5"
222
- y="11"
223
- width="3"
224
- height="2"
225
- rx="1"
226
- fill="currentColor"
227
- ></rect>
228
- <path
229
- d="M17.154 11.346a1.182 1.182 0 0 0-1.671 0L11 15.829V17.5h1.671l4.483-4.483a1.182 1.182 0 0 0 0-1.671Z"
230
- fill="currentColor"
231
- ></path>
232
- </svg>
233
- </TabsTrigger>
234
- </TabsList>
235
- </div>
236
- <ModelSelector types={types} models={models} />
237
- <TemperatureSelector defaultValue={[0.56]} />
238
- <MaxLengthSelector defaultValue={[256]} />
239
- <TopPSelector defaultValue={[0.9]} />
240
- </div>
241
- <div className="md:order-1">
242
- <TabsContent value="complete" className="mt-0 border-0 p-0">
243
- <div className="flex h-full flex-col space-y-4">
244
- <Textarea
245
- placeholder="Write a tagline for an ice cream shop"
246
- className="min-h-[400px] flex-1 p-4 md:min-h-[700px] lg:min-h-[700px]"
247
- />
248
- <div className="flex items-center space-x-2">
249
- <Button>Submit</Button>
250
- <Button variant="secondary">
251
- <span className="sr-only">Show history</span>
252
- <CounterClockwiseClockIcon className="h-4 w-4" />
253
- </Button>
254
- </div>
255
- </div>
256
- </TabsContent>
257
- <TabsContent value="insert" className="mt-0 border-0 p-0">
258
- <div className="flex flex-col space-y-4">
259
- <div className="grid h-full grid-rows-2 gap-6 lg:grid-cols-2 lg:grid-rows-1">
260
- <Textarea
261
- placeholder="We're writing to [inset]. Congrats from OpenAI!"
262
- className="h-full min-h-[300px] lg:min-h-[700px] xl:min-h-[700px]"
263
- />
264
- <div className="rounded-md border bg-muted"></div>
265
- </div>
266
- <div className="flex items-center space-x-2">
267
- <Button>Submit</Button>
268
- <Button variant="secondary">
269
- <span className="sr-only">Show history</span>
270
- <CounterClockwiseClockIcon className="h-4 w-4" />
271
- </Button>
272
- </div>
273
- </div>
274
- </TabsContent>
275
- <TabsContent value="edit" className="mt-0 border-0 p-0">
276
- <div className="flex flex-col space-y-4">
277
- <div className="grid h-full gap-6 lg:grid-cols-2">
278
- <div className="flex flex-col space-y-4">
279
- <div className="flex flex-1 flex-col space-y-2">
280
- <Label htmlFor="input">Input</Label>
281
- <Textarea
282
- id="input"
283
- placeholder="We is going to the market."
284
- className="flex-1 lg:min-h-[580px]"
285
- />
286
- </div>
287
- <div className="flex flex-col space-y-2">
288
- <Label htmlFor="instructions">Instructions</Label>
289
- <Textarea
290
- id="instructions"
291
- placeholder="Fix the grammar."
292
- />
293
- </div>
294
- </div>
295
- <div className="mt-[21px] min-h-[400px] rounded-md border bg-muted lg:min-h-[700px]" />
296
- </div>
297
- <div className="flex items-center space-x-2">
298
- <Button>Submit</Button>
299
- <Button variant="secondary">
300
- <span className="sr-only">Show history</span>
301
- <CounterClockwiseClockIcon className="h-4 w-4" />
302
- </Button>
303
- </div>
304
- </div>
305
- </TabsContent>
306
- </div>
307
- </div>
308
- </div>
309
- </Tabs>
310
- </div>
311
- </>
312
- )
313
- }