Apply repository-wide ESLint auto-fix formatting pass

Co-Authored-By: Codex <codex@openai.com>
This commit is contained in:
2026-03-08 12:11:57 +08:00
parent 7c48faaa3d
commit 847904c49b
172 changed files with 13629 additions and 9154 deletions

View File

@@ -1,19 +1,18 @@
<!-- The filled version of the button has a solid background -->
<template>
<button class="button-filled-component w-[80px] h-[32px] rounded-full
flex text-[#FFFFFF]
justify-center items-center bg-[#0099FF]
hover:text-[#FFFFFF] hover:bg-[#0080D5]
cursor-pointer"
:class="{
'ring': isPressed,
'ring-[#0099FF]' : isPressed,
'ring-opacity-30': isPressed,
'bg-[#0099FF]': isPressed,
}"
@mousedown="onMousedown" @mouseup="onMouseup">
{{ buttonText }}
</button>
<button
class="button-filled-component w-[80px] h-[32px] rounded-full flex text-[#FFFFFF] justify-center items-center bg-[#0099FF] hover:text-[#FFFFFF] hover:bg-[#0080D5] cursor-pointer"
:class="{
ring: isPressed,
'ring-[#0099FF]': isPressed,
'ring-opacity-30': isPressed,
'bg-[#0099FF]': isPressed,
}"
@mousedown="onMousedown"
@mouseup="onMouseup"
>
{{ buttonText }}
</button>
</template>
<script setup>
@@ -27,22 +26,22 @@
* solid background and press-state ring effect.
*/
import { ref } from 'vue';
import { ref } from "vue";
defineProps({
buttonText: {
type: String,
required: false,
},
buttonText: {
type: String,
required: false,
},
});
const isPressed = ref(false);
const onMousedown = () => {
isPressed.value = true;
isPressed.value = true;
};
const onMouseup = () => {
isPressed.value = false;
isPressed.value = false;
};
</script>