refactor(ui): move DoubleCheckButton to @proj-airi/ui (#823)

This commit is contained in:
LemonNeko
2025-12-21 21:37:23 +08:00
committed by GitHub
parent 3839cd49ed
commit 3cba59421d
6 changed files with 8 additions and 8 deletions
@@ -1,7 +1,7 @@
<script setup lang="ts">
import { UTCDate } from '@date-fns/utc'
import { DoubleCheckButton, MarkdownRenderer, Progress } from '@proj-airi/stage-ui/components'
import { Button } from '@proj-airi/ui'
import { MarkdownRenderer, Progress } from '@proj-airi/stage-ui/components'
import { Button, DoubleCheckButton } from '@proj-airi/ui'
import { useMediaQuery } from '@vueuse/core'
import { abbreviatedSha, branch, committerDate } from '~build/git'
import { formatISO9075 } from 'date-fns'
@@ -1,8 +1,7 @@
<script setup lang="ts">
import { isStageTamagotchi } from '@proj-airi/stage-shared'
import { DoubleCheckButton } from '@proj-airi/stage-ui/components'
import { useDataMaintenance } from '@proj-airi/stage-ui/composables/use-data-maintenance'
import { Button } from '@proj-airi/ui'
import { Button, DoubleCheckButton } from '@proj-airi/ui'
import { computed, ref } from 'vue'
import { useI18n } from 'vue-i18n'
@@ -1,8 +1,7 @@
<script setup lang="ts">
import { DoubleCheckButton } from '@proj-airi/ui'
import { ref } from 'vue'
import DoubleCheckButton from './DoubleCheckButton.vue'
const actionLog = ref('Waiting for action...')
function note(message: string) {
@@ -1,9 +1,9 @@
export { default as Alert } from './Alert.vue'
export { default as Collapsable } from './Collapsable.vue'
export { default as DoubleCheckButton } from './DoubleCheckButton.vue'
export { default as ErrorContainer } from './ErrorContainer.vue'
export { default as Progress } from './Progress.vue'
export { default as Screen } from './Screen.vue'
export { default as Skeleton } from './Skeleton.vue'
export * from './Steppers'
export { default as WIP } from './WIP.vue'
export { DoubleCheckButton } from '@proj-airi/ui/components/misc'
@@ -1,7 +1,8 @@
<script setup lang="ts">
import { Button } from '@proj-airi/ui'
import { computed, ref, watch } from 'vue'
import Button from './Button.vue'
type ButtonVariant = 'primary' | 'secondary' | 'secondary-muted' | 'danger' | 'caution'
type ButtonSize = 'sm' | 'md' | 'lg'
+1
View File
@@ -1 +1,2 @@
export { default as Button } from './Button.vue'
export { default as DoubleCheckButton } from './DoubleCheckButton.vue'