@theguild/components 7.2.0-alpha-20241101220642-0b6682d9cf4196529799e8ad0e38b83426590e93 → 8.0.0-alpha-20241103132221-f9d255adde945cffb98f9f7c914ac29896a15819
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/chunk-ME7V4BHY.js +10 -0
- package/dist/cn.d.mts +5 -0
- package/dist/cn.js +8 -0
- package/dist/components/anchor.d.mts +11 -0
- package/dist/components/anchor.js +30 -0
- package/dist/components/button.d.mts +13 -0
- package/dist/components/button.js +25 -0
- package/dist/components/call-to-action.d.mts +38 -0
- package/dist/components/call-to-action.js +42 -0
- package/dist/components/cards-colorful.d.mts +19 -0
- package/dist/components/cards-colorful.js +20 -0
- package/dist/components/cookies-consent.d.mts +7 -0
- package/dist/components/cookies-consent.js +48 -0
- package/dist/components/decorations/index.d.mts +11 -0
- package/dist/components/decorations/index.js +72 -0
- package/dist/components/feature-list.d.mts +9 -0
- package/dist/components/feature-list.js +41 -0
- package/dist/components/footer.d.mts +9 -0
- package/dist/components/footer.js +116 -0
- package/dist/components/get-your-api-game-right-section.d.mts +7 -0
- package/dist/components/get-your-api-game-right-section.js +122 -0
- package/dist/components/giscus.d.mts +6 -0
- package/dist/components/giscus.js +14 -0
- package/dist/components/guild-navbar-logo.d.mts +19 -0
- package/dist/components/guild-navbar-logo.js +62 -0
- package/dist/components/heading.d.mts +10 -0
- package/dist/components/heading.js +36 -0
- package/dist/components/hero-gradient.d.mts +9 -0
- package/dist/components/hero-gradient.js +82 -0
- package/dist/components/hero-illustration.d.mts +9 -0
- package/dist/components/hero-illustration.js +31 -0
- package/dist/components/hero-marketplace.d.mts +9 -0
- package/dist/components/hero-marketplace.js +78 -0
- package/dist/components/hero-video.d.mts +9 -0
- package/dist/components/hero-video.js +73 -0
- package/dist/components/hive-footer.d.mts +11 -0
- package/dist/components/hive-footer.js +252 -0
- package/dist/components/hive-navigation/graphql-conf-card.d.mts +9 -0
- package/dist/components/hive-navigation/graphql-conf-card.js +26 -0
- package/dist/components/hive-navigation/index.d.mts +55 -0
- package/dist/components/hive-navigation/index.js +392 -0
- package/dist/components/hive-navigation/navigation-menu.d.mts +23 -0
- package/dist/components/hive-navigation/navigation-menu.js +179 -0
- package/dist/components/icons/index.d.mts +6 -0
- package/dist/{chunk-XKCA3AB7.js → components/icons/index.js} +29 -266
- package/dist/components/image.d.mts +6 -0
- package/dist/components/image.js +8 -0
- package/dist/components/index.d.mts +44 -0
- package/dist/components/index.js +52 -0
- package/dist/components/info-card.d.mts +11 -0
- package/dist/components/info-card.js +20 -0
- package/dist/components/info-list.d.mts +9 -0
- package/dist/components/info-list.js +27 -0
- package/dist/components/legacy-package-cmd.d.mts +13 -0
- package/dist/components/legacy-package-cmd.js +54 -0
- package/dist/components/marketplace-list.d.mts +9 -0
- package/dist/components/marketplace-list.js +118 -0
- package/dist/components/marketplace-search.d.mts +9 -0
- package/dist/components/marketplace-search.js +111 -0
- package/dist/components/npm-badge.d.mts +7 -0
- package/dist/components/npm-badge.js +16 -0
- package/dist/components/schema-type.d.mts +9 -0
- package/dist/components/schema-type.js +80 -0
- package/dist/components/stud.d.mts +7 -0
- package/dist/components/stud.js +17 -0
- package/dist/components/tag.d.mts +13 -0
- package/dist/components/tag.js +26 -0
- package/dist/components/theme-switcher.d.mts +7 -0
- package/dist/components/theme-switcher.js +17 -0
- package/dist/components/tools-and-libraries-cards.d.mts +7 -0
- package/dist/components/tools-and-libraries-cards.js +442 -0
- package/dist/constants.d.mts +7 -0
- package/dist/constants.js +7 -0
- package/dist/helpers/render-slot.d.mts +3 -0
- package/dist/helpers/render-slot.js +21 -0
- package/dist/index.d.mts +64 -339
- package/dist/index.js +21 -3115
- package/dist/logos/index.d.mts +26 -0
- package/dist/{chunk-EWF5AT2G.js → logos/index.js} +68 -53
- package/dist/mdx-components.d.mts +5 -0
- package/dist/mdx-components.js +50 -0
- package/dist/products.d.mts +10 -5
- package/dist/products.js +230 -5
- package/dist/server/index.d.mts +5 -0
- package/dist/server/index.js +12 -0
- package/dist/server/next.config.d.mts +10 -0
- package/dist/server/next.config.js +107 -0
- package/dist/server/npm.d.mts +21 -0
- package/dist/server/npm.js +75 -0
- package/dist/server/package.json +1 -0
- package/dist/server/pages.d.mts +1 -0
- package/dist/server/pages.js +5 -0
- package/dist/server/underscore-redirects.d.mts +3 -0
- package/dist/server/underscore-redirects.js +40 -0
- package/dist/static/illustrations/marketplace-cube-bl.d.mts +2 -0
- package/dist/static/illustrations/marketplace-cube-br.d.mts +2 -0
- package/dist/static/illustrations/marketplace-cube-tl.d.mts +2 -0
- package/dist/static/illustrations/marketplace-cube-tr.d.mts +2 -0
- package/dist/static/illustrations/marketplace-desktop.d.mts +2 -0
- package/dist/static/illustrations/marketplace-mobile.d.mts +2 -0
- package/dist/theme-layout.d.mts +39 -0
- package/dist/theme-layout.js +144 -0
- package/dist/types/components.d.mts +121 -0
- package/dist/types/components.js +0 -0
- package/package.json +19 -36
- package/style.css +10 -8
- package/dist/compile.mjs +0 -11
- package/dist/index.css +0 -133
- package/dist/logos.d.mts +0 -32
- package/dist/logos.js +0 -54
- package/dist/next.config.mjs +0 -135
- /package/dist/{marketplace-cube-bl-42X7Y3KO.png → static/illustrations/marketplace-cube-bl.png} +0 -0
- /package/dist/{marketplace-cube-br-Y5MZRDIL.png → static/illustrations/marketplace-cube-br.png} +0 -0
- /package/dist/{marketplace-cube-tl-PEJKW6RX.png → static/illustrations/marketplace-cube-tl.png} +0 -0
- /package/dist/{marketplace-cube-tr-O5XQ6Q4N.png → static/illustrations/marketplace-cube-tr.png} +0 -0
- /package/dist/{marketplace-desktop-7XUR54PR.png → static/illustrations/marketplace-desktop.png} +0 -0
- /package/dist/{marketplace-mobile-DI462WKF.png → static/illustrations/marketplace-mobile.png} +0 -0
|
@@ -0,0 +1,252 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { cn } from "../cn";
|
|
3
|
+
import { siteOrigin } from "../constants";
|
|
4
|
+
import { HiveCombinationMark } from "../logos";
|
|
5
|
+
import { PRODUCTS } from "../products";
|
|
6
|
+
import { Anchor } from "./anchor";
|
|
7
|
+
import {
|
|
8
|
+
CSAStarLevelOneIcon,
|
|
9
|
+
DiscordIcon,
|
|
10
|
+
GitHubIcon,
|
|
11
|
+
LinkedInIcon,
|
|
12
|
+
TwitterIcon,
|
|
13
|
+
YouTubeIcon
|
|
14
|
+
} from "./icons";
|
|
15
|
+
const HiveFooter = ({ className, logo, resources = [] }) => {
|
|
16
|
+
return /* @__PURE__ */ jsxs("footer", { className: cn("relative flex justify-center px-4 py-6 xl:px-[120px]", className), children: [
|
|
17
|
+
/* @__PURE__ */ jsxs("div", { className: "mx-4 grid w-full max-w-[75rem] grid-cols-1 gap-x-6 text-green-800 max-lg:gap-y-16 sm:grid-cols-4 lg:gap-x-8 xl:gap-x-10 dark:text-neutral-400", children: [
|
|
18
|
+
/* @__PURE__ */ jsxs("div", { className: "max-lg:col-span-full", children: [
|
|
19
|
+
/* @__PURE__ */ jsx(
|
|
20
|
+
Anchor,
|
|
21
|
+
{
|
|
22
|
+
href: `${siteOrigin}/`,
|
|
23
|
+
...logo,
|
|
24
|
+
className: "hive-focus -m-1.5 flex rounded p-1.5",
|
|
25
|
+
children: /* @__PURE__ */ jsx(HiveCombinationMark, { className: "h-8 w-auto text-green-1000 dark:text-white" })
|
|
26
|
+
}
|
|
27
|
+
),
|
|
28
|
+
/* @__PURE__ */ jsx("p", { className: "mt-6 lg:mt-8", children: "Open-source GraphQL management platform" })
|
|
29
|
+
] }),
|
|
30
|
+
/* @__PURE__ */ jsxs("div", { className: "col-span-full grid grid-flow-row grid-cols-2 justify-stretch gap-6 text-sm sm:col-span-4 sm:grid-cols-3 lg:col-span-3 lg:pb-12 lg:text-base", children: [
|
|
31
|
+
/* @__PURE__ */ jsx(List, { heading: "Products", links: products }),
|
|
32
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-[inherit]", children: [
|
|
33
|
+
/* @__PURE__ */ jsx(List, { heading: "Developer", links: DEVELOPER }),
|
|
34
|
+
ENTERPRISE.length > 0 && /* @__PURE__ */ jsx(List, { heading: "Enterprise", links: ENTERPRISE }),
|
|
35
|
+
resources.length > 0 && /* @__PURE__ */ jsx(List, { heading: "Resources", links: resources })
|
|
36
|
+
] }),
|
|
37
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-[inherit]", children: [
|
|
38
|
+
/* @__PURE__ */ jsx(List, { heading: "Company", links: COMPANY }),
|
|
39
|
+
/* @__PURE__ */ jsx(
|
|
40
|
+
"a",
|
|
41
|
+
{
|
|
42
|
+
href: "https://the-guild.dev/graphql/hive#pricing",
|
|
43
|
+
className: "hive-focus -m-2 rounded p-2 font-medium hover:text-blue-700 hover:underline dark:hover:text-blue-100",
|
|
44
|
+
children: "Pricing"
|
|
45
|
+
}
|
|
46
|
+
),
|
|
47
|
+
/* @__PURE__ */ jsx(
|
|
48
|
+
"a",
|
|
49
|
+
{
|
|
50
|
+
className: "hive-focus -m-2 rounded p-2 font-medium hover:text-blue-700 hover:underline dark:hover:text-blue-100",
|
|
51
|
+
href: "https://the-guild.dev/contact",
|
|
52
|
+
onClick: (event) => {
|
|
53
|
+
window.$crisp?.push(["do", "chat:open"]);
|
|
54
|
+
event.preventDefault();
|
|
55
|
+
},
|
|
56
|
+
children: "Contact Us"
|
|
57
|
+
}
|
|
58
|
+
)
|
|
59
|
+
] }),
|
|
60
|
+
/* @__PURE__ */ jsx(CSAStarLink, { className: "sm:col-start-[-1] lg:col-start-[-2]" })
|
|
61
|
+
] }),
|
|
62
|
+
/* @__PURE__ */ jsxs("div", { className: "col-span-full flex flex-row flex-wrap justify-between gap-x-[inherit] gap-y-8 lg:w-full lg:pb-2 lg:pt-8", children: [
|
|
63
|
+
/* @__PURE__ */ jsx("div", { className: "flex gap-6 lg:order-1", children: COMMUNITY.map(({ icon: Icon, ...iconProps }) => /* @__PURE__ */ jsx(
|
|
64
|
+
Anchor,
|
|
65
|
+
{
|
|
66
|
+
className: "hive-focus -m-1 rounded-md p-1 hover:text-blue-700 dark:hover:text-blue-100",
|
|
67
|
+
...iconProps,
|
|
68
|
+
children: /* @__PURE__ */ jsx(Icon, { className: "h-5 w-auto" })
|
|
69
|
+
},
|
|
70
|
+
iconProps.title
|
|
71
|
+
)) }),
|
|
72
|
+
/* @__PURE__ */ jsxs("p", { className: "text-sm", children: [
|
|
73
|
+
"\xA9 ",
|
|
74
|
+
(/* @__PURE__ */ new Date()).getFullYear(),
|
|
75
|
+
" The Guild"
|
|
76
|
+
] })
|
|
77
|
+
] })
|
|
78
|
+
] }),
|
|
79
|
+
/* @__PURE__ */ jsx(DecorationArch, { className: "pointer-events-none absolute bottom-0 left-0 hidden mix-blend-multiply lg:block dark:opacity-5 dark:mix-blend-normal" })
|
|
80
|
+
] });
|
|
81
|
+
};
|
|
82
|
+
function List({
|
|
83
|
+
heading,
|
|
84
|
+
links,
|
|
85
|
+
className
|
|
86
|
+
}) {
|
|
87
|
+
return /* @__PURE__ */ jsxs("div", { className: cn("flex flex-col gap-y-3 text-nowrap lg:gap-y-4", className), children: [
|
|
88
|
+
/* @__PURE__ */ jsx("h3", { className: "font-medium dark:text-white", children: heading }),
|
|
89
|
+
/* @__PURE__ */ jsx("ul", { className: "contents", children: links.map((link, i) => /* @__PURE__ */ jsx("li", { children: /* @__PURE__ */ jsx(
|
|
90
|
+
Anchor,
|
|
91
|
+
{
|
|
92
|
+
...link,
|
|
93
|
+
className: "hive-focus -m-2 block rounded p-2 hover:text-blue-700 hover:underline dark:hover:text-blue-100"
|
|
94
|
+
}
|
|
95
|
+
) }, i)) })
|
|
96
|
+
] });
|
|
97
|
+
}
|
|
98
|
+
const ENTERPRISE = [
|
|
99
|
+
// {
|
|
100
|
+
// children: 'Consumer Stories',
|
|
101
|
+
// href: '#TODO!',
|
|
102
|
+
// },
|
|
103
|
+
// {
|
|
104
|
+
// children: 'Why GraphQL',
|
|
105
|
+
// href: '#TODO!',
|
|
106
|
+
// },
|
|
107
|
+
// {
|
|
108
|
+
// children: 'Professional Services',
|
|
109
|
+
// href: '#TODO!',
|
|
110
|
+
// },
|
|
111
|
+
// {
|
|
112
|
+
// children: 'Commitment to Security',
|
|
113
|
+
// href: '#TODO!',
|
|
114
|
+
// },
|
|
115
|
+
];
|
|
116
|
+
const DEVELOPER = [
|
|
117
|
+
{
|
|
118
|
+
children: "Documentation",
|
|
119
|
+
title: "Read the docs",
|
|
120
|
+
href: "/docs"
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
children: "Hive Status",
|
|
124
|
+
title: "Check Hive status",
|
|
125
|
+
href: "https://status.graphql-hive.com/"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
children: "Hive Updates",
|
|
129
|
+
title: "Read most recent developments from GraphQL Hive",
|
|
130
|
+
href: "https://the-guild.dev/graphql/hive/product-updates"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
children: "Blog",
|
|
134
|
+
title: "Read our blog",
|
|
135
|
+
href: "https://the-guild.dev/blog"
|
|
136
|
+
}
|
|
137
|
+
];
|
|
138
|
+
const COMPANY = [
|
|
139
|
+
{
|
|
140
|
+
children: "About",
|
|
141
|
+
title: "Learn more about us",
|
|
142
|
+
href: "https://the-guild.dev/about-us"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
children: "Brand Assets",
|
|
146
|
+
title: "Brand Assets",
|
|
147
|
+
href: "https://the-guild.dev/logos"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
children: "Newsletter",
|
|
151
|
+
title: "Newsletter",
|
|
152
|
+
href: "https://the-guild.dev/newsletter"
|
|
153
|
+
}
|
|
154
|
+
];
|
|
155
|
+
const COMMUNITY = [
|
|
156
|
+
{
|
|
157
|
+
icon: GitHubIcon,
|
|
158
|
+
title: "Check our GitHub account",
|
|
159
|
+
href: "https://github.com/the-guild-org"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
icon: TwitterIcon,
|
|
163
|
+
title: "Visit our Twitter",
|
|
164
|
+
href: "https://twitter.com/TheGuildDev"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
icon: LinkedInIcon,
|
|
168
|
+
title: "Visit our LinkedIn",
|
|
169
|
+
href: "https://linkedin.com/company/the-guild-software"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
icon: DiscordIcon,
|
|
173
|
+
title: "Reach us on Discord",
|
|
174
|
+
href: "https://discord.com/invite/xud7bH9"
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
icon: YouTubeIcon,
|
|
178
|
+
title: "Watch Our Videos",
|
|
179
|
+
href: "https://youtube.com/watch?v=d_GBgH-L5c4&list=PLhCf3AUOg4PgQoY_A6xWDQ70yaNtPYtZd"
|
|
180
|
+
}
|
|
181
|
+
];
|
|
182
|
+
const products = [
|
|
183
|
+
PRODUCTS.HIVE,
|
|
184
|
+
PRODUCTS.MESH,
|
|
185
|
+
PRODUCTS.YOGA,
|
|
186
|
+
PRODUCTS.CODEGEN,
|
|
187
|
+
PRODUCTS.INSPECTOR,
|
|
188
|
+
PRODUCTS.SCALARS,
|
|
189
|
+
PRODUCTS.ENVELOP,
|
|
190
|
+
PRODUCTS.ESLINT,
|
|
191
|
+
PRODUCTS.SOFA
|
|
192
|
+
// TODO: All libraries, go to /explore page
|
|
193
|
+
].map(({ name, href, title }) => ({
|
|
194
|
+
children: name,
|
|
195
|
+
href,
|
|
196
|
+
title
|
|
197
|
+
}));
|
|
198
|
+
function DecorationArch(props) {
|
|
199
|
+
return /* @__PURE__ */ jsxs(
|
|
200
|
+
"svg",
|
|
201
|
+
{
|
|
202
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
203
|
+
width: 360,
|
|
204
|
+
height: 360,
|
|
205
|
+
viewBox: "0 0 360 360",
|
|
206
|
+
fill: "none",
|
|
207
|
+
...props,
|
|
208
|
+
children: [
|
|
209
|
+
/* @__PURE__ */ jsx(
|
|
210
|
+
"path",
|
|
211
|
+
{
|
|
212
|
+
d: "M360 159.793a39.152 39.152 0 00-11.468-27.672l-56.99-56.99-6.673-6.673-56.99-56.99A39.153 39.153 0 00200.207 0H0v75.131h226.157c32.428 0 58.712 26.284 58.712 58.712V360H360V159.793z",
|
|
213
|
+
fill: "url(#paint0_linear_711_2541)"
|
|
214
|
+
}
|
|
215
|
+
),
|
|
216
|
+
/* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsxs(
|
|
217
|
+
"linearGradient",
|
|
218
|
+
{
|
|
219
|
+
id: "paint0_linear_711_2541",
|
|
220
|
+
x1: 180,
|
|
221
|
+
y1: -786805e-11,
|
|
222
|
+
x2: 180,
|
|
223
|
+
y2: 360,
|
|
224
|
+
gradientUnits: "userSpaceOnUse",
|
|
225
|
+
children: [
|
|
226
|
+
/* @__PURE__ */ jsx("stop", { stopColor: "#C1D3D7" }),
|
|
227
|
+
/* @__PURE__ */ jsx("stop", { offset: 1, stopColor: "#86B6C1" })
|
|
228
|
+
]
|
|
229
|
+
}
|
|
230
|
+
) })
|
|
231
|
+
]
|
|
232
|
+
}
|
|
233
|
+
);
|
|
234
|
+
}
|
|
235
|
+
function CSAStarLink({ className }) {
|
|
236
|
+
return /* @__PURE__ */ jsx(
|
|
237
|
+
"a",
|
|
238
|
+
{
|
|
239
|
+
href: "https://cloudsecurityalliance.org/star/registry/software-products-guild-ltd-the-guild/services/graphql-hive",
|
|
240
|
+
target: "_blank",
|
|
241
|
+
rel: "noreferrer noopener",
|
|
242
|
+
className: cn(
|
|
243
|
+
"hive-focus w-fit rounded-full focus-visible:outline-none focus-visible:ring-offset-2 focus-visible:ring-offset-[rgb(var(--nextra-bg))]",
|
|
244
|
+
className
|
|
245
|
+
),
|
|
246
|
+
children: /* @__PURE__ */ jsx(CSAStarLevelOneIcon, { className: "size-20 lg:size-[120px] dark:opacity-95" })
|
|
247
|
+
}
|
|
248
|
+
);
|
|
249
|
+
}
|
|
250
|
+
export {
|
|
251
|
+
HiveFooter
|
|
252
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { StaticImageData } from 'next/image';
|
|
3
|
+
|
|
4
|
+
interface GraphQLConfCardProps {
|
|
5
|
+
image: StaticImageData;
|
|
6
|
+
}
|
|
7
|
+
declare function GraphQLConfCard({ image }: GraphQLConfCardProps): react_jsx_runtime.JSX.Element;
|
|
8
|
+
|
|
9
|
+
export { GraphQLConfCard, type GraphQLConfCardProps };
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { ArrowIcon } from "../icons";
|
|
3
|
+
import { Image } from "../image";
|
|
4
|
+
import { NavigationMenuLink } from "./navigation-menu";
|
|
5
|
+
function GraphQLConfCard({ image }) {
|
|
6
|
+
return /* @__PURE__ */ jsxs(
|
|
7
|
+
NavigationMenuLink,
|
|
8
|
+
{
|
|
9
|
+
href: "https://www.youtube.com/playlist?list=PL43V96KpNj7OMvmfL0WFKP6LpoboM8Hde",
|
|
10
|
+
className: "group w-[358px]",
|
|
11
|
+
children: [
|
|
12
|
+
/* @__PURE__ */ jsx(Image, { alt: "", ...image, width: 358, height: 200 }),
|
|
13
|
+
/* @__PURE__ */ jsx("strong", { className: "mt-6 block text-xl font-medium leading-7 text-green-1000 dark:text-neutral-100", children: "GraphQLConf 2024" }),
|
|
14
|
+
/* @__PURE__ */ jsx("p", { className: "mt-4 text-sm font-medium leading-5 text-green-800 dark:text-neutral-200", children: "September 10-12 | San Francisco CA" }),
|
|
15
|
+
/* @__PURE__ */ jsx("p", { className: "mt-2 text-sm font-normal leading-5 text-green-800 dark:text-neutral-200", children: "The official GraphQL conference hosted by GraphQL Foundation." }),
|
|
16
|
+
/* @__PURE__ */ jsxs("span", { className: "mt-6 flex items-center gap-2 rounded-lg font-medium text-green-800 transition-colors group-hover:text-green-1000 dark:text-neutral-200 dark:group-hover:text-neutral-100", children: [
|
|
17
|
+
"Watch The Guild at GraphQLConf 2024",
|
|
18
|
+
/* @__PURE__ */ jsx(ArrowIcon, {})
|
|
19
|
+
] })
|
|
20
|
+
]
|
|
21
|
+
}
|
|
22
|
+
);
|
|
23
|
+
}
|
|
24
|
+
export {
|
|
25
|
+
GraphQLConfCard
|
|
26
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import react__default, { ReactNode } from 'react';
|
|
3
|
+
export { GraphQLConfCard, GraphQLConfCardProps } from './graphql-conf-card.mjs';
|
|
4
|
+
import 'next/image';
|
|
5
|
+
|
|
6
|
+
interface HiveNavigationProps {
|
|
7
|
+
companyMenuChildren?: ReactNode;
|
|
8
|
+
children?: ReactNode;
|
|
9
|
+
className?: string;
|
|
10
|
+
/**
|
|
11
|
+
* We change links to relative based on what product we're in.
|
|
12
|
+
*/
|
|
13
|
+
productName: string;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```tsx
|
|
19
|
+
* <HiveNavigation
|
|
20
|
+
* companyMenuChildren={<GraphQLConfCard image={graphQLConfLocalImage} />}
|
|
21
|
+
* items={items}
|
|
22
|
+
* >
|
|
23
|
+
* {extraContent}
|
|
24
|
+
* </HiveNavigation>
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
declare function HiveNavigation({ companyMenuChildren, children, className, productName, }: HiveNavigationProps): react_jsx_runtime.JSX.Element;
|
|
28
|
+
interface ProductsMenuProps extends MenuContentColumnsProps {
|
|
29
|
+
productName: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @internal
|
|
33
|
+
*/
|
|
34
|
+
declare const ProductsMenu: react__default.ForwardRefExoticComponent<ProductsMenuProps & react__default.RefAttributes<HTMLDivElement>>;
|
|
35
|
+
interface MenuContentColumnsProps extends react__default.HTMLAttributes<HTMLDivElement> {
|
|
36
|
+
}
|
|
37
|
+
interface DeveloperMenuProps extends react__default.HTMLAttributes<HTMLDivElement> {
|
|
38
|
+
isHive: boolean;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* @internal
|
|
42
|
+
*/
|
|
43
|
+
declare const DeveloperMenu: react__default.ForwardRefExoticComponent<DeveloperMenuProps & react__default.RefAttributes<HTMLDivElement>>;
|
|
44
|
+
/**
|
|
45
|
+
* @internal
|
|
46
|
+
*/
|
|
47
|
+
declare function EnterpriseMenu(): react_jsx_runtime.JSX.Element;
|
|
48
|
+
/**
|
|
49
|
+
* @internal
|
|
50
|
+
*/
|
|
51
|
+
declare function CompanyMenu({ children }: {
|
|
52
|
+
children: react__default.ReactNode;
|
|
53
|
+
}): react_jsx_runtime.JSX.Element;
|
|
54
|
+
|
|
55
|
+
export { CompanyMenu, DeveloperMenu, EnterpriseMenu, HiveNavigation, type HiveNavigationProps, ProductsMenu };
|