@rspress/core 1.0.0-beta.5 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +608 -550
- package/dist/index.js.map +1 -1
- package/dist/loader.js +213 -156
- package/dist/loader.js.map +1 -1
- package/dist/runtime/App.js +28 -30
- package/dist/runtime/Content.js +11 -10
- package/dist/runtime/NoSSR.js +6 -5
- package/dist/runtime/clientEntry.js +13 -22
- package/dist/runtime/hooks.js +19 -11
- package/dist/runtime/index.js +32 -4
- package/dist/runtime/ssrEntry.js +10 -19
- package/dist/runtime/utils.js +28 -8
- package/dist/theme/bundle.css +17 -17
- package/dist/theme/bundle.js +2160 -4944
- package/dist/theme/bundle.js.map +1 -1
- package/package.json +13 -13
package/dist/runtime/App.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsx
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import siteData from "virtual-site-data";
|
|
3
3
|
import { matchRoutes, useLocation } from "react-router-dom";
|
|
4
4
|
import { HelmetProvider } from "react-helmet-async";
|
|
@@ -9,7 +9,7 @@ import { isEqualPath, normalizeRoutePath } from "./utils";
|
|
|
9
9
|
import { DataContext } from "./hooks";
|
|
10
10
|
import "virtual-global-styles";
|
|
11
11
|
const { default: Theme } = require("@theme");
|
|
12
|
-
|
|
12
|
+
async function initPageData(routePath) {
|
|
13
13
|
const { routes } = process.env.__SSR__ ? require("virtual-routes-ssr") : require("virtual-routes");
|
|
14
14
|
const matched = matchRoutes(routes, routePath);
|
|
15
15
|
if (matched) {
|
|
@@ -66,7 +66,7 @@ export async function initPageData(routePath) {
|
|
|
66
66
|
};
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
|
-
|
|
69
|
+
function App({ helmetContext }) {
|
|
70
70
|
const { setData: setPageData } = useContext(DataContext);
|
|
71
71
|
const { pathname } = useLocation();
|
|
72
72
|
useLayoutEffect(() => {
|
|
@@ -79,31 +79,29 @@ export function App({ helmetContext }) {
|
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
81
|
refetchData();
|
|
82
|
-
}, [
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
key: index
|
|
104
|
-
});
|
|
105
|
-
}
|
|
106
|
-
})
|
|
107
|
-
]
|
|
108
|
-
});
|
|
82
|
+
}, [pathname, setPageData]);
|
|
83
|
+
return /* @__PURE__ */ jsxs(HelmetProvider, { context: helmetContext, children: [
|
|
84
|
+
/* @__PURE__ */ jsx(Theme.Layout, {}),
|
|
85
|
+
// Global UI
|
|
86
|
+
globalComponents.map((componentInfo, index) => {
|
|
87
|
+
if (Array.isArray(componentInfo)) {
|
|
88
|
+
const [component, props] = componentInfo;
|
|
89
|
+
return React.createElement(component, {
|
|
90
|
+
// The component order is stable
|
|
91
|
+
// eslint-disable-next-line react/no-array-index-key
|
|
92
|
+
key: index,
|
|
93
|
+
...props
|
|
94
|
+
});
|
|
95
|
+
} else {
|
|
96
|
+
return React.createElement(componentInfo, {
|
|
97
|
+
// eslint-disable-next-line react/no-array-index-key
|
|
98
|
+
key: index
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
})
|
|
102
|
+
] });
|
|
109
103
|
}
|
|
104
|
+
export {
|
|
105
|
+
App,
|
|
106
|
+
initPageData
|
|
107
|
+
};
|
package/dist/runtime/Content.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Fragment, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { Suspense, memo } from "react";
|
|
3
3
|
import { matchRoutes, useLocation } from "react-router-dom";
|
|
4
4
|
import siteData from "virtual-site-data";
|
|
@@ -12,21 +12,22 @@ function TransitionContentImpl(props) {
|
|
|
12
12
|
}
|
|
13
13
|
return element;
|
|
14
14
|
}
|
|
15
|
-
const TransitionContent =
|
|
16
|
-
|
|
15
|
+
const TransitionContent = memo(
|
|
16
|
+
TransitionContentImpl,
|
|
17
|
+
(prevProps, nextProps) => prevProps.el === nextProps.el
|
|
18
|
+
);
|
|
19
|
+
const Content = ({ fallback = /* @__PURE__ */ jsx(Fragment, {}) }) => {
|
|
17
20
|
const { pathname } = useLocation();
|
|
18
21
|
const matched = matchRoutes(routes, normalizeRoutePath(pathname));
|
|
19
22
|
if (!matched) {
|
|
20
|
-
return /* @__PURE__ */
|
|
23
|
+
return /* @__PURE__ */ jsx("div", {});
|
|
21
24
|
}
|
|
22
25
|
const routesElement = matched[0].route.element;
|
|
23
26
|
if (!process.env.__IS_REACT_18__ && process.env.__SSR__) {
|
|
24
27
|
return routesElement;
|
|
25
28
|
}
|
|
26
|
-
return /* @__PURE__ */
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
})
|
|
31
|
-
});
|
|
29
|
+
return /* @__PURE__ */ jsx(Suspense, { fallback, children: /* @__PURE__ */ jsx(TransitionContent, { el: routesElement }) });
|
|
30
|
+
};
|
|
31
|
+
export {
|
|
32
|
+
Content
|
|
32
33
|
};
|
package/dist/runtime/NoSSR.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Fragment, jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useEffect, useState } from "react";
|
|
3
|
-
|
|
3
|
+
function NoSSR(props) {
|
|
4
4
|
const { children } = props;
|
|
5
5
|
const [isMounted, setIsMounted] = useState(false);
|
|
6
6
|
useEffect(() => {
|
|
@@ -9,8 +9,9 @@ export function NoSSR(props) {
|
|
|
9
9
|
if (!isMounted) {
|
|
10
10
|
return null;
|
|
11
11
|
} else {
|
|
12
|
-
return /* @__PURE__ */
|
|
13
|
-
children
|
|
14
|
-
});
|
|
12
|
+
return /* @__PURE__ */ jsx(Fragment, { children });
|
|
15
13
|
}
|
|
16
14
|
}
|
|
15
|
+
export {
|
|
16
|
+
NoSSR
|
|
17
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { jsx
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { useState } from "react";
|
|
3
3
|
import { BrowserRouter } from "react-router-dom";
|
|
4
4
|
import { isProduction } from "@rspress/shared";
|
|
@@ -6,47 +6,38 @@ import { App, initPageData } from "./App";
|
|
|
6
6
|
import { DataContext, ThemeContext } from "./hooks";
|
|
7
7
|
import { normalizeRoutePath } from "./utils";
|
|
8
8
|
const { default: Theme } = require("@theme");
|
|
9
|
-
|
|
9
|
+
async function renderInBrowser() {
|
|
10
10
|
const container = document.getElementById("root");
|
|
11
11
|
const enhancedApp = async () => {
|
|
12
|
-
const initialPageData = await initPageData(
|
|
12
|
+
const initialPageData = await initPageData(
|
|
13
|
+
normalizeRoutePath(window.location.pathname)
|
|
14
|
+
);
|
|
13
15
|
return function RootApp2() {
|
|
14
16
|
const [data, setData] = useState(initialPageData);
|
|
15
17
|
const [theme, setTheme] = useState("light");
|
|
16
|
-
return /* @__PURE__ */
|
|
17
|
-
value: {
|
|
18
|
-
theme,
|
|
19
|
-
setTheme
|
|
20
|
-
},
|
|
21
|
-
children: /* @__PURE__ */ _jsx(DataContext.Provider, {
|
|
22
|
-
value: {
|
|
23
|
-
data,
|
|
24
|
-
setData
|
|
25
|
-
},
|
|
26
|
-
children: /* @__PURE__ */ _jsx(BrowserRouter, {
|
|
27
|
-
children: /* @__PURE__ */ _jsx(App, {})
|
|
28
|
-
})
|
|
29
|
-
})
|
|
30
|
-
});
|
|
18
|
+
return /* @__PURE__ */ jsx(ThemeContext.Provider, { value: { theme, setTheme }, children: /* @__PURE__ */ jsx(DataContext.Provider, { value: { data, setData }, children: /* @__PURE__ */ jsx(BrowserRouter, { children: /* @__PURE__ */ jsx(App, {}) }) }) });
|
|
31
19
|
};
|
|
32
20
|
};
|
|
33
21
|
const RootApp = await enhancedApp();
|
|
34
22
|
if (process.env.__IS_REACT_18__) {
|
|
35
23
|
const { createRoot, hydrateRoot } = require("react-dom/client");
|
|
36
24
|
if (isProduction()) {
|
|
37
|
-
hydrateRoot(container, /* @__PURE__ */
|
|
25
|
+
hydrateRoot(container, /* @__PURE__ */ jsx(RootApp, {}));
|
|
38
26
|
} else {
|
|
39
|
-
createRoot(container).render(/* @__PURE__ */
|
|
27
|
+
createRoot(container).render(/* @__PURE__ */ jsx(RootApp, {}));
|
|
40
28
|
}
|
|
41
29
|
} else {
|
|
42
30
|
const ReactDOM = require("react-dom");
|
|
43
31
|
if (isProduction()) {
|
|
44
|
-
ReactDOM.hydrate(/* @__PURE__ */
|
|
32
|
+
ReactDOM.hydrate(/* @__PURE__ */ jsx(RootApp, {}), container);
|
|
45
33
|
} else {
|
|
46
|
-
ReactDOM.render(/* @__PURE__ */
|
|
34
|
+
ReactDOM.render(/* @__PURE__ */ jsx(RootApp, {}), container);
|
|
47
35
|
}
|
|
48
36
|
}
|
|
49
37
|
}
|
|
50
38
|
renderInBrowser().then(() => {
|
|
51
39
|
Theme.setup();
|
|
52
40
|
});
|
|
41
|
+
export {
|
|
42
|
+
renderInBrowser
|
|
43
|
+
};
|
package/dist/runtime/hooks.js
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import { createContext, useContext, useLayoutEffect, useState } from "react";
|
|
2
2
|
import i18nTextData from "virtual-i18n-text";
|
|
3
3
|
import { flushSync } from "react-dom";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
const DataContext = createContext({});
|
|
5
|
+
const ThemeContext = createContext({});
|
|
6
|
+
function usePageData() {
|
|
7
7
|
const ctx = useContext(DataContext);
|
|
8
8
|
return ctx.data;
|
|
9
9
|
}
|
|
10
|
-
|
|
10
|
+
function useLang() {
|
|
11
11
|
const ctx = useContext(DataContext);
|
|
12
12
|
return ctx.data.page.lang || "";
|
|
13
13
|
}
|
|
14
|
-
|
|
14
|
+
function useVersion() {
|
|
15
15
|
const ctx = useContext(DataContext);
|
|
16
16
|
return ctx.data.page.version || "";
|
|
17
17
|
}
|
|
18
|
-
|
|
18
|
+
function useDark() {
|
|
19
19
|
const ctx = useContext(ThemeContext);
|
|
20
20
|
return ctx.theme === "dark";
|
|
21
21
|
}
|
|
22
|
-
|
|
22
|
+
function useI18n() {
|
|
23
23
|
const lang = useLang();
|
|
24
24
|
return (key) => i18nTextData[key][lang];
|
|
25
25
|
}
|
|
26
|
-
|
|
26
|
+
function useViewTransition(dom) {
|
|
27
27
|
const [element, setElement] = useState(dom);
|
|
28
28
|
useLayoutEffect(() => {
|
|
29
29
|
if (document.startViewTransition && element !== dom) {
|
|
@@ -39,8 +39,16 @@ export function useViewTransition(dom) {
|
|
|
39
39
|
});
|
|
40
40
|
window.dispatchEvent(new Event("RspressReloadContent"));
|
|
41
41
|
}
|
|
42
|
-
}, [
|
|
43
|
-
dom
|
|
44
|
-
]);
|
|
42
|
+
}, [dom]);
|
|
45
43
|
return element;
|
|
46
44
|
}
|
|
45
|
+
export {
|
|
46
|
+
DataContext,
|
|
47
|
+
ThemeContext,
|
|
48
|
+
useDark,
|
|
49
|
+
useI18n,
|
|
50
|
+
useLang,
|
|
51
|
+
usePageData,
|
|
52
|
+
useVersion,
|
|
53
|
+
useViewTransition
|
|
54
|
+
};
|
package/dist/runtime/index.js
CHANGED
|
@@ -1,6 +1,34 @@
|
|
|
1
1
|
export * from "./hooks";
|
|
2
2
|
export * from "./Content";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
import {
|
|
4
|
+
normalizeHrefInRuntime,
|
|
5
|
+
normalizeImagePath,
|
|
6
|
+
withBase,
|
|
7
|
+
removeBase,
|
|
8
|
+
addLeadingSlash,
|
|
9
|
+
removeTrailingSlash,
|
|
10
|
+
normalizeSlash,
|
|
11
|
+
isProduction,
|
|
12
|
+
normalizeRoutePath,
|
|
13
|
+
isEqualPath
|
|
14
|
+
} from "./utils";
|
|
15
|
+
import { useLocation, useNavigate, matchRoutes } from "react-router-dom";
|
|
16
|
+
import { Helmet } from "react-helmet-async";
|
|
17
|
+
import { NoSSR } from "./NoSSR";
|
|
18
|
+
export {
|
|
19
|
+
Helmet,
|
|
20
|
+
NoSSR,
|
|
21
|
+
addLeadingSlash,
|
|
22
|
+
isEqualPath,
|
|
23
|
+
isProduction,
|
|
24
|
+
matchRoutes,
|
|
25
|
+
normalizeHrefInRuntime,
|
|
26
|
+
normalizeImagePath,
|
|
27
|
+
normalizeRoutePath,
|
|
28
|
+
normalizeSlash,
|
|
29
|
+
removeBase,
|
|
30
|
+
removeTrailingSlash,
|
|
31
|
+
useLocation,
|
|
32
|
+
useNavigate,
|
|
33
|
+
withBase
|
|
34
|
+
};
|
package/dist/runtime/ssrEntry.js
CHANGED
|
@@ -1,30 +1,21 @@
|
|
|
1
|
-
import { jsx
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
2
|
import { renderToString } from "react-dom/server";
|
|
3
3
|
import { StaticRouter } from "react-router-dom/server";
|
|
4
4
|
import { App, initPageData } from "./App";
|
|
5
5
|
import { DataContext, ThemeContext } from "./hooks";
|
|
6
6
|
const DEFAULT_THEME = "light";
|
|
7
|
-
|
|
7
|
+
async function render(pagePath, helmetContext) {
|
|
8
8
|
const initialPageData = await initPageData(pagePath);
|
|
9
|
-
const appHtml = renderToString(
|
|
10
|
-
value: {
|
|
11
|
-
|
|
12
|
-
},
|
|
13
|
-
children: /* @__PURE__ */ _jsx(DataContext.Provider, {
|
|
14
|
-
value: {
|
|
15
|
-
data: initialPageData
|
|
16
|
-
},
|
|
17
|
-
children: /* @__PURE__ */ _jsx(StaticRouter, {
|
|
18
|
-
location: pagePath,
|
|
19
|
-
children: /* @__PURE__ */ _jsx(App, {
|
|
20
|
-
helmetContext
|
|
21
|
-
})
|
|
22
|
-
})
|
|
23
|
-
})
|
|
24
|
-
}));
|
|
9
|
+
const appHtml = renderToString(
|
|
10
|
+
/* @__PURE__ */ jsx(ThemeContext.Provider, { value: { theme: DEFAULT_THEME }, children: /* @__PURE__ */ jsx(DataContext.Provider, { value: { data: initialPageData }, children: /* @__PURE__ */ jsx(StaticRouter, { location: pagePath, children: /* @__PURE__ */ jsx(App, { helmetContext }) }) }) })
|
|
11
|
+
);
|
|
25
12
|
return {
|
|
26
13
|
appHtml,
|
|
27
14
|
pageData: initialPageData
|
|
28
15
|
};
|
|
29
16
|
}
|
|
30
|
-
|
|
17
|
+
import { routes } from "virtual-routes-ssr";
|
|
18
|
+
export {
|
|
19
|
+
render,
|
|
20
|
+
routes
|
|
21
|
+
};
|
package/dist/runtime/utils.js
CHANGED
|
@@ -1,25 +1,45 @@
|
|
|
1
1
|
import siteData from "virtual-site-data";
|
|
2
|
-
import {
|
|
3
|
-
|
|
2
|
+
import {
|
|
3
|
+
addLeadingSlash,
|
|
4
|
+
removeTrailingSlash,
|
|
5
|
+
normalizeSlash,
|
|
6
|
+
isProduction,
|
|
7
|
+
normalizeHref,
|
|
8
|
+
withBase as rawWithBase,
|
|
9
|
+
removeBase as rawRemoveBase,
|
|
10
|
+
isExternalUrl
|
|
11
|
+
} from "@rspress/shared";
|
|
12
|
+
function normalizeRoutePath(routePath) {
|
|
4
13
|
return decodeURIComponent(routePath).replace(/\.html$/, "").replace(/\/index$/, "/");
|
|
5
14
|
}
|
|
6
|
-
|
|
15
|
+
function withBase(url = "/") {
|
|
7
16
|
return rawWithBase(url, siteData.base);
|
|
8
17
|
}
|
|
9
|
-
|
|
18
|
+
function removeBase(url) {
|
|
10
19
|
return rawRemoveBase(url, siteData.base);
|
|
11
20
|
}
|
|
12
|
-
|
|
21
|
+
function isEqualPath(a, b) {
|
|
13
22
|
return withBase(normalizeHrefInRuntime(a)) === withBase(normalizeHrefInRuntime(b));
|
|
14
23
|
}
|
|
15
|
-
|
|
24
|
+
function normalizeHrefInRuntime(a) {
|
|
16
25
|
const cleanUrls = Boolean(siteData?.route?.cleanUrls);
|
|
17
26
|
return normalizeHref(a, cleanUrls);
|
|
18
27
|
}
|
|
19
|
-
|
|
28
|
+
function normalizeImagePath(imagePath) {
|
|
20
29
|
if (isExternalUrl(imagePath)) {
|
|
21
30
|
return imagePath;
|
|
22
31
|
}
|
|
23
32
|
return withBase(imagePath);
|
|
24
33
|
}
|
|
25
|
-
export {
|
|
34
|
+
export {
|
|
35
|
+
addLeadingSlash,
|
|
36
|
+
isEqualPath,
|
|
37
|
+
isProduction,
|
|
38
|
+
normalizeHrefInRuntime,
|
|
39
|
+
normalizeImagePath,
|
|
40
|
+
normalizeRoutePath,
|
|
41
|
+
normalizeSlash,
|
|
42
|
+
removeBase,
|
|
43
|
+
removeTrailingSlash,
|
|
44
|
+
withBase
|
|
45
|
+
};
|
package/dist/theme/bundle.css
CHANGED
|
@@ -1411,7 +1411,7 @@ button:focus-visible {
|
|
|
1411
1411
|
background-color: var(--rp-c-brand-tint);
|
|
1412
1412
|
}
|
|
1413
1413
|
|
|
1414
|
-
/* src/theme-default/components/EditLink/index.module.scss?css_virtual&hash=
|
|
1414
|
+
/* src/theme-default/components/EditLink/index.module.scss?css_virtual&hash=65df4 */
|
|
1415
1415
|
.editLink_eea9e {
|
|
1416
1416
|
color: var(--rp-c-brand);
|
|
1417
1417
|
text-decoration: none;
|
|
@@ -1424,7 +1424,7 @@ button:focus-visible {
|
|
|
1424
1424
|
color: var(--rp-c-brand-dark);
|
|
1425
1425
|
}
|
|
1426
1426
|
|
|
1427
|
-
/* src/theme-default/components/Link/index.module.scss?css_virtual&hash=
|
|
1427
|
+
/* src/theme-default/components/Link/index.module.scss?css_virtual&hash=bb9fa */
|
|
1428
1428
|
.link_b3367:hover {
|
|
1429
1429
|
color: var(--rp-c-brand);
|
|
1430
1430
|
transition: color 0.2s;
|
|
@@ -1434,7 +1434,7 @@ button:focus-visible {
|
|
|
1434
1434
|
font-weight: 500;
|
|
1435
1435
|
}
|
|
1436
1436
|
|
|
1437
|
-
/* src/theme-default/components/DocFooter/index.module.scss?css_virtual&hash=
|
|
1437
|
+
/* src/theme-default/components/DocFooter/index.module.scss?css_virtual&hash=69442 */
|
|
1438
1438
|
@media (min-width: 640px) {
|
|
1439
1439
|
.pager_33e00 {
|
|
1440
1440
|
display: flex;
|
|
@@ -1487,7 +1487,7 @@ button:focus-visible {
|
|
|
1487
1487
|
transition: color 0.25s;
|
|
1488
1488
|
}
|
|
1489
1489
|
|
|
1490
|
-
/* src/theme-default/components/Nav/index.module.scss?css_virtual&hash=
|
|
1490
|
+
/* src/theme-default/components/Nav/index.module.scss?css_virtual&hash=13098 */
|
|
1491
1491
|
.hidden_47ac2 {
|
|
1492
1492
|
transform: translate3d(0, -100%, 0);
|
|
1493
1493
|
background: transparent;
|
|
@@ -1587,7 +1587,7 @@ button:focus-visible {
|
|
|
1587
1587
|
}
|
|
1588
1588
|
}
|
|
1589
1589
|
|
|
1590
|
-
/* src/theme-default/components/Sidebar/index.module.scss?css_virtual&hash=
|
|
1590
|
+
/* src/theme-default/components/Sidebar/index.module.scss?css_virtual&hash=8ec4e */
|
|
1591
1591
|
.navTitleMask_74484 {
|
|
1592
1592
|
padding-left: 1.5rem;
|
|
1593
1593
|
height: var(--rp-nav-height);
|
|
@@ -1749,7 +1749,7 @@ button:focus-visible {
|
|
|
1749
1749
|
background: rgba(0, 0, 0, 0.6);
|
|
1750
1750
|
}
|
|
1751
1751
|
|
|
1752
|
-
/* src/theme-default/components/Overview/index.module.scss?css_virtual&hash=
|
|
1752
|
+
/* src/theme-default/components/Overview/index.module.scss?css_virtual&hash=6ba2e */
|
|
1753
1753
|
.overview-index h1,
|
|
1754
1754
|
.overview-index h2,
|
|
1755
1755
|
.overview-index h3 {
|
|
@@ -1881,7 +1881,7 @@ button:focus-visible {
|
|
|
1881
1881
|
}
|
|
1882
1882
|
}
|
|
1883
1883
|
|
|
1884
|
-
/* src/theme-default/layout/DocLayout/index.module.scss?css_virtual&hash=
|
|
1884
|
+
/* src/theme-default/layout/DocLayout/index.module.scss?css_virtual&hash=343ce */
|
|
1885
1885
|
.aside-container_feeda {
|
|
1886
1886
|
position: sticky;
|
|
1887
1887
|
display: none;
|
|
@@ -1993,7 +1993,7 @@ button:focus-visible {
|
|
|
1993
1993
|
}
|
|
1994
1994
|
}
|
|
1995
1995
|
|
|
1996
|
-
/* src/theme-default/components/Button/index.module.scss?css_virtual&hash=
|
|
1996
|
+
/* src/theme-default/components/Button/index.module.scss?css_virtual&hash=22d82 */
|
|
1997
1997
|
.button_c5dfc {
|
|
1998
1998
|
display: inline-block;
|
|
1999
1999
|
border: 1px solid transparent;
|
|
@@ -2059,7 +2059,7 @@ button:focus-visible {
|
|
|
2059
2059
|
}
|
|
2060
2060
|
}
|
|
2061
2061
|
|
|
2062
|
-
/* src/theme-default/components/HomeHero/index.module.scss?css_virtual&hash=
|
|
2062
|
+
/* src/theme-default/components/HomeHero/index.module.scss?css_virtual&hash=0d02d */
|
|
2063
2063
|
.clip_1e4a0 {
|
|
2064
2064
|
background: var(--rp-home-hero-name-background);
|
|
2065
2065
|
-webkit-background-clip: text;
|
|
@@ -2094,7 +2094,7 @@ button:focus-visible {
|
|
|
2094
2094
|
}
|
|
2095
2095
|
}
|
|
2096
2096
|
|
|
2097
|
-
/* src/theme-default/components/HomeFeatures/index.module.scss?css_virtual&hash=
|
|
2097
|
+
/* src/theme-default/components/HomeFeatures/index.module.scss?css_virtual&hash=284b5 */
|
|
2098
2098
|
@media (max-width: 640px) {
|
|
2099
2099
|
.grid-2_7983b,
|
|
2100
2100
|
.grid-4_7983b,
|
|
@@ -2155,7 +2155,7 @@ button:focus-visible {
|
|
|
2155
2155
|
--rp-home-feature-hover-bg: #2f2f2f;
|
|
2156
2156
|
}
|
|
2157
2157
|
|
|
2158
|
-
/* src/theme-default/components/NavScreenMenuGroup/index.module.scss?css_virtual&hash=
|
|
2158
|
+
/* src/theme-default/components/NavScreenMenuGroup/index.module.scss?css_virtual&hash=8dfc9 */
|
|
2159
2159
|
.navScreenMenuGroup_de8a5 {
|
|
2160
2160
|
height: 39px;
|
|
2161
2161
|
overflow: hidden;
|
|
@@ -2196,7 +2196,7 @@ button:focus-visible {
|
|
|
2196
2196
|
transform: rotate(180deg);
|
|
2197
2197
|
}
|
|
2198
2198
|
|
|
2199
|
-
/* src/theme-default/components/SocialLinks/index.module.scss?css_virtual&hash=
|
|
2199
|
+
/* src/theme-default/components/SocialLinks/index.module.scss?css_virtual&hash=d7ec4 */
|
|
2200
2200
|
.social-links-icon_8cbd0 {
|
|
2201
2201
|
width: 24px;
|
|
2202
2202
|
height: 100%;
|
|
@@ -2214,7 +2214,7 @@ button:focus-visible {
|
|
|
2214
2214
|
}
|
|
2215
2215
|
}
|
|
2216
2216
|
|
|
2217
|
-
/* src/theme-default/components/NavScreen/index.module.scss?css_virtual&hash=
|
|
2217
|
+
/* src/theme-default/components/NavScreen/index.module.scss?css_virtual&hash=d4294 */
|
|
2218
2218
|
.navScreen_8624f {
|
|
2219
2219
|
display: none;
|
|
2220
2220
|
position: fixed;
|
|
@@ -2261,7 +2261,7 @@ button:focus-visible {
|
|
|
2261
2261
|
padding: 8px 0 7px;
|
|
2262
2262
|
}
|
|
2263
2263
|
|
|
2264
|
-
/* src/theme-default/components/NavHambmger/index.module.scss?css_virtual&hash=
|
|
2264
|
+
/* src/theme-default/components/NavHambmger/index.module.scss?css_virtual&hash=27576 */
|
|
2265
2265
|
.navHamburger_2498a {
|
|
2266
2266
|
display: flex;
|
|
2267
2267
|
justify-content: center;
|
|
@@ -2344,7 +2344,7 @@ button:focus-visible {
|
|
|
2344
2344
|
transform: translateX(4px);
|
|
2345
2345
|
}
|
|
2346
2346
|
|
|
2347
|
-
/* src/theme-default/components/Search/index.module.scss?css_virtual&hash=
|
|
2347
|
+
/* src/theme-default/components/Search/index.module.scss?css_virtual&hash=19f72 */
|
|
2348
2348
|
.mask_f619e {
|
|
2349
2349
|
position: fixed;
|
|
2350
2350
|
left: 0;
|
|
@@ -2556,7 +2556,7 @@ button:focus-visible {
|
|
|
2556
2556
|
}
|
|
2557
2557
|
}
|
|
2558
2558
|
|
|
2559
|
-
/* src/theme-default/components/Tabs/index.module.scss?css_virtual&hash=
|
|
2559
|
+
/* src/theme-default/components/Tabs/index.module.scss?css_virtual&hash=8fca2 */
|
|
2560
2560
|
.container_7e0fb {
|
|
2561
2561
|
background-color: var(--rp-code-block-bg);
|
|
2562
2562
|
contain: content;
|
|
@@ -2621,7 +2621,7 @@ button:focus-visible {
|
|
|
2621
2621
|
background-color: var(--rp-c-bg-mute) !important;
|
|
2622
2622
|
}
|
|
2623
2623
|
|
|
2624
|
-
/* src/theme-default/layout/DocLayout/docComponents/index.module.scss?css_virtual&hash=
|
|
2624
|
+
/* src/theme-default/layout/DocLayout/docComponents/index.module.scss?css_virtual&hash=b8aad */
|
|
2625
2625
|
.title_f1ea0 {
|
|
2626
2626
|
position: relative;
|
|
2627
2627
|
font-weight: 600;
|