@anthusai/papyrus 1.3.0 → 1.4.0-next.10
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/data/resource.js +134 -3
- package/amplify/data/resource.ts +145 -3
- package/amplify/data/schema.js +131 -0
- package/amplify/data/schema.ts +142 -0
- package/amplify/functions/category-action/handler.ts +272 -20
- package/amplify/functions/console-chat-responder/src/main.rs +1 -1
- package/amplify/functions/content-actions/handler.py +23 -0
- package/amplify/functions/content-actions/requirements.txt +1 -1
- package/amplify/functions/content-actions/resource.js +1 -1
- package/amplify/functions/content-actions/resource.ts +1 -1
- package/amplify/functions/model-attachment-upload/handler.ts +1 -0
- package/amplify/functions/renditions/requirements.txt +1 -1
- package/amplify/functions/shared/curation-delegation-flow.ts +147 -0
- package/amplify/functions/shared/curation-delegation.ts +115 -0
- package/amplify/functions/shared/python-bundle.js +3 -3
- package/amplify/functions/shared/python-bundle.ts +3 -3
- package/amplify/functions/shared/reference-curation-metadata.ts +51 -0
- package/amplify/functions/shared/slack-events.ts +2 -2
- package/amplify/publication/renditions-function.js +1 -1
- package/amplify/publication/renditions-function.ts +1 -1
- package/app/[year]/[month]/[day]/[articleSlug]/page.tsx +2 -1
- package/app/[year]/[month]/[day]/edition-route-page.tsx +2 -1
- package/app/[year]/[month]/[day]/page/[pageNumber]/page.tsx +2 -1
- package/app/[year]/[month]/[day]/page.tsx +3 -0
- package/app/[year]/[month]/[day]/section/[sectionKey]/page.tsx +2 -0
- package/app/api/archive/editions/route.ts +2 -0
- package/app/api/auth/prospectus/accounts/route.ts +9 -0
- package/app/api/local-preview/derive/route.ts +28 -0
- package/app/api/local-preview/media/route.ts +25 -0
- package/app/archive/page.tsx +3 -0
- package/app/globals.css +28 -28
- package/app/layout.tsx +8 -5
- package/app/newsroom/[section]/[...selection]/page.tsx +0 -1
- package/app/newsroom/[section]/page.tsx +8 -1
- package/app/newsroom/articles/page.tsx +10 -0
- package/app/newsroom/insights/[threadId]/page.tsx +5 -16
- package/app/newsroom/insights/page.tsx +4 -12
- package/app/newsroom/sections/[sectionId]/page.tsx +3 -0
- package/app/page.tsx +30 -1
- package/components/administration-delegations-panel.tsx +156 -0
- package/components/curation-delegation-client.ts +104 -0
- package/components/item-stream-view.tsx +63 -0
- package/components/markus-ir-preview.tsx +47 -2
- package/components/news-desk-client-provider.tsx +17 -2
- package/components/news-desk-page.tsx +0 -1
- package/components/news-desk-taxonomy-client.ts +154 -240
- package/components/newspaper.tsx +4 -4
- package/components/newsroom-article-editor.tsx +138 -40
- package/components/newsroom-assignment-detail.tsx +79 -0
- package/components/newsroom-assignments-view.tsx +1 -1
- package/components/newsroom-board-view.tsx +153 -43
- package/components/newsroom-client-shell.tsx +8 -1
- package/components/newsroom-newsprint-board.css +5 -46
- package/components/newsroom-ops-overview.tsx +27 -5
- package/components/newsroom-organizer-shell.tsx +36 -13
- package/components/newsroom-organizer.css +269 -13
- package/components/newsroom-references-view.tsx +118 -23
- package/components/newsroom-topics-view.tsx +1 -1
- package/components/priming-proof-page.tsx +17 -8
- package/components/prospectus-account-chooser.tsx +131 -0
- package/components/reference-cyclotron-priming.tsx +85 -0
- package/components/reference-cyclotron-status.tsx +5 -5
- package/components/reference-cyclotron-suggestion.tsx +143 -0
- package/components/reference-live-agreement.tsx +62 -0
- package/components/reference-section-suggestion.tsx +104 -0
- package/components/story-reporting-trail-client.ts +91 -0
- package/components/story-reporting-trail.tsx +115 -0
- package/components/topic-steering-workspace.tsx +280 -679
- package/components/ui/sheet.tsx +10 -4
- package/components/use-paged-content-item-versions.ts +151 -0
- package/components/wiki-concepts-view.tsx +153 -0
- package/components/wiki-index-client.ts +51 -0
- package/infra/amplify-app-shell.js +17 -3
- package/infra/amplify-app-shell.ts +18 -3
- package/infra/site-config.js +6 -1
- package/infra/site-config.ts +7 -1
- package/lib/approved-priming-proof-reports.ts +6 -3
- package/lib/approved-priming-proofs/papyrus.json +90 -0
- package/lib/article-flow.ts +95 -0
- package/lib/article-frame-solver.ts +519 -0
- package/lib/blog-feature-solver.ts +1 -109
- package/lib/category-repository.ts +1 -1
- package/lib/chrome-text.ts +504 -0
- package/lib/content-actions-client.ts +3 -0
- package/lib/content-actions-demo.ts +55 -0
- package/lib/content-item-lifecycle.ts +34 -5
- package/lib/content-source-context.ts +9 -1
- package/lib/curation-delegation-helpers.ts +69 -0
- package/lib/cyclotron-suggestions.ts +263 -0
- package/lib/front-matter-fields.ts +42 -0
- package/lib/front-mosaic.ts +1133 -0
- package/lib/furniture.ts +385 -0
- package/lib/graphql-content-repository.ts +42 -7
- package/lib/item-stream.ts +47 -0
- package/lib/labels.ts +37 -0
- package/lib/layout-config.ts +237 -0
- package/lib/layout-plan.ts +40 -11
- package/lib/layout-scenarios.ts +21 -11
- package/lib/layout-types.ts +457 -0
- package/lib/layout-warnings.ts +8 -0
- package/lib/local-preview-section-fixtures.ts +72 -0
- package/lib/local-preview-seed.ts +286 -0
- package/lib/local-preview-tenant.ts +27 -0
- package/lib/local-preview.ts +3 -0
- package/lib/newspaper-layout.ts +17 -3410
- package/lib/newsroom-articles.ts +2 -0
- package/lib/newsroom-assignments.ts +14 -1
- package/lib/newsroom-board.ts +99 -47
- package/lib/newsroom-demo-dashboard.ts +1 -1
- package/lib/newsroom-forum-routes.ts +2 -43
- package/lib/newsroom-index-filters.ts +3 -40
- package/lib/newsroom-media-backend.ts +5 -0
- package/lib/newsroom-nav.ts +1 -3
- package/lib/newsroom-organizer-nav.ts +9 -16
- package/lib/newsroom-section-routing.ts +1 -1
- package/lib/newsroom-sections.ts +12 -0
- package/lib/papyrus-web-locations.ts +3 -24
- package/lib/pretext-layout.ts +22 -0
- package/lib/priming-proof-report.ts +1 -0
- package/lib/prospectus-account-client.ts +90 -0
- package/lib/prospectus-sign-in-routes.ts +45 -0
- package/lib/prospectus-site-identity.ts +13 -1
- package/lib/prospectus-tenant.ts +22 -0
- package/lib/reader-static-params.ts +2 -1
- package/lib/relevance-decisions.ts +29 -0
- package/lib/relevance-status.ts +73 -0
- package/lib/reporting-story-budget.ts +2 -2
- package/lib/semantic-graph.ts +5 -5
- package/lib/site-brand.ts +28 -1
- package/lib/site-env.ts +5 -0
- package/lib/site-section-suggestions.ts +120 -0
- package/lib/site-stack.ts +1 -1
- package/lib/story-reporting-trail.ts +106 -0
- package/lib/tenant-keys.ts +32 -0
- package/lib/text-columns.ts +251 -0
- package/lib/wiki.ts +56 -0
- package/package.json +46 -3
- package/renderers/pretext/presentation-shell.tsx +1 -1
- package/renderers/pretext/rhythm-article-page.tsx +1 -18
- package/routes.manifest.json +34 -15
- package/app/newsroom/work/page.tsx +0 -10
package/package.json
CHANGED
|
@@ -64,6 +64,7 @@
|
|
|
64
64
|
"types": "./infra/amplify-app-shell.ts",
|
|
65
65
|
"default": "./infra/index.js"
|
|
66
66
|
},
|
|
67
|
+
"./components/administration-delegations-panel": "./components/administration-delegations-panel.tsx",
|
|
67
68
|
"./components/ai-elements/conversation": "./components/ai-elements/conversation.tsx",
|
|
68
69
|
"./components/ai-elements/model-selector": "./components/ai-elements/model-selector.tsx",
|
|
69
70
|
"./components/ai-elements/prompt-input": "./components/ai-elements/prompt-input.tsx",
|
|
@@ -75,7 +76,9 @@
|
|
|
75
76
|
"./components/archive-shell": "./components/archive-shell.tsx",
|
|
76
77
|
"./components/article-video": "./components/article-video.tsx",
|
|
77
78
|
"./components/blog-page-background": "./components/blog-page-background.tsx",
|
|
79
|
+
"./components/curation-delegation-client": "./components/curation-delegation-client.ts",
|
|
78
80
|
"./components/dev-sandbox-editor-sign-in": "./components/dev-sandbox-editor-sign-in.tsx",
|
|
81
|
+
"./components/item-stream-view": "./components/item-stream-view.tsx",
|
|
79
82
|
"./components/markus-ir-preview": "./components/markus-ir-preview.tsx",
|
|
80
83
|
"./components/news-desk-client-provider": "./components/news-desk-client-provider.tsx",
|
|
81
84
|
"./components/news-desk-page": "./components/news-desk-page.tsx",
|
|
@@ -84,6 +87,7 @@
|
|
|
84
87
|
"./components/newsroom-access-gate": "./components/newsroom-access-gate.tsx",
|
|
85
88
|
"./components/newsroom-article-editor": "./components/newsroom-article-editor.tsx",
|
|
86
89
|
"./components/newsroom-articles-view": "./components/newsroom-articles-view.tsx",
|
|
90
|
+
"./components/newsroom-assignment-detail": "./components/newsroom-assignment-detail.tsx",
|
|
87
91
|
"./components/newsroom-assignments-view": "./components/newsroom-assignments-view.tsx",
|
|
88
92
|
"./components/newsroom-board-view": "./components/newsroom-board-view.tsx",
|
|
89
93
|
"./components/newsroom-client-shell": "./components/newsroom-client-shell.tsx",
|
|
@@ -99,19 +103,26 @@
|
|
|
99
103
|
"./components/presentation-header": "./components/presentation-header.tsx",
|
|
100
104
|
"./components/presentation-rhythm-hrule": "./components/presentation-rhythm-hrule.tsx",
|
|
101
105
|
"./components/priming-proof-page": "./components/priming-proof-page.tsx",
|
|
106
|
+
"./components/prospectus-account-chooser": "./components/prospectus-account-chooser.tsx",
|
|
102
107
|
"./components/publication-cyclotron-panel": "./components/publication-cyclotron-panel.tsx",
|
|
103
108
|
"./components/reader-auth-control": "./components/reader-auth-control.tsx",
|
|
104
109
|
"./components/reader-auth-state": "./components/reader-auth-state.ts",
|
|
105
110
|
"./components/reader-settings": "./components/reader-settings.ts",
|
|
106
111
|
"./components/reader-theme-control": "./components/reader-theme-control.tsx",
|
|
107
112
|
"./components/reference-curation-controls": "./components/reference-curation-controls.tsx",
|
|
113
|
+
"./components/reference-cyclotron-priming": "./components/reference-cyclotron-priming.tsx",
|
|
108
114
|
"./components/reference-cyclotron-status": "./components/reference-cyclotron-status.tsx",
|
|
115
|
+
"./components/reference-cyclotron-suggestion": "./components/reference-cyclotron-suggestion.tsx",
|
|
116
|
+
"./components/reference-live-agreement": "./components/reference-live-agreement.tsx",
|
|
109
117
|
"./components/reference-priming": "./components/reference-priming.tsx",
|
|
110
118
|
"./components/reference-relevance-review": "./components/reference-relevance-review.tsx",
|
|
119
|
+
"./components/reference-section-suggestion": "./components/reference-section-suggestion.tsx",
|
|
111
120
|
"./components/reference-source-preview": "./components/reference-source-preview.tsx",
|
|
112
121
|
"./components/settings-page": "./components/settings-page.tsx",
|
|
113
122
|
"./components/signup-entries-panel": "./components/signup-entries-panel.tsx",
|
|
114
123
|
"./components/staging-banner": "./components/staging-banner.tsx",
|
|
124
|
+
"./components/story-reporting-trail-client": "./components/story-reporting-trail-client.ts",
|
|
125
|
+
"./components/story-reporting-trail": "./components/story-reporting-trail.tsx",
|
|
115
126
|
"./components/topic-steering-workspace": "./components/topic-steering-workspace.tsx",
|
|
116
127
|
"./components/ui/badge": "./components/ui/badge.tsx",
|
|
117
128
|
"./components/ui/button-group": "./components/ui/button-group.tsx",
|
|
@@ -134,14 +145,19 @@
|
|
|
134
145
|
"./components/use-blog-header-obstacles": "./components/use-blog-header-obstacles.ts",
|
|
135
146
|
"./components/use-brand-fonts-ready": "./components/use-brand-fonts-ready.ts",
|
|
136
147
|
"./components/use-near-viewport": "./components/use-near-viewport.ts",
|
|
148
|
+
"./components/use-paged-content-item-versions": "./components/use-paged-content-item-versions.ts",
|
|
137
149
|
"./components/use-resolved-papyrus-theme": "./components/use-resolved-papyrus-theme.ts",
|
|
138
150
|
"./components/use-rhythm-overlay": "./components/use-rhythm-overlay.ts",
|
|
151
|
+
"./components/wiki-concepts-view": "./components/wiki-concepts-view.tsx",
|
|
152
|
+
"./components/wiki-index-client": "./components/wiki-index-client.ts",
|
|
139
153
|
"./lib/amplify-outputs-guard": "./lib/amplify-outputs-guard.ts",
|
|
140
154
|
"./lib/amplify-outputs-path": "./lib/amplify-outputs-path.ts",
|
|
141
155
|
"./lib/amplify-server-runtime": "./lib/amplify-server-runtime.ts",
|
|
142
156
|
"./lib/approved-priming-proof-reports": "./lib/approved-priming-proof-reports.ts",
|
|
143
157
|
"./lib/archive-data": "./lib/archive-data.ts",
|
|
144
158
|
"./lib/archive-types": "./lib/archive-types.ts",
|
|
159
|
+
"./lib/article-flow": "./lib/article-flow.ts",
|
|
160
|
+
"./lib/article-frame-solver": "./lib/article-frame-solver.ts",
|
|
145
161
|
"./lib/articles": "./lib/articles.ts",
|
|
146
162
|
"./lib/blog-feature-solver": "./lib/blog-feature-solver.ts",
|
|
147
163
|
"./lib/blog-rhythm": "./lib/blog-rhythm.ts",
|
|
@@ -150,6 +166,7 @@
|
|
|
150
166
|
"./lib/cached-content-repository": "./lib/cached-content-repository.ts",
|
|
151
167
|
"./lib/category-dashboard": "./lib/category-dashboard.ts",
|
|
152
168
|
"./lib/category-repository": "./lib/category-repository.ts",
|
|
169
|
+
"./lib/chrome-text": "./lib/chrome-text.ts",
|
|
153
170
|
"./lib/console-chat-client": "./lib/console-chat-client.ts",
|
|
154
171
|
"./lib/console-web-context": "./lib/console-web-context.ts",
|
|
155
172
|
"./lib/content-actions-client": "./lib/content-actions-client.ts",
|
|
@@ -160,6 +177,8 @@
|
|
|
160
177
|
"./lib/content-source-context": "./lib/content-source-context.ts",
|
|
161
178
|
"./lib/content-types": "./lib/content-types.ts",
|
|
162
179
|
"./lib/curation-client": "./lib/curation-client.ts",
|
|
180
|
+
"./lib/curation-delegation-helpers": "./lib/curation-delegation-helpers.ts",
|
|
181
|
+
"./lib/cyclotron-suggestions": "./lib/cyclotron-suggestions.ts",
|
|
163
182
|
"./lib/define-site": "./lib/define-site.ts",
|
|
164
183
|
"./lib/demo-amplify-outputs": "./lib/demo-amplify-outputs.ts",
|
|
165
184
|
"./lib/dev-sandbox-editor-auth": "./lib/dev-sandbox-editor-auth.ts",
|
|
@@ -168,10 +187,22 @@
|
|
|
168
187
|
"./lib/edition-sections": "./lib/edition-sections.ts",
|
|
169
188
|
"./lib/empty-edition-layout-plan": "./lib/empty-edition-layout-plan.ts",
|
|
170
189
|
"./lib/excerpts": "./lib/excerpts.ts",
|
|
190
|
+
"./lib/front-matter-fields": "./lib/front-matter-fields.ts",
|
|
191
|
+
"./lib/front-mosaic": "./lib/front-mosaic.ts",
|
|
192
|
+
"./lib/furniture": "./lib/furniture.ts",
|
|
171
193
|
"./lib/graphql-content-repository": "./lib/graphql-content-repository.ts",
|
|
172
194
|
"./lib/image-url": "./lib/image-url.ts",
|
|
195
|
+
"./lib/item-stream": "./lib/item-stream.ts",
|
|
196
|
+
"./lib/labels": "./lib/labels.ts",
|
|
197
|
+
"./lib/layout-config": "./lib/layout-config.ts",
|
|
173
198
|
"./lib/layout-plan": "./lib/layout-plan.ts",
|
|
174
199
|
"./lib/layout-scenarios": "./lib/layout-scenarios.ts",
|
|
200
|
+
"./lib/layout-types": "./lib/layout-types.ts",
|
|
201
|
+
"./lib/layout-warnings": "./lib/layout-warnings.ts",
|
|
202
|
+
"./lib/local-preview-section-fixtures": "./lib/local-preview-section-fixtures.ts",
|
|
203
|
+
"./lib/local-preview-seed": "./lib/local-preview-seed.ts",
|
|
204
|
+
"./lib/local-preview-tenant": "./lib/local-preview-tenant.ts",
|
|
205
|
+
"./lib/local-preview": "./lib/local-preview.ts",
|
|
175
206
|
"./lib/markus-body": "./lib/markus-body.ts",
|
|
176
207
|
"./lib/markus-ir": "./lib/markus-ir.ts",
|
|
177
208
|
"./lib/markus-projection": "./lib/markus-projection.ts",
|
|
@@ -208,10 +239,12 @@
|
|
|
208
239
|
"./lib/presentation-footer": "./lib/presentation-footer.ts",
|
|
209
240
|
"./lib/pretext-layout": "./lib/pretext-layout.ts",
|
|
210
241
|
"./lib/priming-proof-report": "./lib/priming-proof-report.ts",
|
|
242
|
+
"./lib/prospectus-account-client": "./lib/prospectus-account-client.ts",
|
|
211
243
|
"./lib/prospectus-publication-access": "./lib/prospectus-publication-access.ts",
|
|
212
244
|
"./lib/prospectus-session": "./lib/prospectus-session.ts",
|
|
213
245
|
"./lib/prospectus-sign-in-routes": "./lib/prospectus-sign-in-routes.ts",
|
|
214
246
|
"./lib/prospectus-site-identity": "./lib/prospectus-site-identity.ts",
|
|
247
|
+
"./lib/prospectus-tenant": "./lib/prospectus-tenant.ts",
|
|
215
248
|
"./lib/public-placeholder-config": "./lib/public-placeholder-config.ts",
|
|
216
249
|
"./lib/publication-cyclotron": "./lib/publication-cyclotron.ts",
|
|
217
250
|
"./lib/publication-items": "./lib/publication-items.ts",
|
|
@@ -240,16 +273,21 @@
|
|
|
240
273
|
"./lib/site-brand": "./lib/site-brand.ts",
|
|
241
274
|
"./lib/site-env": "./lib/site-env.ts",
|
|
242
275
|
"./lib/site-renderer": "./lib/site-renderer.ts",
|
|
276
|
+
"./lib/site-section-suggestions": "./lib/site-section-suggestions.ts",
|
|
243
277
|
"./lib/site-stack": "./lib/site-stack.ts",
|
|
244
278
|
"./lib/staging-gate": "./lib/staging-gate.ts",
|
|
245
279
|
"./lib/staging-gated-path": "./lib/staging-gated-path.ts",
|
|
246
280
|
"./lib/staging-preview-object": "./lib/staging-preview-object.ts",
|
|
281
|
+
"./lib/story-reporting-trail": "./lib/story-reporting-trail.ts",
|
|
282
|
+
"./lib/tenant-keys": "./lib/tenant-keys.ts",
|
|
247
283
|
"./lib/test-editor-override": "./lib/test-editor-override.ts",
|
|
284
|
+
"./lib/text-columns": "./lib/text-columns.ts",
|
|
248
285
|
"./lib/themed-image": "./lib/themed-image.ts",
|
|
249
286
|
"./lib/utils": "./lib/utils.ts",
|
|
250
287
|
"./lib/video-loading": "./lib/video-loading.ts",
|
|
251
288
|
"./lib/video-mode": "./lib/video-mode.ts",
|
|
252
289
|
"./lib/video-script": "./lib/video-script.ts",
|
|
290
|
+
"./lib/wiki": "./lib/wiki.ts",
|
|
253
291
|
"./renderers/markus/index": "./renderers/markus/index.ts",
|
|
254
292
|
"./renderers/markus/stubs": "./renderers/markus/stubs.tsx",
|
|
255
293
|
"./renderers/pretext/article-page": "./renderers/pretext/article-page.tsx",
|
|
@@ -266,12 +304,15 @@
|
|
|
266
304
|
"./app/[year]/[month]/[day]/page/[pageNumber]/page": "./app/[year]/[month]/[day]/page/[pageNumber]/page.tsx",
|
|
267
305
|
"./app/[year]/[month]/[day]/section/[sectionKey]/page": "./app/[year]/[month]/[day]/section/[sectionKey]/page.tsx",
|
|
268
306
|
"./app/api/archive/editions/route": "./app/api/archive/editions/route.ts",
|
|
307
|
+
"./app/api/auth/prospectus/accounts/route": "./app/api/auth/prospectus/accounts/route.ts",
|
|
269
308
|
"./app/api/auth/prospectus/callback/route": "./app/api/auth/prospectus/callback/route.ts",
|
|
270
309
|
"./app/api/auth/prospectus/selection/route": "./app/api/auth/prospectus/selection/route.ts",
|
|
271
310
|
"./app/api/auth/prospectus/session/route": "./app/api/auth/prospectus/session/route.ts",
|
|
272
311
|
"./app/api/auth/prospectus/sign-in/route": "./app/api/auth/prospectus/sign-in/route.ts",
|
|
273
312
|
"./app/api/auth/prospectus/sign-out/route": "./app/api/auth/prospectus/sign-out/route.ts",
|
|
274
313
|
"./app/api/cyclotron/priming-proof/route": "./app/api/cyclotron/priming-proof/route.ts",
|
|
314
|
+
"./app/api/local-preview/derive/route": "./app/api/local-preview/derive/route.ts",
|
|
315
|
+
"./app/api/local-preview/media/route": "./app/api/local-preview/media/route.ts",
|
|
275
316
|
"./app/api/media/[...path]/route": "./app/api/media/[...path]/route.ts",
|
|
276
317
|
"./app/api/revalidate/route": "./app/api/revalidate/route.ts",
|
|
277
318
|
"./app/archive/page": "./app/archive/page.tsx",
|
|
@@ -289,7 +330,6 @@
|
|
|
289
330
|
"./app/newsroom/page": "./app/newsroom/page.tsx",
|
|
290
331
|
"./app/newsroom/sections/[sectionId]/page": "./app/newsroom/sections/[sectionId]/page.tsx",
|
|
291
332
|
"./app/newsroom/settings/page": "./app/newsroom/settings/page.tsx",
|
|
292
|
-
"./app/newsroom/work/page": "./app/newsroom/work/page.tsx",
|
|
293
333
|
"./app/page": "./app/page.tsx",
|
|
294
334
|
"./app/robots": "./app/robots.ts",
|
|
295
335
|
"./app/settings/page": "./app/settings/page.tsx"
|
|
@@ -339,7 +379,7 @@
|
|
|
339
379
|
"optional": true
|
|
340
380
|
}
|
|
341
381
|
},
|
|
342
|
-
"version": "1.
|
|
382
|
+
"version": "1.4.0-next.10",
|
|
343
383
|
"dependencies": {
|
|
344
384
|
"@aws-amplify/adapter-nextjs": "^1.7.3",
|
|
345
385
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
@@ -352,7 +392,7 @@
|
|
|
352
392
|
"@aws-sdk/s3-request-presigner": "^3.1045.0",
|
|
353
393
|
"@base-ui/react": "^1.5.0",
|
|
354
394
|
"@chenglou/pretext": "^0.0.7",
|
|
355
|
-
"@kanbus/ui": "https://github.com/AnthusAI/Kanbus/releases/download/ui-v0.
|
|
395
|
+
"@kanbus/ui": "https://github.com/AnthusAI/Kanbus/releases/download/ui-v0.3.0/kanbus-ui-0.3.0.tgz",
|
|
356
396
|
"@radix-ui/colors": "3.0.0",
|
|
357
397
|
"@smithy/protocol-http": "5.4.1",
|
|
358
398
|
"@smithy/signature-v4": "5.7.4",
|
|
@@ -365,7 +405,9 @@
|
|
|
365
405
|
"clsx": "^2.1.1",
|
|
366
406
|
"cmdk": "^1.1.1",
|
|
367
407
|
"cyclotron": "https://github.com/AnthusAI/Cyclotron/releases/download/ui-v0.2.2/cyclotron-0.2.2.tgz",
|
|
408
|
+
"d3": "^7.9.0",
|
|
368
409
|
"esbuild": "^0.28.2",
|
|
410
|
+
"framer-motion": "^14.3.0",
|
|
369
411
|
"gray-matter": "^4.0.3",
|
|
370
412
|
"gsap": "^3.15.0",
|
|
371
413
|
"lucide-react": "^1.16.0",
|
|
@@ -374,6 +416,7 @@
|
|
|
374
416
|
"shadcn": "^4.8.0",
|
|
375
417
|
"tailwind-merge": "^3.6.0",
|
|
376
418
|
"tailwindcss": "^4.3.0",
|
|
419
|
+
"three": "^0.186.1",
|
|
377
420
|
"tsx": "^4.23.15",
|
|
378
421
|
"tw-animate-css": "^1.4.0",
|
|
379
422
|
"use-stick-to-bottom": "^1.1.4",
|
|
@@ -288,7 +288,7 @@ function PresentationItem({
|
|
|
288
288
|
const lines = useMemo(() => {
|
|
289
289
|
if (!maxWidth || !text.trim()) return [];
|
|
290
290
|
return layoutAllTextLines({
|
|
291
|
-
prepared: prepareWithSegments(text, `${textStyle.fontSize}px ${textStyle.fontFamily}
|
|
291
|
+
prepared: prepareWithSegments(text, `${textStyle.fontSize}px ${textStyle.fontFamily}`, { whiteSpace: "pre-wrap" }),
|
|
292
292
|
maxWidth,
|
|
293
293
|
...textStyle,
|
|
294
294
|
});
|
|
@@ -13,6 +13,7 @@ import { PresentationFooter } from "../../components/presentation-footer";
|
|
|
13
13
|
import { PresentationHeader } from "../../components/presentation-header";
|
|
14
14
|
import { useBlogHeaderObstacles } from "../../components/use-blog-header-obstacles";
|
|
15
15
|
import { useRhythmOverlay } from "../../components/use-rhythm-overlay";
|
|
16
|
+
import { useMeasuredWidth } from "./presentation-shared";
|
|
16
17
|
import { BLOG_RHYTHM, getFeaturedLayoutStyle, getRhythmShellStyle } from "./rhythm-shell-style";
|
|
17
18
|
|
|
18
19
|
const BlogPageBackground = SITE_BRAND.components?.BlogPageBackground ?? GenericBlogPageBackground;
|
|
@@ -135,24 +136,6 @@ export function RhythmArticlePage({
|
|
|
135
136
|
);
|
|
136
137
|
}
|
|
137
138
|
|
|
138
|
-
function useMeasuredWidth(ref: RefObject<HTMLElement | null>): number {
|
|
139
|
-
const [width, setWidth] = useState(0);
|
|
140
|
-
useEffect(() => {
|
|
141
|
-
const node = ref.current;
|
|
142
|
-
if (!node) return;
|
|
143
|
-
const update = () => setWidth(Math.max(1, Math.floor(node.getBoundingClientRect().width)));
|
|
144
|
-
update();
|
|
145
|
-
const observer = new ResizeObserver(update);
|
|
146
|
-
observer.observe(node);
|
|
147
|
-
window.addEventListener("resize", update);
|
|
148
|
-
return () => {
|
|
149
|
-
observer.disconnect();
|
|
150
|
-
window.removeEventListener("resize", update);
|
|
151
|
-
};
|
|
152
|
-
}, [ref]);
|
|
153
|
-
return width;
|
|
154
|
-
}
|
|
155
|
-
|
|
156
139
|
function useViewportWidth(): number {
|
|
157
140
|
const [width, setWidth] = useState(0);
|
|
158
141
|
useEffect(() => {
|
package/routes.manifest.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.
|
|
2
|
+
"version": "1.4.0-next.10",
|
|
3
3
|
"routes": [
|
|
4
4
|
{
|
|
5
5
|
"file": "app/%5F_preview/[[...path]]/route.ts",
|
|
@@ -66,6 +66,17 @@
|
|
|
66
66
|
"revalidate": "60"
|
|
67
67
|
}
|
|
68
68
|
},
|
|
69
|
+
{
|
|
70
|
+
"file": "app/api/auth/prospectus/accounts/route.ts",
|
|
71
|
+
"hasDefault": false,
|
|
72
|
+
"exports": [
|
|
73
|
+
"POST"
|
|
74
|
+
],
|
|
75
|
+
"config": {
|
|
76
|
+
"dynamic": "\"force-dynamic\"",
|
|
77
|
+
"runtime": "\"nodejs\""
|
|
78
|
+
}
|
|
79
|
+
},
|
|
69
80
|
{
|
|
70
81
|
"file": "app/api/auth/prospectus/callback/route.ts",
|
|
71
82
|
"hasDefault": false,
|
|
@@ -129,6 +140,26 @@
|
|
|
129
140
|
],
|
|
130
141
|
"config": {}
|
|
131
142
|
},
|
|
143
|
+
{
|
|
144
|
+
"file": "app/api/local-preview/derive/route.ts",
|
|
145
|
+
"hasDefault": false,
|
|
146
|
+
"exports": [
|
|
147
|
+
"POST"
|
|
148
|
+
],
|
|
149
|
+
"config": {
|
|
150
|
+
"dynamic": "\"force-dynamic\""
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"file": "app/api/local-preview/media/route.ts",
|
|
155
|
+
"hasDefault": false,
|
|
156
|
+
"exports": [
|
|
157
|
+
"GET"
|
|
158
|
+
],
|
|
159
|
+
"config": {
|
|
160
|
+
"dynamic": "\"force-dynamic\""
|
|
161
|
+
}
|
|
162
|
+
},
|
|
132
163
|
{
|
|
133
164
|
"file": "app/api/media/[...path]/route.ts",
|
|
134
165
|
"hasDefault": false,
|
|
@@ -230,17 +261,13 @@
|
|
|
230
261
|
"file": "app/newsroom/insights/[threadId]/page.tsx",
|
|
231
262
|
"hasDefault": true,
|
|
232
263
|
"exports": [],
|
|
233
|
-
"config": {
|
|
234
|
-
"dynamic": "\"force-dynamic\""
|
|
235
|
-
}
|
|
264
|
+
"config": {}
|
|
236
265
|
},
|
|
237
266
|
{
|
|
238
267
|
"file": "app/newsroom/insights/page.tsx",
|
|
239
268
|
"hasDefault": true,
|
|
240
269
|
"exports": [],
|
|
241
|
-
"config": {
|
|
242
|
-
"dynamic": "\"force-dynamic\""
|
|
243
|
-
}
|
|
270
|
+
"config": {}
|
|
244
271
|
},
|
|
245
272
|
{
|
|
246
273
|
"file": "app/newsroom/layout.tsx",
|
|
@@ -274,14 +301,6 @@
|
|
|
274
301
|
"dynamic": "\"force-dynamic\""
|
|
275
302
|
}
|
|
276
303
|
},
|
|
277
|
-
{
|
|
278
|
-
"file": "app/newsroom/work/page.tsx",
|
|
279
|
-
"hasDefault": true,
|
|
280
|
-
"exports": [],
|
|
281
|
-
"config": {
|
|
282
|
-
"dynamic": "\"force-dynamic\""
|
|
283
|
-
}
|
|
284
|
-
},
|
|
285
304
|
{
|
|
286
305
|
"file": "app/page.tsx",
|
|
287
306
|
"reader": true,
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { notFound } from "next/navigation";
|
|
2
|
-
import { resolveActiveSiteBrand } from "../../../lib/site-brand-tenant";
|
|
3
|
-
import { NewsroomBoardView } from "../../../components/newsroom-board-view";
|
|
4
|
-
|
|
5
|
-
export const dynamic = "force-dynamic";
|
|
6
|
-
|
|
7
|
-
export default function NewsroomWorkPage() {
|
|
8
|
-
if (resolveActiveSiteBrand().newsroomLayout !== "organizer") notFound();
|
|
9
|
-
return <NewsroomBoardView />;
|
|
10
|
-
}
|