@exakt/ui 0.0.5 → 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.5"
4
+ "version": "0.0.8"
5
5
  }
@@ -12,16 +12,18 @@
12
12
  </div>
13
13
 
14
14
  <div class="bar-container">
15
- <e-container class="bar-e-container" :force-full-width="true">
15
+ <e-container
16
+ class="bar-e-container"
17
+ :force-full-width="true"
18
+ >
16
19
  <div class="rounded bar">
17
20
  <e-progress-linear
18
21
  :model-value="props.loading"
19
22
  class="md-and-up-only"
20
23
  />
21
24
  <div class="bar-content">
22
-
23
25
  <div class="bar-section">
24
- <!-- Normally the logo -->
26
+ <!-- Normally the logo -->
25
27
  <div class="md-and-up-only flex-stretch">
26
28
  <slot name="center" />
27
29
  </div>
@@ -31,7 +33,10 @@
31
33
 
32
34
  <!-- Normally the sign in button -->
33
35
  <div class="md-and-up-only bar-section">
34
- <slot name="right" class="fullwidth" />
36
+ <slot
37
+ name="right"
38
+ class="fullwidth"
39
+ />
35
40
  </div>
36
41
  </div>
37
42
  </div>
@@ -1,6 +1,12 @@
1
1
  <template>
2
- <div class="container" :class="{ 'no-btn-padding': noBtnPadding }">
3
- <div class="content" :class="{ forceFullWidth }">
2
+ <div
3
+ class="container"
4
+ :class="{ 'no-btn-padding': noBtnPadding }"
5
+ >
6
+ <div
7
+ class="content"
8
+ :class="{ forceFullWidth }"
9
+ >
4
10
  <slot />
5
11
  </div>
6
12
  </div>
@@ -2,6 +2,8 @@
2
2
  <e-btn
3
3
  class="a-btn"
4
4
  :loading="loading"
5
+ :solid="false"
6
+ background="transparent"
5
7
  >
6
8
  <e-icon
7
9
  :icon="icon"
@@ -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.5",
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
+ }