@theguild/components 8.0.0-alpha-20241120102305-7dcb590d4f7bc7b3583bbcd44414b5dbdfec5e69 → 8.0.0-alpha-20241120105145-cd16661303b7d080c2fd1c50e3ed8d407c9106f7
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/cookies-consent.d.mts +1 -2
- package/dist/components/footer.d.mts +9 -0
- package/dist/components/footer.js +116 -0
- package/dist/components/get-your-api-game-right-section.js +2 -2
- package/dist/components/guild-navbar-logo.d.mts +19 -0
- package/dist/components/guild-navbar-logo.js +62 -0
- package/dist/components/hive-footer.d.mts +12 -0
- package/dist/components/{hive-footer/index.js → hive-footer.js} +27 -14
- package/dist/components/hive-navigation/index.d.mts +4 -6
- package/dist/components/hive-navigation/index.js +27 -33
- package/dist/components/icons/index.d.mts +1 -1
- package/dist/components/icons/index.js +52 -50
- package/dist/components/index.d.mts +5 -4
- package/dist/components/index.js +7 -3
- package/dist/components/schema-type.js +1 -1
- package/dist/components/stud.d.mts +1 -2
- package/dist/helpers/render-slot.d.mts +3 -0
- package/dist/helpers/render-slot.js +21 -0
- package/dist/index.d.mts +8 -6
- package/dist/index.js +1 -3
- package/dist/logos/guild.js +1 -1
- package/dist/logos/index.d.mts +21 -20
- package/dist/logos/index.js +13 -16
- package/dist/products.js +17 -15
- package/dist/server/index.d.mts +8 -7
- package/dist/server/index.js +1 -2
- package/dist/server/mdx-components.d.mts +213 -2
- package/dist/server/next.config.js +2 -16
- package/dist/server/theme-layout.d.mts +1 -7
- package/dist/server/theme-layout.js +15 -31
- package/dist/types/components.d.mts +6 -1
- package/package.json +2 -2
- package/style.css +30 -6
- package/dist/components/hive-footer/contact-us.d.mts +0 -5
- package/dist/components/hive-footer/contact-us.js +0 -21
- package/dist/components/hive-footer/index.d.mts +0 -16
|
@@ -1,5 +1,216 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as nextra from 'nextra';
|
|
2
|
+
import * as nextra_components from 'nextra/components';
|
|
3
|
+
import * as nextra_mdx_components_pre_index from 'nextra/mdx-components/pre/index';
|
|
4
|
+
import * as next_image from 'next/image';
|
|
5
|
+
import * as next_dist_shared_lib_get_img_props from 'next/dist/shared/lib/get-img-props';
|
|
6
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
7
|
+
import * as react from 'react';
|
|
2
8
|
|
|
3
|
-
declare const useMDXComponents:
|
|
9
|
+
declare const useMDXComponents: (components: object) => {
|
|
10
|
+
a: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>>;
|
|
11
|
+
abbr?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>> | undefined;
|
|
12
|
+
address?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>> | undefined;
|
|
13
|
+
area?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.AreaHTMLAttributes<HTMLAreaElement>, HTMLAreaElement>> | undefined;
|
|
14
|
+
article?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>> | undefined;
|
|
15
|
+
aside?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>> | undefined;
|
|
16
|
+
audio?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.AudioHTMLAttributes<HTMLAudioElement>, HTMLAudioElement>> | undefined;
|
|
17
|
+
b?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>> | undefined;
|
|
18
|
+
base?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.BaseHTMLAttributes<HTMLBaseElement>, HTMLBaseElement>> | undefined;
|
|
19
|
+
bdi?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>> | undefined;
|
|
20
|
+
bdo?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>> | undefined;
|
|
21
|
+
big?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>> | undefined;
|
|
22
|
+
blockquote: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.BlockquoteHTMLAttributes<HTMLQuoteElement>, HTMLQuoteElement>>;
|
|
23
|
+
body?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLBodyElement>, HTMLBodyElement>> | undefined;
|
|
24
|
+
br?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLBRElement>, HTMLBRElement>> | undefined;
|
|
25
|
+
button?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>> | undefined;
|
|
26
|
+
canvas?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.CanvasHTMLAttributes<HTMLCanvasElement>, HTMLCanvasElement>> | undefined;
|
|
27
|
+
caption?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>> | undefined;
|
|
28
|
+
center?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>> | undefined;
|
|
29
|
+
cite?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>> | undefined;
|
|
30
|
+
code: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>> | react.FC<react.ClassAttributes<HTMLElement> & react.HTMLAttributes<HTMLElement> & {
|
|
31
|
+
"data-language"?: string;
|
|
32
|
+
}>;
|
|
33
|
+
col?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.ColHTMLAttributes<HTMLTableColElement>, HTMLTableColElement>> | undefined;
|
|
34
|
+
colgroup?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.ColgroupHTMLAttributes<HTMLTableColElement>, HTMLTableColElement>> | undefined;
|
|
35
|
+
data?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.DataHTMLAttributes<HTMLDataElement>, HTMLDataElement>> | undefined;
|
|
36
|
+
datalist?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDataListElement>, HTMLDataListElement>> | undefined;
|
|
37
|
+
dd?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>> | undefined;
|
|
38
|
+
del?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.DelHTMLAttributes<HTMLModElement>, HTMLModElement>> | undefined;
|
|
39
|
+
details: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.DetailsHTMLAttributes<HTMLDetailsElement>, HTMLDetailsElement>>;
|
|
40
|
+
dfn?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>> | undefined;
|
|
41
|
+
dialog?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.DialogHTMLAttributes<HTMLDialogElement>, HTMLDialogElement>> | undefined;
|
|
42
|
+
div?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>> | undefined;
|
|
43
|
+
dl?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDListElement>, HTMLDListElement>> | undefined;
|
|
44
|
+
dt?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>> | undefined;
|
|
45
|
+
em?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>> | undefined;
|
|
46
|
+
embed?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.EmbedHTMLAttributes<HTMLEmbedElement>, HTMLEmbedElement>> | undefined;
|
|
47
|
+
fieldset?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.FieldsetHTMLAttributes<HTMLFieldSetElement>, HTMLFieldSetElement>> | undefined;
|
|
48
|
+
figcaption?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>> | undefined;
|
|
49
|
+
figure?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>> | undefined;
|
|
50
|
+
footer?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>> | undefined;
|
|
51
|
+
form?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>> | undefined;
|
|
52
|
+
h1: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>>;
|
|
53
|
+
h2: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>>;
|
|
54
|
+
h3: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>>;
|
|
55
|
+
h4: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>>;
|
|
56
|
+
h5: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>>;
|
|
57
|
+
h6: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>>;
|
|
58
|
+
head?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLHeadElement>, HTMLHeadElement>> | undefined;
|
|
59
|
+
header?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>> | undefined;
|
|
60
|
+
hgroup?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>> | undefined;
|
|
61
|
+
hr: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLHRElement>, HTMLHRElement>> | ((props: react.DetailedHTMLProps<react.HTMLAttributes<HTMLHRElement>, HTMLHRElement>) => react_jsx_runtime.JSX.Element);
|
|
62
|
+
html?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HtmlHTMLAttributes<HTMLHtmlElement>, HTMLHtmlElement>> | undefined;
|
|
63
|
+
i?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>> | undefined;
|
|
64
|
+
iframe?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.IframeHTMLAttributes<HTMLIFrameElement>, HTMLIFrameElement>> | undefined;
|
|
65
|
+
img: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>> | ((props: react.DetailedHTMLProps<react.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>) => react.ReactElement<Omit<react.DetailedHTMLProps<react.ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, "ref" | "src" | "height" | "width" | "loading" | "alt" | "srcSet"> & {
|
|
66
|
+
src: string | next_dist_shared_lib_get_img_props.StaticImport;
|
|
67
|
+
alt: string;
|
|
68
|
+
width?: number | `${number}`;
|
|
69
|
+
height?: number | `${number}`;
|
|
70
|
+
fill?: boolean;
|
|
71
|
+
loader?: next_image.ImageLoader;
|
|
72
|
+
quality?: number | `${number}`;
|
|
73
|
+
priority?: boolean;
|
|
74
|
+
loading?: "eager" | "lazy" | undefined;
|
|
75
|
+
placeholder?: next_dist_shared_lib_get_img_props.PlaceholderValue;
|
|
76
|
+
blurDataURL?: string;
|
|
77
|
+
unoptimized?: boolean;
|
|
78
|
+
overrideSrc?: string;
|
|
79
|
+
onLoadingComplete?: next_dist_shared_lib_get_img_props.OnLoadingComplete;
|
|
80
|
+
layout?: string;
|
|
81
|
+
objectFit?: string;
|
|
82
|
+
objectPosition?: string;
|
|
83
|
+
lazyBoundary?: string;
|
|
84
|
+
lazyRoot?: string;
|
|
85
|
+
} & react.RefAttributes<HTMLImageElement | null>, string | react.JSXElementConstructor<any>>);
|
|
86
|
+
input?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>> | undefined;
|
|
87
|
+
ins?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.InsHTMLAttributes<HTMLModElement>, HTMLModElement>> | undefined;
|
|
88
|
+
kbd?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>> | undefined;
|
|
89
|
+
keygen?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.KeygenHTMLAttributes<HTMLElement>, HTMLElement>> | undefined;
|
|
90
|
+
label?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>> | undefined;
|
|
91
|
+
legend?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLLegendElement>, HTMLLegendElement>> | undefined;
|
|
92
|
+
li: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>> | ((props: react.DetailedHTMLProps<react.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>) => react_jsx_runtime.JSX.Element);
|
|
93
|
+
link?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.LinkHTMLAttributes<HTMLLinkElement>, HTMLLinkElement>> | undefined;
|
|
94
|
+
main?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>> | undefined;
|
|
95
|
+
map?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.MapHTMLAttributes<HTMLMapElement>, HTMLMapElement>> | undefined;
|
|
96
|
+
mark?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>> | undefined;
|
|
97
|
+
menu?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.MenuHTMLAttributes<HTMLElement>, HTMLElement>> | undefined;
|
|
98
|
+
menuitem?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>> | undefined;
|
|
99
|
+
meta?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.MetaHTMLAttributes<HTMLMetaElement>, HTMLMetaElement>> | undefined;
|
|
100
|
+
meter?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.MeterHTMLAttributes<HTMLMeterElement>, HTMLMeterElement>> | undefined;
|
|
101
|
+
nav?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>> | undefined;
|
|
102
|
+
noindex?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>> | undefined;
|
|
103
|
+
noscript?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>> | undefined;
|
|
104
|
+
object?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.ObjectHTMLAttributes<HTMLObjectElement>, HTMLObjectElement>> | undefined;
|
|
105
|
+
ol: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>> | ((props: react.DetailedHTMLProps<react.OlHTMLAttributes<HTMLOListElement>, HTMLOListElement>) => react_jsx_runtime.JSX.Element);
|
|
106
|
+
optgroup?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.OptgroupHTMLAttributes<HTMLOptGroupElement>, HTMLOptGroupElement>> | undefined;
|
|
107
|
+
option?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.OptionHTMLAttributes<HTMLOptionElement>, HTMLOptionElement>> | undefined;
|
|
108
|
+
output?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.OutputHTMLAttributes<HTMLOutputElement>, HTMLOutputElement>> | undefined;
|
|
109
|
+
p: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>> | ((props: react.DetailedHTMLProps<react.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>) => react_jsx_runtime.JSX.Element);
|
|
110
|
+
param?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.ParamHTMLAttributes<HTMLParamElement>, HTMLParamElement>> | undefined;
|
|
111
|
+
picture?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>> | undefined;
|
|
112
|
+
pre: keyof react.JSX.IntrinsicElements | react.FC<nextra_mdx_components_pre_index.PreProps> | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLPreElement>, HTMLPreElement>>;
|
|
113
|
+
progress?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.ProgressHTMLAttributes<HTMLProgressElement>, HTMLProgressElement>> | undefined;
|
|
114
|
+
q?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.QuoteHTMLAttributes<HTMLQuoteElement>, HTMLQuoteElement>> | undefined;
|
|
115
|
+
rp?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>> | undefined;
|
|
116
|
+
rt?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>> | undefined;
|
|
117
|
+
ruby?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>> | undefined;
|
|
118
|
+
s?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>> | undefined;
|
|
119
|
+
samp?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>> | undefined;
|
|
120
|
+
search?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>> | undefined;
|
|
121
|
+
slot?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.SlotHTMLAttributes<HTMLSlotElement>, HTMLSlotElement>> | undefined;
|
|
122
|
+
script?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.ScriptHTMLAttributes<HTMLScriptElement>, HTMLScriptElement>> | undefined;
|
|
123
|
+
section?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>> | undefined;
|
|
124
|
+
select?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.SelectHTMLAttributes<HTMLSelectElement>, HTMLSelectElement>> | undefined;
|
|
125
|
+
small?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>> | undefined;
|
|
126
|
+
source?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.SourceHTMLAttributes<HTMLSourceElement>, HTMLSourceElement>> | undefined;
|
|
127
|
+
span?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>> | undefined;
|
|
128
|
+
strong?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>> | undefined;
|
|
129
|
+
style?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.StyleHTMLAttributes<HTMLStyleElement>, HTMLStyleElement>> | undefined;
|
|
130
|
+
sub?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>> | undefined;
|
|
131
|
+
summary: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>> | typeof nextra_components.Summary;
|
|
132
|
+
sup?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>> | undefined;
|
|
133
|
+
table: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>> | (({ className, ...props }: react.DetailedHTMLProps<react.TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>) => react_jsx_runtime.JSX.Element);
|
|
134
|
+
template?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLTemplateElement>, HTMLTemplateElement>> | undefined;
|
|
135
|
+
tbody?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>> | undefined;
|
|
136
|
+
td: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>>;
|
|
137
|
+
textarea?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>> | undefined;
|
|
138
|
+
tfoot?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>> | undefined;
|
|
139
|
+
th: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>>;
|
|
140
|
+
thead?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>> | undefined;
|
|
141
|
+
time?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.TimeHTMLAttributes<HTMLTimeElement>, HTMLTimeElement>> | undefined;
|
|
142
|
+
title?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLTitleElement>, HTMLTitleElement>> | undefined;
|
|
143
|
+
tr: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>>;
|
|
144
|
+
track?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.TrackHTMLAttributes<HTMLTrackElement>, HTMLTrackElement>> | undefined;
|
|
145
|
+
u?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>> | undefined;
|
|
146
|
+
ul: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLUListElement>, HTMLUListElement>> | ((props: react.DetailedHTMLProps<react.HTMLAttributes<HTMLUListElement>, HTMLUListElement>) => react_jsx_runtime.JSX.Element);
|
|
147
|
+
var?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>> | undefined;
|
|
148
|
+
video?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.VideoHTMLAttributes<HTMLVideoElement>, HTMLVideoElement>> | undefined;
|
|
149
|
+
wbr?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLElement>, HTMLElement>> | undefined;
|
|
150
|
+
webview?: keyof react.JSX.IntrinsicElements | react.FC<react.DetailedHTMLProps<react.WebViewHTMLAttributes<HTMLWebViewElement>, HTMLWebViewElement>> | undefined;
|
|
151
|
+
svg?: keyof react.JSX.IntrinsicElements | react.FC<react.SVGProps<SVGSVGElement>> | undefined;
|
|
152
|
+
animate?: keyof react.JSX.IntrinsicElements | react.FC<react.SVGProps<SVGElement>> | undefined;
|
|
153
|
+
animateMotion?: keyof react.JSX.IntrinsicElements | react.FC<react.SVGProps<SVGElement>> | undefined;
|
|
154
|
+
animateTransform?: keyof react.JSX.IntrinsicElements | react.FC<react.SVGProps<SVGElement>> | undefined;
|
|
155
|
+
circle?: keyof react.JSX.IntrinsicElements | react.FC<react.SVGProps<SVGCircleElement>> | undefined;
|
|
156
|
+
clipPath?: keyof react.JSX.IntrinsicElements | react.FC<react.SVGProps<SVGClipPathElement>> | undefined;
|
|
157
|
+
defs?: keyof react.JSX.IntrinsicElements | react.FC<react.SVGProps<SVGDefsElement>> | undefined;
|
|
158
|
+
desc?: keyof react.JSX.IntrinsicElements | react.FC<react.SVGProps<SVGDescElement>> | undefined;
|
|
159
|
+
ellipse?: keyof react.JSX.IntrinsicElements | react.FC<react.SVGProps<SVGEllipseElement>> | undefined;
|
|
160
|
+
feBlend?: keyof react.JSX.IntrinsicElements | react.FC<react.SVGProps<SVGFEBlendElement>> | undefined;
|
|
161
|
+
feColorMatrix?: keyof react.JSX.IntrinsicElements | react.FC<react.SVGProps<SVGFEColorMatrixElement>> | undefined;
|
|
162
|
+
feComponentTransfer?: keyof react.JSX.IntrinsicElements | react.FC<react.SVGProps<SVGFEComponentTransferElement>> | undefined;
|
|
163
|
+
feComposite?: keyof react.JSX.IntrinsicElements | react.FC<react.SVGProps<SVGFECompositeElement>> | undefined;
|
|
164
|
+
feConvolveMatrix?: keyof react.JSX.IntrinsicElements | react.FC<react.SVGProps<SVGFEConvolveMatrixElement>> | undefined;
|
|
165
|
+
feDiffuseLighting?: keyof react.JSX.IntrinsicElements | react.FC<react.SVGProps<SVGFEDiffuseLightingElement>> | undefined;
|
|
166
|
+
feDisplacementMap?: keyof react.JSX.IntrinsicElements | react.FC<react.SVGProps<SVGFEDisplacementMapElement>> | undefined;
|
|
167
|
+
feDistantLight?: keyof react.JSX.IntrinsicElements | react.FC<react.SVGProps<SVGFEDistantLightElement>> | undefined;
|
|
168
|
+
feDropShadow?: keyof react.JSX.IntrinsicElements | react.FC<react.SVGProps<SVGFEDropShadowElement>> | undefined;
|
|
169
|
+
feFlood?: keyof react.JSX.IntrinsicElements | react.FC<react.SVGProps<SVGFEFloodElement>> | undefined;
|
|
170
|
+
feFuncA?: keyof react.JSX.IntrinsicElements | react.FC<react.SVGProps<SVGFEFuncAElement>> | undefined;
|
|
171
|
+
feFuncB?: keyof react.JSX.IntrinsicElements | react.FC<react.SVGProps<SVGFEFuncBElement>> | undefined;
|
|
172
|
+
feFuncG?: keyof react.JSX.IntrinsicElements | react.FC<react.SVGProps<SVGFEFuncGElement>> | undefined;
|
|
173
|
+
feFuncR?: keyof react.JSX.IntrinsicElements | react.FC<react.SVGProps<SVGFEFuncRElement>> | undefined;
|
|
174
|
+
feGaussianBlur?: keyof react.JSX.IntrinsicElements | react.FC<react.SVGProps<SVGFEGaussianBlurElement>> | undefined;
|
|
175
|
+
feImage?: keyof react.JSX.IntrinsicElements | react.FC<react.SVGProps<SVGFEImageElement>> | undefined;
|
|
176
|
+
feMerge?: keyof react.JSX.IntrinsicElements | react.FC<react.SVGProps<SVGFEMergeElement>> | undefined;
|
|
177
|
+
feMergeNode?: keyof react.JSX.IntrinsicElements | react.FC<react.SVGProps<SVGFEMergeNodeElement>> | undefined;
|
|
178
|
+
feMorphology?: keyof react.JSX.IntrinsicElements | react.FC<react.SVGProps<SVGFEMorphologyElement>> | undefined;
|
|
179
|
+
feOffset?: keyof react.JSX.IntrinsicElements | react.FC<react.SVGProps<SVGFEOffsetElement>> | undefined;
|
|
180
|
+
fePointLight?: keyof react.JSX.IntrinsicElements | react.FC<react.SVGProps<SVGFEPointLightElement>> | undefined;
|
|
181
|
+
feSpecularLighting?: keyof react.JSX.IntrinsicElements | react.FC<react.SVGProps<SVGFESpecularLightingElement>> | undefined;
|
|
182
|
+
feSpotLight?: keyof react.JSX.IntrinsicElements | react.FC<react.SVGProps<SVGFESpotLightElement>> | undefined;
|
|
183
|
+
feTile?: keyof react.JSX.IntrinsicElements | react.FC<react.SVGProps<SVGFETileElement>> | undefined;
|
|
184
|
+
feTurbulence?: keyof react.JSX.IntrinsicElements | react.FC<react.SVGProps<SVGFETurbulenceElement>> | undefined;
|
|
185
|
+
filter?: keyof react.JSX.IntrinsicElements | react.FC<react.SVGProps<SVGFilterElement>> | undefined;
|
|
186
|
+
foreignObject?: keyof react.JSX.IntrinsicElements | react.FC<react.SVGProps<SVGForeignObjectElement>> | undefined;
|
|
187
|
+
g?: keyof react.JSX.IntrinsicElements | react.FC<react.SVGProps<SVGGElement>> | undefined;
|
|
188
|
+
image?: keyof react.JSX.IntrinsicElements | react.FC<react.SVGProps<SVGImageElement>> | undefined;
|
|
189
|
+
line?: keyof react.JSX.IntrinsicElements | react.FC<react.SVGLineElementAttributes<SVGLineElement>> | undefined;
|
|
190
|
+
linearGradient?: keyof react.JSX.IntrinsicElements | react.FC<react.SVGProps<SVGLinearGradientElement>> | undefined;
|
|
191
|
+
marker?: keyof react.JSX.IntrinsicElements | react.FC<react.SVGProps<SVGMarkerElement>> | undefined;
|
|
192
|
+
mask?: keyof react.JSX.IntrinsicElements | react.FC<react.SVGProps<SVGMaskElement>> | undefined;
|
|
193
|
+
metadata?: keyof react.JSX.IntrinsicElements | react.FC<react.SVGProps<SVGMetadataElement>> | undefined;
|
|
194
|
+
mpath?: keyof react.JSX.IntrinsicElements | react.FC<react.SVGProps<SVGElement>> | undefined;
|
|
195
|
+
path?: keyof react.JSX.IntrinsicElements | react.FC<react.SVGProps<SVGPathElement>> | undefined;
|
|
196
|
+
pattern?: keyof react.JSX.IntrinsicElements | react.FC<react.SVGProps<SVGPatternElement>> | undefined;
|
|
197
|
+
polygon?: keyof react.JSX.IntrinsicElements | react.FC<react.SVGProps<SVGPolygonElement>> | undefined;
|
|
198
|
+
polyline?: keyof react.JSX.IntrinsicElements | react.FC<react.SVGProps<SVGPolylineElement>> | undefined;
|
|
199
|
+
radialGradient?: keyof react.JSX.IntrinsicElements | react.FC<react.SVGProps<SVGRadialGradientElement>> | undefined;
|
|
200
|
+
rect?: keyof react.JSX.IntrinsicElements | react.FC<react.SVGProps<SVGRectElement>> | undefined;
|
|
201
|
+
set?: keyof react.JSX.IntrinsicElements | react.FC<react.SVGProps<SVGSetElement>> | undefined;
|
|
202
|
+
stop?: keyof react.JSX.IntrinsicElements | react.FC<react.SVGProps<SVGStopElement>> | undefined;
|
|
203
|
+
switch?: keyof react.JSX.IntrinsicElements | react.FC<react.SVGProps<SVGSwitchElement>> | undefined;
|
|
204
|
+
symbol?: keyof react.JSX.IntrinsicElements | react.FC<react.SVGProps<SVGSymbolElement>> | undefined;
|
|
205
|
+
text?: keyof react.JSX.IntrinsicElements | react.FC<react.SVGTextElementAttributes<SVGTextElement>> | undefined;
|
|
206
|
+
textPath?: keyof react.JSX.IntrinsicElements | react.FC<react.SVGProps<SVGTextPathElement>> | undefined;
|
|
207
|
+
tspan?: keyof react.JSX.IntrinsicElements | react.FC<react.SVGProps<SVGTSpanElement>> | undefined;
|
|
208
|
+
use?: keyof react.JSX.IntrinsicElements | react.FC<react.SVGProps<SVGUseElement>> | undefined;
|
|
209
|
+
view?: keyof react.JSX.IntrinsicElements | react.FC<react.SVGProps<SVGViewElement>> | undefined;
|
|
210
|
+
wrapper: nextra.MDXWrapper | (({ toc, children, ...props }: {
|
|
211
|
+
toc: nextra.Heading[];
|
|
212
|
+
children: react.ReactNode;
|
|
213
|
+
} & nextra.PageOpts) => react_jsx_runtime.JSX.Element);
|
|
214
|
+
};
|
|
4
215
|
|
|
5
216
|
export { useMDXComponents };
|
|
@@ -5,21 +5,10 @@ import nextBundleAnalyzer from "@next/bundle-analyzer";
|
|
|
5
5
|
import { applyUnderscoreRedirects } from "./underscore-redirects.js";
|
|
6
6
|
const warnings = /* @__PURE__ */ new Set();
|
|
7
7
|
const require2 = createRequire(import.meta.url);
|
|
8
|
-
|
|
9
|
-
const [n] = node.data.estree.body;
|
|
10
|
-
return n.declaration.declarations[0].init.properties;
|
|
11
|
-
}
|
|
12
|
-
function isExportNode(node, varName) {
|
|
13
|
-
if (node.type !== "mdxjsEsm") return false;
|
|
14
|
-
const [n] = node.data.estree.body;
|
|
15
|
-
if (n.type !== "ExportNamedDeclaration") return false;
|
|
16
|
-
const name = n.declaration?.declarations?.[0].id.name;
|
|
17
|
-
if (!name) return false;
|
|
18
|
-
return name === varName;
|
|
19
|
-
}
|
|
20
|
-
const rehypeCheckFrontMatter = () => (ast, file) => {
|
|
8
|
+
const rehypeCheckFrontMatter = () => (_ast, file) => {
|
|
21
9
|
const [filePath] = file.history;
|
|
22
10
|
if (!filePath) return;
|
|
11
|
+
const { description } = file.data.frontMatter;
|
|
23
12
|
const relativePath = path.relative(process.cwd(), filePath);
|
|
24
13
|
const fileName = path.parse(relativePath).name;
|
|
25
14
|
const isPage = relativePath.startsWith("app/") && fileName === "page" || relativePath.startsWith("/content/");
|
|
@@ -31,9 +20,6 @@ const rehypeCheckFrontMatter = () => (ast, file) => {
|
|
|
31
20
|
console.warn(msg);
|
|
32
21
|
}
|
|
33
22
|
}
|
|
34
|
-
const frontMatterNode = ast.children.find((node) => isExportNode(node, "metadata"));
|
|
35
|
-
const frontMatter = getFrontMatterASTObject(frontMatterNode);
|
|
36
|
-
const description = frontMatter.find((o) => o.key.value === "description")?.value.value;
|
|
37
23
|
if (!description) {
|
|
38
24
|
warnOnce("The description is missing");
|
|
39
25
|
} else if (description.length > 160) {
|
|
@@ -2,15 +2,9 @@ import { FC, ReactNode, ComponentProps } from 'react';
|
|
|
2
2
|
import { Metadata } from 'next';
|
|
3
3
|
import { Navbar, Layout } from 'nextra-theme-docs';
|
|
4
4
|
import { Head } from 'nextra/components';
|
|
5
|
-
import { HiveNavigation } from '../components/hive-navigation/index.mjs';
|
|
6
|
-
import 'react/jsx-runtime';
|
|
7
|
-
import '../components/hive-navigation/graphql-conf-card.mjs';
|
|
8
|
-
import 'next/image';
|
|
9
5
|
|
|
10
6
|
type LP = ComponentProps<typeof Layout>;
|
|
11
7
|
type LayoutProps = Omit<LP, 'navbar' | 'footer' | 'children' | 'docsRepositoryBase' | 'pageMap'> & Partial<Pick<LP, 'navbar' | 'footer' | 'pageMap'>> & Required<Pick<LP, 'docsRepositoryBase'>>;
|
|
12
|
-
type NP = ComponentProps<typeof HiveNavigation>;
|
|
13
|
-
type NavbarProps = Omit<NP, 'productName'> & Partial<Pick<NP, 'productName'>>;
|
|
14
8
|
declare const GuildLayout: FC<{
|
|
15
9
|
children: ReactNode;
|
|
16
10
|
websiteName: string;
|
|
@@ -34,7 +28,7 @@ declare const GuildLayout: FC<{
|
|
|
34
28
|
/**
|
|
35
29
|
* Nextra's Docs Theme `<Navbar>` component props
|
|
36
30
|
*/
|
|
37
|
-
navbarProps?:
|
|
31
|
+
navbarProps?: LayoutProps;
|
|
38
32
|
}>;
|
|
39
33
|
declare function getDefaultMetadata({ websiteName, description, productName, ...additionalMetadata }: {
|
|
40
34
|
description?: string;
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Layout } from "nextra-theme-docs";
|
|
2
|
+
import { Layout, Navbar } from "nextra-theme-docs";
|
|
3
3
|
import { Head } from "nextra/components";
|
|
4
4
|
import { getPageMap } from "nextra/page-map";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
5
|
+
import { Footer } from "../components/footer";
|
|
6
|
+
import { getNavbarLogo } from "../components/guild-navbar-logo";
|
|
7
|
+
import { MoonIcon } from "../components/icons";
|
|
8
|
+
import { ThemeSwitcherButton } from "../components/theme-switcher";
|
|
9
|
+
import { siteOrigin, siteUrl } from "../constants";
|
|
10
|
+
import { PRODUCTS } from "../products";
|
|
10
11
|
const companyItem = {
|
|
11
12
|
type: "menu",
|
|
12
13
|
title: "Company",
|
|
@@ -42,6 +43,8 @@ const GuildLayout = async ({
|
|
|
42
43
|
layoutProps,
|
|
43
44
|
navbarProps
|
|
44
45
|
}) => {
|
|
46
|
+
const url = new URL(layoutProps.docsRepositoryBase);
|
|
47
|
+
const [, org, repoName] = url.pathname.split("/");
|
|
45
48
|
const [meta, ...pageMap] = await getPageMap();
|
|
46
49
|
const pageMapWithCompanyMenu = [
|
|
47
50
|
{
|
|
@@ -70,34 +73,15 @@ const GuildLayout = async ({
|
|
|
70
73
|
/* @__PURE__ */ jsx("body", { children: /* @__PURE__ */ jsx(
|
|
71
74
|
Layout,
|
|
72
75
|
{
|
|
73
|
-
footer: /* @__PURE__ */ jsx(
|
|
74
|
-
HiveFooter,
|
|
75
|
-
{
|
|
76
|
-
logo: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
|
|
77
|
-
logo,
|
|
78
|
-
/* @__PURE__ */ jsx("span", { className: "text-2xl/[1.2] font-medium tracking-[-0.16px]", children: websiteName })
|
|
79
|
-
] }),
|
|
80
|
-
description
|
|
81
|
-
}
|
|
82
|
-
),
|
|
76
|
+
footer: /* @__PURE__ */ jsx(Footer, {}),
|
|
83
77
|
navbar: /* @__PURE__ */ jsx(
|
|
84
|
-
|
|
78
|
+
Navbar,
|
|
85
79
|
{
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
80
|
+
logo: getNavbarLogo({ logo, websiteName, description }),
|
|
81
|
+
logoLink: false,
|
|
82
|
+
projectLink: `${url.origin}/${org}/${repoName}`,
|
|
89
83
|
...navbarProps,
|
|
90
|
-
|
|
91
|
-
Anchor,
|
|
92
|
-
{
|
|
93
|
-
href: "/",
|
|
94
|
-
className: "hive-focus -m-2 flex shrink-0 items-center gap-3 rounded-md p-2",
|
|
95
|
-
children: [
|
|
96
|
-
logo,
|
|
97
|
-
/* @__PURE__ */ jsx("span", { className: "text-2xl font-medium tracking-[-0.16px]", children: websiteName })
|
|
98
|
-
]
|
|
99
|
-
}
|
|
100
|
-
)
|
|
84
|
+
children: /* @__PURE__ */ jsx(ThemeSwitcherButton, { children: /* @__PURE__ */ jsx(MoonIcon, { className: "fill-transparent stroke-gray-500 dark:fill-gray-100 dark:stroke-gray-100" }) })
|
|
101
85
|
}
|
|
102
86
|
),
|
|
103
87
|
editLink: "Edit this page on GitHub",
|
|
@@ -11,6 +11,11 @@ type ILink = LinkProps & Pick<ComponentProps<'a'>, 'target' | 'rel' | 'title' |
|
|
|
11
11
|
children: ReactNode;
|
|
12
12
|
newWindow?: boolean;
|
|
13
13
|
};
|
|
14
|
+
interface IFooterExtendedProps {
|
|
15
|
+
className?: string;
|
|
16
|
+
resources?: ILink[];
|
|
17
|
+
logo?: ILink;
|
|
18
|
+
}
|
|
14
19
|
interface IFeatureListProps {
|
|
15
20
|
className?: string;
|
|
16
21
|
title?: string;
|
|
@@ -116,4 +121,4 @@ interface IEditorProps {
|
|
|
116
121
|
operations?: string;
|
|
117
122
|
}
|
|
118
123
|
|
|
119
|
-
export type { IEditorProps, IFeatureListProps, IHeroGradientProps, IHeroIllustrationProps, IHeroMarketplaceProps, IHeroVideoProps, IInfoListProps, ILink, IMarketplaceItemProps, IMarketplaceItemsProps, IMarketplaceListProps, IMarketplaceSearchProps, ISchemaPageProps };
|
|
124
|
+
export type { IEditorProps, IFeatureListProps, IFooterExtendedProps, IHeroGradientProps, IHeroIllustrationProps, IHeroMarketplaceProps, IHeroVideoProps, IInfoListProps, ILink, IMarketplaceItemProps, IMarketplaceItemsProps, IMarketplaceListProps, IMarketplaceSearchProps, ISchemaPageProps };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theguild/components",
|
|
3
|
-
"version": "8.0.0-alpha-
|
|
3
|
+
"version": "8.0.0-alpha-20241120105145-cd16661303b7d080c2fd1c50e3ed8d407c9106f7",
|
|
4
4
|
"repository": {
|
|
5
5
|
"url": "https://github.com/the-guild-org/docs",
|
|
6
6
|
"directory": "packages/components"
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"clsx": "2.1.1",
|
|
51
51
|
"fuzzy": "0.1.3",
|
|
52
52
|
"nextra": "4.0.0-app-router.28",
|
|
53
|
-
"nextra-theme-docs": "4.0.0-app-router.
|
|
53
|
+
"nextra-theme-docs": "4.0.0-app-router.21",
|
|
54
54
|
"react-paginate": "8.2.0",
|
|
55
55
|
"react-player": "2.16.0",
|
|
56
56
|
"semver": "^7.3.8",
|
package/style.css
CHANGED
|
@@ -5,11 +5,28 @@
|
|
|
5
5
|
@import 'tailwindcss/components' layer(l-components);
|
|
6
6
|
@import 'tailwindcss/utilities';
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
.nextra-banner-container._bg-neutral-900._flex {
|
|
9
|
+
@apply bg-[#48224e] bg-none;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
:root {
|
|
13
|
+
--nextra-navbar-height: 72px;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
html {
|
|
17
|
+
/* font from tailwindcss/base is overwritten by Nextra styles */
|
|
18
|
+
font-family: var(--font-sans), ui-sans-serif, system-ui, sans-serif, 'Apple Color Emoji',
|
|
19
|
+
'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.nextra-nav-container [role='menu']:has(a[href='https://the-guild.dev/graphql/hive'])
|
|
23
|
+
{
|
|
24
|
+
@apply grid max-h-[unset] w-[470px] grid-cols-3 gap-y-2 p-2;
|
|
25
|
+
|
|
26
|
+
a:nth-child(-n + 3) {
|
|
27
|
+
@apply rounded-b-none border-b border-black/20 pb-3 dark:border-white/20;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
13
30
|
|
|
14
31
|
/* #region hamburger mobile menu */
|
|
15
32
|
|
|
@@ -113,7 +130,14 @@
|
|
|
113
130
|
|
|
114
131
|
/* fix for nextra navbar for HiveNavigation */
|
|
115
132
|
:root {
|
|
116
|
-
--nextra-navbar-height:
|
|
133
|
+
--nextra-navbar-height: 90px;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
@media (min-width: 768px) {
|
|
137
|
+
.nextra-sidebar-container,
|
|
138
|
+
.nextra-toc > .nextra-scrollbar {
|
|
139
|
+
top: var(--nextra-navbar-height);
|
|
140
|
+
}
|
|
117
141
|
}
|
|
118
142
|
|
|
119
143
|
@media (max-width: 767px) {
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx } from "react/jsx-runtime";
|
|
3
|
-
function ContactUs() {
|
|
4
|
-
return /* @__PURE__ */ jsx(
|
|
5
|
-
"a",
|
|
6
|
-
{
|
|
7
|
-
className: "hive-focus -m-2 rounded p-2 font-medium hover:text-blue-700 hover:underline dark:hover:text-blue-100",
|
|
8
|
-
href: "https://the-guild.dev/contact",
|
|
9
|
-
onClick: (event) => {
|
|
10
|
-
if (window.$crisp) {
|
|
11
|
-
window.$crisp.push(["do", "chat:open"]);
|
|
12
|
-
event.preventDefault();
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
children: "Contact Us"
|
|
16
|
-
}
|
|
17
|
-
);
|
|
18
|
-
}
|
|
19
|
-
export {
|
|
20
|
-
ContactUs
|
|
21
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { FC, ReactNode } from 'react';
|
|
2
|
-
import { ILink } from '../../types/components.mjs';
|
|
3
|
-
import 'next/image';
|
|
4
|
-
import 'next/link';
|
|
5
|
-
import 'react-player';
|
|
6
|
-
|
|
7
|
-
type HiveFooterProps = {
|
|
8
|
-
className?: string;
|
|
9
|
-
resources?: ILink[];
|
|
10
|
-
logo?: ReactNode;
|
|
11
|
-
href?: string;
|
|
12
|
-
description?: string;
|
|
13
|
-
};
|
|
14
|
-
declare const HiveFooter: FC<HiveFooterProps>;
|
|
15
|
-
|
|
16
|
-
export { HiveFooter, type HiveFooterProps };
|