@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
|
@@ -12,16 +12,18 @@
|
|
|
12
12
|
</div>
|
|
13
13
|
|
|
14
14
|
<div class="bar-container">
|
|
15
|
-
<e-container
|
|
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
|
-
|
|
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
|
|
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
|
|
3
|
-
|
|
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>
|
|
@@ -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
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
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 ===
|
|
21
|
-
return
|
|
22
|
-
} else if (props.position ===
|
|
23
|
-
return
|
|
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.
|
|
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
|
+
}
|