Browse Source

fix: lint '@nextcloud/vue/no-deprecated-props' rule (auto from rc)

Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
pull/15322/head
Maksim Sukharev 5 months ago
parent
commit
fa0d2d0afa
  1. 2
      src/components/BreakoutRoomsEditor/BreakoutRoomsParticipantsEditor.vue
  2. 2
      src/components/Dashboard/EventCard.vue
  3. 2
      src/components/LeftSidebar/LeftSidebar.vue
  4. 6
      src/components/RightSidebar/SearchMessages/SearchMessagesTab.vue
  5. 2
      src/components/TopBar/CallButton.vue
  6. 2
      src/components/TopBar/ReactionMenu.vue
  7. 2
      src/components/TopBar/TopBarMediaControls.vue
  8. 2
      src/components/TopBar/TopBarMenu.vue

2
src/components/BreakoutRoomsEditor/BreakoutRoomsParticipantsEditor.vue

@ -53,7 +53,7 @@
{{ resetButtonLabel }}
</NcButton>
<NcActions v-if="hasSelected"
type="primary"
variant="primary"
container=".participants-editor__buttons"
:menu-name="t('spreed', 'Assign')">
<NcActionButton v-for="(item, index) in assignments"

2
src/components/Dashboard/EventCard.vue

@ -177,7 +177,7 @@ function handleJoin({ call = false } = {}) {
</template>
</p>
<span class="event-card__room secondary_text">
<NcChip type="tertiary"
<NcChip variant="tertiary"
:text="roomLabel"
no-close>
<template #icon>

2
src/components/LeftSidebar/LeftSidebar.vue

@ -33,7 +33,7 @@
<TransitionWrapper name="radial-reveal">
<!-- Filters -->
<NcActions v-show="searchText === ''"
:type="isFiltered ? 'secondary' : 'tertiary'"
:variant="isFiltered ? 'secondary' : 'tertiary'"
class="filters"
:class="{ 'hidden-visually': isSearching }">
<template #icon>

6
src/components/RightSidebar/SearchMessages/SearchMessagesTab.vue

@ -297,7 +297,7 @@ watch([searchText, fromUser, sinceDate, untilDate], debounceFetchSearchResults)
<div v-show="hasFilter && !searchDetailsOpened"
class="search-form__search-bubbles">
<NcChip v-if="fromUser"
type="tertiary"
variant="tertiary"
:text="fromUser.displayName"
@close="fromUser = null">
<template #icon>
@ -308,7 +308,7 @@ watch([searchText, fromUser, sinceDate, untilDate], debounceFetchSearchResults)
</template>
</NcChip>
<NcChip v-if="sinceDate"
type="tertiary"
variant="tertiary"
:text="t('spreed', 'Since') + ' ' + sinceDate?.toLocaleDateString()"
@close="sinceDate = null">
<template #icon>
@ -316,7 +316,7 @@ watch([searchText, fromUser, sinceDate, untilDate], debounceFetchSearchResults)
</template>
</NcChip>
<NcChip v-if="untilDate"
type="tertiary"
variant="tertiary"
:text="t('spreed', 'Until') + ' ' + untilDate?.toLocaleDateString()"
@close="untilDate = null">
<template #icon>

2
src/components/TopBar/CallButton.vue

@ -56,7 +56,7 @@
:aria-label="leaveCallCombinedLabel"
:menu-name="showButtonText ? leaveCallCombinedLabel : undefined"
force-name
:type="isScreensharing ? 'tertiary' : 'error'">
:variant="isScreensharing ? 'tertiary' : 'error'">
<template #icon>
<NcLoadingIcon v-if="loading" :size="20" />
<IconPhoneHangup v-else-if="!isBreakoutRoom" :size="20" />

2
src/components/TopBar/ReactionMenu.vue

@ -4,7 +4,7 @@
-->
<template>
<NcActions type="tertiary"
<NcActions variant="tertiary"
:title="t('spreed', 'Send a reaction')"
:aria-label="t('spreed', 'Send a reaction')"
class="reaction">

2
src/components/TopBar/TopBarMediaControls.vue

@ -68,7 +68,7 @@
<NcActions v-if="!isSidebar && isScreensharing"
id="screensharing-button"
:title="screenSharingButtonTitle"
type="error"
variant="error"
:aria-label="screenSharingButtonAriaLabel"
:class="screenSharingButtonClass"
class="app-navigation-entry-utils-menu-button"

2
src/components/TopBar/TopBarMenu.vue

@ -21,7 +21,7 @@
<NcActions v-if="!isSidebar"
:title="t('spreed', 'Conversation actions')"
:aria-label="t('spreed', 'Conversation actions')"
type="tertiary">
variant="tertiary">
<!-- Menu icon: white if in call -->
<template v-if="isInCall" #icon>
<IconDotsHorizontal :size="20" />

Loading…
Cancel
Save