@theguild/components 8.1.3-alpha-20241223005218-c771b923ca98d11f0d96bd71154e211e4f100bb0 → 8.1.3-alpha-20241223081356-5db65e388876613196d8059f92d138effc10ff7f
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/components/decorations/highlight-decoration.js +1 -1
- package/dist/components/hive-navigation/index.d.mts +3 -2
- package/dist/components/hive-navigation/index.js +2 -8
- package/dist/components/legacy-package-cmd.js +1 -1
- package/dist/server/mdx-components.d.mts +12 -12
- package/dist/server/theme-layout.d.mts +2 -1
- package/dist/server/theme-layout.js +3 -0
- package/package.json +4 -4
- package/style.css +17 -1
|
@@ -6,7 +6,7 @@ const SvgHighlightDecoration = (props) => /* @__PURE__ */ jsxs("svg", { width: 8
|
|
|
6
6
|
/* @__PURE__ */ jsx("feBlend", { mode: "normal", in: "SourceGraphic", in2: "BackgroundImageFix", result: "shape" }),
|
|
7
7
|
/* @__PURE__ */ jsx("feGaussianBlur", { stdDeviation: 175, result: "effect1_foregroundBlur_711_1774" })
|
|
8
8
|
] }) }),
|
|
9
|
-
/* @__PURE__ */ jsx("style", { children: "
|
|
9
|
+
/* @__PURE__ */ jsx("style", { children: "@supports (-moz-appearance: none) {\n .firefox-highlight-fix {\n opacity: 0.3;\n filter: blur(175px);\n }\n }" })
|
|
10
10
|
] });
|
|
11
11
|
export {
|
|
12
12
|
SvgHighlightDecoration as ReactComponent
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import react__default, { ReactNode, ComponentProps } from 'react';
|
|
2
|
+
import react__default, { ReactNode, ReactElement, ComponentProps } from 'react';
|
|
3
3
|
import { Search } from 'nextra/components';
|
|
4
4
|
export { GraphQLConfCard, GraphQLConfCardProps } from './graphql-conf-card.mjs';
|
|
5
5
|
import 'next/image';
|
|
@@ -18,6 +18,7 @@ type HiveNavigationProps = {
|
|
|
18
18
|
children: ReactNode;
|
|
19
19
|
}[];
|
|
20
20
|
developerMenu: DeveloperMenuProps['developerMenu'];
|
|
21
|
+
search?: ReactElement;
|
|
21
22
|
searchProps?: ComponentProps<typeof Search>;
|
|
22
23
|
};
|
|
23
24
|
/**
|
|
@@ -32,7 +33,7 @@ type HiveNavigationProps = {
|
|
|
32
33
|
* </HiveNavigation>
|
|
33
34
|
* ```
|
|
34
35
|
*/
|
|
35
|
-
declare function HiveNavigation({ companyMenuChildren, children, className, productName, logo, navLinks, developerMenu,
|
|
36
|
+
declare function HiveNavigation({ companyMenuChildren, children, className, productName, logo, navLinks, developerMenu, search, }: HiveNavigationProps): react_jsx_runtime.JSX.Element;
|
|
36
37
|
interface ProductsMenuProps extends MenuContentColumnsProps {
|
|
37
38
|
productName: string;
|
|
38
39
|
}
|
|
@@ -51,7 +51,7 @@ function HiveNavigation({
|
|
|
51
51
|
}
|
|
52
52
|
],
|
|
53
53
|
developerMenu,
|
|
54
|
-
|
|
54
|
+
search = /* @__PURE__ */ jsx(Search, {})
|
|
55
55
|
}) {
|
|
56
56
|
const containerRef = useRef(null);
|
|
57
57
|
return /* @__PURE__ */ jsxs(
|
|
@@ -100,13 +100,7 @@ function HiveNavigation({
|
|
|
100
100
|
] }),
|
|
101
101
|
/* @__PURE__ */ jsx("div", { className: "flex-1" }),
|
|
102
102
|
children,
|
|
103
|
-
|
|
104
|
-
Search,
|
|
105
|
-
{
|
|
106
|
-
className: "relative ml-4 basis-64 [&_:is(input,kbd)]:text-green-700 dark:[&_:is(input,kbd)]:text-neutral-300 [&_input]:h-12 [&_input]:w-full [&_input]:rounded-lg [&_input]:border [&_input]:border-green-200 [&_input]:bg-white [&_input]:pl-4 [&_input]:pr-8 [&_input]:ring-[hsl(var(--nextra-primary-hue)_var(--nextra-primary-saturation)_32%/var(--tw-ring-opacity))] [&_input]:ring-offset-[rgb(var(--nextra-bg))] dark:[&_input]:border-neutral-800 [&_input]:dark:bg-inherit [&_kbd]:absolute [&_kbd]:right-4 [&_kbd]:top-1/2 [&_kbd]:my-0 [&_kbd]:-translate-y-1/2 [&_kbd]:border-none [&_kbd]:bg-green-200 dark:[&_kbd]:bg-neutral-700",
|
|
107
|
-
...searchProps
|
|
108
|
-
}
|
|
109
|
-
),
|
|
103
|
+
search,
|
|
110
104
|
/* @__PURE__ */ jsxs(
|
|
111
105
|
CallToAction,
|
|
112
106
|
{
|
|
@@ -47,7 +47,7 @@ const LegacyPackageCmd = ({
|
|
|
47
47
|
),
|
|
48
48
|
[packages]
|
|
49
49
|
);
|
|
50
|
-
return /* @__PURE__ */ jsx(Tabs, { items: PACKAGE_MANAGERS, children: PACKAGE_MANAGERS.map((pkgManager, index) => /* @__PURE__ */ jsx(Tabs.Tab, { children: /* @__PURE__ */ jsx(Pre, { "data-filename": "Terminal", "data-copy": "", "data-language": "sh", "data-theme": "default", children: /* @__PURE__ */ jsx("code", { children: /* @__PURE__ */ jsx("span", { className: "line", children: commands[index] }) }) }) }, pkgManager)) });
|
|
50
|
+
return /* @__PURE__ */ jsx(Tabs, { items: PACKAGE_MANAGERS, children: PACKAGE_MANAGERS.map((pkgManager, index) => /* @__PURE__ */ jsx(Tabs.Tab, { children: /* @__PURE__ */ jsx(Pre, { "data-filename": "Terminal", "data-copy": "", "data-language": "sh", "data-theme": "default", children: /* @__PURE__ */ jsx("code", { children: /* @__PURE__ */ jsx("span", { className: "line mx-4", children: commands[index] }) }) }) }, pkgManager)) });
|
|
51
51
|
};
|
|
52
52
|
export {
|
|
53
53
|
LegacyPackageCmd
|
|
@@ -9,27 +9,25 @@ declare const useMDXComponents: (components?: object) => {
|
|
|
9
9
|
object?: keyof react.JSX.IntrinsicElements | react.FC<Omit<react.DetailedHTMLProps<react.ObjectHTMLAttributes<HTMLObjectElement>, HTMLObjectElement>, "ref">> | undefined;
|
|
10
10
|
map?: keyof react.JSX.IntrinsicElements | react.FC<Omit<react.DetailedHTMLProps<react.MapHTMLAttributes<HTMLMapElement>, HTMLMapElement>, "ref">> | undefined;
|
|
11
11
|
filter?: keyof react.JSX.IntrinsicElements | react.FC<Omit<react.SVGProps<SVGFilterElement>, "ref">> | undefined;
|
|
12
|
+
code: keyof react.JSX.IntrinsicElements | react.FC<react.ClassAttributes<HTMLElement> & react.HTMLAttributes<HTMLElement> & {
|
|
13
|
+
"data-language"?: string;
|
|
14
|
+
}> | react.FC<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, "ref">>;
|
|
15
|
+
path?: keyof react.JSX.IntrinsicElements | react.FC<Omit<react.SVGProps<SVGPathElement>, "ref">> | undefined;
|
|
12
16
|
footer?: keyof react.JSX.IntrinsicElements | react.FC<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, "ref">> | undefined;
|
|
13
|
-
|
|
14
|
-
title?: keyof react.JSX.IntrinsicElements | react.FC<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLTitleElement>, HTMLTitleElement>, "ref">> | undefined;
|
|
15
|
-
menu?: keyof react.JSX.IntrinsicElements | react.FC<Omit<react.DetailedHTMLProps<react.MenuHTMLAttributes<HTMLElement>, HTMLElement>, "ref">> | undefined;
|
|
17
|
+
set?: keyof react.JSX.IntrinsicElements | react.FC<Omit<react.SVGProps<SVGSetElement>, "ref">> | undefined;
|
|
16
18
|
search?: keyof react.JSX.IntrinsicElements | react.FC<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, "ref">> | undefined;
|
|
19
|
+
title?: keyof react.JSX.IntrinsicElements | react.FC<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLTitleElement>, HTMLTitleElement>, "ref">> | undefined;
|
|
17
20
|
big?: keyof react.JSX.IntrinsicElements | react.FC<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, "ref">> | undefined;
|
|
18
21
|
link?: keyof react.JSX.IntrinsicElements | react.FC<Omit<react.DetailedHTMLProps<react.LinkHTMLAttributes<HTMLLinkElement>, HTMLLinkElement>, "ref">> | undefined;
|
|
19
22
|
small?: keyof react.JSX.IntrinsicElements | react.FC<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, "ref">> | undefined;
|
|
20
23
|
sub?: keyof react.JSX.IntrinsicElements | react.FC<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, "ref">> | undefined;
|
|
21
24
|
sup?: keyof react.JSX.IntrinsicElements | react.FC<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, "ref">> | undefined;
|
|
22
|
-
|
|
23
|
-
"data-language"?: string;
|
|
24
|
-
}> | react.FC<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, "ref">>;
|
|
25
|
-
path?: keyof react.JSX.IntrinsicElements | react.FC<Omit<react.SVGProps<SVGPathElement>, "ref">> | undefined;
|
|
26
|
-
set?: keyof react.JSX.IntrinsicElements | react.FC<Omit<react.SVGProps<SVGSetElement>, "ref">> | undefined;
|
|
27
|
-
time?: keyof react.JSX.IntrinsicElements | react.FC<Omit<react.DetailedHTMLProps<react.TimeHTMLAttributes<HTMLTimeElement>, HTMLTimeElement>, "ref">> | undefined;
|
|
28
|
-
span?: keyof react.JSX.IntrinsicElements | react.FC<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref">> | undefined;
|
|
25
|
+
data?: keyof react.JSX.IntrinsicElements | react.FC<Omit<react.DetailedHTMLProps<react.DataHTMLAttributes<HTMLDataElement>, HTMLDataElement>, "ref">> | undefined;
|
|
29
26
|
a: keyof react.JSX.IntrinsicElements | react.FC<Omit<react.DetailedHTMLProps<react.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "ref">>;
|
|
30
27
|
abbr?: keyof react.JSX.IntrinsicElements | react.FC<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, "ref">> | undefined;
|
|
31
28
|
address?: keyof react.JSX.IntrinsicElements | react.FC<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, "ref">> | undefined;
|
|
32
29
|
area?: keyof react.JSX.IntrinsicElements | react.FC<Omit<react.DetailedHTMLProps<react.AreaHTMLAttributes<HTMLAreaElement>, HTMLAreaElement>, "ref">> | undefined;
|
|
30
|
+
article?: keyof react.JSX.IntrinsicElements | react.FC<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, "ref">> | undefined;
|
|
33
31
|
aside?: keyof react.JSX.IntrinsicElements | react.FC<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, "ref">> | undefined;
|
|
34
32
|
audio?: keyof react.JSX.IntrinsicElements | react.FC<Omit<react.DetailedHTMLProps<react.AudioHTMLAttributes<HTMLAudioElement>, HTMLAudioElement>, "ref">> | undefined;
|
|
35
33
|
b?: keyof react.JSX.IntrinsicElements | react.FC<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, "ref">> | undefined;
|
|
@@ -46,7 +44,6 @@ declare const useMDXComponents: (components?: object) => {
|
|
|
46
44
|
cite?: keyof react.JSX.IntrinsicElements | react.FC<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, "ref">> | undefined;
|
|
47
45
|
col?: keyof react.JSX.IntrinsicElements | react.FC<Omit<react.DetailedHTMLProps<react.ColHTMLAttributes<HTMLTableColElement>, HTMLTableColElement>, "ref">> | undefined;
|
|
48
46
|
colgroup?: keyof react.JSX.IntrinsicElements | react.FC<Omit<react.DetailedHTMLProps<react.ColgroupHTMLAttributes<HTMLTableColElement>, HTMLTableColElement>, "ref">> | undefined;
|
|
49
|
-
data?: keyof react.JSX.IntrinsicElements | react.FC<Omit<react.DetailedHTMLProps<react.DataHTMLAttributes<HTMLDataElement>, HTMLDataElement>, "ref">> | undefined;
|
|
50
47
|
datalist?: keyof react.JSX.IntrinsicElements | react.FC<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDataListElement>, HTMLDataListElement>, "ref">> | undefined;
|
|
51
48
|
dd?: keyof react.JSX.IntrinsicElements | react.FC<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, "ref">> | undefined;
|
|
52
49
|
del?: keyof react.JSX.IntrinsicElements | react.FC<Omit<react.DetailedHTMLProps<react.DelHTMLAttributes<HTMLModElement>, HTMLModElement>, "ref">> | undefined;
|
|
@@ -84,6 +81,7 @@ declare const useMDXComponents: (components?: object) => {
|
|
|
84
81
|
li: keyof react.JSX.IntrinsicElements | react.FC<Omit<react.DetailedHTMLProps<react.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref">> | ((props: Omit<react.DetailedHTMLProps<react.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref">) => react_jsx_runtime.JSX.Element);
|
|
85
82
|
main?: keyof react.JSX.IntrinsicElements | react.FC<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, "ref">> | undefined;
|
|
86
83
|
mark?: keyof react.JSX.IntrinsicElements | react.FC<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, "ref">> | undefined;
|
|
84
|
+
menu?: keyof react.JSX.IntrinsicElements | react.FC<Omit<react.DetailedHTMLProps<react.MenuHTMLAttributes<HTMLElement>, HTMLElement>, "ref">> | undefined;
|
|
87
85
|
menuitem?: keyof react.JSX.IntrinsicElements | react.FC<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, "ref">> | undefined;
|
|
88
86
|
meta?: keyof react.JSX.IntrinsicElements | react.FC<Omit<react.DetailedHTMLProps<react.MetaHTMLAttributes<HTMLMetaElement>, HTMLMetaElement>, "ref">> | undefined;
|
|
89
87
|
meter?: keyof react.JSX.IntrinsicElements | react.FC<Omit<react.DetailedHTMLProps<react.MeterHTMLAttributes<HTMLMeterElement>, HTMLMeterElement>, "ref">> | undefined;
|
|
@@ -110,6 +108,7 @@ declare const useMDXComponents: (components?: object) => {
|
|
|
110
108
|
section?: keyof react.JSX.IntrinsicElements | react.FC<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, "ref">> | undefined;
|
|
111
109
|
select?: keyof react.JSX.IntrinsicElements | react.FC<Omit<react.DetailedHTMLProps<react.SelectHTMLAttributes<HTMLSelectElement>, HTMLSelectElement>, "ref">> | undefined;
|
|
112
110
|
source?: keyof react.JSX.IntrinsicElements | react.FC<Omit<react.DetailedHTMLProps<react.SourceHTMLAttributes<HTMLSourceElement>, HTMLSourceElement>, "ref">> | undefined;
|
|
111
|
+
span?: keyof react.JSX.IntrinsicElements | react.FC<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref">> | undefined;
|
|
113
112
|
strong?: keyof react.JSX.IntrinsicElements | react.FC<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, "ref">> | undefined;
|
|
114
113
|
style?: keyof react.JSX.IntrinsicElements | react.FC<Omit<react.DetailedHTMLProps<react.StyleHTMLAttributes<HTMLStyleElement>, HTMLStyleElement>, "ref">> | undefined;
|
|
115
114
|
summary: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>> | react.FC<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, "ref">>;
|
|
@@ -121,6 +120,7 @@ declare const useMDXComponents: (components?: object) => {
|
|
|
121
120
|
tfoot?: keyof react.JSX.IntrinsicElements | react.FC<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, "ref">> | undefined;
|
|
122
121
|
th: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>> | react.FC<Omit<react.DetailedHTMLProps<react.ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>, "ref">>;
|
|
123
122
|
thead?: keyof react.JSX.IntrinsicElements | react.FC<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, "ref">> | undefined;
|
|
123
|
+
time?: keyof react.JSX.IntrinsicElements | react.FC<Omit<react.DetailedHTMLProps<react.TimeHTMLAttributes<HTMLTimeElement>, HTMLTimeElement>, "ref">> | undefined;
|
|
124
124
|
tr: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>> | react.FC<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, "ref">>;
|
|
125
125
|
track?: keyof react.JSX.IntrinsicElements | react.FC<Omit<react.DetailedHTMLProps<react.TrackHTMLAttributes<HTMLTrackElement>, HTMLTrackElement>, "ref">> | undefined;
|
|
126
126
|
u?: keyof react.JSX.IntrinsicElements | react.FC<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>, "ref">> | undefined;
|
|
@@ -184,7 +184,7 @@ declare const useMDXComponents: (components?: object) => {
|
|
|
184
184
|
tspan?: keyof react.JSX.IntrinsicElements | react.FC<Omit<react.SVGProps<SVGTSpanElement>, "ref">> | undefined;
|
|
185
185
|
use?: keyof react.JSX.IntrinsicElements | react.FC<Omit<react.SVGProps<SVGUseElement>, "ref">> | undefined;
|
|
186
186
|
view?: keyof react.JSX.IntrinsicElements | react.FC<Omit<react.SVGProps<SVGViewElement>, "ref">> | undefined;
|
|
187
|
-
wrapper: nextra.MDXWrapper | (({ toc, children, ...props }: {
|
|
187
|
+
wrapper: nextra.MDXWrapper | (({ toc, children, metadata, ...props }: {
|
|
188
188
|
toc: nextra.Heading[];
|
|
189
189
|
children: react.ReactNode;
|
|
190
190
|
metadata: nextra.NextraMetadata;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FC, ReactNode, ComponentProps } from 'react';
|
|
1
|
+
import { FC, ReactNode, ComponentProps, ReactElement } from 'react';
|
|
2
2
|
import { Metadata } from 'next';
|
|
3
3
|
import { PageMapItem } from 'nextra';
|
|
4
4
|
import { Navbar, Layout } from 'nextra-theme-docs';
|
|
@@ -37,6 +37,7 @@ declare const GuildLayout: FC<{
|
|
|
37
37
|
*/
|
|
38
38
|
navbarProps: NavbarProps;
|
|
39
39
|
pageMap?: PageMapItem[];
|
|
40
|
+
search?: ReactElement;
|
|
40
41
|
}>;
|
|
41
42
|
declare function getDefaultMetadata({ websiteName, description, productName, ...additionalMetadata }: {
|
|
42
43
|
description?: string;
|
|
@@ -41,6 +41,7 @@ const GuildLayout = async ({
|
|
|
41
41
|
logo,
|
|
42
42
|
layoutProps,
|
|
43
43
|
navbarProps,
|
|
44
|
+
search,
|
|
44
45
|
...props
|
|
45
46
|
}) => {
|
|
46
47
|
const [meta, ...pageMap] = props.pageMap || await getPageMap();
|
|
@@ -81,12 +82,14 @@ const GuildLayout = async ({
|
|
|
81
82
|
description
|
|
82
83
|
}
|
|
83
84
|
),
|
|
85
|
+
search,
|
|
84
86
|
navbar: /* @__PURE__ */ jsx(
|
|
85
87
|
HiveNavigation,
|
|
86
88
|
{
|
|
87
89
|
className: "max-w-[90rem]",
|
|
88
90
|
productName: websiteName,
|
|
89
91
|
navLinks: [],
|
|
92
|
+
search,
|
|
90
93
|
...navbarProps,
|
|
91
94
|
logo: /* @__PURE__ */ jsxs(
|
|
92
95
|
Anchor,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theguild/components",
|
|
3
|
-
"version": "8.1.3-alpha-
|
|
3
|
+
"version": "8.1.3-alpha-20241223081356-5db65e388876613196d8059f92d138effc10ff7f",
|
|
4
4
|
"repository": {
|
|
5
5
|
"url": "https://github.com/the-guild-org/docs",
|
|
6
6
|
"directory": "packages/components"
|
|
@@ -49,15 +49,15 @@
|
|
|
49
49
|
"@radix-ui/react-navigation-menu": "^1.2.0",
|
|
50
50
|
"clsx": "2.1.1",
|
|
51
51
|
"fuzzy": "0.1.3",
|
|
52
|
-
"nextra": "4.0.0-app-router.
|
|
53
|
-
"nextra-theme-docs": "4.0.0-app-router.
|
|
52
|
+
"nextra": "4.0.0-app-router.42",
|
|
53
|
+
"nextra-theme-docs": "4.0.0-app-router.42",
|
|
54
54
|
"react-paginate": "8.2.0",
|
|
55
55
|
"react-player": "2.16.0",
|
|
56
56
|
"semver": "^7.3.8",
|
|
57
57
|
"tailwind-merge": "^2.5.2"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@svgr/
|
|
60
|
+
"@svgr/plugin-svgo": "^8.1.0",
|
|
61
61
|
"@theguild/tailwind-config": "0.6.2",
|
|
62
62
|
"@types/dedent": "0.7.2",
|
|
63
63
|
"@types/react": "18.3.18",
|
package/style.css
CHANGED
|
@@ -127,7 +127,23 @@
|
|
|
127
127
|
:root {
|
|
128
128
|
--nextra-navbar-height: 82px;
|
|
129
129
|
}
|
|
130
|
-
|
|
130
|
+
@media (min-width: 768px) {
|
|
131
|
+
.nextra-search {
|
|
132
|
+
@apply ml-3 basis-64;
|
|
133
|
+
input,
|
|
134
|
+
kbd {
|
|
135
|
+
@apply text-green-700 dark:text-neutral-300;
|
|
136
|
+
}
|
|
137
|
+
input {
|
|
138
|
+
@apply h-12 w-full rounded-lg border border-green-200 bg-white pl-4 pr-8;
|
|
139
|
+
@apply ring-[hsl(var(--nextra-primary-hue)_var(--nextra-primary-saturation)_32%/var(--tw-ring-opacity))];
|
|
140
|
+
@apply ring-offset-[rgb(var(--nextra-bg))] dark:border-neutral-800 dark:bg-inherit;
|
|
141
|
+
}
|
|
142
|
+
kbd {
|
|
143
|
+
@apply absolute right-4 top-1/2 my-0 -translate-y-1/2 border-none bg-green-200 dark:bg-neutral-700;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
131
147
|
@media (max-width: 767px) {
|
|
132
148
|
:root {
|
|
133
149
|
--nextra-navbar-height: 64px;
|