@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 *, .organizer-menu *{scroll-behavior:auto;animation-duration:0s!important;transition-duration:0s!important}}
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
@@ -319,7 +319,7 @@
319
319
  "optional": true
320
320
  }
321
321
  },
322
- "version": "1.0.0-next.59",
322
+ "version": "1.0.0-next.60",
323
323
  "dependencies": {
324
324
  "@aws-amplify/adapter-nextjs": "^1.7.3",
325
325
  "@aws-sdk/client-cognito-identity-provider": "3.1045.0",
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.0.0-next.59",
2
+ "version": "1.0.0-next.60",
3
3
  "routes": [
4
4
  {
5
5
  "file": "app/%5F_preview/[[...path]]/route.ts",