@theguild/components 7.6.2 → 7.6.3

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
@@ -11,7 +11,7 @@ import * as url from 'url';
11
11
  import { ImageProps, StaticImageData } from 'next/image';
12
12
  import { LinkProps } from 'next/link';
13
13
  import { ReactPlayerProps } from 'react-player';
14
- export { AngularLogo as AccountBox, AngularLogo, AngularLogo as AppsIcon, AngularLogo as ArchDecoration, AngularLogo as ArchDecorationGradientDefs, AngularLogo as ArrowIcon, AngularLogo as BardIcon, AngularLogo as CSAStarLevelOneIcon, AngularLogo as CaretSlimIcon, AngularLogo as CheckIcon, AngularLogo as CloseIcon, AngularLogo as CodeGeneratorLogo, AngularLogo as CodegenIcon, AngularLogo as ConductorLogo, AngularLogo as ConfigLogo, EnvelopLettermark, AngularLogo as FetsLogo, GraphQLESlintLettermark, AngularLogo as GraphQLFoundationLogo, AngularLogo as GroupIcon, AngularLogo as GuildLogo, AngularLogo as HeltinLogo, AngularLogo as HighlightDecoration, AngularLogo as HiveCombinationMark, AngularLogo as HiveGatewayIcon, AngularLogo as HiveIcon, AngularLogo as HonourIcon, InspectorLettermark, AngularLogo as KitQLLogo, AngularLogo as LargeHiveIconDecoration, LettermarkLogoProps, AngularLogo as LinkedInIcon, AngularLogo as ListIcon, AngularLogo as MeshIcon, AngularLogo as MeshLogo, AngularLogo as ModulesLogo, AngularLogo as MoonIcon, AngularLogo as MoreIcon, AngularLogo as NextraLogo, AngularLogo as PaperIcon, AngularLogo as PencilIcon, AngularLogo as RightCornerIcon, AngularLogo as SSELogo, ScalarsLettermark, AngularLogo as SearchIcon, AngularLogo as ShareIcon, AngularLogo as ShieldFlashIcon, SofaLettermark, AngularLogo as StellateIcon, AngularLogo as StitchingLogo, AngularLogo as TargetIcon, AngularLogo as TheGuild, AngularLogo as ToolsLogo, AngularLogo as TwitterIcon, AngularLogo as WSLogo, AngularLogo as WhatsAppLogo, AngularLogo as YogaIcon, AngularLogo as YogaLogo, AngularLogo as YouTubeIcon } from './logos.mjs';
14
+ export { AngularLogo as AccountBox, AngularLogo, AngularLogo as AppsIcon, AngularLogo as ArchDecoration, AngularLogo as ArchDecorationGradientDefs, AngularLogo as ArrowIcon, AngularLogo as BardIcon, AngularLogo as CSAStarLevelOneIcon, AngularLogo as CaretSlimIcon, AngularLogo as CheckIcon, AngularLogo as CloseIcon, AngularLogo as CodeGeneratorLogo, AngularLogo as CodegenIcon, AngularLogo as ConductorLogo, AngularLogo as ConfigLogo, EnvelopLettermark, AngularLogo as FetsLogo, GraphQLESlintLettermark, AngularLogo as GraphQLFoundationLogo, AngularLogo as GroupIcon, AngularLogo as GuildLogo, AngularLogo as HeltinLogo, AngularLogo as HiveCombinationMark, AngularLogo as HiveGatewayIcon, AngularLogo as HiveIcon, AngularLogo as HonourIcon, InspectorLettermark, AngularLogo as KitQLLogo, AngularLogo as LargeHiveIconDecoration, LettermarkLogoProps, AngularLogo as LinkedInIcon, AngularLogo as ListIcon, AngularLogo as MeshIcon, AngularLogo as MeshLogo, AngularLogo as ModulesLogo, AngularLogo as MoonIcon, AngularLogo as MoreIcon, AngularLogo as NextraLogo, AngularLogo as PaperIcon, AngularLogo as PencilIcon, AngularLogo as RightCornerIcon, AngularLogo as SSELogo, ScalarsLettermark, AngularLogo as SearchIcon, AngularLogo as ShareIcon, AngularLogo as ShieldFlashIcon, SofaLettermark, AngularLogo as StellateIcon, AngularLogo as StitchingLogo, AngularLogo as TargetIcon, AngularLogo as TheGuild, AngularLogo as ToolsLogo, AngularLogo as TwitterIcon, AngularLogo as WSLogo, AngularLogo as WhatsAppLogo, AngularLogo as YogaIcon, AngularLogo as YogaLogo, AngularLogo as YouTubeIcon } from './logos.mjs';
15
15
  export { DiscordIcon, GitHubIcon, InformationCircleIcon } from 'nextra/icons';
16
16
  import * as react_jsx_runtime from 'react/jsx-runtime';
17
17
  import { ProductInfo } from './products.mjs';
@@ -320,6 +320,7 @@ declare function ToolsAndLibrariesCards({ className, isHive, ...rest }: ToolsAnd
320
320
  * Decorations must be isolated, as clicking id links scrolls the container with overflow: hidden.
321
321
  */
322
322
  declare function DecorationIsolation(props: React.HTMLAttributes<HTMLDivElement>): react_jsx_runtime.JSX.Element;
323
+ declare const HighlightDecoration: (props: React.SVGProps<SVGSVGElement>) => react_jsx_runtime.JSX.Element;
323
324
 
324
325
  declare const variantStyles: {
325
326
  primary: string;
@@ -453,4 +454,4 @@ declare module 'react' {
453
454
  }
454
455
  }
455
456
 
456
- export { Anchor, AncillaryProductCard, Button, CallToAction, CallToActionProps, CardsColorful, ContactButton, type ContactButtonProps, ContactTextLink, type ContactTextLinkProps, CookiesConsent, type CookiesConsentProps, DecorationIsolation, Dropdown, DropdownContent, DropdownItem, DropdownTrigger, ExploreMainProductCards, type ExploreMainProductCardsProps, FeatureList, Footer, GetYourAPIGameRightSection, GraphQLConfCard, type GraphQLConfCardProps, Heading, type HeadingProps, HeroGradient, HeroIllustration, HeroMarketplace, HeroVideo, HiveFooter, HiveNavigation, type HiveNavigationProps, type IEditorProps, type IFeatureListProps, type IFooterExtendedProps, type IHeroGradientProps, type IHeroIllustrationProps, type IHeroMarketplaceProps, type IHeroVideoProps, type IInfoListProps, type ILink, type IMarketplaceItemProps, type IMarketplaceItemsProps, type IMarketplaceListProps, type IMarketplaceSearchProps, type ISchemaPageProps, Image, InfoCard, type InfoCardProps, InfoList, LegacyPackageCmd, MDXLink, type MDXLinkProps, MainProductCard, MarketplaceList, MarketplaceSearch, NPMBadge, ProductCard, type ProductCardProps, Stud, type StudProps, TextLink, type TextLinkProps, ThemeSwitcherButton, ToolsAndLibrariesCards, VersionDropdown, type VersionDropdownProps, cn, defineConfig, fetchPackageInfo, getNavbarLogo, hiveMdxComponents, mdxComponents, productsItems };
457
+ export { Anchor, AncillaryProductCard, Button, CallToAction, CallToActionProps, CardsColorful, ContactButton, type ContactButtonProps, ContactTextLink, type ContactTextLinkProps, CookiesConsent, type CookiesConsentProps, DecorationIsolation, Dropdown, DropdownContent, DropdownItem, DropdownTrigger, ExploreMainProductCards, type ExploreMainProductCardsProps, FeatureList, Footer, GetYourAPIGameRightSection, GraphQLConfCard, type GraphQLConfCardProps, Heading, type HeadingProps, HeroGradient, HeroIllustration, HeroMarketplace, HeroVideo, HighlightDecoration, HiveFooter, HiveNavigation, type HiveNavigationProps, type IEditorProps, type IFeatureListProps, type IFooterExtendedProps, type IHeroGradientProps, type IHeroIllustrationProps, type IHeroMarketplaceProps, type IHeroVideoProps, type IInfoListProps, type ILink, type IMarketplaceItemProps, type IMarketplaceItemsProps, type IMarketplaceListProps, type IMarketplaceSearchProps, type ISchemaPageProps, Image, InfoCard, type InfoCardProps, InfoList, LegacyPackageCmd, MDXLink, type MDXLinkProps, MainProductCard, MarketplaceList, MarketplaceSearch, NPMBadge, ProductCard, type ProductCardProps, Stud, type StudProps, TextLink, type TextLinkProps, ThemeSwitcherButton, ToolsAndLibrariesCards, VersionDropdown, type VersionDropdownProps, cn, defineConfig, fetchPackageInfo, getNavbarLogo, hiveMdxComponents, mdxComponents, productsItems };
package/dist/index.js CHANGED
@@ -1347,35 +1347,35 @@ function CallToAction(props) {
1347
1347
  ] });
1348
1348
  }
1349
1349
 
1350
+ // src/components/decorations/highlight-decoration.svg
1351
+ import { jsx as jsx24, jsxs as jsxs15 } from "react/jsx-runtime";
1352
+ var SvgHighlightDecoration = (props) => /* @__PURE__ */ jsxs15("svg", { width: 895, height: 674, viewBox: "0 0 895 674", fill: "#86B6C1", className: "firefox-highlight-fix", ...props, children: [
1353
+ /* @__PURE__ */ jsx24("g", { filter: "url(#filter0_f_711_1774)", children: /* @__PURE__ */ jsx24("path", { d: "M350 280.534C350 296.208 356.24 311.261 367.33 322.351L453.447 408.468L463.532 418.553L549.649 504.67C560.739 515.76 575.792 522 591.466 522L894 522L894 408.468L552.251 408.468C503.249 408.468 463.532 368.751 463.532 319.749L463.532 -22L350 -22L350 280.534Z" }) }),
1354
+ /* @__PURE__ */ jsx24("defs", { children: /* @__PURE__ */ jsxs15("filter", { id: "filter0_f_711_1774", x: -305176e-10, y: -372, width: 1244, height: 1244, filterUnits: "userSpaceOnUse", colorInterpolationFilters: "sRGB", children: [
1355
+ /* @__PURE__ */ jsx24("feFlood", { floodOpacity: 0, result: "BackgroundImageFix" }),
1356
+ /* @__PURE__ */ jsx24("feBlend", { mode: "normal", in: "SourceGraphic", in2: "BackgroundImageFix", result: "shape" }),
1357
+ /* @__PURE__ */ jsx24("feGaussianBlur", { stdDeviation: 175, result: "effect1_foregroundBlur_711_1774" })
1358
+ ] }) }),
1359
+ /* @__PURE__ */ jsx24("style", { children: "\n @supports (-moz-appearance: none) {\n .firefox-highlight-fix {\n opacity: 0.3;\n filter: blur(175px);\n }\n }\n " })
1360
+ ] });
1361
+
1350
1362
  // src/components/decorations/arch-decoration.svg
1351
- import { jsx as jsx24 } from "react/jsx-runtime";
1352
- var SvgArchDecoration = (props) => /* @__PURE__ */ jsx24("svg", { width: 432, height: 432, viewBox: "0 0 432 432", preserveAspectRatio: "xMidYMid meet", ...props, children: /* @__PURE__ */ jsx24("path", { d: "M.75 431v.25h90.24V160.868c0-38.596 31.282-69.878 69.878-69.878H431.25V.75H191.864a47.017 47.017 0 0 0-33.23 13.771l-68.07 68.071-7.972 7.971-68.07 68.071A47.018 47.018 0 0 0 .75 191.864V431Z", fill: "url(#arch-decoration-a)", stroke: "url(#arch-decoration-b)", strokeWidth: 0.5 }) });
1363
+ import { jsx as jsx25 } from "react/jsx-runtime";
1364
+ var SvgArchDecoration = (props) => /* @__PURE__ */ jsx25("svg", { width: 432, height: 432, viewBox: "0 0 432 432", preserveAspectRatio: "xMidYMid meet", ...props, children: /* @__PURE__ */ jsx25("path", { d: "M.75 431v.25h90.24V160.868c0-38.596 31.282-69.878 69.878-69.878H431.25V.75H191.864a47.017 47.017 0 0 0-33.23 13.771l-68.07 68.071-7.972 7.971-68.07 68.071A47.018 47.018 0 0 0 .75 191.864V431Z", fill: "url(#arch-decoration-a)", stroke: "url(#arch-decoration-b)", strokeWidth: 0.5 }) });
1353
1365
 
1354
1366
  // src/components/decorations/arch-decoration-gradient-defs.svg
1355
- import { jsx as jsx25, jsxs as jsxs15 } from "react/jsx-runtime";
1356
- var SvgArchDecorationGradientDefs = (props) => /* @__PURE__ */ jsx25("svg", { width: 432, height: 432, viewBox: "0 0 432 432", className: "absolute -z-10", ...props, children: /* @__PURE__ */ jsxs15("defs", { children: [
1357
- /* @__PURE__ */ jsxs15("linearGradient", { id: "arch-decoration-a", x1: 48.5, y1: 53.5, x2: 302.5, y2: 341, gradientUnits: "userSpaceOnUse", children: [
1358
- /* @__PURE__ */ jsx25("stop", { stopColor: "#fff", stopOpacity: 0.1 }),
1359
- /* @__PURE__ */ jsx25("stop", { offset: 1, stopColor: "#fff", stopOpacity: 0.3 })
1367
+ import { jsx as jsx26, jsxs as jsxs16 } from "react/jsx-runtime";
1368
+ var SvgArchDecorationGradientDefs = (props) => /* @__PURE__ */ jsx26("svg", { width: 432, height: 432, viewBox: "0 0 432 432", className: "absolute -z-10", ...props, children: /* @__PURE__ */ jsxs16("defs", { children: [
1369
+ /* @__PURE__ */ jsxs16("linearGradient", { id: "arch-decoration-a", x1: 48.5, y1: 53.5, x2: 302.5, y2: 341, gradientUnits: "userSpaceOnUse", children: [
1370
+ /* @__PURE__ */ jsx26("stop", { stopColor: "#fff", stopOpacity: 0.1 }),
1371
+ /* @__PURE__ */ jsx26("stop", { offset: 1, stopColor: "#fff", stopOpacity: 0.3 })
1360
1372
  ] }),
1361
- /* @__PURE__ */ jsxs15("linearGradient", { id: "arch-decoration-b", x1: 1, y1: 1, x2: 431, y2: 431, gradientUnits: "userSpaceOnUse", children: [
1362
- /* @__PURE__ */ jsx25("stop", { stopColor: "#fff", stopOpacity: 0.1 }),
1363
- /* @__PURE__ */ jsx25("stop", { offset: 1, stopColor: "#fff", stopOpacity: 0.4 })
1373
+ /* @__PURE__ */ jsxs16("linearGradient", { id: "arch-decoration-b", x1: 1, y1: 1, x2: 431, y2: 431, gradientUnits: "userSpaceOnUse", children: [
1374
+ /* @__PURE__ */ jsx26("stop", { stopColor: "#fff", stopOpacity: 0.1 }),
1375
+ /* @__PURE__ */ jsx26("stop", { offset: 1, stopColor: "#fff", stopOpacity: 0.4 })
1364
1376
  ] })
1365
1377
  ] }) });
1366
1378
 
1367
- // src/components/decorations/highlight-decoration.svg
1368
- import { jsx as jsx26, jsxs as jsxs16 } from "react/jsx-runtime";
1369
- var SvgHighlightDecoration = (props) => /* @__PURE__ */ jsxs16("svg", { width: 895, height: 674, viewBox: "0 0 895 674", fill: "#86B6C1", className: "firefox-highlight-fix", ...props, children: [
1370
- /* @__PURE__ */ jsx26("g", { filter: "url(#filter0_f_711_1774)", children: /* @__PURE__ */ jsx26("path", { d: "M350 280.534C350 296.208 356.24 311.261 367.33 322.351L453.447 408.468L463.532 418.553L549.649 504.67C560.739 515.76 575.792 522 591.466 522L894 522L894 408.468L552.251 408.468C503.249 408.468 463.532 368.751 463.532 319.749L463.532 -22L350 -22L350 280.534Z" }) }),
1371
- /* @__PURE__ */ jsx26("defs", { children: /* @__PURE__ */ jsxs16("filter", { id: "filter0_f_711_1774", x: -305176e-10, y: -372, width: 1244, height: 1244, filterUnits: "userSpaceOnUse", colorInterpolationFilters: "sRGB", children: [
1372
- /* @__PURE__ */ jsx26("feFlood", { floodOpacity: 0, result: "BackgroundImageFix" }),
1373
- /* @__PURE__ */ jsx26("feBlend", { mode: "normal", in: "SourceGraphic", in2: "BackgroundImageFix", result: "shape" }),
1374
- /* @__PURE__ */ jsx26("feGaussianBlur", { stdDeviation: 175, result: "effect1_foregroundBlur_711_1774" })
1375
- ] }) }),
1376
- /* @__PURE__ */ jsx26("style", { children: "\n @supports (-moz-appearance: none) {\n .firefox-highlight-fix {\n opacity: 0.3;\n filter: blur(175px);\n }\n }\n " })
1377
- ] });
1378
-
1379
1379
  // src/components/decorations/large-hive-icon-decoration.svg
1380
1380
  import { jsx as jsx27, jsxs as jsxs17 } from "react/jsx-runtime";
1381
1381
  var SvgLargeHiveIconDecoration = (props) => /* @__PURE__ */ jsxs17("svg", { width: 305, height: 217, viewBox: "0 0 305 217", fill: "none", ...props, children: [
@@ -1408,6 +1408,10 @@ function DecorationIsolation(props) {
1408
1408
  }
1409
1409
  );
1410
1410
  }
1411
+ var HighlightDecoration = (props) => (
1412
+ // eslint-disable-next-line tailwindcss/no-custom-classname
1413
+ /* @__PURE__ */ jsx28(SvgHighlightDecoration, { ...props, className: cn(props.className, "firefox-highlight-fix") })
1414
+ );
1411
1415
 
1412
1416
  // src/components/get-your-api-game-right-section.tsx
1413
1417
  import { jsx as jsx29, jsxs as jsxs18 } from "react/jsx-runtime";
@@ -2452,7 +2456,7 @@ function MainProductCard({ as: Root2, product, className, ...rest }) {
2452
2456
  ) })
2453
2457
  }
2454
2458
  ),
2455
- /* @__PURE__ */ jsx39(SvgHighlightDecoration, { className: "pointer-events-none absolute left-0 top-[-15%] h-[150%] w-full opacity-0 transition-opacity duration-1000 group-focus-within:opacity-100 group-hover:opacity-100" })
2459
+ /* @__PURE__ */ jsx39(HighlightDecoration, { className: "pointer-events-none absolute left-0 top-[-15%] h-[150%] w-full opacity-0 transition-opacity duration-1000 group-focus-within:opacity-100 group-hover:opacity-100" })
2456
2460
  ] })
2457
2461
  ]
2458
2462
  }
@@ -3092,7 +3096,7 @@ export {
3092
3096
  HeroIllustration,
3093
3097
  HeroMarketplace,
3094
3098
  HeroVideo,
3095
- SvgHighlightDecoration as HighlightDecoration,
3099
+ HighlightDecoration,
3096
3100
  SvgHiveCombinationMark as HiveCombinationMark,
3097
3101
  HiveFooter,
3098
3102
  SvgHiveGateway as HiveGatewayIcon,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theguild/components",
3
- "version": "7.6.2",
3
+ "version": "7.6.3",
4
4
  "repository": {
5
5
  "url": "https://github.com/the-guild-org/docs",
6
6
  "directory": "packages/components"