@theguild/components 8.0.0-alpha-20241206200036-57d75dbef3b4deb9b1f5dc238935dedaa0922382 → 8.0.0-alpha-20241216124717-6446b0a13deaa9c6bbf9cd7cf51bbbcdc5ebb396
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/explore-main-product-cards.d.mts +4 -2
- package/dist/components/explore-main-product-cards.js +16 -5
- package/dist/components/hive-navigation/index.js +1 -2
- package/dist/components/tools-and-libraries-cards/index.d.mts +5 -4
- package/dist/components/tools-and-libraries-cards/index.js +3 -1
- package/dist/index.d.mts +1 -0
- package/dist/index.js +1 -0
- package/dist/next-types.d.mts +21 -0
- package/dist/next-types.js +0 -0
- package/dist/products.js +2 -2
- package/package.json +8 -8
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import { HTMLAttributes } from 'react';
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
interface ExploreMainProductCardsProps extends HTMLAttributes<HTMLDivElement> {
|
|
5
|
+
isHive?: boolean;
|
|
6
|
+
}
|
|
7
|
+
declare function ExploreMainProductCards({ className, isHive, ...rest }: ExploreMainProductCardsProps): react_jsx_runtime.JSX.Element;
|
|
6
8
|
|
|
7
9
|
export { ExploreMainProductCards, type ExploreMainProductCardsProps };
|
|
@@ -5,7 +5,11 @@ import { Heading } from "./heading";
|
|
|
5
5
|
import { ArrowIcon } from "./icons";
|
|
6
6
|
import { MainProductCard } from "./product-card";
|
|
7
7
|
import { TextLink } from "./text-link";
|
|
8
|
-
function ExploreMainProductCards({
|
|
8
|
+
function ExploreMainProductCards({
|
|
9
|
+
className,
|
|
10
|
+
isHive,
|
|
11
|
+
...rest
|
|
12
|
+
}) {
|
|
9
13
|
return /* @__PURE__ */ jsxs(
|
|
10
14
|
"section",
|
|
11
15
|
{
|
|
@@ -17,10 +21,17 @@ function ExploreMainProductCards({ className, ...rest }) {
|
|
|
17
21
|
children: [
|
|
18
22
|
/* @__PURE__ */ jsxs("div", { className: "[@media(min-width:1490px)]:w-[293px]", children: [
|
|
19
23
|
/* @__PURE__ */ jsx(Heading, { as: "h2", size: "xs", className: "text-pretty", children: "Explore Hive 360\xB0 GraphQL Ecosystem to reach full potential" }),
|
|
20
|
-
/* @__PURE__ */ jsxs(
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
+
/* @__PURE__ */ jsxs(
|
|
25
|
+
TextLink,
|
|
26
|
+
{
|
|
27
|
+
href: isHive ? "/ecosystem" : "https://the-guild.dev/graphql/hive/ecosystem",
|
|
28
|
+
className: "mt-4 lg:mt-6",
|
|
29
|
+
children: [
|
|
30
|
+
"Learn more",
|
|
31
|
+
/* @__PURE__ */ jsx(ArrowIcon, {})
|
|
32
|
+
]
|
|
33
|
+
}
|
|
34
|
+
)
|
|
24
35
|
] }),
|
|
25
36
|
/* @__PURE__ */ jsx("ul", { className: "-mx-12 -my-2 flex shrink-0 grow gap-[22px] overflow-auto px-12 py-2 [@media(max-width:1490px)]:w-full [@media(min-width:1490px)]:overflow-visible [&>:nth-child(n+4)]:[@media(min-width:1490px)]:hidden", children: FOUR_MAIN_PRODUCTS.map((product) => /* @__PURE__ */ jsx(MainProductCard, { as: "li", product }, product.name)) })
|
|
26
37
|
]
|
|
@@ -37,7 +37,6 @@ import {
|
|
|
37
37
|
NavigationMenuTrigger
|
|
38
38
|
} from "./navigation-menu";
|
|
39
39
|
export * from "./graphql-conf-card";
|
|
40
|
-
const EXPLORE_HREF = "https://github.com/the-guild-org";
|
|
41
40
|
const ENTERPRISE_MENU_HIDDEN = true;
|
|
42
41
|
function HiveNavigation({
|
|
43
42
|
companyMenuChildren,
|
|
@@ -210,7 +209,7 @@ const ProductsMenu = React.forwardRef(
|
|
|
210
209
|
/* @__PURE__ */ jsxs(
|
|
211
210
|
Anchor,
|
|
212
211
|
{
|
|
213
|
-
href:
|
|
212
|
+
href: productName === "Hive" ? "/ecosystem" : "https://the-guild.dev/graphql/hive/ecosystem",
|
|
214
213
|
className: "hive-focus -my-2 ml-2 flex items-center gap-2 rounded-lg p-2 font-medium text-green-800 transition-colors hover:bg-beige-100 hover:text-green-1000 dark:text-neutral-400 dark:hover:bg-neutral-800/50 dark:hover:text-neutral-200",
|
|
215
214
|
children: [
|
|
216
215
|
/* @__PURE__ */ jsx("span", { children: "Explore all libraries" }),
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { HTMLAttributes } from 'react';
|
|
2
3
|
|
|
3
|
-
|
|
4
|
-
className?: string;
|
|
4
|
+
interface ToolsAndLibrariesCardsProps extends HTMLAttributes<HTMLDivElement> {
|
|
5
5
|
isHive?: boolean;
|
|
6
|
-
}
|
|
6
|
+
}
|
|
7
|
+
declare function ToolsAndLibrariesCards({ className, isHive, ...rest }: ToolsAndLibrariesCardsProps): react_jsx_runtime.JSX.Element;
|
|
7
8
|
|
|
8
|
-
export { ToolsAndLibrariesCards };
|
|
9
|
+
export { ToolsAndLibrariesCards, type ToolsAndLibrariesCardsProps };
|
|
@@ -6,7 +6,8 @@ import { Heading } from "../heading";
|
|
|
6
6
|
import { AncillaryProductCard, MainProductCard } from "../product-card";
|
|
7
7
|
function ToolsAndLibrariesCards({
|
|
8
8
|
className,
|
|
9
|
-
isHive
|
|
9
|
+
isHive,
|
|
10
|
+
...rest
|
|
10
11
|
}) {
|
|
11
12
|
return /* @__PURE__ */ jsxs(
|
|
12
13
|
"section",
|
|
@@ -15,6 +16,7 @@ function ToolsAndLibrariesCards({
|
|
|
15
16
|
"isolate flex flex-col gap-6 px-4 py-6 lg:gap-12 lg:py-24 xl:px-[120px]",
|
|
16
17
|
className
|
|
17
18
|
),
|
|
19
|
+
...rest,
|
|
18
20
|
children: [
|
|
19
21
|
/* @__PURE__ */ jsx(Heading, { as: "h2", size: "md", className: "text-green-1000", children: "Discover the complete ecosystem of tools and libraries" }),
|
|
20
22
|
/* @__PURE__ */ jsx("p", { className: "text-green-800", children: "Complete GraphQL Federation Stack" }),
|
package/dist/index.d.mts
CHANGED
|
@@ -35,6 +35,7 @@ export { PRODUCTS } from './products.mjs';
|
|
|
35
35
|
export { IEditorProps, IFeatureListProps, IHeroGradientProps, IHeroIllustrationProps, IHeroMarketplaceProps, IHeroVideoProps, IInfoListProps, ILink, IMarketplaceItemProps, IMarketplaceItemsProps, IMarketplaceListProps, IMarketplaceSearchProps, ISchemaPageProps } from './types/components.mjs';
|
|
36
36
|
export { AngularLettermark, ConductorLettermark, ConfigLettermark, EnvelopLettermark, FetsLettermark, GraphQLESlintLettermark, HeltinLettermark, InspectorLettermark, KitQLLettermark, ModulesLettermark, SSELettermark, ScalarsLettermark, SofaLettermark, StitchingLettermark, ToolsLettermark, WSLettermark, WhatsAppLettermark } from './logos/index.mjs';
|
|
37
37
|
export { cn } from './cn.mjs';
|
|
38
|
+
export { NextPageProps } from './next-types.mjs';
|
|
38
39
|
export { GraphQLConfCard, GraphQLConfCardProps } from './components/hive-navigation/graphql-conf-card.mjs';
|
|
39
40
|
import 'react';
|
|
40
41
|
import 'url';
|
package/dist/index.js
CHANGED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Next.js page props type.
|
|
3
|
+
* @see https://nextjs.org/docs/app/api-reference/file-conventions/page#props
|
|
4
|
+
* @see https://nextjs.org/docs/app/building-your-application/routing/dynamic-routes#good-to-know
|
|
5
|
+
*/
|
|
6
|
+
interface NextPageProps<TParams extends string = never, TSearchParams extends string = never> {
|
|
7
|
+
params: Promise<UnionToIntersection<{
|
|
8
|
+
[K in TParams]: {
|
|
9
|
+
[F in K extends `...${infer U}` ? U : K]: K extends `...${string}` ? string[] : string;
|
|
10
|
+
};
|
|
11
|
+
}[TParams]>>;
|
|
12
|
+
searchParams: Promise<{
|
|
13
|
+
[K in TSearchParams]?: string | string[];
|
|
14
|
+
}>;
|
|
15
|
+
}
|
|
16
|
+
type Prettify<T> = {
|
|
17
|
+
[K in keyof T]: T[K];
|
|
18
|
+
} & {};
|
|
19
|
+
type UnionToIntersection<T> = Prettify<(T extends any ? (x: T) => any : never) extends (x: infer R) => any ? R : never>;
|
|
20
|
+
|
|
21
|
+
export type { NextPageProps };
|
|
File without changes
|
package/dist/products.js
CHANGED
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
const PRODUCTS = {
|
|
32
32
|
HIVE: {
|
|
33
33
|
name: "Hive",
|
|
34
|
-
title: "Open Source GraphQL Federation Platform (Schema Registry, Gateway, Analytics)
|
|
34
|
+
title: "Open Source GraphQL Federation Platform (Schema Registry, Gateway, Analytics)",
|
|
35
35
|
href: "https://the-guild.dev/graphql/hive",
|
|
36
36
|
logo: HiveIcon,
|
|
37
37
|
primaryColor: "#ffb21d"
|
|
@@ -192,7 +192,7 @@ const PRODUCTS = {
|
|
|
192
192
|
},
|
|
193
193
|
STELLATE: {
|
|
194
194
|
name: "Stellate",
|
|
195
|
-
title: "GraphQL Edge
|
|
195
|
+
title: "The GraphQL Edge Platform for security, caching, and observability",
|
|
196
196
|
href: "https://stellate.co",
|
|
197
197
|
logo: StellateIcon,
|
|
198
198
|
primaryColor: "#FF7752"
|
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-20241216124717-6446b0a13deaa9c6bbf9cd7cf51bbbcdc5ebb396",
|
|
4
4
|
"repository": {
|
|
5
5
|
"url": "https://github.com/the-guild-org/docs",
|
|
6
6
|
"directory": "packages/components"
|
|
@@ -38,14 +38,14 @@
|
|
|
38
38
|
"style.css"
|
|
39
39
|
],
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"@theguild/tailwind-config": "^0.6.
|
|
41
|
+
"@theguild/tailwind-config": "^0.6.2",
|
|
42
42
|
"next": "^13 || ^14 || ^15.0.0",
|
|
43
43
|
"react": "^18.2.0",
|
|
44
44
|
"react-dom": "^18.2.0"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@giscus/react": "3.0.0",
|
|
48
|
-
"@next/bundle-analyzer": "15.0
|
|
48
|
+
"@next/bundle-analyzer": "15.1.0",
|
|
49
49
|
"@radix-ui/react-navigation-menu": "^1.2.0",
|
|
50
50
|
"clsx": "2.1.1",
|
|
51
51
|
"fuzzy": "0.1.3",
|
|
@@ -58,15 +58,15 @@
|
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
60
|
"@svgr/babel-plugin-remove-jsx-attribute": "^8.0.0",
|
|
61
|
-
"@theguild/tailwind-config": "0.6.
|
|
61
|
+
"@theguild/tailwind-config": "0.6.2",
|
|
62
62
|
"@types/dedent": "0.7.2",
|
|
63
|
-
"@types/react": "18.3.
|
|
64
|
-
"@types/react-dom": "18.3.
|
|
63
|
+
"@types/react": "18.3.16",
|
|
64
|
+
"@types/react-dom": "18.3.5",
|
|
65
65
|
"@types/semver": "7.5.8",
|
|
66
66
|
"dedent": "1.5.3",
|
|
67
67
|
"esbuild-plugin-svgr": "^3.0.0",
|
|
68
|
-
"graphql": "16.
|
|
69
|
-
"next": "15.0
|
|
68
|
+
"graphql": "16.10.0",
|
|
69
|
+
"next": "15.1.0",
|
|
70
70
|
"react": "18.3.1",
|
|
71
71
|
"react-dom": "18.3.1",
|
|
72
72
|
"unified": "^11.0.3",
|