-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #84 from celenium-io/dev
v1.14.0
- Loading branch information
Showing
37 changed files
with
11,147 additions
and
4,161 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<script setup> | ||
import Spinner from "@/components/ui/Spinner.vue" | ||
const props = defineProps({ | ||
title: { | ||
type: String, | ||
required: true, | ||
}, | ||
subtitle: { | ||
type: String, | ||
required: false, | ||
}, | ||
}) | ||
</script> | ||
|
||
<template> | ||
<ClientOnly> | ||
<Transition name="fade"> | ||
<Flex direction="column" align="center" gap="16" :class="$style.loading"> | ||
<Spinner size="16" /> | ||
|
||
<Flex direction="column" align="center" gap="8"> | ||
<Text size="14" weight="500" color="primary"> {{ title }} </Text> | ||
<Text v-if="subtitle" size="13" weight="500" color="tertiary"> {{ subtitle }} </Text> | ||
</Flex> | ||
</Flex> | ||
</Transition> | ||
</ClientOnly> | ||
</template> | ||
|
||
<style module> | ||
.loading { | ||
position: absolute; | ||
top: 50%; | ||
left: 50%; | ||
transform: translate(-50%, -50%); | ||
} | ||
</style> |
Oops, something went wrong.