@exakt/ui 0.0.6 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/module.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "exakt-ui",
3
3
  "configKey": "exakt",
4
- "version": "0.0.6"
4
+ "version": "0.0.8"
5
5
  }
@@ -1,31 +1,29 @@
1
1
  <template>
2
2
  <Transition name="fade">
3
- <div
4
- v-if="modelValue"
5
- class="e-progress-linear"
6
- :class="posClass"
7
- />
3
+ <div v-if="modelValue" class="e-progress-linear" :class="posClass" />
8
4
  </Transition>
9
5
  </template>
10
6
  <script setup lang="ts">
11
- const props = withDefaults(defineProps<{
12
- modelValue: boolean;
13
- position?: 'top' | 'bottom' | null;
14
-
15
- }>(), {
16
- position: 'bottom'
17
- });
7
+ import { computed } from "vue";
8
+ const props = withDefaults(
9
+ defineProps<{
10
+ modelValue: boolean;
11
+ position?: "top" | "bottom" | null;
12
+ }>(),
13
+ {
14
+ position: "bottom",
15
+ }
16
+ );
18
17
 
19
18
  const posClass = computed(() => {
20
- if (props.position === 'top') {
21
- return 'pos-top'
22
- } else if (props.position === 'bottom') {
23
- return 'pos-bottom'
24
-
19
+ if (props.position === "top") {
20
+ return "pos-top";
21
+ } else if (props.position === "bottom") {
22
+ return "pos-bottom";
25
23
  }
26
24
 
27
- return null
28
- })
25
+ return null;
26
+ });
29
27
  </script>
30
28
  <style scoped lang="scss">
31
29
  .pos-top,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exakt/ui",
3
- "version": "0.0.6",
3
+ "version": "0.0.8",
4
4
  "description": "A UI library for Nuxt.js",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -63,4 +63,4 @@
63
63
  "url": "https://github.com/wd-4000/exakt/issues"
64
64
  },
65
65
  "homepage": "https://github.com/wd-4000/exakt#readme"
66
- }
66
+ }