@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.
- package/LICENSE +21 -0
- package/README.md +157 -0
- package/dist/article-CNQxbFAz.d.cts +120 -0
- package/dist/article-CNQxbFAz.d.ts +120 -0
- package/dist/index.cjs +561 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +232 -0
- package/dist/index.d.ts +232 -0
- package/dist/index.js +478 -0
- package/dist/index.js.map +1 -0
- package/dist/react/client/index.cjs +430 -0
- package/dist/react/client/index.cjs.map +1 -0
- package/dist/react/client/index.d.cts +105 -0
- package/dist/react/client/index.d.ts +105 -0
- package/dist/react/client/index.js +404 -0
- package/dist/react/client/index.js.map +1 -0
- package/dist/react/index.cjs +409 -0
- package/dist/react/index.cjs.map +1 -0
- package/dist/react/index.d.cts +112 -0
- package/dist/react/index.d.ts +112 -0
- package/dist/react/index.js +365 -0
- package/dist/react/index.js.map +1 -0
- package/dist/style.css +550 -0
- package/dist/theme.css +188 -0
- package/package.json +94 -0
|
@@ -0,0 +1,409 @@
|
|
|
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
|
+
|
|
20
|
+
// src/react/index.ts
|
|
21
|
+
var react_exports = {};
|
|
22
|
+
__export(react_exports, {
|
|
23
|
+
ArticleHeader: () => ArticleHeader,
|
|
24
|
+
Callout: () => Callout,
|
|
25
|
+
CardSkeleton: () => CardSkeleton,
|
|
26
|
+
CategoryPill: () => CategoryPill,
|
|
27
|
+
CodeBlock: () => CodeBlock,
|
|
28
|
+
FeaturedPostCard: () => FeaturedPostCard,
|
|
29
|
+
Footer: () => Footer,
|
|
30
|
+
Header: () => Header,
|
|
31
|
+
Hero: () => Hero,
|
|
32
|
+
Layout: () => Layout,
|
|
33
|
+
Lead: () => Lead,
|
|
34
|
+
Logo: () => Logo,
|
|
35
|
+
PostCard: () => PostCard,
|
|
36
|
+
PostGrid: () => PostGrid,
|
|
37
|
+
Prose: () => Prose,
|
|
38
|
+
Sidebar: () => Sidebar,
|
|
39
|
+
SidebarSection: () => SidebarSection,
|
|
40
|
+
Skeleton: () => Skeleton
|
|
41
|
+
});
|
|
42
|
+
module.exports = __toCommonJS(react_exports);
|
|
43
|
+
|
|
44
|
+
// src/recipes/cx.ts
|
|
45
|
+
function cx(...parts) {
|
|
46
|
+
return parts.filter(Boolean).join(" ");
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
// src/recipes/shell.ts
|
|
50
|
+
function header(options = {}) {
|
|
51
|
+
return cx("qt-header", options.glass !== false && "qt-glass");
|
|
52
|
+
}
|
|
53
|
+
var headerClasses = {
|
|
54
|
+
nav: "qt-header__nav",
|
|
55
|
+
link: "qt-header__link",
|
|
56
|
+
linkActive: cx("qt-header__link", "qt-header__link--active"),
|
|
57
|
+
actions: "qt-header__actions"
|
|
58
|
+
};
|
|
59
|
+
function logo() {
|
|
60
|
+
return "qt-logo";
|
|
61
|
+
}
|
|
62
|
+
var logoClasses = {
|
|
63
|
+
dot: "qt-logo__dot"
|
|
64
|
+
};
|
|
65
|
+
function footer() {
|
|
66
|
+
return "qt-footer";
|
|
67
|
+
}
|
|
68
|
+
var footerClasses = {
|
|
69
|
+
links: "qt-footer__links",
|
|
70
|
+
link: "qt-footer__link"
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
// src/react/components/Shell.tsx
|
|
74
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
75
|
+
function Logo({ label, href = "/", className, ...rest }) {
|
|
76
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("a", { href, className: cx(logo(), className), ...rest, children: [
|
|
77
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: logoClasses.dot, "aria-hidden": "true" }),
|
|
78
|
+
label
|
|
79
|
+
] });
|
|
80
|
+
}
|
|
81
|
+
function Header({ logo: logoSlot, items = [], actions, glass, className, ...rest }) {
|
|
82
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("header", { className: cx(header({ glass }), className), ...rest, children: [
|
|
83
|
+
logoSlot,
|
|
84
|
+
items.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("nav", { className: headerClasses.nav, children: items.map((item) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
85
|
+
"a",
|
|
86
|
+
{
|
|
87
|
+
href: item.href,
|
|
88
|
+
className: item.active ? headerClasses.linkActive : headerClasses.link,
|
|
89
|
+
"aria-current": item.active ? "page" : void 0,
|
|
90
|
+
children: item.label
|
|
91
|
+
},
|
|
92
|
+
item.href
|
|
93
|
+
)) }),
|
|
94
|
+
actions && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: headerClasses.actions, children: actions })
|
|
95
|
+
] });
|
|
96
|
+
}
|
|
97
|
+
function Footer({ author, links = [], children, className, ...rest }) {
|
|
98
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("footer", { className: cx(footer(), className), ...rest, children: [
|
|
99
|
+
author && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: author }),
|
|
100
|
+
links.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: footerClasses.links, children: links.map((link) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("a", { href: link.href, className: footerClasses.link, children: link.label }, link.href)) }),
|
|
101
|
+
children
|
|
102
|
+
] });
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
// src/recipes/content.ts
|
|
106
|
+
function categoryPill(options = {}) {
|
|
107
|
+
return cx(
|
|
108
|
+
"qt-pill",
|
|
109
|
+
options.interactive && "qt-pill--interactive",
|
|
110
|
+
options.active && "qt-pill--active"
|
|
111
|
+
);
|
|
112
|
+
}
|
|
113
|
+
var categoryPillClasses = {
|
|
114
|
+
dot: "qt-pill__dot"
|
|
115
|
+
};
|
|
116
|
+
function postCard(options = {}) {
|
|
117
|
+
return cx(
|
|
118
|
+
"qt-post-card",
|
|
119
|
+
options.dense && "qt-post-card--dense",
|
|
120
|
+
options.hover !== false && "qt-card-hover"
|
|
121
|
+
);
|
|
122
|
+
}
|
|
123
|
+
var postCardClasses = {
|
|
124
|
+
meta: "qt-post-card__meta",
|
|
125
|
+
title: "qt-post-card__title",
|
|
126
|
+
excerpt: "qt-post-card__excerpt"
|
|
127
|
+
};
|
|
128
|
+
function featuredPostCard() {
|
|
129
|
+
return cx("qt-featured-card", "qt-gradient-border", "qt-card-hover");
|
|
130
|
+
}
|
|
131
|
+
var featuredPostCardClasses = {
|
|
132
|
+
body: "qt-featured-card__body",
|
|
133
|
+
title: "qt-featured-card__title",
|
|
134
|
+
visual: "qt-featured-card__visual"
|
|
135
|
+
};
|
|
136
|
+
function postGrid() {
|
|
137
|
+
return "qt-post-grid";
|
|
138
|
+
}
|
|
139
|
+
function layout(options = {}) {
|
|
140
|
+
return cx("qt-layout", options.withSidebar && "qt-layout--with-sidebar");
|
|
141
|
+
}
|
|
142
|
+
function sidebar() {
|
|
143
|
+
return "qt-sidebar";
|
|
144
|
+
}
|
|
145
|
+
var sidebarClasses = {
|
|
146
|
+
sectionTitle: "qt-sidebar__section-title"
|
|
147
|
+
};
|
|
148
|
+
function hero() {
|
|
149
|
+
return "qt-hero";
|
|
150
|
+
}
|
|
151
|
+
var heroClasses = {
|
|
152
|
+
eyebrow: "qt-hero__eyebrow",
|
|
153
|
+
title: "qt-hero__title",
|
|
154
|
+
description: "qt-hero__description"
|
|
155
|
+
};
|
|
156
|
+
function skeletonLine(options = {}) {
|
|
157
|
+
return cx("qt-skeleton", "qt-skeleton-line", options.small && "qt-skeleton-line--sm");
|
|
158
|
+
}
|
|
159
|
+
function cardSkeleton() {
|
|
160
|
+
return "qt-card-skeleton";
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
// src/tokens/colors.ts
|
|
164
|
+
var colors = {
|
|
165
|
+
dark: {
|
|
166
|
+
bg: "#0A0A0C",
|
|
167
|
+
bgElev: "#111114",
|
|
168
|
+
surface: "#16161B",
|
|
169
|
+
surface2: "#1C1C22",
|
|
170
|
+
border: "rgba(255,255,255,0.08)",
|
|
171
|
+
borderStrong: "rgba(255,255,255,0.14)",
|
|
172
|
+
text: "#EDEDF0",
|
|
173
|
+
text2: "#8B8B96",
|
|
174
|
+
// Corrected from #5A5A66 (~2.6:1 on surface) to meet WCAG AA 4.5:1 — text3 is used for
|
|
175
|
+
// real copy (metadata, TOC links), not decoration, so it must be readable, not just muted.
|
|
176
|
+
text3: "#83838F"
|
|
177
|
+
},
|
|
178
|
+
light: {
|
|
179
|
+
bg: "#F7F7F5",
|
|
180
|
+
bgElev: "#FFFFFF",
|
|
181
|
+
surface: "#FFFFFF",
|
|
182
|
+
surface2: "#F2F2EF",
|
|
183
|
+
border: "rgba(0,0,0,0.08)",
|
|
184
|
+
borderStrong: "rgba(0,0,0,0.14)",
|
|
185
|
+
text: "#16161B",
|
|
186
|
+
text2: "#5A5A66",
|
|
187
|
+
// Corrected from #8B8B96 (~3.1:1 on white) to meet WCAG AA 4.5:1, same reasoning as dark.
|
|
188
|
+
text3: "#6F6F78"
|
|
189
|
+
}
|
|
190
|
+
};
|
|
191
|
+
var accents = {
|
|
192
|
+
cyan: "oklch(0.78 0.12 210)",
|
|
193
|
+
violet: "oklch(0.72 0.14 295)",
|
|
194
|
+
mint: "oklch(0.78 0.10 160)",
|
|
195
|
+
amber: "oklch(0.78 0.12 75)"
|
|
196
|
+
};
|
|
197
|
+
var themeModes = Object.keys(colors);
|
|
198
|
+
var accentNames = Object.keys(accents);
|
|
199
|
+
|
|
200
|
+
// src/tokens/categories.ts
|
|
201
|
+
var defaultCategoryColors = {
|
|
202
|
+
ia: "violet",
|
|
203
|
+
prompt: "amber",
|
|
204
|
+
dev: "mint",
|
|
205
|
+
arch: "cyan",
|
|
206
|
+
ts: "cyan"
|
|
207
|
+
};
|
|
208
|
+
function resolveAccentColor(color) {
|
|
209
|
+
return color in accents ? accents[color] : color;
|
|
210
|
+
}
|
|
211
|
+
function resolveCategoryColor(color) {
|
|
212
|
+
if (color in defaultCategoryColors) {
|
|
213
|
+
return accents[defaultCategoryColors[color]];
|
|
214
|
+
}
|
|
215
|
+
return resolveAccentColor(color);
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
// src/react/components/Content.tsx
|
|
219
|
+
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
220
|
+
function CategoryPill({
|
|
221
|
+
label,
|
|
222
|
+
color,
|
|
223
|
+
active,
|
|
224
|
+
interactive,
|
|
225
|
+
className,
|
|
226
|
+
style,
|
|
227
|
+
...rest
|
|
228
|
+
}) {
|
|
229
|
+
const pillStyle = color ? { ...style, "--qt-pill-color": resolveCategoryColor(color) } : style;
|
|
230
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("span", { className: cx(categoryPill({ active, interactive }), className), style: pillStyle, ...rest, children: [
|
|
231
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { className: categoryPillClasses.dot, "aria-hidden": "true" }),
|
|
232
|
+
label
|
|
233
|
+
] });
|
|
234
|
+
}
|
|
235
|
+
function PostMeta({ post }) {
|
|
236
|
+
if (!post.category && !post.date && post.readMinutes === void 0) return null;
|
|
237
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { className: postCardClasses.meta, children: [
|
|
238
|
+
post.category && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(CategoryPill, { label: post.category.label, color: post.category.color }),
|
|
239
|
+
post.date && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { children: post.date }),
|
|
240
|
+
post.readMinutes !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("span", { children: [
|
|
241
|
+
post.readMinutes,
|
|
242
|
+
" min"
|
|
243
|
+
] })
|
|
244
|
+
] });
|
|
245
|
+
}
|
|
246
|
+
function PostCard({ post, dense, className, children, ...rest }) {
|
|
247
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("article", { className: cx(postCard({ dense }), className), ...rest, children: [
|
|
248
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(PostMeta, { post }),
|
|
249
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("h3", { className: postCardClasses.title, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("a", { href: post.href, children: post.title }) }),
|
|
250
|
+
!dense && post.excerpt && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("p", { className: postCardClasses.excerpt, children: post.excerpt }),
|
|
251
|
+
children
|
|
252
|
+
] });
|
|
253
|
+
}
|
|
254
|
+
function FeaturedPostCard({ post, visual, className, children, ...rest }) {
|
|
255
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("article", { className: cx(featuredPostCard(), className), ...rest, children: [
|
|
256
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { className: featuredPostCardClasses.body, children: [
|
|
257
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(PostMeta, { post }),
|
|
258
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("h2", { className: featuredPostCardClasses.title, children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("a", { href: post.href, children: post.title }) }),
|
|
259
|
+
post.excerpt && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("p", { className: postCardClasses.excerpt, children: post.excerpt }),
|
|
260
|
+
children
|
|
261
|
+
] }),
|
|
262
|
+
visual && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { className: featuredPostCardClasses.visual, children: visual })
|
|
263
|
+
] });
|
|
264
|
+
}
|
|
265
|
+
function PostGrid({ className, ...rest }) {
|
|
266
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { className: cx(postGrid(), className), ...rest });
|
|
267
|
+
}
|
|
268
|
+
function Layout({ withSidebar, className, ...rest }) {
|
|
269
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { className: cx(layout({ withSidebar }), className), ...rest });
|
|
270
|
+
}
|
|
271
|
+
function Sidebar({ className, ...rest }) {
|
|
272
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("aside", { className: cx(sidebar(), className), ...rest });
|
|
273
|
+
}
|
|
274
|
+
function SidebarSection({ title, children, ...rest }) {
|
|
275
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("section", { ...rest, children: [
|
|
276
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("h4", { className: sidebarClasses.sectionTitle, children: title }),
|
|
277
|
+
children
|
|
278
|
+
] });
|
|
279
|
+
}
|
|
280
|
+
function Hero({ eyebrow, title, description, className, children, ...rest }) {
|
|
281
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("section", { className: cx(hero(), className), ...rest, children: [
|
|
282
|
+
eyebrow && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("span", { className: heroClasses.eyebrow, children: eyebrow }),
|
|
283
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)("h1", { className: heroClasses.title, children: title }),
|
|
284
|
+
description && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("p", { className: heroClasses.description, children: description }),
|
|
285
|
+
children
|
|
286
|
+
] });
|
|
287
|
+
}
|
|
288
|
+
function Skeleton({ small, className, ...rest }) {
|
|
289
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)("div", { className: cx(skeletonLine({ small }), className), "aria-hidden": "true", ...rest });
|
|
290
|
+
}
|
|
291
|
+
function CardSkeleton({ className, ...rest }) {
|
|
292
|
+
return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)("div", { className: cx(cardSkeleton(), className), "aria-hidden": "true", ...rest, children: [
|
|
293
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Skeleton, { small: true }),
|
|
294
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Skeleton, {}),
|
|
295
|
+
/* @__PURE__ */ (0, import_jsx_runtime2.jsx)(Skeleton, {})
|
|
296
|
+
] });
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
// src/recipes/article.ts
|
|
300
|
+
function codeBlock() {
|
|
301
|
+
return "qt-code-block";
|
|
302
|
+
}
|
|
303
|
+
var codeBlockClasses = {
|
|
304
|
+
header: "qt-code-block__header",
|
|
305
|
+
pre: "qt-code-block__pre",
|
|
306
|
+
copy: "qt-code-block__copy",
|
|
307
|
+
copyCopied: cx("qt-code-block__copy", "qt-code-block__copy--copied")
|
|
308
|
+
};
|
|
309
|
+
function callout(kind) {
|
|
310
|
+
return cx("qt-callout", `qt-callout--${kind}`);
|
|
311
|
+
}
|
|
312
|
+
var calloutClasses = {
|
|
313
|
+
label: "qt-callout__label"
|
|
314
|
+
};
|
|
315
|
+
var calloutLabels = {
|
|
316
|
+
note: "Note",
|
|
317
|
+
warn: "Warn",
|
|
318
|
+
aha: "Aha!"
|
|
319
|
+
};
|
|
320
|
+
function articleHeader() {
|
|
321
|
+
return "qt-article-header";
|
|
322
|
+
}
|
|
323
|
+
var articleHeaderClasses = {
|
|
324
|
+
title: "qt-article-header__title",
|
|
325
|
+
meta: "qt-article-header__meta",
|
|
326
|
+
author: "qt-article-header__author"
|
|
327
|
+
};
|
|
328
|
+
function prose() {
|
|
329
|
+
return "qt-prose";
|
|
330
|
+
}
|
|
331
|
+
var proseClasses = {
|
|
332
|
+
lead: "qt-prose__lead"
|
|
333
|
+
};
|
|
334
|
+
|
|
335
|
+
// src/react/components/Article.tsx
|
|
336
|
+
var import_jsx_runtime3 = require("react/jsx-runtime");
|
|
337
|
+
function CodeBlock({
|
|
338
|
+
code,
|
|
339
|
+
language,
|
|
340
|
+
filename,
|
|
341
|
+
rendered,
|
|
342
|
+
actions,
|
|
343
|
+
className,
|
|
344
|
+
...rest
|
|
345
|
+
}) {
|
|
346
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("figure", { className: cx(codeBlock(), className), ...rest, children: [
|
|
347
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("figcaption", { className: codeBlockClasses.header, children: [
|
|
348
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { children: filename ?? language ?? "code" }),
|
|
349
|
+
actions
|
|
350
|
+
] }),
|
|
351
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("pre", { className: codeBlockClasses.pre, children: rendered ?? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("code", { children: code }) })
|
|
352
|
+
] });
|
|
353
|
+
}
|
|
354
|
+
function Callout({ kind, label, className, children, ...rest }) {
|
|
355
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("aside", { className: cx(callout(kind), className), ...rest, children: [
|
|
356
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: calloutClasses.label, children: label ?? calloutLabels[kind] }),
|
|
357
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { children })
|
|
358
|
+
] });
|
|
359
|
+
}
|
|
360
|
+
function ArticleHeader({
|
|
361
|
+
title,
|
|
362
|
+
author,
|
|
363
|
+
date,
|
|
364
|
+
readMinutes,
|
|
365
|
+
eyebrow,
|
|
366
|
+
className,
|
|
367
|
+
...rest
|
|
368
|
+
}) {
|
|
369
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("header", { className: cx(articleHeader(), className), ...rest, children: [
|
|
370
|
+
eyebrow,
|
|
371
|
+
/* @__PURE__ */ (0, import_jsx_runtime3.jsx)("h1", { className: articleHeaderClasses.title, children: title }),
|
|
372
|
+
(author || date || readMinutes !== void 0) && /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("div", { className: articleHeaderClasses.meta, children: [
|
|
373
|
+
author && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { className: articleHeaderClasses.author, children: author }),
|
|
374
|
+
date && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("span", { children: date }),
|
|
375
|
+
readMinutes !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)("span", { children: [
|
|
376
|
+
readMinutes,
|
|
377
|
+
" min"
|
|
378
|
+
] })
|
|
379
|
+
] })
|
|
380
|
+
] });
|
|
381
|
+
}
|
|
382
|
+
function Prose({ className, ...rest }) {
|
|
383
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("div", { className: cx(prose(), className), ...rest });
|
|
384
|
+
}
|
|
385
|
+
function Lead({ className, ...rest }) {
|
|
386
|
+
return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)("p", { className: cx(proseClasses.lead, className), ...rest });
|
|
387
|
+
}
|
|
388
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
389
|
+
0 && (module.exports = {
|
|
390
|
+
ArticleHeader,
|
|
391
|
+
Callout,
|
|
392
|
+
CardSkeleton,
|
|
393
|
+
CategoryPill,
|
|
394
|
+
CodeBlock,
|
|
395
|
+
FeaturedPostCard,
|
|
396
|
+
Footer,
|
|
397
|
+
Header,
|
|
398
|
+
Hero,
|
|
399
|
+
Layout,
|
|
400
|
+
Lead,
|
|
401
|
+
Logo,
|
|
402
|
+
PostCard,
|
|
403
|
+
PostGrid,
|
|
404
|
+
Prose,
|
|
405
|
+
Sidebar,
|
|
406
|
+
SidebarSection,
|
|
407
|
+
Skeleton
|
|
408
|
+
});
|
|
409
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/react/index.ts","../../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":["/**\n * @quiet-tech/ui/react — Server Component safe React adapter.\n * Nothing here uses hooks, state, or browser APIs, so every component can\n * render inside a Next.js Server Component. Interactive pieces live in\n * '@quiet-tech/ui/react/client'.\n */\nexport * from './components/Shell';\nexport * from './components/Content';\nexport * from './components/Article';\n\n// Re-export data contracts and recipe types consumers need for props.\nexport type { PostSummary, TocItem, NavItem } from '../types';\nexport type { CalloutKind } from '../recipes/article';\nexport type { ThemeMode, AccentName } from '../tokens/colors';\n","/** 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":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACCO,SAAS,MAAM,OAAyD;AAC7E,SAAO,MAAM,OAAO,OAAO,EAAE,KAAK,GAAG;AACvC;;;ACUO,SAAS,OAAO,UAAyB,CAA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S,QAAQ,EAAE,MAAM,OAAO,WAAW,UAAU,GAAG,KAAK,GAAiB;AACnF,SACE,8CAAC,WAAM,WAAW,GAAG,QAAQ,IAAI,GAAG,SAAS,GAAI,GAAG,MAClD;AAAA,iDAAC,UAAK,WAAW,eAAe,OAAQ,mBAAS,cAAc,IAAI,GAAE;AAAA,IACrE,6CAAC,SAAK,UAAS;AAAA,KACjB;AAEJ;AAWO,SAAS,cAAc;AAAA,EAC5B;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,GAAG;AACL,GAAuB;AACrB,SACE,8CAAC,YAAO,WAAW,GAAG,cAAc,GAAG,SAAS,GAAI,GAAG,MACpD;AAAA;AAAA,IACD,6CAAC,QAAG,WAAW,qBAAqB,OAAQ,iBAAM;AAAA,KAChD,UAAU,QAAQ,gBAAgB,WAClC,8CAAC,SAAI,WAAW,qBAAqB,MAClC;AAAA,gBAAU,6CAAC,UAAK,WAAW,qBAAqB,QAAS,kBAAO;AAAA,MAChE,QAAQ,6CAAC,UAAM,gBAAK;AAAA,MACpB,gBAAgB,UAAa,8CAAC,UAAM;AAAA;AAAA,QAAY;AAAA,SAAI;AAAA,OACvD;AAAA,KAEJ;AAEJ;AAKO,SAAS,MAAM,EAAE,WAAW,GAAG,KAAK,GAAe;AACxD,SAAO,6CAAC,SAAI,WAAW,GAAG,MAAM,GAAG,SAAS,GAAI,GAAG,MAAM;AAC3D;AAKO,SAAS,KAAK,EAAE,WAAW,GAAG,KAAK,GAAc;AACtD,SAAO,6CAAC,OAAE,WAAW,GAAG,aAAa,MAAM,SAAS,GAAI,GAAG,MAAM;AACnE;","names":["import_jsx_runtime","import_jsx_runtime"]}
|
|
@@ -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.cjs';
|
|
4
|
+
export { A as AccentName, T as ThemeMode, d as TocItem } from '../article-CNQxbFAz.cjs';
|
|
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 };
|