@@ -379,7 +379,7 @@ Note: the built-in toggle button is only available then NcAppSidebar is used in
379379 <NcContent app-name="styleguidist" class="content-styleguidist">
380380 <NcAppContent>
381381 <div class="top-bar">
382- <NcButton type ="primary">Start a call</NcButton>
382+ <NcButton variant ="primary">Start a call</NcButton>
383383 </div>
384384 </NcAppContent>
385385 <!-- The sidebar -->
@@ -548,7 +548,7 @@ export default {
548548 <NcButton :aria-label =" t('Open sidebar')"
549549 class =" app-sidebar__toggle"
550550 :class =" toggleClasses"
551- type =" tertiary"
551+ variant =" tertiary"
552552 v-bind =" toggleAttrs"
553553 @click =" $emit('update:open', true)" >
554554 <template #icon >
@@ -598,7 +598,7 @@ export default {
598598 :aria-label =" favoriteTranslated"
599599 :pressed =" isStarred"
600600 class =" app-sidebar-header__star"
601- type =" secondary"
601+ variant =" secondary"
602602 @click.prevent =" toggleStarred" >
603603 <template #icon >
604604 <NcLoadingIcon v-if =" starLoading" />
@@ -636,9 +636,9 @@ export default {
636636 :value =" name"
637637 @keydown.esc.stop =" onDismissEditing"
638638 @input =" onNameInput" >
639- <NcButton type = " tertiary-no-background "
640- :aria-label = " changeNameTranslated "
641- native-type = " submit " >
639+ <NcButton :aria-label = " changeNameTranslated "
640+ type = " submit "
641+ variant = " tertiary-no-background " >
642642 <template #icon >
643643 <ArrowRight :size =" 20" />
644644 </template >
@@ -666,10 +666,10 @@ export default {
666666 </div >
667667
668668 <NcButton ref =" closeButton"
669- :title =" closeTranslated"
670669 :aria-label =" closeTranslated"
671- type = " tertiary "
670+ :title = " closeTranslated "
672671 class =" app-sidebar__close"
672+ variant =" tertiary"
673673 @click.prevent =" closeSidebar" >
674674 <template #icon >
675675 <Close :size =" 20" />
@@ -704,9 +704,9 @@ import { Portal as Teleport } from '@linusborg/vue-simple-portal'
704704
705705import NcAppSidebarTabs from ' ./NcAppSidebarTabs.vue'
706706import NcActions from ' ../NcActions/index.js'
707- import NcLoadingIcon from ' ../NcLoadingIcon/index.js'
708707import NcButton from ' ../NcButton/index.js'
709708import NcEmptyContent from ' ../NcEmptyContent/index.js'
709+ import NcLoadingIcon from ' ../NcLoadingIcon/index.js'
710710import Focus from ' ../../directives/Focus/index.js'
711711import Linkify from ' ../../directives/Linkify/index.js'
712712import { useIsSmallMobile } from ' ../../composables/useIsMobile/index.js'
0 commit comments