nfx-ui 0.24.2 → 0.26.0
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/animations/AnimatedIcon.d.ts +13 -0
- package/dist/animations/AnimatedIcon.d.ts.map +1 -0
- package/dist/animations/AnimatedIcon.js +25 -0
- package/dist/animations/AnimatedIcon.js.map +1 -0
- package/dist/animations/accessibility-icon.js +9 -9
- package/dist/animations/airplane-icon.js +7 -7
- package/dist/animations/alarm-clock-plus-icon.js +11 -11
- package/dist/animations/align-center-icon.js +7 -7
- package/dist/animations/align-vertical-space-around-icon.js +7 -7
- package/dist/animations/ambulance-icon.js +12 -12
- package/dist/animations/ampersand-icon.js +5 -5
- package/dist/animations/angry-icon.js +10 -10
- package/dist/animations/annoyed-icon.js +8 -8
- package/dist/animations/apple-brand-logo.js +7 -7
- package/dist/animations/arrow-back-icon.js +8 -8
- package/dist/animations/arrow-back-up-icon.js +9 -9
- package/dist/animations/arrow-big-down-dash-icon.js +6 -6
- package/dist/animations/arrow-big-down-icon.js +5 -5
- package/dist/animations/arrow-big-left-dash-icon.js +6 -6
- package/dist/animations/arrow-big-left-icon.js +5 -5
- package/dist/animations/arrow-big-right-dash-icon.js +6 -6
- package/dist/animations/arrow-big-right-icon.js +5 -5
- package/dist/animations/arrow-big-up-dash-icon.js +6 -6
- package/dist/animations/arrow-big-up-icon.js +5 -5
- package/dist/animations/arrow-down-0-1-icon.js +9 -9
- package/dist/animations/arrow-down-1-0-icon.js +9 -9
- package/dist/animations/arrow-down-a-z-icon.js +9 -9
- package/dist/animations/arrow-narrow-down-dashed-icon.js +11 -11
- package/dist/animations/arrow-narrow-down-icon.js +10 -10
- package/dist/animations/arrow-narrow-left-dashed-icon.js +10 -10
- package/dist/animations/arrow-narrow-left-icon.js +10 -10
- package/dist/animations/arrow-narrow-right-dashed-icon.js +10 -10
- package/dist/animations/arrow-narrow-right-icon.js +10 -10
- package/dist/animations/arrow-narrow-up-dashed-icon.js +10 -10
- package/dist/animations/arrow-narrow-up-icon.js +10 -10
- package/dist/animations/at-sign-icon.js +7 -7
- package/dist/animations/banana-icon.js +6 -6
- package/dist/animations/battery-charging-icon.js +11 -11
- package/dist/animations/battery-icon.js +8 -8
- package/dist/animations/battery-pause-icon.js +11 -11
- package/dist/animations/bell-off-icon.js +8 -8
- package/dist/animations/bluetooth-connected-icon.js +8 -8
- package/dist/animations/book-icon.js +10 -10
- package/dist/animations/bookmark-icon.js +6 -6
- package/dist/animations/brain-circuit-icon.js +18 -18
- package/dist/animations/brand-aistudio-icon.js +9 -9
- package/dist/animations/brand-anthropic-icon.js +9 -9
- package/dist/animations/brand-aws-icon.js +13 -13
- package/dist/animations/brand-bags-fm-icon.js +6 -6
- package/dist/animations/brand-chrome-icon.js +12 -12
- package/dist/animations/brand-cursor-icon.js +5 -5
- package/dist/animations/brand-gemini-icon.js +5 -5
- package/dist/animations/brand-google-icon.js +6 -6
- package/dist/animations/brand-grok-icon.js +7 -7
- package/dist/animations/brand-lmstudio-icon.js +11 -11
- package/dist/animations/brand-midjourney-icon.js +8 -8
- package/dist/animations/brand-nextjs-icon.js +7 -7
- package/dist/animations/brand-notion-icon.js +7 -7
- package/dist/animations/brand-ollama-icon.js +10 -10
- package/dist/animations/brand-openai-icon.js +6 -6
- package/dist/animations/brand-paypal-icon.js +7 -7
- package/dist/animations/brand-qwen-icon.js +5 -5
- package/dist/animations/brand-railway-icon.js +7 -7
- package/dist/animations/brand-react-icon.js +12 -12
- package/dist/animations/brand-react-native-icon.js +13 -13
- package/dist/animations/brand-stripe-icon.js +9 -9
- package/dist/animations/brand-telegram-icon.js +6 -6
- package/dist/animations/brand-threads-icon.js +6 -6
- package/dist/animations/brand-twitch-icon.js +7 -7
- package/dist/animations/brand-vercel-icon.js +6 -6
- package/dist/animations/brand-windows-icon.js +9 -9
- package/dist/animations/brand-wordpress-icon.js +11 -11
- package/dist/animations/brand-xai-icon.js +9 -9
- package/dist/animations/brand-zoom-icon.js +7 -7
- package/dist/animations/brightness-down-icon.js +16 -16
- package/dist/animations/bug-icon.js +14 -14
- package/dist/animations/bulb-svg.js +13 -13
- package/dist/animations/camera-icon.js +6 -6
- package/dist/animations/camera-off-icon.js +9 -9
- package/dist/animations/candy-cane-icon.js +10 -10
- package/dist/animations/cart-icon.js +10 -10
- package/dist/animations/chart-bar-icon.js +9 -9
- package/dist/animations/chart-covariate-icon.js +11 -11
- package/dist/animations/chart-histogram-icon.js +11 -11
- package/dist/animations/chart-line-icon.js +7 -7
- package/dist/animations/chart-pie-icon.js +7 -7
- package/dist/animations/checked-icon.js +8 -8
- package/dist/animations/clock-icon.js +7 -7
- package/dist/animations/cloud-1-icon.js +5 -5
- package/dist/animations/cloud-2-icon.js +8 -8
- package/dist/animations/cloud-3-icon.js +8 -8
- package/dist/animations/code-icon.js +6 -6
- package/dist/animations/code-xml-icon.js +7 -7
- package/dist/animations/coffee-icon.js +8 -8
- package/dist/animations/coin-bitcoin-icon.js +6 -6
- package/dist/animations/copy-icon.js +8 -8
- package/dist/animations/copy-off-icon.js +9 -9
- package/dist/animations/copyright-icon.js +6 -6
- package/dist/animations/cpu-icon.js +19 -19
- package/dist/animations/credit-card.js +9 -9
- package/dist/animations/currency-bitcoin-icon.js +16 -16
- package/dist/animations/currency-dollar-icon.js +9 -9
- package/dist/animations/currency-ethereum-icon.js +9 -9
- package/dist/animations/currency-euro-icon.js +10 -10
- package/dist/animations/currency-rupee-icon.js +8 -8
- package/dist/animations/device-airpods-icon.js +7 -7
- package/dist/animations/dialpad-icon.js +12 -12
- package/dist/animations/dino-icon.js +14 -14
- package/dist/animations/discord-icon.js +9 -9
- package/dist/animations/docker-icon.js +14 -14
- package/dist/animations/dots-horizontal-icon.js +8 -8
- package/dist/animations/dots-vertical-icon.js +8 -8
- package/dist/animations/double-check-icon.js +7 -7
- package/dist/animations/down-chevron.js +7 -7
- package/dist/animations/download-icon.js +7 -7
- package/dist/animations/drum-icon.js +11 -11
- package/dist/animations/expand-icon.js +12 -12
- package/dist/animations/external-link-icon.js +8 -8
- package/dist/animations/eye-icon.js +7 -7
- package/dist/animations/eye-off-icon.js +8 -8
- package/dist/animations/facebook-icon.js +7 -7
- package/dist/animations/figma-icon.js +8 -8
- package/dist/animations/file-description-icon.js +9 -9
- package/dist/animations/filled-bell-icon.js +7 -7
- package/dist/animations/filled-checked-icon.js +8 -8
- package/dist/animations/filter-icon.js +15 -15
- package/dist/animations/flame-icon.js +6 -6
- package/dist/animations/focus-icon.js +9 -9
- package/dist/animations/gamepad-icon.js +10 -10
- package/dist/animations/gauge-icon.js +5 -5
- package/dist/animations/gear-icon.js +7 -7
- package/dist/animations/ghost-icon.js +7 -7
- package/dist/animations/github-copilot-icon.js +13 -13
- package/dist/animations/github-icon.js +7 -7
- package/dist/animations/gitlab-icon.js +8 -8
- package/dist/animations/globe-icon.js +13 -13
- package/dist/animations/gmail-icon.js +9 -9
- package/dist/animations/golang-icon.js +11 -11
- package/dist/animations/hand-heart-icon.js +9 -9
- package/dist/animations/hashtag-icon.js +9 -9
- package/dist/animations/heart-icon.js +6 -6
- package/dist/animations/history-circle-icon.js +7 -7
- package/dist/animations/home-icon.js +8 -8
- package/dist/animations/hotel-icon.js +7 -7
- package/dist/animations/index.d.ts +2 -0
- package/dist/animations/index.d.ts.map +1 -1
- package/dist/animations/index.js +267 -266
- package/dist/animations/info-circle-icon.js +8 -8
- package/dist/animations/instagram-icon.js +8 -8
- package/dist/animations/javascript-icon.js +8 -8
- package/dist/animations/keyframes-icon.js +9 -9
- package/dist/animations/layers-icon.js +6 -6
- package/dist/animations/layout-bottombar-collapse-icon.js +8 -8
- package/dist/animations/layout-dashboard-icon.js +8 -8
- package/dist/animations/layout-sidebar-right-collapse-icon.js +8 -8
- package/dist/animations/layout-sidebar-right-icon.js +7 -7
- package/dist/animations/letter-a-icon.js +7 -7
- package/dist/animations/letter-b-icon.js +6 -6
- package/dist/animations/letter-c-icon.js +5 -5
- package/dist/animations/letter-d-icon.js +5 -5
- package/dist/animations/letter-e-icon.js +8 -8
- package/dist/animations/letter-f-icon.js +7 -7
- package/dist/animations/letter-g-icon.js +5 -5
- package/dist/animations/letter-h-icon.js +8 -8
- package/dist/animations/letter-i-icon.js +5 -5
- package/dist/animations/letter-j-icon.js +8 -8
- package/dist/animations/letter-k-icon.js +7 -7
- package/dist/animations/letter-l-icon.js +6 -6
- package/dist/animations/letter-m-icon.js +5 -5
- package/dist/animations/letter-n-icon.js +5 -5
- package/dist/animations/letter-o-icon.js +5 -5
- package/dist/animations/letter-p-icon.js +5 -5
- package/dist/animations/letter-q-icon.js +6 -6
- package/dist/animations/letter-r-icon.js +6 -6
- package/dist/animations/letter-s-icon.js +5 -5
- package/dist/animations/letter-t-icon.js +6 -6
- package/dist/animations/letter-u-icon.js +5 -5
- package/dist/animations/letter-v-icon.js +6 -6
- package/dist/animations/letter-w-icon.js +8 -8
- package/dist/animations/letter-x-icon.js +6 -6
- package/dist/animations/letter-y-icon.js +6 -6
- package/dist/animations/letter-z-icon.js +5 -5
- package/dist/animations/library-icon.js +8 -8
- package/dist/animations/like-icon.js +7 -7
- package/dist/animations/link-icon.js +8 -8
- package/dist/animations/linkedin-icon.js +10 -10
- package/dist/animations/locate-icon.js +11 -11
- package/dist/animations/lock-icon.js +8 -8
- package/dist/animations/logout-icon.js +8 -8
- package/dist/animations/magnifier-icon.js +6 -6
- package/dist/animations/mail-filled-icon.js +7 -7
- package/dist/animations/map-pin-icon.js +5 -5
- package/dist/animations/meh-icon.js +8 -8
- package/dist/animations/message-circle-icon.js +5 -5
- package/dist/animations/moon-icon.js +6 -6
- package/dist/animations/mouse-pointer-2-icon.js +5 -5
- package/dist/animations/mysql-icon.js +7 -7
- package/dist/animations/nodejs-icon.js +7 -7
- package/dist/animations/paint-icon.js +10 -10
- package/dist/animations/party-popper-icon.js +13 -13
- package/dist/animations/passport-icon.js +9 -9
- package/dist/animations/paw-print-icon.js +9 -9
- package/dist/animations/pen-icon.js +7 -7
- package/dist/animations/phone-volume.js +8 -8
- package/dist/animations/pinterest-icon.js +8 -8
- package/dist/animations/player-icon.js +7 -7
- package/dist/animations/plug-connected-icon.js +11 -11
- package/dist/animations/plug-connected-x-icon.js +13 -13
- package/dist/animations/python-icon.js +10 -10
- package/dist/animations/qrcode-icon.js +18 -18
- package/dist/animations/question-mark.js +8 -8
- package/dist/animations/radio-icon.js +11 -11
- package/dist/animations/rainbow-icon.js +7 -7
- package/dist/animations/refresh-icon.js +7 -7
- package/dist/animations/right-chevron.js +6 -6
- package/dist/animations/rocket-icon.js +10 -10
- package/dist/animations/rosette-discount-check-icon.js +8 -8
- package/dist/animations/rosette-discount-icon.js +10 -10
- package/dist/animations/router-icon.js +10 -10
- package/dist/animations/satellite-dish-icon.js +8 -8
- package/dist/animations/save-icon.js +7 -7
- package/dist/animations/scan-barcode-icon.js +14 -14
- package/dist/animations/scan-heart-icon.js +9 -9
- package/dist/animations/send-horizontal-icon.js +6 -6
- package/dist/animations/send-icon.js +8 -8
- package/dist/animations/shield-check.js +6 -6
- package/dist/animations/shopping-cart-icon.js +12 -12
- package/dist/animations/simple-checked-icon.js +7 -7
- package/dist/animations/skull-emoji.js +10 -10
- package/dist/animations/slack-icon.js +13 -13
- package/dist/animations/sliders-horizontal-icon.js +13 -13
- package/dist/animations/snapchat-icon.js +8 -8
- package/dist/animations/soup-icon.js +12 -12
- package/dist/animations/sparkles-icon.js +7 -7
- package/dist/animations/spotify-icon.js +9 -9
- package/dist/animations/stack-3-icon.js +8 -8
- package/dist/animations/stack-icon.js +6 -6
- package/dist/animations/star-icon.js +7 -7
- package/dist/animations/subscript-icon.js +7 -7
- package/dist/animations/target-icon.js +7 -7
- package/dist/animations/telephone-icon.js +10 -10
- package/dist/animations/terminal-icon.js +7 -7
- package/dist/animations/toggle-icon.js +6 -6
- package/dist/animations/trash-icon.js +10 -10
- package/dist/animations/travel-bag.js +11 -11
- package/dist/animations/triangle-alert-icon.js +7 -7
- package/dist/animations/trophy-icon.js +15 -15
- package/dist/animations/truck-electric-icon.js +12 -12
- package/dist/animations/twitter-icon.js +5 -5
- package/dist/animations/twitter-x-icon.js +8 -8
- package/dist/animations/typescript-icon.js +9 -9
- package/dist/animations/unlink-icon.js +11 -11
- package/dist/animations/unordered-list-icon.js +12 -12
- package/dist/animations/upload-icon.js +6 -6
- package/dist/animations/user-check-icon.js +8 -8
- package/dist/animations/user-icon.js +7 -7
- package/dist/animations/user-plus-icon.js +9 -9
- package/dist/animations/users-group-icon.js +11 -11
- package/dist/animations/users-icon.js +9 -9
- package/dist/animations/vinyl-icon.js +9 -9
- package/dist/animations/volume-2-icon.js +7 -7
- package/dist/animations/volume-x-icon.js +8 -8
- package/dist/animations/wallet-icon.js +7 -7
- package/dist/animations/washing-machine-icon.js +11 -11
- package/dist/animations/whatsapp-icon.js +7 -7
- package/dist/animations/wifi-icon.js +9 -9
- package/dist/animations/wifi-off-icon.js +11 -11
- package/dist/animations/world-icon.js +11 -11
- package/dist/animations/x-icon.js +7 -7
- package/dist/animations/youtube-icon.js +7 -7
- package/dist/apis/repositories/AssetRepository.d.ts +2 -0
- package/dist/apis/repositories/AssetRepository.d.ts.map +1 -1
- package/dist/apis/repositories/AssetRepository.js +4 -0
- package/dist/apis/repositories/AssetRepository.js.map +1 -1
- package/dist/apis/repositories/AuthRepository.d.ts +2 -0
- package/dist/apis/repositories/AuthRepository.d.ts.map +1 -1
- package/dist/apis/repositories/AuthRepository.js +4 -0
- package/dist/apis/repositories/AuthRepository.js.map +1 -1
- package/dist/providers/LanguageProvider/index.d.ts +3 -1
- package/dist/providers/LanguageProvider/index.d.ts.map +1 -1
- package/dist/providers/LanguageProvider/index.js +50 -23
- package/dist/providers/LanguageProvider/index.js.map +1 -1
- package/dist/utils/apiError.d.ts +4 -0
- package/dist/utils/apiError.d.ts.map +1 -1
- package/dist/utils/apiError.js +9 -8
- package/dist/utils/apiError.js.map +1 -1
- package/dist/utils/index.js +29 -29
- package/package.json +1 -1
- package/src/animations/AnimatedIcon.tsx +25 -0
- package/src/animations/index.ts +2 -0
- package/src/apis/repositories/AssetRepository.ts +6 -0
- package/src/apis/repositories/AuthRepository.ts +6 -0
- package/src/providers/LanguageProvider/index.tsx +39 -7
- package/src/utils/apiError.ts +8 -2
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { forwardRef as e, useCallback as t, useImperativeHandle as n } from "react";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
3
|
+
import { motion as a, useAnimate as o } from "motion/react";
|
|
4
4
|
//#region src/animations/expand-icon.tsx
|
|
5
5
|
var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, className: l = "" }, u) => {
|
|
6
|
-
let [d, f] =
|
|
6
|
+
let [d, f] = o(), p = t(async () => {
|
|
7
7
|
f(".arrows-tr", {
|
|
8
8
|
x: 2,
|
|
9
9
|
y: -2
|
|
@@ -47,7 +47,7 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
47
47
|
return n(u, () => ({
|
|
48
48
|
startAnimation: p,
|
|
49
49
|
stopAnimation: m
|
|
50
|
-
})), /* @__PURE__ */
|
|
50
|
+
})), /* @__PURE__ */ i(a.svg, {
|
|
51
51
|
ref: d,
|
|
52
52
|
xmlns: "http://www.w3.org/2000/svg",
|
|
53
53
|
width: e,
|
|
@@ -62,35 +62,35 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
62
62
|
onHoverStart: p,
|
|
63
63
|
onHoverEnd: m,
|
|
64
64
|
children: [
|
|
65
|
-
/* @__PURE__ */ a
|
|
65
|
+
/* @__PURE__ */ r(a.path, {
|
|
66
66
|
className: "arrows-br",
|
|
67
67
|
d: "m15 15 6 6"
|
|
68
68
|
}),
|
|
69
|
-
/* @__PURE__ */ a
|
|
69
|
+
/* @__PURE__ */ r(a.path, {
|
|
70
70
|
className: "arrows-tr",
|
|
71
71
|
d: "m15 9 6-6"
|
|
72
72
|
}),
|
|
73
|
-
/* @__PURE__ */ a
|
|
73
|
+
/* @__PURE__ */ r(a.path, {
|
|
74
74
|
className: "corners arrows-br",
|
|
75
75
|
d: "M21 16v5h-5"
|
|
76
76
|
}),
|
|
77
|
-
/* @__PURE__ */ a
|
|
77
|
+
/* @__PURE__ */ r(a.path, {
|
|
78
78
|
className: "corners arrows-tr",
|
|
79
79
|
d: "M21 8V3h-5"
|
|
80
80
|
}),
|
|
81
|
-
/* @__PURE__ */ a
|
|
81
|
+
/* @__PURE__ */ r(a.path, {
|
|
82
82
|
className: "corners arrows-bl",
|
|
83
83
|
d: "M3 16v5h5"
|
|
84
84
|
}),
|
|
85
|
-
/* @__PURE__ */ a
|
|
85
|
+
/* @__PURE__ */ r(a.path, {
|
|
86
86
|
className: "arrows-bl",
|
|
87
87
|
d: "m3 21 6-6"
|
|
88
88
|
}),
|
|
89
|
-
/* @__PURE__ */ a
|
|
89
|
+
/* @__PURE__ */ r(a.path, {
|
|
90
90
|
className: "corners arrows-tl",
|
|
91
91
|
d: "M3 8V3h5"
|
|
92
92
|
}),
|
|
93
|
-
/* @__PURE__ */ a
|
|
93
|
+
/* @__PURE__ */ r(a.path, {
|
|
94
94
|
className: "arrows-tl",
|
|
95
95
|
d: "M9 9 3 3"
|
|
96
96
|
})
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { forwardRef as e, useCallback as t, useImperativeHandle as n } from "react";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
4
|
+
import { motion as a, useAnimate as o } from "motion/react";
|
|
5
5
|
//#region src/animations/external-link-icon.tsx
|
|
6
6
|
var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, className: l = "" }, u) => {
|
|
7
|
-
let [d, f] =
|
|
7
|
+
let [d, f] = o(), p = t(async () => {
|
|
8
8
|
f(".external-arrow", {
|
|
9
9
|
x: 2,
|
|
10
10
|
y: -2,
|
|
@@ -29,7 +29,7 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
29
29
|
return n(u, () => ({
|
|
30
30
|
startAnimation: p,
|
|
31
31
|
stopAnimation: m
|
|
32
|
-
})), /* @__PURE__ */
|
|
32
|
+
})), /* @__PURE__ */ i(a.svg, {
|
|
33
33
|
ref: d,
|
|
34
34
|
xmlns: "http://www.w3.org/2000/svg",
|
|
35
35
|
width: e,
|
|
@@ -44,20 +44,20 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
44
44
|
onHoverStart: p,
|
|
45
45
|
onHoverEnd: m,
|
|
46
46
|
children: [
|
|
47
|
-
/* @__PURE__ */
|
|
47
|
+
/* @__PURE__ */ r("path", {
|
|
48
48
|
stroke: "none",
|
|
49
49
|
d: "M0 0h24v24H0z",
|
|
50
50
|
fill: "none"
|
|
51
51
|
}),
|
|
52
|
-
/* @__PURE__ */ a
|
|
52
|
+
/* @__PURE__ */ r(a.path, {
|
|
53
53
|
d: "M12 6h-6a2 2 0 0 0 -2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2 -2v-6",
|
|
54
54
|
className: "external-box",
|
|
55
55
|
style: { transformOrigin: "50% 50%" }
|
|
56
56
|
}),
|
|
57
|
-
/* @__PURE__ */
|
|
57
|
+
/* @__PURE__ */ i(a.g, {
|
|
58
58
|
className: "external-arrow",
|
|
59
59
|
style: { transformOrigin: "50% 50%" },
|
|
60
|
-
children: [/* @__PURE__ */
|
|
60
|
+
children: [/* @__PURE__ */ r("path", { d: "M11 13l9 -9" }), /* @__PURE__ */ r("path", { d: "M15 4h5v5" })]
|
|
61
61
|
})
|
|
62
62
|
]
|
|
63
63
|
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { forwardRef as e, useCallback as t, useImperativeHandle as n } from "react";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
3
|
+
import { motion as a, useAnimate as o } from "motion/react";
|
|
4
4
|
//#region src/animations/eye-icon.tsx
|
|
5
5
|
var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, className: l = "" }, u) => {
|
|
6
|
-
let [d, f] =
|
|
6
|
+
let [d, f] = o(), p = t(async () => {
|
|
7
7
|
f(".eye-pupil", { scale: .7 }, {
|
|
8
8
|
duration: .15,
|
|
9
9
|
ease: "easeOut"
|
|
@@ -23,7 +23,7 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
23
23
|
return n(u, () => ({
|
|
24
24
|
startAnimation: p,
|
|
25
25
|
stopAnimation: m
|
|
26
|
-
})), /* @__PURE__ */
|
|
26
|
+
})), /* @__PURE__ */ i(a.svg, {
|
|
27
27
|
ref: d,
|
|
28
28
|
xmlns: "http://www.w3.org/2000/svg",
|
|
29
29
|
width: e,
|
|
@@ -38,17 +38,17 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
38
38
|
onHoverStart: p,
|
|
39
39
|
onHoverEnd: m,
|
|
40
40
|
children: [
|
|
41
|
-
/* @__PURE__ */
|
|
41
|
+
/* @__PURE__ */ r("path", {
|
|
42
42
|
stroke: "none",
|
|
43
43
|
d: "M0 0h24v24H0z",
|
|
44
44
|
fill: "none"
|
|
45
45
|
}),
|
|
46
|
-
/* @__PURE__ */ a
|
|
46
|
+
/* @__PURE__ */ r(a.path, {
|
|
47
47
|
d: "M10 12a2 2 0 1 0 4 0a2 2 0 0 0 -4 0",
|
|
48
48
|
className: "eye-pupil",
|
|
49
49
|
style: { transformOrigin: "50% 50%" }
|
|
50
50
|
}),
|
|
51
|
-
/* @__PURE__ */ a
|
|
51
|
+
/* @__PURE__ */ r(a.path, {
|
|
52
52
|
d: "M21 12c-2.4 4 -5.4 6 -9 6c-3.6 0 -6.6 -2 -9 -6c2.4 -4 5.4 -6 9 -6c3.6 0 6.6 2 9 6",
|
|
53
53
|
className: "eye-shape",
|
|
54
54
|
style: { transformOrigin: "50% 50%" }
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { forwardRef as e, useCallback as t, useImperativeHandle as n } from "react";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
3
|
+
import { motion as a, useAnimate as o } from "motion/react";
|
|
4
4
|
//#region src/animations/eye-off-icon.tsx
|
|
5
5
|
var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, className: l = "" }, u) => {
|
|
6
|
-
let [d, f] =
|
|
6
|
+
let [d, f] = o(), p = t(async () => {
|
|
7
7
|
f(".eye-strike", {
|
|
8
8
|
pathLength: [0, 1],
|
|
9
9
|
opacity: [.5, 1]
|
|
@@ -30,7 +30,7 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
30
30
|
return n(u, () => ({
|
|
31
31
|
startAnimation: p,
|
|
32
32
|
stopAnimation: m
|
|
33
|
-
})), /* @__PURE__ */
|
|
33
|
+
})), /* @__PURE__ */ i(a.svg, {
|
|
34
34
|
ref: d,
|
|
35
35
|
xmlns: "http://www.w3.org/2000/svg",
|
|
36
36
|
width: e,
|
|
@@ -45,17 +45,17 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
45
45
|
onHoverStart: p,
|
|
46
46
|
onHoverEnd: m,
|
|
47
47
|
children: [
|
|
48
|
-
/* @__PURE__ */
|
|
48
|
+
/* @__PURE__ */ r("path", {
|
|
49
49
|
stroke: "none",
|
|
50
50
|
d: "M0 0h24v24H0z",
|
|
51
51
|
fill: "none"
|
|
52
52
|
}),
|
|
53
|
-
/* @__PURE__ */
|
|
53
|
+
/* @__PURE__ */ i(a.g, {
|
|
54
54
|
className: "eye-parts",
|
|
55
55
|
style: { transformOrigin: "50% 50%" },
|
|
56
|
-
children: [/* @__PURE__ */
|
|
56
|
+
children: [/* @__PURE__ */ r("path", { d: "M10.585 10.587a2 2 0 0 0 2.829 2.828" }), /* @__PURE__ */ r("path", { d: "M16.681 16.673a8.717 8.717 0 0 1 -4.681 1.327c-3.6 0 -6.6 -2 -9 -6c1.272 -2.12 2.712 -3.678 4.32 -4.674m2.86 -1.146a9.055 9.055 0 0 1 1.82 -.18c3.6 0 6.6 2 9 6c-.666 1.11 -1.379 2.067 -2.138 2.87" })]
|
|
57
57
|
}),
|
|
58
|
-
/* @__PURE__ */ a
|
|
58
|
+
/* @__PURE__ */ r(a.path, {
|
|
59
59
|
d: "M3 3l18 18",
|
|
60
60
|
className: "eye-strike",
|
|
61
61
|
initial: { pathLength: 1 }
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { forwardRef as e, useCallback as t, useImperativeHandle as n } from "react";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
3
|
+
import { motion as a, useAnimate as o } from "motion/react";
|
|
4
4
|
//#region src/animations/facebook-icon.tsx
|
|
5
5
|
var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, className: l = "" }, u) => {
|
|
6
|
-
let [d, f] =
|
|
6
|
+
let [d, f] = o(), p = t(async () => {
|
|
7
7
|
await f(".fb-path", { scale: [
|
|
8
8
|
1,
|
|
9
9
|
.9,
|
|
@@ -42,7 +42,7 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
42
42
|
return n(u, () => ({
|
|
43
43
|
startAnimation: p,
|
|
44
44
|
stopAnimation: m
|
|
45
|
-
})), /* @__PURE__ */
|
|
45
|
+
})), /* @__PURE__ */ i(a.svg, {
|
|
46
46
|
ref: d,
|
|
47
47
|
xmlns: "http://www.w3.org/2000/svg",
|
|
48
48
|
width: e,
|
|
@@ -58,17 +58,17 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
58
58
|
onHoverStart: p,
|
|
59
59
|
onHoverEnd: m,
|
|
60
60
|
children: [
|
|
61
|
-
/* @__PURE__ */
|
|
61
|
+
/* @__PURE__ */ r("path", {
|
|
62
62
|
stroke: "none",
|
|
63
63
|
d: "M0 0h24v24H0z",
|
|
64
64
|
fill: "none"
|
|
65
65
|
}),
|
|
66
|
-
/* @__PURE__ */ a
|
|
66
|
+
/* @__PURE__ */ r(a.path, {
|
|
67
67
|
className: "fb-path",
|
|
68
68
|
d: "M7 10v4h3v7h4v-7h3l1 -4h-4v-2a1 1 0 0 1 1 -1h3v-4h-3a5 5 0 0 0 -5 5v2h-3",
|
|
69
69
|
style: { transformOrigin: "center" }
|
|
70
70
|
}),
|
|
71
|
-
/* @__PURE__ */ a
|
|
71
|
+
/* @__PURE__ */ r(a.text, {
|
|
72
72
|
className: "fb-like",
|
|
73
73
|
x: "12",
|
|
74
74
|
y: "2",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { forwardRef as e, useCallback as t, useImperativeHandle as n } from "react";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
3
|
+
import { motion as a, useAnimate as o } from "motion/react";
|
|
4
4
|
//#region src/animations/figma-icon.tsx
|
|
5
5
|
var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, className: l = "" }, u) => {
|
|
6
|
-
let [d, f] =
|
|
6
|
+
let [d, f] = o(), p = t(async () => {
|
|
7
7
|
f(".circle", { rotate: [
|
|
8
8
|
0,
|
|
9
9
|
360,
|
|
@@ -40,7 +40,7 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
40
40
|
return n(u, () => ({
|
|
41
41
|
startAnimation: p,
|
|
42
42
|
stopAnimation: m
|
|
43
|
-
})), /* @__PURE__ */
|
|
43
|
+
})), /* @__PURE__ */ i(a.svg, {
|
|
44
44
|
ref: d,
|
|
45
45
|
xmlns: "http://www.w3.org/2000/svg",
|
|
46
46
|
width: e,
|
|
@@ -55,21 +55,21 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
55
55
|
onHoverStart: p,
|
|
56
56
|
onHoverEnd: m,
|
|
57
57
|
children: [
|
|
58
|
-
/* @__PURE__ */
|
|
58
|
+
/* @__PURE__ */ r("path", {
|
|
59
59
|
stroke: "none",
|
|
60
60
|
d: "M0 0h24v24H0z",
|
|
61
61
|
fill: "none"
|
|
62
62
|
}),
|
|
63
|
-
/* @__PURE__ */ a
|
|
63
|
+
/* @__PURE__ */ r(a.path, {
|
|
64
64
|
className: "circle",
|
|
65
65
|
style: { transformOrigin: "center" },
|
|
66
66
|
d: "M15 12m-3 0a3 3 0 1 0 6 0a3 3 0 1 0 -6 0"
|
|
67
67
|
}),
|
|
68
|
-
/* @__PURE__ */ a
|
|
68
|
+
/* @__PURE__ */ r(a.path, {
|
|
69
69
|
className: "layer1",
|
|
70
70
|
d: "M6 3m0 3a3 3 0 0 1 3 -3h6a3 3 0 0 1 3 3v0a3 3 0 0 1 -3 3h-6a3 3 0 0 1 -3 -3z"
|
|
71
71
|
}),
|
|
72
|
-
/* @__PURE__ */ a
|
|
72
|
+
/* @__PURE__ */ r(a.path, {
|
|
73
73
|
className: "layer2",
|
|
74
74
|
d: "M9 9a3 3 0 0 0 0 6h3m-3 0a3 3 0 1 0 3 3v-15"
|
|
75
75
|
})
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { forwardRef as e, useCallback as t, useImperativeHandle as n } from "react";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
3
|
+
import { motion as a, useAnimate as o } from "motion/react";
|
|
4
4
|
//#region src/animations/file-description-icon.tsx
|
|
5
5
|
var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, className: l = "" }, u) => {
|
|
6
|
-
let [d, f] =
|
|
6
|
+
let [d, f] = o(), p = t(async () => {
|
|
7
7
|
await f(".file-fold", { pathLength: [0, 1] }, {
|
|
8
8
|
duration: .3,
|
|
9
9
|
ease: "easeOut"
|
|
@@ -17,7 +17,7 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
17
17
|
return n(u, () => ({
|
|
18
18
|
startAnimation: p,
|
|
19
19
|
stopAnimation: m
|
|
20
|
-
})), /* @__PURE__ */
|
|
20
|
+
})), /* @__PURE__ */ i(a.svg, {
|
|
21
21
|
ref: d,
|
|
22
22
|
xmlns: "http://www.w3.org/2000/svg",
|
|
23
23
|
width: e,
|
|
@@ -32,21 +32,21 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
32
32
|
onHoverStart: p,
|
|
33
33
|
onHoverEnd: m,
|
|
34
34
|
children: [
|
|
35
|
-
/* @__PURE__ */
|
|
35
|
+
/* @__PURE__ */ r("path", {
|
|
36
36
|
stroke: "none",
|
|
37
37
|
d: "M0 0h24v24H0z",
|
|
38
38
|
fill: "none"
|
|
39
39
|
}),
|
|
40
|
-
/* @__PURE__ */ a
|
|
40
|
+
/* @__PURE__ */ r(a.path, {
|
|
41
41
|
d: "M14 3v4a1 1 0 0 0 1 1h4",
|
|
42
42
|
className: "file-fold"
|
|
43
43
|
}),
|
|
44
|
-
/* @__PURE__ */
|
|
45
|
-
/* @__PURE__ */ a
|
|
44
|
+
/* @__PURE__ */ r("path", { d: "M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z" }),
|
|
45
|
+
/* @__PURE__ */ r(a.path, {
|
|
46
46
|
d: "M9 17h6",
|
|
47
47
|
className: "file-lines"
|
|
48
48
|
}),
|
|
49
|
-
/* @__PURE__ */ a
|
|
49
|
+
/* @__PURE__ */ r(a.path, {
|
|
50
50
|
d: "M9 13h6",
|
|
51
51
|
className: "file-lines"
|
|
52
52
|
})
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { forwardRef as e, useCallback as t, useImperativeHandle as n } from "react";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
3
|
+
import { motion as a, useAnimate as o } from "motion/react";
|
|
4
4
|
//#region src/animations/filled-bell-icon.tsx
|
|
5
5
|
var s = e(({ size: e = 24, color: s = "currentColor", className: c = "" }, l) => {
|
|
6
|
-
let [u, d] =
|
|
6
|
+
let [u, d] = o(), f = t(async () => {
|
|
7
7
|
d(".bell", { rotate: [
|
|
8
8
|
0,
|
|
9
9
|
-8,
|
|
@@ -35,7 +35,7 @@ var s = e(({ size: e = 24, color: s = "currentColor", className: c = "" }, l) =>
|
|
|
35
35
|
return n(l, () => ({
|
|
36
36
|
startAnimation: f,
|
|
37
37
|
stopAnimation: p
|
|
38
|
-
})), /* @__PURE__ */
|
|
38
|
+
})), /* @__PURE__ */ i(a.svg, {
|
|
39
39
|
ref: u,
|
|
40
40
|
className: `cursor-pointer ${c}`,
|
|
41
41
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -46,17 +46,17 @@ var s = e(({ size: e = 24, color: s = "currentColor", className: c = "" }, l) =>
|
|
|
46
46
|
onHoverStart: f,
|
|
47
47
|
onHoverEnd: p,
|
|
48
48
|
children: [
|
|
49
|
-
/* @__PURE__ */
|
|
49
|
+
/* @__PURE__ */ r("path", {
|
|
50
50
|
stroke: "none",
|
|
51
51
|
d: "M0 0h24v24H0z",
|
|
52
52
|
fill: "none"
|
|
53
53
|
}),
|
|
54
|
-
/* @__PURE__ */ a
|
|
54
|
+
/* @__PURE__ */ r(a.path, {
|
|
55
55
|
className: "below-circle",
|
|
56
56
|
style: { transformOrigin: "50% 0%" },
|
|
57
57
|
d: "M14.235 19c.865 0 1.322 1.024 .745 1.668a3.992 3.992 0 0 1 -2.98 1.332a3.992 3.992 0 0 1 -2.98 -1.332c-.552 -.616 -.158 -1.579 .634 -1.661l.11 -.006h4.471z"
|
|
58
58
|
}),
|
|
59
|
-
/* @__PURE__ */ a
|
|
59
|
+
/* @__PURE__ */ r(a.path, {
|
|
60
60
|
className: "bell",
|
|
61
61
|
style: { transformOrigin: "50% 10%" },
|
|
62
62
|
d: "M12 2c1.358 0 2.506 .903 2.875 2.141l.046 .171l.008 .043a8.013 8.013 0 0 1 4.024 6.069l.028 .287l.019 .289v2.931l.021 .136a3 3 0 0 0 1.143 1.847l.167 .117l.162 .099c.86 .487 .56 1.766 -.377 1.864l-.116 .006h-16c-1.028 0 -1.387 -1.364 -.493 -1.87a3 3 0 0 0 1.472 -2.063l.021 -.143l.001 -2.97a8 8 0 0 1 3.821 -6.454l.248 -.146l.01 -.043a3.003 3.003 0 0 1 2.562 -2.29l.182 -.017l.176 -.004z"
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { forwardRef as e, useCallback as t, useImperativeHandle as n } from "react";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
3
|
+
import { motion as a, useAnimate as o } from "motion/react";
|
|
4
4
|
//#region src/animations/filled-checked-icon.tsx
|
|
5
5
|
var s = e(({ size: e = 24, className: s = "", color: c = "currentColor", strokeWidth: l = "1" }, u) => {
|
|
6
|
-
let [d, f] =
|
|
6
|
+
let [d, f] = o(), p = t(async () => {
|
|
7
7
|
await f("svg", { scale: 1.1 }, {
|
|
8
8
|
duration: .1,
|
|
9
9
|
ease: "easeInOut"
|
|
@@ -42,11 +42,11 @@ var s = e(({ size: e = 24, className: s = "", color: c = "currentColor", strokeW
|
|
|
42
42
|
return n(u, () => ({
|
|
43
43
|
startAnimation: p,
|
|
44
44
|
stopAnimation: m
|
|
45
|
-
})), /* @__PURE__ */ a
|
|
45
|
+
})), /* @__PURE__ */ r(a.div, {
|
|
46
46
|
ref: d,
|
|
47
47
|
onHoverStart: p,
|
|
48
48
|
onHoverEnd: m,
|
|
49
|
-
children: /* @__PURE__ */
|
|
49
|
+
children: /* @__PURE__ */ i("svg", {
|
|
50
50
|
xmlns: "http://www.w3.org/2000/svg",
|
|
51
51
|
width: e,
|
|
52
52
|
height: e,
|
|
@@ -58,17 +58,17 @@ var s = e(({ size: e = 24, className: s = "", color: c = "currentColor", strokeW
|
|
|
58
58
|
strokeLinejoin: "round",
|
|
59
59
|
className: s,
|
|
60
60
|
children: [
|
|
61
|
-
/* @__PURE__ */
|
|
61
|
+
/* @__PURE__ */ r("path", {
|
|
62
62
|
stroke: "none",
|
|
63
63
|
d: "M0 0h24v24H0z",
|
|
64
64
|
fill: "none"
|
|
65
65
|
}),
|
|
66
|
-
/* @__PURE__ */ a
|
|
66
|
+
/* @__PURE__ */ r(a.path, {
|
|
67
67
|
d: "M17 3.34a10 10 0 1 1 -14.995 8.984l-.005 -.324l.005 -.324a10 10 0 0 1 14.995 -8.336z",
|
|
68
68
|
className: `filled-circle ${s}`,
|
|
69
69
|
style: { transformOrigin: "center" }
|
|
70
70
|
}),
|
|
71
|
-
/* @__PURE__ */ a
|
|
71
|
+
/* @__PURE__ */ r(a.path, {
|
|
72
72
|
d: "M15.707 9.293a1 1 0 0 0 -1.32 -.083l-.094 .083l-3.293 3.292l-1.293 -1.292l-.094 -.083a1 1 0 0 0 -1.403 1.403l.083 .094l2 2l.094 .083a1 1 0 0 0 1.226 0l.094 -.083l4 -4l.083 -.094a1 1 0 0 0 -.083 -1.32z",
|
|
73
73
|
className: "check-icon text-background",
|
|
74
74
|
fill: "currentColor"
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { forwardRef as e, useCallback as t, useImperativeHandle as n, useRef as r } from "react";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
3
|
+
import { motion as o, useAnimate as s } from "motion/react";
|
|
4
4
|
//#region src/animations/filter-icon.tsx
|
|
5
5
|
var c = e(({ size: e = 24, color: c = "currentColor", strokeWidth: l = 2, className: u = "" }, d) => {
|
|
6
|
-
let [f, p] =
|
|
6
|
+
let [f, p] = s(), m = r(!1), h = t(async () => {
|
|
7
7
|
if (!m.current) for (m.current = !0; m.current && (Array.from({ length: 8 }).map((e, t) => `.p-in-${t}`).forEach((e, t) => {
|
|
8
8
|
p(e, {
|
|
9
9
|
y: [-4, 8],
|
|
@@ -65,7 +65,7 @@ var c = e(({ size: e = 24, color: c = "currentColor", strokeWidth: l = 2, classN
|
|
|
65
65
|
return n(d, () => ({
|
|
66
66
|
startAnimation: h,
|
|
67
67
|
stopAnimation: g
|
|
68
|
-
})), /* @__PURE__ */
|
|
68
|
+
})), /* @__PURE__ */ a(o.svg, {
|
|
69
69
|
ref: f,
|
|
70
70
|
onHoverStart: h,
|
|
71
71
|
onHoverEnd: g,
|
|
@@ -81,12 +81,12 @@ var c = e(({ size: e = 24, color: c = "currentColor", strokeWidth: l = 2, classN
|
|
|
81
81
|
className: `cursor-pointer ${u}`,
|
|
82
82
|
style: { overflow: "visible" },
|
|
83
83
|
children: [
|
|
84
|
-
/* @__PURE__ */ o
|
|
84
|
+
/* @__PURE__ */ i(o.path, {
|
|
85
85
|
className: "funnel",
|
|
86
86
|
d: "M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z",
|
|
87
87
|
style: { transformOrigin: "12px 14px" }
|
|
88
88
|
}),
|
|
89
|
-
/* @__PURE__ */ o
|
|
89
|
+
/* @__PURE__ */ i(o.circle, {
|
|
90
90
|
className: "p-in-0",
|
|
91
91
|
cx: "12",
|
|
92
92
|
cy: "0",
|
|
@@ -95,7 +95,7 @@ var c = e(({ size: e = 24, color: c = "currentColor", strokeWidth: l = 2, classN
|
|
|
95
95
|
stroke: "none",
|
|
96
96
|
opacity: 0
|
|
97
97
|
}),
|
|
98
|
-
/* @__PURE__ */ o
|
|
98
|
+
/* @__PURE__ */ i(o.circle, {
|
|
99
99
|
className: "p-in-1",
|
|
100
100
|
cx: "8",
|
|
101
101
|
cy: "-1",
|
|
@@ -104,7 +104,7 @@ var c = e(({ size: e = 24, color: c = "currentColor", strokeWidth: l = 2, classN
|
|
|
104
104
|
stroke: "none",
|
|
105
105
|
opacity: 0
|
|
106
106
|
}),
|
|
107
|
-
/* @__PURE__ */ o
|
|
107
|
+
/* @__PURE__ */ i(o.circle, {
|
|
108
108
|
className: "p-in-2",
|
|
109
109
|
cx: "16",
|
|
110
110
|
cy: "-2",
|
|
@@ -113,7 +113,7 @@ var c = e(({ size: e = 24, color: c = "currentColor", strokeWidth: l = 2, classN
|
|
|
113
113
|
stroke: "none",
|
|
114
114
|
opacity: 0
|
|
115
115
|
}),
|
|
116
|
-
/* @__PURE__ */ o
|
|
116
|
+
/* @__PURE__ */ i(o.circle, {
|
|
117
117
|
className: "p-in-3",
|
|
118
118
|
cx: "10",
|
|
119
119
|
cy: "1",
|
|
@@ -122,7 +122,7 @@ var c = e(({ size: e = 24, color: c = "currentColor", strokeWidth: l = 2, classN
|
|
|
122
122
|
stroke: "none",
|
|
123
123
|
opacity: 0
|
|
124
124
|
}),
|
|
125
|
-
/* @__PURE__ */ o
|
|
125
|
+
/* @__PURE__ */ i(o.circle, {
|
|
126
126
|
className: "p-in-4",
|
|
127
127
|
cx: "14",
|
|
128
128
|
cy: "0",
|
|
@@ -131,7 +131,7 @@ var c = e(({ size: e = 24, color: c = "currentColor", strokeWidth: l = 2, classN
|
|
|
131
131
|
stroke: "none",
|
|
132
132
|
opacity: 0
|
|
133
133
|
}),
|
|
134
|
-
/* @__PURE__ */ o
|
|
134
|
+
/* @__PURE__ */ i(o.circle, {
|
|
135
135
|
className: "p-in-5",
|
|
136
136
|
cx: "7",
|
|
137
137
|
cy: "2",
|
|
@@ -140,7 +140,7 @@ var c = e(({ size: e = 24, color: c = "currentColor", strokeWidth: l = 2, classN
|
|
|
140
140
|
stroke: "none",
|
|
141
141
|
opacity: 0
|
|
142
142
|
}),
|
|
143
|
-
/* @__PURE__ */ o
|
|
143
|
+
/* @__PURE__ */ i(o.circle, {
|
|
144
144
|
className: "p-in-6",
|
|
145
145
|
cx: "17",
|
|
146
146
|
cy: "1",
|
|
@@ -149,7 +149,7 @@ var c = e(({ size: e = 24, color: c = "currentColor", strokeWidth: l = 2, classN
|
|
|
149
149
|
stroke: "none",
|
|
150
150
|
opacity: 0
|
|
151
151
|
}),
|
|
152
|
-
/* @__PURE__ */ o
|
|
152
|
+
/* @__PURE__ */ i(o.circle, {
|
|
153
153
|
className: "p-in-7",
|
|
154
154
|
cx: "12",
|
|
155
155
|
cy: "-3",
|
|
@@ -158,7 +158,7 @@ var c = e(({ size: e = 24, color: c = "currentColor", strokeWidth: l = 2, classN
|
|
|
158
158
|
stroke: "none",
|
|
159
159
|
opacity: 0
|
|
160
160
|
}),
|
|
161
|
-
/* @__PURE__ */ o
|
|
161
|
+
/* @__PURE__ */ i(o.circle, {
|
|
162
162
|
className: "p-out-1",
|
|
163
163
|
cx: "12",
|
|
164
164
|
cy: "0",
|
|
@@ -167,7 +167,7 @@ var c = e(({ size: e = 24, color: c = "currentColor", strokeWidth: l = 2, classN
|
|
|
167
167
|
stroke: "none",
|
|
168
168
|
opacity: 0
|
|
169
169
|
}),
|
|
170
|
-
/* @__PURE__ */ o
|
|
170
|
+
/* @__PURE__ */ i(o.circle, {
|
|
171
171
|
className: "p-out-2",
|
|
172
172
|
cx: "12",
|
|
173
173
|
cy: "0",
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { forwardRef as e, useImperativeHandle as t } from "react";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
3
|
+
import { motion as r, useAnimate as i } from "motion/react";
|
|
4
4
|
//#region src/animations/flame-icon.tsx
|
|
5
5
|
var a = e(({ size: e = 24, color: a = "currentColor", strokeWidth: o = 2, className: s = "" }, c) => {
|
|
6
|
-
let [l, u] =
|
|
6
|
+
let [l, u] = i(), d = async () => {
|
|
7
7
|
await u(".flame-group", {
|
|
8
8
|
y: [
|
|
9
9
|
0,
|
|
@@ -43,7 +43,7 @@ var a = e(({ size: e = 24, color: a = "currentColor", strokeWidth: o = 2, classN
|
|
|
43
43
|
return t(c, () => ({
|
|
44
44
|
startAnimation: d,
|
|
45
45
|
stopAnimation: f
|
|
46
|
-
})), /* @__PURE__ */
|
|
46
|
+
})), /* @__PURE__ */ n(r.svg, {
|
|
47
47
|
ref: l,
|
|
48
48
|
width: e,
|
|
49
49
|
height: e,
|
|
@@ -57,13 +57,13 @@ var a = e(({ size: e = 24, color: a = "currentColor", strokeWidth: o = 2, classN
|
|
|
57
57
|
style: { overflow: "visible" },
|
|
58
58
|
onHoverStart: d,
|
|
59
59
|
onHoverEnd: f,
|
|
60
|
-
children: /* @__PURE__ */
|
|
60
|
+
children: /* @__PURE__ */ n(r.g, {
|
|
61
61
|
className: "flame-group",
|
|
62
62
|
style: {
|
|
63
63
|
transformOrigin: "50% 100%",
|
|
64
64
|
transformBox: "fill-box"
|
|
65
65
|
},
|
|
66
|
-
children: /* @__PURE__ */
|
|
66
|
+
children: /* @__PURE__ */ n(r.path, { d: "M12 10.941c2.333 -3.308 .167 -7.823 -1 -8.941c0 3.395 -2.235 5.299 -3.667 6.706c-1.43 1.408 -2.333 3.621 -2.333 5.588c0 3.704 3.134 6.706 7 6.706s7 -3.002 7 -6.706c0 -1.712 -1.232 -4.403 -2.333 -5.588c-2.084 3.353 -3.257 3.353 -4.667 2.235" })
|
|
67
67
|
})
|
|
68
68
|
});
|
|
69
69
|
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { forwardRef as e, useCallback as t, useImperativeHandle as n } from "react";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
3
|
+
import { motion as a, useAnimate as o } from "motion/react";
|
|
4
4
|
//#region src/animations/focus-icon.tsx
|
|
5
5
|
var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, className: l = "" }, u) => {
|
|
6
|
-
let [d, f] =
|
|
6
|
+
let [d, f] = o(), p = t(async () => {
|
|
7
7
|
f(".center", { scale: 1.4 }, {
|
|
8
8
|
duration: .25,
|
|
9
9
|
ease: "easeOut"
|
|
@@ -20,7 +20,7 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
20
20
|
return n(u, () => ({
|
|
21
21
|
startAnimation: p,
|
|
22
22
|
stopAnimation: m
|
|
23
|
-
})), /* @__PURE__ */
|
|
23
|
+
})), /* @__PURE__ */ i(a.svg, {
|
|
24
24
|
ref: d,
|
|
25
25
|
xmlns: "http://www.w3.org/2000/svg",
|
|
26
26
|
width: e,
|
|
@@ -35,26 +35,26 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
35
35
|
onHoverStart: p,
|
|
36
36
|
onHoverEnd: m,
|
|
37
37
|
children: [
|
|
38
|
-
/* @__PURE__ */ a
|
|
38
|
+
/* @__PURE__ */ r(a.circle, {
|
|
39
39
|
className: "center",
|
|
40
40
|
cx: "12",
|
|
41
41
|
cy: "12",
|
|
42
42
|
r: "3",
|
|
43
43
|
style: { transformOrigin: "12px 12px" }
|
|
44
44
|
}),
|
|
45
|
-
/* @__PURE__ */ a
|
|
45
|
+
/* @__PURE__ */ r(a.path, {
|
|
46
46
|
className: "corners",
|
|
47
47
|
d: "M3 7V5a2 2 0 0 1 2-2h2"
|
|
48
48
|
}),
|
|
49
|
-
/* @__PURE__ */ a
|
|
49
|
+
/* @__PURE__ */ r(a.path, {
|
|
50
50
|
className: "corners",
|
|
51
51
|
d: "M17 3h2a2 2 0 0 1 2 2v2"
|
|
52
52
|
}),
|
|
53
|
-
/* @__PURE__ */ a
|
|
53
|
+
/* @__PURE__ */ r(a.path, {
|
|
54
54
|
className: "corners",
|
|
55
55
|
d: "M21 17v2a2 2 0 0 1-2 2h-2"
|
|
56
56
|
}),
|
|
57
|
-
/* @__PURE__ */ a
|
|
57
|
+
/* @__PURE__ */ r(a.path, {
|
|
58
58
|
className: "corners",
|
|
59
59
|
d: "M7 21H5a2 2 0 0 1-2-2v-2"
|
|
60
60
|
})
|