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, 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/arrow-narrow-right-dashed-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(".arrow-group", { x: [
|
|
8
8
|
0,
|
|
9
9
|
4,
|
|
@@ -21,7 +21,7 @@ var o = e(({ size: e = 24, color: o = "currentColor", strokeWidth: s = 2, classN
|
|
|
21
21
|
return t(l, () => ({
|
|
22
22
|
startAnimation: f,
|
|
23
23
|
stopAnimation: p
|
|
24
|
-
})), /* @__PURE__ */ i
|
|
24
|
+
})), /* @__PURE__ */ n(i.div, {
|
|
25
25
|
ref: u,
|
|
26
26
|
onHoverStart: () => {
|
|
27
27
|
f();
|
|
@@ -30,7 +30,7 @@ var o = e(({ size: e = 24, color: o = "currentColor", strokeWidth: s = 2, classN
|
|
|
30
30
|
p();
|
|
31
31
|
},
|
|
32
32
|
className: `inline-flex cursor-pointer items-center justify-center ${c}`,
|
|
33
|
-
children: /* @__PURE__ */
|
|
33
|
+
children: /* @__PURE__ */ n("svg", {
|
|
34
34
|
xmlns: "http://www.w3.org/2000/svg",
|
|
35
35
|
width: e,
|
|
36
36
|
height: e,
|
|
@@ -40,17 +40,17 @@ var o = e(({ size: e = 24, color: o = "currentColor", strokeWidth: s = 2, classN
|
|
|
40
40
|
strokeWidth: s,
|
|
41
41
|
strokeLinecap: "round",
|
|
42
42
|
strokeLinejoin: "round",
|
|
43
|
-
children: /* @__PURE__ */
|
|
43
|
+
children: /* @__PURE__ */ r(i.g, {
|
|
44
44
|
className: "arrow-group",
|
|
45
45
|
children: [
|
|
46
|
-
/* @__PURE__ */
|
|
46
|
+
/* @__PURE__ */ n("path", {
|
|
47
47
|
stroke: "none",
|
|
48
48
|
d: "M0 0h24v24H0z",
|
|
49
49
|
fill: "none"
|
|
50
50
|
}),
|
|
51
|
-
/* @__PURE__ */
|
|
52
|
-
/* @__PURE__ */
|
|
53
|
-
/* @__PURE__ */
|
|
51
|
+
/* @__PURE__ */ n("path", { d: "M5 12h.5m3 0h1.5m3 0h6" }),
|
|
52
|
+
/* @__PURE__ */ n("path", { d: "M15 16l4 -4" }),
|
|
53
|
+
/* @__PURE__ */ n("path", { d: "M15 8l4 4" })
|
|
54
54
|
]
|
|
55
55
|
})
|
|
56
56
|
})
|
|
@@ -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/arrow-narrow-right-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(".arrow-group", { x: [
|
|
8
8
|
0,
|
|
9
9
|
4,
|
|
@@ -21,7 +21,7 @@ var o = e(({ size: e = 24, color: o = "currentColor", strokeWidth: s = 2, classN
|
|
|
21
21
|
return t(l, () => ({
|
|
22
22
|
startAnimation: f,
|
|
23
23
|
stopAnimation: p
|
|
24
|
-
})), /* @__PURE__ */ i
|
|
24
|
+
})), /* @__PURE__ */ n(i.div, {
|
|
25
25
|
ref: u,
|
|
26
26
|
onHoverStart: () => {
|
|
27
27
|
f();
|
|
@@ -30,7 +30,7 @@ var o = e(({ size: e = 24, color: o = "currentColor", strokeWidth: s = 2, classN
|
|
|
30
30
|
p();
|
|
31
31
|
},
|
|
32
32
|
className: `inline-flex cursor-pointer items-center justify-center ${c}`,
|
|
33
|
-
children: /* @__PURE__ */
|
|
33
|
+
children: /* @__PURE__ */ n("svg", {
|
|
34
34
|
xmlns: "http://www.w3.org/2000/svg",
|
|
35
35
|
width: e,
|
|
36
36
|
height: e,
|
|
@@ -40,17 +40,17 @@ var o = e(({ size: e = 24, color: o = "currentColor", strokeWidth: s = 2, classN
|
|
|
40
40
|
strokeWidth: s,
|
|
41
41
|
strokeLinecap: "round",
|
|
42
42
|
strokeLinejoin: "round",
|
|
43
|
-
children: /* @__PURE__ */
|
|
43
|
+
children: /* @__PURE__ */ r(i.g, {
|
|
44
44
|
className: "arrow-group",
|
|
45
45
|
children: [
|
|
46
|
-
/* @__PURE__ */
|
|
46
|
+
/* @__PURE__ */ n("path", {
|
|
47
47
|
stroke: "none",
|
|
48
48
|
d: "M0 0h24v24H0z",
|
|
49
49
|
fill: "none"
|
|
50
50
|
}),
|
|
51
|
-
/* @__PURE__ */
|
|
52
|
-
/* @__PURE__ */
|
|
53
|
-
/* @__PURE__ */
|
|
51
|
+
/* @__PURE__ */ n("path", { d: "M5 12l14 0" }),
|
|
52
|
+
/* @__PURE__ */ n("path", { d: "M15 16l4 -4" }),
|
|
53
|
+
/* @__PURE__ */ n("path", { d: "M15 8l4 4" })
|
|
54
54
|
]
|
|
55
55
|
})
|
|
56
56
|
})
|
|
@@ -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/arrow-narrow-up-dashed-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(".arrow-group", { y: [
|
|
8
8
|
0,
|
|
9
9
|
-4,
|
|
@@ -21,7 +21,7 @@ var o = e(({ size: e = 24, color: o = "currentColor", strokeWidth: s = 2, classN
|
|
|
21
21
|
return t(l, () => ({
|
|
22
22
|
startAnimation: f,
|
|
23
23
|
stopAnimation: p
|
|
24
|
-
})), /* @__PURE__ */ i
|
|
24
|
+
})), /* @__PURE__ */ n(i.div, {
|
|
25
25
|
ref: u,
|
|
26
26
|
onHoverStart: () => {
|
|
27
27
|
f();
|
|
@@ -30,7 +30,7 @@ var o = e(({ size: e = 24, color: o = "currentColor", strokeWidth: s = 2, classN
|
|
|
30
30
|
p();
|
|
31
31
|
},
|
|
32
32
|
className: `inline-flex cursor-pointer items-center justify-center ${c}`,
|
|
33
|
-
children: /* @__PURE__ */
|
|
33
|
+
children: /* @__PURE__ */ n("svg", {
|
|
34
34
|
xmlns: "http://www.w3.org/2000/svg",
|
|
35
35
|
width: e,
|
|
36
36
|
height: e,
|
|
@@ -40,17 +40,17 @@ var o = e(({ size: e = 24, color: o = "currentColor", strokeWidth: s = 2, classN
|
|
|
40
40
|
strokeWidth: s,
|
|
41
41
|
strokeLinecap: "round",
|
|
42
42
|
strokeLinejoin: "round",
|
|
43
|
-
children: /* @__PURE__ */
|
|
43
|
+
children: /* @__PURE__ */ r(i.g, {
|
|
44
44
|
className: "arrow-group",
|
|
45
45
|
children: [
|
|
46
|
-
/* @__PURE__ */
|
|
46
|
+
/* @__PURE__ */ n("path", {
|
|
47
47
|
stroke: "none",
|
|
48
48
|
d: "M0 0h24v24H0z",
|
|
49
49
|
fill: "none"
|
|
50
50
|
}),
|
|
51
|
-
/* @__PURE__ */
|
|
52
|
-
/* @__PURE__ */
|
|
53
|
-
/* @__PURE__ */
|
|
51
|
+
/* @__PURE__ */ n("path", { d: "M12 5v6m0 3v1.5m0 3v.5" }),
|
|
52
|
+
/* @__PURE__ */ n("path", { d: "M16 9l-4 -4" }),
|
|
53
|
+
/* @__PURE__ */ n("path", { d: "M8 9l4 -4" })
|
|
54
54
|
]
|
|
55
55
|
})
|
|
56
56
|
})
|
|
@@ -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/arrow-narrow-up-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(".arrow-group", { y: [
|
|
8
8
|
0,
|
|
9
9
|
-4,
|
|
@@ -21,7 +21,7 @@ var o = e(({ size: e = 24, color: o = "currentColor", strokeWidth: s = 2, classN
|
|
|
21
21
|
return t(l, () => ({
|
|
22
22
|
startAnimation: f,
|
|
23
23
|
stopAnimation: p
|
|
24
|
-
})), /* @__PURE__ */ i
|
|
24
|
+
})), /* @__PURE__ */ n(i.div, {
|
|
25
25
|
ref: u,
|
|
26
26
|
onHoverStart: () => {
|
|
27
27
|
f();
|
|
@@ -30,7 +30,7 @@ var o = e(({ size: e = 24, color: o = "currentColor", strokeWidth: s = 2, classN
|
|
|
30
30
|
p();
|
|
31
31
|
},
|
|
32
32
|
className: `inline-flex cursor-pointer items-center justify-center ${c}`,
|
|
33
|
-
children: /* @__PURE__ */
|
|
33
|
+
children: /* @__PURE__ */ n("svg", {
|
|
34
34
|
xmlns: "http://www.w3.org/2000/svg",
|
|
35
35
|
width: e,
|
|
36
36
|
height: e,
|
|
@@ -40,17 +40,17 @@ var o = e(({ size: e = 24, color: o = "currentColor", strokeWidth: s = 2, classN
|
|
|
40
40
|
strokeWidth: s,
|
|
41
41
|
strokeLinecap: "round",
|
|
42
42
|
strokeLinejoin: "round",
|
|
43
|
-
children: /* @__PURE__ */
|
|
43
|
+
children: /* @__PURE__ */ r(i.g, {
|
|
44
44
|
className: "arrow-group",
|
|
45
45
|
children: [
|
|
46
|
-
/* @__PURE__ */
|
|
46
|
+
/* @__PURE__ */ n("path", {
|
|
47
47
|
stroke: "none",
|
|
48
48
|
d: "M0 0h24v24H0z",
|
|
49
49
|
fill: "none"
|
|
50
50
|
}),
|
|
51
|
-
/* @__PURE__ */
|
|
52
|
-
/* @__PURE__ */
|
|
53
|
-
/* @__PURE__ */
|
|
51
|
+
/* @__PURE__ */ n("path", { d: "M12 5l0 14" }),
|
|
52
|
+
/* @__PURE__ */ n("path", { d: "M16 9l-4 -4" }),
|
|
53
|
+
/* @__PURE__ */ n("path", { d: "M8 9l4 -4" })
|
|
54
54
|
]
|
|
55
55
|
})
|
|
56
56
|
})
|
|
@@ -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/at-sign-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(".draw", {
|
|
8
8
|
pathLength: 0,
|
|
9
9
|
opacity: 0
|
|
@@ -35,7 +35,7 @@ var o = e(({ size: e = 24, color: o = "currentColor", strokeWidth: s = 2, classN
|
|
|
35
35
|
return t(l, () => ({
|
|
36
36
|
startAnimation: f,
|
|
37
37
|
stopAnimation: p
|
|
38
|
-
})), /* @__PURE__ */
|
|
38
|
+
})), /* @__PURE__ */ r(i.svg, {
|
|
39
39
|
ref: u,
|
|
40
40
|
onHoverStart: () => {
|
|
41
41
|
f();
|
|
@@ -54,7 +54,7 @@ var o = e(({ size: e = 24, color: o = "currentColor", strokeWidth: s = 2, classN
|
|
|
54
54
|
strokeLinejoin: "round",
|
|
55
55
|
className: `cursor-pointer ${c}`,
|
|
56
56
|
children: [
|
|
57
|
-
/* @__PURE__ */ i
|
|
57
|
+
/* @__PURE__ */ n(i.circle, {
|
|
58
58
|
className: "draw inner",
|
|
59
59
|
cx: "12",
|
|
60
60
|
cy: "12",
|
|
@@ -64,7 +64,7 @@ var o = e(({ size: e = 24, color: o = "currentColor", strokeWidth: s = 2, classN
|
|
|
64
64
|
opacity: 1
|
|
65
65
|
}
|
|
66
66
|
}),
|
|
67
|
-
/* @__PURE__ */ i
|
|
67
|
+
/* @__PURE__ */ n(i.path, {
|
|
68
68
|
className: "draw path",
|
|
69
69
|
d: "M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-4 8",
|
|
70
70
|
initial: {
|
|
@@ -72,7 +72,7 @@ var o = e(({ size: e = 24, color: o = "currentColor", strokeWidth: s = 2, classN
|
|
|
72
72
|
opacity: 1
|
|
73
73
|
}
|
|
74
74
|
}),
|
|
75
|
-
/* @__PURE__ */ i
|
|
75
|
+
/* @__PURE__ */ n(i.circle, {
|
|
76
76
|
className: "draw outer",
|
|
77
77
|
cx: "12",
|
|
78
78
|
cy: "12",
|
|
@@ -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/banana-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(".peel", {
|
|
8
8
|
pathLength: [0, 1],
|
|
9
9
|
opacity: [0, 1]
|
|
@@ -36,7 +36,7 @@ var o = e(({ size: e = 24, color: o = "currentColor", strokeWidth: s = 2, classN
|
|
|
36
36
|
return t(l, () => ({
|
|
37
37
|
startAnimation: f,
|
|
38
38
|
stopAnimation: p
|
|
39
|
-
})), /* @__PURE__ */
|
|
39
|
+
})), /* @__PURE__ */ r(i.svg, {
|
|
40
40
|
ref: u,
|
|
41
41
|
onHoverStart: () => {
|
|
42
42
|
f();
|
|
@@ -54,14 +54,14 @@ var o = e(({ size: e = 24, color: o = "currentColor", strokeWidth: s = 2, classN
|
|
|
54
54
|
strokeLinecap: "round",
|
|
55
55
|
strokeLinejoin: "round",
|
|
56
56
|
className: `cursor-pointer ${c}`,
|
|
57
|
-
children: [/* @__PURE__ */ i
|
|
57
|
+
children: [/* @__PURE__ */ n(i.path, {
|
|
58
58
|
className: "peel",
|
|
59
59
|
d: "M4 13c3.5-2 8-2 10 2a5.5 5.5 0 0 1 8 5",
|
|
60
60
|
initial: {
|
|
61
61
|
pathLength: 1,
|
|
62
62
|
opacity: 1
|
|
63
63
|
}
|
|
64
|
-
}), /* @__PURE__ */ i
|
|
64
|
+
}), /* @__PURE__ */ n(i.path, {
|
|
65
65
|
className: "banana",
|
|
66
66
|
style: { transformOrigin: "center" },
|
|
67
67
|
d: "M5.15 17.89c5.52-1.52 8.65-6.89 7-12C11.55 4 11.5 2 13 2c3.22 0 5 5.5 5 8 0 6.5-4.2 12-10.49 12C5.11 22 2 22 2 20c0-1.5 1.14-1.55 3.15-2.11Z"
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { forwardRef as e, useEffect 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/battery-charging-icon.tsx
|
|
6
6
|
var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2.5, className: l = "" }, u) => {
|
|
7
|
-
let [d, f] =
|
|
7
|
+
let [d, f] = o();
|
|
8
8
|
t(() => {
|
|
9
9
|
f(".battery-bar-1", { opacity: 0 }, { duration: 0 }), f(".battery-bar-2", { opacity: 0 }, { duration: 0 }), f(".battery-bar-3", { opacity: 0 }, { duration: 0 }), f(".battery-bar-4", { opacity: 0 }, { duration: 0 });
|
|
10
10
|
}, [f]);
|
|
@@ -31,7 +31,7 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2.5, clas
|
|
|
31
31
|
return n(u, () => ({
|
|
32
32
|
startAnimation: p,
|
|
33
33
|
stopAnimation: m
|
|
34
|
-
})), /* @__PURE__ */ a
|
|
34
|
+
})), /* @__PURE__ */ r(a.div, {
|
|
35
35
|
ref: d,
|
|
36
36
|
onHoverStart: () => {
|
|
37
37
|
p();
|
|
@@ -40,7 +40,7 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2.5, clas
|
|
|
40
40
|
m();
|
|
41
41
|
},
|
|
42
42
|
className: `inline-flex cursor-pointer ${l}`,
|
|
43
|
-
children: /* @__PURE__ */
|
|
43
|
+
children: /* @__PURE__ */ i("svg", {
|
|
44
44
|
xmlns: "http://www.w3.org/2000/svg",
|
|
45
45
|
width: e,
|
|
46
46
|
height: e,
|
|
@@ -50,28 +50,28 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2.5, clas
|
|
|
50
50
|
strokeWidth: c,
|
|
51
51
|
strokeLinecap: "square",
|
|
52
52
|
children: [
|
|
53
|
-
/* @__PURE__ */ a
|
|
53
|
+
/* @__PURE__ */ r(a.path, {
|
|
54
54
|
initial: { opacity: 0 },
|
|
55
55
|
className: "battery-bar-1",
|
|
56
56
|
d: "M10 31V17"
|
|
57
57
|
}),
|
|
58
|
-
/* @__PURE__ */ a
|
|
58
|
+
/* @__PURE__ */ r(a.path, {
|
|
59
59
|
initial: { opacity: 0 },
|
|
60
60
|
className: "battery-bar-2",
|
|
61
61
|
d: "M17 31V17"
|
|
62
62
|
}),
|
|
63
|
-
/* @__PURE__ */ a
|
|
63
|
+
/* @__PURE__ */ r(a.path, {
|
|
64
64
|
initial: { opacity: 0 },
|
|
65
65
|
className: "battery-bar-3",
|
|
66
66
|
d: "M24 31V17"
|
|
67
67
|
}),
|
|
68
|
-
/* @__PURE__ */ a
|
|
68
|
+
/* @__PURE__ */ r(a.path, {
|
|
69
69
|
initial: { opacity: 0 },
|
|
70
70
|
className: "battery-bar-4",
|
|
71
71
|
d: "M31 31V17"
|
|
72
72
|
}),
|
|
73
|
-
/* @__PURE__ */ a
|
|
74
|
-
/* @__PURE__ */ a
|
|
73
|
+
/* @__PURE__ */ r(a.path, { d: "M46 20V28" }),
|
|
74
|
+
/* @__PURE__ */ r(a.path, { d: "M37 10H8C5.2386 10 3 12.2386 3 15V33C3 35.7614 5.2386 38 8 38H37C39.7614 38 42 35.7614 42 33V15C42 12.2386 39.7614 10 37 10Z" })
|
|
75
75
|
]
|
|
76
76
|
})
|
|
77
77
|
});
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { forwardRef as e, useImperativeHandle as t } from "react";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
4
|
+
import { motion as i, useAnimate as a } from "motion/react";
|
|
5
5
|
//#region src/animations/battery-icon.tsx
|
|
6
6
|
var o = e(({ size: e = 24, color: o = "currentColor", strokeWidth: s = 2.5, className: c = "" }, l) => {
|
|
7
|
-
let [u, d] =
|
|
7
|
+
let [u, d] = a(), f = async () => {
|
|
8
8
|
await d(".battery-bolt", {
|
|
9
9
|
pathLength: 0,
|
|
10
10
|
opacity: 0
|
|
@@ -38,7 +38,7 @@ var o = e(({ size: e = 24, color: o = "currentColor", strokeWidth: s = 2.5, clas
|
|
|
38
38
|
return t(l, () => ({
|
|
39
39
|
startAnimation: f,
|
|
40
40
|
stopAnimation: p
|
|
41
|
-
})), /* @__PURE__ */ i
|
|
41
|
+
})), /* @__PURE__ */ n(i.div, {
|
|
42
42
|
ref: u,
|
|
43
43
|
onHoverStart: () => {
|
|
44
44
|
f();
|
|
@@ -47,7 +47,7 @@ var o = e(({ size: e = 24, color: o = "currentColor", strokeWidth: s = 2.5, clas
|
|
|
47
47
|
p();
|
|
48
48
|
},
|
|
49
49
|
className: `inline-flex cursor-pointer ${c}`,
|
|
50
|
-
children: /* @__PURE__ */
|
|
50
|
+
children: /* @__PURE__ */ r("svg", {
|
|
51
51
|
xmlns: "http://www.w3.org/2000/svg",
|
|
52
52
|
width: e,
|
|
53
53
|
height: e,
|
|
@@ -58,16 +58,16 @@ var o = e(({ size: e = 24, color: o = "currentColor", strokeWidth: s = 2.5, clas
|
|
|
58
58
|
strokeMiterlimit: "10",
|
|
59
59
|
strokeLinecap: "square",
|
|
60
60
|
children: [
|
|
61
|
-
/* @__PURE__ */ i
|
|
61
|
+
/* @__PURE__ */ n(i.path, {
|
|
62
62
|
className: "battery-terminal",
|
|
63
63
|
d: "M46 20V28"
|
|
64
64
|
}),
|
|
65
|
-
/* @__PURE__ */ i
|
|
65
|
+
/* @__PURE__ */ n(i.path, {
|
|
66
66
|
className: "battery-body",
|
|
67
67
|
style: { transformOrigin: "50% 50%" },
|
|
68
68
|
d: "M37 10H8C5.23858 10 3 12.2386 3 15V33C3 35.7614 5.23858 38 8 38H37C39.7614 38 42 35.7614 42 33V15C42 12.2386 39.7614 10 37 10Z"
|
|
69
69
|
}),
|
|
70
|
-
/* @__PURE__ */ i
|
|
70
|
+
/* @__PURE__ */ n(i.path, {
|
|
71
71
|
className: "battery-bolt",
|
|
72
72
|
style: { transformOrigin: "22.5px 24px" },
|
|
73
73
|
d: "M33.5 25.6667L22.5 19V29L11.5 22.3333"
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { forwardRef as e, useEffect 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/battery-pause-icon.tsx
|
|
6
6
|
var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2.5, className: l = "" }, u) => {
|
|
7
|
-
let [d, f] =
|
|
7
|
+
let [d, f] = o();
|
|
8
8
|
t(() => {
|
|
9
9
|
f(".battery-pause-1", { opacity: 1 }, { duration: 0 }), f(".battery-pause-2", { opacity: 1 }, { duration: 0 }), f(".battery-pause-3", { opacity: 0 }, { duration: 0 }), f(".battery-pause-4", { opacity: 0 }, { duration: 0 });
|
|
10
10
|
}, [f]);
|
|
@@ -25,7 +25,7 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2.5, clas
|
|
|
25
25
|
return n(u, () => ({
|
|
26
26
|
startAnimation: p,
|
|
27
27
|
stopAnimation: m
|
|
28
|
-
})), /* @__PURE__ */ a
|
|
28
|
+
})), /* @__PURE__ */ r(a.div, {
|
|
29
29
|
ref: d,
|
|
30
30
|
onHoverStart: () => {
|
|
31
31
|
p();
|
|
@@ -34,7 +34,7 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2.5, clas
|
|
|
34
34
|
m();
|
|
35
35
|
},
|
|
36
36
|
className: `inline-flex cursor-pointer ${l}`,
|
|
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,
|
|
@@ -44,26 +44,26 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2.5, clas
|
|
|
44
44
|
strokeWidth: c,
|
|
45
45
|
strokeLinecap: "square",
|
|
46
46
|
children: [
|
|
47
|
-
/* @__PURE__ */ a
|
|
47
|
+
/* @__PURE__ */ r(a.path, {
|
|
48
48
|
className: "battery-pause-bar battery-pause-1",
|
|
49
49
|
d: "M10 31V17"
|
|
50
50
|
}),
|
|
51
|
-
/* @__PURE__ */ a
|
|
51
|
+
/* @__PURE__ */ r(a.path, {
|
|
52
52
|
className: "battery-pause-bar battery-pause-2",
|
|
53
53
|
d: "M17 31V17"
|
|
54
54
|
}),
|
|
55
|
-
/* @__PURE__ */ a
|
|
55
|
+
/* @__PURE__ */ r(a.path, {
|
|
56
56
|
initial: { opacity: 0 },
|
|
57
57
|
className: "battery-pause-bar battery-pause-3",
|
|
58
58
|
d: "M24 31V17"
|
|
59
59
|
}),
|
|
60
|
-
/* @__PURE__ */ a
|
|
60
|
+
/* @__PURE__ */ r(a.path, {
|
|
61
61
|
initial: { opacity: 0 },
|
|
62
62
|
className: "battery-pause-bar battery-pause-4",
|
|
63
63
|
d: "M31 31V17"
|
|
64
64
|
}),
|
|
65
|
-
/* @__PURE__ */ a
|
|
66
|
-
/* @__PURE__ */ a
|
|
65
|
+
/* @__PURE__ */ r(a.path, { d: "M46 20V28" }),
|
|
66
|
+
/* @__PURE__ */ r(a.path, { d: "M37 10H8C5.2386 10 3 12.2386 3 15V33C3 35.7614 5.2386 38 8 38H37C39.7614 38 42 35.7614 42 33V15C42 12.2386 39.7614 10 37 10Z" })
|
|
67
67
|
]
|
|
68
68
|
})
|
|
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/bell-off-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(".bell", { x: [
|
|
8
8
|
-1,
|
|
9
9
|
1,
|
|
@@ -29,7 +29,7 @@ var o = e(({ size: e = 24, color: o = "currentColor", strokeWidth: s = 2, classN
|
|
|
29
29
|
return t(l, () => ({
|
|
30
30
|
startAnimation: f,
|
|
31
31
|
stopAnimation: p
|
|
32
|
-
})), /* @__PURE__ */
|
|
32
|
+
})), /* @__PURE__ */ r(i.svg, {
|
|
33
33
|
ref: u,
|
|
34
34
|
onHoverStart: () => {
|
|
35
35
|
f();
|
|
@@ -48,15 +48,15 @@ var o = e(({ size: e = 24, color: o = "currentColor", strokeWidth: s = 2, classN
|
|
|
48
48
|
strokeLinejoin: "round",
|
|
49
49
|
className: `cursor-pointer ${c}`,
|
|
50
50
|
children: [
|
|
51
|
-
/* @__PURE__ */ i
|
|
51
|
+
/* @__PURE__ */ n(i.path, {
|
|
52
52
|
className: "bell",
|
|
53
53
|
d: "M10.268 21a2 2 0 0 0 3.464 0"
|
|
54
54
|
}),
|
|
55
|
-
/* @__PURE__ */ i
|
|
55
|
+
/* @__PURE__ */ n(i.path, {
|
|
56
56
|
className: "bell",
|
|
57
57
|
d: "M17 17H4a1 1 0 0 1-.74-1.673C4.59 13.956 6 12.499 6 8a6 6 0 0 1 .258-1.742"
|
|
58
58
|
}),
|
|
59
|
-
/* @__PURE__ */ i
|
|
59
|
+
/* @__PURE__ */ n(i.path, {
|
|
60
60
|
className: "slash",
|
|
61
61
|
d: "m2 2 20 20",
|
|
62
62
|
initial: {
|
|
@@ -64,7 +64,7 @@ var o = e(({ size: e = 24, color: o = "currentColor", strokeWidth: s = 2, classN
|
|
|
64
64
|
opacity: 1
|
|
65
65
|
}
|
|
66
66
|
}),
|
|
67
|
-
/* @__PURE__ */ i
|
|
67
|
+
/* @__PURE__ */ n(i.path, {
|
|
68
68
|
className: "bell",
|
|
69
69
|
d: "M8.668 3.01A6 6 0 0 1 18 8c0 2.687.77 4.653 1.707 6.05"
|
|
70
70
|
})
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { forwardRef as e, useImperativeHandle as t } from "react";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
3
|
+
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
4
|
+
import { motion as i, useAnimate as a } from "motion/react";
|
|
5
5
|
//#region src/animations/bluetooth-connected-icon.tsx
|
|
6
6
|
var o = e(({ size: e = 24, color: o = "currentColor", strokeWidth: s = 2, className: c = "" }, l) => {
|
|
7
|
-
let [u, d] =
|
|
7
|
+
let [u, d] = a(), f = async () => {
|
|
8
8
|
d(".bluetooth-symbol", { scale: [
|
|
9
9
|
1,
|
|
10
10
|
1.1,
|
|
@@ -43,7 +43,7 @@ var o = e(({ size: e = 24, color: o = "currentColor", strokeWidth: s = 2, classN
|
|
|
43
43
|
return t(l, () => ({
|
|
44
44
|
startAnimation: f,
|
|
45
45
|
stopAnimation: p
|
|
46
|
-
})), /* @__PURE__ */
|
|
46
|
+
})), /* @__PURE__ */ r(i.svg, {
|
|
47
47
|
ref: u,
|
|
48
48
|
xmlns: "http://www.w3.org/2000/svg",
|
|
49
49
|
width: e,
|
|
@@ -62,21 +62,21 @@ var o = e(({ size: e = 24, color: o = "currentColor", strokeWidth: s = 2, classN
|
|
|
62
62
|
p();
|
|
63
63
|
},
|
|
64
64
|
children: [
|
|
65
|
-
/* @__PURE__ */
|
|
65
|
+
/* @__PURE__ */ n("path", {
|
|
66
66
|
stroke: "none",
|
|
67
67
|
d: "M0 0h24v24H0z",
|
|
68
68
|
fill: "none"
|
|
69
69
|
}),
|
|
70
|
-
/* @__PURE__ */ i
|
|
70
|
+
/* @__PURE__ */ n(i.path, {
|
|
71
71
|
className: "bluetooth-symbol",
|
|
72
72
|
d: "M7 8l10 8l-5 4l0 -16l5 4l-10 8",
|
|
73
73
|
style: { transformOrigin: "50% 50%" }
|
|
74
74
|
}),
|
|
75
|
-
/* @__PURE__ */ i
|
|
75
|
+
/* @__PURE__ */ n(i.path, {
|
|
76
76
|
className: "connection-dot",
|
|
77
77
|
d: "M4 12l1 0"
|
|
78
78
|
}),
|
|
79
|
-
/* @__PURE__ */ i
|
|
79
|
+
/* @__PURE__ */ n(i.path, {
|
|
80
80
|
className: "connection-dot",
|
|
81
81
|
d: "M18 12l1 0"
|
|
82
82
|
})
|
|
@@ -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/book-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 = async () => {
|
|
8
8
|
await f(".book-line", {
|
|
9
9
|
pathLength: 0,
|
|
10
10
|
opacity: 0
|
|
@@ -39,7 +39,7 @@ var s = t(({ size: t = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
39
39
|
return n(u, () => ({
|
|
40
40
|
startAnimation: p,
|
|
41
41
|
stopAnimation: m
|
|
42
|
-
})), /* @__PURE__ */ a
|
|
42
|
+
})), /* @__PURE__ */ r(a.div, {
|
|
43
43
|
ref: d,
|
|
44
44
|
onHoverStart: () => {
|
|
45
45
|
p();
|
|
@@ -48,7 +48,7 @@ var s = t(({ size: t = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
48
48
|
m();
|
|
49
49
|
},
|
|
50
50
|
className: `inline-flex cursor-pointer ${l}`,
|
|
51
|
-
children: /* @__PURE__ */
|
|
51
|
+
children: /* @__PURE__ */ i("svg", {
|
|
52
52
|
xmlns: "http://www.w3.org/2000/svg",
|
|
53
53
|
width: t,
|
|
54
54
|
height: t,
|
|
@@ -59,24 +59,24 @@ var s = t(({ size: t = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
59
59
|
strokeMiterlimit: "10",
|
|
60
60
|
strokeLinecap: "square",
|
|
61
61
|
children: [
|
|
62
|
-
/* @__PURE__ */ a
|
|
62
|
+
/* @__PURE__ */ r(a.path, {
|
|
63
63
|
className: "book-spine",
|
|
64
64
|
d: "M24 40.5V41L24 10V10.5"
|
|
65
65
|
}),
|
|
66
|
-
/* @__PURE__ */ a
|
|
66
|
+
/* @__PURE__ */ r(a.path, {
|
|
67
67
|
className: "book-cover",
|
|
68
68
|
style: { transformOrigin: "24px 25px" },
|
|
69
69
|
d: "M24 41C31.0005 36.9995 37.9995 36.9995 45 41V10.0003C37.9995 5.99989 31.0005 5.99989 24 10.0003C16.9995 5.99989 10.0005 5.99989 3 10.0003V41C10.0005 36.9995 16.9995 36.9995 24 41Z"
|
|
70
70
|
}),
|
|
71
|
-
/* @__PURE__ */ a
|
|
71
|
+
/* @__PURE__ */ r(a.path, {
|
|
72
72
|
className: "book-line book-line-1",
|
|
73
73
|
d: "M30 16.5C32.8362 15.1345 36.5662 15.06 39.5 16.2763"
|
|
74
74
|
}),
|
|
75
|
-
/* @__PURE__ */ a
|
|
75
|
+
/* @__PURE__ */ r(a.path, {
|
|
76
76
|
className: "book-line book-line-2",
|
|
77
77
|
d: "M30 23.5832C32.8362 22.2178 36.5662 22.1432 39.5 23.3596"
|
|
78
78
|
}),
|
|
79
|
-
/* @__PURE__ */ a
|
|
79
|
+
/* @__PURE__ */ r(a.path, {
|
|
80
80
|
className: "book-line book-line-3",
|
|
81
81
|
d: "M30 30.6665C32.8362 29.301 36.5662 29.2265 39.5 30.4428"
|
|
82
82
|
})
|