@theguild/components 7.2.0-alpha-20241101220642-0b6682d9cf4196529799e8ad0e38b83426590e93 → 8.0.0-alpha-20241103181355-82c3ab0bf3c837c17af89f22915ef2beef8f305b

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.
Files changed (117) hide show
  1. package/dist/chunk-ME7V4BHY.js +10 -0
  2. package/dist/cn.d.mts +5 -0
  3. package/dist/cn.js +8 -0
  4. package/dist/components/anchor.d.mts +11 -0
  5. package/dist/components/anchor.js +30 -0
  6. package/dist/components/button.d.mts +13 -0
  7. package/dist/components/button.js +25 -0
  8. package/dist/components/call-to-action.d.mts +38 -0
  9. package/dist/components/call-to-action.js +42 -0
  10. package/dist/components/cards-colorful.d.mts +19 -0
  11. package/dist/components/cards-colorful.js +20 -0
  12. package/dist/components/cookies-consent.d.mts +7 -0
  13. package/dist/components/cookies-consent.js +48 -0
  14. package/dist/components/decorations/index.d.mts +11 -0
  15. package/dist/components/decorations/index.js +72 -0
  16. package/dist/components/feature-list.d.mts +9 -0
  17. package/dist/components/feature-list.js +41 -0
  18. package/dist/components/footer.d.mts +9 -0
  19. package/dist/components/footer.js +116 -0
  20. package/dist/components/get-your-api-game-right-section.d.mts +7 -0
  21. package/dist/components/get-your-api-game-right-section.js +122 -0
  22. package/dist/components/giscus.d.mts +6 -0
  23. package/dist/components/giscus.js +14 -0
  24. package/dist/components/guild-navbar-logo.d.mts +19 -0
  25. package/dist/components/guild-navbar-logo.js +62 -0
  26. package/dist/components/heading.d.mts +10 -0
  27. package/dist/components/heading.js +36 -0
  28. package/dist/components/hero-gradient.d.mts +9 -0
  29. package/dist/components/hero-gradient.js +82 -0
  30. package/dist/components/hero-illustration.d.mts +9 -0
  31. package/dist/components/hero-illustration.js +31 -0
  32. package/dist/components/hero-marketplace.d.mts +9 -0
  33. package/dist/components/hero-marketplace.js +78 -0
  34. package/dist/components/hero-video.d.mts +9 -0
  35. package/dist/components/hero-video.js +73 -0
  36. package/dist/components/hive-footer.d.mts +11 -0
  37. package/dist/components/hive-footer.js +252 -0
  38. package/dist/components/hive-navigation/graphql-conf-card.d.mts +9 -0
  39. package/dist/components/hive-navigation/graphql-conf-card.js +26 -0
  40. package/dist/components/hive-navigation/index.d.mts +55 -0
  41. package/dist/components/hive-navigation/index.js +392 -0
  42. package/dist/components/hive-navigation/navigation-menu.d.mts +23 -0
  43. package/dist/components/hive-navigation/navigation-menu.js +179 -0
  44. package/dist/components/icons/index.d.mts +6 -0
  45. package/dist/{chunk-XKCA3AB7.js → components/icons/index.js} +29 -266
  46. package/dist/components/image.d.mts +6 -0
  47. package/dist/components/image.js +8 -0
  48. package/dist/components/index.d.mts +44 -0
  49. package/dist/components/index.js +52 -0
  50. package/dist/components/info-card.d.mts +11 -0
  51. package/dist/components/info-card.js +20 -0
  52. package/dist/components/info-list.d.mts +9 -0
  53. package/dist/components/info-list.js +27 -0
  54. package/dist/components/legacy-package-cmd.d.mts +13 -0
  55. package/dist/components/legacy-package-cmd.js +54 -0
  56. package/dist/components/marketplace-list.d.mts +9 -0
  57. package/dist/components/marketplace-list.js +118 -0
  58. package/dist/components/marketplace-search.d.mts +9 -0
  59. package/dist/components/marketplace-search.js +111 -0
  60. package/dist/components/npm-badge.d.mts +7 -0
  61. package/dist/components/npm-badge.js +16 -0
  62. package/dist/components/schema-type.d.mts +9 -0
  63. package/dist/components/schema-type.js +80 -0
  64. package/dist/components/stud.d.mts +7 -0
  65. package/dist/components/stud.js +17 -0
  66. package/dist/components/tag.d.mts +13 -0
  67. package/dist/components/tag.js +26 -0
  68. package/dist/components/theme-switcher.d.mts +7 -0
  69. package/dist/components/theme-switcher.js +17 -0
  70. package/dist/components/tools-and-libraries-cards.d.mts +7 -0
  71. package/dist/components/tools-and-libraries-cards.js +442 -0
  72. package/dist/constants.d.mts +7 -0
  73. package/dist/constants.js +7 -0
  74. package/dist/helpers/render-slot.d.mts +3 -0
  75. package/dist/helpers/render-slot.js +21 -0
  76. package/dist/index.d.mts +64 -339
  77. package/dist/index.js +21 -3115
  78. package/dist/logos/index.d.mts +26 -0
  79. package/dist/{chunk-EWF5AT2G.js → logos/index.js} +68 -53
  80. package/dist/mdx-components.d.mts +5 -0
  81. package/dist/mdx-components.js +50 -0
  82. package/dist/products.d.mts +10 -5
  83. package/dist/products.js +230 -5
  84. package/dist/server/index.d.mts +5 -0
  85. package/dist/server/index.js +12 -0
  86. package/dist/server/next.config.d.mts +10 -0
  87. package/dist/server/next.config.js +107 -0
  88. package/dist/server/npm.d.mts +21 -0
  89. package/dist/server/npm.js +75 -0
  90. package/dist/server/package.json +1 -0
  91. package/dist/server/pages.d.mts +1 -0
  92. package/dist/server/pages.js +5 -0
  93. package/dist/server/underscore-redirects.d.mts +3 -0
  94. package/dist/server/underscore-redirects.js +40 -0
  95. package/dist/static/illustrations/marketplace-cube-bl.d.mts +2 -0
  96. package/dist/static/illustrations/marketplace-cube-br.d.mts +2 -0
  97. package/dist/static/illustrations/marketplace-cube-tl.d.mts +2 -0
  98. package/dist/static/illustrations/marketplace-cube-tr.d.mts +2 -0
  99. package/dist/static/illustrations/marketplace-desktop.d.mts +2 -0
  100. package/dist/static/illustrations/marketplace-mobile.d.mts +2 -0
  101. package/dist/theme-layout.d.mts +39 -0
  102. package/dist/theme-layout.js +145 -0
  103. package/dist/types/components.d.mts +121 -0
  104. package/dist/types/components.js +0 -0
  105. package/package.json +19 -36
  106. package/style.css +10 -8
  107. package/dist/compile.mjs +0 -11
  108. package/dist/index.css +0 -133
  109. package/dist/logos.d.mts +0 -32
  110. package/dist/logos.js +0 -54
  111. package/dist/next.config.mjs +0 -135
  112. /package/dist/{marketplace-cube-bl-42X7Y3KO.png → static/illustrations/marketplace-cube-bl.png} +0 -0
  113. /package/dist/{marketplace-cube-br-Y5MZRDIL.png → static/illustrations/marketplace-cube-br.png} +0 -0
  114. /package/dist/{marketplace-cube-tl-PEJKW6RX.png → static/illustrations/marketplace-cube-tl.png} +0 -0
  115. /package/dist/{marketplace-cube-tr-O5XQ6Q4N.png → static/illustrations/marketplace-cube-tr.png} +0 -0
  116. /package/dist/{marketplace-desktop-7XUR54PR.png → static/illustrations/marketplace-desktop.png} +0 -0
  117. /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 { default as Giscus } from '@giscus/react';
2
- import { DocsThemeConfig } from 'nextra-theme-docs';
3
- export { Bleed, Collapse, DocsThemeConfig, Navbar, NotFoundPage, useConfig, useTheme, useThemeConfig } from 'nextra-theme-docs';
4
- export { createCatchAllMeta } from 'nextra/catch-all';
5
- export { Callout, Cards, Code, FileTree, Mermaid, RemoteContent, Steps, Table, Tabs, Td, Th, Tr } from 'nextra/components';
6
- export { useData, useMounted } from 'nextra/hooks';
7
- export { useMDXComponents } from 'nextra/mdx';
8
- import * as React$1 from 'react';
9
- import { ComponentProps, ReactNode, ReactElement, ComponentPropsWithoutRef, HTMLAttributes } from 'react';
10
- import { ImageProps, StaticImageData } from 'next/image';
11
- import { LinkProps } from 'next/link';
12
- import { ReactPlayerProps } from 'react-player';
13
- export { AngularLogo as AccountBox, AngularLogo, AngularLogo as AppsIcon, AngularLogo as ArchDecoration, AngularLogo as ArchDecorationGradientDefs, AngularLogo as ArrowIcon, AngularLogo as BardIcon, AngularLogo as CSAStarLevelOneIcon, AngularLogo as CaretSlimIcon, AngularLogo as CheckIcon, AngularLogo as CloseIcon, AngularLogo as CodeGeneratorLogo, AngularLogo as CodegenIcon, AngularLogo as ConductorLogo, AngularLogo as ConfigLogo, EnvelopLettermark, AngularLogo as FetsLogo, GraphQLESlintLettermark, AngularLogo as GraphQLFoundationLogo, AngularLogo as GroupIcon, AngularLogo as GuildLogo, AngularLogo as HeltinLogo, AngularLogo as HighlightDecoration, AngularLogo as HiveCombinationMark, AngularLogo as HiveIcon, AngularLogo as HonourIcon, InspectorLettermark, AngularLogo as KitQLLogo, AngularLogo as LargeHiveIconDecoration, LettermarkLogoProps, AngularLogo as LinkedInIcon, AngularLogo as ListIcon, AngularLogo as MeshIcon, AngularLogo as MeshLogo, AngularLogo as ModulesLogo, AngularLogo as MoonIcon, AngularLogo as MoreIcon, AngularLogo as NextraLogo, AngularLogo as PaperIcon, AngularLogo as PencilIcon, AngularLogo as RightCornerIcon, AngularLogo as SSELogo, ScalarsLettermark, AngularLogo as SearchIcon, AngularLogo as ShareIcon, AngularLogo as ShieldFlashIcon, SofaLettermark, AngularLogo as StitchingLogo, AngularLogo as TargetIcon, AngularLogo as TheGuild, AngularLogo as ToolsLogo, AngularLogo as TwitterIcon, AngularLogo as WSLogo, AngularLogo as WhatsAppLogo, AngularLogo as YogaIcon, AngularLogo as YogaLogo, AngularLogo as YouTubeIcon } from './logos.mjs';
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
- import * as react_jsx_runtime from 'react/jsx-runtime';
16
- import { ProductInfo } from './products.mjs';
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
- import { ClassValue } from 'clsx';
19
- export { ClassValue } from 'clsx';
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
- interface IVideo {
23
- src: string;
24
- placeholder: string;
25
- }
26
- type ILink = LinkProps & Pick<ComponentProps<'a'>, 'target' | 'rel' | 'title' | 'className' | 'style'> & {
27
- children: ReactNode;
28
- newWindow?: boolean;
29
- sameSite?: boolean;
30
- };
31
- interface IFooterExtendedProps {
32
- className?: string;
33
- sameSite?: boolean;
34
- resources?: ILink[];
35
- logo?: ILink;
36
- }
37
- interface IFeatureListProps {
38
- className?: string;
39
- title?: string;
40
- description?: string;
41
- items: {
42
- title: string;
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 { Anchor, AncillaryProductCard, Button, CallToAction, CallToActionProps, CardsColorful, CookiesConsent, type CookiesConsentProps, DecorationIsolation, ExploreMainProductCards, type ExploreMainProductCardsProps, FeatureList, Footer, GetYourAPIGameRightSection, GraphQLConfCard, type GraphQLConfCardProps, Heading, type HeadingProps, HeroGradient, HeroIllustration, HeroMarketplace, HeroVideo, HiveFooter, HiveNavigation, type HiveNavigationProps, type IEditorProps, type IFeatureListProps, type IFooterExtendedProps, type IHeroGradientProps, type IHeroIllustrationProps, type IHeroMarketplaceProps, type IHeroVideoProps, type IInfoListProps, type ILink, type IMarketplaceItemProps, type IMarketplaceItemsProps, type IMarketplaceListProps, type IMarketplaceSearchProps, type ISchemaPageProps, Image, InfoCard, type InfoCardProps, InfoList, LegacyPackageCmd, MainProductCard, MarketplaceList, MarketplaceSearch, NPMBadge, Stud, type StudProps, ThemeSwitcherButton, ToolsAndLibrariesCards, cn, defineConfig, fetchPackageInfo, getNavbarLogo, mdxComponents, productsItems };
74
+ export { AngularLettermark, ConductorLettermark, ConfigLettermark, EnvelopLettermark, FetsLettermark, GraphQLESlintLettermark, HeltinLettermark, InspectorLettermark, KitQLLettermark, type LettermarkLogoProps, ModulesLettermark, SSELettermark, ScalarsLettermark, SofaLettermark, StitchingLettermark, ToolsLettermark, WSLettermark, WhatsAppLettermark };