@nextsparkjs/core 0.1.0-beta.81 → 0.1.0-beta.83

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 (376) hide show
  1. package/dist/components/entities/wrappers/EntityDetailWrapper.d.ts.map +1 -1
  2. package/dist/components/entities/wrappers/EntityDetailWrapper.js +11 -39
  3. package/dist/hooks/useEntityQuery.d.ts.map +1 -1
  4. package/dist/hooks/useEntityQuery.js +21 -3
  5. package/dist/lib/theme/get-default-theme-mode.d.ts +11 -0
  6. package/dist/lib/theme/get-default-theme-mode.d.ts.map +1 -1
  7. package/dist/lib/theme/get-default-theme-mode.js +42 -25
  8. package/dist/styles/classes.json +1 -1
  9. package/dist/templates/next.config.mjs +5 -2
  10. package/dist/types/theme.d.ts +2 -0
  11. package/dist/types/theme.d.ts.map +1 -1
  12. package/package.json +16 -16
  13. package/scripts/build/docs-registry.mjs +0 -0
  14. package/scripts/create-theme.mjs +0 -0
  15. package/scripts/deploy/release-version.mjs +0 -0
  16. package/scripts/deploy/vercel-deploy.mjs +0 -0
  17. package/scripts/dev/watch-plugins.mjs +0 -0
  18. package/scripts/maintenance/update-core.mjs +0 -0
  19. package/scripts/setup/npm-postinstall.mjs +0 -0
  20. package/scripts/setup/setup-claude.mjs +0 -0
  21. package/scripts/validation/check-imports.sh +0 -0
  22. package/templates/next.config.mjs +5 -2
  23. package/dist/templates/app/(auth)/forgot-password/page.tsx +0 -216
  24. package/dist/templates/app/(auth)/layout.tsx +0 -51
  25. package/dist/templates/app/(auth)/login/page.tsx +0 -21
  26. package/dist/templates/app/(auth)/reset-password/page.tsx +0 -212
  27. package/dist/templates/app/(auth)/signup/page.tsx +0 -21
  28. package/dist/templates/app/(auth)/verify-email/page.tsx +0 -190
  29. package/dist/templates/app/(public)/[...slug]/page.tsx +0 -378
  30. package/dist/templates/app/(public)/docs/[section]/[page]/page.tsx +0 -90
  31. package/dist/templates/app/(public)/docs/layout.tsx +0 -25
  32. package/dist/templates/app/(public)/docs/page.tsx +0 -81
  33. package/dist/templates/app/(public)/layout.tsx +0 -41
  34. package/dist/templates/app/(public)/page.tsx +0 -19
  35. package/dist/templates/app/403/page.tsx +0 -89
  36. package/dist/templates/app/api/auth/[...all]/route.ts +0 -78
  37. package/dist/templates/app/api/cron/billing/lifecycle/route.ts +0 -98
  38. package/dist/templates/app/api/csp-report/route.ts +0 -175
  39. package/dist/templates/app/api/devtools/config/entities/route.ts +0 -108
  40. package/dist/templates/app/api/devtools/config/theme/route.ts +0 -66
  41. package/dist/templates/app/api/devtools/tests/[...path]/route.ts +0 -130
  42. package/dist/templates/app/api/devtools/tests/route.ts +0 -134
  43. package/dist/templates/app/api/health/route.ts +0 -29
  44. package/dist/templates/app/api/internal/user-metadata/route.ts +0 -36
  45. package/dist/templates/app/api/superadmin/subscriptions/route.ts +0 -310
  46. package/dist/templates/app/api/superadmin/teams/[teamId]/route.ts +0 -286
  47. package/dist/templates/app/api/superadmin/teams/route.ts +0 -188
  48. package/dist/templates/app/api/superadmin/users/[userId]/route.ts +0 -540
  49. package/dist/templates/app/api/superadmin/users/route.ts +0 -323
  50. package/dist/templates/app/api/user/delete-account/route.ts +0 -55
  51. package/dist/templates/app/api/user/plan-flags/route.ts +0 -283
  52. package/dist/templates/app/api/user/profile/route.ts +0 -133
  53. package/dist/templates/app/api/v1/[entity]/[id]/child/[childType]/[childId]/route.ts +0 -210
  54. package/dist/templates/app/api/v1/[entity]/[id]/child/[childType]/route.ts +0 -331
  55. package/dist/templates/app/api/v1/[entity]/[id]/route.ts +0 -35
  56. package/dist/templates/app/api/v1/[entity]/docs.md +0 -369
  57. package/dist/templates/app/api/v1/[entity]/presets.ts +0 -194
  58. package/dist/templates/app/api/v1/[entity]/route.ts +0 -31
  59. package/dist/templates/app/api/v1/api-keys/[id]/route.ts +0 -303
  60. package/dist/templates/app/api/v1/api-keys/docs.md +0 -101
  61. package/dist/templates/app/api/v1/api-keys/presets.ts +0 -31
  62. package/dist/templates/app/api/v1/api-keys/route.ts +0 -250
  63. package/dist/templates/app/api/v1/auth/docs.md +0 -184
  64. package/dist/templates/app/api/v1/auth/presets.ts +0 -44
  65. package/dist/templates/app/api/v1/auth/signup-with-invite/route.ts +0 -227
  66. package/dist/templates/app/api/v1/billing/cancel/route.ts +0 -206
  67. package/dist/templates/app/api/v1/billing/change-plan/route.ts +0 -97
  68. package/dist/templates/app/api/v1/billing/check-action/route.ts +0 -81
  69. package/dist/templates/app/api/v1/billing/checkout/route.ts +0 -124
  70. package/dist/templates/app/api/v1/billing/docs.md +0 -209
  71. package/dist/templates/app/api/v1/billing/plans/route.ts +0 -85
  72. package/dist/templates/app/api/v1/billing/portal/route.ts +0 -90
  73. package/dist/templates/app/api/v1/billing/presets.ts +0 -121
  74. package/dist/templates/app/api/v1/billing/webhooks/stripe/route.ts +0 -428
  75. package/dist/templates/app/api/v1/blocks/[slug]/route.ts +0 -29
  76. package/dist/templates/app/api/v1/blocks/docs.md +0 -173
  77. package/dist/templates/app/api/v1/blocks/presets.ts +0 -121
  78. package/dist/templates/app/api/v1/blocks/route.ts +0 -45
  79. package/dist/templates/app/api/v1/blocks/validate/route.ts +0 -45
  80. package/dist/templates/app/api/v1/cron/docs.md +0 -116
  81. package/dist/templates/app/api/v1/cron/presets.ts +0 -26
  82. package/dist/templates/app/api/v1/cron/process/route.ts +0 -108
  83. package/dist/templates/app/api/v1/devtools/blocks/route.ts +0 -82
  84. package/dist/templates/app/api/v1/devtools/docs/route.ts +0 -150
  85. package/dist/templates/app/api/v1/devtools/docs.md +0 -204
  86. package/dist/templates/app/api/v1/devtools/features/route.ts +0 -61
  87. package/dist/templates/app/api/v1/devtools/flows/route.ts +0 -61
  88. package/dist/templates/app/api/v1/devtools/presets.ts +0 -113
  89. package/dist/templates/app/api/v1/devtools/scheduled-actions/route.ts +0 -120
  90. package/dist/templates/app/api/v1/devtools/testing/route.ts +0 -82
  91. package/dist/templates/app/api/v1/media/docs.md +0 -117
  92. package/dist/templates/app/api/v1/media/presets.ts +0 -24
  93. package/dist/templates/app/api/v1/media/upload/route.ts +0 -150
  94. package/dist/templates/app/api/v1/patterns/[id]/usages/route.ts +0 -116
  95. package/dist/templates/app/api/v1/plugin/[...path]/route.ts +0 -373
  96. package/dist/templates/app/api/v1/plugin/docs.md +0 -79
  97. package/dist/templates/app/api/v1/plugin/presets.ts +0 -21
  98. package/dist/templates/app/api/v1/plugin/route.ts +0 -96
  99. package/dist/templates/app/api/v1/post-categories/[id]/route.ts +0 -255
  100. package/dist/templates/app/api/v1/post-categories/docs.md +0 -134
  101. package/dist/templates/app/api/v1/post-categories/presets.ts +0 -78
  102. package/dist/templates/app/api/v1/post-categories/route.ts +0 -119
  103. package/dist/templates/app/api/v1/team-invitations/[token]/accept/route.ts +0 -179
  104. package/dist/templates/app/api/v1/team-invitations/[token]/decline/route.ts +0 -120
  105. package/dist/templates/app/api/v1/team-invitations/[token]/route.ts +0 -89
  106. package/dist/templates/app/api/v1/team-invitations/docs.md +0 -88
  107. package/dist/templates/app/api/v1/team-invitations/presets.ts +0 -43
  108. package/dist/templates/app/api/v1/team-invitations/route.ts +0 -114
  109. package/dist/templates/app/api/v1/teams/[teamId]/invitations/route.ts +0 -171
  110. package/dist/templates/app/api/v1/teams/[teamId]/invoices/[invoiceNumber]/route.ts +0 -105
  111. package/dist/templates/app/api/v1/teams/[teamId]/invoices/route.ts +0 -125
  112. package/dist/templates/app/api/v1/teams/[teamId]/members/[memberId]/route.ts +0 -263
  113. package/dist/templates/app/api/v1/teams/[teamId]/members/route.ts +0 -358
  114. package/dist/templates/app/api/v1/teams/[teamId]/route.ts +0 -322
  115. package/dist/templates/app/api/v1/teams/[teamId]/subscription/route.ts +0 -50
  116. package/dist/templates/app/api/v1/teams/[teamId]/usage/[limitSlug]/route.ts +0 -91
  117. package/dist/templates/app/api/v1/teams/docs.md +0 -320
  118. package/dist/templates/app/api/v1/teams/presets.ts +0 -178
  119. package/dist/templates/app/api/v1/teams/route.ts +0 -293
  120. package/dist/templates/app/api/v1/teams/switch/route.ts +0 -88
  121. package/dist/templates/app/api/v1/theme/[...path]/route.ts +0 -361
  122. package/dist/templates/app/api/v1/theme/docs.md +0 -74
  123. package/dist/templates/app/api/v1/theme/presets.ts +0 -21
  124. package/dist/templates/app/api/v1/theme/route.ts +0 -96
  125. package/dist/templates/app/api/v1/users/[id]/meta/[key]/route.ts +0 -363
  126. package/dist/templates/app/api/v1/users/[id]/route.ts +0 -302
  127. package/dist/templates/app/api/v1/users/docs.md +0 -93
  128. package/dist/templates/app/api/v1/users/presets.ts +0 -59
  129. package/dist/templates/app/api/v1/users/route.ts +0 -197
  130. package/dist/templates/app/dashboard/(main)/[entity]/[id]/edit/page.tsx +0 -117
  131. package/dist/templates/app/dashboard/(main)/[entity]/[id]/page.tsx +0 -103
  132. package/dist/templates/app/dashboard/(main)/[entity]/create/page.tsx +0 -95
  133. package/dist/templates/app/dashboard/(main)/[entity]/error.tsx +0 -51
  134. package/dist/templates/app/dashboard/(main)/[entity]/layout.tsx +0 -113
  135. package/dist/templates/app/dashboard/(main)/[entity]/loading.tsx +0 -61
  136. package/dist/templates/app/dashboard/(main)/[entity]/page.tsx +0 -90
  137. package/dist/templates/app/dashboard/(main)/layout.tsx +0 -98
  138. package/dist/templates/app/dashboard/(main)/loading.tsx +0 -5
  139. package/dist/templates/app/dashboard/(main)/page.tsx +0 -201
  140. package/dist/templates/app/dashboard/(main)/patterns/[id]/edit/page.tsx +0 -114
  141. package/dist/templates/app/dashboard/(main)/patterns/[id]/page.tsx +0 -20
  142. package/dist/templates/app/dashboard/(main)/patterns/[id]/reports/page.tsx +0 -171
  143. package/dist/templates/app/dashboard/(main)/patterns/create/page.tsx +0 -86
  144. package/dist/templates/app/dashboard/(main)/patterns/page.tsx +0 -444
  145. package/dist/templates/app/dashboard/features/analytics/page.tsx +0 -35
  146. package/dist/templates/app/dashboard/features/automation/page.tsx +0 -35
  147. package/dist/templates/app/dashboard/features/layout.tsx +0 -13
  148. package/dist/templates/app/dashboard/features/loading.tsx +0 -5
  149. package/dist/templates/app/dashboard/features/webhooks/page.tsx +0 -35
  150. package/dist/templates/app/dashboard/layout.tsx +0 -86
  151. package/dist/templates/app/dashboard/permission-denied/page.tsx +0 -29
  152. package/dist/templates/app/dashboard/settings/api-keys/loading.tsx +0 -5
  153. package/dist/templates/app/dashboard/settings/api-keys/page.tsx +0 -513
  154. package/dist/templates/app/dashboard/settings/billing/loading.tsx +0 -5
  155. package/dist/templates/app/dashboard/settings/billing/page.tsx +0 -284
  156. package/dist/templates/app/dashboard/settings/invoices/[invoiceNumber]/page.tsx +0 -222
  157. package/dist/templates/app/dashboard/settings/invoices/loading.tsx +0 -5
  158. package/dist/templates/app/dashboard/settings/invoices/page.tsx +0 -82
  159. package/dist/templates/app/dashboard/settings/layout.tsx +0 -151
  160. package/dist/templates/app/dashboard/settings/loading.tsx +0 -5
  161. package/dist/templates/app/dashboard/settings/notifications/loading.tsx +0 -5
  162. package/dist/templates/app/dashboard/settings/notifications/page.tsx +0 -462
  163. package/dist/templates/app/dashboard/settings/page.tsx +0 -92
  164. package/dist/templates/app/dashboard/settings/password/loading.tsx +0 -5
  165. package/dist/templates/app/dashboard/settings/password/page.tsx +0 -306
  166. package/dist/templates/app/dashboard/settings/plans/loading.tsx +0 -5
  167. package/dist/templates/app/dashboard/settings/plans/page.tsx +0 -40
  168. package/dist/templates/app/dashboard/settings/profile/loading.tsx +0 -5
  169. package/dist/templates/app/dashboard/settings/profile/page.tsx +0 -686
  170. package/dist/templates/app/dashboard/settings/security/loading.tsx +0 -5
  171. package/dist/templates/app/dashboard/settings/security/page.tsx +0 -505
  172. package/dist/templates/app/dashboard/settings/teams/loading.tsx +0 -5
  173. package/dist/templates/app/dashboard/settings/teams/page.tsx +0 -272
  174. package/dist/templates/app/dashboard/settings/teams/permissions/page.tsx +0 -92
  175. package/dist/templates/app/devtools/blocks/[slug]/page.tsx +0 -39
  176. package/dist/templates/app/devtools/blocks/page.tsx +0 -31
  177. package/dist/templates/app/devtools/config/page.tsx +0 -31
  178. package/dist/templates/app/devtools/features/page.tsx +0 -31
  179. package/dist/templates/app/devtools/flows/page.tsx +0 -31
  180. package/dist/templates/app/devtools/layout.tsx +0 -58
  181. package/dist/templates/app/devtools/page.tsx +0 -121
  182. package/dist/templates/app/devtools/scheduled-actions/page.tsx +0 -157
  183. package/dist/templates/app/devtools/style/page.tsx +0 -330
  184. package/dist/templates/app/devtools/tags/page.tsx +0 -31
  185. package/dist/templates/app/devtools/tests/[[...path]]/page.tsx +0 -47
  186. package/dist/templates/app/favicon.ico +0 -0
  187. package/dist/templates/app/globals.css +0 -12
  188. package/dist/templates/app/layout.tsx +0 -96
  189. package/dist/templates/app/public/page.tsx +0 -30
  190. package/dist/templates/app/superadmin/docs/[section]/[page]/page.tsx +0 -92
  191. package/dist/templates/app/superadmin/docs/page.tsx +0 -75
  192. package/dist/templates/app/superadmin/layout.tsx +0 -67
  193. package/dist/templates/app/superadmin/page.tsx +0 -149
  194. package/dist/templates/app/superadmin/subscriptions/page.tsx +0 -655
  195. package/dist/templates/app/superadmin/team-roles/page.tsx +0 -493
  196. package/dist/templates/app/superadmin/teams/[teamId]/page.tsx +0 -687
  197. package/dist/templates/app/superadmin/teams/page.tsx +0 -302
  198. package/dist/templates/app/superadmin/users/[userId]/page.tsx +0 -548
  199. package/dist/templates/app/superadmin/users/page.tsx +0 -528
  200. package/templates/app/(auth)/forgot-password/page.tsx +0 -216
  201. package/templates/app/(auth)/layout.tsx +0 -51
  202. package/templates/app/(auth)/login/page.tsx +0 -21
  203. package/templates/app/(auth)/reset-password/page.tsx +0 -212
  204. package/templates/app/(auth)/signup/page.tsx +0 -21
  205. package/templates/app/(auth)/verify-email/page.tsx +0 -190
  206. package/templates/app/(public)/[...slug]/page.tsx +0 -378
  207. package/templates/app/(public)/docs/[section]/[page]/page.tsx +0 -90
  208. package/templates/app/(public)/docs/layout.tsx +0 -25
  209. package/templates/app/(public)/docs/page.tsx +0 -81
  210. package/templates/app/(public)/layout.tsx +0 -41
  211. package/templates/app/(public)/page.tsx +0 -19
  212. package/templates/app/403/page.tsx +0 -89
  213. package/templates/app/api/auth/[...all]/route.ts +0 -78
  214. package/templates/app/api/cron/billing/lifecycle/route.ts +0 -98
  215. package/templates/app/api/csp-report/route.ts +0 -175
  216. package/templates/app/api/devtools/config/entities/route.ts +0 -108
  217. package/templates/app/api/devtools/config/theme/route.ts +0 -66
  218. package/templates/app/api/devtools/tests/[...path]/route.ts +0 -130
  219. package/templates/app/api/devtools/tests/route.ts +0 -134
  220. package/templates/app/api/health/route.ts +0 -29
  221. package/templates/app/api/internal/user-metadata/route.ts +0 -36
  222. package/templates/app/api/superadmin/subscriptions/route.ts +0 -310
  223. package/templates/app/api/superadmin/teams/[teamId]/route.ts +0 -286
  224. package/templates/app/api/superadmin/teams/route.ts +0 -188
  225. package/templates/app/api/superadmin/users/[userId]/route.ts +0 -540
  226. package/templates/app/api/superadmin/users/route.ts +0 -323
  227. package/templates/app/api/user/delete-account/route.ts +0 -55
  228. package/templates/app/api/user/plan-flags/route.ts +0 -283
  229. package/templates/app/api/user/profile/route.ts +0 -133
  230. package/templates/app/api/v1/[entity]/[id]/child/[childType]/[childId]/route.ts +0 -210
  231. package/templates/app/api/v1/[entity]/[id]/child/[childType]/route.ts +0 -331
  232. package/templates/app/api/v1/[entity]/[id]/route.ts +0 -35
  233. package/templates/app/api/v1/[entity]/docs.md +0 -369
  234. package/templates/app/api/v1/[entity]/presets.ts +0 -194
  235. package/templates/app/api/v1/[entity]/route.ts +0 -31
  236. package/templates/app/api/v1/api-keys/[id]/route.ts +0 -303
  237. package/templates/app/api/v1/api-keys/docs.md +0 -101
  238. package/templates/app/api/v1/api-keys/presets.ts +0 -31
  239. package/templates/app/api/v1/api-keys/route.ts +0 -250
  240. package/templates/app/api/v1/auth/docs.md +0 -184
  241. package/templates/app/api/v1/auth/presets.ts +0 -44
  242. package/templates/app/api/v1/auth/signup-with-invite/route.ts +0 -227
  243. package/templates/app/api/v1/billing/cancel/route.ts +0 -206
  244. package/templates/app/api/v1/billing/change-plan/route.ts +0 -97
  245. package/templates/app/api/v1/billing/check-action/route.ts +0 -81
  246. package/templates/app/api/v1/billing/checkout/route.ts +0 -124
  247. package/templates/app/api/v1/billing/docs.md +0 -209
  248. package/templates/app/api/v1/billing/plans/route.ts +0 -85
  249. package/templates/app/api/v1/billing/portal/route.ts +0 -90
  250. package/templates/app/api/v1/billing/presets.ts +0 -121
  251. package/templates/app/api/v1/billing/webhooks/stripe/route.ts +0 -428
  252. package/templates/app/api/v1/blocks/[slug]/route.ts +0 -29
  253. package/templates/app/api/v1/blocks/docs.md +0 -173
  254. package/templates/app/api/v1/blocks/presets.ts +0 -121
  255. package/templates/app/api/v1/blocks/route.ts +0 -45
  256. package/templates/app/api/v1/blocks/validate/route.ts +0 -45
  257. package/templates/app/api/v1/cron/docs.md +0 -116
  258. package/templates/app/api/v1/cron/presets.ts +0 -26
  259. package/templates/app/api/v1/cron/process/route.ts +0 -108
  260. package/templates/app/api/v1/devtools/blocks/route.ts +0 -82
  261. package/templates/app/api/v1/devtools/docs/route.ts +0 -150
  262. package/templates/app/api/v1/devtools/docs.md +0 -204
  263. package/templates/app/api/v1/devtools/features/route.ts +0 -61
  264. package/templates/app/api/v1/devtools/flows/route.ts +0 -61
  265. package/templates/app/api/v1/devtools/presets.ts +0 -113
  266. package/templates/app/api/v1/devtools/scheduled-actions/route.ts +0 -120
  267. package/templates/app/api/v1/devtools/testing/route.ts +0 -82
  268. package/templates/app/api/v1/media/docs.md +0 -117
  269. package/templates/app/api/v1/media/presets.ts +0 -24
  270. package/templates/app/api/v1/media/upload/route.ts +0 -150
  271. package/templates/app/api/v1/patterns/[id]/usages/route.ts +0 -116
  272. package/templates/app/api/v1/plugin/[...path]/route.ts +0 -373
  273. package/templates/app/api/v1/plugin/docs.md +0 -79
  274. package/templates/app/api/v1/plugin/presets.ts +0 -21
  275. package/templates/app/api/v1/plugin/route.ts +0 -96
  276. package/templates/app/api/v1/post-categories/[id]/route.ts +0 -255
  277. package/templates/app/api/v1/post-categories/docs.md +0 -134
  278. package/templates/app/api/v1/post-categories/presets.ts +0 -78
  279. package/templates/app/api/v1/post-categories/route.ts +0 -119
  280. package/templates/app/api/v1/team-invitations/[token]/accept/route.ts +0 -179
  281. package/templates/app/api/v1/team-invitations/[token]/decline/route.ts +0 -120
  282. package/templates/app/api/v1/team-invitations/[token]/route.ts +0 -89
  283. package/templates/app/api/v1/team-invitations/docs.md +0 -88
  284. package/templates/app/api/v1/team-invitations/presets.ts +0 -43
  285. package/templates/app/api/v1/team-invitations/route.ts +0 -114
  286. package/templates/app/api/v1/teams/[teamId]/invitations/route.ts +0 -171
  287. package/templates/app/api/v1/teams/[teamId]/invoices/[invoiceNumber]/route.ts +0 -105
  288. package/templates/app/api/v1/teams/[teamId]/invoices/route.ts +0 -125
  289. package/templates/app/api/v1/teams/[teamId]/members/[memberId]/route.ts +0 -263
  290. package/templates/app/api/v1/teams/[teamId]/members/route.ts +0 -358
  291. package/templates/app/api/v1/teams/[teamId]/route.ts +0 -322
  292. package/templates/app/api/v1/teams/[teamId]/subscription/route.ts +0 -50
  293. package/templates/app/api/v1/teams/[teamId]/usage/[limitSlug]/route.ts +0 -91
  294. package/templates/app/api/v1/teams/docs.md +0 -320
  295. package/templates/app/api/v1/teams/presets.ts +0 -178
  296. package/templates/app/api/v1/teams/route.ts +0 -293
  297. package/templates/app/api/v1/teams/switch/route.ts +0 -88
  298. package/templates/app/api/v1/theme/[...path]/route.ts +0 -361
  299. package/templates/app/api/v1/theme/docs.md +0 -74
  300. package/templates/app/api/v1/theme/presets.ts +0 -21
  301. package/templates/app/api/v1/theme/route.ts +0 -96
  302. package/templates/app/api/v1/users/[id]/meta/[key]/route.ts +0 -363
  303. package/templates/app/api/v1/users/[id]/route.ts +0 -302
  304. package/templates/app/api/v1/users/docs.md +0 -93
  305. package/templates/app/api/v1/users/presets.ts +0 -59
  306. package/templates/app/api/v1/users/route.ts +0 -197
  307. package/templates/app/dashboard/(main)/[entity]/[id]/edit/page.tsx +0 -117
  308. package/templates/app/dashboard/(main)/[entity]/[id]/page.tsx +0 -103
  309. package/templates/app/dashboard/(main)/[entity]/create/page.tsx +0 -95
  310. package/templates/app/dashboard/(main)/[entity]/error.tsx +0 -51
  311. package/templates/app/dashboard/(main)/[entity]/layout.tsx +0 -113
  312. package/templates/app/dashboard/(main)/[entity]/loading.tsx +0 -61
  313. package/templates/app/dashboard/(main)/[entity]/page.tsx +0 -90
  314. package/templates/app/dashboard/(main)/layout.tsx +0 -98
  315. package/templates/app/dashboard/(main)/loading.tsx +0 -5
  316. package/templates/app/dashboard/(main)/page.tsx +0 -201
  317. package/templates/app/dashboard/(main)/patterns/[id]/edit/page.tsx +0 -114
  318. package/templates/app/dashboard/(main)/patterns/[id]/page.tsx +0 -20
  319. package/templates/app/dashboard/(main)/patterns/[id]/reports/page.tsx +0 -171
  320. package/templates/app/dashboard/(main)/patterns/create/page.tsx +0 -86
  321. package/templates/app/dashboard/(main)/patterns/page.tsx +0 -444
  322. package/templates/app/dashboard/features/analytics/page.tsx +0 -35
  323. package/templates/app/dashboard/features/automation/page.tsx +0 -35
  324. package/templates/app/dashboard/features/layout.tsx +0 -13
  325. package/templates/app/dashboard/features/loading.tsx +0 -5
  326. package/templates/app/dashboard/features/webhooks/page.tsx +0 -35
  327. package/templates/app/dashboard/layout.tsx +0 -86
  328. package/templates/app/dashboard/permission-denied/page.tsx +0 -29
  329. package/templates/app/dashboard/settings/api-keys/loading.tsx +0 -5
  330. package/templates/app/dashboard/settings/api-keys/page.tsx +0 -513
  331. package/templates/app/dashboard/settings/billing/loading.tsx +0 -5
  332. package/templates/app/dashboard/settings/billing/page.tsx +0 -284
  333. package/templates/app/dashboard/settings/invoices/[invoiceNumber]/page.tsx +0 -222
  334. package/templates/app/dashboard/settings/invoices/loading.tsx +0 -5
  335. package/templates/app/dashboard/settings/invoices/page.tsx +0 -82
  336. package/templates/app/dashboard/settings/layout.tsx +0 -151
  337. package/templates/app/dashboard/settings/loading.tsx +0 -5
  338. package/templates/app/dashboard/settings/notifications/loading.tsx +0 -5
  339. package/templates/app/dashboard/settings/notifications/page.tsx +0 -462
  340. package/templates/app/dashboard/settings/page.tsx +0 -92
  341. package/templates/app/dashboard/settings/password/loading.tsx +0 -5
  342. package/templates/app/dashboard/settings/password/page.tsx +0 -306
  343. package/templates/app/dashboard/settings/plans/loading.tsx +0 -5
  344. package/templates/app/dashboard/settings/plans/page.tsx +0 -40
  345. package/templates/app/dashboard/settings/profile/loading.tsx +0 -5
  346. package/templates/app/dashboard/settings/profile/page.tsx +0 -686
  347. package/templates/app/dashboard/settings/security/loading.tsx +0 -5
  348. package/templates/app/dashboard/settings/security/page.tsx +0 -505
  349. package/templates/app/dashboard/settings/teams/loading.tsx +0 -5
  350. package/templates/app/dashboard/settings/teams/page.tsx +0 -272
  351. package/templates/app/dashboard/settings/teams/permissions/page.tsx +0 -92
  352. package/templates/app/devtools/blocks/[slug]/page.tsx +0 -39
  353. package/templates/app/devtools/blocks/page.tsx +0 -31
  354. package/templates/app/devtools/config/page.tsx +0 -31
  355. package/templates/app/devtools/features/page.tsx +0 -31
  356. package/templates/app/devtools/flows/page.tsx +0 -31
  357. package/templates/app/devtools/layout.tsx +0 -58
  358. package/templates/app/devtools/page.tsx +0 -121
  359. package/templates/app/devtools/scheduled-actions/page.tsx +0 -157
  360. package/templates/app/devtools/style/page.tsx +0 -330
  361. package/templates/app/devtools/tags/page.tsx +0 -31
  362. package/templates/app/devtools/tests/[[...path]]/page.tsx +0 -47
  363. package/templates/app/favicon.ico +0 -0
  364. package/templates/app/globals.css +0 -12
  365. package/templates/app/layout.tsx +0 -96
  366. package/templates/app/public/page.tsx +0 -30
  367. package/templates/app/superadmin/docs/[section]/[page]/page.tsx +0 -92
  368. package/templates/app/superadmin/docs/page.tsx +0 -75
  369. package/templates/app/superadmin/layout.tsx +0 -67
  370. package/templates/app/superadmin/page.tsx +0 -149
  371. package/templates/app/superadmin/subscriptions/page.tsx +0 -655
  372. package/templates/app/superadmin/team-roles/page.tsx +0 -493
  373. package/templates/app/superadmin/teams/[teamId]/page.tsx +0 -687
  374. package/templates/app/superadmin/teams/page.tsx +0 -302
  375. package/templates/app/superadmin/users/[userId]/page.tsx +0 -548
  376. package/templates/app/superadmin/users/page.tsx +0 -528
@@ -1,121 +0,0 @@
1
- import { Code, Palette, FileText, Settings } from "lucide-react";
2
- import Link from "next/link";
3
- import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@nextsparkjs/core/components/ui/card";
4
- import { getTranslations } from "next-intl/server";
5
-
6
- /**
7
- * Developer Area Home Page
8
- *
9
- * Dashboard with quick links to development tools and documentation.
10
- * Shows overview of available sections in the dev area.
11
- */
12
- export default async function DevHomePage() {
13
- const t = await getTranslations('dev');
14
- const tCommon = await getTranslations('common');
15
-
16
- const sections = [
17
- {
18
- title: t('nav.styleGallery'),
19
- description: t('style.description'),
20
- icon: Palette,
21
- href: "/devtools/style",
22
- color: "text-pink-600 dark:text-pink-400",
23
- bgColor: "bg-pink-100 dark:bg-pink-950",
24
- cyId: "devtools-home-style-link"
25
- },
26
- {
27
- title: t('nav.testCases'),
28
- description: t('tests.description'),
29
- icon: FileText,
30
- href: "/devtools/tests",
31
- color: "text-blue-600 dark:text-blue-400",
32
- bgColor: "bg-blue-100 dark:bg-blue-950",
33
- cyId: "devtools-home-tests-link"
34
- },
35
- {
36
- title: t('nav.config'),
37
- description: t('config.description'),
38
- icon: Settings,
39
- href: "/devtools/config",
40
- color: "text-green-600 dark:text-green-400",
41
- bgColor: "bg-green-100 dark:bg-green-950",
42
- cyId: "devtools-home-config-link"
43
- },
44
- ];
45
-
46
- return (
47
- <div className="space-y-6" data-cy="devtools-home-page">
48
- {/* Header */}
49
- <div className="flex items-center gap-3">
50
- <div className="flex items-center justify-center w-12 h-12 bg-violet-100 dark:bg-violet-950 rounded-lg">
51
- <Code className="h-6 w-6 text-violet-600 dark:text-violet-400" />
52
- </div>
53
- <div>
54
- <h1 className="text-3xl font-bold text-violet-600 dark:text-violet-400">{t('title')}</h1>
55
- <p className="text-muted-foreground">{t('subtitle')}</p>
56
- </div>
57
- </div>
58
-
59
- {/* Welcome Card */}
60
- <Card>
61
- <CardHeader>
62
- <CardTitle>{t('home.welcome')}</CardTitle>
63
- <CardDescription>{t('home.welcomeDescription')}</CardDescription>
64
- </CardHeader>
65
- <CardContent>
66
- <p className="text-sm text-muted-foreground">
67
- {t('home.intro')}
68
- </p>
69
- </CardContent>
70
- </Card>
71
-
72
- {/* Quick Links Grid */}
73
- <div className="grid gap-6 md:grid-cols-2 lg:grid-cols-3">
74
- {sections.map((section) => {
75
- const Icon = section.icon;
76
- return (
77
- <Link
78
- key={section.href}
79
- href={section.href}
80
- data-cy={section.cyId}
81
- >
82
- <Card className="h-full hover:border-violet-600 dark:hover:border-violet-400 transition-colors cursor-pointer">
83
- <CardHeader>
84
- <div className="flex items-center gap-3">
85
- <div className={`flex items-center justify-center w-10 h-10 ${section.bgColor} rounded-lg`}>
86
- <Icon className={`h-5 w-5 ${section.color}`} />
87
- </div>
88
- <CardTitle className="text-lg">{section.title}</CardTitle>
89
- </div>
90
- </CardHeader>
91
- <CardContent>
92
- <CardDescription>{section.description}</CardDescription>
93
- </CardContent>
94
- </Card>
95
- </Link>
96
- );
97
- })}
98
- </div>
99
-
100
- {/* System Info Card */}
101
- <Card>
102
- <CardHeader>
103
- <CardTitle>{t('home.systemInfo')}</CardTitle>
104
- <CardDescription>{t('home.systemInfoDescription')}</CardDescription>
105
- </CardHeader>
106
- <CardContent>
107
- <div className="grid gap-4 md:grid-cols-2">
108
- <div>
109
- <p className="text-sm font-medium text-muted-foreground">{t('home.accessLevel')}</p>
110
- <p className="text-lg font-semibold text-violet-600 dark:text-violet-400">{tCommon('userRoles.developer')}</p>
111
- </div>
112
- <div>
113
- <p className="text-sm font-medium text-muted-foreground">{t('home.hierarchy')}</p>
114
- <p className="text-lg font-semibold">100</p>
115
- </div>
116
- </div>
117
- </CardContent>
118
- </Card>
119
- </div>
120
- );
121
- }
@@ -1,157 +0,0 @@
1
- /**
2
- * DevTools Scheduled Actions Page
3
- *
4
- * Displays all scheduled background actions with:
5
- * - Status filtering (pending, running, completed, failed)
6
- * - Action type filtering
7
- * - Action details (type, status, scheduled time, team, payload)
8
- * - Error messages for failed actions
9
- * - Pagination
10
- *
11
- * Session: 2025-12-30-scheduled-actions-v1
12
- * Phase: Frontend (Phase 11)
13
- */
14
-
15
- 'use client'
16
-
17
- import { useState } from 'react'
18
- import { useTranslations } from 'next-intl'
19
- import { useQuery } from '@tanstack/react-query'
20
- import { Button } from '@nextsparkjs/core/components/ui/button'
21
- import { ChevronLeftIcon, ChevronRightIcon } from 'lucide-react'
22
- import { sel } from '@nextsparkjs/core/selectors'
23
- import { Filters } from '@nextsparkjs/core/components/devtools/scheduled-actions/filters'
24
- import { ActionsTable } from '@nextsparkjs/core/components/devtools/scheduled-actions/actions-table'
25
- import type { ScheduledActionsFilters, ScheduledActionsResponse } from '@nextsparkjs/core/components/devtools/scheduled-actions/types'
26
-
27
- async function fetchScheduledActions(
28
- filters: ScheduledActionsFilters,
29
- page: number,
30
- limit: number
31
- ): Promise<ScheduledActionsResponse> {
32
- const params = new URLSearchParams()
33
-
34
- if (filters.status) {
35
- params.append('status', filters.status)
36
- }
37
-
38
- if (filters.actionType) {
39
- params.append('action_type', filters.actionType)
40
- }
41
-
42
- params.append('page', page.toString())
43
- params.append('limit', limit.toString())
44
-
45
- const response = await fetch(`/api/v1/devtools/scheduled-actions?${params.toString()}`)
46
-
47
- if (!response.ok) {
48
- throw new Error('Failed to fetch scheduled actions')
49
- }
50
-
51
- return response.json()
52
- }
53
-
54
- export default function ScheduledActionsPage() {
55
- const t = useTranslations('dev.scheduledActions')
56
- const [filters, setFilters] = useState<ScheduledActionsFilters>({})
57
- const [page, setPage] = useState(1)
58
- const limit = 20
59
-
60
- const { data, isLoading, error } = useQuery({
61
- queryKey: ['scheduled-actions', filters, page, limit],
62
- queryFn: () => fetchScheduledActions(filters, page, limit),
63
- })
64
-
65
- const handleFiltersChange = (newFilters: ScheduledActionsFilters) => {
66
- setFilters(newFilters)
67
- setPage(1) // Reset to first page when filters change
68
- }
69
-
70
- const handlePreviousPage = () => {
71
- setPage((prev) => Math.max(1, prev - 1))
72
- }
73
-
74
- const handleNextPage = () => {
75
- if (data?.data.pagination.totalPages) {
76
- setPage((prev) => Math.min(data.data.pagination.totalPages, prev + 1))
77
- }
78
- }
79
-
80
- return (
81
- <div
82
- className="container mx-auto p-6 max-w-7xl"
83
- data-cy={sel('devtools.scheduledActions.page')}
84
- >
85
- {/* Header */}
86
- <div className="mb-8">
87
- <h1 className="text-3xl font-bold tracking-tight">{t('title')}</h1>
88
- <p className="text-muted-foreground mt-2">{t('description')}</p>
89
- </div>
90
-
91
- {/* Filters */}
92
- <Filters
93
- filters={filters}
94
- onFiltersChange={handleFiltersChange}
95
- registeredActionTypes={data?.data.meta.registeredActionTypes || []}
96
- />
97
-
98
- {/* Loading State */}
99
- {isLoading && (
100
- <div className="text-center py-12 text-muted-foreground">
101
- <p>{t('loading')}</p>
102
- </div>
103
- )}
104
-
105
- {/* Error State */}
106
- {error && (
107
- <div className="text-center py-12 text-destructive">
108
- <p>Error: {error.message}</p>
109
- </div>
110
- )}
111
-
112
- {/* Actions Table */}
113
- {data && !isLoading && (
114
- <>
115
- <ActionsTable actions={data.data.actions} />
116
-
117
- {/* Pagination */}
118
- {data.data.pagination.totalPages > 1 && (
119
- <div
120
- className="flex items-center justify-between mt-6"
121
- data-cy={sel('devtools.scheduledActions.pagination')}
122
- >
123
- <p className="text-sm text-muted-foreground">
124
- {t('pagination.page', {
125
- page: data.data.pagination.page,
126
- total: data.data.pagination.totalPages,
127
- })}
128
- </p>
129
- <div className="flex gap-2">
130
- <Button
131
- variant="outline"
132
- size="sm"
133
- onClick={handlePreviousPage}
134
- disabled={page === 1}
135
- data-cy={sel('devtools.scheduledActions.paginationPrev')}
136
- >
137
- <ChevronLeftIcon className="h-4 w-4 mr-1" />
138
- {t('pagination.previous')}
139
- </Button>
140
- <Button
141
- variant="outline"
142
- size="sm"
143
- onClick={handleNextPage}
144
- disabled={page === data.data.pagination.totalPages}
145
- data-cy={sel('devtools.scheduledActions.paginationNext')}
146
- >
147
- {t('pagination.next')}
148
- <ChevronRightIcon className="h-4 w-4 ml-1" />
149
- </Button>
150
- </div>
151
- </div>
152
- )}
153
- </>
154
- )}
155
- </div>
156
- )
157
- }
@@ -1,330 +0,0 @@
1
- "use client";
2
-
3
- import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@nextsparkjs/core/components/ui/card";
4
- import { Button } from "@nextsparkjs/core/components/ui/button";
5
- import { Tabs, TabsContent, TabsList, TabsTrigger } from "@nextsparkjs/core/components/ui/tabs";
6
- import { Badge } from "@nextsparkjs/core/components/ui/badge";
7
- import { ArrowLeft, Palette, Package, Layers, BookOpen, Download, FormInput } from "lucide-react";
8
- import Link from "next/link";
9
- import { ComponentGallery } from "@nextsparkjs/core/components/superadmin/misc/ComponentGallery";
10
- import { ThemePreview } from "@nextsparkjs/core/components/superadmin/misc/ThemePreview";
11
- import { FieldTypesGallery } from "@nextsparkjs/core/components/superadmin/misc/FieldTypesGallery";
12
- import { useState } from "react";
13
-
14
- /**
15
- * Style Gallery Page - Developer Area
16
- *
17
- * Comprehensive design system showcase for developers.
18
- * Displays components, themes, and design tokens for reference and testing.
19
- */
20
- export default function DevStylePage() {
21
- const [activeTab, setActiveTab] = useState("components");
22
-
23
- return (
24
- <div className="space-y-6" data-cy="devtools-style-page">
25
- {/* Header */}
26
- <div className="flex items-center gap-4">
27
- <Button variant="outline" size="sm" asChild>
28
- <Link href="/dev" className="flex items-center gap-2">
29
- <ArrowLeft className="h-4 w-4" />
30
- Back to Dev Area
31
- </Link>
32
- </Button>
33
- <div className="flex-1">
34
- <h1 className="text-3xl font-bold tracking-tight">Style Gallery</h1>
35
- <p className="text-muted-foreground">
36
- Design system showcase and component library
37
- </p>
38
- </div>
39
- <Button variant="outline" size="sm" className="flex items-center gap-2">
40
- <Download className="h-4 w-4" />
41
- Export Tokens
42
- </Button>
43
- </div>
44
-
45
- {/* Quick Stats */}
46
- <div className="grid grid-cols-1 md:grid-cols-4 gap-4">
47
- <Card>
48
- <CardHeader className="flex flex-row items-center justify-between space-y-0 pb-2">
49
- <CardTitle className="text-sm font-medium">Components</CardTitle>
50
- <Package className="h-4 w-4 text-muted-foreground" />
51
- </CardHeader>
52
- <CardContent>
53
- <div className="text-2xl font-bold">30+</div>
54
- <p className="text-xs text-muted-foreground">
55
- Available UI components
56
- </p>
57
- </CardContent>
58
- </Card>
59
-
60
- <Card>
61
- <CardHeader className="flex flex-row items-center justify-between space-y-0 pb-2">
62
- <CardTitle className="text-sm font-medium">Color Tokens</CardTitle>
63
- <Palette className="h-4 w-4 text-muted-foreground" />
64
- </CardHeader>
65
- <CardContent>
66
- <div className="text-2xl font-bold">16</div>
67
- <p className="text-xs text-muted-foreground">
68
- Theme color variables
69
- </p>
70
- </CardContent>
71
- </Card>
72
-
73
- <Card>
74
- <CardHeader className="flex flex-row items-center justify-between space-y-0 pb-2">
75
- <CardTitle className="text-sm font-medium">Themes</CardTitle>
76
- <Layers className="h-4 w-4 text-muted-foreground" />
77
- </CardHeader>
78
- <CardContent>
79
- <div className="text-2xl font-bold">2</div>
80
- <p className="text-xs text-muted-foreground">
81
- Light & dark modes
82
- </p>
83
- </CardContent>
84
- </Card>
85
-
86
- <Card>
87
- <CardHeader className="flex flex-row items-center justify-between space-y-0 pb-2">
88
- <CardTitle className="text-sm font-medium">Documentation</CardTitle>
89
- <BookOpen className="h-4 w-4 text-muted-foreground" />
90
- </CardHeader>
91
- <CardContent>
92
- <div className="text-2xl font-bold">100%</div>
93
- <p className="text-xs text-muted-foreground">
94
- Component coverage
95
- </p>
96
- </CardContent>
97
- </Card>
98
- </div>
99
-
100
- {/* Main Content Tabs */}
101
- <Tabs value={activeTab} onValueChange={setActiveTab} className="space-y-4">
102
- <TabsList className="grid w-full grid-cols-4">
103
- <TabsTrigger value="components" className="flex items-center gap-2" data-cy="devtools-style-tab-components">
104
- <Package className="h-4 w-4" />
105
- Components
106
- </TabsTrigger>
107
- <TabsTrigger value="field-types" className="flex items-center gap-2" data-cy="devtools-style-tab-field-types">
108
- <FormInput className="h-4 w-4" />
109
- Field Types
110
- </TabsTrigger>
111
- <TabsTrigger value="theme" className="flex items-center gap-2" data-cy="devtools-style-tab-theme">
112
- <Palette className="h-4 w-4" />
113
- Theme & Colors
114
- </TabsTrigger>
115
- <TabsTrigger value="guidelines" className="flex items-center gap-2" data-cy="devtools-style-tab-guidelines">
116
- <BookOpen className="h-4 w-4" />
117
- Guidelines
118
- </TabsTrigger>
119
- </TabsList>
120
-
121
- {/* Components Tab */}
122
- <TabsContent value="components" className="space-y-4" data-cy="devtools-style-component-gallery">
123
- <Card>
124
- <CardHeader>
125
- <CardTitle className="flex items-center gap-2">
126
- <Package className="h-5 w-5" />
127
- Component Library
128
- </CardTitle>
129
- <CardDescription>
130
- Complete showcase of all available UI components with different states and variations
131
- </CardDescription>
132
- </CardHeader>
133
- <CardContent>
134
- <ComponentGallery />
135
- </CardContent>
136
- </Card>
137
- </TabsContent>
138
-
139
- {/* Field Types Tab */}
140
- <TabsContent value="field-types" className="space-y-4" data-cy="devtools-style-field-types">
141
- <Card>
142
- <CardHeader>
143
- <CardTitle className="flex items-center gap-2">
144
- <FormInput className="h-5 w-5" />
145
- Entity Field Types
146
- </CardTitle>
147
- <CardDescription>
148
- Complete showcase of all entity field types with examples and variants for form development
149
- </CardDescription>
150
- </CardHeader>
151
- <CardContent>
152
- <FieldTypesGallery />
153
- </CardContent>
154
- </Card>
155
- </TabsContent>
156
-
157
- {/* Theme Tab */}
158
- <TabsContent value="theme" className="space-y-4" data-cy="devtools-style-theme-preview">
159
- <Card>
160
- <CardHeader>
161
- <CardTitle className="flex items-center gap-2">
162
- <Palette className="h-5 w-5" />
163
- Theme System
164
- </CardTitle>
165
- <CardDescription>
166
- Color tokens, typography, and design system variables for both light and dark themes
167
- </CardDescription>
168
- </CardHeader>
169
- <CardContent>
170
- <ThemePreview />
171
- </CardContent>
172
- </Card>
173
- </TabsContent>
174
-
175
- {/* Guidelines Tab */}
176
- <TabsContent value="guidelines" className="space-y-4">
177
- <div className="grid grid-cols-1 md:grid-cols-2 gap-6">
178
- {/* Design Principles */}
179
- <Card>
180
- <CardHeader>
181
- <CardTitle>Design Principles</CardTitle>
182
- <CardDescription>Core principles guiding our design system</CardDescription>
183
- </CardHeader>
184
- <CardContent className="space-y-4">
185
- <div>
186
- <h4 className="font-medium flex items-center gap-2">
187
- <Badge variant="outline">1</Badge>
188
- Consistency
189
- </h4>
190
- <p className="text-sm text-muted-foreground mt-1">
191
- Maintain visual and functional consistency across all components
192
- </p>
193
- </div>
194
- <div>
195
- <h4 className="font-medium flex items-center gap-2">
196
- <Badge variant="outline">2</Badge>
197
- Accessibility
198
- </h4>
199
- <p className="text-sm text-muted-foreground mt-1">
200
- Ensure all components meet WCAG 2.1 AA standards
201
- </p>
202
- </div>
203
- <div>
204
- <h4 className="font-medium flex items-center gap-2">
205
- <Badge variant="outline">3</Badge>
206
- Scalability
207
- </h4>
208
- <p className="text-sm text-muted-foreground mt-1">
209
- Design components that work at different scales and contexts
210
- </p>
211
- </div>
212
- <div>
213
- <h4 className="font-medium flex items-center gap-2">
214
- <Badge variant="outline">4</Badge>
215
- Performance
216
- </h4>
217
- <p className="text-sm text-muted-foreground mt-1">
218
- Optimize for fast loading and smooth interactions
219
- </p>
220
- </div>
221
- </CardContent>
222
- </Card>
223
-
224
- {/* Usage Guidelines */}
225
- <Card>
226
- <CardHeader>
227
- <CardTitle>Usage Guidelines</CardTitle>
228
- <CardDescription>How to effectively use this design system</CardDescription>
229
- </CardHeader>
230
- <CardContent className="space-y-4">
231
- <div>
232
- <h4 className="font-medium">Color Usage</h4>
233
- <p className="text-sm text-muted-foreground">
234
- Use semantic color names (primary, secondary, destructive) rather than specific colors
235
- </p>
236
- </div>
237
- <div>
238
- <h4 className="font-medium">Typography Scale</h4>
239
- <p className="text-sm text-muted-foreground">
240
- Follow the established type scale for consistent hierarchy
241
- </p>
242
- </div>
243
- <div>
244
- <h4 className="font-medium">Spacing System</h4>
245
- <p className="text-sm text-muted-foreground">
246
- Use the 8px grid system for consistent spacing and alignment
247
- </p>
248
- </div>
249
- <div>
250
- <h4 className="font-medium">Component Composition</h4>
251
- <p className="text-sm text-muted-foreground">
252
- Combine base components to create complex interfaces
253
- </p>
254
- </div>
255
- </CardContent>
256
- </Card>
257
-
258
- {/* Technical Specs */}
259
- <Card>
260
- <CardHeader>
261
- <CardTitle>Technical Specifications</CardTitle>
262
- <CardDescription>Implementation details and requirements</CardDescription>
263
- </CardHeader>
264
- <CardContent className="space-y-3">
265
- <div className="flex justify-between items-center py-2 border-b">
266
- <span className="text-sm font-medium">Framework</span>
267
- <Badge variant="secondary">Next.js 14</Badge>
268
- </div>
269
- <div className="flex justify-between items-center py-2 border-b">
270
- <span className="text-sm font-medium">Styling</span>
271
- <Badge variant="secondary">Tailwind CSS</Badge>
272
- </div>
273
- <div className="flex justify-between items-center py-2 border-b">
274
- <span className="text-sm font-medium">Components</span>
275
- <Badge variant="secondary">Radix UI</Badge>
276
- </div>
277
- <div className="flex justify-between items-center py-2 border-b">
278
- <span className="text-sm font-medium">Icons</span>
279
- <Badge variant="secondary">Lucide React</Badge>
280
- </div>
281
- <div className="flex justify-between items-center py-2 border-b">
282
- <span className="text-sm font-medium">Theme System</span>
283
- <Badge variant="secondary">CSS Variables</Badge>
284
- </div>
285
- <div className="flex justify-between items-center py-2">
286
- <span className="text-sm font-medium">Build Tool</span>
287
- <Badge variant="secondary">Turbo</Badge>
288
- </div>
289
- </CardContent>
290
- </Card>
291
-
292
- {/* Resources */}
293
- <Card>
294
- <CardHeader>
295
- <CardTitle>Resources & Links</CardTitle>
296
- <CardDescription>Additional resources and documentation</CardDescription>
297
- </CardHeader>
298
- <CardContent className="space-y-3">
299
- <Button variant="outline" className="w-full justify-start" asChild>
300
- <Link href="https://ui.shadcn.com" target="_blank">
301
- <BookOpen className="mr-2 h-4 w-4" />
302
- Shadcn/ui Documentation
303
- </Link>
304
- </Button>
305
- <Button variant="outline" className="w-full justify-start" asChild>
306
- <Link href="https://tailwindcss.com" target="_blank">
307
- <Layers className="mr-2 h-4 w-4" />
308
- Tailwind CSS Docs
309
- </Link>
310
- </Button>
311
- <Button variant="outline" className="w-full justify-start" asChild>
312
- <Link href="https://www.radix-ui.com" target="_blank">
313
- <Package className="mr-2 h-4 w-4" />
314
- Radix UI Components
315
- </Link>
316
- </Button>
317
- <Button variant="outline" className="w-full justify-start" asChild>
318
- <Link href="https://lucide.dev" target="_blank">
319
- <Palette className="mr-2 h-4 w-4" />
320
- Lucide Icons
321
- </Link>
322
- </Button>
323
- </CardContent>
324
- </Card>
325
- </div>
326
- </TabsContent>
327
- </Tabs>
328
- </div>
329
- );
330
- }
@@ -1,31 +0,0 @@
1
- import { TagsOverview } from "@nextsparkjs/core/components/devtools/TagsOverview";
2
- import { Tag } from "lucide-react";
3
- import { getTranslations } from "next-intl/server";
4
-
5
- /**
6
- * Tags Overview Page
7
- *
8
- * Displays all test tags organized by category.
9
- * Provides search and copy-to-clipboard functionality.
10
- */
11
- export default async function DevTagsPage() {
12
- const t = await getTranslations("devtools.tags");
13
-
14
- return (
15
- <div className="space-y-6" data-cy="devtools-tags-page">
16
- {/* Header */}
17
- <div className="flex items-center gap-3">
18
- <div className="flex items-center justify-center w-12 h-12 bg-violet-100 dark:bg-violet-950 rounded-lg">
19
- <Tag className="h-6 w-6 text-violet-600 dark:text-violet-400" />
20
- </div>
21
- <div>
22
- <h1 className="text-3xl font-bold">{t("title")}</h1>
23
- <p className="text-muted-foreground">{t("description")}</p>
24
- </div>
25
- </div>
26
-
27
- {/* Tags Overview */}
28
- <TagsOverview />
29
- </div>
30
- );
31
- }