telecop 0.1.26 → 0.1.27
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.
|
@@ -6,7 +6,6 @@ export interface FeatureCardProps {
|
|
|
6
6
|
variant?: 'solid' | 'glass' | 'gradient' | 'outlined';
|
|
7
7
|
theme?: 'blue' | 'purple' | 'green' | 'red' | 'pink' | 'orange';
|
|
8
8
|
hoverable?: boolean;
|
|
9
|
-
onClick?: () => void;
|
|
10
9
|
className?: string;
|
|
11
10
|
}
|
|
12
11
|
export declare const FeatureCard: React.FC<FeatureCardProps>;
|
|
@@ -7,8 +7,7 @@ export interface ProductCardProps {
|
|
|
7
7
|
oldPrice?: string | number;
|
|
8
8
|
badge?: string;
|
|
9
9
|
variant?: 'solid' | 'glass' | 'gradient' | 'outlined';
|
|
10
|
-
|
|
11
|
-
onButtonClick?: () => void;
|
|
10
|
+
children?: React.ReactNode;
|
|
12
11
|
className?: string;
|
|
13
12
|
}
|
|
14
13
|
export declare const ProductCard: React.FC<ProductCardProps>;
|
|
@@ -6,7 +6,6 @@ export interface FeatureCardProps {
|
|
|
6
6
|
variant?: CardVariant;
|
|
7
7
|
theme?: 'blue' | 'purple' | 'green' | 'red' | 'pink' | 'orange';
|
|
8
8
|
hoverable?: boolean;
|
|
9
|
-
onClick?: () => void;
|
|
10
9
|
className?: string;
|
|
11
10
|
}
|
|
12
11
|
export interface ProductCardProps {
|
|
@@ -17,8 +16,7 @@ export interface ProductCardProps {
|
|
|
17
16
|
oldPrice?: string | number;
|
|
18
17
|
badge?: string;
|
|
19
18
|
variant?: CardVariant;
|
|
20
|
-
|
|
21
|
-
onButtonClick?: () => void;
|
|
19
|
+
children?: React.ReactNode;
|
|
22
20
|
className?: string;
|
|
23
21
|
}
|
|
24
22
|
export interface StatCardProps {
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),v=require("react"),j=({children:r,variant:e="primary",size:
|
|
1
|
+
"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),v=require("react"),j=({children:r,variant:e="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"},b=t?"opacity-50 cursor-not-allowed":"";return a.jsx("button",{className:`${s} ${o[e]} ${i[d]} ${b} ${l}`,onClick:n,disabled:t,children:r})},m=({children:r,variant:e="blur",size:d="md",onClick:n,disabled:t=!1,className:l=""})=>{const[s,o]=v.useState([]),i=g=>{if(!t&&n){const x=g.currentTarget.getBoundingClientRect(),h=g.clientX-x.left,w=g.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()}},b=`
|
|
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
|
-
`},c=t?"opacity-40 cursor-not-allowed hover:scale-100 hover:shadow-xl":"";return a.jsxs("button",{className:`${
|
|
34
|
+
`},c=t?"opacity-40 cursor-not-allowed hover:scale-100 hover:shadow-xl":"";return a.jsxs("button",{className:`${b} ${p[d]} ${u[e]} ${c} ${l}`,onClick:i,disabled:t,children:[e==="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"})]}),e==="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(g=>a.jsx("span",{className:"absolute rounded-full bg-white/30 pointer-events-none animate-ripple",style:{left:g.x,top:g.y,width:"20px",height:"20px",transform:"translate(-50%, -50%)"}},g.id)),a.jsx("span",{className:"relative z-10 drop-shadow-lg",children:r})]})},N=({name:r,title:e,description:d="Welcome to my portfolio",primaryButtonText:n="Get Started",primaryButtonLink:t,primaryButtonOnClick:l,secondaryButtonText:s="Learn More",secondaryButtonLink:o,secondaryButtonOnClick:i,backgroundGradient:b="linear-gradient(135deg, #667eea 0%, #764ba2 100%)",animationType:p,className:u=""})=>{const c=()=>{t?window.location.href=t:l&&l()},g=()=>{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||c,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||g,children:s});return a.jsx("div",{className:p?`animate-gradient-${p}`:"",style:{background:b,minHeight:"100vh"},children:a.jsx("div",{className:`min-h-screen flex items-center justify-center p-8 ${u}`,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:r}),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:e}),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:r="Click Me",onClick:e})=>a.jsx("button",{onClick:e,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:r}),P=({children:r="Click Me",onClick:e})=>a.jsx("button",{onClick:e,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:r}),S=({children:r="Click Me",onClick:e})=>a.jsx("button",{onClick:e,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:r}),$=({children:r="Click Me",onClick:e})=>a.jsx("button",{onClick:e,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:r}),B=({children:r="Pill Button",onClick:e})=>a.jsx("button",{onClick:e,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:r}),_=({children:r="Click Me",onClick:e})=>a.jsx("button",{onClick:e,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:r}),M=({children:r="Click Me",onClick:e})=>a.jsx("button",{onClick:e,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:r}),D=({children:r="Click Me",onClick:e})=>a.jsx("button",{onClick:e,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:r}),R=({children:r="Click Me",onClick:e})=>a.jsx("button",{onClick:e,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:r}),z=({children:r="Click Me",onClick:e})=>a.jsx("button",{onClick:e,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:r}),A=({children:r="Click Me",onClick:e})=>a.jsx("button",{onClick:e,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:r}),I=({children:r="Click Me",onClick:e})=>a.jsx("button",{onClick:e,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:r}),F=({children:r="Click Me",onClick:e})=>a.jsx("button",{onClick:e,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:r}),E=({children:r="Click Me",onClick:e})=>a.jsx("button",{onClick:e,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:r}),O=({children:r="Shimmer Effect",onClick:e})=>a.jsxs("button",{onClick:e,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:r}),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:r="Pulse Button",onClick:e})=>a.jsx("button",{onClick:e,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:r}),q=({children:r="Bounce Button",onClick:e})=>a.jsx("button",{onClick:e,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:r}),W=({children:r="Glow Effect",onClick:e})=>a.jsx("button",{onClick:e,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:r}),U=({children:r="Click Me",onClick:e})=>a.jsx("button",{onClick:e,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:r}),Y=({children:r="Click Me",onClick:e})=>a.jsx("button",{onClick:e,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:r}),T=({children:r="Gradient Border",onClick:e})=>a.jsx("button",{onClick:e,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:r}),V=({children:r="Click Me",onClick:e})=>a.jsx("button",{onClick:e,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:r}),X=({children:r="Click Me",onClick:e})=>a.jsx("button",{onClick:e,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:r}),Z=({children:r="Click Me",onClick:e})=>a.jsx("button",{onClick:e,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:r}),J=({children:r="3D Button",onClick:e})=>a.jsx("button",{onClick:e,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:r}),K=({children:r="3D Button",onClick:e})=>a.jsx("button",{onClick:e,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:r}),Q=({children:r="3D Button",onClick:e})=>a.jsx("button",{onClick:e,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:r}),L=({children:r="Neon Blue",onClick:e})=>a.jsx("button",{onClick:e,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:r}),ee=({children:r="Neon Pink",onClick:e})=>a.jsx("button",{onClick:e,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:r}),ae=({children:r="Neon Green",onClick:e})=>a.jsx("button",{onClick:e,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:r}),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:r="Click Me",onClick:e})=>a.jsx("button",{onClick:e,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:r}),P=({children:r="Click Me",onClick:e})=>a.jsx("button",{onClick:e,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:r}),S=({children:r="Click Me",onClick:e})=>a.jsx("button",{onClick:e,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:r}),B=({children:r="Click Me",onClick:e})=>a.jsx("button",{onClick:e,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:r}),$=({children:r="Pill Button",onClick:e})=>a.jsx("button",{onClick:e,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:r}),_=({children:r="Click Me",onClick:e})=>a.jsx("button",{onClick:e,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:r}),M=({children:r="Click Me",onClick:e})=>a.jsx("button",{onClick:e,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:r}),D=({children:r="Click Me",onClick:e})=>a.jsx("button",{onClick:e,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:r}),R=({children:r="Click Me",onClick:e})=>a.jsx("button",{onClick:e,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:r}),z=({children:r="Click Me",onClick:e})=>a.jsx("button",{onClick:e,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:r}),A=({children:r="Click Me",onClick:e})=>a.jsx("button",{onClick:e,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:r}),I=({children:r="Click Me",onClick:e})=>a.jsx("button",{onClick:e,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:r}),F=({children:r="Click Me",onClick:e})=>a.jsx("button",{onClick:e,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:r}),E=({children:r="Click Me",onClick:e})=>a.jsx("button",{onClick:e,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:r}),O=({children:r="Shimmer Effect",onClick:e})=>a.jsxs("button",{onClick:e,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:r}),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:r="Pulse Button",onClick:e})=>a.jsx("button",{onClick:e,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:r}),q=({children:r="Bounce Button",onClick:e})=>a.jsx("button",{onClick:e,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:r}),W=({children:r="Glow Effect",onClick:e})=>a.jsx("button",{onClick:e,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:r}),U=({children:r="Click Me",onClick:e})=>a.jsx("button",{onClick:e,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:r}),T=({children:r="Click Me",onClick:e})=>a.jsx("button",{onClick:e,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:r}),Y=({children:r="Gradient Border",onClick:e})=>a.jsx("button",{onClick:e,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:r}),V=({children:r="Click Me",onClick:e})=>a.jsx("button",{onClick:e,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:r}),X=({children:r="Click Me",onClick:e})=>a.jsx("button",{onClick:e,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:r}),Z=({children:r="Click Me",onClick:e})=>a.jsx("button",{onClick:e,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:r}),J=({children:r="3D Button",onClick:e})=>a.jsx("button",{onClick:e,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:r}),K=({children:r="3D Button",onClick:e})=>a.jsx("button",{onClick:e,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:r}),Q=({children:r="3D Button",onClick:e})=>a.jsx("button",{onClick:e,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:r}),L=({children:r="Neon Blue",onClick:e})=>a.jsx("button",{onClick:e,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:r}),ee=({children:r="Neon Pink",onClick:e})=>a.jsx("button",{onClick:e,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:r}),ae=({children:r="Neon Green",onClick:e})=>a.jsx("button",{onClick:e,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:r}),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,16 +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:r,layout:e="center",size:
|
|
228
|
+
`,none:"transparent"},te=({children:r,layout:e="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],b={"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}`}[e],p=t?"px-6 py-8":"",u=n!=="none"?{background:re[n],backgroundSize:"200% 200%"}:{},c=v.Children.toArray(r);let g=c;return(e==="image-left"||e==="button-left")&&(g=c.reverse()),a.jsx("div",{className:`${o} mx-auto ${p} ${s}`,style:u,children:a.jsx("div",{className:b,children:g})})},ne=({src:r,alt:e,className:d="",width:n,height:t})=>a.jsx("div",{className:`w-full ${d}`,children:a.jsx("img",{src:r,alt:e,width:n,height:t,className:"w-full h-auto rounded-2xl shadow-2xl object-cover"})}),ie=({children:r,className:e=""})=>a.jsx("div",{className:`space-y-4 ${e}`,children:r}),de=({children:r,className:e=""})=>a.jsx("div",{className:`flex gap-4 ${e}`,children:r}),le=({icon:r,title:e,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
|
-
${
|
|
232
|
-
${s?"cursor-pointer":""}
|
|
231
|
+
${l?"hover:scale-105 hover:shadow-2xl":""}
|
|
233
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]}
|
|
234
|
-
${
|
|
235
|
-
`;return a.jsxs("div",{className:
|
|
233
|
+
${s}
|
|
234
|
+
`;return a.jsxs("div",{className:i,children:[r&&a.jsx("div",{className:"text-4xl mb-4",children:r}),a.jsx("h3",{className:"text-xl font-bold mb-2",children:e}),a.jsx("p",{className:`text-sm ${n==="outlined"?"text-gray-600":"opacity-90"}`,children:d})]})},oe=({image:r,title:e,description:d,price:n,oldPrice:t,badge:l,variant:s="solid",children:o,className:i=""})=>{const b={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 ${b[s]} ${i}`,children:[a.jsxs("div",{className:"relative",children:[a.jsx("img",{src:r,alt:e,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:e}),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:r,label:e,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"}},b={up:"text-green-400",down:"text-red-400",neutral:"text-gray-400"},p={up:"↑",down:"↓",neutral:"→"};return a.jsxs("div",{className:`
|
|
236
235
|
rounded-2xl p-6 border
|
|
237
236
|
transition-all duration-300 hover:scale-105 hover:shadow-xl
|
|
238
|
-
${i[s][
|
|
239
|
-
${
|
|
240
|
-
`,children:[a.jsxs("div",{className:"flex items-start justify-between mb-4",children:[r&&a.jsx("div",{className:"text-3xl",children:r}),n&&a.jsxs("span",{className:`text-sm font-semibold ${
|
|
237
|
+
${i[s][l]}
|
|
238
|
+
${o}
|
|
239
|
+
`,children:[a.jsxs("div",{className:"flex items-start justify-between mb-4",children:[r&&a.jsx("div",{className:"text-3xl",children:r}),n&&a.jsxs("span",{className:`text-sm font-semibold ${b[t]}`,children:[p[t]," ",n]})]}),a.jsx("p",{className:"text-gray-400 text-sm mb-1",children:e}),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: a,
|
|
6
6
|
variant: e = "primary",
|
|
7
|
-
size:
|
|
7
|
+
size: d = "md",
|
|
8
8
|
onClick: n,
|
|
9
9
|
disabled: t = !1,
|
|
10
10
|
className: o = ""
|
|
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", l = {
|
|
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} ${l[e]} ${i[d]} ${p} ${o}`,
|
|
25
25
|
onClick: n,
|
|
26
26
|
disabled: t,
|
|
27
27
|
children: a
|
|
@@ -30,19 +30,19 @@ const S = ({
|
|
|
30
30
|
}, x = ({
|
|
31
31
|
children: a,
|
|
32
32
|
variant: e = "blur",
|
|
33
|
-
size:
|
|
33
|
+
size: d = "md",
|
|
34
34
|
onClick: n,
|
|
35
35
|
disabled: t = !1,
|
|
36
36
|
className: o = ""
|
|
37
37
|
}) => {
|
|
38
|
-
const [s,
|
|
38
|
+
const [s, l] = $([]), 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
|
+
l([...s, { x: f, y: w, id: v }]), setTimeout(() => {
|
|
42
|
+
l((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
|
|
@@ -86,7 +86,7 @@ const S = ({
|
|
|
86
86
|
return /* @__PURE__ */ g(
|
|
87
87
|
"button",
|
|
88
88
|
{
|
|
89
|
-
className: `${
|
|
89
|
+
className: `${p} ${c[d]} ${u[e]} ${m} ${o}`,
|
|
90
90
|
onClick: i,
|
|
91
91
|
disabled: t,
|
|
92
92
|
children: [
|
|
@@ -96,19 +96,19 @@ const S = ({
|
|
|
96
96
|
] }),
|
|
97
97
|
e === "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: a })
|
|
114
114
|
]
|
|
@@ -117,21 +117,21 @@ const S = ({
|
|
|
117
117
|
}, M = ({
|
|
118
118
|
name: a,
|
|
119
119
|
title: e,
|
|
120
|
-
description:
|
|
120
|
+
description: d = "Welcome to my portfolio",
|
|
121
121
|
primaryButtonText: n = "Get Started",
|
|
122
122
|
primaryButtonLink: t,
|
|
123
123
|
primaryButtonOnClick: o,
|
|
124
124
|
secondaryButtonText: s = "Learn More",
|
|
125
|
-
secondaryButtonLink:
|
|
125
|
+
secondaryButtonLink: l,
|
|
126
126
|
secondaryButtonOnClick: i,
|
|
127
|
-
backgroundGradient:
|
|
127
|
+
backgroundGradient: p = "linear-gradient(135deg, #667eea 0%, #764ba2 100%)",
|
|
128
128
|
animationType: c,
|
|
129
129
|
className: u = ""
|
|
130
130
|
}) => {
|
|
131
131
|
const m = () => {
|
|
132
132
|
t ? window.location.href = t : o && o();
|
|
133
|
-
},
|
|
134
|
-
|
|
133
|
+
}, b = () => {
|
|
134
|
+
l ? window.location.href = l : 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
|
{
|
|
@@ -140,12 +140,12 @@ const S = ({
|
|
|
140
140
|
onClick: o || m,
|
|
141
141
|
children: n
|
|
142
142
|
}
|
|
143
|
-
), f =
|
|
143
|
+
), f = l ? /* @__PURE__ */ r("a", { href: l, 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,7 +154,7 @@ 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
160
|
children: /* @__PURE__ */ r("div", { className: `min-h-screen flex items-center justify-center p-8 ${u}`, children: /* @__PURE__ */ g("div", { className: "max-w-4xl w-full text-center space-y-8", children: [
|
|
@@ -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: a = "Click Me", onClick: e }) => /* @__PURE__ */ r("button", { onClick: e, 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 }), z = ({ children: a = "Click Me", onClick: e }) => /* @__PURE__ */ r("button", { onClick: e, 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 }), R = ({ children: a = "Click Me", onClick: e }) => /* @__PURE__ */ r("button", { onClick: e, 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 }),
|
|
685
|
+
], D = ({ children: a = "Click Me", onClick: e }) => /* @__PURE__ */ r("button", { onClick: e, 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 }), z = ({ children: a = "Click Me", onClick: e }) => /* @__PURE__ */ r("button", { onClick: e, 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 }), R = ({ children: a = "Click Me", onClick: e }) => /* @__PURE__ */ r("button", { onClick: e, 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 }), I = ({ children: a = "Click Me", onClick: e }) => /* @__PURE__ */ r("button", { onClick: e, 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 }), j = ({ children: a = "Pill Button", onClick: e }) => /* @__PURE__ */ r("button", { onClick: e, 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 }), A = ({ children: a = "Click Me", onClick: e }) => /* @__PURE__ */ r("button", { onClick: e, 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 }), E = ({ children: a = "Click Me", onClick: e }) => /* @__PURE__ */ r("button", { onClick: e, 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 }), F = ({ children: a = "Click Me", onClick: e }) => /* @__PURE__ */ r("button", { onClick: e, 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 }), H = ({ children: a = "Click Me", onClick: e }) => /* @__PURE__ */ r("button", { onClick: e, 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 }), q = ({ children: a = "Click Me", onClick: e }) => /* @__PURE__ */ r("button", { onClick: e, 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 }), U = ({ children: a = "Click Me", onClick: e }) => /* @__PURE__ */ r("button", { onClick: e, 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 }), W = ({ children: a = "Click Me", onClick: e }) => /* @__PURE__ */ r("button", { onClick: e, 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 }), O = ({ children: a = "Click Me", onClick: e }) => /* @__PURE__ */ r("button", { onClick: e, 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 }), Y = ({ children: a = "Click Me", onClick: e }) => /* @__PURE__ */ r("button", { onClick: e, 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 }), T = ({ children: a = "Shimmer Effect", onClick: e }) => /* @__PURE__ */ g("button", { onClick: e, 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: a }),
|
|
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: a = "Pulse Button", onClick: e }) => /* @__PURE__ */ r("button", { onClick: e, 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 }), X = ({ children: a = "Bounce Button", onClick: e }) => /* @__PURE__ */ r("button", { onClick: e, 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 }), Z = ({ children: a = "Glow Effect", onClick: e }) => /* @__PURE__ */ r("button", { onClick: e, 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 }), J = ({ children: a = "Click Me", onClick: e }) => /* @__PURE__ */ r("button", { onClick: e, 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 }), K = ({ children: a = "Click Me", onClick: e }) => /* @__PURE__ */ r("button", { onClick: e, 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 }), Q = ({ children: a = "Gradient Border", onClick: e }) => /* @__PURE__ */ r("button", { onClick: e, 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 }), L = ({ children: a = "Click Me", onClick: e }) => /* @__PURE__ */ r("button", { onClick: e, 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 }), ee = ({ children: a = "Click Me", onClick: e }) => /* @__PURE__ */ r("button", { onClick: e, 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 }), ae = ({ children: a = "Click Me", onClick: e }) => /* @__PURE__ */ r("button", { onClick: e, 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 }), re = ({ children: a = "3D Button", onClick: e }) => /* @__PURE__ */ r("button", { onClick: e, 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 }), te = ({ children: a = "3D Button", onClick: e }) => /* @__PURE__ */ r("button", { onClick: e, 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 }), ne = ({ children: a = "3D Button", onClick: e }) => /* @__PURE__ */ r("button", { onClick: e, 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 }), ie = ({ children: a = "Neon Blue", onClick: e }) => /* @__PURE__ */ r("button", { onClick: e, 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 }), de = ({ children: a = "Neon Pink", onClick: e }) => /* @__PURE__ */ r("button", { onClick: e, 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 }), oe = ({ children: a = "Neon Green", onClick: e }) => /* @__PURE__ */ r("button", { onClick: e, 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 }), 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%),
|
|
@@ -711,26 +711,26 @@ const S = ({
|
|
|
711
711
|
linear-gradient(180deg, #000000 0%, #0a0a1a 50%, #000000 100%)
|
|
712
712
|
`,
|
|
713
713
|
none: "transparent"
|
|
714
|
-
},
|
|
714
|
+
}, le = ({
|
|
715
715
|
children: a,
|
|
716
716
|
layout: e = "center",
|
|
717
|
-
size:
|
|
717
|
+
size: d = "lg",
|
|
718
718
|
theme: n = "none",
|
|
719
719
|
padding: t = !0,
|
|
720
720
|
gap: o = "md",
|
|
721
721
|
className: s = ""
|
|
722
722
|
}) => {
|
|
723
|
-
const
|
|
723
|
+
const l = {
|
|
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
|
-
}[o],
|
|
733
|
+
}[o], 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`,
|
|
@@ -742,22 +742,22 @@ const S = ({
|
|
|
742
742
|
background: G[n],
|
|
743
743
|
backgroundSize: "200% 200%"
|
|
744
744
|
} : {}, m = C.Children.toArray(a);
|
|
745
|
-
let
|
|
746
|
-
return (e === "image-left" || e === "button-left") && (
|
|
745
|
+
let b = m;
|
|
746
|
+
return (e === "image-left" || e === "button-left") && (b = m.reverse()), /* @__PURE__ */ r(
|
|
747
747
|
"div",
|
|
748
748
|
{
|
|
749
|
-
className: `${
|
|
749
|
+
className: `${l} mx-auto ${c} ${s}`,
|
|
750
750
|
style: u,
|
|
751
|
-
children: /* @__PURE__ */ r("div", { className:
|
|
751
|
+
children: /* @__PURE__ */ r("div", { className: p, children: b })
|
|
752
752
|
}
|
|
753
753
|
);
|
|
754
754
|
}, se = ({
|
|
755
755
|
src: a,
|
|
756
756
|
alt: e,
|
|
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: a,
|
|
@@ -775,18 +775,16 @@ const S = ({
|
|
|
775
775
|
}) => /* @__PURE__ */ r("div", { className: `flex gap-4 ${e}`, children: a }), pe = ({
|
|
776
776
|
icon: a,
|
|
777
777
|
title: e,
|
|
778
|
-
description:
|
|
778
|
+
description: d,
|
|
779
779
|
variant: n = "solid",
|
|
780
780
|
theme: t = "blue",
|
|
781
781
|
hoverable: o = !0,
|
|
782
|
-
|
|
783
|
-
className: d = ""
|
|
782
|
+
className: s = ""
|
|
784
783
|
}) => {
|
|
785
|
-
const
|
|
784
|
+
const i = `
|
|
786
785
|
rounded-2xl p-6
|
|
787
786
|
transition-all duration-300
|
|
788
787
|
${o ? "hover:scale-105 hover:shadow-2xl" : ""}
|
|
789
|
-
${s ? "cursor-pointer" : ""}
|
|
790
788
|
${{
|
|
791
789
|
blue: {
|
|
792
790
|
solid: "bg-blue-600 text-white",
|
|
@@ -825,30 +823,29 @@ const S = ({
|
|
|
825
823
|
outlined: "bg-transparent border-2 border-orange-500 text-orange-500"
|
|
826
824
|
}
|
|
827
825
|
}[t][n]}
|
|
828
|
-
${
|
|
826
|
+
${s}
|
|
829
827
|
`;
|
|
830
|
-
return /* @__PURE__ */ g("div", { className:
|
|
828
|
+
return /* @__PURE__ */ g("div", { className: i, children: [
|
|
831
829
|
a && /* @__PURE__ */ r("div", { className: "text-4xl mb-4", children: a }),
|
|
832
830
|
/* @__PURE__ */ r("h3", { className: "text-xl font-bold mb-2", children: e }),
|
|
833
|
-
/* @__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 })
|
|
834
832
|
] });
|
|
835
833
|
}, ce = ({
|
|
836
834
|
image: a,
|
|
837
835
|
title: e,
|
|
838
|
-
description:
|
|
836
|
+
description: d,
|
|
839
837
|
price: n,
|
|
840
838
|
oldPrice: t,
|
|
841
839
|
badge: o,
|
|
842
840
|
variant: s = "solid",
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
className: b = ""
|
|
841
|
+
children: l,
|
|
842
|
+
className: i = ""
|
|
846
843
|
}) => /* @__PURE__ */ g("div", { className: `rounded-2xl overflow-hidden transition-all duration-300 hover:scale-105 hover:shadow-2xl ${{
|
|
847
844
|
solid: "bg-gray-900 border border-gray-800",
|
|
848
845
|
glass: "bg-white/5 backdrop-blur-xl border border-white/10",
|
|
849
846
|
gradient: "bg-gradient-to-br from-gray-900 to-gray-800 border border-gray-700",
|
|
850
847
|
outlined: "bg-transparent border-2 border-gray-700"
|
|
851
|
-
}[s]} ${
|
|
848
|
+
}[s]} ${i}`, children: [
|
|
852
849
|
/* @__PURE__ */ g("div", { className: "relative", children: [
|
|
853
850
|
/* @__PURE__ */ r(
|
|
854
851
|
"img",
|
|
@@ -862,7 +859,7 @@ const S = ({
|
|
|
862
859
|
] }),
|
|
863
860
|
/* @__PURE__ */ g("div", { className: "p-5 space-y-3", children: [
|
|
864
861
|
/* @__PURE__ */ r("h3", { className: "text-xl font-bold text-white", children: e }),
|
|
865
|
-
|
|
862
|
+
d && /* @__PURE__ */ r("p", { className: "text-gray-400 text-sm", children: d }),
|
|
866
863
|
/* @__PURE__ */ g("div", { className: "flex items-center gap-2", children: [
|
|
867
864
|
/* @__PURE__ */ g("span", { className: "text-2xl font-bold text-white", children: [
|
|
868
865
|
"$",
|
|
@@ -873,24 +870,17 @@ const S = ({
|
|
|
873
870
|
t
|
|
874
871
|
] })
|
|
875
872
|
] }),
|
|
876
|
-
|
|
877
|
-
"button",
|
|
878
|
-
{
|
|
879
|
-
onClick: i,
|
|
880
|
-
className: "w-full px-4 py-2 rounded-lg font-semibold text-white bg-blue-600 hover:bg-blue-700 transition-all duration-300 hover:scale-105",
|
|
881
|
-
children: d
|
|
882
|
-
}
|
|
883
|
-
)
|
|
873
|
+
l
|
|
884
874
|
] })
|
|
885
875
|
] }), me = ({
|
|
886
876
|
icon: a,
|
|
887
877
|
label: e,
|
|
888
|
-
value:
|
|
878
|
+
value: d,
|
|
889
879
|
change: n,
|
|
890
880
|
trend: t = "neutral",
|
|
891
881
|
variant: o = "solid",
|
|
892
882
|
theme: s = "blue",
|
|
893
|
-
className:
|
|
883
|
+
className: l = ""
|
|
894
884
|
}) => {
|
|
895
885
|
const i = {
|
|
896
886
|
blue: {
|
|
@@ -929,7 +919,7 @@ const S = ({
|
|
|
929
919
|
gradient: "bg-gradient-to-br from-orange-600/20 to-red-600/20 border-orange-500/30",
|
|
930
920
|
outlined: "bg-transparent border-2 border-orange-500"
|
|
931
921
|
}
|
|
932
|
-
},
|
|
922
|
+
}, p = {
|
|
933
923
|
up: "text-green-400",
|
|
934
924
|
down: "text-red-400",
|
|
935
925
|
neutral: "text-gray-400"
|
|
@@ -942,30 +932,30 @@ const S = ({
|
|
|
942
932
|
rounded-2xl p-6 border
|
|
943
933
|
transition-all duration-300 hover:scale-105 hover:shadow-xl
|
|
944
934
|
${i[s][o]}
|
|
945
|
-
${
|
|
935
|
+
${l}
|
|
946
936
|
`, children: [
|
|
947
937
|
/* @__PURE__ */ g("div", { className: "flex items-start justify-between mb-4", children: [
|
|
948
938
|
a && /* @__PURE__ */ r("div", { className: "text-3xl", children: a }),
|
|
949
|
-
n && /* @__PURE__ */ g("span", { className: `text-sm font-semibold ${
|
|
939
|
+
n && /* @__PURE__ */ g("span", { className: `text-sm font-semibold ${p[t]}`, children: [
|
|
950
940
|
c[t],
|
|
951
941
|
" ",
|
|
952
942
|
n
|
|
953
943
|
] })
|
|
954
944
|
] }),
|
|
955
945
|
/* @__PURE__ */ r("p", { className: "text-gray-400 text-sm mb-1", children: e }),
|
|
956
|
-
/* @__PURE__ */ r("p", { className: "text-3xl font-bold text-white", children:
|
|
946
|
+
/* @__PURE__ */ r("p", { className: "text-3xl font-bold text-white", children: d })
|
|
957
947
|
] });
|
|
958
948
|
};
|
|
959
949
|
export {
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
950
|
+
X as AnimatedBounce,
|
|
951
|
+
Z as AnimatedGlow,
|
|
952
|
+
V as AnimatedPulse,
|
|
953
|
+
T as AnimatedShimmer,
|
|
964
954
|
S as Button,
|
|
965
955
|
re as Button3DBlue,
|
|
966
956
|
ne as Button3DGreen,
|
|
967
957
|
te as Button3DPink,
|
|
968
|
-
|
|
958
|
+
le as Container,
|
|
969
959
|
be as ContainerButton,
|
|
970
960
|
ge as ContainerContent,
|
|
971
961
|
se as ContainerImage,
|
|
@@ -981,20 +971,20 @@ export {
|
|
|
981
971
|
E as GradientBlueGreen,
|
|
982
972
|
H as GradientCyan,
|
|
983
973
|
F as GradientOrangeRed,
|
|
984
|
-
|
|
974
|
+
A as GradientPurplePink,
|
|
985
975
|
q as GradientSunset,
|
|
986
976
|
M as Home,
|
|
987
977
|
ie as NeonBlue,
|
|
988
|
-
|
|
978
|
+
oe as NeonGreen,
|
|
989
979
|
de as NeonPink,
|
|
990
|
-
|
|
991
|
-
|
|
992
|
-
|
|
980
|
+
J as OutlinedBlue,
|
|
981
|
+
Q as OutlinedGradient,
|
|
982
|
+
K as OutlinedPurple,
|
|
993
983
|
ce as ProductCard,
|
|
994
984
|
D as SolidBlue,
|
|
995
985
|
R as SolidGreen,
|
|
996
|
-
|
|
997
|
-
|
|
986
|
+
j as SolidPill,
|
|
987
|
+
I as SolidPurple,
|
|
998
988
|
z as SolidRed,
|
|
999
989
|
me as StatCard,
|
|
1000
990
|
B as gradients
|