initial vitepress site with basic nav

This commit is contained in:
mrflos 2023-05-20 19:37:42 +03:00
parent a7df2e049d
commit 2029f16583
1900 changed files with 1014692 additions and 0 deletions

View file

@ -0,0 +1 @@
export declare function ControlKeyIcon(): JSX.Element;

View file

@ -0,0 +1,14 @@
import React from 'react';
export function ControlKeyIcon() {
return /*#__PURE__*/React.createElement("svg", {
width: "15",
height: "15",
className: "DocSearch-Control-Key-Icon"
}, /*#__PURE__*/React.createElement("path", {
d: "M4.505 4.496h2M5.505 5.496v5M8.216 4.496l.055 5.993M10 7.5c.333.333.5.667.5 1v2M12.326 4.5v5.996M8.384 4.496c1.674 0 2.116 0 2.116 1.5s-.442 1.5-2.116 1.5M3.205 9.303c-.09.448-.277 1.21-1.241 1.203C1 10.5.5 9.513.5 8V7c0-1.57.5-2.5 1.464-2.494.964.006 1.134.598 1.24 1.342M12.553 10.5h1.953",
strokeWidth: "1.2",
stroke: "currentColor",
fill: "none",
strokeLinecap: "square"
}));
}

View file

@ -0,0 +1 @@
export declare function ErrorIcon(): JSX.Element;

View file

@ -0,0 +1,15 @@
import React from 'react';
export function ErrorIcon() {
return /*#__PURE__*/React.createElement("svg", {
width: "40",
height: "40",
viewBox: "0 0 20 20",
fill: "none",
fillRule: "evenodd",
stroke: "currentColor",
strokeLinecap: "round",
strokeLinejoin: "round"
}, /*#__PURE__*/React.createElement("path", {
d: "M19 4.8a16 16 0 00-2-1.2m-3.3-1.2A16 16 0 001.1 4.7M16.7 8a12 12 0 00-2.8-1.4M10 6a12 12 0 00-6.7 2M12.3 14.7a4 4 0 00-4.5 0M14.5 11.4A8 8 0 0010 10M3 16L18 2M10 18h0"
}));
}

View file

@ -0,0 +1 @@
export declare function GoToExternal(): JSX.Element;

View file

@ -0,0 +1,11 @@
import React from 'react';
export function GoToExternal() {
return /*#__PURE__*/React.createElement("svg", {
width: "20",
height: "20"
}, /*#__PURE__*/React.createElement("path", {
d: "M5 6v9h9v-3a1 1 0 112 0v4l-1 1H4l-1-1V5l1-1h4a1 1 0 110 2H5zm5 5a1 1 0 11-1-1l5-6h-3a1 1 0 110-2h6a1 1 0 011 1v6a1 1 0 11-2 0V6l-6 5z",
fill: "currentColor",
fillRule: "nonzero"
}));
}

View file

@ -0,0 +1 @@
export declare function LoadingIcon(): JSX.Element;

View file

@ -0,0 +1,28 @@
import React from 'react';
export function LoadingIcon() {
return /*#__PURE__*/React.createElement("svg", {
viewBox: "0 0 38 38",
stroke: "currentColor",
strokeOpacity: ".5"
}, /*#__PURE__*/React.createElement("g", {
fill: "none",
fillRule: "evenodd"
}, /*#__PURE__*/React.createElement("g", {
transform: "translate(1 1)",
strokeWidth: "2"
}, /*#__PURE__*/React.createElement("circle", {
strokeOpacity: ".3",
cx: "18",
cy: "18",
r: "18"
}), /*#__PURE__*/React.createElement("path", {
d: "M36 18c0-9.94-8.06-18-18-18"
}, /*#__PURE__*/React.createElement("animateTransform", {
attributeName: "transform",
type: "rotate",
from: "0 18 18",
to: "360 18 18",
dur: "1s",
repeatCount: "indefinite"
})))));
}

View file

@ -0,0 +1 @@
export declare function NoResultsIcon(): JSX.Element;

View file

@ -0,0 +1,15 @@
import React from 'react';
export function NoResultsIcon() {
return /*#__PURE__*/React.createElement("svg", {
width: "40",
height: "40",
viewBox: "0 0 20 20",
fill: "none",
fillRule: "evenodd",
stroke: "currentColor",
strokeLinecap: "round",
strokeLinejoin: "round"
}, /*#__PURE__*/React.createElement("path", {
d: "M15.5 4.8c2 3 1.7 7-1 9.7h0l4.3 4.3-4.3-4.3a7.8 7.8 0 01-9.8 1m-2.2-2.2A7.8 7.8 0 0113.2 2.4M2 18L18 2"
}));
}

View file

@ -0,0 +1 @@
export declare function RecentIcon(): JSX.Element;

View file

@ -0,0 +1,18 @@
import React from 'react';
export function RecentIcon() {
return /*#__PURE__*/React.createElement("svg", {
width: "20",
height: "20",
viewBox: "0 0 20 20"
}, /*#__PURE__*/React.createElement("g", {
stroke: "currentColor",
fill: "none",
fillRule: "evenodd",
strokeLinecap: "round",
strokeLinejoin: "round"
}, /*#__PURE__*/React.createElement("path", {
d: "M3.18 6.6a8.23 8.23 0 1112.93 9.94h0a8.23 8.23 0 01-11.63 0"
}), /*#__PURE__*/React.createElement("path", {
d: "M6.44 7.25H2.55V3.36M10.45 6v5.6M10.45 11.6L13 13"
})));
}

View file

@ -0,0 +1 @@
export declare function ResetIcon(): JSX.Element;

View file

@ -0,0 +1,15 @@
import React from 'react';
export function ResetIcon() {
return /*#__PURE__*/React.createElement("svg", {
width: "20",
height: "20",
viewBox: "0 0 20 20"
}, /*#__PURE__*/React.createElement("path", {
d: "M10 10l5.09-5.09L10 10l5.09 5.09L10 10zm0 0L4.91 4.91 10 10l-5.09 5.09L10 10z",
stroke: "currentColor",
fill: "none",
fillRule: "evenodd",
strokeLinecap: "round",
strokeLinejoin: "round"
}));
}

View file

@ -0,0 +1 @@
export declare function SearchIcon(): JSX.Element;

View file

@ -0,0 +1,16 @@
import React from 'react';
export function SearchIcon() {
return /*#__PURE__*/React.createElement("svg", {
width: "20",
height: "20",
className: "DocSearch-Search-Icon",
viewBox: "0 0 20 20"
}, /*#__PURE__*/React.createElement("path", {
d: "M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z",
stroke: "currentColor",
fill: "none",
fillRule: "evenodd",
strokeLinecap: "round",
strokeLinejoin: "round"
}));
}

View file

@ -0,0 +1 @@
export declare function SelectIcon(): JSX.Element;

View file

@ -0,0 +1,19 @@
import React from 'react';
export function SelectIcon() {
return /*#__PURE__*/React.createElement("svg", {
className: "DocSearch-Hit-Select-Icon",
width: "20",
height: "20",
viewBox: "0 0 20 20"
}, /*#__PURE__*/React.createElement("g", {
stroke: "currentColor",
fill: "none",
fillRule: "evenodd",
strokeLinecap: "round",
strokeLinejoin: "round"
}, /*#__PURE__*/React.createElement("path", {
d: "M18 3v4c0 2-2 4-4 4H2"
}), /*#__PURE__*/React.createElement("path", {
d: "M8 17l-6-6 6-6"
})));
}

View file

@ -0,0 +1,3 @@
export declare function SourceIcon(props: {
type: string;
}): JSX.Element;

View file

@ -0,0 +1,57 @@
import React from 'react';
var LvlIcon = function LvlIcon() {
return /*#__PURE__*/React.createElement("svg", {
width: "20",
height: "20",
viewBox: "0 0 20 20"
}, /*#__PURE__*/React.createElement("path", {
d: "M17 6v12c0 .52-.2 1-1 1H4c-.7 0-1-.33-1-1V2c0-.55.42-1 1-1h8l5 5zM14 8h-3.13c-.51 0-.87-.34-.87-.87V4",
stroke: "currentColor",
fill: "none",
fillRule: "evenodd",
strokeLinejoin: "round"
}));
};
export function SourceIcon(props) {
switch (props.type) {
case 'lvl1':
return /*#__PURE__*/React.createElement(LvlIcon, null);
case 'content':
return /*#__PURE__*/React.createElement(ContentIcon, null);
default:
return /*#__PURE__*/React.createElement(AnchorIcon, null);
}
}
function AnchorIcon() {
return /*#__PURE__*/React.createElement("svg", {
width: "20",
height: "20",
viewBox: "0 0 20 20"
}, /*#__PURE__*/React.createElement("path", {
d: "M13 13h4-4V8H7v5h6v4-4H7V8H3h4V3v5h6V3v5h4-4v5zm-6 0v4-4H3h4z",
stroke: "currentColor",
fill: "none",
fillRule: "evenodd",
strokeLinecap: "round",
strokeLinejoin: "round"
}));
}
function ContentIcon() {
return /*#__PURE__*/React.createElement("svg", {
width: "20",
height: "20",
viewBox: "0 0 20 20"
}, /*#__PURE__*/React.createElement("path", {
d: "M17 5H3h14zm0 5H3h14zm0 5H3h14z",
stroke: "currentColor",
fill: "none",
fillRule: "evenodd",
strokeLinejoin: "round"
}));
}

View file

@ -0,0 +1 @@
export declare function StarIcon(): JSX.Element;

View file

@ -0,0 +1,14 @@
import React from 'react';
export function StarIcon() {
return /*#__PURE__*/React.createElement("svg", {
width: "20",
height: "20",
viewBox: "0 0 20 20"
}, /*#__PURE__*/React.createElement("path", {
d: "M10 14.2L5 17l1-5.6-4-4 5.5-.7 2.5-5 2.5 5 5.6.8-4 4 .9 5.5z",
stroke: "currentColor",
fill: "none",
fillRule: "evenodd",
strokeLinejoin: "round"
}));
}

View file

@ -0,0 +1,10 @@
export * from './GoToExternalIcon';
export * from './LoadingIcon';
export * from './RecentIcon';
export * from './ResetIcon';
export * from './SearchIcon';
export * from './SelectIcon';
export * from './SourceIcon';
export * from './StarIcon';
export * from './ErrorIcon';
export * from './NoResultsIcon';

10
node_modules/@docsearch/react/dist/esm/icons/index.js generated vendored Normal file
View file

@ -0,0 +1,10 @@
export * from './GoToExternalIcon';
export * from './LoadingIcon';
export * from './RecentIcon';
export * from './ResetIcon';
export * from './SearchIcon';
export * from './SelectIcon';
export * from './SourceIcon';
export * from './StarIcon';
export * from './ErrorIcon';
export * from './NoResultsIcon';