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/python-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(".snake-top", {
|
|
8
8
|
x: [
|
|
9
9
|
0,
|
|
@@ -57,7 +57,7 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
57
57
|
return n(u, () => ({
|
|
58
58
|
startAnimation: p,
|
|
59
59
|
stopAnimation: m
|
|
60
|
-
})), /* @__PURE__ */
|
|
60
|
+
})), /* @__PURE__ */ i(a.svg, {
|
|
61
61
|
ref: d,
|
|
62
62
|
xmlns: "http://www.w3.org/2000/svg",
|
|
63
63
|
width: e,
|
|
@@ -72,29 +72,29 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
72
72
|
onHoverStart: p,
|
|
73
73
|
onHoverEnd: m,
|
|
74
74
|
children: [
|
|
75
|
-
/* @__PURE__ */
|
|
75
|
+
/* @__PURE__ */ r("path", {
|
|
76
76
|
stroke: "none",
|
|
77
77
|
d: "M0 0h24v24H0z",
|
|
78
78
|
fill: "none"
|
|
79
79
|
}),
|
|
80
|
-
/* @__PURE__ */ a
|
|
80
|
+
/* @__PURE__ */ r(a.path, {
|
|
81
81
|
className: "snake-top",
|
|
82
82
|
d: "M12 9h-7a2 2 0 0 0 -2 2v4a2 2 0 0 0 2 2h3"
|
|
83
83
|
}),
|
|
84
|
-
/* @__PURE__ */ a
|
|
84
|
+
/* @__PURE__ */ r(a.path, {
|
|
85
85
|
className: "snake-top",
|
|
86
86
|
d: "M12 15h7a2 2 0 0 0 2 -2v-4a2 2 0 0 0 -2 -2h-3"
|
|
87
87
|
}),
|
|
88
|
-
/* @__PURE__ */ a
|
|
88
|
+
/* @__PURE__ */ r(a.path, {
|
|
89
89
|
className: "snake-top",
|
|
90
90
|
d: "M8 9v-4a2 2 0 0 1 2 -2h4a2 2 0 0 1 2 2v5a2 2 0 0 1 -2 2h-4a2 2 0 0 0 -2 2v5a2 2 0 0 0 2 2h4a2 2 0 0 0 2 -2v-4"
|
|
91
91
|
}),
|
|
92
|
-
/* @__PURE__ */ a
|
|
92
|
+
/* @__PURE__ */ r(a.path, {
|
|
93
93
|
className: "eyes",
|
|
94
94
|
style: { transformOrigin: "11 6" },
|
|
95
95
|
d: "M11 6l0 .01"
|
|
96
96
|
}),
|
|
97
|
-
/* @__PURE__ */ a
|
|
97
|
+
/* @__PURE__ */ r(a.path, {
|
|
98
98
|
className: "eyes",
|
|
99
99
|
style: { transformOrigin: "13 18" },
|
|
100
100
|
d: "M13 18l0 .01"
|
|
@@ -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/qrcode-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 = [], p(".qr-scan", {
|
|
9
9
|
opacity: 0,
|
|
10
10
|
y: 0
|
|
@@ -72,7 +72,7 @@ var c = t(({ size: t = 24, color: c = "currentColor", strokeWidth: l = 2, classN
|
|
|
72
72
|
return n(d, () => ({
|
|
73
73
|
startAnimation: h,
|
|
74
74
|
stopAnimation: g
|
|
75
|
-
})), /* @__PURE__ */
|
|
75
|
+
})), /* @__PURE__ */ a(o.svg, {
|
|
76
76
|
ref: f,
|
|
77
77
|
xmlns: "http://www.w3.org/2000/svg",
|
|
78
78
|
x: "0px",
|
|
@@ -85,7 +85,7 @@ var c = t(({ size: t = 24, color: c = "currentColor", strokeWidth: l = 2, classN
|
|
|
85
85
|
onHoverStart: h,
|
|
86
86
|
onHoverEnd: g,
|
|
87
87
|
children: [
|
|
88
|
-
/* @__PURE__ */ o
|
|
88
|
+
/* @__PURE__ */ i(o.rect, {
|
|
89
89
|
className: "qr-scan",
|
|
90
90
|
x: "2",
|
|
91
91
|
y: "0",
|
|
@@ -95,7 +95,7 @@ var c = t(({ size: t = 24, color: c = "currentColor", strokeWidth: l = 2, classN
|
|
|
95
95
|
opacity: "0",
|
|
96
96
|
style: { filter: "drop-shadow(0 0 4px currentColor)" }
|
|
97
97
|
}),
|
|
98
|
-
/* @__PURE__ */ o
|
|
98
|
+
/* @__PURE__ */ i(o.rect, {
|
|
99
99
|
className: "corner-rect",
|
|
100
100
|
x: "3",
|
|
101
101
|
y: "3",
|
|
@@ -106,7 +106,7 @@ var c = t(({ size: t = 24, color: c = "currentColor", strokeWidth: l = 2, classN
|
|
|
106
106
|
fill: "none",
|
|
107
107
|
initial: { pathLength: 1 }
|
|
108
108
|
}),
|
|
109
|
-
/* @__PURE__ */ o
|
|
109
|
+
/* @__PURE__ */ i(o.rect, {
|
|
110
110
|
className: "corner-rect",
|
|
111
111
|
x: "3",
|
|
112
112
|
y: "20",
|
|
@@ -117,7 +117,7 @@ var c = t(({ size: t = 24, color: c = "currentColor", strokeWidth: l = 2, classN
|
|
|
117
117
|
fill: "none",
|
|
118
118
|
initial: { pathLength: 1 }
|
|
119
119
|
}),
|
|
120
|
-
/* @__PURE__ */ o
|
|
120
|
+
/* @__PURE__ */ i(o.rect, {
|
|
121
121
|
className: "corner-rect",
|
|
122
122
|
x: "20",
|
|
123
123
|
y: "3",
|
|
@@ -128,7 +128,7 @@ var c = t(({ size: t = 24, color: c = "currentColor", strokeWidth: l = 2, classN
|
|
|
128
128
|
fill: "none",
|
|
129
129
|
initial: { pathLength: 1 }
|
|
130
130
|
}),
|
|
131
|
-
/* @__PURE__ */ o
|
|
131
|
+
/* @__PURE__ */ i(o.rect, {
|
|
132
132
|
className: "inner-element",
|
|
133
133
|
x: "27",
|
|
134
134
|
y: "20",
|
|
@@ -139,7 +139,7 @@ var c = t(({ size: t = 24, color: c = "currentColor", strokeWidth: l = 2, classN
|
|
|
139
139
|
fill: "none",
|
|
140
140
|
style: { transformOrigin: "center" }
|
|
141
141
|
}),
|
|
142
|
-
/* @__PURE__ */ o
|
|
142
|
+
/* @__PURE__ */ i(o.rect, {
|
|
143
143
|
className: "inner-element",
|
|
144
144
|
x: "16",
|
|
145
145
|
y: "27",
|
|
@@ -150,7 +150,7 @@ var c = t(({ size: t = 24, color: c = "currentColor", strokeWidth: l = 2, classN
|
|
|
150
150
|
fill: "none",
|
|
151
151
|
style: { transformOrigin: "center" }
|
|
152
152
|
}),
|
|
153
|
-
/* @__PURE__ */ o
|
|
153
|
+
/* @__PURE__ */ i(o.path, {
|
|
154
154
|
className: "inner-element",
|
|
155
155
|
d: "M3 16H7",
|
|
156
156
|
stroke: c,
|
|
@@ -159,7 +159,7 @@ var c = t(({ size: t = 24, color: c = "currentColor", strokeWidth: l = 2, classN
|
|
|
159
159
|
fill: "none",
|
|
160
160
|
style: { transformOrigin: "center" }
|
|
161
161
|
}),
|
|
162
|
-
/* @__PURE__ */ o
|
|
162
|
+
/* @__PURE__ */ i(o.path, {
|
|
163
163
|
className: "inner-element",
|
|
164
164
|
d: "M13 16H18M22 16V23H29M22 16H26M22 16H18M18 16V20H16",
|
|
165
165
|
stroke: c,
|
|
@@ -168,7 +168,7 @@ var c = t(({ size: t = 24, color: c = "currentColor", strokeWidth: l = 2, classN
|
|
|
168
168
|
fill: "none",
|
|
169
169
|
style: { transformOrigin: "center" }
|
|
170
170
|
}),
|
|
171
|
-
/* @__PURE__ */ o
|
|
171
|
+
/* @__PURE__ */ i(o.path, {
|
|
172
172
|
className: "inner-element",
|
|
173
173
|
d: "M16 7V10",
|
|
174
174
|
stroke: c,
|
|
@@ -177,7 +177,7 @@ var c = t(({ size: t = 24, color: c = "currentColor", strokeWidth: l = 2, classN
|
|
|
177
177
|
fill: "none",
|
|
178
178
|
style: { transformOrigin: "center" }
|
|
179
179
|
}),
|
|
180
|
-
/* @__PURE__ */ o
|
|
180
|
+
/* @__PURE__ */ i(o.path, {
|
|
181
181
|
className: "inner-element",
|
|
182
182
|
d: "M16 25V29H23V27",
|
|
183
183
|
stroke: c,
|
|
@@ -186,7 +186,7 @@ var c = t(({ size: t = 24, color: c = "currentColor", strokeWidth: l = 2, classN
|
|
|
186
186
|
fill: "none",
|
|
187
187
|
style: { transformOrigin: "center" }
|
|
188
188
|
}),
|
|
189
|
-
/* @__PURE__ */ o
|
|
189
|
+
/* @__PURE__ */ i(o.path, {
|
|
190
190
|
className: "inner-element",
|
|
191
191
|
d: "M29.01 29H29",
|
|
192
192
|
stroke: c,
|
|
@@ -195,7 +195,7 @@ var c = t(({ size: t = 24, color: c = "currentColor", strokeWidth: l = 2, classN
|
|
|
195
195
|
fill: "none",
|
|
196
196
|
style: { transformOrigin: "center" }
|
|
197
197
|
}),
|
|
198
|
-
/* @__PURE__ */ o
|
|
198
|
+
/* @__PURE__ */ i(o.rect, {
|
|
199
199
|
className: "center-dot",
|
|
200
200
|
x: "24",
|
|
201
201
|
y: "7",
|
|
@@ -206,7 +206,7 @@ var c = t(({ size: t = 24, color: c = "currentColor", strokeWidth: l = 2, classN
|
|
|
206
206
|
fill: "none",
|
|
207
207
|
style: { transformOrigin: "24.5px 7.5px" }
|
|
208
208
|
}),
|
|
209
|
-
/* @__PURE__ */ o
|
|
209
|
+
/* @__PURE__ */ i(o.rect, {
|
|
210
210
|
className: "center-dot",
|
|
211
211
|
x: "7",
|
|
212
212
|
y: "7",
|
|
@@ -217,7 +217,7 @@ var c = t(({ size: t = 24, color: c = "currentColor", strokeWidth: l = 2, classN
|
|
|
217
217
|
fill: "none",
|
|
218
218
|
style: { transformOrigin: "7.5px 7.5px" }
|
|
219
219
|
}),
|
|
220
|
-
/* @__PURE__ */ o
|
|
220
|
+
/* @__PURE__ */ i(o.rect, {
|
|
221
221
|
className: "center-dot",
|
|
222
222
|
x: "7",
|
|
223
223
|
y: "24",
|
|
@@ -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/question-mark.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(".question-mark", { pathLength: [0, 1] }, {
|
|
8
8
|
duration: .4,
|
|
9
9
|
ease: "easeInOut"
|
|
@@ -38,11 +38,11 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
38
38
|
return n(u, () => ({
|
|
39
39
|
startAnimation: p,
|
|
40
40
|
stopAnimation: m
|
|
41
|
-
})), /* @__PURE__ */ a
|
|
41
|
+
})), /* @__PURE__ */ r(a.div, {
|
|
42
42
|
ref: d,
|
|
43
43
|
onHoverStart: p,
|
|
44
44
|
onHoverEnd: m,
|
|
45
|
-
children: /* @__PURE__ */
|
|
45
|
+
children: /* @__PURE__ */ i(a.svg, {
|
|
46
46
|
className: `question-group cursor-pointer ${l}`,
|
|
47
47
|
xmlns: "http://www.w3.org/2000/svg",
|
|
48
48
|
width: e,
|
|
@@ -54,16 +54,16 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
54
54
|
strokeLinecap: "round",
|
|
55
55
|
strokeLinejoin: "round",
|
|
56
56
|
children: [
|
|
57
|
-
/* @__PURE__ */
|
|
57
|
+
/* @__PURE__ */ r("path", {
|
|
58
58
|
stroke: "none",
|
|
59
59
|
d: "M0 0h24v24H0z",
|
|
60
60
|
fill: "none"
|
|
61
61
|
}),
|
|
62
|
-
/* @__PURE__ */
|
|
62
|
+
/* @__PURE__ */ r("path", {
|
|
63
63
|
className: "question-mark",
|
|
64
64
|
d: "M8 8a3.5 3 0 0 1 3.5 -3h1a3.5 3 0 0 1 3.5 3a3 3 0 0 1 -2 3a3 4 0 0 0 -2 4"
|
|
65
65
|
}),
|
|
66
|
-
/* @__PURE__ */
|
|
66
|
+
/* @__PURE__ */ r("path", {
|
|
67
67
|
className: "question-mark-dot",
|
|
68
68
|
d: "M12 19l0 .01"
|
|
69
69
|
})
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { forwardRef as e, useCallback as t, useImperativeHandle as n } from "react";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
3
|
+
import { motion as a, useAnimate as o } from "motion/react";
|
|
4
4
|
//#region src/animations/radio-icon.tsx
|
|
5
5
|
var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, className: l = "" }, u) => {
|
|
6
|
-
let [d, f] =
|
|
6
|
+
let [d, f] = o(), p = t(async () => {
|
|
7
7
|
f(".center", { scale: [
|
|
8
8
|
1,
|
|
9
9
|
1.3,
|
|
@@ -54,7 +54,7 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
54
54
|
return n(u, () => ({
|
|
55
55
|
startAnimation: p,
|
|
56
56
|
stopAnimation: m
|
|
57
|
-
})), /* @__PURE__ */
|
|
57
|
+
})), /* @__PURE__ */ i(a.svg, {
|
|
58
58
|
ref: d,
|
|
59
59
|
xmlns: "http://www.w3.org/2000/svg",
|
|
60
60
|
width: e,
|
|
@@ -69,27 +69,27 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
69
69
|
onHoverStart: p,
|
|
70
70
|
onHoverEnd: m,
|
|
71
71
|
children: [
|
|
72
|
-
/* @__PURE__ */
|
|
72
|
+
/* @__PURE__ */ i(a.g, {
|
|
73
73
|
className: "wave-inner",
|
|
74
|
-
children: [/* @__PURE__ */
|
|
74
|
+
children: [/* @__PURE__ */ r("path", {
|
|
75
75
|
d: "M16.247 7.761a6 6 0 0 1 0 8.478",
|
|
76
76
|
style: { transformOrigin: "12px 12px" }
|
|
77
|
-
}), /* @__PURE__ */
|
|
77
|
+
}), /* @__PURE__ */ r("path", {
|
|
78
78
|
d: "M7.753 16.239a6 6 0 0 1 0-8.478",
|
|
79
79
|
style: { transformOrigin: "12px 12px" }
|
|
80
80
|
})]
|
|
81
81
|
}),
|
|
82
|
-
/* @__PURE__ */
|
|
82
|
+
/* @__PURE__ */ i(a.g, {
|
|
83
83
|
className: "wave-outer",
|
|
84
|
-
children: [/* @__PURE__ */
|
|
84
|
+
children: [/* @__PURE__ */ r("path", {
|
|
85
85
|
d: "M19.075 4.933a10 10 0 0 1 0 14.134",
|
|
86
86
|
style: { transformOrigin: "12px 12px" }
|
|
87
|
-
}), /* @__PURE__ */
|
|
87
|
+
}), /* @__PURE__ */ r("path", {
|
|
88
88
|
d: "M4.925 19.067a10 10 0 0 1 0-14.134",
|
|
89
89
|
style: { transformOrigin: "12px 12px" }
|
|
90
90
|
})]
|
|
91
91
|
}),
|
|
92
|
-
/* @__PURE__ */ a
|
|
92
|
+
/* @__PURE__ */ r(a.circle, {
|
|
93
93
|
className: "center",
|
|
94
94
|
cx: "12",
|
|
95
95
|
cy: "12",
|
|
@@ -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/rainbow-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(".arc1", { pathLength: [0, 1] }, {
|
|
8
8
|
duration: .6,
|
|
9
9
|
ease: "easeOut"
|
|
@@ -22,7 +22,7 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
22
22
|
return n(u, () => ({
|
|
23
23
|
startAnimation: p,
|
|
24
24
|
stopAnimation: m
|
|
25
|
-
})), /* @__PURE__ */
|
|
25
|
+
})), /* @__PURE__ */ i(a.svg, {
|
|
26
26
|
ref: d,
|
|
27
27
|
xmlns: "http://www.w3.org/2000/svg",
|
|
28
28
|
width: e,
|
|
@@ -37,17 +37,17 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
37
37
|
onHoverStart: p,
|
|
38
38
|
onHoverEnd: m,
|
|
39
39
|
children: [
|
|
40
|
-
/* @__PURE__ */ a
|
|
40
|
+
/* @__PURE__ */ r(a.path, {
|
|
41
41
|
className: "arc1",
|
|
42
42
|
d: "M22 17a10 10 0 0 0-20 0",
|
|
43
43
|
initial: { pathLength: 1 }
|
|
44
44
|
}),
|
|
45
|
-
/* @__PURE__ */ a
|
|
45
|
+
/* @__PURE__ */ r(a.path, {
|
|
46
46
|
className: "arc2",
|
|
47
47
|
d: "M6 17a6 6 0 0 1 12 0",
|
|
48
48
|
initial: { pathLength: 1 }
|
|
49
49
|
}),
|
|
50
|
-
/* @__PURE__ */ a
|
|
50
|
+
/* @__PURE__ */ r(a.path, {
|
|
51
51
|
className: "arc3",
|
|
52
52
|
d: "M10 17a2 2 0 0 1 4 0",
|
|
53
53
|
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/refresh-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(u.current, { rotate: 180 }, {
|
|
8
8
|
duration: .4,
|
|
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
|
onHoverStart: () => {
|
|
23
23
|
f();
|
|
@@ -37,13 +37,13 @@ var o = e(({ size: e = 24, color: o = "currentColor", strokeWidth: s = 2, classN
|
|
|
37
37
|
className: `cursor-pointer ${c}`,
|
|
38
38
|
style: { transformOrigin: "50% 50%" },
|
|
39
39
|
children: [
|
|
40
|
-
/* @__PURE__ */
|
|
40
|
+
/* @__PURE__ */ n("path", {
|
|
41
41
|
stroke: "none",
|
|
42
42
|
d: "M0 0h24v24H0z",
|
|
43
43
|
fill: "none"
|
|
44
44
|
}),
|
|
45
|
-
/* @__PURE__ */
|
|
46
|
-
/* @__PURE__ */
|
|
45
|
+
/* @__PURE__ */ n("path", { d: "M20 11a8.1 8.1 0 0 0 -15.5 -2m-.5 -4v4h4" }),
|
|
46
|
+
/* @__PURE__ */ n("path", { d: "M4 13a8.1 8.1 0 0 0 15.5 2m.5 4v-4h-4" })
|
|
47
47
|
]
|
|
48
48
|
});
|
|
49
49
|
});
|
|
@@ -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/right-chevron.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(async () => {
|
|
7
7
|
await d(".chevron", { x: [
|
|
8
8
|
0,
|
|
9
9
|
6,
|
|
@@ -21,12 +21,12 @@ var o = e(({ size: e = 24, color: o = "currentColor", strokeWidth: s = 2, classN
|
|
|
21
21
|
return n(l, () => ({
|
|
22
22
|
startAnimation: f,
|
|
23
23
|
stopAnimation: p
|
|
24
|
-
})), /* @__PURE__ */
|
|
24
|
+
})), /* @__PURE__ */ r(i.div, {
|
|
25
25
|
ref: u,
|
|
26
26
|
className: `flex w-8 items-center justify-center ${c}`,
|
|
27
27
|
onHoverStart: f,
|
|
28
28
|
onHoverEnd: p,
|
|
29
|
-
children: /* @__PURE__ */
|
|
29
|
+
children: /* @__PURE__ */ r("svg", {
|
|
30
30
|
xmlns: "http://www.w3.org/2000/svg",
|
|
31
31
|
width: e,
|
|
32
32
|
height: e,
|
|
@@ -37,7 +37,7 @@ var o = e(({ size: e = 24, color: o = "currentColor", strokeWidth: s = 2, classN
|
|
|
37
37
|
strokeLinecap: "round",
|
|
38
38
|
strokeLinejoin: "round",
|
|
39
39
|
className: "chevron cursor-pointer",
|
|
40
|
-
children: /* @__PURE__ */
|
|
40
|
+
children: /* @__PURE__ */ r("path", { d: "M9 6l6 6l-6 6" })
|
|
41
41
|
})
|
|
42
42
|
});
|
|
43
43
|
});
|
|
@@ -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/rocket-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 Promise.all([f(".rocket-upper", {
|
|
9
9
|
x: [0, 40],
|
|
10
10
|
y: [0, -40],
|
|
@@ -52,7 +52,7 @@ var s = t(({ size: t = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
52
52
|
return n(u, () => ({
|
|
53
53
|
startAnimation: p,
|
|
54
54
|
stopAnimation: m
|
|
55
|
-
})), /* @__PURE__ */
|
|
55
|
+
})), /* @__PURE__ */ i(a.svg, {
|
|
56
56
|
ref: d,
|
|
57
57
|
onHoverStart: () => {
|
|
58
58
|
p();
|
|
@@ -71,31 +71,31 @@ var s = t(({ size: t = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
71
71
|
className: `cursor-pointer ${l}`,
|
|
72
72
|
style: { overflow: "visible" },
|
|
73
73
|
children: [
|
|
74
|
-
/* @__PURE__ */ a
|
|
74
|
+
/* @__PURE__ */ r(a.path, {
|
|
75
75
|
className: "rocket-fin-left rocket-upper",
|
|
76
76
|
d: "m13.299,9h-3.891c-.892,0-1.738.397-2.308,1.083l-5.1,6.139,6.31,1.51"
|
|
77
77
|
}),
|
|
78
|
-
/* @__PURE__ */ a
|
|
78
|
+
/* @__PURE__ */ r(a.path, {
|
|
79
79
|
className: "rocket-fin-bottom rocket-upper",
|
|
80
80
|
d: "m23,18.701v3.891c0,.892-.397,1.738-1.083,2.308l-6.139,5.1-1.51-6.31"
|
|
81
81
|
}),
|
|
82
|
-
/* @__PURE__ */ a
|
|
82
|
+
/* @__PURE__ */ r(a.path, {
|
|
83
83
|
className: "rocket-body rocket-upper",
|
|
84
84
|
d: "m14.268,23.69c7.986-2.194,14.642-9.015,15.732-21.69-12.675,1.09-19.496,7.746-21.69,15.732l5.958,5.958Z"
|
|
85
85
|
}),
|
|
86
|
-
/* @__PURE__ */ a
|
|
86
|
+
/* @__PURE__ */ r(a.path, {
|
|
87
87
|
className: "rocket-trajectory rocket-upper",
|
|
88
88
|
d: "m19,5c4.111,1.389,6.778,4.056,8,8",
|
|
89
89
|
strokeLinecap: "round"
|
|
90
90
|
}),
|
|
91
|
-
/* @__PURE__ */ a
|
|
91
|
+
/* @__PURE__ */ r(a.circle, {
|
|
92
92
|
className: "rocket-window rocket-upper",
|
|
93
93
|
cx: "19",
|
|
94
94
|
cy: "13",
|
|
95
95
|
r: "2",
|
|
96
96
|
fill: "currentColor"
|
|
97
97
|
}),
|
|
98
|
-
/* @__PURE__ */ a
|
|
98
|
+
/* @__PURE__ */ r(a.path, {
|
|
99
99
|
className: "rocket-flame",
|
|
100
100
|
d: "m2,30s.707-4.95,2.121-6.364c1.172-1.172,3.071-1.172,4.243,0s1.172,3.071,0,4.243c-1.414,1.414-6.364,2.121-6.364,2.121Z"
|
|
101
101
|
})
|
|
@@ -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/rosette-discount-check-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(".rosette-badge", {
|
|
8
8
|
rotate: [
|
|
9
9
|
0,
|
|
@@ -45,12 +45,12 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
45
45
|
return n(u, () => ({
|
|
46
46
|
startAnimation: p,
|
|
47
47
|
stopAnimation: m
|
|
48
|
-
})), /* @__PURE__ */ a
|
|
48
|
+
})), /* @__PURE__ */ r(a.div, {
|
|
49
49
|
ref: d,
|
|
50
50
|
className: `inline-flex cursor-pointer items-center justify-center ${l}`,
|
|
51
51
|
onHoverStart: p,
|
|
52
52
|
onHoverEnd: m,
|
|
53
|
-
children: /* @__PURE__ */
|
|
53
|
+
children: /* @__PURE__ */ i("svg", {
|
|
54
54
|
xmlns: "http://www.w3.org/2000/svg",
|
|
55
55
|
width: e,
|
|
56
56
|
height: e,
|
|
@@ -62,17 +62,17 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
62
62
|
strokeLinejoin: "round",
|
|
63
63
|
style: { overflow: "visible" },
|
|
64
64
|
children: [
|
|
65
|
-
/* @__PURE__ */
|
|
65
|
+
/* @__PURE__ */ r("path", {
|
|
66
66
|
stroke: "none",
|
|
67
67
|
d: "M0 0h24v24H0z",
|
|
68
68
|
fill: "none"
|
|
69
69
|
}),
|
|
70
|
-
/* @__PURE__ */ a
|
|
70
|
+
/* @__PURE__ */ r(a.path, {
|
|
71
71
|
className: "rosette-badge",
|
|
72
72
|
style: { transformOrigin: "center" },
|
|
73
73
|
d: "M5 7.2a2.2 2.2 0 0 1 2.2 -2.2h1a2.2 2.2 0 0 0 1.55 -.64l.7 -.7a2.2 2.2 0 0 1 3.12 0l.7 .7c.412 .41 .97 .64 1.55 .64h1a2.2 2.2 0 0 1 2.2 2.2v1c0 .58 .23 1.138 .64 1.55l.7 .7a2.2 2.2 0 0 1 0 3.12l-.7 .7a2.2 2.2 0 0 0 -.64 1.55v1a2.2 2.2 0 0 1 -2.2 2.2h-1a2.2 2.2 0 0 0 -1.55 .64l-.7 .7a2.2 2.2 0 0 1 -3.12 0l-.7 -.7a2.2 2.2 0 0 0 -1.55 -.64h-1a2.2 2.2 0 0 1 -2.2 -2.2v-1a2.2 2.2 0 0 0 -.64 -1.55l-.7 -.7a2.2 2.2 0 0 1 0 -3.12l.7 -.7a2.2 2.2 0 0 0 .64 -1.55v-1z"
|
|
74
74
|
}),
|
|
75
|
-
/* @__PURE__ */ a
|
|
75
|
+
/* @__PURE__ */ r(a.path, {
|
|
76
76
|
className: "discount-check",
|
|
77
77
|
d: "M9 12l2 2l4 -4",
|
|
78
78
|
pathLength: 1
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { forwardRef as e, useCallback as t, useImperativeHandle as n } from "react";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
3
|
+
import { motion as a, useAnimate as o } from "motion/react";
|
|
4
4
|
//#region src/animations/rosette-discount-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(".rosette-badge", {
|
|
8
8
|
rotate: [
|
|
9
9
|
0,
|
|
@@ -62,12 +62,12 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
62
62
|
return n(u, () => ({
|
|
63
63
|
startAnimation: p,
|
|
64
64
|
stopAnimation: m
|
|
65
|
-
})), /* @__PURE__ */ a
|
|
65
|
+
})), /* @__PURE__ */ r(a.div, {
|
|
66
66
|
ref: d,
|
|
67
67
|
className: `inline-flex cursor-pointer items-center justify-center ${l}`,
|
|
68
68
|
onHoverStart: p,
|
|
69
69
|
onHoverEnd: m,
|
|
70
|
-
children: /* @__PURE__ */
|
|
70
|
+
children: /* @__PURE__ */ i("svg", {
|
|
71
71
|
xmlns: "http://www.w3.org/2000/svg",
|
|
72
72
|
width: e,
|
|
73
73
|
height: e,
|
|
@@ -79,22 +79,22 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
79
79
|
strokeLinejoin: "round",
|
|
80
80
|
style: { overflow: "visible" },
|
|
81
81
|
children: [
|
|
82
|
-
/* @__PURE__ */
|
|
82
|
+
/* @__PURE__ */ r("path", {
|
|
83
83
|
stroke: "none",
|
|
84
84
|
d: "M0 0h24v24H0z",
|
|
85
85
|
fill: "none"
|
|
86
86
|
}),
|
|
87
|
-
/* @__PURE__ */ a
|
|
87
|
+
/* @__PURE__ */ r(a.path, {
|
|
88
88
|
className: "rosette-badge",
|
|
89
89
|
style: { transformOrigin: "center" },
|
|
90
90
|
d: "M5 7.2a2.2 2.2 0 0 1 2.2 -2.2h1a2.2 2.2 0 0 0 1.55 -.64l.7 -.7a2.2 2.2 0 0 1 3.12 0l.7 .7a2.2 2.2 0 0 0 1.55 .64h1a2.2 2.2 0 0 1 2.2 2.2v1a2.2 2.2 0 0 0 .64 1.55l.7 .7a2.2 2.2 0 0 1 0 3.12l-.7 .7a2.2 2.2 0 0 0 -.64 1.55v1a2.2 2.2 0 0 1 -2.2 2.2h-1a2.2 2.2 0 0 0 -1.55 .64l-.7 .7a2.2 2.2 0 0 1 -3.12 0l-.7 -.7a2.2 2.2 0 0 0 -1.55 -.64h-1a2.2 2.2 0 0 1 -2.2 -2.2v-1a2.2 2.2 0 0 0 -.64 -1.55l-.7 -.7a2.2 2.2 0 0 1 0 -3.12l.7 -.7a2.2 2.2 0 0 0 .64 -1.55v-1z"
|
|
91
91
|
}),
|
|
92
|
-
/* @__PURE__ */ a
|
|
92
|
+
/* @__PURE__ */ r(a.path, {
|
|
93
93
|
className: "discount-line",
|
|
94
94
|
d: "M9 15l6 -6",
|
|
95
95
|
pathLength: 1
|
|
96
96
|
}),
|
|
97
|
-
/* @__PURE__ */ a
|
|
97
|
+
/* @__PURE__ */ r(a.circle, {
|
|
98
98
|
className: "discount-dot",
|
|
99
99
|
style: { transformOrigin: "9.5px 9.5px" },
|
|
100
100
|
cx: "9.5",
|
|
@@ -102,7 +102,7 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
102
102
|
r: ".5",
|
|
103
103
|
fill: "currentColor"
|
|
104
104
|
}),
|
|
105
|
-
/* @__PURE__ */ a
|
|
105
|
+
/* @__PURE__ */ r(a.circle, {
|
|
106
106
|
className: "discount-dot",
|
|
107
107
|
style: { transformOrigin: "14.5px 14.5px" },
|
|
108
108
|
cx: "14.5",
|
|
@@ -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/router-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(".signal-inner", {
|
|
8
8
|
scale: [
|
|
9
9
|
1,
|
|
@@ -53,7 +53,7 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
53
53
|
return n(u, () => ({
|
|
54
54
|
startAnimation: p,
|
|
55
55
|
stopAnimation: m
|
|
56
|
-
})), /* @__PURE__ */
|
|
56
|
+
})), /* @__PURE__ */ i(a.svg, {
|
|
57
57
|
ref: d,
|
|
58
58
|
xmlns: "http://www.w3.org/2000/svg",
|
|
59
59
|
width: e,
|
|
@@ -68,24 +68,24 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
68
68
|
onHoverStart: p,
|
|
69
69
|
onHoverEnd: m,
|
|
70
70
|
children: [
|
|
71
|
-
/* @__PURE__ */
|
|
71
|
+
/* @__PURE__ */ r("rect", {
|
|
72
72
|
width: "20",
|
|
73
73
|
height: "8",
|
|
74
74
|
x: "2",
|
|
75
75
|
y: "14",
|
|
76
76
|
rx: "2"
|
|
77
77
|
}),
|
|
78
|
-
/* @__PURE__ */
|
|
78
|
+
/* @__PURE__ */ i(a.g, {
|
|
79
79
|
className: "indicator",
|
|
80
|
-
children: [/* @__PURE__ */
|
|
80
|
+
children: [/* @__PURE__ */ r("path", { d: "M6.01 18H6" }), /* @__PURE__ */ r("path", { d: "M10.01 18H10" })]
|
|
81
81
|
}),
|
|
82
|
-
/* @__PURE__ */
|
|
83
|
-
/* @__PURE__ */ a
|
|
82
|
+
/* @__PURE__ */ r("path", { d: "M15 10v4" }),
|
|
83
|
+
/* @__PURE__ */ r(a.path, {
|
|
84
84
|
className: "signal-inner",
|
|
85
85
|
d: "M17.84 7.17a4 4 0 0 0-5.66 0",
|
|
86
86
|
style: { transformOrigin: "15px 7px" }
|
|
87
87
|
}),
|
|
88
|
-
/* @__PURE__ */ a
|
|
88
|
+
/* @__PURE__ */ r(a.path, {
|
|
89
89
|
className: "signal-outer",
|
|
90
90
|
d: "M20.66 4.34a8 8 0 0 0-11.31 0",
|
|
91
91
|
style: { transformOrigin: "15px 4px" }
|