@aristobyte-ui/utils 1.0.112 → 2.1.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/README.md +73 -0
- package/dist/es/main/helpers/Portal.js +29 -0
- package/dist/es/main/helpers/index.js +2 -0
- package/dist/es/main/helpers/ripple.js +18 -0
- package/dist/es/main/hooks/index.js +1 -0
- package/dist/es/main/hooks/useMediaQuery.js +31 -0
- package/dist/es/main/icons/AristoByteUI.js +72 -0
- package/dist/es/main/icons/ArrowRight.js +6 -0
- package/dist/es/main/icons/BashCursor.js +7 -0
- package/dist/es/main/icons/Bun.js +24 -0
- package/dist/es/main/icons/Code.js +8 -0
- package/dist/es/main/icons/Comment.js +6 -0
- package/dist/es/main/icons/Components.js +9 -0
- package/dist/es/main/icons/Copy.js +7 -0
- package/dist/es/main/icons/Disabled.js +7 -0
- package/dist/es/main/icons/Dot.js +6 -0
- package/dist/es/main/icons/Error.js +8 -0
- package/dist/es/main/icons/Eye.js +7 -0
- package/dist/es/main/icons/GalleryVertical.js +8 -0
- package/dist/es/main/icons/GalleryVerticalEnd.js +8 -0
- package/dist/es/main/icons/Github.js +7 -0
- package/dist/es/main/icons/GradientSquare.js +10 -0
- package/dist/es/main/icons/Heart.js +6 -0
- package/dist/es/main/icons/Info.js +8 -0
- package/dist/es/main/icons/Instagram.js +8 -0
- package/dist/es/main/icons/Link.js +8 -0
- package/dist/es/main/icons/LinkedIn.js +8 -0
- package/dist/es/main/icons/Logo.js +47 -0
- package/dist/es/main/icons/Npm.js +7 -0
- package/dist/es/main/icons/OpenedBook.js +7 -0
- package/dist/es/main/icons/Package.js +9 -0
- package/dist/es/main/icons/Palette.js +10 -0
- package/dist/es/main/icons/PaperCode.js +9 -0
- package/dist/es/main/icons/Play.js +6 -0
- package/dist/es/main/icons/Pnpm.js +34 -0
- package/dist/es/main/icons/Resize.js +9 -0
- package/dist/es/main/icons/Share.js +10 -0
- package/dist/es/main/icons/Star.js +6 -0
- package/dist/es/main/icons/Stars.js +9 -0
- package/dist/es/main/icons/Storybook.js +7 -0
- package/dist/es/main/icons/Success.js +7 -0
- package/dist/es/main/icons/User.js +7 -0
- package/dist/es/main/icons/UserGroup.js +9 -0
- package/dist/es/main/icons/Warning.js +8 -0
- package/dist/es/main/icons/Yarn.js +6 -0
- package/dist/es/main/icons/index.js +80 -0
- package/dist/es/main/icons/type.js +1 -0
- package/dist/es/main/index.js +3 -0
- package/dist/lib/main/helpers/Portal.js +66 -0
- package/dist/lib/main/helpers/index.js +18 -0
- package/dist/lib/main/helpers/ripple.js +22 -0
- package/dist/lib/main/hooks/index.js +17 -0
- package/dist/lib/main/hooks/useMediaQuery.js +68 -0
- package/dist/lib/main/icons/AristoByteUI.js +109 -0
- package/dist/lib/main/icons/ArrowRight.js +43 -0
- package/dist/lib/main/icons/BashCursor.js +44 -0
- package/dist/lib/main/icons/Bun.js +61 -0
- package/dist/lib/main/icons/Code.js +45 -0
- package/dist/lib/main/icons/Comment.js +43 -0
- package/dist/lib/main/icons/Components.js +46 -0
- package/dist/lib/main/icons/Copy.js +44 -0
- package/dist/lib/main/icons/Disabled.js +44 -0
- package/dist/lib/main/icons/Dot.js +43 -0
- package/dist/lib/main/icons/Error.js +45 -0
- package/dist/lib/main/icons/Eye.js +44 -0
- package/dist/lib/main/icons/GalleryVertical.js +45 -0
- package/dist/lib/main/icons/GalleryVerticalEnd.js +45 -0
- package/dist/lib/main/icons/Github.js +44 -0
- package/dist/lib/main/icons/GradientSquare.js +47 -0
- package/dist/lib/main/icons/Heart.js +43 -0
- package/dist/lib/main/icons/Info.js +45 -0
- package/dist/lib/main/icons/Instagram.js +45 -0
- package/dist/lib/main/icons/Link.js +45 -0
- package/dist/lib/main/icons/LinkedIn.js +45 -0
- package/dist/lib/main/icons/Logo.js +84 -0
- package/dist/lib/main/icons/Npm.js +44 -0
- package/dist/lib/main/icons/OpenedBook.js +44 -0
- package/dist/lib/main/icons/Package.js +46 -0
- package/dist/lib/main/icons/Palette.js +47 -0
- package/dist/lib/main/icons/PaperCode.js +46 -0
- package/dist/lib/main/icons/Play.js +43 -0
- package/dist/lib/main/icons/Pnpm.js +71 -0
- package/dist/lib/main/icons/Resize.js +46 -0
- package/dist/lib/main/icons/Share.js +47 -0
- package/dist/lib/main/icons/Star.js +43 -0
- package/dist/lib/main/icons/Stars.js +46 -0
- package/dist/lib/main/icons/Storybook.js +44 -0
- package/dist/lib/main/icons/Success.js +44 -0
- package/dist/lib/main/icons/User.js +44 -0
- package/dist/lib/main/icons/UserGroup.js +46 -0
- package/dist/lib/main/icons/Warning.js +45 -0
- package/dist/lib/main/icons/Yarn.js +43 -0
- package/dist/lib/main/icons/index.js +83 -0
- package/dist/lib/main/icons/type.js +2 -0
- package/dist/lib/main/index.js +19 -0
- package/package.json +4 -32
- package/dist/index.d.mts +0 -66
- package/dist/index.d.ts +0 -66
- package/dist/index.js +0 -1940
- package/dist/index.js.map +0 -1
- package/dist/index.mjs +0 -1900
- package/dist/index.mjs.map +0 -1
- /package/{styles/_settings.scss → aristobyte-ui.settings.scss} +0 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export var PaperCode = function (_a) {
|
|
3
|
+
var _b = _a.size, size = _b === void 0 ? 24 : _b, _c = _a.color, color = _c === void 0 ? 'currentColor' : _c;
|
|
4
|
+
return (React.createElement("svg", { width: size, height: size, viewBox: "0 0 12 16", fill: "none" },
|
|
5
|
+
React.createElement("path", { d: "M4.66665 8.33337L3.33331 10L4.66665 11.6667", stroke: color, strokeWidth: "1.33333", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
6
|
+
React.createElement("path", { d: "M7.33331 8.33337L8.66665 10L7.33331 11.6667", stroke: color, strokeWidth: "1.33333", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
7
|
+
React.createElement("path", { d: "M7.33331 1.33337V4.00004C7.33331 4.35366 7.47379 4.6928 7.72384 4.94285C7.97389 5.1929 8.31302 5.33337 8.66665 5.33337H11.3333", stroke: color, strokeWidth: "1.33333", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
8
|
+
React.createElement("path", { d: "M8.00002 1.33337H2.00002C1.6464 1.33337 1.30726 1.47385 1.05721 1.7239C0.807163 1.97395 0.666687 2.31309 0.666687 2.66671V13.3334C0.666687 13.687 0.807163 14.0261 1.05721 14.2762C1.30726 14.5262 1.6464 14.6667 2.00002 14.6667H10C10.3536 14.6667 10.6928 14.5262 10.9428 14.2762C11.1929 14.0261 11.3334 13.687 11.3334 13.3334V4.66671L8.00002 1.33337Z", stroke: color, strokeWidth: "1.33333", strokeLinecap: "round", strokeLinejoin: "round" })));
|
|
9
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export var Play = function (_a) {
|
|
3
|
+
var _b = _a.size, size = _b === void 0 ? 24 : _b, _c = _a.color, color = _c === void 0 ? 'currentColor' : _c;
|
|
4
|
+
return (React.createElement("svg", { width: size, height: size, viewBox: "0 0 13 14", fill: "none" },
|
|
5
|
+
React.createElement("path", { d: "M1.33331 2.33336C1.33324 2.09876 1.39508 1.86829 1.51257 1.66522C1.63006 1.46216 1.79905 1.29369 2.00248 1.17683C2.20591 1.05996 2.43657 0.998845 2.67117 0.999641C2.90578 1.00044 3.13602 1.06312 3.33865 1.18136L11.3366 5.8467C11.5385 5.96382 11.7061 6.13186 11.8226 6.33403C11.9392 6.5362 12.0006 6.76543 12.0008 6.99879C12.001 7.23215 11.94 7.46148 11.8238 7.66385C11.7076 7.86623 11.5403 8.03456 11.3386 8.15203L3.33865 12.8187C3.13602 12.9369 2.90578 12.9996 2.67117 13.0004C2.43657 13.0012 2.20591 12.9401 2.00248 12.8232C1.79905 12.7064 1.63006 12.5379 1.51257 12.3348C1.39508 12.1318 1.33324 11.9013 1.33331 11.6667V2.33336Z", stroke: color, strokeWidth: "1.33333", strokeLinecap: "round", strokeLinejoin: "round" })));
|
|
6
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export var Pnpm = function (_a) {
|
|
3
|
+
var _b = _a.size, size = _b === void 0 ? 24 : _b;
|
|
4
|
+
return (React.createElement("svg", { preserveAspectRatio: "xMidYMid meet", viewBox: "66.09157809474142 33.5 184.5 184.49999999999997", width: size, height: size },
|
|
5
|
+
React.createElement("defs", null,
|
|
6
|
+
React.createElement("path", { d: "M67.59 35L247.59 35L247.59 215L67.59 215L67.59 35Z", id: "b2JZZcA3fT" }),
|
|
7
|
+
React.createElement("path", { d: "M237.6 95L187.6 95L187.6 45L237.6 45L237.6 95Z", id: "bj0tb0Y8q" }),
|
|
8
|
+
React.createElement("path", { d: "M182.59 95L132.59 95L132.59 45L182.59 45L182.59 95Z", id: "dkDSTzPj3" }),
|
|
9
|
+
React.createElement("path", { d: "M127.59 95L77.59 95L77.59 45L127.59 45L127.59 95Z", id: "a4vNdcNLpF" }),
|
|
10
|
+
React.createElement("path", { d: "M237.6 150L187.6 150L187.6 100L237.6 100L237.6 150Z", id: "h2t4Zj1jSU" }),
|
|
11
|
+
React.createElement("path", { d: "M182.59 150L132.59 150L132.59 100L182.59 100L182.59 150Z", id: "b4t5pngwvT" }),
|
|
12
|
+
React.createElement("path", { d: "M182.59 205L132.59 205L132.59 155L182.59 155L182.59 205Z", id: "b9s1gd5m2" }),
|
|
13
|
+
React.createElement("path", { d: "M237.6 205L187.6 205L187.6 155L237.6 155L237.6 205Z", id: "cmt9WLvz7" }),
|
|
14
|
+
React.createElement("path", { d: "M127.59 205L77.59 205L77.59 155L127.59 155L127.59 205Z", id: "bJUNqgFSg" })),
|
|
15
|
+
React.createElement("g", null,
|
|
16
|
+
React.createElement("g", null,
|
|
17
|
+
React.createElement("use", { xlinkHref: "#b2JZZcA3fT", opacity: "1", fill: "#ffffff", fillOpacity: "1" })),
|
|
18
|
+
React.createElement("g", null,
|
|
19
|
+
React.createElement("use", { xlinkHref: "#bj0tb0Y8q", opacity: "1", fill: "#f9ad00", fillOpacity: "1" })),
|
|
20
|
+
React.createElement("g", null,
|
|
21
|
+
React.createElement("use", { xlinkHref: "#dkDSTzPj3", opacity: "1", fill: "#f9ad00", fillOpacity: "1" })),
|
|
22
|
+
React.createElement("g", null,
|
|
23
|
+
React.createElement("use", { xlinkHref: "#a4vNdcNLpF", opacity: "1", fill: "#f9ad00", fillOpacity: "1" })),
|
|
24
|
+
React.createElement("g", null,
|
|
25
|
+
React.createElement("use", { xlinkHref: "#h2t4Zj1jSU", opacity: "1", fill: "#f9ad00", fillOpacity: "1" })),
|
|
26
|
+
React.createElement("g", null,
|
|
27
|
+
React.createElement("use", { xlinkHref: "#b4t5pngwvT", opacity: "1", fill: "#4e4e4e", fillOpacity: "1" })),
|
|
28
|
+
React.createElement("g", null,
|
|
29
|
+
React.createElement("use", { xlinkHref: "#b9s1gd5m2", opacity: "1", fill: "#4e4e4e", fillOpacity: "1" })),
|
|
30
|
+
React.createElement("g", null,
|
|
31
|
+
React.createElement("use", { xlinkHref: "#cmt9WLvz7", opacity: "1", fill: "#4e4e4e", fillOpacity: "1" })),
|
|
32
|
+
React.createElement("g", null,
|
|
33
|
+
React.createElement("use", { xlinkHref: "#bJUNqgFSg", opacity: "1", fill: "#4e4e4e", fillOpacity: "1" })))));
|
|
34
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export var Resize = function (_a) {
|
|
3
|
+
var _b = _a.size, size = _b === void 0 ? 24 : _b, _c = _a.color, color = _c === void 0 ? 'currentColor' : _c;
|
|
4
|
+
return (React.createElement("svg", { width: size, height: size, viewBox: "0 0 18 18", fill: "none" },
|
|
5
|
+
React.createElement("path", { d: "M11.5 1.5H16.5V6.5", stroke: color, strokeWidth: "1.66667", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
6
|
+
React.createElement("path", { d: "M16.5 1.5L10.6667 7.33333", stroke: color, strokeWidth: "1.66667", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
7
|
+
React.createElement("path", { d: "M1.5 16.5001L7.33333 10.6667", stroke: color, strokeWidth: "1.66667", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
8
|
+
React.createElement("path", { d: "M6.5 16.5H1.5V11.5", stroke: color, strokeWidth: "1.66667", strokeLinecap: "round", strokeLinejoin: "round" })));
|
|
9
|
+
};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export var Share = function (_a) {
|
|
3
|
+
var _b = _a.size, size = _b === void 0 ? 24 : _b, _c = _a.color, color = _c === void 0 ? 'currentColor' : _c;
|
|
4
|
+
return (React.createElement("svg", { width: size, height: size, viewBox: "0 0 12 13", fill: "none" },
|
|
5
|
+
React.createElement("path", { d: "M9.57764 4.25024C10.5441 4.25024 11.3276 3.46674 11.3276 2.50024C11.3276 1.53375 10.5441 0.750244 9.57764 0.750244C8.61114 0.750244 7.82764 1.53375 7.82764 2.50024C7.82764 3.46674 8.61114 4.25024 9.57764 4.25024Z", stroke: color, strokeWidth: "1.16667", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
6
|
+
React.createElement("path", { d: "M2.57764 8.33362C3.54413 8.33362 4.32764 7.55012 4.32764 6.58362C4.32764 5.61712 3.54413 4.83362 2.57764 4.83362C1.61114 4.83362 0.827637 5.61712 0.827637 6.58362C0.827637 7.55012 1.61114 8.33362 2.57764 8.33362Z", stroke: color, strokeWidth: "1.16667", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
7
|
+
React.createElement("path", { d: "M9.57764 12.417C10.5441 12.417 11.3276 11.6335 11.3276 10.667C11.3276 9.70049 10.5441 8.91699 9.57764 8.91699C8.61114 8.91699 7.82764 9.70049 7.82764 10.667C7.82764 11.6335 8.61114 12.417 9.57764 12.417Z", stroke: color, strokeWidth: "1.16667", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
8
|
+
React.createElement("path", { d: "M4.0885 7.46448L8.07267 9.78614", stroke: color, strokeWidth: "1.16667", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
9
|
+
React.createElement("path", { d: "M8.06683 3.3811L4.0885 5.70277", stroke: color, strokeWidth: "1.16667", strokeLinecap: "round", strokeLinejoin: "round" })));
|
|
10
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export var Star = function (_a) {
|
|
3
|
+
var _b = _a.size, size = _b === void 0 ? 24 : _b, _c = _a.color, color = _c === void 0 ? 'currentColor' : _c;
|
|
4
|
+
return (React.createElement("svg", { width: size, height: size, viewBox: "0 0 20 19", fill: "none" },
|
|
5
|
+
React.createElement("path", { d: "M9.60416 1.91249C9.64068 1.83871 9.6971 1.7766 9.76704 1.73318C9.83698 1.68976 9.91767 1.66675 9.99999 1.66675C10.0823 1.66675 10.163 1.68976 10.233 1.73318C10.3029 1.7766 10.3593 1.83871 10.3958 1.91249L12.3208 5.81166C12.4476 6.0683 12.6348 6.29033 12.8663 6.4587C13.0979 6.62707 13.3668 6.73675 13.65 6.77833L17.955 7.40833C18.0366 7.42014 18.1132 7.45455 18.1762 7.50766C18.2393 7.56076 18.2862 7.63045 18.3117 7.70883C18.3372 7.78721 18.3402 7.87116 18.3205 7.95119C18.3007 8.03121 18.259 8.10412 18.2 8.16166L15.0867 11.1933C14.8813 11.3934 14.7277 11.6404 14.639 11.913C14.5503 12.1856 14.5292 12.4757 14.5775 12.7583L15.3125 17.0417C15.3269 17.1232 15.3181 17.2071 15.2871 17.2839C15.2561 17.3607 15.2041 17.4272 15.1371 17.4758C15.0701 17.5245 14.9908 17.5533 14.9082 17.5591C14.8256 17.5648 14.7431 17.5472 14.67 17.5083L10.8217 15.485C10.5681 15.3518 10.286 15.2823 9.99958 15.2823C9.71318 15.2823 9.43106 15.3518 9.17749 15.485L5.32999 17.5083C5.25694 17.547 5.17449 17.5644 5.09204 17.5585C5.00958 17.5527 4.93043 17.5238 4.86357 17.4752C4.79672 17.4266 4.74485 17.3601 4.71387 17.2835C4.68289 17.2069 4.67404 17.1231 4.68833 17.0417L5.42249 12.7592C5.47099 12.4764 5.44998 12.1862 5.36128 11.9134C5.27257 11.6406 5.11883 11.3935 4.91333 11.1933L1.79999 8.16249C1.74049 8.10502 1.69832 8.03199 1.6783 7.95172C1.65827 7.87145 1.66119 7.78717 1.68673 7.70848C1.71226 7.6298 1.75938 7.55986 1.82272 7.50665C1.88607 7.45343 1.96308 7.41907 2.04499 7.40749L6.34916 6.77833C6.63271 6.73708 6.90199 6.62754 7.13381 6.45915C7.36564 6.29076 7.55308 6.06855 7.67999 5.81166L9.60416 1.91249Z", stroke: color, strokeWidth: "1.66667", strokeLinecap: "round", strokeLinejoin: "round" })));
|
|
6
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export var Stars = function (_a) {
|
|
3
|
+
var _b = _a.size, size = _b === void 0 ? 24 : _b, _c = _a.color, color = _c === void 0 ? 'currentColor' : _c;
|
|
4
|
+
return (React.createElement("svg", { width: size, height: size, viewBox: "0 0 15 14", fill: "none" },
|
|
5
|
+
React.createElement("path", { d: "M7.12655 1.64151C7.15154 1.5077 7.22255 1.38684 7.32727 1.29987C7.43199 1.21289 7.56384 1.16528 7.69996 1.16528C7.83609 1.16528 7.96794 1.21289 8.07266 1.29987C8.17738 1.38684 8.24839 1.5077 8.27338 1.64151L8.88646 4.88368C8.93001 5.11418 9.04203 5.32621 9.2079 5.49208C9.37377 5.65795 9.58579 5.76997 9.8163 5.81351L13.0585 6.4266C13.1923 6.45159 13.3131 6.5226 13.4001 6.62732C13.4871 6.73204 13.5347 6.86388 13.5347 7.00001C13.5347 7.13614 13.4871 7.26798 13.4001 7.37271C13.3131 7.47743 13.1923 7.54844 13.0585 7.57343L9.8163 8.18651C9.58579 8.23006 9.37377 8.34207 9.2079 8.50795C9.04203 8.67382 8.93001 8.88584 8.88646 9.11635L8.27338 12.3585C8.24839 12.4923 8.17738 12.6132 8.07266 12.7002C7.96794 12.7871 7.83609 12.8347 7.69996 12.8347C7.56384 12.8347 7.43199 12.7871 7.32727 12.7002C7.22255 12.6132 7.15154 12.4923 7.12655 12.3585L6.51346 9.11635C6.46992 8.88584 6.3579 8.67382 6.19203 8.50795C6.02616 8.34207 5.81413 8.23006 5.58363 8.18651L2.34146 7.57343C2.20765 7.54844 2.08679 7.47743 1.99982 7.37271C1.91284 7.26798 1.86523 7.13614 1.86523 7.00001C1.86523 6.86388 1.91284 6.73204 1.99982 6.62732C2.08679 6.5226 2.20765 6.45159 2.34146 6.4266L5.58363 5.81351C5.81413 5.76997 6.02616 5.65795 6.19203 5.49208C6.3579 5.32621 6.46992 5.11418 6.51346 4.88368L7.12655 1.64151Z", stroke: color, strokeWidth: "1.16667", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
6
|
+
React.createElement("path", { d: "M12.3667 1.16669V3.50002", stroke: color, strokeWidth: "1.16667", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
7
|
+
React.createElement("path", { d: "M13.5335 2.33331H11.2002", stroke: color, strokeWidth: "1.16667", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
8
|
+
React.createElement("path", { d: "M3.03337 12.8333C3.6777 12.8333 4.20003 12.311 4.20003 11.6667C4.20003 11.0223 3.6777 10.5 3.03337 10.5C2.38903 10.5 1.8667 11.0223 1.8667 11.6667C1.8667 12.311 2.38903 12.8333 3.03337 12.8333Z", stroke: color, strokeWidth: "1.16667", strokeLinecap: "round", strokeLinejoin: "round" })));
|
|
9
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export var Storybook = function (_a) {
|
|
3
|
+
var _b = _a.size, size = _b === void 0 ? 24 : _b;
|
|
4
|
+
return (React.createElement("svg", { fill: "none", height: size, width: size, viewBox: "0 0 16.05 20" },
|
|
5
|
+
React.createElement("path", { d: "M0.620279 18.4293L0.000720095 1.92089C-0.0197415 1.37568 0.398305 0.913625 0.942836 0.879592L14.9844 0.00199235C15.5387 -0.0326493 16.0161 0.38859 16.0507 0.942857C16.052 0.96374 16.0527 0.984658 16.0527 1.00558V18.9945C16.0527 19.5498 15.6025 20 15.0471 20C15.0321 20 15.0171 19.9997 15.002 19.999L1.58 19.3962C1.05727 19.3727 0.639903 18.9522 0.620279 18.4293Z", fill: "#FF4785" }),
|
|
6
|
+
React.createElement("path", { clipRule: "evenodd", d: "M13.8804 0.0710449L11.9479 0.191825L11.8536 2.45837C11.8522 2.49321 11.8629 2.52747 11.884 2.55526C11.9341 2.62126 12.0282 2.63418 12.0942 2.58411L12.9746 1.91625L13.7182 2.50205C13.7461 2.524 13.7808 2.53536 13.8163 2.53413C13.8991 2.53124 13.9639 2.46178 13.961 2.37898L13.8804 0.0710449ZM12.3763 7.66099C12.0225 7.93579 9.38733 8.12329 9.38733 7.73208C9.44302 6.23927 8.77469 6.17383 8.40339 6.17383C8.05066 6.17383 7.45659 6.28046 7.45659 7.08017C7.45659 7.89512 8.32476 8.35519 9.34377 8.8952C10.7914 9.66232 12.5433 10.5908 12.5433 12.927C12.5433 15.1662 10.724 16.4031 8.40339 16.4031C6.00853 16.4031 3.91569 15.4342 4.15205 12.075C4.24488 11.6806 7.2895 11.7743 7.2895 12.075C7.25237 13.4612 7.56798 13.8689 8.36626 13.8689C8.9789 13.8689 9.25737 13.5312 9.25737 12.9625C9.25737 12.1019 8.35281 11.594 7.31222 11.0098C5.90324 10.2187 4.24488 9.28767 4.24488 7.15126C4.24488 5.01868 5.7115 3.59696 8.32913 3.59696C10.9468 3.59696 12.3763 4.9969 12.3763 7.66099Z", fill: "white", fillRule: "evenodd" })));
|
|
7
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export var Success = function (_a) {
|
|
3
|
+
var _b = _a.size, size = _b === void 0 ? 24 : _b, _c = _a.color, color = _c === void 0 ? 'currentColor' : _c;
|
|
4
|
+
return (React.createElement("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", stroke: color, strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" },
|
|
5
|
+
React.createElement("circle", { cx: "12", cy: "12", r: "10" }),
|
|
6
|
+
React.createElement("path", { d: "m9 12 2 2 4-4" })));
|
|
7
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export var User = function (_a) {
|
|
3
|
+
var _b = _a.size, size = _b === void 0 ? 24 : _b, _c = _a.color, color = _c === void 0 ? 'currentColor' : _c;
|
|
4
|
+
return (React.createElement("svg", { width: size, height: size, viewBox: "0 0 15 19", fill: "none" },
|
|
5
|
+
React.createElement("path", { d: "M13.2026 17.4586V15.7086C13.2026 14.7804 12.8339 13.8901 12.1775 13.2337C11.5211 12.5774 10.6309 12.2086 9.70264 12.2086H4.45264C3.52438 12.2086 2.63414 12.5774 1.97776 13.2337C1.32139 13.8901 0.952637 14.7804 0.952637 15.7086V17.4586", stroke: color, strokeWidth: "1.75", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
6
|
+
React.createElement("path", { d: "M7.07764 8.70862C9.01063 8.70862 10.5776 7.14161 10.5776 5.20862C10.5776 3.27562 9.01063 1.70862 7.07764 1.70862C5.14464 1.70862 3.57764 3.27562 3.57764 5.20862C3.57764 7.14161 5.14464 8.70862 7.07764 8.70862Z", stroke: color, strokeWidth: "1.75", strokeLinecap: "round", strokeLinejoin: "round" })));
|
|
7
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export var UserGroup = function (_a) {
|
|
3
|
+
var _b = _a.size, size = _b === void 0 ? 24 : _b, _c = _a.color, color = _c === void 0 ? 'currentColor' : _c;
|
|
4
|
+
return (React.createElement("svg", { width: size, height: size, viewBox: "0 0 20 18", fill: "none" },
|
|
5
|
+
React.createElement("path", { d: "M13.3334 16.5V14.8333C13.3334 13.9493 12.9822 13.1014 12.357 12.4763C11.7319 11.8512 10.8841 11.5 10 11.5H5.00002C4.11597 11.5 3.26812 11.8512 2.643 12.4763C2.01788 13.1014 1.66669 13.9493 1.66669 14.8333V16.5", stroke: color, strokeWidth: "1.66667", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
6
|
+
React.createElement("path", { d: "M13.3333 1.60669C14.0481 1.792 14.6811 2.20941 15.133 2.79341C15.585 3.37741 15.8301 4.09493 15.8301 4.83336C15.8301 5.57178 15.585 6.28931 15.133 6.8733C14.6811 7.4573 14.0481 7.87471 13.3333 8.06002", stroke: color, strokeWidth: "1.66667", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
7
|
+
React.createElement("path", { d: "M18.3333 16.5001V14.8334C18.3328 14.0948 18.0869 13.3774 17.6345 12.7937C17.182 12.2099 16.5484 11.793 15.8333 11.6084", stroke: color, strokeWidth: "1.66667", strokeLinecap: "round", strokeLinejoin: "round" }),
|
|
8
|
+
React.createElement("path", { d: "M7.50002 8.16667C9.34097 8.16667 10.8334 6.67428 10.8334 4.83333C10.8334 2.99238 9.34097 1.5 7.50002 1.5C5.65907 1.5 4.16669 2.99238 4.16669 4.83333C4.16669 6.67428 5.65907 8.16667 7.50002 8.16667Z", stroke: color, strokeWidth: "1.66667", strokeLinecap: "round", strokeLinejoin: "round" })));
|
|
9
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export var Warning = function (_a) {
|
|
3
|
+
var _b = _a.size, size = _b === void 0 ? 24 : _b, _c = _a.color, color = _c === void 0 ? 'currentColor' : _c;
|
|
4
|
+
return (React.createElement("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", stroke: color, strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" },
|
|
5
|
+
React.createElement("path", { d: "M12 16h.01" }),
|
|
6
|
+
React.createElement("path", { d: "M12 8v4" }),
|
|
7
|
+
React.createElement("path", { d: "M15.312 2a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586l-4.688-4.688A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2z" })));
|
|
8
|
+
};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export var Yarn = function (_a) {
|
|
3
|
+
var _b = _a.size, size = _b === void 0 ? 24 : _b;
|
|
4
|
+
return (React.createElement("svg", { viewBox: "0 0 496 512", height: size, width: size, stroke: "#2c8ebb", strokeWidth: "0", fill: "#2c8ebb" },
|
|
5
|
+
React.createElement("path", { d: "M393.9 345.2c-39 9.3-48.4 32.1-104 47.4 0 0-2.7 4-10.4 5.8-13.4 3.3-63.9 6-68.5 6.1-12.4.1-19.9-3.2-22-8.2-6.4-15.3 9.2-22 9.2-22-8.1-5-9-9.9-9.8-8.1-2.4 5.8-3.6 20.1-10.1 26.5-8.8 8.9-25.5 5.9-35.3.8-10.8-5.7.8-19.2.8-19.2s-5.8 3.4-10.5-3.6c-6-9.3-17.1-37.3 11.5-62-1.3-10.1-4.6-53.7 40.6-85.6 0 0-20.6-22.8-12.9-43.3 5-13.4 7-13.3 8.6-13.9 5.7-2.2 11.3-4.6 15.4-9.1 20.6-22.2 46.8-18 46.8-18s12.4-37.8 23.9-30.4c3.5 2.3 16.3 30.6 16.3 30.6s13.6-7.9 15.1-5c8.2 16 9.2 46.5 5.6 65.1-6.1 30.6-21.4 47.1-27.6 57.5-1.4 2.4 16.5 10 27.8 41.3 10.4 28.6 1.1 52.7 2.8 55.3.8 1.4 13.7.8 36.4-13.2 12.8-7.9 28.1-16.9 45.4-17 16.7-.5 17.6 19.2 4.9 22.2zM496 256c0 136.9-111.1 248-248 248S0 392.9 0 256 111.1 8 248 8s248 111.1 248 248zm-79.3 75.2c-1.7-13.6-13.2-23-28-22.8-22 .3-40.5 11.7-52.8 19.2-4.8 3-8.9 5.2-12.4 6.8 3.1-44.5-22.5-73.1-28.7-79.4 7.8-11.3 18.4-27.8 23.4-53.2 4.3-21.7 3-55.5-6.9-74.5-1.6-3.1-7.4-11.2-21-7.4-9.7-20-13-22.1-15.6-23.8-1.1-.7-23.6-16.4-41.4 28-12.2.9-31.3 5.3-47.5 22.8-2 2.2-5.9 3.8-10.1 5.4h.1c-8.4 3-12.3 9.9-16.9 22.3-6.5 17.4.2 34.6 6.8 45.7-17.8 15.9-37 39.8-35.7 82.5-34 36-11.8 73-5.6 79.6-1.6 11.1 3.7 19.4 12 23.8 12.6 6.7 30.3 9.6 43.9 2.8 4.9 5.2 13.8 10.1 30 10.1 6.8 0 58-2.9 72.6-6.5 6.8-1.6 11.5-4.5 14.6-7.1 9.8-3.1 36.8-12.3 62.2-28.7 18-11.7 24.2-14.2 37.6-17.4 12.9-3.2 21-15.1 19.4-28.2z" })));
|
|
6
|
+
};
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { AristoByteUI } from "./AristoByteUI";
|
|
2
|
+
import { ArrowRight } from "./ArrowRight";
|
|
3
|
+
import { BashCursor } from "./BashCursor";
|
|
4
|
+
import { Bun } from "./Bun";
|
|
5
|
+
import { Code } from "./Code";
|
|
6
|
+
import { Comment } from "./Comment";
|
|
7
|
+
import { Components } from "./Components";
|
|
8
|
+
import { Copy } from "./Copy";
|
|
9
|
+
import { Disabled } from "./Disabled";
|
|
10
|
+
import { Dot } from "./Dot";
|
|
11
|
+
import { Error } from "./Error";
|
|
12
|
+
import { Eye } from "./Eye";
|
|
13
|
+
import { GalleryVertical } from "./GalleryVertical";
|
|
14
|
+
import { GalleryVerticalEnd } from "./GalleryVerticalEnd";
|
|
15
|
+
import { Github } from "./Github";
|
|
16
|
+
import { GradientSquare } from "./GradientSquare";
|
|
17
|
+
import { Heart } from "./Heart";
|
|
18
|
+
import { Info } from "./Info";
|
|
19
|
+
import { Link } from "./Link";
|
|
20
|
+
import { Logo } from "./Logo";
|
|
21
|
+
import { Npm } from "./Npm";
|
|
22
|
+
import { OpenedBook } from "./OpenedBook";
|
|
23
|
+
import { Package } from "./Package";
|
|
24
|
+
import { Palette } from "./Palette";
|
|
25
|
+
import { PaperCode } from "./PaperCode";
|
|
26
|
+
import { Play } from "./Play";
|
|
27
|
+
import { Pnpm } from "./Pnpm";
|
|
28
|
+
import { Resize } from "./Resize";
|
|
29
|
+
import { Share } from "./Share";
|
|
30
|
+
import { Stars } from "./Stars";
|
|
31
|
+
import { Star } from "./Star";
|
|
32
|
+
import { Storybook } from "./Storybook";
|
|
33
|
+
import { Success } from "./Success";
|
|
34
|
+
import { User } from "./User";
|
|
35
|
+
import { UserGroup } from "./UserGroup";
|
|
36
|
+
import { Warning } from "./Warning";
|
|
37
|
+
import { Yarn } from "./Yarn";
|
|
38
|
+
import { LinkedIn } from "./LinkedIn";
|
|
39
|
+
import { Instagram } from "./Instagram";
|
|
40
|
+
export var Icons = {
|
|
41
|
+
AristoByteUI: AristoByteUI,
|
|
42
|
+
ArrowRight: ArrowRight,
|
|
43
|
+
BashCursor: BashCursor,
|
|
44
|
+
Bun: Bun,
|
|
45
|
+
Code: Code,
|
|
46
|
+
Copy: Copy,
|
|
47
|
+
Comment: Comment,
|
|
48
|
+
Components: Components,
|
|
49
|
+
Disabled: Disabled,
|
|
50
|
+
Dot: Dot,
|
|
51
|
+
Eye: Eye,
|
|
52
|
+
Error: Error,
|
|
53
|
+
GalleryVertical: GalleryVertical,
|
|
54
|
+
GalleryVerticalEnd: GalleryVerticalEnd,
|
|
55
|
+
GradientSquare: GradientSquare,
|
|
56
|
+
Github: Github,
|
|
57
|
+
Info: Info,
|
|
58
|
+
Instagram: Instagram,
|
|
59
|
+
Link: Link,
|
|
60
|
+
LinkedIn: LinkedIn,
|
|
61
|
+
Logo: Logo,
|
|
62
|
+
Npm: Npm,
|
|
63
|
+
OpenedBook: OpenedBook,
|
|
64
|
+
Package: Package,
|
|
65
|
+
Palette: Palette,
|
|
66
|
+
PaperCode: PaperCode,
|
|
67
|
+
Play: Play,
|
|
68
|
+
Pnpm: Pnpm,
|
|
69
|
+
Heart: Heart,
|
|
70
|
+
Resize: Resize,
|
|
71
|
+
Share: Share,
|
|
72
|
+
Star: Star,
|
|
73
|
+
Stars: Stars,
|
|
74
|
+
Storybook: Storybook,
|
|
75
|
+
Success: Success,
|
|
76
|
+
User: User,
|
|
77
|
+
UserGroup: UserGroup,
|
|
78
|
+
Warning: Warning,
|
|
79
|
+
Yarn: Yarn,
|
|
80
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
"use client";
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
var __read = (this && this.__read) || function (o, n) {
|
|
37
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
38
|
+
if (!m) return o;
|
|
39
|
+
var i = m.call(o), r, ar = [], e;
|
|
40
|
+
try {
|
|
41
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
42
|
+
}
|
|
43
|
+
catch (error) { e = { error: error }; }
|
|
44
|
+
finally {
|
|
45
|
+
try {
|
|
46
|
+
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
47
|
+
}
|
|
48
|
+
finally { if (e) throw e.error; }
|
|
49
|
+
}
|
|
50
|
+
return ar;
|
|
51
|
+
};
|
|
52
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
53
|
+
exports.Portal = void 0;
|
|
54
|
+
var React = __importStar(require("react"));
|
|
55
|
+
var react_dom_1 = require("react-dom");
|
|
56
|
+
var Portal = function (_a) {
|
|
57
|
+
var children = _a.children;
|
|
58
|
+
var _b = __read(React.useState(false), 2), mounted = _b[0], setMounted = _b[1];
|
|
59
|
+
React.useEffect(function () {
|
|
60
|
+
setMounted(true);
|
|
61
|
+
}, []);
|
|
62
|
+
if (!mounted || typeof window === "undefined")
|
|
63
|
+
return null;
|
|
64
|
+
return (0, react_dom_1.createPortal)(children, document.body);
|
|
65
|
+
};
|
|
66
|
+
exports.Portal = Portal;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./ripple"), exports);
|
|
18
|
+
__exportStar(require("./Portal"), exports);
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.renderRipple = void 0;
|
|
4
|
+
var renderRipple = function (_a) {
|
|
5
|
+
var ref = _a.ref, clientX = _a.clientX, clientY = _a.clientY;
|
|
6
|
+
var button = ref.current;
|
|
7
|
+
if (!button)
|
|
8
|
+
return;
|
|
9
|
+
var circle = document.createElement("span");
|
|
10
|
+
var diameter = Math.max(button.clientWidth, button.clientHeight);
|
|
11
|
+
var radius = diameter / 2;
|
|
12
|
+
circle.id = "ripple";
|
|
13
|
+
var style = document.createElement("style");
|
|
14
|
+
style.innerHTML = "\n #ripple {\n animation: ripple 300ms linear;\n background-color: rgba(255, 255, 255, 0.3);\n border-radius: 50%;\n height: ".concat(diameter, "px;\n left: ").concat(clientX - button.getBoundingClientRect().left - radius, "px;\n pointer-events: none;\n position: absolute;\n top: ").concat(clientY - button.getBoundingClientRect().top - radius, "px;\n transform: scale(0);\n width: ").concat(diameter, "px;\n z-index: 0;\n }\n \n @keyframes ripple {\n to {\n opacity: 0;\n transform: scale(2);\n }\n }\n ");
|
|
15
|
+
button.appendChild(style);
|
|
16
|
+
button.appendChild(circle);
|
|
17
|
+
circle.addEventListener("animationend", function () {
|
|
18
|
+
circle.remove();
|
|
19
|
+
style.remove();
|
|
20
|
+
});
|
|
21
|
+
};
|
|
22
|
+
exports.renderRipple = renderRipple;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./useMediaQuery"), exports);
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
"use client";
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
var __read = (this && this.__read) || function (o, n) {
|
|
37
|
+
var m = typeof Symbol === "function" && o[Symbol.iterator];
|
|
38
|
+
if (!m) return o;
|
|
39
|
+
var i = m.call(o), r, ar = [], e;
|
|
40
|
+
try {
|
|
41
|
+
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
|
|
42
|
+
}
|
|
43
|
+
catch (error) { e = { error: error }; }
|
|
44
|
+
finally {
|
|
45
|
+
try {
|
|
46
|
+
if (r && !r.done && (m = i["return"])) m.call(i);
|
|
47
|
+
}
|
|
48
|
+
finally { if (e) throw e.error; }
|
|
49
|
+
}
|
|
50
|
+
return ar;
|
|
51
|
+
};
|
|
52
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
53
|
+
exports.useMediaQuery = void 0;
|
|
54
|
+
var React = __importStar(require("react"));
|
|
55
|
+
var useMediaQuery = function (query) {
|
|
56
|
+
var _a = __read(React.useState(false), 2), matches = _a[0], setMatches = _a[1];
|
|
57
|
+
React.useEffect(function () {
|
|
58
|
+
var media = window.matchMedia(query);
|
|
59
|
+
if (media.matches !== matches) {
|
|
60
|
+
setMatches(media.matches);
|
|
61
|
+
}
|
|
62
|
+
var listener = function () { return setMatches(media.matches); };
|
|
63
|
+
media.addEventListener("change", listener);
|
|
64
|
+
return function () { return media.removeEventListener("change", listener); };
|
|
65
|
+
}, [matches, query]);
|
|
66
|
+
return matches;
|
|
67
|
+
};
|
|
68
|
+
exports.useMediaQuery = useMediaQuery;
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.AristoByteUI = void 0;
|
|
37
|
+
var React = __importStar(require("react"));
|
|
38
|
+
var AristoByteUI = function (_a) {
|
|
39
|
+
var _b = _a.size, size = _b === void 0 ? 24 : _b;
|
|
40
|
+
return (React.createElement("svg", { width: size, height: size, id: "layer-1", xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", viewBox: "0 0 918.18 1038.19" },
|
|
41
|
+
React.createElement("defs", null,
|
|
42
|
+
React.createElement("filter", { id: "drop-shadow-1", x: "-4.39", y: "347.5", width: "927", height: "658", filterUnits: "userSpaceOnUse" },
|
|
43
|
+
React.createElement("feOffset", { dx: "0", dy: "10.17" }),
|
|
44
|
+
React.createElement("feGaussianBlur", { result: "blur", stdDeviation: "38.66" }),
|
|
45
|
+
React.createElement("feFlood", { floodColor: "#000", floodOpacity: ".61" }),
|
|
46
|
+
React.createElement("feComposite", { in2: "blur", operator: "in" }),
|
|
47
|
+
React.createElement("feComposite", { in: "SourceGraphic" })),
|
|
48
|
+
React.createElement("linearGradient", { id: "_gradient_54", x1: "111.59", y1: "765.68", x2: "806.58", y2: "765.68", gradientUnits: "userSpaceOnUse" },
|
|
49
|
+
React.createElement("stop", { offset: "0", stopColor: "#ff4a01" }),
|
|
50
|
+
React.createElement("stop", { offset: ".18", stopColor: "#f04311" }),
|
|
51
|
+
React.createElement("stop", { offset: ".36", stopColor: "#e32c01" }),
|
|
52
|
+
React.createElement("stop", { offset: ".55", stopColor: "#fb3c01" }),
|
|
53
|
+
React.createElement("stop", { offset: ".7", stopColor: "#fa2903" }),
|
|
54
|
+
React.createElement("stop", { offset: ".86", stopColor: "#ee2404" }),
|
|
55
|
+
React.createElement("stop", { offset: "1", stopColor: "#cf1809" })),
|
|
56
|
+
React.createElement("linearGradient", { id: "_gradient_46", x1: "111.59", y1: "651.81", x2: "806.59", y2: "651.81", gradientUnits: "userSpaceOnUse" },
|
|
57
|
+
React.createElement("stop", { offset: "0", stopColor: "#ff4a01" }),
|
|
58
|
+
React.createElement("stop", { offset: ".18", stopColor: "#e82c02" }),
|
|
59
|
+
React.createElement("stop", { offset: ".36", stopColor: "#ec2d01" }),
|
|
60
|
+
React.createElement("stop", { offset: ".55", stopColor: "#e12502" }),
|
|
61
|
+
React.createElement("stop", { offset: ".7", stopColor: "#d21f04" }),
|
|
62
|
+
React.createElement("stop", { offset: ".86", stopColor: "#ce1c05" }),
|
|
63
|
+
React.createElement("stop", { offset: "1", stopColor: "#e51f07" })),
|
|
64
|
+
React.createElement("filter", { id: "drop-shadow-2", x: "-4.39", y: "204.5", width: "927", height: "658", filterUnits: "userSpaceOnUse" },
|
|
65
|
+
React.createElement("feOffset", { dx: "0", dy: "10.17" }),
|
|
66
|
+
React.createElement("feGaussianBlur", { result: "blur-2", stdDeviation: "38.66" }),
|
|
67
|
+
React.createElement("feFlood", { floodColor: "#000", floodOpacity: ".61" }),
|
|
68
|
+
React.createElement("feComposite", { in2: "blur-2", operator: "in" }),
|
|
69
|
+
React.createElement("feComposite", { in: "SourceGraphic" })),
|
|
70
|
+
React.createElement("linearGradient", { id: "_gradient_84", x1: "111.59", y1: "623.26", x2: "806.58", y2: "623.26", gradientUnits: "userSpaceOnUse" },
|
|
71
|
+
React.createElement("stop", { offset: "0", stopColor: "#fb8206" }),
|
|
72
|
+
React.createElement("stop", { offset: ".18", stopColor: "#fda12d" }),
|
|
73
|
+
React.createElement("stop", { offset: ".54", stopColor: "#f85502" }),
|
|
74
|
+
React.createElement("stop", { offset: "1", stopColor: "#f33101" })),
|
|
75
|
+
React.createElement("linearGradient", { id: "_gradient_38", x1: "111.59", y1: "509.4", x2: "806.59", y2: "509.4", gradientUnits: "userSpaceOnUse" },
|
|
76
|
+
React.createElement("stop", { offset: "0", stopColor: "#ff9505" }),
|
|
77
|
+
React.createElement("stop", { offset: ".18", stopColor: "#ff6c01" }),
|
|
78
|
+
React.createElement("stop", { offset: ".36", stopColor: "#fe5e01" }),
|
|
79
|
+
React.createElement("stop", { offset: ".54", stopColor: "#f33301" }),
|
|
80
|
+
React.createElement("stop", { offset: ".7", stopColor: "#f32f01" }),
|
|
81
|
+
React.createElement("stop", { offset: ".86", stopColor: "#f72f01" }),
|
|
82
|
+
React.createElement("stop", { offset: "1", stopColor: "#ef2d01" })),
|
|
83
|
+
React.createElement("filter", { id: "drop-shadow-3", x: "-4.39", y: "62.5", width: "927", height: "658", filterUnits: "userSpaceOnUse" },
|
|
84
|
+
React.createElement("feOffset", { dx: "0", dy: "10.17" }),
|
|
85
|
+
React.createElement("feGaussianBlur", { result: "blur-3", stdDeviation: "38.66" }),
|
|
86
|
+
React.createElement("feFlood", { floodColor: "#000", floodOpacity: ".61" }),
|
|
87
|
+
React.createElement("feComposite", { in2: "blur-3", operator: "in" }),
|
|
88
|
+
React.createElement("feComposite", { in: "SourceGraphic" })),
|
|
89
|
+
React.createElement("linearGradient", { id: "_gradient_31", x1: "111.59", y1: "366.98", x2: "806.59", y2: "366.98", gradientUnits: "userSpaceOnUse" },
|
|
90
|
+
React.createElement("stop", { offset: "0", stopColor: "#ffda09" }),
|
|
91
|
+
React.createElement("stop", { offset: ".18", stopColor: "#ffd001" }),
|
|
92
|
+
React.createElement("stop", { offset: ".36", stopColor: "#ffb900" }),
|
|
93
|
+
React.createElement("stop", { offset: ".54", stopColor: "#ffae00" }),
|
|
94
|
+
React.createElement("stop", { offset: ".7", stopColor: "#ff9501" }),
|
|
95
|
+
React.createElement("stop", { offset: ".86", stopColor: "#ff9101" }),
|
|
96
|
+
React.createElement("stop", { offset: "1", stopColor: "#ff8001" }))),
|
|
97
|
+
React.createElement("g", { id: "logo" },
|
|
98
|
+
React.createElement("g", { id: "g-3", filter: "url(#drop-shadow-1)" },
|
|
99
|
+
React.createElement("path", { d: "M805.95,658.84c-3.21,15.5-31.29,28.1-44.28,35.56-87.39,50.22-176.71,97.19-264.1,147.41-22.03,11.01-50.49,10.93-73.26,2.05-74.28-41.36-148.5-82.88-222.7-124.32-6.85-3.83-13.28-8.44-20.47-11.6-.54-1.73-2.36-1.5-3.41-2.05-.44-.23-.95-.45-1.36-.68l-1.36-1.36c-14.33-8.23-48.14-24.15-56.93-36.22-3.89-5.34-5.86-10.28-6.34-14.85v23.54c-.18,1.6-.18,3.25.02,4.95.53,4.51,2.5,9.37,6.33,14.63,8.79,12.08,42.6,27.99,56.93,36.22l1.36,1.36c.41.23.92.46,1.36.68,1.06.54,2.87.31,3.41,2.05,7.2,3.16,13.62,7.77,20.47,11.6,74.2,41.44,148.43,82.96,222.7,124.32,22.76,8.88,51.22,8.96,73.26-2.05,87.4-50.22,176.71-97.19,264.1-147.41,12.99-7.46,41.07-20.06,44.28-35.56.89-4.27.81-8.03,0-11.39v-16.88Z", fill: "url(#_gradient_54)" }),
|
|
100
|
+
React.createElement("path", { id: "surf-3", d: "M688.87,570.09c31.95,18.14,66.2,36.69,97.37,55.84,12.27,7.54,23.13,16.42,19.71,32.91-3.21,15.5-31.29,28.1-44.28,35.56-87.39,50.22-176.71,97.19-264.1,147.41-22.03,11.01-50.49,10.93-73.26,2.05-74.28-41.36-148.5-82.88-222.7-124.32-6.85-3.83-13.28-8.44-20.47-11.6-.54-1.73-2.36-1.5-3.41-2.05-.44-.23-.95-.45-1.36-.68l-1.36-1.36c-14.33-8.23-48.14-24.15-56.93-36.22-15.3-21.02-.97-35.81,16.89-46.47,92.97-55.48,189.91-104.73,283.21-159.7,7.97-3.8,14.29-5.39,22.98-6.7l2.05-.68c15.96-1.92,35.3-.34,50.06,6.24,64.75,37.32,130.78,72.96,195.62,109.78Z", fill: "url(#_gradient_46)" })),
|
|
101
|
+
React.createElement("g", { id: "g-2", filter: "url(#drop-shadow-2)" },
|
|
102
|
+
React.createElement("path", { id: "surf-shadow-2", d: "M805.95,516.43c-3.21,15.5-31.29,28.1-44.28,35.56-87.39,50.22-176.71,97.19-264.1,147.41-22.03,11.01-50.49,10.93-73.26,2.05-74.28-41.36-148.5-82.88-222.7-124.32-6.85-3.83-13.28-8.44-20.47-11.6-.54-1.73-2.36-1.5-3.41-2.05-.44-.23-.95-.45-1.36-.68l-1.36-1.36c-14.33-8.23-48.14-24.15-56.93-36.22-3.89-5.34-5.86-10.28-6.34-14.85v23.54c-.18,1.6-.18,3.25.02,4.95.53,4.51,2.5,9.37,6.33,14.63,8.79,12.08,42.6,27.99,56.93,36.22l1.36,1.36c.41.23.92.46,1.36.68,1.06.54,2.87.31,3.41,2.05,7.2,3.16,13.62,7.77,20.47,11.6,74.2,41.44,148.43,82.96,222.7,124.32,22.76,8.88,51.22,8.96,73.26-2.05,87.4-50.22,176.71-97.19,264.1-147.41,12.99-7.46,41.07-20.06,44.28-35.56.89-4.27.81-8.03,0-11.39v-16.88Z", fill: "url(#_gradient_84)" }),
|
|
103
|
+
React.createElement("path", { id: "surf-2", d: "M688.87,427.67c31.95,18.14,66.2,36.69,97.37,55.84,12.27,7.54,23.13,16.42,19.71,32.91-3.21,15.5-31.29,28.1-44.28,35.56-87.39,50.22-176.71,97.19-264.1,147.41-22.03,11.01-50.49,10.93-73.26,2.05-74.28-41.36-148.5-82.88-222.7-124.32-6.85-3.83-13.28-8.44-20.47-11.6-.54-1.73-2.36-1.5-3.41-2.05-.44-.23-.95-.45-1.36-.68l-1.36-1.36c-14.33-8.23-48.14-24.15-56.93-36.22-15.3-21.02-.97-35.81,16.89-46.47,92.97-55.48,189.91-104.73,283.21-159.7,7.97-3.8,14.29-5.39,22.98-6.7l2.05-.68c15.96-1.92,35.3-.34,50.06,6.24,64.75,37.32,130.78,72.96,195.62,109.78Z", fill: "url(#_gradient_38)" })),
|
|
104
|
+
React.createElement("g", { id: "g-1", filter: "url(#drop-shadow-3)" },
|
|
105
|
+
React.createElement("path", { id: "surf-shadow-1", d: "M805.95,374.01c-3.21,15.5-31.29,28.1-44.28,35.56-87.39,50.22-176.71,97.19-264.1,147.41-22.03,11.01-50.49,10.93-73.26,2.05-74.28-41.36-148.5-82.88-222.7-124.32-6.85-3.83-13.28-8.44-20.47-11.6-.54-1.73-2.36-1.5-3.41-2.05-.44-.23-.95-.45-1.36-.68l-1.36-1.36c-14.33-8.23-48.14-24.15-56.93-36.22-3.89-5.34-5.86-10.28-6.34-14.85v23.54c-.18,1.6-.18,3.25.02,4.95.53,4.51,2.5,9.37,6.33,14.63,8.79,12.08,42.6,27.99,56.93,36.22l1.36,1.36c.41.23.92.46,1.36.68,1.06.54,2.87.31,3.41,2.05,7.2,3.16,13.62,7.77,20.47,11.6,74.2,41.44,148.43,82.96,222.7,124.32,22.76,8.88,51.22,8.96,73.26-2.05,87.4-50.22,176.71-97.19,264.1-147.41,12.99-7.46,41.07-20.06,44.28-35.56.89-4.27.81-8.03,0-11.39v-16.88Z", fill: "#ff9602" }),
|
|
106
|
+
React.createElement("g", { id: "surf-1" },
|
|
107
|
+
React.createElement("path", { d: "M688.87,285.26c31.95,18.14,66.2,36.69,97.37,55.84,12.27,7.54,23.13,16.42,19.71,32.91-3.21,15.5-31.29,28.1-44.28,35.56-87.39,50.22-176.71,97.19-264.1,147.41-22.03,11.01-50.49,10.93-73.26,2.05-74.28-41.36-148.5-82.88-222.7-124.32-6.85-3.83-13.28-8.44-20.47-11.6-.54-1.73-2.36-1.5-3.41-2.05-.44-.23-.95-.45-1.36-.68l-1.36-1.36c-14.33-8.23-48.14-24.15-56.93-36.22-15.3-21.02-.97-35.81,16.89-46.47,92.97-55.48,189.91-104.73,283.21-159.7,7.97-3.8,14.29-5.39,22.98-6.7l2.05-.68c15.96-1.92,35.3-.34,50.06,6.24,64.75,37.32,130.78,72.96,195.62,109.78Z", fill: "url(#_gradient_31)" }))))));
|
|
108
|
+
};
|
|
109
|
+
exports.AristoByteUI = AristoByteUI;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.ArrowRight = void 0;
|
|
37
|
+
var React = __importStar(require("react"));
|
|
38
|
+
var ArrowRight = function (_a) {
|
|
39
|
+
var _b = _a.size, size = _b === void 0 ? 24 : _b, _c = _a.color, color = _c === void 0 ? 'currentColor' : _c;
|
|
40
|
+
return (React.createElement("svg", { width: size, height: size, viewBox: "0 0 24 24", fill: "none", stroke: color, strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" },
|
|
41
|
+
React.createElement("path", { d: "m9 18 6-6-6-6" })));
|
|
42
|
+
};
|
|
43
|
+
exports.ArrowRight = ArrowRight;
|