@theguild/components 8.0.0-alpha-20241205183548-843f757f399fac8fe54497e56140a78e51608c27 → 8.0.0-alpha-20241205184750-a8780d2890166760d50c651e6609e2f43d441c5d
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.
|
@@ -42,7 +42,7 @@ interface ProductsMenuProps extends MenuContentColumnsProps {
|
|
|
42
42
|
declare const ProductsMenu: react__default.ForwardRefExoticComponent<Omit<ProductsMenuProps, "ref"> & react__default.RefAttributes<HTMLDivElement>>;
|
|
43
43
|
type MenuContentColumnsProps = ComponentProps<'div'>;
|
|
44
44
|
interface DeveloperMenuProps extends react__default.HTMLAttributes<HTMLDivElement> {
|
|
45
|
-
developerMenu
|
|
45
|
+
developerMenu: {
|
|
46
46
|
href: string;
|
|
47
47
|
title?: string;
|
|
48
48
|
icon: ReactNode;
|
|
@@ -240,7 +240,7 @@ const DeveloperMenu = React.forwardRef(
|
|
|
240
240
|
return /* @__PURE__ */ jsxs(MenuContentColumns, { ...rest, ref, children: [
|
|
241
241
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
242
242
|
/* @__PURE__ */ jsx(ColumnLabel, { children: "Developer" }),
|
|
243
|
-
/* @__PURE__ */ jsx("ul", { children: developerMenu
|
|
243
|
+
/* @__PURE__ */ jsx("ul", { children: developerMenu.map(({ href, title, icon, children }, i) => /* @__PURE__ */ jsx(MenuColumnListItem, { title, href, icon, children }, i)) })
|
|
244
244
|
] }),
|
|
245
245
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
246
246
|
/* @__PURE__ */ jsx(ColumnLabel, { children: "Community" }),
|
package/dist/products.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FC, SVGProps, HTMLProps } from 'react';
|
|
1
|
+
import { FC, SVGProps, HTMLProps, ReactElement } from 'react';
|
|
2
2
|
|
|
3
3
|
type ProductType = 'HIVE' | 'HIVE_GATEWAY' | 'CONDUCTOR' | 'YOGA' | 'ENVELOP' | 'INSPECTOR' | 'CODEGEN' | 'MESH' | 'TOOLS' | 'MODULES' | 'ESLINT' | 'CONFIG' | 'SCALARS' | 'SOFA' | 'STITCHING' | 'ANGULAR' | 'WHATSAPP' | 'KITQL' | 'SSE' | 'WS' | 'FETS' | 'HELTIN' | 'NEXTRA' | 'STELLATE';
|
|
4
4
|
interface ProductInfo {
|
|
@@ -12,6 +12,14 @@ declare const PRODUCTS: Record<ProductType, ProductInfo>;
|
|
|
12
12
|
declare const FOUR_MAIN_PRODUCTS: ProductInfo[];
|
|
13
13
|
declare const SIX_HIGHLIGHTED_PRODUCTS: ProductInfo[];
|
|
14
14
|
/** List of products displayed in hamburger menu. */
|
|
15
|
-
declare const PRODUCTS_MENU_LIST:
|
|
15
|
+
declare const PRODUCTS_MENU_LIST: {
|
|
16
|
+
[k: string]: {
|
|
17
|
+
type: "separator";
|
|
18
|
+
title: ReactElement;
|
|
19
|
+
} | {
|
|
20
|
+
href: string;
|
|
21
|
+
title: ReactElement;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
16
24
|
|
|
17
25
|
export { FOUR_MAIN_PRODUCTS, PRODUCTS, PRODUCTS_MENU_LIST, type ProductInfo, type ProductType, SIX_HIGHLIGHTED_PRODUCTS };
|
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-20241205184750-a8780d2890166760d50c651e6609e2f43d441c5d",
|
|
4
4
|
"repository": {
|
|
5
5
|
"url": "https://github.com/the-guild-org/docs",
|
|
6
6
|
"directory": "packages/components"
|