@theguild/components 9.2.0-alpha-20250120172405-1f2936edf38696f1d3973bafc40b7085e1f87421 → 9.2.0-alpha-20250120172742-8adcccd9de3faa03dd57a2ecec7b43427a37a897

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.
@@ -9,6 +9,7 @@ interface HiveLayoutProps extends DetailedHTMLProps<HtmlHTMLAttributes<HTMLHtmlE
9
9
  fontFamily: string;
10
10
  lightOnlyPages: string[];
11
11
  bodyProps?: DetailedHTMLProps<HtmlHTMLAttributes<HTMLBodyElement>, HTMLBodyElement>;
12
+ docsRepositoryBase: string;
12
13
  }
13
14
  /**
14
15
  * Alternative to `GuildLayout` for Hive-branded websites.
@@ -47,6 +48,6 @@ interface HiveLayoutProps extends DetailedHTMLProps<HtmlHTMLAttributes<HTMLHtmlE
47
48
  * <HiveLayoutConfig widths="landing-narrow" />
48
49
  * ```
49
50
  */
50
- declare const HiveLayout: ({ children, head, navbar, footer, className, fontFamily, lightOnlyPages, bodyProps, ...rest }: HiveLayoutProps) => Promise<react_jsx_runtime.JSX.Element>;
51
+ declare const HiveLayout: ({ children, head, navbar, footer, className, fontFamily, lightOnlyPages, bodyProps, docsRepositoryBase, ...rest }: HiveLayoutProps) => Promise<react_jsx_runtime.JSX.Element>;
51
52
 
52
53
  export { HiveLayout, type HiveLayoutProps };
@@ -13,6 +13,7 @@ const HiveLayout = async ({
13
13
  fontFamily,
14
14
  lightOnlyPages,
15
15
  bodyProps,
16
+ docsRepositoryBase,
16
17
  ...rest
17
18
  }) => {
18
19
  const pageMap = await getPageMap();
@@ -75,7 +76,7 @@ const HiveLayout = async ({
75
76
  Layout,
76
77
  {
77
78
  editLink: "Edit this page on GitHub",
78
- docsRepositoryBase: "https://github.com/graphql-hive/platform/tree/main/packages/web/docs",
79
+ docsRepositoryBase,
79
80
  pageMap,
80
81
  feedback: {
81
82
  labels: "kind/docs"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theguild/components",
3
- "version": "9.2.0-alpha-20250120172405-1f2936edf38696f1d3973bafc40b7085e1f87421",
3
+ "version": "9.2.0-alpha-20250120172742-8adcccd9de3faa03dd57a2ecec7b43427a37a897",
4
4
  "repository": {
5
5
  "url": "https://github.com/the-guild-org/docs",
6
6
  "directory": "packages/components"