Skip to content

Commit

Permalink
Merge pull request #2071 from nextcloud/backport/2069/stable3
Browse files Browse the repository at this point in the history
  • Loading branch information
skjnldsv authored Jun 29, 2021
2 parents 10179e5 + 401cf06 commit 0c4f7e6
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 5 deletions.
3 changes: 2 additions & 1 deletion src/components/ActionButton/ActionButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,9 @@ export default {
<li class="action" :class="{ 'action--disabled': disabled }">
<button
class="action-button"
:aria-label="ariaLabel"
:class="{ focusable: isFocusable }"
:aria-label="ariaLabel"
type="button"
@click="onClick">
<span :class="[isIconUrl ? 'action-button__icon--url' : icon]"
:style="{ backgroundImage: isIconUrl ? `url(${icon})` : null }"
Expand Down
5 changes: 3 additions & 2 deletions src/components/Actions/Actions.vue
Original file line number Diff line number Diff line change
Expand Up @@ -183,11 +183,12 @@ export default {
'action-item__menutoggle--with-title': menuTitle,
'action-item__menutoggle--primary': primary
}"
:aria-label="ariaLabel"
aria-haspopup="true"
:aria-label="ariaLabel"
:aria-controls="randomId"
test-attr="1"
:aria-expanded="opened ? 'true' : 'false'"
test-attr="1"
type="button"
@focus="onFocus"
@blur="onBlur">
<slot name="icon" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
<button
class="icon-collapse"
:class="{'icon-collapse--rotated':open}"
type="button"
@click="onClick" />
</template>

Expand Down
2 changes: 1 addition & 1 deletion src/components/AppNavigationNew/AppNavigationNew.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
<div class="app-navigation-new">
<button :id="buttonId"
:class="buttonClass"
type="button"
:disabled="disabled"
type="button"
@click="$emit('click')">
{{ text }}
</button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@
v-click-outside="clickOutsideConfig"
:class="{ open }">
<div id="app-settings-header">
<button class="settings-button"
<button
class="settings-button"
type="button"
@click="toggleMenu">
{{ title }}
</button>
Expand Down
4 changes: 4 additions & 0 deletions src/components/ColorPicker/ColorPicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ export default {
:style="{'background-color': color }"
class="color-picker-simple-color-circle"
:class="{ 'color-picker-simple-color-circle--active' : color === currentColor }"
type="button"
@click="pickColor(color)" />
</div>
<Chrome
Expand All @@ -133,14 +134,17 @@ export default {
<button
v-if="advanced"
class="color-picker-navigation-button back"
type="button"
@click="handleBack" />
<button
v-if="!advanced"
class="color-picker-navigation-button more-settings"
type="button"
@click="handleMoreSettings" />
<button
v-if="advanced"
class="color-picker-navigation-button confirm"
type="button"
@click="handleConfirm">
{{ t('Choose') }}
</button>
Expand Down
1 change: 1 addition & 0 deletions src/components/Modal/Modal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ export default {
v-tooltip.auto="playPauseTitle"
:class="{ 'play-pause--paused': slideshowPaused }"
class="play-pause"
type="button"
@click="togglePlayPause">
<!-- Progress circle, css animated -->
<div :class="[playing ? 'icon-pause' : 'icon-play']">
Expand Down
1 change: 1 addition & 0 deletions src/components/PopoverMenu/PopoverMenuItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
class="menuitem focusable"
:class="{active: item.active}"
:disabled="item.disabled"
type="button"
@click.stop.prevent="item.action">
<span :class="item.icon" />
<p v-if="item.text && item.longtext">
Expand Down

0 comments on commit 0c4f7e6

Please sign in to comment.