refactor(ui): promote Progress & Skeleton as ui component

This commit is contained in:
Neko Ayaka
2026-01-07 21:47:14 +08:00
parent 371a0b105f
commit 795b9cd15f
9 changed files with 8 additions and 6 deletions
@@ -1,7 +1,7 @@
<script setup lang="ts">
import type { Component } from '../../../stores/resources'
import { Progress } from '@proj-airi/stage-ui/components'
import { Progress } from '@proj-airi/ui'
const props = defineProps<{
component: Component
@@ -1,7 +1,7 @@
<script setup lang="ts">
import { MarkdownRenderer, Progress } from '@proj-airi/stage-ui/components'
import { MarkdownRenderer } from '@proj-airi/stage-ui/components'
import { useSharedAnalyticsStore } from '@proj-airi/stage-ui/stores/analytics/index'
import { Button, DoubleCheckButton } from '@proj-airi/ui'
import { Button, DoubleCheckButton, Progress } from '@proj-airi/ui'
import { useMediaQuery } from '@vueuse/core'
import { storeToRefs } from 'pinia'
import { DialogContent, DialogDescription, DialogOverlay, DialogPortal, DialogRoot, DialogTitle } from 'reka-ui'
@@ -6,7 +6,6 @@ import {
ErrorContainer,
RadioCardManySelect,
RadioCardSimple,
Skeleton,
TestDummyMarker,
VoiceCardManySelect,
} from '@proj-airi/stage-ui/components'
@@ -17,6 +16,7 @@ import {
FieldCheckbox,
FieldInput,
FieldRange,
Skeleton,
Textarea,
} from '@proj-airi/ui'
import { generateSpeech } from '@xsai/generate-speech'
@@ -1,5 +1,5 @@
<script lang="ts" setup>
import Progress from './progress.vue'
import { Progress } from '@proj-airi/ui'
</script>
<template>
@@ -1,5 +1,5 @@
<script setup lang="ts">
import Skeleton from './skeleton.vue'
import { Skeleton } from '@proj-airi/ui'
</script>
<template>
@@ -1,2 +1,3 @@
export { default as Collapsible } from './collapsible.vue'
export { default as Screen } from './screen.vue'
export { default as Skeleton } from './skeleton.vue'
+1
View File
@@ -1,3 +1,4 @@
export { default as Button } from './button.vue'
export { default as Callout } from './callout.vue'
export { default as DoubleCheckButton } from './double-check-button.vue'
export { default as Progress } from './progress.vue'