telecop 0.1.23 → 0.1.25
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,3 +1,11 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
|
|
2
|
+
export interface FeatureCardProps {
|
|
3
|
+
icon?: React.ReactNode | string;
|
|
4
|
+
title: string;
|
|
5
|
+
description: string;
|
|
6
|
+
variant?: 'solid' | 'glass' | 'gradient' | 'outlined';
|
|
7
|
+
theme?: 'blue' | 'purple' | 'green' | 'red' | 'pink' | 'orange';
|
|
8
|
+
hoverable?: boolean;
|
|
9
|
+
className?: string;
|
|
10
|
+
}
|
|
3
11
|
export declare const FeatureCard: React.FC<FeatureCardProps>;
|
|
@@ -1,3 +1,13 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
-
|
|
2
|
+
export interface ProductCardProps {
|
|
3
|
+
image: string;
|
|
4
|
+
title: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
price: string | number;
|
|
7
|
+
oldPrice?: string | number;
|
|
8
|
+
badge?: string;
|
|
9
|
+
variant?: 'solid' | 'glass' | 'gradient' | 'outlined';
|
|
10
|
+
children?: React.ReactNode;
|
|
11
|
+
className?: string;
|
|
12
|
+
}
|
|
3
13
|
export declare const ProductCard: React.FC<ProductCardProps>;
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),v=require("react"),j=({children:e,variant:r="primary",size:d="md",onClick:n,disabled:t=!1,className:l=""})=>{const s="font-semibold rounded-lg transition-all duration-200 cursor-pointer",o={primary:"bg-blue-600 hover:bg-blue-700 text-white shadow-md hover:shadow-lg",secondary:"bg-gray-600 hover:bg-gray-700 text-white shadow-md hover:shadow-lg",danger:"bg-red-600 hover:bg-red-700 text-white shadow-md hover:shadow-lg"},i={sm:"px-3 py-1.5 text-sm",md:"px-4 py-2 text-base",lg:"px-6 py-3 text-lg"},g=t?"opacity-50 cursor-not-allowed":"";return a.jsx("button",{className:`${s} ${o[r]} ${i[d]} ${g} ${l}`,onClick:n,disabled:t,children:e})},m=({children:e,variant:r="blur",size:d="md",onClick:n,disabled:t=!1,className:l=""})=>{const[s,o]=v.useState([]),i=b=>{if(!t&&n){const x=b.currentTarget.getBoundingClientRect(),h=b.clientX-x.left,w=b.clientY-x.top,f=Date.now();o([...s,{x:h,y:w,id:f}]),setTimeout(()=>{o(y=>y.filter(k=>k.id!==f))},800),n()}},g=`
|
|
2
2
|
relative overflow-hidden
|
|
3
3
|
backdrop-blur-xl
|
|
4
4
|
border border-white/30
|
|
@@ -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
|
-
`},u=t?"opacity-40 cursor-not-allowed hover:scale-100 hover:shadow-xl":"";return
|
|
34
|
+
`},u=t?"opacity-40 cursor-not-allowed hover:scale-100 hover:shadow-xl":"";return a.jsxs("button",{className:`${g} ${p[d]} ${c[r]} ${u} ${l}`,onClick:i,disabled:t,children:[r==="waves"&&!t&&a.jsxs(a.Fragment,{children:[a.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"}),a.jsx("span",{className:"absolute inset-0 bg-gradient-to-br from-transparent via-white/10 to-transparent animate-pulse"})]}),r==="blur"&&!t&&a.jsx("span",{className:"absolute inset-0 bg-white/5 blur-xl opacity-0 group-hover:opacity-100 transition-opacity duration-500"}),a.jsx("span",{className:"absolute inset-0 rounded-2xl opacity-0 group-hover:opacity-100 transition-opacity duration-500 pointer-events-none",children:a.jsx("span",{className:"absolute inset-[-2px] rounded-2xl bg-gradient-to-r from-transparent via-white/40 to-transparent blur-sm animate-shimmer"})}),s.map(b=>a.jsx("span",{className:"absolute rounded-full bg-white/30 pointer-events-none animate-ripple",style:{left:b.x,top:b.y,width:"20px",height:"20px",transform:"translate(-50%, -50%)"}},b.id)),a.jsx("span",{className:"relative z-10 drop-shadow-lg",children:e})]})},N=({name:e,title:r,description:d="Welcome to my portfolio",primaryButtonText:n="Get Started",primaryButtonLink:t,primaryButtonOnClick:l,secondaryButtonText:s="Learn More",secondaryButtonLink:o,secondaryButtonOnClick:i,backgroundGradient:g="linear-gradient(135deg, #667eea 0%, #764ba2 100%)",animationType:p,className:c=""})=>{const u=()=>{t?window.location.href=t:l&&l()},b=()=>{o?window.location.href=o:i&&i()},x=t?a.jsx("a",{href:t,style:{textDecoration:"none"},children:a.jsx(m,{variant:"waves",size:"lg",children:n})}):a.jsx(m,{variant:"waves",size:"lg",onClick:l||u,children:n}),h=o?a.jsx("a",{href:o,style:{textDecoration:"none"},children:a.jsx(m,{variant:"blur",size:"lg",children:s})}):a.jsx(m,{variant:"blur",size:"lg",onClick:i||b,children:s});return a.jsx("div",{className:p?`animate-gradient-${p}`:"",style:{background:g,minHeight:"100vh"},children:a.jsx("div",{className:`min-h-screen flex items-center justify-center p-8 ${c}`,children:a.jsxs("div",{className:"max-w-4xl w-full text-center space-y-8",children:[a.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}),a.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:r}),a.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:d}),a.jsxs("div",{className:"flex flex-wrap gap-6 justify-center mt-12",style:{animation:"fadeInUp 1.4s ease-out 0.6s backwards"},children:[x,h]}),a.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"}],G=({children:a="Click Me",onClick:r})=>e.jsx("button",{onClick:r,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:a}),P=({children:a="Click Me",onClick:r})=>e.jsx("button",{onClick:r,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:a}),S=({children:a="Click Me",onClick:r})=>e.jsx("button",{onClick:r,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:a}),B=({children:a="Click Me",onClick:r})=>e.jsx("button",{onClick:r,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:a}),$=({children:a="Pill Button",onClick:r})=>e.jsx("button",{onClick:r,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:a}),_=({children:a="Click Me",onClick:r})=>e.jsx("button",{onClick:r,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:a}),M=({children:a="Click Me",onClick:r})=>e.jsx("button",{onClick:r,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:a}),D=({children:a="Click Me",onClick:r})=>e.jsx("button",{onClick:r,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:a}),R=({children:a="Click Me",onClick:r})=>e.jsx("button",{onClick:r,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:a}),z=({children:a="Click Me",onClick:r})=>e.jsx("button",{onClick:r,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:a}),A=({children:a="Click Me",onClick:r})=>e.jsx("button",{onClick:r,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:a}),I=({children:a="Click Me",onClick:r})=>e.jsx("button",{onClick:r,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:a}),F=({children:a="Click Me",onClick:r})=>e.jsx("button",{onClick:r,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:a}),E=({children:a="Click Me",onClick:r})=>e.jsx("button",{onClick:r,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:a}),O=({children:a="Shimmer Effect",onClick:r})=>e.jsxs("button",{onClick:r,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:[e.jsx("span",{className:"relative z-10",children:a}),e.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:a="Pulse Button",onClick:r})=>e.jsx("button",{onClick:r,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:a}),q=({children:a="Bounce Button",onClick:r})=>e.jsx("button",{onClick:r,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:a}),W=({children:a="Glow Effect",onClick:r})=>e.jsx("button",{onClick:r,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:a}),U=({children:a="Click Me",onClick:r})=>e.jsx("button",{onClick:r,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:a}),Y=({children:a="Click Me",onClick:r})=>e.jsx("button",{onClick:r,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:a}),T=({children:a="Gradient Border",onClick:r})=>e.jsx("button",{onClick:r,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:a}),V=({children:a="Click Me",onClick:r})=>e.jsx("button",{onClick:r,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:a}),X=({children:a="Click Me",onClick:r})=>e.jsx("button",{onClick:r,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:a}),Z=({children:a="Click Me",onClick:r})=>e.jsx("button",{onClick:r,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:a}),J=({children:a="3D Button",onClick:r})=>e.jsx("button",{onClick:r,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:a}),K=({children:a="3D Button",onClick:r})=>e.jsx("button",{onClick:r,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:a}),Q=({children:a="3D Button",onClick:r})=>e.jsx("button",{onClick:r,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:a}),L=({children:a="Neon Blue",onClick:r})=>e.jsx("button",{onClick:r,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:a}),ee=({children:a="Neon Pink",onClick:r})=>e.jsx("button",{onClick:r,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:a}),ae=({children:a="Neon Green",onClick:r})=>e.jsx("button",{onClick:r,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:a}),re={"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:r})=>a.jsx("button",{onClick:r,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:r})=>a.jsx("button",{onClick:r,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}),S=({children:e="Click Me",onClick:r})=>a.jsx("button",{onClick:r,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}),B=({children:e="Click Me",onClick:r})=>a.jsx("button",{onClick:r,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:r})=>a.jsx("button",{onClick:r,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}),_=({children:e="Click Me",onClick:r})=>a.jsx("button",{onClick:r,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}),M=({children:e="Click Me",onClick:r})=>a.jsx("button",{onClick:r,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:r})=>a.jsx("button",{onClick:r,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:r})=>a.jsx("button",{onClick:r,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:r})=>a.jsx("button",{onClick:r,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:r})=>a.jsx("button",{onClick:r,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:r})=>a.jsx("button",{onClick:r,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}),F=({children:e="Click Me",onClick:r})=>a.jsx("button",{onClick:r,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:r})=>a.jsx("button",{onClick:r,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}),O=({children:e="Shimmer Effect",onClick:r})=>a.jsxs("button",{onClick:r,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:[a.jsx("span",{className:"relative z-10",children:e}),a.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:r})=>a.jsx("button",{onClick:r,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:r})=>a.jsx("button",{onClick:r,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:r})=>a.jsx("button",{onClick:r,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:r})=>a.jsx("button",{onClick:r,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:r})=>a.jsx("button",{onClick:r,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:r})=>a.jsx("button",{onClick:r,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:r})=>a.jsx("button",{onClick:r,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:r})=>a.jsx("button",{onClick:r,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:r})=>a.jsx("button",{onClick:r,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:r})=>a.jsx("button",{onClick:r,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:r})=>a.jsx("button",{onClick:r,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:r})=>a.jsx("button",{onClick:r,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:r})=>a.jsx("button",{onClick:r,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}),ee=({children:e="Neon Pink",onClick:r})=>a.jsx("button",{onClick:r,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}),ae=({children:e="Neon Green",onClick:r})=>a.jsx("button",{onClick:r,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}),re={"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,15 +225,15 @@
|
|
|
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"},te=({children:
|
|
228
|
+
`,none:"transparent"},te=({children:e,layout:r="center",size:d="lg",theme:n="none",padding:t=!0,gap:l="md",className:s=""})=>{const o={sm:"max-w-3xl",md:"max-w-5xl",lg:"max-w-7xl",xl:"max-w-[1400px]",full:"max-w-full"}[d],i={sm:"gap-4",md:"gap-8",lg:"gap-12"}[l],g={"image-right":`grid md:grid-cols-2 ${i} items-center`,"image-left":`grid md:grid-cols-2 ${i} items-center`,"button-right":`grid md:grid-cols-2 ${i} items-center`,"button-left":`grid md:grid-cols-2 ${i} items-center`,center:"flex flex-col items-center justify-center text-center","two-columns":`grid md:grid-cols-2 ${i}`,"three-columns":`grid md:grid-cols-3 ${i}`}[r],p=t?"px-6 py-8":"",c=n!=="none"?{background:re[n],backgroundSize:"200% 200%"}:{},u=v.Children.toArray(e);let b=u;return(r==="image-left"||r==="button-left")&&(b=u.reverse()),a.jsx("div",{className:`${o} mx-auto ${p} ${s}`,style:c,children:a.jsx("div",{className:g,children:b})})},ne=({src:e,alt:r,className:d="",width:n,height:t})=>a.jsx("div",{className:`w-full ${d}`,children:a.jsx("img",{src:e,alt:r,width:n,height:t,className:"w-full h-auto rounded-2xl shadow-2xl object-cover"})}),ie=({children:e,className:r=""})=>a.jsx("div",{className:`space-y-4 ${r}`,children:e}),de=({children:e,className:r=""})=>a.jsx("div",{className:`flex gap-4 ${r}`,children:e}),le=({icon:e,title:r,description:d,variant:n="solid",theme:t="blue",hoverable:l=!0,className:s=""})=>{const i=`
|
|
229
229
|
rounded-2xl p-6
|
|
230
230
|
transition-all duration-300
|
|
231
|
-
${
|
|
231
|
+
${l?"hover:scale-105 hover:shadow-2xl":""}
|
|
232
232
|
${{blue:{solid:"bg-blue-600 text-white",glass:"bg-blue-500/20 backdrop-blur-xl border border-blue-400/30 text-white",gradient:"bg-gradient-to-br from-blue-600 to-blue-800 text-white",outlined:"bg-transparent border-2 border-blue-500 text-blue-500"},purple:{solid:"bg-purple-600 text-white",glass:"bg-purple-500/20 backdrop-blur-xl border border-purple-400/30 text-white",gradient:"bg-gradient-to-br from-purple-600 to-pink-600 text-white",outlined:"bg-transparent border-2 border-purple-500 text-purple-500"},green:{solid:"bg-green-600 text-white",glass:"bg-green-500/20 backdrop-blur-xl border border-green-400/30 text-white",gradient:"bg-gradient-to-br from-green-600 to-emerald-600 text-white",outlined:"bg-transparent border-2 border-green-500 text-green-500"},red:{solid:"bg-red-600 text-white",glass:"bg-red-500/20 backdrop-blur-xl border border-red-400/30 text-white",gradient:"bg-gradient-to-br from-red-600 to-orange-600 text-white",outlined:"bg-transparent border-2 border-red-500 text-red-500"},pink:{solid:"bg-pink-600 text-white",glass:"bg-pink-500/20 backdrop-blur-xl border border-pink-400/30 text-white",gradient:"bg-gradient-to-br from-pink-600 to-rose-600 text-white",outlined:"bg-transparent border-2 border-pink-500 text-pink-500"},orange:{solid:"bg-orange-600 text-white",glass:"bg-orange-500/20 backdrop-blur-xl border border-orange-400/30 text-white",gradient:"bg-gradient-to-br from-orange-600 to-red-600 text-white",outlined:"bg-transparent border-2 border-orange-500 text-orange-500"}}[t][n]}
|
|
233
233
|
${s}
|
|
234
|
-
`,
|
|
234
|
+
`,g=()=>e?typeof e=="string"?a.jsx("div",{className:"text-4xl mb-4",children:e}):a.jsx("div",{className:"mb-4",children:e}):null;return a.jsxs("div",{className:i,children:[g(),a.jsx("h3",{className:"text-xl font-bold mb-2",children:r}),a.jsx("p",{className:`text-sm ${n==="outlined"?"text-gray-600":"opacity-90"}`,children:d})]})},oe=({image:e,title:r,description:d,price:n,oldPrice:t,badge:l,variant:s="solid",children:o,className:i=""})=>{const g={solid:"bg-gray-900 border border-gray-800",glass:"bg-white/5 backdrop-blur-xl border border-white/10",gradient:"bg-gradient-to-br from-gray-900 to-gray-800 border border-gray-700",outlined:"bg-transparent border-2 border-gray-700"};return a.jsxs("div",{className:`rounded-2xl overflow-hidden transition-all duration-300 hover:scale-105 hover:shadow-2xl ${g[s]} ${i}`,children:[a.jsxs("div",{className:"relative",children:[a.jsx("img",{src:e,alt:r,className:"w-full h-48 object-cover"}),l&&a.jsx("span",{className:"absolute top-3 right-3 px-3 py-1 bg-red-500 text-white text-xs font-bold rounded-full",children:l})]}),a.jsxs("div",{className:"p-5 space-y-3",children:[a.jsx("h3",{className:"text-xl font-bold text-white",children:r}),d&&a.jsx("p",{className:"text-gray-400 text-sm",children:d}),a.jsxs("div",{className:"flex items-center gap-2",children:[a.jsxs("span",{className:"text-2xl font-bold text-white",children:["$",n]}),t&&a.jsxs("span",{className:"text-sm text-gray-500 line-through",children:["$",t]})]}),o]})]})},se=({icon:e,label:r,value:d,change:n,trend:t="neutral",variant:l="solid",theme:s="blue",className:o=""})=>{const i={blue:{solid:"bg-blue-600/10 border-blue-500/20",glass:"bg-blue-500/20 backdrop-blur-xl border-blue-400/30",gradient:"bg-gradient-to-br from-blue-600/20 to-blue-800/20 border-blue-500/30",outlined:"bg-transparent border-2 border-blue-500"},purple:{solid:"bg-purple-600/10 border-purple-500/20",glass:"bg-purple-500/20 backdrop-blur-xl border-purple-400/30",gradient:"bg-gradient-to-br from-purple-600/20 to-pink-600/20 border-purple-500/30",outlined:"bg-transparent border-2 border-purple-500"},green:{solid:"bg-green-600/10 border-green-500/20",glass:"bg-green-500/20 backdrop-blur-xl border-green-400/30",gradient:"bg-gradient-to-br from-green-600/20 to-emerald-600/20 border-green-500/30",outlined:"bg-transparent border-2 border-green-500"},red:{solid:"bg-red-600/10 border-red-500/20",glass:"bg-red-500/20 backdrop-blur-xl border-red-400/30",gradient:"bg-gradient-to-br from-red-600/20 to-orange-600/20 border-red-500/30",outlined:"bg-transparent border-2 border-red-500"},pink:{solid:"bg-pink-600/10 border-pink-500/20",glass:"bg-pink-500/20 backdrop-blur-xl border-pink-400/30",gradient:"bg-gradient-to-br from-pink-600/20 to-rose-600/20 border-pink-500/30",outlined:"bg-transparent border-2 border-pink-500"},orange:{solid:"bg-orange-600/10 border-orange-500/20",glass:"bg-orange-500/20 backdrop-blur-xl border-orange-400/30",gradient:"bg-gradient-to-br from-orange-600/20 to-red-600/20 border-orange-500/30",outlined:"bg-transparent border-2 border-orange-500"}},g={up:"text-green-400",down:"text-red-400",neutral:"text-gray-400"},p={up:"↑",down:"↓",neutral:"→"},c=()=>e?typeof e=="string"?a.jsx("div",{className:"text-3xl",children:e}):a.jsx("div",{children:e}):null;return a.jsxs("div",{className:`
|
|
235
235
|
rounded-2xl p-6 border
|
|
236
236
|
transition-all duration-300 hover:scale-105 hover:shadow-xl
|
|
237
|
-
${i[s][
|
|
238
|
-
${
|
|
239
|
-
`,children:[
|
|
237
|
+
${i[s][l]}
|
|
238
|
+
${o}
|
|
239
|
+
`,children:[a.jsxs("div",{className:"flex items-start justify-between mb-4",children:[c(),n&&a.jsxs("span",{className:`text-sm font-semibold ${g[t]}`,children:[p[t]," ",n]})]}),a.jsx("p",{className:"text-gray-400 text-sm mb-1",children:r}),a.jsx("p",{className:"text-3xl font-bold text-white",children:d})]})};exports.AnimatedBounce=q;exports.AnimatedGlow=W;exports.AnimatedPulse=H;exports.AnimatedShimmer=O;exports.Button=j;exports.Button3DBlue=J;exports.Button3DGreen=Q;exports.Button3DPink=K;exports.Container=te;exports.ContainerButton=de;exports.ContainerContent=ie;exports.ContainerImage=ne;exports.FeatureCard=le;exports.GhostBlue=V;exports.GhostPurple=Z;exports.GhostRed=X;exports.GlassBlue=A;exports.GlassButton=m;exports.GlassPink=E;exports.GlassPurple=I;exports.GlassWhite=F;exports.GradientBlueGreen=M;exports.GradientCyan=R;exports.GradientOrangeRed=D;exports.GradientPurplePink=_;exports.GradientSunset=z;exports.Home=N;exports.NeonBlue=L;exports.NeonGreen=ae;exports.NeonPink=ee;exports.OutlinedBlue=U;exports.OutlinedGradient=Y;exports.OutlinedPurple=T;exports.ProductCard=oe;exports.SolidBlue=G;exports.SolidGreen=S;exports.SolidPill=$;exports.SolidPurple=B;exports.SolidRed=P;exports.StatCard=se;exports.gradients=C;
|
package/dist/index.mjs
CHANGED
|
@@ -4,12 +4,12 @@ import C, { useState as $ } from "react";
|
|
|
4
4
|
const S = ({
|
|
5
5
|
children: e,
|
|
6
6
|
variant: a = "primary",
|
|
7
|
-
size:
|
|
7
|
+
size: d = "md",
|
|
8
8
|
onClick: n,
|
|
9
9
|
disabled: t = !1,
|
|
10
|
-
className:
|
|
10
|
+
className: l = ""
|
|
11
11
|
}) => {
|
|
12
|
-
const s = "font-semibold rounded-lg transition-all duration-200 cursor-pointer",
|
|
12
|
+
const s = "font-semibold rounded-lg transition-all duration-200 cursor-pointer", o = {
|
|
13
13
|
primary: "bg-blue-600 hover:bg-blue-700 text-white shadow-md hover:shadow-lg",
|
|
14
14
|
secondary: "bg-gray-600 hover:bg-gray-700 text-white shadow-md hover:shadow-lg",
|
|
15
15
|
danger: "bg-red-600 hover:bg-red-700 text-white shadow-md hover:shadow-lg"
|
|
@@ -17,11 +17,11 @@ const S = ({
|
|
|
17
17
|
sm: "px-3 py-1.5 text-sm",
|
|
18
18
|
md: "px-4 py-2 text-base",
|
|
19
19
|
lg: "px-6 py-3 text-lg"
|
|
20
|
-
},
|
|
20
|
+
}, p = t ? "opacity-50 cursor-not-allowed" : "";
|
|
21
21
|
return /* @__PURE__ */ r(
|
|
22
22
|
"button",
|
|
23
23
|
{
|
|
24
|
-
className: `${s} ${
|
|
24
|
+
className: `${s} ${o[a]} ${i[d]} ${p} ${l}`,
|
|
25
25
|
onClick: n,
|
|
26
26
|
disabled: t,
|
|
27
27
|
children: e
|
|
@@ -30,19 +30,19 @@ const S = ({
|
|
|
30
30
|
}, x = ({
|
|
31
31
|
children: e,
|
|
32
32
|
variant: a = "blur",
|
|
33
|
-
size:
|
|
33
|
+
size: d = "md",
|
|
34
34
|
onClick: n,
|
|
35
35
|
disabled: t = !1,
|
|
36
|
-
className:
|
|
36
|
+
className: l = ""
|
|
37
37
|
}) => {
|
|
38
|
-
const [s,
|
|
38
|
+
const [s, o] = $([]), i = (b) => {
|
|
39
39
|
if (!t && n) {
|
|
40
|
-
const h =
|
|
41
|
-
|
|
42
|
-
|
|
40
|
+
const h = b.currentTarget.getBoundingClientRect(), f = b.clientX - h.left, w = b.clientY - h.top, v = Date.now();
|
|
41
|
+
o([...s, { x: f, y: w, id: v }]), setTimeout(() => {
|
|
42
|
+
o((y) => y.filter((k) => k.id !== v));
|
|
43
43
|
}, 800), n();
|
|
44
44
|
}
|
|
45
|
-
},
|
|
45
|
+
}, p = `
|
|
46
46
|
relative overflow-hidden
|
|
47
47
|
backdrop-blur-xl
|
|
48
48
|
border border-white/30
|
|
@@ -56,7 +56,7 @@ const S = ({
|
|
|
56
56
|
sm: "px-5 py-2.5 text-sm",
|
|
57
57
|
md: "px-7 py-3.5 text-base",
|
|
58
58
|
lg: "px-9 py-4.5 text-lg"
|
|
59
|
-
},
|
|
59
|
+
}, m = {
|
|
60
60
|
blur: `
|
|
61
61
|
bg-white/5
|
|
62
62
|
hover:bg-white/15
|
|
@@ -82,11 +82,11 @@ const S = ({
|
|
|
82
82
|
hover:before:translate-x-[200%]
|
|
83
83
|
before:transition-transform before:duration-1000
|
|
84
84
|
`
|
|
85
|
-
},
|
|
85
|
+
}, u = t ? "opacity-40 cursor-not-allowed hover:scale-100 hover:shadow-xl" : "";
|
|
86
86
|
return /* @__PURE__ */ g(
|
|
87
87
|
"button",
|
|
88
88
|
{
|
|
89
|
-
className: `${
|
|
89
|
+
className: `${p} ${c[d]} ${m[a]} ${u} ${l}`,
|
|
90
90
|
onClick: i,
|
|
91
91
|
disabled: t,
|
|
92
92
|
children: [
|
|
@@ -96,19 +96,19 @@ const S = ({
|
|
|
96
96
|
] }),
|
|
97
97
|
a === "blur" && !t && /* @__PURE__ */ r("span", { className: "absolute inset-0 bg-white/5 blur-xl opacity-0 group-hover:opacity-100 transition-opacity duration-500" }),
|
|
98
98
|
/* @__PURE__ */ r("span", { className: "absolute inset-0 rounded-2xl opacity-0 group-hover:opacity-100 transition-opacity duration-500 pointer-events-none", children: /* @__PURE__ */ r("span", { className: "absolute inset-[-2px] rounded-2xl bg-gradient-to-r from-transparent via-white/40 to-transparent blur-sm animate-shimmer" }) }),
|
|
99
|
-
s.map((
|
|
99
|
+
s.map((b) => /* @__PURE__ */ r(
|
|
100
100
|
"span",
|
|
101
101
|
{
|
|
102
102
|
className: "absolute rounded-full bg-white/30 pointer-events-none animate-ripple",
|
|
103
103
|
style: {
|
|
104
|
-
left:
|
|
105
|
-
top:
|
|
104
|
+
left: b.x,
|
|
105
|
+
top: b.y,
|
|
106
106
|
width: "20px",
|
|
107
107
|
height: "20px",
|
|
108
108
|
transform: "translate(-50%, -50%)"
|
|
109
109
|
}
|
|
110
110
|
},
|
|
111
|
-
|
|
111
|
+
b.id
|
|
112
112
|
)),
|
|
113
113
|
/* @__PURE__ */ r("span", { className: "relative z-10 drop-shadow-lg", children: e })
|
|
114
114
|
]
|
|
@@ -117,35 +117,35 @@ const S = ({
|
|
|
117
117
|
}, M = ({
|
|
118
118
|
name: e,
|
|
119
119
|
title: a,
|
|
120
|
-
description:
|
|
120
|
+
description: d = "Welcome to my portfolio",
|
|
121
121
|
primaryButtonText: n = "Get Started",
|
|
122
122
|
primaryButtonLink: t,
|
|
123
|
-
primaryButtonOnClick:
|
|
123
|
+
primaryButtonOnClick: l,
|
|
124
124
|
secondaryButtonText: s = "Learn More",
|
|
125
|
-
secondaryButtonLink:
|
|
125
|
+
secondaryButtonLink: o,
|
|
126
126
|
secondaryButtonOnClick: i,
|
|
127
|
-
backgroundGradient:
|
|
127
|
+
backgroundGradient: p = "linear-gradient(135deg, #667eea 0%, #764ba2 100%)",
|
|
128
128
|
animationType: c,
|
|
129
|
-
className:
|
|
129
|
+
className: m = ""
|
|
130
130
|
}) => {
|
|
131
|
-
const
|
|
132
|
-
t ? window.location.href = t :
|
|
133
|
-
},
|
|
134
|
-
|
|
131
|
+
const u = () => {
|
|
132
|
+
t ? window.location.href = t : l && l();
|
|
133
|
+
}, b = () => {
|
|
134
|
+
o ? window.location.href = o : i && i();
|
|
135
135
|
}, h = t ? /* @__PURE__ */ r("a", { href: t, style: { textDecoration: "none" }, children: /* @__PURE__ */ r(x, { variant: "waves", size: "lg", children: n }) }) : /* @__PURE__ */ r(
|
|
136
136
|
x,
|
|
137
137
|
{
|
|
138
138
|
variant: "waves",
|
|
139
139
|
size: "lg",
|
|
140
|
-
onClick:
|
|
140
|
+
onClick: l || u,
|
|
141
141
|
children: n
|
|
142
142
|
}
|
|
143
|
-
), f =
|
|
143
|
+
), f = o ? /* @__PURE__ */ r("a", { href: o, style: { textDecoration: "none" }, children: /* @__PURE__ */ r(x, { variant: "blur", size: "lg", children: s }) }) : /* @__PURE__ */ r(
|
|
144
144
|
x,
|
|
145
145
|
{
|
|
146
146
|
variant: "blur",
|
|
147
147
|
size: "lg",
|
|
148
|
-
onClick: i ||
|
|
148
|
+
onClick: i || b,
|
|
149
149
|
children: s
|
|
150
150
|
}
|
|
151
151
|
);
|
|
@@ -154,10 +154,10 @@ const S = ({
|
|
|
154
154
|
{
|
|
155
155
|
className: c ? `animate-gradient-${c}` : "",
|
|
156
156
|
style: {
|
|
157
|
-
background:
|
|
157
|
+
background: p,
|
|
158
158
|
minHeight: "100vh"
|
|
159
159
|
},
|
|
160
|
-
children: /* @__PURE__ */ r("div", { className: `min-h-screen flex items-center justify-center p-8 ${
|
|
160
|
+
children: /* @__PURE__ */ r("div", { className: `min-h-screen flex items-center justify-center p-8 ${m}`, children: /* @__PURE__ */ g("div", { className: "max-w-4xl w-full text-center space-y-8", children: [
|
|
161
161
|
/* @__PURE__ */ r(
|
|
162
162
|
"h1",
|
|
163
163
|
{
|
|
@@ -188,7 +188,7 @@ const S = ({
|
|
|
188
188
|
textShadow: "0 0 20px rgba(0,0,0,0.2)",
|
|
189
189
|
animation: "fadeInUp 1.2s ease-out 0.4s backwards"
|
|
190
190
|
},
|
|
191
|
-
children:
|
|
191
|
+
children: d
|
|
192
192
|
}
|
|
193
193
|
),
|
|
194
194
|
/* @__PURE__ */ g(
|
|
@@ -682,10 +682,10 @@ const S = ({
|
|
|
682
682
|
category: "animated",
|
|
683
683
|
animation: "zoom"
|
|
684
684
|
}
|
|
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 }), I = ({ 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 }), j = ({ 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 }), A = ({ 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 }), E = ({ 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 }), 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-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 }),
|
|
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 }), I = ({ 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 }), j = ({ 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 }), A = ({ 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 }), E = ({ 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 }), 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-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__ */ g("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 }), ee = ({ 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 }), ae = ({ 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 }), re = ({ 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 }), te = ({ 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 }), ne = ({ 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 }), ie = ({ 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 }), de = ({ 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 }), le = ({ 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 }), G = {
|
|
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%),
|
|
@@ -714,23 +714,23 @@ const S = ({
|
|
|
714
714
|
}, oe = ({
|
|
715
715
|
children: e,
|
|
716
716
|
layout: a = "center",
|
|
717
|
-
size:
|
|
717
|
+
size: d = "lg",
|
|
718
718
|
theme: n = "none",
|
|
719
719
|
padding: t = !0,
|
|
720
|
-
gap:
|
|
720
|
+
gap: l = "md",
|
|
721
721
|
className: s = ""
|
|
722
722
|
}) => {
|
|
723
|
-
const
|
|
723
|
+
const o = {
|
|
724
724
|
sm: "max-w-3xl",
|
|
725
725
|
md: "max-w-5xl",
|
|
726
726
|
lg: "max-w-7xl",
|
|
727
727
|
xl: "max-w-[1400px]",
|
|
728
728
|
full: "max-w-full"
|
|
729
|
-
}[
|
|
729
|
+
}[d], i = {
|
|
730
730
|
sm: "gap-4",
|
|
731
731
|
md: "gap-8",
|
|
732
732
|
lg: "gap-12"
|
|
733
|
-
}[
|
|
733
|
+
}[l], p = {
|
|
734
734
|
"image-right": `grid md:grid-cols-2 ${i} items-center`,
|
|
735
735
|
"image-left": `grid md:grid-cols-2 ${i} items-center`,
|
|
736
736
|
"button-right": `grid md:grid-cols-2 ${i} items-center`,
|
|
@@ -738,26 +738,26 @@ const S = ({
|
|
|
738
738
|
center: "flex flex-col items-center justify-center text-center",
|
|
739
739
|
"two-columns": `grid md:grid-cols-2 ${i}`,
|
|
740
740
|
"three-columns": `grid md:grid-cols-3 ${i}`
|
|
741
|
-
}[a], c = t ? "px-6 py-8" : "",
|
|
741
|
+
}[a], c = t ? "px-6 py-8" : "", m = n !== "none" ? {
|
|
742
742
|
background: G[n],
|
|
743
743
|
backgroundSize: "200% 200%"
|
|
744
|
-
} : {},
|
|
745
|
-
let
|
|
746
|
-
return (a === "image-left" || a === "button-left") && (
|
|
744
|
+
} : {}, u = C.Children.toArray(e);
|
|
745
|
+
let b = u;
|
|
746
|
+
return (a === "image-left" || a === "button-left") && (b = u.reverse()), /* @__PURE__ */ r(
|
|
747
747
|
"div",
|
|
748
748
|
{
|
|
749
|
-
className: `${
|
|
750
|
-
style:
|
|
751
|
-
children: /* @__PURE__ */ r("div", { className:
|
|
749
|
+
className: `${o} mx-auto ${c} ${s}`,
|
|
750
|
+
style: m,
|
|
751
|
+
children: /* @__PURE__ */ r("div", { className: p, children: b })
|
|
752
752
|
}
|
|
753
753
|
);
|
|
754
754
|
}, se = ({
|
|
755
755
|
src: e,
|
|
756
756
|
alt: a,
|
|
757
|
-
className:
|
|
757
|
+
className: d = "",
|
|
758
758
|
width: n,
|
|
759
759
|
height: t
|
|
760
|
-
}) => /* @__PURE__ */ r("div", { className: `w-full ${
|
|
760
|
+
}) => /* @__PURE__ */ r("div", { className: `w-full ${d}`, children: /* @__PURE__ */ r(
|
|
761
761
|
"img",
|
|
762
762
|
{
|
|
763
763
|
src: e,
|
|
@@ -775,17 +775,16 @@ const S = ({
|
|
|
775
775
|
}) => /* @__PURE__ */ r("div", { className: `flex gap-4 ${a}`, children: e }), pe = ({
|
|
776
776
|
icon: e,
|
|
777
777
|
title: a,
|
|
778
|
-
description:
|
|
778
|
+
description: d,
|
|
779
779
|
variant: n = "solid",
|
|
780
780
|
theme: t = "blue",
|
|
781
|
-
hoverable:
|
|
782
|
-
className: s = ""
|
|
783
|
-
onClick: d
|
|
781
|
+
hoverable: l = !0,
|
|
782
|
+
className: s = ""
|
|
784
783
|
}) => {
|
|
785
|
-
const
|
|
784
|
+
const i = `
|
|
786
785
|
rounded-2xl p-6
|
|
787
786
|
transition-all duration-300
|
|
788
|
-
${
|
|
787
|
+
${l ? "hover:scale-105 hover:shadow-2xl" : ""}
|
|
789
788
|
${{
|
|
790
789
|
blue: {
|
|
791
790
|
solid: "bg-blue-600 text-white",
|
|
@@ -826,20 +825,20 @@ const S = ({
|
|
|
826
825
|
}[t][n]}
|
|
827
826
|
${s}
|
|
828
827
|
`;
|
|
829
|
-
return /* @__PURE__ */ g("div", { className:
|
|
828
|
+
return /* @__PURE__ */ g("div", { className: i, children: [
|
|
830
829
|
e ? typeof e == "string" ? /* @__PURE__ */ r("div", { className: "text-4xl mb-4", children: e }) : /* @__PURE__ */ r("div", { className: "mb-4", children: e }) : null,
|
|
831
830
|
/* @__PURE__ */ r("h3", { className: "text-xl font-bold mb-2", children: a }),
|
|
832
|
-
/* @__PURE__ */ r("p", { className: `text-sm ${n === "outlined" ? "text-gray-600" : "opacity-90"}`, children:
|
|
831
|
+
/* @__PURE__ */ r("p", { className: `text-sm ${n === "outlined" ? "text-gray-600" : "opacity-90"}`, children: d })
|
|
833
832
|
] });
|
|
834
833
|
}, ce = ({
|
|
835
834
|
image: e,
|
|
836
835
|
title: a,
|
|
837
|
-
description:
|
|
836
|
+
description: d,
|
|
838
837
|
price: n,
|
|
839
838
|
oldPrice: t,
|
|
840
|
-
badge:
|
|
839
|
+
badge: l,
|
|
841
840
|
variant: s = "solid",
|
|
842
|
-
|
|
841
|
+
children: o,
|
|
843
842
|
className: i = ""
|
|
844
843
|
}) => /* @__PURE__ */ g("div", { className: `rounded-2xl overflow-hidden transition-all duration-300 hover:scale-105 hover:shadow-2xl ${{
|
|
845
844
|
solid: "bg-gray-900 border border-gray-800",
|
|
@@ -856,11 +855,11 @@ const S = ({
|
|
|
856
855
|
className: "w-full h-48 object-cover"
|
|
857
856
|
}
|
|
858
857
|
),
|
|
859
|
-
|
|
858
|
+
l && /* @__PURE__ */ r("span", { className: "absolute top-3 right-3 px-3 py-1 bg-red-500 text-white text-xs font-bold rounded-full", children: l })
|
|
860
859
|
] }),
|
|
861
860
|
/* @__PURE__ */ g("div", { className: "p-5 space-y-3", children: [
|
|
862
861
|
/* @__PURE__ */ r("h3", { className: "text-xl font-bold text-white", children: a }),
|
|
863
|
-
|
|
862
|
+
d && /* @__PURE__ */ r("p", { className: "text-gray-400 text-sm", children: d }),
|
|
864
863
|
/* @__PURE__ */ g("div", { className: "flex items-center gap-2", children: [
|
|
865
864
|
/* @__PURE__ */ g("span", { className: "text-2xl font-bold text-white", children: [
|
|
866
865
|
"$",
|
|
@@ -871,24 +870,17 @@ const S = ({
|
|
|
871
870
|
t
|
|
872
871
|
] })
|
|
873
872
|
] }),
|
|
874
|
-
|
|
875
|
-
"button",
|
|
876
|
-
{
|
|
877
|
-
onClick: d,
|
|
878
|
-
className: "w-full px-4 py-2 bg-blue-600 hover:bg-blue-700 text-white font-semibold rounded-lg transition-all duration-300",
|
|
879
|
-
children: "Add to Cart"
|
|
880
|
-
}
|
|
881
|
-
)
|
|
873
|
+
o
|
|
882
874
|
] })
|
|
883
|
-
] }),
|
|
875
|
+
] }), me = ({
|
|
884
876
|
icon: e,
|
|
885
877
|
label: a,
|
|
886
|
-
value:
|
|
878
|
+
value: d,
|
|
887
879
|
change: n,
|
|
888
880
|
trend: t = "neutral",
|
|
889
|
-
variant:
|
|
881
|
+
variant: l = "solid",
|
|
890
882
|
theme: s = "blue",
|
|
891
|
-
className:
|
|
883
|
+
className: o = ""
|
|
892
884
|
}) => {
|
|
893
885
|
const i = {
|
|
894
886
|
blue: {
|
|
@@ -927,7 +919,7 @@ const S = ({
|
|
|
927
919
|
gradient: "bg-gradient-to-br from-orange-600/20 to-red-600/20 border-orange-500/30",
|
|
928
920
|
outlined: "bg-transparent border-2 border-orange-500"
|
|
929
921
|
}
|
|
930
|
-
},
|
|
922
|
+
}, p = {
|
|
931
923
|
up: "text-green-400",
|
|
932
924
|
down: "text-red-400",
|
|
933
925
|
neutral: "text-gray-400"
|
|
@@ -935,30 +927,30 @@ const S = ({
|
|
|
935
927
|
up: "↑",
|
|
936
928
|
down: "↓",
|
|
937
929
|
neutral: "→"
|
|
938
|
-
},
|
|
930
|
+
}, m = () => e ? typeof e == "string" ? /* @__PURE__ */ r("div", { className: "text-3xl", children: e }) : /* @__PURE__ */ r("div", { children: e }) : null;
|
|
939
931
|
return /* @__PURE__ */ g("div", { className: `
|
|
940
932
|
rounded-2xl p-6 border
|
|
941
933
|
transition-all duration-300 hover:scale-105 hover:shadow-xl
|
|
942
|
-
${i[s][
|
|
943
|
-
${
|
|
934
|
+
${i[s][l]}
|
|
935
|
+
${o}
|
|
944
936
|
`, children: [
|
|
945
937
|
/* @__PURE__ */ g("div", { className: "flex items-start justify-between mb-4", children: [
|
|
946
|
-
|
|
947
|
-
n && /* @__PURE__ */ g("span", { className: `text-sm font-semibold ${
|
|
938
|
+
m(),
|
|
939
|
+
n && /* @__PURE__ */ g("span", { className: `text-sm font-semibold ${p[t]}`, children: [
|
|
948
940
|
c[t],
|
|
949
941
|
" ",
|
|
950
942
|
n
|
|
951
943
|
] })
|
|
952
944
|
] }),
|
|
953
945
|
/* @__PURE__ */ r("p", { className: "text-gray-400 text-sm mb-1", children: a }),
|
|
954
|
-
/* @__PURE__ */ r("p", { className: "text-3xl font-bold text-white", children:
|
|
946
|
+
/* @__PURE__ */ r("p", { className: "text-3xl font-bold text-white", children: d })
|
|
955
947
|
] });
|
|
956
948
|
};
|
|
957
949
|
export {
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
950
|
+
X as AnimatedBounce,
|
|
951
|
+
Z as AnimatedGlow,
|
|
952
|
+
V as AnimatedPulse,
|
|
953
|
+
T as AnimatedShimmer,
|
|
962
954
|
S as Button,
|
|
963
955
|
re as Button3DBlue,
|
|
964
956
|
ne as Button3DGreen,
|
|
@@ -985,15 +977,15 @@ export {
|
|
|
985
977
|
ie as NeonBlue,
|
|
986
978
|
le as NeonGreen,
|
|
987
979
|
de as NeonPink,
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
|
|
980
|
+
J as OutlinedBlue,
|
|
981
|
+
Q as OutlinedGradient,
|
|
982
|
+
K as OutlinedPurple,
|
|
991
983
|
ce as ProductCard,
|
|
992
984
|
D as SolidBlue,
|
|
993
985
|
R as SolidGreen,
|
|
994
986
|
j as SolidPill,
|
|
995
987
|
I as SolidPurple,
|
|
996
988
|
z as SolidRed,
|
|
997
|
-
|
|
989
|
+
me as StatCard,
|
|
998
990
|
B as gradients
|
|
999
991
|
};
|