@admin-layout/demo-tailwind-browser 11.0.4-alpha.4 → 12.0.16-alpha.1

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 (44) hide show
  1. package/lib/components/OTPExamples.d.ts +7 -0
  2. package/lib/components/OTPExamples.d.ts.map +1 -0
  3. package/lib/components/OTPExamples.js +89 -0
  4. package/lib/components/OTPExamples.js.map +1 -0
  5. package/lib/components/ThemeShowCase/FeaturesSection.d.ts +2 -0
  6. package/lib/components/ThemeShowCase/FeaturesSection.d.ts.map +1 -0
  7. package/lib/components/ThemeShowCase/FeaturesSection.js +64 -0
  8. package/lib/components/ThemeShowCase/FeaturesSection.js.map +1 -0
  9. package/lib/components/ThemeShowCase/HeroSection.d.ts +2 -0
  10. package/lib/components/ThemeShowCase/HeroSection.d.ts.map +1 -0
  11. package/lib/components/ThemeShowCase/HeroSection.js +92 -0
  12. package/lib/components/ThemeShowCase/HeroSection.js.map +1 -0
  13. package/lib/components/ThemeShowCase/ThemeShowcase.d.ts +2 -0
  14. package/lib/components/ThemeShowCase/ThemeShowcase.d.ts.map +1 -0
  15. package/lib/components/ThemeShowCase/ThemeShowcase.js +242 -0
  16. package/lib/components/ThemeShowCase/ThemeShowcase.js.map +1 -0
  17. package/lib/components/ThemeShowCase/index.d.ts +3 -0
  18. package/lib/components/ThemeShowCase/index.d.ts.map +1 -0
  19. package/lib/components/ThemeShowCase/index.js +6 -0
  20. package/lib/components/ThemeShowCase/index.js.map +1 -0
  21. package/lib/components/exception/403/Component.d.ts.map +1 -1
  22. package/lib/components/exception/403/Component.js +7 -17
  23. package/lib/components/exception/403/Component.js.map +1 -1
  24. package/lib/components/exception/404/Component.d.ts.map +1 -1
  25. package/lib/components/exception/404/Component.js +7 -17
  26. package/lib/components/exception/404/Component.js.map +1 -1
  27. package/lib/components/exception/500/Component.d.ts.map +1 -1
  28. package/lib/components/exception/500/Component.js +7 -17
  29. package/lib/components/exception/500/Component.js.map +1 -1
  30. package/lib/components/result/fail/Component.d.ts.map +1 -1
  31. package/lib/components/result/fail/Component.js +17 -26
  32. package/lib/components/result/fail/Component.js.map +1 -1
  33. package/lib/components/result/success/Component.d.ts.map +1 -1
  34. package/lib/components/result/success/Component.js +12 -21
  35. package/lib/components/result/success/Component.js.map +1 -1
  36. package/lib/compute.d.ts.map +1 -1
  37. package/lib/compute.js +50 -2
  38. package/lib/compute.js.map +1 -1
  39. package/lib/pages/Home.d.ts +3 -0
  40. package/lib/pages/Home.d.ts.map +1 -0
  41. package/lib/pages/Home.js +15 -0
  42. package/lib/pages/Home.js.map +1 -0
  43. package/lib/routes.json +39 -2
  44. package/package.json +5 -5
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ /**
3
+ * Example usage of the OTPVerification component
4
+ */
5
+ declare const ExampleUsage: React.FC;
6
+ export default ExampleUsage;
7
+ //# sourceMappingURL=OTPExamples.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OTPExamples.d.ts","sourceRoot":"","sources":["../../src/components/OTPExamples.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B;;GAEG;AACH,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EA2EzB,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -0,0 +1,89 @@
1
+ import {jsxs,jsx}from'react/jsx-runtime';import {OTPVerification,Card,CardHeader,CardTitle,CardContent}from'@admin-layout/tailwind-ui';/**
2
+ * Example usage of the OTPVerification component
3
+ */
4
+ const ExampleUsage = () => {
5
+ // Verification handlers
6
+ const handleVerificationSuccess = () => {
7
+ console.log('OTP verification successful!');
8
+ // Additional actions on success
9
+ };
10
+ const handleVerificationFailed = () => {
11
+ console.log('OTP verification failed!');
12
+ // Additional actions on failure
13
+ };
14
+ const handleContinue = () => {
15
+ console.log('Continue button clicked after verification');
16
+ // Navigate to dashboard or next step
17
+ };
18
+ const handleResendCode = () => {
19
+ console.log('Resending verification code...');
20
+ // API call to resend verification code
21
+ };
22
+ const handleOtpChange = otp => {
23
+ console.log('OTP changed:', otp);
24
+ // Additional tracking or validation
25
+ };
26
+ return jsxs("div", {
27
+ className: "p-4 bg-background text-foreground",
28
+ children: [jsx("h1", {
29
+ className: "text-2xl font-bold mb-6 text-foreground",
30
+ children: "OTP Verification Examples"
31
+ }), jsx("h2", {
32
+ className: "text-xl font-semibold mb-4 text-foreground",
33
+ children: "Basic Usage"
34
+ }), jsx("div", {
35
+ className: "min-h-screen bg-gradient-secondary flex items-center justify-center p-4",
36
+ children: jsx(OTPVerification, {})
37
+ }), jsx("h2", {
38
+ className: "text-xl font-semibold mb-4 text-foreground",
39
+ children: "Custom Configuration"
40
+ }), jsx("div", {
41
+ className: "min-h-screen bg-gradient-secondary flex items-center justify-center p-4",
42
+ children: jsx(OTPVerification, {
43
+ length: 6,
44
+ validCode: "123456",
45
+ title: "Security Verification",
46
+ description: "Enter the 6-digit code sent to your email",
47
+ successMessage: "Great! Your account is now verified",
48
+ errorMessage: "The code you entered is incorrect",
49
+ continueButtonText: "Access Your Account",
50
+ resendCodeText: "Send New Code",
51
+ verificationDelay: 300,
52
+ resetDelay: 1500,
53
+ onVerificationSuccess: handleVerificationSuccess,
54
+ onVerificationFailed: handleVerificationFailed,
55
+ onContinue: handleContinue,
56
+ onResendCode: handleResendCode,
57
+ onOtpChange: handleOtpChange
58
+ })
59
+ }), jsx("h2", {
60
+ className: "text-xl font-semibold mb-4 text-foreground",
61
+ children: "Implementation Notes"
62
+ }), jsxs(Card, {
63
+ className: "themed-card",
64
+ children: [jsx(CardHeader, {
65
+ children: jsx(CardTitle, {
66
+ className: "text-foreground",
67
+ children: "Features"
68
+ })
69
+ }), jsx(CardContent, {
70
+ children: jsxs("ul", {
71
+ className: "list-disc list-inside mb-4 space-y-1 text-muted-foreground",
72
+ children: [jsx("li", {
73
+ children: "Customizable OTP length"
74
+ }), jsx("li", {
75
+ children: "Success and error states with visual feedback"
76
+ }), jsx("li", {
77
+ children: "Custom validation"
78
+ }), jsx("li", {
79
+ children: "Animation effects"
80
+ }), jsx("li", {
81
+ children: "Comprehensive event handlers"
82
+ }), jsx("li", {
83
+ children: "Accessible design"
84
+ })]
85
+ })
86
+ })]
87
+ })]
88
+ });
89
+ };export{ExampleUsage as default};//# sourceMappingURL=OTPExamples.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OTPExamples.js","sources":["../../src/components/OTPExamples.tsx"],"sourcesContent":[null],"names":["_jsxs","_jsx"],"mappings":"uIAIA;;AAEG;AACG,MAAA,YAAY,GAAa,MAAK;;QAE1B,yBAAA,GAA4B,MAAK;AACnC,IAAA,OAAA,CAAA,GAAO,CAAC,8BAAI,CAAA;;AAEhB,GAAA;QAEM,wBAAA,GAA2B,MAAK;AAClC,IAAA,OAAA,CAAA,GAAO,CAAC,0BAAI,CAAA;;AAEhB,GAAA;QAEM,cAAA,GAAiB,MAAK;AACxB,IAAA,OAAA,CAAA,GAAO,CAAC,4CAAI,CAAA;;AAEhB,GAAA;QAEM,gBAAA,GAAmB,MAAK;AAC1B,IAAA,OAAA,CAAA,GAAO,CAAC,gCAAI,CAAA;;AAEhB,GAAA;AAEA,EAAA,MAAA,eAAqB,GAAA,GAAI;AACrB,IAAA,OAAA,CAAA,GAAO,CAAC,mBAAoB,CAAA;;AAEhC,GAAA;AAEA,EAAA,OAAAA,IACI,CAAA,KAAA,EAAA;AA+CR,IAAE,SAAA,EAAA,mCAAA;AAEF,IAAA,QAAA,EAAA,CAAeC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,2 @@
1
+ export declare function FeaturesSection(): import("react/jsx-runtime").JSX.Element;
2
+ //# sourceMappingURL=FeaturesSection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FeaturesSection.d.ts","sourceRoot":"","sources":["../../../src/components/ThemeShowCase/FeaturesSection.tsx"],"names":[],"mappings":"AAoCA,wBAAgB,eAAe,4CAgC9B"}
@@ -0,0 +1,64 @@
1
+ import {jsx,jsxs}from'react/jsx-runtime';import {Palette,Zap,Code,Shield,Smartphone,Globe}from'lucide-react';import {Card,CardHeader,CardTitle,CardContent}from'@admin-layout/tailwind-ui';const features = [{
2
+ icon: Palette,
3
+ title: 'Multiple Themes',
4
+ description: 'Choose from Airbnb, Slack, GitHub, Spotify, and more professionally designed themes.'
5
+ }, {
6
+ icon: Zap,
7
+ title: 'Instant Switching',
8
+ description: 'Change themes instantly with CSS custom properties. No page reload required.'
9
+ }, {
10
+ icon: Code,
11
+ title: 'Developer Friendly',
12
+ description: 'Built with Tailwind CSS best practices. Easy to customize and extend.'
13
+ }, {
14
+ icon: Shield,
15
+ title: 'Production Ready',
16
+ description: 'Optimized for performance with minimal bundle size and fast loading.'
17
+ }, {
18
+ icon: Smartphone,
19
+ title: 'Responsive Design',
20
+ description: 'All themes are fully responsive and work perfectly on mobile devices.'
21
+ }, {
22
+ icon: Globe,
23
+ title: 'Modern Standards',
24
+ description: 'Built with modern web standards and accessibility in mind.'
25
+ }];
26
+ function FeaturesSection() {
27
+ return jsx("section", {
28
+ className: "py-20 px-4",
29
+ children: jsxs("div", {
30
+ className: "container mx-auto",
31
+ children: [jsxs("div", {
32
+ className: "text-center max-w-3xl mx-auto mb-16",
33
+ children: [jsx("h2", {
34
+ className: "text-3xl md:text-4xl font-bold mb-4",
35
+ children: "Why Choose Our Theme System?"
36
+ }), jsx("p", {
37
+ className: "text-lg text-muted-foreground",
38
+ children: "Built with the latest technologies and best practices for modern web development."
39
+ })]
40
+ }), jsx("div", {
41
+ className: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6",
42
+ children: features.map((feature, index) => jsxs(Card, {
43
+ className: "group hover:shadow-lg transition-all duration-200 border-border/50",
44
+ children: [jsxs(CardHeader, {
45
+ children: [jsx("div", {
46
+ className: "h-12 w-12 rounded-lg bg-gradient-primary flex items-center justify-center mb-4 group-hover:scale-110 transition-transform duration-200",
47
+ children: jsx(feature.icon, {
48
+ className: "h-6 w-6 text-primary-foreground"
49
+ })
50
+ }), jsx(CardTitle, {
51
+ className: "text-xl",
52
+ children: feature.title
53
+ })]
54
+ }), jsx(CardContent, {
55
+ children: jsx("p", {
56
+ className: "text-muted-foreground",
57
+ children: feature.description
58
+ })
59
+ })]
60
+ }, index))
61
+ })]
62
+ })
63
+ });
64
+ }export{FeaturesSection};//# sourceMappingURL=FeaturesSection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FeaturesSection.js","sources":["../../../src/components/ThemeShowCase/FeaturesSection.tsx"],"sourcesContent":[null],"names":["_jsx","_jsxs"],"mappings":"2LAGA,MAAM,QAAQ,GAAG,CAAA;AACb,EAAA,IAAA,EAAA,OAAA;AACI,EAAA,KAAA,EAAA,iBAAa;AACb,EAAA,WAAK,EAAE;AACP,CAAA,EAAA;AACH,EAAA,IAAA,EAAA,GAAA;AACD,EAAA,KAAA,EAAA,mBAAA;AACI,EAAA,aAAS;AACT,CAAA,EAAA;AACA,EAAA,IAAA,EAAA,IAAA;AACH,EAAA,KAAA,EAAA,oBAAA;AACD,EAAA,WAAA,EAAA;AACI,CAAA,EAAA;AACA,EAAA,IAAA,EAAA;AACA,EAAA,KAAA,EAAA,kBAAoF;AACvF,EAAA,WAAA,EAAA;AACD,CAAA,EAAA;AACI,EAAA,IAAA,EAAA,UAAY;AACZ,EAAA,KAAA,EAAA,mBAAyB;AACzB,EAAA,WAAA,EAAA;AACH,CAAA,EAAA;AACD,EAAA,IAAA,EAAA,KAAA;AACI,EAAA,KAAA,EAAA,kBAAgB;AAChB,EAAA,WAAK,EAAE;AACP,CAAA,CAAA;AACH,SAAA,eAAA,GAAA;AACD,EAAA,OAAAA,GAAA,CAAA,SAAA,EAAA;AACI,IAAA,WAAW,YAAA;AACX,IAAA,QAAA,MAAyB,CAAA,KAAA,EAAA;AACzB,MAAA,SAAA,EAAA,mBAAyE;AAC5E,MAAA,QAAA,EAAA,CAAAC,IAAA,CAAA,KAAA,EAAA;QACH,SAAA,EAAA,qCAAA;AAEF,gBAAgB,EAAe,CAAAD,GAAA,CAAA,IAAA,EAAA;UACpB,gDAEC;AA6BZ,UAAC,QAAA,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,2 @@
1
+ export declare function HeroSection(): import("react/jsx-runtime").JSX.Element;
2
+ //# sourceMappingURL=HeroSection.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HeroSection.d.ts","sourceRoot":"","sources":["../../../src/components/ThemeShowCase/HeroSection.tsx"],"names":[],"mappings":"AAKA,wBAAgB,WAAW,4CAiE1B"}
@@ -0,0 +1,92 @@
1
+ import {jsx,jsxs}from'react/jsx-runtime';import {ArrowRight,Star,Users,Zap}from'lucide-react';import {Badge,Button,Card,CardContent}from'@admin-layout/tailwind-ui';function HeroSection() {
2
+ return jsx("section", {
3
+ className: "py-20 px-4 bg-gradient-secondary",
4
+ children: jsxs("div", {
5
+ className: "container mx-auto text-center",
6
+ children: [jsxs("div", {
7
+ className: "max-w-4xl mx-auto space-y-8",
8
+ children: [jsx(Badge, {
9
+ variant: "secondary",
10
+ className: "mb-4",
11
+ children: "\u2728 Multi-Theme Website Template"
12
+ }), jsxs("h1", {
13
+ className: "text-4xl md:text-6xl font-bold tracking-tight",
14
+ children: ["Beautiful Themes for", jsx("span", {
15
+ className: "bg-gradient-brand bg-clip-text text-transparent block",
16
+ children: "Every Brand"
17
+ })]
18
+ }), jsx("p", {
19
+ className: "text-xl text-muted-foreground max-w-2xl mx-auto",
20
+ children: "Experience seamless theme switching with our professionally crafted design system. From Airbnb's warmth to Spotify's energy, find the perfect look for your brand."
21
+ }), jsxs("div", {
22
+ className: "flex flex-col sm:flex-row gap-4 justify-center",
23
+ children: [jsxs(Button, {
24
+ size: "lg",
25
+ className: "gap-2",
26
+ children: ["Get Started ", jsx(ArrowRight, {
27
+ className: "h-4 w-4"
28
+ })]
29
+ }), jsx(Button, {
30
+ size: "lg",
31
+ variant: "outline",
32
+ children: "View Themes"
33
+ })]
34
+ })]
35
+ }), jsxs("div", {
36
+ className: "grid grid-cols-1 md:grid-cols-3 gap-6 mt-20 max-w-3xl mx-auto",
37
+ children: [jsx(Card, {
38
+ className: "border-none bg-background/50 backdrop-blur",
39
+ children: jsxs(CardContent, {
40
+ className: "p-6 text-center",
41
+ children: [jsx("div", {
42
+ className: "h-12 w-12 rounded-full bg-gradient-primary mx-auto mb-4 flex items-center justify-center",
43
+ children: jsx(Star, {
44
+ className: "h-6 w-6 text-primary-foreground"
45
+ })
46
+ }), jsx("h3", {
47
+ className: "text-2xl font-bold",
48
+ children: "5"
49
+ }), jsx("p", {
50
+ className: "text-muted-foreground",
51
+ children: "Premium Themes"
52
+ })]
53
+ })
54
+ }), jsx(Card, {
55
+ className: "border-none bg-background/50 backdrop-blur",
56
+ children: jsxs(CardContent, {
57
+ className: "p-6 text-center",
58
+ children: [jsx("div", {
59
+ className: "h-12 w-12 rounded-full bg-gradient-primary mx-auto mb-4 flex items-center justify-center",
60
+ children: jsx(Users, {
61
+ className: "h-6 w-6 text-primary-foreground"
62
+ })
63
+ }), jsx("h3", {
64
+ className: "text-2xl font-bold",
65
+ children: "10K+"
66
+ }), jsx("p", {
67
+ className: "text-muted-foreground",
68
+ children: "Happy Users"
69
+ })]
70
+ })
71
+ }), jsx(Card, {
72
+ className: "border-none bg-background/50 backdrop-blur",
73
+ children: jsxs(CardContent, {
74
+ className: "p-6 text-center",
75
+ children: [jsx("div", {
76
+ className: "h-12 w-12 rounded-full bg-gradient-primary mx-auto mb-4 flex items-center justify-center",
77
+ children: jsx(Zap, {
78
+ className: "h-6 w-6 text-primary-foreground"
79
+ })
80
+ }), jsx("h3", {
81
+ className: "text-2xl font-bold",
82
+ children: "0.1s"
83
+ }), jsx("p", {
84
+ className: "text-muted-foreground",
85
+ children: "Theme Switch"
86
+ })]
87
+ })
88
+ })]
89
+ })]
90
+ })
91
+ });
92
+ }export{HeroSection};//# sourceMappingURL=HeroSection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HeroSection.js","sources":["../../../src/components/ThemeShowCase/HeroSection.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":"6KAKgB,WAAW,GAAA;SAChBA;AAgEX,IAAC,SAAA,EAAA,kCAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,2 @@
1
+ export declare function ThemeShowcase(): import("react/jsx-runtime").JSX.Element;
2
+ //# sourceMappingURL=ThemeShowcase.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ThemeShowcase.d.ts","sourceRoot":"","sources":["../../../src/components/ThemeShowCase/ThemeShowcase.tsx"],"names":[],"mappings":"AAwCA,wBAAgB,aAAa,4CAmL5B"}
@@ -0,0 +1,242 @@
1
+ import {jsx,jsxs}from'react/jsx-runtime';import {Sun,Moon,Eye,Palette,Code,Check}from'lucide-react';import {useTheme,Button,Badge,Card,CardHeader,CardTitle,CardContent,Label,Input}from'@admin-layout/tailwind-ui';const themeData = {
2
+ airbnb: {
3
+ name: 'Airbnb',
4
+ description: 'Warm and welcoming design inspired by the travel platform',
5
+ color: '#FF5A5F',
6
+ features: ['Coral primary color', 'Friendly typography', 'Warm shadows', 'Travel-focused UI']
7
+ },
8
+ slack: {
9
+ name: 'Slack',
10
+ description: 'Professional workspace theme with purple accents',
11
+ color: '#4A154B',
12
+ features: ['Purple brand colors', 'Clean workspace UI', 'Professional feel', 'Team collaboration']
13
+ },
14
+ github: {
15
+ name: 'GitHub',
16
+ description: 'Developer-focused theme with clean aesthetics',
17
+ color: '#24292F',
18
+ features: ['Monospace friendly', 'Clean borders', 'Developer tools', 'Code-focused design']
19
+ },
20
+ spotify: {
21
+ name: 'Spotify',
22
+ description: 'Dark theme with vibrant green accents for music lovers',
23
+ color: '#1DB954',
24
+ features: ['Dark background', 'Vibrant green', 'Music player UI', 'Entertainment focus']
25
+ }
26
+ };
27
+ function ThemeShowcase() {
28
+ const {
29
+ theme,
30
+ mode,
31
+ setTheme,
32
+ toggleMode
33
+ } = useTheme();
34
+ const handleThemeChange = selectedTheme => {
35
+ setTheme(selectedTheme);
36
+ };
37
+ return jsx("section", {
38
+ className: "py-20 px-4 bg-muted/30",
39
+ children: jsxs("div", {
40
+ className: "container mx-auto",
41
+ children: [jsxs("div", {
42
+ className: "text-center max-w-3xl mx-auto mb-16",
43
+ children: [jsx("h2", {
44
+ className: "text-3xl md:text-4xl font-bold mb-4",
45
+ children: "Explore Our Themes"
46
+ }), jsx("p", {
47
+ className: "text-lg text-muted-foreground",
48
+ children: "Each theme is carefully crafted to match the brand aesthetic and user experience of popular platforms. Click to preview any theme instantly."
49
+ }), jsxs("div", {
50
+ className: "flex items-center justify-center gap-4 mt-8",
51
+ children: [jsxs(Button, {
52
+ variant: "outline",
53
+ size: "sm",
54
+ onClick: toggleMode,
55
+ className: "gap-2",
56
+ children: [mode === 'dark' ? jsx(Sun, {
57
+ className: "h-4 w-4"
58
+ }) : jsx(Moon, {
59
+ className: "h-4 w-4"
60
+ }), "Switch to ", mode === 'dark' ? 'Light' : 'Dark', " Mode"]
61
+ }), jsxs(Badge, {
62
+ variant: "secondary",
63
+ className: "gap-1",
64
+ children: [jsx(Eye, {
65
+ className: "h-3 w-3"
66
+ }), "Currently: ", mode.toLocaleUpperCase(), " Mode"]
67
+ })]
68
+ })]
69
+ }), jsxs("div", {
70
+ className: "grid grid-cols-1 lg:grid-cols-3 gap-6 mb-16",
71
+ children: [jsxs(Card, {
72
+ className: "themed-card",
73
+ children: [jsx(CardHeader, {
74
+ children: jsxs(CardTitle, {
75
+ className: "flex items-center gap-2",
76
+ children: [jsx(Palette, {
77
+ className: "h-5 w-5"
78
+ }), "Themed Components"]
79
+ })
80
+ }), jsxs(CardContent, {
81
+ className: "space-y-4",
82
+ children: [jsxs("div", {
83
+ className: "space-y-2",
84
+ children: [jsx(Label, {
85
+ htmlFor: "demo-input",
86
+ children: "Sample Input"
87
+ }), jsx(Input, {
88
+ id: "demo-input",
89
+ placeholder: "Type something...",
90
+ className: "themed-input focus-themed"
91
+ })]
92
+ }), jsx(Button, {
93
+ className: "themed-button w-full interactive-hover",
94
+ children: "Themed Button"
95
+ }), jsxs("div", {
96
+ className: "grid grid-cols-2 gap-2",
97
+ children: [jsx(Badge, {
98
+ className: "bg-success text-white",
99
+ children: "Success"
100
+ }), jsx(Badge, {
101
+ className: "bg-warning text-black",
102
+ children: "Warning"
103
+ })]
104
+ })]
105
+ })]
106
+ }), jsxs(Card, {
107
+ className: "themed-card",
108
+ children: [jsx(CardHeader, {
109
+ children: jsxs(CardTitle, {
110
+ className: "flex items-center gap-2",
111
+ children: [jsx(Code, {
112
+ className: "h-5 w-5"
113
+ }), "Design Tokens"]
114
+ })
115
+ }), jsxs(CardContent, {
116
+ className: "space-y-4",
117
+ children: [jsxs("div", {
118
+ className: "space-y-2",
119
+ children: [jsxs("div", {
120
+ className: "themed-code",
121
+ children: ["--primary:", ' ', theme === 'airbnb' ? '0 100% 60%' : theme === 'slack' ? '289 100% 32%' : theme === 'github' ? '213 13% 13%' : '141 76% 48%']
122
+ }), jsxs("div", {
123
+ className: "themed-code",
124
+ children: ["--radius: ", theme === 'spotify' ? '1rem' : theme === 'github' ? '0.25rem' : '0.5rem']
125
+ })]
126
+ }), jsxs("div", {
127
+ className: "grid grid-cols-4 gap-2",
128
+ children: [jsx("div", {
129
+ className: "h-8 bg-primary rounded-themed"
130
+ }), jsx("div", {
131
+ className: "h-8 bg-secondary rounded-themed"
132
+ }), jsx("div", {
133
+ className: "h-8 bg-accent rounded-themed"
134
+ }), jsx("div", {
135
+ className: "h-8 bg-muted rounded-themed"
136
+ })]
137
+ })]
138
+ })]
139
+ }), jsxs(Card, {
140
+ className: "themed-card",
141
+ children: [jsx(CardHeader, {
142
+ children: jsxs(CardTitle, {
143
+ className: "flex items-center gap-2",
144
+ children: [jsx(Eye, {
145
+ className: "h-5 w-5"
146
+ }), "Visual Effects"]
147
+ })
148
+ }), jsxs(CardContent, {
149
+ className: "space-y-4",
150
+ children: [jsx("div", {
151
+ className: "p-4 bg-gradient-primary rounded-themed-lg text-primary-foreground",
152
+ children: jsx("p", {
153
+ className: "text-sm font-medium",
154
+ children: "Primary Gradient"
155
+ })
156
+ }), jsxs("div", {
157
+ className: "grid grid-cols-2 gap-2",
158
+ children: [jsx("div", {
159
+ className: "h-12 shadow-themed-sm bg-card rounded-themed"
160
+ }), jsx("div", {
161
+ className: "h-12 shadow-themed-lg bg-card rounded-themed"
162
+ })]
163
+ }), jsx("p", {
164
+ className: "text-xs text-muted-foreground",
165
+ children: "Shadows and effects adapt to each theme"
166
+ })]
167
+ })]
168
+ })]
169
+ }), jsx("div", {
170
+ className: "grid grid-cols-1 md:grid-cols-2 gap-8 max-w-6xl mx-auto",
171
+ children: Object.entries(themeData).map(([key, themeInfo]) => {
172
+ const isActive = theme === key;
173
+ return jsxs(Card, {
174
+ className: `group cursor-pointer transition-all duration-200 hover:shadow-lg `,
175
+ children: [jsxs(CardHeader, {
176
+ children: [jsxs("div", {
177
+ className: "flex items-center justify-between",
178
+ children: [jsxs("div", {
179
+ className: "flex items-center gap-3",
180
+ children: [jsx("div", {
181
+ className: "h-8 w-8 rounded-full border-2 border-white shadow-sm",
182
+ style: {
183
+ backgroundColor: themeInfo.color
184
+ }
185
+ }), jsx(CardTitle, {
186
+ className: "text-xl",
187
+ children: themeInfo.name
188
+ })]
189
+ }), isActive && jsxs(Badge, {
190
+ variant: "default",
191
+ className: "gap-1",
192
+ children: [jsx(Check, {
193
+ className: "h-3 w-3"
194
+ }), "Active"]
195
+ })]
196
+ }), jsx("p", {
197
+ className: "text-muted-foreground",
198
+ children: themeInfo.description
199
+ })]
200
+ }), jsx(CardContent, {
201
+ children: jsxs("div", {
202
+ className: "space-y-4",
203
+ children: [jsx("div", {
204
+ className: "grid grid-cols-2 gap-2",
205
+ children: themeInfo.features.map((feature, index) => jsxs("div", {
206
+ className: "flex items-center gap-2 text-sm",
207
+ children: [jsx(Check, {
208
+ className: "h-3 w-3 text-success"
209
+ }), jsx("span", {
210
+ children: feature
211
+ })]
212
+ }, index))
213
+ }), jsx("div", {
214
+ className: "pt-2",
215
+ children: jsxs(Button, {
216
+ variant: isActive ? 'default' : 'outline',
217
+ className: "w-full",
218
+ onClick: e => {
219
+ e.stopPropagation();
220
+ handleThemeChange(key);
221
+ },
222
+ children: [isActive ? 'Currently Active' : 'Apply Theme', "Apply Theme"]
223
+ })
224
+ })]
225
+ })
226
+ })]
227
+ }, key);
228
+ })
229
+ }), jsxs("div", {
230
+ className: "text-center mt-12",
231
+ children: [jsx("p", {
232
+ className: "text-muted-foreground mb-6",
233
+ children: "Want to see all themes? Open the settings drawer to explore more options."
234
+ }), jsx(Button, {
235
+ variant: "outline",
236
+ size: "lg",
237
+ children: "View All Themes"
238
+ })]
239
+ })]
240
+ })
241
+ });
242
+ }export{ThemeShowcase};//# sourceMappingURL=ThemeShowcase.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ThemeShowcase.js","sources":["../../../src/components/ThemeShowCase/ThemeShowcase.tsx"],"sourcesContent":[null],"names":["_jsx","_jsxs"],"mappings":"oNAaA,MAAM,SAAS,GAAG;AACd,EAAA,MAAA,EAAM;AACF,IAAA,IAAA,EAAA,QAAc;AACd,IAAA,WAAA,EAAA,2DAAwE;AACxE,IAAA,KAAA,EAAA,SAAgB;YACR,EAAA,CAAA,qBAAwB,EAAA,qCAAyB,EAAA,mBAAgB;AAC5E,GAAA;AACD,EAAA,KAAA,EAAK;AACD,IAAA,IAAA,EAAA,OAAa;AACb,IAAA,WAAA,EAAA,kDAA+D;AAC/D,IAAA,KAAA,EAAA,SAAgB;YACR,EAAA,CAAA,qBAAwB,EAAA,yCAAwB,EAAA,oBAAqB;AAChF,GAAA;AACD,EAAA,MAAA,EAAM;AACF,IAAA,IAAA,EAAA,QAAc;AACd,IAAA,WAAA,EAAA,+CAA4D;AAC5D,IAAA,KAAA,EAAA,SAAgB;YACR,EAAA,CAAA,oBAAuB,EAAA,kCAAmB,EAAA,qBAAmB;AACxE,GAAA;AACD,EAAA,OAAA,EAAO;AACH,IAAA,IAAA,EAAA,SAAe;AACf,IAAA,WAAA,EAAA,wDAAqE;AACrE,IAAA,KAAA,EAAA,SAAgB;YACR,EAAA,CAAA,iBAAoB,EAAA,kCAAmB,EAAA,qBAAmB;AACrE;CACJ;SAEe,aAAa,GAAA;AACzB,EAAA,MAAA;AAEA,IAAA,KAAA;QACI;AACJ,IAAA,QAAE;AAEF,IAAA;AA6DoC,GAAA,GAAA,QAAA,EAAA;;AAEA,IAAA,QAAA,CAAA,aAAA,CAAA;;AAEA,EAAA,OAAAA,GAAA,CAAA,SAAA,EAAA;AACA,IAAA,SAAA,EAAA,wBAAA;AAqChB,IAAA,QAAA,EAAAC,IAAA,CAAA,KAAA,EAAA;AAEA,MAAA,SAAA,EAAA,mBACK;;wDAyCuB;AACJ,QAAA,QAAA,EAAA,CAAAD,GAAA,CAAA,IAAA,EAAA;AAU5B,UAAA,SAAA,EAAC,qCAG6B;AAWlD,UAAC,QAAA,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,3 @@
1
+ declare const Index: () => import("react/jsx-runtime").JSX.Element;
2
+ export default Index;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/ThemeShowCase/index.tsx"],"names":[],"mappings":"AAIA,QAAA,MAAM,KAAK,+CAQV,CAAC;AAEF,eAAe,KAAK,CAAC"}
@@ -0,0 +1,6 @@
1
+ import {jsxs,jsx}from'react/jsx-runtime';import {HeroSection}from'./HeroSection.js';import {FeaturesSection}from'./FeaturesSection.js';import {ThemeShowcase}from'./ThemeShowcase.js';const Index = () => {
2
+ return jsxs("div", {
3
+ className: "min-h-screen bg-background",
4
+ children: [jsx(HeroSection, {}), jsx(FeaturesSection, {}), jsx(ThemeShowcase, {})]
5
+ });
6
+ };export{Index as default};//# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../src/components/ThemeShowCase/index.tsx"],"sourcesContent":[null],"names":["_jsxs","_jsx"],"mappings":"sLAIM,MAAA,KAAK,GAAG,MAAK;AACf,EAAA,OAAAA,IACS,CAAA,KAAA,EAAA;AAMb,IAAE,SAAA,EAAA,4BAAA;AAEF,IAAA,QAAA,EAAA,CAAeC,IAAK,WAAC,EAAA,EAAA,CAAA,EAAAA,GAAA,CAAA,eAAA,EAAA,EAAA,CAAA,EAAAA,GAAA,CAAA,aAAA,EAAA,EAAA,CAAA;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"Component.d.ts","sourceRoot":"","sources":["../../../../src/components/exception/403/Component.tsx"],"names":[],"mappings":"AAIA,iBAAS,SAAS,4CAwBjB;AAED,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"Component.d.ts","sourceRoot":"","sources":["../../../../src/components/exception/403/Component.tsx"],"names":[],"mappings":"AAIA,iBAAS,SAAS,4CAiBjB;AAED,eAAe,SAAS,CAAC"}
@@ -1,36 +1,26 @@
1
- import {jsx,jsxs}from'react/jsx-runtime';import {useTranslation}from'react-i18next';import {useLayoutSettings}from'@admin-layout/client';function Component() {
1
+ import {jsx,jsxs}from'react/jsx-runtime';import {useTranslation}from'react-i18next';import {Button}from'@admin-layout/tailwind-ui';function Component() {
2
2
  const {
3
3
  t
4
4
  } = useTranslation();
5
- const {
6
- settings: layoutSettings,
7
- setSettings
8
- } = useLayoutSettings();
9
5
  return jsx("div", {
10
- className: "w-full h-screen min-h-full bg-white rounded-lg shadow p-6 flex flex-col items-center justify-center",
6
+ className: "w-full h-screen min-h-full bg-background text-foreground themed-card flex flex-col items-center justify-center p-6",
11
7
  children: jsxs("div", {
12
8
  className: "flex flex-col items-center justify-center space-y-4",
13
9
  children: [jsx("div", {
14
- className: "text-8xl font-bold",
15
- style: {
16
- color: layoutSettings?.primaryColor
17
- },
10
+ className: "text-8xl font-bold text-primary",
18
11
  children: jsx("span", {
19
12
  children: "403"
20
13
  })
21
14
  }), jsx("h1", {
22
- className: "text-2xl font-bold text-gray-800",
15
+ className: "text-2xl font-bold text-foreground",
23
16
  children: "403"
24
17
  }), jsx("p", {
25
- className: "text-gray-600",
18
+ className: "text-muted-foreground",
26
19
  children: t('not_authorized')
27
20
  }), jsx("div", {
28
21
  className: "mt-4",
29
- children: jsx("button", {
30
- className: "px-4 py-2 text-white rounded hover:bg-blue-600 transition-colors",
31
- style: {
32
- backgroundColor: layoutSettings?.primaryColor
33
- },
22
+ children: jsx(Button, {
23
+ className: "themed-button",
34
24
  children: t('back_home')
35
25
  })
36
26
  })]
@@ -1 +1 @@
1
- {"version":3,"file":"Component.js","sources":["../../../../src/components/exception/403/Component.tsx"],"sourcesContent":[null],"names":[],"mappings":"yIAIA,SAAS,SAAS,GAAA;AACd,EAAA,MAAA;IAEA;AAEA,GAAA,GAAA,cACI,EAAA;AAkBR,EAAC,MAAA;AAED,IAAA,QAAA,EAAA,cAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"Component.js","sources":["../../../../src/components/exception/403/Component.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":"mIAIA,SAAS,SAAS,GAAA;AACd,EAAA,MAAA;IAEA;AAcJ,GAAC,GAAA,cAAA,EAAA;AAED,EAAA,OAAAA,GAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"Component.d.ts","sourceRoot":"","sources":["../../../../src/components/exception/404/Component.tsx"],"names":[],"mappings":"AAIA,iBAAS,SAAS,4CAuBjB;AAED,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"Component.d.ts","sourceRoot":"","sources":["../../../../src/components/exception/404/Component.tsx"],"names":[],"mappings":"AAIA,iBAAS,SAAS,4CAiBjB;AAED,eAAe,SAAS,CAAC"}
@@ -1,36 +1,26 @@
1
- import {jsx,jsxs}from'react/jsx-runtime';import {useLayoutSettings}from'@admin-layout/client';import {useTranslation}from'react-i18next';function Component() {
1
+ import {jsx,jsxs}from'react/jsx-runtime';import {useTranslation}from'react-i18next';import {Button}from'@admin-layout/tailwind-ui';function Component() {
2
2
  const {
3
3
  t
4
4
  } = useTranslation();
5
- const {
6
- settings: layoutSettings,
7
- setSettings
8
- } = useLayoutSettings();
9
5
  return jsx("div", {
10
- className: "w-full h-screen min-h-full bg-white rounded-lg shadow p-6 flex flex-col items-center justify-center",
6
+ className: "w-full h-screen min-h-full bg-background text-foreground themed-card flex flex-col items-center justify-center p-6",
11
7
  children: jsxs("div", {
12
8
  className: "flex flex-col items-center justify-center space-y-4",
13
9
  children: [jsx("div", {
14
- className: "text-8xl font-bold",
15
- style: {
16
- color: layoutSettings?.primaryColor
17
- },
10
+ className: "text-8xl font-bold text-primary",
18
11
  children: jsx("span", {
19
12
  children: "404"
20
13
  })
21
14
  }), jsx("h1", {
22
- className: "text-2xl font-bold text-gray-800",
15
+ className: "text-2xl font-bold text-foreground",
23
16
  children: "404"
24
17
  }), jsx("p", {
25
- className: "text-gray-600",
18
+ className: "text-muted-foreground",
26
19
  children: t('visit_not_exist')
27
20
  }), jsx("div", {
28
21
  className: "mt-4",
29
- children: jsx("button", {
30
- className: "px-4 py-2 text-white rounded hover:bg-blue-600 transition-colors",
31
- style: {
32
- backgroundColor: layoutSettings?.primaryColor
33
- },
22
+ children: jsx(Button, {
23
+ className: "themed-button",
34
24
  children: t('back_home')
35
25
  })
36
26
  })]
@@ -1 +1 @@
1
- {"version":3,"file":"Component.js","sources":["../../../../src/components/exception/404/Component.tsx"],"sourcesContent":[null],"names":[],"mappings":"yIAIA,SAAS,SAAS,GAAA;AACd,EAAA,MAAA;IACA;AAEA,GAAA,GAAA,cACI,EAAA;AAkBR,EAAC,MAAA;AAED,IAAA,QAAA,EAAA,cAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"Component.js","sources":["../../../../src/components/exception/404/Component.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":"mIAIA,SAAS,SAAS,GAAA;AACd,EAAA,MAAA;IAEA;AAcJ,GAAC,GAAA,cAAA,EAAA;AAED,EAAA,OAAAA,GAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"Component.d.ts","sourceRoot":"","sources":["../../../../src/components/exception/500/Component.tsx"],"names":[],"mappings":"AAIA,iBAAS,SAAS,4CAuBjB;AAED,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"Component.d.ts","sourceRoot":"","sources":["../../../../src/components/exception/500/Component.tsx"],"names":[],"mappings":"AAIA,iBAAS,SAAS,4CAiBjB;AAED,eAAe,SAAS,CAAC"}
@@ -1,36 +1,26 @@
1
- import {jsx,jsxs}from'react/jsx-runtime';import {useLayoutSettings}from'@admin-layout/client';import {useTranslation}from'react-i18next';function Component() {
1
+ import {jsx,jsxs}from'react/jsx-runtime';import {useTranslation}from'react-i18next';import {Button}from'@admin-layout/tailwind-ui';function Component() {
2
2
  const {
3
3
  t
4
4
  } = useTranslation();
5
- const {
6
- settings: layoutSettings,
7
- setSettings
8
- } = useLayoutSettings();
9
5
  return jsx("div", {
10
- className: "w-full h-screen min-h-full bg-white rounded-lg shadow p-6 flex flex-col items-center justify-center",
6
+ className: "w-full h-screen min-h-full bg-background text-foreground themed-card flex flex-col items-center justify-center p-6",
11
7
  children: jsxs("div", {
12
8
  className: "flex flex-col items-center justify-center space-y-4",
13
9
  children: [jsx("div", {
14
- className: "text-8xl font-bold",
15
- style: {
16
- color: layoutSettings?.primaryColor
17
- },
10
+ className: "text-8xl font-bold text-primary",
18
11
  children: jsx("span", {
19
12
  children: "500"
20
13
  })
21
14
  }), jsx("h1", {
22
- className: "text-2xl font-bold text-gray-800",
15
+ className: "text-2xl font-bold text-foreground",
23
16
  children: "500"
24
17
  }), jsx("p", {
25
- className: "text-gray-600",
18
+ className: "text-muted-foreground",
26
19
  children: t('server_error')
27
20
  }), jsx("div", {
28
21
  className: "mt-4",
29
- children: jsx("button", {
30
- className: "px-4 py-2 text-white rounded hover:bg-blue-600 transition-colors",
31
- style: {
32
- backgroundColor: layoutSettings?.primaryColor
33
- },
22
+ children: jsx(Button, {
23
+ className: "themed-button",
34
24
  children: t('back_home')
35
25
  })
36
26
  })]
@@ -1 +1 @@
1
- {"version":3,"file":"Component.js","sources":["../../../../src/components/exception/500/Component.tsx"],"sourcesContent":[null],"names":[],"mappings":"yIAIA,SAAS,SAAS,GAAA;AACd,EAAA,MAAA;IACA;AAEA,GAAA,GAAA,cACI,EAAA;AAkBR,EAAC,MAAA;AAED,IAAA,QAAA,EAAA,cAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"Component.js","sources":["../../../../src/components/exception/500/Component.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":"mIAIA,SAAS,SAAS,GAAA;AACd,EAAA,MAAA;IAEA;AAcJ,GAAC,GAAA,cAAA,EAAA;AAED,EAAA,OAAAA,GAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"Component.d.ts","sourceRoot":"","sources":["../../../../src/components/result/fail/Component.tsx"],"names":[],"mappings":"AAIA,iBAAS,SAAS,4CAqDjB;AAED,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"Component.d.ts","sourceRoot":"","sources":["../../../../src/components/result/fail/Component.tsx"],"names":[],"mappings":"AAIA,iBAAS,SAAS,4CA+CjB;AAED,eAAe,SAAS,CAAC"}
@@ -1,60 +1,51 @@
1
- import {jsxs,jsx}from'react/jsx-runtime';import {useLayoutSettings}from'@admin-layout/client';import {IoCloseCircleOutline}from'@react-icons/all-files/io5/IoCloseCircleOutline.js';import {useTranslation}from'react-i18next';function Component() {
1
+ import {jsxs,jsx}from'react/jsx-runtime';import {IoCloseCircleOutline}from'@react-icons/all-files/io5/IoCloseCircleOutline.js';import {useTranslation}from'react-i18next';import {Button}from'@admin-layout/tailwind-ui';function Component() {
2
2
  const {
3
3
  t
4
4
  } = useTranslation();
5
- const {
6
- settings: layoutSettings,
7
- setSettings
8
- } = useLayoutSettings();
9
5
  return jsxs("div", {
10
- className: "flex flex-col items-center justify-center min-h-screen bg-gray-100 p-4",
6
+ className: "flex flex-col items-center justify-center min-h-screen bg-background text-foreground p-4",
11
7
  children: [jsx("div", {
12
- className: "text-6xl mb-4",
13
- style: {
14
- color: layoutSettings?.primaryColor
15
- },
8
+ className: "text-error text-6xl mb-4",
16
9
  children: jsx(IoCloseCircleOutline, {})
17
10
  }), jsx("h1", {
18
- className: "text-2xl font-bold text-gray-900 mb-2",
11
+ className: "text-2xl font-bold text-foreground mb-2",
19
12
  children: t('submission_failed')
20
13
  }), jsx("p", {
21
- className: "text-gray-600 mb-6",
14
+ className: "text-muted-foreground mb-6",
22
15
  children: t('check_modify_information_fail')
23
16
  }), jsxs("div", {
24
17
  className: "flex space-x-4",
25
- children: [jsx("button", {
26
- className: "text-white px-4 py-2 rounded hover:bg-blue-600",
27
- style: {
28
- backgroundColor: layoutSettings?.primaryColor
29
- },
18
+ children: [jsx(Button, {
19
+ className: "themed-button",
30
20
  children: t('go_console')
31
- }), jsx("button", {
32
- className: "bg-white text-gray-700 px-4 py-2 rounded border border-gray-300 hover:bg-gray-50",
21
+ }), jsx(Button, {
22
+ variant: "outline",
23
+ className: "border-border text-foreground hover:bg-muted",
33
24
  children: t('buy_again')
34
25
  })]
35
26
  }), jsxs("div", {
36
27
  className: "mt-8 text-left w-full max-w-md",
37
28
  children: [jsxs("p", {
38
- className: "text-lg font-semibold text-gray-900 mb-4",
29
+ className: "text-lg font-semibold text-foreground mb-4",
39
30
  children: [t('content_submitted_following_error'), ":"]
40
31
  }), jsxs("div", {
41
32
  className: "space-y-2",
42
33
  children: [jsxs("p", {
43
- className: "flex items-center text-gray-700",
34
+ className: "flex items-center text-muted-foreground",
44
35
  children: [jsx(IoCloseCircleOutline, {
45
- className: "text-red-500 mr-2"
36
+ className: "text-error mr-2"
46
37
  }), t('account_frozen'), ' ', jsxs("a", {
47
38
  href: "#",
48
- className: "text-blue-500 hover:underline ml-1",
39
+ className: "text-primary hover:underline ml-1",
49
40
  children: [t('thaw_immediately'), " >"]
50
41
  })]
51
42
  }), jsxs("p", {
52
- className: "flex items-center text-gray-700",
43
+ className: "flex items-center text-muted-foreground",
53
44
  children: [jsx(IoCloseCircleOutline, {
54
- className: "text-red-500 mr-2"
45
+ className: "text-error mr-2"
55
46
  }), t('account_not_yet_eligible'), ' ', jsxs("a", {
56
47
  href: "#",
57
- className: "text-blue-500 hover:underline ml-1",
48
+ className: "text-primary hover:underline ml-1",
58
49
  children: [t('apply_unlock'), " >"]
59
50
  })]
60
51
  })]
@@ -1 +1 @@
1
- {"version":3,"file":"Component.js","sources":["../../../../src/components/result/fail/Component.tsx"],"sourcesContent":[null],"names":[],"mappings":"+NAIA,SAAS,SAAS,GAAA;AACd,EAAA,MAAA;IACA;AAEA,GAAA,GAAA,cACS,EAAA;AAgDb,EAAC,MAAA;AAED,IAAA,QAAA,EAAA,cAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"Component.js","sources":["../../../../src/components/result/fail/Component.tsx"],"sourcesContent":[null],"names":["_jsxs"],"mappings":"yNAIA,SAAS,SAAS,GAAA;AACd,EAAA,MAAA;AAEA,IAAA;AA4CJ,GAAC,GAAA,cAAA,EAAA;AAED,EAAA,OAAAA,IAAA,CAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"Component.d.ts","sourceRoot":"","sources":["../../../../src/components/result/success/Component.tsx"],"names":[],"mappings":"AAEA,iBAAS,SAAS,4CAmCjB;AAED,eAAe,SAAS,CAAC"}
1
+ {"version":3,"file":"Component.d.ts","sourceRoot":"","sources":["../../../../src/components/result/success/Component.tsx"],"names":[],"mappings":"AAIA,iBAAS,SAAS,4CAyBjB;AAED,eAAe,SAAS,CAAC"}
@@ -1,37 +1,28 @@
1
- import {jsxs,jsx}from'react/jsx-runtime';import {useTranslation}from'react-i18next';function Component() {
1
+ import {jsxs,jsx}from'react/jsx-runtime';import {useTranslation}from'react-i18next';import {Button}from'@admin-layout/tailwind-ui';import {CheckCircle}from'lucide-react';function Component() {
2
2
  const {
3
3
  t
4
4
  } = useTranslation();
5
5
  return jsxs("div", {
6
- className: "flex flex-col items-center justify-center min-h-screen bg-gray-100 p-4",
6
+ className: "flex flex-col items-center justify-center min-h-screen bg-background text-foreground p-4",
7
7
  children: [jsx("div", {
8
- className: "text-green-500 text-6xl mb-4",
9
- children: jsx("svg", {
10
- xmlns: "http://www.w3.org/2000/svg",
11
- className: "h-16 w-16",
12
- fill: "none",
13
- viewBox: "0 0 24 24",
14
- stroke: "currentColor",
15
- children: jsx("path", {
16
- strokeLinecap: "round",
17
- strokeLinejoin: "round",
18
- strokeWidth: 2,
19
- d: "M5 13l4 4L19 7"
20
- })
8
+ className: "text-success text-6xl mb-4",
9
+ children: jsx(CheckCircle, {
10
+ className: "h-16 w-16"
21
11
  })
22
12
  }), jsx("h1", {
23
- className: "text-2xl font-bold text-gray-900 mb-2",
13
+ className: "text-2xl font-bold text-foreground mb-2",
24
14
  children: t('submission_success')
25
15
  }), jsx("p", {
26
- className: "text-gray-600 mb-6",
16
+ className: "text-muted-foreground mb-6",
27
17
  children: t('check_modify_information_success')
28
18
  }), jsxs("div", {
29
19
  className: "flex space-x-4",
30
- children: [jsx("button", {
31
- className: "bg-blue-500 text-white px-4 py-2 rounded hover:bg-blue-600",
20
+ children: [jsx(Button, {
21
+ className: "themed-button",
32
22
  children: t('go_console')
33
- }), jsx("button", {
34
- className: "bg-white text-gray-700 px-4 py-2 rounded border border-gray-300 hover:bg-gray-50",
23
+ }), jsx(Button, {
24
+ variant: "outline",
25
+ className: "border-border text-foreground hover:bg-muted",
35
26
  children: t('buy_again')
36
27
  })]
37
28
  })]
@@ -1 +1 @@
1
- {"version":3,"file":"Component.js","sources":["../../../../src/components/result/success/Component.tsx"],"sourcesContent":[null],"names":["_jsxs"],"mappings":"oFAEA,SAAS,SAAS,GAAA;AACd,EAAA,MAAA;IAEA;AAgCJ,GAAC,GAAA,cAAA,EAAA;AAED,EAAA,OAAAA,IAAA,CAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"Component.js","sources":["../../../../src/components/result/success/Component.tsx"],"sourcesContent":[null],"names":["_jsxs"],"mappings":"0KAIA,SAAS,SAAS,GAAA;AACd,EAAA,MAAA;AAEA,IAAA;AAsBJ,GAAC,GAAA,cAAA,EAAA;AAED,EAAA,OAAAA,IAAA,CAAe;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"compute.d.ts","sourceRoot":"","sources":["../src/compute.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,UAAU,EAAE,GAsExB,CAAC;AAMF,QAAA,MAAM,aAAa,0CAA4C,CAAC;AAGhE,QAAA,MAAM,cAAc,0CAA6C,CAAC;AAElE,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,CAAC"}
1
+ {"version":3,"file":"compute.d.ts","sourceRoot":"","sources":["../src/compute.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,UAAU,EAAE,GAsHxB,CAAC;AAMF,QAAA,MAAM,aAAa,0CAA4C,CAAC;AAGhE,QAAA,MAAM,cAAc,0CAA6C,CAAC;AAElE,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,CAAC"}
package/lib/compute.js CHANGED
@@ -2,9 +2,37 @@ import { ORG_STD_ROUTES } from '@adminide-stack/core/lib/constants/urls.js';
2
2
  import { IMenuPosition } from '@common-stack/core';
3
3
  import { getFilteredMenus, getFilteredRoutes } from '@common-stack/client-react/lib/utils/filteredRoutes.js';
4
4
  const MainRoutes = [{
5
+ // exact: true,
6
+ key: 'home',
7
+ name: 'Home',
8
+ // extraIcons: [
9
+ // `rifi.${IIconRifi.RifiAllCategories}`,
10
+ // `rifi.${IIconRifi.RifiAppartments}`,
11
+ // `rifi.${IIconRifi.RifiArtStudio}`,
12
+ // `rifi.${IIconRifi.RifiBasketballCourt}`,
13
+ // `rifi.${IIconRifi.RifiBeautifulGardens}`,
14
+ // `rifi.${IIconRifi.RifiDocketBoat}`,
15
+ // `rifi.${IIconRifi.RifiFarmHouse}`,
16
+ // `rifi.${IIconRifi.RifiGuestHouse}`,
17
+ // `rifi.${IIconRifi.RifiHomeGym}`,
18
+ // `rifi.${IIconRifi.RifiHomeTheater}`,
19
+ // `rifi.${IIconRifi.RifiHostel}`,
20
+ // `rifi.${IIconRifi.RifiHotel}`,
21
+ // ],
22
+ // extraProps: {
23
+ // keyToMapIconsDescriptionInCategory: 'name',
24
+ // keyToMapIconsInCategory: 'icon',
25
+ // },
26
+ // index: true,
27
+ hideInMenu: true,
28
+ icon: '',
29
+ path: `${ORG_STD_ROUTES.ORG_BASE_PATH}/dashboard/test`,
30
+ componentPath: "@admin-layout/demo-tailwind-browser/lib/pages/Home.js",
31
+ hasComponent: true
32
+ }, {
5
33
  name: 'Exception',
6
34
  key: 'menu.exception',
7
- icon: '',
35
+ icon: 'IoMdSettings',
8
36
  path: `${ORG_STD_ROUTES.ORG_BASE_PATH}/exception`,
9
37
  position: IMenuPosition.Lower,
10
38
  exact: false,
@@ -43,7 +71,7 @@ const MainRoutes = [{
43
71
  }, {
44
72
  name: 'Result',
45
73
  key: 'menu.result',
46
- icon: '',
74
+ icon: 'IoIosClipboard',
47
75
  path: `${ORG_STD_ROUTES.ORG_BASE_PATH}/result`,
48
76
  position: IMenuPosition.Lower,
49
77
  auth: true,
@@ -70,6 +98,26 @@ const MainRoutes = [{
70
98
  priority: 2,
71
99
  componentPath: "@admin-layout/demo-tailwind-browser/lib/components/result/fail/Component.js",
72
100
  hasComponent: true
101
+ }, {
102
+ name: 'ThemeShowCase',
103
+ key: 'menu.themeShowCase',
104
+ path: `${ORG_STD_ROUTES.ORG_BASE_PATH}/themeShowCase`,
105
+ auth: true,
106
+ position: IMenuPosition.Lower,
107
+ exact: true,
108
+ priority: 2,
109
+ componentPath: "@admin-layout/demo-tailwind-browser/lib/components/ThemeShowCase/index.js",
110
+ hasComponent: true
111
+ }, {
112
+ name: 'OTP Example',
113
+ key: 'menu.otp',
114
+ path: `${ORG_STD_ROUTES.ORG_BASE_PATH}/otp-example`,
115
+ auth: true,
116
+ position: IMenuPosition.Lower,
117
+ exact: true,
118
+ priority: 2,
119
+ componentPath: "@admin-layout/demo-tailwind-browser/lib/components/OTPExamples.js",
120
+ hasComponent: true
73
121
  }];
74
122
  // Using '*' to select all routes and menus
75
123
  const selectedAll = '*';
@@ -1 +1 @@
1
- {"version":3,"file":"compute.js","sources":["../src/compute.ts"],"sourcesContent":[null],"names":[],"mappings":"+NAIa,MAAA,UAAU,GAAQ,CAAA;AAC3B,EAAA,IAAA,EAAA,WAAA;AACI,EAAA,GAAA,EAAA,gBAAiB;AACjB,EAAA,IAAA,EAAA,EAAA;AACA,EAAA,IAAA,EAAA,CAAA,EAAA,cAAQ,CAAA,aAAA,CAAA,UAAA,CAAA;AACR,EAAA,SAAA,EAAM,MAAiB,OAAA,qCAA0B,CAAA;AACjD,EAAA,QAAA,EAAA,aAAiB,CAAM,KAAA;SACf;AACR,CAAA,EAAA;AACH,EAAA,IAAA,EAAA,eAAA;AACD,EAAA,GAAA,EAAA,oBAAA;AACI,E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MAAA,cAAc,GAAA,yCAAqC"}
@@ -0,0 +1,3 @@
1
+ declare function Home(): import("react/jsx-runtime").JSX.Element;
2
+ export default Home;
3
+ //# sourceMappingURL=Home.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Home.d.ts","sourceRoot":"","sources":["../../src/pages/Home.tsx"],"names":[],"mappings":"AAGA,iBAAS,IAAI,4CAgBZ;AAED,eAAe,IAAI,CAAC"}
@@ -0,0 +1,15 @@
1
+ import {jsx}from'react/jsx-runtime';import React from'react';import {Await}from'@remix-run/react';function Home() {
2
+ return jsx(React.Suspense, {
3
+ fallback: 'Loading...',
4
+ children: jsx(Await, {
5
+ resolve: [
6
+ // loaderData.reservationsQueryLoader
7
+ ],
8
+ children: jsx("div", {
9
+ children: jsx("h1", {
10
+ children: "Home"
11
+ })
12
+ })
13
+ })
14
+ });
15
+ }export{Home as default};//# sourceMappingURL=Home.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Home.js","sources":["../../src/pages/Home.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":"kGAGA,SAAS,IAAI,GAAA;AACT,EAAA,OAAAA,GACI,CAAA,KAAM,CAAA;YAIU,EAAqC,YAAA;AACxC,IAAA,QAAA,EAAAA,GAAA,CAAA,KAAA;AASrB,MAAC,OAAA,EAAA;AAED;;;;;;;;;"}
package/lib/routes.json CHANGED
@@ -1,9 +1,20 @@
1
1
  [
2
+ {
3
+ "/o/:orgName/dashboard/test": {
4
+ "key": "home",
5
+ "name": "Home",
6
+ "hideInMenu": true,
7
+ "icon": "",
8
+ "path": "/o/:orgName/dashboard/test",
9
+ "componentPath": "@admin-layout/demo-tailwind-browser/lib/pages/Home.js",
10
+ "hasComponent": true
11
+ }
12
+ },
2
13
  {
3
14
  "/o/:orgName/exception": {
4
15
  "name": "Exception",
5
16
  "key": "menu.exception",
6
- "icon": "",
17
+ "icon": "IoMdSettings",
7
18
  "path": "/o/:orgName/exception",
8
19
  "position": "LOWER",
9
20
  "exact": false,
@@ -54,7 +65,7 @@
54
65
  "/o/:orgName/result": {
55
66
  "name": "Result",
56
67
  "key": "menu.result",
57
- "icon": "",
68
+ "icon": "IoIosClipboard",
58
69
  "path": "/o/:orgName/result",
59
70
  "position": "LOWER",
60
71
  "auth": true,
@@ -88,5 +99,31 @@
88
99
  "componentPath": "@admin-layout/demo-tailwind-browser/lib/components/result/fail/Component.js",
89
100
  "hasComponent": true
90
101
  }
102
+ },
103
+ {
104
+ "/o/:orgName/themeShowCase": {
105
+ "name": "ThemeShowCase",
106
+ "key": "menu.themeShowCase",
107
+ "path": "/o/:orgName/themeShowCase",
108
+ "auth": true,
109
+ "position": "LOWER",
110
+ "exact": true,
111
+ "priority": 2,
112
+ "componentPath": "@admin-layout/demo-tailwind-browser/lib/components/ThemeShowCase/index.js",
113
+ "hasComponent": true
114
+ }
115
+ },
116
+ {
117
+ "/o/:orgName/otp-example": {
118
+ "name": "OTP Example",
119
+ "key": "menu.otp",
120
+ "path": "/o/:orgName/otp-example",
121
+ "auth": true,
122
+ "position": "LOWER",
123
+ "exact": true,
124
+ "priority": 2,
125
+ "componentPath": "@admin-layout/demo-tailwind-browser/lib/components/OTPExamples.js",
126
+ "hasComponent": true
127
+ }
91
128
  }
92
129
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@admin-layout/demo-tailwind-browser",
3
- "version": "11.0.4-alpha.4",
3
+ "version": "12.0.16-alpha.1",
4
4
  "description": "Sample core for higher packages to depend on",
5
5
  "license": "ISC",
6
6
  "author": "CDMBase LLC",
@@ -21,11 +21,11 @@
21
21
  "watch": "yarn build:lib:watch"
22
22
  },
23
23
  "dependencies": {
24
- "@admin-layout/assets": "11.0.4-alpha.4",
25
- "@admin-layout/tailwind-design-pro": "11.0.4-alpha.4",
24
+ "@admin-layout/assets": "10.1.1-alpha.0",
25
+ "@admin-layout/tailwind-design-pro": "12.0.16-alpha.1",
26
+ "@admin-layout/tailwind-ui": "12.0.16-alpha.0",
26
27
  "@pubngo-stack/icons": "8.0.7",
27
28
  "@react-icons/all-files": "^4.1.0",
28
- "@xstate/react": "^4.1.1",
29
29
  "marked": "7.0.5",
30
30
  "openai": "^4.52.0"
31
31
  },
@@ -53,5 +53,5 @@
53
53
  "typescript": {
54
54
  "definition": "lib/index.d.ts"
55
55
  },
56
- "gitHead": "eff06b5e432bf05a97fdd61eb30af62ad219b617"
56
+ "gitHead": "e145ff00bca51241e04f27a2b976440aa20f3219"
57
57
  }