@digilogiclabs/create-saas-app 2.8.1 → 2.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/dist/.tsbuildinfo +1 -1
  2. package/dist/generators/template-generator.js +8 -8
  3. package/dist/generators/template-generator.js.map +1 -1
  4. package/dist/templates/shared/quality/web/src/__tests__/accessibility.test.tsx +3 -3
  5. package/dist/templates/web/ai-platform/template/src/app/page.tsx +207 -207
  6. package/dist/templates/web/base/template/src/app/dashboard/page.tsx +6 -43
  7. package/dist/templates/web/base/template/src/app/page.tsx +2 -2
  8. package/dist/templates/web/ui-auth/template/src/app/dev-setup/page.tsx +800 -800
  9. package/dist/templates/web/ui-auth/template/src/app/login/page.tsx +109 -109
  10. package/dist/templates/web/ui-auth/template/src/app/page.tsx +3 -3
  11. package/dist/templates/web/ui-auth/template/src/app/signup/page.tsx +128 -128
  12. package/dist/templates/web/ui-auth-ai/template/src/app/globals.css +35 -40
  13. package/dist/templates/web/ui-auth-ai/template/src/app/layout.tsx +1 -0
  14. package/dist/templates/web/ui-auth-payments/template/src/app/checkout/page.tsx +3 -3
  15. package/dist/templates/web/ui-auth-payments/template/src/app/dashboard/page.tsx +10 -49
  16. package/dist/templates/web/ui-auth-payments/template/src/app/dev-setup/page.tsx +800 -800
  17. package/dist/templates/web/ui-auth-payments/template/src/app/login/page.tsx +109 -109
  18. package/dist/templates/web/ui-auth-payments/template/src/app/page.tsx +350 -350
  19. package/dist/templates/web/ui-auth-payments/template/src/app/setup/page.tsx +506 -506
  20. package/dist/templates/web/ui-auth-payments/template/src/app/signup/page.tsx +128 -128
  21. package/dist/templates/web/ui-auth-payments/template/src/components/client/login-form.tsx +143 -143
  22. package/dist/templates/web/ui-auth-payments/template/src/components/client/signup-form.tsx +184 -184
  23. package/dist/templates/web/ui-auth-payments-ai/template/src/app/billing/page.tsx +143 -233
  24. package/dist/templates/web/ui-auth-payments-ai/template/src/app/dashboard/page.tsx +10 -50
  25. package/dist/templates/web/ui-auth-payments-ai/template/src/app/dev-setup/page.tsx +800 -800
  26. package/dist/templates/web/ui-auth-payments-ai/template/src/app/onboarding/page.tsx +325 -364
  27. package/dist/templates/web/ui-auth-payments-ai/template/src/app/page.tsx +1 -1
  28. package/dist/templates/web/ui-auth-payments-ai/template/src/app/settings/page.tsx +389 -532
  29. package/dist/templates/web/ui-auth-payments-ai/template/src/app/setup/page.tsx +644 -644
  30. package/dist/templates/web/ui-auth-payments-ai/template/src/components/client/login-form.tsx +119 -163
  31. package/dist/templates/web/ui-auth-payments-ai/template/src/components/client/signup-form.tsx +158 -201
  32. package/dist/templates/web/ui-auth-payments-audio/template/src/app/dashboard/page.tsx +10 -51
  33. package/dist/templates/web/ui-auth-payments-audio/template/src/app/page.tsx +402 -403
  34. package/dist/templates/web/ui-auth-payments-audio/template/src/components/client/login-form.tsx +143 -143
  35. package/dist/templates/web/ui-auth-payments-audio/template/src/components/client/signup-form.tsx +184 -184
  36. package/dist/templates/web/ui-auth-payments-video/template/src/app/login/page.tsx +1 -1
  37. package/dist/templates/web/ui-auth-payments-video/template/src/app/page.tsx +3 -7
  38. package/dist/templates/web/ui-auth-payments-video/template/src/app/signup/page.tsx +1 -1
  39. package/package.json +1 -1
  40. package/src/templates/shared/quality/web/src/__tests__/accessibility.test.tsx +3 -3
  41. package/src/templates/web/ai-platform/template/src/app/page.tsx +207 -207
  42. package/src/templates/web/base/template/src/app/dashboard/page.tsx +6 -43
  43. package/src/templates/web/base/template/src/app/page.tsx +2 -2
  44. package/src/templates/web/ui-auth/template/src/app/dev-setup/page.tsx +800 -800
  45. package/src/templates/web/ui-auth/template/src/app/login/page.tsx +109 -109
  46. package/src/templates/web/ui-auth/template/src/app/page.tsx +3 -3
  47. package/src/templates/web/ui-auth/template/src/app/signup/page.tsx +128 -128
  48. package/src/templates/web/ui-auth-ai/template/src/app/globals.css +35 -40
  49. package/src/templates/web/ui-auth-ai/template/src/app/layout.tsx +1 -0
  50. package/src/templates/web/ui-auth-payments/template/src/app/checkout/page.tsx +3 -3
  51. package/src/templates/web/ui-auth-payments/template/src/app/dashboard/page.tsx +10 -49
  52. package/src/templates/web/ui-auth-payments/template/src/app/dev-setup/page.tsx +800 -800
  53. package/src/templates/web/ui-auth-payments/template/src/app/login/page.tsx +109 -109
  54. package/src/templates/web/ui-auth-payments/template/src/app/page.tsx +350 -350
  55. package/src/templates/web/ui-auth-payments/template/src/app/setup/page.tsx +506 -506
  56. package/src/templates/web/ui-auth-payments/template/src/app/signup/page.tsx +128 -128
  57. package/src/templates/web/ui-auth-payments/template/src/components/client/login-form.tsx +143 -143
  58. package/src/templates/web/ui-auth-payments/template/src/components/client/signup-form.tsx +184 -184
  59. package/src/templates/web/ui-auth-payments-ai/template/src/app/billing/page.tsx +143 -233
  60. package/src/templates/web/ui-auth-payments-ai/template/src/app/dashboard/page.tsx +10 -50
  61. package/src/templates/web/ui-auth-payments-ai/template/src/app/dev-setup/page.tsx +800 -800
  62. package/src/templates/web/ui-auth-payments-ai/template/src/app/onboarding/page.tsx +325 -364
  63. package/src/templates/web/ui-auth-payments-ai/template/src/app/page.tsx +1 -1
  64. package/src/templates/web/ui-auth-payments-ai/template/src/app/settings/page.tsx +389 -532
  65. package/src/templates/web/ui-auth-payments-ai/template/src/app/setup/page.tsx +644 -644
  66. package/src/templates/web/ui-auth-payments-ai/template/src/components/client/login-form.tsx +119 -163
  67. package/src/templates/web/ui-auth-payments-ai/template/src/components/client/signup-form.tsx +158 -201
  68. package/src/templates/web/ui-auth-payments-audio/template/src/app/dashboard/page.tsx +10 -51
  69. package/src/templates/web/ui-auth-payments-audio/template/src/app/page.tsx +402 -403
  70. package/src/templates/web/ui-auth-payments-audio/template/src/components/client/login-form.tsx +143 -143
  71. package/src/templates/web/ui-auth-payments-audio/template/src/components/client/signup-form.tsx +184 -184
  72. package/src/templates/web/ui-auth-payments-video/template/src/app/login/page.tsx +1 -1
  73. package/src/templates/web/ui-auth-payments-video/template/src/app/page.tsx +3 -7
  74. package/src/templates/web/ui-auth-payments-video/template/src/app/signup/page.tsx +1 -1
@@ -16,9 +16,7 @@ import {
16
16
  OfflineWrapper,
17
17
  useNetworkInfo,
18
18
  useOfflineState,
19
- DashboardLayout,
20
- CommandPalette,
21
- Tour
19
+ DashboardLayout
22
20
  } from '@digilogiclabs/saas-factory-ui';
23
21
  import {
24
22
  BarChart3,
@@ -30,10 +28,7 @@ import {
30
28
  Star,
31
29
  Trash2,
32
30
  Wifi,
33
- WifiOff,
34
- Home,
35
- FileText,
36
- Activity
31
+ WifiOff
37
32
  } from 'lucide-react';
38
33
 
39
34
  // Mock data for demonstration
@@ -49,32 +44,6 @@ const mockActivityData = Array.from({ length: 50 }, (_, i) => ({
49
44
  export default function DashboardPage() {
50
45
  const { user } = useAuth();
51
46
 
52
- const sidebarNavigation = [
53
- { name: 'Dashboard', href: '/dashboard', icon: Home, current: true },
54
- { name: 'Analytics', href: '/dashboard/analytics', icon: BarChart3 },
55
- { name: 'Reports', href: '/dashboard/reports', icon: FileText },
56
- { name: 'Activity', href: '/dashboard/activity', icon: Activity },
57
- { name: 'Settings', href: '/settings', icon: Settings }
58
- ]
59
-
60
- const tourSteps = [
61
- {
62
- target: '[data-tour="overview"]',
63
- title: 'Mobile-First Dashboard',
64
- content: 'This dashboard is optimized for mobile devices with offline support and responsive design.'
65
- },
66
- {
67
- target: '[data-tour="stats"]',
68
- title: 'Network-Aware Stats',
69
- content: 'Statistics automatically adapt based on your network connection speed.'
70
- },
71
- {
72
- target: '[data-tour="activity"]',
73
- title: 'Interactive Activity Feed',
74
- content: 'Swipe left or right on activity items to archive, star, or delete them.'
75
- }
76
- ]
77
-
78
47
  const lazyImageConfig = {
79
48
  mobileOptimization: {
80
49
  quality: 80,
@@ -148,13 +117,7 @@ export default function DashboardPage() {
148
117
 
149
118
 
150
119
  return (
151
- <DashboardLayout
152
- navigation={sidebarNavigation}
153
- headerActions={[
154
- <CommandPalette key="command-palette" />,
155
- <Tour key="tour" steps={tourSteps} />
156
- ]}
157
- >
120
+ <DashboardLayout>
158
121
  <PageTransition type="slide" direction="horizontal" duration={300}>
159
122
  <OfflineWrapper
160
123
  cacheStrategy="stale-while-revalidate"
@@ -206,7 +169,7 @@ export default function DashboardPage() {
206
169
  <div data-tour="stats">
207
170
  <NetworkAwareContent
208
171
  showOnSlow={
209
- <ResponsiveGrid columns={gridConfig.columns_2_2} gap="sm" className="mb-6">
172
+ <ResponsiveGrid columns={gridConfig.columns_2_2} gap={2} className="mb-6">
210
173
  {stats.slice(0, 2).map((stat, index) => (
211
174
  <Card key={index}>
212
175
  <CardContent className="p-4">
@@ -223,7 +186,7 @@ export default function DashboardPage() {
223
186
  </ResponsiveGrid>
224
187
  }
225
188
  >
226
- <ResponsiveGrid columns={gridConfig.columns_2_md4} gap="md" className="mb-6">
189
+ <ResponsiveGrid columns={gridConfig.columns_2_md4} gap={4} className="mb-6">
227
190
  {stats.map((stat, index) => (
228
191
  <Card key={index}>
229
192
  <CardContent className="p-4">
@@ -340,7 +303,7 @@ export default function DashboardPage() {
340
303
  </CardDescription>
341
304
  </CardHeader>
342
305
  <CardContent>
343
- <ResponsiveGrid columns={gridConfig.columns_2_md3} gap="sm">
306
+ <ResponsiveGrid columns={gridConfig.columns_2_md3} gap={2}>
344
307
  <Button variant="outline" className="h-20 flex flex-col gap-2">
345
308
  <Users className="h-5 w-5" />
346
309
  <span className="text-xs">Manage Users</span>
@@ -92,7 +92,7 @@ export default function Home() {
92
92
  {/* Features Grid */}
93
93
  <NetworkAwareContent
94
94
  showOnSlow={
95
- <ResponsiveGrid columns={gridConfig.columns_1_2} gap="md" className="mb-16">
95
+ <ResponsiveGrid columns={gridConfig.columns_1_2} gap={4} className="mb-16">
96
96
  <Card className="text-center">
97
97
  <CardHeader>
98
98
  <div className="mx-auto w-12 h-12 bg-blue-100 dark:bg-blue-900 rounded-lg flex items-center justify-center mb-4">
@@ -118,7 +118,7 @@ export default function Home() {
118
118
  </ResponsiveGrid>
119
119
  }
120
120
  >
121
- <ResponsiveGrid columns={gridConfig.columns_1_3} gap="lg" className="mb-16">
121
+ <ResponsiveGrid columns={gridConfig.columns_1_3} gap={6} className="mb-16">
122
122
  <Card className="text-center">
123
123
  <CardHeader>
124
124
  <div className="mx-auto w-12 h-12 bg-blue-100 dark:bg-blue-900 rounded-lg flex items-center justify-center mb-4">