@exakt/ui 0.0.24 → 0.0.26
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
|
@@ -35,7 +35,11 @@
|
|
|
35
35
|
>
|
|
36
36
|
<e-loading-spinner />
|
|
37
37
|
</div>
|
|
38
|
-
<span
|
|
38
|
+
<span
|
|
39
|
+
class="actual-content d-flex"
|
|
40
|
+
:style="{justifyContent:
|
|
41
|
+
justifyWrapper, alignContent: props.align, alignItems: props.align}"
|
|
42
|
+
>
|
|
39
43
|
<slot />
|
|
40
44
|
</span>
|
|
41
45
|
</div>
|
|
@@ -59,6 +63,7 @@ const props = withDefaults(
|
|
|
59
63
|
loadingGradient?: boolean;
|
|
60
64
|
fab?: boolean;
|
|
61
65
|
disabled?: boolean;
|
|
66
|
+
align?: string;
|
|
62
67
|
type?: "button" | "submit" | "reset";
|
|
63
68
|
}>(),
|
|
64
69
|
{
|
|
@@ -66,7 +71,8 @@ const props = withDefaults(
|
|
|
66
71
|
background: "primary",
|
|
67
72
|
solid: true,
|
|
68
73
|
width: undefined,
|
|
69
|
-
justify:
|
|
74
|
+
justify: "center",
|
|
75
|
+
align: "center",
|
|
70
76
|
color: undefined,
|
|
71
77
|
}
|
|
72
78
|
);
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="rounded clickable-card py-4 my-2">
|
|
3
|
+
<div class=" px-6">
|
|
4
|
+
<slot />
|
|
5
|
+
</div>
|
|
6
|
+
</div>
|
|
7
|
+
</template>
|
|
8
|
+
<script setup lang="ts"></script>
|
|
9
|
+
|
|
10
|
+
<style lang="scss" scoped>
|
|
11
|
+
.clickable-card {
|
|
12
|
+
background-color: var(--e-color-elev);
|
|
13
|
+
cursor: pointer;
|
|
14
|
+
transition: background 0.15s;
|
|
15
|
+
& > * {
|
|
16
|
+
transition: transform ease-in-out 0.15s;
|
|
17
|
+
}
|
|
18
|
+
&:hover {
|
|
19
|
+
background: rgba(var(--e-color-elev-rgb), 0.85);
|
|
20
|
+
}
|
|
21
|
+
&:active {
|
|
22
|
+
& > * {
|
|
23
|
+
transform: scale(0.98);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
</style>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div
|
|
3
|
-
class="sidebar"
|
|
3
|
+
class="sidebar d-flex flex-column justify-start"
|
|
4
4
|
@mouseenter="state.hover = true"
|
|
5
5
|
@mouseleave="state.hover = false"
|
|
6
6
|
>
|
|
@@ -56,6 +56,7 @@ const state = reactive({
|
|
|
56
56
|
);
|
|
57
57
|
}
|
|
58
58
|
.sidebar {
|
|
59
|
+
|
|
59
60
|
height: 100vh;
|
|
60
61
|
width: var(--collapsed-sidebar-width);
|
|
61
62
|
z-index: 5;
|
|
@@ -84,10 +85,17 @@ const state = reactive({
|
|
|
84
85
|
flex-shrink: 0;
|
|
85
86
|
position: relative;
|
|
86
87
|
}
|
|
88
|
+
.btn-text {
|
|
89
|
+
display: block;
|
|
90
|
+
flex-grow: 0;
|
|
91
|
+
flex-shrink: 0;
|
|
92
|
+
position: relative;
|
|
93
|
+
}
|
|
87
94
|
.btn {
|
|
88
95
|
width: 100%;
|
|
89
96
|
flex-grow: 0;
|
|
90
97
|
flex-shrink: 0;
|
|
98
|
+
min-height: 5rem;
|
|
91
99
|
}
|
|
92
100
|
}
|
|
93
101
|
|