@theguild/components 8.1.1-alpha-20241216185728-794f81c721cc57fb6ac8dc12c5dad41aabd572a4 → 8.1.1-alpha-20241217022448-68ec52b1bfa1b58c21b78bfc5ca0b7872e7533f3

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/index.d.mts CHANGED
@@ -37,7 +37,6 @@ export { IEditorProps, IFeatureListProps, IHeroGradientProps, IHeroIllustrationP
37
37
  export { AngularLettermark, ConductorLettermark, ConfigLettermark, EnvelopLettermark, FetsLettermark, GraphQLESlintLettermark, HeltinLettermark, InspectorLettermark, KitQLLettermark, ModulesLettermark, SSELettermark, ScalarsLettermark, SofaLettermark, StitchingLettermark, ToolsLettermark, WSLettermark, WhatsAppLettermark } from './logos/index.mjs';
38
38
  export { cn } from './cn.mjs';
39
39
  export { NextPageProps } from './next-types.mjs';
40
- export { sharedMetaItems } from './shared-meta-items.mjs';
41
40
  export { GraphQLConfCard, GraphQLConfCardProps } from './components/hive-navigation/graphql-conf-card.mjs';
42
41
  import 'react';
43
42
  import 'url';
package/dist/index.js CHANGED
@@ -20,7 +20,6 @@ export * from "./types/components";
20
20
  export * from "./logos";
21
21
  import { cn } from "./cn";
22
22
  export * from "./next-types";
23
- import { sharedMetaItems } from "./shared-meta-items";
24
23
  export {
25
24
  Banner,
26
25
  Bleed,
@@ -38,7 +37,6 @@ export {
38
37
  Table,
39
38
  Tabs,
40
39
  cn,
41
- sharedMetaItems,
42
40
  useConfig,
43
41
  useMounted,
44
42
  useTheme,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theguild/components",
3
- "version": "8.1.1-alpha-20241216185728-794f81c721cc57fb6ac8dc12c5dad41aabd572a4",
3
+ "version": "8.1.1-alpha-20241217022448-68ec52b1bfa1b58c21b78bfc5ca0b7872e7533f3",
4
4
  "repository": {
5
5
  "url": "https://github.com/the-guild-org/docs",
6
6
  "directory": "packages/components"
@@ -49,7 +49,7 @@
49
49
  "@radix-ui/react-navigation-menu": "^1.2.0",
50
50
  "clsx": "2.1.1",
51
51
  "fuzzy": "0.1.3",
52
- "nextra": "4.0.0-app-router.35",
52
+ "nextra": "4.0.0-app-router.36",
53
53
  "nextra-theme-docs": "4.0.0-app-router.36",
54
54
  "react-paginate": "8.2.0",
55
55
  "react-player": "2.16.0",
@@ -1,57 +0,0 @@
1
- import * as react from 'react';
2
- import { ProductType } from './products.mjs';
3
-
4
- declare function sharedMetaItems(options: {
5
- githubUrl: string;
6
- product: ProductType;
7
- }): {
8
- products: {
9
- title: string;
10
- type: string;
11
- items: {
12
- [k: string]: {
13
- type: "separator";
14
- title: react.ReactElement;
15
- } | {
16
- href: string;
17
- title: react.ReactElement;
18
- };
19
- };
20
- };
21
- ecosystem: {
22
- href?: string | undefined;
23
- title: string;
24
- type: string;
25
- };
26
- blog: {
27
- title: string;
28
- type: string;
29
- href: string;
30
- };
31
- github: {
32
- title: string;
33
- type: string;
34
- href: string;
35
- };
36
- 'the-guild': {
37
- title: string;
38
- type: string;
39
- items: {
40
- 'about-us': {
41
- title: string;
42
- href: string;
43
- };
44
- 'brand-assets': {
45
- title: string;
46
- href: string;
47
- };
48
- };
49
- };
50
- 'graphql-foundation': {
51
- title: string;
52
- type: string;
53
- href: string;
54
- };
55
- };
56
-
57
- export { sharedMetaItems };
@@ -1,47 +0,0 @@
1
- import { PRODUCTS_MENU_LIST } from "./products";
2
- function sharedMetaItems(options) {
3
- return {
4
- products: {
5
- title: "Products",
6
- type: "menu",
7
- items: PRODUCTS_MENU_LIST
8
- },
9
- ecosystem: {
10
- title: "Ecosystem",
11
- type: "page",
12
- ...options.product === "HIVE" ? {} : { href: "https://the-guild.dev/graphql/hive/ecosystem" }
13
- },
14
- blog: {
15
- title: "Blog",
16
- type: "page",
17
- href: "https://the-guild.dev/blog"
18
- },
19
- github: {
20
- title: "GitHub",
21
- type: "page",
22
- href: options.githubUrl
23
- },
24
- "the-guild": {
25
- title: "The Guild",
26
- type: "menu",
27
- items: {
28
- "about-us": {
29
- title: "About Us",
30
- href: "https://the-guild.dev/about-us"
31
- },
32
- "brand-assets": {
33
- title: "Brand Assets",
34
- href: "https://the-guild.dev/logos"
35
- }
36
- }
37
- },
38
- "graphql-foundation": {
39
- title: "GraphQL Foundation",
40
- type: "page",
41
- href: "https://graphql.org/community/foundation/"
42
- }
43
- };
44
- }
45
- export {
46
- sharedMetaItems
47
- };