@@ -386,7 +386,7 @@ Note: the built-in toggle button is only available then NcAppSidebar is used in
386386 <NcContent app-name="styleguidist" class="content-styleguidist">
387387 <NcAppContent>
388388 <div class="top-bar">
389- <NcButton type ="primary">Start a call</NcButton>
389+ <NcButton variant ="primary">Start a call</NcButton>
390390 </div>
391391 </NcAppContent>
392392 <!-- The sidebar -->
@@ -553,7 +553,7 @@ export default {
553553 <NcButton :aria-label =" t('Open sidebar')"
554554 class =" app-sidebar__toggle"
555555 :class =" toggleClasses"
556- type =" tertiary"
556+ variant =" tertiary"
557557 v-bind =" toggleAttrs"
558558 @click =" $emit('update:open', true)" >
559559 <template #icon >
@@ -603,7 +603,7 @@ export default {
603603 :aria-label =" favoriteTranslated"
604604 :pressed =" isStarred"
605605 class =" app-sidebar-header__star"
606- type =" secondary"
606+ variant =" secondary"
607607 @click.prevent =" toggleStarred" >
608608 <template #icon >
609609 <NcLoadingIcon v-if =" starLoading" />
@@ -641,9 +641,9 @@ export default {
641641 :value =" name"
642642 @keydown.esc.stop =" onDismissEditing"
643643 @input =" onNameInput" >
644- <NcButton type = " tertiary-no-background "
645- :aria-label = " changeNameTranslated "
646- native-type = " submit " >
644+ <NcButton :aria-label = " changeNameTranslated "
645+ type = " submit "
646+ variant = " tertiary-no-background " >
647647 <template #icon >
648648 <IconArrowRight :size =" 20" />
649649 </template >
@@ -671,10 +671,10 @@ export default {
671671 </div >
672672
673673 <NcButton ref =" closeButton"
674- :title =" closeTranslated"
675674 :aria-label =" closeTranslated"
676- type = " tertiary "
675+ :title = " closeTranslated "
677676 class =" app-sidebar__close"
677+ variant =" tertiary"
678678 @click.prevent =" closeSidebar" >
679679 <template #icon >
680680 <IconClose :size =" 20" />
@@ -706,9 +706,9 @@ export default {
706706<script >
707707import NcAppSidebarTabs from ' ./NcAppSidebarTabs.vue'
708708import NcActions from ' ../NcActions/index.js'
709- import NcLoadingIcon from ' ../NcLoadingIcon/index.js'
710709import NcButton from ' ../NcButton/index.ts'
711710import NcEmptyContent from ' ../NcEmptyContent/index.js'
711+ import NcLoadingIcon from ' ../NcLoadingIcon/index.js'
712712import Focus from ' ../../directives/Focus/index.js'
713713import Linkify from ' ../../directives/Linkify/index.js'
714714import { vOnClickOutside as ClickOutside } from ' @vueuse/components'
0 commit comments