@@ -355,9 +355,12 @@ export default {
355355 <span v-else class =" action-button__text" >{{ text }}</span >
356356
357357 <!-- right(in LTR) or left(in RTL) arrow icon when there is a sub-menu -->
358- <ChevronRightIcon v-if =" isMenu && !isRtl" :size =" 20" class =" action-button__menu-icon" />
359- <ChevronLeftIcon v-else-if =" isMenu && isRtl" :size =" 20" class =" action-button__menu-icon" />
360- <CheckIcon v-else-if =" isChecked === true" :size =" 20" class =" action-button__pressed-icon" />
358+ <NcIconSvgWrapper v-if =" isMenu"
359+ class =" action-button__menu-icon"
360+ directional
361+ :path =" mdiChevronRight" />
362+ <NcIconSvgWrapper v-else-if =" isChecked" :path =" mdiCheck" class =" action-button__pressed-icon" />
363+
361364 <span v-else-if =" isChecked === false" class =" action-button__pressed-icon material-design-icon" />
362365
363366 <!-- fake slot to gather inner text -->
@@ -367,12 +370,10 @@ export default {
367370</template >
368371
369372<script >
370- import CheckIcon from ' vue-material-design-icons/Check.vue'
371- import ChevronRightIcon from ' vue-material-design-icons/ChevronRight.vue'
372- import ChevronLeftIcon from ' vue-material-design-icons/ChevronLeft.vue'
373- import ActionTextMixin from ' ../../mixins/actionText.js'
374- import { isRtl } from ' ../../utils/rtl.ts'
373+ import { mdiCheck , mdiChevronRight } from ' @mdi/js'
375374import { NC_ACTIONS_IS_SEMANTIC_MENU } from ' ../NcActions/useNcActions.ts'
375+ import ActionTextMixin from ' ../../mixins/actionText.js'
376+ import NcIconSvgWrapper from ' ../NcIconSvgWrapper/NcIconSvgWrapper.vue'
376377
377378/**
378379 * Button component to be used in Actions
@@ -381,9 +382,7 @@ export default {
381382 name: ' NcActionButton' ,
382383
383384 components: {
384- CheckIcon,
385- ChevronRightIcon,
386- ChevronLeftIcon,
385+ NcIconSvgWrapper,
387386 },
388387
389388 mixins: [ActionTextMixin],
@@ -464,7 +463,8 @@ export default {
464463
465464 setup () {
466465 return {
467- isRtl,
466+ mdiCheck,
467+ mdiChevronRight,
468468 }
469469 },
470470
0 commit comments