feat: Remove ionicons v2 dependency on widget (#3402)
This commit is contained in:
parent
c2b4991fd8
commit
a3ba8f9e35
15 changed files with 119 additions and 117 deletions
|
@ -23,13 +23,13 @@
|
|||
/>
|
||||
<button
|
||||
v-if="hasEmojiPickerEnabled"
|
||||
class="emoji-toggle"
|
||||
class="icon-button flex justify-center items-center"
|
||||
aria-label="Emoji picker"
|
||||
@click="toggleEmojiPicker()"
|
||||
@click="toggleEmojiPicker"
|
||||
>
|
||||
<i
|
||||
class="icon ion-happy-outline"
|
||||
:class="{ active: showEmojiPicker }"
|
||||
<fluent-icon
|
||||
icon="emoji"
|
||||
:class="{ 'text-woot-500': showEmojiPicker }"
|
||||
/>
|
||||
</button>
|
||||
<emoji-input
|
||||
|
@ -50,11 +50,13 @@
|
|||
<script>
|
||||
import { mapGetters } from 'vuex';
|
||||
import { mixin as clickaway } from 'vue-clickaway';
|
||||
import ChatSendButton from 'widget/components/ChatSendButton.vue';
|
||||
|
||||
import ChatAttachmentButton from 'widget/components/ChatAttachment.vue';
|
||||
import ResizableTextArea from 'shared/components/ResizableTextArea';
|
||||
import EmojiInput from 'shared/components/emoji/EmojiInput';
|
||||
import ChatSendButton from 'widget/components/ChatSendButton.vue';
|
||||
import configMixin from '../mixins/configMixin';
|
||||
import EmojiInput from 'shared/components/emoji/EmojiInput';
|
||||
import FluentIcon from 'shared/components/FluentIcon/Index.vue';
|
||||
import ResizableTextArea from 'shared/components/ResizableTextArea';
|
||||
|
||||
export default {
|
||||
name: 'ChatInputWrap',
|
||||
|
@ -62,6 +64,7 @@ export default {
|
|||
ChatAttachmentButton,
|
||||
ChatSendButton,
|
||||
EmojiInput,
|
||||
FluentIcon,
|
||||
ResizableTextArea,
|
||||
},
|
||||
mixins: [clickaway, configMixin],
|
||||
|
@ -178,14 +181,6 @@ export default {
|
|||
}
|
||||
}
|
||||
|
||||
.emoji-toggle {
|
||||
@include button-size;
|
||||
|
||||
font-size: $font-size-large;
|
||||
color: $color-gray;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.emoji-dialog {
|
||||
right: $space-one;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue