chore: Update buttons in conversation screens - 2 (#11134)

This commit is contained in:
Sivin Varghese
2025-03-21 21:54:54 +05:30
committed by GitHub
parent 280bc58963
commit e4ea078e52
25 changed files with 363 additions and 471 deletions

View File

@@ -1,30 +1,20 @@
<script>
export default {
emits: ['add'],
<script setup>
import Button from 'dashboard/components-next/button/Button.vue';
methods: {
addLabel() {
this.$emit('add');
},
},
const emit = defineEmits(['add']);
const addLabel = () => {
emit('add');
};
</script>
<template>
<woot-button
variant="smooth"
class="label--add"
icon="add"
size="tiny"
<Button
faded
xs
icon="i-lucide-plus"
class="mb-0.5 ltr:mr-0.5 rtl:ml-0.5 !rounded-[4px]"
:label="$t('CONTACT_PANEL.LABELS.CONVERSATION.ADD_BUTTON')"
@click="addLabel"
>
{{ $t('CONTACT_PANEL.LABELS.CONVERSATION.ADD_BUTTON') }}
</woot-button>
/>
</template>
<style lang="scss" scoped>
.label--add {
margin-bottom: var(--space-micro);
margin-right: var(--space-micro);
}
</style>