@theguild/components 9.10.0 → 9.11.0-alpha-20251009175329-f9bae852308f61b0d56aba51cb872d48115b2ca1

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.
@@ -3,7 +3,12 @@ import { StaticImageData } from 'next/image';
3
3
 
4
4
  interface GraphQLConfCardProps {
5
5
  image: StaticImageData;
6
+ href?: string;
7
+ title?: string;
8
+ details?: string;
9
+ description?: string;
10
+ callToAction?: string;
6
11
  }
7
- declare function GraphQLConfCard({ image }: GraphQLConfCardProps): react_jsx_runtime.JSX.Element;
12
+ declare function GraphQLConfCard({ image, href, title, details, description, callToAction, }: GraphQLConfCardProps): react_jsx_runtime.JSX.Element;
8
13
 
9
14
  export { GraphQLConfCard, type GraphQLConfCardProps };
@@ -2,24 +2,24 @@ import { jsx, jsxs } from "react/jsx-runtime";
2
2
  import { ArrowIcon } from "../icons";
3
3
  import { Image } from "../image";
4
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: "", src: 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 2025" }),
14
- /* @__PURE__ */ jsx("p", { className: "mt-4 text-sm font-medium leading-5 text-green-800 dark:text-neutral-200", children: "September 08-10 | Amsterdam, NL" }),
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 2025",
18
- /* @__PURE__ */ jsx(ArrowIcon, {})
19
- ] })
20
- ]
21
- }
22
- );
5
+ function GraphQLConfCard({
6
+ image,
7
+ href = "https://youtube.com/playlist?list=PL43V96KpNj7MKvDbnyOUrRv0k1gCODtjW&si=nOiETn8J21mYA9pm",
8
+ title = "GraphQLConf 2025",
9
+ details = "September 08-10 | Amsterdam, NL",
10
+ description = "The official GraphQL conference hosted by GraphQL Foundation.",
11
+ callToAction = "Watch The Guild at GraphQLConf 2025"
12
+ }) {
13
+ return /* @__PURE__ */ jsxs(NavigationMenuLink, { href, className: "group w-[358px]", children: [
14
+ /* @__PURE__ */ jsx(Image, { alt: "", src: image, width: 358, height: 200 }),
15
+ /* @__PURE__ */ jsx("strong", { className: "mt-6 block text-xl font-medium leading-7 text-green-1000 dark:text-neutral-100", children: title }),
16
+ /* @__PURE__ */ jsx("p", { className: "mt-4 text-sm font-medium leading-5 text-green-800 dark:text-neutral-200", children: details }),
17
+ /* @__PURE__ */ jsx("p", { className: "mt-2 text-sm font-normal leading-5 text-green-800 dark:text-neutral-200", children: description }),
18
+ /* @__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: [
19
+ callToAction,
20
+ /* @__PURE__ */ jsx(ArrowIcon, {})
21
+ ] })
22
+ ] });
23
23
  }
24
24
  export {
25
25
  GraphQLConfCard
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theguild/components",
3
- "version": "9.10.0",
3
+ "version": "9.11.0-alpha-20251009175329-f9bae852308f61b0d56aba51cb872d48115b2ca1",
4
4
  "repository": {
5
5
  "url": "https://github.com/the-guild-org/docs",
6
6
  "directory": "packages/components"
@@ -69,7 +69,7 @@
69
69
  "@types/semver": "7.7.1",
70
70
  "dedent": "1.5.3",
71
71
  "esbuild-plugin-svgr": "^3.0.0",
72
- "graphql": "16.10.0",
72
+ "graphql": "16.11.0",
73
73
  "next": "15.1.5",
74
74
  "react": "18.3.1",
75
75
  "react-dom": "18.3.1",