@augmenting-integrations/ui 1.0.0 → 2.1.0
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/marketing/Hero.cjs +63 -0
- package/dist/components/marketing/Hero.cjs.map +1 -0
- package/dist/components/marketing/Hero.d.ts +18 -0
- package/dist/components/marketing/Hero.d.ts.map +1 -0
- package/dist/components/marketing/Hero.js +39 -0
- package/dist/components/marketing/Hero.js.map +1 -0
- package/dist/components/marketing/MdxContent.cjs +87 -0
- package/dist/components/marketing/MdxContent.cjs.map +1 -0
- package/dist/components/marketing/MdxContent.d.ts +4 -0
- package/dist/components/marketing/MdxContent.d.ts.map +1 -0
- package/dist/components/marketing/MdxContent.js +53 -0
- package/dist/components/marketing/MdxContent.js.map +1 -0
- package/dist/index.cjs +6 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/package.json +7 -5
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var Hero_exports = {};
|
|
20
|
+
__export(Hero_exports, {
|
|
21
|
+
Hero: () => Hero
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(Hero_exports);
|
|
24
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
25
|
+
function Hero({ eyebrow, heading, subheading, cta, background }) {
|
|
26
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("section", { className: "relative overflow-hidden border-b border-border bg-gradient-to-b from-background to-muted/40", children: [
|
|
27
|
+
background ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
|
|
28
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
29
|
+
"div",
|
|
30
|
+
{
|
|
31
|
+
"aria-hidden": true,
|
|
32
|
+
className: "absolute inset-0 bg-cover bg-center opacity-25",
|
|
33
|
+
style: { backgroundImage: `url(${background})` }
|
|
34
|
+
}
|
|
35
|
+
),
|
|
36
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
37
|
+
"div",
|
|
38
|
+
{
|
|
39
|
+
"aria-hidden": true,
|
|
40
|
+
className: "absolute inset-0 bg-gradient-to-r from-background via-background/85 to-background/40"
|
|
41
|
+
}
|
|
42
|
+
)
|
|
43
|
+
] }) : null,
|
|
44
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "relative mx-auto max-w-6xl px-6 py-20 md:py-28", children: [
|
|
45
|
+
eyebrow ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "mb-3 text-sm font-medium uppercase tracking-wide text-primary", children: eyebrow }) : null,
|
|
46
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("h1", { className: "text-4xl font-bold leading-tight tracking-tight text-foreground md:text-5xl", children: heading }),
|
|
47
|
+
subheading ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "mt-5 max-w-prose text-lg text-muted-foreground", children: subheading }) : null,
|
|
48
|
+
cta ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "mt-8", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
49
|
+
"a",
|
|
50
|
+
{
|
|
51
|
+
href: cta.href,
|
|
52
|
+
className: "inline-flex h-11 items-center justify-center rounded-md bg-primary px-6 text-sm font-medium text-primary-foreground transition hover:opacity-90",
|
|
53
|
+
children: cta.label
|
|
54
|
+
}
|
|
55
|
+
) }) : null
|
|
56
|
+
] })
|
|
57
|
+
] });
|
|
58
|
+
}
|
|
59
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
60
|
+
0 && (module.exports = {
|
|
61
|
+
Hero
|
|
62
|
+
});
|
|
63
|
+
//# sourceMappingURL=Hero.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/components/marketing/Hero.tsx"],"sourcesContent":["type HeroProps = {\n eyebrow?: string;\n heading: string;\n subheading?: string;\n cta?: { label: string; href: string };\n /**\n * Optional public-path image rendered behind the hero text. Use a high-\n * quality JPEG; the existing palette tokens drive an overlay so the image\n * doesn't fight the foreground color regardless of theme.\n */\n background?: string;\n};\n\nexport function Hero({ eyebrow, heading, subheading, cta, background }: HeroProps) {\n return (\n <section className=\"relative overflow-hidden border-b border-border bg-gradient-to-b from-background to-muted/40\">\n {background ? (\n <>\n <div\n aria-hidden\n className=\"absolute inset-0 bg-cover bg-center opacity-25\"\n style={{ backgroundImage: `url(${background})` }}\n />\n <div\n aria-hidden\n className=\"absolute inset-0 bg-gradient-to-r from-background via-background/85 to-background/40\"\n />\n </>\n ) : null}\n <div className=\"relative mx-auto max-w-6xl px-6 py-20 md:py-28\">\n {eyebrow ? (\n <p className=\"mb-3 text-sm font-medium uppercase tracking-wide text-primary\">\n {eyebrow}\n </p>\n ) : null}\n <h1 className=\"text-4xl font-bold leading-tight tracking-tight text-foreground md:text-5xl\">\n {heading}\n </h1>\n {subheading ? (\n <p className=\"mt-5 max-w-prose text-lg text-muted-foreground\">{subheading}</p>\n ) : null}\n {cta ? (\n <div className=\"mt-8\">\n <a\n href={cta.href}\n className=\"inline-flex h-11 items-center justify-center rounded-md bg-primary px-6 text-sm font-medium text-primary-foreground transition hover:opacity-90\"\n >\n {cta.label}\n </a>\n </div>\n ) : null}\n </div>\n </section>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAiBQ;AAJD,SAAS,KAAK,EAAE,SAAS,SAAS,YAAY,KAAK,WAAW,GAAc;AACjF,SACE,6CAAC,aAAQ,WAAU,gGAChB;AAAA,iBACC,4EACE;AAAA;AAAA,QAAC;AAAA;AAAA,UACC,eAAW;AAAA,UACX,WAAU;AAAA,UACV,OAAO,EAAE,iBAAiB,OAAO,UAAU,IAAI;AAAA;AAAA,MACjD;AAAA,MACA;AAAA,QAAC;AAAA;AAAA,UACC,eAAW;AAAA,UACX,WAAU;AAAA;AAAA,MACZ;AAAA,OACF,IACE;AAAA,IACJ,6CAAC,SAAI,WAAU,kDACZ;AAAA,gBACC,4CAAC,OAAE,WAAU,iEACV,mBACH,IACE;AAAA,MACJ,4CAAC,QAAG,WAAU,+EACX,mBACH;AAAA,MACC,aACC,4CAAC,OAAE,WAAU,kDAAkD,sBAAW,IACxE;AAAA,MACH,MACC,4CAAC,SAAI,WAAU,QACb;AAAA,QAAC;AAAA;AAAA,UACC,MAAM,IAAI;AAAA,UACV,WAAU;AAAA,UAET,cAAI;AAAA;AAAA,MACP,GACF,IACE;AAAA,OACN;AAAA,KACF;AAEJ;","names":[]}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
type HeroProps = {
|
|
2
|
+
eyebrow?: string;
|
|
3
|
+
heading: string;
|
|
4
|
+
subheading?: string;
|
|
5
|
+
cta?: {
|
|
6
|
+
label: string;
|
|
7
|
+
href: string;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* Optional public-path image rendered behind the hero text. Use a high-
|
|
11
|
+
* quality JPEG; the existing palette tokens drive an overlay so the image
|
|
12
|
+
* doesn't fight the foreground color regardless of theme.
|
|
13
|
+
*/
|
|
14
|
+
background?: string;
|
|
15
|
+
};
|
|
16
|
+
export declare function Hero({ eyebrow, heading, subheading, cta, background }: HeroProps): import("react").JSX.Element;
|
|
17
|
+
export {};
|
|
18
|
+
//# sourceMappingURL=Hero.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Hero.d.ts","sourceRoot":"","sources":["../../../src/components/marketing/Hero.tsx"],"names":[],"mappings":"AAAA,KAAK,SAAS,GAAG;IACf,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,GAAG,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;IACtC;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,wBAAgB,IAAI,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,UAAU,EAAE,GAAG,EAAE,UAAU,EAAE,EAAE,SAAS,+BAyChF"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
+
function Hero({ eyebrow, heading, subheading, cta, background }) {
|
|
3
|
+
return /* @__PURE__ */ jsxs("section", { className: "relative overflow-hidden border-b border-border bg-gradient-to-b from-background to-muted/40", children: [
|
|
4
|
+
background ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
5
|
+
/* @__PURE__ */ jsx(
|
|
6
|
+
"div",
|
|
7
|
+
{
|
|
8
|
+
"aria-hidden": true,
|
|
9
|
+
className: "absolute inset-0 bg-cover bg-center opacity-25",
|
|
10
|
+
style: { backgroundImage: `url(${background})` }
|
|
11
|
+
}
|
|
12
|
+
),
|
|
13
|
+
/* @__PURE__ */ jsx(
|
|
14
|
+
"div",
|
|
15
|
+
{
|
|
16
|
+
"aria-hidden": true,
|
|
17
|
+
className: "absolute inset-0 bg-gradient-to-r from-background via-background/85 to-background/40"
|
|
18
|
+
}
|
|
19
|
+
)
|
|
20
|
+
] }) : null,
|
|
21
|
+
/* @__PURE__ */ jsxs("div", { className: "relative mx-auto max-w-6xl px-6 py-20 md:py-28", children: [
|
|
22
|
+
eyebrow ? /* @__PURE__ */ jsx("p", { className: "mb-3 text-sm font-medium uppercase tracking-wide text-primary", children: eyebrow }) : null,
|
|
23
|
+
/* @__PURE__ */ jsx("h1", { className: "text-4xl font-bold leading-tight tracking-tight text-foreground md:text-5xl", children: heading }),
|
|
24
|
+
subheading ? /* @__PURE__ */ jsx("p", { className: "mt-5 max-w-prose text-lg text-muted-foreground", children: subheading }) : null,
|
|
25
|
+
cta ? /* @__PURE__ */ jsx("div", { className: "mt-8", children: /* @__PURE__ */ jsx(
|
|
26
|
+
"a",
|
|
27
|
+
{
|
|
28
|
+
href: cta.href,
|
|
29
|
+
className: "inline-flex h-11 items-center justify-center rounded-md bg-primary px-6 text-sm font-medium text-primary-foreground transition hover:opacity-90",
|
|
30
|
+
children: cta.label
|
|
31
|
+
}
|
|
32
|
+
) }) : null
|
|
33
|
+
] })
|
|
34
|
+
] });
|
|
35
|
+
}
|
|
36
|
+
export {
|
|
37
|
+
Hero
|
|
38
|
+
};
|
|
39
|
+
//# sourceMappingURL=Hero.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/components/marketing/Hero.tsx"],"sourcesContent":["type HeroProps = {\n eyebrow?: string;\n heading: string;\n subheading?: string;\n cta?: { label: string; href: string };\n /**\n * Optional public-path image rendered behind the hero text. Use a high-\n * quality JPEG; the existing palette tokens drive an overlay so the image\n * doesn't fight the foreground color regardless of theme.\n */\n background?: string;\n};\n\nexport function Hero({ eyebrow, heading, subheading, cta, background }: HeroProps) {\n return (\n <section className=\"relative overflow-hidden border-b border-border bg-gradient-to-b from-background to-muted/40\">\n {background ? (\n <>\n <div\n aria-hidden\n className=\"absolute inset-0 bg-cover bg-center opacity-25\"\n style={{ backgroundImage: `url(${background})` }}\n />\n <div\n aria-hidden\n className=\"absolute inset-0 bg-gradient-to-r from-background via-background/85 to-background/40\"\n />\n </>\n ) : null}\n <div className=\"relative mx-auto max-w-6xl px-6 py-20 md:py-28\">\n {eyebrow ? (\n <p className=\"mb-3 text-sm font-medium uppercase tracking-wide text-primary\">\n {eyebrow}\n </p>\n ) : null}\n <h1 className=\"text-4xl font-bold leading-tight tracking-tight text-foreground md:text-5xl\">\n {heading}\n </h1>\n {subheading ? (\n <p className=\"mt-5 max-w-prose text-lg text-muted-foreground\">{subheading}</p>\n ) : null}\n {cta ? (\n <div className=\"mt-8\">\n <a\n href={cta.href}\n className=\"inline-flex h-11 items-center justify-center rounded-md bg-primary px-6 text-sm font-medium text-primary-foreground transition hover:opacity-90\"\n >\n {cta.label}\n </a>\n </div>\n ) : null}\n </div>\n </section>\n );\n}\n"],"mappings":"AAiBQ,mBACE,KADF;AAJD,SAAS,KAAK,EAAE,SAAS,SAAS,YAAY,KAAK,WAAW,GAAc;AACjF,SACE,qBAAC,aAAQ,WAAU,gGAChB;AAAA,iBACC,iCACE;AAAA;AAAA,QAAC;AAAA;AAAA,UACC,eAAW;AAAA,UACX,WAAU;AAAA,UACV,OAAO,EAAE,iBAAiB,OAAO,UAAU,IAAI;AAAA;AAAA,MACjD;AAAA,MACA;AAAA,QAAC;AAAA;AAAA,UACC,eAAW;AAAA,UACX,WAAU;AAAA;AAAA,MACZ;AAAA,OACF,IACE;AAAA,IACJ,qBAAC,SAAI,WAAU,kDACZ;AAAA,gBACC,oBAAC,OAAE,WAAU,iEACV,mBACH,IACE;AAAA,MACJ,oBAAC,QAAG,WAAU,+EACX,mBACH;AAAA,MACC,aACC,oBAAC,OAAE,WAAU,kDAAkD,sBAAW,IACxE;AAAA,MACH,MACC,oBAAC,SAAI,WAAU,QACb;AAAA,QAAC;AAAA;AAAA,UACC,MAAM,IAAI;AAAA,UACV,WAAU;AAAA,UAET,cAAI;AAAA;AAAA,MACP,GACF,IACE;AAAA,OACN;AAAA,KACF;AAEJ;","names":[]}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
var MdxContent_exports = {};
|
|
30
|
+
__export(MdxContent_exports, {
|
|
31
|
+
MdxContent: () => MdxContent
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(MdxContent_exports);
|
|
34
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
35
|
+
var import_react_markdown = __toESM(require("react-markdown"));
|
|
36
|
+
var import_remark_gfm = __toESM(require("remark-gfm"));
|
|
37
|
+
const components = {
|
|
38
|
+
h1: ({ node: _node, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
39
|
+
"h1",
|
|
40
|
+
{
|
|
41
|
+
...props,
|
|
42
|
+
className: "mt-10 text-3xl font-bold tracking-tight text-foreground first:mt-0 md:text-4xl"
|
|
43
|
+
}
|
|
44
|
+
),
|
|
45
|
+
h2: ({ node: _node, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
46
|
+
"h2",
|
|
47
|
+
{
|
|
48
|
+
...props,
|
|
49
|
+
className: "mt-10 text-2xl font-semibold tracking-tight text-foreground"
|
|
50
|
+
}
|
|
51
|
+
),
|
|
52
|
+
h3: ({ node: _node, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("h3", { ...props, className: "mt-6 text-xl font-semibold text-foreground" }),
|
|
53
|
+
p: ({ node: _node, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { ...props, className: "my-4 leading-7 text-foreground/90" }),
|
|
54
|
+
ul: ({ node: _node, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("ul", { ...props, className: "my-4 ml-6 list-disc space-y-1 text-foreground/90" }),
|
|
55
|
+
ol: ({ node: _node, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("ol", { ...props, className: "my-4 ml-6 list-decimal space-y-1 text-foreground/90" }),
|
|
56
|
+
li: ({ node: _node, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("li", { ...props, className: "leading-7" }),
|
|
57
|
+
a: ({ node: _node, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("a", { ...props, className: "text-primary underline-offset-4 hover:underline" }),
|
|
58
|
+
code: ({
|
|
59
|
+
node: _node,
|
|
60
|
+
...props
|
|
61
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
62
|
+
"code",
|
|
63
|
+
{
|
|
64
|
+
...props,
|
|
65
|
+
className: "rounded bg-muted px-1.5 py-0.5 font-mono text-sm text-foreground"
|
|
66
|
+
}
|
|
67
|
+
),
|
|
68
|
+
pre: ({ node: _node, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("pre", { ...props, className: "my-4 overflow-auto rounded-md bg-muted p-4 text-sm" }),
|
|
69
|
+
blockquote: ({
|
|
70
|
+
node: _node,
|
|
71
|
+
...props
|
|
72
|
+
}) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
73
|
+
"blockquote",
|
|
74
|
+
{
|
|
75
|
+
...props,
|
|
76
|
+
className: "my-4 border-l-2 border-primary pl-4 italic text-muted-foreground"
|
|
77
|
+
}
|
|
78
|
+
)
|
|
79
|
+
};
|
|
80
|
+
function MdxContent({ source }) {
|
|
81
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react_markdown.default, { remarkPlugins: [import_remark_gfm.default], components, children: source });
|
|
82
|
+
}
|
|
83
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
84
|
+
0 && (module.exports = {
|
|
85
|
+
MdxContent
|
|
86
|
+
});
|
|
87
|
+
//# sourceMappingURL=MdxContent.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/components/marketing/MdxContent.tsx"],"sourcesContent":["import Markdown from \"react-markdown\";\nimport remarkGfm from \"remark-gfm\";\n\n// Renders an MDX body (the part after the frontmatter) as styled markdown.\n// We use react-markdown instead of next-mdx-remote because:\n// - The bodies on this site are plain markdown -- no embedded JSX components\n// -- and react-markdown ships zero runtime native deps, while\n// next-mdx-remote dynamically requires @mdx-js/mdx, which doesn't survive\n// Next 16's standalone tracing under pnpm.\n// - Same renderer is used by the dynamic /[slug] route, so output stays\n// consistent across pages.\nconst components = {\n h1: ({ node: _node, ...props }: React.ComponentProps<\"h1\"> & { node?: unknown }) => (\n <h1\n {...props}\n className=\"mt-10 text-3xl font-bold tracking-tight text-foreground first:mt-0 md:text-4xl\"\n />\n ),\n h2: ({ node: _node, ...props }: React.ComponentProps<\"h2\"> & { node?: unknown }) => (\n <h2\n {...props}\n className=\"mt-10 text-2xl font-semibold tracking-tight text-foreground\"\n />\n ),\n h3: ({ node: _node, ...props }: React.ComponentProps<\"h3\"> & { node?: unknown }) => (\n <h3 {...props} className=\"mt-6 text-xl font-semibold text-foreground\" />\n ),\n p: ({ node: _node, ...props }: React.ComponentProps<\"p\"> & { node?: unknown }) => (\n <p {...props} className=\"my-4 leading-7 text-foreground/90\" />\n ),\n ul: ({ node: _node, ...props }: React.ComponentProps<\"ul\"> & { node?: unknown }) => (\n <ul {...props} className=\"my-4 ml-6 list-disc space-y-1 text-foreground/90\" />\n ),\n ol: ({ node: _node, ...props }: React.ComponentProps<\"ol\"> & { node?: unknown }) => (\n <ol {...props} className=\"my-4 ml-6 list-decimal space-y-1 text-foreground/90\" />\n ),\n li: ({ node: _node, ...props }: React.ComponentProps<\"li\"> & { node?: unknown }) => (\n <li {...props} className=\"leading-7\" />\n ),\n a: ({ node: _node, ...props }: React.ComponentProps<\"a\"> & { node?: unknown }) => (\n <a {...props} className=\"text-primary underline-offset-4 hover:underline\" />\n ),\n code: ({\n node: _node,\n ...props\n }: React.ComponentProps<\"code\"> & { node?: unknown }) => (\n <code\n {...props}\n className=\"rounded bg-muted px-1.5 py-0.5 font-mono text-sm text-foreground\"\n />\n ),\n pre: ({ node: _node, ...props }: React.ComponentProps<\"pre\"> & { node?: unknown }) => (\n <pre {...props} className=\"my-4 overflow-auto rounded-md bg-muted p-4 text-sm\" />\n ),\n blockquote: ({\n node: _node,\n ...props\n }: React.ComponentProps<\"blockquote\"> & { node?: unknown }) => (\n <blockquote\n {...props}\n className=\"my-4 border-l-2 border-primary pl-4 italic text-muted-foreground\"\n />\n ),\n};\n\nexport function MdxContent({ source }: { source: string }) {\n return (\n <Markdown remarkPlugins={[remarkGfm]} components={components}>\n {source}\n </Markdown>\n );\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAaI;AAbJ,4BAAqB;AACrB,wBAAsB;AAUtB,MAAM,aAAa;AAAA,EACjB,IAAI,CAAC,EAAE,MAAM,OAAO,GAAG,MAAM,MAC3B;AAAA,IAAC;AAAA;AAAA,MACE,GAAG;AAAA,MACJ,WAAU;AAAA;AAAA,EACZ;AAAA,EAEF,IAAI,CAAC,EAAE,MAAM,OAAO,GAAG,MAAM,MAC3B;AAAA,IAAC;AAAA;AAAA,MACE,GAAG;AAAA,MACJ,WAAU;AAAA;AAAA,EACZ;AAAA,EAEF,IAAI,CAAC,EAAE,MAAM,OAAO,GAAG,MAAM,MAC3B,4CAAC,QAAI,GAAG,OAAO,WAAU,8CAA6C;AAAA,EAExE,GAAG,CAAC,EAAE,MAAM,OAAO,GAAG,MAAM,MAC1B,4CAAC,OAAG,GAAG,OAAO,WAAU,qCAAoC;AAAA,EAE9D,IAAI,CAAC,EAAE,MAAM,OAAO,GAAG,MAAM,MAC3B,4CAAC,QAAI,GAAG,OAAO,WAAU,oDAAmD;AAAA,EAE9E,IAAI,CAAC,EAAE,MAAM,OAAO,GAAG,MAAM,MAC3B,4CAAC,QAAI,GAAG,OAAO,WAAU,uDAAsD;AAAA,EAEjF,IAAI,CAAC,EAAE,MAAM,OAAO,GAAG,MAAM,MAC3B,4CAAC,QAAI,GAAG,OAAO,WAAU,aAAY;AAAA,EAEvC,GAAG,CAAC,EAAE,MAAM,OAAO,GAAG,MAAM,MAC1B,4CAAC,OAAG,GAAG,OAAO,WAAU,mDAAkD;AAAA,EAE5E,MAAM,CAAC;AAAA,IACL,MAAM;AAAA,IACN,GAAG;AAAA,EACL,MACE;AAAA,IAAC;AAAA;AAAA,MACE,GAAG;AAAA,MACJ,WAAU;AAAA;AAAA,EACZ;AAAA,EAEF,KAAK,CAAC,EAAE,MAAM,OAAO,GAAG,MAAM,MAC5B,4CAAC,SAAK,GAAG,OAAO,WAAU,sDAAqD;AAAA,EAEjF,YAAY,CAAC;AAAA,IACX,MAAM;AAAA,IACN,GAAG;AAAA,EACL,MACE;AAAA,IAAC;AAAA;AAAA,MACE,GAAG;AAAA,MACJ,WAAU;AAAA;AAAA,EACZ;AAEJ;AAEO,SAAS,WAAW,EAAE,OAAO,GAAuB;AACzD,SACE,4CAAC,sBAAAA,SAAA,EAAS,eAAe,CAAC,kBAAAC,OAAS,GAAG,YACnC,kBACH;AAEJ;","names":["Markdown","remarkGfm"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MdxContent.d.ts","sourceRoot":"","sources":["../../../src/components/marketing/MdxContent.tsx"],"names":[],"mappings":"AAiEA,wBAAgB,UAAU,CAAC,EAAE,MAAM,EAAE,EAAE;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,+BAMxD"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import Markdown from "react-markdown";
|
|
3
|
+
import remarkGfm from "remark-gfm";
|
|
4
|
+
const components = {
|
|
5
|
+
h1: ({ node: _node, ...props }) => /* @__PURE__ */ jsx(
|
|
6
|
+
"h1",
|
|
7
|
+
{
|
|
8
|
+
...props,
|
|
9
|
+
className: "mt-10 text-3xl font-bold tracking-tight text-foreground first:mt-0 md:text-4xl"
|
|
10
|
+
}
|
|
11
|
+
),
|
|
12
|
+
h2: ({ node: _node, ...props }) => /* @__PURE__ */ jsx(
|
|
13
|
+
"h2",
|
|
14
|
+
{
|
|
15
|
+
...props,
|
|
16
|
+
className: "mt-10 text-2xl font-semibold tracking-tight text-foreground"
|
|
17
|
+
}
|
|
18
|
+
),
|
|
19
|
+
h3: ({ node: _node, ...props }) => /* @__PURE__ */ jsx("h3", { ...props, className: "mt-6 text-xl font-semibold text-foreground" }),
|
|
20
|
+
p: ({ node: _node, ...props }) => /* @__PURE__ */ jsx("p", { ...props, className: "my-4 leading-7 text-foreground/90" }),
|
|
21
|
+
ul: ({ node: _node, ...props }) => /* @__PURE__ */ jsx("ul", { ...props, className: "my-4 ml-6 list-disc space-y-1 text-foreground/90" }),
|
|
22
|
+
ol: ({ node: _node, ...props }) => /* @__PURE__ */ jsx("ol", { ...props, className: "my-4 ml-6 list-decimal space-y-1 text-foreground/90" }),
|
|
23
|
+
li: ({ node: _node, ...props }) => /* @__PURE__ */ jsx("li", { ...props, className: "leading-7" }),
|
|
24
|
+
a: ({ node: _node, ...props }) => /* @__PURE__ */ jsx("a", { ...props, className: "text-primary underline-offset-4 hover:underline" }),
|
|
25
|
+
code: ({
|
|
26
|
+
node: _node,
|
|
27
|
+
...props
|
|
28
|
+
}) => /* @__PURE__ */ jsx(
|
|
29
|
+
"code",
|
|
30
|
+
{
|
|
31
|
+
...props,
|
|
32
|
+
className: "rounded bg-muted px-1.5 py-0.5 font-mono text-sm text-foreground"
|
|
33
|
+
}
|
|
34
|
+
),
|
|
35
|
+
pre: ({ node: _node, ...props }) => /* @__PURE__ */ jsx("pre", { ...props, className: "my-4 overflow-auto rounded-md bg-muted p-4 text-sm" }),
|
|
36
|
+
blockquote: ({
|
|
37
|
+
node: _node,
|
|
38
|
+
...props
|
|
39
|
+
}) => /* @__PURE__ */ jsx(
|
|
40
|
+
"blockquote",
|
|
41
|
+
{
|
|
42
|
+
...props,
|
|
43
|
+
className: "my-4 border-l-2 border-primary pl-4 italic text-muted-foreground"
|
|
44
|
+
}
|
|
45
|
+
)
|
|
46
|
+
};
|
|
47
|
+
function MdxContent({ source }) {
|
|
48
|
+
return /* @__PURE__ */ jsx(Markdown, { remarkPlugins: [remarkGfm], components, children: source });
|
|
49
|
+
}
|
|
50
|
+
export {
|
|
51
|
+
MdxContent
|
|
52
|
+
};
|
|
53
|
+
//# sourceMappingURL=MdxContent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../src/components/marketing/MdxContent.tsx"],"sourcesContent":["import Markdown from \"react-markdown\";\nimport remarkGfm from \"remark-gfm\";\n\n// Renders an MDX body (the part after the frontmatter) as styled markdown.\n// We use react-markdown instead of next-mdx-remote because:\n// - The bodies on this site are plain markdown -- no embedded JSX components\n// -- and react-markdown ships zero runtime native deps, while\n// next-mdx-remote dynamically requires @mdx-js/mdx, which doesn't survive\n// Next 16's standalone tracing under pnpm.\n// - Same renderer is used by the dynamic /[slug] route, so output stays\n// consistent across pages.\nconst components = {\n h1: ({ node: _node, ...props }: React.ComponentProps<\"h1\"> & { node?: unknown }) => (\n <h1\n {...props}\n className=\"mt-10 text-3xl font-bold tracking-tight text-foreground first:mt-0 md:text-4xl\"\n />\n ),\n h2: ({ node: _node, ...props }: React.ComponentProps<\"h2\"> & { node?: unknown }) => (\n <h2\n {...props}\n className=\"mt-10 text-2xl font-semibold tracking-tight text-foreground\"\n />\n ),\n h3: ({ node: _node, ...props }: React.ComponentProps<\"h3\"> & { node?: unknown }) => (\n <h3 {...props} className=\"mt-6 text-xl font-semibold text-foreground\" />\n ),\n p: ({ node: _node, ...props }: React.ComponentProps<\"p\"> & { node?: unknown }) => (\n <p {...props} className=\"my-4 leading-7 text-foreground/90\" />\n ),\n ul: ({ node: _node, ...props }: React.ComponentProps<\"ul\"> & { node?: unknown }) => (\n <ul {...props} className=\"my-4 ml-6 list-disc space-y-1 text-foreground/90\" />\n ),\n ol: ({ node: _node, ...props }: React.ComponentProps<\"ol\"> & { node?: unknown }) => (\n <ol {...props} className=\"my-4 ml-6 list-decimal space-y-1 text-foreground/90\" />\n ),\n li: ({ node: _node, ...props }: React.ComponentProps<\"li\"> & { node?: unknown }) => (\n <li {...props} className=\"leading-7\" />\n ),\n a: ({ node: _node, ...props }: React.ComponentProps<\"a\"> & { node?: unknown }) => (\n <a {...props} className=\"text-primary underline-offset-4 hover:underline\" />\n ),\n code: ({\n node: _node,\n ...props\n }: React.ComponentProps<\"code\"> & { node?: unknown }) => (\n <code\n {...props}\n className=\"rounded bg-muted px-1.5 py-0.5 font-mono text-sm text-foreground\"\n />\n ),\n pre: ({ node: _node, ...props }: React.ComponentProps<\"pre\"> & { node?: unknown }) => (\n <pre {...props} className=\"my-4 overflow-auto rounded-md bg-muted p-4 text-sm\" />\n ),\n blockquote: ({\n node: _node,\n ...props\n }: React.ComponentProps<\"blockquote\"> & { node?: unknown }) => (\n <blockquote\n {...props}\n className=\"my-4 border-l-2 border-primary pl-4 italic text-muted-foreground\"\n />\n ),\n};\n\nexport function MdxContent({ source }: { source: string }) {\n return (\n <Markdown remarkPlugins={[remarkGfm]} components={components}>\n {source}\n </Markdown>\n );\n}\n"],"mappings":"AAaI;AAbJ,OAAO,cAAc;AACrB,OAAO,eAAe;AAUtB,MAAM,aAAa;AAAA,EACjB,IAAI,CAAC,EAAE,MAAM,OAAO,GAAG,MAAM,MAC3B;AAAA,IAAC;AAAA;AAAA,MACE,GAAG;AAAA,MACJ,WAAU;AAAA;AAAA,EACZ;AAAA,EAEF,IAAI,CAAC,EAAE,MAAM,OAAO,GAAG,MAAM,MAC3B;AAAA,IAAC;AAAA;AAAA,MACE,GAAG;AAAA,MACJ,WAAU;AAAA;AAAA,EACZ;AAAA,EAEF,IAAI,CAAC,EAAE,MAAM,OAAO,GAAG,MAAM,MAC3B,oBAAC,QAAI,GAAG,OAAO,WAAU,8CAA6C;AAAA,EAExE,GAAG,CAAC,EAAE,MAAM,OAAO,GAAG,MAAM,MAC1B,oBAAC,OAAG,GAAG,OAAO,WAAU,qCAAoC;AAAA,EAE9D,IAAI,CAAC,EAAE,MAAM,OAAO,GAAG,MAAM,MAC3B,oBAAC,QAAI,GAAG,OAAO,WAAU,oDAAmD;AAAA,EAE9E,IAAI,CAAC,EAAE,MAAM,OAAO,GAAG,MAAM,MAC3B,oBAAC,QAAI,GAAG,OAAO,WAAU,uDAAsD;AAAA,EAEjF,IAAI,CAAC,EAAE,MAAM,OAAO,GAAG,MAAM,MAC3B,oBAAC,QAAI,GAAG,OAAO,WAAU,aAAY;AAAA,EAEvC,GAAG,CAAC,EAAE,MAAM,OAAO,GAAG,MAAM,MAC1B,oBAAC,OAAG,GAAG,OAAO,WAAU,mDAAkD;AAAA,EAE5E,MAAM,CAAC;AAAA,IACL,MAAM;AAAA,IACN,GAAG;AAAA,EACL,MACE;AAAA,IAAC;AAAA;AAAA,MACE,GAAG;AAAA,MACJ,WAAU;AAAA;AAAA,EACZ;AAAA,EAEF,KAAK,CAAC,EAAE,MAAM,OAAO,GAAG,MAAM,MAC5B,oBAAC,SAAK,GAAG,OAAO,WAAU,sDAAqD;AAAA,EAEjF,YAAY,CAAC;AAAA,IACX,MAAM;AAAA,IACN,GAAG;AAAA,EACL,MACE;AAAA,IAAC;AAAA;AAAA,MACE,GAAG;AAAA,MACJ,WAAU;AAAA;AAAA,EACZ;AAEJ;AAEO,SAAS,WAAW,EAAE,OAAO,GAAuB;AACzD,SACE,oBAAC,YAAS,eAAe,CAAC,SAAS,GAAG,YACnC,kBACH;AAEJ;","names":[]}
|
package/dist/index.cjs
CHANGED
|
@@ -20,7 +20,9 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
20
20
|
var index_exports = {};
|
|
21
21
|
__export(index_exports, {
|
|
22
22
|
AppShell: () => import_AppShell.AppShell,
|
|
23
|
+
Hero: () => import_Hero.Hero,
|
|
23
24
|
Logo: () => import_Logo.Logo,
|
|
25
|
+
MdxContent: () => import_MdxContent.MdxContent,
|
|
24
26
|
MockProvider: () => import_MockProvider.MockProvider,
|
|
25
27
|
PublicShell: () => import_PublicShell.PublicShell,
|
|
26
28
|
QueryProvider: () => import_QueryProvider.QueryProvider,
|
|
@@ -51,6 +53,8 @@ __reExport(index_exports, require("./components/ui/textarea.js"), module.exports
|
|
|
51
53
|
var import_Logo = require("./components/chrome/Logo.js");
|
|
52
54
|
var import_ThemeSwitcher = require("./components/chrome/ThemeSwitcher.js");
|
|
53
55
|
var import_RoleSwitcher = require("./components/chrome/RoleSwitcher.js");
|
|
56
|
+
var import_Hero = require("./components/marketing/Hero.js");
|
|
57
|
+
var import_MdxContent = require("./components/marketing/MdxContent.js");
|
|
54
58
|
var import_PublicShell = require("./components/shells/PublicShell.js");
|
|
55
59
|
var import_AppShell = require("./components/shells/AppShell.js");
|
|
56
60
|
var import_StudioShell = require("./components/shells/StudioShell.js");
|
|
@@ -62,7 +66,9 @@ var import_utils = require("./lib/utils.js");
|
|
|
62
66
|
// Annotate the CommonJS export names for ESM import in node:
|
|
63
67
|
0 && (module.exports = {
|
|
64
68
|
AppShell,
|
|
69
|
+
Hero,
|
|
65
70
|
Logo,
|
|
71
|
+
MdxContent,
|
|
66
72
|
MockProvider,
|
|
67
73
|
PublicShell,
|
|
68
74
|
QueryProvider,
|
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["// shadcn/ui components\nexport * from \"./components/ui/avatar.js\";\nexport * from \"./components/ui/badge.js\";\nexport * from \"./components/ui/button.js\";\nexport * from \"./components/ui/card.js\";\nexport * from \"./components/ui/checkbox.js\";\nexport * from \"./components/ui/dialog.js\";\nexport * from \"./components/ui/dropdown-menu.js\";\nexport * from \"./components/ui/input.js\";\nexport * from \"./components/ui/label.js\";\nexport * from \"./components/ui/select.js\";\nexport * from \"./components/ui/separator.js\";\nexport * from \"./components/ui/sheet.js\";\nexport * from \"./components/ui/table.js\";\nexport * from \"./components/ui/tabs.js\";\nexport * from \"./components/ui/textarea.js\";\n\n// Chrome\nexport { Logo } from \"./components/chrome/Logo.js\";\nexport { ThemeSwitcher } from \"./components/chrome/ThemeSwitcher.js\";\nexport { RoleSwitcher } from \"./components/chrome/RoleSwitcher.js\";\n\n// Shells\nexport { PublicShell } from \"./components/shells/PublicShell.js\";\nexport type { NavLink } from \"./components/shells/PublicShell.js\";\nexport { AppShell } from \"./components/shells/AppShell.js\";\nexport type { AppNavItem, AppNavGroup } from \"./components/shells/AppShell.js\";\nexport { StudioShell } from \"./components/shells/StudioShell.js\";\n\n// Providers\nexport { SessionProvider } from \"./providers/SessionProvider.js\";\nexport { QueryProvider } from \"./providers/QueryProvider.js\";\nexport { ThemeProvider, useThemeName } from \"./providers/ThemeProvider.js\";\nexport { MockProvider } from \"./providers/MockProvider.js\";\n\n// Helpers\nexport { cn } from \"./lib/utils.js\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,0BAAc,sCADd;AAEA,0BAAc,qCAFd;AAGA,0BAAc,sCAHd;AAIA,0BAAc,oCAJd;AAKA,0BAAc,wCALd;AAMA,0BAAc,sCANd;AAOA,0BAAc,6CAPd;AAQA,0BAAc,qCARd;AASA,0BAAc,qCATd;AAUA,0BAAc,sCAVd;AAWA,0BAAc,yCAXd;AAYA,0BAAc,qCAZd;AAaA,0BAAc,qCAbd;AAcA,0BAAc,oCAdd;AAeA,0BAAc,wCAfd;AAkBA,kBAAqB;AACrB,2BAA8B;AAC9B,0BAA6B;AAG7B,yBAA4B;AAE5B,sBAAyB;AAEzB,yBAA4B;AAG5B,6BAAgC;AAChC,2BAA8B;AAC9B,2BAA4C;AAC5C,0BAA6B;AAG7B,mBAAmB;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["// shadcn/ui components\nexport * from \"./components/ui/avatar.js\";\nexport * from \"./components/ui/badge.js\";\nexport * from \"./components/ui/button.js\";\nexport * from \"./components/ui/card.js\";\nexport * from \"./components/ui/checkbox.js\";\nexport * from \"./components/ui/dialog.js\";\nexport * from \"./components/ui/dropdown-menu.js\";\nexport * from \"./components/ui/input.js\";\nexport * from \"./components/ui/label.js\";\nexport * from \"./components/ui/select.js\";\nexport * from \"./components/ui/separator.js\";\nexport * from \"./components/ui/sheet.js\";\nexport * from \"./components/ui/table.js\";\nexport * from \"./components/ui/tabs.js\";\nexport * from \"./components/ui/textarea.js\";\n\n// Chrome\nexport { Logo } from \"./components/chrome/Logo.js\";\nexport { ThemeSwitcher } from \"./components/chrome/ThemeSwitcher.js\";\nexport { RoleSwitcher } from \"./components/chrome/RoleSwitcher.js\";\n\n// Marketing\nexport { Hero } from \"./components/marketing/Hero.js\";\nexport { MdxContent } from \"./components/marketing/MdxContent.js\";\n\n// Shells\nexport { PublicShell } from \"./components/shells/PublicShell.js\";\nexport type { NavLink } from \"./components/shells/PublicShell.js\";\nexport { AppShell } from \"./components/shells/AppShell.js\";\nexport type { AppNavItem, AppNavGroup } from \"./components/shells/AppShell.js\";\nexport { StudioShell } from \"./components/shells/StudioShell.js\";\n\n// Providers\nexport { SessionProvider } from \"./providers/SessionProvider.js\";\nexport { QueryProvider } from \"./providers/QueryProvider.js\";\nexport { ThemeProvider, useThemeName } from \"./providers/ThemeProvider.js\";\nexport { MockProvider } from \"./providers/MockProvider.js\";\n\n// Helpers\nexport { cn } from \"./lib/utils.js\";\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,0BAAc,sCADd;AAEA,0BAAc,qCAFd;AAGA,0BAAc,sCAHd;AAIA,0BAAc,oCAJd;AAKA,0BAAc,wCALd;AAMA,0BAAc,sCANd;AAOA,0BAAc,6CAPd;AAQA,0BAAc,qCARd;AASA,0BAAc,qCATd;AAUA,0BAAc,sCAVd;AAWA,0BAAc,yCAXd;AAYA,0BAAc,qCAZd;AAaA,0BAAc,qCAbd;AAcA,0BAAc,oCAdd;AAeA,0BAAc,wCAfd;AAkBA,kBAAqB;AACrB,2BAA8B;AAC9B,0BAA6B;AAG7B,kBAAqB;AACrB,wBAA2B;AAG3B,yBAA4B;AAE5B,sBAAyB;AAEzB,yBAA4B;AAG5B,6BAAgC;AAChC,2BAA8B;AAC9B,2BAA4C;AAC5C,0BAA6B;AAG7B,mBAAmB;","names":[]}
|
package/dist/index.d.ts
CHANGED
|
@@ -16,6 +16,8 @@ export * from "./components/ui/textarea.js";
|
|
|
16
16
|
export { Logo } from "./components/chrome/Logo.js";
|
|
17
17
|
export { ThemeSwitcher } from "./components/chrome/ThemeSwitcher.js";
|
|
18
18
|
export { RoleSwitcher } from "./components/chrome/RoleSwitcher.js";
|
|
19
|
+
export { Hero } from "./components/marketing/Hero.js";
|
|
20
|
+
export { MdxContent } from "./components/marketing/MdxContent.js";
|
|
19
21
|
export { PublicShell } from "./components/shells/PublicShell.js";
|
|
20
22
|
export type { NavLink } from "./components/shells/PublicShell.js";
|
|
21
23
|
export { AppShell } from "./components/shells/AppShell.js";
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kCAAkC,CAAC;AACjD,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC;AAG5C,OAAO,EAAE,IAAI,EAAE,MAAM,6BAA6B,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AAGnE,OAAO,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AACjE,YAAY,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAC;AAClE,OAAO,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAC3D,YAAY,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAC/E,OAAO,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AAGjE,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAG3D,OAAO,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kCAAkC,CAAC;AACjD,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC;AAG5C,OAAO,EAAE,IAAI,EAAE,MAAM,6BAA6B,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,sCAAsC,CAAC;AACrE,OAAO,EAAE,YAAY,EAAE,MAAM,qCAAqC,CAAC;AAGnE,OAAO,EAAE,IAAI,EAAE,MAAM,gCAAgC,CAAC;AACtD,OAAO,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAGlE,OAAO,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AACjE,YAAY,EAAE,OAAO,EAAE,MAAM,oCAAoC,CAAC;AAClE,OAAO,EAAE,QAAQ,EAAE,MAAM,iCAAiC,CAAC;AAC3D,YAAY,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAC/E,OAAO,EAAE,WAAW,EAAE,MAAM,oCAAoC,CAAC;AAGjE,OAAO,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACjE,OAAO,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAC7D,OAAO,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC3E,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAG3D,OAAO,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -16,6 +16,8 @@ export * from "./components/ui/textarea.js";
|
|
|
16
16
|
import { Logo } from "./components/chrome/Logo.js";
|
|
17
17
|
import { ThemeSwitcher } from "./components/chrome/ThemeSwitcher.js";
|
|
18
18
|
import { RoleSwitcher } from "./components/chrome/RoleSwitcher.js";
|
|
19
|
+
import { Hero } from "./components/marketing/Hero.js";
|
|
20
|
+
import { MdxContent } from "./components/marketing/MdxContent.js";
|
|
19
21
|
import { PublicShell } from "./components/shells/PublicShell.js";
|
|
20
22
|
import { AppShell } from "./components/shells/AppShell.js";
|
|
21
23
|
import { StudioShell } from "./components/shells/StudioShell.js";
|
|
@@ -26,7 +28,9 @@ import { MockProvider } from "./providers/MockProvider.js";
|
|
|
26
28
|
import { cn } from "./lib/utils.js";
|
|
27
29
|
export {
|
|
28
30
|
AppShell,
|
|
31
|
+
Hero,
|
|
29
32
|
Logo,
|
|
33
|
+
MdxContent,
|
|
30
34
|
MockProvider,
|
|
31
35
|
PublicShell,
|
|
32
36
|
QueryProvider,
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["// shadcn/ui components\nexport * from \"./components/ui/avatar.js\";\nexport * from \"./components/ui/badge.js\";\nexport * from \"./components/ui/button.js\";\nexport * from \"./components/ui/card.js\";\nexport * from \"./components/ui/checkbox.js\";\nexport * from \"./components/ui/dialog.js\";\nexport * from \"./components/ui/dropdown-menu.js\";\nexport * from \"./components/ui/input.js\";\nexport * from \"./components/ui/label.js\";\nexport * from \"./components/ui/select.js\";\nexport * from \"./components/ui/separator.js\";\nexport * from \"./components/ui/sheet.js\";\nexport * from \"./components/ui/table.js\";\nexport * from \"./components/ui/tabs.js\";\nexport * from \"./components/ui/textarea.js\";\n\n// Chrome\nexport { Logo } from \"./components/chrome/Logo.js\";\nexport { ThemeSwitcher } from \"./components/chrome/ThemeSwitcher.js\";\nexport { RoleSwitcher } from \"./components/chrome/RoleSwitcher.js\";\n\n// Shells\nexport { PublicShell } from \"./components/shells/PublicShell.js\";\nexport type { NavLink } from \"./components/shells/PublicShell.js\";\nexport { AppShell } from \"./components/shells/AppShell.js\";\nexport type { AppNavItem, AppNavGroup } from \"./components/shells/AppShell.js\";\nexport { StudioShell } from \"./components/shells/StudioShell.js\";\n\n// Providers\nexport { SessionProvider } from \"./providers/SessionProvider.js\";\nexport { QueryProvider } from \"./providers/QueryProvider.js\";\nexport { ThemeProvider, useThemeName } from \"./providers/ThemeProvider.js\";\nexport { MockProvider } from \"./providers/MockProvider.js\";\n\n// Helpers\nexport { cn } from \"./lib/utils.js\";\n"],"mappings":"AACA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAGd,SAAS,YAAY;AACrB,SAAS,qBAAqB;AAC9B,SAAS,oBAAoB;AAG7B,SAAS,mBAAmB;AAE5B,SAAS,gBAAgB;AAEzB,SAAS,mBAAmB;AAG5B,SAAS,uBAAuB;AAChC,SAAS,qBAAqB;AAC9B,SAAS,eAAe,oBAAoB;AAC5C,SAAS,oBAAoB;AAG7B,SAAS,UAAU;","names":[]}
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["// shadcn/ui components\nexport * from \"./components/ui/avatar.js\";\nexport * from \"./components/ui/badge.js\";\nexport * from \"./components/ui/button.js\";\nexport * from \"./components/ui/card.js\";\nexport * from \"./components/ui/checkbox.js\";\nexport * from \"./components/ui/dialog.js\";\nexport * from \"./components/ui/dropdown-menu.js\";\nexport * from \"./components/ui/input.js\";\nexport * from \"./components/ui/label.js\";\nexport * from \"./components/ui/select.js\";\nexport * from \"./components/ui/separator.js\";\nexport * from \"./components/ui/sheet.js\";\nexport * from \"./components/ui/table.js\";\nexport * from \"./components/ui/tabs.js\";\nexport * from \"./components/ui/textarea.js\";\n\n// Chrome\nexport { Logo } from \"./components/chrome/Logo.js\";\nexport { ThemeSwitcher } from \"./components/chrome/ThemeSwitcher.js\";\nexport { RoleSwitcher } from \"./components/chrome/RoleSwitcher.js\";\n\n// Marketing\nexport { Hero } from \"./components/marketing/Hero.js\";\nexport { MdxContent } from \"./components/marketing/MdxContent.js\";\n\n// Shells\nexport { PublicShell } from \"./components/shells/PublicShell.js\";\nexport type { NavLink } from \"./components/shells/PublicShell.js\";\nexport { AppShell } from \"./components/shells/AppShell.js\";\nexport type { AppNavItem, AppNavGroup } from \"./components/shells/AppShell.js\";\nexport { StudioShell } from \"./components/shells/StudioShell.js\";\n\n// Providers\nexport { SessionProvider } from \"./providers/SessionProvider.js\";\nexport { QueryProvider } from \"./providers/QueryProvider.js\";\nexport { ThemeProvider, useThemeName } from \"./providers/ThemeProvider.js\";\nexport { MockProvider } from \"./providers/MockProvider.js\";\n\n// Helpers\nexport { cn } from \"./lib/utils.js\";\n"],"mappings":"AACA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AAGd,SAAS,YAAY;AACrB,SAAS,qBAAqB;AAC9B,SAAS,oBAAoB;AAG7B,SAAS,YAAY;AACrB,SAAS,kBAAkB;AAG3B,SAAS,mBAAmB;AAE5B,SAAS,gBAAgB;AAEzB,SAAS,mBAAmB;AAG5B,SAAS,uBAAuB;AAChC,SAAS,qBAAqB;AAC9B,SAAS,eAAe,oBAAoB;AAC5C,SAAS,oBAAoB;AAG7B,SAAS,UAAU;","names":[]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@augmenting-integrations/ui",
|
|
3
|
-
"version": "1.0
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"description": "Shared UI: shadcn components, brand chrome (Logo, ThemeSwitcher, RoleSwitcher), shells (PublicShell, AppShell, StudioShell), and providers (Session, Query, Theme, Mock).",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
@@ -26,6 +26,8 @@
|
|
|
26
26
|
"clsx": "^2.1.1",
|
|
27
27
|
"lucide-react": "^1.14.0",
|
|
28
28
|
"radix-ui": "^1.4.3",
|
|
29
|
+
"react-markdown": "^10.1.0",
|
|
30
|
+
"remark-gfm": "^4.0.1",
|
|
29
31
|
"tailwind-merge": "^3.5.0"
|
|
30
32
|
},
|
|
31
33
|
"peerDependencies": {
|
|
@@ -36,8 +38,8 @@
|
|
|
36
38
|
"next-themes": "^0.4.0",
|
|
37
39
|
"react": "^19.0.0",
|
|
38
40
|
"react-dom": "^19.0.0",
|
|
39
|
-
"@augmenting-integrations/brand": "1.0
|
|
40
|
-
"@augmenting-integrations/themes": "1.0
|
|
41
|
+
"@augmenting-integrations/brand": "2.1.0",
|
|
42
|
+
"@augmenting-integrations/themes": "2.1.0"
|
|
41
43
|
},
|
|
42
44
|
"devDependencies": {
|
|
43
45
|
"@tanstack/react-query": "^5.100.9",
|
|
@@ -52,8 +54,8 @@
|
|
|
52
54
|
"tsup": "^8.3.5",
|
|
53
55
|
"typescript": "^5.7.2",
|
|
54
56
|
"vitest": "^4.1.5",
|
|
55
|
-
"@augmenting-integrations/
|
|
56
|
-
"@augmenting-integrations/
|
|
57
|
+
"@augmenting-integrations/brand": "2.1.0",
|
|
58
|
+
"@augmenting-integrations/themes": "2.1.0"
|
|
57
59
|
},
|
|
58
60
|
"scripts": {
|
|
59
61
|
"build": "tsup",
|