@bitbaum/sitekit 0.4.1 → 0.4.2

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.
@@ -20,6 +20,6 @@ export function SiteMasthead({ chrome, navItems, currentPath, Link = DefaultLink
20
20
  }
21
21
  export function SiteFooter({ chrome, appearance, links = [], groups, Link = DefaultLink, label = 'Footer navigation', extra, }) {
22
22
  if (appearance === 'application')
23
- return (_jsx("footer", { className: "sk-footer", children: _jsxs("div", { className: "sk-shell-frame", children: [_jsxs("div", { className: "sk-footer-top", children: [_jsxs("div", { children: [_jsx(Link, { href: "/", className: "sk-footer-brand", children: chrome.name }), _jsx("p", { children: chrome.footerNote })] }), groups ? (_jsx("nav", { "aria-label": label, className: "sk-footer-groups", children: groups.map((group) => (_jsxs("div", { className: "sk-footer-group", children: [_jsx("h2", { children: group.label }), group.links.map((item) => (_jsx(Link, { href: item.href, children: item.label }, item.href)))] }, group.label))) })) : (_jsx("nav", { "aria-label": label, children: links.map((item) => (_jsx(Link, { href: item.href, children: item.label }, item.href))) }))] }), _jsxs("div", { className: "sk-footer-bottom", children: [_jsxs("span", { children: ["\u00A9 ", new Date().getFullYear(), " ", chrome.name] }), extra] })] }) }));
23
+ return (_jsx("footer", { className: "sk-footer", children: _jsxs("div", { className: "sk-shell-frame", children: [_jsxs("div", { className: "sk-footer-top", children: [_jsxs("div", { children: [_jsx(Link, { href: "/", className: "sk-footer-brand", children: chrome.name }), _jsx("p", { children: chrome.footerNote })] }), groups ? (_jsx("nav", { "aria-label": label, className: "sk-footer-groups", style: { '--sk-footer-columns': groups.length }, children: groups.map((group) => (_jsxs("div", { className: "sk-footer-group", children: [_jsx("h2", { children: group.label }), group.links.map((item) => (_jsx(Link, { href: item.href, children: item.label }, item.href)))] }, group.label))) })) : (_jsx("nav", { "aria-label": label, children: links.map((item) => (_jsx(Link, { href: item.href, children: item.label }, item.href))) }))] }), _jsxs("div", { className: "sk-footer-bottom", children: [_jsxs("span", { children: ["\u00A9 ", new Date().getFullYear(), " ", chrome.name] }), extra] })] }) }));
24
24
  return (_jsx("footer", { className: "mt-24 border-t border-subtle", children: _jsxs("div", { className: "mx-auto max-w-shell px-4 py-12 sm:px-6 lg:px-8", children: [_jsx("p", { className: "max-w-prose text-sm leading-relaxed text-fg-secondary", children: chrome.footerNote }), _jsxs("div", { className: "mt-8 flex flex-col gap-2 border-t border-subtle pt-6 font-mono text-xs uppercase tracking-caps text-fg-muted sm:flex-row sm:items-center sm:justify-between", children: [chrome.host && _jsx("span", { children: chrome.host }), _jsxs("span", { className: "normal-case tracking-normal", children: ["\u00A9 ", chrome.name] })] })] }) }));
25
25
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bitbaum/sitekit",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "description": "A website as data: a closed union of section shapes validated at runtime, one set of React renderers, and per-field provenance so a generated site can prove it fabricated nothing.",
5
5
  "license": "MIT",
6
6
  "author": "Mao Nakamoto",
package/styles.css CHANGED
@@ -245,8 +245,8 @@
245
245
  display: grid;
246
246
  gap: 1rem;
247
247
  color: var(--sk-muted, #555);
248
- font-size: clamp(1.05rem, 2vw, 1.2rem);
249
- line-height: 1.75;
248
+ font-size: var(--sk-lead-size, clamp(1.05rem, 2vw, 1.2rem));
249
+ line-height: var(--sk-lead-leading, 1.75);
250
250
  }
251
251
  .sk-hero-actions {
252
252
  display: grid;