@still-void/ui 1.0.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.
@@ -0,0 +1,112 @@
1
+ import * as react from 'react';
2
+ import { ComponentPropsWithoutRef, ReactNode } from 'react';
3
+ import { N as NavItem, P as PostSummary, C as CalloutKind } from '../article-CNQxbFAz.js';
4
+ export { A as AccentName, T as ThemeMode, d as TocItem } from '../article-CNQxbFAz.js';
5
+
6
+ interface LogoProps extends ComponentPropsWithoutRef<'a'> {
7
+ label: string;
8
+ href?: string;
9
+ }
10
+ declare function Logo({ label, href, className, ...rest }: LogoProps): react.JSX.Element;
11
+ interface HeaderProps extends ComponentPropsWithoutRef<'header'> {
12
+ /** Usually a <Logo />. */
13
+ logo?: ReactNode;
14
+ items?: NavItem[];
15
+ /** Right-side slot — theme toggle, search, etc. */
16
+ actions?: ReactNode;
17
+ /** Frosted glass background (default true). */
18
+ glass?: boolean;
19
+ }
20
+ declare function Header({ logo: logoSlot, items, actions, glass, className, ...rest }: HeaderProps): react.JSX.Element;
21
+ interface FooterProps extends ComponentPropsWithoutRef<'footer'> {
22
+ author?: string;
23
+ links?: NavItem[];
24
+ children?: ReactNode;
25
+ }
26
+ declare function Footer({ author, links, children, className, ...rest }: FooterProps): react.JSX.Element;
27
+
28
+ interface CategoryPillProps extends ComponentPropsWithoutRef<'span'> {
29
+ label: string;
30
+ /** Accent name ('cyan'), category name ('ia'), or any CSS color. */
31
+ color?: string;
32
+ active?: boolean;
33
+ interactive?: boolean;
34
+ }
35
+ declare function CategoryPill({ label, color, active, interactive, className, style, ...rest }: CategoryPillProps): react.JSX.Element;
36
+ interface PostCardProps extends ComponentPropsWithoutRef<'article'> {
37
+ post: PostSummary;
38
+ dense?: boolean;
39
+ }
40
+ declare function PostCard({ post, dense, className, children, ...rest }: PostCardProps): react.JSX.Element;
41
+ interface FeaturedPostCardProps extends ComponentPropsWithoutRef<'article'> {
42
+ post: PostSummary;
43
+ /** Custom visual slot (illustration, image). */
44
+ visual?: ReactNode;
45
+ }
46
+ declare function FeaturedPostCard({ post, visual, className, children, ...rest }: FeaturedPostCardProps): react.JSX.Element;
47
+ interface PostGridProps extends ComponentPropsWithoutRef<'div'> {
48
+ }
49
+ declare function PostGrid({ className, ...rest }: PostGridProps): react.JSX.Element;
50
+ interface LayoutProps extends ComponentPropsWithoutRef<'div'> {
51
+ withSidebar?: boolean;
52
+ }
53
+ declare function Layout({ withSidebar, className, ...rest }: LayoutProps): react.JSX.Element;
54
+ interface SidebarProps extends ComponentPropsWithoutRef<'aside'> {
55
+ }
56
+ declare function Sidebar({ className, ...rest }: SidebarProps): react.JSX.Element;
57
+ interface SidebarSectionProps extends ComponentPropsWithoutRef<'section'> {
58
+ title: string;
59
+ }
60
+ declare function SidebarSection({ title, children, ...rest }: SidebarSectionProps): react.JSX.Element;
61
+ interface HeroProps extends ComponentPropsWithoutRef<'section'> {
62
+ eyebrow?: string;
63
+ title: string;
64
+ description?: string;
65
+ }
66
+ declare function Hero({ eyebrow, title, description, className, children, ...rest }: HeroProps): react.JSX.Element;
67
+ interface SkeletonProps extends ComponentPropsWithoutRef<'div'> {
68
+ small?: boolean;
69
+ }
70
+ declare function Skeleton({ small, className, ...rest }: SkeletonProps): react.JSX.Element;
71
+ declare function CardSkeleton({ className, ...rest }: ComponentPropsWithoutRef<'div'>): react.JSX.Element;
72
+
73
+ interface CodeBlockProps extends ComponentPropsWithoutRef<'figure'> {
74
+ /** Raw source shown when `rendered` is absent. */
75
+ code: string;
76
+ language?: string;
77
+ filename?: string;
78
+ /**
79
+ * Pre-highlighted markup (e.g. Shiki output rendered on the server).
80
+ * The prototype's regex tokenizer was demo-only and is intentionally
81
+ * not part of the library.
82
+ */
83
+ rendered?: ReactNode;
84
+ /** Header slot — pass <CopyButton code={code} /> from the client entry. */
85
+ actions?: ReactNode;
86
+ }
87
+ declare function CodeBlock({ code, language, filename, rendered, actions, className, ...rest }: CodeBlockProps): react.JSX.Element;
88
+ interface CalloutProps extends ComponentPropsWithoutRef<'aside'> {
89
+ kind: CalloutKind;
90
+ /** Override the default kind label. */
91
+ label?: string;
92
+ }
93
+ declare function Callout({ kind, label, className, children, ...rest }: CalloutProps): react.JSX.Element;
94
+ interface ArticleHeaderProps extends ComponentPropsWithoutRef<'header'> {
95
+ title: string;
96
+ author?: string;
97
+ date?: string;
98
+ readMinutes?: number;
99
+ /** Slot above the title — usually a <CategoryPill />. */
100
+ eyebrow?: ReactNode;
101
+ }
102
+ declare function ArticleHeader({ title, author, date, readMinutes, eyebrow, className, ...rest }: ArticleHeaderProps): react.JSX.Element;
103
+ interface ProseProps extends ComponentPropsWithoutRef<'div'> {
104
+ }
105
+ /** Typography wrapper for article/MDX content. */
106
+ declare function Prose({ className, ...rest }: ProseProps): react.JSX.Element;
107
+ interface LeadProps extends ComponentPropsWithoutRef<'p'> {
108
+ }
109
+ /** Lead paragraph inside <Prose>. */
110
+ declare function Lead({ className, ...rest }: LeadProps): react.JSX.Element;
111
+
112
+ export { ArticleHeader, type ArticleHeaderProps, Callout, CalloutKind, type CalloutProps, CardSkeleton, CategoryPill, type CategoryPillProps, CodeBlock, type CodeBlockProps, FeaturedPostCard, type FeaturedPostCardProps, Footer, type FooterProps, Header, type HeaderProps, Hero, type HeroProps, Layout, type LayoutProps, Lead, type LeadProps, Logo, type LogoProps, NavItem, PostCard, type PostCardProps, PostGrid, type PostGridProps, PostSummary, Prose, type ProseProps, Sidebar, type SidebarProps, SidebarSection, type SidebarSectionProps, Skeleton, type SkeletonProps };
@@ -0,0 +1,365 @@
1
+ // src/recipes/cx.ts
2
+ function cx(...parts) {
3
+ return parts.filter(Boolean).join(" ");
4
+ }
5
+
6
+ // src/recipes/shell.ts
7
+ function header(options = {}) {
8
+ return cx("qt-header", options.glass !== false && "qt-glass");
9
+ }
10
+ var headerClasses = {
11
+ nav: "qt-header__nav",
12
+ link: "qt-header__link",
13
+ linkActive: cx("qt-header__link", "qt-header__link--active"),
14
+ actions: "qt-header__actions"
15
+ };
16
+ function logo() {
17
+ return "qt-logo";
18
+ }
19
+ var logoClasses = {
20
+ dot: "qt-logo__dot"
21
+ };
22
+ function footer() {
23
+ return "qt-footer";
24
+ }
25
+ var footerClasses = {
26
+ links: "qt-footer__links",
27
+ link: "qt-footer__link"
28
+ };
29
+
30
+ // src/react/components/Shell.tsx
31
+ import { jsx, jsxs } from "react/jsx-runtime";
32
+ function Logo({ label, href = "/", className, ...rest }) {
33
+ return /* @__PURE__ */ jsxs("a", { href, className: cx(logo(), className), ...rest, children: [
34
+ /* @__PURE__ */ jsx("span", { className: logoClasses.dot, "aria-hidden": "true" }),
35
+ label
36
+ ] });
37
+ }
38
+ function Header({ logo: logoSlot, items = [], actions, glass, className, ...rest }) {
39
+ return /* @__PURE__ */ jsxs("header", { className: cx(header({ glass }), className), ...rest, children: [
40
+ logoSlot,
41
+ items.length > 0 && /* @__PURE__ */ jsx("nav", { className: headerClasses.nav, children: items.map((item) => /* @__PURE__ */ jsx(
42
+ "a",
43
+ {
44
+ href: item.href,
45
+ className: item.active ? headerClasses.linkActive : headerClasses.link,
46
+ "aria-current": item.active ? "page" : void 0,
47
+ children: item.label
48
+ },
49
+ item.href
50
+ )) }),
51
+ actions && /* @__PURE__ */ jsx("div", { className: headerClasses.actions, children: actions })
52
+ ] });
53
+ }
54
+ function Footer({ author, links = [], children, className, ...rest }) {
55
+ return /* @__PURE__ */ jsxs("footer", { className: cx(footer(), className), ...rest, children: [
56
+ author && /* @__PURE__ */ jsx("span", { children: author }),
57
+ links.length > 0 && /* @__PURE__ */ jsx("div", { className: footerClasses.links, children: links.map((link) => /* @__PURE__ */ jsx("a", { href: link.href, className: footerClasses.link, children: link.label }, link.href)) }),
58
+ children
59
+ ] });
60
+ }
61
+
62
+ // src/recipes/content.ts
63
+ function categoryPill(options = {}) {
64
+ return cx(
65
+ "qt-pill",
66
+ options.interactive && "qt-pill--interactive",
67
+ options.active && "qt-pill--active"
68
+ );
69
+ }
70
+ var categoryPillClasses = {
71
+ dot: "qt-pill__dot"
72
+ };
73
+ function postCard(options = {}) {
74
+ return cx(
75
+ "qt-post-card",
76
+ options.dense && "qt-post-card--dense",
77
+ options.hover !== false && "qt-card-hover"
78
+ );
79
+ }
80
+ var postCardClasses = {
81
+ meta: "qt-post-card__meta",
82
+ title: "qt-post-card__title",
83
+ excerpt: "qt-post-card__excerpt"
84
+ };
85
+ function featuredPostCard() {
86
+ return cx("qt-featured-card", "qt-gradient-border", "qt-card-hover");
87
+ }
88
+ var featuredPostCardClasses = {
89
+ body: "qt-featured-card__body",
90
+ title: "qt-featured-card__title",
91
+ visual: "qt-featured-card__visual"
92
+ };
93
+ function postGrid() {
94
+ return "qt-post-grid";
95
+ }
96
+ function layout(options = {}) {
97
+ return cx("qt-layout", options.withSidebar && "qt-layout--with-sidebar");
98
+ }
99
+ function sidebar() {
100
+ return "qt-sidebar";
101
+ }
102
+ var sidebarClasses = {
103
+ sectionTitle: "qt-sidebar__section-title"
104
+ };
105
+ function hero() {
106
+ return "qt-hero";
107
+ }
108
+ var heroClasses = {
109
+ eyebrow: "qt-hero__eyebrow",
110
+ title: "qt-hero__title",
111
+ description: "qt-hero__description"
112
+ };
113
+ function skeletonLine(options = {}) {
114
+ return cx("qt-skeleton", "qt-skeleton-line", options.small && "qt-skeleton-line--sm");
115
+ }
116
+ function cardSkeleton() {
117
+ return "qt-card-skeleton";
118
+ }
119
+
120
+ // src/tokens/colors.ts
121
+ var colors = {
122
+ dark: {
123
+ bg: "#0A0A0C",
124
+ bgElev: "#111114",
125
+ surface: "#16161B",
126
+ surface2: "#1C1C22",
127
+ border: "rgba(255,255,255,0.08)",
128
+ borderStrong: "rgba(255,255,255,0.14)",
129
+ text: "#EDEDF0",
130
+ text2: "#8B8B96",
131
+ // Corrected from #5A5A66 (~2.6:1 on surface) to meet WCAG AA 4.5:1 — text3 is used for
132
+ // real copy (metadata, TOC links), not decoration, so it must be readable, not just muted.
133
+ text3: "#83838F"
134
+ },
135
+ light: {
136
+ bg: "#F7F7F5",
137
+ bgElev: "#FFFFFF",
138
+ surface: "#FFFFFF",
139
+ surface2: "#F2F2EF",
140
+ border: "rgba(0,0,0,0.08)",
141
+ borderStrong: "rgba(0,0,0,0.14)",
142
+ text: "#16161B",
143
+ text2: "#5A5A66",
144
+ // Corrected from #8B8B96 (~3.1:1 on white) to meet WCAG AA 4.5:1, same reasoning as dark.
145
+ text3: "#6F6F78"
146
+ }
147
+ };
148
+ var accents = {
149
+ cyan: "oklch(0.78 0.12 210)",
150
+ violet: "oklch(0.72 0.14 295)",
151
+ mint: "oklch(0.78 0.10 160)",
152
+ amber: "oklch(0.78 0.12 75)"
153
+ };
154
+ var themeModes = Object.keys(colors);
155
+ var accentNames = Object.keys(accents);
156
+
157
+ // src/tokens/categories.ts
158
+ var defaultCategoryColors = {
159
+ ia: "violet",
160
+ prompt: "amber",
161
+ dev: "mint",
162
+ arch: "cyan",
163
+ ts: "cyan"
164
+ };
165
+ function resolveAccentColor(color) {
166
+ return color in accents ? accents[color] : color;
167
+ }
168
+ function resolveCategoryColor(color) {
169
+ if (color in defaultCategoryColors) {
170
+ return accents[defaultCategoryColors[color]];
171
+ }
172
+ return resolveAccentColor(color);
173
+ }
174
+
175
+ // src/react/components/Content.tsx
176
+ import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
177
+ function CategoryPill({
178
+ label,
179
+ color,
180
+ active,
181
+ interactive,
182
+ className,
183
+ style,
184
+ ...rest
185
+ }) {
186
+ const pillStyle = color ? { ...style, "--qt-pill-color": resolveCategoryColor(color) } : style;
187
+ return /* @__PURE__ */ jsxs2("span", { className: cx(categoryPill({ active, interactive }), className), style: pillStyle, ...rest, children: [
188
+ /* @__PURE__ */ jsx2("span", { className: categoryPillClasses.dot, "aria-hidden": "true" }),
189
+ label
190
+ ] });
191
+ }
192
+ function PostMeta({ post }) {
193
+ if (!post.category && !post.date && post.readMinutes === void 0) return null;
194
+ return /* @__PURE__ */ jsxs2("div", { className: postCardClasses.meta, children: [
195
+ post.category && /* @__PURE__ */ jsx2(CategoryPill, { label: post.category.label, color: post.category.color }),
196
+ post.date && /* @__PURE__ */ jsx2("span", { children: post.date }),
197
+ post.readMinutes !== void 0 && /* @__PURE__ */ jsxs2("span", { children: [
198
+ post.readMinutes,
199
+ " min"
200
+ ] })
201
+ ] });
202
+ }
203
+ function PostCard({ post, dense, className, children, ...rest }) {
204
+ return /* @__PURE__ */ jsxs2("article", { className: cx(postCard({ dense }), className), ...rest, children: [
205
+ /* @__PURE__ */ jsx2(PostMeta, { post }),
206
+ /* @__PURE__ */ jsx2("h3", { className: postCardClasses.title, children: /* @__PURE__ */ jsx2("a", { href: post.href, children: post.title }) }),
207
+ !dense && post.excerpt && /* @__PURE__ */ jsx2("p", { className: postCardClasses.excerpt, children: post.excerpt }),
208
+ children
209
+ ] });
210
+ }
211
+ function FeaturedPostCard({ post, visual, className, children, ...rest }) {
212
+ return /* @__PURE__ */ jsxs2("article", { className: cx(featuredPostCard(), className), ...rest, children: [
213
+ /* @__PURE__ */ jsxs2("div", { className: featuredPostCardClasses.body, children: [
214
+ /* @__PURE__ */ jsx2(PostMeta, { post }),
215
+ /* @__PURE__ */ jsx2("h2", { className: featuredPostCardClasses.title, children: /* @__PURE__ */ jsx2("a", { href: post.href, children: post.title }) }),
216
+ post.excerpt && /* @__PURE__ */ jsx2("p", { className: postCardClasses.excerpt, children: post.excerpt }),
217
+ children
218
+ ] }),
219
+ visual && /* @__PURE__ */ jsx2("div", { className: featuredPostCardClasses.visual, children: visual })
220
+ ] });
221
+ }
222
+ function PostGrid({ className, ...rest }) {
223
+ return /* @__PURE__ */ jsx2("div", { className: cx(postGrid(), className), ...rest });
224
+ }
225
+ function Layout({ withSidebar, className, ...rest }) {
226
+ return /* @__PURE__ */ jsx2("div", { className: cx(layout({ withSidebar }), className), ...rest });
227
+ }
228
+ function Sidebar({ className, ...rest }) {
229
+ return /* @__PURE__ */ jsx2("aside", { className: cx(sidebar(), className), ...rest });
230
+ }
231
+ function SidebarSection({ title, children, ...rest }) {
232
+ return /* @__PURE__ */ jsxs2("section", { ...rest, children: [
233
+ /* @__PURE__ */ jsx2("h4", { className: sidebarClasses.sectionTitle, children: title }),
234
+ children
235
+ ] });
236
+ }
237
+ function Hero({ eyebrow, title, description, className, children, ...rest }) {
238
+ return /* @__PURE__ */ jsxs2("section", { className: cx(hero(), className), ...rest, children: [
239
+ eyebrow && /* @__PURE__ */ jsx2("span", { className: heroClasses.eyebrow, children: eyebrow }),
240
+ /* @__PURE__ */ jsx2("h1", { className: heroClasses.title, children: title }),
241
+ description && /* @__PURE__ */ jsx2("p", { className: heroClasses.description, children: description }),
242
+ children
243
+ ] });
244
+ }
245
+ function Skeleton({ small, className, ...rest }) {
246
+ return /* @__PURE__ */ jsx2("div", { className: cx(skeletonLine({ small }), className), "aria-hidden": "true", ...rest });
247
+ }
248
+ function CardSkeleton({ className, ...rest }) {
249
+ return /* @__PURE__ */ jsxs2("div", { className: cx(cardSkeleton(), className), "aria-hidden": "true", ...rest, children: [
250
+ /* @__PURE__ */ jsx2(Skeleton, { small: true }),
251
+ /* @__PURE__ */ jsx2(Skeleton, {}),
252
+ /* @__PURE__ */ jsx2(Skeleton, {})
253
+ ] });
254
+ }
255
+
256
+ // src/recipes/article.ts
257
+ function codeBlock() {
258
+ return "qt-code-block";
259
+ }
260
+ var codeBlockClasses = {
261
+ header: "qt-code-block__header",
262
+ pre: "qt-code-block__pre",
263
+ copy: "qt-code-block__copy",
264
+ copyCopied: cx("qt-code-block__copy", "qt-code-block__copy--copied")
265
+ };
266
+ function callout(kind) {
267
+ return cx("qt-callout", `qt-callout--${kind}`);
268
+ }
269
+ var calloutClasses = {
270
+ label: "qt-callout__label"
271
+ };
272
+ var calloutLabels = {
273
+ note: "Note",
274
+ warn: "Warn",
275
+ aha: "Aha!"
276
+ };
277
+ function articleHeader() {
278
+ return "qt-article-header";
279
+ }
280
+ var articleHeaderClasses = {
281
+ title: "qt-article-header__title",
282
+ meta: "qt-article-header__meta",
283
+ author: "qt-article-header__author"
284
+ };
285
+ function prose() {
286
+ return "qt-prose";
287
+ }
288
+ var proseClasses = {
289
+ lead: "qt-prose__lead"
290
+ };
291
+
292
+ // src/react/components/Article.tsx
293
+ import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
294
+ function CodeBlock({
295
+ code,
296
+ language,
297
+ filename,
298
+ rendered,
299
+ actions,
300
+ className,
301
+ ...rest
302
+ }) {
303
+ return /* @__PURE__ */ jsxs3("figure", { className: cx(codeBlock(), className), ...rest, children: [
304
+ /* @__PURE__ */ jsxs3("figcaption", { className: codeBlockClasses.header, children: [
305
+ /* @__PURE__ */ jsx3("span", { children: filename ?? language ?? "code" }),
306
+ actions
307
+ ] }),
308
+ /* @__PURE__ */ jsx3("pre", { className: codeBlockClasses.pre, children: rendered ?? /* @__PURE__ */ jsx3("code", { children: code }) })
309
+ ] });
310
+ }
311
+ function Callout({ kind, label, className, children, ...rest }) {
312
+ return /* @__PURE__ */ jsxs3("aside", { className: cx(callout(kind), className), ...rest, children: [
313
+ /* @__PURE__ */ jsx3("span", { className: calloutClasses.label, children: label ?? calloutLabels[kind] }),
314
+ /* @__PURE__ */ jsx3("div", { children })
315
+ ] });
316
+ }
317
+ function ArticleHeader({
318
+ title,
319
+ author,
320
+ date,
321
+ readMinutes,
322
+ eyebrow,
323
+ className,
324
+ ...rest
325
+ }) {
326
+ return /* @__PURE__ */ jsxs3("header", { className: cx(articleHeader(), className), ...rest, children: [
327
+ eyebrow,
328
+ /* @__PURE__ */ jsx3("h1", { className: articleHeaderClasses.title, children: title }),
329
+ (author || date || readMinutes !== void 0) && /* @__PURE__ */ jsxs3("div", { className: articleHeaderClasses.meta, children: [
330
+ author && /* @__PURE__ */ jsx3("span", { className: articleHeaderClasses.author, children: author }),
331
+ date && /* @__PURE__ */ jsx3("span", { children: date }),
332
+ readMinutes !== void 0 && /* @__PURE__ */ jsxs3("span", { children: [
333
+ readMinutes,
334
+ " min"
335
+ ] })
336
+ ] })
337
+ ] });
338
+ }
339
+ function Prose({ className, ...rest }) {
340
+ return /* @__PURE__ */ jsx3("div", { className: cx(prose(), className), ...rest });
341
+ }
342
+ function Lead({ className, ...rest }) {
343
+ return /* @__PURE__ */ jsx3("p", { className: cx(proseClasses.lead, className), ...rest });
344
+ }
345
+ export {
346
+ ArticleHeader,
347
+ Callout,
348
+ CardSkeleton,
349
+ CategoryPill,
350
+ CodeBlock,
351
+ FeaturedPostCard,
352
+ Footer,
353
+ Header,
354
+ Hero,
355
+ Layout,
356
+ Lead,
357
+ Logo,
358
+ PostCard,
359
+ PostGrid,
360
+ Prose,
361
+ Sidebar,
362
+ SidebarSection,
363
+ Skeleton
364
+ };
365
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/recipes/cx.ts","../../src/recipes/shell.ts","../../src/react/components/Shell.tsx","../../src/recipes/content.ts","../../src/tokens/colors.ts","../../src/tokens/categories.ts","../../src/react/components/Content.tsx","../../src/recipes/article.ts","../../src/react/components/Article.tsx"],"sourcesContent":["/** Minimal class-name joiner. Falsy values are dropped. */\nexport function cx(...parts: Array<string | false | null | undefined>): string {\n return parts.filter(Boolean).join(' ');\n}\n","import { cx } from './cx';\n\n/**\n * Shell recipes: Header, Logo, Footer.\n * Recipes are pure functions returning class strings — no DOM, no framework.\n * Safe in Next.js Server Components; usable via [class] in Angular, :class in Vue.\n */\n\nexport interface HeaderOptions {\n /** Frosted glass background (sticky headers). */\n glass?: boolean;\n}\n\nexport function header(options: HeaderOptions = {}): string {\n return cx('qt-header', options.glass !== false && 'qt-glass');\n}\n\nexport const headerClasses = {\n nav: 'qt-header__nav',\n link: 'qt-header__link',\n linkActive: cx('qt-header__link', 'qt-header__link--active'),\n actions: 'qt-header__actions',\n} as const;\n\nexport function logo(): string {\n return 'qt-logo';\n}\n\nexport const logoClasses = {\n dot: 'qt-logo__dot',\n} as const;\n\nexport function footer(): string {\n return 'qt-footer';\n}\n\nexport const footerClasses = {\n links: 'qt-footer__links',\n link: 'qt-footer__link',\n} as const;\n","import type { ComponentPropsWithoutRef, ReactNode } from 'react';\nimport { cx } from '../../recipes/cx';\nimport { footer, footerClasses, header, headerClasses, logo, logoClasses } from '../../recipes/shell';\nimport type { NavItem } from '../../types';\n\n/*\n * Shell components are Server Component safe: no hooks, no browser APIs.\n * Interactivity (theme toggle) is composed in via the `actions` slot —\n * pass <ThemeToggle /> from '@quiet-tech/ui/react/client'.\n */\n\nexport interface LogoProps extends ComponentPropsWithoutRef<'a'> {\n label: string;\n href?: string;\n}\n\nexport function Logo({ label, href = '/', className, ...rest }: LogoProps) {\n return (\n <a href={href} className={cx(logo(), className)} {...rest}>\n <span className={logoClasses.dot} aria-hidden=\"true\" />\n {label}\n </a>\n );\n}\n\nexport interface HeaderProps extends ComponentPropsWithoutRef<'header'> {\n /** Usually a <Logo />. */\n logo?: ReactNode;\n items?: NavItem[];\n /** Right-side slot — theme toggle, search, etc. */\n actions?: ReactNode;\n /** Frosted glass background (default true). */\n glass?: boolean;\n}\n\nexport function Header({ logo: logoSlot, items = [], actions, glass, className, ...rest }: HeaderProps) {\n return (\n <header className={cx(header({ glass }), className)} {...rest}>\n {logoSlot}\n {items.length > 0 && (\n <nav className={headerClasses.nav}>\n {items.map((item) => (\n <a\n key={item.href}\n href={item.href}\n className={item.active ? headerClasses.linkActive : headerClasses.link}\n aria-current={item.active ? 'page' : undefined}\n >\n {item.label}\n </a>\n ))}\n </nav>\n )}\n {actions && <div className={headerClasses.actions}>{actions}</div>}\n </header>\n );\n}\n\nexport interface FooterProps extends ComponentPropsWithoutRef<'footer'> {\n author?: string;\n links?: NavItem[];\n children?: ReactNode;\n}\n\nexport function Footer({ author, links = [], children, className, ...rest }: FooterProps) {\n return (\n <footer className={cx(footer(), className)} {...rest}>\n {author && <span>{author}</span>}\n {links.length > 0 && (\n <div className={footerClasses.links}>\n {links.map((link) => (\n <a key={link.href} href={link.href} className={footerClasses.link}>\n {link.label}\n </a>\n ))}\n </div>\n )}\n {children}\n </footer>\n );\n}\n","import { cx } from './cx';\n\n/**\n * Content recipes: CategoryPill, PostCard, FeaturedPostCard, PostGrid,\n * Sidebar, Hero, Skeleton. Pure functions — Server Component safe.\n */\n\nexport interface CategoryPillOptions {\n interactive?: boolean;\n active?: boolean;\n}\n\nexport function categoryPill(options: CategoryPillOptions = {}): string {\n return cx(\n 'qt-pill',\n options.interactive && 'qt-pill--interactive',\n options.active && 'qt-pill--active',\n );\n}\n\nexport const categoryPillClasses = {\n dot: 'qt-pill__dot',\n} as const;\n\nexport interface PostCardOptions {\n dense?: boolean;\n hover?: boolean;\n}\n\nexport function postCard(options: PostCardOptions = {}): string {\n return cx(\n 'qt-post-card',\n options.dense && 'qt-post-card--dense',\n options.hover !== false && 'qt-card-hover',\n );\n}\n\nexport const postCardClasses = {\n meta: 'qt-post-card__meta',\n title: 'qt-post-card__title',\n excerpt: 'qt-post-card__excerpt',\n} as const;\n\nexport function featuredPostCard(): string {\n return cx('qt-featured-card', 'qt-gradient-border', 'qt-card-hover');\n}\n\nexport const featuredPostCardClasses = {\n body: 'qt-featured-card__body',\n title: 'qt-featured-card__title',\n visual: 'qt-featured-card__visual',\n} as const;\n\nexport function postGrid(): string {\n return 'qt-post-grid';\n}\n\nexport interface LayoutOptions {\n withSidebar?: boolean;\n}\n\nexport function layout(options: LayoutOptions = {}): string {\n return cx('qt-layout', options.withSidebar && 'qt-layout--with-sidebar');\n}\n\nexport function sidebar(): string {\n return 'qt-sidebar';\n}\n\nexport const sidebarClasses = {\n sectionTitle: 'qt-sidebar__section-title',\n} as const;\n\nexport function hero(): string {\n return 'qt-hero';\n}\n\nexport const heroClasses = {\n eyebrow: 'qt-hero__eyebrow',\n title: 'qt-hero__title',\n description: 'qt-hero__description',\n} as const;\n\nexport interface SkeletonOptions {\n small?: boolean;\n}\n\nexport function skeletonLine(options: SkeletonOptions = {}): string {\n return cx('qt-skeleton', 'qt-skeleton-line', options.small && 'qt-skeleton-line--sm');\n}\n\nexport function cardSkeleton(): string {\n return 'qt-card-skeleton';\n}\n","/**\n * Quiet Tech color tokens.\n * Values ported literally from the Quiet Tech spec (blog.kalleopinheiro.dev).\n * Do not round or \"approximate\" — fidelity rule.\n */\nexport const colors = {\n dark: {\n bg: '#0A0A0C',\n bgElev: '#111114',\n surface: '#16161B',\n surface2: '#1C1C22',\n border: 'rgba(255,255,255,0.08)',\n borderStrong: 'rgba(255,255,255,0.14)',\n text: '#EDEDF0',\n text2: '#8B8B96',\n // Corrected from #5A5A66 (~2.6:1 on surface) to meet WCAG AA 4.5:1 — text3 is used for\n // real copy (metadata, TOC links), not decoration, so it must be readable, not just muted.\n text3: '#83838F',\n },\n light: {\n bg: '#F7F7F5',\n bgElev: '#FFFFFF',\n surface: '#FFFFFF',\n surface2: '#F2F2EF',\n border: 'rgba(0,0,0,0.08)',\n borderStrong: 'rgba(0,0,0,0.14)',\n text: '#16161B',\n text2: '#5A5A66',\n // Corrected from #8B8B96 (~3.1:1 on white) to meet WCAG AA 4.5:1, same reasoning as dark.\n text3: '#6F6F78',\n },\n} as const;\n\nexport const accents = {\n cyan: 'oklch(0.78 0.12 210)',\n violet: 'oklch(0.72 0.14 295)',\n mint: 'oklch(0.78 0.10 160)',\n amber: 'oklch(0.78 0.12 75)',\n} as const;\n\nexport type ThemeMode = keyof typeof colors;\nexport type AccentName = keyof typeof accents;\nexport type ColorScheme = (typeof colors)[ThemeMode];\n\nexport const themeModes = Object.keys(colors) as ThemeMode[];\nexport const accentNames = Object.keys(accents) as AccentName[];\n\nexport const DEFAULT_MODE: ThemeMode = 'dark';\nexport const DEFAULT_ACCENT: AccentName = 'cyan';\n","import { accents, type AccentName } from './colors';\n\n/**\n * Blog categories from the prototype. Categories render as a colored dot + label\n * (never an emoji). The pill also accepts any CSS color for whitelabel use.\n */\nexport type CategoryName = 'ia' | 'prompt' | 'dev' | 'arch' | 'ts';\n\nexport const defaultCategoryColors: Record<CategoryName, AccentName> = {\n ia: 'violet',\n prompt: 'amber',\n dev: 'mint',\n arch: 'cyan',\n ts: 'cyan',\n};\n\n/** Resolve an accent name or raw CSS color to a CSS color value. */\nexport function resolveAccentColor(color: AccentName | (string & {})): string {\n return color in accents ? accents[color as AccentName] : color;\n}\n\n/** Resolve a category name, accent name, or raw CSS color to a CSS color value. */\nexport function resolveCategoryColor(\n color: CategoryName | AccentName | (string & {}),\n): string {\n if (color in defaultCategoryColors) {\n return accents[defaultCategoryColors[color as CategoryName]];\n }\n return resolveAccentColor(color);\n}\n","import type { ComponentPropsWithoutRef, CSSProperties, ReactNode } from 'react';\nimport { cx } from '../../recipes/cx';\nimport {\n cardSkeleton,\n categoryPill,\n categoryPillClasses,\n featuredPostCard,\n featuredPostCardClasses,\n hero,\n heroClasses,\n layout,\n postCard,\n postCardClasses,\n postGrid,\n sidebar,\n sidebarClasses,\n skeletonLine,\n} from '../../recipes/content';\nimport { resolveCategoryColor } from '../../tokens/categories';\nimport type { PostSummary } from '../../types';\n\n/* All components in this file are Server Component safe. */\n\nexport interface CategoryPillProps extends ComponentPropsWithoutRef<'span'> {\n label: string;\n /** Accent name ('cyan'), category name ('ia'), or any CSS color. */\n color?: string;\n active?: boolean;\n interactive?: boolean;\n}\n\nexport function CategoryPill({\n label,\n color,\n active,\n interactive,\n className,\n style,\n ...rest\n}: CategoryPillProps) {\n const pillStyle: CSSProperties | undefined = color\n ? ({ ...style, '--qt-pill-color': resolveCategoryColor(color) } as CSSProperties)\n : style;\n return (\n <span className={cx(categoryPill({ active, interactive }), className)} style={pillStyle} {...rest}>\n <span className={categoryPillClasses.dot} aria-hidden=\"true\" />\n {label}\n </span>\n );\n}\n\nfunction PostMeta({ post }: { post: PostSummary }) {\n if (!post.category && !post.date && post.readMinutes === undefined) return null;\n return (\n <div className={postCardClasses.meta}>\n {post.category && <CategoryPill label={post.category.label} color={post.category.color} />}\n {post.date && <span>{post.date}</span>}\n {post.readMinutes !== undefined && <span>{post.readMinutes} min</span>}\n </div>\n );\n}\n\nexport interface PostCardProps extends ComponentPropsWithoutRef<'article'> {\n post: PostSummary;\n dense?: boolean;\n}\n\nexport function PostCard({ post, dense, className, children, ...rest }: PostCardProps) {\n return (\n <article className={cx(postCard({ dense }), className)} {...rest}>\n <PostMeta post={post} />\n <h3 className={postCardClasses.title}>\n <a href={post.href}>{post.title}</a>\n </h3>\n {!dense && post.excerpt && <p className={postCardClasses.excerpt}>{post.excerpt}</p>}\n {children}\n </article>\n );\n}\n\nexport interface FeaturedPostCardProps extends ComponentPropsWithoutRef<'article'> {\n post: PostSummary;\n /** Custom visual slot (illustration, image). */\n visual?: ReactNode;\n}\n\nexport function FeaturedPostCard({ post, visual, className, children, ...rest }: FeaturedPostCardProps) {\n return (\n <article className={cx(featuredPostCard(), className)} {...rest}>\n <div className={featuredPostCardClasses.body}>\n <PostMeta post={post} />\n <h2 className={featuredPostCardClasses.title}>\n <a href={post.href}>{post.title}</a>\n </h2>\n {post.excerpt && <p className={postCardClasses.excerpt}>{post.excerpt}</p>}\n {children}\n </div>\n {visual && <div className={featuredPostCardClasses.visual}>{visual}</div>}\n </article>\n );\n}\n\nexport interface PostGridProps extends ComponentPropsWithoutRef<'div'> {}\n\nexport function PostGrid({ className, ...rest }: PostGridProps) {\n return <div className={cx(postGrid(), className)} {...rest} />;\n}\n\nexport interface LayoutProps extends ComponentPropsWithoutRef<'div'> {\n withSidebar?: boolean;\n}\n\nexport function Layout({ withSidebar, className, ...rest }: LayoutProps) {\n return <div className={cx(layout({ withSidebar }), className)} {...rest} />;\n}\n\nexport interface SidebarProps extends ComponentPropsWithoutRef<'aside'> {}\n\nexport function Sidebar({ className, ...rest }: SidebarProps) {\n return <aside className={cx(sidebar(), className)} {...rest} />;\n}\n\nexport interface SidebarSectionProps extends ComponentPropsWithoutRef<'section'> {\n title: string;\n}\n\nexport function SidebarSection({ title, children, ...rest }: SidebarSectionProps) {\n return (\n <section {...rest}>\n <h4 className={sidebarClasses.sectionTitle}>{title}</h4>\n {children}\n </section>\n );\n}\n\nexport interface HeroProps extends ComponentPropsWithoutRef<'section'> {\n eyebrow?: string;\n title: string;\n description?: string;\n}\n\nexport function Hero({ eyebrow, title, description, className, children, ...rest }: HeroProps) {\n return (\n <section className={cx(hero(), className)} {...rest}>\n {eyebrow && <span className={heroClasses.eyebrow}>{eyebrow}</span>}\n <h1 className={heroClasses.title}>{title}</h1>\n {description && <p className={heroClasses.description}>{description}</p>}\n {children}\n </section>\n );\n}\n\nexport interface SkeletonProps extends ComponentPropsWithoutRef<'div'> {\n small?: boolean;\n}\n\nexport function Skeleton({ small, className, ...rest }: SkeletonProps) {\n return <div className={cx(skeletonLine({ small }), className)} aria-hidden=\"true\" {...rest} />;\n}\n\nexport function CardSkeleton({ className, ...rest }: ComponentPropsWithoutRef<'div'>) {\n return (\n <div className={cx(cardSkeleton(), className)} aria-hidden=\"true\" {...rest}>\n <Skeleton small />\n <Skeleton />\n <Skeleton />\n </div>\n );\n}\n","import { cx } from './cx';\n\n/**\n * Article recipes: CodeBlock, Callout, TableOfContents, ReadingProgress,\n * ArticleHeader, Prose. Pure functions — Server Component safe.\n */\n\nexport function codeBlock(): string {\n return 'qt-code-block';\n}\n\nexport const codeBlockClasses = {\n header: 'qt-code-block__header',\n pre: 'qt-code-block__pre',\n copy: 'qt-code-block__copy',\n copyCopied: cx('qt-code-block__copy', 'qt-code-block__copy--copied'),\n} as const;\n\nexport type CalloutKind = 'note' | 'warn' | 'aha';\n\nexport function callout(kind: CalloutKind): string {\n return cx('qt-callout', `qt-callout--${kind}`);\n}\n\nexport const calloutClasses = {\n label: 'qt-callout__label',\n} as const;\n\nexport const calloutLabels: Record<CalloutKind, string> = {\n note: 'Note',\n warn: 'Warn',\n aha: 'Aha!',\n};\n\nexport function tableOfContents(): string {\n return 'qt-toc';\n}\n\nexport interface TocLinkOptions {\n active?: boolean;\n /** Heading depth, 2 (h2) or 3 (h3). Depth 3 indents. */\n depth?: 2 | 3;\n}\n\nexport function tocLink(options: TocLinkOptions = {}): string {\n return cx(\n 'qt-toc__link',\n options.active && 'qt-toc__link--active',\n options.depth === 3 && 'qt-toc__link--depth-3',\n );\n}\n\nexport function readingProgress(): string {\n return 'qt-reading-progress';\n}\n\nexport const readingProgressClasses = {\n bar: 'qt-reading-progress__bar',\n} as const;\n\n/** CSS var read by `.qt-reading-progress__bar` (0 → 1). */\nexport const READING_PROGRESS_VAR = '--qt-reading-progress';\n\nexport function articleHeader(): string {\n return 'qt-article-header';\n}\n\nexport const articleHeaderClasses = {\n title: 'qt-article-header__title',\n meta: 'qt-article-header__meta',\n author: 'qt-article-header__author',\n} as const;\n\nexport function prose(): string {\n return 'qt-prose';\n}\n\nexport const proseClasses = {\n lead: 'qt-prose__lead',\n} as const;\n","import type { ComponentPropsWithoutRef, ReactNode } from 'react';\nimport { cx } from '../../recipes/cx';\nimport {\n articleHeader,\n articleHeaderClasses,\n callout,\n calloutClasses,\n calloutLabels,\n codeBlock,\n codeBlockClasses,\n prose,\n proseClasses,\n type CalloutKind,\n} from '../../recipes/article';\n\n/*\n * Article components are Server Component safe.\n * Interactive pieces (copy button, scroll spy) live in the client entry\n * and are composed in via slots.\n */\n\nexport interface CodeBlockProps extends ComponentPropsWithoutRef<'figure'> {\n /** Raw source shown when `rendered` is absent. */\n code: string;\n language?: string;\n filename?: string;\n /**\n * Pre-highlighted markup (e.g. Shiki output rendered on the server).\n * The prototype's regex tokenizer was demo-only and is intentionally\n * not part of the library.\n */\n rendered?: ReactNode;\n /** Header slot — pass <CopyButton code={code} /> from the client entry. */\n actions?: ReactNode;\n}\n\nexport function CodeBlock({\n code,\n language,\n filename,\n rendered,\n actions,\n className,\n ...rest\n}: CodeBlockProps) {\n return (\n <figure className={cx(codeBlock(), className)} {...rest}>\n <figcaption className={codeBlockClasses.header}>\n <span>{filename ?? language ?? 'code'}</span>\n {actions}\n </figcaption>\n <pre className={codeBlockClasses.pre}>\n {rendered ?? <code>{code}</code>}\n </pre>\n </figure>\n );\n}\n\nexport interface CalloutProps extends ComponentPropsWithoutRef<'aside'> {\n kind: CalloutKind;\n /** Override the default kind label. */\n label?: string;\n}\n\nexport function Callout({ kind, label, className, children, ...rest }: CalloutProps) {\n return (\n <aside className={cx(callout(kind), className)} {...rest}>\n <span className={calloutClasses.label}>{label ?? calloutLabels[kind]}</span>\n <div>{children}</div>\n </aside>\n );\n}\n\nexport interface ArticleHeaderProps extends ComponentPropsWithoutRef<'header'> {\n title: string;\n author?: string;\n date?: string;\n readMinutes?: number;\n /** Slot above the title — usually a <CategoryPill />. */\n eyebrow?: ReactNode;\n}\n\nexport function ArticleHeader({\n title,\n author,\n date,\n readMinutes,\n eyebrow,\n className,\n ...rest\n}: ArticleHeaderProps) {\n return (\n <header className={cx(articleHeader(), className)} {...rest}>\n {eyebrow}\n <h1 className={articleHeaderClasses.title}>{title}</h1>\n {(author || date || readMinutes !== undefined) && (\n <div className={articleHeaderClasses.meta}>\n {author && <span className={articleHeaderClasses.author}>{author}</span>}\n {date && <span>{date}</span>}\n {readMinutes !== undefined && <span>{readMinutes} min</span>}\n </div>\n )}\n </header>\n );\n}\n\nexport interface ProseProps extends ComponentPropsWithoutRef<'div'> {}\n\n/** Typography wrapper for article/MDX content. */\nexport function Prose({ className, ...rest }: ProseProps) {\n return <div className={cx(prose(), className)} {...rest} />;\n}\n\nexport interface LeadProps extends ComponentPropsWithoutRef<'p'> {}\n\n/** Lead paragraph inside <Prose>. */\nexport function Lead({ className, ...rest }: LeadProps) {\n return <p className={cx(proseClasses.lead, className)} {...rest} />;\n}\n"],"mappings":";AACO,SAAS,MAAM,OAAyD;AAC7E,SAAO,MAAM,OAAO,OAAO,EAAE,KAAK,GAAG;AACvC;;;ACUO,SAAS,OAAO,UAAyB,CAAC,GAAW;AAC1D,SAAO,GAAG,aAAa,QAAQ,UAAU,SAAS,UAAU;AAC9D;AAEO,IAAM,gBAAgB;AAAA,EAC3B,KAAK;AAAA,EACL,MAAM;AAAA,EACN,YAAY,GAAG,mBAAmB,yBAAyB;AAAA,EAC3D,SAAS;A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