Skip to content
This repository has been archived by the owner on Jun 21, 2022. It is now read-only.

Bump eslint-plugin-jest from 26.1.1 to 26.2.2 #263

Closed
Closed
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
5 changes: 5 additions & 0 deletions changelog/unreleased/enhancement-hover-in-oc-drop-menues
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Enhancement: Hover in ocDrop menues

We've added the "action-menu-item-hover" class for <li> elements inside ocDrop, to add the hover effect on buttons and links.

https://github.com/owncloud/owncloud-design-system/pull/2069
45 changes: 45 additions & 0 deletions src/assets/icons/resource-type-root-fill.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions src/components/atoms/OcDrop/OcDrop.vue
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,27 @@ export default {
// note: needed so that the box shadow from `oc-box-shadow-medium` doesn't get suppressed
padding: 8px;
}
li.action-menu-item-hover {
a,
button:not([role="switch"]) {
box-sizing: border-box;
padding: var(--oc-space-small);
color: var(--oc-color-swatch-passive-default);
&:focus,
&:hover {
background-color: var(--oc-color-background-hover);

text-decoration: none !important;
border-radius: 5px;
}
&:hover span {
color: var(--oc-color-swatch-brand-hover) !important;
}
span {
text-decoration: none !important;
}
}
}
}

.oc-drop {
Expand Down
4 changes: 0 additions & 4 deletions src/components/molecules/OcBreadcrumb/OcBreadcrumb.vue
Original file line number Diff line number Diff line change
Expand Up @@ -183,10 +183,6 @@ export default {
#oc-breadcrumb-contextmenu-trigger > span {
vertical-align: middle;
border: 3px solid transparent;
&:hover {
background-color: var(--oc-color-background-hover);
border-radius: 5px;
}
}

#oc-breadcrumb-contextmenu li button {
Expand Down
2 changes: 1 addition & 1 deletion src/components/molecules/OcTable/OcTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ export default {
transition: background-color $transition-duration-short ease-in-out;
}

&-hover tr:hover span:not(.avatarInitials):not(button span) {
&-hover tr:hover td:not(:last-child) span:not(.avatarInitials):not(button span) {
color: var(--oc-color-swatch-brand-hover) !important;
}

Expand Down
1 change: 1 addition & 0 deletions src/helpers/resourceIconExtensionMapping.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@
"psd": "image",
"py": "code",
"rar": "archive",
"root": "root",
"rss": "file",
"scss": "code",
"sh": "code",
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5242,9 +5242,9 @@ eslint-config-prettier@^8.3.0:
integrity sha512-obmWKLUNCnhtQRKc+tmnYuQl0pFU1ibYJQ5BGhTVB08bHe9wC8qUeG7c08dj9XX+AuPj1YSGSQIHl1pnDHZR0Q==

eslint-plugin-jest@^26.0.0:
version "26.1.5"
resolved "https://registry.yarnpkg.com/eslint-plugin-jest/-/eslint-plugin-jest-26.1.5.tgz#6cfca264818d6d6aa120b019dab4d62b6aa8e775"
integrity sha512-su89aDuljL9bTjEufTXmKUMSFe2kZUL9bi7+woq+C2ukHZordhtfPm4Vg+tdioHBaKf8v3/FXW9uV0ksqhYGFw==
version "26.2.2"
resolved "https://registry.yarnpkg.com/eslint-plugin-jest/-/eslint-plugin-jest-26.2.2.tgz#74e000544259f1ef0462a609a3fc9e5da3768f6c"
integrity sha512-etSFZ8VIFX470aA6kTqDPhIq7YWe0tjBcboFNV3WeiC18PJ/AVonGhuTwlmuz2fBkH8FJHA7JQ4k7GsQIj1Gew==
dependencies:
"@typescript-eslint/utils" "^5.10.0"

Expand Down