@still-void/ui 1.1.1 → 2.0.1

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.
@@ -1,13 +1,146 @@
1
- import * as react from 'react';
1
+ import * as React from 'react';
2
2
  import { ComponentPropsWithoutRef, ReactNode } from 'react';
3
- import { N as NavItem, P as PostSummary, C as CalloutKind } from '../article-Dl8rGW5l.cjs';
4
- export { A as AccentName, T as ThemeMode, d as TocItem } from '../article-Dl8rGW5l.cjs';
3
+
4
+ /**
5
+ * Still Void color tokens.
6
+ * Values ported literally from the Still Void spec (blog.kalleopinheiro.dev).
7
+ * Do not round or "approximate" — fidelity rule.
8
+ */
9
+ declare const colors: {
10
+ readonly dark: {
11
+ readonly bg: "#0A0A0C";
12
+ readonly bgElev: "#111114";
13
+ readonly surface: "#16161B";
14
+ readonly surface2: "#1C1C22";
15
+ readonly border: "rgba(255,255,255,0.08)";
16
+ readonly borderStrong: "rgba(255,255,255,0.14)";
17
+ readonly text: "#EDEDF0";
18
+ readonly text2: "#8B8B96";
19
+ readonly text3: "#83838F";
20
+ };
21
+ readonly light: {
22
+ readonly bg: "#F7F7F5";
23
+ readonly bgElev: "#FFFFFF";
24
+ readonly surface: "#FFFFFF";
25
+ readonly surface2: "#F2F2EF";
26
+ readonly border: "rgba(0,0,0,0.08)";
27
+ readonly borderStrong: "rgba(0,0,0,0.14)";
28
+ readonly text: "#16161B";
29
+ readonly text2: "#5A5A66";
30
+ readonly text3: "#6D6D76";
31
+ };
32
+ };
33
+ declare const accents: {
34
+ readonly cyan: "oklch(0.78 0.12 210)";
35
+ readonly violet: "oklch(0.72 0.14 295)";
36
+ readonly mint: "oklch(0.78 0.10 160)";
37
+ readonly amber: "oklch(0.78 0.12 75)";
38
+ };
39
+ /**
40
+ * Text/UI-safe accent variants ("ink"). `accents` above is tuned for surface use
41
+ * (dots, gradient border, progress bar) and fails WCAG AA as text on light
42
+ * backgrounds (e.g. cyan is ~1.8:1 on white). These preserve the dark-mode
43
+ * values (already ≥6.9:1) and darken each hue for light mode to clear 4.5:1
44
+ * against both light surfaces. Used anywhere the accent colors text: prose
45
+ * links, active TOC state, callout labels, hero eyebrow, copy-success, focus ring.
46
+ */
47
+ declare const accentsInk: {
48
+ readonly dark: {
49
+ readonly cyan: "oklch(0.78 0.12 210)";
50
+ readonly violet: "oklch(0.72 0.14 295)";
51
+ readonly mint: "oklch(0.78 0.10 160)";
52
+ readonly amber: "oklch(0.78 0.12 75)";
53
+ };
54
+ readonly light: {
55
+ readonly cyan: "oklch(0.525 0.09 210)";
56
+ readonly violet: "oklch(0.545 0.14 295)";
57
+ readonly mint: "oklch(0.52 0.1 160)";
58
+ readonly amber: "oklch(0.535 0.11 75)";
59
+ };
60
+ };
61
+ /**
62
+ * Semantic state colors — independent of the switchable `accent`, so a
63
+ * consumer picking `data-accent="amber"` never collides a warning with the
64
+ * site accent. Fixed per meaning in both surface and text/UI ("ink") forms,
65
+ * same split as `accents`/`accentsInk`.
66
+ */
67
+ declare const semantic: {
68
+ readonly dark: {
69
+ readonly danger: "oklch(0.68 0.19 25)";
70
+ readonly success: "oklch(0.75 0.15 150)";
71
+ readonly info: "oklch(0.78 0.12 210)";
72
+ readonly warning: "oklch(0.78 0.12 75)";
73
+ };
74
+ readonly light: {
75
+ readonly danger: "oklch(0.68 0.19 25)";
76
+ readonly success: "oklch(0.75 0.15 150)";
77
+ readonly info: "oklch(0.78 0.12 210)";
78
+ readonly warning: "oklch(0.78 0.12 75)";
79
+ };
80
+ };
81
+ declare const semanticInk: {
82
+ readonly dark: {
83
+ readonly danger: "oklch(0.68 0.19 25)";
84
+ readonly success: "oklch(0.75 0.15 150)";
85
+ readonly info: "oklch(0.78 0.12 210)";
86
+ readonly warning: "oklch(0.78 0.12 75)";
87
+ };
88
+ readonly light: {
89
+ readonly danger: "oklch(0.555 0.19 25)";
90
+ readonly success: "oklch(0.515 0.14 150)";
91
+ readonly info: "oklch(0.525 0.09 210)";
92
+ readonly warning: "oklch(0.535 0.11 75)";
93
+ };
94
+ };
95
+ type ThemeMode = keyof typeof colors;
96
+ type AccentName = keyof typeof accents;
97
+ type ColorScheme = (typeof colors)[ThemeMode];
98
+ type SemanticName = keyof (typeof semantic)['dark'];
99
+ declare const themeModes: ThemeMode[];
100
+ declare const accentNames: AccentName[];
101
+ declare const DEFAULT_MODE: ThemeMode;
102
+ declare const DEFAULT_ACCENT: AccentName;
103
+
104
+ /**
105
+ * Blog categories from the prototype. Categories render as a colored dot + label
106
+ * (never an emoji). The pill also accepts any CSS color for whitelabel use.
107
+ */
108
+ type CategoryName = 'ia' | 'prompt' | 'dev' | 'arch' | 'ts';
109
+ declare const defaultCategoryColors: Record<CategoryName, AccentName>;
110
+ /** Resolve an accent name or raw CSS color to a CSS color value. */
111
+ declare function resolveAccentColor(color: AccentName | (string & {})): string;
112
+ /** Resolve a category name, accent name, or raw CSS color to a CSS color value. */
113
+ declare function resolveCategoryColor(color: CategoryName | AccentName | (string & {})): string;
114
+
115
+ /** Data shape consumed by PostCard / FeaturedPostCard. The library never ships mock data. */
116
+ interface PostSummary {
117
+ title: string;
118
+ href: string;
119
+ excerpt?: string;
120
+ date?: string;
121
+ readMinutes?: number;
122
+ category?: {
123
+ label: string;
124
+ /** Accent token name, known category, or any CSS color. */
125
+ color?: AccentName | CategoryName | (string & {});
126
+ };
127
+ }
128
+ interface TocItem {
129
+ id: string;
130
+ label: string;
131
+ depth?: 2 | 3;
132
+ }
133
+ interface NavItem {
134
+ label: string;
135
+ href: string;
136
+ active?: boolean;
137
+ }
5
138
 
6
139
  interface LogoProps extends ComponentPropsWithoutRef<'a'> {
7
140
  label: string;
8
141
  href?: string;
9
142
  }
10
- declare function Logo({ label, href, className, ...rest }: LogoProps): react.JSX.Element;
143
+ declare function Logo({ label, href, className, ...rest }: LogoProps): React.JSX.Element;
11
144
  interface HeaderProps extends ComponentPropsWithoutRef<'header'> {
12
145
  /** Usually a <Logo />. */
13
146
  logo?: ReactNode;
@@ -17,13 +150,13 @@ interface HeaderProps extends ComponentPropsWithoutRef<'header'> {
17
150
  /** Frosted glass background (default true). */
18
151
  glass?: boolean;
19
152
  }
20
- declare function Header({ logo: logoSlot, items, actions, glass, className, ...rest }: HeaderProps): react.JSX.Element;
153
+ declare function Header({ logo: logoSlot, items, actions, glass, className, ...rest }: HeaderProps): React.JSX.Element;
21
154
  interface FooterProps extends ComponentPropsWithoutRef<'footer'> {
22
155
  author?: string;
23
156
  links?: NavItem[];
24
157
  children?: ReactNode;
25
158
  }
26
- declare function Footer({ author, links, children, className, ...rest }: FooterProps): react.JSX.Element;
159
+ declare function Footer({ author, links, children, className, ...rest }: FooterProps): React.JSX.Element;
27
160
 
28
161
  interface CategoryPillBaseProps {
29
162
  label: string;
@@ -41,43 +174,84 @@ type CategoryPillProps = (CategoryPillBaseProps & {
41
174
  * real <button> (toggle semantics via `aria-pressed`) — a `<span>` with a
42
175
  * pointer cursor is not operable by keyboard or assistive tech.
43
176
  */
44
- declare function CategoryPill({ label, color, active, interactive, className, style, ...rest }: CategoryPillProps): react.JSX.Element;
177
+ declare function CategoryPill({ label, color, active, interactive, className, style, ...rest }: CategoryPillProps): React.JSX.Element;
45
178
  interface PostCardProps extends ComponentPropsWithoutRef<'article'> {
46
179
  post: PostSummary;
47
180
  dense?: boolean;
48
181
  }
49
- declare function PostCard({ post, dense, className, children, ...rest }: PostCardProps): react.JSX.Element;
182
+ declare function PostCard({ post, dense, className, children, ...rest }: PostCardProps): React.JSX.Element;
50
183
  interface FeaturedPostCardProps extends ComponentPropsWithoutRef<'article'> {
51
184
  post: PostSummary;
52
185
  /** Custom visual slot (illustration, image). */
53
186
  visual?: ReactNode;
54
187
  }
55
- declare function FeaturedPostCard({ post, visual, className, children, ...rest }: FeaturedPostCardProps): react.JSX.Element;
188
+ declare function FeaturedPostCard({ post, visual, className, children, ...rest }: FeaturedPostCardProps): React.JSX.Element;
56
189
  interface PostGridProps extends ComponentPropsWithoutRef<'div'> {
57
190
  }
58
- declare function PostGrid({ className, ...rest }: PostGridProps): react.JSX.Element;
191
+ declare function PostGrid({ className, ...rest }: PostGridProps): React.JSX.Element;
59
192
  interface LayoutProps extends ComponentPropsWithoutRef<'div'> {
60
193
  withSidebar?: boolean;
61
194
  }
62
- declare function Layout({ withSidebar, className, ...rest }: LayoutProps): react.JSX.Element;
195
+ declare function Layout({ withSidebar, className, ...rest }: LayoutProps): React.JSX.Element;
63
196
  interface SidebarProps extends ComponentPropsWithoutRef<'aside'> {
64
197
  }
65
- declare function Sidebar({ className, ...rest }: SidebarProps): react.JSX.Element;
198
+ declare function Sidebar({ className, ...rest }: SidebarProps): React.JSX.Element;
66
199
  interface SidebarSectionProps extends ComponentPropsWithoutRef<'section'> {
67
200
  title: string;
68
201
  }
69
- declare function SidebarSection({ title, children, ...rest }: SidebarSectionProps): react.JSX.Element;
202
+ declare function SidebarSection({ title, children, ...rest }: SidebarSectionProps): React.JSX.Element;
70
203
  interface HeroProps extends ComponentPropsWithoutRef<'section'> {
71
204
  eyebrow?: string;
72
205
  title: string;
73
206
  description?: string;
74
207
  }
75
- declare function Hero({ eyebrow, title, description, className, children, ...rest }: HeroProps): react.JSX.Element;
208
+ declare function Hero({ eyebrow, title, description, className, children, ...rest }: HeroProps): React.JSX.Element;
76
209
  interface SkeletonProps extends ComponentPropsWithoutRef<'div'> {
77
210
  small?: boolean;
78
211
  }
79
- declare function Skeleton({ small, className, ...rest }: SkeletonProps): react.JSX.Element;
80
- declare function CardSkeleton({ className, ...rest }: ComponentPropsWithoutRef<'div'>): react.JSX.Element;
212
+ declare function Skeleton({ small, className, ...rest }: SkeletonProps): React.JSX.Element;
213
+ declare function CardSkeleton({ className, ...rest }: ComponentPropsWithoutRef<'div'>): React.JSX.Element;
214
+
215
+ /**
216
+ * Article recipes: CodeBlock, Callout, TableOfContents, ReadingProgress,
217
+ * ArticleHeader, Prose. Pure functions — Server Component safe.
218
+ */
219
+ declare function codeBlock(): string;
220
+ declare const codeBlockClasses: {
221
+ readonly header: "sv-code-block__header";
222
+ readonly pre: "sv-code-block__pre";
223
+ readonly copy: "sv-code-block__copy";
224
+ readonly copyCopied: string;
225
+ };
226
+ type CalloutKind = 'note' | 'warn' | 'aha';
227
+ declare function callout(kind: CalloutKind): string;
228
+ declare const calloutClasses: {
229
+ readonly label: "sv-callout__label";
230
+ };
231
+ declare const calloutLabels: Record<CalloutKind, string>;
232
+ declare function tableOfContents(): string;
233
+ interface TocLinkOptions {
234
+ active?: boolean;
235
+ /** Heading depth, 2 (h2) or 3 (h3). Depth 3 indents. */
236
+ depth?: 2 | 3;
237
+ }
238
+ declare function tocLink(options?: TocLinkOptions): string;
239
+ declare function readingProgress(): string;
240
+ declare const readingProgressClasses: {
241
+ readonly bar: "sv-reading-progress__bar";
242
+ };
243
+ /** CSS var read by `.sv-reading-progress__bar` (0 → 1). */
244
+ declare const READING_PROGRESS_VAR = "--sv-reading-progress";
245
+ declare function articleHeader(): string;
246
+ declare const articleHeaderClasses: {
247
+ readonly title: "sv-article-header__title";
248
+ readonly meta: "sv-article-header__meta";
249
+ readonly author: "sv-article-header__author";
250
+ };
251
+ declare function prose(): string;
252
+ declare const proseClasses: {
253
+ readonly lead: "sv-prose__lead";
254
+ };
81
255
 
82
256
  interface CodeBlockProps extends ComponentPropsWithoutRef<'figure'> {
83
257
  /** Raw source shown when `rendered` is absent. */
@@ -93,13 +267,13 @@ interface CodeBlockProps extends ComponentPropsWithoutRef<'figure'> {
93
267
  /** Header slot — pass <CopyButton code={code} /> from the client entry. */
94
268
  actions?: ReactNode;
95
269
  }
96
- declare function CodeBlock({ code, language, filename, rendered, actions, className, ...rest }: CodeBlockProps): react.JSX.Element;
270
+ declare function CodeBlock({ code, language, filename, rendered, actions, className, ...rest }: CodeBlockProps): React.JSX.Element;
97
271
  interface CalloutProps extends ComponentPropsWithoutRef<'aside'> {
98
272
  kind: CalloutKind;
99
273
  /** Override the default kind label. */
100
274
  label?: string;
101
275
  }
102
- declare function Callout({ kind, label, className, children, ...rest }: CalloutProps): react.JSX.Element;
276
+ declare function Callout({ kind, label, className, children, ...rest }: CalloutProps): React.JSX.Element;
103
277
  interface ArticleHeaderProps extends ComponentPropsWithoutRef<'header'> {
104
278
  title: string;
105
279
  author?: string;
@@ -108,15 +282,15 @@ interface ArticleHeaderProps extends ComponentPropsWithoutRef<'header'> {
108
282
  /** Slot above the title — usually a <CategoryPill />. */
109
283
  eyebrow?: ReactNode;
110
284
  }
111
- declare function ArticleHeader({ title, author, date, readMinutes, eyebrow, className, ...rest }: ArticleHeaderProps): react.JSX.Element;
285
+ declare function ArticleHeader({ title, author, date, readMinutes, eyebrow, className, ...rest }: ArticleHeaderProps): React.JSX.Element;
112
286
  interface ProseProps extends ComponentPropsWithoutRef<'div'> {
113
287
  }
114
288
  /** Typography wrapper for article/MDX content. */
115
- declare function Prose({ className, ...rest }: ProseProps): react.JSX.Element;
289
+ declare function Prose({ className, ...rest }: ProseProps): React.JSX.Element;
116
290
  interface LeadProps extends ComponentPropsWithoutRef<'p'> {
117
291
  }
118
292
  /** Lead paragraph inside <Prose>. */
119
- declare function Lead({ className, ...rest }: LeadProps): react.JSX.Element;
293
+ declare function Lead({ className, ...rest }: LeadProps): React.JSX.Element;
120
294
 
121
295
  interface ThemeScriptProps {
122
296
  /** Must match the `storageKey` passed to `<ThemeProvider>` (or `createThemeManager`). */
@@ -124,6 +298,210 @@ interface ThemeScriptProps {
124
298
  /** CSP nonce forwarded to the inline `<script>`. */
125
299
  nonce?: string;
126
300
  }
127
- declare function ThemeScript({ storageKey, nonce }?: ThemeScriptProps): react.JSX.Element;
301
+ declare function ThemeScript({ storageKey, nonce }?: ThemeScriptProps): React.JSX.Element;
302
+
303
+ interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
304
+ variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link";
305
+ size?: "default" | "sm" | "lg" | "icon";
306
+ }
307
+ declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
308
+
309
+ declare const Card: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
310
+ declare const CardHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
311
+ declare const CardTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLParagraphElement>>;
312
+ declare const CardDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
313
+ declare const CardContent: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
314
+ declare const CardFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
315
+
316
+ declare const Alert: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
317
+ declare const AlertTitle: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLHeadingElement> & React.RefAttributes<HTMLParagraphElement>>;
318
+ declare const AlertDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & React.RefAttributes<HTMLParagraphElement>>;
319
+
320
+ interface BadgeProps extends React.HTMLAttributes<HTMLDivElement> {
321
+ variant?: "default" | "secondary" | "destructive" | "outline";
322
+ }
323
+ declare function Badge({ className, variant, ...props }: BadgeProps): React.JSX.Element;
324
+
325
+ interface InputProps extends React.InputHTMLAttributes<HTMLInputElement> {
326
+ }
327
+ declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
328
+
329
+ /**
330
+ * Still Void typography tokens.
331
+ * Families are fixed by the spec: Sora (display), Manrope (body), JetBrains Mono (code).
332
+ * System fallbacks are loading fallbacks only — the final family must be the correct one.
333
+ */
334
+ declare const fontFamilies: {
335
+ readonly display: "'Sora', ui-sans-serif, system-ui, sans-serif";
336
+ readonly body: "'Manrope', ui-sans-serif, system-ui, sans-serif";
337
+ readonly mono: "'JetBrains Mono', ui-monospace, 'SF Mono', monospace";
338
+ };
339
+ declare const fontWeights: {
340
+ readonly regular: 400;
341
+ readonly medium: 500;
342
+ readonly semibold: 600;
343
+ readonly bold: 700;
344
+ };
345
+ declare const fontSizes: {
346
+ readonly xs: "0.75rem";
347
+ readonly sm: "0.8125rem";
348
+ readonly base: "0.9375rem";
349
+ readonly md: "1rem";
350
+ readonly lg: "1.125rem";
351
+ readonly xl: "1.375rem";
352
+ readonly '2xl': "1.75rem";
353
+ readonly '3xl': "2.25rem";
354
+ readonly '4xl': "2.75rem";
355
+ };
356
+ declare const lineHeights: {
357
+ readonly tight: 1.15;
358
+ readonly snug: 1.3;
359
+ readonly normal: 1.5;
360
+ readonly relaxed: 1.7;
361
+ };
362
+ declare const letterSpacings: {
363
+ readonly display: "-0.02em";
364
+ readonly normal: "0";
365
+ readonly wide: "0.08em";
366
+ };
367
+ type FontFamily = keyof typeof fontFamilies;
368
+ type FontSize = keyof typeof fontSizes;
369
+ type FontWeight = keyof typeof fontWeights;
370
+
371
+ /**
372
+ * Still Void spacing scale (4→72px) and radii (6/8/12/16/full).
373
+ */
374
+ declare const spacing: {
375
+ readonly 1: "4px";
376
+ readonly 2: "8px";
377
+ readonly 3: "12px";
378
+ readonly 4: "16px";
379
+ readonly 5: "20px";
380
+ readonly 6: "24px";
381
+ readonly 8: "32px";
382
+ readonly 10: "40px";
383
+ readonly 12: "48px";
384
+ readonly 14: "56px";
385
+ readonly 16: "64px";
386
+ readonly 18: "72px";
387
+ };
388
+ declare const radii: {
389
+ readonly sm: "6px";
390
+ readonly md: "8px";
391
+ readonly lg: "12px";
392
+ readonly xl: "16px";
393
+ readonly full: "9999px";
394
+ };
395
+ type SpacingStep = keyof typeof spacing;
396
+ type Radius = keyof typeof radii;
397
+
398
+ /**
399
+ * Still Void motion tokens.
400
+ * Hover transitions use the signature easing; the reading progress bar is linear.
401
+ */
402
+ declare const easings: {
403
+ readonly hover: "cubic-bezier(.3,.7,.4,1)";
404
+ readonly linear: "linear";
405
+ };
406
+ declare const durations: {
407
+ readonly fast: "120ms";
408
+ readonly base: "200ms";
409
+ readonly slow: "320ms";
410
+ };
411
+ type Easing = keyof typeof easings;
412
+ type Duration = keyof typeof durations;
413
+
414
+ /**
415
+ * Still Void z-index scale. Named steps instead of arbitrary numbers so new
416
+ * layered components (dropdown, modal, toast, tooltip) stack predictably
417
+ * against the existing sticky header and reading progress bar.
418
+ */
419
+ declare const zIndex: {
420
+ readonly dropdown: 10;
421
+ readonly sticky: 20;
422
+ readonly backdrop: 30;
423
+ readonly modal: 40;
424
+ readonly toast: 50;
425
+ readonly tooltip: 60;
426
+ };
427
+ type ZIndexStep = keyof typeof zIndex;
428
+
429
+ /** Minimal class-name joiner. Falsy values are dropped. */
430
+ declare function cx(...parts: Array<string | false | null | undefined>): string;
431
+
432
+ /**
433
+ * Shell recipes: Header, Logo, Footer.
434
+ * Recipes are pure functions returning class strings — no DOM, no framework.
435
+ * Safe in Next.js Server Components; usable via [class] in Angular, :class in Vue.
436
+ */
437
+ interface HeaderOptions {
438
+ /** Frosted glass background (sticky headers). */
439
+ glass?: boolean;
440
+ }
441
+ declare function header(options?: HeaderOptions): string;
442
+ declare const headerClasses: {
443
+ readonly nav: "sv-header__nav";
444
+ readonly link: "sv-header__link";
445
+ readonly linkActive: string;
446
+ readonly actions: "sv-header__actions";
447
+ };
448
+ declare function logo(): string;
449
+ declare const logoClasses: {
450
+ readonly dot: "sv-logo__dot";
451
+ };
452
+ declare function footer(): string;
453
+ declare const footerClasses: {
454
+ readonly links: "sv-footer__links";
455
+ readonly link: "sv-footer__link";
456
+ };
457
+
458
+ /**
459
+ * Content recipes: CategoryPill, PostCard, FeaturedPostCard, PostGrid,
460
+ * Sidebar, Hero, Skeleton. Pure functions — Server Component safe.
461
+ */
462
+ interface CategoryPillOptions {
463
+ interactive?: boolean;
464
+ active?: boolean;
465
+ }
466
+ declare function categoryPill(options?: CategoryPillOptions): string;
467
+ declare const categoryPillClasses: {
468
+ readonly dot: "sv-pill__dot";
469
+ };
470
+ interface PostCardOptions {
471
+ dense?: boolean;
472
+ hover?: boolean;
473
+ }
474
+ declare function postCard(options?: PostCardOptions): string;
475
+ declare const postCardClasses: {
476
+ readonly meta: "sv-post-card__meta";
477
+ readonly title: "sv-post-card__title";
478
+ readonly excerpt: "sv-post-card__excerpt";
479
+ };
480
+ declare function featuredPostCard(): string;
481
+ declare const featuredPostCardClasses: {
482
+ readonly body: "sv-featured-card__body";
483
+ readonly title: "sv-featured-card__title";
484
+ readonly visual: "sv-featured-card__visual";
485
+ };
486
+ declare function postGrid(): string;
487
+ interface LayoutOptions {
488
+ withSidebar?: boolean;
489
+ }
490
+ declare function layout(options?: LayoutOptions): string;
491
+ declare function sidebar(): string;
492
+ declare const sidebarClasses: {
493
+ readonly sectionTitle: "sv-sidebar__section-title";
494
+ };
495
+ declare function hero(): string;
496
+ declare const heroClasses: {
497
+ readonly eyebrow: "sv-hero__eyebrow";
498
+ readonly title: "sv-hero__title";
499
+ readonly description: "sv-hero__description";
500
+ };
501
+ interface SkeletonOptions {
502
+ small?: boolean;
503
+ }
504
+ declare function skeletonLine(options?: SkeletonOptions): string;
505
+ declare function cardSkeleton(): string;
128
506
 
129
- 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, ThemeScript, type ThemeScriptProps };
507
+ export { type AccentName, Alert, AlertDescription, AlertTitle, ArticleHeader, type ArticleHeaderProps, Badge, type BadgeProps, Button, type ButtonProps, Callout, type CalloutKind, type CalloutProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardSkeleton, CardTitle, type CategoryName, CategoryPill, type CategoryPillOptions, type CategoryPillProps, CodeBlock, type CodeBlockProps, type ColorScheme, DEFAULT_ACCENT, DEFAULT_MODE, type Duration, type Easing, FeaturedPostCard, type FeaturedPostCardProps, type FontFamily, type FontSize, type FontWeight, Footer, type FooterProps, Header, type HeaderOptions, type HeaderProps, Hero, type HeroProps, Input, type InputProps, Layout, type LayoutOptions, type LayoutProps, Lead, type LeadProps, Logo, type LogoProps, type NavItem, PostCard, type PostCardOptions, type PostCardProps, PostGrid, type PostGridProps, type PostSummary, Prose, type ProseProps, READING_PROGRESS_VAR, type Radius, type SemanticName, Sidebar, type SidebarProps, SidebarSection, type SidebarSectionProps, Skeleton, type SkeletonOptions, type SkeletonProps, type SpacingStep, type ThemeMode, ThemeScript, type ThemeScriptProps, type TocItem, type TocLinkOptions, type ZIndexStep, accentNames, accents, accentsInk, articleHeader, articleHeaderClasses, callout, calloutClasses, calloutLabels, cardSkeleton, categoryPill, categoryPillClasses, codeBlock, codeBlockClasses, colors, cx, defaultCategoryColors, durations, easings, featuredPostCard, featuredPostCardClasses, fontFamilies, fontSizes, fontWeights, footer, footerClasses, header, headerClasses, hero, heroClasses, layout, letterSpacings, lineHeights, logo, logoClasses, postCard, postCardClasses, postGrid, prose, proseClasses, radii, readingProgress, readingProgressClasses, resolveAccentColor, resolveCategoryColor, semantic, semanticInk, sidebar, sidebarClasses, skeletonLine, spacing, tableOfContents, themeModes, tocLink, zIndex };