aliveicon 1.0.25 → 1.0.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.
- package/dist/cjs/index.js +2732 -138
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +2696 -139
- package/dist/esm/index.js.map +1 -1
- package/dist/types/icons/A-Arrow-Down.d.ts +2 -2
- package/dist/types/icons/A-Arrow-Up.d.ts +2 -2
- package/dist/types/icons/Amphora.d.ts +15 -0
- package/dist/types/icons/Anchor.d.ts +15 -0
- package/dist/types/icons/Angry.d.ts +16 -0
- package/dist/types/icons/Annoyed.d.ts +17 -0
- package/dist/types/icons/Antenna.d.ts +16 -0
- package/dist/types/icons/Aperture.d.ts +15 -0
- package/dist/types/icons/App-Window-Mac.d.ts +15 -0
- package/dist/types/icons/App-Window.d.ts +15 -0
- package/dist/types/icons/Archive-Restore.d.ts +15 -0
- package/dist/types/icons/Archive-X.d.ts +15 -0
- package/dist/types/icons/Archive.d.ts +15 -0
- package/dist/types/icons/Armchair.d.ts +15 -0
- package/dist/types/icons/Arrow-Big-Down-Dash.d.ts +15 -0
- package/dist/types/icons/Arrow-Big-Down.d.ts +15 -0
- package/dist/types/icons/Arrow-Big-Left-Dash.d.ts +15 -0
- package/dist/types/icons/Arrow-Big-Left.d.ts +15 -0
- package/dist/types/icons/Arrow-Big-Right-Dash.d.ts +15 -0
- package/dist/types/icons/Arrow-Big-Right.d.ts +15 -0
- package/dist/types/icons/Arrow-Big-Up-Dash.d.ts +15 -0
- package/dist/types/icons/Arrow-Big-Up.d.ts +15 -0
- package/dist/types/icons/Arrow-Down-0-1.d.ts +15 -0
- package/dist/types/icons/Arrow-Down-1-0.d.ts +15 -0
- package/dist/types/icons/Arrow-Down-A-Z.d.ts +15 -0
- package/dist/types/icons/Arrow-Down-To-Line.d.ts +15 -0
- package/dist/types/icons/Arrow-Down-Up.d.ts +15 -0
- package/dist/types/icons/Arrow-Down-Z-A.d.ts +15 -0
- package/dist/types/icons/Arrow-Down.d.ts +15 -0
- package/dist/types/icons/Arrow-Left.d.ts +15 -0
- package/dist/types/icons/Arrow-Right.d.ts +15 -0
- package/dist/types/icons/Arrow-Up.d.ts +15 -0
- package/dist/types/icons/Asterisk.d.ts +16 -0
- package/dist/types/icons/At-Sign.d.ts +16 -0
- package/dist/types/icons/Atom.d.ts +16 -0
- package/dist/types/icons/Audio-Lines.d.ts +16 -0
- package/dist/types/icons/Audio-Waveform.d.ts +12 -0
- package/dist/types/icons/Award.d.ts +16 -0
- package/dist/types/icons/Axe.d.ts +16 -0
- package/dist/types/index.d.ts +39 -2
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -2983,7 +2983,7 @@ const getDefaultConfig = () => {
|
|
|
2983
2983
|
};
|
|
2984
2984
|
const twMerge = /*#__PURE__*/createTailwindMerge(getDefaultConfig);
|
|
2985
2985
|
|
|
2986
|
-
function cn$
|
|
2986
|
+
function cn$1e(...inputs) {
|
|
2987
2987
|
return twMerge(clsx(inputs));
|
|
2988
2988
|
}
|
|
2989
2989
|
const squareVariants$1 = {
|
|
@@ -2998,7 +2998,7 @@ const squareVariants$1 = {
|
|
|
2998
2998
|
transition: { duration: 0.6, ease: 'easeInOut' },
|
|
2999
2999
|
},
|
|
3000
3000
|
};
|
|
3001
|
-
const pathVariants$
|
|
3001
|
+
const pathVariants$I = {
|
|
3002
3002
|
normal: {
|
|
3003
3003
|
opacity: 1,
|
|
3004
3004
|
pathLength: 1,
|
|
@@ -3051,15 +3051,15 @@ function SquareActivity({ size = 28, className, style, autoAnimateOnLoad = false
|
|
|
3051
3051
|
triggerAnimation();
|
|
3052
3052
|
onClick?.(e);
|
|
3053
3053
|
};
|
|
3054
|
-
return (jsxRuntime.jsx("div", { className: cn$
|
|
3054
|
+
return (jsxRuntime.jsx("div", { className: cn$1e('rounded-md', className), style: {
|
|
3055
3055
|
width: size,
|
|
3056
3056
|
height: size,
|
|
3057
3057
|
display: 'inline-block',
|
|
3058
3058
|
...style,
|
|
3059
|
-
}, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", width: "100%", height: "100%", children: [jsxRuntime.jsx(framerMotion.motion.rect, { width: "18", height: "18", x: "3", y: "3", rx: "2", variants: squareVariants$1, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M17 12h-2l-2 5-2-10-2 5H7", variants: pathVariants$
|
|
3059
|
+
}, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", width: "100%", height: "100%", children: [jsxRuntime.jsx(framerMotion.motion.rect, { width: "18", height: "18", x: "3", y: "3", rx: "2", variants: squareVariants$1, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M17 12h-2l-2 5-2-10-2 5H7", variants: pathVariants$I, animate: controls, initial: "normal", style: { strokeDasharray: 1 } })] }) }));
|
|
3060
3060
|
}
|
|
3061
3061
|
|
|
3062
|
-
function cn$
|
|
3062
|
+
function cn$1d(...inputs) {
|
|
3063
3063
|
return twMerge(clsx(inputs));
|
|
3064
3064
|
}
|
|
3065
3065
|
const bounceVariant$1 = {
|
|
@@ -3115,7 +3115,7 @@ const bouncePathVariants$1 = {
|
|
|
3115
3115
|
},
|
|
3116
3116
|
}),
|
|
3117
3117
|
};
|
|
3118
|
-
function
|
|
3118
|
+
function AArrowDown({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, isBounce = false, onMouseEnter, onMouseLeave, onClick, ...props }) {
|
|
3119
3119
|
const controls = framerMotion.useAnimation();
|
|
3120
3120
|
const loopRef = React.useRef(loopOnHover);
|
|
3121
3121
|
const triggerAnimation = React.useCallback(async () => {
|
|
@@ -3152,14 +3152,14 @@ function ArrowDown({ size = 28, className, style, autoAnimateOnLoad = false, hov
|
|
|
3152
3152
|
"M18 7v9",
|
|
3153
3153
|
"m14 12 4 4 4-4",
|
|
3154
3154
|
];
|
|
3155
|
-
return (jsxRuntime.jsx("div", { className: cn$
|
|
3155
|
+
return (jsxRuntime.jsx("div", { className: cn$1d('inline-block', className), style: {
|
|
3156
3156
|
width: size,
|
|
3157
3157
|
height: size,
|
|
3158
3158
|
...style,
|
|
3159
3159
|
}, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsx(framerMotion.motion.svg, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", width: "100%", height: "100%", variants: isBounce ? bounceVariant$1 : undefined, animate: isBounce ? controls : undefined, initial: isBounce ? 'normal' : undefined, children: paths.map((d, i) => (jsxRuntime.jsx(framerMotion.motion.path, { d: d, variants: isBounce ? bouncePathVariants$1 : lineVariants$4, initial: isBounce ? 'hidden' : 'normal', animate: isBounce ? 'visible' : controls, custom: i }, i))) }) }));
|
|
3160
3160
|
}
|
|
3161
3161
|
|
|
3162
|
-
function cn$
|
|
3162
|
+
function cn$1c(...inputs) {
|
|
3163
3163
|
return twMerge(clsx(inputs));
|
|
3164
3164
|
}
|
|
3165
3165
|
const bounceVariant = {
|
|
@@ -3215,7 +3215,7 @@ const bouncePathVariants = {
|
|
|
3215
3215
|
},
|
|
3216
3216
|
}),
|
|
3217
3217
|
};
|
|
3218
|
-
function
|
|
3218
|
+
function AArrowUp({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, isBounce = false, onMouseEnter, onMouseLeave, onClick, ...props }) {
|
|
3219
3219
|
const controls = framerMotion.useAnimation();
|
|
3220
3220
|
const loopRef = React.useRef(loopOnHover);
|
|
3221
3221
|
const triggerAnimation = React.useCallback(async () => {
|
|
@@ -3252,17 +3252,17 @@ function ArrowUp({ size = 28, className, style, autoAnimateOnLoad = false, hover
|
|
|
3252
3252
|
"M18 16V7", // arrow line, now reversed (was 7→16, now 16→7)
|
|
3253
3253
|
"m22 12-4-4-4 4", // arrow head pointing upward
|
|
3254
3254
|
];
|
|
3255
|
-
return (jsxRuntime.jsx("div", { className: cn$
|
|
3255
|
+
return (jsxRuntime.jsx("div", { className: cn$1c('inline-block', className), style: {
|
|
3256
3256
|
width: size,
|
|
3257
3257
|
height: size,
|
|
3258
3258
|
...style,
|
|
3259
3259
|
}, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsx(framerMotion.motion.svg, { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", width: "100%", height: "100%", variants: isBounce ? bounceVariant : undefined, animate: isBounce ? controls : undefined, initial: isBounce ? 'normal' : undefined, children: paths.map((d, i) => (jsxRuntime.jsx(framerMotion.motion.path, { d: d, variants: isBounce ? bouncePathVariants : lineVariants$3, initial: isBounce ? 'hidden' : 'normal', animate: isBounce ? 'visible' : controls, custom: i }, i))) }) }));
|
|
3260
3260
|
}
|
|
3261
3261
|
|
|
3262
|
-
function cn$
|
|
3262
|
+
function cn$1b(...inputs) {
|
|
3263
3263
|
return twMerge(clsx(inputs));
|
|
3264
3264
|
}
|
|
3265
|
-
const circleVariants = {
|
|
3265
|
+
const circleVariants$1 = {
|
|
3266
3266
|
normal: {
|
|
3267
3267
|
scale: 1,
|
|
3268
3268
|
opacity: 1,
|
|
@@ -3278,7 +3278,7 @@ const circleVariants = {
|
|
|
3278
3278
|
},
|
|
3279
3279
|
},
|
|
3280
3280
|
};
|
|
3281
|
-
const pathVariants$
|
|
3281
|
+
const pathVariants$H = {
|
|
3282
3282
|
normal: {
|
|
3283
3283
|
opacity: 1,
|
|
3284
3284
|
pathLength: 1,
|
|
@@ -3330,18 +3330,18 @@ function AccessibilityActivity({ size = 28, className, style, autoAnimateOnLoad
|
|
|
3330
3330
|
triggerAnimation();
|
|
3331
3331
|
onClick?.(e);
|
|
3332
3332
|
};
|
|
3333
|
-
return (jsxRuntime.jsx("div", { className: cn$
|
|
3333
|
+
return (jsxRuntime.jsx("div", { className: cn$1b('rounded-md', className), style: {
|
|
3334
3334
|
width: size,
|
|
3335
3335
|
height: size,
|
|
3336
3336
|
display: 'inline-block',
|
|
3337
3337
|
...style,
|
|
3338
|
-
}, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", width: "100%", height: "100%", children: [jsxRuntime.jsx(framerMotion.motion.circle, { cx: "16", cy: "4", r: "1", variants: circleVariants, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.path, { d: "m18 19 1-7-6 1", variants: pathVariants$
|
|
3338
|
+
}, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", width: "100%", height: "100%", children: [jsxRuntime.jsx(framerMotion.motion.circle, { cx: "16", cy: "4", r: "1", variants: circleVariants$1, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.path, { d: "m18 19 1-7-6 1", variants: pathVariants$H, animate: controls, initial: "normal", style: { strokeDasharray: 1 } }), jsxRuntime.jsx(framerMotion.motion.path, { d: "m5 8 3-3 5.5 3-2.36 3.5", variants: pathVariants$H, animate: controls, initial: "normal", style: { strokeDasharray: 1 } }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M4.24 14.5a5 5 0 0 0 6.88 6", variants: pathVariants$H, animate: controls, initial: "normal", style: { strokeDasharray: 1 } }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M13.76 17.5a5 5 0 0 0-6.88-6", variants: pathVariants$H, animate: controls, initial: "normal", style: { strokeDasharray: 1 } })] }) }));
|
|
3339
3339
|
}
|
|
3340
3340
|
|
|
3341
|
-
function cn$
|
|
3341
|
+
function cn$1a(...inputs) {
|
|
3342
3342
|
return twMerge(clsx(inputs));
|
|
3343
3343
|
}
|
|
3344
|
-
const pathVariants$
|
|
3344
|
+
const pathVariants$G = {
|
|
3345
3345
|
normal: {
|
|
3346
3346
|
opacity: 1,
|
|
3347
3347
|
pathLength: 1,
|
|
@@ -3394,15 +3394,15 @@ function Activity({ size = 28, className, style, autoAnimateOnLoad = false, hove
|
|
|
3394
3394
|
triggerAnimation();
|
|
3395
3395
|
onClick?.(e);
|
|
3396
3396
|
};
|
|
3397
|
-
return (jsxRuntime.jsx("div", { className: cn$
|
|
3397
|
+
return (jsxRuntime.jsx("div", { className: cn$1a('rounded-md', className), style: {
|
|
3398
3398
|
width: size,
|
|
3399
3399
|
height: size,
|
|
3400
3400
|
display: 'inline-block',
|
|
3401
3401
|
...style,
|
|
3402
|
-
}, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", width: "100%", height: "100%", children: jsxRuntime.jsx(framerMotion.motion.path, { d: "M17 12h-2l-2 5-2-10-2 5H7", variants: pathVariants$
|
|
3402
|
+
}, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", width: "100%", height: "100%", children: jsxRuntime.jsx(framerMotion.motion.path, { d: "M17 12h-2l-2 5-2-10-2 5H7", variants: pathVariants$G, animate: controls, initial: "normal", style: { strokeDasharray: 1 } }) }) }));
|
|
3403
3403
|
}
|
|
3404
3404
|
|
|
3405
|
-
function cn$
|
|
3405
|
+
function cn$19(...inputs) {
|
|
3406
3406
|
return twMerge(clsx(inputs));
|
|
3407
3407
|
}
|
|
3408
3408
|
const windVariants = {
|
|
@@ -3453,11 +3453,11 @@ const AirVent = React.forwardRef(({ onMouseEnter, onMouseLeave, className, size
|
|
|
3453
3453
|
onMouseLeave?.(e);
|
|
3454
3454
|
}
|
|
3455
3455
|
}, [controls, onMouseLeave]);
|
|
3456
|
-
return (jsxRuntime.jsx("div", { className: cn$
|
|
3456
|
+
return (jsxRuntime.jsx("div", { className: cn$19(className), onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [jsxRuntime.jsx("path", { d: "M6 12H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2" }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M6 8h12", variants: windVariants, initial: "normal", animate: controls, custom: 0.1 }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M18.3 17.7a2.5 2.5 0 0 1-3.16 3.83 2.53 2.53 0 0 1-1.14-2V12", variants: windVariants, initial: "normal", animate: controls, custom: 0 }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M6.6 15.6A2 2 0 1 0 10 17v-5", variants: windVariants, initial: "normal", animate: controls, custom: 0.2 })] }) }));
|
|
3457
3457
|
});
|
|
3458
3458
|
AirVent.displayName = 'AirVent';
|
|
3459
3459
|
|
|
3460
|
-
function cn$
|
|
3460
|
+
function cn$18(...inputs) {
|
|
3461
3461
|
return twMerge(clsx(inputs));
|
|
3462
3462
|
}
|
|
3463
3463
|
const screenVariants = {
|
|
@@ -3525,7 +3525,7 @@ function Airplay({ size = 28, className, style, autoAnimateOnLoad = false, hover
|
|
|
3525
3525
|
triggerAnimation();
|
|
3526
3526
|
onClick?.(e);
|
|
3527
3527
|
};
|
|
3528
|
-
return (jsxRuntime.jsx("div", { className: cn$
|
|
3528
|
+
return (jsxRuntime.jsx("div", { className: cn$18(className), style: {
|
|
3529
3529
|
width: size,
|
|
3530
3530
|
height: size,
|
|
3531
3531
|
display: 'inline-block',
|
|
@@ -3533,7 +3533,7 @@ function Airplay({ size = 28, className, style, autoAnimateOnLoad = false, hover
|
|
|
3533
3533
|
}, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", width: "100%", height: "100%", children: [jsxRuntime.jsx(framerMotion.motion.path, { d: "M5 17H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-1", variants: screenVariants, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M12 15l5 6H7z", variants: triangleVariants, initial: "normal", animate: controls })] }) }));
|
|
3534
3534
|
}
|
|
3535
3535
|
|
|
3536
|
-
function cn$
|
|
3536
|
+
function cn$17(...inputs) {
|
|
3537
3537
|
return twMerge(clsx(inputs));
|
|
3538
3538
|
}
|
|
3539
3539
|
const squareVariants = {
|
|
@@ -3548,7 +3548,7 @@ const squareVariants = {
|
|
|
3548
3548
|
transition: { duration: 0.6, ease: 'easeInOut' },
|
|
3549
3549
|
},
|
|
3550
3550
|
};
|
|
3551
|
-
const pathVariants$
|
|
3551
|
+
const pathVariants$F = {
|
|
3552
3552
|
normal: {
|
|
3553
3553
|
opacity: 1,
|
|
3554
3554
|
pathLength: 1,
|
|
@@ -3600,18 +3600,18 @@ const Album = ({ size = 28, className, style, autoAnimateOnLoad = false, hoverab
|
|
|
3600
3600
|
triggerAnimation();
|
|
3601
3601
|
onClick?.(e);
|
|
3602
3602
|
};
|
|
3603
|
-
return (jsxRuntime.jsx("div", { className: cn$
|
|
3603
|
+
return (jsxRuntime.jsx("div", { className: cn$17('rounded-md', className), style: {
|
|
3604
3604
|
width: size,
|
|
3605
3605
|
height: size,
|
|
3606
3606
|
display: 'inline-block',
|
|
3607
3607
|
...style,
|
|
3608
|
-
}, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", width: "100%", height: "100%", children: [jsxRuntime.jsx(framerMotion.motion.rect, { width: "18", height: "18", x: "3", y: "3", rx: "2", ry: "2", variants: squareVariants, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.polyline, { points: "11 3 11 11 14 8 17 11 17 3", variants: pathVariants$
|
|
3608
|
+
}, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", width: "100%", height: "100%", children: [jsxRuntime.jsx(framerMotion.motion.rect, { width: "18", height: "18", x: "3", y: "3", rx: "2", ry: "2", variants: squareVariants, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.polyline, { points: "11 3 11 11 14 8 17 11 17 3", variants: pathVariants$F, animate: controls, initial: "normal", style: { strokeDasharray: 1 } })] }) }));
|
|
3609
3609
|
};
|
|
3610
3610
|
|
|
3611
|
-
function cn$
|
|
3611
|
+
function cn$16(...inputs) {
|
|
3612
3612
|
return twMerge(clsx(inputs));
|
|
3613
3613
|
}
|
|
3614
|
-
const pathVariants$
|
|
3614
|
+
const pathVariants$E = {
|
|
3615
3615
|
normal: {
|
|
3616
3616
|
y: 0,
|
|
3617
3617
|
x: 0,
|
|
@@ -3700,14 +3700,14 @@ const AlarmClock = React.forwardRef(({ className, size = 28, autoAnimateOnLoad =
|
|
|
3700
3700
|
clearTimeout(timeoutRef.current);
|
|
3701
3701
|
};
|
|
3702
3702
|
}, [autoAnimateOnLoad, startOnce]);
|
|
3703
|
-
return (jsxRuntime.jsx("div", { className: cn$
|
|
3703
|
+
return (jsxRuntime.jsx("div", { className: cn$16(className), onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", style: { overflow: 'visible' }, children: [jsxRuntime.jsx(framerMotion.motion.path, { variants: pathVariants$E, initial: "normal", animate: controls, d: "M18 20.5L19.5 22" }), jsxRuntime.jsx(framerMotion.motion.path, { variants: pathVariants$E, initial: "normal", animate: controls, d: "M6 20.5L4.5 22" }), jsxRuntime.jsx(framerMotion.motion.path, { variants: pathVariants$E, initial: "normal", animate: controls, d: "M21 13C21 17.968 16.968 22 12 22C7.032 22 3 17.968 3 13C3 8.032 7.032 4 12 4C16.968 4 21 8.032 21 13Z" }), jsxRuntime.jsx(framerMotion.motion.path, { variants: pathVariants$E, initial: "normal", animate: controls, d: "M15.339 15.862L12.549 14.197C12.063 13.909 11.667 13.216 11.667 12.649V8.95898" }), jsxRuntime.jsx(framerMotion.motion.path, { variants: secondaryPathVariants$3, initial: "normal", animate: controls, d: "M18 2L21.747 5.31064" }), jsxRuntime.jsx(framerMotion.motion.path, { variants: secondaryPathVariants$3, initial: "normal", animate: controls, d: "M6 2L2.25304 5.31064" })] }) }));
|
|
3704
3704
|
});
|
|
3705
3705
|
AlarmClock.displayName = 'AlarmClock';
|
|
3706
3706
|
|
|
3707
|
-
function cn$
|
|
3707
|
+
function cn$15(...inputs) {
|
|
3708
3708
|
return twMerge(clsx(inputs));
|
|
3709
3709
|
}
|
|
3710
|
-
const pathVariants$
|
|
3710
|
+
const pathVariants$D = {
|
|
3711
3711
|
normal: {
|
|
3712
3712
|
y: 0,
|
|
3713
3713
|
x: 0,
|
|
@@ -3794,14 +3794,14 @@ const AlarmClockCheck = React.forwardRef(({ className, size = 28, autoAnimateOnL
|
|
|
3794
3794
|
clearTimeout(timeoutRef.current);
|
|
3795
3795
|
};
|
|
3796
3796
|
}, [autoAnimateOnLoad, startTimedAnimation]);
|
|
3797
|
-
return (jsxRuntime.jsx("div", { className: cn$
|
|
3797
|
+
return (jsxRuntime.jsx("div", { className: cn$15(className), onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", style: { overflow: 'visible' }, children: [jsxRuntime.jsx(framerMotion.motion.circle, { variants: pathVariants$D, initial: "normal", animate: controls, cx: "12", cy: "13", r: "8" }), jsxRuntime.jsx(framerMotion.motion.path, { variants: secondaryPathVariants$2, initial: "normal", animate: controls, d: "M5 3 2 6" }), jsxRuntime.jsx(framerMotion.motion.path, { variants: secondaryPathVariants$2, initial: "normal", animate: controls, d: "m22 6-3-3" }), jsxRuntime.jsx(framerMotion.motion.path, { variants: pathVariants$D, initial: "normal", animate: controls, d: "M6.38 18.7 4 21" }), jsxRuntime.jsx(framerMotion.motion.path, { variants: pathVariants$D, initial: "normal", animate: controls, d: "M17.64 18.67 20 21" }), jsxRuntime.jsx(framerMotion.motion.path, { variants: pathVariants$D, initial: "normal", animate: controls, d: "m9 13 2 2 4-4" })] }) }));
|
|
3798
3798
|
});
|
|
3799
3799
|
AlarmClockCheck.displayName = 'AlarmClockCheck';
|
|
3800
3800
|
|
|
3801
|
-
function cn$
|
|
3801
|
+
function cn$14(...inputs) {
|
|
3802
3802
|
return twMerge(clsx(inputs));
|
|
3803
3803
|
}
|
|
3804
|
-
const pathVariants$
|
|
3804
|
+
const pathVariants$C = {
|
|
3805
3805
|
normal: {
|
|
3806
3806
|
y: 0,
|
|
3807
3807
|
x: 0,
|
|
@@ -3888,14 +3888,14 @@ const AlarmClockMinus = React.forwardRef(({ className, size = 28, autoAnimateOnL
|
|
|
3888
3888
|
clearTimeout(timeoutRef.current);
|
|
3889
3889
|
};
|
|
3890
3890
|
}, [autoAnimateOnLoad, startTimedAnimation]);
|
|
3891
|
-
return (jsxRuntime.jsx("div", { className: cn$
|
|
3891
|
+
return (jsxRuntime.jsx("div", { className: cn$14(className), onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", style: { overflow: 'visible' }, children: [jsxRuntime.jsx(framerMotion.motion.circle, { variants: pathVariants$C, initial: "normal", animate: controls, cx: "12", cy: "13", r: "8" }), jsxRuntime.jsx(framerMotion.motion.path, { variants: secondaryPathVariants$1, initial: "normal", animate: controls, d: "M5 3 2 6" }), jsxRuntime.jsx(framerMotion.motion.path, { variants: secondaryPathVariants$1, initial: "normal", animate: controls, d: "m22 6-3-3" }), jsxRuntime.jsx(framerMotion.motion.path, { variants: pathVariants$C, initial: "normal", animate: controls, d: "M6.38 18.7 4 21" }), jsxRuntime.jsx(framerMotion.motion.path, { variants: pathVariants$C, initial: "normal", animate: controls, d: "M17.64 18.67 20 21" }), jsxRuntime.jsx(framerMotion.motion.line, { variants: pathVariants$C, initial: "normal", animate: controls, x1: "9", y1: "13", x2: "15", y2: "13" })] }) }));
|
|
3892
3892
|
});
|
|
3893
3893
|
AlarmClockMinus.displayName = 'AlarmClockMinus';
|
|
3894
3894
|
|
|
3895
|
-
function cn$
|
|
3895
|
+
function cn$13(...inputs) {
|
|
3896
3896
|
return twMerge(clsx(inputs));
|
|
3897
3897
|
}
|
|
3898
|
-
const pathVariants$
|
|
3898
|
+
const pathVariants$B = {
|
|
3899
3899
|
normal: {
|
|
3900
3900
|
y: 0,
|
|
3901
3901
|
x: 0,
|
|
@@ -3982,11 +3982,11 @@ const AlarmClockPlus = React.forwardRef(({ className, size = 28, autoAnimateOnLo
|
|
|
3982
3982
|
clearTimeout(timeoutRef.current);
|
|
3983
3983
|
};
|
|
3984
3984
|
}, [autoAnimateOnLoad, startTimedAnimation]);
|
|
3985
|
-
return (jsxRuntime.jsx("div", { className: cn$
|
|
3985
|
+
return (jsxRuntime.jsx("div", { className: cn$13(className), onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", style: { overflow: 'visible' }, children: [jsxRuntime.jsx(framerMotion.motion.circle, { variants: pathVariants$B, initial: "normal", animate: controls, cx: "12", cy: "13", r: "8" }), jsxRuntime.jsx(framerMotion.motion.path, { variants: secondaryPathVariants, initial: "normal", animate: controls, d: "M5 3 2 6" }), jsxRuntime.jsx(framerMotion.motion.path, { variants: secondaryPathVariants, initial: "normal", animate: controls, d: "m22 6-3-3" }), jsxRuntime.jsx(framerMotion.motion.path, { variants: pathVariants$B, initial: "normal", animate: controls, d: "M6.38 18.7 4 21" }), jsxRuntime.jsx(framerMotion.motion.path, { variants: pathVariants$B, initial: "normal", animate: controls, d: "M17.64 18.67 20 21" }), jsxRuntime.jsx(framerMotion.motion.line, { variants: pathVariants$B, initial: "normal", animate: controls, x1: "9", y1: "13", x2: "15", y2: "13" }), jsxRuntime.jsx(framerMotion.motion.line, { variants: pathVariants$B, initial: "normal", animate: controls, y1: "10", x1: "12", y2: "16", x2: "12" })] }) }));
|
|
3986
3986
|
});
|
|
3987
3987
|
AlarmClockPlus.displayName = 'AlarmClockPlus';
|
|
3988
3988
|
|
|
3989
|
-
function cn$
|
|
3989
|
+
function cn$12(...inputs) {
|
|
3990
3990
|
return twMerge(clsx(inputs));
|
|
3991
3991
|
}
|
|
3992
3992
|
const pathMotion = {
|
|
@@ -4044,14 +4044,14 @@ const AlignCenter = React__namespace.forwardRef(({ size = 28, className, style,
|
|
|
4044
4044
|
}
|
|
4045
4045
|
onClick?.(e);
|
|
4046
4046
|
}, [triggerAnimation, onClick, animateOnClick]);
|
|
4047
|
-
return (jsxRuntime.jsx("div", { className: cn$
|
|
4047
|
+
return (jsxRuntime.jsx("div", { className: cn$12("inline-block", className), style: { width: size, height: size, ...style }, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", width: "100%", height: "100%", children: [jsxRuntime.jsx(framerMotion.motion.path, { d: "M17 12H7", variants: pathMotion, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M19 18H5", animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M21 6H3", animate: controls, initial: "normal" })] }) }));
|
|
4048
4048
|
});
|
|
4049
4049
|
AlignCenter.displayName = "AlignCenter";
|
|
4050
4050
|
|
|
4051
|
-
function cn$
|
|
4051
|
+
function cn$11(...inputs) {
|
|
4052
4052
|
return twMerge(clsx(inputs));
|
|
4053
4053
|
}
|
|
4054
|
-
const pathVariants$
|
|
4054
|
+
const pathVariants$A = {
|
|
4055
4055
|
normal: {
|
|
4056
4056
|
pathLength: 1,
|
|
4057
4057
|
pathOffset: 0,
|
|
@@ -4109,14 +4109,14 @@ const AlignCenterHorizontal = React.forwardRef(({ size = 28, className, style, a
|
|
|
4109
4109
|
triggerAnimation();
|
|
4110
4110
|
onClick?.(e);
|
|
4111
4111
|
};
|
|
4112
|
-
return (jsxRuntime.jsx("div", { className: cn$
|
|
4112
|
+
return (jsxRuntime.jsx("div", { className: cn$11('inline-block', className), style: { width: size, height: size, ...style }, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", width: "100%", height: "100%", children: [jsxRuntime.jsx(framerMotion.motion.path, { d: "M2 12h20", variants: pathVariants$A, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M10 16v4a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-4", variants: pathVariants$A, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M10 8V4a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v4", variants: pathVariants$A, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M20 16v1a2 2 0 0 1-2 2h-2a2 2 0 0 1-2-2v-1", variants: pathVariants$A, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M14 8V7c0-1.1.9-2 2-2h2a2 2 0 0 1 2 2v1", variants: pathVariants$A, animate: controls, initial: "normal" })] }) }));
|
|
4113
4113
|
});
|
|
4114
4114
|
AlignCenterHorizontal.displayName = 'AlignCenterHorizontal';
|
|
4115
4115
|
|
|
4116
|
-
function cn$
|
|
4116
|
+
function cn$10(...inputs) {
|
|
4117
4117
|
return twMerge(clsx(inputs));
|
|
4118
4118
|
}
|
|
4119
|
-
const pathVariants$
|
|
4119
|
+
const pathVariants$z = {
|
|
4120
4120
|
normal: {
|
|
4121
4121
|
pathLength: 1,
|
|
4122
4122
|
pathOffset: 0,
|
|
@@ -4172,14 +4172,14 @@ const AlignCenterVertical = React.forwardRef(({ size = 28, className, style, aut
|
|
|
4172
4172
|
triggerAnimation();
|
|
4173
4173
|
onClick?.(e);
|
|
4174
4174
|
};
|
|
4175
|
-
return (jsxRuntime.jsx("div", { className: cn$
|
|
4175
|
+
return (jsxRuntime.jsx("div", { className: cn$10('inline-block', className), style: { width: size, height: size, ...style }, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", width: "100%", height: "100%", children: [jsxRuntime.jsx(framerMotion.motion.path, { d: "M12 2v20", variants: pathVariants$z, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M8 10H4a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h4", variants: pathVariants$z, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M16 10h4a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2h-4", variants: pathVariants$z, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M8 20H7a2 2 0 0 1-2-2v-2c0-1.1.9-2 2-2h1", variants: pathVariants$z, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M16 14h1a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2h-1", variants: pathVariants$z, animate: controls, initial: "normal" })] }) }));
|
|
4176
4176
|
});
|
|
4177
4177
|
AlignCenterVertical.displayName = 'AlignCenterVertical';
|
|
4178
4178
|
|
|
4179
|
-
function cn
|
|
4179
|
+
function cn$$(...inputs) {
|
|
4180
4180
|
return twMerge(clsx(inputs));
|
|
4181
4181
|
}
|
|
4182
|
-
const pathVariants$
|
|
4182
|
+
const pathVariants$y = {
|
|
4183
4183
|
normal: {
|
|
4184
4184
|
pathLength: 1,
|
|
4185
4185
|
pathOffset: 0,
|
|
@@ -4235,14 +4235,14 @@ const AlignEndHorizontal = React.forwardRef(({ size = 28, className, style, auto
|
|
|
4235
4235
|
triggerAnimation();
|
|
4236
4236
|
onClick?.(e);
|
|
4237
4237
|
};
|
|
4238
|
-
return (jsxRuntime.jsx("div", { className: cn
|
|
4238
|
+
return (jsxRuntime.jsx("div", { className: cn$$('inline-block', className), style: { width: size, height: size, ...style }, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", width: "100%", height: "100%", children: [jsxRuntime.jsx(framerMotion.motion.rect, { width: "6", height: "16", x: "4", y: "2", rx: "2", variants: pathVariants$y, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.rect, { width: "6", height: "9", x: "14", y: "9", rx: "2", variants: pathVariants$y, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M22 22H2", variants: pathVariants$y, animate: controls, initial: "normal" })] }) }));
|
|
4239
4239
|
});
|
|
4240
4240
|
AlignEndHorizontal.displayName = 'AlignEndHorizontal';
|
|
4241
4241
|
|
|
4242
|
-
function cn$
|
|
4242
|
+
function cn$_(...inputs) {
|
|
4243
4243
|
return twMerge(clsx(inputs));
|
|
4244
4244
|
}
|
|
4245
|
-
const pathVariants$
|
|
4245
|
+
const pathVariants$x = {
|
|
4246
4246
|
normal: {
|
|
4247
4247
|
pathLength: 1,
|
|
4248
4248
|
pathOffset: 0,
|
|
@@ -4298,14 +4298,14 @@ const AlignEndVertical = React.forwardRef(({ size = 28, className, style, autoAn
|
|
|
4298
4298
|
triggerAnimation();
|
|
4299
4299
|
onClick?.(e);
|
|
4300
4300
|
};
|
|
4301
|
-
return (jsxRuntime.jsx("div", { className: cn$
|
|
4301
|
+
return (jsxRuntime.jsx("div", { className: cn$_('inline-block', className), style: { width: size, height: size, ...style }, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", width: "100%", height: "100%", children: [jsxRuntime.jsx(framerMotion.motion.rect, { width: "16", height: "6", x: "2", y: "4", rx: "2", variants: pathVariants$x, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.rect, { width: "9", height: "6", x: "9", y: "14", rx: "2", variants: pathVariants$x, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M22 22V2", variants: pathVariants$x, animate: controls, initial: "normal" })] }) }));
|
|
4302
4302
|
});
|
|
4303
4303
|
AlignEndVertical.displayName = 'AlignEndVertical';
|
|
4304
4304
|
|
|
4305
|
-
function cn$
|
|
4305
|
+
function cn$Z(...inputs) {
|
|
4306
4306
|
return twMerge(clsx(inputs));
|
|
4307
4307
|
}
|
|
4308
|
-
const pathVariants$
|
|
4308
|
+
const pathVariants$w = {
|
|
4309
4309
|
normal: {
|
|
4310
4310
|
pathLength: 1,
|
|
4311
4311
|
pathOffset: 0,
|
|
@@ -4361,14 +4361,14 @@ const AlignHorizontalDistributeCenter = React.forwardRef(({ size = 28, className
|
|
|
4361
4361
|
triggerAnimation();
|
|
4362
4362
|
onClick?.(e);
|
|
4363
4363
|
};
|
|
4364
|
-
return (jsxRuntime.jsx("div", { className: cn$
|
|
4364
|
+
return (jsxRuntime.jsx("div", { className: cn$Z('inline-block', className), style: { width: size, height: size, ...style }, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", width: "100%", height: "100%", children: [jsxRuntime.jsx(framerMotion.motion.rect, { width: "6", height: "14", x: "4", y: "5", rx: "2", variants: pathVariants$w, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.rect, { width: "6", height: "10", x: "14", y: "7", rx: "2", variants: pathVariants$w, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M17 22v-5", variants: pathVariants$w, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M17 7V2", variants: pathVariants$w, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M7 22v-3", variants: pathVariants$w, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M7 5V2", variants: pathVariants$w, animate: controls, initial: "normal" })] }) }));
|
|
4365
4365
|
});
|
|
4366
4366
|
AlignHorizontalDistributeCenter.displayName = 'AlignHorizontalDistributeCenter';
|
|
4367
4367
|
|
|
4368
|
-
function cn$
|
|
4368
|
+
function cn$Y(...inputs) {
|
|
4369
4369
|
return twMerge(clsx(inputs));
|
|
4370
4370
|
}
|
|
4371
|
-
const pathVariants$
|
|
4371
|
+
const pathVariants$v = {
|
|
4372
4372
|
normal: {
|
|
4373
4373
|
opacity: 1,
|
|
4374
4374
|
pathLength: 1,
|
|
@@ -4424,14 +4424,14 @@ const AlignHorizontalDistributeEnd = React.forwardRef(({ size = 28, className, s
|
|
|
4424
4424
|
triggerAnimation();
|
|
4425
4425
|
onClick?.(e);
|
|
4426
4426
|
};
|
|
4427
|
-
return (jsxRuntime.jsx("div", { className: cn$
|
|
4427
|
+
return (jsxRuntime.jsx("div", { className: cn$Y('inline-block', className), style: { width: size, height: size, ...style }, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [jsxRuntime.jsx(framerMotion.motion.rect, { width: "6", height: "14", x: "4", y: "5", rx: "2", variants: pathVariants$v, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.rect, { width: "6", height: "10", x: "14", y: "7", rx: "2", variants: pathVariants$v, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M10 2v20", variants: pathVariants$v, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M20 2v20", variants: pathVariants$v, initial: "normal", animate: controls })] }) }));
|
|
4428
4428
|
});
|
|
4429
4429
|
AlignHorizontalDistributeEnd.displayName = 'AlignHorizontalDistributeEnd';
|
|
4430
4430
|
|
|
4431
|
-
function cn$
|
|
4431
|
+
function cn$X(...inputs) {
|
|
4432
4432
|
return twMerge(clsx(inputs));
|
|
4433
4433
|
}
|
|
4434
|
-
const pathVariants$
|
|
4434
|
+
const pathVariants$u = {
|
|
4435
4435
|
normal: {
|
|
4436
4436
|
opacity: 1,
|
|
4437
4437
|
pathLength: 1,
|
|
@@ -4487,14 +4487,14 @@ const AlignHorizontalDistributeStart = React.forwardRef(({ size = 28, className,
|
|
|
4487
4487
|
triggerAnimation();
|
|
4488
4488
|
onClick?.(e);
|
|
4489
4489
|
};
|
|
4490
|
-
return (jsxRuntime.jsx("div", { className: cn$
|
|
4490
|
+
return (jsxRuntime.jsx("div", { className: cn$X('inline-block', className), style: { width: size, height: size, ...style }, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [jsxRuntime.jsx(framerMotion.motion.rect, { width: "6", height: "14", x: "4", y: "5", rx: "2", variants: pathVariants$u, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.rect, { width: "6", height: "10", x: "14", y: "7", rx: "2", variants: pathVariants$u, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M4 2v20", variants: pathVariants$u, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M14 2v20", variants: pathVariants$u, initial: "normal", animate: controls })] }) }));
|
|
4491
4491
|
});
|
|
4492
4492
|
AlignHorizontalDistributeStart.displayName = 'AlignHorizontalDistributeStart';
|
|
4493
4493
|
|
|
4494
|
-
function cn$
|
|
4494
|
+
function cn$W(...inputs) {
|
|
4495
4495
|
return twMerge(clsx(inputs));
|
|
4496
4496
|
}
|
|
4497
|
-
const pathVariants$
|
|
4497
|
+
const pathVariants$t = {
|
|
4498
4498
|
normal: {
|
|
4499
4499
|
opacity: 1,
|
|
4500
4500
|
pathLength: 1,
|
|
@@ -4550,14 +4550,14 @@ const AlignHorizontalJustifyCenter = React.forwardRef(({ size = 28, className, s
|
|
|
4550
4550
|
triggerAnimation();
|
|
4551
4551
|
onClick?.(e);
|
|
4552
4552
|
};
|
|
4553
|
-
return (jsxRuntime.jsx("div", { className: cn$
|
|
4553
|
+
return (jsxRuntime.jsx("div", { className: cn$W('inline-block', className), style: { width: size, height: size, ...style }, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [jsxRuntime.jsx(framerMotion.motion.rect, { width: "6", height: "14", x: "2", y: "5", rx: "2", variants: pathVariants$t, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.rect, { width: "6", height: "10", x: "16", y: "7", rx: "2", variants: pathVariants$t, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M12 2v20", variants: pathVariants$t, initial: "normal", animate: controls })] }) }));
|
|
4554
4554
|
});
|
|
4555
4555
|
AlignHorizontalJustifyCenter.displayName = 'AlignHorizontalJustifyCenter';
|
|
4556
4556
|
|
|
4557
|
-
function cn$
|
|
4557
|
+
function cn$V(...inputs) {
|
|
4558
4558
|
return twMerge(clsx(inputs));
|
|
4559
4559
|
}
|
|
4560
|
-
const pathVariants$
|
|
4560
|
+
const pathVariants$s = {
|
|
4561
4561
|
normal: {
|
|
4562
4562
|
opacity: 1,
|
|
4563
4563
|
pathLength: 1,
|
|
@@ -4613,14 +4613,14 @@ const AlignHorizontalJustifyEnd = React.forwardRef(({ size = 28, className, styl
|
|
|
4613
4613
|
triggerAnimation();
|
|
4614
4614
|
onClick?.(e);
|
|
4615
4615
|
};
|
|
4616
|
-
return (jsxRuntime.jsx("div", { className: cn$
|
|
4616
|
+
return (jsxRuntime.jsx("div", { className: cn$V('inline-block', className), style: { width: size, height: size, ...style }, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [jsxRuntime.jsx(framerMotion.motion.rect, { width: "6", height: "14", x: "2", y: "5", rx: "2", variants: pathVariants$s, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.rect, { width: "6", height: "10", x: "12", y: "7", rx: "2", variants: pathVariants$s, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M22 2v20", variants: pathVariants$s, initial: "normal", animate: controls })] }) }));
|
|
4617
4617
|
});
|
|
4618
4618
|
AlignHorizontalJustifyEnd.displayName = 'AlignHorizontalJustifyEnd';
|
|
4619
4619
|
|
|
4620
|
-
function cn$
|
|
4620
|
+
function cn$U(...inputs) {
|
|
4621
4621
|
return twMerge(clsx(inputs));
|
|
4622
4622
|
}
|
|
4623
|
-
const pathVariants$
|
|
4623
|
+
const pathVariants$r = {
|
|
4624
4624
|
normal: {
|
|
4625
4625
|
opacity: 1,
|
|
4626
4626
|
pathLength: 1,
|
|
@@ -4676,14 +4676,14 @@ const AlignHorizontalJustifyStart = React.forwardRef(({ size = 28, className, st
|
|
|
4676
4676
|
triggerAnimation();
|
|
4677
4677
|
onClick?.(e);
|
|
4678
4678
|
};
|
|
4679
|
-
return (jsxRuntime.jsx("div", { className: cn$
|
|
4679
|
+
return (jsxRuntime.jsx("div", { className: cn$U('inline-block', className), style: { width: size, height: size, ...style }, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [jsxRuntime.jsx(framerMotion.motion.rect, { width: "6", height: "14", x: "6", y: "5", rx: "2", variants: pathVariants$r, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.rect, { width: "6", height: "10", x: "16", y: "7", rx: "2", variants: pathVariants$r, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M2 2v20", variants: pathVariants$r, initial: "normal", animate: controls })] }) }));
|
|
4680
4680
|
});
|
|
4681
4681
|
AlignHorizontalJustifyStart.displayName = 'AlignHorizontalJustifyStart';
|
|
4682
4682
|
|
|
4683
|
-
function cn$
|
|
4683
|
+
function cn$T(...inputs) {
|
|
4684
4684
|
return twMerge(clsx(inputs));
|
|
4685
4685
|
}
|
|
4686
|
-
const pathVariants$
|
|
4686
|
+
const pathVariants$q = {
|
|
4687
4687
|
normal: {
|
|
4688
4688
|
opacity: 1,
|
|
4689
4689
|
pathLength: 1,
|
|
@@ -4739,14 +4739,14 @@ const AlignHorizontalSpaceAround = React.forwardRef(({ size = 28, className, sty
|
|
|
4739
4739
|
triggerAnimation();
|
|
4740
4740
|
onClick?.(e);
|
|
4741
4741
|
};
|
|
4742
|
-
return (jsxRuntime.jsx("div", { className: cn$
|
|
4742
|
+
return (jsxRuntime.jsx("div", { className: cn$T('inline-block', className), style: { width: size, height: size, ...style }, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [jsxRuntime.jsx(framerMotion.motion.rect, { width: "6", height: "10", x: "9", y: "7", rx: "2", variants: pathVariants$q, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M4 22V2", variants: pathVariants$q, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M20 22V2", variants: pathVariants$q, initial: "normal", animate: controls })] }) }));
|
|
4743
4743
|
});
|
|
4744
4744
|
AlignHorizontalSpaceAround.displayName = 'AlignHorizontalSpaceAround';
|
|
4745
4745
|
|
|
4746
|
-
function cn$
|
|
4746
|
+
function cn$S(...inputs) {
|
|
4747
4747
|
return twMerge(clsx(inputs));
|
|
4748
4748
|
}
|
|
4749
|
-
const pathVariants$
|
|
4749
|
+
const pathVariants$p = {
|
|
4750
4750
|
normal: {
|
|
4751
4751
|
opacity: 1,
|
|
4752
4752
|
pathLength: 1,
|
|
@@ -4802,14 +4802,14 @@ const AlignHorizontalSpaceBetween = React.forwardRef(({ size = 28, className, st
|
|
|
4802
4802
|
triggerAnimation();
|
|
4803
4803
|
onClick?.(e);
|
|
4804
4804
|
};
|
|
4805
|
-
return (jsxRuntime.jsx("div", { className: cn$
|
|
4805
|
+
return (jsxRuntime.jsx("div", { className: cn$S('inline-block', className), style: { width: size, height: size, ...style }, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [jsxRuntime.jsx(framerMotion.motion.rect, { width: "6", height: "14", x: "3", y: "5", rx: "2", variants: pathVariants$p, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.rect, { width: "6", height: "10", x: "15", y: "7", rx: "2", variants: pathVariants$p, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M3 2v20", variants: pathVariants$p, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M21 2v20", variants: pathVariants$p, initial: "normal", animate: controls })] }) }));
|
|
4806
4806
|
});
|
|
4807
4807
|
AlignHorizontalSpaceBetween.displayName = 'AlignHorizontalSpaceBetween';
|
|
4808
4808
|
|
|
4809
|
-
function cn$
|
|
4809
|
+
function cn$R(...inputs) {
|
|
4810
4810
|
return twMerge(clsx(inputs));
|
|
4811
4811
|
}
|
|
4812
|
-
const pathVariants$
|
|
4812
|
+
const pathVariants$o = {
|
|
4813
4813
|
normal: {
|
|
4814
4814
|
opacity: 1,
|
|
4815
4815
|
pathLength: 1,
|
|
@@ -4865,14 +4865,14 @@ const AlignJustify = React.forwardRef(({ size = 28, className, style, autoAnimat
|
|
|
4865
4865
|
triggerAnimation();
|
|
4866
4866
|
onClick?.(e);
|
|
4867
4867
|
};
|
|
4868
|
-
return (jsxRuntime.jsx("div", { className: cn$
|
|
4868
|
+
return (jsxRuntime.jsx("div", { className: cn$R('inline-block', className), style: { width: size, height: size, ...style }, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [jsxRuntime.jsx(framerMotion.motion.path, { d: "M3 12h18", variants: pathVariants$o, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M3 18h18", variants: pathVariants$o, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M3 6h18", variants: pathVariants$o, initial: "normal", animate: controls })] }) }));
|
|
4869
4869
|
});
|
|
4870
4870
|
AlignJustify.displayName = 'AlignJustify';
|
|
4871
4871
|
|
|
4872
|
-
function cn$
|
|
4872
|
+
function cn$Q(...inputs) {
|
|
4873
4873
|
return twMerge(clsx(inputs));
|
|
4874
4874
|
}
|
|
4875
|
-
const pathVariants$
|
|
4875
|
+
const pathVariants$n = {
|
|
4876
4876
|
normal: (i) => ({
|
|
4877
4877
|
pathLength: 1,
|
|
4878
4878
|
pathOffset: 0,
|
|
@@ -4898,8 +4898,8 @@ const AlignLeft = React.forwardRef(({ size = 28, className, style, autoAnimateOn
|
|
|
4898
4898
|
const loopRef = React.useRef(loopOnHover);
|
|
4899
4899
|
const isControlledRef = React.useRef(false);
|
|
4900
4900
|
const triggerAnimation = React.useCallback(async () => {
|
|
4901
|
-
await controls.start((i) => pathVariants$
|
|
4902
|
-
await controls.start((i) => pathVariants$
|
|
4901
|
+
await controls.start((i) => pathVariants$n.animate(i));
|
|
4902
|
+
await controls.start((i) => pathVariants$n.normal(i));
|
|
4903
4903
|
if (loopRef.current)
|
|
4904
4904
|
triggerAnimation();
|
|
4905
4905
|
}, [controls]);
|
|
@@ -4913,8 +4913,8 @@ const AlignLeft = React.forwardRef(({ size = 28, className, style, autoAnimateOn
|
|
|
4913
4913
|
React.useImperativeHandle(ref, () => {
|
|
4914
4914
|
isControlledRef.current = true;
|
|
4915
4915
|
return {
|
|
4916
|
-
startAnimation: () => controls.start((i) => pathVariants$
|
|
4917
|
-
stopAnimation: () => controls.start((i) => pathVariants$
|
|
4916
|
+
startAnimation: () => controls.start((i) => pathVariants$n.animate(i)),
|
|
4917
|
+
stopAnimation: () => controls.start((i) => pathVariants$n.normal(i)),
|
|
4918
4918
|
};
|
|
4919
4919
|
}, [controls]);
|
|
4920
4920
|
const handleMouseEnter = (e) => {
|
|
@@ -4924,7 +4924,7 @@ const AlignLeft = React.forwardRef(({ size = 28, className, style, autoAnimateOn
|
|
|
4924
4924
|
};
|
|
4925
4925
|
const handleMouseLeave = (e) => {
|
|
4926
4926
|
if (!isControlledRef.current && hoverable)
|
|
4927
|
-
controls.start((i) => pathVariants$
|
|
4927
|
+
controls.start((i) => pathVariants$n.normal(i));
|
|
4928
4928
|
onMouseLeave?.(e);
|
|
4929
4929
|
};
|
|
4930
4930
|
const handleClick = (e) => {
|
|
@@ -4932,14 +4932,14 @@ const AlignLeft = React.forwardRef(({ size = 28, className, style, autoAnimateOn
|
|
|
4932
4932
|
triggerAnimation();
|
|
4933
4933
|
onClick?.(e);
|
|
4934
4934
|
};
|
|
4935
|
-
return (jsxRuntime.jsx("div", { className: cn$
|
|
4935
|
+
return (jsxRuntime.jsx("div", { className: cn$Q('inline-block', className), style: { width: size, height: size, ...style }, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", width: "100%", height: "100%", children: [jsxRuntime.jsx(framerMotion.motion.path, { d: "M21 6H3", variants: pathVariants$n, custom: 0, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M15 12H3", variants: pathVariants$n, custom: 1, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M17 18H3", variants: pathVariants$n, custom: 2, animate: controls, initial: "normal" })] }) }));
|
|
4936
4936
|
});
|
|
4937
4937
|
AlignLeft.displayName = 'AlignLeft';
|
|
4938
4938
|
|
|
4939
|
-
function cn$
|
|
4939
|
+
function cn$P(...inputs) {
|
|
4940
4940
|
return twMerge(clsx(inputs));
|
|
4941
4941
|
}
|
|
4942
|
-
const pathVariants$
|
|
4942
|
+
const pathVariants$m = {
|
|
4943
4943
|
normal: (i) => ({
|
|
4944
4944
|
pathLength: 1,
|
|
4945
4945
|
pathOffset: 0,
|
|
@@ -4999,14 +4999,14 @@ const AlignRight = React.forwardRef(({ size = 28, className, style, autoAnimateO
|
|
|
4999
4999
|
triggerAnimation();
|
|
5000
5000
|
onClick?.(e);
|
|
5001
5001
|
};
|
|
5002
|
-
return (jsxRuntime.jsx("div", { className: cn$
|
|
5002
|
+
return (jsxRuntime.jsx("div", { className: cn$P('inline-block', className), style: { width: size, height: size, ...style }, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", width: "100%", height: "100%", children: [jsxRuntime.jsx(framerMotion.motion.path, { d: "M3 6H21", variants: pathVariants$m, custom: 0, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M9 12H21", variants: pathVariants$m, custom: 1, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M7 18H21", variants: pathVariants$m, custom: 2, animate: controls, initial: "normal" })] }) }));
|
|
5003
5003
|
});
|
|
5004
5004
|
AlignRight.displayName = 'AlignRight';
|
|
5005
5005
|
|
|
5006
|
-
function cn$
|
|
5006
|
+
function cn$O(...inputs) {
|
|
5007
5007
|
return twMerge(clsx(inputs));
|
|
5008
5008
|
}
|
|
5009
|
-
const pathVariants$
|
|
5009
|
+
const pathVariants$l = {
|
|
5010
5010
|
normal: (i) => ({
|
|
5011
5011
|
pathLength: 1,
|
|
5012
5012
|
opacity: 1,
|
|
@@ -5050,8 +5050,8 @@ const AlignStartHorizontal = React.forwardRef(({ size = 28, className, style, au
|
|
|
5050
5050
|
const loopRef = React.useRef(loopOnHover);
|
|
5051
5051
|
const isControlledRef = React.useRef(false);
|
|
5052
5052
|
const triggerAnimation = React.useCallback(async () => {
|
|
5053
|
-
await controls.start((i) => i < 1 ? pathVariants$
|
|
5054
|
-
await controls.start((i) => i < 1 ? pathVariants$
|
|
5053
|
+
await controls.start((i) => i < 1 ? pathVariants$l.animate(i) : rectVariants$5.animate(i - 1));
|
|
5054
|
+
await controls.start((i) => i < 1 ? pathVariants$l.normal(i) : rectVariants$5.normal(i - 1));
|
|
5055
5055
|
if (loopRef.current)
|
|
5056
5056
|
triggerAnimation();
|
|
5057
5057
|
}, [controls]);
|
|
@@ -5065,8 +5065,8 @@ const AlignStartHorizontal = React.forwardRef(({ size = 28, className, style, au
|
|
|
5065
5065
|
React.useImperativeHandle(ref, () => {
|
|
5066
5066
|
isControlledRef.current = true;
|
|
5067
5067
|
return {
|
|
5068
|
-
startAnimation: () => controls.start((i) => i < 1 ? pathVariants$
|
|
5069
|
-
stopAnimation: () => controls.start((i) => i < 1 ? pathVariants$
|
|
5068
|
+
startAnimation: () => controls.start((i) => i < 1 ? pathVariants$l.animate(i) : rectVariants$5.animate(i - 1)),
|
|
5069
|
+
stopAnimation: () => controls.start((i) => i < 1 ? pathVariants$l.normal(i) : rectVariants$5.normal(i - 1)),
|
|
5070
5070
|
};
|
|
5071
5071
|
}, [controls]);
|
|
5072
5072
|
const handleMouseEnter = (e) => {
|
|
@@ -5076,7 +5076,7 @@ const AlignStartHorizontal = React.forwardRef(({ size = 28, className, style, au
|
|
|
5076
5076
|
};
|
|
5077
5077
|
const handleMouseLeave = (e) => {
|
|
5078
5078
|
if (!isControlledRef.current && hoverable)
|
|
5079
|
-
controls.start((i) => i < 1 ? pathVariants$
|
|
5079
|
+
controls.start((i) => i < 1 ? pathVariants$l.normal(i) : rectVariants$5.normal(i - 1));
|
|
5080
5080
|
onMouseLeave?.(e);
|
|
5081
5081
|
};
|
|
5082
5082
|
const handleClick = (e) => {
|
|
@@ -5084,14 +5084,14 @@ const AlignStartHorizontal = React.forwardRef(({ size = 28, className, style, au
|
|
|
5084
5084
|
triggerAnimation();
|
|
5085
5085
|
onClick?.(e);
|
|
5086
5086
|
};
|
|
5087
|
-
return (jsxRuntime.jsx("div", { className: cn$
|
|
5087
|
+
return (jsxRuntime.jsx("div", { className: cn$O('inline-block', className), style: { width: size, height: size, ...style }, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", width: "100%", height: "100%", children: [jsxRuntime.jsx(framerMotion.motion.path, { d: "M22 2H2", variants: pathVariants$l, custom: 0, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.rect, { width: "6", height: "16", x: "4", y: "6", rx: "2", variants: rectVariants$5, custom: 0, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.rect, { width: "6", height: "9", x: "14", y: "6", rx: "2", variants: rectVariants$5, custom: 1, animate: controls, initial: "normal" })] }) }));
|
|
5088
5088
|
});
|
|
5089
5089
|
AlignStartHorizontal.displayName = 'AlignStartHorizontal';
|
|
5090
5090
|
|
|
5091
|
-
function cn$
|
|
5091
|
+
function cn$N(...inputs) {
|
|
5092
5092
|
return twMerge(clsx(inputs));
|
|
5093
5093
|
}
|
|
5094
|
-
const pathVariants$
|
|
5094
|
+
const pathVariants$k = {
|
|
5095
5095
|
normal: (i) => ({
|
|
5096
5096
|
pathLength: 1,
|
|
5097
5097
|
opacity: 1,
|
|
@@ -5135,8 +5135,8 @@ const AlignStartVertical = React.forwardRef(({ size = 28, className, style, auto
|
|
|
5135
5135
|
const loopRef = React.useRef(loopOnHover);
|
|
5136
5136
|
const isControlledRef = React.useRef(false);
|
|
5137
5137
|
const triggerAnimation = React.useCallback(async () => {
|
|
5138
|
-
await controls.start((i) => i < 1 ? pathVariants$
|
|
5139
|
-
await controls.start((i) => i < 1 ? pathVariants$
|
|
5138
|
+
await controls.start((i) => i < 1 ? pathVariants$k.animate(i) : rectVariants$4.animate(i - 1));
|
|
5139
|
+
await controls.start((i) => i < 1 ? pathVariants$k.normal(i) : rectVariants$4.normal(i - 1));
|
|
5140
5140
|
if (loopRef.current)
|
|
5141
5141
|
triggerAnimation();
|
|
5142
5142
|
}, [controls]);
|
|
@@ -5150,8 +5150,8 @@ const AlignStartVertical = React.forwardRef(({ size = 28, className, style, auto
|
|
|
5150
5150
|
React.useImperativeHandle(ref, () => {
|
|
5151
5151
|
isControlledRef.current = true;
|
|
5152
5152
|
return {
|
|
5153
|
-
startAnimation: () => controls.start((i) => i < 1 ? pathVariants$
|
|
5154
|
-
stopAnimation: () => controls.start((i) => i < 1 ? pathVariants$
|
|
5153
|
+
startAnimation: () => controls.start((i) => i < 1 ? pathVariants$k.animate(i) : rectVariants$4.animate(i - 1)),
|
|
5154
|
+
stopAnimation: () => controls.start((i) => i < 1 ? pathVariants$k.normal(i) : rectVariants$4.normal(i - 1)),
|
|
5155
5155
|
};
|
|
5156
5156
|
}, [controls]);
|
|
5157
5157
|
const handleMouseEnter = (e) => {
|
|
@@ -5161,7 +5161,7 @@ const AlignStartVertical = React.forwardRef(({ size = 28, className, style, auto
|
|
|
5161
5161
|
};
|
|
5162
5162
|
const handleMouseLeave = (e) => {
|
|
5163
5163
|
if (!isControlledRef.current && hoverable)
|
|
5164
|
-
controls.start((i) => i < 1 ? pathVariants$
|
|
5164
|
+
controls.start((i) => i < 1 ? pathVariants$k.normal(i) : rectVariants$4.normal(i - 1));
|
|
5165
5165
|
onMouseLeave?.(e);
|
|
5166
5166
|
};
|
|
5167
5167
|
const handleClick = (e) => {
|
|
@@ -5169,14 +5169,14 @@ const AlignStartVertical = React.forwardRef(({ size = 28, className, style, auto
|
|
|
5169
5169
|
triggerAnimation();
|
|
5170
5170
|
onClick?.(e);
|
|
5171
5171
|
};
|
|
5172
|
-
return (jsxRuntime.jsx("div", { className: cn$
|
|
5172
|
+
return (jsxRuntime.jsx("div", { className: cn$N('inline-block', className), style: { width: size, height: size, ...style }, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", width: "100%", height: "100%", children: [jsxRuntime.jsx(framerMotion.motion.path, { d: "M2 2v20", variants: pathVariants$k, custom: 0, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.rect, { width: "16", height: "6", x: "6", y: "4", rx: "2", variants: rectVariants$4, custom: 0, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.rect, { width: "9", height: "6", x: "6", y: "14", rx: "2", variants: rectVariants$4, custom: 1, animate: controls, initial: "normal" })] }) }));
|
|
5173
5173
|
});
|
|
5174
5174
|
AlignStartVertical.displayName = 'AlignStartVertical';
|
|
5175
5175
|
|
|
5176
|
-
function cn$
|
|
5176
|
+
function cn$M(...inputs) {
|
|
5177
5177
|
return twMerge(clsx(inputs));
|
|
5178
5178
|
}
|
|
5179
|
-
const pathVariants$
|
|
5179
|
+
const pathVariants$j = {
|
|
5180
5180
|
normal: {
|
|
5181
5181
|
pathLength: 1,
|
|
5182
5182
|
pathOffset: 0,
|
|
@@ -5251,14 +5251,14 @@ const AlignVerticalDistributeCenter = React.forwardRef(({ size = 28, className,
|
|
|
5251
5251
|
triggerAnimation();
|
|
5252
5252
|
onClick?.(e);
|
|
5253
5253
|
};
|
|
5254
|
-
return (jsxRuntime.jsx("div", { className: cn$
|
|
5254
|
+
return (jsxRuntime.jsx("div", { className: cn$M('inline-block', className), style: { width: size, height: size, ...style }, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", width: "100%", height: "100%", children: [jsxRuntime.jsx(framerMotion.motion.path, { d: "M22 17h-3", variants: pathVariants$j, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M22 7h-5", variants: pathVariants$j, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M5 17H2", variants: pathVariants$j, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M7 7H2", variants: pathVariants$j, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.rect, { x: "5", y: "14", width: "14", height: "6", rx: "2", variants: rectVariants$3, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.rect, { x: "7", y: "4", width: "10", height: "6", rx: "2", variants: rectVariants$3, animate: controls, initial: "normal" })] }) }));
|
|
5255
5255
|
});
|
|
5256
5256
|
AlignVerticalDistributeCenter.displayName = 'AlignVerticalDistributeCenter';
|
|
5257
5257
|
|
|
5258
|
-
function cn$
|
|
5258
|
+
function cn$L(...inputs) {
|
|
5259
5259
|
return twMerge(clsx(inputs));
|
|
5260
5260
|
}
|
|
5261
|
-
const pathVariants$
|
|
5261
|
+
const pathVariants$i = {
|
|
5262
5262
|
normal: {
|
|
5263
5263
|
opacity: 1,
|
|
5264
5264
|
pathLength: 1,
|
|
@@ -5314,14 +5314,14 @@ const AlignVerticalDistributeEnd = React.forwardRef(({ size = 28, className, sty
|
|
|
5314
5314
|
triggerAnimation();
|
|
5315
5315
|
onClick?.(e);
|
|
5316
5316
|
};
|
|
5317
|
-
return (jsxRuntime.jsx("div", { className: cn$
|
|
5317
|
+
return (jsxRuntime.jsx("div", { className: cn$L('inline-block', className), style: { width: size, height: size, ...style }, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [jsxRuntime.jsx(framerMotion.motion.rect, { width: "14", height: "6", x: "5", y: "14", rx: "2", variants: pathVariants$i, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.rect, { width: "10", height: "6", x: "7", y: "4", rx: "2", variants: pathVariants$i, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M2 20h20", variants: pathVariants$i, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M2 10h20", variants: pathVariants$i, initial: "normal", animate: controls })] }) }));
|
|
5318
5318
|
});
|
|
5319
5319
|
AlignVerticalDistributeEnd.displayName = 'AlignVerticalDistributeEnd';
|
|
5320
5320
|
|
|
5321
|
-
function cn$
|
|
5321
|
+
function cn$K(...inputs) {
|
|
5322
5322
|
return twMerge(clsx(inputs));
|
|
5323
5323
|
}
|
|
5324
|
-
const pathVariants$
|
|
5324
|
+
const pathVariants$h = {
|
|
5325
5325
|
normal: {
|
|
5326
5326
|
opacity: 1,
|
|
5327
5327
|
pathLength: 1,
|
|
@@ -5377,11 +5377,11 @@ const AlignVerticalDistributeStart = React.forwardRef(({ size = 28, className, s
|
|
|
5377
5377
|
triggerAnimation();
|
|
5378
5378
|
onClick?.(e);
|
|
5379
5379
|
};
|
|
5380
|
-
return (jsxRuntime.jsx("div", { className: cn$
|
|
5380
|
+
return (jsxRuntime.jsx("div", { className: cn$K('inline-block', className), style: { width: size, height: size, ...style }, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [jsxRuntime.jsx(framerMotion.motion.rect, { width: "14", height: "6", x: "5", y: "14", rx: "2", variants: pathVariants$h, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.rect, { width: "10", height: "6", x: "7", y: "4", rx: "2", variants: pathVariants$h, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M2 14h20", variants: pathVariants$h, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M2 4h20", variants: pathVariants$h, initial: "normal", animate: controls })] }) }));
|
|
5381
5381
|
});
|
|
5382
5382
|
AlignVerticalDistributeStart.displayName = 'AlignVerticalDistributeStart';
|
|
5383
5383
|
|
|
5384
|
-
function cn$
|
|
5384
|
+
function cn$J(...inputs) {
|
|
5385
5385
|
return twMerge(clsx(inputs));
|
|
5386
5386
|
}
|
|
5387
5387
|
// The line will animate first
|
|
@@ -5460,11 +5460,11 @@ const AlignVerticalJustifyCenter = React.forwardRef(({ size = 28, className, sty
|
|
|
5460
5460
|
triggerAnimation();
|
|
5461
5461
|
onClick?.(e);
|
|
5462
5462
|
};
|
|
5463
|
-
return (jsxRuntime.jsx("div", { className: cn$
|
|
5463
|
+
return (jsxRuntime.jsx("div", { className: cn$J('inline-block', className), style: { width: size, height: size, ...style }, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [jsxRuntime.jsx(framerMotion.motion.path, { d: "M2 12h20", variants: lineVariants$2, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.rect, { width: "14", height: "6", x: "5", y: "16", rx: "2", variants: rectVariants$2, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.rect, { width: "10", height: "6", x: "7", y: "2", rx: "2", variants: rectVariants$2, initial: "normal", animate: controls })] }) }));
|
|
5464
5464
|
});
|
|
5465
5465
|
AlignVerticalJustifyCenter.displayName = 'AlignVerticalJustifyCenter';
|
|
5466
5466
|
|
|
5467
|
-
function cn$
|
|
5467
|
+
function cn$I(...inputs) {
|
|
5468
5468
|
return twMerge(clsx(inputs));
|
|
5469
5469
|
}
|
|
5470
5470
|
const lineVariants$1 = {
|
|
@@ -5559,11 +5559,11 @@ const AlignVerticalJustifyEnd = React.forwardRef(({ size = 28, className, style,
|
|
|
5559
5559
|
triggerAnimation();
|
|
5560
5560
|
onClick?.(e);
|
|
5561
5561
|
};
|
|
5562
|
-
return (jsxRuntime.jsx("div", { className: cn$
|
|
5562
|
+
return (jsxRuntime.jsx("div", { className: cn$I('inline-block', className), style: { width: size, height: size, ...style }, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [jsxRuntime.jsx(framerMotion.motion.path, { d: "M2 22h20", variants: lineVariants$1, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.rect, { width: "14", height: "6", x: "5", y: "12", rx: "2", variants: middleRectVariants, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.rect, { width: "10", height: "6", x: "7", y: "2", rx: "2", variants: topRectVariants$1, initial: "normal", animate: controls })] }) }));
|
|
5563
5563
|
});
|
|
5564
5564
|
AlignVerticalJustifyEnd.displayName = 'AlignVerticalJustifyEnd';
|
|
5565
5565
|
|
|
5566
|
-
function cn$
|
|
5566
|
+
function cn$H(...inputs) {
|
|
5567
5567
|
return twMerge(clsx(inputs));
|
|
5568
5568
|
}
|
|
5569
5569
|
// Top line will animate first - 0.25 seconds
|
|
@@ -5661,11 +5661,11 @@ const AlignVerticalJustifyStart = React.forwardRef(({ size = 28, className, styl
|
|
|
5661
5661
|
triggerAnimation();
|
|
5662
5662
|
onClick?.(e);
|
|
5663
5663
|
};
|
|
5664
|
-
return (jsxRuntime.jsx("div", { className: cn$
|
|
5664
|
+
return (jsxRuntime.jsx("div", { className: cn$H('inline-block', className), style: { width: size, height: size, ...style }, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [jsxRuntime.jsx(framerMotion.motion.path, { d: "M2 2h20", variants: lineVariants, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.rect, { width: "10", height: "6", x: "7", y: "6", rx: "2", variants: topRectVariants, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.rect, { width: "14", height: "6", x: "5", y: "16", rx: "2", variants: bottomRectVariants, initial: "normal", animate: controls })] }) }));
|
|
5665
5665
|
});
|
|
5666
5666
|
AlignVerticalJustifyStart.displayName = 'AlignVerticalJustifyStart';
|
|
5667
5667
|
|
|
5668
|
-
function cn$
|
|
5668
|
+
function cn$G(...inputs) {
|
|
5669
5669
|
return twMerge(clsx(inputs));
|
|
5670
5670
|
}
|
|
5671
5671
|
const linesVariants$1 = {
|
|
@@ -5742,11 +5742,11 @@ const AlignVerticalSpaceAround = React.forwardRef(({ size = 28, className, style
|
|
|
5742
5742
|
triggerAnimation();
|
|
5743
5743
|
onClick?.(e);
|
|
5744
5744
|
};
|
|
5745
|
-
return (jsxRuntime.jsx("div", { className: cn$
|
|
5745
|
+
return (jsxRuntime.jsx("div", { className: cn$G('inline-block', className), style: { width: size, height: size, ...style }, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [jsxRuntime.jsx(framerMotion.motion.path, { d: "M22 4H2", variants: linesVariants$1, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M22 20H2", variants: linesVariants$1, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.rect, { width: "10", height: "6", x: "7", y: "9", rx: "2", variants: rectVariants$1, initial: "normal", animate: controls })] }) }));
|
|
5746
5746
|
});
|
|
5747
5747
|
AlignVerticalSpaceAround.displayName = 'AlignVerticalSpaceAround';
|
|
5748
5748
|
|
|
5749
|
-
function cn$
|
|
5749
|
+
function cn$F(...inputs) {
|
|
5750
5750
|
return twMerge(clsx(inputs));
|
|
5751
5751
|
}
|
|
5752
5752
|
const linesVariants = {
|
|
@@ -5823,14 +5823,14 @@ const AlignVerticalSpaceBetween = React.forwardRef(({ size = 28, className, styl
|
|
|
5823
5823
|
triggerAnimation();
|
|
5824
5824
|
onClick?.(e);
|
|
5825
5825
|
};
|
|
5826
|
-
return (jsxRuntime.jsx("div", { className: cn$
|
|
5826
|
+
return (jsxRuntime.jsx("div", { className: cn$F('inline-block', className), style: { width: size, height: size, ...style }, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [jsxRuntime.jsx(framerMotion.motion.path, { d: "M2 21h20", variants: linesVariants, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M2 3h20", variants: linesVariants, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.rect, { width: "14", height: "6", x: "5", y: "15", rx: "2", variants: rectVariants, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.rect, { width: "10", height: "6", x: "7", y: "3", rx: "2", variants: rectVariants, initial: "normal", animate: controls })] }) }));
|
|
5827
5827
|
});
|
|
5828
5828
|
AlignVerticalSpaceBetween.displayName = 'AlignVerticalSpaceBetween';
|
|
5829
5829
|
|
|
5830
|
-
function cn$
|
|
5830
|
+
function cn$E(...inputs) {
|
|
5831
5831
|
return twMerge(clsx(inputs));
|
|
5832
5832
|
}
|
|
5833
|
-
const pathVariants$
|
|
5833
|
+
const pathVariants$g = {
|
|
5834
5834
|
normal: (custom) => ({
|
|
5835
5835
|
pathLength: 1,
|
|
5836
5836
|
opacity: 1,
|
|
@@ -5897,19 +5897,19 @@ const Ampersand = React.forwardRef(({ size = 28, className, style, autoAnimateOn
|
|
|
5897
5897
|
}
|
|
5898
5898
|
onClick?.(e);
|
|
5899
5899
|
}, [animateOnClick, onClick, triggerAnimation]);
|
|
5900
|
-
return (jsxRuntime.jsx("div", { className: cn$
|
|
5900
|
+
return (jsxRuntime.jsx("div", { className: cn$E(className), style: {
|
|
5901
5901
|
width: size,
|
|
5902
5902
|
height: size,
|
|
5903
5903
|
display: 'inline-block',
|
|
5904
5904
|
...style,
|
|
5905
|
-
}, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [jsxRuntime.jsx(framerMotion.motion.path, { d: "M17.5 12c0 4.4-3.6 8-8 8A4.5 4.5 0 0 1 5 15.5c0-6 8-4 8-8.5a3 3 0 1 0-6 0c0 3 2.5 8.5 12 13", variants: pathVariants$
|
|
5905
|
+
}, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [jsxRuntime.jsx(framerMotion.motion.path, { d: "M17.5 12c0 4.4-3.6 8-8 8A4.5 4.5 0 0 1 5 15.5c0-6 8-4 8-8.5a3 3 0 1 0-6 0c0 3 2.5 8.5 12 13", variants: pathVariants$g, initial: "normal", animate: controls, custom: 0 }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M16 12h3", variants: pathVariants$g, initial: "normal", animate: controls, custom: 0.2 })] }) }));
|
|
5906
5906
|
});
|
|
5907
5907
|
Ampersand.displayName = 'Ampersand';
|
|
5908
5908
|
|
|
5909
|
-
function cn$
|
|
5909
|
+
function cn$D(...inputs) {
|
|
5910
5910
|
return twMerge(clsx(inputs));
|
|
5911
5911
|
}
|
|
5912
|
-
const pathVariants$
|
|
5912
|
+
const pathVariants$f = {
|
|
5913
5913
|
normal: {
|
|
5914
5914
|
pathLength: 1,
|
|
5915
5915
|
pathOffset: 0,
|
|
@@ -5965,14 +5965,14 @@ const Ampersands = React.forwardRef(({ size = 28, className, style, autoAnimateO
|
|
|
5965
5965
|
triggerAnimation();
|
|
5966
5966
|
onClick?.(e);
|
|
5967
5967
|
};
|
|
5968
|
-
return (jsxRuntime.jsx("div", { className: cn$
|
|
5968
|
+
return (jsxRuntime.jsx("div", { className: cn$D('inline-block', className), style: { width: size, height: size, ...style }, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [jsxRuntime.jsx(framerMotion.motion.path, { d: "M10 17c-5-3-7-7-7-9a2 2 0 0 1 4 0c0 2.5-5 2.5-5 6 0 1.7 1.3 3 3 3 2.8 0 5-2.2 5-5", variants: pathVariants$f, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M22 17c-5-3-7-7-7-9a2 2 0 0 1 4 0c0 2.5-5 2.5-5 6 0 1.7 1.3 3 3 3 2.8 0 5-2.2 5-5", variants: pathVariants$f, animate: controls, initial: "normal" })] }) }));
|
|
5969
5969
|
});
|
|
5970
5970
|
Ampersands.displayName = 'Ampersands';
|
|
5971
5971
|
|
|
5972
|
-
function cn$
|
|
5972
|
+
function cn$C(...inputs) {
|
|
5973
5973
|
return twMerge(clsx(inputs));
|
|
5974
5974
|
}
|
|
5975
|
-
const pathVariants = {
|
|
5975
|
+
const pathVariants$e = {
|
|
5976
5976
|
normal: {
|
|
5977
5977
|
pathLength: 1,
|
|
5978
5978
|
pathOffset: 0,
|
|
@@ -6028,11 +6028,11 @@ const Apple = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad
|
|
|
6028
6028
|
triggerAnimation();
|
|
6029
6029
|
onClick?.(e);
|
|
6030
6030
|
};
|
|
6031
|
-
return (jsxRuntime.jsx("div", { className: cn$
|
|
6031
|
+
return (jsxRuntime.jsx("div", { className: cn$C('inline-block', className), style: { width: size, height: size, ...style }, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", width: "100%", height: "100%", children: [jsxRuntime.jsx(framerMotion.motion.path, { d: "M12 20.94c1.5 0 2.75 1.06 4 1.06 3 0 6-8 6-12.22A4.91 4.91 0 0 0 17 5c-2.22 0-4 1.44-5 2-1-.56-2.78-2-5-2a4.9 4.9 0 0 0-5 4.78C2 14 5 22 8 22c1.25 0 2.5-1.06 4-1.06Z", variants: pathVariants$e, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M10 2c1 .5 2 2 2 5", variants: pathVariants$e, animate: controls, initial: "normal" })] }) }));
|
|
6032
6032
|
});
|
|
6033
6033
|
Apple.displayName = 'Apple';
|
|
6034
6034
|
|
|
6035
|
-
function cn(...inputs) {
|
|
6035
|
+
function cn$B(...inputs) {
|
|
6036
6036
|
return twMerge(clsx(inputs));
|
|
6037
6037
|
}
|
|
6038
6038
|
const draw = {
|
|
@@ -6082,10 +6082,2569 @@ const Ambulance = React.forwardRef(({ size = 28, className, style, autoAnimateOn
|
|
|
6082
6082
|
triggerAnimation();
|
|
6083
6083
|
onClick?.(e);
|
|
6084
6084
|
};
|
|
6085
|
-
return (jsxRuntime.jsx("div", { className: cn('inline-block', className), style: { width: size, height: size, ...style }, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", width: "100%", height: "100%", children: [jsxRuntime.jsx(framerMotion.motion.path, { d: "M10 10H6", variants: draw, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2", variants: draw, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M19 18h2a1 1 0 0 0 1-1v-3.28a1 1 0 0 0-.684-.948l-1.923-.641a1 1 0 0 1-.578-.502l-1.539-3.076A1 1 0 0 0 16.382 8H14", variants: draw, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M8 8v4", variants: draw, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M9 18h6", variants: draw, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.circle, { cx: "17", cy: "18", r: "2", animate: { scale: [1, 1.2, 1], fill: ['#000', '#000', '#000'] }, transition: { repeat: Infinity, duration: 1 } }), jsxRuntime.jsx(framerMotion.motion.circle, { cx: "7", cy: "18", r: "2", animate: { scale: [1, 1.2, 1], fill: ['#000', '#000', '#000'] }, transition: { repeat: Infinity, duration: 1, delay: 0.3 } })] }) }));
|
|
6085
|
+
return (jsxRuntime.jsx("div", { className: cn$B('inline-block', className), style: { width: size, height: size, ...style }, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", width: "100%", height: "100%", children: [jsxRuntime.jsx(framerMotion.motion.path, { d: "M10 10H6", variants: draw, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2", variants: draw, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M19 18h2a1 1 0 0 0 1-1v-3.28a1 1 0 0 0-.684-.948l-1.923-.641a1 1 0 0 1-.578-.502l-1.539-3.076A1 1 0 0 0 16.382 8H14", variants: draw, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M8 8v4", variants: draw, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M9 18h6", variants: draw, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.circle, { cx: "17", cy: "18", r: "2", animate: { scale: [1, 1.2, 1], fill: ['#000', '#000', '#000'] }, transition: { repeat: Infinity, duration: 1 } }), jsxRuntime.jsx(framerMotion.motion.circle, { cx: "7", cy: "18", r: "2", animate: { scale: [1, 1.2, 1], fill: ['#000', '#000', '#000'] }, transition: { repeat: Infinity, duration: 1, delay: 0.3 } })] }) }));
|
|
6086
6086
|
});
|
|
6087
6087
|
Ambulance.displayName = 'Ambulance';
|
|
6088
6088
|
|
|
6089
|
+
function cn$A(...inputs) {
|
|
6090
|
+
return twMerge(clsx(inputs));
|
|
6091
|
+
}
|
|
6092
|
+
const DURATION$2 = 0.7;
|
|
6093
|
+
const faceVariants$1 = {
|
|
6094
|
+
normal: { scale: 1 },
|
|
6095
|
+
animate: {
|
|
6096
|
+
scale: [1, 1.1, 0.95, 1.1, 1],
|
|
6097
|
+
transition: { duration: DURATION$2, ease: 'easeInOut' },
|
|
6098
|
+
},
|
|
6099
|
+
};
|
|
6100
|
+
const eyebrowVariants = {
|
|
6101
|
+
normal: { y: 0 },
|
|
6102
|
+
animate: {
|
|
6103
|
+
y: [-1, -3, -1],
|
|
6104
|
+
transition: { duration: DURATION$2, ease: 'easeOut' },
|
|
6105
|
+
},
|
|
6106
|
+
};
|
|
6107
|
+
const eyeVariants = {
|
|
6108
|
+
normal: { scale: 1 },
|
|
6109
|
+
animate: {
|
|
6110
|
+
scale: [1, 0.6, 1.2, 1],
|
|
6111
|
+
transition: { duration: DURATION$2, ease: 'easeInOut' },
|
|
6112
|
+
},
|
|
6113
|
+
};
|
|
6114
|
+
const mouthVariants$1 = {
|
|
6115
|
+
normal: { x: 0 },
|
|
6116
|
+
animate: {
|
|
6117
|
+
x: [-0.5, 0.5, -0.3, 0],
|
|
6118
|
+
transition: { duration: DURATION$2, ease: 'easeInOut' },
|
|
6119
|
+
},
|
|
6120
|
+
};
|
|
6121
|
+
const Angry = React.forwardRef(({ className, size = 28, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, style, ...props }, ref) => {
|
|
6122
|
+
const controls = framerMotion.useAnimation();
|
|
6123
|
+
const loopRef = React.useRef(loopOnHover);
|
|
6124
|
+
const isControlledRef = React.useRef(false);
|
|
6125
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
6126
|
+
await controls.start('animate');
|
|
6127
|
+
await controls.start('normal');
|
|
6128
|
+
if (loopRef.current)
|
|
6129
|
+
triggerAnimation();
|
|
6130
|
+
}, [controls]);
|
|
6131
|
+
React.useEffect(() => {
|
|
6132
|
+
loopRef.current = loopOnHover;
|
|
6133
|
+
}, [loopOnHover]);
|
|
6134
|
+
React.useEffect(() => {
|
|
6135
|
+
if (autoAnimateOnLoad)
|
|
6136
|
+
triggerAnimation();
|
|
6137
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
6138
|
+
React.useImperativeHandle(ref, () => {
|
|
6139
|
+
isControlledRef.current = true;
|
|
6140
|
+
return {
|
|
6141
|
+
startAnimation: () => controls.start('animate'),
|
|
6142
|
+
stopAnimation: () => controls.start('normal'),
|
|
6143
|
+
};
|
|
6144
|
+
});
|
|
6145
|
+
const handleMouseEnter = (e) => {
|
|
6146
|
+
if (!isControlledRef.current && hoverable)
|
|
6147
|
+
triggerAnimation();
|
|
6148
|
+
onMouseEnter?.(e);
|
|
6149
|
+
};
|
|
6150
|
+
const handleMouseLeave = (e) => {
|
|
6151
|
+
if (!isControlledRef.current && hoverable)
|
|
6152
|
+
controls.start('normal');
|
|
6153
|
+
onMouseLeave?.(e);
|
|
6154
|
+
};
|
|
6155
|
+
const handleClick = (e) => {
|
|
6156
|
+
if (animateOnClick)
|
|
6157
|
+
triggerAnimation();
|
|
6158
|
+
onClick?.(e);
|
|
6159
|
+
};
|
|
6160
|
+
return (jsxRuntime.jsx("div", { className: cn$A('inline-block', className), style: { width: size, height: size, ...style }, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs(framerMotion.motion.svg, { xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", initial: "normal", animate: controls, children: [jsxRuntime.jsx(framerMotion.motion.circle, { cx: "12", cy: "12", r: "10", variants: faceVariants$1 }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M16 16s-1.5-2-4-2-4 2-4 2", variants: mouthVariants$1 }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M7.5 8 10 9", variants: eyebrowVariants }), jsxRuntime.jsx(framerMotion.motion.path, { d: "m14 9 2.5-1", variants: eyebrowVariants }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M9 10h.01", variants: eyeVariants }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M15 10h.01", variants: eyeVariants })] }) }));
|
|
6161
|
+
});
|
|
6162
|
+
Angry.displayName = 'Angry';
|
|
6163
|
+
|
|
6164
|
+
function cn$z(...inputs) {
|
|
6165
|
+
return twMerge(clsx(inputs));
|
|
6166
|
+
}
|
|
6167
|
+
const pathVariants$d = {
|
|
6168
|
+
normal: {
|
|
6169
|
+
opacity: 1,
|
|
6170
|
+
pathLength: 1,
|
|
6171
|
+
pathOffset: 0,
|
|
6172
|
+
transition: { duration: 0.4 },
|
|
6173
|
+
},
|
|
6174
|
+
animate: {
|
|
6175
|
+
opacity: [0, 1],
|
|
6176
|
+
pathLength: [0, 1],
|
|
6177
|
+
pathOffset: [1, 0],
|
|
6178
|
+
transition: {
|
|
6179
|
+
duration: 0.6,
|
|
6180
|
+
ease: 'linear',
|
|
6181
|
+
},
|
|
6182
|
+
},
|
|
6183
|
+
};
|
|
6184
|
+
const Amphora = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
6185
|
+
const controls = framerMotion.useAnimation();
|
|
6186
|
+
const loopRef = React.useRef(loopOnHover);
|
|
6187
|
+
const isControlledRef = React.useRef(false);
|
|
6188
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
6189
|
+
await controls.start('animate');
|
|
6190
|
+
await controls.start('normal');
|
|
6191
|
+
if (loopRef.current)
|
|
6192
|
+
triggerAnimation();
|
|
6193
|
+
}, [controls]);
|
|
6194
|
+
React.useEffect(() => {
|
|
6195
|
+
loopRef.current = loopOnHover;
|
|
6196
|
+
}, [loopOnHover]);
|
|
6197
|
+
React.useEffect(() => {
|
|
6198
|
+
if (autoAnimateOnLoad)
|
|
6199
|
+
triggerAnimation();
|
|
6200
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
6201
|
+
React.useImperativeHandle(ref, () => {
|
|
6202
|
+
isControlledRef.current = true;
|
|
6203
|
+
return {
|
|
6204
|
+
startAnimation: () => controls.start('animate'),
|
|
6205
|
+
stopAnimation: () => controls.start('normal'),
|
|
6206
|
+
};
|
|
6207
|
+
});
|
|
6208
|
+
const handleMouseEnter = (e) => {
|
|
6209
|
+
if (!isControlledRef.current && hoverable)
|
|
6210
|
+
triggerAnimation();
|
|
6211
|
+
onMouseEnter?.(e);
|
|
6212
|
+
};
|
|
6213
|
+
const handleMouseLeave = (e) => {
|
|
6214
|
+
if (!isControlledRef.current && hoverable)
|
|
6215
|
+
controls.start('normal');
|
|
6216
|
+
onMouseLeave?.(e);
|
|
6217
|
+
};
|
|
6218
|
+
const handleClick = (e) => {
|
|
6219
|
+
if (animateOnClick)
|
|
6220
|
+
triggerAnimation();
|
|
6221
|
+
onClick?.(e);
|
|
6222
|
+
};
|
|
6223
|
+
return (jsxRuntime.jsx("div", { className: cn$z('inline-block', className), style: { width: size, height: size, ...style }, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [jsxRuntime.jsx(framerMotion.motion.path, { d: "M10 2v5.632c0 .424-.272.795-.653.982A6 6 0 0 0 6 14c.006 4 3 7 5 8", variants: pathVariants$d, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M10 5H8a2 2 0 0 0 0 4h.68", variants: pathVariants$d, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M14 2v5.632c0 .424.272.795.652.982A6 6 0 0 1 18 14c0 4-3 7-5 8", variants: pathVariants$d, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M14 5h2a2 2 0 0 1 0 4h-.68", variants: pathVariants$d, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M18 22H6", variants: pathVariants$d, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M9 2h6", variants: pathVariants$d, initial: "normal", animate: controls })] }) }));
|
|
6224
|
+
});
|
|
6225
|
+
Amphora.displayName = 'Amphora';
|
|
6226
|
+
|
|
6227
|
+
function cn$y(...inputs) {
|
|
6228
|
+
return twMerge(clsx(inputs));
|
|
6229
|
+
}
|
|
6230
|
+
const Anchor = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
6231
|
+
const controls = framerMotion.useAnimation();
|
|
6232
|
+
const loopRef = React.useRef(loopOnHover);
|
|
6233
|
+
const isControlledRef = React.useRef(false);
|
|
6234
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
6235
|
+
await controls.start('animate1');
|
|
6236
|
+
await controls.start('normal');
|
|
6237
|
+
if (loopRef.current)
|
|
6238
|
+
triggerAnimation();
|
|
6239
|
+
}, [controls]);
|
|
6240
|
+
React.useEffect(() => {
|
|
6241
|
+
loopRef.current = loopOnHover;
|
|
6242
|
+
}, [loopOnHover]);
|
|
6243
|
+
React.useEffect(() => {
|
|
6244
|
+
if (autoAnimateOnLoad)
|
|
6245
|
+
triggerAnimation();
|
|
6246
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
6247
|
+
React.useImperativeHandle(ref, () => {
|
|
6248
|
+
isControlledRef.current = true;
|
|
6249
|
+
return {
|
|
6250
|
+
startAnimation: () => triggerAnimation(),
|
|
6251
|
+
stopAnimation: () => controls.start('normal'),
|
|
6252
|
+
};
|
|
6253
|
+
});
|
|
6254
|
+
const handleMouseEnter = (e) => {
|
|
6255
|
+
if (!isControlledRef.current && hoverable)
|
|
6256
|
+
triggerAnimation();
|
|
6257
|
+
onMouseEnter?.(e);
|
|
6258
|
+
};
|
|
6259
|
+
const handleMouseLeave = (e) => {
|
|
6260
|
+
if (!isControlledRef.current && hoverable)
|
|
6261
|
+
controls.start('normal');
|
|
6262
|
+
onMouseLeave?.(e);
|
|
6263
|
+
};
|
|
6264
|
+
const handleClick = (e) => {
|
|
6265
|
+
if (animateOnClick)
|
|
6266
|
+
triggerAnimation();
|
|
6267
|
+
onClick?.(e);
|
|
6268
|
+
};
|
|
6269
|
+
const pathVariants = {
|
|
6270
|
+
normal: {
|
|
6271
|
+
opacity: 1,
|
|
6272
|
+
pathLength: 1,
|
|
6273
|
+
pathOffset: 0,
|
|
6274
|
+
transition: { duration: 0.1 },
|
|
6275
|
+
},
|
|
6276
|
+
animate1: {
|
|
6277
|
+
opacity: [0, 1],
|
|
6278
|
+
pathLength: [0, 1],
|
|
6279
|
+
pathOffset: [1, 0],
|
|
6280
|
+
transition: {
|
|
6281
|
+
duration: 0.3,
|
|
6282
|
+
ease: 'linear',
|
|
6283
|
+
},
|
|
6284
|
+
}
|
|
6285
|
+
};
|
|
6286
|
+
return (jsxRuntime.jsx("div", { className: cn$y('inline-block', className), style: { width: size, height: size, ...style }, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [jsxRuntime.jsx(framerMotion.motion.path, { d: "M12 22V8", variants: pathVariants, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M5 12H2a10 10 0 0 0 20 0h-3", variants: pathVariants, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.circle, { cx: "12", cy: "5", r: "3", variants: pathVariants, initial: "normal", animate: controls })] }) }));
|
|
6287
|
+
});
|
|
6288
|
+
Anchor.displayName = 'Anchor';
|
|
6289
|
+
|
|
6290
|
+
function cn$x(...inputs) {
|
|
6291
|
+
return twMerge(clsx(inputs));
|
|
6292
|
+
}
|
|
6293
|
+
const DURATION$1 = 0.7;
|
|
6294
|
+
const faceVariants = {
|
|
6295
|
+
normal: { scale: 1 },
|
|
6296
|
+
animate: {
|
|
6297
|
+
scale: [1, 1.1, 0.95, 1.1, 1],
|
|
6298
|
+
transition: { duration: DURATION$1, ease: 'easeInOut' },
|
|
6299
|
+
},
|
|
6300
|
+
};
|
|
6301
|
+
const mouthVariants = {
|
|
6302
|
+
normal: { x: 0 },
|
|
6303
|
+
animate: {
|
|
6304
|
+
x: [-1, 1, -0.5, 0],
|
|
6305
|
+
transition: { duration: DURATION$1, ease: 'easeInOut' },
|
|
6306
|
+
},
|
|
6307
|
+
};
|
|
6308
|
+
const leftEyeVariants = {
|
|
6309
|
+
normal: { y: 0 },
|
|
6310
|
+
animate: {
|
|
6311
|
+
y: [-1, -3, -1],
|
|
6312
|
+
transition: { duration: DURATION$1, ease: 'easeOut' },
|
|
6313
|
+
},
|
|
6314
|
+
};
|
|
6315
|
+
const rightEyeVariants = {
|
|
6316
|
+
normal: { y: 0 },
|
|
6317
|
+
animate: {
|
|
6318
|
+
y: [-1, -2, -1],
|
|
6319
|
+
transition: { duration: DURATION$1, ease: 'easeOut' },
|
|
6320
|
+
},
|
|
6321
|
+
};
|
|
6322
|
+
const Annoyed = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, animationTrigger = 'hover', delay = 0, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
6323
|
+
const controls = framerMotion.useAnimation();
|
|
6324
|
+
const loopRef = React.useRef(loopOnHover);
|
|
6325
|
+
const timeoutRef = React.useRef(null);
|
|
6326
|
+
const isControlledRef = React.useRef(false);
|
|
6327
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
6328
|
+
await controls.start('animate');
|
|
6329
|
+
if (!loopRef.current) {
|
|
6330
|
+
await controls.start('normal');
|
|
6331
|
+
}
|
|
6332
|
+
else {
|
|
6333
|
+
// If looping, recursively call
|
|
6334
|
+
triggerAnimation();
|
|
6335
|
+
}
|
|
6336
|
+
}, [controls]);
|
|
6337
|
+
React.useEffect(() => {
|
|
6338
|
+
loopRef.current = loopOnHover;
|
|
6339
|
+
}, [loopOnHover]);
|
|
6340
|
+
React.useEffect(() => {
|
|
6341
|
+
if (autoAnimateOnLoad || animationTrigger === 'load') {
|
|
6342
|
+
timeoutRef.current = setTimeout(() => {
|
|
6343
|
+
triggerAnimation();
|
|
6344
|
+
}, delay);
|
|
6345
|
+
}
|
|
6346
|
+
return () => {
|
|
6347
|
+
if (timeoutRef.current)
|
|
6348
|
+
clearTimeout(timeoutRef.current);
|
|
6349
|
+
};
|
|
6350
|
+
}, [autoAnimateOnLoad, animationTrigger, delay, triggerAnimation]);
|
|
6351
|
+
React.useImperativeHandle(ref, () => {
|
|
6352
|
+
isControlledRef.current = true;
|
|
6353
|
+
return {
|
|
6354
|
+
startAnimation: () => controls.start('animate'),
|
|
6355
|
+
stopAnimation: () => controls.start('normal'),
|
|
6356
|
+
};
|
|
6357
|
+
});
|
|
6358
|
+
const handleMouseEnter = (e) => {
|
|
6359
|
+
if (!isControlledRef.current && hoverable && animationTrigger === 'hover') {
|
|
6360
|
+
triggerAnimation();
|
|
6361
|
+
}
|
|
6362
|
+
onMouseEnter?.(e);
|
|
6363
|
+
};
|
|
6364
|
+
const handleMouseLeave = (e) => {
|
|
6365
|
+
if (!isControlledRef.current && hoverable && animationTrigger === 'hover' && !loopOnHover) {
|
|
6366
|
+
controls.start('normal');
|
|
6367
|
+
}
|
|
6368
|
+
onMouseLeave?.(e);
|
|
6369
|
+
};
|
|
6370
|
+
const handleClick = (e) => {
|
|
6371
|
+
if ((!isControlledRef.current && animateOnClick) || animationTrigger === 'click') {
|
|
6372
|
+
triggerAnimation();
|
|
6373
|
+
}
|
|
6374
|
+
onClick?.(e);
|
|
6375
|
+
};
|
|
6376
|
+
return (jsxRuntime.jsx("div", { className: cn$x('inline-block', className), style: { width: size, height: size, ...style }, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs(framerMotion.motion.svg, { xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", animate: controls, initial: "normal", children: [jsxRuntime.jsx(framerMotion.motion.circle, { cx: "12", cy: "12", r: "10", variants: faceVariants }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M8 15h8", variants: mouthVariants }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M8 9h2", variants: leftEyeVariants }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M14 9h2", variants: rightEyeVariants })] }) }));
|
|
6377
|
+
});
|
|
6378
|
+
Annoyed.displayName = 'Annoyed';
|
|
6379
|
+
|
|
6380
|
+
function cn$w(...inputs) {
|
|
6381
|
+
return twMerge(clsx(inputs));
|
|
6382
|
+
}
|
|
6383
|
+
const DURATION = 1.2;
|
|
6384
|
+
// Animate the antenna lines "wiggle" side to side
|
|
6385
|
+
const pathVariants$c = {
|
|
6386
|
+
normal: { rotate: 0, originX: '50%', originY: '100%' },
|
|
6387
|
+
animate: {
|
|
6388
|
+
rotate: [0, 10, -10, 10, 0],
|
|
6389
|
+
transition: { duration: DURATION, ease: 'easeInOut', repeat: Infinity },
|
|
6390
|
+
},
|
|
6391
|
+
};
|
|
6392
|
+
// Animate the horizontal line scaling left and right subtly
|
|
6393
|
+
const horizontalLineVariants = {
|
|
6394
|
+
normal: { scaleX: 1, originX: 0 },
|
|
6395
|
+
animate: {
|
|
6396
|
+
scaleX: [1, 1.1, 0.9, 1.1, 1],
|
|
6397
|
+
transition: { duration: DURATION, ease: 'easeInOut', repeat: Infinity },
|
|
6398
|
+
},
|
|
6399
|
+
};
|
|
6400
|
+
// Animate the vertical line pulsing scaleY
|
|
6401
|
+
const verticalLineVariants = {
|
|
6402
|
+
normal: { scaleY: 1, originY: '100%' },
|
|
6403
|
+
animate: {
|
|
6404
|
+
scaleY: [1, 1.2, 0.8, 1.2, 1],
|
|
6405
|
+
transition: { duration: DURATION, ease: 'easeInOut', repeat: Infinity },
|
|
6406
|
+
},
|
|
6407
|
+
};
|
|
6408
|
+
const Antenna = React.forwardRef(({ className, size = 28, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, animationTrigger = 'hover', delay = 0, ...props }, ref) => {
|
|
6409
|
+
const controls = framerMotion.useAnimation();
|
|
6410
|
+
const timeoutRef = React.useRef(null);
|
|
6411
|
+
const startAnimation = React.useCallback(() => {
|
|
6412
|
+
// Start infinite animation immediately
|
|
6413
|
+
controls.start('animate');
|
|
6414
|
+
}, [controls]);
|
|
6415
|
+
const stopAnimation = React.useCallback(() => {
|
|
6416
|
+
controls.start('normal');
|
|
6417
|
+
}, [controls]);
|
|
6418
|
+
React.useImperativeHandle(ref, () => ({
|
|
6419
|
+
startAnimation,
|
|
6420
|
+
stopAnimation,
|
|
6421
|
+
}));
|
|
6422
|
+
// Effect to handle auto animation or load-triggered animation with delay
|
|
6423
|
+
React.useEffect(() => {
|
|
6424
|
+
if (animationTrigger === 'manual')
|
|
6425
|
+
return; // do nothing automatically
|
|
6426
|
+
if (autoAnimateOnLoad || animationTrigger === 'load') {
|
|
6427
|
+
timeoutRef.current = setTimeout(() => {
|
|
6428
|
+
startAnimation();
|
|
6429
|
+
}, delay);
|
|
6430
|
+
}
|
|
6431
|
+
return () => {
|
|
6432
|
+
if (timeoutRef.current) {
|
|
6433
|
+
clearTimeout(timeoutRef.current);
|
|
6434
|
+
timeoutRef.current = null;
|
|
6435
|
+
}
|
|
6436
|
+
};
|
|
6437
|
+
}, [autoAnimateOnLoad, animationTrigger, delay, startAnimation]);
|
|
6438
|
+
// Handlers for hover and click depending on trigger type and loop setting
|
|
6439
|
+
const handleMouseEnter = React.useCallback(() => {
|
|
6440
|
+
if (animationTrigger !== 'hover' || !hoverable)
|
|
6441
|
+
return;
|
|
6442
|
+
startAnimation();
|
|
6443
|
+
}, [animationTrigger, hoverable, startAnimation]);
|
|
6444
|
+
const handleMouseLeave = React.useCallback(() => {
|
|
6445
|
+
if (animationTrigger !== 'hover' || !hoverable)
|
|
6446
|
+
return;
|
|
6447
|
+
if (!loopOnHover) {
|
|
6448
|
+
stopAnimation();
|
|
6449
|
+
}
|
|
6450
|
+
}, [animationTrigger, hoverable, loopOnHover, stopAnimation]);
|
|
6451
|
+
const handleClick = React.useCallback(() => {
|
|
6452
|
+
if (animationTrigger !== 'click' && !animateOnClick)
|
|
6453
|
+
return;
|
|
6454
|
+
startAnimation();
|
|
6455
|
+
}, [animationTrigger, animateOnClick, startAnimation]);
|
|
6456
|
+
return (jsxRuntime.jsx("div", { className: cn$w('inline-block', className), onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, style: { width: size, height: size, ...props.style }, children: jsxRuntime.jsxs(framerMotion.motion.svg, { xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [jsxRuntime.jsx(framerMotion.motion.path, { d: "M2 12 7 2", variants: pathVariants$c, animate: controls, style: { originX: '50%', originY: '100%' } }), jsxRuntime.jsx(framerMotion.motion.path, { d: "m7 12 5-10", variants: pathVariants$c, animate: controls, style: { originX: '50%', originY: '100%' } }), jsxRuntime.jsx(framerMotion.motion.path, { d: "m12 12 5-10", variants: pathVariants$c, animate: controls, style: { originX: '50%', originY: '100%' } }), jsxRuntime.jsx(framerMotion.motion.path, { d: "m17 12 5-10", variants: pathVariants$c, animate: controls, style: { originX: '50%', originY: '100%' } }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M4.5 7h15", variants: horizontalLineVariants, animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M12 16v6", variants: verticalLineVariants, animate: controls })] }) }));
|
|
6457
|
+
});
|
|
6458
|
+
Antenna.displayName = 'Antenna';
|
|
6459
|
+
|
|
6460
|
+
function cn$v(...inputs) {
|
|
6461
|
+
return twMerge(clsx(inputs));
|
|
6462
|
+
}
|
|
6463
|
+
const circleVariants = {
|
|
6464
|
+
normal: {
|
|
6465
|
+
rotate: 0,
|
|
6466
|
+
originX: '50%',
|
|
6467
|
+
originY: '50%',
|
|
6468
|
+
transition: { duration: 0.4 },
|
|
6469
|
+
},
|
|
6470
|
+
animate: {
|
|
6471
|
+
rotate: [0, 15, -15, 0],
|
|
6472
|
+
transition: { duration: 1.2, ease: 'easeInOut' },
|
|
6473
|
+
},
|
|
6474
|
+
};
|
|
6475
|
+
const bladeVariants = {
|
|
6476
|
+
normal: {
|
|
6477
|
+
rotate: 0,
|
|
6478
|
+
scale: 1,
|
|
6479
|
+
opacity: 1,
|
|
6480
|
+
originX: '50%',
|
|
6481
|
+
originY: '50%',
|
|
6482
|
+
transition: { duration: 0.4 },
|
|
6483
|
+
},
|
|
6484
|
+
animate: {
|
|
6485
|
+
rotate: [0, 10, -10, 0],
|
|
6486
|
+
scale: [1, 1.1, 0.9, 1],
|
|
6487
|
+
opacity: [1, 0.85, 1, 1],
|
|
6488
|
+
transition: { duration: 1.2, ease: 'easeInOut' },
|
|
6489
|
+
},
|
|
6490
|
+
};
|
|
6491
|
+
const Aperture = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
6492
|
+
const controls = framerMotion.useAnimation();
|
|
6493
|
+
const loopRef = React.useRef(loopOnHover);
|
|
6494
|
+
const isControlledRef = React.useRef(false);
|
|
6495
|
+
const isMounted = React.useRef(true);
|
|
6496
|
+
// Recursive animation loop with proper async handling
|
|
6497
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
6498
|
+
if (!isMounted.current)
|
|
6499
|
+
return;
|
|
6500
|
+
await controls.start('animate');
|
|
6501
|
+
if (!isMounted.current)
|
|
6502
|
+
return;
|
|
6503
|
+
await controls.start('normal');
|
|
6504
|
+
if (loopRef.current && isMounted.current) {
|
|
6505
|
+
triggerAnimation();
|
|
6506
|
+
}
|
|
6507
|
+
}, [controls]);
|
|
6508
|
+
React.useEffect(() => {
|
|
6509
|
+
loopRef.current = loopOnHover;
|
|
6510
|
+
}, [loopOnHover]);
|
|
6511
|
+
React.useEffect(() => {
|
|
6512
|
+
if (autoAnimateOnLoad) {
|
|
6513
|
+
triggerAnimation();
|
|
6514
|
+
}
|
|
6515
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
6516
|
+
React.useEffect(() => {
|
|
6517
|
+
return () => {
|
|
6518
|
+
isMounted.current = false;
|
|
6519
|
+
};
|
|
6520
|
+
}, []);
|
|
6521
|
+
React.useImperativeHandle(ref, () => {
|
|
6522
|
+
isControlledRef.current = true;
|
|
6523
|
+
return {
|
|
6524
|
+
startAnimation: () => controls.start('animate'),
|
|
6525
|
+
stopAnimation: () => controls.start('normal'),
|
|
6526
|
+
};
|
|
6527
|
+
}, [controls]);
|
|
6528
|
+
const handleMouseEnter = (e) => {
|
|
6529
|
+
if (!isControlledRef.current && hoverable) {
|
|
6530
|
+
if (loopOnHover) {
|
|
6531
|
+
loopRef.current = true;
|
|
6532
|
+
triggerAnimation();
|
|
6533
|
+
}
|
|
6534
|
+
else {
|
|
6535
|
+
controls.start('animate');
|
|
6536
|
+
}
|
|
6537
|
+
}
|
|
6538
|
+
onMouseEnter?.(e);
|
|
6539
|
+
};
|
|
6540
|
+
const handleMouseLeave = (e) => {
|
|
6541
|
+
if (!isControlledRef.current && hoverable) {
|
|
6542
|
+
loopRef.current = false;
|
|
6543
|
+
controls.start('normal');
|
|
6544
|
+
}
|
|
6545
|
+
onMouseLeave?.(e);
|
|
6546
|
+
};
|
|
6547
|
+
const handleClick = (e) => {
|
|
6548
|
+
if (!isControlledRef.current && animateOnClick) {
|
|
6549
|
+
triggerAnimation();
|
|
6550
|
+
}
|
|
6551
|
+
onClick?.(e);
|
|
6552
|
+
};
|
|
6553
|
+
return (jsxRuntime.jsx("div", { className: cn$v('inline-block', className), style: { width: size, height: size, ...style }, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs(framerMotion.motion.svg, { xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [jsxRuntime.jsx(framerMotion.motion.circle, { cx: "12", cy: "12", r: "10", variants: circleVariants, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "m14.31 8 5.74 9.94", variants: bladeVariants, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M9.69 8h11.48", variants: bladeVariants, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "m7.38 12 5.74-9.94", variants: bladeVariants, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M9.69 16 3.95 6.06", variants: bladeVariants, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M14.31 16H2.83", variants: bladeVariants, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "m16.62 12-5.74 9.94", variants: bladeVariants, initial: "normal", animate: controls })] }) }));
|
|
6554
|
+
});
|
|
6555
|
+
Aperture.displayName = 'Aperture';
|
|
6556
|
+
|
|
6557
|
+
function cn$u(...inputs) {
|
|
6558
|
+
return twMerge(clsx(inputs));
|
|
6559
|
+
}
|
|
6560
|
+
const pathVariants$b = {
|
|
6561
|
+
normal: {
|
|
6562
|
+
opacity: 1,
|
|
6563
|
+
pathLength: 1,
|
|
6564
|
+
pathOffset: 0,
|
|
6565
|
+
transition: { duration: 0.4 },
|
|
6566
|
+
},
|
|
6567
|
+
animate: {
|
|
6568
|
+
opacity: [0, 1],
|
|
6569
|
+
pathLength: [0, 1],
|
|
6570
|
+
pathOffset: [1, 0],
|
|
6571
|
+
transition: {
|
|
6572
|
+
duration: 0.6,
|
|
6573
|
+
ease: 'linear',
|
|
6574
|
+
},
|
|
6575
|
+
},
|
|
6576
|
+
};
|
|
6577
|
+
const AppWindow = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
6578
|
+
const controls = framerMotion.useAnimation();
|
|
6579
|
+
const loopRef = React.useRef(loopOnHover);
|
|
6580
|
+
const isControlledRef = React.useRef(false);
|
|
6581
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
6582
|
+
await controls.start('animate');
|
|
6583
|
+
await controls.start('normal');
|
|
6584
|
+
if (loopRef.current)
|
|
6585
|
+
triggerAnimation();
|
|
6586
|
+
}, [controls]);
|
|
6587
|
+
React.useEffect(() => {
|
|
6588
|
+
loopRef.current = loopOnHover;
|
|
6589
|
+
}, [loopOnHover]);
|
|
6590
|
+
React.useEffect(() => {
|
|
6591
|
+
if (autoAnimateOnLoad)
|
|
6592
|
+
triggerAnimation();
|
|
6593
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
6594
|
+
React.useImperativeHandle(ref, () => {
|
|
6595
|
+
isControlledRef.current = true;
|
|
6596
|
+
return {
|
|
6597
|
+
startAnimation: () => controls.start('animate'),
|
|
6598
|
+
stopAnimation: () => controls.start('normal'),
|
|
6599
|
+
};
|
|
6600
|
+
});
|
|
6601
|
+
const handleMouseEnter = (e) => {
|
|
6602
|
+
if (!isControlledRef.current && hoverable)
|
|
6603
|
+
triggerAnimation();
|
|
6604
|
+
onMouseEnter?.(e);
|
|
6605
|
+
};
|
|
6606
|
+
const handleMouseLeave = (e) => {
|
|
6607
|
+
if (!isControlledRef.current && hoverable)
|
|
6608
|
+
controls.start('normal');
|
|
6609
|
+
onMouseLeave?.(e);
|
|
6610
|
+
};
|
|
6611
|
+
const handleClick = (e) => {
|
|
6612
|
+
if (animateOnClick)
|
|
6613
|
+
triggerAnimation();
|
|
6614
|
+
onClick?.(e);
|
|
6615
|
+
};
|
|
6616
|
+
return (jsxRuntime.jsx("div", { className: cn$u('inline-block', className), style: { width: size, height: size, ...style }, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [jsxRuntime.jsx(framerMotion.motion.rect, { x: "2", y: "4", width: "20", height: "16", rx: "2", variants: pathVariants$b, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M10 4v4", variants: pathVariants$b, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M2 8h20", variants: pathVariants$b, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M6 4v4", variants: pathVariants$b, initial: "normal", animate: controls })] }) }));
|
|
6617
|
+
});
|
|
6618
|
+
AppWindow.displayName = 'AppWindow';
|
|
6619
|
+
|
|
6620
|
+
function cn$t(...inputs) {
|
|
6621
|
+
return twMerge(clsx(inputs));
|
|
6622
|
+
}
|
|
6623
|
+
const pathVariants$a = {
|
|
6624
|
+
normal: {
|
|
6625
|
+
opacity: 1,
|
|
6626
|
+
pathLength: 1,
|
|
6627
|
+
pathOffset: 0,
|
|
6628
|
+
transition: { duration: 0.4 },
|
|
6629
|
+
},
|
|
6630
|
+
animate: {
|
|
6631
|
+
opacity: [0, 1],
|
|
6632
|
+
pathLength: [0, 1],
|
|
6633
|
+
pathOffset: [1, 0],
|
|
6634
|
+
transition: {
|
|
6635
|
+
duration: 0.6,
|
|
6636
|
+
ease: 'linear',
|
|
6637
|
+
},
|
|
6638
|
+
},
|
|
6639
|
+
};
|
|
6640
|
+
const blinkTransition = {
|
|
6641
|
+
opacity: {
|
|
6642
|
+
repeat: 1,
|
|
6643
|
+
repeatType: "loopRef",
|
|
6644
|
+
duration: 1,
|
|
6645
|
+
ease: 'easeInOut',
|
|
6646
|
+
},
|
|
6647
|
+
};
|
|
6648
|
+
const AppWindowMac = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
6649
|
+
const controls = framerMotion.useAnimation();
|
|
6650
|
+
const loopRef = React.useRef(loopOnHover);
|
|
6651
|
+
const isControlledRef = React.useRef(false);
|
|
6652
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
6653
|
+
await controls.start('animate');
|
|
6654
|
+
await controls.start('normal');
|
|
6655
|
+
if (loopRef.current)
|
|
6656
|
+
triggerAnimation();
|
|
6657
|
+
}, [controls]);
|
|
6658
|
+
React.useEffect(() => {
|
|
6659
|
+
loopRef.current = loopOnHover;
|
|
6660
|
+
}, [loopOnHover]);
|
|
6661
|
+
React.useEffect(() => {
|
|
6662
|
+
if (autoAnimateOnLoad)
|
|
6663
|
+
triggerAnimation();
|
|
6664
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
6665
|
+
React.useImperativeHandle(ref, () => {
|
|
6666
|
+
isControlledRef.current = true;
|
|
6667
|
+
return {
|
|
6668
|
+
startAnimation: () => controls.start('animate'),
|
|
6669
|
+
stopAnimation: () => controls.start('normal'),
|
|
6670
|
+
};
|
|
6671
|
+
});
|
|
6672
|
+
const handleMouseEnter = (e) => {
|
|
6673
|
+
if (!isControlledRef.current && hoverable)
|
|
6674
|
+
triggerAnimation();
|
|
6675
|
+
onMouseEnter?.(e);
|
|
6676
|
+
};
|
|
6677
|
+
const handleMouseLeave = (e) => {
|
|
6678
|
+
if (!isControlledRef.current && hoverable)
|
|
6679
|
+
controls.start('normal');
|
|
6680
|
+
onMouseLeave?.(e);
|
|
6681
|
+
};
|
|
6682
|
+
const handleClick = (e) => {
|
|
6683
|
+
if (animateOnClick)
|
|
6684
|
+
triggerAnimation();
|
|
6685
|
+
onClick?.(e);
|
|
6686
|
+
};
|
|
6687
|
+
return (jsxRuntime.jsx("div", { className: cn$t('inline-block', className), style: { width: size, height: size, ...style }, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [jsxRuntime.jsx(framerMotion.motion.rect, { x: "2", y: "4", width: "20", height: "16", rx: "2", variants: pathVariants$a, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M6 8h.01", initial: { opacity: 1 }, animate: { opacity: [1, 0, 1] }, transition: { ...blinkTransition, delay: 0 } }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M10 8h.01", initial: { opacity: 1 }, animate: { opacity: [1, 0, 1] }, transition: { ...blinkTransition, delay: 0.5 } }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M14 8h.01", initial: { opacity: 1 }, animate: { opacity: [1, 0, 1] }, transition: { ...blinkTransition, delay: 1 } })] }) }));
|
|
6688
|
+
});
|
|
6689
|
+
AppWindowMac.displayName = 'AppWindowMac';
|
|
6690
|
+
|
|
6691
|
+
function cn$s(...inputs) {
|
|
6692
|
+
return twMerge(clsx(inputs));
|
|
6693
|
+
}
|
|
6694
|
+
const pathVariants$9 = {
|
|
6695
|
+
normal: {
|
|
6696
|
+
opacity: 1,
|
|
6697
|
+
pathLength: 1,
|
|
6698
|
+
pathOffset: 0,
|
|
6699
|
+
transition: { duration: 0.4 },
|
|
6700
|
+
},
|
|
6701
|
+
animate: {
|
|
6702
|
+
opacity: [0, 1],
|
|
6703
|
+
pathLength: [0, 1],
|
|
6704
|
+
pathOffset: [1, 0],
|
|
6705
|
+
transition: {
|
|
6706
|
+
duration: 0.6,
|
|
6707
|
+
ease: 'linear',
|
|
6708
|
+
},
|
|
6709
|
+
},
|
|
6710
|
+
};
|
|
6711
|
+
const Archive = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
6712
|
+
const controls = framerMotion.useAnimation();
|
|
6713
|
+
const loopRef = React.useRef(loopOnHover);
|
|
6714
|
+
const isControlledRef = React.useRef(false);
|
|
6715
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
6716
|
+
await controls.start('animate');
|
|
6717
|
+
await controls.start('normal');
|
|
6718
|
+
if (loopRef.current)
|
|
6719
|
+
triggerAnimation();
|
|
6720
|
+
}, [controls]);
|
|
6721
|
+
React.useEffect(() => {
|
|
6722
|
+
loopRef.current = loopOnHover;
|
|
6723
|
+
}, [loopOnHover]);
|
|
6724
|
+
React.useEffect(() => {
|
|
6725
|
+
if (autoAnimateOnLoad)
|
|
6726
|
+
triggerAnimation();
|
|
6727
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
6728
|
+
React.useImperativeHandle(ref, () => {
|
|
6729
|
+
isControlledRef.current = true;
|
|
6730
|
+
return {
|
|
6731
|
+
startAnimation: () => controls.start('animate'),
|
|
6732
|
+
stopAnimation: () => controls.start('normal'),
|
|
6733
|
+
};
|
|
6734
|
+
});
|
|
6735
|
+
const handleMouseEnter = (e) => {
|
|
6736
|
+
if (!isControlledRef.current && hoverable)
|
|
6737
|
+
triggerAnimation();
|
|
6738
|
+
onMouseEnter?.(e);
|
|
6739
|
+
};
|
|
6740
|
+
const handleMouseLeave = (e) => {
|
|
6741
|
+
if (!isControlledRef.current && hoverable)
|
|
6742
|
+
controls.start('normal');
|
|
6743
|
+
onMouseLeave?.(e);
|
|
6744
|
+
};
|
|
6745
|
+
const handleClick = (e) => {
|
|
6746
|
+
if (animateOnClick)
|
|
6747
|
+
triggerAnimation();
|
|
6748
|
+
onClick?.(e);
|
|
6749
|
+
};
|
|
6750
|
+
return (jsxRuntime.jsx("div", { className: cn$s('inline-block', className), style: { width: size, height: size, ...style }, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [jsxRuntime.jsx(framerMotion.motion.rect, { x: "2", y: "3", width: "20", height: "5", rx: "1", variants: pathVariants$9, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8", variants: pathVariants$9, initial: "normal", animate: controls }), jsxRuntime.jsx("path", { d: "M10 12h4" })] }) }));
|
|
6751
|
+
});
|
|
6752
|
+
Archive.displayName = 'Archive';
|
|
6753
|
+
|
|
6754
|
+
function cn$r(...inputs) {
|
|
6755
|
+
return twMerge(clsx(inputs));
|
|
6756
|
+
}
|
|
6757
|
+
const pathVariants$8 = {
|
|
6758
|
+
initial: {
|
|
6759
|
+
pathLength: 1,
|
|
6760
|
+
pathOffset: 0,
|
|
6761
|
+
opacity: 1,
|
|
6762
|
+
},
|
|
6763
|
+
draw: {
|
|
6764
|
+
pathLength: [0, 1],
|
|
6765
|
+
pathOffset: [1, 0],
|
|
6766
|
+
opacity: [0, 1],
|
|
6767
|
+
transition: {
|
|
6768
|
+
duration: 0.7,
|
|
6769
|
+
ease: 'easeInOut',
|
|
6770
|
+
},
|
|
6771
|
+
},
|
|
6772
|
+
};
|
|
6773
|
+
const ArchiveRestore = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
6774
|
+
const controls = framerMotion.useAnimation();
|
|
6775
|
+
const loopRef = React.useRef(loopOnHover);
|
|
6776
|
+
const isControlledRef = React.useRef(false);
|
|
6777
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
6778
|
+
await controls.start('draw');
|
|
6779
|
+
await controls.start('initial');
|
|
6780
|
+
if (loopRef.current)
|
|
6781
|
+
triggerAnimation();
|
|
6782
|
+
}, [controls]);
|
|
6783
|
+
React.useEffect(() => {
|
|
6784
|
+
loopRef.current = loopOnHover;
|
|
6785
|
+
}, [loopOnHover]);
|
|
6786
|
+
React.useEffect(() => {
|
|
6787
|
+
if (autoAnimateOnLoad)
|
|
6788
|
+
triggerAnimation();
|
|
6789
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
6790
|
+
React.useImperativeHandle(ref, () => {
|
|
6791
|
+
isControlledRef.current = true;
|
|
6792
|
+
return {
|
|
6793
|
+
startAnimation: () => controls.start('draw'),
|
|
6794
|
+
stopAnimation: () => controls.start('initial'),
|
|
6795
|
+
};
|
|
6796
|
+
});
|
|
6797
|
+
const handleMouseEnter = (e) => {
|
|
6798
|
+
if (!isControlledRef.current && hoverable)
|
|
6799
|
+
triggerAnimation();
|
|
6800
|
+
onMouseEnter?.(e);
|
|
6801
|
+
};
|
|
6802
|
+
const handleMouseLeave = (e) => {
|
|
6803
|
+
if (!isControlledRef.current && hoverable)
|
|
6804
|
+
controls.start('initial');
|
|
6805
|
+
onMouseLeave?.(e);
|
|
6806
|
+
};
|
|
6807
|
+
const handleClick = (e) => {
|
|
6808
|
+
if (animateOnClick)
|
|
6809
|
+
triggerAnimation();
|
|
6810
|
+
onClick?.(e);
|
|
6811
|
+
};
|
|
6812
|
+
return (jsxRuntime.jsx("div", { className: cn$r('inline-block', className), style: { width: size, height: size, ...style }, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", width: "100%", height: "100%", children: [jsxRuntime.jsx(framerMotion.motion.rect, { x: "2", y: "3", width: "20", height: "5", rx: "1", variants: pathVariants$8, initial: "initial", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M4 8v11a2 2 0 0 0 2 2h2", variants: pathVariants$8, initial: "initial", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M20 8v11a2 2 0 0 1-2 2h-2", variants: pathVariants$8, initial: "initial", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "m9 15 3-3 3 3", variants: pathVariants$8, initial: "initial", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M12 12v9", variants: pathVariants$8, initial: "initial", animate: controls })] }) }));
|
|
6813
|
+
});
|
|
6814
|
+
ArchiveRestore.displayName = 'ArchiveRestore';
|
|
6815
|
+
|
|
6816
|
+
function cn$q(...inputs) {
|
|
6817
|
+
return twMerge(clsx(inputs));
|
|
6818
|
+
}
|
|
6819
|
+
const pathVariants$7 = {
|
|
6820
|
+
initial: {
|
|
6821
|
+
pathLength: 1,
|
|
6822
|
+
pathOffset: 0,
|
|
6823
|
+
opacity: 1,
|
|
6824
|
+
},
|
|
6825
|
+
draw: {
|
|
6826
|
+
pathLength: [0, 1],
|
|
6827
|
+
pathOffset: [1, 0],
|
|
6828
|
+
opacity: [0, 1],
|
|
6829
|
+
transition: {
|
|
6830
|
+
duration: 0.7,
|
|
6831
|
+
ease: 'easeInOut',
|
|
6832
|
+
},
|
|
6833
|
+
},
|
|
6834
|
+
};
|
|
6835
|
+
const ArchiveX = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
6836
|
+
const controls = framerMotion.useAnimation();
|
|
6837
|
+
const loopRef = React.useRef(loopOnHover);
|
|
6838
|
+
const isControlledRef = React.useRef(false);
|
|
6839
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
6840
|
+
await controls.start('draw');
|
|
6841
|
+
await controls.start('initial');
|
|
6842
|
+
if (loopRef.current)
|
|
6843
|
+
triggerAnimation();
|
|
6844
|
+
}, [controls]);
|
|
6845
|
+
React.useEffect(() => {
|
|
6846
|
+
loopRef.current = loopOnHover;
|
|
6847
|
+
}, [loopOnHover]);
|
|
6848
|
+
React.useEffect(() => {
|
|
6849
|
+
if (autoAnimateOnLoad)
|
|
6850
|
+
triggerAnimation();
|
|
6851
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
6852
|
+
React.useImperativeHandle(ref, () => {
|
|
6853
|
+
isControlledRef.current = true;
|
|
6854
|
+
return {
|
|
6855
|
+
startAnimation: () => controls.start('draw'),
|
|
6856
|
+
stopAnimation: () => controls.start('initial'),
|
|
6857
|
+
};
|
|
6858
|
+
});
|
|
6859
|
+
const handleMouseEnter = (e) => {
|
|
6860
|
+
if (!isControlledRef.current && hoverable)
|
|
6861
|
+
triggerAnimation();
|
|
6862
|
+
onMouseEnter?.(e);
|
|
6863
|
+
};
|
|
6864
|
+
const handleMouseLeave = (e) => {
|
|
6865
|
+
if (!isControlledRef.current && hoverable)
|
|
6866
|
+
controls.start('initial');
|
|
6867
|
+
onMouseLeave?.(e);
|
|
6868
|
+
};
|
|
6869
|
+
const handleClick = (e) => {
|
|
6870
|
+
if (animateOnClick)
|
|
6871
|
+
triggerAnimation();
|
|
6872
|
+
onClick?.(e);
|
|
6873
|
+
};
|
|
6874
|
+
return (jsxRuntime.jsx("div", { className: cn$q('inline-block', className), style: { width: size, height: size, ...style }, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", width: "100%", height: "100%", children: [jsxRuntime.jsx(framerMotion.motion.rect, { x: "2", y: "3", width: "20", height: "5", rx: "1", variants: pathVariants$7, initial: "initial", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8", variants: pathVariants$7, initial: "initial", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "m9.5 17 5-5", variants: pathVariants$7, initial: "initial", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "m9.5 12 5 5", variants: pathVariants$7, initial: "initial", animate: controls })] }) }));
|
|
6875
|
+
});
|
|
6876
|
+
ArchiveX.displayName = 'ArchiveX';
|
|
6877
|
+
|
|
6878
|
+
function cn$p(...inputs) {
|
|
6879
|
+
return twMerge(clsx(inputs));
|
|
6880
|
+
}
|
|
6881
|
+
const pathVariants$6 = {
|
|
6882
|
+
initial: {
|
|
6883
|
+
pathLength: 1,
|
|
6884
|
+
pathOffset: 0,
|
|
6885
|
+
opacity: 1,
|
|
6886
|
+
},
|
|
6887
|
+
draw: {
|
|
6888
|
+
pathLength: [0, 1],
|
|
6889
|
+
pathOffset: [1, 0],
|
|
6890
|
+
opacity: [0, 1],
|
|
6891
|
+
transition: {
|
|
6892
|
+
duration: 0.7,
|
|
6893
|
+
ease: 'easeInOut',
|
|
6894
|
+
},
|
|
6895
|
+
},
|
|
6896
|
+
};
|
|
6897
|
+
const Armchair = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
6898
|
+
const controls = framerMotion.useAnimation();
|
|
6899
|
+
const loopRef = React.useRef(loopOnHover);
|
|
6900
|
+
const isControlledRef = React.useRef(false);
|
|
6901
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
6902
|
+
await controls.start('draw');
|
|
6903
|
+
await controls.start('initial');
|
|
6904
|
+
if (loopRef.current)
|
|
6905
|
+
triggerAnimation();
|
|
6906
|
+
}, [controls]);
|
|
6907
|
+
React.useEffect(() => {
|
|
6908
|
+
loopRef.current = loopOnHover;
|
|
6909
|
+
}, [loopOnHover]);
|
|
6910
|
+
React.useEffect(() => {
|
|
6911
|
+
if (autoAnimateOnLoad)
|
|
6912
|
+
triggerAnimation();
|
|
6913
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
6914
|
+
React.useImperativeHandle(ref, () => {
|
|
6915
|
+
isControlledRef.current = true;
|
|
6916
|
+
return {
|
|
6917
|
+
startAnimation: () => controls.start('draw'),
|
|
6918
|
+
stopAnimation: () => controls.start('initial'),
|
|
6919
|
+
};
|
|
6920
|
+
});
|
|
6921
|
+
const handleMouseEnter = (e) => {
|
|
6922
|
+
if (!isControlledRef.current && hoverable)
|
|
6923
|
+
triggerAnimation();
|
|
6924
|
+
onMouseEnter?.(e);
|
|
6925
|
+
};
|
|
6926
|
+
const handleMouseLeave = (e) => {
|
|
6927
|
+
if (!isControlledRef.current && hoverable)
|
|
6928
|
+
controls.start('initial');
|
|
6929
|
+
onMouseLeave?.(e);
|
|
6930
|
+
};
|
|
6931
|
+
const handleClick = (e) => {
|
|
6932
|
+
if (animateOnClick)
|
|
6933
|
+
triggerAnimation();
|
|
6934
|
+
onClick?.(e);
|
|
6935
|
+
};
|
|
6936
|
+
return (jsxRuntime.jsx("div", { className: cn$p('inline-block', className), style: { width: size, height: size, ...style }, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", width: "100%", height: "100%", children: [jsxRuntime.jsx(framerMotion.motion.path, { d: "M19 9V6a2 2 0 0 0-2-2H7a2 2 0 0 0-2 2v3", variants: pathVariants$6, initial: "initial", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M3 16a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-5a2 2 0 0 0-4 0v1.5a.5.5 0 0 1-.5.5h-9a.5.5 0 0 1-.5-.5V11a2 2 0 0 0-4 0z", variants: pathVariants$6, initial: "initial", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M5 18v2", variants: pathVariants$6, initial: "initial", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M19 18v2", variants: pathVariants$6, initial: "initial", animate: controls })] }) }));
|
|
6937
|
+
});
|
|
6938
|
+
Armchair.displayName = 'Armchair';
|
|
6939
|
+
|
|
6940
|
+
function cn$o(...inputs) {
|
|
6941
|
+
return twMerge(clsx(inputs));
|
|
6942
|
+
}
|
|
6943
|
+
const groupVariants$2 = {
|
|
6944
|
+
initial: { y: 0, scale: 1, opacity: 1 },
|
|
6945
|
+
animate: {
|
|
6946
|
+
y: [0, 4, 0],
|
|
6947
|
+
scale: [1, 1.1, 1],
|
|
6948
|
+
opacity: [1, 1, 1],
|
|
6949
|
+
transition: {
|
|
6950
|
+
duration: 0.6,
|
|
6951
|
+
ease: 'easeInOut',
|
|
6952
|
+
},
|
|
6953
|
+
},
|
|
6954
|
+
};
|
|
6955
|
+
const ArrowBigDown = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
6956
|
+
const controls = framerMotion.useAnimation();
|
|
6957
|
+
const loopRef = React.useRef(loopOnHover);
|
|
6958
|
+
const isControlledRef = React.useRef(false);
|
|
6959
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
6960
|
+
await controls.start('animate');
|
|
6961
|
+
if (loopRef.current)
|
|
6962
|
+
triggerAnimation();
|
|
6963
|
+
}, [controls]);
|
|
6964
|
+
React.useEffect(() => {
|
|
6965
|
+
loopRef.current = loopOnHover;
|
|
6966
|
+
}, [loopOnHover]);
|
|
6967
|
+
React.useEffect(() => {
|
|
6968
|
+
if (autoAnimateOnLoad)
|
|
6969
|
+
triggerAnimation();
|
|
6970
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
6971
|
+
React.useImperativeHandle(ref, () => {
|
|
6972
|
+
isControlledRef.current = true;
|
|
6973
|
+
return {
|
|
6974
|
+
startAnimation: () => controls.start('animate'),
|
|
6975
|
+
stopAnimation: () => controls.stop(),
|
|
6976
|
+
};
|
|
6977
|
+
});
|
|
6978
|
+
const handleMouseEnter = (e) => {
|
|
6979
|
+
if (!isControlledRef.current && hoverable)
|
|
6980
|
+
triggerAnimation();
|
|
6981
|
+
onMouseEnter?.(e);
|
|
6982
|
+
};
|
|
6983
|
+
const handleMouseLeave = (e) => {
|
|
6984
|
+
if (!isControlledRef.current && hoverable)
|
|
6985
|
+
controls.stop();
|
|
6986
|
+
onMouseLeave?.(e);
|
|
6987
|
+
};
|
|
6988
|
+
const handleClick = (e) => {
|
|
6989
|
+
if (animateOnClick)
|
|
6990
|
+
triggerAnimation();
|
|
6991
|
+
onClick?.(e);
|
|
6992
|
+
};
|
|
6993
|
+
return (jsxRuntime.jsx("div", { className: cn$o('inline-block', className), style: { width: size, height: size, ...style }, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", width: "100%", height: "100%", children: jsxRuntime.jsx(framerMotion.motion.g, { variants: groupVariants$2, initial: "initial", animate: controls, children: jsxRuntime.jsx("path", { d: "M15 6v6h4l-7 7-7-7h4V6h6z" }) }) }) }));
|
|
6994
|
+
});
|
|
6995
|
+
ArrowBigDown.displayName = 'ArrowBigDown';
|
|
6996
|
+
|
|
6997
|
+
function cn$n(...inputs) {
|
|
6998
|
+
return twMerge(clsx(inputs));
|
|
6999
|
+
}
|
|
7000
|
+
const groupVariants$1 = {
|
|
7001
|
+
initial: { y: 0, scale: 1, opacity: 1 },
|
|
7002
|
+
animate: {
|
|
7003
|
+
y: [0, -4, 0],
|
|
7004
|
+
scale: [1, 1.1, 1],
|
|
7005
|
+
opacity: [1, 1, 1],
|
|
7006
|
+
transition: {
|
|
7007
|
+
duration: 0.6,
|
|
7008
|
+
ease: 'easeInOut',
|
|
7009
|
+
},
|
|
7010
|
+
},
|
|
7011
|
+
};
|
|
7012
|
+
const ArrowBigUp = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
7013
|
+
const controls = framerMotion.useAnimation();
|
|
7014
|
+
const loopRef = React.useRef(loopOnHover);
|
|
7015
|
+
const isControlledRef = React.useRef(false);
|
|
7016
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
7017
|
+
await controls.start('animate');
|
|
7018
|
+
if (loopRef.current)
|
|
7019
|
+
triggerAnimation();
|
|
7020
|
+
}, [controls]);
|
|
7021
|
+
React.useEffect(() => {
|
|
7022
|
+
loopRef.current = loopOnHover;
|
|
7023
|
+
}, [loopOnHover]);
|
|
7024
|
+
React.useEffect(() => {
|
|
7025
|
+
if (autoAnimateOnLoad)
|
|
7026
|
+
triggerAnimation();
|
|
7027
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
7028
|
+
React.useImperativeHandle(ref, () => {
|
|
7029
|
+
isControlledRef.current = true;
|
|
7030
|
+
return {
|
|
7031
|
+
startAnimation: () => controls.start('animate'),
|
|
7032
|
+
stopAnimation: () => controls.stop(),
|
|
7033
|
+
};
|
|
7034
|
+
});
|
|
7035
|
+
const handleMouseEnter = (e) => {
|
|
7036
|
+
if (!isControlledRef.current && hoverable)
|
|
7037
|
+
triggerAnimation();
|
|
7038
|
+
onMouseEnter?.(e);
|
|
7039
|
+
};
|
|
7040
|
+
const handleMouseLeave = (e) => {
|
|
7041
|
+
if (!isControlledRef.current && hoverable)
|
|
7042
|
+
controls.stop();
|
|
7043
|
+
onMouseLeave?.(e);
|
|
7044
|
+
};
|
|
7045
|
+
const handleClick = (e) => {
|
|
7046
|
+
if (animateOnClick)
|
|
7047
|
+
triggerAnimation();
|
|
7048
|
+
onClick?.(e);
|
|
7049
|
+
};
|
|
7050
|
+
return (jsxRuntime.jsx("div", { className: cn$n('inline-block', className), style: { width: size, height: size, ...style }, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", width: "100%", height: "100%", children: jsxRuntime.jsx(framerMotion.motion.g, { variants: groupVariants$1, initial: "initial", animate: controls, children: jsxRuntime.jsx("path", { d: "M9 18V12H5l7-7 7 7h-4v6H9z" }) }) }) }));
|
|
7051
|
+
});
|
|
7052
|
+
ArrowBigUp.displayName = 'ArrowBigUp';
|
|
7053
|
+
|
|
7054
|
+
function cn$m(...inputs) {
|
|
7055
|
+
return twMerge(clsx(inputs));
|
|
7056
|
+
}
|
|
7057
|
+
const arrowVariants$9 = {
|
|
7058
|
+
initial: { x: 0, scale: 1 },
|
|
7059
|
+
animate: {
|
|
7060
|
+
x: [0, -4, 0],
|
|
7061
|
+
scale: [1, 1.1, 1],
|
|
7062
|
+
transition: {
|
|
7063
|
+
duration: 0.6,
|
|
7064
|
+
ease: 'easeInOut',
|
|
7065
|
+
},
|
|
7066
|
+
},
|
|
7067
|
+
};
|
|
7068
|
+
const ArrowBigLeft = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
7069
|
+
const controls = framerMotion.useAnimation();
|
|
7070
|
+
const loopRef = React.useRef(loopOnHover);
|
|
7071
|
+
const isControlledRef = React.useRef(false);
|
|
7072
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
7073
|
+
await controls.start('animate');
|
|
7074
|
+
if (loopRef.current)
|
|
7075
|
+
triggerAnimation();
|
|
7076
|
+
}, [controls]);
|
|
7077
|
+
React.useEffect(() => {
|
|
7078
|
+
loopRef.current = loopOnHover;
|
|
7079
|
+
}, [loopOnHover]);
|
|
7080
|
+
React.useEffect(() => {
|
|
7081
|
+
if (autoAnimateOnLoad)
|
|
7082
|
+
triggerAnimation();
|
|
7083
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
7084
|
+
React.useImperativeHandle(ref, () => {
|
|
7085
|
+
isControlledRef.current = true;
|
|
7086
|
+
return {
|
|
7087
|
+
startAnimation: () => controls.start('animate'),
|
|
7088
|
+
stopAnimation: () => controls.stop(),
|
|
7089
|
+
};
|
|
7090
|
+
});
|
|
7091
|
+
const handleMouseEnter = (e) => {
|
|
7092
|
+
if (!isControlledRef.current && hoverable)
|
|
7093
|
+
triggerAnimation();
|
|
7094
|
+
onMouseEnter?.(e);
|
|
7095
|
+
};
|
|
7096
|
+
const handleMouseLeave = (e) => {
|
|
7097
|
+
if (!isControlledRef.current && hoverable)
|
|
7098
|
+
controls.stop();
|
|
7099
|
+
onMouseLeave?.(e);
|
|
7100
|
+
};
|
|
7101
|
+
const handleClick = (e) => {
|
|
7102
|
+
if (animateOnClick)
|
|
7103
|
+
triggerAnimation();
|
|
7104
|
+
onClick?.(e);
|
|
7105
|
+
};
|
|
7106
|
+
return (jsxRuntime.jsx("div", { className: cn$m('inline-block', className), style: { width: size, height: size, ...style }, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", width: "100%", height: "100%", children: jsxRuntime.jsx(framerMotion.motion.path, { variants: arrowVariants$9, initial: "initial", animate: controls, d: "M18 15h-6v4l-7-7 7-7v4h6v6z" }) }) }));
|
|
7107
|
+
});
|
|
7108
|
+
ArrowBigLeft.displayName = 'ArrowBigLeft';
|
|
7109
|
+
|
|
7110
|
+
function cn$l(...inputs) {
|
|
7111
|
+
return twMerge(clsx(inputs));
|
|
7112
|
+
}
|
|
7113
|
+
const groupVariants = {
|
|
7114
|
+
initial: { x: 0, scale: 1 },
|
|
7115
|
+
animate: {
|
|
7116
|
+
x: [0, 4, 0],
|
|
7117
|
+
scale: [1, 1.1, 1],
|
|
7118
|
+
transition: {
|
|
7119
|
+
duration: 0.6,
|
|
7120
|
+
ease: 'easeInOut',
|
|
7121
|
+
},
|
|
7122
|
+
},
|
|
7123
|
+
};
|
|
7124
|
+
const ArrowBigRight = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
7125
|
+
const controls = framerMotion.useAnimation();
|
|
7126
|
+
const loopRef = React.useRef(loopOnHover);
|
|
7127
|
+
const isControlledRef = React.useRef(false);
|
|
7128
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
7129
|
+
await controls.start('animate');
|
|
7130
|
+
if (loopRef.current)
|
|
7131
|
+
triggerAnimation();
|
|
7132
|
+
}, [controls]);
|
|
7133
|
+
React.useEffect(() => {
|
|
7134
|
+
loopRef.current = loopOnHover;
|
|
7135
|
+
}, [loopOnHover]);
|
|
7136
|
+
React.useEffect(() => {
|
|
7137
|
+
if (autoAnimateOnLoad)
|
|
7138
|
+
triggerAnimation();
|
|
7139
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
7140
|
+
React.useImperativeHandle(ref, () => {
|
|
7141
|
+
isControlledRef.current = true;
|
|
7142
|
+
return {
|
|
7143
|
+
startAnimation: () => controls.start('animate'),
|
|
7144
|
+
stopAnimation: () => controls.stop(),
|
|
7145
|
+
};
|
|
7146
|
+
});
|
|
7147
|
+
const handleMouseEnter = (e) => {
|
|
7148
|
+
if (!isControlledRef.current && hoverable)
|
|
7149
|
+
triggerAnimation();
|
|
7150
|
+
onMouseEnter?.(e);
|
|
7151
|
+
};
|
|
7152
|
+
const handleMouseLeave = (e) => {
|
|
7153
|
+
if (!isControlledRef.current && hoverable)
|
|
7154
|
+
controls.stop();
|
|
7155
|
+
onMouseLeave?.(e);
|
|
7156
|
+
};
|
|
7157
|
+
const handleClick = (e) => {
|
|
7158
|
+
if (animateOnClick)
|
|
7159
|
+
triggerAnimation();
|
|
7160
|
+
onClick?.(e);
|
|
7161
|
+
};
|
|
7162
|
+
return (jsxRuntime.jsx("div", { className: cn$l('inline-block', className), style: { width: size, height: size, ...style }, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", width: "100%", height: "100%", children: jsxRuntime.jsx(framerMotion.motion.path, { variants: groupVariants, initial: "initial", animate: controls, d: "M6 9h6V5l7 7-7 7v-4H6V9z" }) }) }));
|
|
7163
|
+
});
|
|
7164
|
+
ArrowBigRight.displayName = 'ArrowBigRight';
|
|
7165
|
+
|
|
7166
|
+
function cn$k(...inputs) {
|
|
7167
|
+
return twMerge(clsx(inputs));
|
|
7168
|
+
}
|
|
7169
|
+
const arrowVariants$8 = {
|
|
7170
|
+
initial: { y: 0, scale: 1 },
|
|
7171
|
+
animate: {
|
|
7172
|
+
y: [0, 4, 0],
|
|
7173
|
+
scale: [1, 1.1, 1],
|
|
7174
|
+
transition: {
|
|
7175
|
+
duration: 0.6,
|
|
7176
|
+
ease: 'easeInOut',
|
|
7177
|
+
},
|
|
7178
|
+
},
|
|
7179
|
+
};
|
|
7180
|
+
const dashVariants$3 = {
|
|
7181
|
+
initial: { x: 0, scale: 1 },
|
|
7182
|
+
animate: {
|
|
7183
|
+
y: [0, 2, 0],
|
|
7184
|
+
scale: [1, 1.1, 1],
|
|
7185
|
+
transition: {
|
|
7186
|
+
duration: 0.6,
|
|
7187
|
+
ease: 'easeInOut',
|
|
7188
|
+
},
|
|
7189
|
+
},
|
|
7190
|
+
};
|
|
7191
|
+
const ArrowBigDownDash = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
7192
|
+
const controls = framerMotion.useAnimation();
|
|
7193
|
+
const loopRef = React.useRef(loopOnHover);
|
|
7194
|
+
const isControlledRef = React.useRef(false);
|
|
7195
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
7196
|
+
await controls.start('animate');
|
|
7197
|
+
if (loopRef.current)
|
|
7198
|
+
triggerAnimation();
|
|
7199
|
+
}, [controls]);
|
|
7200
|
+
React.useEffect(() => {
|
|
7201
|
+
loopRef.current = loopOnHover;
|
|
7202
|
+
}, [loopOnHover]);
|
|
7203
|
+
React.useEffect(() => {
|
|
7204
|
+
if (autoAnimateOnLoad)
|
|
7205
|
+
triggerAnimation();
|
|
7206
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
7207
|
+
React.useImperativeHandle(ref, () => {
|
|
7208
|
+
isControlledRef.current = true;
|
|
7209
|
+
return {
|
|
7210
|
+
startAnimation: () => controls.start('animate'),
|
|
7211
|
+
stopAnimation: () => controls.stop(),
|
|
7212
|
+
};
|
|
7213
|
+
});
|
|
7214
|
+
const handleMouseEnter = (e) => {
|
|
7215
|
+
if (!isControlledRef.current && hoverable)
|
|
7216
|
+
triggerAnimation();
|
|
7217
|
+
onMouseEnter?.(e);
|
|
7218
|
+
};
|
|
7219
|
+
const handleMouseLeave = (e) => {
|
|
7220
|
+
if (!isControlledRef.current && hoverable)
|
|
7221
|
+
controls.stop();
|
|
7222
|
+
onMouseLeave?.(e);
|
|
7223
|
+
};
|
|
7224
|
+
const handleClick = (e) => {
|
|
7225
|
+
if (animateOnClick)
|
|
7226
|
+
triggerAnimation();
|
|
7227
|
+
onClick?.(e);
|
|
7228
|
+
};
|
|
7229
|
+
return (jsxRuntime.jsx("div", { className: cn$k('inline-block', className), style: { width: size, height: size, ...style }, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", width: "100%", height: "100%", children: [jsxRuntime.jsx(framerMotion.motion.path, { d: "M15 5H9", variants: dashVariants$3, initial: "initial", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M15 9v3h4l-7 7-7-7h4V9z", variants: arrowVariants$8, initial: "initial", animate: controls })] }) }));
|
|
7230
|
+
});
|
|
7231
|
+
ArrowBigDownDash.displayName = 'ArrowBigDownDash';
|
|
7232
|
+
|
|
7233
|
+
function cn$j(...inputs) {
|
|
7234
|
+
return twMerge(clsx(inputs));
|
|
7235
|
+
}
|
|
7236
|
+
const arrowVariants$7 = {
|
|
7237
|
+
initial: { x: 0, scale: 1 },
|
|
7238
|
+
animate: {
|
|
7239
|
+
x: [0, -4, 0],
|
|
7240
|
+
scale: [1, 1.1, 1],
|
|
7241
|
+
transition: {
|
|
7242
|
+
duration: 0.6,
|
|
7243
|
+
ease: 'easeInOut',
|
|
7244
|
+
},
|
|
7245
|
+
},
|
|
7246
|
+
};
|
|
7247
|
+
const dashVariants$2 = {
|
|
7248
|
+
initial: { y: 0, scale: 1 },
|
|
7249
|
+
animate: {
|
|
7250
|
+
x: [0, -2, 0],
|
|
7251
|
+
scale: [1, 1.1, 1],
|
|
7252
|
+
transition: {
|
|
7253
|
+
duration: 0.6,
|
|
7254
|
+
ease: 'easeInOut',
|
|
7255
|
+
},
|
|
7256
|
+
},
|
|
7257
|
+
};
|
|
7258
|
+
const ArrowBigLeftDash = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
7259
|
+
const controls = framerMotion.useAnimation();
|
|
7260
|
+
const loopRef = React.useRef(loopOnHover);
|
|
7261
|
+
const isControlledRef = React.useRef(false);
|
|
7262
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
7263
|
+
await controls.start('animate');
|
|
7264
|
+
if (loopRef.current)
|
|
7265
|
+
triggerAnimation();
|
|
7266
|
+
}, [controls]);
|
|
7267
|
+
React.useEffect(() => {
|
|
7268
|
+
loopRef.current = loopOnHover;
|
|
7269
|
+
}, [loopOnHover]);
|
|
7270
|
+
React.useEffect(() => {
|
|
7271
|
+
if (autoAnimateOnLoad)
|
|
7272
|
+
triggerAnimation();
|
|
7273
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
7274
|
+
React.useImperativeHandle(ref, () => {
|
|
7275
|
+
isControlledRef.current = true;
|
|
7276
|
+
return {
|
|
7277
|
+
startAnimation: () => controls.start('animate'),
|
|
7278
|
+
stopAnimation: () => controls.stop(),
|
|
7279
|
+
};
|
|
7280
|
+
});
|
|
7281
|
+
const handleMouseEnter = (e) => {
|
|
7282
|
+
if (!isControlledRef.current && hoverable)
|
|
7283
|
+
triggerAnimation();
|
|
7284
|
+
onMouseEnter?.(e);
|
|
7285
|
+
};
|
|
7286
|
+
const handleMouseLeave = (e) => {
|
|
7287
|
+
if (!isControlledRef.current && hoverable)
|
|
7288
|
+
controls.stop();
|
|
7289
|
+
onMouseLeave?.(e);
|
|
7290
|
+
};
|
|
7291
|
+
const handleClick = (e) => {
|
|
7292
|
+
if (animateOnClick)
|
|
7293
|
+
triggerAnimation();
|
|
7294
|
+
onClick?.(e);
|
|
7295
|
+
};
|
|
7296
|
+
return (jsxRuntime.jsx("div", { className: cn$j('inline-block', className), style: { width: size, height: size, ...style }, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", width: "100%", height: "100%", children: [jsxRuntime.jsx(framerMotion.motion.path, { d: "M19 15V9", variants: dashVariants$2, initial: "initial", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M15 15H12v4l-7-7 7-7v4h3v6z", variants: arrowVariants$7, initial: "initial", animate: controls })] }) }));
|
|
7297
|
+
});
|
|
7298
|
+
ArrowBigLeftDash.displayName = 'ArrowBigLeftDash';
|
|
7299
|
+
|
|
7300
|
+
function cn$i(...inputs) {
|
|
7301
|
+
return twMerge(clsx(inputs));
|
|
7302
|
+
}
|
|
7303
|
+
const arrowVariants$6 = {
|
|
7304
|
+
initial: { x: 0, scale: 1 },
|
|
7305
|
+
animate: {
|
|
7306
|
+
x: [0, 4, 0],
|
|
7307
|
+
scale: [1, 1.1, 1],
|
|
7308
|
+
transition: {
|
|
7309
|
+
duration: 0.6,
|
|
7310
|
+
ease: 'easeInOut',
|
|
7311
|
+
},
|
|
7312
|
+
},
|
|
7313
|
+
};
|
|
7314
|
+
const dashVariants$1 = {
|
|
7315
|
+
initial: { y: 0, scale: 1 },
|
|
7316
|
+
animate: {
|
|
7317
|
+
x: [0, 2, 0],
|
|
7318
|
+
scale: [1, 1.1, 1],
|
|
7319
|
+
transition: {
|
|
7320
|
+
duration: 0.6,
|
|
7321
|
+
ease: 'easeInOut',
|
|
7322
|
+
},
|
|
7323
|
+
},
|
|
7324
|
+
};
|
|
7325
|
+
const ArrowBigRightDash = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
7326
|
+
const controls = framerMotion.useAnimation();
|
|
7327
|
+
const loopRef = React.useRef(loopOnHover);
|
|
7328
|
+
const isControlledRef = React.useRef(false);
|
|
7329
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
7330
|
+
await controls.start('animate');
|
|
7331
|
+
if (loopRef.current)
|
|
7332
|
+
triggerAnimation();
|
|
7333
|
+
}, [controls]);
|
|
7334
|
+
React.useEffect(() => {
|
|
7335
|
+
loopRef.current = loopOnHover;
|
|
7336
|
+
}, [loopOnHover]);
|
|
7337
|
+
React.useEffect(() => {
|
|
7338
|
+
if (autoAnimateOnLoad)
|
|
7339
|
+
triggerAnimation();
|
|
7340
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
7341
|
+
React.useImperativeHandle(ref, () => {
|
|
7342
|
+
isControlledRef.current = true;
|
|
7343
|
+
return {
|
|
7344
|
+
startAnimation: () => controls.start('animate'),
|
|
7345
|
+
stopAnimation: () => controls.stop(),
|
|
7346
|
+
};
|
|
7347
|
+
});
|
|
7348
|
+
const handleMouseEnter = (e) => {
|
|
7349
|
+
if (!isControlledRef.current && hoverable)
|
|
7350
|
+
triggerAnimation();
|
|
7351
|
+
onMouseEnter?.(e);
|
|
7352
|
+
};
|
|
7353
|
+
const handleMouseLeave = (e) => {
|
|
7354
|
+
if (!isControlledRef.current && hoverable)
|
|
7355
|
+
controls.stop();
|
|
7356
|
+
onMouseLeave?.(e);
|
|
7357
|
+
};
|
|
7358
|
+
const handleClick = (e) => {
|
|
7359
|
+
if (animateOnClick)
|
|
7360
|
+
triggerAnimation();
|
|
7361
|
+
onClick?.(e);
|
|
7362
|
+
};
|
|
7363
|
+
return (jsxRuntime.jsx("div", { className: cn$i('inline-block', className), style: { width: size, height: size, ...style }, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", width: "100%", height: "100%", children: [jsxRuntime.jsx(framerMotion.motion.path, { d: "M5 9v6", variants: dashVariants$1, initial: "initial", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M9 9h3V5l7 7-7 7v-4H9V9z", variants: arrowVariants$6, initial: "initial", animate: controls })] }) }));
|
|
7364
|
+
});
|
|
7365
|
+
ArrowBigRightDash.displayName = 'ArrowBigRightDash';
|
|
7366
|
+
|
|
7367
|
+
function cn$h(...inputs) {
|
|
7368
|
+
return twMerge(clsx(inputs));
|
|
7369
|
+
}
|
|
7370
|
+
const arrowVariants$5 = {
|
|
7371
|
+
initial: { y: 0, scale: 1 },
|
|
7372
|
+
animate: {
|
|
7373
|
+
y: [0, -4, 0],
|
|
7374
|
+
scale: [1, 1.1, 1],
|
|
7375
|
+
transition: {
|
|
7376
|
+
duration: 0.6,
|
|
7377
|
+
ease: 'easeInOut',
|
|
7378
|
+
},
|
|
7379
|
+
},
|
|
7380
|
+
};
|
|
7381
|
+
const dashVariants = {
|
|
7382
|
+
initial: { y: 0, scale: 1 },
|
|
7383
|
+
animate: {
|
|
7384
|
+
y: [0, -2, 0],
|
|
7385
|
+
scale: [1, 1.1, 1],
|
|
7386
|
+
transition: {
|
|
7387
|
+
duration: 0.6,
|
|
7388
|
+
ease: 'easeInOut',
|
|
7389
|
+
},
|
|
7390
|
+
},
|
|
7391
|
+
};
|
|
7392
|
+
const ArrowBigUpDash = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
7393
|
+
const controls = framerMotion.useAnimation();
|
|
7394
|
+
const loopRef = React.useRef(loopOnHover);
|
|
7395
|
+
const isControlledRef = React.useRef(false);
|
|
7396
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
7397
|
+
await controls.start('animate');
|
|
7398
|
+
if (loopRef.current)
|
|
7399
|
+
triggerAnimation();
|
|
7400
|
+
}, [controls]);
|
|
7401
|
+
React.useEffect(() => {
|
|
7402
|
+
loopRef.current = loopOnHover;
|
|
7403
|
+
}, [loopOnHover]);
|
|
7404
|
+
React.useEffect(() => {
|
|
7405
|
+
if (autoAnimateOnLoad)
|
|
7406
|
+
triggerAnimation();
|
|
7407
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
7408
|
+
React.useImperativeHandle(ref, () => {
|
|
7409
|
+
isControlledRef.current = true;
|
|
7410
|
+
return {
|
|
7411
|
+
startAnimation: () => controls.start('animate'),
|
|
7412
|
+
stopAnimation: () => controls.stop(),
|
|
7413
|
+
};
|
|
7414
|
+
});
|
|
7415
|
+
const handleMouseEnter = (e) => {
|
|
7416
|
+
if (!isControlledRef.current && hoverable)
|
|
7417
|
+
triggerAnimation();
|
|
7418
|
+
onMouseEnter?.(e);
|
|
7419
|
+
};
|
|
7420
|
+
const handleMouseLeave = (e) => {
|
|
7421
|
+
if (!isControlledRef.current && hoverable)
|
|
7422
|
+
controls.stop();
|
|
7423
|
+
onMouseLeave?.(e);
|
|
7424
|
+
};
|
|
7425
|
+
const handleClick = (e) => {
|
|
7426
|
+
if (animateOnClick)
|
|
7427
|
+
triggerAnimation();
|
|
7428
|
+
onClick?.(e);
|
|
7429
|
+
};
|
|
7430
|
+
return (jsxRuntime.jsx("div", { className: cn$h('inline-block', className), style: { width: size, height: size, ...style }, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", width: "100%", height: "100%", children: [jsxRuntime.jsx(framerMotion.motion.path, { d: "M9 19h6", variants: dashVariants, initial: "initial", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M9 15v-3H5l7-7 7 7h-4v3H9z", variants: arrowVariants$5, initial: "initial", animate: controls })] }) }));
|
|
7431
|
+
});
|
|
7432
|
+
ArrowBigUpDash.displayName = 'ArrowBigUpDash';
|
|
7433
|
+
|
|
7434
|
+
function cn$g(...inputs) {
|
|
7435
|
+
return twMerge(clsx(inputs));
|
|
7436
|
+
}
|
|
7437
|
+
const arrowHeadVariants$3 = {
|
|
7438
|
+
normal: { d: 'm19 12-7 7-7-7', translateY: 0 },
|
|
7439
|
+
animate: {
|
|
7440
|
+
d: 'm19 12-7 7-7-7',
|
|
7441
|
+
translateY: [0, -3, 0],
|
|
7442
|
+
transition: {
|
|
7443
|
+
duration: 0.4,
|
|
7444
|
+
ease: 'easeInOut',
|
|
7445
|
+
},
|
|
7446
|
+
},
|
|
7447
|
+
};
|
|
7448
|
+
const arrowLineVariants$3 = {
|
|
7449
|
+
normal: { d: 'M12 5v14' },
|
|
7450
|
+
animate: {
|
|
7451
|
+
d: ['M12 5v14', 'M12 5v9', 'M12 5v14'],
|
|
7452
|
+
transition: {
|
|
7453
|
+
duration: 0.4,
|
|
7454
|
+
ease: 'easeInOut',
|
|
7455
|
+
},
|
|
7456
|
+
},
|
|
7457
|
+
};
|
|
7458
|
+
const ArrowDown = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
7459
|
+
const controls = framerMotion.useAnimation();
|
|
7460
|
+
const loopRef = React.useRef(loopOnHover);
|
|
7461
|
+
const isControlledRef = React.useRef(false);
|
|
7462
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
7463
|
+
await controls.start('animate');
|
|
7464
|
+
if (loopRef.current)
|
|
7465
|
+
triggerAnimation();
|
|
7466
|
+
}, [controls]);
|
|
7467
|
+
React.useEffect(() => {
|
|
7468
|
+
loopRef.current = loopOnHover;
|
|
7469
|
+
}, [loopOnHover]);
|
|
7470
|
+
React.useEffect(() => {
|
|
7471
|
+
if (autoAnimateOnLoad)
|
|
7472
|
+
triggerAnimation();
|
|
7473
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
7474
|
+
React.useImperativeHandle(ref, () => {
|
|
7475
|
+
isControlledRef.current = true;
|
|
7476
|
+
return {
|
|
7477
|
+
startAnimation: () => controls.start('animate'),
|
|
7478
|
+
stopAnimation: () => controls.stop(),
|
|
7479
|
+
};
|
|
7480
|
+
});
|
|
7481
|
+
const handleMouseEnter = (e) => {
|
|
7482
|
+
if (!isControlledRef.current && hoverable)
|
|
7483
|
+
triggerAnimation();
|
|
7484
|
+
onMouseEnter?.(e);
|
|
7485
|
+
};
|
|
7486
|
+
const handleMouseLeave = (e) => {
|
|
7487
|
+
if (!isControlledRef.current && hoverable)
|
|
7488
|
+
controls.stop();
|
|
7489
|
+
onMouseLeave?.(e);
|
|
7490
|
+
};
|
|
7491
|
+
const handleClick = (e) => {
|
|
7492
|
+
if (animateOnClick)
|
|
7493
|
+
triggerAnimation();
|
|
7494
|
+
onClick?.(e);
|
|
7495
|
+
};
|
|
7496
|
+
return (jsxRuntime.jsx("div", { className: cn$g('inline-block', className), style: { width: size, height: size, ...style }, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", width: "100%", height: "100%", children: [jsxRuntime.jsx(framerMotion.motion.path, { d: "M12 5v14", variants: arrowLineVariants$3, initial: "initial", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "m19 12-7 7-7-7", variants: arrowHeadVariants$3, initial: "initial", animate: controls })] }) }));
|
|
7497
|
+
});
|
|
7498
|
+
ArrowDown.displayName = 'ArrowDown';
|
|
7499
|
+
|
|
7500
|
+
function cn$f(...inputs) {
|
|
7501
|
+
return twMerge(clsx(inputs));
|
|
7502
|
+
}
|
|
7503
|
+
const arrowHeadVariants$2 = {
|
|
7504
|
+
normal: { d: 'm5 12 7-7 7 7', translateY: 0 },
|
|
7505
|
+
animate: {
|
|
7506
|
+
d: 'm5 12 7-7 7 7',
|
|
7507
|
+
translateY: [0, 3, 0],
|
|
7508
|
+
transition: {
|
|
7509
|
+
duration: 0.4,
|
|
7510
|
+
ease: 'easeInOut',
|
|
7511
|
+
},
|
|
7512
|
+
},
|
|
7513
|
+
};
|
|
7514
|
+
const arrowLineVariants$2 = {
|
|
7515
|
+
normal: { d: 'M12 19V5' },
|
|
7516
|
+
animate: {
|
|
7517
|
+
d: ['M12 19V5', 'M12 19V10', 'M12 19V5'],
|
|
7518
|
+
transition: {
|
|
7519
|
+
duration: 0.4,
|
|
7520
|
+
ease: 'easeInOut',
|
|
7521
|
+
},
|
|
7522
|
+
},
|
|
7523
|
+
};
|
|
7524
|
+
const ArrowUp = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
7525
|
+
const controls = framerMotion.useAnimation();
|
|
7526
|
+
const loopRef = React.useRef(loopOnHover);
|
|
7527
|
+
const isControlledRef = React.useRef(false);
|
|
7528
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
7529
|
+
await controls.start('animate');
|
|
7530
|
+
if (loopRef.current)
|
|
7531
|
+
triggerAnimation();
|
|
7532
|
+
}, [controls]);
|
|
7533
|
+
React.useEffect(() => {
|
|
7534
|
+
loopRef.current = loopOnHover;
|
|
7535
|
+
}, [loopOnHover]);
|
|
7536
|
+
React.useEffect(() => {
|
|
7537
|
+
if (autoAnimateOnLoad)
|
|
7538
|
+
triggerAnimation();
|
|
7539
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
7540
|
+
React.useImperativeHandle(ref, () => {
|
|
7541
|
+
isControlledRef.current = true;
|
|
7542
|
+
return {
|
|
7543
|
+
startAnimation: () => controls.start('animate'),
|
|
7544
|
+
stopAnimation: () => controls.stop(),
|
|
7545
|
+
};
|
|
7546
|
+
});
|
|
7547
|
+
const handleMouseEnter = (e) => {
|
|
7548
|
+
if (!isControlledRef.current && hoverable)
|
|
7549
|
+
triggerAnimation();
|
|
7550
|
+
onMouseEnter?.(e);
|
|
7551
|
+
};
|
|
7552
|
+
const handleMouseLeave = (e) => {
|
|
7553
|
+
if (!isControlledRef.current && hoverable)
|
|
7554
|
+
controls.stop();
|
|
7555
|
+
onMouseLeave?.(e);
|
|
7556
|
+
};
|
|
7557
|
+
const handleClick = (e) => {
|
|
7558
|
+
if (animateOnClick)
|
|
7559
|
+
triggerAnimation();
|
|
7560
|
+
onClick?.(e);
|
|
7561
|
+
};
|
|
7562
|
+
return (jsxRuntime.jsx("div", { className: cn$f('inline-block', className), style: { width: size, height: size, ...style }, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", width: "100%", height: "100%", children: [jsxRuntime.jsx(framerMotion.motion.path, { d: "M12 19V5", variants: arrowLineVariants$2, initial: "initial", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "m5 12 7-7 7 7", variants: arrowHeadVariants$2, initial: "initial", animate: controls })] }) }));
|
|
7563
|
+
});
|
|
7564
|
+
ArrowUp.displayName = 'ArrowUp';
|
|
7565
|
+
|
|
7566
|
+
function cn$e(...inputs) {
|
|
7567
|
+
return twMerge(clsx(inputs));
|
|
7568
|
+
}
|
|
7569
|
+
const arrowHeadVariants$1 = {
|
|
7570
|
+
normal: { d: 'm12 5-7 7 7 7', translateX: 0 },
|
|
7571
|
+
animate: {
|
|
7572
|
+
d: 'm12 5-7 7 7 7',
|
|
7573
|
+
translateX: [0, 3, 0],
|
|
7574
|
+
transition: {
|
|
7575
|
+
duration: 0.4,
|
|
7576
|
+
ease: 'easeInOut',
|
|
7577
|
+
},
|
|
7578
|
+
},
|
|
7579
|
+
};
|
|
7580
|
+
const arrowLineVariants$1 = {
|
|
7581
|
+
normal: { d: 'M19 12H5' },
|
|
7582
|
+
animate: {
|
|
7583
|
+
d: ['M19 12H5', 'M19 12H8.4', 'M19 12H5'],
|
|
7584
|
+
transition: {
|
|
7585
|
+
duration: 0.4,
|
|
7586
|
+
ease: 'easeInOut',
|
|
7587
|
+
},
|
|
7588
|
+
},
|
|
7589
|
+
};
|
|
7590
|
+
const ArrowLeft = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
7591
|
+
const controls = framerMotion.useAnimation();
|
|
7592
|
+
const loopRef = React.useRef(loopOnHover);
|
|
7593
|
+
const isControlledRef = React.useRef(false);
|
|
7594
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
7595
|
+
await controls.start('animate');
|
|
7596
|
+
if (loopRef.current)
|
|
7597
|
+
triggerAnimation();
|
|
7598
|
+
}, [controls]);
|
|
7599
|
+
React.useEffect(() => {
|
|
7600
|
+
loopRef.current = loopOnHover;
|
|
7601
|
+
}, [loopOnHover]);
|
|
7602
|
+
React.useEffect(() => {
|
|
7603
|
+
if (autoAnimateOnLoad)
|
|
7604
|
+
triggerAnimation();
|
|
7605
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
7606
|
+
React.useImperativeHandle(ref, () => {
|
|
7607
|
+
isControlledRef.current = true;
|
|
7608
|
+
return {
|
|
7609
|
+
startAnimation: () => controls.start('animate'),
|
|
7610
|
+
stopAnimation: () => controls.stop(),
|
|
7611
|
+
};
|
|
7612
|
+
});
|
|
7613
|
+
const handleMouseEnter = (e) => {
|
|
7614
|
+
if (!isControlledRef.current && hoverable)
|
|
7615
|
+
triggerAnimation();
|
|
7616
|
+
onMouseEnter?.(e);
|
|
7617
|
+
};
|
|
7618
|
+
const handleMouseLeave = (e) => {
|
|
7619
|
+
if (!isControlledRef.current && hoverable)
|
|
7620
|
+
controls.stop();
|
|
7621
|
+
onMouseLeave?.(e);
|
|
7622
|
+
};
|
|
7623
|
+
const handleClick = (e) => {
|
|
7624
|
+
if (animateOnClick)
|
|
7625
|
+
triggerAnimation();
|
|
7626
|
+
onClick?.(e);
|
|
7627
|
+
};
|
|
7628
|
+
return (jsxRuntime.jsx("div", { className: cn$e('inline-block', className), style: { width: size, height: size, ...style }, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", width: "100%", height: "100%", children: [jsxRuntime.jsx(framerMotion.motion.path, { d: "m12 5-7 7 7 7", variants: arrowHeadVariants$1, initial: "initial", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M19 12H5", variants: arrowLineVariants$1, initial: "initial", animate: controls })] }) }));
|
|
7629
|
+
});
|
|
7630
|
+
ArrowLeft.displayName = 'ArrowLeft';
|
|
7631
|
+
|
|
7632
|
+
function cn$d(...inputs) {
|
|
7633
|
+
return twMerge(clsx(inputs));
|
|
7634
|
+
}
|
|
7635
|
+
const arrowHeadVariants = {
|
|
7636
|
+
normal: { d: 'm12 5 7 7-7 7', translateX: 0 },
|
|
7637
|
+
animate: {
|
|
7638
|
+
d: 'm12 5 7 7-7 7',
|
|
7639
|
+
translateX: [0, -3, 0],
|
|
7640
|
+
transition: {
|
|
7641
|
+
duration: 0.4,
|
|
7642
|
+
ease: 'easeInOut',
|
|
7643
|
+
},
|
|
7644
|
+
},
|
|
7645
|
+
};
|
|
7646
|
+
const arrowLineVariants = {
|
|
7647
|
+
normal: { d: 'M5 12h14' },
|
|
7648
|
+
animate: {
|
|
7649
|
+
d: ['M5 12h14', 'M5 12h10.6', 'M5 12h14'],
|
|
7650
|
+
transition: {
|
|
7651
|
+
duration: 0.4,
|
|
7652
|
+
ease: 'easeInOut',
|
|
7653
|
+
},
|
|
7654
|
+
},
|
|
7655
|
+
};
|
|
7656
|
+
const ArrowRight = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
7657
|
+
const controls = framerMotion.useAnimation();
|
|
7658
|
+
const loopRef = React.useRef(loopOnHover);
|
|
7659
|
+
const isControlledRef = React.useRef(false);
|
|
7660
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
7661
|
+
await controls.start('animate');
|
|
7662
|
+
if (loopRef.current)
|
|
7663
|
+
triggerAnimation();
|
|
7664
|
+
}, [controls]);
|
|
7665
|
+
React.useEffect(() => {
|
|
7666
|
+
loopRef.current = loopOnHover;
|
|
7667
|
+
}, [loopOnHover]);
|
|
7668
|
+
React.useEffect(() => {
|
|
7669
|
+
if (autoAnimateOnLoad)
|
|
7670
|
+
triggerAnimation();
|
|
7671
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
7672
|
+
React.useImperativeHandle(ref, () => {
|
|
7673
|
+
isControlledRef.current = true;
|
|
7674
|
+
return {
|
|
7675
|
+
startAnimation: () => controls.start('animate'),
|
|
7676
|
+
stopAnimation: () => controls.stop(),
|
|
7677
|
+
};
|
|
7678
|
+
});
|
|
7679
|
+
const handleMouseEnter = (e) => {
|
|
7680
|
+
if (!isControlledRef.current && hoverable)
|
|
7681
|
+
triggerAnimation();
|
|
7682
|
+
onMouseEnter?.(e);
|
|
7683
|
+
};
|
|
7684
|
+
const handleMouseLeave = (e) => {
|
|
7685
|
+
if (!isControlledRef.current && hoverable)
|
|
7686
|
+
controls.stop();
|
|
7687
|
+
onMouseLeave?.(e);
|
|
7688
|
+
};
|
|
7689
|
+
const handleClick = (e) => {
|
|
7690
|
+
if (animateOnClick)
|
|
7691
|
+
triggerAnimation();
|
|
7692
|
+
onClick?.(e);
|
|
7693
|
+
};
|
|
7694
|
+
return (jsxRuntime.jsx("div", { className: cn$d('inline-block', className), style: { width: size, height: size, ...style }, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", width: "100%", height: "100%", children: [jsxRuntime.jsx(framerMotion.motion.path, { d: "m12 5 7 7-7 7", variants: arrowHeadVariants, initial: "initial", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M5 12h14", variants: arrowLineVariants, initial: "initial", animate: controls })] }) }));
|
|
7695
|
+
});
|
|
7696
|
+
ArrowRight.displayName = 'ArrowRight';
|
|
7697
|
+
|
|
7698
|
+
function cn$c(...inputs) {
|
|
7699
|
+
return twMerge(clsx(inputs));
|
|
7700
|
+
}
|
|
7701
|
+
const downArrowVariants = {
|
|
7702
|
+
normal: { y: 0 },
|
|
7703
|
+
animate: {
|
|
7704
|
+
y: [0, 3, 0],
|
|
7705
|
+
transition: {
|
|
7706
|
+
duration: 0.5,
|
|
7707
|
+
ease: 'easeInOut',
|
|
7708
|
+
},
|
|
7709
|
+
},
|
|
7710
|
+
};
|
|
7711
|
+
const upArrowVariants = {
|
|
7712
|
+
normal: { y: 0 },
|
|
7713
|
+
animate: {
|
|
7714
|
+
y: [0, -3, 0],
|
|
7715
|
+
transition: {
|
|
7716
|
+
duration: 0.5,
|
|
7717
|
+
ease: 'easeInOut',
|
|
7718
|
+
},
|
|
7719
|
+
},
|
|
7720
|
+
};
|
|
7721
|
+
const ArrowDownUp = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
7722
|
+
const controls = framerMotion.useAnimation();
|
|
7723
|
+
const loopRef = React.useRef(loopOnHover);
|
|
7724
|
+
const isControlledRef = React.useRef(false);
|
|
7725
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
7726
|
+
await controls.start('animate');
|
|
7727
|
+
if (loopRef.current)
|
|
7728
|
+
triggerAnimation();
|
|
7729
|
+
}, [controls]);
|
|
7730
|
+
React.useEffect(() => {
|
|
7731
|
+
loopRef.current = loopOnHover;
|
|
7732
|
+
}, [loopOnHover]);
|
|
7733
|
+
React.useEffect(() => {
|
|
7734
|
+
if (autoAnimateOnLoad)
|
|
7735
|
+
triggerAnimation();
|
|
7736
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
7737
|
+
React.useImperativeHandle(ref, () => {
|
|
7738
|
+
isControlledRef.current = true;
|
|
7739
|
+
return {
|
|
7740
|
+
startAnimation: () => controls.start('animate'),
|
|
7741
|
+
stopAnimation: () => controls.stop(),
|
|
7742
|
+
};
|
|
7743
|
+
});
|
|
7744
|
+
const handleMouseEnter = (e) => {
|
|
7745
|
+
if (!isControlledRef.current && hoverable)
|
|
7746
|
+
triggerAnimation();
|
|
7747
|
+
onMouseEnter?.(e);
|
|
7748
|
+
};
|
|
7749
|
+
const handleMouseLeave = (e) => {
|
|
7750
|
+
if (!isControlledRef.current && hoverable)
|
|
7751
|
+
controls.stop();
|
|
7752
|
+
onMouseLeave?.(e);
|
|
7753
|
+
};
|
|
7754
|
+
const handleClick = (e) => {
|
|
7755
|
+
if (animateOnClick)
|
|
7756
|
+
triggerAnimation();
|
|
7757
|
+
onClick?.(e);
|
|
7758
|
+
};
|
|
7759
|
+
return (jsxRuntime.jsx("div", { className: cn$c('inline-block', className), style: { width: size, height: size, ...style }, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", width: "100%", height: "100%", children: [jsxRuntime.jsx(framerMotion.motion.path, { d: "M3 16l4 4 4-4", variants: downArrowVariants, initial: "normal", animate: controls }), jsxRuntime.jsx("path", { d: "M7 20V4" }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M21 8l-4-4-4 4", variants: upArrowVariants, initial: "normal", animate: controls }), jsxRuntime.jsx("path", { d: "M17 4v16" })] }) }));
|
|
7760
|
+
});
|
|
7761
|
+
ArrowDownUp.displayName = 'ArrowDownUp';
|
|
7762
|
+
|
|
7763
|
+
function cn$b(...inputs) {
|
|
7764
|
+
return twMerge(clsx(inputs));
|
|
7765
|
+
}
|
|
7766
|
+
const arrowVariants$4 = {
|
|
7767
|
+
normal: { y: 0 },
|
|
7768
|
+
animate: {
|
|
7769
|
+
y: [0, 3, 0],
|
|
7770
|
+
transition: { duration: 0.4, ease: 'easeInOut' },
|
|
7771
|
+
},
|
|
7772
|
+
};
|
|
7773
|
+
const zeroVariants$1 = {
|
|
7774
|
+
initial: { y: 0 },
|
|
7775
|
+
animate: {
|
|
7776
|
+
y: [0, 10, 0],
|
|
7777
|
+
transition: { duration: 0.6, ease: 'easeInOut' },
|
|
7778
|
+
},
|
|
7779
|
+
};
|
|
7780
|
+
const oneVariants$1 = {
|
|
7781
|
+
initial: { y: 0 },
|
|
7782
|
+
animate: {
|
|
7783
|
+
y: [0, -10, 0],
|
|
7784
|
+
transition: { duration: 0.6, ease: 'easeInOut' },
|
|
7785
|
+
},
|
|
7786
|
+
};
|
|
7787
|
+
const ArrowDown01 = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
7788
|
+
const controls = framerMotion.useAnimation();
|
|
7789
|
+
const loopRef = React.useRef(loopOnHover);
|
|
7790
|
+
const isControlledRef = React.useRef(false);
|
|
7791
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
7792
|
+
await controls.start('animate');
|
|
7793
|
+
if (loopRef.current)
|
|
7794
|
+
triggerAnimation();
|
|
7795
|
+
}, [controls]);
|
|
7796
|
+
React.useEffect(() => {
|
|
7797
|
+
loopRef.current = loopOnHover;
|
|
7798
|
+
}, [loopOnHover]);
|
|
7799
|
+
React.useEffect(() => {
|
|
7800
|
+
if (autoAnimateOnLoad)
|
|
7801
|
+
triggerAnimation();
|
|
7802
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
7803
|
+
React.useImperativeHandle(ref, () => {
|
|
7804
|
+
isControlledRef.current = true;
|
|
7805
|
+
return {
|
|
7806
|
+
startAnimation: () => controls.start('animate'),
|
|
7807
|
+
stopAnimation: () => controls.stop(),
|
|
7808
|
+
};
|
|
7809
|
+
});
|
|
7810
|
+
const handleMouseEnter = (e) => {
|
|
7811
|
+
if (!isControlledRef.current && hoverable)
|
|
7812
|
+
triggerAnimation();
|
|
7813
|
+
onMouseEnter?.(e);
|
|
7814
|
+
};
|
|
7815
|
+
const handleMouseLeave = (e) => {
|
|
7816
|
+
if (!isControlledRef.current && hoverable)
|
|
7817
|
+
controls.stop();
|
|
7818
|
+
onMouseLeave?.(e);
|
|
7819
|
+
};
|
|
7820
|
+
const handleClick = (e) => {
|
|
7821
|
+
if (animateOnClick)
|
|
7822
|
+
triggerAnimation();
|
|
7823
|
+
onClick?.(e);
|
|
7824
|
+
};
|
|
7825
|
+
return (jsxRuntime.jsx("div", { className: cn$b('inline-block', className), style: { width: size, height: size, ...style }, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", width: "100%", height: "100%", children: [jsxRuntime.jsx(framerMotion.motion.path, { d: "m3 16 4 4 4-4", variants: arrowVariants$4, initial: "normal", animate: controls }), jsxRuntime.jsx("path", { d: "M7 20V4" }), jsxRuntime.jsx(framerMotion.motion.rect, { x: "15", y: "4", width: "4", height: "6", ry: "2", variants: zeroVariants$1, initial: "initial", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M17 20v-6h-2", variants: oneVariants$1, initial: "initial", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M15 20h4", variants: oneVariants$1, initial: "initial", animate: controls })] }) }));
|
|
7826
|
+
});
|
|
7827
|
+
ArrowDown01.displayName = 'ArrowDown01';
|
|
7828
|
+
|
|
7829
|
+
function cn$a(...inputs) {
|
|
7830
|
+
return twMerge(clsx(inputs));
|
|
7831
|
+
}
|
|
7832
|
+
const arrowVariants$3 = {
|
|
7833
|
+
normal: { y: 0 },
|
|
7834
|
+
animate: {
|
|
7835
|
+
y: [0, 3, 0],
|
|
7836
|
+
transition: { duration: 0.4, ease: 'easeInOut' },
|
|
7837
|
+
},
|
|
7838
|
+
};
|
|
7839
|
+
const zeroVariants = {
|
|
7840
|
+
initial: { y: 0 },
|
|
7841
|
+
animate: {
|
|
7842
|
+
y: [10, 0, 10],
|
|
7843
|
+
transition: { duration: 0.6, ease: 'easeInOut' },
|
|
7844
|
+
},
|
|
7845
|
+
};
|
|
7846
|
+
const oneVariants = {
|
|
7847
|
+
initial: { y: 0 },
|
|
7848
|
+
animate: {
|
|
7849
|
+
y: [-10, 0, -10],
|
|
7850
|
+
transition: { duration: 0.6, ease: 'easeInOut' },
|
|
7851
|
+
},
|
|
7852
|
+
};
|
|
7853
|
+
const ArrowDown10 = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
7854
|
+
const controls = framerMotion.useAnimation();
|
|
7855
|
+
const loopRef = React.useRef(loopOnHover);
|
|
7856
|
+
const isControlledRef = React.useRef(false);
|
|
7857
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
7858
|
+
await controls.start('animate');
|
|
7859
|
+
if (loopRef.current)
|
|
7860
|
+
triggerAnimation();
|
|
7861
|
+
}, [controls]);
|
|
7862
|
+
React.useEffect(() => {
|
|
7863
|
+
loopRef.current = loopOnHover;
|
|
7864
|
+
}, [loopOnHover]);
|
|
7865
|
+
React.useEffect(() => {
|
|
7866
|
+
if (autoAnimateOnLoad)
|
|
7867
|
+
triggerAnimation();
|
|
7868
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
7869
|
+
React.useImperativeHandle(ref, () => {
|
|
7870
|
+
isControlledRef.current = true;
|
|
7871
|
+
return {
|
|
7872
|
+
startAnimation: () => controls.start('animate'),
|
|
7873
|
+
stopAnimation: () => controls.stop(),
|
|
7874
|
+
};
|
|
7875
|
+
});
|
|
7876
|
+
const handleMouseEnter = (e) => {
|
|
7877
|
+
if (!isControlledRef.current && hoverable)
|
|
7878
|
+
triggerAnimation();
|
|
7879
|
+
onMouseEnter?.(e);
|
|
7880
|
+
};
|
|
7881
|
+
const handleMouseLeave = (e) => {
|
|
7882
|
+
if (!isControlledRef.current && hoverable)
|
|
7883
|
+
controls.stop();
|
|
7884
|
+
onMouseLeave?.(e);
|
|
7885
|
+
};
|
|
7886
|
+
const handleClick = (e) => {
|
|
7887
|
+
if (animateOnClick)
|
|
7888
|
+
triggerAnimation();
|
|
7889
|
+
onClick?.(e);
|
|
7890
|
+
};
|
|
7891
|
+
return (jsxRuntime.jsx("div", { className: cn$a('inline-block', className), style: { width: size, height: size, ...style }, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", width: "100%", height: "100%", children: [jsxRuntime.jsx(framerMotion.motion.path, { d: "m3 16 4 4 4-4", variants: arrowVariants$3, initial: "normal", animate: controls }), jsxRuntime.jsx("path", { d: "M7 20V4" }), jsxRuntime.jsx(framerMotion.motion.rect, { x: "15", y: "4", width: "4", height: "6", ry: "2", variants: zeroVariants, initial: "initial", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M17 20v-6h-2", variants: oneVariants, initial: "initial", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M15 20h4", variants: oneVariants, initial: "initial", animate: controls })] }) }));
|
|
7892
|
+
});
|
|
7893
|
+
ArrowDown10.displayName = 'ArrowDown10';
|
|
7894
|
+
|
|
7895
|
+
function cn$9(...inputs) {
|
|
7896
|
+
return twMerge(clsx(inputs));
|
|
7897
|
+
}
|
|
7898
|
+
const arrowVariants$2 = {
|
|
7899
|
+
normal: { y: 0 },
|
|
7900
|
+
animate: {
|
|
7901
|
+
y: [0, 3, 0],
|
|
7902
|
+
transition: { duration: 0.4, ease: 'easeInOut' },
|
|
7903
|
+
},
|
|
7904
|
+
};
|
|
7905
|
+
const aVariants$1 = {
|
|
7906
|
+
initial: { y: 0 },
|
|
7907
|
+
animate: {
|
|
7908
|
+
y: [0, 10, 0],
|
|
7909
|
+
transition: { duration: 0.6, ease: 'easeInOut' },
|
|
7910
|
+
},
|
|
7911
|
+
};
|
|
7912
|
+
const zVariants$1 = {
|
|
7913
|
+
initial: { y: 0 },
|
|
7914
|
+
animate: {
|
|
7915
|
+
y: [0, -10, 0],
|
|
7916
|
+
transition: { duration: 0.6, ease: 'easeInOut' },
|
|
7917
|
+
},
|
|
7918
|
+
};
|
|
7919
|
+
const ArrowDownAZ = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
7920
|
+
const controls = framerMotion.useAnimation();
|
|
7921
|
+
const loopRef = React.useRef(loopOnHover);
|
|
7922
|
+
const isControlledRef = React.useRef(false);
|
|
7923
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
7924
|
+
await controls.start('animate');
|
|
7925
|
+
if (loopRef.current)
|
|
7926
|
+
triggerAnimation();
|
|
7927
|
+
}, [controls]);
|
|
7928
|
+
React.useEffect(() => {
|
|
7929
|
+
loopRef.current = loopOnHover;
|
|
7930
|
+
}, [loopOnHover]);
|
|
7931
|
+
React.useEffect(() => {
|
|
7932
|
+
if (autoAnimateOnLoad)
|
|
7933
|
+
triggerAnimation();
|
|
7934
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
7935
|
+
React.useImperativeHandle(ref, () => {
|
|
7936
|
+
isControlledRef.current = true;
|
|
7937
|
+
return {
|
|
7938
|
+
startAnimation: () => controls.start('animate'),
|
|
7939
|
+
stopAnimation: () => controls.stop(),
|
|
7940
|
+
};
|
|
7941
|
+
});
|
|
7942
|
+
const handleMouseEnter = (e) => {
|
|
7943
|
+
if (!isControlledRef.current && hoverable)
|
|
7944
|
+
triggerAnimation();
|
|
7945
|
+
onMouseEnter?.(e);
|
|
7946
|
+
};
|
|
7947
|
+
const handleMouseLeave = (e) => {
|
|
7948
|
+
if (!isControlledRef.current && hoverable)
|
|
7949
|
+
controls.stop();
|
|
7950
|
+
onMouseLeave?.(e);
|
|
7951
|
+
};
|
|
7952
|
+
const handleClick = (e) => {
|
|
7953
|
+
if (animateOnClick)
|
|
7954
|
+
triggerAnimation();
|
|
7955
|
+
onClick?.(e);
|
|
7956
|
+
};
|
|
7957
|
+
return (jsxRuntime.jsx("div", { className: cn$9('inline-block', className), style: { width: size, height: size, ...style }, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", width: "100%", height: "100%", children: [jsxRuntime.jsx(framerMotion.motion.path, { d: "m3 16 4 4 4-4", variants: arrowVariants$2, initial: "normal", animate: controls }), jsxRuntime.jsx("path", { d: "M7 20V4" }), jsxRuntime.jsx(framerMotion.motion.text, { x: "15", y: "10", fontSize: "6", variants: aVariants$1, initial: "initial", animate: controls, children: "A" }), jsxRuntime.jsx(framerMotion.motion.text, { x: "15", y: "20", fontSize: "6", variants: zVariants$1, initial: "initial", animate: controls, children: "Z" })] }) }));
|
|
7958
|
+
});
|
|
7959
|
+
ArrowDownAZ.displayName = 'ArrowDownAZ';
|
|
7960
|
+
|
|
7961
|
+
function cn$8(...inputs) {
|
|
7962
|
+
return twMerge(clsx(inputs));
|
|
7963
|
+
}
|
|
7964
|
+
const arrowVariants$1 = {
|
|
7965
|
+
normal: { y: 0 },
|
|
7966
|
+
animate: {
|
|
7967
|
+
y: [0, 3, 0],
|
|
7968
|
+
transition: { duration: 0.4, ease: 'easeInOut' },
|
|
7969
|
+
},
|
|
7970
|
+
};
|
|
7971
|
+
const aVariants = {
|
|
7972
|
+
initial: { y: 0 },
|
|
7973
|
+
animate: {
|
|
7974
|
+
y: [10, 0, 10],
|
|
7975
|
+
transition: { duration: 0.6, ease: 'easeInOut' },
|
|
7976
|
+
},
|
|
7977
|
+
};
|
|
7978
|
+
const zVariants = {
|
|
7979
|
+
initial: { y: 0 },
|
|
7980
|
+
animate: {
|
|
7981
|
+
y: [-10, 0, -10],
|
|
7982
|
+
transition: { duration: 0.6, ease: 'easeInOut' },
|
|
7983
|
+
},
|
|
7984
|
+
};
|
|
7985
|
+
const ArrowDownZA = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
7986
|
+
const controls = framerMotion.useAnimation();
|
|
7987
|
+
const loopRef = React.useRef(loopOnHover);
|
|
7988
|
+
const isControlledRef = React.useRef(false);
|
|
7989
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
7990
|
+
await controls.start('animate');
|
|
7991
|
+
if (loopRef.current)
|
|
7992
|
+
triggerAnimation();
|
|
7993
|
+
}, [controls]);
|
|
7994
|
+
React.useEffect(() => {
|
|
7995
|
+
loopRef.current = loopOnHover;
|
|
7996
|
+
}, [loopOnHover]);
|
|
7997
|
+
React.useEffect(() => {
|
|
7998
|
+
if (autoAnimateOnLoad)
|
|
7999
|
+
triggerAnimation();
|
|
8000
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
8001
|
+
React.useImperativeHandle(ref, () => {
|
|
8002
|
+
isControlledRef.current = true;
|
|
8003
|
+
return {
|
|
8004
|
+
startAnimation: () => controls.start('animate'),
|
|
8005
|
+
stopAnimation: () => controls.stop(),
|
|
8006
|
+
};
|
|
8007
|
+
});
|
|
8008
|
+
const handleMouseEnter = (e) => {
|
|
8009
|
+
if (!isControlledRef.current && hoverable)
|
|
8010
|
+
triggerAnimation();
|
|
8011
|
+
onMouseEnter?.(e);
|
|
8012
|
+
};
|
|
8013
|
+
const handleMouseLeave = (e) => {
|
|
8014
|
+
if (!isControlledRef.current && hoverable)
|
|
8015
|
+
controls.stop();
|
|
8016
|
+
onMouseLeave?.(e);
|
|
8017
|
+
};
|
|
8018
|
+
const handleClick = (e) => {
|
|
8019
|
+
if (animateOnClick)
|
|
8020
|
+
triggerAnimation();
|
|
8021
|
+
onClick?.(e);
|
|
8022
|
+
};
|
|
8023
|
+
return (jsxRuntime.jsx("div", { className: cn$8('inline-block', className), style: { width: size, height: size, ...style }, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", width: "100%", height: "100%", children: [jsxRuntime.jsx(framerMotion.motion.path, { d: "m3 16 4 4 4-4", variants: arrowVariants$1, initial: "normal", animate: controls }), jsxRuntime.jsx("path", { d: "M7 20V4" }), jsxRuntime.jsx(framerMotion.motion.text, { x: "15", y: "10", fontSize: "6", variants: aVariants, initial: "initial", animate: controls, children: "A" }), jsxRuntime.jsx(framerMotion.motion.text, { x: "15", y: "20", fontSize: "6", variants: zVariants, initial: "initial", animate: controls, children: "Z" })] }) }));
|
|
8024
|
+
});
|
|
8025
|
+
ArrowDownZA.displayName = 'ArrowDownZA';
|
|
8026
|
+
|
|
8027
|
+
function cn$7(...inputs) {
|
|
8028
|
+
return twMerge(clsx(inputs));
|
|
8029
|
+
}
|
|
8030
|
+
const arrowVariants = {
|
|
8031
|
+
normal: { y: 0 },
|
|
8032
|
+
animate: {
|
|
8033
|
+
y: [0, 3, 0],
|
|
8034
|
+
transition: { duration: 0.4, ease: 'easeInOut' },
|
|
8035
|
+
},
|
|
8036
|
+
};
|
|
8037
|
+
const lineDrawVariants = {
|
|
8038
|
+
initial: { pathLength: 1 },
|
|
8039
|
+
animate: {
|
|
8040
|
+
pathLength: [1, 0, 1],
|
|
8041
|
+
transition: { duration: 0.5, ease: 'easeInOut' },
|
|
8042
|
+
},
|
|
8043
|
+
};
|
|
8044
|
+
const ArrowDownToLine = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
8045
|
+
const controls = framerMotion.useAnimation();
|
|
8046
|
+
const loopRef = React.useRef(loopOnHover);
|
|
8047
|
+
const isControlledRef = React.useRef(false);
|
|
8048
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
8049
|
+
await controls.start('animate');
|
|
8050
|
+
if (loopRef.current)
|
|
8051
|
+
triggerAnimation();
|
|
8052
|
+
}, [controls]);
|
|
8053
|
+
React.useEffect(() => {
|
|
8054
|
+
loopRef.current = loopOnHover;
|
|
8055
|
+
}, [loopOnHover]);
|
|
8056
|
+
React.useEffect(() => {
|
|
8057
|
+
if (autoAnimateOnLoad)
|
|
8058
|
+
triggerAnimation();
|
|
8059
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
8060
|
+
React.useImperativeHandle(ref, () => {
|
|
8061
|
+
isControlledRef.current = true;
|
|
8062
|
+
return {
|
|
8063
|
+
startAnimation: () => controls.start('animate'),
|
|
8064
|
+
stopAnimation: () => controls.stop(),
|
|
8065
|
+
};
|
|
8066
|
+
});
|
|
8067
|
+
const handleMouseEnter = (e) => {
|
|
8068
|
+
if (!isControlledRef.current && hoverable)
|
|
8069
|
+
triggerAnimation();
|
|
8070
|
+
onMouseEnter?.(e);
|
|
8071
|
+
};
|
|
8072
|
+
const handleMouseLeave = (e) => {
|
|
8073
|
+
if (!isControlledRef.current && hoverable)
|
|
8074
|
+
controls.stop();
|
|
8075
|
+
onMouseLeave?.(e);
|
|
8076
|
+
};
|
|
8077
|
+
const handleClick = (e) => {
|
|
8078
|
+
if (animateOnClick)
|
|
8079
|
+
triggerAnimation();
|
|
8080
|
+
onClick?.(e);
|
|
8081
|
+
};
|
|
8082
|
+
return (jsxRuntime.jsx("div", { className: cn$7('inline-block', className), style: { width: size, height: size, ...style }, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", width: "100%", height: "100%", children: [jsxRuntime.jsx("path", { d: "M12 17V3" }), jsxRuntime.jsx(framerMotion.motion.path, { d: "m6 11 6 6 6-6", variants: arrowVariants, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M19 21H5", variants: lineDrawVariants, initial: "initial", animate: controls })] }) }));
|
|
8083
|
+
});
|
|
8084
|
+
ArrowDownToLine.displayName = 'ArrowDownToLine';
|
|
8085
|
+
|
|
8086
|
+
function cn$6(...inputs) {
|
|
8087
|
+
return twMerge(clsx(inputs));
|
|
8088
|
+
}
|
|
8089
|
+
const pathVariants$5 = {
|
|
8090
|
+
normal: (custom) => ({
|
|
8091
|
+
pathLength: 1,
|
|
8092
|
+
opacity: 1,
|
|
8093
|
+
pathOffset: 0,
|
|
8094
|
+
transition: {
|
|
8095
|
+
duration: 0.3,
|
|
8096
|
+
ease: 'easeInOut',
|
|
8097
|
+
delay: custom,
|
|
8098
|
+
},
|
|
8099
|
+
}),
|
|
8100
|
+
animate: (custom) => ({
|
|
8101
|
+
pathLength: [0, 1],
|
|
8102
|
+
opacity: [0, 1],
|
|
8103
|
+
pathOffset: [1, 0],
|
|
8104
|
+
transition: {
|
|
8105
|
+
duration: 0.6,
|
|
8106
|
+
ease: 'easeInOut',
|
|
8107
|
+
delay: custom,
|
|
8108
|
+
},
|
|
8109
|
+
}),
|
|
8110
|
+
};
|
|
8111
|
+
const Asterisk = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
8112
|
+
const controls = framerMotion.useAnimation();
|
|
8113
|
+
const loopRef = React.useRef(loopOnHover);
|
|
8114
|
+
const isControlledRef = React.useRef(false);
|
|
8115
|
+
// Imperative handle for external control
|
|
8116
|
+
React.useImperativeHandle(ref, () => {
|
|
8117
|
+
isControlledRef.current = true;
|
|
8118
|
+
return {
|
|
8119
|
+
startAnimation: () => controls.start('animate'),
|
|
8120
|
+
stopAnimation: () => controls.start('normal'),
|
|
8121
|
+
};
|
|
8122
|
+
});
|
|
8123
|
+
// Loop animation if loopOnHover is true
|
|
8124
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
8125
|
+
await controls.start('animate');
|
|
8126
|
+
await controls.start('normal');
|
|
8127
|
+
if (loopRef.current)
|
|
8128
|
+
triggerAnimation();
|
|
8129
|
+
}, [controls]);
|
|
8130
|
+
React.useEffect(() => {
|
|
8131
|
+
loopRef.current = loopOnHover;
|
|
8132
|
+
}, [loopOnHover]);
|
|
8133
|
+
React.useEffect(() => {
|
|
8134
|
+
if (autoAnimateOnLoad) {
|
|
8135
|
+
triggerAnimation();
|
|
8136
|
+
}
|
|
8137
|
+
else if (!hoverable) {
|
|
8138
|
+
controls.start('normal');
|
|
8139
|
+
}
|
|
8140
|
+
}, [autoAnimateOnLoad, controls, hoverable, triggerAnimation]);
|
|
8141
|
+
const handleMouseEnter = React.useCallback((e) => {
|
|
8142
|
+
if (hoverable && !isControlledRef.current) {
|
|
8143
|
+
triggerAnimation();
|
|
8144
|
+
}
|
|
8145
|
+
onMouseEnter?.(e);
|
|
8146
|
+
}, [hoverable, onMouseEnter, triggerAnimation]);
|
|
8147
|
+
const handleMouseLeave = React.useCallback((e) => {
|
|
8148
|
+
if (hoverable && !isControlledRef.current) {
|
|
8149
|
+
controls.start('normal');
|
|
8150
|
+
}
|
|
8151
|
+
onMouseLeave?.(e);
|
|
8152
|
+
}, [hoverable, onMouseLeave, controls]);
|
|
8153
|
+
const handleClick = React.useCallback((e) => {
|
|
8154
|
+
if (animateOnClick && !isControlledRef.current) {
|
|
8155
|
+
triggerAnimation();
|
|
8156
|
+
}
|
|
8157
|
+
onClick?.(e);
|
|
8158
|
+
}, [animateOnClick, onClick, triggerAnimation]);
|
|
8159
|
+
return (jsxRuntime.jsx("div", { className: cn$6(className), style: {
|
|
8160
|
+
width: size,
|
|
8161
|
+
height: size,
|
|
8162
|
+
display: 'inline-block',
|
|
8163
|
+
...style,
|
|
8164
|
+
}, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [jsxRuntime.jsx(framerMotion.motion.path, { d: "M12 6v12", variants: pathVariants$5, initial: "normal", animate: controls, custom: 0 }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M17.196 9 6.804 15", variants: pathVariants$5, initial: "normal", animate: controls, custom: 0.2 }), jsxRuntime.jsx(framerMotion.motion.path, { d: "m6.804 9 10.392 6", variants: pathVariants$5, initial: "normal", animate: controls, custom: 0.4 })] }) }));
|
|
8165
|
+
});
|
|
8166
|
+
Asterisk.displayName = 'Asterisk';
|
|
8167
|
+
|
|
8168
|
+
function cn$5(...inputs) {
|
|
8169
|
+
return twMerge(clsx(inputs));
|
|
8170
|
+
}
|
|
8171
|
+
const pathVariants$4 = {
|
|
8172
|
+
normal: (custom) => ({
|
|
8173
|
+
pathLength: 1,
|
|
8174
|
+
opacity: 1,
|
|
8175
|
+
pathOffset: 0,
|
|
8176
|
+
transition: {
|
|
8177
|
+
duration: 0.3,
|
|
8178
|
+
ease: 'easeInOut',
|
|
8179
|
+
delay: custom,
|
|
8180
|
+
},
|
|
8181
|
+
}),
|
|
8182
|
+
animate: (custom) => ({
|
|
8183
|
+
pathLength: [0, 1],
|
|
8184
|
+
opacity: [0, 1],
|
|
8185
|
+
pathOffset: [1, 0],
|
|
8186
|
+
transition: {
|
|
8187
|
+
duration: 0.6,
|
|
8188
|
+
ease: 'easeInOut',
|
|
8189
|
+
delay: custom,
|
|
8190
|
+
},
|
|
8191
|
+
}),
|
|
8192
|
+
};
|
|
8193
|
+
const AtSign = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
8194
|
+
const controls = framerMotion.useAnimation();
|
|
8195
|
+
const loopRef = React.useRef(loopOnHover);
|
|
8196
|
+
const isControlledRef = React.useRef(false);
|
|
8197
|
+
// Imperative handle for external control
|
|
8198
|
+
React.useImperativeHandle(ref, () => {
|
|
8199
|
+
isControlledRef.current = true;
|
|
8200
|
+
return {
|
|
8201
|
+
startAnimation: () => controls.start('animate'),
|
|
8202
|
+
stopAnimation: () => controls.start('normal'),
|
|
8203
|
+
};
|
|
8204
|
+
});
|
|
8205
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
8206
|
+
await controls.start('animate');
|
|
8207
|
+
await controls.start('normal');
|
|
8208
|
+
if (loopRef.current)
|
|
8209
|
+
triggerAnimation();
|
|
8210
|
+
}, [controls]);
|
|
8211
|
+
React.useEffect(() => {
|
|
8212
|
+
loopRef.current = loopOnHover;
|
|
8213
|
+
}, [loopOnHover]);
|
|
8214
|
+
React.useEffect(() => {
|
|
8215
|
+
if (autoAnimateOnLoad) {
|
|
8216
|
+
triggerAnimation();
|
|
8217
|
+
}
|
|
8218
|
+
else if (!hoverable) {
|
|
8219
|
+
controls.start('normal');
|
|
8220
|
+
}
|
|
8221
|
+
}, [autoAnimateOnLoad, hoverable, controls, triggerAnimation]);
|
|
8222
|
+
const handleMouseEnter = React.useCallback((e) => {
|
|
8223
|
+
if (hoverable && !isControlledRef.current) {
|
|
8224
|
+
triggerAnimation();
|
|
8225
|
+
}
|
|
8226
|
+
onMouseEnter?.(e);
|
|
8227
|
+
}, [hoverable, onMouseEnter, triggerAnimation]);
|
|
8228
|
+
const handleMouseLeave = React.useCallback((e) => {
|
|
8229
|
+
if (hoverable && !isControlledRef.current) {
|
|
8230
|
+
controls.start('normal');
|
|
8231
|
+
}
|
|
8232
|
+
onMouseLeave?.(e);
|
|
8233
|
+
}, [hoverable, onMouseLeave, controls]);
|
|
8234
|
+
const handleClick = React.useCallback((e) => {
|
|
8235
|
+
if (animateOnClick && !isControlledRef.current) {
|
|
8236
|
+
triggerAnimation();
|
|
8237
|
+
}
|
|
8238
|
+
onClick?.(e);
|
|
8239
|
+
}, [animateOnClick, onClick, triggerAnimation]);
|
|
8240
|
+
return (jsxRuntime.jsx("div", { className: cn$5(className), style: {
|
|
8241
|
+
width: size,
|
|
8242
|
+
height: size,
|
|
8243
|
+
display: 'inline-block',
|
|
8244
|
+
...style,
|
|
8245
|
+
}, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [jsxRuntime.jsx(framerMotion.motion.circle, { cx: "12", cy: "12", r: "4", variants: pathVariants$4, initial: "normal", animate: controls, custom: 0 }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-4 8", variants: pathVariants$4, initial: "normal", animate: controls, custom: 0.6 })] }) }));
|
|
8246
|
+
});
|
|
8247
|
+
AtSign.displayName = 'AtSign';
|
|
8248
|
+
|
|
8249
|
+
function cn$4(...inputs) {
|
|
8250
|
+
return twMerge(clsx(inputs));
|
|
8251
|
+
}
|
|
8252
|
+
const pathVariants$3 = {
|
|
8253
|
+
normal: (custom) => ({
|
|
8254
|
+
pathLength: 1,
|
|
8255
|
+
opacity: 1,
|
|
8256
|
+
pathOffset: 0,
|
|
8257
|
+
transition: {
|
|
8258
|
+
duration: 0.3,
|
|
8259
|
+
ease: 'easeInOut',
|
|
8260
|
+
delay: custom,
|
|
8261
|
+
},
|
|
8262
|
+
}),
|
|
8263
|
+
animate: (custom) => ({
|
|
8264
|
+
pathLength: [0, 1],
|
|
8265
|
+
opacity: [0, 1],
|
|
8266
|
+
pathOffset: [1, 0],
|
|
8267
|
+
transition: {
|
|
8268
|
+
duration: 0.7,
|
|
8269
|
+
ease: 'easeInOut',
|
|
8270
|
+
delay: custom,
|
|
8271
|
+
},
|
|
8272
|
+
}),
|
|
8273
|
+
};
|
|
8274
|
+
const Atom = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
8275
|
+
const controls = framerMotion.useAnimation();
|
|
8276
|
+
const loopRef = React.useRef(loopOnHover);
|
|
8277
|
+
const isControlledRef = React.useRef(false);
|
|
8278
|
+
// Expose start/stop animation methods externally
|
|
8279
|
+
React.useImperativeHandle(ref, () => {
|
|
8280
|
+
isControlledRef.current = true;
|
|
8281
|
+
return {
|
|
8282
|
+
startAnimation: () => controls.start('animate'),
|
|
8283
|
+
stopAnimation: () => controls.start('normal'),
|
|
8284
|
+
};
|
|
8285
|
+
});
|
|
8286
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
8287
|
+
await controls.start('animate');
|
|
8288
|
+
await controls.start('normal');
|
|
8289
|
+
if (loopRef.current)
|
|
8290
|
+
triggerAnimation();
|
|
8291
|
+
}, [controls]);
|
|
8292
|
+
React.useEffect(() => {
|
|
8293
|
+
loopRef.current = loopOnHover;
|
|
8294
|
+
}, [loopOnHover]);
|
|
8295
|
+
React.useEffect(() => {
|
|
8296
|
+
if (autoAnimateOnLoad) {
|
|
8297
|
+
triggerAnimation();
|
|
8298
|
+
}
|
|
8299
|
+
else if (!hoverable) {
|
|
8300
|
+
controls.start('normal');
|
|
8301
|
+
}
|
|
8302
|
+
}, [autoAnimateOnLoad, hoverable, controls, triggerAnimation]);
|
|
8303
|
+
const handleMouseEnter = React.useCallback((e) => {
|
|
8304
|
+
if (hoverable && !isControlledRef.current) {
|
|
8305
|
+
triggerAnimation();
|
|
8306
|
+
}
|
|
8307
|
+
onMouseEnter?.(e);
|
|
8308
|
+
}, [hoverable, onMouseEnter, triggerAnimation]);
|
|
8309
|
+
const handleMouseLeave = React.useCallback((e) => {
|
|
8310
|
+
if (hoverable && !isControlledRef.current) {
|
|
8311
|
+
controls.start('normal');
|
|
8312
|
+
}
|
|
8313
|
+
onMouseLeave?.(e);
|
|
8314
|
+
}, [hoverable, onMouseLeave, controls]);
|
|
8315
|
+
const handleClick = React.useCallback((e) => {
|
|
8316
|
+
if (animateOnClick && !isControlledRef.current) {
|
|
8317
|
+
triggerAnimation();
|
|
8318
|
+
}
|
|
8319
|
+
onClick?.(e);
|
|
8320
|
+
}, [animateOnClick, onClick, triggerAnimation]);
|
|
8321
|
+
return (jsxRuntime.jsx("div", { className: cn$4(className), style: {
|
|
8322
|
+
width: size,
|
|
8323
|
+
height: size,
|
|
8324
|
+
display: 'inline-block',
|
|
8325
|
+
...style,
|
|
8326
|
+
}, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [jsxRuntime.jsx(framerMotion.motion.circle, { cx: "12", cy: "12", r: "1", variants: pathVariants$3, initial: "normal", animate: controls, custom: 0 }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M20.2 20.2c2.04-2.03.02-7.36-4.5-11.9-4.54-4.52-9.87-6.54-11.9-4.5-2.04 2.03-.02 7.36 4.5 11.9 4.54 4.52 9.87 6.54 11.9 4.5Z", variants: pathVariants$3, initial: "normal", animate: controls, custom: 0.3 }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M15.7 15.7c4.52-4.54 6.54-9.87 4.5-11.9-2.03-2.04-7.36-.02-11.9 4.5-4.52 4.54-6.54 9.87-4.5 11.9 2.03 2.04 7.36.02 11.9-4.5Z", variants: pathVariants$3, initial: "normal", animate: controls, custom: 0.6 })] }) }));
|
|
8327
|
+
});
|
|
8328
|
+
Atom.displayName = 'Atom';
|
|
8329
|
+
|
|
8330
|
+
function cn$3(...inputs) {
|
|
8331
|
+
return twMerge(clsx(inputs));
|
|
8332
|
+
}
|
|
8333
|
+
const variants = {
|
|
8334
|
+
normal: (d) => ({
|
|
8335
|
+
d,
|
|
8336
|
+
transition: { duration: 0.3 },
|
|
8337
|
+
}),
|
|
8338
|
+
animate: (dFrames, duration) => ({
|
|
8339
|
+
d: dFrames,
|
|
8340
|
+
transition: {
|
|
8341
|
+
duration,
|
|
8342
|
+
repeat: Infinity,
|
|
8343
|
+
ease: 'easeInOut',
|
|
8344
|
+
},
|
|
8345
|
+
}),
|
|
8346
|
+
};
|
|
8347
|
+
const AudioLines = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = true, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
8348
|
+
const controls = framerMotion.useAnimation();
|
|
8349
|
+
const isControlledRef = React.useRef(false);
|
|
8350
|
+
const loopRef = React.useRef(loopOnHover);
|
|
8351
|
+
React.useImperativeHandle(ref, () => {
|
|
8352
|
+
isControlledRef.current = true;
|
|
8353
|
+
return {
|
|
8354
|
+
startAnimation: () => controls.start('animate'),
|
|
8355
|
+
stopAnimation: () => controls.start('normal'),
|
|
8356
|
+
};
|
|
8357
|
+
});
|
|
8358
|
+
// Update loop ref when prop changes
|
|
8359
|
+
React.useEffect(() => {
|
|
8360
|
+
loopRef.current = loopOnHover;
|
|
8361
|
+
}, [loopOnHover]);
|
|
8362
|
+
// Recursive animation loop helper
|
|
8363
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
8364
|
+
await controls.start('animate');
|
|
8365
|
+
await controls.start('normal');
|
|
8366
|
+
if (loopRef.current) {
|
|
8367
|
+
triggerAnimation();
|
|
8368
|
+
}
|
|
8369
|
+
}, [controls]);
|
|
8370
|
+
// Auto animate on load
|
|
8371
|
+
React.useEffect(() => {
|
|
8372
|
+
if (autoAnimateOnLoad && !isControlledRef.current) {
|
|
8373
|
+
triggerAnimation();
|
|
8374
|
+
}
|
|
8375
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
8376
|
+
// Hover handlers
|
|
8377
|
+
const handleMouseEnter = (e) => {
|
|
8378
|
+
if (!isControlledRef.current && hoverable) {
|
|
8379
|
+
triggerAnimation();
|
|
8380
|
+
}
|
|
8381
|
+
onMouseEnter?.(e);
|
|
8382
|
+
};
|
|
8383
|
+
const handleMouseLeave = (e) => {
|
|
8384
|
+
if (!isControlledRef.current && hoverable) {
|
|
8385
|
+
controls.start('normal');
|
|
8386
|
+
}
|
|
8387
|
+
onMouseLeave?.(e);
|
|
8388
|
+
};
|
|
8389
|
+
// Click handler
|
|
8390
|
+
const handleClick = (e) => {
|
|
8391
|
+
if (!isControlledRef.current && animateOnClick) {
|
|
8392
|
+
triggerAnimation();
|
|
8393
|
+
}
|
|
8394
|
+
onClick?.(e);
|
|
8395
|
+
};
|
|
8396
|
+
return (jsxRuntime.jsx("div", { className: cn$3(className), style: {
|
|
8397
|
+
width: size,
|
|
8398
|
+
height: size,
|
|
8399
|
+
display: 'inline-block',
|
|
8400
|
+
...style,
|
|
8401
|
+
}, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [jsxRuntime.jsx("path", { d: "M2 10v3" }), jsxRuntime.jsx(framerMotion.motion.path, { custom: ['M6 6v11', 'M6 10v3', 'M6 6v11'], variants: {
|
|
8402
|
+
normal: variants.normal('M6 6v11'),
|
|
8403
|
+
animate: variants.animate(['M6 6v11', 'M6 10v3', 'M6 6v11'], 1.5),
|
|
8404
|
+
}, initial: "normal", animate: controls, d: "M6 6v11" }), jsxRuntime.jsx(framerMotion.motion.path, { custom: ['M10 3v18', 'M10 9v5', 'M10 3v18'], variants: {
|
|
8405
|
+
normal: variants.normal('M10 3v18'),
|
|
8406
|
+
animate: variants.animate(['M10 3v18', 'M10 9v5', 'M10 3v18'], 1),
|
|
8407
|
+
}, initial: "normal", animate: controls, d: "M10 3v18" }), jsxRuntime.jsx(framerMotion.motion.path, { custom: ['M14 8v7', 'M14 6v11', 'M14 8v7'], variants: {
|
|
8408
|
+
normal: variants.normal('M14 8v7'),
|
|
8409
|
+
animate: variants.animate(['M14 8v7', 'M14 6v11', 'M14 8v7'], 0.8),
|
|
8410
|
+
}, initial: "normal", animate: controls, d: "M14 8v7" }), jsxRuntime.jsx(framerMotion.motion.path, { custom: ['M18 5v13', 'M18 7v9', 'M18 5v13'], variants: {
|
|
8411
|
+
normal: variants.normal('M18 5v13'),
|
|
8412
|
+
animate: variants.animate(['M18 5v13', 'M18 7v9', 'M18 5v13'], 1.5),
|
|
8413
|
+
}, initial: "normal", animate: controls, d: "M18 5v13" }), jsxRuntime.jsx("path", { d: "M22 10v3" })] }) }));
|
|
8414
|
+
});
|
|
8415
|
+
AudioLines.displayName = 'AudioLines';
|
|
8416
|
+
|
|
8417
|
+
function cn$2(...inputs) {
|
|
8418
|
+
return twMerge(clsx(inputs));
|
|
8419
|
+
}
|
|
8420
|
+
const pathVariants$2 = {
|
|
8421
|
+
normal: {
|
|
8422
|
+
opacity: 1,
|
|
8423
|
+
pathLength: 1,
|
|
8424
|
+
pathOffset: 0,
|
|
8425
|
+
transition: {
|
|
8426
|
+
duration: 0.4,
|
|
8427
|
+
opacity: { duration: 0.1 },
|
|
8428
|
+
},
|
|
8429
|
+
},
|
|
8430
|
+
animate: {
|
|
8431
|
+
opacity: [0, 1],
|
|
8432
|
+
pathLength: [0, 1],
|
|
8433
|
+
pathOffset: [1, 0],
|
|
8434
|
+
transition: {
|
|
8435
|
+
duration: 0.7,
|
|
8436
|
+
ease: 'linear',
|
|
8437
|
+
opacity: { duration: 0.1 },
|
|
8438
|
+
},
|
|
8439
|
+
},
|
|
8440
|
+
};
|
|
8441
|
+
function AudioWaveForm({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }) {
|
|
8442
|
+
const controls = framerMotion.useAnimation();
|
|
8443
|
+
const loopRef = React.useRef(loopOnHover);
|
|
8444
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
8445
|
+
console.log("started animation");
|
|
8446
|
+
await controls.start('animate');
|
|
8447
|
+
await controls.start('normal');
|
|
8448
|
+
if (loopRef.current)
|
|
8449
|
+
triggerAnimation();
|
|
8450
|
+
}, [controls]);
|
|
8451
|
+
React.useEffect(() => {
|
|
8452
|
+
loopRef.current = loopOnHover;
|
|
8453
|
+
}, [loopOnHover]);
|
|
8454
|
+
React.useEffect(() => {
|
|
8455
|
+
if (autoAnimateOnLoad)
|
|
8456
|
+
triggerAnimation();
|
|
8457
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
8458
|
+
const handleMouseEnter = (e) => {
|
|
8459
|
+
if (hoverable)
|
|
8460
|
+
triggerAnimation();
|
|
8461
|
+
onMouseEnter?.(e);
|
|
8462
|
+
};
|
|
8463
|
+
const handleMouseLeave = (e) => {
|
|
8464
|
+
if (hoverable)
|
|
8465
|
+
controls.start('normal');
|
|
8466
|
+
onMouseLeave?.(e);
|
|
8467
|
+
};
|
|
8468
|
+
const handleClick = (e) => {
|
|
8469
|
+
if (animateOnClick)
|
|
8470
|
+
triggerAnimation();
|
|
8471
|
+
onClick?.(e);
|
|
8472
|
+
};
|
|
8473
|
+
return (jsxRuntime.jsx("div", { className: cn$2('rounded-md', className), style: {
|
|
8474
|
+
width: size,
|
|
8475
|
+
height: size,
|
|
8476
|
+
display: 'inline-block',
|
|
8477
|
+
...style,
|
|
8478
|
+
}, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsx("svg", { xmlns: "http://www.w3.org/2000/svg", width: "100%", height: "100%", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: jsxRuntime.jsx(framerMotion.motion.path, { d: "M2 13a2 2 0 0 0 2-2V7a2 2 0 0 1 4 0v13a2 2 0 0 0 4 0V4a2 2 0 0 1 4 0v13a2 2 0 0 0 4 0v-4a2 2 0 0 1 2-2", variants: pathVariants$2, animate: controls, initial: "normal", style: { strokeDasharray: 1 } }) }) }));
|
|
8479
|
+
}
|
|
8480
|
+
|
|
8481
|
+
function cn$1(...inputs) {
|
|
8482
|
+
return twMerge(clsx(inputs));
|
|
8483
|
+
}
|
|
8484
|
+
const pathVariants$1 = {
|
|
8485
|
+
normal: (custom) => ({
|
|
8486
|
+
pathLength: 1,
|
|
8487
|
+
opacity: 1,
|
|
8488
|
+
pathOffset: 0,
|
|
8489
|
+
transition: {
|
|
8490
|
+
duration: 0.3,
|
|
8491
|
+
ease: 'easeInOut',
|
|
8492
|
+
delay: custom,
|
|
8493
|
+
},
|
|
8494
|
+
}),
|
|
8495
|
+
animate: (custom) => ({
|
|
8496
|
+
pathLength: [0, 1],
|
|
8497
|
+
opacity: [0, 1],
|
|
8498
|
+
pathOffset: [1, 0],
|
|
8499
|
+
transition: {
|
|
8500
|
+
duration: 0.6,
|
|
8501
|
+
ease: 'easeInOut',
|
|
8502
|
+
delay: custom,
|
|
8503
|
+
},
|
|
8504
|
+
}),
|
|
8505
|
+
};
|
|
8506
|
+
const Award = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
8507
|
+
const controls = framerMotion.useAnimation();
|
|
8508
|
+
const loopRef = React.useRef(loopOnHover);
|
|
8509
|
+
const isControlledRef = React.useRef(false);
|
|
8510
|
+
React.useImperativeHandle(ref, () => {
|
|
8511
|
+
isControlledRef.current = true;
|
|
8512
|
+
return {
|
|
8513
|
+
startAnimation: () => controls.start('animate'),
|
|
8514
|
+
stopAnimation: () => controls.start('normal'),
|
|
8515
|
+
};
|
|
8516
|
+
});
|
|
8517
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
8518
|
+
await controls.start('animate');
|
|
8519
|
+
await controls.start('normal');
|
|
8520
|
+
if (loopRef.current)
|
|
8521
|
+
triggerAnimation();
|
|
8522
|
+
}, [controls]);
|
|
8523
|
+
React.useEffect(() => {
|
|
8524
|
+
loopRef.current = loopOnHover;
|
|
8525
|
+
}, [loopOnHover]);
|
|
8526
|
+
React.useEffect(() => {
|
|
8527
|
+
if (autoAnimateOnLoad) {
|
|
8528
|
+
triggerAnimation();
|
|
8529
|
+
}
|
|
8530
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
8531
|
+
const handleMouseEnter = React.useCallback((e) => {
|
|
8532
|
+
if (hoverable && !isControlledRef.current) {
|
|
8533
|
+
triggerAnimation();
|
|
8534
|
+
}
|
|
8535
|
+
onMouseEnter?.(e);
|
|
8536
|
+
}, [hoverable, onMouseEnter, triggerAnimation]);
|
|
8537
|
+
const handleMouseLeave = React.useCallback((e) => {
|
|
8538
|
+
if (hoverable && !isControlledRef.current) {
|
|
8539
|
+
controls.start('normal');
|
|
8540
|
+
}
|
|
8541
|
+
onMouseLeave?.(e);
|
|
8542
|
+
}, [hoverable, onMouseLeave, controls]);
|
|
8543
|
+
const handleClick = React.useCallback((e) => {
|
|
8544
|
+
if (animateOnClick && !isControlledRef.current) {
|
|
8545
|
+
triggerAnimation();
|
|
8546
|
+
}
|
|
8547
|
+
onClick?.(e);
|
|
8548
|
+
}, [animateOnClick, onClick, triggerAnimation]);
|
|
8549
|
+
return (jsxRuntime.jsx("div", { className: cn$1(className), style: {
|
|
8550
|
+
width: size,
|
|
8551
|
+
height: size,
|
|
8552
|
+
display: 'inline-block',
|
|
8553
|
+
...style,
|
|
8554
|
+
}, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", children: [jsxRuntime.jsx(framerMotion.motion.path, { d: "m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526", variants: pathVariants$1, initial: "normal", animate: controls, custom: 0 }), jsxRuntime.jsx(framerMotion.motion.circle, { cx: "12", cy: "8", r: "6", variants: pathVariants$1, initial: "normal", animate: controls, custom: 0.2 })] }) }));
|
|
8555
|
+
});
|
|
8556
|
+
Award.displayName = 'Award';
|
|
8557
|
+
|
|
8558
|
+
function cn(...inputs) {
|
|
8559
|
+
return twMerge(clsx(inputs));
|
|
8560
|
+
}
|
|
8561
|
+
// Path drawing variants with staggered delays
|
|
8562
|
+
const pathVariants = {
|
|
8563
|
+
normal: (custom) => ({
|
|
8564
|
+
pathLength: 1,
|
|
8565
|
+
opacity: 1,
|
|
8566
|
+
pathOffset: 0,
|
|
8567
|
+
transition: {
|
|
8568
|
+
duration: 0.3,
|
|
8569
|
+
ease: 'easeInOut',
|
|
8570
|
+
delay: custom,
|
|
8571
|
+
},
|
|
8572
|
+
}),
|
|
8573
|
+
animate: (custom) => ({
|
|
8574
|
+
pathLength: [0, 1],
|
|
8575
|
+
opacity: [0, 1],
|
|
8576
|
+
pathOffset: [1, 0],
|
|
8577
|
+
transition: {
|
|
8578
|
+
duration: 0.7,
|
|
8579
|
+
ease: 'easeInOut',
|
|
8580
|
+
delay: custom,
|
|
8581
|
+
},
|
|
8582
|
+
}),
|
|
8583
|
+
};
|
|
8584
|
+
const Axe = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
8585
|
+
const controls = framerMotion.useAnimation();
|
|
8586
|
+
const swingControls = framerMotion.useAnimation();
|
|
8587
|
+
const loopRef = React.useRef(loopOnHover);
|
|
8588
|
+
const isControlledRef = React.useRef(false);
|
|
8589
|
+
React.useImperativeHandle(ref, () => {
|
|
8590
|
+
isControlledRef.current = true;
|
|
8591
|
+
return {
|
|
8592
|
+
startAnimation: () => {
|
|
8593
|
+
controls.start('animate');
|
|
8594
|
+
swingControls.start('swing');
|
|
8595
|
+
},
|
|
8596
|
+
stopAnimation: () => {
|
|
8597
|
+
controls.start('normal');
|
|
8598
|
+
swingControls.start('rest');
|
|
8599
|
+
},
|
|
8600
|
+
};
|
|
8601
|
+
});
|
|
8602
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
8603
|
+
await controls.start('animate');
|
|
8604
|
+
swingControls.start('swing');
|
|
8605
|
+
await controls.start('normal');
|
|
8606
|
+
swingControls.start('rest');
|
|
8607
|
+
if (loopRef.current)
|
|
8608
|
+
triggerAnimation();
|
|
8609
|
+
}, [controls, swingControls]);
|
|
8610
|
+
React.useEffect(() => {
|
|
8611
|
+
loopRef.current = loopOnHover;
|
|
8612
|
+
}, [loopOnHover]);
|
|
8613
|
+
React.useEffect(() => {
|
|
8614
|
+
if (autoAnimateOnLoad) {
|
|
8615
|
+
triggerAnimation();
|
|
8616
|
+
}
|
|
8617
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
8618
|
+
const handleMouseEnter = React.useCallback((e) => {
|
|
8619
|
+
if (hoverable && !isControlledRef.current) {
|
|
8620
|
+
triggerAnimation();
|
|
8621
|
+
}
|
|
8622
|
+
onMouseEnter?.(e);
|
|
8623
|
+
}, [hoverable, onMouseEnter, triggerAnimation]);
|
|
8624
|
+
const handleMouseLeave = React.useCallback((e) => {
|
|
8625
|
+
if (hoverable && !isControlledRef.current) {
|
|
8626
|
+
controls.start('normal');
|
|
8627
|
+
swingControls.start('rest');
|
|
8628
|
+
}
|
|
8629
|
+
onMouseLeave?.(e);
|
|
8630
|
+
}, [hoverable, onMouseLeave, controls, swingControls]);
|
|
8631
|
+
const handleClick = React.useCallback((e) => {
|
|
8632
|
+
if (animateOnClick && !isControlledRef.current) {
|
|
8633
|
+
triggerAnimation();
|
|
8634
|
+
}
|
|
8635
|
+
onClick?.(e);
|
|
8636
|
+
}, [animateOnClick, onClick, triggerAnimation]);
|
|
8637
|
+
return (jsxRuntime.jsx("div", { className: cn(className), style: {
|
|
8638
|
+
width: size,
|
|
8639
|
+
height: size,
|
|
8640
|
+
display: 'inline-block',
|
|
8641
|
+
...style,
|
|
8642
|
+
}, onMouseEnter: handleMouseEnter, onMouseLeave: handleMouseLeave, onClick: handleClick, ...props, children: jsxRuntime.jsxs(framerMotion.motion.svg, { xmlns: "http://www.w3.org/2000/svg", width: size, height: size, viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round", animate: swingControls, initial: "rest", style: { originX: '50%', originY: '50%' }, children: [jsxRuntime.jsx(framerMotion.motion.path, { d: "m14 12-8.381 8.38a1 1 0 0 1-3.001-3L11 9", variants: pathVariants, initial: "normal", animate: controls, custom: 0 }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M15 15.5a.5.5 0 0 0 .5.5A6.5 6.5 0 0 0 22 9.5a.5.5 0 0 0-.5-.5h-1.672a2 2 0 0 1-1.414-.586l-5.062-5.062a1.205 1.205 0 0 0-1.704 0L9.352 5.648a1.205 1.205 0 0 0 0 1.704l5.062 5.062A2 2 0 0 1 15 13.828z", variants: pathVariants, initial: "normal", animate: controls, custom: 0.3 })] }) }));
|
|
8643
|
+
});
|
|
8644
|
+
Axe.displayName = 'Axe';
|
|
8645
|
+
|
|
8646
|
+
exports.AArrowDown = AArrowDown;
|
|
8647
|
+
exports.AArrowUp = AArrowUp;
|
|
6089
8648
|
exports.AccessibilityActivity = AccessibilityActivity;
|
|
6090
8649
|
exports.Activity = Activity;
|
|
6091
8650
|
exports.AirVent = AirVent;
|
|
@@ -6124,8 +8683,43 @@ exports.AlignVerticalSpaceBetween = AlignVerticalSpaceBetween;
|
|
|
6124
8683
|
exports.Ambulance = Ambulance;
|
|
6125
8684
|
exports.Ampersand = Ampersand;
|
|
6126
8685
|
exports.Ampersands = Ampersands;
|
|
8686
|
+
exports.Amphora = Amphora;
|
|
8687
|
+
exports.Anchor = Anchor;
|
|
8688
|
+
exports.Angry = Angry;
|
|
8689
|
+
exports.Annoyed = Annoyed;
|
|
8690
|
+
exports.Antenna = Antenna;
|
|
8691
|
+
exports.Aperture = Aperture;
|
|
8692
|
+
exports.AppWindow = AppWindow;
|
|
8693
|
+
exports.AppWindowMac = AppWindowMac;
|
|
6127
8694
|
exports.Apple = Apple;
|
|
8695
|
+
exports.Archive = Archive;
|
|
8696
|
+
exports.ArchiveRestore = ArchiveRestore;
|
|
8697
|
+
exports.ArchiveX = ArchiveX;
|
|
8698
|
+
exports.Armchair = Armchair;
|
|
8699
|
+
exports.ArrowBigDown = ArrowBigDown;
|
|
8700
|
+
exports.ArrowBigDownDash = ArrowBigDownDash;
|
|
8701
|
+
exports.ArrowBigLeft = ArrowBigLeft;
|
|
8702
|
+
exports.ArrowBigLeftDash = ArrowBigLeftDash;
|
|
8703
|
+
exports.ArrowBigRight = ArrowBigRight;
|
|
8704
|
+
exports.ArrowBigRightDash = ArrowBigRightDash;
|
|
8705
|
+
exports.ArrowBigUp = ArrowBigUp;
|
|
8706
|
+
exports.ArrowBigUpDash = ArrowBigUpDash;
|
|
6128
8707
|
exports.ArrowDown = ArrowDown;
|
|
8708
|
+
exports.ArrowDown01 = ArrowDown01;
|
|
8709
|
+
exports.ArrowDown10 = ArrowDown10;
|
|
8710
|
+
exports.ArrowDownAZ = ArrowDownAZ;
|
|
8711
|
+
exports.ArrowDownToLine = ArrowDownToLine;
|
|
8712
|
+
exports.ArrowDownUp = ArrowDownUp;
|
|
8713
|
+
exports.ArrowDownZA = ArrowDownZA;
|
|
8714
|
+
exports.ArrowLeft = ArrowLeft;
|
|
8715
|
+
exports.ArrowRight = ArrowRight;
|
|
6129
8716
|
exports.ArrowUp = ArrowUp;
|
|
8717
|
+
exports.Asterisk = Asterisk;
|
|
8718
|
+
exports.AtSign = AtSign;
|
|
8719
|
+
exports.Atom = Atom;
|
|
8720
|
+
exports.AudioLines = AudioLines;
|
|
8721
|
+
exports.AudioWaveForm = AudioWaveForm;
|
|
8722
|
+
exports.Award = Award;
|
|
8723
|
+
exports.Axe = Axe;
|
|
6130
8724
|
exports.SquareActivity = SquareActivity;
|
|
6131
8725
|
//# sourceMappingURL=index.js.map
|