aliveicon 1.0.23 → 1.0.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +2734 -49
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +2654 -24
- package/dist/esm/index.js.map +1 -1
- package/dist/types/icons/Airplay.d.ts +12 -0
- package/dist/types/icons/Alarm-Clock-Check.d.ts +14 -0
- package/dist/types/icons/Alarm-Clock-Minus.d.ts +14 -0
- package/dist/types/icons/Alarm-Clock-Plus.d.ts +14 -0
- package/dist/types/icons/AlarmClock.d.ts +14 -0
- package/dist/types/icons/Album.d.ts +12 -0
- package/dist/types/icons/Align-Center-Horizontal.d.ts +15 -0
- package/dist/types/icons/Align-Center-Vertical.d.ts +15 -0
- package/dist/types/icons/Align-Center.d.ts +16 -0
- package/dist/types/icons/Align-End-Horizontal.d.ts +15 -0
- package/dist/types/icons/Align-End-Vertical.d.ts +15 -0
- package/dist/types/icons/Align-Horizontal-Distributed-Center.d.ts +15 -0
- package/dist/types/icons/Align-Horizontal-Distributed-End.d.ts +15 -0
- package/dist/types/icons/Align-Horizontal-Distributed-Start.d.ts +15 -0
- package/dist/types/icons/Align-Horizontal-Justify-Center.d.ts +15 -0
- package/dist/types/icons/Align-Horizontal-Justify-End.d.ts +15 -0
- package/dist/types/icons/Align-Horizontal-Justify-Start.d.ts +15 -0
- package/dist/types/icons/Align-Horizontal-Space-Around.d.ts +15 -0
- package/dist/types/icons/Align-Horizontal-Space-Between.d.ts +15 -0
- package/dist/types/icons/Align-Justify.d.ts +15 -0
- package/dist/types/icons/Align-Left.d.ts +15 -0
- package/dist/types/icons/Align-Right.d.ts +15 -0
- package/dist/types/icons/Align-Start-Horizontal.d.ts +15 -0
- package/dist/types/icons/Align-Start-Vertical.d.ts +15 -0
- package/dist/types/icons/Align-Vertical-Distribute-Center.d.ts +15 -0
- package/dist/types/icons/Align-Vertical-Distribute-End.d.ts +15 -0
- package/dist/types/icons/Align-Vertical-Distribute-Start.d.ts +15 -0
- package/dist/types/icons/Align-Vertical-Justify-Center.d.ts +15 -0
- package/dist/types/icons/Align-Vertical-Justify-End.d.ts +15 -0
- package/dist/types/icons/Align-Vertical-Justify-Start.d.ts +15 -0
- package/dist/types/icons/Align-Vertical-Space-Around.d.ts +15 -0
- package/dist/types/icons/Align-Vertical-Space-Between.d.ts +15 -0
- package/dist/types/icons/Ambulance.d.ts +15 -0
- package/dist/types/icons/Ampersand.d.ts +16 -0
- package/dist/types/icons/Ampersands.d.ts +15 -0
- package/dist/types/icons/Apple.d.ts +15 -0
- package/dist/types/index.d.ts +36 -0
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -4,7 +4,27 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var jsxRuntime = require('react/jsx-runtime');
|
|
6
6
|
var framerMotion = require('framer-motion');
|
|
7
|
-
var
|
|
7
|
+
var React = require('react');
|
|
8
|
+
|
|
9
|
+
function _interopNamespace(e) {
|
|
10
|
+
if (e && e.__esModule) return e;
|
|
11
|
+
var n = Object.create(null);
|
|
12
|
+
if (e) {
|
|
13
|
+
Object.keys(e).forEach(function (k) {
|
|
14
|
+
if (k !== 'default') {
|
|
15
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
16
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function () { return e[k]; }
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
n["default"] = e;
|
|
24
|
+
return Object.freeze(n);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
8
28
|
|
|
9
29
|
function r(e){var t,f,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=" "),n+=f);}else for(f in e)e[f]&&(n&&(n+=" "),n+=f);return n}function clsx(){for(var e,t,f=0,n="",o=arguments.length;f<o;f++)(e=arguments[f])&&(t=r(e))&&(n&&(n+=" "),n+=t);return n}
|
|
10
30
|
|
|
@@ -2963,10 +2983,10 @@ const getDefaultConfig = () => {
|
|
|
2963
2983
|
};
|
|
2964
2984
|
const twMerge = /*#__PURE__*/createTailwindMerge(getDefaultConfig);
|
|
2965
2985
|
|
|
2966
|
-
function cn$
|
|
2986
|
+
function cn$F(...inputs) {
|
|
2967
2987
|
return twMerge(clsx(inputs));
|
|
2968
2988
|
}
|
|
2969
|
-
const squareVariants = {
|
|
2989
|
+
const squareVariants$1 = {
|
|
2970
2990
|
normal: {
|
|
2971
2991
|
scale: 1,
|
|
2972
2992
|
opacity: 1,
|
|
@@ -2978,7 +2998,7 @@ const squareVariants = {
|
|
|
2978
2998
|
transition: { duration: 0.6, ease: 'easeInOut' },
|
|
2979
2999
|
},
|
|
2980
3000
|
};
|
|
2981
|
-
const pathVariants$
|
|
3001
|
+
const pathVariants$u = {
|
|
2982
3002
|
normal: {
|
|
2983
3003
|
opacity: 1,
|
|
2984
3004
|
pathLength: 1,
|
|
@@ -3001,18 +3021,18 @@ const pathVariants$2 = {
|
|
|
3001
3021
|
};
|
|
3002
3022
|
function SquareActivity({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }) {
|
|
3003
3023
|
const controls = framerMotion.useAnimation();
|
|
3004
|
-
const loopRef =
|
|
3005
|
-
const triggerAnimation =
|
|
3024
|
+
const loopRef = React.useRef(loopOnHover);
|
|
3025
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
3006
3026
|
console.log("started animation");
|
|
3007
3027
|
await controls.start('animate');
|
|
3008
3028
|
await controls.start('normal');
|
|
3009
3029
|
if (loopRef.current)
|
|
3010
3030
|
triggerAnimation();
|
|
3011
3031
|
}, [controls]);
|
|
3012
|
-
|
|
3032
|
+
React.useEffect(() => {
|
|
3013
3033
|
loopRef.current = loopOnHover;
|
|
3014
3034
|
}, [loopOnHover]);
|
|
3015
|
-
|
|
3035
|
+
React.useEffect(() => {
|
|
3016
3036
|
if (autoAnimateOnLoad)
|
|
3017
3037
|
triggerAnimation();
|
|
3018
3038
|
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
@@ -3031,15 +3051,15 @@ function SquareActivity({ size = 28, className, style, autoAnimateOnLoad = false
|
|
|
3031
3051
|
triggerAnimation();
|
|
3032
3052
|
onClick?.(e);
|
|
3033
3053
|
};
|
|
3034
|
-
return (jsxRuntime.jsx("div", { className: cn$
|
|
3054
|
+
return (jsxRuntime.jsx("div", { className: cn$F('rounded-md', className), style: {
|
|
3035
3055
|
width: size,
|
|
3036
3056
|
height: size,
|
|
3037
3057
|
display: 'inline-block',
|
|
3038
3058
|
...style,
|
|
3039
|
-
}, 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, 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$u, animate: controls, initial: "normal", style: { strokeDasharray: 1 } })] }) }));
|
|
3040
3060
|
}
|
|
3041
3061
|
|
|
3042
|
-
function cn$
|
|
3062
|
+
function cn$E(...inputs) {
|
|
3043
3063
|
return twMerge(clsx(inputs));
|
|
3044
3064
|
}
|
|
3045
3065
|
const bounceVariant$1 = {
|
|
@@ -3060,7 +3080,7 @@ const bounceVariant$1 = {
|
|
|
3060
3080
|
},
|
|
3061
3081
|
},
|
|
3062
3082
|
};
|
|
3063
|
-
const lineVariants$
|
|
3083
|
+
const lineVariants$4 = {
|
|
3064
3084
|
normal: {
|
|
3065
3085
|
opacity: 1,
|
|
3066
3086
|
pathLength: 1,
|
|
@@ -3097,17 +3117,17 @@ const bouncePathVariants$1 = {
|
|
|
3097
3117
|
};
|
|
3098
3118
|
function ArrowDown({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, isBounce = false, onMouseEnter, onMouseLeave, onClick, ...props }) {
|
|
3099
3119
|
const controls = framerMotion.useAnimation();
|
|
3100
|
-
const loopRef =
|
|
3101
|
-
const triggerAnimation =
|
|
3120
|
+
const loopRef = React.useRef(loopOnHover);
|
|
3121
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
3102
3122
|
await controls.start('animate');
|
|
3103
3123
|
await controls.start('normal');
|
|
3104
3124
|
if (loopRef.current)
|
|
3105
3125
|
triggerAnimation();
|
|
3106
3126
|
}, [controls]);
|
|
3107
|
-
|
|
3127
|
+
React.useEffect(() => {
|
|
3108
3128
|
loopRef.current = loopOnHover;
|
|
3109
3129
|
}, [loopOnHover]);
|
|
3110
|
-
|
|
3130
|
+
React.useEffect(() => {
|
|
3111
3131
|
if (autoAnimateOnLoad)
|
|
3112
3132
|
triggerAnimation();
|
|
3113
3133
|
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
@@ -3132,14 +3152,14 @@ function ArrowDown({ size = 28, className, style, autoAnimateOnLoad = false, hov
|
|
|
3132
3152
|
"M18 7v9",
|
|
3133
3153
|
"m14 12 4 4 4-4",
|
|
3134
3154
|
];
|
|
3135
|
-
return (jsxRuntime.jsx("div", { className: cn$
|
|
3155
|
+
return (jsxRuntime.jsx("div", { className: cn$E('inline-block', className), style: {
|
|
3136
3156
|
width: size,
|
|
3137
3157
|
height: size,
|
|
3138
3158
|
...style,
|
|
3139
|
-
}, 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$
|
|
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))) }) }));
|
|
3140
3160
|
}
|
|
3141
3161
|
|
|
3142
|
-
function cn$
|
|
3162
|
+
function cn$D(...inputs) {
|
|
3143
3163
|
return twMerge(clsx(inputs));
|
|
3144
3164
|
}
|
|
3145
3165
|
const bounceVariant = {
|
|
@@ -3160,7 +3180,7 @@ const bounceVariant = {
|
|
|
3160
3180
|
},
|
|
3161
3181
|
},
|
|
3162
3182
|
};
|
|
3163
|
-
const lineVariants = {
|
|
3183
|
+
const lineVariants$3 = {
|
|
3164
3184
|
normal: {
|
|
3165
3185
|
opacity: 1,
|
|
3166
3186
|
pathLength: 1,
|
|
@@ -3197,17 +3217,17 @@ const bouncePathVariants = {
|
|
|
3197
3217
|
};
|
|
3198
3218
|
function ArrowUp({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, isBounce = false, onMouseEnter, onMouseLeave, onClick, ...props }) {
|
|
3199
3219
|
const controls = framerMotion.useAnimation();
|
|
3200
|
-
const loopRef =
|
|
3201
|
-
const triggerAnimation =
|
|
3220
|
+
const loopRef = React.useRef(loopOnHover);
|
|
3221
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
3202
3222
|
await controls.start('animate');
|
|
3203
3223
|
await controls.start('normal');
|
|
3204
3224
|
if (loopRef.current)
|
|
3205
3225
|
triggerAnimation();
|
|
3206
3226
|
}, [controls]);
|
|
3207
|
-
|
|
3227
|
+
React.useEffect(() => {
|
|
3208
3228
|
loopRef.current = loopOnHover;
|
|
3209
3229
|
}, [loopOnHover]);
|
|
3210
|
-
|
|
3230
|
+
React.useEffect(() => {
|
|
3211
3231
|
if (autoAnimateOnLoad)
|
|
3212
3232
|
triggerAnimation();
|
|
3213
3233
|
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
@@ -3232,14 +3252,14 @@ function ArrowUp({ size = 28, className, style, autoAnimateOnLoad = false, hover
|
|
|
3232
3252
|
"M18 16V7", // arrow line, now reversed (was 7→16, now 16→7)
|
|
3233
3253
|
"m22 12-4-4-4 4", // arrow head pointing upward
|
|
3234
3254
|
];
|
|
3235
|
-
return (jsxRuntime.jsx("div", { className: cn$
|
|
3255
|
+
return (jsxRuntime.jsx("div", { className: cn$D('inline-block', className), style: {
|
|
3236
3256
|
width: size,
|
|
3237
3257
|
height: size,
|
|
3238
3258
|
...style,
|
|
3239
|
-
}, 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, initial: isBounce ? 'hidden' : 'normal', animate: isBounce ? 'visible' : controls, custom: i }, i))) }) }));
|
|
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))) }) }));
|
|
3240
3260
|
}
|
|
3241
3261
|
|
|
3242
|
-
function cn$
|
|
3262
|
+
function cn$C(...inputs) {
|
|
3243
3263
|
return twMerge(clsx(inputs));
|
|
3244
3264
|
}
|
|
3245
3265
|
const circleVariants = {
|
|
@@ -3258,7 +3278,7 @@ const circleVariants = {
|
|
|
3258
3278
|
},
|
|
3259
3279
|
},
|
|
3260
3280
|
};
|
|
3261
|
-
const pathVariants$
|
|
3281
|
+
const pathVariants$t = {
|
|
3262
3282
|
normal: {
|
|
3263
3283
|
opacity: 1,
|
|
3264
3284
|
pathLength: 1,
|
|
@@ -3281,17 +3301,17 @@ const pathVariants$1 = {
|
|
|
3281
3301
|
};
|
|
3282
3302
|
function AccessibilityActivity({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }) {
|
|
3283
3303
|
const controls = framerMotion.useAnimation();
|
|
3284
|
-
const loopRef =
|
|
3285
|
-
const triggerAnimation =
|
|
3304
|
+
const loopRef = React.useRef(loopOnHover);
|
|
3305
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
3286
3306
|
await controls.start('animate');
|
|
3287
3307
|
await controls.start('normal');
|
|
3288
3308
|
if (loopRef.current)
|
|
3289
3309
|
triggerAnimation();
|
|
3290
3310
|
}, [controls]);
|
|
3291
|
-
|
|
3311
|
+
React.useEffect(() => {
|
|
3292
3312
|
loopRef.current = loopOnHover;
|
|
3293
3313
|
}, [loopOnHover]);
|
|
3294
|
-
|
|
3314
|
+
React.useEffect(() => {
|
|
3295
3315
|
if (autoAnimateOnLoad)
|
|
3296
3316
|
triggerAnimation();
|
|
3297
3317
|
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
@@ -3310,18 +3330,18 @@ function AccessibilityActivity({ size = 28, className, style, autoAnimateOnLoad
|
|
|
3310
3330
|
triggerAnimation();
|
|
3311
3331
|
onClick?.(e);
|
|
3312
3332
|
};
|
|
3313
|
-
return (jsxRuntime.jsx("div", { className: cn$
|
|
3333
|
+
return (jsxRuntime.jsx("div", { className: cn$C('rounded-md', className), style: {
|
|
3314
3334
|
width: size,
|
|
3315
3335
|
height: size,
|
|
3316
3336
|
display: 'inline-block',
|
|
3317
3337
|
...style,
|
|
3318
|
-
}, 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, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.path, { d: "m18 19 1-7-6 1", variants: pathVariants$t, 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$t, 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$t, 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$t, animate: controls, initial: "normal", style: { strokeDasharray: 1 } })] }) }));
|
|
3319
3339
|
}
|
|
3320
3340
|
|
|
3321
|
-
function cn$
|
|
3341
|
+
function cn$B(...inputs) {
|
|
3322
3342
|
return twMerge(clsx(inputs));
|
|
3323
3343
|
}
|
|
3324
|
-
const pathVariants = {
|
|
3344
|
+
const pathVariants$s = {
|
|
3325
3345
|
normal: {
|
|
3326
3346
|
opacity: 1,
|
|
3327
3347
|
pathLength: 1,
|
|
@@ -3344,18 +3364,18 @@ const pathVariants = {
|
|
|
3344
3364
|
};
|
|
3345
3365
|
function Activity({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }) {
|
|
3346
3366
|
const controls = framerMotion.useAnimation();
|
|
3347
|
-
const loopRef =
|
|
3348
|
-
const triggerAnimation =
|
|
3367
|
+
const loopRef = React.useRef(loopOnHover);
|
|
3368
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
3349
3369
|
console.log("started animation");
|
|
3350
3370
|
await controls.start('animate');
|
|
3351
3371
|
await controls.start('normal');
|
|
3352
3372
|
if (loopRef.current)
|
|
3353
3373
|
triggerAnimation();
|
|
3354
3374
|
}, [controls]);
|
|
3355
|
-
|
|
3375
|
+
React.useEffect(() => {
|
|
3356
3376
|
loopRef.current = loopOnHover;
|
|
3357
3377
|
}, [loopOnHover]);
|
|
3358
|
-
|
|
3378
|
+
React.useEffect(() => {
|
|
3359
3379
|
if (autoAnimateOnLoad)
|
|
3360
3380
|
triggerAnimation();
|
|
3361
3381
|
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
@@ -3374,15 +3394,15 @@ function Activity({ size = 28, className, style, autoAnimateOnLoad = false, hove
|
|
|
3374
3394
|
triggerAnimation();
|
|
3375
3395
|
onClick?.(e);
|
|
3376
3396
|
};
|
|
3377
|
-
return (jsxRuntime.jsx("div", { className: cn$
|
|
3397
|
+
return (jsxRuntime.jsx("div", { className: cn$B('rounded-md', className), style: {
|
|
3378
3398
|
width: size,
|
|
3379
3399
|
height: size,
|
|
3380
3400
|
display: 'inline-block',
|
|
3381
3401
|
...style,
|
|
3382
|
-
}, 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, animate: controls, initial: "normal", style: { strokeDasharray: 1 } }) }) }));
|
|
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$s, animate: controls, initial: "normal", style: { strokeDasharray: 1 } }) }) }));
|
|
3383
3403
|
}
|
|
3384
3404
|
|
|
3385
|
-
function cn(...inputs) {
|
|
3405
|
+
function cn$A(...inputs) {
|
|
3386
3406
|
return twMerge(clsx(inputs));
|
|
3387
3407
|
}
|
|
3388
3408
|
const windVariants = {
|
|
@@ -3407,17 +3427,17 @@ const windVariants = {
|
|
|
3407
3427
|
},
|
|
3408
3428
|
}),
|
|
3409
3429
|
};
|
|
3410
|
-
const AirVent =
|
|
3430
|
+
const AirVent = React.forwardRef(({ onMouseEnter, onMouseLeave, className, size = 28, ...props }, ref) => {
|
|
3411
3431
|
const controls = framerMotion.useAnimation();
|
|
3412
|
-
const isControlledRef =
|
|
3413
|
-
|
|
3432
|
+
const isControlledRef = React.useRef(false);
|
|
3433
|
+
React.useImperativeHandle(ref, () => {
|
|
3414
3434
|
isControlledRef.current = true;
|
|
3415
3435
|
return {
|
|
3416
3436
|
startAnimation: () => controls.start('animate'),
|
|
3417
3437
|
stopAnimation: () => controls.start('normal'),
|
|
3418
3438
|
};
|
|
3419
3439
|
});
|
|
3420
|
-
const handleMouseEnter =
|
|
3440
|
+
const handleMouseEnter = React.useCallback((e) => {
|
|
3421
3441
|
if (!isControlledRef.current) {
|
|
3422
3442
|
controls.start('animate');
|
|
3423
3443
|
}
|
|
@@ -3425,7 +3445,7 @@ const AirVent = react.forwardRef(({ onMouseEnter, onMouseLeave, className, size
|
|
|
3425
3445
|
onMouseEnter?.(e);
|
|
3426
3446
|
}
|
|
3427
3447
|
}, [controls, onMouseEnter]);
|
|
3428
|
-
const handleMouseLeave =
|
|
3448
|
+
const handleMouseLeave = React.useCallback((e) => {
|
|
3429
3449
|
if (!isControlledRef.current) {
|
|
3430
3450
|
controls.start('normal');
|
|
3431
3451
|
}
|
|
@@ -3433,13 +3453,2678 @@ const AirVent = react.forwardRef(({ onMouseEnter, onMouseLeave, className, size
|
|
|
3433
3453
|
onMouseLeave?.(e);
|
|
3434
3454
|
}
|
|
3435
3455
|
}, [controls, onMouseLeave]);
|
|
3436
|
-
return (jsxRuntime.jsx("div", { className: cn(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 })] }) }));
|
|
3456
|
+
return (jsxRuntime.jsx("div", { className: cn$A(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 })] }) }));
|
|
3437
3457
|
});
|
|
3438
3458
|
AirVent.displayName = 'AirVent';
|
|
3439
3459
|
|
|
3460
|
+
function cn$z(...inputs) {
|
|
3461
|
+
return twMerge(clsx(inputs));
|
|
3462
|
+
}
|
|
3463
|
+
const screenVariants = {
|
|
3464
|
+
normal: {
|
|
3465
|
+
opacity: 1,
|
|
3466
|
+
pathLength: 1,
|
|
3467
|
+
pathOffset: 0,
|
|
3468
|
+
transition: {
|
|
3469
|
+
duration: 0.3,
|
|
3470
|
+
},
|
|
3471
|
+
},
|
|
3472
|
+
animate: {
|
|
3473
|
+
opacity: [0, 1],
|
|
3474
|
+
pathLength: [0, 1],
|
|
3475
|
+
pathOffset: [1, 0],
|
|
3476
|
+
transition: {
|
|
3477
|
+
duration: 0.6,
|
|
3478
|
+
ease: 'easeInOut',
|
|
3479
|
+
},
|
|
3480
|
+
},
|
|
3481
|
+
};
|
|
3482
|
+
const triangleVariants = {
|
|
3483
|
+
normal: {
|
|
3484
|
+
scale: 1,
|
|
3485
|
+
opacity: 1,
|
|
3486
|
+
transition: { duration: 0.3 },
|
|
3487
|
+
},
|
|
3488
|
+
animate: {
|
|
3489
|
+
scale: [0.6, 1.1, 1],
|
|
3490
|
+
opacity: [0, 1],
|
|
3491
|
+
transition: {
|
|
3492
|
+
duration: 0.6,
|
|
3493
|
+
ease: 'easeOut',
|
|
3494
|
+
},
|
|
3495
|
+
},
|
|
3496
|
+
};
|
|
3497
|
+
function Airplay({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }) {
|
|
3498
|
+
const controls = framerMotion.useAnimation();
|
|
3499
|
+
const loopRef = React.useRef(loopOnHover);
|
|
3500
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
3501
|
+
await controls.start('animate');
|
|
3502
|
+
await controls.start('normal');
|
|
3503
|
+
if (loopRef.current)
|
|
3504
|
+
triggerAnimation();
|
|
3505
|
+
}, [controls]);
|
|
3506
|
+
React.useEffect(() => {
|
|
3507
|
+
loopRef.current = loopOnHover;
|
|
3508
|
+
}, [loopOnHover]);
|
|
3509
|
+
React.useEffect(() => {
|
|
3510
|
+
if (autoAnimateOnLoad)
|
|
3511
|
+
triggerAnimation();
|
|
3512
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
3513
|
+
const handleMouseEnter = (e) => {
|
|
3514
|
+
if (hoverable)
|
|
3515
|
+
triggerAnimation();
|
|
3516
|
+
onMouseEnter?.(e);
|
|
3517
|
+
};
|
|
3518
|
+
const handleMouseLeave = (e) => {
|
|
3519
|
+
if (hoverable)
|
|
3520
|
+
controls.start('normal');
|
|
3521
|
+
onMouseLeave?.(e);
|
|
3522
|
+
};
|
|
3523
|
+
const handleClick = (e) => {
|
|
3524
|
+
if (animateOnClick)
|
|
3525
|
+
triggerAnimation();
|
|
3526
|
+
onClick?.(e);
|
|
3527
|
+
};
|
|
3528
|
+
return (jsxRuntime.jsx("div", { className: cn$z(className), style: {
|
|
3529
|
+
width: size,
|
|
3530
|
+
height: size,
|
|
3531
|
+
display: 'inline-block',
|
|
3532
|
+
...style,
|
|
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
|
+
}
|
|
3535
|
+
|
|
3536
|
+
function cn$y(...inputs) {
|
|
3537
|
+
return twMerge(clsx(inputs));
|
|
3538
|
+
}
|
|
3539
|
+
const squareVariants = {
|
|
3540
|
+
normal: {
|
|
3541
|
+
scale: 1,
|
|
3542
|
+
opacity: 1,
|
|
3543
|
+
transition: { duration: 0.4 },
|
|
3544
|
+
},
|
|
3545
|
+
animate: {
|
|
3546
|
+
scale: 1.10,
|
|
3547
|
+
opacity: 0.9,
|
|
3548
|
+
transition: { duration: 0.6, ease: 'easeInOut' },
|
|
3549
|
+
},
|
|
3550
|
+
};
|
|
3551
|
+
const pathVariants$r = {
|
|
3552
|
+
normal: {
|
|
3553
|
+
opacity: 1,
|
|
3554
|
+
pathLength: 1,
|
|
3555
|
+
pathOffset: 0,
|
|
3556
|
+
transition: {
|
|
3557
|
+
duration: 0.4,
|
|
3558
|
+
opacity: { duration: 0.1 },
|
|
3559
|
+
},
|
|
3560
|
+
},
|
|
3561
|
+
animate: {
|
|
3562
|
+
opacity: [0, 1],
|
|
3563
|
+
pathLength: [0, 1],
|
|
3564
|
+
pathOffset: [1, 0],
|
|
3565
|
+
transition: {
|
|
3566
|
+
duration: 0.6,
|
|
3567
|
+
ease: 'linear',
|
|
3568
|
+
opacity: { duration: 0.1 },
|
|
3569
|
+
},
|
|
3570
|
+
},
|
|
3571
|
+
};
|
|
3572
|
+
const Album = ({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }) => {
|
|
3573
|
+
const controls = framerMotion.useAnimation();
|
|
3574
|
+
const loopRef = React.useRef(loopOnHover);
|
|
3575
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
3576
|
+
await controls.start('animate');
|
|
3577
|
+
await controls.start('normal');
|
|
3578
|
+
if (loopRef.current)
|
|
3579
|
+
triggerAnimation();
|
|
3580
|
+
}, [controls]);
|
|
3581
|
+
React.useEffect(() => {
|
|
3582
|
+
loopRef.current = loopOnHover;
|
|
3583
|
+
}, [loopOnHover]);
|
|
3584
|
+
React.useEffect(() => {
|
|
3585
|
+
if (autoAnimateOnLoad)
|
|
3586
|
+
triggerAnimation();
|
|
3587
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
3588
|
+
const handleMouseEnter = (e) => {
|
|
3589
|
+
if (hoverable)
|
|
3590
|
+
triggerAnimation();
|
|
3591
|
+
onMouseEnter?.(e);
|
|
3592
|
+
};
|
|
3593
|
+
const handleMouseLeave = (e) => {
|
|
3594
|
+
if (hoverable)
|
|
3595
|
+
controls.start('normal');
|
|
3596
|
+
onMouseLeave?.(e);
|
|
3597
|
+
};
|
|
3598
|
+
const handleClick = (e) => {
|
|
3599
|
+
if (animateOnClick)
|
|
3600
|
+
triggerAnimation();
|
|
3601
|
+
onClick?.(e);
|
|
3602
|
+
};
|
|
3603
|
+
return (jsxRuntime.jsx("div", { className: cn$y('rounded-md', className), style: {
|
|
3604
|
+
width: size,
|
|
3605
|
+
height: size,
|
|
3606
|
+
display: 'inline-block',
|
|
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$r, animate: controls, initial: "normal", style: { strokeDasharray: 1 } })] }) }));
|
|
3609
|
+
};
|
|
3610
|
+
|
|
3611
|
+
function cn$x(...inputs) {
|
|
3612
|
+
return twMerge(clsx(inputs));
|
|
3613
|
+
}
|
|
3614
|
+
const pathVariants$q = {
|
|
3615
|
+
normal: {
|
|
3616
|
+
y: 0,
|
|
3617
|
+
x: 0,
|
|
3618
|
+
transition: { duration: 0.2, type: 'spring', stiffness: 200, damping: 25 },
|
|
3619
|
+
},
|
|
3620
|
+
animate: {
|
|
3621
|
+
y: -1.5,
|
|
3622
|
+
x: [-1, 1, -1, 1, -1, 0],
|
|
3623
|
+
transition: {
|
|
3624
|
+
x: { duration: 0.3, repeat: Infinity, ease: 'linear' },
|
|
3625
|
+
y: { duration: 0.2, type: 'spring', stiffness: 200, damping: 25 },
|
|
3626
|
+
},
|
|
3627
|
+
},
|
|
3628
|
+
};
|
|
3629
|
+
const secondaryPathVariants$3 = {
|
|
3630
|
+
normal: {
|
|
3631
|
+
y: 0,
|
|
3632
|
+
x: 0,
|
|
3633
|
+
transition: { duration: 0.2, type: 'spring', stiffness: 200, damping: 25 },
|
|
3634
|
+
},
|
|
3635
|
+
animate: {
|
|
3636
|
+
y: -2.5,
|
|
3637
|
+
x: [-2, 2, -2, 2, -2, 0],
|
|
3638
|
+
transition: {
|
|
3639
|
+
x: { duration: 0.3, repeat: Infinity, ease: 'linear' },
|
|
3640
|
+
y: { duration: 0.2, type: 'spring', stiffness: 200, damping: 25 },
|
|
3641
|
+
},
|
|
3642
|
+
},
|
|
3643
|
+
};
|
|
3644
|
+
const AlarmClock = React.forwardRef(({ className, size = 28, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
3645
|
+
const controls = framerMotion.useAnimation();
|
|
3646
|
+
const isControlledRef = React.useRef(false);
|
|
3647
|
+
const timeoutRef = React.useRef(null);
|
|
3648
|
+
const startOnce = React.useCallback(() => {
|
|
3649
|
+
controls.start('animate');
|
|
3650
|
+
if (timeoutRef.current)
|
|
3651
|
+
clearTimeout(timeoutRef.current);
|
|
3652
|
+
timeoutRef.current = setTimeout(() => {
|
|
3653
|
+
controls.start('normal');
|
|
3654
|
+
}, 700); // single cycle duration
|
|
3655
|
+
}, [controls]);
|
|
3656
|
+
const startLoop = React.useCallback(() => {
|
|
3657
|
+
controls.start('animate');
|
|
3658
|
+
}, [controls]);
|
|
3659
|
+
const stopAnimation = React.useCallback(() => {
|
|
3660
|
+
if (timeoutRef.current)
|
|
3661
|
+
clearTimeout(timeoutRef.current);
|
|
3662
|
+
controls.start('normal');
|
|
3663
|
+
}, [controls]);
|
|
3664
|
+
React.useImperativeHandle(ref, () => {
|
|
3665
|
+
isControlledRef.current = true;
|
|
3666
|
+
return {
|
|
3667
|
+
startAnimation: () => startOnce(),
|
|
3668
|
+
stopAnimation: () => stopAnimation(),
|
|
3669
|
+
};
|
|
3670
|
+
});
|
|
3671
|
+
const handleMouseEnter = React.useCallback((e) => {
|
|
3672
|
+
if (!isControlledRef.current && hoverable) {
|
|
3673
|
+
if (loopOnHover) {
|
|
3674
|
+
startLoop();
|
|
3675
|
+
}
|
|
3676
|
+
else {
|
|
3677
|
+
startOnce();
|
|
3678
|
+
}
|
|
3679
|
+
}
|
|
3680
|
+
onMouseEnter?.(e);
|
|
3681
|
+
}, [hoverable, loopOnHover, onMouseEnter, startOnce, startLoop]);
|
|
3682
|
+
const handleMouseLeave = React.useCallback((e) => {
|
|
3683
|
+
if (!isControlledRef.current && hoverable && loopOnHover) {
|
|
3684
|
+
stopAnimation();
|
|
3685
|
+
}
|
|
3686
|
+
onMouseLeave?.(e);
|
|
3687
|
+
}, [hoverable, loopOnHover, onMouseLeave, stopAnimation]);
|
|
3688
|
+
const handleClick = React.useCallback((e) => {
|
|
3689
|
+
if (!isControlledRef.current && animateOnClick) {
|
|
3690
|
+
startOnce();
|
|
3691
|
+
}
|
|
3692
|
+
onClick?.(e);
|
|
3693
|
+
}, [animateOnClick, onClick, startOnce]);
|
|
3694
|
+
React.useEffect(() => {
|
|
3695
|
+
if (autoAnimateOnLoad) {
|
|
3696
|
+
startOnce();
|
|
3697
|
+
}
|
|
3698
|
+
return () => {
|
|
3699
|
+
if (timeoutRef.current)
|
|
3700
|
+
clearTimeout(timeoutRef.current);
|
|
3701
|
+
};
|
|
3702
|
+
}, [autoAnimateOnLoad, startOnce]);
|
|
3703
|
+
return (jsxRuntime.jsx("div", { className: cn$x(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$q, initial: "normal", animate: controls, d: "M18 20.5L19.5 22" }), jsxRuntime.jsx(framerMotion.motion.path, { variants: pathVariants$q, initial: "normal", animate: controls, d: "M6 20.5L4.5 22" }), jsxRuntime.jsx(framerMotion.motion.path, { variants: pathVariants$q, 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$q, 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
|
+
});
|
|
3705
|
+
AlarmClock.displayName = 'AlarmClock';
|
|
3706
|
+
|
|
3707
|
+
function cn$w(...inputs) {
|
|
3708
|
+
return twMerge(clsx(inputs));
|
|
3709
|
+
}
|
|
3710
|
+
const pathVariants$p = {
|
|
3711
|
+
normal: {
|
|
3712
|
+
y: 0,
|
|
3713
|
+
x: 0,
|
|
3714
|
+
transition: { duration: 0.2, type: 'spring', stiffness: 200, damping: 25 },
|
|
3715
|
+
},
|
|
3716
|
+
animate: {
|
|
3717
|
+
y: -1.5,
|
|
3718
|
+
x: [-1, 1, -1, 1, -1, 0],
|
|
3719
|
+
transition: {
|
|
3720
|
+
x: { duration: 0.3, repeat: Infinity, ease: 'linear' },
|
|
3721
|
+
y: { duration: 0.2, type: 'spring', stiffness: 200, damping: 25 },
|
|
3722
|
+
},
|
|
3723
|
+
},
|
|
3724
|
+
};
|
|
3725
|
+
const secondaryPathVariants$2 = {
|
|
3726
|
+
normal: {
|
|
3727
|
+
y: 0,
|
|
3728
|
+
x: 0,
|
|
3729
|
+
transition: { duration: 0.2, type: 'spring', stiffness: 200, damping: 25 },
|
|
3730
|
+
},
|
|
3731
|
+
animate: {
|
|
3732
|
+
y: -2.5,
|
|
3733
|
+
x: [-2, 2, -2, 2, -2, 0],
|
|
3734
|
+
transition: {
|
|
3735
|
+
x: { duration: 0.3, repeat: Infinity, ease: 'linear' },
|
|
3736
|
+
y: { duration: 0.2, type: 'spring', stiffness: 200, damping: 25 },
|
|
3737
|
+
},
|
|
3738
|
+
},
|
|
3739
|
+
};
|
|
3740
|
+
const AlarmClockCheck = React.forwardRef(({ className, size = 28, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
3741
|
+
const controls = framerMotion.useAnimation();
|
|
3742
|
+
const isControlledRef = React.useRef(false);
|
|
3743
|
+
const timeoutRef = React.useRef(null);
|
|
3744
|
+
const startAnimation = React.useCallback(() => {
|
|
3745
|
+
controls.start('animate');
|
|
3746
|
+
}, [controls]);
|
|
3747
|
+
const stopAnimation = React.useCallback(() => {
|
|
3748
|
+
controls.start('normal');
|
|
3749
|
+
}, [controls]);
|
|
3750
|
+
const startTimedAnimation = React.useCallback(() => {
|
|
3751
|
+
startAnimation();
|
|
3752
|
+
if (timeoutRef.current)
|
|
3753
|
+
clearTimeout(timeoutRef.current);
|
|
3754
|
+
timeoutRef.current = setTimeout(() => {
|
|
3755
|
+
stopAnimation();
|
|
3756
|
+
}, 700);
|
|
3757
|
+
}, [startAnimation, stopAnimation]);
|
|
3758
|
+
React.useImperativeHandle(ref, () => {
|
|
3759
|
+
isControlledRef.current = true;
|
|
3760
|
+
return {
|
|
3761
|
+
startAnimation: () => startTimedAnimation(),
|
|
3762
|
+
stopAnimation: () => stopAnimation(),
|
|
3763
|
+
};
|
|
3764
|
+
});
|
|
3765
|
+
const handleMouseEnter = React.useCallback((e) => {
|
|
3766
|
+
if (!isControlledRef.current && hoverable) {
|
|
3767
|
+
if (loopOnHover) {
|
|
3768
|
+
startAnimation();
|
|
3769
|
+
}
|
|
3770
|
+
else {
|
|
3771
|
+
startTimedAnimation();
|
|
3772
|
+
}
|
|
3773
|
+
}
|
|
3774
|
+
onMouseEnter?.(e);
|
|
3775
|
+
}, [hoverable, loopOnHover, onMouseEnter, startAnimation, startTimedAnimation]);
|
|
3776
|
+
const handleMouseLeave = React.useCallback((e) => {
|
|
3777
|
+
if (!isControlledRef.current && hoverable && loopOnHover) {
|
|
3778
|
+
stopAnimation();
|
|
3779
|
+
}
|
|
3780
|
+
onMouseLeave?.(e);
|
|
3781
|
+
}, [hoverable, loopOnHover, onMouseLeave, stopAnimation]);
|
|
3782
|
+
const handleClick = React.useCallback((e) => {
|
|
3783
|
+
if (!isControlledRef.current && animateOnClick) {
|
|
3784
|
+
startTimedAnimation();
|
|
3785
|
+
}
|
|
3786
|
+
onClick?.(e);
|
|
3787
|
+
}, [animateOnClick, onClick, startTimedAnimation]);
|
|
3788
|
+
React.useEffect(() => {
|
|
3789
|
+
if (autoAnimateOnLoad) {
|
|
3790
|
+
startTimedAnimation();
|
|
3791
|
+
}
|
|
3792
|
+
return () => {
|
|
3793
|
+
if (timeoutRef.current)
|
|
3794
|
+
clearTimeout(timeoutRef.current);
|
|
3795
|
+
};
|
|
3796
|
+
}, [autoAnimateOnLoad, startTimedAnimation]);
|
|
3797
|
+
return (jsxRuntime.jsx("div", { className: cn$w(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$p, 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$p, initial: "normal", animate: controls, d: "M6.38 18.7 4 21" }), jsxRuntime.jsx(framerMotion.motion.path, { variants: pathVariants$p, initial: "normal", animate: controls, d: "M17.64 18.67 20 21" }), jsxRuntime.jsx(framerMotion.motion.path, { variants: pathVariants$p, initial: "normal", animate: controls, d: "m9 13 2 2 4-4" })] }) }));
|
|
3798
|
+
});
|
|
3799
|
+
AlarmClockCheck.displayName = 'AlarmClockCheck';
|
|
3800
|
+
|
|
3801
|
+
function cn$v(...inputs) {
|
|
3802
|
+
return twMerge(clsx(inputs));
|
|
3803
|
+
}
|
|
3804
|
+
const pathVariants$o = {
|
|
3805
|
+
normal: {
|
|
3806
|
+
y: 0,
|
|
3807
|
+
x: 0,
|
|
3808
|
+
transition: { duration: 0.2, type: 'spring', stiffness: 200, damping: 25 },
|
|
3809
|
+
},
|
|
3810
|
+
animate: {
|
|
3811
|
+
y: -1.5,
|
|
3812
|
+
x: [-1, 1, -1, 1, -1, 0],
|
|
3813
|
+
transition: {
|
|
3814
|
+
x: { duration: 0.3, repeat: Infinity, ease: 'linear' },
|
|
3815
|
+
y: { duration: 0.2, type: 'spring', stiffness: 200, damping: 25 },
|
|
3816
|
+
},
|
|
3817
|
+
},
|
|
3818
|
+
};
|
|
3819
|
+
const secondaryPathVariants$1 = {
|
|
3820
|
+
normal: {
|
|
3821
|
+
y: 0,
|
|
3822
|
+
x: 0,
|
|
3823
|
+
transition: { duration: 0.2, type: 'spring', stiffness: 200, damping: 25 },
|
|
3824
|
+
},
|
|
3825
|
+
animate: {
|
|
3826
|
+
y: -2.5,
|
|
3827
|
+
x: [-2, 2, -2, 2, -2, 0],
|
|
3828
|
+
transition: {
|
|
3829
|
+
x: { duration: 0.3, repeat: Infinity, ease: 'linear' },
|
|
3830
|
+
y: { duration: 0.2, type: 'spring', stiffness: 200, damping: 25 },
|
|
3831
|
+
},
|
|
3832
|
+
},
|
|
3833
|
+
};
|
|
3834
|
+
const AlarmClockMinus = React.forwardRef(({ className, size = 28, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
3835
|
+
const controls = framerMotion.useAnimation();
|
|
3836
|
+
const isControlledRef = React.useRef(false);
|
|
3837
|
+
const timeoutRef = React.useRef(null);
|
|
3838
|
+
const startAnimation = React.useCallback(() => {
|
|
3839
|
+
controls.start('animate');
|
|
3840
|
+
}, [controls]);
|
|
3841
|
+
const stopAnimation = React.useCallback(() => {
|
|
3842
|
+
controls.start('normal');
|
|
3843
|
+
}, [controls]);
|
|
3844
|
+
const startTimedAnimation = React.useCallback(() => {
|
|
3845
|
+
startAnimation();
|
|
3846
|
+
if (timeoutRef.current)
|
|
3847
|
+
clearTimeout(timeoutRef.current);
|
|
3848
|
+
timeoutRef.current = setTimeout(() => {
|
|
3849
|
+
stopAnimation();
|
|
3850
|
+
}, 700);
|
|
3851
|
+
}, [startAnimation, stopAnimation]);
|
|
3852
|
+
React.useImperativeHandle(ref, () => {
|
|
3853
|
+
isControlledRef.current = true;
|
|
3854
|
+
return {
|
|
3855
|
+
startAnimation: () => startTimedAnimation(),
|
|
3856
|
+
stopAnimation: () => stopAnimation(),
|
|
3857
|
+
};
|
|
3858
|
+
});
|
|
3859
|
+
const handleMouseEnter = React.useCallback((e) => {
|
|
3860
|
+
if (!isControlledRef.current && hoverable) {
|
|
3861
|
+
if (loopOnHover) {
|
|
3862
|
+
startAnimation();
|
|
3863
|
+
}
|
|
3864
|
+
else {
|
|
3865
|
+
startTimedAnimation();
|
|
3866
|
+
}
|
|
3867
|
+
}
|
|
3868
|
+
onMouseEnter?.(e);
|
|
3869
|
+
}, [hoverable, loopOnHover, onMouseEnter, startAnimation, startTimedAnimation]);
|
|
3870
|
+
const handleMouseLeave = React.useCallback((e) => {
|
|
3871
|
+
if (!isControlledRef.current && hoverable && loopOnHover) {
|
|
3872
|
+
stopAnimation();
|
|
3873
|
+
}
|
|
3874
|
+
onMouseLeave?.(e);
|
|
3875
|
+
}, [hoverable, loopOnHover, onMouseLeave, stopAnimation]);
|
|
3876
|
+
const handleClick = React.useCallback((e) => {
|
|
3877
|
+
if (!isControlledRef.current && animateOnClick) {
|
|
3878
|
+
startTimedAnimation();
|
|
3879
|
+
}
|
|
3880
|
+
onClick?.(e);
|
|
3881
|
+
}, [animateOnClick, onClick, startTimedAnimation]);
|
|
3882
|
+
React.useEffect(() => {
|
|
3883
|
+
if (autoAnimateOnLoad) {
|
|
3884
|
+
startTimedAnimation();
|
|
3885
|
+
}
|
|
3886
|
+
return () => {
|
|
3887
|
+
if (timeoutRef.current)
|
|
3888
|
+
clearTimeout(timeoutRef.current);
|
|
3889
|
+
};
|
|
3890
|
+
}, [autoAnimateOnLoad, startTimedAnimation]);
|
|
3891
|
+
return (jsxRuntime.jsx("div", { className: cn$v(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$o, 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$o, initial: "normal", animate: controls, d: "M6.38 18.7 4 21" }), jsxRuntime.jsx(framerMotion.motion.path, { variants: pathVariants$o, initial: "normal", animate: controls, d: "M17.64 18.67 20 21" }), jsxRuntime.jsx(framerMotion.motion.line, { variants: pathVariants$o, initial: "normal", animate: controls, x1: "9", y1: "13", x2: "15", y2: "13" })] }) }));
|
|
3892
|
+
});
|
|
3893
|
+
AlarmClockMinus.displayName = 'AlarmClockMinus';
|
|
3894
|
+
|
|
3895
|
+
function cn$u(...inputs) {
|
|
3896
|
+
return twMerge(clsx(inputs));
|
|
3897
|
+
}
|
|
3898
|
+
const pathVariants$n = {
|
|
3899
|
+
normal: {
|
|
3900
|
+
y: 0,
|
|
3901
|
+
x: 0,
|
|
3902
|
+
transition: { duration: 0.2, type: 'spring', stiffness: 200, damping: 25 },
|
|
3903
|
+
},
|
|
3904
|
+
animate: {
|
|
3905
|
+
y: -1.5,
|
|
3906
|
+
x: [-1, 1, -1, 1, -1, 0],
|
|
3907
|
+
transition: {
|
|
3908
|
+
x: { duration: 0.3, repeat: Infinity, ease: 'linear' },
|
|
3909
|
+
y: { duration: 0.2, type: 'spring', stiffness: 200, damping: 25 },
|
|
3910
|
+
},
|
|
3911
|
+
},
|
|
3912
|
+
};
|
|
3913
|
+
const secondaryPathVariants = {
|
|
3914
|
+
normal: {
|
|
3915
|
+
y: 0,
|
|
3916
|
+
x: 0,
|
|
3917
|
+
transition: { duration: 0.2, type: 'spring', stiffness: 200, damping: 25 },
|
|
3918
|
+
},
|
|
3919
|
+
animate: {
|
|
3920
|
+
y: -2.5,
|
|
3921
|
+
x: [-2, 2, -2, 2, -2, 0],
|
|
3922
|
+
transition: {
|
|
3923
|
+
x: { duration: 0.3, repeat: Infinity, ease: 'linear' },
|
|
3924
|
+
y: { duration: 0.2, type: 'spring', stiffness: 200, damping: 25 },
|
|
3925
|
+
},
|
|
3926
|
+
},
|
|
3927
|
+
};
|
|
3928
|
+
const AlarmClockPlus = React.forwardRef(({ className, size = 28, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
3929
|
+
const controls = framerMotion.useAnimation();
|
|
3930
|
+
const isControlledRef = React.useRef(false);
|
|
3931
|
+
const timeoutRef = React.useRef(null);
|
|
3932
|
+
const startAnimation = React.useCallback(() => {
|
|
3933
|
+
controls.start('animate');
|
|
3934
|
+
}, [controls]);
|
|
3935
|
+
const stopAnimation = React.useCallback(() => {
|
|
3936
|
+
controls.start('normal');
|
|
3937
|
+
}, [controls]);
|
|
3938
|
+
const startTimedAnimation = React.useCallback(() => {
|
|
3939
|
+
startAnimation();
|
|
3940
|
+
if (timeoutRef.current)
|
|
3941
|
+
clearTimeout(timeoutRef.current);
|
|
3942
|
+
timeoutRef.current = setTimeout(() => {
|
|
3943
|
+
stopAnimation();
|
|
3944
|
+
}, 700);
|
|
3945
|
+
}, [startAnimation, stopAnimation]);
|
|
3946
|
+
React.useImperativeHandle(ref, () => {
|
|
3947
|
+
isControlledRef.current = true;
|
|
3948
|
+
return {
|
|
3949
|
+
startAnimation: () => startTimedAnimation(),
|
|
3950
|
+
stopAnimation: () => stopAnimation(),
|
|
3951
|
+
};
|
|
3952
|
+
});
|
|
3953
|
+
const handleMouseEnter = React.useCallback((e) => {
|
|
3954
|
+
if (!isControlledRef.current && hoverable) {
|
|
3955
|
+
if (loopOnHover) {
|
|
3956
|
+
startAnimation();
|
|
3957
|
+
}
|
|
3958
|
+
else {
|
|
3959
|
+
startTimedAnimation();
|
|
3960
|
+
}
|
|
3961
|
+
}
|
|
3962
|
+
onMouseEnter?.(e);
|
|
3963
|
+
}, [hoverable, loopOnHover, onMouseEnter, startAnimation, startTimedAnimation]);
|
|
3964
|
+
const handleMouseLeave = React.useCallback((e) => {
|
|
3965
|
+
if (!isControlledRef.current && hoverable && loopOnHover) {
|
|
3966
|
+
stopAnimation();
|
|
3967
|
+
}
|
|
3968
|
+
onMouseLeave?.(e);
|
|
3969
|
+
}, [hoverable, loopOnHover, onMouseLeave, stopAnimation]);
|
|
3970
|
+
const handleClick = React.useCallback((e) => {
|
|
3971
|
+
if (!isControlledRef.current && animateOnClick) {
|
|
3972
|
+
startTimedAnimation();
|
|
3973
|
+
}
|
|
3974
|
+
onClick?.(e);
|
|
3975
|
+
}, [animateOnClick, onClick, startTimedAnimation]);
|
|
3976
|
+
React.useEffect(() => {
|
|
3977
|
+
if (autoAnimateOnLoad) {
|
|
3978
|
+
startTimedAnimation();
|
|
3979
|
+
}
|
|
3980
|
+
return () => {
|
|
3981
|
+
if (timeoutRef.current)
|
|
3982
|
+
clearTimeout(timeoutRef.current);
|
|
3983
|
+
};
|
|
3984
|
+
}, [autoAnimateOnLoad, startTimedAnimation]);
|
|
3985
|
+
return (jsxRuntime.jsx("div", { className: cn$u(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$n, 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$n, initial: "normal", animate: controls, d: "M6.38 18.7 4 21" }), jsxRuntime.jsx(framerMotion.motion.path, { variants: pathVariants$n, initial: "normal", animate: controls, d: "M17.64 18.67 20 21" }), jsxRuntime.jsx(framerMotion.motion.line, { variants: pathVariants$n, initial: "normal", animate: controls, x1: "9", y1: "13", x2: "15", y2: "13" }), jsxRuntime.jsx(framerMotion.motion.line, { variants: pathVariants$n, initial: "normal", animate: controls, y1: "10", x1: "12", y2: "16", x2: "12" })] }) }));
|
|
3986
|
+
});
|
|
3987
|
+
AlarmClockPlus.displayName = 'AlarmClockPlus';
|
|
3988
|
+
|
|
3989
|
+
function cn$t(...inputs) {
|
|
3990
|
+
return twMerge(clsx(inputs));
|
|
3991
|
+
}
|
|
3992
|
+
const pathMotion = {
|
|
3993
|
+
normal: {
|
|
3994
|
+
translateX: 0,
|
|
3995
|
+
},
|
|
3996
|
+
animate: {
|
|
3997
|
+
translateX: [0, 3, -3, 2, -2, 0],
|
|
3998
|
+
transition: {
|
|
3999
|
+
ease: "linear",
|
|
4000
|
+
duration: 1,
|
|
4001
|
+
},
|
|
4002
|
+
},
|
|
4003
|
+
};
|
|
4004
|
+
const AlignCenter = React__namespace.forwardRef(({ size = 28, className, style, onMouseEnter, onMouseLeave, onClick, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, ...props }, ref) => {
|
|
4005
|
+
const controls = framerMotion.useAnimation();
|
|
4006
|
+
const loopRef = React.useRef(loopOnHover);
|
|
4007
|
+
const isControlledRef = React.useRef(false);
|
|
4008
|
+
React.useImperativeHandle(ref, () => {
|
|
4009
|
+
isControlledRef.current = true;
|
|
4010
|
+
return {
|
|
4011
|
+
startAnimation: () => controls.start("animate"),
|
|
4012
|
+
stopAnimation: () => controls.start("normal"),
|
|
4013
|
+
};
|
|
4014
|
+
});
|
|
4015
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
4016
|
+
await controls.start("animate");
|
|
4017
|
+
await controls.start("normal");
|
|
4018
|
+
if (loopRef.current)
|
|
4019
|
+
triggerAnimation();
|
|
4020
|
+
}, [controls]);
|
|
4021
|
+
React__namespace.useEffect(() => {
|
|
4022
|
+
loopRef.current = loopOnHover;
|
|
4023
|
+
}, [loopOnHover]);
|
|
4024
|
+
React__namespace.useEffect(() => {
|
|
4025
|
+
if (autoAnimateOnLoad && !isControlledRef.current) {
|
|
4026
|
+
triggerAnimation();
|
|
4027
|
+
}
|
|
4028
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
4029
|
+
const handleMouseEnter = React.useCallback((e) => {
|
|
4030
|
+
if (!isControlledRef.current && hoverable) {
|
|
4031
|
+
triggerAnimation();
|
|
4032
|
+
}
|
|
4033
|
+
onMouseEnter?.(e);
|
|
4034
|
+
}, [triggerAnimation, onMouseEnter, hoverable]);
|
|
4035
|
+
const handleMouseLeave = React.useCallback((e) => {
|
|
4036
|
+
if (!isControlledRef.current && hoverable) {
|
|
4037
|
+
controls.start("normal");
|
|
4038
|
+
}
|
|
4039
|
+
onMouseLeave?.(e);
|
|
4040
|
+
}, [controls, onMouseLeave, hoverable]);
|
|
4041
|
+
const handleClick = React.useCallback((e) => {
|
|
4042
|
+
if (!isControlledRef.current && animateOnClick) {
|
|
4043
|
+
triggerAnimation();
|
|
4044
|
+
}
|
|
4045
|
+
onClick?.(e);
|
|
4046
|
+
}, [triggerAnimation, onClick, animateOnClick]);
|
|
4047
|
+
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", 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
|
+
});
|
|
4049
|
+
AlignCenter.displayName = "AlignCenter";
|
|
4050
|
+
|
|
4051
|
+
function cn$s(...inputs) {
|
|
4052
|
+
return twMerge(clsx(inputs));
|
|
4053
|
+
}
|
|
4054
|
+
const pathVariants$m = {
|
|
4055
|
+
normal: {
|
|
4056
|
+
pathLength: 1,
|
|
4057
|
+
pathOffset: 0,
|
|
4058
|
+
opacity: 1,
|
|
4059
|
+
transition: {
|
|
4060
|
+
duration: 0.4,
|
|
4061
|
+
},
|
|
4062
|
+
},
|
|
4063
|
+
animate: {
|
|
4064
|
+
pathLength: [0, 1],
|
|
4065
|
+
pathOffset: [1, 0],
|
|
4066
|
+
opacity: [0, 1],
|
|
4067
|
+
transition: {
|
|
4068
|
+
duration: 0.7,
|
|
4069
|
+
ease: 'easeInOut',
|
|
4070
|
+
},
|
|
4071
|
+
},
|
|
4072
|
+
};
|
|
4073
|
+
const AlignCenterHorizontal = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
4074
|
+
const controls = framerMotion.useAnimation();
|
|
4075
|
+
const loopRef = React.useRef(loopOnHover);
|
|
4076
|
+
const isControlledRef = React.useRef(false);
|
|
4077
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
4078
|
+
await controls.start('animate');
|
|
4079
|
+
await controls.start('normal');
|
|
4080
|
+
if (loopRef.current)
|
|
4081
|
+
triggerAnimation();
|
|
4082
|
+
}, [controls]);
|
|
4083
|
+
React.useEffect(() => {
|
|
4084
|
+
loopRef.current = loopOnHover;
|
|
4085
|
+
}, [loopOnHover]);
|
|
4086
|
+
React.useEffect(() => {
|
|
4087
|
+
if (autoAnimateOnLoad)
|
|
4088
|
+
triggerAnimation();
|
|
4089
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
4090
|
+
React.useImperativeHandle(ref, () => {
|
|
4091
|
+
isControlledRef.current = true;
|
|
4092
|
+
return {
|
|
4093
|
+
startAnimation: () => controls.start('animate'),
|
|
4094
|
+
stopAnimation: () => controls.start('normal'),
|
|
4095
|
+
};
|
|
4096
|
+
});
|
|
4097
|
+
const handleMouseEnter = (e) => {
|
|
4098
|
+
if (!isControlledRef.current && hoverable)
|
|
4099
|
+
triggerAnimation();
|
|
4100
|
+
onMouseEnter?.(e);
|
|
4101
|
+
};
|
|
4102
|
+
const handleMouseLeave = (e) => {
|
|
4103
|
+
if (!isControlledRef.current && hoverable)
|
|
4104
|
+
controls.start('normal');
|
|
4105
|
+
onMouseLeave?.(e);
|
|
4106
|
+
};
|
|
4107
|
+
const handleClick = (e) => {
|
|
4108
|
+
if (animateOnClick)
|
|
4109
|
+
triggerAnimation();
|
|
4110
|
+
onClick?.(e);
|
|
4111
|
+
};
|
|
4112
|
+
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", 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$m, 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$m, 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$m, 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$m, 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$m, animate: controls, initial: "normal" })] }) }));
|
|
4113
|
+
});
|
|
4114
|
+
AlignCenterHorizontal.displayName = 'AlignCenterHorizontal';
|
|
4115
|
+
|
|
4116
|
+
function cn$r(...inputs) {
|
|
4117
|
+
return twMerge(clsx(inputs));
|
|
4118
|
+
}
|
|
4119
|
+
const pathVariants$l = {
|
|
4120
|
+
normal: {
|
|
4121
|
+
pathLength: 1,
|
|
4122
|
+
pathOffset: 0,
|
|
4123
|
+
opacity: 1,
|
|
4124
|
+
transition: { duration: 0.4 },
|
|
4125
|
+
},
|
|
4126
|
+
animate: {
|
|
4127
|
+
pathLength: [0, 1],
|
|
4128
|
+
pathOffset: [1, 0],
|
|
4129
|
+
opacity: [0, 1],
|
|
4130
|
+
transition: {
|
|
4131
|
+
duration: 0.7,
|
|
4132
|
+
ease: 'easeInOut',
|
|
4133
|
+
},
|
|
4134
|
+
},
|
|
4135
|
+
};
|
|
4136
|
+
const AlignCenterVertical = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
4137
|
+
const controls = framerMotion.useAnimation();
|
|
4138
|
+
const loopRef = React.useRef(loopOnHover);
|
|
4139
|
+
const isControlledRef = React.useRef(false);
|
|
4140
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
4141
|
+
await controls.start('animate');
|
|
4142
|
+
await controls.start('normal');
|
|
4143
|
+
if (loopRef.current)
|
|
4144
|
+
triggerAnimation();
|
|
4145
|
+
}, [controls]);
|
|
4146
|
+
React.useEffect(() => {
|
|
4147
|
+
loopRef.current = loopOnHover;
|
|
4148
|
+
}, [loopOnHover]);
|
|
4149
|
+
React.useEffect(() => {
|
|
4150
|
+
if (autoAnimateOnLoad)
|
|
4151
|
+
triggerAnimation();
|
|
4152
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
4153
|
+
React.useImperativeHandle(ref, () => {
|
|
4154
|
+
isControlledRef.current = true;
|
|
4155
|
+
return {
|
|
4156
|
+
startAnimation: () => controls.start('animate'),
|
|
4157
|
+
stopAnimation: () => controls.start('normal'),
|
|
4158
|
+
};
|
|
4159
|
+
});
|
|
4160
|
+
const handleMouseEnter = (e) => {
|
|
4161
|
+
if (!isControlledRef.current && hoverable)
|
|
4162
|
+
triggerAnimation();
|
|
4163
|
+
onMouseEnter?.(e);
|
|
4164
|
+
};
|
|
4165
|
+
const handleMouseLeave = (e) => {
|
|
4166
|
+
if (!isControlledRef.current && hoverable)
|
|
4167
|
+
controls.start('normal');
|
|
4168
|
+
onMouseLeave?.(e);
|
|
4169
|
+
};
|
|
4170
|
+
const handleClick = (e) => {
|
|
4171
|
+
if (animateOnClick)
|
|
4172
|
+
triggerAnimation();
|
|
4173
|
+
onClick?.(e);
|
|
4174
|
+
};
|
|
4175
|
+
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.path, { d: "M12 2v20", variants: pathVariants$l, 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$l, 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$l, 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$l, 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$l, animate: controls, initial: "normal" })] }) }));
|
|
4176
|
+
});
|
|
4177
|
+
AlignCenterVertical.displayName = 'AlignCenterVertical';
|
|
4178
|
+
|
|
4179
|
+
function cn$q(...inputs) {
|
|
4180
|
+
return twMerge(clsx(inputs));
|
|
4181
|
+
}
|
|
4182
|
+
const pathVariants$k = {
|
|
4183
|
+
normal: {
|
|
4184
|
+
pathLength: 1,
|
|
4185
|
+
pathOffset: 0,
|
|
4186
|
+
opacity: 1,
|
|
4187
|
+
transition: { duration: 0.3 },
|
|
4188
|
+
},
|
|
4189
|
+
animate: {
|
|
4190
|
+
pathLength: [0, 1],
|
|
4191
|
+
pathOffset: [1, 0],
|
|
4192
|
+
opacity: [0, 1],
|
|
4193
|
+
transition: {
|
|
4194
|
+
duration: 0.6,
|
|
4195
|
+
ease: 'easeInOut',
|
|
4196
|
+
},
|
|
4197
|
+
},
|
|
4198
|
+
};
|
|
4199
|
+
const AlignEndHorizontal = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
4200
|
+
const controls = framerMotion.useAnimation();
|
|
4201
|
+
const loopRef = React.useRef(loopOnHover);
|
|
4202
|
+
const isControlledRef = React.useRef(false);
|
|
4203
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
4204
|
+
await controls.start('animate');
|
|
4205
|
+
await controls.start('normal');
|
|
4206
|
+
if (loopRef.current)
|
|
4207
|
+
triggerAnimation();
|
|
4208
|
+
}, [controls]);
|
|
4209
|
+
React.useEffect(() => {
|
|
4210
|
+
loopRef.current = loopOnHover;
|
|
4211
|
+
}, [loopOnHover]);
|
|
4212
|
+
React.useEffect(() => {
|
|
4213
|
+
if (autoAnimateOnLoad)
|
|
4214
|
+
triggerAnimation();
|
|
4215
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
4216
|
+
React.useImperativeHandle(ref, () => {
|
|
4217
|
+
isControlledRef.current = true;
|
|
4218
|
+
return {
|
|
4219
|
+
startAnimation: () => controls.start('animate'),
|
|
4220
|
+
stopAnimation: () => controls.start('normal'),
|
|
4221
|
+
};
|
|
4222
|
+
});
|
|
4223
|
+
const handleMouseEnter = (e) => {
|
|
4224
|
+
if (!isControlledRef.current && hoverable)
|
|
4225
|
+
triggerAnimation();
|
|
4226
|
+
onMouseEnter?.(e);
|
|
4227
|
+
};
|
|
4228
|
+
const handleMouseLeave = (e) => {
|
|
4229
|
+
if (!isControlledRef.current && hoverable)
|
|
4230
|
+
controls.start('normal');
|
|
4231
|
+
onMouseLeave?.(e);
|
|
4232
|
+
};
|
|
4233
|
+
const handleClick = (e) => {
|
|
4234
|
+
if (animateOnClick)
|
|
4235
|
+
triggerAnimation();
|
|
4236
|
+
onClick?.(e);
|
|
4237
|
+
};
|
|
4238
|
+
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, { width: "6", height: "16", x: "4", y: "2", rx: "2", variants: pathVariants$k, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.rect, { width: "6", height: "9", x: "14", y: "9", rx: "2", variants: pathVariants$k, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M22 22H2", variants: pathVariants$k, animate: controls, initial: "normal" })] }) }));
|
|
4239
|
+
});
|
|
4240
|
+
AlignEndHorizontal.displayName = 'AlignEndHorizontal';
|
|
4241
|
+
|
|
4242
|
+
function cn$p(...inputs) {
|
|
4243
|
+
return twMerge(clsx(inputs));
|
|
4244
|
+
}
|
|
4245
|
+
const pathVariants$j = {
|
|
4246
|
+
normal: {
|
|
4247
|
+
pathLength: 1,
|
|
4248
|
+
pathOffset: 0,
|
|
4249
|
+
opacity: 1,
|
|
4250
|
+
transition: { duration: 0.3 },
|
|
4251
|
+
},
|
|
4252
|
+
animate: {
|
|
4253
|
+
pathLength: [0, 1],
|
|
4254
|
+
pathOffset: [1, 0],
|
|
4255
|
+
opacity: [0, 1],
|
|
4256
|
+
transition: {
|
|
4257
|
+
duration: 0.6,
|
|
4258
|
+
ease: 'easeInOut',
|
|
4259
|
+
},
|
|
4260
|
+
},
|
|
4261
|
+
};
|
|
4262
|
+
const AlignEndVertical = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
4263
|
+
const controls = framerMotion.useAnimation();
|
|
4264
|
+
const loopRef = React.useRef(loopOnHover);
|
|
4265
|
+
const isControlledRef = React.useRef(false);
|
|
4266
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
4267
|
+
await controls.start('animate');
|
|
4268
|
+
await controls.start('normal');
|
|
4269
|
+
if (loopRef.current)
|
|
4270
|
+
triggerAnimation();
|
|
4271
|
+
}, [controls]);
|
|
4272
|
+
React.useEffect(() => {
|
|
4273
|
+
loopRef.current = loopOnHover;
|
|
4274
|
+
}, [loopOnHover]);
|
|
4275
|
+
React.useEffect(() => {
|
|
4276
|
+
if (autoAnimateOnLoad)
|
|
4277
|
+
triggerAnimation();
|
|
4278
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
4279
|
+
React.useImperativeHandle(ref, () => {
|
|
4280
|
+
isControlledRef.current = true;
|
|
4281
|
+
return {
|
|
4282
|
+
startAnimation: () => controls.start('animate'),
|
|
4283
|
+
stopAnimation: () => controls.start('normal'),
|
|
4284
|
+
};
|
|
4285
|
+
});
|
|
4286
|
+
const handleMouseEnter = (e) => {
|
|
4287
|
+
if (!isControlledRef.current && hoverable)
|
|
4288
|
+
triggerAnimation();
|
|
4289
|
+
onMouseEnter?.(e);
|
|
4290
|
+
};
|
|
4291
|
+
const handleMouseLeave = (e) => {
|
|
4292
|
+
if (!isControlledRef.current && hoverable)
|
|
4293
|
+
controls.start('normal');
|
|
4294
|
+
onMouseLeave?.(e);
|
|
4295
|
+
};
|
|
4296
|
+
const handleClick = (e) => {
|
|
4297
|
+
if (animateOnClick)
|
|
4298
|
+
triggerAnimation();
|
|
4299
|
+
onClick?.(e);
|
|
4300
|
+
};
|
|
4301
|
+
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.rect, { width: "16", height: "6", x: "2", y: "4", rx: "2", variants: pathVariants$j, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.rect, { width: "9", height: "6", x: "9", y: "14", rx: "2", variants: pathVariants$j, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M22 22V2", variants: pathVariants$j, animate: controls, initial: "normal" })] }) }));
|
|
4302
|
+
});
|
|
4303
|
+
AlignEndVertical.displayName = 'AlignEndVertical';
|
|
4304
|
+
|
|
4305
|
+
function cn$o(...inputs) {
|
|
4306
|
+
return twMerge(clsx(inputs));
|
|
4307
|
+
}
|
|
4308
|
+
const pathVariants$i = {
|
|
4309
|
+
normal: {
|
|
4310
|
+
pathLength: 1,
|
|
4311
|
+
pathOffset: 0,
|
|
4312
|
+
opacity: 1,
|
|
4313
|
+
transition: { duration: 0.3 },
|
|
4314
|
+
},
|
|
4315
|
+
animate: {
|
|
4316
|
+
pathLength: [0, 1],
|
|
4317
|
+
pathOffset: [1, 0],
|
|
4318
|
+
opacity: [0, 1],
|
|
4319
|
+
transition: {
|
|
4320
|
+
duration: 0.6,
|
|
4321
|
+
ease: 'easeInOut',
|
|
4322
|
+
},
|
|
4323
|
+
},
|
|
4324
|
+
};
|
|
4325
|
+
const AlignHorizontalDistributeCenter = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
4326
|
+
const controls = framerMotion.useAnimation();
|
|
4327
|
+
const loopRef = React.useRef(loopOnHover);
|
|
4328
|
+
const isControlledRef = React.useRef(false);
|
|
4329
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
4330
|
+
await controls.start('animate');
|
|
4331
|
+
await controls.start('normal');
|
|
4332
|
+
if (loopRef.current)
|
|
4333
|
+
triggerAnimation();
|
|
4334
|
+
}, [controls]);
|
|
4335
|
+
React.useEffect(() => {
|
|
4336
|
+
loopRef.current = loopOnHover;
|
|
4337
|
+
}, [loopOnHover]);
|
|
4338
|
+
React.useEffect(() => {
|
|
4339
|
+
if (autoAnimateOnLoad)
|
|
4340
|
+
triggerAnimation();
|
|
4341
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
4342
|
+
React.useImperativeHandle(ref, () => {
|
|
4343
|
+
isControlledRef.current = true;
|
|
4344
|
+
return {
|
|
4345
|
+
startAnimation: () => controls.start('animate'),
|
|
4346
|
+
stopAnimation: () => controls.start('normal'),
|
|
4347
|
+
};
|
|
4348
|
+
});
|
|
4349
|
+
const handleMouseEnter = (e) => {
|
|
4350
|
+
if (!isControlledRef.current && hoverable)
|
|
4351
|
+
triggerAnimation();
|
|
4352
|
+
onMouseEnter?.(e);
|
|
4353
|
+
};
|
|
4354
|
+
const handleMouseLeave = (e) => {
|
|
4355
|
+
if (!isControlledRef.current && hoverable)
|
|
4356
|
+
controls.start('normal');
|
|
4357
|
+
onMouseLeave?.(e);
|
|
4358
|
+
};
|
|
4359
|
+
const handleClick = (e) => {
|
|
4360
|
+
if (animateOnClick)
|
|
4361
|
+
triggerAnimation();
|
|
4362
|
+
onClick?.(e);
|
|
4363
|
+
};
|
|
4364
|
+
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.rect, { width: "6", height: "14", x: "4", y: "5", rx: "2", variants: pathVariants$i, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.rect, { width: "6", height: "10", x: "14", y: "7", rx: "2", variants: pathVariants$i, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M17 22v-5", variants: pathVariants$i, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M17 7V2", variants: pathVariants$i, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M7 22v-3", variants: pathVariants$i, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M7 5V2", variants: pathVariants$i, animate: controls, initial: "normal" })] }) }));
|
|
4365
|
+
});
|
|
4366
|
+
AlignHorizontalDistributeCenter.displayName = 'AlignHorizontalDistributeCenter';
|
|
4367
|
+
|
|
4368
|
+
function cn$n(...inputs) {
|
|
4369
|
+
return twMerge(clsx(inputs));
|
|
4370
|
+
}
|
|
4371
|
+
const pathVariants$h = {
|
|
4372
|
+
normal: {
|
|
4373
|
+
opacity: 1,
|
|
4374
|
+
pathLength: 1,
|
|
4375
|
+
pathOffset: 0,
|
|
4376
|
+
transition: { duration: 0.4 },
|
|
4377
|
+
},
|
|
4378
|
+
animate: {
|
|
4379
|
+
opacity: [0, 1],
|
|
4380
|
+
pathLength: [0, 1],
|
|
4381
|
+
pathOffset: [1, 0],
|
|
4382
|
+
transition: {
|
|
4383
|
+
duration: 0.6,
|
|
4384
|
+
ease: 'linear',
|
|
4385
|
+
},
|
|
4386
|
+
},
|
|
4387
|
+
};
|
|
4388
|
+
const AlignHorizontalDistributeEnd = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
4389
|
+
const controls = framerMotion.useAnimation();
|
|
4390
|
+
const loopRef = React.useRef(loopOnHover);
|
|
4391
|
+
const isControlledRef = React.useRef(false);
|
|
4392
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
4393
|
+
await controls.start('animate');
|
|
4394
|
+
await controls.start('normal');
|
|
4395
|
+
if (loopRef.current)
|
|
4396
|
+
triggerAnimation();
|
|
4397
|
+
}, [controls]);
|
|
4398
|
+
React.useEffect(() => {
|
|
4399
|
+
loopRef.current = loopOnHover;
|
|
4400
|
+
}, [loopOnHover]);
|
|
4401
|
+
React.useEffect(() => {
|
|
4402
|
+
if (autoAnimateOnLoad)
|
|
4403
|
+
triggerAnimation();
|
|
4404
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
4405
|
+
React.useImperativeHandle(ref, () => {
|
|
4406
|
+
isControlledRef.current = true;
|
|
4407
|
+
return {
|
|
4408
|
+
startAnimation: () => controls.start('animate'),
|
|
4409
|
+
stopAnimation: () => controls.start('normal'),
|
|
4410
|
+
};
|
|
4411
|
+
});
|
|
4412
|
+
const handleMouseEnter = (e) => {
|
|
4413
|
+
if (!isControlledRef.current && hoverable)
|
|
4414
|
+
triggerAnimation();
|
|
4415
|
+
onMouseEnter?.(e);
|
|
4416
|
+
};
|
|
4417
|
+
const handleMouseLeave = (e) => {
|
|
4418
|
+
if (!isControlledRef.current && hoverable)
|
|
4419
|
+
controls.start('normal');
|
|
4420
|
+
onMouseLeave?.(e);
|
|
4421
|
+
};
|
|
4422
|
+
const handleClick = (e) => {
|
|
4423
|
+
if (animateOnClick)
|
|
4424
|
+
triggerAnimation();
|
|
4425
|
+
onClick?.(e);
|
|
4426
|
+
};
|
|
4427
|
+
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", 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$h, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.rect, { width: "6", height: "10", x: "14", y: "7", rx: "2", variants: pathVariants$h, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M10 2v20", variants: pathVariants$h, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M20 2v20", variants: pathVariants$h, initial: "normal", animate: controls })] }) }));
|
|
4428
|
+
});
|
|
4429
|
+
AlignHorizontalDistributeEnd.displayName = 'AlignHorizontalDistributeEnd';
|
|
4430
|
+
|
|
4431
|
+
function cn$m(...inputs) {
|
|
4432
|
+
return twMerge(clsx(inputs));
|
|
4433
|
+
}
|
|
4434
|
+
const pathVariants$g = {
|
|
4435
|
+
normal: {
|
|
4436
|
+
opacity: 1,
|
|
4437
|
+
pathLength: 1,
|
|
4438
|
+
pathOffset: 0,
|
|
4439
|
+
transition: { duration: 0.4 },
|
|
4440
|
+
},
|
|
4441
|
+
animate: {
|
|
4442
|
+
opacity: [0, 1],
|
|
4443
|
+
pathLength: [0, 1],
|
|
4444
|
+
pathOffset: [1, 0],
|
|
4445
|
+
transition: {
|
|
4446
|
+
duration: 0.6,
|
|
4447
|
+
ease: 'linear',
|
|
4448
|
+
},
|
|
4449
|
+
},
|
|
4450
|
+
};
|
|
4451
|
+
const AlignHorizontalDistributeStart = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
4452
|
+
const controls = framerMotion.useAnimation();
|
|
4453
|
+
const loopRef = React.useRef(loopOnHover);
|
|
4454
|
+
const isControlledRef = React.useRef(false);
|
|
4455
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
4456
|
+
await controls.start('animate');
|
|
4457
|
+
await controls.start('normal');
|
|
4458
|
+
if (loopRef.current)
|
|
4459
|
+
triggerAnimation();
|
|
4460
|
+
}, [controls]);
|
|
4461
|
+
React.useEffect(() => {
|
|
4462
|
+
loopRef.current = loopOnHover;
|
|
4463
|
+
}, [loopOnHover]);
|
|
4464
|
+
React.useEffect(() => {
|
|
4465
|
+
if (autoAnimateOnLoad)
|
|
4466
|
+
triggerAnimation();
|
|
4467
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
4468
|
+
React.useImperativeHandle(ref, () => {
|
|
4469
|
+
isControlledRef.current = true;
|
|
4470
|
+
return {
|
|
4471
|
+
startAnimation: () => controls.start('animate'),
|
|
4472
|
+
stopAnimation: () => controls.start('normal'),
|
|
4473
|
+
};
|
|
4474
|
+
});
|
|
4475
|
+
const handleMouseEnter = (e) => {
|
|
4476
|
+
if (!isControlledRef.current && hoverable)
|
|
4477
|
+
triggerAnimation();
|
|
4478
|
+
onMouseEnter?.(e);
|
|
4479
|
+
};
|
|
4480
|
+
const handleMouseLeave = (e) => {
|
|
4481
|
+
if (!isControlledRef.current && hoverable)
|
|
4482
|
+
controls.start('normal');
|
|
4483
|
+
onMouseLeave?.(e);
|
|
4484
|
+
};
|
|
4485
|
+
const handleClick = (e) => {
|
|
4486
|
+
if (animateOnClick)
|
|
4487
|
+
triggerAnimation();
|
|
4488
|
+
onClick?.(e);
|
|
4489
|
+
};
|
|
4490
|
+
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", 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$g, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.rect, { width: "6", height: "10", x: "14", y: "7", rx: "2", variants: pathVariants$g, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M4 2v20", variants: pathVariants$g, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M14 2v20", variants: pathVariants$g, initial: "normal", animate: controls })] }) }));
|
|
4491
|
+
});
|
|
4492
|
+
AlignHorizontalDistributeStart.displayName = 'AlignHorizontalDistributeStart';
|
|
4493
|
+
|
|
4494
|
+
function cn$l(...inputs) {
|
|
4495
|
+
return twMerge(clsx(inputs));
|
|
4496
|
+
}
|
|
4497
|
+
const pathVariants$f = {
|
|
4498
|
+
normal: {
|
|
4499
|
+
opacity: 1,
|
|
4500
|
+
pathLength: 1,
|
|
4501
|
+
pathOffset: 0,
|
|
4502
|
+
transition: { duration: 0.4 },
|
|
4503
|
+
},
|
|
4504
|
+
animate: {
|
|
4505
|
+
opacity: [0, 1],
|
|
4506
|
+
pathLength: [0, 1],
|
|
4507
|
+
pathOffset: [1, 0],
|
|
4508
|
+
transition: {
|
|
4509
|
+
duration: 0.6,
|
|
4510
|
+
ease: 'linear',
|
|
4511
|
+
},
|
|
4512
|
+
},
|
|
4513
|
+
};
|
|
4514
|
+
const AlignHorizontalJustifyCenter = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
4515
|
+
const controls = framerMotion.useAnimation();
|
|
4516
|
+
const loopRef = React.useRef(loopOnHover);
|
|
4517
|
+
const isControlledRef = React.useRef(false);
|
|
4518
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
4519
|
+
await controls.start('animate');
|
|
4520
|
+
await controls.start('normal');
|
|
4521
|
+
if (loopRef.current)
|
|
4522
|
+
triggerAnimation();
|
|
4523
|
+
}, [controls]);
|
|
4524
|
+
React.useEffect(() => {
|
|
4525
|
+
loopRef.current = loopOnHover;
|
|
4526
|
+
}, [loopOnHover]);
|
|
4527
|
+
React.useEffect(() => {
|
|
4528
|
+
if (autoAnimateOnLoad)
|
|
4529
|
+
triggerAnimation();
|
|
4530
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
4531
|
+
React.useImperativeHandle(ref, () => {
|
|
4532
|
+
isControlledRef.current = true;
|
|
4533
|
+
return {
|
|
4534
|
+
startAnimation: () => controls.start('animate'),
|
|
4535
|
+
stopAnimation: () => controls.start('normal'),
|
|
4536
|
+
};
|
|
4537
|
+
});
|
|
4538
|
+
const handleMouseEnter = (e) => {
|
|
4539
|
+
if (!isControlledRef.current && hoverable)
|
|
4540
|
+
triggerAnimation();
|
|
4541
|
+
onMouseEnter?.(e);
|
|
4542
|
+
};
|
|
4543
|
+
const handleMouseLeave = (e) => {
|
|
4544
|
+
if (!isControlledRef.current && hoverable)
|
|
4545
|
+
controls.start('normal');
|
|
4546
|
+
onMouseLeave?.(e);
|
|
4547
|
+
};
|
|
4548
|
+
const handleClick = (e) => {
|
|
4549
|
+
if (animateOnClick)
|
|
4550
|
+
triggerAnimation();
|
|
4551
|
+
onClick?.(e);
|
|
4552
|
+
};
|
|
4553
|
+
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: "6", height: "14", x: "2", y: "5", rx: "2", variants: pathVariants$f, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.rect, { width: "6", height: "10", x: "16", y: "7", rx: "2", variants: pathVariants$f, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M12 2v20", variants: pathVariants$f, initial: "normal", animate: controls })] }) }));
|
|
4554
|
+
});
|
|
4555
|
+
AlignHorizontalJustifyCenter.displayName = 'AlignHorizontalJustifyCenter';
|
|
4556
|
+
|
|
4557
|
+
function cn$k(...inputs) {
|
|
4558
|
+
return twMerge(clsx(inputs));
|
|
4559
|
+
}
|
|
4560
|
+
const pathVariants$e = {
|
|
4561
|
+
normal: {
|
|
4562
|
+
opacity: 1,
|
|
4563
|
+
pathLength: 1,
|
|
4564
|
+
pathOffset: 0,
|
|
4565
|
+
transition: { duration: 0.4 },
|
|
4566
|
+
},
|
|
4567
|
+
animate: {
|
|
4568
|
+
opacity: [0, 1],
|
|
4569
|
+
pathLength: [0, 1],
|
|
4570
|
+
pathOffset: [1, 0],
|
|
4571
|
+
transition: {
|
|
4572
|
+
duration: 0.6,
|
|
4573
|
+
ease: 'linear',
|
|
4574
|
+
},
|
|
4575
|
+
},
|
|
4576
|
+
};
|
|
4577
|
+
const AlignHorizontalJustifyEnd = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
4578
|
+
const controls = framerMotion.useAnimation();
|
|
4579
|
+
const loopRef = React.useRef(loopOnHover);
|
|
4580
|
+
const isControlledRef = React.useRef(false);
|
|
4581
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
4582
|
+
await controls.start('animate');
|
|
4583
|
+
await controls.start('normal');
|
|
4584
|
+
if (loopRef.current)
|
|
4585
|
+
triggerAnimation();
|
|
4586
|
+
}, [controls]);
|
|
4587
|
+
React.useEffect(() => {
|
|
4588
|
+
loopRef.current = loopOnHover;
|
|
4589
|
+
}, [loopOnHover]);
|
|
4590
|
+
React.useEffect(() => {
|
|
4591
|
+
if (autoAnimateOnLoad)
|
|
4592
|
+
triggerAnimation();
|
|
4593
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
4594
|
+
React.useImperativeHandle(ref, () => {
|
|
4595
|
+
isControlledRef.current = true;
|
|
4596
|
+
return {
|
|
4597
|
+
startAnimation: () => controls.start('animate'),
|
|
4598
|
+
stopAnimation: () => controls.start('normal'),
|
|
4599
|
+
};
|
|
4600
|
+
});
|
|
4601
|
+
const handleMouseEnter = (e) => {
|
|
4602
|
+
if (!isControlledRef.current && hoverable)
|
|
4603
|
+
triggerAnimation();
|
|
4604
|
+
onMouseEnter?.(e);
|
|
4605
|
+
};
|
|
4606
|
+
const handleMouseLeave = (e) => {
|
|
4607
|
+
if (!isControlledRef.current && hoverable)
|
|
4608
|
+
controls.start('normal');
|
|
4609
|
+
onMouseLeave?.(e);
|
|
4610
|
+
};
|
|
4611
|
+
const handleClick = (e) => {
|
|
4612
|
+
if (animateOnClick)
|
|
4613
|
+
triggerAnimation();
|
|
4614
|
+
onClick?.(e);
|
|
4615
|
+
};
|
|
4616
|
+
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: "6", height: "14", x: "2", y: "5", rx: "2", variants: pathVariants$e, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.rect, { width: "6", height: "10", x: "12", y: "7", rx: "2", variants: pathVariants$e, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M22 2v20", variants: pathVariants$e, initial: "normal", animate: controls })] }) }));
|
|
4617
|
+
});
|
|
4618
|
+
AlignHorizontalJustifyEnd.displayName = 'AlignHorizontalJustifyEnd';
|
|
4619
|
+
|
|
4620
|
+
function cn$j(...inputs) {
|
|
4621
|
+
return twMerge(clsx(inputs));
|
|
4622
|
+
}
|
|
4623
|
+
const pathVariants$d = {
|
|
4624
|
+
normal: {
|
|
4625
|
+
opacity: 1,
|
|
4626
|
+
pathLength: 1,
|
|
4627
|
+
pathOffset: 0,
|
|
4628
|
+
transition: { duration: 0.4 },
|
|
4629
|
+
},
|
|
4630
|
+
animate: {
|
|
4631
|
+
opacity: [0, 1],
|
|
4632
|
+
pathLength: [0, 1],
|
|
4633
|
+
pathOffset: [1, 0],
|
|
4634
|
+
transition: {
|
|
4635
|
+
duration: 0.6,
|
|
4636
|
+
ease: 'linear',
|
|
4637
|
+
},
|
|
4638
|
+
},
|
|
4639
|
+
};
|
|
4640
|
+
const AlignHorizontalJustifyStart = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
4641
|
+
const controls = framerMotion.useAnimation();
|
|
4642
|
+
const loopRef = React.useRef(loopOnHover);
|
|
4643
|
+
const isControlledRef = React.useRef(false);
|
|
4644
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
4645
|
+
await controls.start('animate');
|
|
4646
|
+
await controls.start('normal');
|
|
4647
|
+
if (loopRef.current)
|
|
4648
|
+
triggerAnimation();
|
|
4649
|
+
}, [controls]);
|
|
4650
|
+
React.useEffect(() => {
|
|
4651
|
+
loopRef.current = loopOnHover;
|
|
4652
|
+
}, [loopOnHover]);
|
|
4653
|
+
React.useEffect(() => {
|
|
4654
|
+
if (autoAnimateOnLoad)
|
|
4655
|
+
triggerAnimation();
|
|
4656
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
4657
|
+
React.useImperativeHandle(ref, () => {
|
|
4658
|
+
isControlledRef.current = true;
|
|
4659
|
+
return {
|
|
4660
|
+
startAnimation: () => controls.start('animate'),
|
|
4661
|
+
stopAnimation: () => controls.start('normal'),
|
|
4662
|
+
};
|
|
4663
|
+
});
|
|
4664
|
+
const handleMouseEnter = (e) => {
|
|
4665
|
+
if (!isControlledRef.current && hoverable)
|
|
4666
|
+
triggerAnimation();
|
|
4667
|
+
onMouseEnter?.(e);
|
|
4668
|
+
};
|
|
4669
|
+
const handleMouseLeave = (e) => {
|
|
4670
|
+
if (!isControlledRef.current && hoverable)
|
|
4671
|
+
controls.start('normal');
|
|
4672
|
+
onMouseLeave?.(e);
|
|
4673
|
+
};
|
|
4674
|
+
const handleClick = (e) => {
|
|
4675
|
+
if (animateOnClick)
|
|
4676
|
+
triggerAnimation();
|
|
4677
|
+
onClick?.(e);
|
|
4678
|
+
};
|
|
4679
|
+
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.rect, { width: "6", height: "14", x: "6", y: "5", rx: "2", variants: pathVariants$d, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.rect, { width: "6", height: "10", x: "16", y: "7", rx: "2", variants: pathVariants$d, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M2 2v20", variants: pathVariants$d, initial: "normal", animate: controls })] }) }));
|
|
4680
|
+
});
|
|
4681
|
+
AlignHorizontalJustifyStart.displayName = 'AlignHorizontalJustifyStart';
|
|
4682
|
+
|
|
4683
|
+
function cn$i(...inputs) {
|
|
4684
|
+
return twMerge(clsx(inputs));
|
|
4685
|
+
}
|
|
4686
|
+
const pathVariants$c = {
|
|
4687
|
+
normal: {
|
|
4688
|
+
opacity: 1,
|
|
4689
|
+
pathLength: 1,
|
|
4690
|
+
pathOffset: 0,
|
|
4691
|
+
transition: { duration: 0.4 },
|
|
4692
|
+
},
|
|
4693
|
+
animate: {
|
|
4694
|
+
opacity: [0, 1],
|
|
4695
|
+
pathLength: [0, 1],
|
|
4696
|
+
pathOffset: [1, 0],
|
|
4697
|
+
transition: {
|
|
4698
|
+
duration: 0.6,
|
|
4699
|
+
ease: 'linear',
|
|
4700
|
+
},
|
|
4701
|
+
},
|
|
4702
|
+
};
|
|
4703
|
+
const AlignHorizontalSpaceAround = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
4704
|
+
const controls = framerMotion.useAnimation();
|
|
4705
|
+
const loopRef = React.useRef(loopOnHover);
|
|
4706
|
+
const isControlledRef = React.useRef(false);
|
|
4707
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
4708
|
+
await controls.start('animate');
|
|
4709
|
+
await controls.start('normal');
|
|
4710
|
+
if (loopRef.current)
|
|
4711
|
+
triggerAnimation();
|
|
4712
|
+
}, [controls]);
|
|
4713
|
+
React.useEffect(() => {
|
|
4714
|
+
loopRef.current = loopOnHover;
|
|
4715
|
+
}, [loopOnHover]);
|
|
4716
|
+
React.useEffect(() => {
|
|
4717
|
+
if (autoAnimateOnLoad)
|
|
4718
|
+
triggerAnimation();
|
|
4719
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
4720
|
+
React.useImperativeHandle(ref, () => {
|
|
4721
|
+
isControlledRef.current = true;
|
|
4722
|
+
return {
|
|
4723
|
+
startAnimation: () => controls.start('animate'),
|
|
4724
|
+
stopAnimation: () => controls.start('normal'),
|
|
4725
|
+
};
|
|
4726
|
+
});
|
|
4727
|
+
const handleMouseEnter = (e) => {
|
|
4728
|
+
if (!isControlledRef.current && hoverable)
|
|
4729
|
+
triggerAnimation();
|
|
4730
|
+
onMouseEnter?.(e);
|
|
4731
|
+
};
|
|
4732
|
+
const handleMouseLeave = (e) => {
|
|
4733
|
+
if (!isControlledRef.current && hoverable)
|
|
4734
|
+
controls.start('normal');
|
|
4735
|
+
onMouseLeave?.(e);
|
|
4736
|
+
};
|
|
4737
|
+
const handleClick = (e) => {
|
|
4738
|
+
if (animateOnClick)
|
|
4739
|
+
triggerAnimation();
|
|
4740
|
+
onClick?.(e);
|
|
4741
|
+
};
|
|
4742
|
+
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.rect, { width: "6", height: "10", x: "9", y: "7", rx: "2", variants: pathVariants$c, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M4 22V2", variants: pathVariants$c, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M20 22V2", variants: pathVariants$c, initial: "normal", animate: controls })] }) }));
|
|
4743
|
+
});
|
|
4744
|
+
AlignHorizontalSpaceAround.displayName = 'AlignHorizontalSpaceAround';
|
|
4745
|
+
|
|
4746
|
+
function cn$h(...inputs) {
|
|
4747
|
+
return twMerge(clsx(inputs));
|
|
4748
|
+
}
|
|
4749
|
+
const pathVariants$b = {
|
|
4750
|
+
normal: {
|
|
4751
|
+
opacity: 1,
|
|
4752
|
+
pathLength: 1,
|
|
4753
|
+
pathOffset: 0,
|
|
4754
|
+
transition: { duration: 0.4 },
|
|
4755
|
+
},
|
|
4756
|
+
animate: {
|
|
4757
|
+
opacity: [0, 1],
|
|
4758
|
+
pathLength: [0, 1],
|
|
4759
|
+
pathOffset: [1, 0],
|
|
4760
|
+
transition: {
|
|
4761
|
+
duration: 0.6,
|
|
4762
|
+
ease: 'linear',
|
|
4763
|
+
},
|
|
4764
|
+
},
|
|
4765
|
+
};
|
|
4766
|
+
const AlignHorizontalSpaceBetween = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
4767
|
+
const controls = framerMotion.useAnimation();
|
|
4768
|
+
const loopRef = React.useRef(loopOnHover);
|
|
4769
|
+
const isControlledRef = React.useRef(false);
|
|
4770
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
4771
|
+
await controls.start('animate');
|
|
4772
|
+
await controls.start('normal');
|
|
4773
|
+
if (loopRef.current)
|
|
4774
|
+
triggerAnimation();
|
|
4775
|
+
}, [controls]);
|
|
4776
|
+
React.useEffect(() => {
|
|
4777
|
+
loopRef.current = loopOnHover;
|
|
4778
|
+
}, [loopOnHover]);
|
|
4779
|
+
React.useEffect(() => {
|
|
4780
|
+
if (autoAnimateOnLoad)
|
|
4781
|
+
triggerAnimation();
|
|
4782
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
4783
|
+
React.useImperativeHandle(ref, () => {
|
|
4784
|
+
isControlledRef.current = true;
|
|
4785
|
+
return {
|
|
4786
|
+
startAnimation: () => controls.start('animate'),
|
|
4787
|
+
stopAnimation: () => controls.start('normal'),
|
|
4788
|
+
};
|
|
4789
|
+
});
|
|
4790
|
+
const handleMouseEnter = (e) => {
|
|
4791
|
+
if (!isControlledRef.current && hoverable)
|
|
4792
|
+
triggerAnimation();
|
|
4793
|
+
onMouseEnter?.(e);
|
|
4794
|
+
};
|
|
4795
|
+
const handleMouseLeave = (e) => {
|
|
4796
|
+
if (!isControlledRef.current && hoverable)
|
|
4797
|
+
controls.start('normal');
|
|
4798
|
+
onMouseLeave?.(e);
|
|
4799
|
+
};
|
|
4800
|
+
const handleClick = (e) => {
|
|
4801
|
+
if (animateOnClick)
|
|
4802
|
+
triggerAnimation();
|
|
4803
|
+
onClick?.(e);
|
|
4804
|
+
};
|
|
4805
|
+
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.rect, { width: "6", height: "14", x: "3", y: "5", rx: "2", variants: pathVariants$b, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.rect, { width: "6", height: "10", x: "15", y: "7", rx: "2", variants: pathVariants$b, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M3 2v20", variants: pathVariants$b, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M21 2v20", variants: pathVariants$b, initial: "normal", animate: controls })] }) }));
|
|
4806
|
+
});
|
|
4807
|
+
AlignHorizontalSpaceBetween.displayName = 'AlignHorizontalSpaceBetween';
|
|
4808
|
+
|
|
4809
|
+
function cn$g(...inputs) {
|
|
4810
|
+
return twMerge(clsx(inputs));
|
|
4811
|
+
}
|
|
4812
|
+
const pathVariants$a = {
|
|
4813
|
+
normal: {
|
|
4814
|
+
opacity: 1,
|
|
4815
|
+
pathLength: 1,
|
|
4816
|
+
pathOffset: 0,
|
|
4817
|
+
transition: { duration: 0.4 },
|
|
4818
|
+
},
|
|
4819
|
+
animate: {
|
|
4820
|
+
opacity: [0, 1],
|
|
4821
|
+
pathLength: [0, 1],
|
|
4822
|
+
pathOffset: [1, 0],
|
|
4823
|
+
transition: {
|
|
4824
|
+
duration: 0.6,
|
|
4825
|
+
ease: 'linear',
|
|
4826
|
+
},
|
|
4827
|
+
},
|
|
4828
|
+
};
|
|
4829
|
+
const AlignJustify = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
4830
|
+
const controls = framerMotion.useAnimation();
|
|
4831
|
+
const loopRef = React.useRef(loopOnHover);
|
|
4832
|
+
const isControlledRef = React.useRef(false);
|
|
4833
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
4834
|
+
await controls.start('animate');
|
|
4835
|
+
await controls.start('normal');
|
|
4836
|
+
if (loopRef.current)
|
|
4837
|
+
triggerAnimation();
|
|
4838
|
+
}, [controls]);
|
|
4839
|
+
React.useEffect(() => {
|
|
4840
|
+
loopRef.current = loopOnHover;
|
|
4841
|
+
}, [loopOnHover]);
|
|
4842
|
+
React.useEffect(() => {
|
|
4843
|
+
if (autoAnimateOnLoad)
|
|
4844
|
+
triggerAnimation();
|
|
4845
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
4846
|
+
React.useImperativeHandle(ref, () => {
|
|
4847
|
+
isControlledRef.current = true;
|
|
4848
|
+
return {
|
|
4849
|
+
startAnimation: () => controls.start('animate'),
|
|
4850
|
+
stopAnimation: () => controls.start('normal'),
|
|
4851
|
+
};
|
|
4852
|
+
});
|
|
4853
|
+
const handleMouseEnter = (e) => {
|
|
4854
|
+
if (!isControlledRef.current && hoverable)
|
|
4855
|
+
triggerAnimation();
|
|
4856
|
+
onMouseEnter?.(e);
|
|
4857
|
+
};
|
|
4858
|
+
const handleMouseLeave = (e) => {
|
|
4859
|
+
if (!isControlledRef.current && hoverable)
|
|
4860
|
+
controls.start('normal');
|
|
4861
|
+
onMouseLeave?.(e);
|
|
4862
|
+
};
|
|
4863
|
+
const handleClick = (e) => {
|
|
4864
|
+
if (animateOnClick)
|
|
4865
|
+
triggerAnimation();
|
|
4866
|
+
onClick?.(e);
|
|
4867
|
+
};
|
|
4868
|
+
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: "M3 12h18", variants: pathVariants$a, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M3 18h18", variants: pathVariants$a, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M3 6h18", variants: pathVariants$a, initial: "normal", animate: controls })] }) }));
|
|
4869
|
+
});
|
|
4870
|
+
AlignJustify.displayName = 'AlignJustify';
|
|
4871
|
+
|
|
4872
|
+
function cn$f(...inputs) {
|
|
4873
|
+
return twMerge(clsx(inputs));
|
|
4874
|
+
}
|
|
4875
|
+
const pathVariants$9 = {
|
|
4876
|
+
normal: (i) => ({
|
|
4877
|
+
pathLength: 1,
|
|
4878
|
+
pathOffset: 0,
|
|
4879
|
+
opacity: 1,
|
|
4880
|
+
transition: {
|
|
4881
|
+
duration: 0.4,
|
|
4882
|
+
delay: i * 0.2,
|
|
4883
|
+
},
|
|
4884
|
+
}),
|
|
4885
|
+
animate: (i) => ({
|
|
4886
|
+
pathLength: [0, 1],
|
|
4887
|
+
pathOffset: [1, 0],
|
|
4888
|
+
opacity: [0, 1],
|
|
4889
|
+
transition: {
|
|
4890
|
+
duration: 0.7,
|
|
4891
|
+
ease: 'easeInOut',
|
|
4892
|
+
delay: i * 0.2,
|
|
4893
|
+
},
|
|
4894
|
+
}),
|
|
4895
|
+
};
|
|
4896
|
+
const AlignLeft = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
4897
|
+
const controls = framerMotion.useAnimation();
|
|
4898
|
+
const loopRef = React.useRef(loopOnHover);
|
|
4899
|
+
const isControlledRef = React.useRef(false);
|
|
4900
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
4901
|
+
await controls.start((i) => pathVariants$9.animate(i));
|
|
4902
|
+
await controls.start((i) => pathVariants$9.normal(i));
|
|
4903
|
+
if (loopRef.current)
|
|
4904
|
+
triggerAnimation();
|
|
4905
|
+
}, [controls]);
|
|
4906
|
+
React.useEffect(() => {
|
|
4907
|
+
loopRef.current = loopOnHover;
|
|
4908
|
+
}, [loopOnHover]);
|
|
4909
|
+
React.useEffect(() => {
|
|
4910
|
+
if (autoAnimateOnLoad)
|
|
4911
|
+
triggerAnimation();
|
|
4912
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
4913
|
+
React.useImperativeHandle(ref, () => {
|
|
4914
|
+
isControlledRef.current = true;
|
|
4915
|
+
return {
|
|
4916
|
+
startAnimation: () => controls.start((i) => pathVariants$9.animate(i)),
|
|
4917
|
+
stopAnimation: () => controls.start((i) => pathVariants$9.normal(i)),
|
|
4918
|
+
};
|
|
4919
|
+
}, [controls]);
|
|
4920
|
+
const handleMouseEnter = (e) => {
|
|
4921
|
+
if (!isControlledRef.current && hoverable)
|
|
4922
|
+
triggerAnimation();
|
|
4923
|
+
onMouseEnter?.(e);
|
|
4924
|
+
};
|
|
4925
|
+
const handleMouseLeave = (e) => {
|
|
4926
|
+
if (!isControlledRef.current && hoverable)
|
|
4927
|
+
controls.start((i) => pathVariants$9.normal(i));
|
|
4928
|
+
onMouseLeave?.(e);
|
|
4929
|
+
};
|
|
4930
|
+
const handleClick = (e) => {
|
|
4931
|
+
if (animateOnClick)
|
|
4932
|
+
triggerAnimation();
|
|
4933
|
+
onClick?.(e);
|
|
4934
|
+
};
|
|
4935
|
+
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: "M21 6H3", variants: pathVariants$9, custom: 0, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M15 12H3", variants: pathVariants$9, custom: 1, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M17 18H3", variants: pathVariants$9, custom: 2, animate: controls, initial: "normal" })] }) }));
|
|
4936
|
+
});
|
|
4937
|
+
AlignLeft.displayName = 'AlignLeft';
|
|
4938
|
+
|
|
4939
|
+
function cn$e(...inputs) {
|
|
4940
|
+
return twMerge(clsx(inputs));
|
|
4941
|
+
}
|
|
4942
|
+
const pathVariants$8 = {
|
|
4943
|
+
normal: (i) => ({
|
|
4944
|
+
pathLength: 1,
|
|
4945
|
+
pathOffset: 0,
|
|
4946
|
+
opacity: 1,
|
|
4947
|
+
transition: {
|
|
4948
|
+
duration: 0.3,
|
|
4949
|
+
delay: i * 0.16,
|
|
4950
|
+
},
|
|
4951
|
+
}),
|
|
4952
|
+
animate: (i) => ({
|
|
4953
|
+
pathLength: [0, 1],
|
|
4954
|
+
pathOffset: [1, 0],
|
|
4955
|
+
opacity: [0, 1],
|
|
4956
|
+
transition: {
|
|
4957
|
+
duration: 0.2,
|
|
4958
|
+
ease: 'easeInOut',
|
|
4959
|
+
delay: i * 0.16
|
|
4960
|
+
},
|
|
4961
|
+
}),
|
|
4962
|
+
};
|
|
4963
|
+
const AlignRight = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
4964
|
+
const controls = framerMotion.useAnimation();
|
|
4965
|
+
const loopRef = React.useRef(loopOnHover);
|
|
4966
|
+
const isControlledRef = React.useRef(false);
|
|
4967
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
4968
|
+
await controls.start('animate');
|
|
4969
|
+
await controls.start('normal');
|
|
4970
|
+
if (loopRef.current)
|
|
4971
|
+
triggerAnimation();
|
|
4972
|
+
}, [controls]);
|
|
4973
|
+
React.useEffect(() => {
|
|
4974
|
+
loopRef.current = loopOnHover;
|
|
4975
|
+
}, [loopOnHover]);
|
|
4976
|
+
React.useEffect(() => {
|
|
4977
|
+
if (autoAnimateOnLoad)
|
|
4978
|
+
triggerAnimation();
|
|
4979
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
4980
|
+
React.useImperativeHandle(ref, () => {
|
|
4981
|
+
isControlledRef.current = true;
|
|
4982
|
+
return {
|
|
4983
|
+
startAnimation: () => controls.start('animate'),
|
|
4984
|
+
stopAnimation: () => controls.start('normal'),
|
|
4985
|
+
};
|
|
4986
|
+
}, [controls]);
|
|
4987
|
+
const handleMouseEnter = (e) => {
|
|
4988
|
+
if (!isControlledRef.current && hoverable)
|
|
4989
|
+
triggerAnimation();
|
|
4990
|
+
onMouseEnter?.(e);
|
|
4991
|
+
};
|
|
4992
|
+
const handleMouseLeave = (e) => {
|
|
4993
|
+
if (!isControlledRef.current && hoverable)
|
|
4994
|
+
controls.start('normal');
|
|
4995
|
+
onMouseLeave?.(e);
|
|
4996
|
+
};
|
|
4997
|
+
const handleClick = (e) => {
|
|
4998
|
+
if (animateOnClick)
|
|
4999
|
+
triggerAnimation();
|
|
5000
|
+
onClick?.(e);
|
|
5001
|
+
};
|
|
5002
|
+
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: "M3 6H21", variants: pathVariants$8, custom: 0, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M9 12H21", variants: pathVariants$8, custom: 1, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M7 18H21", variants: pathVariants$8, custom: 2, animate: controls, initial: "normal" })] }) }));
|
|
5003
|
+
});
|
|
5004
|
+
AlignRight.displayName = 'AlignRight';
|
|
5005
|
+
|
|
5006
|
+
function cn$d(...inputs) {
|
|
5007
|
+
return twMerge(clsx(inputs));
|
|
5008
|
+
}
|
|
5009
|
+
const pathVariants$7 = {
|
|
5010
|
+
normal: (i) => ({
|
|
5011
|
+
pathLength: 1,
|
|
5012
|
+
opacity: 1,
|
|
5013
|
+
transition: {
|
|
5014
|
+
duration: 0.4,
|
|
5015
|
+
delay: i * 0.3,
|
|
5016
|
+
},
|
|
5017
|
+
}),
|
|
5018
|
+
animate: (i) => ({
|
|
5019
|
+
pathLength: [0, 1],
|
|
5020
|
+
opacity: [0, 1],
|
|
5021
|
+
transition: {
|
|
5022
|
+
duration: 0.6,
|
|
5023
|
+
ease: 'easeInOut',
|
|
5024
|
+
delay: i * 0.3,
|
|
5025
|
+
},
|
|
5026
|
+
}),
|
|
5027
|
+
};
|
|
5028
|
+
const rectVariants$5 = {
|
|
5029
|
+
normal: (i) => ({
|
|
5030
|
+
scaleY: 1,
|
|
5031
|
+
opacity: 1,
|
|
5032
|
+
transition: {
|
|
5033
|
+
duration: 0.3,
|
|
5034
|
+
delay: i * 0.3 + 0.3,
|
|
5035
|
+
},
|
|
5036
|
+
}),
|
|
5037
|
+
animate: (i) => ({
|
|
5038
|
+
scaleY: [0, 1],
|
|
5039
|
+
opacity: [0, 1],
|
|
5040
|
+
originY: 0,
|
|
5041
|
+
transition: {
|
|
5042
|
+
duration: 0.6,
|
|
5043
|
+
ease: 'easeOut',
|
|
5044
|
+
delay: i * 0.4 + 0.1,
|
|
5045
|
+
},
|
|
5046
|
+
}),
|
|
5047
|
+
};
|
|
5048
|
+
const AlignStartHorizontal = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
5049
|
+
const controls = framerMotion.useAnimation();
|
|
5050
|
+
const loopRef = React.useRef(loopOnHover);
|
|
5051
|
+
const isControlledRef = React.useRef(false);
|
|
5052
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
5053
|
+
await controls.start((i) => i < 1 ? pathVariants$7.animate(i) : rectVariants$5.animate(i - 1));
|
|
5054
|
+
await controls.start((i) => i < 1 ? pathVariants$7.normal(i) : rectVariants$5.normal(i - 1));
|
|
5055
|
+
if (loopRef.current)
|
|
5056
|
+
triggerAnimation();
|
|
5057
|
+
}, [controls]);
|
|
5058
|
+
React.useEffect(() => {
|
|
5059
|
+
loopRef.current = loopOnHover;
|
|
5060
|
+
}, [loopOnHover]);
|
|
5061
|
+
React.useEffect(() => {
|
|
5062
|
+
if (autoAnimateOnLoad)
|
|
5063
|
+
triggerAnimation();
|
|
5064
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
5065
|
+
React.useImperativeHandle(ref, () => {
|
|
5066
|
+
isControlledRef.current = true;
|
|
5067
|
+
return {
|
|
5068
|
+
startAnimation: () => controls.start((i) => i < 1 ? pathVariants$7.animate(i) : rectVariants$5.animate(i - 1)),
|
|
5069
|
+
stopAnimation: () => controls.start((i) => i < 1 ? pathVariants$7.normal(i) : rectVariants$5.normal(i - 1)),
|
|
5070
|
+
};
|
|
5071
|
+
}, [controls]);
|
|
5072
|
+
const handleMouseEnter = (e) => {
|
|
5073
|
+
if (!isControlledRef.current && hoverable)
|
|
5074
|
+
triggerAnimation();
|
|
5075
|
+
onMouseEnter?.(e);
|
|
5076
|
+
};
|
|
5077
|
+
const handleMouseLeave = (e) => {
|
|
5078
|
+
if (!isControlledRef.current && hoverable)
|
|
5079
|
+
controls.start((i) => i < 1 ? pathVariants$7.normal(i) : rectVariants$5.normal(i - 1));
|
|
5080
|
+
onMouseLeave?.(e);
|
|
5081
|
+
};
|
|
5082
|
+
const handleClick = (e) => {
|
|
5083
|
+
if (animateOnClick)
|
|
5084
|
+
triggerAnimation();
|
|
5085
|
+
onClick?.(e);
|
|
5086
|
+
};
|
|
5087
|
+
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: "M22 2H2", variants: pathVariants$7, 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
|
+
});
|
|
5089
|
+
AlignStartHorizontal.displayName = 'AlignStartHorizontal';
|
|
5090
|
+
|
|
5091
|
+
function cn$c(...inputs) {
|
|
5092
|
+
return twMerge(clsx(inputs));
|
|
5093
|
+
}
|
|
5094
|
+
const pathVariants$6 = {
|
|
5095
|
+
normal: (i) => ({
|
|
5096
|
+
pathLength: 1,
|
|
5097
|
+
opacity: 1,
|
|
5098
|
+
transition: {
|
|
5099
|
+
duration: 0.4,
|
|
5100
|
+
delay: i * 0.3,
|
|
5101
|
+
},
|
|
5102
|
+
}),
|
|
5103
|
+
animate: (i) => ({
|
|
5104
|
+
pathLength: [0, 1],
|
|
5105
|
+
opacity: [0, 1],
|
|
5106
|
+
transition: {
|
|
5107
|
+
duration: 0.6,
|
|
5108
|
+
ease: 'easeInOut',
|
|
5109
|
+
delay: i * 0.3,
|
|
5110
|
+
},
|
|
5111
|
+
}),
|
|
5112
|
+
};
|
|
5113
|
+
const rectVariants$4 = {
|
|
5114
|
+
normal: (i) => ({
|
|
5115
|
+
scaleX: 1,
|
|
5116
|
+
opacity: 1,
|
|
5117
|
+
transition: {
|
|
5118
|
+
duration: 0.3,
|
|
5119
|
+
delay: i * 0.3 + 0.3,
|
|
5120
|
+
},
|
|
5121
|
+
}),
|
|
5122
|
+
animate: (i) => ({
|
|
5123
|
+
scaleX: [0, 1],
|
|
5124
|
+
opacity: [0, 1],
|
|
5125
|
+
originX: 0,
|
|
5126
|
+
transition: {
|
|
5127
|
+
duration: 0.6,
|
|
5128
|
+
ease: 'easeOut',
|
|
5129
|
+
delay: i * 0.4 + 0.1,
|
|
5130
|
+
},
|
|
5131
|
+
}),
|
|
5132
|
+
};
|
|
5133
|
+
const AlignStartVertical = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
5134
|
+
const controls = framerMotion.useAnimation();
|
|
5135
|
+
const loopRef = React.useRef(loopOnHover);
|
|
5136
|
+
const isControlledRef = React.useRef(false);
|
|
5137
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
5138
|
+
await controls.start((i) => i < 1 ? pathVariants$6.animate(i) : rectVariants$4.animate(i - 1));
|
|
5139
|
+
await controls.start((i) => i < 1 ? pathVariants$6.normal(i) : rectVariants$4.normal(i - 1));
|
|
5140
|
+
if (loopRef.current)
|
|
5141
|
+
triggerAnimation();
|
|
5142
|
+
}, [controls]);
|
|
5143
|
+
React.useEffect(() => {
|
|
5144
|
+
loopRef.current = loopOnHover;
|
|
5145
|
+
}, [loopOnHover]);
|
|
5146
|
+
React.useEffect(() => {
|
|
5147
|
+
if (autoAnimateOnLoad)
|
|
5148
|
+
triggerAnimation();
|
|
5149
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
5150
|
+
React.useImperativeHandle(ref, () => {
|
|
5151
|
+
isControlledRef.current = true;
|
|
5152
|
+
return {
|
|
5153
|
+
startAnimation: () => controls.start((i) => i < 1 ? pathVariants$6.animate(i) : rectVariants$4.animate(i - 1)),
|
|
5154
|
+
stopAnimation: () => controls.start((i) => i < 1 ? pathVariants$6.normal(i) : rectVariants$4.normal(i - 1)),
|
|
5155
|
+
};
|
|
5156
|
+
}, [controls]);
|
|
5157
|
+
const handleMouseEnter = (e) => {
|
|
5158
|
+
if (!isControlledRef.current && hoverable)
|
|
5159
|
+
triggerAnimation();
|
|
5160
|
+
onMouseEnter?.(e);
|
|
5161
|
+
};
|
|
5162
|
+
const handleMouseLeave = (e) => {
|
|
5163
|
+
if (!isControlledRef.current && hoverable)
|
|
5164
|
+
controls.start((i) => i < 1 ? pathVariants$6.normal(i) : rectVariants$4.normal(i - 1));
|
|
5165
|
+
onMouseLeave?.(e);
|
|
5166
|
+
};
|
|
5167
|
+
const handleClick = (e) => {
|
|
5168
|
+
if (animateOnClick)
|
|
5169
|
+
triggerAnimation();
|
|
5170
|
+
onClick?.(e);
|
|
5171
|
+
};
|
|
5172
|
+
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: "M2 2v20", variants: pathVariants$6, 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
|
+
});
|
|
5174
|
+
AlignStartVertical.displayName = 'AlignStartVertical';
|
|
5175
|
+
|
|
5176
|
+
function cn$b(...inputs) {
|
|
5177
|
+
return twMerge(clsx(inputs));
|
|
5178
|
+
}
|
|
5179
|
+
const pathVariants$5 = {
|
|
5180
|
+
normal: {
|
|
5181
|
+
pathLength: 1,
|
|
5182
|
+
pathOffset: 0,
|
|
5183
|
+
opacity: 1,
|
|
5184
|
+
transition: {
|
|
5185
|
+
duration: 0.4,
|
|
5186
|
+
},
|
|
5187
|
+
},
|
|
5188
|
+
animate: {
|
|
5189
|
+
pathLength: [0, 1],
|
|
5190
|
+
pathOffset: [1, 0],
|
|
5191
|
+
opacity: [0, 1],
|
|
5192
|
+
transition: {
|
|
5193
|
+
duration: 0.7,
|
|
5194
|
+
ease: 'easeInOut',
|
|
5195
|
+
},
|
|
5196
|
+
},
|
|
5197
|
+
};
|
|
5198
|
+
const rectVariants$3 = {
|
|
5199
|
+
normal: {
|
|
5200
|
+
opacity: 1,
|
|
5201
|
+
scale: 1,
|
|
5202
|
+
transition: {
|
|
5203
|
+
duration: 0.4,
|
|
5204
|
+
},
|
|
5205
|
+
},
|
|
5206
|
+
animate: {
|
|
5207
|
+
opacity: [0, 1],
|
|
5208
|
+
scale: [0.8, 1],
|
|
5209
|
+
transition: {
|
|
5210
|
+
duration: 0.7,
|
|
5211
|
+
ease: 'easeInOut',
|
|
5212
|
+
},
|
|
5213
|
+
},
|
|
5214
|
+
};
|
|
5215
|
+
const AlignVerticalDistributeCenter = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
5216
|
+
const controls = framerMotion.useAnimation();
|
|
5217
|
+
const loopRef = React.useRef(loopOnHover);
|
|
5218
|
+
const isControlledRef = React.useRef(false);
|
|
5219
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
5220
|
+
await controls.start('animate');
|
|
5221
|
+
await controls.start('normal');
|
|
5222
|
+
if (loopRef.current)
|
|
5223
|
+
triggerAnimation();
|
|
5224
|
+
}, [controls]);
|
|
5225
|
+
React.useEffect(() => {
|
|
5226
|
+
loopRef.current = loopOnHover;
|
|
5227
|
+
}, [loopOnHover]);
|
|
5228
|
+
React.useEffect(() => {
|
|
5229
|
+
if (autoAnimateOnLoad)
|
|
5230
|
+
triggerAnimation();
|
|
5231
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
5232
|
+
React.useImperativeHandle(ref, () => {
|
|
5233
|
+
isControlledRef.current = true;
|
|
5234
|
+
return {
|
|
5235
|
+
startAnimation: () => controls.start('animate'),
|
|
5236
|
+
stopAnimation: () => controls.start('normal'),
|
|
5237
|
+
};
|
|
5238
|
+
});
|
|
5239
|
+
const handleMouseEnter = (e) => {
|
|
5240
|
+
if (!isControlledRef.current && hoverable)
|
|
5241
|
+
triggerAnimation();
|
|
5242
|
+
onMouseEnter?.(e);
|
|
5243
|
+
};
|
|
5244
|
+
const handleMouseLeave = (e) => {
|
|
5245
|
+
if (!isControlledRef.current && hoverable)
|
|
5246
|
+
controls.start('normal');
|
|
5247
|
+
onMouseLeave?.(e);
|
|
5248
|
+
};
|
|
5249
|
+
const handleClick = (e) => {
|
|
5250
|
+
if (animateOnClick)
|
|
5251
|
+
triggerAnimation();
|
|
5252
|
+
onClick?.(e);
|
|
5253
|
+
};
|
|
5254
|
+
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: "M22 17h-3", variants: pathVariants$5, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M22 7h-5", variants: pathVariants$5, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M5 17H2", variants: pathVariants$5, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M7 7H2", variants: pathVariants$5, 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
|
+
});
|
|
5256
|
+
AlignVerticalDistributeCenter.displayName = 'AlignVerticalDistributeCenter';
|
|
5257
|
+
|
|
5258
|
+
function cn$a(...inputs) {
|
|
5259
|
+
return twMerge(clsx(inputs));
|
|
5260
|
+
}
|
|
5261
|
+
const pathVariants$4 = {
|
|
5262
|
+
normal: {
|
|
5263
|
+
opacity: 1,
|
|
5264
|
+
pathLength: 1,
|
|
5265
|
+
pathOffset: 0,
|
|
5266
|
+
transition: { duration: 0.4 },
|
|
5267
|
+
},
|
|
5268
|
+
animate: {
|
|
5269
|
+
opacity: [0, 1],
|
|
5270
|
+
pathLength: [0, 1],
|
|
5271
|
+
pathOffset: [1, 0],
|
|
5272
|
+
transition: {
|
|
5273
|
+
duration: 0.6,
|
|
5274
|
+
ease: 'linear',
|
|
5275
|
+
},
|
|
5276
|
+
},
|
|
5277
|
+
};
|
|
5278
|
+
const AlignVerticalDistributeEnd = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
5279
|
+
const controls = framerMotion.useAnimation();
|
|
5280
|
+
const loopRef = React.useRef(loopOnHover);
|
|
5281
|
+
const isControlledRef = React.useRef(false);
|
|
5282
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
5283
|
+
await controls.start('animate');
|
|
5284
|
+
await controls.start('normal');
|
|
5285
|
+
if (loopRef.current)
|
|
5286
|
+
triggerAnimation();
|
|
5287
|
+
}, [controls]);
|
|
5288
|
+
React.useEffect(() => {
|
|
5289
|
+
loopRef.current = loopOnHover;
|
|
5290
|
+
}, [loopOnHover]);
|
|
5291
|
+
React.useEffect(() => {
|
|
5292
|
+
if (autoAnimateOnLoad)
|
|
5293
|
+
triggerAnimation();
|
|
5294
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
5295
|
+
React.useImperativeHandle(ref, () => {
|
|
5296
|
+
isControlledRef.current = true;
|
|
5297
|
+
return {
|
|
5298
|
+
startAnimation: () => controls.start('animate'),
|
|
5299
|
+
stopAnimation: () => controls.start('normal'),
|
|
5300
|
+
};
|
|
5301
|
+
});
|
|
5302
|
+
const handleMouseEnter = (e) => {
|
|
5303
|
+
if (!isControlledRef.current && hoverable)
|
|
5304
|
+
triggerAnimation();
|
|
5305
|
+
onMouseEnter?.(e);
|
|
5306
|
+
};
|
|
5307
|
+
const handleMouseLeave = (e) => {
|
|
5308
|
+
if (!isControlledRef.current && hoverable)
|
|
5309
|
+
controls.start('normal');
|
|
5310
|
+
onMouseLeave?.(e);
|
|
5311
|
+
};
|
|
5312
|
+
const handleClick = (e) => {
|
|
5313
|
+
if (animateOnClick)
|
|
5314
|
+
triggerAnimation();
|
|
5315
|
+
onClick?.(e);
|
|
5316
|
+
};
|
|
5317
|
+
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", 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$4, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.rect, { width: "10", height: "6", x: "7", y: "4", rx: "2", variants: pathVariants$4, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M2 20h20", variants: pathVariants$4, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M2 10h20", variants: pathVariants$4, initial: "normal", animate: controls })] }) }));
|
|
5318
|
+
});
|
|
5319
|
+
AlignVerticalDistributeEnd.displayName = 'AlignVerticalDistributeEnd';
|
|
5320
|
+
|
|
5321
|
+
function cn$9(...inputs) {
|
|
5322
|
+
return twMerge(clsx(inputs));
|
|
5323
|
+
}
|
|
5324
|
+
const pathVariants$3 = {
|
|
5325
|
+
normal: {
|
|
5326
|
+
opacity: 1,
|
|
5327
|
+
pathLength: 1,
|
|
5328
|
+
pathOffset: 0,
|
|
5329
|
+
transition: { duration: 0.4 },
|
|
5330
|
+
},
|
|
5331
|
+
animate: {
|
|
5332
|
+
opacity: [0, 1],
|
|
5333
|
+
pathLength: [0, 1],
|
|
5334
|
+
pathOffset: [1, 0],
|
|
5335
|
+
transition: {
|
|
5336
|
+
duration: 0.6,
|
|
5337
|
+
ease: 'linear',
|
|
5338
|
+
},
|
|
5339
|
+
},
|
|
5340
|
+
};
|
|
5341
|
+
const AlignVerticalDistributeStart = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
5342
|
+
const controls = framerMotion.useAnimation();
|
|
5343
|
+
const loopRef = React.useRef(loopOnHover);
|
|
5344
|
+
const isControlledRef = React.useRef(false);
|
|
5345
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
5346
|
+
await controls.start('animate');
|
|
5347
|
+
await controls.start('normal');
|
|
5348
|
+
if (loopRef.current)
|
|
5349
|
+
triggerAnimation();
|
|
5350
|
+
}, [controls]);
|
|
5351
|
+
React.useEffect(() => {
|
|
5352
|
+
loopRef.current = loopOnHover;
|
|
5353
|
+
}, [loopOnHover]);
|
|
5354
|
+
React.useEffect(() => {
|
|
5355
|
+
if (autoAnimateOnLoad)
|
|
5356
|
+
triggerAnimation();
|
|
5357
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
5358
|
+
React.useImperativeHandle(ref, () => {
|
|
5359
|
+
isControlledRef.current = true;
|
|
5360
|
+
return {
|
|
5361
|
+
startAnimation: () => controls.start('animate'),
|
|
5362
|
+
stopAnimation: () => controls.start('normal'),
|
|
5363
|
+
};
|
|
5364
|
+
});
|
|
5365
|
+
const handleMouseEnter = (e) => {
|
|
5366
|
+
if (!isControlledRef.current && hoverable)
|
|
5367
|
+
triggerAnimation();
|
|
5368
|
+
onMouseEnter?.(e);
|
|
5369
|
+
};
|
|
5370
|
+
const handleMouseLeave = (e) => {
|
|
5371
|
+
if (!isControlledRef.current && hoverable)
|
|
5372
|
+
controls.start('normal');
|
|
5373
|
+
onMouseLeave?.(e);
|
|
5374
|
+
};
|
|
5375
|
+
const handleClick = (e) => {
|
|
5376
|
+
if (animateOnClick)
|
|
5377
|
+
triggerAnimation();
|
|
5378
|
+
onClick?.(e);
|
|
5379
|
+
};
|
|
5380
|
+
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", 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$3, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.rect, { width: "10", height: "6", x: "7", y: "4", rx: "2", variants: pathVariants$3, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M2 14h20", variants: pathVariants$3, initial: "normal", animate: controls }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M2 4h20", variants: pathVariants$3, initial: "normal", animate: controls })] }) }));
|
|
5381
|
+
});
|
|
5382
|
+
AlignVerticalDistributeStart.displayName = 'AlignVerticalDistributeStart';
|
|
5383
|
+
|
|
5384
|
+
function cn$8(...inputs) {
|
|
5385
|
+
return twMerge(clsx(inputs));
|
|
5386
|
+
}
|
|
5387
|
+
// The line will animate first
|
|
5388
|
+
const lineVariants$2 = {
|
|
5389
|
+
normal: {
|
|
5390
|
+
opacity: 1,
|
|
5391
|
+
pathLength: 1,
|
|
5392
|
+
pathOffset: 0,
|
|
5393
|
+
transition: { duration: 0.4 },
|
|
5394
|
+
},
|
|
5395
|
+
animate: {
|
|
5396
|
+
opacity: [0, 1],
|
|
5397
|
+
pathLength: [0, 1],
|
|
5398
|
+
pathOffset: [1, 0],
|
|
5399
|
+
transition: {
|
|
5400
|
+
duration: 0.3,
|
|
5401
|
+
ease: 'easeInOut',
|
|
5402
|
+
},
|
|
5403
|
+
},
|
|
5404
|
+
};
|
|
5405
|
+
// Rectangles will animate after the line
|
|
5406
|
+
const rectVariants$2 = {
|
|
5407
|
+
normal: {
|
|
5408
|
+
opacity: 1,
|
|
5409
|
+
pathLength: 1,
|
|
5410
|
+
pathOffset: 0,
|
|
5411
|
+
transition: { duration: 0.4 },
|
|
5412
|
+
},
|
|
5413
|
+
animate: {
|
|
5414
|
+
opacity: [0, 1],
|
|
5415
|
+
pathLength: [0, 1],
|
|
5416
|
+
pathOffset: [1, 0],
|
|
5417
|
+
transition: {
|
|
5418
|
+
duration: 0.4,
|
|
5419
|
+
ease: 'easeInOut',
|
|
5420
|
+
delay: 0.3,
|
|
5421
|
+
},
|
|
5422
|
+
},
|
|
5423
|
+
};
|
|
5424
|
+
const AlignVerticalJustifyCenter = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
5425
|
+
const controls = framerMotion.useAnimation();
|
|
5426
|
+
const loopRef = React.useRef(loopOnHover);
|
|
5427
|
+
const isControlledRef = React.useRef(false);
|
|
5428
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
5429
|
+
await controls.start('animate');
|
|
5430
|
+
await controls.start('normal');
|
|
5431
|
+
if (loopRef.current)
|
|
5432
|
+
triggerAnimation();
|
|
5433
|
+
}, [controls]);
|
|
5434
|
+
React.useEffect(() => {
|
|
5435
|
+
loopRef.current = loopOnHover;
|
|
5436
|
+
}, [loopOnHover]);
|
|
5437
|
+
React.useEffect(() => {
|
|
5438
|
+
if (autoAnimateOnLoad)
|
|
5439
|
+
triggerAnimation();
|
|
5440
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
5441
|
+
React.useImperativeHandle(ref, () => {
|
|
5442
|
+
isControlledRef.current = true;
|
|
5443
|
+
return {
|
|
5444
|
+
startAnimation: () => controls.start('animate'),
|
|
5445
|
+
stopAnimation: () => controls.start('normal'),
|
|
5446
|
+
};
|
|
5447
|
+
});
|
|
5448
|
+
const handleMouseEnter = (e) => {
|
|
5449
|
+
if (!isControlledRef.current && hoverable)
|
|
5450
|
+
triggerAnimation();
|
|
5451
|
+
onMouseEnter?.(e);
|
|
5452
|
+
};
|
|
5453
|
+
const handleMouseLeave = (e) => {
|
|
5454
|
+
if (!isControlledRef.current && hoverable)
|
|
5455
|
+
controls.start('normal');
|
|
5456
|
+
onMouseLeave?.(e);
|
|
5457
|
+
};
|
|
5458
|
+
const handleClick = (e) => {
|
|
5459
|
+
if (animateOnClick)
|
|
5460
|
+
triggerAnimation();
|
|
5461
|
+
onClick?.(e);
|
|
5462
|
+
};
|
|
5463
|
+
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", 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
|
+
});
|
|
5465
|
+
AlignVerticalJustifyCenter.displayName = 'AlignVerticalJustifyCenter';
|
|
5466
|
+
|
|
5467
|
+
function cn$7(...inputs) {
|
|
5468
|
+
return twMerge(clsx(inputs));
|
|
5469
|
+
}
|
|
5470
|
+
const lineVariants$1 = {
|
|
5471
|
+
normal: {
|
|
5472
|
+
opacity: 1,
|
|
5473
|
+
pathLength: 1,
|
|
5474
|
+
pathOffset: 0,
|
|
5475
|
+
transition: { duration: 0.4 },
|
|
5476
|
+
},
|
|
5477
|
+
animate: {
|
|
5478
|
+
opacity: [0, 1],
|
|
5479
|
+
pathLength: [0, 1],
|
|
5480
|
+
pathOffset: [1, 0],
|
|
5481
|
+
transition: {
|
|
5482
|
+
duration: 0.18,
|
|
5483
|
+
ease: 'easeInOut',
|
|
5484
|
+
},
|
|
5485
|
+
},
|
|
5486
|
+
};
|
|
5487
|
+
const middleRectVariants = {
|
|
5488
|
+
normal: {
|
|
5489
|
+
opacity: 1,
|
|
5490
|
+
pathLength: 1,
|
|
5491
|
+
pathOffset: 0,
|
|
5492
|
+
transition: { duration: 0.4 },
|
|
5493
|
+
},
|
|
5494
|
+
animate: {
|
|
5495
|
+
opacity: [0, 1],
|
|
5496
|
+
pathLength: [0, 1],
|
|
5497
|
+
pathOffset: [1, 0],
|
|
5498
|
+
transition: {
|
|
5499
|
+
duration: 0.3,
|
|
5500
|
+
ease: 'easeInOut',
|
|
5501
|
+
delay: 0.2,
|
|
5502
|
+
},
|
|
5503
|
+
},
|
|
5504
|
+
};
|
|
5505
|
+
const topRectVariants$1 = {
|
|
5506
|
+
normal: {
|
|
5507
|
+
opacity: 1,
|
|
5508
|
+
pathLength: 1,
|
|
5509
|
+
pathOffset: 0,
|
|
5510
|
+
transition: { duration: 0.4 },
|
|
5511
|
+
},
|
|
5512
|
+
animate: {
|
|
5513
|
+
opacity: [0, 1],
|
|
5514
|
+
pathLength: [0, 1],
|
|
5515
|
+
pathOffset: [1, 0],
|
|
5516
|
+
transition: {
|
|
5517
|
+
duration: 0.2,
|
|
5518
|
+
ease: 'easeInOut',
|
|
5519
|
+
delay: 0.4,
|
|
5520
|
+
},
|
|
5521
|
+
},
|
|
5522
|
+
};
|
|
5523
|
+
const AlignVerticalJustifyEnd = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
5524
|
+
const controls = framerMotion.useAnimation();
|
|
5525
|
+
const loopRef = React.useRef(loopOnHover);
|
|
5526
|
+
const isControlledRef = React.useRef(false);
|
|
5527
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
5528
|
+
await controls.start('animate');
|
|
5529
|
+
await controls.start('normal');
|
|
5530
|
+
if (loopRef.current)
|
|
5531
|
+
triggerAnimation();
|
|
5532
|
+
}, [controls]);
|
|
5533
|
+
React.useEffect(() => {
|
|
5534
|
+
loopRef.current = loopOnHover;
|
|
5535
|
+
}, [loopOnHover]);
|
|
5536
|
+
React.useEffect(() => {
|
|
5537
|
+
if (autoAnimateOnLoad)
|
|
5538
|
+
triggerAnimation();
|
|
5539
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
5540
|
+
React.useImperativeHandle(ref, () => {
|
|
5541
|
+
isControlledRef.current = true;
|
|
5542
|
+
return {
|
|
5543
|
+
startAnimation: () => controls.start('animate'),
|
|
5544
|
+
stopAnimation: () => controls.start('normal'),
|
|
5545
|
+
};
|
|
5546
|
+
});
|
|
5547
|
+
const handleMouseEnter = (e) => {
|
|
5548
|
+
if (!isControlledRef.current && hoverable)
|
|
5549
|
+
triggerAnimation();
|
|
5550
|
+
onMouseEnter?.(e);
|
|
5551
|
+
};
|
|
5552
|
+
const handleMouseLeave = (e) => {
|
|
5553
|
+
if (!isControlledRef.current && hoverable)
|
|
5554
|
+
controls.start('normal');
|
|
5555
|
+
onMouseLeave?.(e);
|
|
5556
|
+
};
|
|
5557
|
+
const handleClick = (e) => {
|
|
5558
|
+
if (animateOnClick)
|
|
5559
|
+
triggerAnimation();
|
|
5560
|
+
onClick?.(e);
|
|
5561
|
+
};
|
|
5562
|
+
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", 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
|
+
});
|
|
5564
|
+
AlignVerticalJustifyEnd.displayName = 'AlignVerticalJustifyEnd';
|
|
5565
|
+
|
|
5566
|
+
function cn$6(...inputs) {
|
|
5567
|
+
return twMerge(clsx(inputs));
|
|
5568
|
+
}
|
|
5569
|
+
// Top line will animate first - 0.25 seconds
|
|
5570
|
+
const lineVariants = {
|
|
5571
|
+
normal: {
|
|
5572
|
+
opacity: 1,
|
|
5573
|
+
pathLength: 1,
|
|
5574
|
+
pathOffset: 0,
|
|
5575
|
+
transition: { duration: 0.3 },
|
|
5576
|
+
},
|
|
5577
|
+
animate: {
|
|
5578
|
+
opacity: [0, 1],
|
|
5579
|
+
pathLength: [0, 1],
|
|
5580
|
+
pathOffset: [1, 0],
|
|
5581
|
+
transition: {
|
|
5582
|
+
duration: 0.25,
|
|
5583
|
+
ease: 'easeOut',
|
|
5584
|
+
},
|
|
5585
|
+
},
|
|
5586
|
+
};
|
|
5587
|
+
// Middle rectangle animates second - 0.25 seconds (starting at 0.2s)
|
|
5588
|
+
const topRectVariants = {
|
|
5589
|
+
normal: {
|
|
5590
|
+
opacity: 1,
|
|
5591
|
+
pathLength: 1,
|
|
5592
|
+
pathOffset: 0,
|
|
5593
|
+
transition: { duration: 0.3 },
|
|
5594
|
+
},
|
|
5595
|
+
animate: {
|
|
5596
|
+
opacity: [0, 1],
|
|
5597
|
+
pathLength: [0, 1],
|
|
5598
|
+
pathOffset: [1, 0],
|
|
5599
|
+
transition: {
|
|
5600
|
+
duration: 0.25,
|
|
5601
|
+
ease: 'easeOut',
|
|
5602
|
+
delay: 0.2, // Slight overlap with first animation
|
|
5603
|
+
},
|
|
5604
|
+
},
|
|
5605
|
+
};
|
|
5606
|
+
// Bottom rectangle animates last - 0.25 seconds (starting at 0.45s)
|
|
5607
|
+
const bottomRectVariants = {
|
|
5608
|
+
normal: {
|
|
5609
|
+
opacity: 1,
|
|
5610
|
+
pathLength: 1,
|
|
5611
|
+
pathOffset: 0,
|
|
5612
|
+
transition: { duration: 0.3 },
|
|
5613
|
+
},
|
|
5614
|
+
animate: {
|
|
5615
|
+
opacity: [0, 1],
|
|
5616
|
+
pathLength: [0, 1],
|
|
5617
|
+
pathOffset: [1, 0],
|
|
5618
|
+
transition: {
|
|
5619
|
+
duration: 0.25,
|
|
5620
|
+
ease: 'easeOut',
|
|
5621
|
+
delay: 0.45, // Starts when middle rectangle is mostly done
|
|
5622
|
+
},
|
|
5623
|
+
},
|
|
5624
|
+
};
|
|
5625
|
+
const AlignVerticalJustifyStart = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
5626
|
+
const controls = framerMotion.useAnimation();
|
|
5627
|
+
const loopRef = React.useRef(loopOnHover);
|
|
5628
|
+
const isControlledRef = React.useRef(false);
|
|
5629
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
5630
|
+
await controls.start('animate');
|
|
5631
|
+
await controls.start('normal');
|
|
5632
|
+
if (loopRef.current)
|
|
5633
|
+
triggerAnimation();
|
|
5634
|
+
}, [controls]);
|
|
5635
|
+
React.useEffect(() => {
|
|
5636
|
+
loopRef.current = loopOnHover;
|
|
5637
|
+
}, [loopOnHover]);
|
|
5638
|
+
React.useEffect(() => {
|
|
5639
|
+
if (autoAnimateOnLoad)
|
|
5640
|
+
triggerAnimation();
|
|
5641
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
5642
|
+
React.useImperativeHandle(ref, () => {
|
|
5643
|
+
isControlledRef.current = true;
|
|
5644
|
+
return {
|
|
5645
|
+
startAnimation: () => controls.start('animate'),
|
|
5646
|
+
stopAnimation: () => controls.start('normal'),
|
|
5647
|
+
};
|
|
5648
|
+
});
|
|
5649
|
+
const handleMouseEnter = (e) => {
|
|
5650
|
+
if (!isControlledRef.current && hoverable)
|
|
5651
|
+
triggerAnimation();
|
|
5652
|
+
onMouseEnter?.(e);
|
|
5653
|
+
};
|
|
5654
|
+
const handleMouseLeave = (e) => {
|
|
5655
|
+
if (!isControlledRef.current && hoverable)
|
|
5656
|
+
controls.start('normal');
|
|
5657
|
+
onMouseLeave?.(e);
|
|
5658
|
+
};
|
|
5659
|
+
const handleClick = (e) => {
|
|
5660
|
+
if (animateOnClick)
|
|
5661
|
+
triggerAnimation();
|
|
5662
|
+
onClick?.(e);
|
|
5663
|
+
};
|
|
5664
|
+
return (jsxRuntime.jsx("div", { className: cn$6('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
|
+
});
|
|
5666
|
+
AlignVerticalJustifyStart.displayName = 'AlignVerticalJustifyStart';
|
|
5667
|
+
|
|
5668
|
+
function cn$5(...inputs) {
|
|
5669
|
+
return twMerge(clsx(inputs));
|
|
5670
|
+
}
|
|
5671
|
+
const linesVariants$1 = {
|
|
5672
|
+
normal: {
|
|
5673
|
+
opacity: 1,
|
|
5674
|
+
pathLength: 1,
|
|
5675
|
+
pathOffset: 0,
|
|
5676
|
+
transition: { duration: 0.4 },
|
|
5677
|
+
},
|
|
5678
|
+
animate: {
|
|
5679
|
+
opacity: [0, 1],
|
|
5680
|
+
pathLength: [0, 1],
|
|
5681
|
+
pathOffset: [1, 0],
|
|
5682
|
+
transition: {
|
|
5683
|
+
duration: 0.37,
|
|
5684
|
+
ease: 'easeInOut',
|
|
5685
|
+
},
|
|
5686
|
+
},
|
|
5687
|
+
};
|
|
5688
|
+
const rectVariants$1 = {
|
|
5689
|
+
normal: {
|
|
5690
|
+
opacity: 1,
|
|
5691
|
+
pathLength: 1,
|
|
5692
|
+
pathOffset: 0,
|
|
5693
|
+
transition: { duration: 0.4 },
|
|
5694
|
+
},
|
|
5695
|
+
animate: {
|
|
5696
|
+
opacity: [0, 1],
|
|
5697
|
+
pathLength: [0, 1],
|
|
5698
|
+
pathOffset: [1, 0],
|
|
5699
|
+
transition: {
|
|
5700
|
+
duration: 0.2,
|
|
5701
|
+
ease: 'easeInOut',
|
|
5702
|
+
delay: 0.33,
|
|
5703
|
+
},
|
|
5704
|
+
},
|
|
5705
|
+
};
|
|
5706
|
+
const AlignVerticalSpaceAround = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
5707
|
+
const controls = framerMotion.useAnimation();
|
|
5708
|
+
const loopRef = React.useRef(loopOnHover);
|
|
5709
|
+
const isControlledRef = React.useRef(false);
|
|
5710
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
5711
|
+
await controls.start('animate');
|
|
5712
|
+
await controls.start('normal');
|
|
5713
|
+
if (loopRef.current)
|
|
5714
|
+
triggerAnimation();
|
|
5715
|
+
}, [controls]);
|
|
5716
|
+
React.useEffect(() => {
|
|
5717
|
+
loopRef.current = loopOnHover;
|
|
5718
|
+
}, [loopOnHover]);
|
|
5719
|
+
React.useEffect(() => {
|
|
5720
|
+
if (autoAnimateOnLoad)
|
|
5721
|
+
triggerAnimation();
|
|
5722
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
5723
|
+
React.useImperativeHandle(ref, () => {
|
|
5724
|
+
isControlledRef.current = true;
|
|
5725
|
+
return {
|
|
5726
|
+
startAnimation: () => controls.start('animate'),
|
|
5727
|
+
stopAnimation: () => controls.start('normal'),
|
|
5728
|
+
};
|
|
5729
|
+
});
|
|
5730
|
+
const handleMouseEnter = (e) => {
|
|
5731
|
+
if (!isControlledRef.current && hoverable)
|
|
5732
|
+
triggerAnimation();
|
|
5733
|
+
onMouseEnter?.(e);
|
|
5734
|
+
};
|
|
5735
|
+
const handleMouseLeave = (e) => {
|
|
5736
|
+
if (!isControlledRef.current && hoverable)
|
|
5737
|
+
controls.start('normal');
|
|
5738
|
+
onMouseLeave?.(e);
|
|
5739
|
+
};
|
|
5740
|
+
const handleClick = (e) => {
|
|
5741
|
+
if (animateOnClick)
|
|
5742
|
+
triggerAnimation();
|
|
5743
|
+
onClick?.(e);
|
|
5744
|
+
};
|
|
5745
|
+
return (jsxRuntime.jsx("div", { className: cn$5('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
|
+
});
|
|
5747
|
+
AlignVerticalSpaceAround.displayName = 'AlignVerticalSpaceAround';
|
|
5748
|
+
|
|
5749
|
+
function cn$4(...inputs) {
|
|
5750
|
+
return twMerge(clsx(inputs));
|
|
5751
|
+
}
|
|
5752
|
+
const linesVariants = {
|
|
5753
|
+
normal: {
|
|
5754
|
+
opacity: 1,
|
|
5755
|
+
pathLength: 1,
|
|
5756
|
+
pathOffset: 0,
|
|
5757
|
+
transition: { duration: 0.4 },
|
|
5758
|
+
},
|
|
5759
|
+
animate: {
|
|
5760
|
+
opacity: [0, 1],
|
|
5761
|
+
pathLength: [0, 1],
|
|
5762
|
+
pathOffset: [1, 0],
|
|
5763
|
+
transition: {
|
|
5764
|
+
duration: 0.37,
|
|
5765
|
+
ease: 'easeInOut',
|
|
5766
|
+
},
|
|
5767
|
+
},
|
|
5768
|
+
};
|
|
5769
|
+
const rectVariants = {
|
|
5770
|
+
normal: {
|
|
5771
|
+
opacity: 1,
|
|
5772
|
+
pathLength: 1,
|
|
5773
|
+
pathOffset: 0,
|
|
5774
|
+
transition: { duration: 0.4 },
|
|
5775
|
+
},
|
|
5776
|
+
animate: {
|
|
5777
|
+
opacity: [0, 1],
|
|
5778
|
+
pathLength: [0, 1],
|
|
5779
|
+
pathOffset: [1, 0],
|
|
5780
|
+
transition: {
|
|
5781
|
+
duration: 0.2,
|
|
5782
|
+
ease: 'easeInOut',
|
|
5783
|
+
delay: 0.33,
|
|
5784
|
+
},
|
|
5785
|
+
},
|
|
5786
|
+
};
|
|
5787
|
+
const AlignVerticalSpaceBetween = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
5788
|
+
const controls = framerMotion.useAnimation();
|
|
5789
|
+
const loopRef = React.useRef(loopOnHover);
|
|
5790
|
+
const isControlledRef = React.useRef(false);
|
|
5791
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
5792
|
+
await controls.start('animate');
|
|
5793
|
+
await controls.start('normal');
|
|
5794
|
+
if (loopRef.current)
|
|
5795
|
+
triggerAnimation();
|
|
5796
|
+
}, [controls]);
|
|
5797
|
+
React.useEffect(() => {
|
|
5798
|
+
loopRef.current = loopOnHover;
|
|
5799
|
+
}, [loopOnHover]);
|
|
5800
|
+
React.useEffect(() => {
|
|
5801
|
+
if (autoAnimateOnLoad)
|
|
5802
|
+
triggerAnimation();
|
|
5803
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
5804
|
+
React.useImperativeHandle(ref, () => {
|
|
5805
|
+
isControlledRef.current = true;
|
|
5806
|
+
return {
|
|
5807
|
+
startAnimation: () => controls.start('animate'),
|
|
5808
|
+
stopAnimation: () => controls.start('normal'),
|
|
5809
|
+
};
|
|
5810
|
+
});
|
|
5811
|
+
const handleMouseEnter = (e) => {
|
|
5812
|
+
if (!isControlledRef.current && hoverable)
|
|
5813
|
+
triggerAnimation();
|
|
5814
|
+
onMouseEnter?.(e);
|
|
5815
|
+
};
|
|
5816
|
+
const handleMouseLeave = (e) => {
|
|
5817
|
+
if (!isControlledRef.current && hoverable)
|
|
5818
|
+
controls.start('normal');
|
|
5819
|
+
onMouseLeave?.(e);
|
|
5820
|
+
};
|
|
5821
|
+
const handleClick = (e) => {
|
|
5822
|
+
if (animateOnClick)
|
|
5823
|
+
triggerAnimation();
|
|
5824
|
+
onClick?.(e);
|
|
5825
|
+
};
|
|
5826
|
+
return (jsxRuntime.jsx("div", { className: cn$4('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
|
+
});
|
|
5828
|
+
AlignVerticalSpaceBetween.displayName = 'AlignVerticalSpaceBetween';
|
|
5829
|
+
|
|
5830
|
+
function cn$3(...inputs) {
|
|
5831
|
+
return twMerge(clsx(inputs));
|
|
5832
|
+
}
|
|
5833
|
+
const pathVariants$2 = {
|
|
5834
|
+
normal: (custom) => ({
|
|
5835
|
+
pathLength: 1,
|
|
5836
|
+
opacity: 1,
|
|
5837
|
+
pathOffset: 0,
|
|
5838
|
+
transition: {
|
|
5839
|
+
duration: 0.3,
|
|
5840
|
+
ease: 'easeInOut',
|
|
5841
|
+
delay: custom,
|
|
5842
|
+
},
|
|
5843
|
+
}),
|
|
5844
|
+
animate: (custom) => ({
|
|
5845
|
+
pathLength: [0, 1],
|
|
5846
|
+
opacity: [0, 1],
|
|
5847
|
+
pathOffset: [1, 0],
|
|
5848
|
+
transition: {
|
|
5849
|
+
duration: 0.6,
|
|
5850
|
+
ease: 'easeInOut',
|
|
5851
|
+
delay: custom,
|
|
5852
|
+
},
|
|
5853
|
+
}),
|
|
5854
|
+
};
|
|
5855
|
+
const Ampersand = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
5856
|
+
const controls = framerMotion.useAnimation();
|
|
5857
|
+
const loopRef = React.useRef(loopOnHover);
|
|
5858
|
+
const isControlledRef = React.useRef(false);
|
|
5859
|
+
// Imperative handle for external control
|
|
5860
|
+
React.useImperativeHandle(ref, () => {
|
|
5861
|
+
isControlledRef.current = true;
|
|
5862
|
+
return {
|
|
5863
|
+
startAnimation: () => controls.start('animate'),
|
|
5864
|
+
stopAnimation: () => controls.start('normal'),
|
|
5865
|
+
};
|
|
5866
|
+
});
|
|
5867
|
+
// Loop animation if loopOnHover is true
|
|
5868
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
5869
|
+
await controls.start('animate');
|
|
5870
|
+
await controls.start('normal');
|
|
5871
|
+
if (loopRef.current)
|
|
5872
|
+
triggerAnimation();
|
|
5873
|
+
}, [controls]);
|
|
5874
|
+
React.useEffect(() => {
|
|
5875
|
+
loopRef.current = loopOnHover;
|
|
5876
|
+
}, [loopOnHover]);
|
|
5877
|
+
React.useEffect(() => {
|
|
5878
|
+
if (autoAnimateOnLoad) {
|
|
5879
|
+
triggerAnimation();
|
|
5880
|
+
}
|
|
5881
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
5882
|
+
const handleMouseEnter = React.useCallback((e) => {
|
|
5883
|
+
if (hoverable && !isControlledRef.current) {
|
|
5884
|
+
triggerAnimation();
|
|
5885
|
+
}
|
|
5886
|
+
onMouseEnter?.(e);
|
|
5887
|
+
}, [hoverable, onMouseEnter, triggerAnimation]);
|
|
5888
|
+
const handleMouseLeave = React.useCallback((e) => {
|
|
5889
|
+
if (hoverable && !isControlledRef.current) {
|
|
5890
|
+
controls.start('normal');
|
|
5891
|
+
}
|
|
5892
|
+
onMouseLeave?.(e);
|
|
5893
|
+
}, [hoverable, onMouseLeave, controls]);
|
|
5894
|
+
const handleClick = React.useCallback((e) => {
|
|
5895
|
+
if (animateOnClick && !isControlledRef.current) {
|
|
5896
|
+
triggerAnimation();
|
|
5897
|
+
}
|
|
5898
|
+
onClick?.(e);
|
|
5899
|
+
}, [animateOnClick, onClick, triggerAnimation]);
|
|
5900
|
+
return (jsxRuntime.jsx("div", { className: cn$3(className), style: {
|
|
5901
|
+
width: size,
|
|
5902
|
+
height: size,
|
|
5903
|
+
display: 'inline-block',
|
|
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$2, initial: "normal", animate: controls, custom: 0 }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M16 12h3", variants: pathVariants$2, initial: "normal", animate: controls, custom: 0.2 })] }) }));
|
|
5906
|
+
});
|
|
5907
|
+
Ampersand.displayName = 'Ampersand';
|
|
5908
|
+
|
|
5909
|
+
function cn$2(...inputs) {
|
|
5910
|
+
return twMerge(clsx(inputs));
|
|
5911
|
+
}
|
|
5912
|
+
const pathVariants$1 = {
|
|
5913
|
+
normal: {
|
|
5914
|
+
pathLength: 1,
|
|
5915
|
+
pathOffset: 0,
|
|
5916
|
+
opacity: 1,
|
|
5917
|
+
transition: { duration: 0.4 },
|
|
5918
|
+
},
|
|
5919
|
+
animate: {
|
|
5920
|
+
pathLength: [0, 1],
|
|
5921
|
+
pathOffset: [1, 0],
|
|
5922
|
+
opacity: [0, 1],
|
|
5923
|
+
transition: {
|
|
5924
|
+
duration: 0.7,
|
|
5925
|
+
ease: 'easeInOut',
|
|
5926
|
+
},
|
|
5927
|
+
},
|
|
5928
|
+
};
|
|
5929
|
+
const Ampersands = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
5930
|
+
const controls = framerMotion.useAnimation();
|
|
5931
|
+
const loopRef = React.useRef(loopOnHover);
|
|
5932
|
+
const isControlledRef = React.useRef(false);
|
|
5933
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
5934
|
+
await controls.start('animate');
|
|
5935
|
+
await controls.start('normal');
|
|
5936
|
+
if (loopRef.current)
|
|
5937
|
+
triggerAnimation();
|
|
5938
|
+
}, [controls]);
|
|
5939
|
+
React.useEffect(() => {
|
|
5940
|
+
loopRef.current = loopOnHover;
|
|
5941
|
+
}, [loopOnHover]);
|
|
5942
|
+
React.useEffect(() => {
|
|
5943
|
+
if (autoAnimateOnLoad)
|
|
5944
|
+
triggerAnimation();
|
|
5945
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
5946
|
+
React.useImperativeHandle(ref, () => {
|
|
5947
|
+
isControlledRef.current = true;
|
|
5948
|
+
return {
|
|
5949
|
+
startAnimation: () => controls.start('animate'),
|
|
5950
|
+
stopAnimation: () => controls.start('normal'),
|
|
5951
|
+
};
|
|
5952
|
+
});
|
|
5953
|
+
const handleMouseEnter = (e) => {
|
|
5954
|
+
if (!isControlledRef.current && hoverable)
|
|
5955
|
+
triggerAnimation();
|
|
5956
|
+
onMouseEnter?.(e);
|
|
5957
|
+
};
|
|
5958
|
+
const handleMouseLeave = (e) => {
|
|
5959
|
+
if (!isControlledRef.current && hoverable)
|
|
5960
|
+
controls.start('normal');
|
|
5961
|
+
onMouseLeave?.(e);
|
|
5962
|
+
};
|
|
5963
|
+
const handleClick = (e) => {
|
|
5964
|
+
if (animateOnClick)
|
|
5965
|
+
triggerAnimation();
|
|
5966
|
+
onClick?.(e);
|
|
5967
|
+
};
|
|
5968
|
+
return (jsxRuntime.jsx("div", { className: cn$2('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$1, 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$1, animate: controls, initial: "normal" })] }) }));
|
|
5969
|
+
});
|
|
5970
|
+
Ampersands.displayName = 'Ampersands';
|
|
5971
|
+
|
|
5972
|
+
function cn$1(...inputs) {
|
|
5973
|
+
return twMerge(clsx(inputs));
|
|
5974
|
+
}
|
|
5975
|
+
const pathVariants = {
|
|
5976
|
+
normal: {
|
|
5977
|
+
pathLength: 1,
|
|
5978
|
+
pathOffset: 0,
|
|
5979
|
+
opacity: 1,
|
|
5980
|
+
transition: { duration: 0.4 },
|
|
5981
|
+
},
|
|
5982
|
+
animate: {
|
|
5983
|
+
pathLength: [0, 1],
|
|
5984
|
+
pathOffset: [1, 0],
|
|
5985
|
+
opacity: [0, 1],
|
|
5986
|
+
transition: {
|
|
5987
|
+
duration: 0.7,
|
|
5988
|
+
ease: 'easeInOut',
|
|
5989
|
+
},
|
|
5990
|
+
},
|
|
5991
|
+
};
|
|
5992
|
+
const Apple = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
5993
|
+
const controls = framerMotion.useAnimation();
|
|
5994
|
+
const loopRef = React.useRef(loopOnHover);
|
|
5995
|
+
const isControlledRef = React.useRef(false);
|
|
5996
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
5997
|
+
await controls.start('animate');
|
|
5998
|
+
await controls.start('normal');
|
|
5999
|
+
if (loopRef.current)
|
|
6000
|
+
triggerAnimation();
|
|
6001
|
+
}, [controls]);
|
|
6002
|
+
React.useEffect(() => {
|
|
6003
|
+
loopRef.current = loopOnHover;
|
|
6004
|
+
}, [loopOnHover]);
|
|
6005
|
+
React.useEffect(() => {
|
|
6006
|
+
if (autoAnimateOnLoad)
|
|
6007
|
+
triggerAnimation();
|
|
6008
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
6009
|
+
React.useImperativeHandle(ref, () => {
|
|
6010
|
+
isControlledRef.current = true;
|
|
6011
|
+
return {
|
|
6012
|
+
startAnimation: () => controls.start('animate'),
|
|
6013
|
+
stopAnimation: () => controls.start('normal'),
|
|
6014
|
+
};
|
|
6015
|
+
});
|
|
6016
|
+
const handleMouseEnter = (e) => {
|
|
6017
|
+
if (!isControlledRef.current && hoverable)
|
|
6018
|
+
triggerAnimation();
|
|
6019
|
+
onMouseEnter?.(e);
|
|
6020
|
+
};
|
|
6021
|
+
const handleMouseLeave = (e) => {
|
|
6022
|
+
if (!isControlledRef.current && hoverable)
|
|
6023
|
+
controls.start('normal');
|
|
6024
|
+
onMouseLeave?.(e);
|
|
6025
|
+
};
|
|
6026
|
+
const handleClick = (e) => {
|
|
6027
|
+
if (animateOnClick)
|
|
6028
|
+
triggerAnimation();
|
|
6029
|
+
onClick?.(e);
|
|
6030
|
+
};
|
|
6031
|
+
return (jsxRuntime.jsx("div", { className: cn$1('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, animate: controls, initial: "normal" }), jsxRuntime.jsx(framerMotion.motion.path, { d: "M10 2c1 .5 2 2 2 5", variants: pathVariants, animate: controls, initial: "normal" })] }) }));
|
|
6032
|
+
});
|
|
6033
|
+
Apple.displayName = 'Apple';
|
|
6034
|
+
|
|
6035
|
+
function cn(...inputs) {
|
|
6036
|
+
return twMerge(clsx(inputs));
|
|
6037
|
+
}
|
|
6038
|
+
const draw = {
|
|
6039
|
+
normal: { pathLength: 1, opacity: 1, transition: { duration: 0.4 } },
|
|
6040
|
+
animate: {
|
|
6041
|
+
pathLength: [0, 1],
|
|
6042
|
+
opacity: [0, 1],
|
|
6043
|
+
transition: { duration: 0.8, ease: 'easeInOut' },
|
|
6044
|
+
},
|
|
6045
|
+
};
|
|
6046
|
+
const Ambulance = React.forwardRef(({ size = 28, className, style, autoAnimateOnLoad = false, hoverable = true, loopOnHover = false, animateOnClick = false, onMouseEnter, onMouseLeave, onClick, ...props }, ref) => {
|
|
6047
|
+
const controls = framerMotion.useAnimation();
|
|
6048
|
+
const loopRef = React.useRef(loopOnHover);
|
|
6049
|
+
const isControlledRef = React.useRef(false);
|
|
6050
|
+
const triggerAnimation = React.useCallback(async () => {
|
|
6051
|
+
await controls.start('animate');
|
|
6052
|
+
await controls.start('normal');
|
|
6053
|
+
if (loopRef.current)
|
|
6054
|
+
triggerAnimation();
|
|
6055
|
+
}, [controls]);
|
|
6056
|
+
React.useEffect(() => {
|
|
6057
|
+
loopRef.current = loopOnHover;
|
|
6058
|
+
}, [loopOnHover]);
|
|
6059
|
+
React.useEffect(() => {
|
|
6060
|
+
if (autoAnimateOnLoad)
|
|
6061
|
+
triggerAnimation();
|
|
6062
|
+
}, [autoAnimateOnLoad, triggerAnimation]);
|
|
6063
|
+
React.useImperativeHandle(ref, () => {
|
|
6064
|
+
isControlledRef.current = true;
|
|
6065
|
+
return {
|
|
6066
|
+
startAnimation: () => controls.start('animate'),
|
|
6067
|
+
stopAnimation: () => controls.start('normal'),
|
|
6068
|
+
};
|
|
6069
|
+
});
|
|
6070
|
+
const handleMouseEnter = (e) => {
|
|
6071
|
+
if (!isControlledRef.current && hoverable)
|
|
6072
|
+
triggerAnimation();
|
|
6073
|
+
onMouseEnter?.(e);
|
|
6074
|
+
};
|
|
6075
|
+
const handleMouseLeave = (e) => {
|
|
6076
|
+
if (!isControlledRef.current && hoverable)
|
|
6077
|
+
controls.start('normal');
|
|
6078
|
+
onMouseLeave?.(e);
|
|
6079
|
+
};
|
|
6080
|
+
const handleClick = (e) => {
|
|
6081
|
+
if (animateOnClick)
|
|
6082
|
+
triggerAnimation();
|
|
6083
|
+
onClick?.(e);
|
|
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 } })] }) }));
|
|
6086
|
+
});
|
|
6087
|
+
Ambulance.displayName = 'Ambulance';
|
|
6088
|
+
|
|
3440
6089
|
exports.AccessibilityActivity = AccessibilityActivity;
|
|
3441
6090
|
exports.Activity = Activity;
|
|
3442
6091
|
exports.AirVent = AirVent;
|
|
6092
|
+
exports.Airplay = Airplay;
|
|
6093
|
+
exports.AlarmClock = AlarmClock;
|
|
6094
|
+
exports.AlarmClockCheck = AlarmClockCheck;
|
|
6095
|
+
exports.AlarmClockMinus = AlarmClockMinus;
|
|
6096
|
+
exports.AlarmClockPlus = AlarmClockPlus;
|
|
6097
|
+
exports.Album = Album;
|
|
6098
|
+
exports.AlignCenter = AlignCenter;
|
|
6099
|
+
exports.AlignCenterHorizontal = AlignCenterHorizontal;
|
|
6100
|
+
exports.AlignCenterVertical = AlignCenterVertical;
|
|
6101
|
+
exports.AlignEndHorizontal = AlignEndHorizontal;
|
|
6102
|
+
exports.AlignEndVertical = AlignEndVertical;
|
|
6103
|
+
exports.AlignHorizontalDistributeCenter = AlignHorizontalDistributeCenter;
|
|
6104
|
+
exports.AlignHorizontalDistributeEnd = AlignHorizontalDistributeEnd;
|
|
6105
|
+
exports.AlignHorizontalDistributeStart = AlignHorizontalDistributeStart;
|
|
6106
|
+
exports.AlignHorizontalJustifyCenter = AlignHorizontalJustifyCenter;
|
|
6107
|
+
exports.AlignHorizontalJustifyEnd = AlignHorizontalJustifyEnd;
|
|
6108
|
+
exports.AlignHorizontalJustifyStart = AlignHorizontalJustifyStart;
|
|
6109
|
+
exports.AlignHorizontalSpaceAround = AlignHorizontalSpaceAround;
|
|
6110
|
+
exports.AlignHorizontalSpaceBetween = AlignHorizontalSpaceBetween;
|
|
6111
|
+
exports.AlignJustify = AlignJustify;
|
|
6112
|
+
exports.AlignLeft = AlignLeft;
|
|
6113
|
+
exports.AlignRight = AlignRight;
|
|
6114
|
+
exports.AlignStartHorizontal = AlignStartHorizontal;
|
|
6115
|
+
exports.AlignStartVertical = AlignStartVertical;
|
|
6116
|
+
exports.AlignVerticalDistributeCenter = AlignVerticalDistributeCenter;
|
|
6117
|
+
exports.AlignVerticalDistributeEnd = AlignVerticalDistributeEnd;
|
|
6118
|
+
exports.AlignVerticalDistributeStart = AlignVerticalDistributeStart;
|
|
6119
|
+
exports.AlignVerticalJustifyCenter = AlignVerticalJustifyCenter;
|
|
6120
|
+
exports.AlignVerticalJustifyEnd = AlignVerticalJustifyEnd;
|
|
6121
|
+
exports.AlignVerticalJustifyStart = AlignVerticalJustifyStart;
|
|
6122
|
+
exports.AlignVerticalSpaceAround = AlignVerticalSpaceAround;
|
|
6123
|
+
exports.AlignVerticalSpaceBetween = AlignVerticalSpaceBetween;
|
|
6124
|
+
exports.Ambulance = Ambulance;
|
|
6125
|
+
exports.Ampersand = Ampersand;
|
|
6126
|
+
exports.Ampersands = Ampersands;
|
|
6127
|
+
exports.Apple = Apple;
|
|
3443
6128
|
exports.ArrowDown = ArrowDown;
|
|
3444
6129
|
exports.ArrowUp = ArrowUp;
|
|
3445
6130
|
exports.SquareActivity = SquareActivity;
|