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/gamepad-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(() => {
|
|
7
7
|
f(d.current, { scale: 1.05 }, {
|
|
8
8
|
duration: .2,
|
|
9
9
|
ease: "easeOut"
|
|
@@ -73,7 +73,7 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
73
73
|
return n(u, () => ({
|
|
74
74
|
startAnimation: p,
|
|
75
75
|
stopAnimation: m
|
|
76
|
-
})), /* @__PURE__ */
|
|
76
|
+
})), /* @__PURE__ */ i(a.svg, {
|
|
77
77
|
ref: d,
|
|
78
78
|
onHoverStart: p,
|
|
79
79
|
onHoverEnd: m,
|
|
@@ -89,22 +89,22 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
89
89
|
className: `cursor-pointer ${l}`,
|
|
90
90
|
style: { overflow: "visible" },
|
|
91
91
|
children: [
|
|
92
|
-
/* @__PURE__ */
|
|
93
|
-
/* @__PURE__ */
|
|
92
|
+
/* @__PURE__ */ r("path", { d: "M17.32 5H6.68a4 4 0 0 0-3.978 3.59c-.006.052-.01.101-.017.152C2.604 9.416 2 14.456 2 16a3 3 0 0 0 3 3c1 0 1.5-.5 2-1l1.414-1.414A2 2 0 0 1 9.828 16h4.344a2 2 0 0 1 1.414.586L17 18c.5.5 1 1 2 1a3 3 0 0 0 3-3c0-1.545-.604-6.584-.685-7.258-.007-.05-.011-.1-.017-.151A4 4 0 0 0 17.32 5z" }),
|
|
93
|
+
/* @__PURE__ */ i(a.g, {
|
|
94
94
|
className: "gamepad-dpad",
|
|
95
|
-
children: [/* @__PURE__ */
|
|
95
|
+
children: [/* @__PURE__ */ r("line", {
|
|
96
96
|
x1: "6",
|
|
97
97
|
x2: "10",
|
|
98
98
|
y1: "11",
|
|
99
99
|
y2: "11"
|
|
100
|
-
}), /* @__PURE__ */
|
|
100
|
+
}), /* @__PURE__ */ r("line", {
|
|
101
101
|
x1: "8",
|
|
102
102
|
x2: "8",
|
|
103
103
|
y1: "9",
|
|
104
104
|
y2: "13"
|
|
105
105
|
})]
|
|
106
106
|
}),
|
|
107
|
-
/* @__PURE__ */ a
|
|
107
|
+
/* @__PURE__ */ r(a.line, {
|
|
108
108
|
className: "gamepad-dot-1",
|
|
109
109
|
x1: "15",
|
|
110
110
|
x2: "15.01",
|
|
@@ -112,7 +112,7 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
112
112
|
y2: "12",
|
|
113
113
|
style: { transformOrigin: "15px 12px" }
|
|
114
114
|
}),
|
|
115
|
-
/* @__PURE__ */ a
|
|
115
|
+
/* @__PURE__ */ r(a.line, {
|
|
116
116
|
className: "gamepad-dot-2",
|
|
117
117
|
x1: "18",
|
|
118
118
|
x2: "18.01",
|
|
@@ -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/gauge-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(".needle", { rotate: [
|
|
8
8
|
0,
|
|
9
9
|
45,
|
|
@@ -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,
|
|
@@ -37,7 +37,7 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
37
37
|
className: `cursor-pointer ${l}`,
|
|
38
38
|
onHoverStart: p,
|
|
39
39
|
onHoverEnd: m,
|
|
40
|
-
children: [/* @__PURE__ */
|
|
40
|
+
children: [/* @__PURE__ */ r("path", { d: "M3.34 19a10 10 0 1 1 17.32 0" }), /* @__PURE__ */ r(a.path, {
|
|
41
41
|
className: "needle",
|
|
42
42
|
style: { transformOrigin: "12px 14px" },
|
|
43
43
|
d: "m12 14 4-4"
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { scaledStrokeWidth as e } from "./types.js";
|
|
2
2
|
import { forwardRef 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/gear-icon.tsx
|
|
6
6
|
var s = t(({ size: t = 24, color: s = "currentColor", strokeWidth: c = 2, className: l = "" }, u) => {
|
|
7
|
-
let [d, f] =
|
|
7
|
+
let [d, f] = o(), p = () => {
|
|
8
8
|
f(".gear-body", { scale: [
|
|
9
9
|
1,
|
|
10
10
|
1.02,
|
|
@@ -26,7 +26,7 @@ var s = t(({ size: t = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
26
26
|
return n(u, () => ({
|
|
27
27
|
startAnimation: p,
|
|
28
28
|
stopAnimation: m
|
|
29
|
-
})), /* @__PURE__ */ a
|
|
29
|
+
})), /* @__PURE__ */ r(a.svg, {
|
|
30
30
|
ref: d,
|
|
31
31
|
onHoverStart: () => {
|
|
32
32
|
p();
|
|
@@ -45,18 +45,18 @@ var s = t(({ size: t = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
45
45
|
strokeMiterlimit: "10",
|
|
46
46
|
className: `cursor-pointer ${l}`,
|
|
47
47
|
style: { overflow: "visible" },
|
|
48
|
-
children: /* @__PURE__ */
|
|
48
|
+
children: /* @__PURE__ */ i(a.g, {
|
|
49
49
|
className: "gear-rotator",
|
|
50
50
|
style: {
|
|
51
51
|
transformOrigin: "50% 50%",
|
|
52
52
|
transformBox: "fill-box"
|
|
53
53
|
},
|
|
54
|
-
children: [/* @__PURE__ */ a
|
|
54
|
+
children: [/* @__PURE__ */ r(a.circle, {
|
|
55
55
|
className: "gear-center",
|
|
56
56
|
cx: "16",
|
|
57
57
|
cy: "16",
|
|
58
58
|
r: "5"
|
|
59
|
-
}), /* @__PURE__ */ a
|
|
59
|
+
}), /* @__PURE__ */ r(a.path, {
|
|
60
60
|
className: "gear-body",
|
|
61
61
|
d: "m30,17.5v-3l-3.388-1.355c-.25-.933-.617-1.815-1.089-2.633l1.436-3.351-2.121-2.121-3.351,1.436c-.817-.472-1.7-.838-2.633-1.089l-1.355-3.388h-3l-1.355,3.388c-.933.25-1.815.617-2.633,1.089l-3.351-1.436-2.121,2.121 1.436,3.351c-.472.817-.838,1.7-1.089,2.633l-3.388,1.355v3l3.388,1.355c.25.933.617,1.815,1.089,2.633l-1.436,3.351 2.121,2.121 3.351-1.436c.817.472 1.7.838 2.633,1.089l1.355,3.388h3l1.355-3.388c.933-.25 1.815-.617 2.633-1.089l3.351,1.436 2.121-2.121-1.436-3.351c.472-.817.838-1.7 1.089-2.633l3.388-1.355Z"
|
|
62
62
|
})]
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { forwardRef as e, useImperativeHandle as t } from "react";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
3
|
+
import { motion as i, useAnimate as a } from "motion/react";
|
|
4
4
|
//#region src/animations/ghost-icon.tsx
|
|
5
5
|
var o = e(({ size: e = 24, color: o = "currentColor", strokeWidth: s = 2, className: c = "" }, l) => {
|
|
6
|
-
let [u, d] =
|
|
6
|
+
let [u, d] = a(), f = async () => {
|
|
7
7
|
d(".ghost-body", {
|
|
8
8
|
y: [
|
|
9
9
|
0,
|
|
@@ -63,7 +63,7 @@ var o = e(({ size: e = 24, color: o = "currentColor", strokeWidth: s = 2, classN
|
|
|
63
63
|
return t(l, () => ({
|
|
64
64
|
startAnimation: f,
|
|
65
65
|
stopAnimation: p
|
|
66
|
-
})), /* @__PURE__ */
|
|
66
|
+
})), /* @__PURE__ */ r(i.svg, {
|
|
67
67
|
ref: u,
|
|
68
68
|
onHoverStart: () => {
|
|
69
69
|
f();
|
|
@@ -83,17 +83,17 @@ var o = e(({ size: e = 24, color: o = "currentColor", strokeWidth: s = 2, classN
|
|
|
83
83
|
className: `cursor-pointer ${c}`,
|
|
84
84
|
style: { overflow: "visible" },
|
|
85
85
|
children: [
|
|
86
|
-
/* @__PURE__ */ i
|
|
86
|
+
/* @__PURE__ */ n(i.path, {
|
|
87
87
|
className: "ghost-body",
|
|
88
88
|
style: { transformOrigin: "12px 14px" },
|
|
89
89
|
d: "M5 11a7 7 0 0 1 14 0v7a1.78 1.78 0 0 1 -3.1 1.4a1.65 1.65 0 0 0 -2.6 0a1.65 1.65 0 0 1 -2.6 0a1.65 1.65 0 0 0 -2.6 0a1.78 1.78 0 0 1 -3.1 -1.4v-7"
|
|
90
90
|
}),
|
|
91
|
-
/* @__PURE__ */ i
|
|
91
|
+
/* @__PURE__ */ n(i.path, {
|
|
92
92
|
className: "ghost-eye",
|
|
93
93
|
style: { transformOrigin: "10px 10px" },
|
|
94
94
|
d: "M10 10h.01"
|
|
95
95
|
}),
|
|
96
|
-
/* @__PURE__ */ i
|
|
96
|
+
/* @__PURE__ */ n(i.path, {
|
|
97
97
|
className: "ghost-eye",
|
|
98
98
|
style: { transformOrigin: "14px 10px" },
|
|
99
99
|
d: "M14 10h.01"
|
|
@@ -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/github-copilot-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-left", { scaleY: [
|
|
8
8
|
1,
|
|
9
9
|
.1,
|
|
@@ -29,12 +29,12 @@ 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__ */ a
|
|
32
|
+
})), /* @__PURE__ */ r(a.div, {
|
|
33
33
|
ref: d,
|
|
34
34
|
className: `inline-flex cursor-pointer items-center justify-center ${l}`,
|
|
35
35
|
onHoverStart: p,
|
|
36
36
|
onHoverEnd: m,
|
|
37
|
-
children: /* @__PURE__ */
|
|
37
|
+
children: /* @__PURE__ */ i("svg", {
|
|
38
38
|
xmlns: "http://www.w3.org/2000/svg",
|
|
39
39
|
width: e,
|
|
40
40
|
height: e,
|
|
@@ -45,22 +45,22 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
45
45
|
strokeLinecap: "round",
|
|
46
46
|
strokeLinejoin: "round",
|
|
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__ */
|
|
54
|
-
/* @__PURE__ */
|
|
55
|
-
/* @__PURE__ */
|
|
56
|
-
/* @__PURE__ */
|
|
57
|
-
/* @__PURE__ */
|
|
58
|
-
/* @__PURE__ */ a
|
|
53
|
+
/* @__PURE__ */ r("path", { d: "M4 18v-5.5c0 -.667 .167 -1.333 .5 -2" }),
|
|
54
|
+
/* @__PURE__ */ r("path", { d: "M12 7.5c0 -1 -.01 -4.07 -4 -3.5c-3.5 .5 -4 2.5 -4 3.5c0 1.5 0 4 3 4c4 0 5 -2.5 5 -4z" }),
|
|
55
|
+
/* @__PURE__ */ r("path", { d: "M4 12c-1.333 .667 -2 1.333 -2 2c0 1 0 3 1.5 4c3 2 6.5 3 8.5 3s5.499 -1 8.5 -3c1.5 -1 1.5 -3 1.5 -4c0 -.667 -.667 -1.333 -2 -2" }),
|
|
56
|
+
/* @__PURE__ */ r("path", { d: "M20 18v-5.5c0 -.667 -.167 -1.333 -.5 -2" }),
|
|
57
|
+
/* @__PURE__ */ r("path", { d: "M12 7.5l0 -.297l.01 -.269l.027 -.298l.013 -.105l.033 -.215c.014 -.073 .029 -.146 .046 -.22l.06 -.223c.336 -1.118 1.262 -2.237 3.808 -1.873c2.838 .405 3.703 1.797 3.93 2.842l.036 .204c0 .033 .01 .066 .013 .098l.016 .185l0 .171l0 .49l-.015 .394l-.02 .271c-.122 1.366 -.655 2.845 -2.962 2.845c-3.256 0 -4.524 -1.656 -4.883 -3.081l-.053 -.242a3.865 3.865 0 0 1 -.036 -.235l-.021 -.227a3.518 3.518 0 0 1 -.007 -.215z" }),
|
|
58
|
+
/* @__PURE__ */ r(a.path, {
|
|
59
59
|
className: "eye-left",
|
|
60
60
|
d: "M10 15v2",
|
|
61
61
|
style: { transformOrigin: "10px 16px" }
|
|
62
62
|
}),
|
|
63
|
-
/* @__PURE__ */ a
|
|
63
|
+
/* @__PURE__ */ r(a.path, {
|
|
64
64
|
className: "eye-right",
|
|
65
65
|
d: "M14 15v2",
|
|
66
66
|
style: { transformOrigin: "14px 16px" }
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { forwardRef as e, useImperativeHandle as t } from "react";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
3
|
+
import { motion as i, useAnimate as a } from "motion/react";
|
|
4
4
|
//#region src/animations/github-icon.tsx
|
|
5
5
|
var o = e(({ size: e = 24, color: o = "currentColor", strokeWidth: s = 2, className: c = "" }, l) => {
|
|
6
|
-
let [u, d] =
|
|
6
|
+
let [u, d] = a(), f = async () => {
|
|
7
7
|
await d(".github-icon", {
|
|
8
8
|
scale: [
|
|
9
9
|
1,
|
|
@@ -32,7 +32,7 @@ var o = e(({ size: e = 24, color: o = "currentColor", strokeWidth: s = 2, classN
|
|
|
32
32
|
return t(l, () => ({
|
|
33
33
|
startAnimation: f,
|
|
34
34
|
stopAnimation: p
|
|
35
|
-
})), /* @__PURE__ */ i
|
|
35
|
+
})), /* @__PURE__ */ n(i.svg, {
|
|
36
36
|
ref: u,
|
|
37
37
|
onHoverStart: () => {
|
|
38
38
|
f();
|
|
@@ -51,14 +51,14 @@ var o = e(({ size: e = 24, color: o = "currentColor", strokeWidth: s = 2, classN
|
|
|
51
51
|
strokeLinejoin: "round",
|
|
52
52
|
className: `inline-flex cursor-pointer items-center justify-center ${c}`,
|
|
53
53
|
style: { overflow: "visible" },
|
|
54
|
-
children: /* @__PURE__ */
|
|
54
|
+
children: /* @__PURE__ */ r(i.g, {
|
|
55
55
|
className: "github-icon",
|
|
56
56
|
style: { transformOrigin: "center" },
|
|
57
|
-
children: [/* @__PURE__ */
|
|
57
|
+
children: [/* @__PURE__ */ n("path", {
|
|
58
58
|
stroke: "none",
|
|
59
59
|
d: "M0 0h24v24H0z",
|
|
60
60
|
fill: "none"
|
|
61
|
-
}), /* @__PURE__ */
|
|
61
|
+
}), /* @__PURE__ */ n("path", { d: "M9 19c-4.3 1.4 -4.3 -2.5 -6 -3m12 5v-3.5c0 -1 .1 -1.4 -.5 -2c2.8 -.3 5.5 -1.4 5.5 -6a4.6 4.6 0 0 0 -1.3 -3.2a4.2 4.2 0 0 0 -.1 -3.2s-1.1 -.3 -3.5 1.3a12.3 12.3 0 0 0 -6.2 0c-2.4 -1.6 -3.5 -1.3 -3.5 -1.3a4.2 4.2 0 0 0 -.1 3.2a4.6 4.6 0 0 0 -1.3 3.2c0 4.6 2.7 5.7 5.5 6c-.6 .6 -.6 1.2 -.5 2v3.5" })]
|
|
62
62
|
})
|
|
63
63
|
});
|
|
64
64
|
});
|
|
@@ -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/gitlab-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(".gitlab-icon", {
|
|
8
8
|
scale: [
|
|
9
9
|
1,
|
|
@@ -32,12 +32,12 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
32
32
|
return n(u, () => ({
|
|
33
33
|
startAnimation: p,
|
|
34
34
|
stopAnimation: m
|
|
35
|
-
})), /* @__PURE__ */ a
|
|
35
|
+
})), /* @__PURE__ */ r(a.div, {
|
|
36
36
|
ref: d,
|
|
37
37
|
className: `inline-flex cursor-pointer items-center justify-center ${l}`,
|
|
38
38
|
onHoverStart: p,
|
|
39
39
|
onHoverEnd: m,
|
|
40
|
-
children: /* @__PURE__ */
|
|
40
|
+
children: /* @__PURE__ */ r("svg", {
|
|
41
41
|
xmlns: "http://www.w3.org/2000/svg",
|
|
42
42
|
width: e,
|
|
43
43
|
height: e,
|
|
@@ -47,14 +47,14 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
47
47
|
strokeWidth: c,
|
|
48
48
|
strokeLinecap: "round",
|
|
49
49
|
strokeLinejoin: "round",
|
|
50
|
-
children: /* @__PURE__ */
|
|
50
|
+
children: /* @__PURE__ */ i(a.g, {
|
|
51
51
|
className: "gitlab-icon",
|
|
52
52
|
style: { transformOrigin: "center" },
|
|
53
|
-
children: [/* @__PURE__ */
|
|
53
|
+
children: [/* @__PURE__ */ r("path", {
|
|
54
54
|
stroke: "none",
|
|
55
55
|
d: "M0 0h24v24H0z",
|
|
56
56
|
fill: "none"
|
|
57
|
-
}), /* @__PURE__ */
|
|
57
|
+
}), /* @__PURE__ */ r("path", { d: "M21 14l-9 7l-9 -7l3 -11l3 7h6l3 -7z" })]
|
|
58
58
|
})
|
|
59
59
|
})
|
|
60
60
|
});
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { scaledStrokeWidth as e } from "./types.js";
|
|
2
2
|
import { forwardRef as t, useImperativeHandle as n, useRef as r } from "react";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
4
|
+
import { motion as o, useAnimate as s } from "motion/react";
|
|
5
5
|
//#region src/animations/globe-icon.tsx
|
|
6
6
|
var c = t(({ size: t = 24, color: c = "currentColor", strokeWidth: l = 2, className: u = "" }, d) => {
|
|
7
|
-
let [f, p] =
|
|
7
|
+
let [f, p] = s(), m = r([]), h = async () => {
|
|
8
8
|
m.current.forEach((e) => e.stop()), m.current = [], m.current.push(p(".globe-circle", { rotate: 360 }, {
|
|
9
9
|
duration: 2,
|
|
10
10
|
ease: "linear",
|
|
@@ -16,12 +16,12 @@ var c = t(({ size: t = 24, color: c = "currentColor", strokeWidth: l = 2, classN
|
|
|
16
16
|
return n(d, () => ({
|
|
17
17
|
startAnimation: h,
|
|
18
18
|
stopAnimation: g
|
|
19
|
-
})), /* @__PURE__ */ o
|
|
19
|
+
})), /* @__PURE__ */ i(o.div, {
|
|
20
20
|
ref: f,
|
|
21
21
|
className: `inline-flex cursor-pointer ${u}`,
|
|
22
22
|
onHoverStart: h,
|
|
23
23
|
onHoverEnd: g,
|
|
24
|
-
children: /* @__PURE__ */
|
|
24
|
+
children: /* @__PURE__ */ a("svg", {
|
|
25
25
|
xmlns: "http://www.w3.org/2000/svg",
|
|
26
26
|
width: t,
|
|
27
27
|
height: t,
|
|
@@ -32,37 +32,37 @@ var c = t(({ size: t = 24, color: c = "currentColor", strokeWidth: l = 2, classN
|
|
|
32
32
|
strokeMiterlimit: "10",
|
|
33
33
|
strokeLinecap: "square",
|
|
34
34
|
children: [
|
|
35
|
-
/* @__PURE__ */
|
|
35
|
+
/* @__PURE__ */ a(o.g, {
|
|
36
36
|
className: "globe-circle",
|
|
37
37
|
style: { transformOrigin: "23px 19px" },
|
|
38
38
|
children: [
|
|
39
|
-
/* @__PURE__ */ o
|
|
39
|
+
/* @__PURE__ */ i(o.path, {
|
|
40
40
|
className: "globe-continent-1",
|
|
41
41
|
d: "M36.6225 22.1264C34.6145 19.2959 32.3651 15.7913 28.4377 17.3428C24.4307 18.9257 30.0493 23.15 25.2064 26.9189C22.1135 29.3259 22.8515 31.6477 23.9478 33"
|
|
42
42
|
}),
|
|
43
|
-
/* @__PURE__ */ o
|
|
43
|
+
/* @__PURE__ */ i(o.path, {
|
|
44
44
|
className: "globe-continent-2",
|
|
45
45
|
d: "M14 30L15.336 28.0984C16.3999 26.5841 16.557 24.5077 15.7357 22.8151L15.5751 22.4842C14.5131 20.2955 15.1651 17.5604 17.0607 16.253L17.3292 16.0677C18.2109 15.4596 18.808 14.4478 18.9613 13.3023C19.1316 12.0291 18.7338 10.7433 17.8962 9.85981L15.3599 7.24048"
|
|
46
46
|
}),
|
|
47
|
-
/* @__PURE__ */ o
|
|
47
|
+
/* @__PURE__ */ i(o.path, {
|
|
48
48
|
className: "globe-continent-3",
|
|
49
49
|
d: "M23.0628 5C22.3771 9.64991 27.3946 14.948 33.7332 10.0381"
|
|
50
50
|
}),
|
|
51
|
-
/* @__PURE__ */ o
|
|
51
|
+
/* @__PURE__ */ i(o.path, {
|
|
52
52
|
className: "globe-outline",
|
|
53
53
|
d: "M23 33C30.732 33 37 26.732 37 19C37 11.268 30.732 5 23 5C15.268 5 9 11.268 9 19C9 26.732 15.268 33 23 33Z"
|
|
54
54
|
})
|
|
55
55
|
]
|
|
56
56
|
}),
|
|
57
|
-
/* @__PURE__ */ o
|
|
57
|
+
/* @__PURE__ */ i(o.path, {
|
|
58
58
|
className: "globe-stand-stem",
|
|
59
59
|
d: "M23 43V38"
|
|
60
60
|
}),
|
|
61
|
-
/* @__PURE__ */ o
|
|
61
|
+
/* @__PURE__ */ i(o.path, {
|
|
62
62
|
className: "globe-stand-base",
|
|
63
63
|
d: "M16 43H30"
|
|
64
64
|
}),
|
|
65
|
-
/* @__PURE__ */ o
|
|
65
|
+
/* @__PURE__ */ i(o.path, {
|
|
66
66
|
className: "globe-axis",
|
|
67
67
|
d: "M38 3.99994L36.435 5.56491C43.855 12.9849 43.855 25.015 36.435 32.435C29.0151 39.8549 16.9849 39.8549 9.56497 32.435L7.99997 34"
|
|
68
68
|
})
|
|
@@ -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/gmail-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(".envelope-top", {
|
|
8
8
|
pathLength: [0, 1],
|
|
9
9
|
opacity: [0, 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,22 +45,22 @@ 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__ */ a
|
|
53
|
+
/* @__PURE__ */ r(a.path, {
|
|
54
54
|
className: "sides",
|
|
55
55
|
style: { transformOrigin: "center" },
|
|
56
56
|
d: "M16 20h3a1 1 0 0 0 1 -1v-14a1 1 0 0 0 -1 -1h-3v16z"
|
|
57
57
|
}),
|
|
58
|
-
/* @__PURE__ */ a
|
|
58
|
+
/* @__PURE__ */ r(a.path, {
|
|
59
59
|
className: "sides",
|
|
60
60
|
style: { transformOrigin: "center" },
|
|
61
61
|
d: "M5 20h3v-16h-3a1 1 0 0 0 -1 1v14a1 1 0 0 0 1 1z"
|
|
62
62
|
}),
|
|
63
|
-
/* @__PURE__ */ a
|
|
63
|
+
/* @__PURE__ */ r(a.path, {
|
|
64
64
|
className: "envelope-top",
|
|
65
65
|
initial: {
|
|
66
66
|
pathLength: 1,
|
|
@@ -68,7 +68,7 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
68
68
|
},
|
|
69
69
|
d: "M16 4l-4 4l-4 -4"
|
|
70
70
|
}),
|
|
71
|
-
/* @__PURE__ */ a
|
|
71
|
+
/* @__PURE__ */ r(a.path, {
|
|
72
72
|
className: "envelope-flap",
|
|
73
73
|
initial: {
|
|
74
74
|
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, stagger as o, useAnimate as s } from "motion/react";
|
|
4
4
|
//#region src/animations/golang-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 = t(() => {
|
|
7
7
|
p(".speed-line", { x: [
|
|
8
8
|
0,
|
|
9
9
|
-2,
|
|
@@ -11,7 +11,7 @@ var c = e(({ size: e = 24, color: c = "currentColor", strokeWidth: l = 2, classN
|
|
|
11
11
|
] }, {
|
|
12
12
|
duration: .4,
|
|
13
13
|
ease: "easeInOut",
|
|
14
|
-
delay:
|
|
14
|
+
delay: o(.1),
|
|
15
15
|
repeat: 1
|
|
16
16
|
});
|
|
17
17
|
}, [p]), h = t(() => {
|
|
@@ -20,7 +20,7 @@ var c = e(({ size: e = 24, color: c = "currentColor", strokeWidth: l = 2, classN
|
|
|
20
20
|
return n(d, () => ({
|
|
21
21
|
startAnimation: m,
|
|
22
22
|
stopAnimation: h
|
|
23
|
-
}), [m, h]), /* @__PURE__ */
|
|
23
|
+
}), [m, h]), /* @__PURE__ */ i(a.svg, {
|
|
24
24
|
ref: f,
|
|
25
25
|
onHoverStart: m,
|
|
26
26
|
onHoverEnd: h,
|
|
@@ -35,22 +35,22 @@ var c = e(({ size: e = 24, color: c = "currentColor", strokeWidth: l = 2, classN
|
|
|
35
35
|
strokeLinejoin: "round",
|
|
36
36
|
className: `cursor-pointer ${u}`,
|
|
37
37
|
children: [
|
|
38
|
-
/* @__PURE__ */
|
|
38
|
+
/* @__PURE__ */ r("path", {
|
|
39
39
|
stroke: "none",
|
|
40
40
|
d: "M0 0h24v24H0z",
|
|
41
41
|
fill: "none"
|
|
42
42
|
}),
|
|
43
|
-
/* @__PURE__ */
|
|
44
|
-
/* @__PURE__ */
|
|
45
|
-
/* @__PURE__ */
|
|
43
|
+
/* @__PURE__ */ r("path", { d: "M15.695 14.305c1.061 1.06 2.953 .888 4.226 -.384c1.272 -1.273 1.444 -3.165 .384 -4.226c-1.061 -1.06 -2.953 -.888 -4.226 .384c-1.272 1.273 -1.444 3.165 -.384 4.226z" }),
|
|
44
|
+
/* @__PURE__ */ r("path", { d: "M12.68 9.233c-1.084 -.497 -2.545 -.191 -3.591 .846c-1.284 1.273 -1.457 3.165 -.388 4.226c1.07 1.06 2.978 .888 4.261 -.384a3.669 3.669 0 0 0 1.038 -1.921h-2.427" }),
|
|
45
|
+
/* @__PURE__ */ r(a.path, {
|
|
46
46
|
className: "speed-line",
|
|
47
47
|
d: "M5.5 15h-1.5"
|
|
48
48
|
}),
|
|
49
|
-
/* @__PURE__ */
|
|
49
|
+
/* @__PURE__ */ r(a.path, {
|
|
50
50
|
className: "speed-line",
|
|
51
51
|
d: "M6 9h-2"
|
|
52
52
|
}),
|
|
53
|
-
/* @__PURE__ */
|
|
53
|
+
/* @__PURE__ */ r(a.path, {
|
|
54
54
|
className: "speed-line",
|
|
55
55
|
d: "M5 12h-3"
|
|
56
56
|
})
|
|
@@ -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/hand-heart-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(".heart", { scale: [
|
|
8
8
|
1,
|
|
9
9
|
1.3,
|
|
@@ -31,7 +31,7 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
31
31
|
return n(u, () => ({
|
|
32
32
|
startAnimation: p,
|
|
33
33
|
stopAnimation: m
|
|
34
|
-
})), /* @__PURE__ */
|
|
34
|
+
})), /* @__PURE__ */ i(a.svg, {
|
|
35
35
|
ref: d,
|
|
36
36
|
xmlns: "http://www.w3.org/2000/svg",
|
|
37
37
|
width: e,
|
|
@@ -45,14 +45,14 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
45
45
|
className: `cursor-pointer ${l}`,
|
|
46
46
|
onHoverStart: p,
|
|
47
47
|
onHoverEnd: m,
|
|
48
|
-
children: [/* @__PURE__ */
|
|
48
|
+
children: [/* @__PURE__ */ i(a.g, {
|
|
49
49
|
className: "hand",
|
|
50
50
|
children: [
|
|
51
|
-
/* @__PURE__ */
|
|
52
|
-
/* @__PURE__ */
|
|
53
|
-
/* @__PURE__ */
|
|
51
|
+
/* @__PURE__ */ r("path", { d: "M11 14h2a2 2 0 0 0 0-4h-3c-.6 0-1.1.2-1.4.6L3 16" }),
|
|
52
|
+
/* @__PURE__ */ r("path", { d: "m2 15 6 6" }),
|
|
53
|
+
/* @__PURE__ */ r("path", { d: "m7 20 1.6-1.4c.3-.4.8-.6 1.4-.6h4c1.1 0 2.1-.4 2.8-1.2l4.6-4.4a1 1 0 0 0-2.75-2.91" })
|
|
54
54
|
]
|
|
55
|
-
}), /* @__PURE__ */ a
|
|
55
|
+
}), /* @__PURE__ */ r(a.path, {
|
|
56
56
|
className: "heart",
|
|
57
57
|
style: { transformOrigin: "16px 8px" },
|
|
58
58
|
d: "m14.45 13.39 5.05-4.694C20.196 8 21 6.85 21 5.75a2.75 2.75 0 0 0-4.797-1.837.276.276 0 0 1-.406 0A2.75 2.75 0 0 0 11 5.75c0 1.2.802 2.248 1.5 2.946L16 11.95"
|
|
@@ -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/hashtag-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(".line-horizontal", {
|
|
8
8
|
scaleX: 1.1,
|
|
9
9
|
opacity: .7
|
|
@@ -31,7 +31,7 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
31
31
|
return n(u, () => ({
|
|
32
32
|
startAnimation: p,
|
|
33
33
|
stopAnimation: m
|
|
34
|
-
})), /* @__PURE__ */
|
|
34
|
+
})), /* @__PURE__ */ i(a.svg, {
|
|
35
35
|
ref: d,
|
|
36
36
|
xmlns: "http://www.w3.org/2000/svg",
|
|
37
37
|
width: e,
|
|
@@ -46,24 +46,24 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
46
46
|
onHoverStart: p,
|
|
47
47
|
onHoverEnd: m,
|
|
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: "line-horizontal",
|
|
56
56
|
d: "M5 9l14 0"
|
|
57
57
|
}),
|
|
58
|
-
/* @__PURE__ */ a
|
|
58
|
+
/* @__PURE__ */ r(a.path, {
|
|
59
59
|
className: "line-horizontal",
|
|
60
60
|
d: "M5 15l14 0"
|
|
61
61
|
}),
|
|
62
|
-
/* @__PURE__ */ a
|
|
62
|
+
/* @__PURE__ */ r(a.path, {
|
|
63
63
|
className: "line-vertical",
|
|
64
64
|
d: "M11 4l-4 16"
|
|
65
65
|
}),
|
|
66
|
-
/* @__PURE__ */ a
|
|
66
|
+
/* @__PURE__ */ r(a.path, {
|
|
67
67
|
className: "line-vertical",
|
|
68
68
|
d: "M17 4l-4 16"
|
|
69
69
|
})
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { forwardRef as e, useImperativeHandle as t } from "react";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
3
|
+
import { motion as i, useAnimate as a } from "motion/react";
|
|
4
4
|
//#region src/animations/heart-icon.tsx
|
|
5
5
|
var o = e(({ size: e = 24, color: o = "currentColor", strokeWidth: s = 2, className: c = "" }, l) => {
|
|
6
|
-
let [u, d] =
|
|
6
|
+
let [u, d] = a(), f = async () => {
|
|
7
7
|
await d(".heart", { scale: [
|
|
8
8
|
1,
|
|
9
9
|
1.15,
|
|
@@ -23,7 +23,7 @@ var o = e(({ size: e = 24, color: o = "currentColor", strokeWidth: s = 2, classN
|
|
|
23
23
|
return t(l, () => ({
|
|
24
24
|
startAnimation: f,
|
|
25
25
|
stopAnimation: p
|
|
26
|
-
})), /* @__PURE__ */
|
|
26
|
+
})), /* @__PURE__ */ r(i.svg, {
|
|
27
27
|
ref: u,
|
|
28
28
|
onHoverStart: () => {
|
|
29
29
|
f();
|
|
@@ -42,11 +42,11 @@ var o = e(({ size: e = 24, color: o = "currentColor", strokeWidth: s = 2, classN
|
|
|
42
42
|
strokeLinejoin: "round",
|
|
43
43
|
className: `${c} cursor-pointer`,
|
|
44
44
|
style: { overflow: "visible" },
|
|
45
|
-
children: [/* @__PURE__ */ i
|
|
45
|
+
children: [/* @__PURE__ */ n(i.path, {
|
|
46
46
|
stroke: "none",
|
|
47
47
|
d: "M0 0h24v24H0z",
|
|
48
48
|
fill: "none"
|
|
49
|
-
}), /* @__PURE__ */ i
|
|
49
|
+
}), /* @__PURE__ */ n(i.path, {
|
|
50
50
|
className: "heart",
|
|
51
51
|
style: { transformOrigin: "50% 50%" },
|
|
52
52
|
d: "M19.5 12.572l-7.5 7.428l-7.5 -7.428a5 5 0 1 1 7.5 -6.566a5 5 0 1 1 7.5 6.572"
|