@anthusai/papyrus 1.0.0-next.59 → 1.0.0-next.60
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.
|
@@ -52,7 +52,7 @@ function Account({ placement }: { placement: "sidebar" | "header" }) {
|
|
|
52
52
|
<DropdownMenuContent className="organizer-account-popup" side={placement === "sidebar" ? "top" : "bottom"} align="end">
|
|
53
53
|
<DropdownMenuGroup>
|
|
54
54
|
<DropdownMenuLabel>{auth.label}</DropdownMenuLabel><DropdownMenuSeparator />
|
|
55
|
-
<DropdownMenuItem render={<Link href={ORGANIZER_SETTINGS_DESTINATION.path} />}><Settings aria-hidden="true" />{ORGANIZER_SETTINGS_DESTINATION.label}</DropdownMenuItem>
|
|
55
|
+
<DropdownMenuItem render={<Link href={getNewsroomNavHref(ORGANIZER_SETTINGS_DESTINATION.path)} />}><Settings aria-hidden="true" />{ORGANIZER_SETTINGS_DESTINATION.label}</DropdownMenuItem>
|
|
56
56
|
<ReaderAuthControl authState={auth} renderAction={({ disabled, onClick, signedIn }) => <DropdownMenuItem disabled={disabled} closeOnClick={false} onClick={onClick}>
|
|
57
57
|
{signedIn ? <LogOut aria-hidden="true" /> : <LogIn aria-hidden="true" />}{signedIn ? "Sign out" : "Sign in"}
|
|
58
58
|
</DropdownMenuItem>} />
|
|
@@ -60,4 +60,4 @@ body:has(.newsroom-organizer)>[data-staging-banner]{flex-shrink:0}
|
|
|
60
60
|
.organizer-board-body[data-detail-open=true]{grid-template-columns:minmax(0,1fr)}
|
|
61
61
|
.organizer-board-body>.kb-issue-detail{position:absolute;inset:0;z-index:2;overflow:auto}
|
|
62
62
|
}
|
|
63
|
-
@media(prefers-reduced-motion:reduce){.newsroom-organizer
|
|
63
|
+
@media(prefers-reduced-motion:reduce){.newsroom-organizer,.newsroom-organizer *,.organizer-menu,.organizer-menu *,.organizer-account-popup,.organizer-account-popup *{scroll-behavior:auto;animation:none!important;transition:none!important}}
|
|
@@ -30,5 +30,5 @@ const all = ORGANIZER_NAV_GROUPS.flatMap(group => group.items);
|
|
|
30
30
|
export const ORGANIZER_PRIMARY_NAV = ["overview", "board", "references", "messages"].map(key => all.find(item => item.key === key)!);
|
|
31
31
|
|
|
32
32
|
export const ORGANIZER_SETTINGS_DESTINATION = {
|
|
33
|
-
label: "Settings", path: "/settings", description: "Theme, motion and interface preferences.",
|
|
33
|
+
label: "Settings", path: "/newsroom/settings", description: "Theme, motion and interface preferences.",
|
|
34
34
|
} as const;
|
package/package.json
CHANGED
package/routes.manifest.json
CHANGED