luxlabs 1.0.1 → 1.0.3
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.
- package/package.json +1 -1
- package/templates/interface-boilerplate/app/api/auth/[...all]/route.ts +52 -0
- package/templates/interface-boilerplate/app/auth/callback/page.tsx +22 -31
- package/templates/interface-boilerplate/app/dashboard/page.tsx +41 -214
- package/templates/interface-boilerplate/app/favicon.ico +0 -0
- package/templates/interface-boilerplate/app/globals.css +18 -113
- package/templates/interface-boilerplate/app/layout.tsx +21 -33
- package/templates/interface-boilerplate/app/page.tsx +37 -116
- package/templates/interface-boilerplate/app/settings/page.tsx +71 -0
- package/templates/interface-boilerplate/app/sign-in/page.tsx +19 -0
- package/templates/interface-boilerplate/app/sign-up/page.tsx +19 -0
- package/templates/interface-boilerplate/components/auth/sign-in-form.tsx +144 -0
- package/templates/interface-boilerplate/components/auth/sign-up-form.tsx +236 -0
- package/templates/interface-boilerplate/components/ui/badge.tsx +18 -14
- package/templates/interface-boilerplate/components/ui/button.tsx +29 -24
- package/templates/interface-boilerplate/components/ui/card.tsx +76 -57
- package/templates/interface-boilerplate/components/ui/input.tsx +8 -9
- package/templates/interface-boilerplate/eslint.config.mjs +18 -0
- package/templates/interface-boilerplate/lib/auth-client.ts +18 -0
- package/templates/interface-boilerplate/lib/auth.config.ts +111 -0
- package/templates/interface-boilerplate/lib/lux.ts +8 -0
- package/templates/interface-boilerplate/lib/utils.ts +3 -3
- package/templates/interface-boilerplate/middleware.ts +60 -0
- package/templates/interface-boilerplate/next.config.ts +7 -0
- package/templates/interface-boilerplate/package-lock.json +6855 -0
- package/templates/interface-boilerplate/package.json +18 -37
- package/templates/interface-boilerplate/postcss.config.mjs +7 -0
- package/templates/interface-boilerplate/tsconfig.json +18 -4
- package/templates/interface-boilerplate/.env.example +0 -2
- package/templates/interface-boilerplate/.eslintrc.json +0 -4
- package/templates/interface-boilerplate/app/login/page.tsx +0 -178
- package/templates/interface-boilerplate/app/signup/page.tsx +0 -199
- package/templates/interface-boilerplate/components/AnalyticsProvider.tsx +0 -142
- package/templates/interface-boilerplate/components/AuthGuard.tsx +0 -76
- package/templates/interface-boilerplate/components/ErrorBoundary.tsx +0 -106
- package/templates/interface-boilerplate/components/theme-provider.tsx +0 -9
- package/templates/interface-boilerplate/components/theme-toggle.tsx +0 -39
- package/templates/interface-boilerplate/components/ui/avatar.tsx +0 -46
- package/templates/interface-boilerplate/components/ui/checkbox.tsx +0 -27
- package/templates/interface-boilerplate/components/ui/dialog.tsx +0 -100
- package/templates/interface-boilerplate/components/ui/dropdown-menu.tsx +0 -173
- package/templates/interface-boilerplate/components/ui/index.ts +0 -53
- package/templates/interface-boilerplate/components/ui/label.tsx +0 -20
- package/templates/interface-boilerplate/components/ui/progress.tsx +0 -24
- package/templates/interface-boilerplate/components/ui/select.tsx +0 -149
- package/templates/interface-boilerplate/components/ui/separator.tsx +0 -25
- package/templates/interface-boilerplate/components/ui/skeleton.tsx +0 -12
- package/templates/interface-boilerplate/components/ui/switch.tsx +0 -28
- package/templates/interface-boilerplate/components/ui/tabs.tsx +0 -54
- package/templates/interface-boilerplate/components/ui/textarea.tsx +0 -22
- package/templates/interface-boilerplate/components/ui/tooltip.tsx +0 -29
- package/templates/interface-boilerplate/lib/analytics.ts +0 -182
- package/templates/interface-boilerplate/lib/auth-context.tsx +0 -83
- package/templates/interface-boilerplate/lib/auth.ts +0 -199
- package/templates/interface-boilerplate/lib/callFlow.ts +0 -234
- package/templates/interface-boilerplate/lib/flowTracer.ts +0 -195
- package/templates/interface-boilerplate/lib/hooks/.gitkeep +0 -0
- package/templates/interface-boilerplate/lib/stores/.gitkeep +0 -0
- package/templates/interface-boilerplate/next.config.js +0 -6
- package/templates/interface-boilerplate/postcss.config.js +0 -6
- package/templates/interface-boilerplate/tailwind.config.js +0 -103
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
/** @type {import('tailwindcss').Config} */
|
|
2
|
-
module.exports = {
|
|
3
|
-
darkMode: ['class'],
|
|
4
|
-
content: [
|
|
5
|
-
'./app/**/*.{js,ts,jsx,tsx,mdx}',
|
|
6
|
-
'./components/**/*.{js,ts,jsx,tsx,mdx}',
|
|
7
|
-
],
|
|
8
|
-
theme: {
|
|
9
|
-
extend: {
|
|
10
|
-
colors: {
|
|
11
|
-
border: 'hsl(var(--border))',
|
|
12
|
-
input: 'hsl(var(--input))',
|
|
13
|
-
ring: 'hsl(var(--ring))',
|
|
14
|
-
background: 'hsl(var(--background))',
|
|
15
|
-
foreground: 'hsl(var(--foreground))',
|
|
16
|
-
primary: {
|
|
17
|
-
DEFAULT: 'hsl(var(--primary))',
|
|
18
|
-
foreground: 'hsl(var(--primary-foreground))',
|
|
19
|
-
},
|
|
20
|
-
secondary: {
|
|
21
|
-
DEFAULT: 'hsl(var(--secondary))',
|
|
22
|
-
foreground: 'hsl(var(--secondary-foreground))',
|
|
23
|
-
},
|
|
24
|
-
destructive: {
|
|
25
|
-
DEFAULT: 'hsl(var(--destructive))',
|
|
26
|
-
foreground: 'hsl(var(--destructive-foreground))',
|
|
27
|
-
},
|
|
28
|
-
success: {
|
|
29
|
-
DEFAULT: 'hsl(var(--success))',
|
|
30
|
-
foreground: 'hsl(var(--success-foreground))',
|
|
31
|
-
},
|
|
32
|
-
warning: {
|
|
33
|
-
DEFAULT: 'hsl(var(--warning))',
|
|
34
|
-
foreground: 'hsl(var(--warning-foreground))',
|
|
35
|
-
},
|
|
36
|
-
muted: {
|
|
37
|
-
DEFAULT: 'hsl(var(--muted))',
|
|
38
|
-
foreground: 'hsl(var(--muted-foreground))',
|
|
39
|
-
},
|
|
40
|
-
accent: {
|
|
41
|
-
DEFAULT: 'hsl(var(--accent))',
|
|
42
|
-
foreground: 'hsl(var(--accent-foreground))',
|
|
43
|
-
},
|
|
44
|
-
popover: {
|
|
45
|
-
DEFAULT: 'hsl(var(--popover))',
|
|
46
|
-
foreground: 'hsl(var(--popover-foreground))',
|
|
47
|
-
},
|
|
48
|
-
card: {
|
|
49
|
-
DEFAULT: 'hsl(var(--card))',
|
|
50
|
-
foreground: 'hsl(var(--card-foreground))',
|
|
51
|
-
},
|
|
52
|
-
},
|
|
53
|
-
borderRadius: {
|
|
54
|
-
lg: 'var(--radius)',
|
|
55
|
-
md: 'calc(var(--radius) - 2px)',
|
|
56
|
-
sm: 'calc(var(--radius) - 4px)',
|
|
57
|
-
},
|
|
58
|
-
fontFamily: {
|
|
59
|
-
sans: ['var(--font-sans)', 'system-ui', 'sans-serif'],
|
|
60
|
-
},
|
|
61
|
-
keyframes: {
|
|
62
|
-
'accordion-down': {
|
|
63
|
-
from: { height: '0' },
|
|
64
|
-
to: { height: 'var(--radix-accordion-content-height)' },
|
|
65
|
-
},
|
|
66
|
-
'accordion-up': {
|
|
67
|
-
from: { height: 'var(--radix-accordion-content-height)' },
|
|
68
|
-
to: { height: '0' },
|
|
69
|
-
},
|
|
70
|
-
'fade-in': {
|
|
71
|
-
from: { opacity: '0' },
|
|
72
|
-
to: { opacity: '1' },
|
|
73
|
-
},
|
|
74
|
-
'fade-out': {
|
|
75
|
-
from: { opacity: '1' },
|
|
76
|
-
to: { opacity: '0' },
|
|
77
|
-
},
|
|
78
|
-
'slide-in-from-top': {
|
|
79
|
-
from: { transform: 'translateY(-10px)', opacity: '0' },
|
|
80
|
-
to: { transform: 'translateY(0)', opacity: '1' },
|
|
81
|
-
},
|
|
82
|
-
'slide-in-from-bottom': {
|
|
83
|
-
from: { transform: 'translateY(10px)', opacity: '0' },
|
|
84
|
-
to: { transform: 'translateY(0)', opacity: '1' },
|
|
85
|
-
},
|
|
86
|
-
'spin-slow': {
|
|
87
|
-
from: { transform: 'rotate(0deg)' },
|
|
88
|
-
to: { transform: 'rotate(360deg)' },
|
|
89
|
-
},
|
|
90
|
-
},
|
|
91
|
-
animation: {
|
|
92
|
-
'accordion-down': 'accordion-down 0.2s ease-out',
|
|
93
|
-
'accordion-up': 'accordion-up 0.2s ease-out',
|
|
94
|
-
'fade-in': 'fade-in 0.2s ease-out',
|
|
95
|
-
'fade-out': 'fade-out 0.2s ease-out',
|
|
96
|
-
'slide-in-from-top': 'slide-in-from-top 0.3s ease-out',
|
|
97
|
-
'slide-in-from-bottom': 'slide-in-from-bottom 0.3s ease-out',
|
|
98
|
-
'spin-slow': 'spin-slow 2s linear infinite',
|
|
99
|
-
},
|
|
100
|
-
},
|
|
101
|
-
},
|
|
102
|
-
plugins: [require('tailwindcss-animate')],
|
|
103
|
-
};
|