@theguild/components 8.0.0-alpha-20241205183441-71bf96d1f073860edd4a660b8f76ace246269df5 → 8.0.0-alpha-20241205183825-34b46e8fd44fadd3c8310a8bf1824a0dfddc197f
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,3 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import { FC, SVGProps, HTMLProps } from 'react';
|
|
3
2
|
|
|
4
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';
|
|
@@ -13,11 +12,6 @@ declare const PRODUCTS: Record<ProductType, ProductInfo>;
|
|
|
13
12
|
declare const FOUR_MAIN_PRODUCTS: ProductInfo[];
|
|
14
13
|
declare const SIX_HIGHLIGHTED_PRODUCTS: ProductInfo[];
|
|
15
14
|
/** List of products displayed in hamburger menu. */
|
|
16
|
-
declare const PRODUCTS_MENU_LIST:
|
|
17
|
-
[k: string]: {
|
|
18
|
-
href: string;
|
|
19
|
-
title: react_jsx_runtime.JSX.Element;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
15
|
+
declare const PRODUCTS_MENU_LIST: any;
|
|
22
16
|
|
|
23
17
|
export { FOUR_MAIN_PRODUCTS, PRODUCTS, PRODUCTS_MENU_LIST, type ProductInfo, type ProductType, SIX_HIGHLIGHTED_PRODUCTS };
|
package/dist/products.js
CHANGED
|
@@ -218,8 +218,7 @@ const PRODUCTS_MENU_LIST = Object.fromEntries(
|
|
|
218
218
|
return [
|
|
219
219
|
i,
|
|
220
220
|
{
|
|
221
|
-
|
|
222
|
-
href: "#",
|
|
221
|
+
type: "separator",
|
|
223
222
|
title: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
224
223
|
/* @__PURE__ */ jsx("style", { className: "hive-label-separator", children: ":is(a,li):has(>.hive-label-separator) { margin: 0.75rem 0 0.25rem 0; padding: 0 }" }),
|
|
225
224
|
/* @__PURE__ */ jsx("span", { className: "ml-2 font-medium text-gray-500 dark:text-neutral-400", children: item })
|
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-20241205183825-34b46e8fd44fadd3c8310a8bf1824a0dfddc197f",
|
|
4
4
|
"repository": {
|
|
5
5
|
"url": "https://github.com/the-guild-org/docs",
|
|
6
6
|
"directory": "packages/components"
|