Browse Source

[Beta] Panel fixes

main
Dan Abramov 2 years ago
parent
commit
f1cdb194bd
  1. 2
      beta/package.json
  2. 2
      beta/src/components/Layout/Sidebar/SidebarLink.tsx
  3. 8
      beta/yarn.lock

2
beta/package.json

@ -36,7 +36,7 @@
"next-remote-watch": "^1.0.0",
"parse-numeric-range": "^1.2.0",
"react": "0.0.0-experimental-82c64e1a4-20220520",
"react-collapsed": "3.1.0",
"react-collapsed": "npm:@gaearon/react-collapsed@3.1.0-forked.1",
"react-dom": "0.0.0-experimental-82c64e1a4-20220520"
},
"devDependencies": {

2
beta/src/components/Layout/Sidebar/SidebarLink.tsx

@ -68,7 +68,7 @@ export function SidebarLink({
!selected && !heading,
'text-base text-link dark:text-link-dark bg-highlight dark:bg-highlight-dark border-blue-40 hover:bg-highlight hover:text-link dark:hover:bg-highlight-dark dark:hover:text-link-dark':
selected,
'dark:bg-gray-60 bg-gray-3 dark:hover:bg-gray-60 hover:bg-gray-3':
'dark:bg-gray-70 bg-gray-3 dark:hover:bg-gray-70 hover:bg-gray-3':
isPending,
}
)}>

8
beta/yarn.lock

@ -4619,10 +4619,10 @@ raw-body@2.5.1:
iconv-lite "0.4.24"
unpipe "1.0.0"
react-collapsed@3.1.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/react-collapsed/-/react-collapsed-3.1.0.tgz#5fee8db3743d2b1139bddc43bf8cc36df1872d49"
integrity sha512-Pr4JqeQVPfkPPJk07Est1QxH5h4TxvHc/Q9AHt87ubxUVMu34hj08a+wx+JWTW7Al0CLwP4YTjZQ5KILprAKGQ==
"react-collapsed@npm:@gaearon/react-collapsed@3.1.0-forked.1":
version "3.1.0-forked.1"
resolved "https://registry.yarnpkg.com/@gaearon/react-collapsed/-/react-collapsed-3.1.0-forked.1.tgz#b287b81fc2af2971d7d7b523dc40b6cf116822ac"
integrity sha512-QkW55Upl4eeOtnDMOxasafDtDwaF+DpYKvHq8KZoNz9P477iUH8Ik1YFYuqtI7UA8mHm1/z66LD678dZCXwEEg==
dependencies:
raf "^3.4.1"
tiny-warning "^1.0.3"

Loading…
Cancel
Save