@theguild/components 8.0.0-alpha-20241106004011-68dbddfd654c75f5fc0e923db93b8dcba822ea7a → 8.0.0-alpha-20241106010719-0484ee1102603927e37d92640ca206aabe78198e
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/anchor.d.mts +19 -3
- package/dist/components/button.d.mts +1 -0
- package/dist/components/call-to-action.d.mts +1 -0
- package/dist/components/cookies-consent.d.mts +2 -2
- package/dist/components/hive-footer.d.mts +1 -2
- package/dist/components/hive-navigation/index.d.mts +3 -4
- package/dist/components/hive-navigation/index.js +6 -1
- package/dist/components/index.d.mts +1 -0
- package/dist/components/stud.d.mts +2 -2
- package/dist/index.d.mts +2 -1
- package/dist/logos/index.d.mts +20 -22
- package/dist/logos/index.js +16 -13
- package/package.json +1 -1
|
@@ -1,11 +1,27 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
|
+
import * as url from 'url';
|
|
2
3
|
import { ILink } from '../types/components.mjs';
|
|
3
4
|
import 'next/image';
|
|
4
5
|
import 'next/link';
|
|
5
6
|
import 'react-player';
|
|
6
7
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
type AnchorProps = ILink;
|
|
9
|
+
declare const Anchor: react.ForwardRefExoticComponent<{
|
|
10
|
+
href: string | url.UrlObject;
|
|
11
|
+
as?: string | url.UrlObject;
|
|
12
|
+
replace?: boolean;
|
|
13
|
+
scroll?: boolean;
|
|
14
|
+
shallow?: boolean;
|
|
15
|
+
passHref?: boolean;
|
|
16
|
+
prefetch?: boolean | null;
|
|
17
|
+
locale?: string | false;
|
|
18
|
+
legacyBehavior?: boolean;
|
|
19
|
+
onMouseEnter?: React.MouseEventHandler<HTMLAnchorElement>;
|
|
20
|
+
onTouchStart?: React.TouchEventHandler<HTMLAnchorElement>;
|
|
21
|
+
onClick?: React.MouseEventHandler<HTMLAnchorElement>;
|
|
22
|
+
} & Pick<react.DetailedHTMLProps<react.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, "style" | "title" | "target" | "rel" | "className"> & {
|
|
23
|
+
children: react.ReactNode;
|
|
24
|
+
newWindow?: boolean;
|
|
25
|
+
} & react.RefAttributes<HTMLAnchorElement>>;
|
|
10
26
|
|
|
11
27
|
export { Anchor, type AnchorProps };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { ComponentProps } from 'react';
|
|
2
3
|
|
|
3
|
-
|
|
4
|
-
}
|
|
4
|
+
type CookiesConsentProps = ComponentProps<'div'>;
|
|
5
5
|
declare function CookiesConsent(props: CookiesConsentProps): react_jsx_runtime.JSX.Element | null;
|
|
6
6
|
|
|
7
7
|
export { CookiesConsent, type CookiesConsentProps };
|
|
@@ -4,8 +4,7 @@ import 'next/image';
|
|
|
4
4
|
import 'next/link';
|
|
5
5
|
import 'react-player';
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
}
|
|
7
|
+
type HiveFooterProps = IFooterExtendedProps;
|
|
9
8
|
declare const HiveFooter: FC<HiveFooterProps>;
|
|
10
9
|
|
|
11
10
|
export { HiveFooter, type HiveFooterProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import react__default, { ReactNode } from 'react';
|
|
2
|
+
import react__default, { ReactNode, ComponentProps } from 'react';
|
|
3
3
|
export { GraphQLConfCard, GraphQLConfCardProps } from './graphql-conf-card.mjs';
|
|
4
4
|
import 'next/image';
|
|
5
5
|
|
|
@@ -31,9 +31,8 @@ interface ProductsMenuProps extends MenuContentColumnsProps {
|
|
|
31
31
|
/**
|
|
32
32
|
* @internal
|
|
33
33
|
*/
|
|
34
|
-
declare const ProductsMenu: react__default.ForwardRefExoticComponent<ProductsMenuProps & react__default.RefAttributes<HTMLDivElement>>;
|
|
35
|
-
|
|
36
|
-
}
|
|
34
|
+
declare const ProductsMenu: react__default.ForwardRefExoticComponent<Omit<ProductsMenuProps, "ref"> & react__default.RefAttributes<HTMLDivElement>>;
|
|
35
|
+
type MenuContentColumnsProps = ComponentProps<'div'>;
|
|
37
36
|
interface DeveloperMenuProps extends react__default.HTMLAttributes<HTMLDivElement> {
|
|
38
37
|
isHive: boolean;
|
|
39
38
|
}
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
-
import React, {
|
|
3
|
+
import React, {
|
|
4
|
+
forwardRef,
|
|
5
|
+
Fragment,
|
|
6
|
+
useEffect,
|
|
7
|
+
useRef
|
|
8
|
+
} from "react";
|
|
4
9
|
import { createPortal } from "react-dom";
|
|
5
10
|
import { usePathname } from "next/navigation";
|
|
6
11
|
import { setMenu, useMenu, useThemeConfig } from "nextra-theme-docs";
|
|
@@ -29,6 +29,7 @@ export { Stud, StudProps } from './stud.mjs';
|
|
|
29
29
|
export { Giscus } from './giscus.mjs';
|
|
30
30
|
export { GraphQLConfCard, GraphQLConfCardProps } from './hive-navigation/graphql-conf-card.mjs';
|
|
31
31
|
import 'react';
|
|
32
|
+
import 'url';
|
|
32
33
|
import '../types/components.mjs';
|
|
33
34
|
import 'next/image';
|
|
34
35
|
import 'next/link';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { ComponentProps } from 'react';
|
|
2
3
|
|
|
3
|
-
|
|
4
|
-
}
|
|
4
|
+
type StudProps = ComponentProps<'div'>;
|
|
5
5
|
declare function Stud(props: StudProps): react_jsx_runtime.JSX.Element;
|
|
6
6
|
|
|
7
7
|
export { Stud, type StudProps };
|
package/dist/index.d.mts
CHANGED
|
@@ -32,10 +32,11 @@ export { Stud, StudProps } from './components/stud.mjs';
|
|
|
32
32
|
export { Giscus } from './components/giscus.mjs';
|
|
33
33
|
export { PRODUCTS } from './products.mjs';
|
|
34
34
|
export { IEditorProps, IFeatureListProps, IFooterExtendedProps, IHeroGradientProps, IHeroIllustrationProps, IHeroMarketplaceProps, IHeroVideoProps, IInfoListProps, ILink, IMarketplaceItemProps, IMarketplaceItemsProps, IMarketplaceListProps, IMarketplaceSearchProps, ISchemaPageProps } from './types/components.mjs';
|
|
35
|
-
export { AngularLettermark, ConductorLettermark, ConfigLettermark, EnvelopLettermark, FetsLettermark, GraphQLESlintLettermark, HeltinLettermark, InspectorLettermark, KitQLLettermark,
|
|
35
|
+
export { AngularLettermark, ConductorLettermark, ConfigLettermark, EnvelopLettermark, FetsLettermark, GraphQLESlintLettermark, HeltinLettermark, InspectorLettermark, KitQLLettermark, ModulesLettermark, SSELettermark, ScalarsLettermark, SofaLettermark, StitchingLettermark, ToolsLettermark, WSLettermark, WhatsAppLettermark } from './logos/index.mjs';
|
|
36
36
|
export { cn } from './cn.mjs';
|
|
37
37
|
export { GraphQLConfCard, GraphQLConfCardProps } from './components/hive-navigation/graphql-conf-card.mjs';
|
|
38
38
|
import 'react';
|
|
39
|
+
import 'url';
|
|
39
40
|
import 'next/image';
|
|
40
41
|
import 'react/jsx-runtime';
|
|
41
42
|
import '@giscus/react';
|
package/dist/logos/index.d.mts
CHANGED
|
@@ -1,26 +1,24 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import {
|
|
1
|
+
import * as react from 'react';
|
|
2
|
+
import { FC } from 'react';
|
|
3
3
|
export { ReactComponent as AngularLogo, ReactComponent as CodeGeneratorLogo, ReactComponent as ConductorLogo, ReactComponent as ConfigLogo, ReactComponent as FetsLogo, ReactComponent as GraphQLFoundationLogo, ReactComponent as GuildLogo, ReactComponent as HeltinLogo, ReactComponent as HiveCombinationMark, ReactComponent as KitQLLogo, ReactComponent as MeshLogo, ReactComponent as ModulesLogo, ReactComponent as NextraLogo, ReactComponent as SSELogo, ReactComponent as StitchingLogo, ReactComponent as TheGuild, ReactComponent as ToolsLogo, ReactComponent as WSLogo, ReactComponent as WhatsAppLogo, ReactComponent as YogaLogo } from './angular.mjs';
|
|
4
4
|
import 'nextra/icons';
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
declare const
|
|
9
|
-
declare const
|
|
10
|
-
declare const
|
|
11
|
-
declare const
|
|
12
|
-
declare const
|
|
13
|
-
declare const
|
|
14
|
-
declare const
|
|
15
|
-
declare const
|
|
16
|
-
declare const
|
|
17
|
-
declare const
|
|
18
|
-
declare const
|
|
19
|
-
declare const
|
|
20
|
-
declare const
|
|
21
|
-
declare const
|
|
22
|
-
declare const
|
|
23
|
-
declare const HeltinLettermark: (props: LettermarkLogoProps) => react_jsx_runtime.JSX.Element;
|
|
24
|
-
declare const WhatsAppLettermark: (props: LettermarkLogoProps) => react_jsx_runtime.JSX.Element;
|
|
6
|
+
declare const InspectorLettermark: FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>>;
|
|
7
|
+
declare const SofaLettermark: FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>>;
|
|
8
|
+
declare const GraphQLESlintLettermark: FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>>;
|
|
9
|
+
declare const EnvelopLettermark: FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>>;
|
|
10
|
+
declare const ScalarsLettermark: FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>>;
|
|
11
|
+
declare const ConductorLettermark: FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>>;
|
|
12
|
+
declare const StitchingLettermark: FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>>;
|
|
13
|
+
declare const ToolsLettermark: FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>>;
|
|
14
|
+
declare const ModulesLettermark: FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>>;
|
|
15
|
+
declare const ConfigLettermark: FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>>;
|
|
16
|
+
declare const FetsLettermark: FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>>;
|
|
17
|
+
declare const AngularLettermark: FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>>;
|
|
18
|
+
declare const KitQLLettermark: FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>>;
|
|
19
|
+
declare const WSLettermark: FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>>;
|
|
20
|
+
declare const SSELettermark: FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>>;
|
|
21
|
+
declare const HeltinLettermark: FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>>;
|
|
22
|
+
declare const WhatsAppLettermark: FC<react.DetailedHTMLProps<react.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>>;
|
|
25
23
|
|
|
26
|
-
export { AngularLettermark, ConductorLettermark, ConfigLettermark, EnvelopLettermark, FetsLettermark, GraphQLESlintLettermark, HeltinLettermark, InspectorLettermark, KitQLLettermark,
|
|
24
|
+
export { AngularLettermark, ConductorLettermark, ConfigLettermark, EnvelopLettermark, FetsLettermark, GraphQLESlintLettermark, HeltinLettermark, InspectorLettermark, KitQLLettermark, ModulesLettermark, SSELettermark, ScalarsLettermark, SofaLettermark, StitchingLettermark, ToolsLettermark, WSLettermark, WhatsAppLettermark };
|
package/dist/logos/index.js
CHANGED
|
@@ -20,19 +20,22 @@ import { ReactComponent as ReactComponent17 } from "./ws";
|
|
|
20
20
|
import { ReactComponent as ReactComponent18 } from "./yoga";
|
|
21
21
|
import { ReactComponent as ReactComponent19 } from "./hive-combination-mark";
|
|
22
22
|
import { ReactComponent as ReactComponent20 } from "./graphql-foundation";
|
|
23
|
-
const createLettermarkLogo = (text) =>
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
23
|
+
const createLettermarkLogo = (text) => {
|
|
24
|
+
const LettermarkLogo = (props) => {
|
|
25
|
+
return /* @__PURE__ */ jsx(
|
|
26
|
+
"span",
|
|
27
|
+
{
|
|
28
|
+
role: "img",
|
|
29
|
+
...props,
|
|
30
|
+
className: cn(
|
|
31
|
+
"inline-flex items-center justify-center text-sm font-medium leading-5",
|
|
32
|
+
props.className
|
|
33
|
+
),
|
|
34
|
+
children: text
|
|
35
|
+
}
|
|
36
|
+
);
|
|
37
|
+
};
|
|
38
|
+
return LettermarkLogo;
|
|
36
39
|
};
|
|
37
40
|
const InspectorLettermark = createLettermarkLogo("INS");
|
|
38
41
|
const SofaLettermark = createLettermarkLogo("SOF");
|
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-20241106010719-0484ee1102603927e37d92640ca206aabe78198e",
|
|
4
4
|
"repository": {
|
|
5
5
|
"url": "https://github.com/the-guild-org/docs",
|
|
6
6
|
"directory": "packages/components"
|