@aristobyte-ui/utils 2.1.8 → 2.2.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.
Files changed (96) hide show
  1. package/package.json +3 -2
  2. package/aristobyte-ui.settings.scss +0 -205
  3. package/dist/es/main/helpers/Portal.js +0 -29
  4. package/dist/es/main/helpers/index.js +0 -2
  5. package/dist/es/main/helpers/ripple.js +0 -18
  6. package/dist/es/main/hooks/index.js +0 -1
  7. package/dist/es/main/hooks/useMediaQuery.js +0 -31
  8. package/dist/es/main/icons/AristoByteUI.js +0 -72
  9. package/dist/es/main/icons/ArrowRight.js +0 -6
  10. package/dist/es/main/icons/BashCursor.js +0 -7
  11. package/dist/es/main/icons/Bun.js +0 -24
  12. package/dist/es/main/icons/Code.js +0 -8
  13. package/dist/es/main/icons/Comment.js +0 -6
  14. package/dist/es/main/icons/Components.js +0 -9
  15. package/dist/es/main/icons/Copy.js +0 -7
  16. package/dist/es/main/icons/Disabled.js +0 -7
  17. package/dist/es/main/icons/Dot.js +0 -6
  18. package/dist/es/main/icons/Error.js +0 -8
  19. package/dist/es/main/icons/Eye.js +0 -7
  20. package/dist/es/main/icons/GalleryVertical.js +0 -8
  21. package/dist/es/main/icons/GalleryVerticalEnd.js +0 -8
  22. package/dist/es/main/icons/Github.js +0 -7
  23. package/dist/es/main/icons/GradientSquare.js +0 -10
  24. package/dist/es/main/icons/Heart.js +0 -6
  25. package/dist/es/main/icons/Info.js +0 -8
  26. package/dist/es/main/icons/Instagram.js +0 -8
  27. package/dist/es/main/icons/Link.js +0 -8
  28. package/dist/es/main/icons/LinkedIn.js +0 -8
  29. package/dist/es/main/icons/Logo.js +0 -47
  30. package/dist/es/main/icons/Npm.js +0 -7
  31. package/dist/es/main/icons/OpenedBook.js +0 -7
  32. package/dist/es/main/icons/Package.js +0 -9
  33. package/dist/es/main/icons/Palette.js +0 -10
  34. package/dist/es/main/icons/PaperCode.js +0 -9
  35. package/dist/es/main/icons/Play.js +0 -6
  36. package/dist/es/main/icons/Pnpm.js +0 -34
  37. package/dist/es/main/icons/Resize.js +0 -9
  38. package/dist/es/main/icons/Share.js +0 -10
  39. package/dist/es/main/icons/Star.js +0 -6
  40. package/dist/es/main/icons/Stars.js +0 -9
  41. package/dist/es/main/icons/Storybook.js +0 -7
  42. package/dist/es/main/icons/Success.js +0 -7
  43. package/dist/es/main/icons/User.js +0 -7
  44. package/dist/es/main/icons/UserGroup.js +0 -9
  45. package/dist/es/main/icons/Warning.js +0 -8
  46. package/dist/es/main/icons/Yarn.js +0 -6
  47. package/dist/es/main/icons/index.js +0 -80
  48. package/dist/es/main/icons/type.js +0 -1
  49. package/dist/es/main/index.js +0 -3
  50. package/dist/lib/main/helpers/Portal.js +0 -66
  51. package/dist/lib/main/helpers/index.js +0 -18
  52. package/dist/lib/main/helpers/ripple.js +0 -22
  53. package/dist/lib/main/hooks/index.js +0 -17
  54. package/dist/lib/main/hooks/useMediaQuery.js +0 -68
  55. package/dist/lib/main/icons/AristoByteUI.js +0 -109
  56. package/dist/lib/main/icons/ArrowRight.js +0 -43
  57. package/dist/lib/main/icons/BashCursor.js +0 -44
  58. package/dist/lib/main/icons/Bun.js +0 -61
  59. package/dist/lib/main/icons/Code.js +0 -45
  60. package/dist/lib/main/icons/Comment.js +0 -43
  61. package/dist/lib/main/icons/Components.js +0 -46
  62. package/dist/lib/main/icons/Copy.js +0 -44
  63. package/dist/lib/main/icons/Disabled.js +0 -44
  64. package/dist/lib/main/icons/Dot.js +0 -43
  65. package/dist/lib/main/icons/Error.js +0 -45
  66. package/dist/lib/main/icons/Eye.js +0 -44
  67. package/dist/lib/main/icons/GalleryVertical.js +0 -45
  68. package/dist/lib/main/icons/GalleryVerticalEnd.js +0 -45
  69. package/dist/lib/main/icons/Github.js +0 -44
  70. package/dist/lib/main/icons/GradientSquare.js +0 -47
  71. package/dist/lib/main/icons/Heart.js +0 -43
  72. package/dist/lib/main/icons/Info.js +0 -45
  73. package/dist/lib/main/icons/Instagram.js +0 -45
  74. package/dist/lib/main/icons/Link.js +0 -45
  75. package/dist/lib/main/icons/LinkedIn.js +0 -45
  76. package/dist/lib/main/icons/Logo.js +0 -84
  77. package/dist/lib/main/icons/Npm.js +0 -44
  78. package/dist/lib/main/icons/OpenedBook.js +0 -44
  79. package/dist/lib/main/icons/Package.js +0 -46
  80. package/dist/lib/main/icons/Palette.js +0 -47
  81. package/dist/lib/main/icons/PaperCode.js +0 -46
  82. package/dist/lib/main/icons/Play.js +0 -43
  83. package/dist/lib/main/icons/Pnpm.js +0 -71
  84. package/dist/lib/main/icons/Resize.js +0 -46
  85. package/dist/lib/main/icons/Share.js +0 -47
  86. package/dist/lib/main/icons/Star.js +0 -43
  87. package/dist/lib/main/icons/Stars.js +0 -46
  88. package/dist/lib/main/icons/Storybook.js +0 -44
  89. package/dist/lib/main/icons/Success.js +0 -44
  90. package/dist/lib/main/icons/User.js +0 -44
  91. package/dist/lib/main/icons/UserGroup.js +0 -46
  92. package/dist/lib/main/icons/Warning.js +0 -45
  93. package/dist/lib/main/icons/Yarn.js +0 -43
  94. package/dist/lib/main/icons/index.js +0 -83
  95. package/dist/lib/main/icons/type.js +0 -2
  96. package/dist/lib/main/index.js +0 -19
@@ -1,47 +0,0 @@
1
- import * as React from 'react';
2
- export var Logo = function (_a) {
3
- var _b = _a.size, size = _b === void 0 ? 24 : _b;
4
- return (React.createElement("svg", { width: size, height: size, xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", viewBox: "0 0 1105.92 1474.56" },
5
- React.createElement("defs", null,
6
- React.createElement("linearGradient", { id: "_\u041E\u0440\u0430\u043D\u0436\u0435\u0432\u044B\u0439_\u0436\u0435\u043B\u0442\u044B\u0439", "data-name": "\u041E\u0440\u0430\u043D\u0436\u0435\u0432\u044B\u0439, \u0436\u0435\u043B\u0442\u044B\u0439", x1: "0", y1: "1013.8", x2: "552.96", y2: "1013.8", gradientUnits: "userSpaceOnUse" },
7
- React.createElement("stop", { offset: "0", stopColor: "#ffef26" }),
8
- React.createElement("stop", { offset: ".02", stopColor: "#fee921" }),
9
- React.createElement("stop", { offset: ".1", stopColor: "#fdd70e" }),
10
- React.createElement("stop", { offset: ".19", stopColor: "#fdcb03" }),
11
- React.createElement("stop", { offset: ".28", stopColor: "#fdc800" }),
12
- React.createElement("stop", { offset: ".67", stopColor: "#f18f34" }),
13
- React.createElement("stop", { offset: ".89", stopColor: "#e95f32" }),
14
- React.createElement("stop", { offset: "1", stopColor: "#e3312d" })),
15
- React.createElement("linearGradient", { id: "_\u041E\u0440\u0430\u043D\u0436\u0435\u0432\u044B\u0439_\u0436\u0435\u043B\u0442\u044B\u0439-2", "data-name": "\u041E\u0440\u0430\u043D\u0436\u0435\u0432\u044B\u0439, \u0436\u0435\u043B\u0442\u044B\u0439", y1: "875.56", x2: "1105.92", y2: "875.56", xlinkHref: "#_\u041E\u0440\u0430\u043D\u0436\u0435\u0432\u044B\u0439_\u0436\u0435\u043B\u0442\u044B\u0439" }),
16
- React.createElement("linearGradient", { id: "_\u041E\u0440\u0430\u043D\u0436\u0435\u0432\u044B\u0439_\u0436\u0435\u043B\u0442\u044B\u0439-3", "data-name": "\u041E\u0440\u0430\u043D\u0436\u0435\u0432\u044B\u0439, \u0436\u0435\u043B\u0442\u044B\u0439", x1: ".33", y1: "362.66", x2: "736.71", y2: "362.66", xlinkHref: "#_\u041E\u0440\u0430\u043D\u0436\u0435\u0432\u044B\u0439_\u0436\u0435\u043B\u0442\u044B\u0439" }),
17
- React.createElement("linearGradient", { id: "_\u041E\u0440\u0430\u043D\u0436\u0435\u0432\u044B\u0439_\u0436\u0435\u043B\u0442\u044B\u0439-4", "data-name": "\u041E\u0440\u0430\u043D\u0436\u0435\u0432\u044B\u0439, \u0436\u0435\u043B\u0442\u044B\u0439", x1: "552.96", y1: "276.48", x2: "1105.92", y2: "276.48", xlinkHref: "#_\u041E\u0440\u0430\u043D\u0436\u0435\u0432\u044B\u0439_\u0436\u0435\u043B\u0442\u044B\u0439" }),
18
- React.createElement("linearGradient", { id: "_\u041E\u0440\u0430\u043D\u0436\u0435\u0432\u044B\u0439_\u0436\u0435\u043B\u0442\u044B\u0439-5", "data-name": "\u041E\u0440\u0430\u043D\u0436\u0435\u0432\u044B\u0439, \u0436\u0435\u043B\u0442\u044B\u0439", x1: ".08", y1: "645.12", x2: "1105.92", y2: "645.12", xlinkHref: "#_\u041E\u0440\u0430\u043D\u0436\u0435\u0432\u044B\u0439_\u0436\u0435\u043B\u0442\u044B\u0439" }),
19
- React.createElement("linearGradient", { id: "_\u041E\u0440\u0430\u043D\u0436\u0435\u0432\u044B\u0439_\u0436\u0435\u043B\u0442\u044B\u0439-6", "data-name": "\u041E\u0440\u0430\u043D\u0436\u0435\u0432\u044B\u0439, \u0436\u0435\u043B\u0442\u044B\u0439", y1: "276.36", y2: "276.36", xlinkHref: "#_\u041E\u0440\u0430\u043D\u0436\u0435\u0432\u044B\u0439_\u0436\u0435\u043B\u0442\u044B\u0439" }),
20
- React.createElement("filter", { id: "luminosity-invert", x: "-2.12", y: "-2.12", width: "1110.24", height: "1478.88", colorInterpolationFilters: "sRGB", filterUnits: "userSpaceOnUse" },
21
- React.createElement("feColorMatrix", { result: "cm", values: "-1 0 0 0 1 0 -1 0 0 1 0 0 -1 0 1 0 0 0 1 0" })),
22
- React.createElement("mask", { id: "mask", x: "-2.12", y: "-2.12", width: "1110.24", height: "1478.88", maskUnits: "userSpaceOnUse" },
23
- React.createElement("g", { filter: "url(#luminosity-invert)" },
24
- React.createElement("image", null)))),
25
- React.createElement("g", { style: { isolation: 'isolate' } },
26
- React.createElement("g", { id: "_\u0421\u043B\u043E\u0439_2", "data-name": "\u0421\u043B\u043E\u0439 2" },
27
- React.createElement("g", { id: "_\u0421\u043B\u043E\u0439_1-2", "data-name": "\u0421\u043B\u043E\u0439 1" },
28
- React.createElement("g", { id: "Logo" },
29
- React.createElement("image", null),
30
- React.createElement("g", null,
31
- React.createElement("g", null,
32
- React.createElement("path", { fill: "url(#_\u041E\u0440\u0430\u043D\u0436\u0435\u0432\u044B\u0439_\u0436\u0435\u043B\u0442\u044B\u0439)", d: "M477.92,1100.84c-83.56-11.31-161.22-41.29-228.56-85.69-9.58-6.31-19.01-12.94-28.18-19.82-11.31-8.44-22.2-17.29-32.85-26.62-16.79-14.75-32.69-30.47-47.51-47.1C55.46,826.24,2.62,700.99.08,563.45v-3.19c-.08-2.38-.08-4.83-.08-7.21v843.12c0,43.34,35.06,78.4,78.4,78.4h231.18c32.6,0,59.06-26.46,59.06-59.06v-125.26h.08c0-80.2,51.28-148.36,122.88-173.59,19.17-6.88,39.81-10.57,61.36-10.57v-.16c-25.48,0-50.46-1.72-75.04-5.08ZM.08,1300.73v-3.19c.08,2.38.16,4.67.25,7.05-.08-1.31-.16-2.54-.25-3.85ZM.08,1283.19v-3.19c.08-1.31.16-2.62.25-3.93-.08,2.38-.16,4.75-.25,7.13Z" }),
33
- React.createElement("path", { fill: "url(#_\u041E\u0440\u0430\u043D\u0436\u0435\u0432\u044B\u0439_\u0436\u0435\u043B\u0442\u044B\u0439-2)", d: "M1105.92,1290.24v127.22c0,31.54-25.56,57.1-57.1,57.1h-252.81c-32.44,0-58.74-26.3-58.74-58.74v-125.58h-.08c0-1.88,0-3.69-.16-5.57-.08-1.8-.16-3.6-.25-5.49-.08-3.03-.41-6.06-.74-9.01,0-.25,0-.49-.08-.74-.08-.98-.16-1.97-.33-2.95-.16-.98-.25-1.97-.41-2.95-.08-.74-.16-1.47-.33-2.21-.66-4.1-1.39-8.19-2.38-12.21-.08-.33-.08-.66-.25-.98-.08-.74-.33-1.47-.49-2.13-.08-.33-.16-.66-.25-.98s-.16-.66-.25-.98c0-.16-.08-.25-.08-.41-.08-.16-.08-.25-.16-.41,0-.16-.08-.41-.16-.57,0-.08,0-.25-.08-.33,0-.16,0-.25-.08-.41-.25-1.07-.57-2.05-.9-3.11-.25-1.07-.57-2.13-.98-3.2-1.64-5.57-3.6-10.98-5.9-16.3-2.21-5.32-4.67-10.57-7.37-15.56-.82-1.64-1.72-3.28-2.7-4.83-.98-1.72-1.97-3.36-2.95-5-.25-.49-.49-.98-.82-1.39-.25-.33-.41-.66-.66-.98-.08-.25-.25-.49-.41-.66-.41-.66-.82-1.31-1.23-1.88-.66-.98-1.23-1.88-1.88-2.79-3.03-4.51-6.39-8.93-9.83-13.11-1.64-2.05-3.28-4.01-5.08-5.9-.25-.33-.49-.57-.82-.9-.9-1.07-1.88-2.13-2.95-3.11-.82-.98-1.72-1.88-2.7-2.79-.57-.65-1.23-1.23-1.88-1.88-4.01-4.01-8.27-7.78-12.7-11.31-1.88-1.56-3.85-3.11-5.82-4.51-.16-.16-.41-.33-.66-.49-1.97-1.47-3.93-2.95-5.98-4.26-.66-.49-1.39-.98-2.13-1.47-1.15-.74-2.38-1.56-3.6-2.29-.66-.49-1.39-.9-2.13-1.31-.57-.41-1.15-.74-1.8-1.07-1.8-1.07-3.6-2.13-5.41-3.11-1.47-.82-3.03-1.64-4.59-2.38-.74-.49-1.56-.82-2.29-1.15-.98-.57-2.05-1.06-3.03-1.47-.82-.49-1.72-.9-2.62-1.23-.08-.08-.16-.16-.33-.16-.25-.16-.49-.25-.74-.33,0-.08-.08-.08-.16-.08-.08-.08-.25-.08-.33-.16-.08,0-.16-.08-.33-.08-.66-.41-1.31-.66-2.05-.9-.33-.16-.74-.33-1.15-.49-.16-.16-.41-.25-.66-.25-.9-.49-1.88-.82-2.87-1.15-.65-.33-1.31-.57-2.05-.82-1.23-.49-2.38-.9-3.52-1.31-.66-.25-1.39-.49-2.13-.74-2.05-.74-4.18-1.39-6.31-2.05-2.46-.74-4.83-1.47-7.29-2.05-2.95-.82-5.9-1.47-8.93-2.05-2.95-.66-5.9-1.15-8.93-1.64h-.16c-2.79-.41-5.57-.82-8.44-1.07-6.47-.74-12.94-1.07-19.58-1.07v-.16c-25.48,0-50.46-1.72-75.04-5.08-83.56-11.31-161.22-41.29-228.56-85.69-9.58-6.31-19.01-12.94-28.18-19.82-11.31-8.44-22.2-17.29-32.85-26.62-16.79-14.75-32.69-30.47-47.51-47.1C55.46,826.24,2.62,700.99.08,563.45c.08,1.31.16,2.54.25,3.85-.08-2.38-.16-4.67-.25-7.04-.08-2.38-.08-4.83-.08-7.21v-.33c0-2.29,0-4.59.08-6.8.08-2.38.16-4.75.25-7.13,7.46-146.06,128.21-262.23,276.15-262.23,81.84,0,155.4,35.55,206.11,92.08,3.11,3.52,6.14,7.04,9.01,10.73-71.6,25.23-122.88,93.47-122.88,173.67s51.28,148.44,122.88,173.67c19.17,6.88,39.81,10.57,61.36,10.57,43.42,0,85.61,5,126.16,14.5,112.39,26.13,211.6,86.67,285.98,169.82,87.57,97.81,140.82,227,140.82,368.64Z" }),
34
- React.createElement("path", { fill: "url(#_\u041E\u0440\u0430\u043D\u0436\u0435\u0432\u044B\u0439_\u0436\u0435\u043B\u0442\u044B\u0439-3)", d: "M736.71,540.92c-6.14-96.09-86.1-172.11-183.75-172.11-21.54,0-42.19,3.69-61.36,10.57-2.87-3.69-5.9-7.21-9.01-10.73-50.71-56.53-124.27-92.08-206.11-92.08C128.53,276.56,7.78,392.72.33,538.79,7.78,341.85,169.82,184.4,368.64,184.4c136.4,0,255.51,74.14,319.16,184.24,29.49,50.95,46.94,109.61,48.91,172.28Z" }),
35
- React.createElement("path", { fill: "url(#_\u041E\u0440\u0430\u043D\u0436\u0435\u0432\u044B\u0439_\u0436\u0435\u043B\u0442\u044B\u0439-4)", d: "M921.6,0c101.8,0,184.32,82.52,184.32,184.32v368.64C1105.92,247.56,858.36,0,552.96,0h368.64Z" }),
36
- React.createElement("path", { fill: "url(#_\u041E\u0440\u0430\u043D\u0436\u0435\u0432\u044B\u0439_\u0436\u0435\u043B\u0442\u044B\u0439-5)", d: "M1105.92,552.96v737.28c0-141.64-53.25-270.83-140.82-368.64-74.38-83.15-173.59-143.69-285.98-169.82-40.55-9.5-82.74-14.5-126.16-14.5,97.65,0,177.6-76.02,183.75-172.11.08-.33.08-.57.08-.9.08-1.23.16-2.38.25-3.6.08-2.54.16-5.08.16-7.62s-.08-5.08-.16-7.62c-.08-1.23-.16-2.38-.25-3.6,0-.33,0-.57-.08-.9-1.97-62.67-19.42-121.32-48.91-172.28-63.65-110.1-182.76-184.24-319.16-184.24C169.82,184.4,7.78,341.85.33,538.79c-.08,1.31-.16,2.62-.25,3.93C5.57,242.07,251,0,552.96,0s552.96,247.56,552.96,552.96Z" }),
37
- React.createElement("path", { fill: "url(#_\u041E\u0440\u0430\u043D\u0436\u0435\u0432\u044B\u0439_\u0436\u0435\u043B\u0442\u044B\u0439-6)", d: "M552.96,0C251,0,5.57,242.07.08,542.72v3.2c-.08,2.21-.08,4.51-.08,6.8V184.32C0,82.49,82.49,0,184.32,0h368.64Z" })),
38
- React.createElement("g", { mask: "url(#mask)" },
39
- React.createElement("g", { style: { mixBlendMode: 'screen', opacity: 0.52 } },
40
- React.createElement("g", null,
41
- React.createElement("path", { fill: "#fff", d: "M477.92,1100.84c-83.56-11.31-161.22-41.29-228.56-85.69-9.58-6.31-19.01-12.94-28.18-19.82-11.31-8.44-22.2-17.29-32.85-26.62-16.79-14.75-32.69-30.47-47.51-47.1C55.46,826.24,2.62,700.99.08,563.45v-3.19c-.08-2.38-.08-4.83-.08-7.21v843.12c0,43.34,35.06,78.4,78.4,78.4h231.18c32.6,0,59.06-26.46,59.06-59.06v-125.26h.08c0-80.2,51.28-148.36,122.88-173.59,19.17-6.88,39.81-10.57,61.36-10.57v-.16c-25.48,0-50.46-1.72-75.04-5.08ZM.08,1300.73v-3.19c.08,2.38.16,4.67.25,7.05-.08-1.31-.16-2.54-.25-3.85ZM.08,1283.19v-3.19c.08-1.31.16-2.62.25-3.93-.08,2.38-.16,4.75-.25,7.13Z" }),
42
- React.createElement("path", { fill: "#fff", d: "M1105.92,1290.24v127.22c0,31.54-25.56,57.1-57.1,57.1h-252.81c-32.44,0-58.74-26.3-58.74-58.74v-125.58h-.08c0-1.88,0-3.69-.16-5.57-.08-1.8-.16-3.6-.25-5.49-.08-3.03-.41-6.06-.74-9.01,0-.25,0-.49-.08-.74-.08-.98-.16-1.97-.33-2.95-.16-.98-.25-1.97-.41-2.95-.08-.74-.16-1.47-.33-2.21-.66-4.1-1.39-8.19-2.38-12.21-.08-.33-.08-.66-.25-.98-.08-.74-.33-1.47-.49-2.13-.08-.33-.16-.66-.25-.98s-.16-.66-.25-.98c0-.16-.08-.25-.08-.41-.08-.16-.08-.25-.16-.41,0-.16-.08-.41-.16-.57,0-.08,0-.25-.08-.33,0-.16,0-.25-.08-.41-.25-1.07-.57-2.05-.9-3.11-.25-1.07-.57-2.13-.98-3.2-1.64-5.57-3.6-10.98-5.9-16.3-2.21-5.32-4.67-10.57-7.37-15.56-.82-1.64-1.72-3.28-2.7-4.83-.98-1.72-1.97-3.36-2.95-5-.25-.49-.49-.98-.82-1.39-.25-.33-.41-.66-.66-.98-.08-.25-.25-.49-.41-.66-.41-.66-.82-1.31-1.23-1.88-.66-.98-1.23-1.88-1.88-2.79-3.03-4.51-6.39-8.93-9.83-13.11-1.64-2.05-3.28-4.01-5.08-5.9-.25-.33-.49-.57-.82-.9-.9-1.07-1.88-2.13-2.95-3.11-.82-.98-1.72-1.88-2.7-2.79-.57-.65-1.23-1.23-1.88-1.88-4.01-4.01-8.27-7.78-12.7-11.31-1.88-1.56-3.85-3.11-5.82-4.51-.16-.16-.41-.33-.66-.49-1.97-1.47-3.93-2.95-5.98-4.26-.66-.49-1.39-.98-2.13-1.47-1.15-.74-2.38-1.56-3.6-2.29-.66-.49-1.39-.9-2.13-1.31-.57-.41-1.15-.74-1.8-1.07-1.8-1.07-3.6-2.13-5.41-3.11-1.47-.82-3.03-1.64-4.59-2.38-.74-.49-1.56-.82-2.29-1.15-.98-.57-2.05-1.06-3.03-1.47-.82-.49-1.72-.9-2.62-1.23-.08-.08-.16-.16-.33-.16-.25-.16-.49-.25-.74-.33,0-.08-.08-.08-.16-.08-.08-.08-.25-.08-.33-.16-.08,0-.16-.08-.33-.08-.66-.41-1.31-.66-2.05-.9-.33-.16-.74-.33-1.15-.49-.16-.16-.41-.25-.66-.25-.9-.49-1.88-.82-2.87-1.15-.65-.33-1.31-.57-2.05-.82-1.23-.49-2.38-.9-3.52-1.31-.66-.25-1.39-.49-2.13-.74-2.05-.74-4.18-1.39-6.31-2.05-2.46-.74-4.83-1.47-7.29-2.05-2.95-.82-5.9-1.47-8.93-2.05-2.95-.66-5.9-1.15-8.93-1.64h-.16c-2.79-.41-5.57-.82-8.44-1.07-6.47-.74-12.94-1.07-19.58-1.07v-.16c-25.48,0-50.46-1.72-75.04-5.08-83.56-11.31-161.22-41.29-228.56-85.69-9.58-6.31-19.01-12.94-28.18-19.82-11.31-8.44-22.2-17.29-32.85-26.62-16.79-14.75-32.69-30.47-47.51-47.1C55.46,826.24,2.62,700.99.08,563.45c.08,1.31.16,2.54.25,3.85-.08-2.38-.16-4.67-.25-7.04-.08-2.38-.08-4.83-.08-7.21v-.33c0-2.29,0-4.59.08-6.8.08-2.38.16-4.75.25-7.13,7.46-146.06,128.21-262.23,276.15-262.23,81.84,0,155.4,35.55,206.11,92.08,3.11,3.52,6.14,7.04,9.01,10.73-71.6,25.23-122.88,93.47-122.88,173.67s51.28,148.44,122.88,173.67c19.17,6.88,39.81,10.57,61.36,10.57,43.42,0,85.61,5,126.16,14.5,112.39,26.13,211.6,86.67,285.98,169.82,87.57,97.81,140.82,227,140.82,368.64Z" }),
43
- React.createElement("path", { fill: "#fff", d: "M736.71,540.92c-6.14-96.09-86.1-172.11-183.75-172.11-21.54,0-42.19,3.69-61.36,10.57-2.87-3.69-5.9-7.21-9.01-10.73-50.71-56.53-124.27-92.08-206.11-92.08C128.53,276.56,7.78,392.72.33,538.79,7.78,341.85,169.82,184.4,368.64,184.4c136.4,0,255.51,74.14,319.16,184.24,29.49,50.95,46.94,109.61,48.91,172.28Z" }),
44
- React.createElement("path", { fill: "#fff", d: "M921.6,0c101.8,0,184.32,82.52,184.32,184.32v368.64C1105.92,247.56,858.36,0,552.96,0h368.64Z" }),
45
- React.createElement("path", { fill: "#fff", d: "M1105.92,552.96v737.28c0-141.64-53.25-270.83-140.82-368.64-74.38-83.15-173.59-143.69-285.98-169.82-40.55-9.5-82.74-14.5-126.16-14.5,97.65,0,177.6-76.02,183.75-172.11.08-.33.08-.57.08-.9.08-1.23.16-2.38.25-3.6.08-2.54.16-5.08.16-7.62s-.08-5.08-.16-7.62c-.08-1.23-.16-2.38-.25-3.6,0-.33,0-.57-.08-.9-1.97-62.67-19.42-121.32-48.91-172.28-63.65-110.1-182.76-184.24-319.16-184.24C169.82,184.4,7.78,341.85.33,538.79c-.08,1.31-.16,2.62-.25,3.93C5.57,242.07,251,0,552.96,0s552.96,247.56,552.96,552.96Z" }),
46
- React.createElement("path", { fill: "#fff", d: "M552.96,0C251,0,5.57,242.07.08,542.72v3.2c-.08,2.21-.08,4.51-.08,6.8V184.32C0,82.49,82.49,0,184.32,0h368.64Z" })))))))))));
47
- };
@@ -1,7 +0,0 @@
1
- import * as React from 'react';
2
- export var Npm = function (_a) {
3
- var _b = _a.size, size = _b === void 0 ? 24 : _b;
4
- return (React.createElement("svg", { height: size, width: size, viewBox: "0 0 700 700", fill: "#cb3837", "aria-hidden": "true" },
5
- React.createElement("polygon", { fill: "#cb3837", points: "0,700 700,700 700,0 0,0" }),
6
- React.createElement("polygon", { fill: "#ffffff", points: "150,550 350,550 350,250 450,250 450,550 550,550 550,150 150,150 " })));
7
- };
@@ -1,7 +0,0 @@
1
- import * as React from 'react';
2
- export var OpenedBook = 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 16 14", fill: "none", xmlns: "http://www.w3.org/2000/svg" },
5
- React.createElement("path", { d: "M8 3.66667V13", stroke: color, strokeWidth: "1.33333", strokeLinecap: "round", strokeLinejoin: "round" }),
6
- React.createElement("path", { d: "M1.99998 11C1.82317 11 1.6536 10.9298 1.52858 10.8047C1.40355 10.6797 1.33331 10.5101 1.33331 10.3333V1.66667C1.33331 1.48986 1.40355 1.32029 1.52858 1.19526C1.6536 1.07024 1.82317 1 1.99998 1H5.33331C6.04056 1 6.71883 1.28095 7.21893 1.78105C7.71903 2.28115 7.99998 2.95942 7.99998 3.66667C7.99998 2.95942 8.28093 2.28115 8.78103 1.78105C9.28113 1.28095 9.9594 1 10.6666 1H14C14.1768 1 14.3464 1.07024 14.4714 1.19526C14.5964 1.32029 14.6666 1.48986 14.6666 1.66667V10.3333C14.6666 10.5101 14.5964 10.6797 14.4714 10.8047C14.3464 10.9298 14.1768 11 14 11H9.99998C9.46955 11 8.96084 11.2107 8.58577 11.5858C8.21069 11.9609 7.99998 12.4696 7.99998 13C7.99998 12.4696 7.78927 11.9609 7.41419 11.5858C7.03912 11.2107 6.53041 11 5.99998 11H1.99998Z", stroke: color, strokeWidth: "1.33333", strokeLinecap: "round", strokeLinejoin: "round" })));
7
- };
@@ -1,9 +0,0 @@
1
- import * as React from 'react';
2
- export var Package = 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 14 16", fill: "none" },
5
- React.createElement("path", { d: "M6.33333 14.4867C6.53603 14.6037 6.76595 14.6653 7 14.6653C7.23405 14.6653 7.46397 14.6037 7.66667 14.4867L12.3333 11.82C12.5358 11.7031 12.704 11.535 12.821 11.3325C12.938 11.1301 12.9998 10.9005 13 10.6667V5.33332C12.9998 5.0995 12.938 4.86986 12.821 4.66743C12.704 4.465 12.5358 4.29689 12.3333 4.17999L7.66667 1.51332C7.46397 1.39629 7.23405 1.33469 7 1.33469C6.76595 1.33469 6.53603 1.39629 6.33333 1.51332L1.66667 4.17999C1.46418 4.29689 1.29599 4.465 1.17897 4.66743C1.06196 4.86986 1.00024 5.0995 1 5.33332V10.6667C1.00024 10.9005 1.06196 11.1301 1.17897 11.3325C1.29599 11.535 1.46418 11.7031 1.66667 11.82L6.33333 14.4867Z", stroke: color, strokeWidth: "1.33333", strokeLinecap: "round", strokeLinejoin: "round" }),
6
- React.createElement("path", { d: "M7 14.6667V8", stroke: color, strokeWidth: "1.33333", strokeLinecap: "round", strokeLinejoin: "round" }),
7
- React.createElement("path", { d: "M1.19336 4.66666L7.00003 7.99999L12.8067 4.66666", stroke: color, strokeWidth: "1.33333", strokeLinecap: "round", strokeLinejoin: "round" }),
8
- React.createElement("path", { d: "M4 2.84668L10 6.28001", stroke: color, strokeWidth: "1.33333", strokeLinecap: "round", strokeLinejoin: "round" })));
9
- };
@@ -1,10 +0,0 @@
1
- import * as React from 'react';
2
- export var Palette = 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 16 16", fill: "none" },
5
- React.createElement("path", { d: "M7.99998 14.6667C6.23187 14.6667 4.53618 13.9643 3.28593 12.7141C2.03569 11.4638 1.33331 9.76815 1.33331 8.00004C1.33331 6.23193 2.03569 4.53624 3.28593 3.286C4.53618 2.03575 6.23187 1.33337 7.99998 1.33337C9.76809 1.33337 11.4638 1.96551 12.714 3.09073C13.9643 4.21595 14.6666 5.74208 14.6666 7.33337C14.6666 8.21743 14.3155 9.06528 13.6903 9.6904C13.0652 10.3155 12.2174 10.6667 11.3333 10.6667H9.83331C9.61665 10.6667 9.40427 10.727 9.21996 10.8409C9.03565 10.9549 8.88671 11.1178 8.78981 11.3116C8.69292 11.5054 8.6519 11.7224 8.67136 11.9381C8.69082 12.1539 8.76998 12.36 8.89998 12.5334L9.09998 12.8C9.22998 12.9734 9.30914 13.1795 9.3286 13.3953C9.34806 13.6111 9.30704 13.828 9.21014 14.0218C9.11325 14.2156 8.9643 14.3786 8.78 14.4925C8.59569 14.6064 8.38331 14.6667 8.16665 14.6667H7.99998Z", stroke: color, strokeWidth: "1.33333", strokeLinecap: "round", strokeLinejoin: "round" }),
6
- React.createElement("path", { d: "M9.00002 4.66667C9.18412 4.66667 9.33335 4.51743 9.33335 4.33333C9.33335 4.14924 9.18412 4 9.00002 4C8.81593 4 8.66669 4.14924 8.66669 4.33333C8.66669 4.51743 8.81593 4.66667 9.00002 4.66667Z", fill: color, stroke: color, strokeWidth: "1.33333", strokeLinecap: "round", strokeLinejoin: "round" }),
7
- React.createElement("path", { d: "M11.6666 7.33329C11.8507 7.33329 12 7.18405 12 6.99996C12 6.81586 11.8507 6.66663 11.6666 6.66663C11.4826 6.66663 11.3333 6.81586 11.3333 6.99996C11.3333 7.18405 11.4826 7.33329 11.6666 7.33329Z", fill: color, stroke: color, strokeWidth: "1.33333", strokeLinecap: "round", strokeLinejoin: "round" }),
8
- React.createElement("path", { d: "M4.33333 8.66667C4.51743 8.66667 4.66667 8.51743 4.66667 8.33333C4.66667 8.14924 4.51743 8 4.33333 8C4.14924 8 4 8.14924 4 8.33333C4 8.51743 4.14924 8.66667 4.33333 8.66667Z", fill: color, stroke: color, strokeWidth: "1.33333", strokeLinecap: "round", strokeLinejoin: "round" }),
9
- React.createElement("path", { d: "M5.66665 5.33329C5.85074 5.33329 5.99998 5.18405 5.99998 4.99996C5.99998 4.81586 5.85074 4.66663 5.66665 4.66663C5.48255 4.66663 5.33331 4.81586 5.33331 4.99996C5.33331 5.18405 5.48255 5.33329 5.66665 5.33329Z", fill: color, stroke: color, strokeWidth: "1.33333", strokeLinecap: "round", strokeLinejoin: "round" })));
10
- };
@@ -1,9 +0,0 @@
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
- };
@@ -1,6 +0,0 @@
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
- };
@@ -1,34 +0,0 @@
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
- };
@@ -1,9 +0,0 @@
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
- };
@@ -1,10 +0,0 @@
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
- };
@@ -1,6 +0,0 @@
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
- };
@@ -1,9 +0,0 @@
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
- };
@@ -1,7 +0,0 @@
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
- };
@@ -1,7 +0,0 @@
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
- };
@@ -1,7 +0,0 @@
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
- };
@@ -1,9 +0,0 @@
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
- };
@@ -1,8 +0,0 @@
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
- };
@@ -1,6 +0,0 @@
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
- };
@@ -1,80 +0,0 @@
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
- };
@@ -1 +0,0 @@
1
- export {};
@@ -1,3 +0,0 @@
1
- export * from './hooks';
2
- export * from './helpers';
3
- export * from './icons';
@@ -1,66 +0,0 @@
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;
@@ -1,18 +0,0 @@
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);
@@ -1,22 +0,0 @@
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;
@@ -1,17 +0,0 @@
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);
@@ -1,68 +0,0 @@
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;