@treeseed/core 0.10.22 → 0.11.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/README.md +69 -125
- package/dist/dev-watch.js +2 -1
- package/dist/dev.d.ts +1 -1
- package/dist/dev.js +51 -35
- package/dist/pages/404.astro +1 -1
- package/dist/pages/[slug].astro +4 -4
- package/dist/pages/agents/[slug].astro +3 -3
- package/dist/pages/agents/index.astro +3 -3
- package/dist/pages/books/[slug].astro +3 -3
- package/dist/pages/books/index.astro +3 -3
- package/dist/pages/contact.astro +2 -2
- package/dist/pages/decisions/[slug].astro +3 -3
- package/dist/pages/decisions/index.astro +3 -3
- package/dist/pages/docs-runtime/[...slug].astro +3 -3
- package/dist/pages/docs-runtime/index.astro +3 -3
- package/dist/pages/index.astro +11 -11
- package/dist/pages/notes/[slug].astro +3 -3
- package/dist/pages/notes/index.astro +3 -3
- package/dist/pages/objectives/[slug].astro +3 -3
- package/dist/pages/objectives/index.astro +3 -3
- package/dist/pages/people/[slug].astro +3 -3
- package/dist/pages/people/index.astro +3 -3
- package/dist/pages/proposals/[slug].astro +3 -3
- package/dist/pages/proposals/index.astro +3 -3
- package/dist/pages/questions/[slug].astro +3 -3
- package/dist/pages/questions/index.astro +3 -3
- package/dist/pages/ui/index.astro +23 -23
- package/dist/platform-resources.js +5 -1
- package/dist/scripts/build-dist.js +2 -0
- package/dist/scripts/release-verify.js +24 -2
- package/dist/scripts/workspace-bootstrap.js +3 -0
- package/dist/site.js +49 -11
- package/dist/styles/global.css +5 -5
- package/package.json +3 -45
- package/templates/github/deploy-web.workflow.yml +36 -2
- package/dist/components/DevWatchReload.astro +0 -45
- package/dist/components/SiteTitle.astro +0 -51
- package/dist/components/content/ContentStatusLegend.astro +0 -18
- package/dist/components/content/StatusBadge.astro +0 -11
- package/dist/components/docs/BookFontControls.astro +0 -180
- package/dist/components/docs/DesktopSidebarToggle.astro +0 -88
- package/dist/components/docs/DownloadBook.astro +0 -34
- package/dist/components/docs/Footer.astro +0 -112
- package/dist/components/docs/Header.astro +0 -157
- package/dist/components/docs/PageFrame.astro +0 -260
- package/dist/components/docs/PageSidebar.astro +0 -63
- package/dist/components/docs/PageTitle.astro +0 -39
- package/dist/components/docs/Sidebar.astro +0 -41
- package/dist/components/docs/ThemeSelect.astro +0 -5
- package/dist/components/forms/ContactForm.astro +0 -233
- package/dist/components/forms/FooterSubscribeForm.astro +0 -188
- package/dist/components/site/BookList.astro +0 -27
- package/dist/components/site/CTASection.astro +0 -24
- package/dist/components/site/ChronicleList.astro +0 -33
- package/dist/components/site/Hero.astro +0 -18
- package/dist/components/site/NotesList.astro +0 -29
- package/dist/components/site/PathCard.astro +0 -16
- package/dist/components/site/ProfileList.astro +0 -30
- package/dist/components/site/PublishedContentBody.astro +0 -5
- package/dist/components/site/RouteNotFound.astro +0 -25
- package/dist/components/site/SectionIntro.astro +0 -9
- package/dist/components/site/StageBanner.astro +0 -8
- package/dist/components/site/TrustCallout.astro +0 -9
- package/dist/components/starlight.js +0 -6
- package/dist/components/ui/data/ActionList.astro +0 -51
- package/dist/components/ui/data/Badge.astro +0 -19
- package/dist/components/ui/data/DataTable.astro +0 -51
- package/dist/components/ui/data/KeyValueList.astro +0 -28
- package/dist/components/ui/data/MetricCard.astro +0 -25
- package/dist/components/ui/data/MetricGrid.astro +0 -27
- package/dist/components/ui/data/StatusPill.astro +0 -20
- package/dist/components/ui/forms/Button.astro +0 -59
- package/dist/components/ui/forms/Field.astro +0 -39
- package/dist/components/ui/forms/FormActions.astro +0 -12
- package/dist/components/ui/forms/PasswordMeter.astro +0 -80
- package/dist/components/ui/forms/RadioGroup.astro +0 -55
- package/dist/components/ui/forms/Select.astro +0 -47
- package/dist/components/ui/forms/TextInput.astro +0 -58
- package/dist/components/ui/forms/Textarea.astro +0 -45
- package/dist/components/ui/layout/PageHeader.astro +0 -45
- package/dist/components/ui/shell/AppShell.astro +0 -130
- package/dist/components/ui/shell/BottomNav.astro +0 -42
- package/dist/components/ui/shell/ProjectHeader.astro +0 -66
- package/dist/components/ui/shell/PublicFooter.astro +0 -39
- package/dist/components/ui/shell/PublicShell.astro +0 -184
- package/dist/components/ui/shell/RailNav.astro +0 -42
- package/dist/components/ui/shell/ShellIconLink.astro +0 -30
- package/dist/components/ui/shell/TopBar.astro +0 -52
- package/dist/components/ui/surface/Card.astro +0 -46
- package/dist/components/ui/surface/EmptyState.astro +0 -45
- package/dist/components/ui/surface/Panel.astro +0 -54
- package/dist/components/ui/theme/ThemeMenu.astro +0 -58
- package/dist/components/ui/theme/ThemePreviewSwatch.astro +0 -18
- package/dist/components/ui/theme/ThemeScript.astro +0 -112
- package/dist/components/ui/theme/ThemeSelector.astro +0 -202
- package/dist/components/ui/types.js +0 -0
- package/dist/layouts/AuthoredEntryLayout.astro +0 -195
- package/dist/layouts/BookLayout.astro +0 -35
- package/dist/layouts/BridgeLayout.astro +0 -11
- package/dist/layouts/ContentLayout.astro +0 -24
- package/dist/layouts/MainLayout.astro +0 -76
- package/dist/layouts/NoteLayout.astro +0 -26
- package/dist/layouts/ProfileLayout.astro +0 -85
- package/dist/styles/app-shell.css +0 -626
- package/dist/styles/forms.css +0 -274
- package/dist/styles/theme.css +0 -198
- package/dist/styles/tokens.css +0 -65
- package/dist/styles/ui.css +0 -551
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
import MainLayout from './MainLayout.astro';
|
|
3
|
-
import StatusBadge from '../components/content/StatusBadge.astro';
|
|
4
|
-
|
|
5
|
-
const { note } = Astro.props;
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
<MainLayout title={note.title} description={note.description} currentPath="/notes/">
|
|
9
|
-
<article class="max-w-4xl space-y-8">
|
|
10
|
-
<div class="space-y-4 border-b border-[color:var(--ts-color-border)] pb-8">
|
|
11
|
-
<div class="flex flex-wrap items-center gap-3">
|
|
12
|
-
<StatusBadge status={note.status} />
|
|
13
|
-
<p class="text-sm font-medium text-[color:var(--ts-color-text-subtle)]">{note.date.toISOString().slice(0, 10)}</p>
|
|
14
|
-
<p class="text-sm text-[color:var(--ts-color-text-subtle)]">{note.author}</p>
|
|
15
|
-
</div>
|
|
16
|
-
<h1 class="max-w-4xl font-serif text-5xl font-bold tracking-tight text-[color:var(--ts-color-text)] md:text-6xl">{note.title}</h1>
|
|
17
|
-
<p class="max-w-3xl text-xl leading-10 text-[color:var(--ts-color-text-muted)]">{note.summary}</p>
|
|
18
|
-
{note.tags.length > 0 && (
|
|
19
|
-
<p class="text-sm uppercase tracking-[0.14em] text-[color:var(--ts-color-accent-strong)]">{note.tags.join(' / ')}</p>
|
|
20
|
-
)}
|
|
21
|
-
</div>
|
|
22
|
-
<div class="prose">
|
|
23
|
-
<slot />
|
|
24
|
-
</div>
|
|
25
|
-
</article>
|
|
26
|
-
</MainLayout>
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
import MainLayout from './MainLayout.astro';
|
|
3
|
-
import StatusBadge from '../components/content/StatusBadge.astro';
|
|
4
|
-
import type { RuntimeReferenceEntry } from '../utils/site-content-runtime';
|
|
5
|
-
|
|
6
|
-
function entryTitle(entry: RuntimeReferenceEntry) {
|
|
7
|
-
return entry.data.title ?? entry.data.name ?? entry.id;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
const {
|
|
11
|
-
entry,
|
|
12
|
-
currentPath,
|
|
13
|
-
metaLabel,
|
|
14
|
-
metaValue,
|
|
15
|
-
relatedQuestions = [],
|
|
16
|
-
relatedObjectives = [],
|
|
17
|
-
} = Astro.props as {
|
|
18
|
-
entry: {
|
|
19
|
-
name: string;
|
|
20
|
-
description: string;
|
|
21
|
-
summary: string;
|
|
22
|
-
status?: 'live' | 'in progress' | 'exploratory' | 'planned' | 'speculative';
|
|
23
|
-
tags: string[];
|
|
24
|
-
links: { label: string; href: string }[];
|
|
25
|
-
};
|
|
26
|
-
currentPath: string;
|
|
27
|
-
metaLabel: string;
|
|
28
|
-
metaValue: string;
|
|
29
|
-
relatedQuestions?: RuntimeReferenceEntry[];
|
|
30
|
-
relatedObjectives?: RuntimeReferenceEntry[];
|
|
31
|
-
};
|
|
32
|
-
---
|
|
33
|
-
|
|
34
|
-
<MainLayout title={entry.name} description={entry.description} currentPath={currentPath}>
|
|
35
|
-
<article class="max-w-4xl space-y-8">
|
|
36
|
-
<div class="space-y-4 border-b border-[color:var(--ts-color-border)] pb-8">
|
|
37
|
-
<div class="flex flex-wrap items-center gap-3">
|
|
38
|
-
{'status' in entry && entry.status && <StatusBadge status={entry.status} />}
|
|
39
|
-
<p class="text-sm font-medium text-[color:var(--ts-color-text-subtle)]">{metaLabel}: {metaValue}</p>
|
|
40
|
-
</div>
|
|
41
|
-
<h1 class="max-w-4xl font-serif text-5xl font-bold tracking-tight text-[color:var(--ts-color-text)] md:text-6xl">{entry.name}</h1>
|
|
42
|
-
<p class="max-w-3xl text-xl leading-10 text-[color:var(--ts-color-text-muted)]">{entry.summary}</p>
|
|
43
|
-
{entry.tags.length > 0 && (
|
|
44
|
-
<p class="text-sm uppercase tracking-[0.14em] text-[color:var(--ts-color-accent-strong)]">{entry.tags.join(' / ')}</p>
|
|
45
|
-
)}
|
|
46
|
-
</div>
|
|
47
|
-
<div class="grid gap-6 md:grid-cols-[1.3fr_0.7fr]">
|
|
48
|
-
<div class="prose">
|
|
49
|
-
<slot />
|
|
50
|
-
</div>
|
|
51
|
-
<div class="space-y-6">
|
|
52
|
-
{entry.links.length > 0 && (
|
|
53
|
-
<div class="border border-[color:var(--ts-color-border)] bg-[color:var(--ts-color-surface)] p-5">
|
|
54
|
-
<p class="text-sm font-semibold uppercase tracking-[0.14em] text-[color:var(--ts-color-info-text)]">Links</p>
|
|
55
|
-
<ul class="mt-3 space-y-2 text-[color:var(--ts-color-text-muted)]">
|
|
56
|
-
{entry.links.map((link) => (
|
|
57
|
-
<li><a href={link.href} class="hover:text-[color:var(--ts-color-text)]">{link.label}</a></li>
|
|
58
|
-
))}
|
|
59
|
-
</ul>
|
|
60
|
-
</div>
|
|
61
|
-
)}
|
|
62
|
-
{relatedQuestions.length > 0 && (
|
|
63
|
-
<div class="border border-[color:var(--ts-color-border)] bg-[color:var(--ts-color-surface)] p-5">
|
|
64
|
-
<p class="text-sm font-semibold uppercase tracking-[0.14em] text-[color:var(--ts-color-info-text)]">Questions</p>
|
|
65
|
-
<ul class="mt-3 space-y-2 text-[color:var(--ts-color-text-muted)]">
|
|
66
|
-
{relatedQuestions.map((question) => (
|
|
67
|
-
<li><a href={`/questions/${question.id}/`} class="hover:text-[color:var(--ts-color-text)]">{entryTitle(question)}</a></li>
|
|
68
|
-
))}
|
|
69
|
-
</ul>
|
|
70
|
-
</div>
|
|
71
|
-
)}
|
|
72
|
-
{relatedObjectives.length > 0 && (
|
|
73
|
-
<div class="border border-[color:var(--ts-color-border)] bg-[color:var(--ts-color-surface)] p-5">
|
|
74
|
-
<p class="text-sm font-semibold uppercase tracking-[0.14em] text-[color:var(--ts-color-info-text)]">Objectives</p>
|
|
75
|
-
<ul class="mt-3 space-y-2 text-[color:var(--ts-color-text-muted)]">
|
|
76
|
-
{relatedObjectives.map((objective) => (
|
|
77
|
-
<li><a href={`/objectives/${objective.id}/`} class="hover:text-[color:var(--ts-color-text)]">{entryTitle(objective)}</a></li>
|
|
78
|
-
))}
|
|
79
|
-
</ul>
|
|
80
|
-
</div>
|
|
81
|
-
)}
|
|
82
|
-
</div>
|
|
83
|
-
</div>
|
|
84
|
-
</article>
|
|
85
|
-
</MainLayout>
|