refactor(ui): move DoubleCheckButton to @proj-airi/ui (#823)
This commit is contained in:
@@ -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'
|
||||
|
||||
+2
-1
@@ -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 +1,2 @@
|
||||
export { default as Button } from './Button.vue'
|
||||
export { default as DoubleCheckButton } from './DoubleCheckButton.vue'
|
||||
|
||||
Reference in New Issue
Block a user