-
Notifications
You must be signed in to change notification settings - Fork 448
Component: Button migration 1: TextButton #7537
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 18 commits
7944d18
d9bde9b
67e446d
5ea477d
9eecc11
2ba7774
f5f9970
0931aa7
c1fdaea
e7b85f5
517fade
6b7d6ea
c83b61c
816b693
9772832
472ca5b
49b17d2
e88c84d
82de3b6
2b2e32a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -112,14 +112,14 @@ | |
| : $t('g.itemSelected', { selectedCount }) | ||
| }} | ||
| </span> | ||
| <TextButton | ||
| <Button | ||
| v-if="showClearButton" | ||
| :label="$t('g.clearAll')" | ||
| type="transparent" | ||
| size="fit-content" | ||
| class="text-sm text-text-primary" | ||
| variant="textonly" | ||
| size="md" | ||
| @click.stop="selectedItems = []" | ||
| /> | ||
| > | ||
| {{ $t('g.clearAll') }} | ||
| </Button> | ||
| </div> | ||
| <div class="my-4 h-px bg-border-default"></div> | ||
| </div> | ||
|
|
@@ -159,10 +159,10 @@ | |
| class="text-bold icon-[lucide--check] text-xs text-white" | ||
| /> | ||
| </div> | ||
| <Button | ||
| <PVButton | ||
| class="border-none bg-transparent text-left outline-none" | ||
| unstyled | ||
| >{{ slotProps.option.name }}</Button | ||
| >{{ slotProps.option.name }}</PVButton | ||
| > | ||
coderabbitai[bot] marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| </div> | ||
| </template> | ||
|
|
@@ -172,17 +172,17 @@ | |
| <script setup lang="ts"> | ||
| import { useFuse } from '@vueuse/integrations/useFuse' | ||
| import type { UseFuseOptions } from '@vueuse/integrations/useFuse' | ||
| import Button from 'primevue/button' | ||
| import PVButton from 'primevue/button' | ||
|
||
| import type { MultiSelectPassThroughMethodOptions } from 'primevue/multiselect' | ||
| import MultiSelect from 'primevue/multiselect' | ||
| import { computed, useAttrs } from 'vue' | ||
| import { useI18n } from 'vue-i18n' | ||
| import SearchBox from '@/components/common/SearchBox.vue' | ||
| import Button from '@/components/ui/button/Button.vue' | ||
| import { usePopoverSizing } from '@/composables/usePopoverSizing' | ||
| import { cn } from '@/utils/tailwindUtil' | ||
| import TextButton from '../button/TextButton.vue' | ||
| import type { SelectOption } from './types' | ||
| type Option = SelectOption | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.