chore: resolve sass and vue compiler deprecation warnings (#13794)

This commit is contained in:
Khoa Nguyen
2026-05-22 12:16:43 +05:30
committed by GitHub
parent 0722750a55
commit 4cdfe4168c
60 changed files with 153 additions and 179 deletions
@@ -1,6 +1,6 @@
<script setup>
import Avatar from 'dashboard/components-next/avatar/Avatar.vue';
import { defineProps, computed } from 'vue';
import { computed } from 'vue';
const props = defineProps({
users: {
@@ -37,12 +37,12 @@ export default {
</template>
<style lang="scss" scoped>
.chat-bubble.user::v-deep {
p code {
.chat-bubble.user {
:deep(p code) {
@apply bg-n-alpha-2 dark:bg-n-alpha-1 text-white;
}
pre {
:deep(pre) {
@apply text-white bg-n-alpha-2 dark:bg-n-alpha-1;
code {
@@ -50,7 +50,7 @@ export default {
}
}
blockquote {
:deep(blockquote) {
@apply bg-transparent border-n-slate-7 ltr:border-l-2 rtl:border-r-2 border-solid;
p {
@@ -1,5 +1,5 @@
<script setup>
import { defineProps, defineEmits, computed } from 'vue';
import { computed } from 'vue';
import ArticleListItem from './ArticleListItem.vue';
import { useMapGetter } from 'dashboard/composables/store';
@@ -1,5 +1,4 @@
<script setup>
import { defineProps, defineEmits } from 'vue';
const props = defineProps({
link: {
type: String,