Component: Button Migration 3: IconTextButton (#7603)

## Summary

Replace all the `IconTextButton`s with `Button`

┆Issue is synchronized with this [Notion
page](https://www.notion.so/PR-7603-WIP-Component-Button-Migraion-3-IconTextButton-2cd6d73d365081b7b742fa2172dc2ba8)
by [Unito](https://www.unito.io)
This commit is contained in:
Alexander Brown
2025-12-18 16:09:56 -08:00
committed by GitHub
parent 6244cf1008
commit 2c26fbb550
26 changed files with 338 additions and 754 deletions

View File

@@ -17,43 +17,34 @@
<template #header-right-area>
<div class="flex gap-2">
<IconTextButton
type="primary"
:label="$t('g.upload')"
@click="() => {}"
>
<template #icon>
<i class="icon-[lucide--upload]" />
</template>
</IconTextButton>
<Button variant="primary" @click="() => {}">
<i class="icon-[lucide--upload]" />
<span>{{ $t('g.upload') }}</span>
</Button>
<MoreButton>
<template #default="{ close }">
<IconTextButton
type="secondary"
:label="$t('g.settings')"
<Button
variant="secondary"
@click="
() => {
close()
}
"
>
<template #icon>
<i class="icon-[lucide--download]" />
</template>
</IconTextButton>
<IconTextButton
type="primary"
:label="$t('g.profile')"
<i class="icon-[lucide--download]" />
<span>{{ $t('g.settings') }}</span>
</Button>
<Button
variant="primary"
@click="
() => {
close()
}
"
>
<template #icon>
<i class="icon-[lucide--scroll]" />
</template>
</IconTextButton>
<i class="icon-[lucide--scroll]" />
<span>{{ $t('g.profile') }}</span>
</Button>
</template>
</MoreButton>
</div>
@@ -134,7 +125,6 @@
<script setup lang="ts">
import { computed, provide, ref } from 'vue'
import IconTextButton from '@/components/button/IconTextButton.vue'
import MoreButton from '@/components/button/MoreButton.vue'
import CardBottom from '@/components/card/CardBottom.vue'
import CardContainer from '@/components/card/CardContainer.vue'