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/satellite-dish-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,
|
|
@@ -55,7 +55,7 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
55
55
|
return n(u, () => ({
|
|
56
56
|
startAnimation: p,
|
|
57
57
|
stopAnimation: m
|
|
58
|
-
})), /* @__PURE__ */
|
|
58
|
+
})), /* @__PURE__ */ i(a.svg, {
|
|
59
59
|
ref: d,
|
|
60
60
|
xmlns: "http://www.w3.org/2000/svg",
|
|
61
61
|
width: e,
|
|
@@ -70,18 +70,18 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
70
70
|
onHoverStart: p,
|
|
71
71
|
onHoverEnd: m,
|
|
72
72
|
children: [
|
|
73
|
-
/* @__PURE__ */ a
|
|
73
|
+
/* @__PURE__ */ r(a.path, {
|
|
74
74
|
className: "dish",
|
|
75
75
|
d: "M4 10a7.31 7.31 0 0 0 10 10Z",
|
|
76
76
|
style: { transformOrigin: "9px 15px" }
|
|
77
77
|
}),
|
|
78
|
-
/* @__PURE__ */
|
|
79
|
-
/* @__PURE__ */ a
|
|
78
|
+
/* @__PURE__ */ r("path", { d: "m9 15 3-3" }),
|
|
79
|
+
/* @__PURE__ */ r(a.path, {
|
|
80
80
|
className: "signal-inner",
|
|
81
81
|
d: "M17 13a6 6 0 0 0-6-6",
|
|
82
82
|
style: { transformOrigin: "14px 10px" }
|
|
83
83
|
}),
|
|
84
|
-
/* @__PURE__ */ a
|
|
84
|
+
/* @__PURE__ */ r(a.path, {
|
|
85
85
|
className: "signal-outer",
|
|
86
86
|
d: "M21 13A10 10 0 0 0 11 3",
|
|
87
87
|
style: { transformOrigin: "16px 8px" }
|
|
@@ -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/save-icon.tsx
|
|
5
5
|
var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, className: l = "" }, u) => {
|
|
6
|
-
let [d, f] =
|
|
6
|
+
let [d, f] = o(), p = t(() => {
|
|
7
7
|
f(d.current, { y: [
|
|
8
8
|
0,
|
|
9
9
|
-1,
|
|
@@ -25,7 +25,7 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
25
25
|
return n(u, () => ({
|
|
26
26
|
startAnimation: p,
|
|
27
27
|
stopAnimation: m
|
|
28
|
-
})), /* @__PURE__ */
|
|
28
|
+
})), /* @__PURE__ */ i(a.svg, {
|
|
29
29
|
ref: d,
|
|
30
30
|
onHoverStart: p,
|
|
31
31
|
onHoverEnd: m,
|
|
@@ -41,12 +41,12 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
41
41
|
className: `cursor-pointer ${l}`,
|
|
42
42
|
style: { overflow: "visible" },
|
|
43
43
|
children: [
|
|
44
|
-
/* @__PURE__ */
|
|
45
|
-
/* @__PURE__ */
|
|
44
|
+
/* @__PURE__ */ r("path", { d: "M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z" }),
|
|
45
|
+
/* @__PURE__ */ r("path", {
|
|
46
46
|
className: "save-shutter",
|
|
47
47
|
d: "M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7"
|
|
48
48
|
}),
|
|
49
|
-
/* @__PURE__ */ a
|
|
49
|
+
/* @__PURE__ */ r(a.path, {
|
|
50
50
|
className: "save-label",
|
|
51
51
|
d: "M7 3v4a1 1 0 0 0 1 1h7",
|
|
52
52
|
style: { transformOrigin: "center" }
|
|
@@ -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/scan-barcode-icon.tsx
|
|
5
5
|
var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, className: l = "" }, u) => {
|
|
6
|
-
let [d, f] =
|
|
6
|
+
let [d, f] = o(), p = t(async () => {
|
|
7
7
|
await f(".scan-line", {
|
|
8
8
|
y: [
|
|
9
9
|
0,
|
|
@@ -41,7 +41,7 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
41
41
|
return n(u, () => ({
|
|
42
42
|
startAnimation: p,
|
|
43
43
|
stopAnimation: m
|
|
44
|
-
})), /* @__PURE__ */
|
|
44
|
+
})), /* @__PURE__ */ i(a.svg, {
|
|
45
45
|
ref: d,
|
|
46
46
|
xmlns: "http://www.w3.org/2000/svg",
|
|
47
47
|
width: e,
|
|
@@ -56,24 +56,24 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
56
56
|
onHoverStart: p,
|
|
57
57
|
onHoverEnd: m,
|
|
58
58
|
children: [
|
|
59
|
-
/* @__PURE__ */
|
|
59
|
+
/* @__PURE__ */ i(a.g, {
|
|
60
60
|
className: "corners",
|
|
61
61
|
children: [
|
|
62
|
-
/* @__PURE__ */
|
|
63
|
-
/* @__PURE__ */
|
|
64
|
-
/* @__PURE__ */
|
|
65
|
-
/* @__PURE__ */
|
|
62
|
+
/* @__PURE__ */ r("path", { d: "M3 7V5a2 2 0 0 1 2-2h2" }),
|
|
63
|
+
/* @__PURE__ */ r("path", { d: "M17 3h2a2 2 0 0 1 2 2v2" }),
|
|
64
|
+
/* @__PURE__ */ r("path", { d: "M21 17v2a2 2 0 0 1-2 2h-2" }),
|
|
65
|
+
/* @__PURE__ */ r("path", { d: "M7 21H5a2 2 0 0 1-2-2v-2" })
|
|
66
66
|
]
|
|
67
67
|
}),
|
|
68
|
-
/* @__PURE__ */
|
|
68
|
+
/* @__PURE__ */ i(a.g, {
|
|
69
69
|
className: "barcode",
|
|
70
70
|
children: [
|
|
71
|
-
/* @__PURE__ */
|
|
72
|
-
/* @__PURE__ */
|
|
73
|
-
/* @__PURE__ */
|
|
71
|
+
/* @__PURE__ */ r("path", { d: "M8 7v10" }),
|
|
72
|
+
/* @__PURE__ */ r("path", { d: "M12 7v10" }),
|
|
73
|
+
/* @__PURE__ */ r("path", { d: "M17 7v10" })
|
|
74
74
|
]
|
|
75
75
|
}),
|
|
76
|
-
/* @__PURE__ */ a
|
|
76
|
+
/* @__PURE__ */ r(a.line, {
|
|
77
77
|
className: "scan-line",
|
|
78
78
|
x1: "8",
|
|
79
79
|
x2: "17",
|
|
@@ -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/scan-heart-icon.tsx
|
|
5
5
|
var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, className: l = "" }, u) => {
|
|
6
|
-
let [d, f] =
|
|
6
|
+
let [d, f] = o(), p = t(async () => {
|
|
7
7
|
f(".heart", { scale: 1.3 }, {
|
|
8
8
|
duration: .25,
|
|
9
9
|
ease: "easeOut"
|
|
@@ -20,7 +20,7 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
20
20
|
return n(u, () => ({
|
|
21
21
|
startAnimation: p,
|
|
22
22
|
stopAnimation: m
|
|
23
|
-
})), /* @__PURE__ */
|
|
23
|
+
})), /* @__PURE__ */ i(a.svg, {
|
|
24
24
|
ref: d,
|
|
25
25
|
xmlns: "http://www.w3.org/2000/svg",
|
|
26
26
|
width: e,
|
|
@@ -35,23 +35,23 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
35
35
|
onHoverStart: p,
|
|
36
36
|
onHoverEnd: m,
|
|
37
37
|
children: [
|
|
38
|
-
/* @__PURE__ */ a
|
|
38
|
+
/* @__PURE__ */ r(a.path, {
|
|
39
39
|
className: "corners",
|
|
40
40
|
d: "M17 3h2a2 2 0 0 1 2 2v2"
|
|
41
41
|
}),
|
|
42
|
-
/* @__PURE__ */ a
|
|
42
|
+
/* @__PURE__ */ r(a.path, {
|
|
43
43
|
className: "corners",
|
|
44
44
|
d: "M21 17v2a2 2 0 0 1-2 2h-2"
|
|
45
45
|
}),
|
|
46
|
-
/* @__PURE__ */ a
|
|
46
|
+
/* @__PURE__ */ r(a.path, {
|
|
47
47
|
className: "corners",
|
|
48
48
|
d: "M3 7V5a2 2 0 0 1 2-2h2"
|
|
49
49
|
}),
|
|
50
|
-
/* @__PURE__ */ a
|
|
50
|
+
/* @__PURE__ */ r(a.path, {
|
|
51
51
|
className: "corners",
|
|
52
52
|
d: "M7 21H5a2 2 0 0 1-2-2v-2"
|
|
53
53
|
}),
|
|
54
|
-
/* @__PURE__ */ a
|
|
54
|
+
/* @__PURE__ */ r(a.path, {
|
|
55
55
|
className: "heart",
|
|
56
56
|
style: { transformOrigin: "12px 13px" },
|
|
57
57
|
d: "M7.828 13.07A3 3 0 0 1 12 8.764a3 3 0 0 1 4.172 4.306l-3.447 3.62a1 1 0 0 1-1.449 0z"
|
|
@@ -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/send-horizontal-icon.tsx
|
|
5
5
|
var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, className: l = "" }, u) => {
|
|
6
|
-
let [d, f] =
|
|
6
|
+
let [d, f] = o(), p = t(async () => {
|
|
7
7
|
await f(".paper-plane", {
|
|
8
8
|
x: [0, 2],
|
|
9
9
|
opacity: [1, .7]
|
|
@@ -29,7 +29,7 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
29
29
|
return n(u, () => ({
|
|
30
30
|
startAnimation: p,
|
|
31
31
|
stopAnimation: m
|
|
32
|
-
})), /* @__PURE__ */ a
|
|
32
|
+
})), /* @__PURE__ */ r(a.svg, {
|
|
33
33
|
ref: d,
|
|
34
34
|
xmlns: "http://www.w3.org/2000/svg",
|
|
35
35
|
width: e,
|
|
@@ -43,9 +43,9 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
43
43
|
className: `cursor-pointer ${l}`,
|
|
44
44
|
onHoverStart: p,
|
|
45
45
|
onHoverEnd: m,
|
|
46
|
-
children: /* @__PURE__ */
|
|
46
|
+
children: /* @__PURE__ */ i(a.g, {
|
|
47
47
|
className: "paper-plane",
|
|
48
|
-
children: [/* @__PURE__ */
|
|
48
|
+
children: [/* @__PURE__ */ r("path", { d: "M3.714 3.048a.498.498 0 0 0-.683.627l2.843 7.627a2 2 0 0 1 0 1.396l-2.842 7.627a.498.498 0 0 0 .682.627l18-8.5a.5.5 0 0 0 0-.904z" }), /* @__PURE__ */ r("path", { d: "M6 12h16" })]
|
|
49
49
|
})
|
|
50
50
|
});
|
|
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, jsxs as i } from "react/jsx-runtime";
|
|
3
|
+
import { motion as a, useAnimate as o } from "motion/react";
|
|
4
4
|
//#region src/animations/send-icon.tsx
|
|
5
5
|
var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, className: l = "" }, u) => {
|
|
6
|
-
let [d, f] =
|
|
6
|
+
let [d, f] = o(), p = t(async () => {
|
|
7
7
|
await f(".send-icon", {
|
|
8
8
|
x: [0, 24],
|
|
9
9
|
y: [0, -24],
|
|
@@ -32,7 +32,7 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
32
32
|
return n(u, () => ({
|
|
33
33
|
startAnimation: p,
|
|
34
34
|
stopAnimation: m
|
|
35
|
-
})), /* @__PURE__ */ a
|
|
35
|
+
})), /* @__PURE__ */ r(a.svg, {
|
|
36
36
|
ref: d,
|
|
37
37
|
onHoverStart: p,
|
|
38
38
|
onHoverEnd: m,
|
|
@@ -47,17 +47,17 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
47
47
|
strokeLinejoin: "round",
|
|
48
48
|
className: `cursor-pointer ${l}`,
|
|
49
49
|
style: { overflow: "visible" },
|
|
50
|
-
children: /* @__PURE__ */
|
|
50
|
+
children: /* @__PURE__ */ i(a.g, {
|
|
51
51
|
className: "send-icon",
|
|
52
52
|
style: { transformOrigin: "center" },
|
|
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__ */
|
|
59
|
+
/* @__PURE__ */ r("path", { d: "M10 14l11 -11" }),
|
|
60
|
+
/* @__PURE__ */ r("path", { d: "M21 3l-6.5 18a.55 .55 0 0 1 -1 0l-3.5 -7l-7 -3.5a.55 .55 0 0 1 0 -1l18 -6.5" })
|
|
61
61
|
]
|
|
62
62
|
})
|
|
63
63
|
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { forwardRef as e, useCallback as t, useImperativeHandle as n } from "react";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
3
|
+
import { motion as a, useAnimate as o } from "motion/react";
|
|
4
4
|
//#region src/animations/shield-check.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(".shield-body", { scale: [
|
|
8
8
|
1,
|
|
9
9
|
1.05,
|
|
@@ -27,7 +27,7 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
27
27
|
return n(u, () => ({
|
|
28
28
|
startAnimation: p,
|
|
29
29
|
stopAnimation: m
|
|
30
|
-
})), /* @__PURE__ */
|
|
30
|
+
})), /* @__PURE__ */ i(a.svg, {
|
|
31
31
|
ref: d,
|
|
32
32
|
onHoverStart: p,
|
|
33
33
|
onHoverEnd: m,
|
|
@@ -42,11 +42,11 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
42
42
|
strokeLinejoin: "round",
|
|
43
43
|
className: `cursor-pointer ${l}`,
|
|
44
44
|
style: { overflow: "visible" },
|
|
45
|
-
children: [/* @__PURE__ */ a
|
|
45
|
+
children: [/* @__PURE__ */ r(a.path, {
|
|
46
46
|
className: "shield-body",
|
|
47
47
|
style: { transformOrigin: "50% 50%" },
|
|
48
48
|
d: "M11.46 20.846a12 12 0 0 1 -7.96 -14.846a12 12 0 0 0 8.5 -3a12 12 0 0 0 8.5 3a12 12 0 0 1 -.09 7.06"
|
|
49
|
-
}), /* @__PURE__ */ a
|
|
49
|
+
}), /* @__PURE__ */ r(a.path, {
|
|
50
50
|
className: "shield-check",
|
|
51
51
|
d: "M15 19l2 2l4 -4",
|
|
52
52
|
initial: {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { scaledStrokeWidth as e } from "./types.js";
|
|
2
2
|
import { forwardRef as t, useCallback as n, useImperativeHandle 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/shopping-cart-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 = n(async () => {
|
|
8
8
|
p(".cart-upper", { x: [
|
|
9
9
|
0,
|
|
10
10
|
10,
|
|
@@ -61,12 +61,12 @@ var c = t(({ size: t = 24, color: c = "currentColor", strokeWidth: l = 2, classN
|
|
|
61
61
|
return r(d, () => ({
|
|
62
62
|
startAnimation: m,
|
|
63
63
|
stopAnimation: h
|
|
64
|
-
})), /* @__PURE__ */ o
|
|
64
|
+
})), /* @__PURE__ */ i(o.div, {
|
|
65
65
|
ref: f,
|
|
66
66
|
onHoverStart: m,
|
|
67
67
|
onHoverEnd: h,
|
|
68
68
|
className: `inline-flex cursor-pointer ${u}`,
|
|
69
|
-
children: /* @__PURE__ */
|
|
69
|
+
children: /* @__PURE__ */ a("svg", {
|
|
70
70
|
xmlns: "http://www.w3.org/2000/svg",
|
|
71
71
|
width: t,
|
|
72
72
|
height: t,
|
|
@@ -77,33 +77,33 @@ var c = t(({ size: t = 24, color: c = "currentColor", strokeWidth: l = 2, classN
|
|
|
77
77
|
strokeMiterlimit: "10",
|
|
78
78
|
strokeLinecap: "square",
|
|
79
79
|
children: [
|
|
80
|
-
/* @__PURE__ */ o
|
|
80
|
+
/* @__PURE__ */ i(o.path, {
|
|
81
81
|
className: "cart-upper",
|
|
82
82
|
d: "M8.49994 10H41L37.569 21.4367C36.9345 23.5517 34.9879 25 32.7798 25H10.4999"
|
|
83
83
|
}),
|
|
84
|
-
/* @__PURE__ */ o
|
|
84
|
+
/* @__PURE__ */ i(o.path, {
|
|
85
85
|
className: "cart-wheel-left",
|
|
86
86
|
style: { transformOrigin: "11px 41px" },
|
|
87
87
|
d: "M11 45C13.2091 45 15 43.2091 15 41C15 38.7909 13.2091 37 11 37C8.79086 37 7 38.7909 7 41C7 43.2091 8.79086 45 11 45Z"
|
|
88
88
|
}),
|
|
89
|
-
/* @__PURE__ */ o
|
|
89
|
+
/* @__PURE__ */ i(o.path, {
|
|
90
90
|
className: "cart-wheel-right",
|
|
91
91
|
style: { transformOrigin: "37px 41px" },
|
|
92
92
|
d: "M37 45C39.2091 45 41 43.2091 41 41C41 38.7909 39.2091 37 37 37C34.7909 37 33 38.7909 33 41C33 43.2091 34.7909 45 37 45Z"
|
|
93
93
|
}),
|
|
94
|
-
/* @__PURE__ */ o
|
|
94
|
+
/* @__PURE__ */ i(o.path, {
|
|
95
95
|
className: "cart-upper",
|
|
96
96
|
d: "M41 32H9.46174C7.17727 32 6.08953 29.1885 7.77914 27.651L10.6923 25L7.81067 5.14103C7.63231 3.91188 6.57863 3.00005 5.33661 3.00003L3 3"
|
|
97
97
|
}),
|
|
98
|
-
/* @__PURE__ */ o
|
|
98
|
+
/* @__PURE__ */ i(o.path, {
|
|
99
99
|
className: "cart-item cart-upper",
|
|
100
100
|
d: "M30 16L30 19"
|
|
101
101
|
}),
|
|
102
|
-
/* @__PURE__ */ o
|
|
102
|
+
/* @__PURE__ */ i(o.path, {
|
|
103
103
|
className: "cart-item cart-upper",
|
|
104
104
|
d: "M24 16L24 19"
|
|
105
105
|
}),
|
|
106
|
-
/* @__PURE__ */ o
|
|
106
|
+
/* @__PURE__ */ i(o.path, {
|
|
107
107
|
className: "cart-item cart-upper",
|
|
108
108
|
d: "M18 16L18 19"
|
|
109
109
|
})
|
|
@@ -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/simple-checked-icon.tsx
|
|
5
5
|
var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, className: l = "" }, u) => {
|
|
6
|
-
let [d, f] =
|
|
6
|
+
let [d, f] = o(), p = t(async () => {
|
|
7
7
|
await f(".check-path", { pathLength: 0 }, {
|
|
8
8
|
duration: .1,
|
|
9
9
|
ease: "easeInOut"
|
|
@@ -17,11 +17,11 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
17
17
|
return n(u, () => ({
|
|
18
18
|
startAnimation: p,
|
|
19
19
|
stopAnimation: m
|
|
20
|
-
})), /* @__PURE__ */ a
|
|
20
|
+
})), /* @__PURE__ */ r(a.div, {
|
|
21
21
|
ref: d,
|
|
22
22
|
onHoverStart: p,
|
|
23
23
|
onHoverEnd: m,
|
|
24
|
-
children: /* @__PURE__ */
|
|
24
|
+
children: /* @__PURE__ */ i("svg", {
|
|
25
25
|
xmlns: "http://www.w3.org/2000/svg",
|
|
26
26
|
width: e,
|
|
27
27
|
height: e,
|
|
@@ -32,11 +32,11 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
32
32
|
strokeLinecap: "round",
|
|
33
33
|
strokeLinejoin: "round",
|
|
34
34
|
className: "",
|
|
35
|
-
children: [/* @__PURE__ */
|
|
35
|
+
children: [/* @__PURE__ */ r("path", {
|
|
36
36
|
stroke: "none",
|
|
37
37
|
d: "M0 0h24v24H0z",
|
|
38
38
|
fill: "none"
|
|
39
|
-
}), /* @__PURE__ */ a
|
|
39
|
+
}), /* @__PURE__ */ r(a.path, {
|
|
40
40
|
d: "M5 12l5 5l10 -10",
|
|
41
41
|
className: `check-path ${l}`
|
|
42
42
|
})]
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { scaledStrokeWidth as e } from "./types.js";
|
|
2
2
|
import { forwardRef as t, useCallback as n, useImperativeHandle 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/skull-emoji.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 = n(async () => {
|
|
8
8
|
p(".skull-head", {
|
|
9
9
|
rotate: [
|
|
10
10
|
0,
|
|
@@ -77,12 +77,12 @@ var c = t(({ size: t = 24, color: c = "currentColor", strokeWidth: l = 2, classN
|
|
|
77
77
|
return r(d, () => ({
|
|
78
78
|
startAnimation: m,
|
|
79
79
|
stopAnimation: h
|
|
80
|
-
})), /* @__PURE__ */ o
|
|
80
|
+
})), /* @__PURE__ */ i(o.div, {
|
|
81
81
|
ref: f,
|
|
82
82
|
onHoverStart: m,
|
|
83
83
|
onHoverEnd: h,
|
|
84
84
|
className: `inline-flex cursor-pointer ${u}`,
|
|
85
|
-
children: /* @__PURE__ */
|
|
85
|
+
children: /* @__PURE__ */ a("svg", {
|
|
86
86
|
xmlns: "http://www.w3.org/2000/svg",
|
|
87
87
|
x: "0px",
|
|
88
88
|
y: "0px",
|
|
@@ -95,25 +95,25 @@ var c = t(({ size: t = 24, color: c = "currentColor", strokeWidth: l = 2, classN
|
|
|
95
95
|
strokeMiterlimit: "10",
|
|
96
96
|
strokeLinecap: "square",
|
|
97
97
|
children: [
|
|
98
|
-
/* @__PURE__ */ o
|
|
98
|
+
/* @__PURE__ */ i(o.path, {
|
|
99
99
|
className: "skull-tooth-left skull-tooth",
|
|
100
100
|
d: "M14 27V30"
|
|
101
101
|
}),
|
|
102
|
-
/* @__PURE__ */ o
|
|
102
|
+
/* @__PURE__ */ i(o.path, {
|
|
103
103
|
className: "skull-tooth-right skull-tooth",
|
|
104
104
|
d: "M18 27V30"
|
|
105
105
|
}),
|
|
106
|
-
/* @__PURE__ */ o
|
|
106
|
+
/* @__PURE__ */ i(o.path, {
|
|
107
107
|
className: "skull-head",
|
|
108
108
|
style: { transformOrigin: "16px 16px" },
|
|
109
109
|
d: "M16 2C9.09644 2 3.5 7.59644 3.5 14.5C3.5 18.8099 5.68123 22.6104 9 24.8577L9.32436 28.1936C9.424 29.2183 10.2854 30 11.315 30H20.685C21.7146 30 22.576 29.2183 22.6756 28.1936L23 24.8577C26.3188 22.6104 28.5 18.8099 28.5 14.5C28.5 7.59644 22.9036 2 16 2Z"
|
|
110
110
|
}),
|
|
111
|
-
/* @__PURE__ */ o
|
|
111
|
+
/* @__PURE__ */ i(o.path, {
|
|
112
112
|
className: "skull-eye-right",
|
|
113
113
|
style: { transformOrigin: "21px 16px" },
|
|
114
114
|
d: "M24 16C24 17.6569 22.6569 19 21 19C19.3431 19 18 17.6569 18 16C18 15.25 20.2198 13 21 13C22.6569 13 24 14.3431 24 16Z"
|
|
115
115
|
}),
|
|
116
|
-
/* @__PURE__ */ o
|
|
116
|
+
/* @__PURE__ */ i(o.path, {
|
|
117
117
|
className: "skull-eye-left",
|
|
118
118
|
style: { transformOrigin: "11px 16px" },
|
|
119
119
|
d: "M8 16C8 17.6569 9.34315 19 11 19C12.6569 19 14 17.6569 14 16C14 15.25 11.7802 13 11 13C9.34315 13 8 14.3431 8 16Z"
|
|
@@ -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/slack-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(".piece1", { rotate: [
|
|
8
8
|
0,
|
|
9
9
|
-90,
|
|
@@ -45,7 +45,7 @@ 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__ */
|
|
48
|
+
})), /* @__PURE__ */ i(a.svg, {
|
|
49
49
|
ref: d,
|
|
50
50
|
onHoverStart: p,
|
|
51
51
|
onHoverEnd: m,
|
|
@@ -60,30 +60,30 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
60
60
|
strokeLinejoin: "round",
|
|
61
61
|
className: `cursor-pointer ${l}`,
|
|
62
62
|
children: [
|
|
63
|
-
/* @__PURE__ */
|
|
63
|
+
/* @__PURE__ */ r("path", {
|
|
64
64
|
stroke: "none",
|
|
65
65
|
d: "M0 0h24v24H0z",
|
|
66
66
|
fill: "none"
|
|
67
67
|
}),
|
|
68
|
-
/* @__PURE__ */ a
|
|
68
|
+
/* @__PURE__ */ r(a.g, {
|
|
69
69
|
className: "piece1",
|
|
70
70
|
style: { transformOrigin: "center" },
|
|
71
|
-
children: /* @__PURE__ */
|
|
71
|
+
children: /* @__PURE__ */ r("path", { d: "M12 12v-6a2 2 0 0 1 4 0v6m0 -2a2 2 0 1 1 2 2h-6" })
|
|
72
72
|
}),
|
|
73
|
-
/* @__PURE__ */ a
|
|
73
|
+
/* @__PURE__ */ r(a.g, {
|
|
74
74
|
className: "piece2",
|
|
75
75
|
style: { transformOrigin: "center" },
|
|
76
|
-
children: /* @__PURE__ */
|
|
76
|
+
children: /* @__PURE__ */ r("path", { d: "M12 12h6a2 2 0 0 1 0 4h-6m2 0a2 2 0 1 1 -2 2v-6" })
|
|
77
77
|
}),
|
|
78
|
-
/* @__PURE__ */ a
|
|
78
|
+
/* @__PURE__ */ r(a.g, {
|
|
79
79
|
className: "piece3",
|
|
80
80
|
style: { transformOrigin: "center" },
|
|
81
|
-
children: /* @__PURE__ */
|
|
81
|
+
children: /* @__PURE__ */ r("path", { d: "M12 12v6a2 2 0 0 1 -4 0v-6m0 2a2 2 0 1 1 -2 -2h6" })
|
|
82
82
|
}),
|
|
83
|
-
/* @__PURE__ */ a
|
|
83
|
+
/* @__PURE__ */ r(a.g, {
|
|
84
84
|
className: "piece4",
|
|
85
85
|
style: { transformOrigin: "center" },
|
|
86
|
-
children: /* @__PURE__ */
|
|
86
|
+
children: /* @__PURE__ */ r("path", { d: "M12 12h-6a2 2 0 0 1 0 -4h6m-2 0a2 2 0 1 1 2 -2v6" })
|
|
87
87
|
})
|
|
88
88
|
]
|
|
89
89
|
});
|
|
@@ -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/sliders-horizontal-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(".slider-1", { x: [
|
|
8
8
|
0,
|
|
9
9
|
-4,
|
|
@@ -89,7 +89,7 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
89
89
|
return n(u, () => ({
|
|
90
90
|
startAnimation: p,
|
|
91
91
|
stopAnimation: m
|
|
92
|
-
})), /* @__PURE__ */
|
|
92
|
+
})), /* @__PURE__ */ i(a.svg, {
|
|
93
93
|
ref: d,
|
|
94
94
|
onHoverStart: p,
|
|
95
95
|
onHoverEnd: m,
|
|
@@ -104,63 +104,63 @@ var s = e(({ size: e = 24, color: s = "currentColor", strokeWidth: c = 2, classN
|
|
|
104
104
|
strokeLinejoin: "round",
|
|
105
105
|
className: `cursor-pointer ${l}`,
|
|
106
106
|
children: [
|
|
107
|
-
/* @__PURE__ */ a
|
|
107
|
+
/* @__PURE__ */ r(a.line, {
|
|
108
108
|
className: "path-1-left",
|
|
109
109
|
x1: "3",
|
|
110
110
|
y1: "5",
|
|
111
111
|
x2: "10",
|
|
112
112
|
y2: "5"
|
|
113
113
|
}),
|
|
114
|
-
/* @__PURE__ */ a
|
|
114
|
+
/* @__PURE__ */ r(a.line, {
|
|
115
115
|
className: "slider-1",
|
|
116
116
|
x1: "14",
|
|
117
117
|
y1: "3",
|
|
118
118
|
x2: "14",
|
|
119
119
|
y2: "7"
|
|
120
120
|
}),
|
|
121
|
-
/* @__PURE__ */ a
|
|
121
|
+
/* @__PURE__ */ r(a.line, {
|
|
122
122
|
className: "path-1-right",
|
|
123
123
|
x1: "14",
|
|
124
124
|
y1: "5",
|
|
125
125
|
x2: "21",
|
|
126
126
|
y2: "5"
|
|
127
127
|
}),
|
|
128
|
-
/* @__PURE__ */ a
|
|
128
|
+
/* @__PURE__ */ r(a.line, {
|
|
129
129
|
className: "path-2-left",
|
|
130
130
|
x1: "3",
|
|
131
131
|
y1: "12",
|
|
132
132
|
x2: "8",
|
|
133
133
|
y2: "12"
|
|
134
134
|
}),
|
|
135
|
-
/* @__PURE__ */ a
|
|
135
|
+
/* @__PURE__ */ r(a.line, {
|
|
136
136
|
className: "slider-2",
|
|
137
137
|
x1: "8",
|
|
138
138
|
y1: "10",
|
|
139
139
|
x2: "8",
|
|
140
140
|
y2: "14"
|
|
141
141
|
}),
|
|
142
|
-
/* @__PURE__ */ a
|
|
142
|
+
/* @__PURE__ */ r(a.line, {
|
|
143
143
|
className: "path-2-right",
|
|
144
144
|
x1: "12",
|
|
145
145
|
y1: "12",
|
|
146
146
|
x2: "21",
|
|
147
147
|
y2: "12"
|
|
148
148
|
}),
|
|
149
|
-
/* @__PURE__ */ a
|
|
149
|
+
/* @__PURE__ */ r(a.line, {
|
|
150
150
|
className: "path-3-left",
|
|
151
151
|
x1: "3",
|
|
152
152
|
y1: "19",
|
|
153
153
|
x2: "12",
|
|
154
154
|
y2: "19"
|
|
155
155
|
}),
|
|
156
|
-
/* @__PURE__ */ a
|
|
156
|
+
/* @__PURE__ */ r(a.line, {
|
|
157
157
|
className: "slider-3",
|
|
158
158
|
x1: "16",
|
|
159
159
|
y1: "17",
|
|
160
160
|
x2: "16",
|
|
161
161
|
y2: "21"
|
|
162
162
|
}),
|
|
163
|
-
/* @__PURE__ */ a
|
|
163
|
+
/* @__PURE__ */ r(a.line, {
|
|
164
164
|
className: "path-3-right",
|
|
165
165
|
x1: "16",
|
|
166
166
|
y1: "19",
|