@nextsparkjs/core 0.1.0-beta.82 → 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 (374) 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/types/theme.d.ts +2 -0
  10. package/dist/types/theme.d.ts.map +1 -1
  11. package/package.json +16 -16
  12. package/scripts/build/docs-registry.mjs +0 -0
  13. package/scripts/create-theme.mjs +0 -0
  14. package/scripts/deploy/release-version.mjs +0 -0
  15. package/scripts/deploy/vercel-deploy.mjs +0 -0
  16. package/scripts/dev/watch-plugins.mjs +0 -0
  17. package/scripts/maintenance/update-core.mjs +0 -0
  18. package/scripts/setup/npm-postinstall.mjs +0 -0
  19. package/scripts/setup/setup-claude.mjs +0 -0
  20. package/scripts/validation/check-imports.sh +0 -0
  21. package/dist/templates/app/(auth)/forgot-password/page.tsx +0 -216
  22. package/dist/templates/app/(auth)/layout.tsx +0 -51
  23. package/dist/templates/app/(auth)/login/page.tsx +0 -21
  24. package/dist/templates/app/(auth)/reset-password/page.tsx +0 -212
  25. package/dist/templates/app/(auth)/signup/page.tsx +0 -21
  26. package/dist/templates/app/(auth)/verify-email/page.tsx +0 -190
  27. package/dist/templates/app/(public)/[...slug]/page.tsx +0 -378
  28. package/dist/templates/app/(public)/docs/[section]/[page]/page.tsx +0 -90
  29. package/dist/templates/app/(public)/docs/layout.tsx +0 -25
  30. package/dist/templates/app/(public)/docs/page.tsx +0 -81
  31. package/dist/templates/app/(public)/layout.tsx +0 -41
  32. package/dist/templates/app/(public)/page.tsx +0 -19
  33. package/dist/templates/app/403/page.tsx +0 -89
  34. package/dist/templates/app/api/auth/[...all]/route.ts +0 -78
  35. package/dist/templates/app/api/cron/billing/lifecycle/route.ts +0 -98
  36. package/dist/templates/app/api/csp-report/route.ts +0 -175
  37. package/dist/templates/app/api/devtools/config/entities/route.ts +0 -108
  38. package/dist/templates/app/api/devtools/config/theme/route.ts +0 -66
  39. package/dist/templates/app/api/devtools/tests/[...path]/route.ts +0 -130
  40. package/dist/templates/app/api/devtools/tests/route.ts +0 -134
  41. package/dist/templates/app/api/health/route.ts +0 -29
  42. package/dist/templates/app/api/internal/user-metadata/route.ts +0 -36
  43. package/dist/templates/app/api/superadmin/subscriptions/route.ts +0 -310
  44. package/dist/templates/app/api/superadmin/teams/[teamId]/route.ts +0 -286
  45. package/dist/templates/app/api/superadmin/teams/route.ts +0 -188
  46. package/dist/templates/app/api/superadmin/users/[userId]/route.ts +0 -540
  47. package/dist/templates/app/api/superadmin/users/route.ts +0 -323
  48. package/dist/templates/app/api/user/delete-account/route.ts +0 -55
  49. package/dist/templates/app/api/user/plan-flags/route.ts +0 -283
  50. package/dist/templates/app/api/user/profile/route.ts +0 -133
  51. package/dist/templates/app/api/v1/[entity]/[id]/child/[childType]/[childId]/route.ts +0 -210
  52. package/dist/templates/app/api/v1/[entity]/[id]/child/[childType]/route.ts +0 -331
  53. package/dist/templates/app/api/v1/[entity]/[id]/route.ts +0 -35
  54. package/dist/templates/app/api/v1/[entity]/docs.md +0 -369
  55. package/dist/templates/app/api/v1/[entity]/presets.ts +0 -194
  56. package/dist/templates/app/api/v1/[entity]/route.ts +0 -31
  57. package/dist/templates/app/api/v1/api-keys/[id]/route.ts +0 -303
  58. package/dist/templates/app/api/v1/api-keys/docs.md +0 -101
  59. package/dist/templates/app/api/v1/api-keys/presets.ts +0 -31
  60. package/dist/templates/app/api/v1/api-keys/route.ts +0 -250
  61. package/dist/templates/app/api/v1/auth/docs.md +0 -184
  62. package/dist/templates/app/api/v1/auth/presets.ts +0 -44
  63. package/dist/templates/app/api/v1/auth/signup-with-invite/route.ts +0 -227
  64. package/dist/templates/app/api/v1/billing/cancel/route.ts +0 -206
  65. package/dist/templates/app/api/v1/billing/change-plan/route.ts +0 -97
  66. package/dist/templates/app/api/v1/billing/check-action/route.ts +0 -81
  67. package/dist/templates/app/api/v1/billing/checkout/route.ts +0 -124
  68. package/dist/templates/app/api/v1/billing/docs.md +0 -209
  69. package/dist/templates/app/api/v1/billing/plans/route.ts +0 -85
  70. package/dist/templates/app/api/v1/billing/portal/route.ts +0 -90
  71. package/dist/templates/app/api/v1/billing/presets.ts +0 -121
  72. package/dist/templates/app/api/v1/billing/webhooks/stripe/route.ts +0 -428
  73. package/dist/templates/app/api/v1/blocks/[slug]/route.ts +0 -29
  74. package/dist/templates/app/api/v1/blocks/docs.md +0 -173
  75. package/dist/templates/app/api/v1/blocks/presets.ts +0 -121
  76. package/dist/templates/app/api/v1/blocks/route.ts +0 -45
  77. package/dist/templates/app/api/v1/blocks/validate/route.ts +0 -45
  78. package/dist/templates/app/api/v1/cron/docs.md +0 -116
  79. package/dist/templates/app/api/v1/cron/presets.ts +0 -26
  80. package/dist/templates/app/api/v1/cron/process/route.ts +0 -108
  81. package/dist/templates/app/api/v1/devtools/blocks/route.ts +0 -82
  82. package/dist/templates/app/api/v1/devtools/docs/route.ts +0 -150
  83. package/dist/templates/app/api/v1/devtools/docs.md +0 -204
  84. package/dist/templates/app/api/v1/devtools/features/route.ts +0 -61
  85. package/dist/templates/app/api/v1/devtools/flows/route.ts +0 -61
  86. package/dist/templates/app/api/v1/devtools/presets.ts +0 -113
  87. package/dist/templates/app/api/v1/devtools/scheduled-actions/route.ts +0 -120
  88. package/dist/templates/app/api/v1/devtools/testing/route.ts +0 -82
  89. package/dist/templates/app/api/v1/media/docs.md +0 -117
  90. package/dist/templates/app/api/v1/media/presets.ts +0 -24
  91. package/dist/templates/app/api/v1/media/upload/route.ts +0 -150
  92. package/dist/templates/app/api/v1/patterns/[id]/usages/route.ts +0 -116
  93. package/dist/templates/app/api/v1/plugin/[...path]/route.ts +0 -373
  94. package/dist/templates/app/api/v1/plugin/docs.md +0 -79
  95. package/dist/templates/app/api/v1/plugin/presets.ts +0 -21
  96. package/dist/templates/app/api/v1/plugin/route.ts +0 -96
  97. package/dist/templates/app/api/v1/post-categories/[id]/route.ts +0 -255
  98. package/dist/templates/app/api/v1/post-categories/docs.md +0 -134
  99. package/dist/templates/app/api/v1/post-categories/presets.ts +0 -78
  100. package/dist/templates/app/api/v1/post-categories/route.ts +0 -119
  101. package/dist/templates/app/api/v1/team-invitations/[token]/accept/route.ts +0 -179
  102. package/dist/templates/app/api/v1/team-invitations/[token]/decline/route.ts +0 -120
  103. package/dist/templates/app/api/v1/team-invitations/[token]/route.ts +0 -89
  104. package/dist/templates/app/api/v1/team-invitations/docs.md +0 -88
  105. package/dist/templates/app/api/v1/team-invitations/presets.ts +0 -43
  106. package/dist/templates/app/api/v1/team-invitations/route.ts +0 -114
  107. package/dist/templates/app/api/v1/teams/[teamId]/invitations/route.ts +0 -171
  108. package/dist/templates/app/api/v1/teams/[teamId]/invoices/[invoiceNumber]/route.ts +0 -105
  109. package/dist/templates/app/api/v1/teams/[teamId]/invoices/route.ts +0 -125
  110. package/dist/templates/app/api/v1/teams/[teamId]/members/[memberId]/route.ts +0 -263
  111. package/dist/templates/app/api/v1/teams/[teamId]/members/route.ts +0 -358
  112. package/dist/templates/app/api/v1/teams/[teamId]/route.ts +0 -322
  113. package/dist/templates/app/api/v1/teams/[teamId]/subscription/route.ts +0 -50
  114. package/dist/templates/app/api/v1/teams/[teamId]/usage/[limitSlug]/route.ts +0 -91
  115. package/dist/templates/app/api/v1/teams/docs.md +0 -320
  116. package/dist/templates/app/api/v1/teams/presets.ts +0 -178
  117. package/dist/templates/app/api/v1/teams/route.ts +0 -293
  118. package/dist/templates/app/api/v1/teams/switch/route.ts +0 -88
  119. package/dist/templates/app/api/v1/theme/[...path]/route.ts +0 -361
  120. package/dist/templates/app/api/v1/theme/docs.md +0 -74
  121. package/dist/templates/app/api/v1/theme/presets.ts +0 -21
  122. package/dist/templates/app/api/v1/theme/route.ts +0 -96
  123. package/dist/templates/app/api/v1/users/[id]/meta/[key]/route.ts +0 -363
  124. package/dist/templates/app/api/v1/users/[id]/route.ts +0 -302
  125. package/dist/templates/app/api/v1/users/docs.md +0 -93
  126. package/dist/templates/app/api/v1/users/presets.ts +0 -59
  127. package/dist/templates/app/api/v1/users/route.ts +0 -197
  128. package/dist/templates/app/dashboard/(main)/[entity]/[id]/edit/page.tsx +0 -117
  129. package/dist/templates/app/dashboard/(main)/[entity]/[id]/page.tsx +0 -103
  130. package/dist/templates/app/dashboard/(main)/[entity]/create/page.tsx +0 -95
  131. package/dist/templates/app/dashboard/(main)/[entity]/error.tsx +0 -51
  132. package/dist/templates/app/dashboard/(main)/[entity]/layout.tsx +0 -113
  133. package/dist/templates/app/dashboard/(main)/[entity]/loading.tsx +0 -61
  134. package/dist/templates/app/dashboard/(main)/[entity]/page.tsx +0 -90
  135. package/dist/templates/app/dashboard/(main)/layout.tsx +0 -98
  136. package/dist/templates/app/dashboard/(main)/loading.tsx +0 -5
  137. package/dist/templates/app/dashboard/(main)/page.tsx +0 -201
  138. package/dist/templates/app/dashboard/(main)/patterns/[id]/edit/page.tsx +0 -114
  139. package/dist/templates/app/dashboard/(main)/patterns/[id]/page.tsx +0 -20
  140. package/dist/templates/app/dashboard/(main)/patterns/[id]/reports/page.tsx +0 -171
  141. package/dist/templates/app/dashboard/(main)/patterns/create/page.tsx +0 -86
  142. package/dist/templates/app/dashboard/(main)/patterns/page.tsx +0 -444
  143. package/dist/templates/app/dashboard/features/analytics/page.tsx +0 -35
  144. package/dist/templates/app/dashboard/features/automation/page.tsx +0 -35
  145. package/dist/templates/app/dashboard/features/layout.tsx +0 -13
  146. package/dist/templates/app/dashboard/features/loading.tsx +0 -5
  147. package/dist/templates/app/dashboard/features/webhooks/page.tsx +0 -35
  148. package/dist/templates/app/dashboard/layout.tsx +0 -86
  149. package/dist/templates/app/dashboard/permission-denied/page.tsx +0 -29
  150. package/dist/templates/app/dashboard/settings/api-keys/loading.tsx +0 -5
  151. package/dist/templates/app/dashboard/settings/api-keys/page.tsx +0 -513
  152. package/dist/templates/app/dashboard/settings/billing/loading.tsx +0 -5
  153. package/dist/templates/app/dashboard/settings/billing/page.tsx +0 -284
  154. package/dist/templates/app/dashboard/settings/invoices/[invoiceNumber]/page.tsx +0 -222
  155. package/dist/templates/app/dashboard/settings/invoices/loading.tsx +0 -5
  156. package/dist/templates/app/dashboard/settings/invoices/page.tsx +0 -82
  157. package/dist/templates/app/dashboard/settings/layout.tsx +0 -151
  158. package/dist/templates/app/dashboard/settings/loading.tsx +0 -5
  159. package/dist/templates/app/dashboard/settings/notifications/loading.tsx +0 -5
  160. package/dist/templates/app/dashboard/settings/notifications/page.tsx +0 -462
  161. package/dist/templates/app/dashboard/settings/page.tsx +0 -92
  162. package/dist/templates/app/dashboard/settings/password/loading.tsx +0 -5
  163. package/dist/templates/app/dashboard/settings/password/page.tsx +0 -306
  164. package/dist/templates/app/dashboard/settings/plans/loading.tsx +0 -5
  165. package/dist/templates/app/dashboard/settings/plans/page.tsx +0 -40
  166. package/dist/templates/app/dashboard/settings/profile/loading.tsx +0 -5
  167. package/dist/templates/app/dashboard/settings/profile/page.tsx +0 -686
  168. package/dist/templates/app/dashboard/settings/security/loading.tsx +0 -5
  169. package/dist/templates/app/dashboard/settings/security/page.tsx +0 -505
  170. package/dist/templates/app/dashboard/settings/teams/loading.tsx +0 -5
  171. package/dist/templates/app/dashboard/settings/teams/page.tsx +0 -272
  172. package/dist/templates/app/dashboard/settings/teams/permissions/page.tsx +0 -92
  173. package/dist/templates/app/devtools/blocks/[slug]/page.tsx +0 -39
  174. package/dist/templates/app/devtools/blocks/page.tsx +0 -31
  175. package/dist/templates/app/devtools/config/page.tsx +0 -31
  176. package/dist/templates/app/devtools/features/page.tsx +0 -31
  177. package/dist/templates/app/devtools/flows/page.tsx +0 -31
  178. package/dist/templates/app/devtools/layout.tsx +0 -58
  179. package/dist/templates/app/devtools/page.tsx +0 -121
  180. package/dist/templates/app/devtools/scheduled-actions/page.tsx +0 -157
  181. package/dist/templates/app/devtools/style/page.tsx +0 -330
  182. package/dist/templates/app/devtools/tags/page.tsx +0 -31
  183. package/dist/templates/app/devtools/tests/[[...path]]/page.tsx +0 -47
  184. package/dist/templates/app/favicon.ico +0 -0
  185. package/dist/templates/app/globals.css +0 -12
  186. package/dist/templates/app/layout.tsx +0 -96
  187. package/dist/templates/app/public/page.tsx +0 -30
  188. package/dist/templates/app/superadmin/docs/[section]/[page]/page.tsx +0 -92
  189. package/dist/templates/app/superadmin/docs/page.tsx +0 -75
  190. package/dist/templates/app/superadmin/layout.tsx +0 -67
  191. package/dist/templates/app/superadmin/page.tsx +0 -149
  192. package/dist/templates/app/superadmin/subscriptions/page.tsx +0 -655
  193. package/dist/templates/app/superadmin/team-roles/page.tsx +0 -493
  194. package/dist/templates/app/superadmin/teams/[teamId]/page.tsx +0 -687
  195. package/dist/templates/app/superadmin/teams/page.tsx +0 -302
  196. package/dist/templates/app/superadmin/users/[userId]/page.tsx +0 -548
  197. package/dist/templates/app/superadmin/users/page.tsx +0 -528
  198. package/templates/app/(auth)/forgot-password/page.tsx +0 -216
  199. package/templates/app/(auth)/layout.tsx +0 -51
  200. package/templates/app/(auth)/login/page.tsx +0 -21
  201. package/templates/app/(auth)/reset-password/page.tsx +0 -212
  202. package/templates/app/(auth)/signup/page.tsx +0 -21
  203. package/templates/app/(auth)/verify-email/page.tsx +0 -190
  204. package/templates/app/(public)/[...slug]/page.tsx +0 -378
  205. package/templates/app/(public)/docs/[section]/[page]/page.tsx +0 -90
  206. package/templates/app/(public)/docs/layout.tsx +0 -25
  207. package/templates/app/(public)/docs/page.tsx +0 -81
  208. package/templates/app/(public)/layout.tsx +0 -41
  209. package/templates/app/(public)/page.tsx +0 -19
  210. package/templates/app/403/page.tsx +0 -89
  211. package/templates/app/api/auth/[...all]/route.ts +0 -78
  212. package/templates/app/api/cron/billing/lifecycle/route.ts +0 -98
  213. package/templates/app/api/csp-report/route.ts +0 -175
  214. package/templates/app/api/devtools/config/entities/route.ts +0 -108
  215. package/templates/app/api/devtools/config/theme/route.ts +0 -66
  216. package/templates/app/api/devtools/tests/[...path]/route.ts +0 -130
  217. package/templates/app/api/devtools/tests/route.ts +0 -134
  218. package/templates/app/api/health/route.ts +0 -29
  219. package/templates/app/api/internal/user-metadata/route.ts +0 -36
  220. package/templates/app/api/superadmin/subscriptions/route.ts +0 -310
  221. package/templates/app/api/superadmin/teams/[teamId]/route.ts +0 -286
  222. package/templates/app/api/superadmin/teams/route.ts +0 -188
  223. package/templates/app/api/superadmin/users/[userId]/route.ts +0 -540
  224. package/templates/app/api/superadmin/users/route.ts +0 -323
  225. package/templates/app/api/user/delete-account/route.ts +0 -55
  226. package/templates/app/api/user/plan-flags/route.ts +0 -283
  227. package/templates/app/api/user/profile/route.ts +0 -133
  228. package/templates/app/api/v1/[entity]/[id]/child/[childType]/[childId]/route.ts +0 -210
  229. package/templates/app/api/v1/[entity]/[id]/child/[childType]/route.ts +0 -331
  230. package/templates/app/api/v1/[entity]/[id]/route.ts +0 -35
  231. package/templates/app/api/v1/[entity]/docs.md +0 -369
  232. package/templates/app/api/v1/[entity]/presets.ts +0 -194
  233. package/templates/app/api/v1/[entity]/route.ts +0 -31
  234. package/templates/app/api/v1/api-keys/[id]/route.ts +0 -303
  235. package/templates/app/api/v1/api-keys/docs.md +0 -101
  236. package/templates/app/api/v1/api-keys/presets.ts +0 -31
  237. package/templates/app/api/v1/api-keys/route.ts +0 -250
  238. package/templates/app/api/v1/auth/docs.md +0 -184
  239. package/templates/app/api/v1/auth/presets.ts +0 -44
  240. package/templates/app/api/v1/auth/signup-with-invite/route.ts +0 -227
  241. package/templates/app/api/v1/billing/cancel/route.ts +0 -206
  242. package/templates/app/api/v1/billing/change-plan/route.ts +0 -97
  243. package/templates/app/api/v1/billing/check-action/route.ts +0 -81
  244. package/templates/app/api/v1/billing/checkout/route.ts +0 -124
  245. package/templates/app/api/v1/billing/docs.md +0 -209
  246. package/templates/app/api/v1/billing/plans/route.ts +0 -85
  247. package/templates/app/api/v1/billing/portal/route.ts +0 -90
  248. package/templates/app/api/v1/billing/presets.ts +0 -121
  249. package/templates/app/api/v1/billing/webhooks/stripe/route.ts +0 -428
  250. package/templates/app/api/v1/blocks/[slug]/route.ts +0 -29
  251. package/templates/app/api/v1/blocks/docs.md +0 -173
  252. package/templates/app/api/v1/blocks/presets.ts +0 -121
  253. package/templates/app/api/v1/blocks/route.ts +0 -45
  254. package/templates/app/api/v1/blocks/validate/route.ts +0 -45
  255. package/templates/app/api/v1/cron/docs.md +0 -116
  256. package/templates/app/api/v1/cron/presets.ts +0 -26
  257. package/templates/app/api/v1/cron/process/route.ts +0 -108
  258. package/templates/app/api/v1/devtools/blocks/route.ts +0 -82
  259. package/templates/app/api/v1/devtools/docs/route.ts +0 -150
  260. package/templates/app/api/v1/devtools/docs.md +0 -204
  261. package/templates/app/api/v1/devtools/features/route.ts +0 -61
  262. package/templates/app/api/v1/devtools/flows/route.ts +0 -61
  263. package/templates/app/api/v1/devtools/presets.ts +0 -113
  264. package/templates/app/api/v1/devtools/scheduled-actions/route.ts +0 -120
  265. package/templates/app/api/v1/devtools/testing/route.ts +0 -82
  266. package/templates/app/api/v1/media/docs.md +0 -117
  267. package/templates/app/api/v1/media/presets.ts +0 -24
  268. package/templates/app/api/v1/media/upload/route.ts +0 -150
  269. package/templates/app/api/v1/patterns/[id]/usages/route.ts +0 -116
  270. package/templates/app/api/v1/plugin/[...path]/route.ts +0 -373
  271. package/templates/app/api/v1/plugin/docs.md +0 -79
  272. package/templates/app/api/v1/plugin/presets.ts +0 -21
  273. package/templates/app/api/v1/plugin/route.ts +0 -96
  274. package/templates/app/api/v1/post-categories/[id]/route.ts +0 -255
  275. package/templates/app/api/v1/post-categories/docs.md +0 -134
  276. package/templates/app/api/v1/post-categories/presets.ts +0 -78
  277. package/templates/app/api/v1/post-categories/route.ts +0 -119
  278. package/templates/app/api/v1/team-invitations/[token]/accept/route.ts +0 -179
  279. package/templates/app/api/v1/team-invitations/[token]/decline/route.ts +0 -120
  280. package/templates/app/api/v1/team-invitations/[token]/route.ts +0 -89
  281. package/templates/app/api/v1/team-invitations/docs.md +0 -88
  282. package/templates/app/api/v1/team-invitations/presets.ts +0 -43
  283. package/templates/app/api/v1/team-invitations/route.ts +0 -114
  284. package/templates/app/api/v1/teams/[teamId]/invitations/route.ts +0 -171
  285. package/templates/app/api/v1/teams/[teamId]/invoices/[invoiceNumber]/route.ts +0 -105
  286. package/templates/app/api/v1/teams/[teamId]/invoices/route.ts +0 -125
  287. package/templates/app/api/v1/teams/[teamId]/members/[memberId]/route.ts +0 -263
  288. package/templates/app/api/v1/teams/[teamId]/members/route.ts +0 -358
  289. package/templates/app/api/v1/teams/[teamId]/route.ts +0 -322
  290. package/templates/app/api/v1/teams/[teamId]/subscription/route.ts +0 -50
  291. package/templates/app/api/v1/teams/[teamId]/usage/[limitSlug]/route.ts +0 -91
  292. package/templates/app/api/v1/teams/docs.md +0 -320
  293. package/templates/app/api/v1/teams/presets.ts +0 -178
  294. package/templates/app/api/v1/teams/route.ts +0 -293
  295. package/templates/app/api/v1/teams/switch/route.ts +0 -88
  296. package/templates/app/api/v1/theme/[...path]/route.ts +0 -361
  297. package/templates/app/api/v1/theme/docs.md +0 -74
  298. package/templates/app/api/v1/theme/presets.ts +0 -21
  299. package/templates/app/api/v1/theme/route.ts +0 -96
  300. package/templates/app/api/v1/users/[id]/meta/[key]/route.ts +0 -363
  301. package/templates/app/api/v1/users/[id]/route.ts +0 -302
  302. package/templates/app/api/v1/users/docs.md +0 -93
  303. package/templates/app/api/v1/users/presets.ts +0 -59
  304. package/templates/app/api/v1/users/route.ts +0 -197
  305. package/templates/app/dashboard/(main)/[entity]/[id]/edit/page.tsx +0 -117
  306. package/templates/app/dashboard/(main)/[entity]/[id]/page.tsx +0 -103
  307. package/templates/app/dashboard/(main)/[entity]/create/page.tsx +0 -95
  308. package/templates/app/dashboard/(main)/[entity]/error.tsx +0 -51
  309. package/templates/app/dashboard/(main)/[entity]/layout.tsx +0 -113
  310. package/templates/app/dashboard/(main)/[entity]/loading.tsx +0 -61
  311. package/templates/app/dashboard/(main)/[entity]/page.tsx +0 -90
  312. package/templates/app/dashboard/(main)/layout.tsx +0 -98
  313. package/templates/app/dashboard/(main)/loading.tsx +0 -5
  314. package/templates/app/dashboard/(main)/page.tsx +0 -201
  315. package/templates/app/dashboard/(main)/patterns/[id]/edit/page.tsx +0 -114
  316. package/templates/app/dashboard/(main)/patterns/[id]/page.tsx +0 -20
  317. package/templates/app/dashboard/(main)/patterns/[id]/reports/page.tsx +0 -171
  318. package/templates/app/dashboard/(main)/patterns/create/page.tsx +0 -86
  319. package/templates/app/dashboard/(main)/patterns/page.tsx +0 -444
  320. package/templates/app/dashboard/features/analytics/page.tsx +0 -35
  321. package/templates/app/dashboard/features/automation/page.tsx +0 -35
  322. package/templates/app/dashboard/features/layout.tsx +0 -13
  323. package/templates/app/dashboard/features/loading.tsx +0 -5
  324. package/templates/app/dashboard/features/webhooks/page.tsx +0 -35
  325. package/templates/app/dashboard/layout.tsx +0 -86
  326. package/templates/app/dashboard/permission-denied/page.tsx +0 -29
  327. package/templates/app/dashboard/settings/api-keys/loading.tsx +0 -5
  328. package/templates/app/dashboard/settings/api-keys/page.tsx +0 -513
  329. package/templates/app/dashboard/settings/billing/loading.tsx +0 -5
  330. package/templates/app/dashboard/settings/billing/page.tsx +0 -284
  331. package/templates/app/dashboard/settings/invoices/[invoiceNumber]/page.tsx +0 -222
  332. package/templates/app/dashboard/settings/invoices/loading.tsx +0 -5
  333. package/templates/app/dashboard/settings/invoices/page.tsx +0 -82
  334. package/templates/app/dashboard/settings/layout.tsx +0 -151
  335. package/templates/app/dashboard/settings/loading.tsx +0 -5
  336. package/templates/app/dashboard/settings/notifications/loading.tsx +0 -5
  337. package/templates/app/dashboard/settings/notifications/page.tsx +0 -462
  338. package/templates/app/dashboard/settings/page.tsx +0 -92
  339. package/templates/app/dashboard/settings/password/loading.tsx +0 -5
  340. package/templates/app/dashboard/settings/password/page.tsx +0 -306
  341. package/templates/app/dashboard/settings/plans/loading.tsx +0 -5
  342. package/templates/app/dashboard/settings/plans/page.tsx +0 -40
  343. package/templates/app/dashboard/settings/profile/loading.tsx +0 -5
  344. package/templates/app/dashboard/settings/profile/page.tsx +0 -686
  345. package/templates/app/dashboard/settings/security/loading.tsx +0 -5
  346. package/templates/app/dashboard/settings/security/page.tsx +0 -505
  347. package/templates/app/dashboard/settings/teams/loading.tsx +0 -5
  348. package/templates/app/dashboard/settings/teams/page.tsx +0 -272
  349. package/templates/app/dashboard/settings/teams/permissions/page.tsx +0 -92
  350. package/templates/app/devtools/blocks/[slug]/page.tsx +0 -39
  351. package/templates/app/devtools/blocks/page.tsx +0 -31
  352. package/templates/app/devtools/config/page.tsx +0 -31
  353. package/templates/app/devtools/features/page.tsx +0 -31
  354. package/templates/app/devtools/flows/page.tsx +0 -31
  355. package/templates/app/devtools/layout.tsx +0 -58
  356. package/templates/app/devtools/page.tsx +0 -121
  357. package/templates/app/devtools/scheduled-actions/page.tsx +0 -157
  358. package/templates/app/devtools/style/page.tsx +0 -330
  359. package/templates/app/devtools/tags/page.tsx +0 -31
  360. package/templates/app/devtools/tests/[[...path]]/page.tsx +0 -47
  361. package/templates/app/favicon.ico +0 -0
  362. package/templates/app/globals.css +0 -12
  363. package/templates/app/layout.tsx +0 -96
  364. package/templates/app/public/page.tsx +0 -30
  365. package/templates/app/superadmin/docs/[section]/[page]/page.tsx +0 -92
  366. package/templates/app/superadmin/docs/page.tsx +0 -75
  367. package/templates/app/superadmin/layout.tsx +0 -67
  368. package/templates/app/superadmin/page.tsx +0 -149
  369. package/templates/app/superadmin/subscriptions/page.tsx +0 -655
  370. package/templates/app/superadmin/team-roles/page.tsx +0 -493
  371. package/templates/app/superadmin/teams/[teamId]/page.tsx +0 -687
  372. package/templates/app/superadmin/teams/page.tsx +0 -302
  373. package/templates/app/superadmin/users/[userId]/page.tsx +0 -548
  374. 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
- }