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/cart-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(".cart-icon", { x: [
|
|
8
8
|
0,
|
|
9
9
|
6,
|
|
@@ -24,7 +24,7 @@ var o = e(({ size: e = 24, color: o = "currentColor", strokeWidth: s = 2, classN
|
|
|
24
24
|
return t(l, () => ({
|
|
25
25
|
startAnimation: f,
|
|
26
26
|
stopAnimation: p
|
|
27
|
-
})), /* @__PURE__ */ i
|
|
27
|
+
})), /* @__PURE__ */ n(i.div, {
|
|
28
28
|
ref: u,
|
|
29
29
|
onHoverStart: () => {
|
|
30
30
|
f();
|
|
@@ -33,7 +33,7 @@ var o = e(({ size: e = 24, color: o = "currentColor", strokeWidth: s = 2, classN
|
|
|
33
33
|
p();
|
|
34
34
|
},
|
|
35
35
|
className: `inline-flex cursor-pointer ${c}`,
|
|
36
|
-
children: /* @__PURE__ */
|
|
36
|
+
children: /* @__PURE__ */ r("svg", {
|
|
37
37
|
xmlns: "http://www.w3.org/2000/svg",
|
|
38
38
|
width: e,
|
|
39
39
|
height: e,
|
|
@@ -45,23 +45,23 @@ var o = e(({ size: e = 24, color: o = "currentColor", strokeWidth: s = 2, classN
|
|
|
45
45
|
strokeLinejoin: "round",
|
|
46
46
|
className: "cart-icon",
|
|
47
47
|
children: [
|
|
48
|
-
/* @__PURE__ */
|
|
48
|
+
/* @__PURE__ */ n("path", {
|
|
49
49
|
stroke: "none",
|
|
50
50
|
d: "M0 0h24v24H0z",
|
|
51
51
|
fill: "none"
|
|
52
52
|
}),
|
|
53
|
-
/* @__PURE__ */ i
|
|
53
|
+
/* @__PURE__ */ n(i.path, {
|
|
54
54
|
className: "cart-wheel-left",
|
|
55
55
|
style: { transformOrigin: "6px 19px" },
|
|
56
56
|
d: "M6 19m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"
|
|
57
57
|
}),
|
|
58
|
-
/* @__PURE__ */ i
|
|
58
|
+
/* @__PURE__ */ n(i.path, {
|
|
59
59
|
className: "cart-wheel-right",
|
|
60
60
|
style: { transformOrigin: "17px 19px" },
|
|
61
61
|
d: "M17 19m-2 0a2 2 0 1 0 4 0a2 2 0 1 0 -4 0"
|
|
62
62
|
}),
|
|
63
|
-
/* @__PURE__ */
|
|
64
|
-
/* @__PURE__ */
|
|
63
|
+
/* @__PURE__ */ n("path", { d: "M17 17h-11v-14h-2" }),
|
|
64
|
+
/* @__PURE__ */ n("path", { d: "M6 5l14 1l-1 7h-13" })
|
|
65
65
|
]
|
|
66
66
|
})
|
|
67
67
|
});
|
|
@@ -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/chart-bar-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(".bar-1", { scaleY: [0, 1] }, {
|
|
8
8
|
duration: .3,
|
|
9
9
|
ease: "easeOut"
|
|
@@ -35,7 +35,7 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
35
35
|
return n(u, () => ({
|
|
36
36
|
startAnimation: p,
|
|
37
37
|
stopAnimation: m
|
|
38
|
-
})), /* @__PURE__ */
|
|
38
|
+
})), /* @__PURE__ */ i(a.svg, {
|
|
39
39
|
ref: d,
|
|
40
40
|
xmlns: "http://www.w3.org/2000/svg",
|
|
41
41
|
width: e,
|
|
@@ -50,27 +50,27 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
50
50
|
onHoverStart: p,
|
|
51
51
|
onHoverEnd: m,
|
|
52
52
|
children: [
|
|
53
|
-
/* @__PURE__ */
|
|
53
|
+
/* @__PURE__ */ r("path", {
|
|
54
54
|
stroke: "none",
|
|
55
55
|
d: "M0 0h24v24H0z",
|
|
56
56
|
fill: "none"
|
|
57
57
|
}),
|
|
58
|
-
/* @__PURE__ */ a
|
|
58
|
+
/* @__PURE__ */ r(a.path, {
|
|
59
59
|
d: "M3 13a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v6a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z",
|
|
60
60
|
className: "bar-1",
|
|
61
61
|
style: { transformOrigin: "6px 20px" }
|
|
62
62
|
}),
|
|
63
|
-
/* @__PURE__ */ a
|
|
63
|
+
/* @__PURE__ */ r(a.path, {
|
|
64
64
|
d: "M9 5a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v14a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z",
|
|
65
65
|
className: "bar-2",
|
|
66
66
|
style: { transformOrigin: "12px 20px" }
|
|
67
67
|
}),
|
|
68
|
-
/* @__PURE__ */ a
|
|
68
|
+
/* @__PURE__ */ r(a.path, {
|
|
69
69
|
d: "M15 9a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v10a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1z",
|
|
70
70
|
className: "bar-3",
|
|
71
71
|
style: { transformOrigin: "18px 20px" }
|
|
72
72
|
}),
|
|
73
|
-
/* @__PURE__ */ a
|
|
73
|
+
/* @__PURE__ */ r(a.path, {
|
|
74
74
|
d: "M4 20h14",
|
|
75
75
|
className: "base-line",
|
|
76
76
|
style: { transformOrigin: "11px 20px" }
|
|
@@ -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/chart-covariate-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(".dot-1", {
|
|
8
8
|
scale: [
|
|
9
9
|
0,
|
|
@@ -67,7 +67,7 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
67
67
|
return n(u, () => ({
|
|
68
68
|
startAnimation: p,
|
|
69
69
|
stopAnimation: m
|
|
70
|
-
})), /* @__PURE__ */
|
|
70
|
+
})), /* @__PURE__ */ i(a.svg, {
|
|
71
71
|
ref: d,
|
|
72
72
|
xmlns: "http://www.w3.org/2000/svg",
|
|
73
73
|
width: e,
|
|
@@ -82,37 +82,37 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
82
82
|
onHoverStart: p,
|
|
83
83
|
onHoverEnd: m,
|
|
84
84
|
children: [
|
|
85
|
-
/* @__PURE__ */
|
|
85
|
+
/* @__PURE__ */ r("path", {
|
|
86
86
|
stroke: "none",
|
|
87
87
|
d: "M0 0h24v24H0z",
|
|
88
88
|
fill: "none"
|
|
89
89
|
}),
|
|
90
|
-
/* @__PURE__ */ a
|
|
90
|
+
/* @__PURE__ */ r(a.path, {
|
|
91
91
|
d: "M18 11h.009",
|
|
92
92
|
className: "dot-4",
|
|
93
93
|
style: { transformOrigin: "18px 11px" }
|
|
94
94
|
}),
|
|
95
|
-
/* @__PURE__ */ a
|
|
95
|
+
/* @__PURE__ */ r(a.path, {
|
|
96
96
|
d: "M14 15h.009",
|
|
97
97
|
className: "dot-3",
|
|
98
98
|
style: { transformOrigin: "14px 15px" }
|
|
99
99
|
}),
|
|
100
|
-
/* @__PURE__ */ a
|
|
100
|
+
/* @__PURE__ */ r(a.path, {
|
|
101
101
|
d: "M12 6h.009",
|
|
102
102
|
className: "dot-2",
|
|
103
103
|
style: { transformOrigin: "12px 6px" }
|
|
104
104
|
}),
|
|
105
|
-
/* @__PURE__ */ a
|
|
105
|
+
/* @__PURE__ */ r(a.path, {
|
|
106
106
|
d: "M8 10h.009",
|
|
107
107
|
className: "dot-1",
|
|
108
108
|
style: { transformOrigin: "8px 10px" }
|
|
109
109
|
}),
|
|
110
|
-
/* @__PURE__ */ a
|
|
110
|
+
/* @__PURE__ */ r(a.path, {
|
|
111
111
|
d: "M3 21l17 -17",
|
|
112
112
|
className: "trend-line",
|
|
113
113
|
initial: { pathLength: 1 }
|
|
114
114
|
}),
|
|
115
|
-
/* @__PURE__ */
|
|
115
|
+
/* @__PURE__ */ r("path", { d: "M3 3v18h18" })
|
|
116
116
|
]
|
|
117
117
|
});
|
|
118
118
|
});
|
|
@@ -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/chart-histogram-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(".histogram-bar-1", { scaleY: [0, 1] }, {
|
|
8
8
|
duration: .25,
|
|
9
9
|
ease: "easeOut"
|
|
@@ -36,7 +36,7 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
36
36
|
return n(u, () => ({
|
|
37
37
|
startAnimation: p,
|
|
38
38
|
stopAnimation: m
|
|
39
|
-
})), /* @__PURE__ */
|
|
39
|
+
})), /* @__PURE__ */ i(a.svg, {
|
|
40
40
|
ref: d,
|
|
41
41
|
xmlns: "http://www.w3.org/2000/svg",
|
|
42
42
|
width: e,
|
|
@@ -51,33 +51,33 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
51
51
|
onHoverStart: p,
|
|
52
52
|
onHoverEnd: m,
|
|
53
53
|
children: [
|
|
54
|
-
/* @__PURE__ */
|
|
54
|
+
/* @__PURE__ */ r("path", {
|
|
55
55
|
stroke: "none",
|
|
56
56
|
d: "M0 0h24v24H0z",
|
|
57
57
|
fill: "none"
|
|
58
58
|
}),
|
|
59
|
-
/* @__PURE__ */
|
|
60
|
-
/* @__PURE__ */ a
|
|
59
|
+
/* @__PURE__ */ r("path", { d: "M3 3v18h18" }),
|
|
60
|
+
/* @__PURE__ */ r(a.path, {
|
|
61
61
|
d: "M20 18v3",
|
|
62
62
|
className: "histogram-bar-4",
|
|
63
63
|
style: { transformOrigin: "20px 21px" }
|
|
64
64
|
}),
|
|
65
|
-
/* @__PURE__ */ a
|
|
65
|
+
/* @__PURE__ */ r(a.path, {
|
|
66
66
|
d: "M16 16v5",
|
|
67
67
|
className: "histogram-bar-3",
|
|
68
68
|
style: { transformOrigin: "16px 21px" }
|
|
69
69
|
}),
|
|
70
|
-
/* @__PURE__ */ a
|
|
70
|
+
/* @__PURE__ */ r(a.path, {
|
|
71
71
|
d: "M12 13v8",
|
|
72
72
|
className: "histogram-bar-2",
|
|
73
73
|
style: { transformOrigin: "12px 21px" }
|
|
74
74
|
}),
|
|
75
|
-
/* @__PURE__ */ a
|
|
75
|
+
/* @__PURE__ */ r(a.path, {
|
|
76
76
|
d: "M8 16v5",
|
|
77
77
|
className: "histogram-bar-1",
|
|
78
78
|
style: { transformOrigin: "8px 21px" }
|
|
79
79
|
}),
|
|
80
|
-
/* @__PURE__ */ a
|
|
80
|
+
/* @__PURE__ */ r(a.path, {
|
|
81
81
|
d: "M3 11c6 0 5 -5 9 -5s3 5 9 5",
|
|
82
82
|
className: "histogram-curve",
|
|
83
83
|
initial: { pathLength: 1 }
|
|
@@ -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/chart-line-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(".chart-line", { pathLength: [0, 1] }, {
|
|
8
8
|
duration: .6,
|
|
9
9
|
ease: "easeInOut"
|
|
@@ -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
|
xmlns: "http://www.w3.org/2000/svg",
|
|
29
29
|
width: e,
|
|
@@ -42,17 +42,17 @@ var o = e(({ size: e = 24, color: o = "currentColor", strokeWidth: s = 2, classN
|
|
|
42
42
|
p();
|
|
43
43
|
},
|
|
44
44
|
children: [
|
|
45
|
-
/* @__PURE__ */
|
|
45
|
+
/* @__PURE__ */ n("path", {
|
|
46
46
|
stroke: "none",
|
|
47
47
|
d: "M0 0h24v24H0z",
|
|
48
48
|
fill: "none"
|
|
49
49
|
}),
|
|
50
|
-
/* @__PURE__ */ i
|
|
50
|
+
/* @__PURE__ */ n(i.path, {
|
|
51
51
|
d: "M4 19l16 0",
|
|
52
52
|
className: "base-line",
|
|
53
53
|
style: { transformOrigin: "4px 19px" }
|
|
54
54
|
}),
|
|
55
|
-
/* @__PURE__ */ i
|
|
55
|
+
/* @__PURE__ */ n(i.path, {
|
|
56
56
|
d: "M4 15l4 -6l4 2l4 -5l4 4",
|
|
57
57
|
className: "chart-line",
|
|
58
58
|
initial: { pathLength: 1 }
|
|
@@ -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/chart-pie-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(".pie-main", { pathLength: [0, 1] }, {
|
|
8
8
|
duration: .5,
|
|
9
9
|
ease: "easeOut"
|
|
@@ -30,7 +30,7 @@ var o = e(({ size: e = 24, color: o = "currentColor", strokeWidth: s = 2, classN
|
|
|
30
30
|
return t(l, () => ({
|
|
31
31
|
startAnimation: f,
|
|
32
32
|
stopAnimation: p
|
|
33
|
-
})), /* @__PURE__ */
|
|
33
|
+
})), /* @__PURE__ */ r(i.svg, {
|
|
34
34
|
ref: u,
|
|
35
35
|
xmlns: "http://www.w3.org/2000/svg",
|
|
36
36
|
width: e,
|
|
@@ -49,17 +49,17 @@ var o = e(({ size: e = 24, color: o = "currentColor", strokeWidth: s = 2, classN
|
|
|
49
49
|
p();
|
|
50
50
|
},
|
|
51
51
|
children: [
|
|
52
|
-
/* @__PURE__ */
|
|
52
|
+
/* @__PURE__ */ n("path", {
|
|
53
53
|
stroke: "none",
|
|
54
54
|
d: "M0 0h24v24H0z",
|
|
55
55
|
fill: "none"
|
|
56
56
|
}),
|
|
57
|
-
/* @__PURE__ */ i
|
|
57
|
+
/* @__PURE__ */ n(i.path, {
|
|
58
58
|
d: "M10 3.2a9 9 0 1 0 10.8 10.8a1 1 0 0 0 -1 -1h-6.8a2 2 0 0 1 -2 -2v-7a.9 .9 0 0 0 -1 -.8",
|
|
59
59
|
className: "pie-main",
|
|
60
60
|
initial: { pathLength: 1 }
|
|
61
61
|
}),
|
|
62
|
-
/* @__PURE__ */ i
|
|
62
|
+
/* @__PURE__ */ n(i.path, {
|
|
63
63
|
d: "M15 3.5a9 9 0 0 1 5.5 5.5h-4.5a1 1 0 0 1 -1 -1v-4.5",
|
|
64
64
|
className: "pie-slice",
|
|
65
65
|
style: { transformOrigin: "17.5px 6px" },
|
|
@@ -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/checked-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("svg", { scale: 1.1 }, {
|
|
8
8
|
duration: .1,
|
|
9
9
|
ease: "easeInOut"
|
|
@@ -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__ */ i
|
|
26
|
+
})), /* @__PURE__ */ n(i.div, {
|
|
27
27
|
ref: u,
|
|
28
28
|
onHoverStart: () => {
|
|
29
29
|
f();
|
|
@@ -31,7 +31,7 @@ var o = e(({ size: e = 24, color: o = "currentColor", strokeWidth: s = 2, classN
|
|
|
31
31
|
onHoverEnd: () => {
|
|
32
32
|
p();
|
|
33
33
|
},
|
|
34
|
-
children: /* @__PURE__ */
|
|
34
|
+
children: /* @__PURE__ */ r(i.svg, {
|
|
35
35
|
xmlns: "http://www.w3.org/2000/svg",
|
|
36
36
|
width: e,
|
|
37
37
|
height: e,
|
|
@@ -43,13 +43,13 @@ var o = e(({ size: e = 24, color: o = "currentColor", strokeWidth: s = 2, classN
|
|
|
43
43
|
strokeLinejoin: "round",
|
|
44
44
|
className: `cursor-pointer ${c}`,
|
|
45
45
|
children: [
|
|
46
|
-
/* @__PURE__ */ i
|
|
46
|
+
/* @__PURE__ */ n(i.path, {
|
|
47
47
|
stroke: "none",
|
|
48
48
|
d: "M0 0h24v24H0z",
|
|
49
49
|
fill: "none"
|
|
50
50
|
}),
|
|
51
|
-
/* @__PURE__ */ i
|
|
52
|
-
/* @__PURE__ */ i
|
|
51
|
+
/* @__PURE__ */ n(i.path, { d: "M12 12m-9 0a9 9 0 1 0 18 0a9 9 0 1 0 -18 0" }),
|
|
52
|
+
/* @__PURE__ */ n(i.path, {
|
|
53
53
|
d: "M9 12l2 2l4 -4",
|
|
54
54
|
className: "check-icon"
|
|
55
55
|
})
|
|
@@ -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/clock-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(".clock-hands", { rotate: 360 }, {
|
|
8
8
|
duration: 1,
|
|
9
9
|
ease: "easeInOut"
|
|
@@ -17,7 +17,7 @@ var o = e(({ size: e = 24, color: o = "currentColor", strokeWidth: s = 2, classN
|
|
|
17
17
|
return t(l, () => ({
|
|
18
18
|
startAnimation: f,
|
|
19
19
|
stopAnimation: p
|
|
20
|
-
})), /* @__PURE__ */
|
|
20
|
+
})), /* @__PURE__ */ r(i.svg, {
|
|
21
21
|
ref: u,
|
|
22
22
|
xmlns: "http://www.w3.org/2000/svg",
|
|
23
23
|
width: e,
|
|
@@ -36,16 +36,16 @@ var o = e(({ size: e = 24, color: o = "currentColor", strokeWidth: s = 2, classN
|
|
|
36
36
|
p();
|
|
37
37
|
},
|
|
38
38
|
children: [
|
|
39
|
-
/* @__PURE__ */ i
|
|
39
|
+
/* @__PURE__ */ n(i.path, {
|
|
40
40
|
stroke: "none",
|
|
41
41
|
d: "M0 0h24v24H0z",
|
|
42
42
|
fill: "none"
|
|
43
43
|
}),
|
|
44
|
-
/* @__PURE__ */ i
|
|
44
|
+
/* @__PURE__ */ n(i.path, {
|
|
45
45
|
d: "M3 12a9 9 0 1 0 18 0a9 9 0 0 0 -18 0",
|
|
46
46
|
className: "clock-body"
|
|
47
47
|
}),
|
|
48
|
-
/* @__PURE__ */ i
|
|
48
|
+
/* @__PURE__ */ n(i.path, {
|
|
49
49
|
d: "M12 7v5l3 3",
|
|
50
50
|
className: "clock-hands"
|
|
51
51
|
})
|
|
@@ -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 } from "react/jsx-runtime";
|
|
3
|
+
import { motion as i, useAnimate as a } from "motion/react";
|
|
4
4
|
//#region src/animations/cloud-1-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 = t(() => {
|
|
7
7
|
d(u.current, { scale: [
|
|
8
8
|
1,
|
|
9
9
|
1.05,
|
|
@@ -19,7 +19,7 @@ var o = e(({ size: e = 24, color: o = "currentColor", strokeWidth: s = 2, classN
|
|
|
19
19
|
return n(l, () => ({
|
|
20
20
|
startAnimation: f,
|
|
21
21
|
stopAnimation: p
|
|
22
|
-
})), /* @__PURE__ */
|
|
22
|
+
})), /* @__PURE__ */ r(i.svg, {
|
|
23
23
|
ref: u,
|
|
24
24
|
onHoverStart: f,
|
|
25
25
|
onHoverEnd: p,
|
|
@@ -34,7 +34,7 @@ var o = e(({ size: e = 24, color: o = "currentColor", strokeWidth: s = 2, classN
|
|
|
34
34
|
strokeLinejoin: "round",
|
|
35
35
|
className: `cursor-pointer ${c}`,
|
|
36
36
|
style: { overflow: "visible" },
|
|
37
|
-
children: /* @__PURE__ */
|
|
37
|
+
children: /* @__PURE__ */ r("path", { d: "M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z" })
|
|
38
38
|
});
|
|
39
39
|
});
|
|
40
40
|
o.displayName = "Cloud1Icon";
|
|
@@ -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/cloud-2-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("path.cloud-path", {
|
|
8
8
|
y: [
|
|
9
9
|
0,
|
|
@@ -50,7 +50,7 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
50
50
|
return n(u, () => ({
|
|
51
51
|
startAnimation: p,
|
|
52
52
|
stopAnimation: m
|
|
53
|
-
})), /* @__PURE__ */
|
|
53
|
+
})), /* @__PURE__ */ i(a.svg, {
|
|
54
54
|
ref: d,
|
|
55
55
|
onHoverStart: p,
|
|
56
56
|
onHoverEnd: m,
|
|
@@ -66,11 +66,11 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
66
66
|
className: `cursor-pointer ${l}`,
|
|
67
67
|
style: { overflow: "visible" },
|
|
68
68
|
children: [
|
|
69
|
-
/* @__PURE__ */ a
|
|
69
|
+
/* @__PURE__ */ r(a.path, {
|
|
70
70
|
className: "cloud-path",
|
|
71
71
|
d: "M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z"
|
|
72
72
|
}),
|
|
73
|
-
/* @__PURE__ */ a
|
|
73
|
+
/* @__PURE__ */ r(a.line, {
|
|
74
74
|
className: "rain-drop",
|
|
75
75
|
x1: "10",
|
|
76
76
|
y1: "20",
|
|
@@ -78,7 +78,7 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
78
78
|
y2: "22",
|
|
79
79
|
custom: 0
|
|
80
80
|
}),
|
|
81
|
-
/* @__PURE__ */ a
|
|
81
|
+
/* @__PURE__ */ r(a.line, {
|
|
82
82
|
className: "rain-drop",
|
|
83
83
|
x1: "13",
|
|
84
84
|
y1: "21",
|
|
@@ -86,7 +86,7 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
86
86
|
y2: "23",
|
|
87
87
|
custom: 1
|
|
88
88
|
}),
|
|
89
|
-
/* @__PURE__ */ a
|
|
89
|
+
/* @__PURE__ */ r(a.line, {
|
|
90
90
|
className: "rain-drop",
|
|
91
91
|
x1: "16",
|
|
92
92
|
y1: "20",
|
|
@@ -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/cloud-3-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(".status-dot", { opacity: [
|
|
8
8
|
1,
|
|
9
9
|
.4,
|
|
@@ -28,7 +28,7 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
28
28
|
return n(u, () => ({
|
|
29
29
|
startAnimation: p,
|
|
30
30
|
stopAnimation: m
|
|
31
|
-
})), /* @__PURE__ */
|
|
31
|
+
})), /* @__PURE__ */ i(a.svg, {
|
|
32
32
|
ref: d,
|
|
33
33
|
onHoverStart: p,
|
|
34
34
|
onHoverEnd: m,
|
|
@@ -44,12 +44,12 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
44
44
|
className: `cursor-pointer ${l}`,
|
|
45
45
|
style: { overflow: "visible" },
|
|
46
46
|
children: [
|
|
47
|
-
/* @__PURE__ */ a
|
|
47
|
+
/* @__PURE__ */ r(a.path, {
|
|
48
48
|
className: "cloud-path",
|
|
49
49
|
d: "M17.5 19H9a7 7 0 1 1 6.71-9h1.79a4.5 4.5 0 1 1 0 9Z",
|
|
50
50
|
style: { transformOrigin: "center" }
|
|
51
51
|
}),
|
|
52
|
-
/* @__PURE__ */ a
|
|
52
|
+
/* @__PURE__ */ r(a.circle, {
|
|
53
53
|
className: "status-dot",
|
|
54
54
|
cx: "9",
|
|
55
55
|
cy: "15",
|
|
@@ -57,7 +57,7 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
57
57
|
fill: s,
|
|
58
58
|
custom: 0
|
|
59
59
|
}),
|
|
60
|
-
/* @__PURE__ */ a
|
|
60
|
+
/* @__PURE__ */ r(a.circle, {
|
|
61
61
|
className: "status-dot",
|
|
62
62
|
cx: "12",
|
|
63
63
|
cy: "15",
|
|
@@ -65,7 +65,7 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
65
65
|
fill: s,
|
|
66
66
|
custom: 1
|
|
67
67
|
}),
|
|
68
|
-
/* @__PURE__ */ a
|
|
68
|
+
/* @__PURE__ */ r(a.circle, {
|
|
69
69
|
className: "status-dot",
|
|
70
70
|
cx: "15",
|
|
71
71
|
cy: "15",
|
|
@@ -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/code-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(".left-bracket", { x: -3 }, {
|
|
8
8
|
duration: .3,
|
|
9
9
|
ease: "easeOut"
|
|
@@ -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();
|
|
@@ -41,10 +41,10 @@ var o = e(({ size: e = 24, color: o = "currentColor", strokeWidth: s = 2, classN
|
|
|
41
41
|
strokeLinecap: "round",
|
|
42
42
|
strokeLinejoin: "round",
|
|
43
43
|
className: `cursor-pointer ${c}`,
|
|
44
|
-
children: [/* @__PURE__ */ i
|
|
44
|
+
children: [/* @__PURE__ */ n(i.path, {
|
|
45
45
|
className: "right-bracket",
|
|
46
46
|
d: "m16 18 6-6-6-6"
|
|
47
|
-
}), /* @__PURE__ */ i
|
|
47
|
+
}), /* @__PURE__ */ n(i.path, {
|
|
48
48
|
className: "left-bracket",
|
|
49
49
|
d: "m8 6-6 6 6 6"
|
|
50
50
|
})]
|
|
@@ -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/code-xml-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(".left-bracket", { x: -3 }, {
|
|
8
8
|
duration: .3,
|
|
9
9
|
ease: "easeOut"
|
|
@@ -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,15 +54,15 @@ 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.path, {
|
|
58
58
|
className: "right-bracket",
|
|
59
59
|
d: "m18 16 4-4-4-4"
|
|
60
60
|
}),
|
|
61
|
-
/* @__PURE__ */ i
|
|
61
|
+
/* @__PURE__ */ n(i.path, {
|
|
62
62
|
className: "left-bracket",
|
|
63
63
|
d: "m6 8-4 4 4 4"
|
|
64
64
|
}),
|
|
65
|
-
/* @__PURE__ */ i
|
|
65
|
+
/* @__PURE__ */ n(i.path, {
|
|
66
66
|
className: "slash",
|
|
67
67
|
style: { transformOrigin: "12px 12px" },
|
|
68
68
|
d: "m14.5 4-5 16"
|