@@ -364,9 +364,12 @@ export default {
364364 </span >
365365
366366 <!-- right(in LTR) or left(in RTL) arrow icon when there is a sub-menu -->
367- <ChevronRightIcon v-if =" isMenu && !isRtl" :size =" 20" class =" action-button__menu-icon" />
368- <ChevronLeftIcon v-else-if =" isMenu && isRtl" :size =" 20" class =" action-button__menu-icon" />
369- <CheckIcon v-else-if =" isChecked === true" :size =" 20" class =" action-button__pressed-icon" />
367+ <NcIconSvgWrapper v-if =" isMenu"
368+ class =" action-button__menu-icon"
369+ directional
370+ :path =" mdiChevronRight" />
371+ <NcIconSvgWrapper v-else-if =" isChecked" :path =" mdiCheck" class =" action-button__pressed-icon" />
372+
370373 <span v-else-if =" isChecked === false" class =" action-button__pressed-icon material-design-icon" />
371374
372375 <!-- fake slot to gather inner text -->
@@ -376,11 +379,9 @@ export default {
376379</template >
377380
378381<script >
379- import CheckIcon from ' vue-material-design-icons/Check.vue'
380- import ChevronRightIcon from ' vue-material-design-icons/ChevronRight.vue'
381- import ChevronLeftIcon from ' vue-material-design-icons/ChevronLeft.vue'
382+ import { mdiCheck , mdiChevronRight } from ' @mdi/js'
382383import ActionTextMixin from ' ../../mixins/actionText.js'
383- import { isRtl } from ' ../../utils/rtl.ts '
384+ import NcIconSvgWrapper from ' ../NcIconSvgWrapper/NcIconSvgWrapper.vue '
384385
385386/**
386387 * Button component to be used in Actions
@@ -389,9 +390,7 @@ export default {
389390 name: ' NcActionButton' ,
390391
391392 components: {
392- CheckIcon,
393- ChevronRightIcon,
394- ChevronLeftIcon,
393+ NcIconSvgWrapper,
395394 },
396395 mixins: [ActionTextMixin],
397396
@@ -476,7 +475,8 @@ export default {
476475 },
477476 setup () {
478477 return {
479- isRtl,
478+ mdiCheck,
479+ mdiChevronRight,
480480 }
481481 },
482482
0 commit comments