@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
package/dist/index.d.mts
CHANGED
|
@@ -1,344 +1,69 @@
|
|
|
1
|
-
export {
|
|
2
|
-
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
6
|
-
export {
|
|
7
|
-
export {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
export {
|
|
1
|
+
export { Navbar, NotFoundPage, useConfig, useTheme, useThemeConfig } from 'nextra-theme-docs';
|
|
2
|
+
export { Bleed, Callout, Cards, Code, Collapse, FileTree, Mermaid, Search, Steps, Table, Tabs } from 'nextra/components';
|
|
3
|
+
export { useMounted } from 'nextra/hooks';
|
|
4
|
+
export { Anchor } from './components/anchor.mjs';
|
|
5
|
+
export { Button } from './components/button.mjs';
|
|
6
|
+
export { CardsColorful } from './components/cards-colorful.mjs';
|
|
7
|
+
export { FeatureList } from './components/feature-list.mjs';
|
|
8
|
+
export { Footer } from './components/footer.mjs';
|
|
9
|
+
export { HeroGradient } from './components/hero-gradient.mjs';
|
|
10
|
+
export { HeroIllustration } from './components/hero-illustration.mjs';
|
|
11
|
+
export { HeroMarketplace } from './components/hero-marketplace.mjs';
|
|
12
|
+
export { HeroVideo } from './components/hero-video.mjs';
|
|
13
|
+
export { CaretSlimIcon as AccountBox, CaretSlimIcon as AngularLogo, CaretSlimIcon as AppsIcon, CaretSlimIcon as ArchDecoration, CaretSlimIcon as ArchDecorationGradientDefs, CaretSlimIcon as ArrowIcon, CaretSlimIcon as BardIcon, CaretSlimIcon as CSAStarLevelOneIcon, CaretSlimIcon, CaretSlimIcon as CheckIcon, CaretSlimIcon as CloseIcon, CaretSlimIcon as CodeGeneratorLogo, CaretSlimIcon as CodegenIcon, CaretSlimIcon as ConductorLogo, CaretSlimIcon as ConfigLogo, DecorationIsolation, CaretSlimIcon as FetsLogo, CaretSlimIcon as GraphQLFoundationLogo, CaretSlimIcon as GroupIcon, CaretSlimIcon as GuildLogo, CaretSlimIcon as HeltinLogo, CaretSlimIcon as HighlightDecoration, CaretSlimIcon as HiveCombinationMark, CaretSlimIcon as HiveIcon, CaretSlimIcon as HonourIcon, CaretSlimIcon as KitQLLogo, CaretSlimIcon as LargeHiveIconDecoration, CaretSlimIcon as LinkedInIcon, CaretSlimIcon as ListIcon, CaretSlimIcon as MeshIcon, CaretSlimIcon as MeshLogo, CaretSlimIcon as ModulesLogo, CaretSlimIcon as MoonIcon, CaretSlimIcon as MoreIcon, CaretSlimIcon as NextraLogo, CaretSlimIcon as PaperIcon, CaretSlimIcon as PencilIcon, CaretSlimIcon as RightCornerIcon, CaretSlimIcon as SSELogo, CaretSlimIcon as SearchIcon, CaretSlimIcon as ShareIcon, CaretSlimIcon as ShieldFlashIcon, CaretSlimIcon as StitchingLogo, CaretSlimIcon as TargetIcon, CaretSlimIcon as TheGuild, CaretSlimIcon as ToolsLogo, CaretSlimIcon as TwitterIcon, CaretSlimIcon as WSLogo, CaretSlimIcon as WhatsAppLogo, CaretSlimIcon as YogaIcon, CaretSlimIcon as YogaLogo, CaretSlimIcon as YouTubeIcon } from './components/index.mjs';
|
|
14
14
|
export { DiscordIcon, GitHubIcon, InformationCircleIcon } from 'nextra/icons';
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
export { Image } from './components/image.mjs';
|
|
16
|
+
export { InfoList } from './components/info-list.mjs';
|
|
17
|
+
export { LegacyPackageCmd } from './components/legacy-package-cmd.mjs';
|
|
18
|
+
export { MarketplaceList } from './components/marketplace-list.mjs';
|
|
19
|
+
export { MarketplaceSearch } from './components/marketplace-search.mjs';
|
|
20
|
+
export { NPMBadge } from './components/npm-badge.mjs';
|
|
21
|
+
export { getNavbarLogo } from './components/guild-navbar-logo.mjs';
|
|
22
|
+
export { GetYourAPIGameRightSection } from './components/get-your-api-game-right-section.mjs';
|
|
23
|
+
export { HiveNavigation, HiveNavigationProps } from './components/hive-navigation/index.mjs';
|
|
24
|
+
export { HiveFooter } from './components/hive-footer.mjs';
|
|
25
|
+
export { ToolsAndLibrariesCards } from './components/tools-and-libraries-cards.mjs';
|
|
26
|
+
export { CallToAction, CallToActionProps } from './components/call-to-action.mjs';
|
|
27
|
+
export { CookiesConsent, CookiesConsentProps } from './components/cookies-consent.mjs';
|
|
28
|
+
export { Heading, HeadingProps } from './components/heading.mjs';
|
|
29
|
+
export { InfoCard, InfoCardProps } from './components/info-card.mjs';
|
|
30
|
+
export { Stud, StudProps } from './components/stud.mjs';
|
|
31
|
+
export { Giscus } from './components/giscus.mjs';
|
|
17
32
|
export { PRODUCTS } from './products.mjs';
|
|
18
|
-
|
|
19
|
-
|
|
33
|
+
export { IEditorProps, IFeatureListProps, IFooterExtendedProps, IHeroGradientProps, IHeroIllustrationProps, IHeroMarketplaceProps, IHeroVideoProps, IInfoListProps, ILink, IMarketplaceItemProps, IMarketplaceItemsProps, IMarketplaceListProps, IMarketplaceSearchProps, ISchemaPageProps } from './types/components.mjs';
|
|
34
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
35
|
+
import { HTMLAttributes } from 'react';
|
|
36
|
+
export { cn } from './cn.mjs';
|
|
37
|
+
export { useMDXComponents } from './mdx-components.mjs';
|
|
38
|
+
export { GuildLayout, getDefaultMetadata } from './theme-layout.mjs';
|
|
39
|
+
export { GraphQLConfCard, GraphQLConfCardProps } from './components/hive-navigation/graphql-conf-card.mjs';
|
|
40
|
+
import 'next/image';
|
|
41
|
+
import 'next/link';
|
|
42
|
+
import 'react-player';
|
|
43
|
+
import '@giscus/react';
|
|
20
44
|
import 'nextra/normalize-pages';
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
description: string;
|
|
44
|
-
image: ImageProps;
|
|
45
|
-
link?: ILink;
|
|
46
|
-
}[];
|
|
47
|
-
link?: ILink;
|
|
48
|
-
}
|
|
49
|
-
interface IInfoListProps {
|
|
50
|
-
className?: string;
|
|
51
|
-
title?: string | ReactNode;
|
|
52
|
-
items: {
|
|
53
|
-
title: string | ReactNode;
|
|
54
|
-
description: string | ReactNode;
|
|
55
|
-
link?: ILink;
|
|
56
|
-
}[];
|
|
57
|
-
}
|
|
58
|
-
interface IHeroVideoProps {
|
|
59
|
-
className?: string;
|
|
60
|
-
title: string | ReactNode;
|
|
61
|
-
description: string | ReactNode;
|
|
62
|
-
flipped?: boolean;
|
|
63
|
-
link?: ILink;
|
|
64
|
-
video: IVideo;
|
|
65
|
-
videoProps?: ReactPlayerProps;
|
|
66
|
-
}
|
|
67
|
-
interface IHeroIllustrationProps {
|
|
68
|
-
className?: string;
|
|
69
|
-
title: string | ReactNode;
|
|
70
|
-
description: string | ReactNode;
|
|
71
|
-
flipped?: boolean;
|
|
72
|
-
link?: ILink;
|
|
73
|
-
image: ImageProps;
|
|
74
|
-
}
|
|
75
|
-
interface IHeroGradientProps {
|
|
76
|
-
className?: string;
|
|
77
|
-
title: string | ReactNode;
|
|
78
|
-
description: string | ReactNode;
|
|
79
|
-
colors?: string[];
|
|
80
|
-
version?: string | ReactNode;
|
|
81
|
-
link?: ILink | ILink[];
|
|
82
|
-
image?: ImageProps;
|
|
83
|
-
}
|
|
84
|
-
interface IHeroMarketplaceProps {
|
|
85
|
-
className?: string;
|
|
86
|
-
title: string | ReactNode;
|
|
87
|
-
description: string | ReactNode;
|
|
88
|
-
link: ILink;
|
|
89
|
-
image?: ImageProps;
|
|
90
|
-
}
|
|
91
|
-
interface IMarketplaceItemProps {
|
|
92
|
-
title: string;
|
|
93
|
-
description: string | ReactNode;
|
|
94
|
-
tags?: string[];
|
|
95
|
-
modal?: {
|
|
96
|
-
header: {
|
|
97
|
-
image?: ImageProps;
|
|
98
|
-
description?: string | ILink;
|
|
99
|
-
};
|
|
100
|
-
content: string | (() => ReactNode) | ReactNode;
|
|
101
|
-
};
|
|
102
|
-
update: string;
|
|
103
|
-
image: ImageProps;
|
|
104
|
-
link: Omit<ILink, 'children'>;
|
|
105
|
-
weeklyNPMDownloads?: number;
|
|
106
|
-
}
|
|
107
|
-
interface IMarketplaceItemsProps {
|
|
108
|
-
items: IMarketplaceItemProps[];
|
|
109
|
-
}
|
|
110
|
-
interface IMarketplaceListProps {
|
|
111
|
-
className?: string;
|
|
112
|
-
title?: string;
|
|
113
|
-
colorScheme?: 'green' | 'neutral';
|
|
114
|
-
placeholder: string | ReactElement;
|
|
115
|
-
pagination: number;
|
|
116
|
-
items: IMarketplaceItemProps[];
|
|
117
|
-
}
|
|
118
|
-
interface IMarketplaceSearchProps {
|
|
119
|
-
className?: string;
|
|
120
|
-
title: string | ReactNode;
|
|
121
|
-
placeholder: string;
|
|
122
|
-
colorScheme?: 'green' | 'neutral';
|
|
123
|
-
primaryList: IMarketplaceListProps;
|
|
124
|
-
secondaryList?: IMarketplaceListProps;
|
|
125
|
-
queryList?: IMarketplaceListProps;
|
|
126
|
-
tagsFilter?: string[] | ReadonlyArray<string>;
|
|
127
|
-
}
|
|
128
|
-
interface ISchemaPageProps {
|
|
129
|
-
schemaName: string;
|
|
130
|
-
tags?: string[];
|
|
131
|
-
editorData: Omit<IEditorProps, 'icon' | 'children'>[];
|
|
132
|
-
}
|
|
133
|
-
interface IEditorProps {
|
|
134
|
-
children: ReactNode;
|
|
135
|
-
title: string;
|
|
136
|
-
frameworks?: string[];
|
|
137
|
-
schema?: string;
|
|
138
|
-
image?: string;
|
|
139
|
-
operations?: string;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
interface AnchorProps extends ILink {
|
|
143
|
-
}
|
|
144
|
-
declare const Anchor: React$1.ForwardRefExoticComponent<AnchorProps & React$1.RefAttributes<HTMLAnchorElement>>;
|
|
145
|
-
|
|
146
|
-
interface ButtonProps extends AnchorProps {
|
|
147
|
-
variant?: 'primary' | 'secondary';
|
|
148
|
-
}
|
|
149
|
-
declare const Button: ({ children, className, variant, ...props }: ButtonProps) => ReactElement;
|
|
150
|
-
|
|
151
|
-
type CardsColorfulProps = {
|
|
152
|
-
className?: string;
|
|
153
|
-
cards: {
|
|
154
|
-
title: string;
|
|
155
|
-
description: string;
|
|
156
|
-
category: string;
|
|
157
|
-
color: string;
|
|
158
|
-
link: Omit<ILink, 'children'>;
|
|
159
|
-
}[];
|
|
160
|
-
};
|
|
161
|
-
declare const CardsColorful: ({ cards, className }: CardsColorfulProps) => ReactElement;
|
|
162
|
-
|
|
163
|
-
declare const FeatureList: ({ title, description, items, link, className, }: IFeatureListProps) => ReactElement;
|
|
164
|
-
|
|
165
|
-
declare function Footer({ className, sameSite, resources, logo, }: IFooterExtendedProps): ReactElement;
|
|
166
|
-
|
|
167
|
-
declare const HeroGradient: ({ title, description, link, version, colors, image, className, }: IHeroGradientProps) => ReactElement;
|
|
168
|
-
|
|
169
|
-
declare const HeroIllustration: ({ title, description, link, image, flipped, className, }: IHeroIllustrationProps) => ReactElement;
|
|
170
|
-
|
|
171
|
-
declare const HeroMarketplace: ({ title, description, link, className, image, }: IHeroMarketplaceProps) => ReactElement;
|
|
172
|
-
|
|
173
|
-
declare const HeroVideo: ({ title, description, link, video, flipped, className, videoProps, }: IHeroVideoProps) => ReactElement;
|
|
174
|
-
|
|
175
|
-
declare function Image(props: ImageProps): ReactElement;
|
|
176
|
-
|
|
177
|
-
declare const InfoList: ({ title, items, className }: IInfoListProps) => ReactElement;
|
|
178
|
-
|
|
179
|
-
type Command = {
|
|
180
|
-
name: string;
|
|
181
|
-
cmd: 'add' | 'run' | 'install' | 'init';
|
|
182
|
-
isNpx?: boolean;
|
|
183
|
-
isGlobal?: boolean;
|
|
184
|
-
};
|
|
185
|
-
declare const LegacyPackageCmd: ({ packages, }: {
|
|
186
|
-
packages: (string | Command)[];
|
|
187
|
-
}) => ReactElement;
|
|
188
|
-
|
|
189
|
-
declare const MarketplaceList: ({ title, placeholder, items, pagination, className, colorScheme, }: IMarketplaceListProps) => ReactElement;
|
|
190
|
-
|
|
191
|
-
declare const MarketplaceSearch: ({ title, tagsFilter, placeholder, primaryList, secondaryList, queryList, className, colorScheme, }: IMarketplaceSearchProps) => ReactElement;
|
|
192
|
-
|
|
193
|
-
declare const mdxComponents: {
|
|
194
|
-
[tag: string]: (props: object) => ReactElement;
|
|
195
|
-
};
|
|
196
|
-
|
|
197
|
-
declare const NPMBadge: ({ name }: {
|
|
198
|
-
name: string;
|
|
199
|
-
}) => ReactElement;
|
|
200
|
-
|
|
201
|
-
/**
|
|
202
|
-
* GraphQL-related products live under the Hive platform brand, so we use a single logo for them.
|
|
203
|
-
* The rest gets The Guild / {Product} logo.
|
|
204
|
-
*/
|
|
205
|
-
declare function getNavbarLogo(logo: DocsThemeConfig['logo'], websiteName: string, description: string): react_jsx_runtime.JSX.Element;
|
|
206
|
-
|
|
207
|
-
declare function ThemeSwitcherButton(): react_jsx_runtime.JSX.Element;
|
|
208
|
-
|
|
209
|
-
declare const productsItems: {
|
|
210
|
-
[k: string]: {
|
|
211
|
-
title: string;
|
|
212
|
-
href: `https://${string}`;
|
|
213
|
-
};
|
|
214
|
-
};
|
|
215
|
-
|
|
216
|
-
declare function GetYourAPIGameRightSection({ className }: {
|
|
217
|
-
className?: string;
|
|
218
|
-
}): react_jsx_runtime.JSX.Element;
|
|
219
|
-
|
|
220
|
-
interface GraphQLConfCardProps {
|
|
221
|
-
image: StaticImageData;
|
|
222
|
-
}
|
|
223
|
-
declare function GraphQLConfCard({ image }: GraphQLConfCardProps): react_jsx_runtime.JSX.Element;
|
|
224
|
-
|
|
225
|
-
interface HiveNavigationProps {
|
|
226
|
-
companyMenuChildren?: ReactNode;
|
|
227
|
-
children?: ReactNode;
|
|
228
|
-
className?: string;
|
|
229
|
-
/**
|
|
230
|
-
* We change links to relative based on what product we're in.
|
|
231
|
-
*/
|
|
232
|
-
productName: string;
|
|
233
|
-
}
|
|
234
|
-
/**
|
|
235
|
-
*
|
|
236
|
-
* @example
|
|
237
|
-
* ```tsx
|
|
238
|
-
* <HiveNavigation
|
|
239
|
-
* companyMenuChildren={<GraphQLConfCard image={graphQLConfLocalImage} />}
|
|
240
|
-
* items={items}
|
|
241
|
-
* >
|
|
242
|
-
* {extraContent}
|
|
243
|
-
* </HiveNavigation>
|
|
244
|
-
* ```
|
|
245
|
-
*/
|
|
246
|
-
declare function HiveNavigation({ companyMenuChildren, children, className, productName, }: HiveNavigationProps): react_jsx_runtime.JSX.Element;
|
|
247
|
-
|
|
248
|
-
interface HiveFooterProps extends IFooterExtendedProps {
|
|
249
|
-
}
|
|
250
|
-
declare function HiveFooter({ className, logo, resources, sameSite }: HiveFooterProps): react_jsx_runtime.JSX.Element;
|
|
251
|
-
|
|
252
|
-
declare function ToolsAndLibrariesCards({ className }: {
|
|
253
|
-
className?: string;
|
|
254
|
-
}): react_jsx_runtime.JSX.Element;
|
|
255
|
-
declare function MainProductCard({ as: Root, product }: {
|
|
256
|
-
as: 'div' | 'li';
|
|
257
|
-
product: ProductInfo;
|
|
258
|
-
}): react_jsx_runtime.JSX.Element;
|
|
259
|
-
declare function AncillaryProductCard({ product, as: Root, }: {
|
|
260
|
-
product: ProductInfo;
|
|
261
|
-
as: 'div' | 'li';
|
|
262
|
-
}): react_jsx_runtime.JSX.Element;
|
|
263
|
-
|
|
264
|
-
/**
|
|
265
|
-
* Decorations must be isolated, as clicking id links scrolls the container with overflow: hidden.
|
|
266
|
-
*/
|
|
267
|
-
declare function DecorationIsolation(props: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
|
|
268
|
-
|
|
269
|
-
declare const variantStyles: {
|
|
270
|
-
primary: string;
|
|
271
|
-
'primary-inverted': string;
|
|
272
|
-
secondary: string;
|
|
273
|
-
'secondary-inverted': string;
|
|
274
|
-
tertiary: string;
|
|
275
|
-
};
|
|
276
|
-
declare namespace CallToActionProps {
|
|
277
|
-
type Variant = keyof typeof variantStyles;
|
|
278
|
-
interface BaseProps {
|
|
279
|
-
variant: Variant;
|
|
280
|
-
}
|
|
281
|
-
interface AnchorProps extends BaseProps, React.ComponentPropsWithoutRef<typeof Anchor> {
|
|
282
|
-
href: string;
|
|
283
|
-
}
|
|
284
|
-
interface ButtonProps extends BaseProps, React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement> {
|
|
285
|
-
href?: never;
|
|
286
|
-
onClick: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
287
|
-
}
|
|
288
|
-
}
|
|
289
|
-
type CallToActionProps = CallToActionProps.AnchorProps | CallToActionProps.ButtonProps;
|
|
290
|
-
/**
|
|
291
|
-
* This is called `Button` in Figma in the new Hive brand design system.
|
|
292
|
-
* It's a styled variant of {@link Anchor}.
|
|
293
|
-
*
|
|
294
|
-
* // TODO: Consider renaming it to `Button`.
|
|
295
|
-
*/
|
|
296
|
-
declare function CallToAction(props: CallToActionProps): react_jsx_runtime.JSX.Element;
|
|
297
|
-
|
|
298
|
-
interface CookiesConsentProps extends React.HTMLAttributes<HTMLElement> {
|
|
299
|
-
}
|
|
300
|
-
declare function CookiesConsent(props: CookiesConsentProps): react_jsx_runtime.JSX.Element | null;
|
|
301
|
-
|
|
302
|
-
interface HeadingProps extends ComponentPropsWithoutRef<'h1'> {
|
|
303
|
-
as: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'div' | 'p' | 'span';
|
|
304
|
-
size: 'xl' | 'lg' | 'md' | 'sm' | 'xs';
|
|
305
|
-
}
|
|
306
|
-
declare function Heading({ as: _as, size, className, children, ...rest }: HeadingProps): react_jsx_runtime.JSX.Element;
|
|
307
|
-
|
|
308
|
-
interface InfoCardProps extends React.HTMLAttributes<HTMLElement> {
|
|
309
|
-
icon: ReactNode;
|
|
310
|
-
heading: ReactNode;
|
|
311
|
-
as?: 'div' | 'li';
|
|
312
|
-
}
|
|
313
|
-
declare function InfoCard({ as: Root, icon, heading, className, children, ...rest }: InfoCardProps): react_jsx_runtime.JSX.Element;
|
|
314
|
-
|
|
315
|
-
interface StudProps extends React.HTMLAttributes<HTMLElement> {
|
|
316
|
-
}
|
|
317
|
-
declare function Stud(props: StudProps): react_jsx_runtime.JSX.Element;
|
|
318
|
-
|
|
319
|
-
interface ExploreMainProductCardsProps extends HTMLAttributes<HTMLDivElement> {
|
|
320
|
-
}
|
|
321
|
-
declare function ExploreMainProductCards({ className, ...rest }: ExploreMainProductCardsProps): react_jsx_runtime.JSX.Element;
|
|
322
|
-
|
|
323
|
-
interface GuildDocsThemeConfig extends DocsThemeConfig {
|
|
324
|
-
websiteName: string;
|
|
325
|
-
description: string;
|
|
326
|
-
}
|
|
327
|
-
declare function defineConfig({ websiteName, description, logo, ...config }: GuildDocsThemeConfig): DocsThemeConfig;
|
|
328
|
-
|
|
329
|
-
type Package = {
|
|
330
|
-
readme: string;
|
|
331
|
-
createdAt: string;
|
|
332
|
-
updatedAt: string;
|
|
333
|
-
description: string;
|
|
334
|
-
weeklyNPMDownloads: number;
|
|
335
|
-
};
|
|
336
|
-
declare const fetchPackageInfo: (packageName: string, githubReadme?: {
|
|
337
|
-
repo: string;
|
|
338
|
-
path: string;
|
|
339
|
-
}) => Promise<Package>;
|
|
340
|
-
|
|
341
|
-
declare function cn(...inputs: ClassValue[]): string;
|
|
45
|
+
import 'clsx';
|
|
46
|
+
import 'next';
|
|
47
|
+
|
|
48
|
+
interface LettermarkLogoProps extends HTMLAttributes<HTMLElement> {
|
|
49
|
+
}
|
|
50
|
+
declare const InspectorLettermark: (props: LettermarkLogoProps) => react_jsx_runtime.JSX.Element;
|
|
51
|
+
declare const SofaLettermark: (props: LettermarkLogoProps) => react_jsx_runtime.JSX.Element;
|
|
52
|
+
declare const GraphQLESlintLettermark: (props: LettermarkLogoProps) => react_jsx_runtime.JSX.Element;
|
|
53
|
+
declare const EnvelopLettermark: (props: LettermarkLogoProps) => react_jsx_runtime.JSX.Element;
|
|
54
|
+
declare const ScalarsLettermark: (props: LettermarkLogoProps) => react_jsx_runtime.JSX.Element;
|
|
55
|
+
declare const ConductorLettermark: (props: LettermarkLogoProps) => react_jsx_runtime.JSX.Element;
|
|
56
|
+
declare const StitchingLettermark: (props: LettermarkLogoProps) => react_jsx_runtime.JSX.Element;
|
|
57
|
+
declare const ToolsLettermark: (props: LettermarkLogoProps) => react_jsx_runtime.JSX.Element;
|
|
58
|
+
declare const ModulesLettermark: (props: LettermarkLogoProps) => react_jsx_runtime.JSX.Element;
|
|
59
|
+
declare const ConfigLettermark: (props: LettermarkLogoProps) => react_jsx_runtime.JSX.Element;
|
|
60
|
+
declare const FetsLettermark: (props: LettermarkLogoProps) => react_jsx_runtime.JSX.Element;
|
|
61
|
+
declare const AngularLettermark: (props: LettermarkLogoProps) => react_jsx_runtime.JSX.Element;
|
|
62
|
+
declare const KitQLLettermark: (props: LettermarkLogoProps) => react_jsx_runtime.JSX.Element;
|
|
63
|
+
declare const WSLettermark: (props: LettermarkLogoProps) => react_jsx_runtime.JSX.Element;
|
|
64
|
+
declare const SSELettermark: (props: LettermarkLogoProps) => react_jsx_runtime.JSX.Element;
|
|
65
|
+
declare const HeltinLettermark: (props: LettermarkLogoProps) => react_jsx_runtime.JSX.Element;
|
|
66
|
+
declare const WhatsAppLettermark: (props: LettermarkLogoProps) => react_jsx_runtime.JSX.Element;
|
|
342
67
|
|
|
343
68
|
declare module 'react' {
|
|
344
69
|
interface CSSProperties {
|
|
@@ -346,4 +71,4 @@ declare module 'react' {
|
|
|
346
71
|
}
|
|
347
72
|
}
|
|
348
73
|
|
|
349
|
-
export {
|
|
74
|
+
export { AngularLettermark, ConductorLettermark, ConfigLettermark, EnvelopLettermark, FetsLettermark, GraphQLESlintLettermark, HeltinLettermark, InspectorLettermark, KitQLLettermark, type LettermarkLogoProps, ModulesLettermark, SSELettermark, ScalarsLettermark, SofaLettermark, StitchingLettermark, ToolsLettermark, WSLettermark, WhatsAppLettermark };
|