@anthusai/papyrus 1.0.0-next.2 → 1.0.0-next.21
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/amplify/auth/resource.js +17 -4
- package/amplify/auth/resource.ts +21 -4
- package/amplify/data/resource.js +52 -70
- package/amplify/data/resource.ts +57 -70
- package/amplify/data/schema.js +52 -58
- package/amplify/data/schema.ts +57 -58
- package/amplify/functions/console-chat-responder/py/execute_tactus_runner.py +0 -10
- package/amplify/functions/console-chat-responder/resource.js +0 -7
- package/amplify/functions/console-chat-responder/resource.ts +0 -8
- package/amplify/functions/console-chat-responder/src/main.rs +0 -9
- package/amplify/functions/content-actions/handler.py +149 -0
- package/amplify/functions/content-actions/requirements.txt +4 -0
- package/amplify/functions/content-actions/resource.js +40 -0
- package/amplify/functions/content-actions/resource.ts +54 -0
- package/amplify/functions/shared/python-bundle.js +17 -2
- package/amplify/functions/shared/python-bundle.ts +23 -2
- package/amplify/rebuild-trigger-settings.js +22 -0
- package/amplify/rebuild-trigger-settings.ts +42 -0
- package/amplify/site-backend-config.ts +12 -1
- package/amplify/site-backend.js +51 -27
- package/amplify/site-backend.ts +66 -34
- package/amplify/storage/resource.js +3 -0
- package/amplify/storage/resource.ts +3 -0
- package/app/%5F_preview/[[...path]]/route.ts +8 -0
- package/app/[year]/[month]/[day]/[articleSlug]/page.tsx +4 -2
- package/app/[year]/[month]/[day]/edition-route-page.tsx +2 -0
- package/app/api/revalidate/route.ts +8 -7
- package/app/articles/[slug]/page.tsx +6 -4
- package/app/blog-rhythm.css +278 -0
- package/app/globals.css +22 -4
- package/app/layout.tsx +24 -12
- package/app/newsroom/articles/[id]/page.tsx +15 -0
- package/app/newsroom/articles/page.tsx +13 -0
- package/app/page.tsx +12 -4
- package/app/robots.ts +11 -0
- package/bin/papyrus-app.mjs +12 -2
- package/bin/papyrus-infra.mjs +74 -18
- package/components/archive-shell.tsx +2 -22
- package/components/article-video.tsx +247 -3
- package/components/blog-page-background.tsx +23 -6
- package/components/markus-ir-preview.tsx +300 -0
- package/components/news-desk-page.tsx +1 -4
- package/components/newspaper.tsx +6 -2
- package/components/newsroom-access-gate.tsx +66 -0
- package/components/newsroom-article-editor.tsx +741 -0
- package/components/newsroom-articles-view.tsx +129 -0
- package/components/newsroom-ops-overview.tsx +28 -11
- package/components/newsroom-ops-shell.tsx +3 -1
- package/components/pictogram-figure.tsx +9 -2
- package/components/presentation-header.tsx +135 -0
- package/components/presentation-rhythm-hrule.tsx +17 -0
- package/components/settings-page.tsx +2 -1
- package/components/staging-banner.tsx +11 -0
- package/components/topic-steering-workspace.tsx +1 -59
- package/components/use-blog-header-obstacles.ts +81 -0
- package/components/use-brand-fonts-ready.ts +28 -0
- package/components/use-rhythm-overlay.ts +29 -0
- package/infra/amplify-app-shell.js +285 -80
- package/infra/amplify-app-shell.ts +326 -113
- package/infra/build-specs.js +94 -0
- package/infra/build-specs.ts +141 -0
- package/infra/github-oidc-provider.js +24 -0
- package/infra/github-oidc-provider.ts +30 -0
- package/infra/index.js +3 -0
- package/infra/site-config.js +273 -0
- package/infra/site-config.ts +336 -0
- package/lib/blog-feature-solver.ts +459 -0
- package/lib/blog-rhythm.ts +134 -0
- package/lib/brand-fonts-watch.ts +43 -0
- package/lib/brand-fonts.ts +112 -0
- package/lib/cached-content-repository.ts +14 -1
- package/lib/category-repository.ts +1 -93
- package/lib/content-actions-client.ts +98 -0
- package/lib/content-actions-demo.ts +190 -0
- package/lib/content-repository.ts +6 -0
- package/lib/content-source-context.ts +26 -0
- package/lib/content-types.ts +4 -0
- package/lib/edition-routes.ts +31 -29
- package/lib/empty-theme.css +1 -0
- package/lib/graphql-content-repository.ts +239 -43
- package/lib/layout-scenarios.ts +8 -8
- package/lib/newspaper-layout.ts +3 -2
- package/lib/newsroom-articles.ts +325 -0
- package/lib/newsroom-demo-articles.ts +90 -0
- package/lib/newsroom-media-backend.ts +142 -0
- package/lib/newsroom-media.ts +182 -0
- package/lib/newsroom-nav.ts +3 -0
- package/lib/papyrus-web-locations.ts +7 -6
- package/lib/presentation-footer.ts +3 -2
- package/lib/pretext-layout.ts +12 -3
- package/lib/reader-base-path.ts +24 -0
- package/lib/reader-static-params.ts +8 -0
- package/lib/renderer.ts +7 -0
- package/lib/revalidate-secret.ts +59 -0
- package/lib/root-route-redirect.ts +16 -0
- package/lib/site-brand-tenant.ts +3 -22
- package/lib/site-brand.ts +95 -42
- package/lib/site-env.ts +52 -0
- package/lib/staging-gate.ts +37 -0
- package/lib/staging-gated-path.ts +22 -0
- package/lib/staging-preview-object.ts +98 -0
- package/lib/video-mode.ts +42 -0
- package/lib/video-script.ts +77 -0
- package/middleware.ts +56 -42
- package/package.json +40 -1
- package/renderers/pretext/article-page.tsx +40 -9
- package/renderers/pretext/presentation-shared.tsx +113 -0
- package/renderers/pretext/presentation-shell.tsx +18 -112
- package/renderers/pretext/rhythm-article-page.tsx +165 -0
- package/renderers/pretext/rhythm-blog-presentation.tsx +279 -0
- package/renderers/pretext/rhythm-shell-style.ts +35 -0
- package/routes.manifest.json +37 -2
- package/scripts/videoml/build-browser-bundle.mjs +22 -0
- package/scripts/videoml/build-preview-bundle.mjs +50 -0
- package/scripts/videoml/bundle-common.mjs +129 -0
- package/scripts/videoml/preview/preview-entry.tsx +381 -0
- package/scripts/videoml/preview/preview-stage-fit.ts +28 -0
- package/scripts/videoml/preview/preview-timing.ts +42 -0
- package/scripts/videoml/preview.html +77 -0
- package/scripts/videoml/standard-entry.tsx +46 -0
- package/src/sync.mjs +30 -6
- package/src/with-papyrus.mjs +15 -2
- package/amplify/functions/graphql-jwt-authorizer/handler.ts +0 -193
- package/amplify/functions/graphql-jwt-authorizer/resource.js +0 -14
- package/amplify/functions/graphql-jwt-authorizer/resource.ts +0 -15
- package/publications/anth_us/brand.ts +0 -68
- package/publications/anth_us/theme.css +0 -66
- package/publications/pilobol_us/brand.ts +0 -37
- package/publications/pilobol_us/theme.css +0 -140
- package/publications/threat_intelligence/blog-defense/graph.ts +0 -636
- package/publications/threat_intelligence/blog-defense/layout.ts +0 -934
- package/publications/threat_intelligence/blog-defense/page-background.tsx +0 -590
- package/publications/threat_intelligence/brand.ts +0 -40
- package/publications/threat_intelligence/pictograms/art.tsx +0 -608
- package/publications/threat_intelligence/pictograms/figure.tsx +0 -82
- package/publications/threat_intelligence/pictograms/registry.ts +0 -30
- package/publications/threat_intelligence/pictograms/system.tsx +0 -305
- package/publications/threat_intelligence/seed/seed-edition-content.json +0 -629
- package/publications/threat_intelligence/theme.css +0 -1440
- /package/{publications/papyrus/theme.css → app/papyrus-theme.css} +0 -0
|
@@ -1,140 +0,0 @@
|
|
|
1
|
-
/* Pilobolus theme pack — colors only.
|
|
2
|
-
Hex values are copied from AnthusAI/Pilobol.us `web/css/pilobil-theme-v10.css`
|
|
3
|
-
(`pilobil-` spelling is the live filename; a `pilobol-theme-v10.css` rename
|
|
4
|
-
may follow). That file is not loaded at runtime.
|
|
5
|
-
Shadcn owns typography. Do not set a font stack here. */
|
|
6
|
-
|
|
7
|
-
:root[data-theme-pack="pilobol-us"],
|
|
8
|
-
:root[data-site-brand="pilobol-us"] {
|
|
9
|
-
color-scheme: light;
|
|
10
|
-
--theme-ink: #211d17;
|
|
11
|
-
--theme-muted: #6b6153;
|
|
12
|
-
--theme-paper: #f1ead9;
|
|
13
|
-
--theme-card: #fbf6ea;
|
|
14
|
-
--theme-line: #d7cbb2;
|
|
15
|
-
--theme-moss: #3f5d43;
|
|
16
|
-
--theme-ochre: #a35a2a;
|
|
17
|
-
--theme-quote: #4a3548;
|
|
18
|
-
--theme-tip: #4f6b3a;
|
|
19
|
-
--theme-caution: #8a3324;
|
|
20
|
-
--theme-stage: #ddd4bf;
|
|
21
|
-
--background: var(--theme-paper);
|
|
22
|
-
--foreground: var(--theme-ink);
|
|
23
|
-
--foreground-strong: var(--theme-ink);
|
|
24
|
-
--foreground-muted: var(--theme-muted);
|
|
25
|
-
--card: var(--theme-card);
|
|
26
|
-
--card-foreground: var(--theme-ink);
|
|
27
|
-
--popover: var(--theme-card);
|
|
28
|
-
--popover-foreground: var(--theme-ink);
|
|
29
|
-
--primary: var(--theme-moss);
|
|
30
|
-
--primary-foreground: var(--theme-paper);
|
|
31
|
-
--secondary: var(--theme-stage);
|
|
32
|
-
--secondary-foreground: var(--theme-ink);
|
|
33
|
-
--muted: var(--theme-stage);
|
|
34
|
-
--muted-foreground: var(--theme-muted);
|
|
35
|
-
--accent: var(--theme-ochre);
|
|
36
|
-
--accent-foreground: var(--theme-paper);
|
|
37
|
-
--border: var(--theme-line);
|
|
38
|
-
--input: var(--theme-line);
|
|
39
|
-
--ring: var(--theme-moss);
|
|
40
|
-
--destructive: var(--theme-caution);
|
|
41
|
-
--destructive-foreground: var(--theme-paper);
|
|
42
|
-
--danger: var(--theme-caution);
|
|
43
|
-
--danger-foreground: var(--theme-paper);
|
|
44
|
-
--surface: var(--theme-card);
|
|
45
|
-
--surface-foreground: var(--theme-ink);
|
|
46
|
-
--paper: var(--theme-paper);
|
|
47
|
-
--ink: var(--theme-ink);
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
@media (prefers-color-scheme: dark) {
|
|
51
|
-
:root[data-theme-pack="pilobol-us"]:not([data-papyrus-theme="light"]):not(.light-theme),
|
|
52
|
-
:root[data-site-brand="pilobol-us"]:not([data-papyrus-theme="light"]):not(.light-theme) {
|
|
53
|
-
color-scheme: dark;
|
|
54
|
-
--theme-ink: #dfded0;
|
|
55
|
-
--theme-muted: #8b9184;
|
|
56
|
-
--theme-paper: #14170f;
|
|
57
|
-
--theme-card: #1c2117;
|
|
58
|
-
--theme-line: #333b2a;
|
|
59
|
-
--theme-moss: #b7d18a;
|
|
60
|
-
--theme-ochre: #d0895a;
|
|
61
|
-
--theme-quote: #b7a3c4;
|
|
62
|
-
--theme-tip: #9fce7a;
|
|
63
|
-
--theme-caution: #d17e6e;
|
|
64
|
-
--theme-stage: #0d0f0a;
|
|
65
|
-
--background: var(--theme-paper);
|
|
66
|
-
--foreground: var(--theme-ink);
|
|
67
|
-
--foreground-strong: var(--theme-ink);
|
|
68
|
-
--foreground-muted: var(--theme-muted);
|
|
69
|
-
--card: var(--theme-card);
|
|
70
|
-
--card-foreground: var(--theme-ink);
|
|
71
|
-
--popover: var(--theme-card);
|
|
72
|
-
--popover-foreground: var(--theme-ink);
|
|
73
|
-
--primary: var(--theme-moss);
|
|
74
|
-
--primary-foreground: var(--theme-stage);
|
|
75
|
-
--secondary: var(--theme-card);
|
|
76
|
-
--secondary-foreground: var(--theme-ink);
|
|
77
|
-
--muted: var(--theme-card);
|
|
78
|
-
--muted-foreground: var(--theme-muted);
|
|
79
|
-
--accent: var(--theme-ochre);
|
|
80
|
-
--accent-foreground: var(--theme-stage);
|
|
81
|
-
--border: var(--theme-line);
|
|
82
|
-
--input: var(--theme-line);
|
|
83
|
-
--ring: var(--theme-moss);
|
|
84
|
-
--destructive: var(--theme-caution);
|
|
85
|
-
--destructive-foreground: var(--theme-stage);
|
|
86
|
-
--danger: var(--theme-caution);
|
|
87
|
-
--danger-foreground: var(--theme-stage);
|
|
88
|
-
--surface: var(--theme-card);
|
|
89
|
-
--surface-foreground: var(--theme-ink);
|
|
90
|
-
--paper: var(--theme-paper);
|
|
91
|
-
--ink: var(--theme-ink);
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
:root.dark[data-theme-pack="pilobol-us"],
|
|
96
|
-
:root.dark-theme[data-theme-pack="pilobol-us"],
|
|
97
|
-
:root[data-theme-pack="pilobol-us"][data-papyrus-theme="dark"],
|
|
98
|
-
:root.dark[data-site-brand="pilobol-us"],
|
|
99
|
-
:root.dark-theme[data-site-brand="pilobol-us"],
|
|
100
|
-
:root[data-site-brand="pilobol-us"][data-papyrus-theme="dark"] {
|
|
101
|
-
color-scheme: dark;
|
|
102
|
-
--theme-ink: #dfded0;
|
|
103
|
-
--theme-muted: #8b9184;
|
|
104
|
-
--theme-paper: #14170f;
|
|
105
|
-
--theme-card: #1c2117;
|
|
106
|
-
--theme-line: #333b2a;
|
|
107
|
-
--theme-moss: #b7d18a;
|
|
108
|
-
--theme-ochre: #d0895a;
|
|
109
|
-
--theme-quote: #b7a3c4;
|
|
110
|
-
--theme-tip: #9fce7a;
|
|
111
|
-
--theme-caution: #d17e6e;
|
|
112
|
-
--theme-stage: #0d0f0a;
|
|
113
|
-
--background: var(--theme-paper);
|
|
114
|
-
--foreground: var(--theme-ink);
|
|
115
|
-
--foreground-strong: var(--theme-ink);
|
|
116
|
-
--foreground-muted: var(--theme-muted);
|
|
117
|
-
--card: var(--theme-card);
|
|
118
|
-
--card-foreground: var(--theme-ink);
|
|
119
|
-
--popover: var(--theme-card);
|
|
120
|
-
--popover-foreground: var(--theme-ink);
|
|
121
|
-
--primary: var(--theme-moss);
|
|
122
|
-
--primary-foreground: var(--theme-stage);
|
|
123
|
-
--secondary: var(--theme-card);
|
|
124
|
-
--secondary-foreground: var(--theme-ink);
|
|
125
|
-
--muted: var(--theme-card);
|
|
126
|
-
--muted-foreground: var(--theme-muted);
|
|
127
|
-
--accent: var(--theme-ochre);
|
|
128
|
-
--accent-foreground: var(--theme-stage);
|
|
129
|
-
--border: var(--theme-line);
|
|
130
|
-
--input: var(--theme-line);
|
|
131
|
-
--ring: var(--theme-moss);
|
|
132
|
-
--destructive: var(--theme-caution);
|
|
133
|
-
--destructive-foreground: var(--theme-stage);
|
|
134
|
-
--danger: var(--theme-caution);
|
|
135
|
-
--danger-foreground: var(--theme-stage);
|
|
136
|
-
--surface: var(--theme-card);
|
|
137
|
-
--surface-foreground: var(--theme-ink);
|
|
138
|
-
--paper: var(--theme-paper);
|
|
139
|
-
--ink: var(--theme-ink);
|
|
140
|
-
}
|