Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update hover state of icons #1075

Merged
merged 2 commits into from
Mar 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@graasp/query-client": "2.8.0",
"@graasp/sdk": "4.1.0",
"@graasp/translations": "1.25.2",
"@graasp/ui": "4.9.0",
"@graasp/ui": "4.9.1",
"@mui/icons-material": "5.15.11",
"@mui/lab": "5.0.0-alpha.166",
"@mui/material": "5.15.11",
Expand Down
11 changes: 10 additions & 1 deletion src/components/layout/utils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,16 @@ export const buildExtraItems = ({
return [
{
name: translate(BUILDER.LIBRARY_SETTINGS_PUBLISH_BUTTON),
icon: <LibraryIcon size={24} showSetting primaryColor="#777" />,
icon: (
<LibraryIcon
size={24}
showSetting
primaryColor="#777"
secondaryColor="#fff"
disableHover
selected
/>
),
path: buildItemPublishPath(itemId),
menuItems: [],
},
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1498,9 +1498,9 @@ __metadata:
languageName: node
linkType: hard

"@graasp/ui@npm:4.9.0":
version: 4.9.0
resolution: "@graasp/ui@npm:4.9.0"
"@graasp/ui@npm:4.9.1":
version: 4.9.1
resolution: "@graasp/ui@npm:4.9.1"
dependencies:
"@ag-grid-community/client-side-row-model": "npm:31.1.1"
"@ag-grid-community/react": "npm:^31.1.1"
Expand Down Expand Up @@ -1532,7 +1532,7 @@ __metadata:
react-router-dom: ^6.11.0
stylis: ^4.1.3
stylis-plugin-rtl: ^2.1.1
checksum: 10/e4c3fc8497e35ad28e91098d475029479174cf9e7090bf9061700e5b7f04ce2a9fc584fa9d1ce29e13b03184bf513a54ee4bed7b682a070f76ba378deb056c57
checksum: 10/a101ff9b7a6365d9959c331f07a77f1f96bb0293bd354763a1633b719162f3e57c709990c014f42639184f78a30fb5077837a820cb6d7abde13267f126510731
languageName: node
linkType: hard

Expand Down Expand Up @@ -7234,7 +7234,7 @@ __metadata:
"@graasp/query-client": "npm:2.8.0"
"@graasp/sdk": "npm:4.1.0"
"@graasp/translations": "npm:1.25.2"
"@graasp/ui": "npm:4.9.0"
"@graasp/ui": "npm:4.9.1"
"@mui/icons-material": "npm:5.15.11"
"@mui/lab": "npm:5.0.0-alpha.166"
"@mui/material": "npm:5.15.11"
Expand Down