telecop 0.1.20 → 0.1.22
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.
|
@@ -1,38 +1,6 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
|
|
7
|
-
layout?: ContainerLayout;
|
|
8
|
-
size?: ContainerSize;
|
|
9
|
-
theme?: ContainerTheme;
|
|
10
|
-
padding?: boolean;
|
|
11
|
-
gap?: 'sm' | 'md' | 'lg';
|
|
12
|
-
className?: string;
|
|
13
|
-
}
|
|
14
|
-
export interface ContainerImageProps {
|
|
15
|
-
src: string;
|
|
16
|
-
alt: string;
|
|
17
|
-
className?: string;
|
|
18
|
-
width?: number | string;
|
|
19
|
-
height?: number | string;
|
|
20
|
-
}
|
|
21
|
-
export interface ContainerContentProps {
|
|
22
|
-
children: React.ReactNode;
|
|
23
|
-
className?: string;
|
|
24
|
-
}
|
|
25
|
-
export interface ContainerButtonProps {
|
|
26
|
-
children: React.ReactNode;
|
|
27
|
-
className?: string;
|
|
28
|
-
}
|
|
29
|
-
declare const ContainerImage: React.FC<ContainerImageProps>;
|
|
30
|
-
declare const ContainerContent: React.FC<ContainerContentProps>;
|
|
31
|
-
declare const ContainerButton: React.FC<ContainerButtonProps>;
|
|
32
|
-
interface ContainerComponent extends React.FC<ContainerProps> {
|
|
33
|
-
Image: typeof ContainerImage;
|
|
34
|
-
Content: typeof ContainerContent;
|
|
35
|
-
Button: typeof ContainerButton;
|
|
36
|
-
}
|
|
37
|
-
export declare const Container: ContainerComponent;
|
|
38
|
-
export {};
|
|
2
|
+
import { ContainerProps, ContainerImageProps, ContainerContentProps, ContainerButtonProps } from './types';
|
|
3
|
+
export declare const Container: React.FC<ContainerProps>;
|
|
4
|
+
export declare const ContainerImage: React.FC<ContainerImageProps>;
|
|
5
|
+
export declare const ContainerContent: React.FC<ContainerContentProps>;
|
|
6
|
+
export declare const ContainerButton: React.FC<ContainerButtonProps>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Container } from './Container';
|
|
1
|
+
export { Container, ContainerImage, ContainerContent, ContainerButton } from './Container';
|
|
2
2
|
export type { ContainerProps, ContainerImageProps, ContainerContentProps, ContainerButtonProps, ContainerLayout, ContainerSize, ContainerTheme } from './types';
|
package/dist/index.d.ts
CHANGED
|
@@ -4,9 +4,9 @@ export { GlassButton } from './components/GlassButton';
|
|
|
4
4
|
export type { GlassButtonProps } from './components/GlassButton';
|
|
5
5
|
export { Home } from './templates/Home';
|
|
6
6
|
export type { HomeProps } from './templates/Home';
|
|
7
|
-
export { gradients } from '
|
|
8
|
-
export type { Gradient } from '
|
|
7
|
+
export { gradients } from './styles/data/gradients';
|
|
8
|
+
export type { Gradient } from './styles/data/gradients';
|
|
9
9
|
export { SolidBlue, SolidRed, SolidGreen, SolidPurple, SolidPill, GradientPurplePink, GradientBlueGreen, GradientOrangeRed, GradientCyan, GradientSunset, GlassBlue, GlassPurple, GlassWhite, GlassPink, AnimatedShimmer, AnimatedPulse, AnimatedBounce, AnimatedGlow, OutlinedBlue, OutlinedPurple, OutlinedGradient, GhostBlue, GhostRed, GhostPurple, Button3DBlue, Button3DPink, Button3DGreen, NeonBlue, NeonPink, NeonGreen, } from './components/TelecopButton';
|
|
10
10
|
export type { TelecopButtonProps, ButtonCategory, ButtonVariantType } from './components/TelecopButton';
|
|
11
|
-
export { Container } from './components/Container';
|
|
12
|
-
export type { ContainerProps, ContainerImageProps, ContainerContentProps, ContainerButtonProps, ContainerLayout, ContainerSize, ContainerTheme } from './components/Container';
|
|
11
|
+
export { Container, ContainerImage, ContainerContent, ContainerButton } from './components/Container/index';
|
|
12
|
+
export type { ContainerProps, ContainerImageProps, ContainerContentProps, ContainerButtonProps, ContainerLayout, ContainerSize, ContainerTheme } from './components/Container/types';
|
package/dist/index.js
CHANGED
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
before:translate-x-[-200%]
|
|
32
32
|
hover:before:translate-x-[200%]
|
|
33
33
|
before:transition-transform before:duration-1000
|
|
34
|
-
`},b=t?"opacity-40 cursor-not-allowed hover:scale-100 hover:shadow-xl":"";return r.jsxs("button",{className:`${p} ${c[o]} ${m[a]} ${b} ${s}`,onClick:n,disabled:t,children:[a==="waves"&&!t&&r.jsxs(r.Fragment,{children:[r.jsx("span",{className:"absolute inset-0 bg-gradient-to-r from-blue-500/10 via-purple-500/10 to-pink-500/10 opacity-0 group-hover:opacity-100 transition-opacity duration-700"}),r.jsx("span",{className:"absolute inset-0 bg-gradient-to-br from-transparent via-white/10 to-transparent animate-pulse"})]}),a==="blur"&&!t&&r.jsx("span",{className:"absolute inset-0 bg-white/5 blur-xl opacity-0 group-hover:opacity-100 transition-opacity duration-500"}),r.jsx("span",{className:"absolute inset-0 rounded-2xl opacity-0 group-hover:opacity-100 transition-opacity duration-500 pointer-events-none",children:r.jsx("span",{className:"absolute inset-[-2px] rounded-2xl bg-gradient-to-r from-transparent via-white/40 to-transparent blur-sm animate-shimmer"})}),g.map(l=>r.jsx("span",{className:"absolute rounded-full bg-white/30 pointer-events-none animate-ripple",style:{left:l.x,top:l.y,width:"20px",height:"20px",transform:"translate(-50%, -50%)"}},l.id)),r.jsx("span",{className:"relative z-10 drop-shadow-lg",children:e})]})},N=({name:e,title:a,description:o="Welcome to my portfolio",primaryButtonText:i="Get Started",primaryButtonLink:t,primaryButtonOnClick:s,secondaryButtonText:g="Learn More",secondaryButtonLink:d,secondaryButtonOnClick:n,backgroundGradient:p="linear-gradient(135deg, #667eea 0%, #764ba2 100%)",animationType:c,className:m=""})=>{const b=()=>{t?window.location.href=t:s&&s()},l=()=>{d?window.location.href=d:n&&n()},h=t?r.jsx("a",{href:t,style:{textDecoration:"none"},children:r.jsx(u,{variant:"waves",size:"lg",children:i})}):r.jsx(u,{variant:"waves",size:"lg",onClick:s||b,children:i}),x=d?r.jsx("a",{href:d,style:{textDecoration:"none"},children:r.jsx(u,{variant:"blur",size:"lg",children:g})}):r.jsx(u,{variant:"blur",size:"lg",onClick:n||l,children:g});return r.jsx("div",{className:c?`animate-gradient-${c}`:"",style:{background:p,minHeight:"100vh"},children:r.jsx("div",{className:`min-h-screen flex items-center justify-center p-8 ${m}`,children:r.jsxs("div",{className:"max-w-4xl w-full text-center space-y-8",children:[r.jsx("h1",{className:"text-6xl md:text-8xl font-bold text-white mb-4",style:{textShadow:"0 0 40px rgba(0,0,0,0.3)",animation:"fadeInUp 0.8s ease-out"},children:e}),r.jsx("h2",{className:"text-3xl md:text-5xl font-semibold text-white/90",style:{textShadow:"0 0 30px rgba(0,0,0,0.2)",animation:"fadeInUp 1s ease-out 0.2s backwards"},children:a}),r.jsx("p",{className:"text-xl md:text-2xl text-white/80 max-w-2xl mx-auto",style:{textShadow:"0 0 20px rgba(0,0,0,0.2)",animation:"fadeInUp 1.2s ease-out 0.4s backwards"},children:o}),r.jsxs("div",{className:"flex flex-wrap gap-6 justify-center mt-12",style:{animation:"fadeInUp 1.4s ease-out 0.6s backwards"},children:[h,x]}),r.jsx("div",{className:"mt-16 mx-auto w-32 h-1 rounded-full",style:{background:"linear-gradient(90deg, transparent, white, transparent)",animation:"fadeIn 2s ease-out 1s backwards"}})]})})})},
|
|
34
|
+
`},b=t?"opacity-40 cursor-not-allowed hover:scale-100 hover:shadow-xl":"";return r.jsxs("button",{className:`${p} ${c[o]} ${m[a]} ${b} ${s}`,onClick:n,disabled:t,children:[a==="waves"&&!t&&r.jsxs(r.Fragment,{children:[r.jsx("span",{className:"absolute inset-0 bg-gradient-to-r from-blue-500/10 via-purple-500/10 to-pink-500/10 opacity-0 group-hover:opacity-100 transition-opacity duration-700"}),r.jsx("span",{className:"absolute inset-0 bg-gradient-to-br from-transparent via-white/10 to-transparent animate-pulse"})]}),a==="blur"&&!t&&r.jsx("span",{className:"absolute inset-0 bg-white/5 blur-xl opacity-0 group-hover:opacity-100 transition-opacity duration-500"}),r.jsx("span",{className:"absolute inset-0 rounded-2xl opacity-0 group-hover:opacity-100 transition-opacity duration-500 pointer-events-none",children:r.jsx("span",{className:"absolute inset-[-2px] rounded-2xl bg-gradient-to-r from-transparent via-white/40 to-transparent blur-sm animate-shimmer"})}),g.map(l=>r.jsx("span",{className:"absolute rounded-full bg-white/30 pointer-events-none animate-ripple",style:{left:l.x,top:l.y,width:"20px",height:"20px",transform:"translate(-50%, -50%)"}},l.id)),r.jsx("span",{className:"relative z-10 drop-shadow-lg",children:e})]})},N=({name:e,title:a,description:o="Welcome to my portfolio",primaryButtonText:i="Get Started",primaryButtonLink:t,primaryButtonOnClick:s,secondaryButtonText:g="Learn More",secondaryButtonLink:d,secondaryButtonOnClick:n,backgroundGradient:p="linear-gradient(135deg, #667eea 0%, #764ba2 100%)",animationType:c,className:m=""})=>{const b=()=>{t?window.location.href=t:s&&s()},l=()=>{d?window.location.href=d:n&&n()},h=t?r.jsx("a",{href:t,style:{textDecoration:"none"},children:r.jsx(u,{variant:"waves",size:"lg",children:i})}):r.jsx(u,{variant:"waves",size:"lg",onClick:s||b,children:i}),x=d?r.jsx("a",{href:d,style:{textDecoration:"none"},children:r.jsx(u,{variant:"blur",size:"lg",children:g})}):r.jsx(u,{variant:"blur",size:"lg",onClick:n||l,children:g});return r.jsx("div",{className:c?`animate-gradient-${c}`:"",style:{background:p,minHeight:"100vh"},children:r.jsx("div",{className:`min-h-screen flex items-center justify-center p-8 ${m}`,children:r.jsxs("div",{className:"max-w-4xl w-full text-center space-y-8",children:[r.jsx("h1",{className:"text-6xl md:text-8xl font-bold text-white mb-4",style:{textShadow:"0 0 40px rgba(0,0,0,0.3)",animation:"fadeInUp 0.8s ease-out"},children:e}),r.jsx("h2",{className:"text-3xl md:text-5xl font-semibold text-white/90",style:{textShadow:"0 0 30px rgba(0,0,0,0.2)",animation:"fadeInUp 1s ease-out 0.2s backwards"},children:a}),r.jsx("p",{className:"text-xl md:text-2xl text-white/80 max-w-2xl mx-auto",style:{textShadow:"0 0 20px rgba(0,0,0,0.2)",animation:"fadeInUp 1.2s ease-out 0.4s backwards"},children:o}),r.jsxs("div",{className:"flex flex-wrap gap-6 justify-center mt-12",style:{animation:"fadeInUp 1.4s ease-out 0.6s backwards"},children:[h,x]}),r.jsx("div",{className:"mt-16 mx-auto w-32 h-1 rounded-full",style:{background:"linear-gradient(90deg, transparent, white, transparent)",animation:"fadeIn 2s ease-out 1s backwards"}})]})})})},C=[{id:"glass-morphism",name:"Glass Morphism",gradient:`
|
|
35
35
|
radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3), transparent 50%),
|
|
36
36
|
radial-gradient(circle at 80% 80%, rgba(255, 128, 171, 0.3), transparent 50%),
|
|
37
37
|
radial-gradient(circle at 40% 90%, rgba(88, 166, 255, 0.3), transparent 50%),
|
|
@@ -205,7 +205,7 @@
|
|
|
205
205
|
radial-gradient(circle at 25% 75%, rgba(185, 28, 28, 0.6), transparent 35%),
|
|
206
206
|
radial-gradient(circle at 75% 80%, rgba(239, 68, 68, 0.5), transparent 40%),
|
|
207
207
|
linear-gradient(135deg, #0f0000 0%, #1a0505 50%, #0f0000 100%)
|
|
208
|
-
`,category:"premium",animation:"flow"},{id:"purple-dark",name:"Purple Dark",gradient:"linear-gradient(147deg, #000000 0%, #8d45d5 187%)",category:"dark"},{id:"red-fire",name:"Red Fire",gradient:"linear-gradient(308deg, #a70b0b 0%, #000000 75%)",category:"dark"},{id:"green-emerald",name:"Green Emerald",gradient:"linear-gradient(308deg, #0ba769 0%, #000000 75%)",category:"dark"},{id:"blue-ocean",name:"Blue Ocean",gradient:"linear-gradient(308deg, #0b32a7 0%, #000000 67%)",category:"dark"},{id:"purple-magic",name:"Purple Magic",gradient:"linear-gradient(308deg, #960ba7 0%, #000000 67%)",category:"dark"},{id:"green-forest",name:"Green Forest",gradient:"linear-gradient(308deg, #3da70b 0%, #000000 67%)",category:"dark"},{id:"pink-rose",name:"Pink Rose",gradient:"linear-gradient(308deg, #a70b7e 0%, #000000 67%)",category:"dark"},{id:"red-crimson",name:"Red Crimson",gradient:"linear-gradient(308deg, #a70b0b 0%, #000000 67%)",category:"dark"},{id:"yellow-gold",name:"Yellow Gold",gradient:"linear-gradient(308deg, #a5a70b 0%, #000000 67%)",category:"dark"},{id:"red-center",name:"Red Center",gradient:"linear-gradient(322deg, #000000 23%, #a70b0b 54%, #000000 73%)",category:"mixed"},{id:"blue-center",name:"Blue Center",gradient:"linear-gradient(322deg, #000000 23%, #120ba7 54%, #000000 73%)",category:"mixed"},{id:"gray-steel",name:"Gray Steel",gradient:"linear-gradient(322deg, #000000 23%, #34334d 54%, #000000 73%)",category:"mixed"},{id:"blue-bright",name:"Blue Bright",gradient:"linear-gradient(322deg, #000000 23%, #52a9ff 54%, #000000 73%)",category:"colorful"},{id:"red-fire-flow",name:"Red Fire Flow",gradient:"linear-gradient(308deg, #a70b0b 0%, #ff6b6b 50%, #000000 75%)",category:"animated",animation:"flow"},{id:"blue-wave",name:"Blue Wave",gradient:"linear-gradient(308deg, #0b32a7 0%, #52a9ff 50%, #000000 67%)",category:"animated",animation:"wave"},{id:"purple-shift",name:"Purple Shift",gradient:"linear-gradient(308deg, #960ba7 0%, #e100ff 50%, #000000 67%)",category:"animated",animation:"shift"},{id:"green-pulse",name:"Green Pulse",gradient:"linear-gradient(308deg, #3da70b 0%, #a8e063 50%, #000000 67%)",category:"animated",animation:"pulse"},{id:"pink-rotate",name:"Pink Rotate",gradient:"linear-gradient(308deg, #a70b7e 0%, #ff6ec7 50%, #000000 67%)",category:"animated",animation:"rotate"},{id:"gold-zoom",name:"Gold Zoom",gradient:"linear-gradient(308deg, #a5a70b 0%, #f6d365 50%, #000000 67%)",category:"animated",animation:"zoom"}],C=({children:e="Click Me",onClick:a})=>r.jsx("button",{onClick:a,className:"px-6 py-3 rounded-lg font-semibold text-white bg-blue-600 hover:bg-blue-700 transition-all duration-300 hover:scale-105 hover:shadow-xl",children:e}),P=({children:e="Click Me",onClick:a})=>r.jsx("button",{onClick:a,className:"px-6 py-3 rounded-lg font-semibold text-white bg-red-600 hover:bg-red-700 transition-all duration-300 hover:scale-105 hover:shadow-xl",children:e}),B=({children:e="Click Me",onClick:a})=>r.jsx("button",{onClick:a,className:"px-6 py-3 rounded-lg font-semibold text-white bg-green-600 hover:bg-green-700 transition-all duration-300 hover:scale-105 hover:shadow-xl",children:e}),S=({children:e="Click Me",onClick:a})=>r.jsx("button",{onClick:a,className:"px-6 py-3 rounded-lg font-semibold text-white bg-purple-600 hover:bg-purple-700 transition-all duration-300 hover:scale-105 hover:shadow-xl",children:e}),_=({children:e="Pill Button",onClick:a})=>r.jsx("button",{onClick:a,className:"px-8 py-3 rounded-full font-semibold text-white bg-indigo-600 hover:bg-indigo-700 transition-all duration-300 hover:scale-105 hover:shadow-xl",children:e}),M=({children:e="Click Me",onClick:a})=>r.jsx("button",{onClick:a,className:"px-6 py-3 rounded-lg font-semibold text-white bg-gradient-to-r from-purple-600 to-pink-600 hover:from-purple-700 hover:to-pink-700 transition-all duration-300 hover:scale-105 hover:shadow-2xl hover:shadow-purple-500/50",children:e}),$=({children:e="Click Me",onClick:a})=>r.jsx("button",{onClick:a,className:"px-6 py-3 rounded-lg font-semibold text-white bg-gradient-to-r from-blue-600 to-green-600 hover:from-blue-700 hover:to-green-700 transition-all duration-300 hover:scale-105 hover:shadow-2xl hover:shadow-blue-500/50",children:e}),D=({children:e="Click Me",onClick:a})=>r.jsx("button",{onClick:a,className:"px-6 py-3 rounded-lg font-semibold text-white bg-gradient-to-r from-orange-600 to-red-600 hover:from-orange-700 hover:to-red-700 transition-all duration-300 hover:scale-105 hover:shadow-2xl hover:shadow-orange-500/50",children:e}),R=({children:e="Click Me",onClick:a})=>r.jsx("button",{onClick:a,className:"px-6 py-3 rounded-lg font-semibold text-white bg-gradient-to-br from-cyan-400 to-blue-600 hover:from-cyan-500 hover:to-blue-700 transition-all duration-300 hover:scale-105 hover:shadow-2xl hover:shadow-cyan-500/50",children:e}),z=({children:e="Click Me",onClick:a})=>r.jsx("button",{onClick:a,className:"px-6 py-3 rounded-lg font-semibold text-white bg-gradient-to-r from-yellow-500 via-orange-500 to-red-600 hover:from-yellow-600 hover:via-orange-600 hover:to-red-700 transition-all duration-300 hover:scale-105 hover:shadow-2xl hover:shadow-orange-500/50",children:e}),A=({children:e="Click Me",onClick:a})=>r.jsx("button",{onClick:a,className:"px-6 py-3 rounded-lg font-semibold text-white bg-blue-500/20 backdrop-blur-xl border border-blue-400/30 hover:bg-blue-500/30 hover:border-blue-400/50 transition-all duration-300 hover:scale-105 hover:shadow-2xl hover:shadow-blue-500/20",children:e}),I=({children:e="Click Me",onClick:a})=>r.jsx("button",{onClick:a,className:"px-6 py-3 rounded-lg font-semibold text-white bg-purple-500/20 backdrop-blur-xl border border-purple-400/30 hover:bg-purple-500/30 hover:border-purple-400/50 transition-all duration-300 hover:scale-105 hover:shadow-2xl hover:shadow-purple-500/20",children:e}),O=({children:e="Click Me",onClick:a})=>r.jsx("button",{onClick:a,className:"px-6 py-3 rounded-lg font-semibold text-white bg-white/10 backdrop-blur-xl border border-white/30 hover:bg-white/20 hover:border-white/50 transition-all duration-300 hover:scale-105 hover:shadow-2xl hover:shadow-white/20",children:e}),E=({children:e="Click Me",onClick:a})=>r.jsx("button",{onClick:a,className:"px-6 py-3 rounded-lg font-semibold text-white bg-pink-500/20 backdrop-blur-xl border border-pink-400/30 hover:bg-pink-500/30 hover:border-pink-400/50 transition-all duration-300 hover:scale-105 hover:shadow-2xl hover:shadow-pink-500/20",children:e}),F=({children:e="Shimmer Effect",onClick:a})=>r.jsxs("button",{onClick:a,className:"relative px-6 py-3 rounded-lg font-semibold text-white bg-gradient-to-r from-purple-600 to-blue-600 overflow-hidden group transition-all duration-300 hover:scale-105",children:[r.jsx("span",{className:"relative z-10",children:e}),r.jsx("span",{className:"absolute inset-0 bg-gradient-to-r from-transparent via-white/30 to-transparent -translate-x-full group-hover:translate-x-full transition-transform duration-1000"})]}),H=({children:e="Pulse Button",onClick:a})=>r.jsx("button",{onClick:a,className:"px-6 py-3 rounded-lg font-semibold text-white bg-red-600 hover:bg-red-700 transition-all duration-300 animate-pulse hover:animate-none hover:scale-105",children:e}),q=({children:e="Bounce Button",onClick:a})=>r.jsx("button",{onClick:a,className:"px-6 py-3 rounded-lg font-semibold text-white bg-green-600 hover:bg-green-700 transition-all duration-300 hover:animate-bounce",children:e}),W=({children:e="Glow Effect",onClick:a})=>r.jsx("button",{onClick:a,className:"px-6 py-3 rounded-lg font-semibold text-white bg-purple-600 hover:bg-purple-700 transition-all duration-300 hover:shadow-[0_0_30px_rgba(168,85,247,0.8)] hover:scale-105",children:e}),U=({children:e="Click Me",onClick:a})=>r.jsx("button",{onClick:a,className:"px-6 py-3 rounded-lg font-semibold text-blue-500 border-2 border-blue-500 hover:bg-blue-500 hover:text-white transition-all duration-300 hover:scale-105",children:e}),T=({children:e="Click Me",onClick:a})=>r.jsx("button",{onClick:a,className:"px-6 py-3 rounded-lg font-semibold text-purple-500 border-2 border-purple-500 hover:bg-purple-500 hover:text-white transition-all duration-300 hover:scale-105",children:e}),Y=({children:e="Gradient Border",onClick:a})=>r.jsx("button",{onClick:a,className:"px-6 py-3 rounded-lg font-semibold text-transparent bg-clip-text bg-gradient-to-r from-purple-500 to-pink-500 border-2 border-transparent hover:text-white transition-all duration-300 hover:scale-105",style:{borderImage:"linear-gradient(to right, rgb(168, 85, 247), rgb(236, 72, 153)) 1"},children:e}),V=({children:e="Click Me",onClick:a})=>r.jsx("button",{onClick:a,className:"px-6 py-3 rounded-lg font-semibold text-blue-500 hover:bg-blue-500/10 transition-all duration-300 hover:scale-105",children:e}),X=({children:e="Click Me",onClick:a})=>r.jsx("button",{onClick:a,className:"px-6 py-3 rounded-lg font-semibold text-red-500 hover:bg-red-500/10 transition-all duration-300 hover:scale-105",children:e}),Z=({children:e="Click Me",onClick:a})=>r.jsx("button",{onClick:a,className:"px-6 py-3 rounded-lg font-semibold text-purple-500 hover:bg-purple-500/10 transition-all duration-300 hover:scale-105",children:e}),J=({children:e="3D Button",onClick:a})=>r.jsx("button",{onClick:a,className:"px-6 py-3 rounded-lg font-semibold text-white bg-blue-600 shadow-[0_6px_0_rgb(37,99,235)] hover:shadow-[0_4px_0_rgb(37,99,235)] hover:translate-y-[2px] transition-all duration-150",children:e}),K=({children:e="3D Button",onClick:a})=>r.jsx("button",{onClick:a,className:"px-6 py-3 rounded-lg font-semibold text-white bg-pink-600 shadow-[0_6px_0_rgb(219,39,119)] hover:shadow-[0_4px_0_rgb(219,39,119)] hover:translate-y-[2px] transition-all duration-150",children:e}),Q=({children:e="3D Button",onClick:a})=>r.jsx("button",{onClick:a,className:"px-6 py-3 rounded-lg font-semibold text-white bg-green-600 shadow-[0_6px_0_rgb(22,163,74)] hover:shadow-[0_4px_0_rgb(22,163,74)] hover:translate-y-[2px] transition-all duration-150",children:e}),L=({children:e="Neon Blue",onClick:a})=>r.jsx("button",{onClick:a,className:"px-6 py-3 rounded-lg font-semibold text-blue-400 border-2 border-blue-400 hover:bg-blue-400 hover:text-black transition-all duration-300 hover:shadow-[0_0_20px_rgba(59,130,246,0.8)] hover:scale-105",children:e}),aa=({children:e="Neon Pink",onClick:a})=>r.jsx("button",{onClick:a,className:"px-6 py-3 rounded-lg font-semibold text-pink-400 border-2 border-pink-400 hover:bg-pink-400 hover:text-black transition-all duration-300 hover:shadow-[0_0_20px_rgba(236,72,153,0.8)] hover:scale-105",children:e}),ea=({children:e="Neon Green",onClick:a})=>r.jsx("button",{onClick:a,className:"px-6 py-3 rounded-lg font-semibold text-green-400 border-2 border-green-400 hover:bg-green-400 hover:text-black transition-all duration-300 hover:shadow-[0_0_20px_rgba(34,197,94,0.8)] hover:scale-105",children:e}),ra={"glass-morphism":`
|
|
208
|
+
`,category:"premium",animation:"flow"},{id:"purple-dark",name:"Purple Dark",gradient:"linear-gradient(147deg, #000000 0%, #8d45d5 187%)",category:"dark"},{id:"red-fire",name:"Red Fire",gradient:"linear-gradient(308deg, #a70b0b 0%, #000000 75%)",category:"dark"},{id:"green-emerald",name:"Green Emerald",gradient:"linear-gradient(308deg, #0ba769 0%, #000000 75%)",category:"dark"},{id:"blue-ocean",name:"Blue Ocean",gradient:"linear-gradient(308deg, #0b32a7 0%, #000000 67%)",category:"dark"},{id:"purple-magic",name:"Purple Magic",gradient:"linear-gradient(308deg, #960ba7 0%, #000000 67%)",category:"dark"},{id:"green-forest",name:"Green Forest",gradient:"linear-gradient(308deg, #3da70b 0%, #000000 67%)",category:"dark"},{id:"pink-rose",name:"Pink Rose",gradient:"linear-gradient(308deg, #a70b7e 0%, #000000 67%)",category:"dark"},{id:"red-crimson",name:"Red Crimson",gradient:"linear-gradient(308deg, #a70b0b 0%, #000000 67%)",category:"dark"},{id:"yellow-gold",name:"Yellow Gold",gradient:"linear-gradient(308deg, #a5a70b 0%, #000000 67%)",category:"dark"},{id:"red-center",name:"Red Center",gradient:"linear-gradient(322deg, #000000 23%, #a70b0b 54%, #000000 73%)",category:"mixed"},{id:"blue-center",name:"Blue Center",gradient:"linear-gradient(322deg, #000000 23%, #120ba7 54%, #000000 73%)",category:"mixed"},{id:"gray-steel",name:"Gray Steel",gradient:"linear-gradient(322deg, #000000 23%, #34334d 54%, #000000 73%)",category:"mixed"},{id:"blue-bright",name:"Blue Bright",gradient:"linear-gradient(322deg, #000000 23%, #52a9ff 54%, #000000 73%)",category:"colorful"},{id:"red-fire-flow",name:"Red Fire Flow",gradient:"linear-gradient(308deg, #a70b0b 0%, #ff6b6b 50%, #000000 75%)",category:"animated",animation:"flow"},{id:"blue-wave",name:"Blue Wave",gradient:"linear-gradient(308deg, #0b32a7 0%, #52a9ff 50%, #000000 67%)",category:"animated",animation:"wave"},{id:"purple-shift",name:"Purple Shift",gradient:"linear-gradient(308deg, #960ba7 0%, #e100ff 50%, #000000 67%)",category:"animated",animation:"shift"},{id:"green-pulse",name:"Green Pulse",gradient:"linear-gradient(308deg, #3da70b 0%, #a8e063 50%, #000000 67%)",category:"animated",animation:"pulse"},{id:"pink-rotate",name:"Pink Rotate",gradient:"linear-gradient(308deg, #a70b7e 0%, #ff6ec7 50%, #000000 67%)",category:"animated",animation:"rotate"},{id:"gold-zoom",name:"Gold Zoom",gradient:"linear-gradient(308deg, #a5a70b 0%, #f6d365 50%, #000000 67%)",category:"animated",animation:"zoom"}],G=({children:e="Click Me",onClick:a})=>r.jsx("button",{onClick:a,className:"px-6 py-3 rounded-lg font-semibold text-white bg-blue-600 hover:bg-blue-700 transition-all duration-300 hover:scale-105 hover:shadow-xl",children:e}),P=({children:e="Click Me",onClick:a})=>r.jsx("button",{onClick:a,className:"px-6 py-3 rounded-lg font-semibold text-white bg-red-600 hover:bg-red-700 transition-all duration-300 hover:scale-105 hover:shadow-xl",children:e}),B=({children:e="Click Me",onClick:a})=>r.jsx("button",{onClick:a,className:"px-6 py-3 rounded-lg font-semibold text-white bg-green-600 hover:bg-green-700 transition-all duration-300 hover:scale-105 hover:shadow-xl",children:e}),S=({children:e="Click Me",onClick:a})=>r.jsx("button",{onClick:a,className:"px-6 py-3 rounded-lg font-semibold text-white bg-purple-600 hover:bg-purple-700 transition-all duration-300 hover:scale-105 hover:shadow-xl",children:e}),_=({children:e="Pill Button",onClick:a})=>r.jsx("button",{onClick:a,className:"px-8 py-3 rounded-full font-semibold text-white bg-indigo-600 hover:bg-indigo-700 transition-all duration-300 hover:scale-105 hover:shadow-xl",children:e}),M=({children:e="Click Me",onClick:a})=>r.jsx("button",{onClick:a,className:"px-6 py-3 rounded-lg font-semibold text-white bg-gradient-to-r from-purple-600 to-pink-600 hover:from-purple-700 hover:to-pink-700 transition-all duration-300 hover:scale-105 hover:shadow-2xl hover:shadow-purple-500/50",children:e}),$=({children:e="Click Me",onClick:a})=>r.jsx("button",{onClick:a,className:"px-6 py-3 rounded-lg font-semibold text-white bg-gradient-to-r from-blue-600 to-green-600 hover:from-blue-700 hover:to-green-700 transition-all duration-300 hover:scale-105 hover:shadow-2xl hover:shadow-blue-500/50",children:e}),D=({children:e="Click Me",onClick:a})=>r.jsx("button",{onClick:a,className:"px-6 py-3 rounded-lg font-semibold text-white bg-gradient-to-r from-orange-600 to-red-600 hover:from-orange-700 hover:to-red-700 transition-all duration-300 hover:scale-105 hover:shadow-2xl hover:shadow-orange-500/50",children:e}),R=({children:e="Click Me",onClick:a})=>r.jsx("button",{onClick:a,className:"px-6 py-3 rounded-lg font-semibold text-white bg-gradient-to-br from-cyan-400 to-blue-600 hover:from-cyan-500 hover:to-blue-700 transition-all duration-300 hover:scale-105 hover:shadow-2xl hover:shadow-cyan-500/50",children:e}),z=({children:e="Click Me",onClick:a})=>r.jsx("button",{onClick:a,className:"px-6 py-3 rounded-lg font-semibold text-white bg-gradient-to-r from-yellow-500 via-orange-500 to-red-600 hover:from-yellow-600 hover:via-orange-600 hover:to-red-700 transition-all duration-300 hover:scale-105 hover:shadow-2xl hover:shadow-orange-500/50",children:e}),A=({children:e="Click Me",onClick:a})=>r.jsx("button",{onClick:a,className:"px-6 py-3 rounded-lg font-semibold text-white bg-blue-500/20 backdrop-blur-xl border border-blue-400/30 hover:bg-blue-500/30 hover:border-blue-400/50 transition-all duration-300 hover:scale-105 hover:shadow-2xl hover:shadow-blue-500/20",children:e}),I=({children:e="Click Me",onClick:a})=>r.jsx("button",{onClick:a,className:"px-6 py-3 rounded-lg font-semibold text-white bg-purple-500/20 backdrop-blur-xl border border-purple-400/30 hover:bg-purple-500/30 hover:border-purple-400/50 transition-all duration-300 hover:scale-105 hover:shadow-2xl hover:shadow-purple-500/20",children:e}),E=({children:e="Click Me",onClick:a})=>r.jsx("button",{onClick:a,className:"px-6 py-3 rounded-lg font-semibold text-white bg-white/10 backdrop-blur-xl border border-white/30 hover:bg-white/20 hover:border-white/50 transition-all duration-300 hover:scale-105 hover:shadow-2xl hover:shadow-white/20",children:e}),O=({children:e="Click Me",onClick:a})=>r.jsx("button",{onClick:a,className:"px-6 py-3 rounded-lg font-semibold text-white bg-pink-500/20 backdrop-blur-xl border border-pink-400/30 hover:bg-pink-500/30 hover:border-pink-400/50 transition-all duration-300 hover:scale-105 hover:shadow-2xl hover:shadow-pink-500/20",children:e}),F=({children:e="Shimmer Effect",onClick:a})=>r.jsxs("button",{onClick:a,className:"relative px-6 py-3 rounded-lg font-semibold text-white bg-gradient-to-r from-purple-600 to-blue-600 overflow-hidden group transition-all duration-300 hover:scale-105",children:[r.jsx("span",{className:"relative z-10",children:e}),r.jsx("span",{className:"absolute inset-0 bg-gradient-to-r from-transparent via-white/30 to-transparent -translate-x-full group-hover:translate-x-full transition-transform duration-1000"})]}),H=({children:e="Pulse Button",onClick:a})=>r.jsx("button",{onClick:a,className:"px-6 py-3 rounded-lg font-semibold text-white bg-red-600 hover:bg-red-700 transition-all duration-300 animate-pulse hover:animate-none hover:scale-105",children:e}),q=({children:e="Bounce Button",onClick:a})=>r.jsx("button",{onClick:a,className:"px-6 py-3 rounded-lg font-semibold text-white bg-green-600 hover:bg-green-700 transition-all duration-300 hover:animate-bounce",children:e}),W=({children:e="Glow Effect",onClick:a})=>r.jsx("button",{onClick:a,className:"px-6 py-3 rounded-lg font-semibold text-white bg-purple-600 hover:bg-purple-700 transition-all duration-300 hover:shadow-[0_0_30px_rgba(168,85,247,0.8)] hover:scale-105",children:e}),U=({children:e="Click Me",onClick:a})=>r.jsx("button",{onClick:a,className:"px-6 py-3 rounded-lg font-semibold text-blue-500 border-2 border-blue-500 hover:bg-blue-500 hover:text-white transition-all duration-300 hover:scale-105",children:e}),T=({children:e="Click Me",onClick:a})=>r.jsx("button",{onClick:a,className:"px-6 py-3 rounded-lg font-semibold text-purple-500 border-2 border-purple-500 hover:bg-purple-500 hover:text-white transition-all duration-300 hover:scale-105",children:e}),Y=({children:e="Gradient Border",onClick:a})=>r.jsx("button",{onClick:a,className:"px-6 py-3 rounded-lg font-semibold text-transparent bg-clip-text bg-gradient-to-r from-purple-500 to-pink-500 border-2 border-transparent hover:text-white transition-all duration-300 hover:scale-105",style:{borderImage:"linear-gradient(to right, rgb(168, 85, 247), rgb(236, 72, 153)) 1"},children:e}),V=({children:e="Click Me",onClick:a})=>r.jsx("button",{onClick:a,className:"px-6 py-3 rounded-lg font-semibold text-blue-500 hover:bg-blue-500/10 transition-all duration-300 hover:scale-105",children:e}),X=({children:e="Click Me",onClick:a})=>r.jsx("button",{onClick:a,className:"px-6 py-3 rounded-lg font-semibold text-red-500 hover:bg-red-500/10 transition-all duration-300 hover:scale-105",children:e}),Z=({children:e="Click Me",onClick:a})=>r.jsx("button",{onClick:a,className:"px-6 py-3 rounded-lg font-semibold text-purple-500 hover:bg-purple-500/10 transition-all duration-300 hover:scale-105",children:e}),J=({children:e="3D Button",onClick:a})=>r.jsx("button",{onClick:a,className:"px-6 py-3 rounded-lg font-semibold text-white bg-blue-600 shadow-[0_6px_0_rgb(37,99,235)] hover:shadow-[0_4px_0_rgb(37,99,235)] hover:translate-y-[2px] transition-all duration-150",children:e}),K=({children:e="3D Button",onClick:a})=>r.jsx("button",{onClick:a,className:"px-6 py-3 rounded-lg font-semibold text-white bg-pink-600 shadow-[0_6px_0_rgb(219,39,119)] hover:shadow-[0_4px_0_rgb(219,39,119)] hover:translate-y-[2px] transition-all duration-150",children:e}),Q=({children:e="3D Button",onClick:a})=>r.jsx("button",{onClick:a,className:"px-6 py-3 rounded-lg font-semibold text-white bg-green-600 shadow-[0_6px_0_rgb(22,163,74)] hover:shadow-[0_4px_0_rgb(22,163,74)] hover:translate-y-[2px] transition-all duration-150",children:e}),L=({children:e="Neon Blue",onClick:a})=>r.jsx("button",{onClick:a,className:"px-6 py-3 rounded-lg font-semibold text-blue-400 border-2 border-blue-400 hover:bg-blue-400 hover:text-black transition-all duration-300 hover:shadow-[0_0_20px_rgba(59,130,246,0.8)] hover:scale-105",children:e}),aa=({children:e="Neon Pink",onClick:a})=>r.jsx("button",{onClick:a,className:"px-6 py-3 rounded-lg font-semibold text-pink-400 border-2 border-pink-400 hover:bg-pink-400 hover:text-black transition-all duration-300 hover:shadow-[0_0_20px_rgba(236,72,153,0.8)] hover:scale-105",children:e}),ea=({children:e="Neon Green",onClick:a})=>r.jsx("button",{onClick:a,className:"px-6 py-3 rounded-lg font-semibold text-green-400 border-2 border-green-400 hover:bg-green-400 hover:text-black transition-all duration-300 hover:shadow-[0_0_20px_rgba(34,197,94,0.8)] hover:scale-105",children:e}),ra={"glass-morphism":`
|
|
209
209
|
radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3), transparent 50%),
|
|
210
210
|
radial-gradient(circle at 80% 80%, rgba(255, 128, 171, 0.3), transparent 50%),
|
|
211
211
|
radial-gradient(circle at 40% 90%, rgba(88, 166, 255, 0.3), transparent 50%),
|
|
@@ -225,4 +225,4 @@
|
|
|
225
225
|
radial-gradient(circle at 20% 80%, rgba(0, 191, 255, 0.4), transparent 25%),
|
|
226
226
|
radial-gradient(circle at 80% 85%, rgba(138, 43, 226, 0.3), transparent 25%),
|
|
227
227
|
linear-gradient(180deg, #000000 0%, #0a0a1a 50%, #000000 100%)
|
|
228
|
-
`,none:"transparent"},ta=({
|
|
228
|
+
`,none:"transparent"},ta=({children:e,layout:a="center",size:o="lg",theme:i="none",padding:t=!0,gap:s="md",className:g=""})=>{const d={sm:"max-w-3xl",md:"max-w-5xl",lg:"max-w-7xl",xl:"max-w-[1400px]",full:"max-w-full"}[o],n={sm:"gap-4",md:"gap-8",lg:"gap-12"}[s],p={"image-right":`grid md:grid-cols-2 ${n} items-center`,"image-left":`grid md:grid-cols-2 ${n} items-center`,"button-right":`grid md:grid-cols-2 ${n} items-center`,"button-left":`grid md:grid-cols-2 ${n} items-center`,center:"flex flex-col items-center justify-center text-center","two-columns":`grid md:grid-cols-2 ${n}`,"three-columns":`grid md:grid-cols-3 ${n}`}[a],c=t?"px-6 py-8":"",m=i!=="none"?{background:ra[i],backgroundSize:"200% 200%"}:{},b=v.Children.toArray(e);let l=b;return(a==="image-left"||a==="button-left")&&(l=b.reverse()),r.jsx("div",{className:`${d} mx-auto ${c} ${g}`,style:m,children:r.jsx("div",{className:p,children:l})})},na=({src:e,alt:a,className:o="",width:i,height:t})=>r.jsx("div",{className:`w-full ${o}`,children:r.jsx("img",{src:e,alt:a,width:i,height:t,className:"w-full h-auto rounded-2xl shadow-2xl object-cover"})}),ia=({children:e,className:a=""})=>r.jsx("div",{className:`space-y-4 ${a}`,children:e}),la=({children:e,className:a=""})=>r.jsx("div",{className:`flex gap-4 ${a}`,children:e});exports.AnimatedBounce=q;exports.AnimatedGlow=W;exports.AnimatedPulse=H;exports.AnimatedShimmer=F;exports.Button=k;exports.Button3DBlue=J;exports.Button3DGreen=Q;exports.Button3DPink=K;exports.Container=ta;exports.ContainerButton=la;exports.ContainerContent=ia;exports.ContainerImage=na;exports.GhostBlue=V;exports.GhostPurple=Z;exports.GhostRed=X;exports.GlassBlue=A;exports.GlassButton=u;exports.GlassPink=O;exports.GlassPurple=I;exports.GlassWhite=E;exports.GradientBlueGreen=$;exports.GradientCyan=R;exports.GradientOrangeRed=D;exports.GradientPurplePink=M;exports.GradientSunset=z;exports.Home=N;exports.NeonBlue=L;exports.NeonGreen=ea;exports.NeonPink=aa;exports.OutlinedBlue=U;exports.OutlinedGradient=Y;exports.OutlinedPurple=T;exports.SolidBlue=G;exports.SolidGreen=B;exports.SolidPill=_;exports.SolidPurple=S;exports.SolidRed=P;exports.gradients=C;
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as r, jsxs as u, Fragment as k } from "react/jsx-runtime";
|
|
3
3
|
import C, { useState as G } from "react";
|
|
4
|
-
const
|
|
4
|
+
const S = ({
|
|
5
5
|
children: e,
|
|
6
6
|
variant: a = "primary",
|
|
7
7
|
size: o = "md",
|
|
@@ -114,7 +114,7 @@ const D = ({
|
|
|
114
114
|
]
|
|
115
115
|
}
|
|
116
116
|
);
|
|
117
|
-
},
|
|
117
|
+
}, $ = ({
|
|
118
118
|
name: e,
|
|
119
119
|
title: a,
|
|
120
120
|
description: o = "Welcome to my portfolio",
|
|
@@ -217,7 +217,7 @@ const D = ({
|
|
|
217
217
|
] }) })
|
|
218
218
|
}
|
|
219
219
|
);
|
|
220
|
-
},
|
|
220
|
+
}, B = [
|
|
221
221
|
// ========== PREMIUM THEMES (NEW) ==========
|
|
222
222
|
{
|
|
223
223
|
id: "glass-morphism",
|
|
@@ -682,10 +682,10 @@ const D = ({
|
|
|
682
682
|
category: "animated",
|
|
683
683
|
animation: "zoom"
|
|
684
684
|
}
|
|
685
|
-
],
|
|
685
|
+
], D = ({ children: e = "Click Me", onClick: a }) => /* @__PURE__ */ r("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-white bg-blue-600 hover:bg-blue-700 transition-all duration-300 hover:scale-105 hover:shadow-xl", children: e }), z = ({ children: e = "Click Me", onClick: a }) => /* @__PURE__ */ r("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-white bg-red-600 hover:bg-red-700 transition-all duration-300 hover:scale-105 hover:shadow-xl", children: e }), R = ({ children: e = "Click Me", onClick: a }) => /* @__PURE__ */ r("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-white bg-green-600 hover:bg-green-700 transition-all duration-300 hover:scale-105 hover:shadow-xl", children: e }), A = ({ children: e = "Click Me", onClick: a }) => /* @__PURE__ */ r("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-white bg-purple-600 hover:bg-purple-700 transition-all duration-300 hover:scale-105 hover:shadow-xl", children: e }), E = ({ children: e = "Pill Button", onClick: a }) => /* @__PURE__ */ r("button", { onClick: a, className: "px-8 py-3 rounded-full font-semibold text-white bg-indigo-600 hover:bg-indigo-700 transition-all duration-300 hover:scale-105 hover:shadow-xl", children: e }), I = ({ children: e = "Click Me", onClick: a }) => /* @__PURE__ */ r("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-white bg-gradient-to-r from-purple-600 to-pink-600 hover:from-purple-700 hover:to-pink-700 transition-all duration-300 hover:scale-105 hover:shadow-2xl hover:shadow-purple-500/50", children: e }), F = ({ children: e = "Click Me", onClick: a }) => /* @__PURE__ */ r("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-white bg-gradient-to-r from-blue-600 to-green-600 hover:from-blue-700 hover:to-green-700 transition-all duration-300 hover:scale-105 hover:shadow-2xl hover:shadow-blue-500/50", children: e }), j = ({ children: e = "Click Me", onClick: a }) => /* @__PURE__ */ r("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-white bg-gradient-to-r from-orange-600 to-red-600 hover:from-orange-700 hover:to-red-700 transition-all duration-300 hover:scale-105 hover:shadow-2xl hover:shadow-orange-500/50", children: e }), H = ({ children: e = "Click Me", onClick: a }) => /* @__PURE__ */ r("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-white bg-gradient-to-br from-cyan-400 to-blue-600 hover:from-cyan-500 hover:to-blue-700 transition-all duration-300 hover:scale-105 hover:shadow-2xl hover:shadow-cyan-500/50", children: e }), q = ({ children: e = "Click Me", onClick: a }) => /* @__PURE__ */ r("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-white bg-gradient-to-r from-yellow-500 via-orange-500 to-red-600 hover:from-yellow-600 hover:via-orange-600 hover:to-red-700 transition-all duration-300 hover:scale-105 hover:shadow-2xl hover:shadow-orange-500/50", children: e }), U = ({ children: e = "Click Me", onClick: a }) => /* @__PURE__ */ r("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-white bg-blue-500/20 backdrop-blur-xl border border-blue-400/30 hover:bg-blue-500/30 hover:border-blue-400/50 transition-all duration-300 hover:scale-105 hover:shadow-2xl hover:shadow-blue-500/20", children: e }), W = ({ children: e = "Click Me", onClick: a }) => /* @__PURE__ */ r("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-white bg-purple-500/20 backdrop-blur-xl border border-purple-400/30 hover:bg-purple-500/30 hover:border-purple-400/50 transition-all duration-300 hover:scale-105 hover:shadow-2xl hover:shadow-purple-500/20", children: e }), O = ({ children: e = "Click Me", onClick: a }) => /* @__PURE__ */ r("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-white bg-white/10 backdrop-blur-xl border border-white/30 hover:bg-white/20 hover:border-white/50 transition-all duration-300 hover:scale-105 hover:shadow-2xl hover:shadow-white/20", children: e }), Y = ({ children: e = "Click Me", onClick: a }) => /* @__PURE__ */ r("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-white bg-pink-500/20 backdrop-blur-xl border border-pink-400/30 hover:bg-pink-500/30 hover:border-pink-400/50 transition-all duration-300 hover:scale-105 hover:shadow-2xl hover:shadow-pink-500/20", children: e }), T = ({ children: e = "Shimmer Effect", onClick: a }) => /* @__PURE__ */ u("button", { onClick: a, className: "relative px-6 py-3 rounded-lg font-semibold text-white bg-gradient-to-r from-purple-600 to-blue-600 overflow-hidden group transition-all duration-300 hover:scale-105", children: [
|
|
686
686
|
/* @__PURE__ */ r("span", { className: "relative z-10", children: e }),
|
|
687
687
|
/* @__PURE__ */ r("span", { className: "absolute inset-0 bg-gradient-to-r from-transparent via-white/30 to-transparent -translate-x-full group-hover:translate-x-full transition-transform duration-1000" })
|
|
688
|
-
] }),
|
|
688
|
+
] }), V = ({ children: e = "Pulse Button", onClick: a }) => /* @__PURE__ */ r("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-white bg-red-600 hover:bg-red-700 transition-all duration-300 animate-pulse hover:animate-none hover:scale-105", children: e }), X = ({ children: e = "Bounce Button", onClick: a }) => /* @__PURE__ */ r("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-white bg-green-600 hover:bg-green-700 transition-all duration-300 hover:animate-bounce", children: e }), Z = ({ children: e = "Glow Effect", onClick: a }) => /* @__PURE__ */ r("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-white bg-purple-600 hover:bg-purple-700 transition-all duration-300 hover:shadow-[0_0_30px_rgba(168,85,247,0.8)] hover:scale-105", children: e }), J = ({ children: e = "Click Me", onClick: a }) => /* @__PURE__ */ r("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-blue-500 border-2 border-blue-500 hover:bg-blue-500 hover:text-white transition-all duration-300 hover:scale-105", children: e }), K = ({ children: e = "Click Me", onClick: a }) => /* @__PURE__ */ r("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-purple-500 border-2 border-purple-500 hover:bg-purple-500 hover:text-white transition-all duration-300 hover:scale-105", children: e }), Q = ({ children: e = "Gradient Border", onClick: a }) => /* @__PURE__ */ r("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-transparent bg-clip-text bg-gradient-to-r from-purple-500 to-pink-500 border-2 border-transparent hover:text-white transition-all duration-300 hover:scale-105", style: { borderImage: "linear-gradient(to right, rgb(168, 85, 247), rgb(236, 72, 153)) 1" }, children: e }), L = ({ children: e = "Click Me", onClick: a }) => /* @__PURE__ */ r("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-blue-500 hover:bg-blue-500/10 transition-all duration-300 hover:scale-105", children: e }), aa = ({ children: e = "Click Me", onClick: a }) => /* @__PURE__ */ r("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-red-500 hover:bg-red-500/10 transition-all duration-300 hover:scale-105", children: e }), ea = ({ children: e = "Click Me", onClick: a }) => /* @__PURE__ */ r("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-purple-500 hover:bg-purple-500/10 transition-all duration-300 hover:scale-105", children: e }), ra = ({ children: e = "3D Button", onClick: a }) => /* @__PURE__ */ r("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-white bg-blue-600 shadow-[0_6px_0_rgb(37,99,235)] hover:shadow-[0_4px_0_rgb(37,99,235)] hover:translate-y-[2px] transition-all duration-150", children: e }), ta = ({ children: e = "3D Button", onClick: a }) => /* @__PURE__ */ r("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-white bg-pink-600 shadow-[0_6px_0_rgb(219,39,119)] hover:shadow-[0_4px_0_rgb(219,39,119)] hover:translate-y-[2px] transition-all duration-150", children: e }), na = ({ children: e = "3D Button", onClick: a }) => /* @__PURE__ */ r("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-white bg-green-600 shadow-[0_6px_0_rgb(22,163,74)] hover:shadow-[0_4px_0_rgb(22,163,74)] hover:translate-y-[2px] transition-all duration-150", children: e }), ia = ({ children: e = "Neon Blue", onClick: a }) => /* @__PURE__ */ r("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-blue-400 border-2 border-blue-400 hover:bg-blue-400 hover:text-black transition-all duration-300 hover:shadow-[0_0_20px_rgba(59,130,246,0.8)] hover:scale-105", children: e }), da = ({ children: e = "Neon Pink", onClick: a }) => /* @__PURE__ */ r("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-pink-400 border-2 border-pink-400 hover:bg-pink-400 hover:text-black transition-all duration-300 hover:shadow-[0_0_20px_rgba(236,72,153,0.8)] hover:scale-105", children: e }), la = ({ children: e = "Neon Green", onClick: a }) => /* @__PURE__ */ r("button", { onClick: a, className: "px-6 py-3 rounded-lg font-semibold text-green-400 border-2 border-green-400 hover:bg-green-400 hover:text-black transition-all duration-300 hover:shadow-[0_0_20px_rgba(34,197,94,0.8)] hover:scale-105", children: e }), _ = {
|
|
689
689
|
"glass-morphism": `
|
|
690
690
|
radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3), transparent 50%),
|
|
691
691
|
radial-gradient(circle at 80% 80%, rgba(255, 128, 171, 0.3), transparent 50%),
|
|
@@ -711,7 +711,47 @@ const D = ({
|
|
|
711
711
|
linear-gradient(180deg, #000000 0%, #0a0a1a 50%, #000000 100%)
|
|
712
712
|
`,
|
|
713
713
|
none: "transparent"
|
|
714
|
-
},
|
|
714
|
+
}, oa = ({
|
|
715
|
+
children: e,
|
|
716
|
+
layout: a = "center",
|
|
717
|
+
size: o = "lg",
|
|
718
|
+
theme: i = "none",
|
|
719
|
+
padding: t = !0,
|
|
720
|
+
gap: s = "md",
|
|
721
|
+
className: g = ""
|
|
722
|
+
}) => {
|
|
723
|
+
const l = {
|
|
724
|
+
sm: "max-w-3xl",
|
|
725
|
+
md: "max-w-5xl",
|
|
726
|
+
lg: "max-w-7xl",
|
|
727
|
+
xl: "max-w-[1400px]",
|
|
728
|
+
full: "max-w-full"
|
|
729
|
+
}[o], n = {
|
|
730
|
+
sm: "gap-4",
|
|
731
|
+
md: "gap-8",
|
|
732
|
+
lg: "gap-12"
|
|
733
|
+
}[s], p = {
|
|
734
|
+
"image-right": `grid md:grid-cols-2 ${n} items-center`,
|
|
735
|
+
"image-left": `grid md:grid-cols-2 ${n} items-center`,
|
|
736
|
+
"button-right": `grid md:grid-cols-2 ${n} items-center`,
|
|
737
|
+
"button-left": `grid md:grid-cols-2 ${n} items-center`,
|
|
738
|
+
center: "flex flex-col items-center justify-center text-center",
|
|
739
|
+
"two-columns": `grid md:grid-cols-2 ${n}`,
|
|
740
|
+
"three-columns": `grid md:grid-cols-3 ${n}`
|
|
741
|
+
}[a], c = t ? "px-6 py-8" : "", m = i !== "none" ? {
|
|
742
|
+
background: _[i],
|
|
743
|
+
backgroundSize: "200% 200%"
|
|
744
|
+
} : {}, b = C.Children.toArray(e);
|
|
745
|
+
let d = b;
|
|
746
|
+
return (a === "image-left" || a === "button-left") && (d = b.reverse()), /* @__PURE__ */ r(
|
|
747
|
+
"div",
|
|
748
|
+
{
|
|
749
|
+
className: `${l} mx-auto ${c} ${g}`,
|
|
750
|
+
style: m,
|
|
751
|
+
children: /* @__PURE__ */ r("div", { className: p, children: d })
|
|
752
|
+
}
|
|
753
|
+
);
|
|
754
|
+
}, sa = ({
|
|
715
755
|
src: e,
|
|
716
756
|
alt: a,
|
|
717
757
|
className: o = "",
|
|
@@ -726,94 +766,50 @@ const D = ({
|
|
|
726
766
|
height: t,
|
|
727
767
|
className: "w-full h-auto rounded-2xl shadow-2xl object-cover"
|
|
728
768
|
}
|
|
729
|
-
) }),
|
|
769
|
+
) }), ga = ({
|
|
730
770
|
children: e,
|
|
731
771
|
className: a = ""
|
|
732
|
-
}) => /* @__PURE__ */ r("div", { className: `space-y-4 ${a}`, children: e }),
|
|
772
|
+
}) => /* @__PURE__ */ r("div", { className: `space-y-4 ${a}`, children: e }), pa = ({
|
|
733
773
|
children: e,
|
|
734
774
|
className: a = ""
|
|
735
|
-
}) => /* @__PURE__ */ r("div", { className: `flex gap-4 ${a}`, children: e })
|
|
736
|
-
({
|
|
737
|
-
children: e,
|
|
738
|
-
layout: a = "center",
|
|
739
|
-
size: o = "lg",
|
|
740
|
-
theme: i = "none",
|
|
741
|
-
padding: t = !0,
|
|
742
|
-
gap: s = "md",
|
|
743
|
-
className: g = ""
|
|
744
|
-
}) => {
|
|
745
|
-
const l = {
|
|
746
|
-
sm: "max-w-3xl",
|
|
747
|
-
md: "max-w-5xl",
|
|
748
|
-
lg: "max-w-7xl",
|
|
749
|
-
xl: "max-w-[1400px]",
|
|
750
|
-
full: "max-w-full"
|
|
751
|
-
}[o], n = {
|
|
752
|
-
sm: "gap-4",
|
|
753
|
-
md: "gap-8",
|
|
754
|
-
lg: "gap-12"
|
|
755
|
-
}[s], p = {
|
|
756
|
-
"image-right": `grid md:grid-cols-2 ${n} items-center`,
|
|
757
|
-
"image-left": `grid md:grid-cols-2 ${n} items-center`,
|
|
758
|
-
"button-right": `grid md:grid-cols-2 ${n} items-center`,
|
|
759
|
-
"button-left": `grid md:grid-cols-2 ${n} items-center`,
|
|
760
|
-
center: "flex flex-col items-center justify-center text-center",
|
|
761
|
-
"two-columns": `grid md:grid-cols-2 ${n}`,
|
|
762
|
-
"three-columns": `grid md:grid-cols-3 ${n}`
|
|
763
|
-
}[a], c = t ? "px-6 py-8" : "", m = i !== "none" ? {
|
|
764
|
-
background: _[i],
|
|
765
|
-
backgroundSize: "200% 200%"
|
|
766
|
-
} : {}, b = C.Children.toArray(e);
|
|
767
|
-
let d = b;
|
|
768
|
-
return (a === "image-left" || a === "button-left") && (d = b.reverse()), /* @__PURE__ */ r(
|
|
769
|
-
"div",
|
|
770
|
-
{
|
|
771
|
-
className: `${l} mx-auto ${c} ${g}`,
|
|
772
|
-
style: m,
|
|
773
|
-
children: /* @__PURE__ */ r("div", { className: p, children: d })
|
|
774
|
-
}
|
|
775
|
-
);
|
|
776
|
-
},
|
|
777
|
-
{
|
|
778
|
-
Image: P,
|
|
779
|
-
Content: M,
|
|
780
|
-
Button: S
|
|
781
|
-
}
|
|
782
|
-
);
|
|
775
|
+
}) => /* @__PURE__ */ r("div", { className: `flex gap-4 ${a}`, children: e });
|
|
783
776
|
export {
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
777
|
+
X as AnimatedBounce,
|
|
778
|
+
Z as AnimatedGlow,
|
|
779
|
+
V as AnimatedPulse,
|
|
780
|
+
T as AnimatedShimmer,
|
|
781
|
+
S as Button,
|
|
782
|
+
ra as Button3DBlue,
|
|
783
|
+
na as Button3DGreen,
|
|
784
|
+
ta as Button3DPink,
|
|
785
|
+
oa as Container,
|
|
786
|
+
pa as ContainerButton,
|
|
787
|
+
ga as ContainerContent,
|
|
788
|
+
sa as ContainerImage,
|
|
789
|
+
L as GhostBlue,
|
|
790
|
+
ea as GhostPurple,
|
|
791
|
+
aa as GhostRed,
|
|
792
|
+
U as GlassBlue,
|
|
797
793
|
x as GlassButton,
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
794
|
+
Y as GlassPink,
|
|
795
|
+
W as GlassPurple,
|
|
796
|
+
O as GlassWhite,
|
|
797
|
+
F as GradientBlueGreen,
|
|
798
|
+
H as GradientCyan,
|
|
799
|
+
j as GradientOrangeRed,
|
|
800
|
+
I as GradientPurplePink,
|
|
801
|
+
q as GradientSunset,
|
|
802
|
+
$ as Home,
|
|
803
|
+
ia as NeonBlue,
|
|
804
|
+
la as NeonGreen,
|
|
805
|
+
da as NeonPink,
|
|
806
|
+
J as OutlinedBlue,
|
|
807
|
+
Q as OutlinedGradient,
|
|
808
|
+
K as OutlinedPurple,
|
|
809
|
+
D as SolidBlue,
|
|
810
|
+
R as SolidGreen,
|
|
811
|
+
E as SolidPill,
|
|
812
|
+
A as SolidPurple,
|
|
813
|
+
z as SolidRed,
|
|
814
|
+
B as gradients
|
|
819
815
|
};
|