@exakt/ui 0.0.4 → 0.0.6
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.d.ts +2 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +2 -1
- package/dist/runtime/components/e/app-bars.vue +40 -12
- package/dist/runtime/components/e/container.vue +7 -3
- package/dist/runtime/components/e/iconButton.vue +2 -0
- package/dist/runtime/components/e/nav/btn.vue +5 -1
- package/dist/runtime/css/util.scss +5 -0
- package/package.json +1 -1
package/dist/module.d.ts
CHANGED
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -21,16 +21,23 @@
|
|
|
21
21
|
:model-value="props.loading"
|
|
22
22
|
class="md-and-up-only"
|
|
23
23
|
/>
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
name="
|
|
32
|
-
|
|
33
|
-
|
|
24
|
+
<div class="bar-content">
|
|
25
|
+
<div class="bar-section">
|
|
26
|
+
<!-- Normally the logo -->
|
|
27
|
+
<div class="md-and-up-only flex-stretch">
|
|
28
|
+
<slot name="center" />
|
|
29
|
+
</div>
|
|
30
|
+
<!-- All the links-->
|
|
31
|
+
<slot name="nav-items" />
|
|
32
|
+
</div>
|
|
33
|
+
|
|
34
|
+
<!-- Normally the sign in button -->
|
|
35
|
+
<div class="md-and-up-only bar-section">
|
|
36
|
+
<slot
|
|
37
|
+
name="right"
|
|
38
|
+
class="fullwidth"
|
|
39
|
+
/>
|
|
40
|
+
</div>
|
|
34
41
|
</div>
|
|
35
42
|
</div>
|
|
36
43
|
</e-container>
|
|
@@ -43,7 +50,6 @@ const props = withDefaults(
|
|
|
43
50
|
}>(),
|
|
44
51
|
{ loading: false }
|
|
45
52
|
);
|
|
46
|
-
|
|
47
53
|
</script>
|
|
48
54
|
|
|
49
55
|
<style lang="scss" scoped>
|
|
@@ -76,6 +82,18 @@ const props = withDefaults(
|
|
|
76
82
|
z-index: 4;
|
|
77
83
|
}
|
|
78
84
|
|
|
85
|
+
.bar-content{
|
|
86
|
+
display: flex;
|
|
87
|
+
justify-content: space-between;
|
|
88
|
+
align-items: stretch;
|
|
89
|
+
width: 100%;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.bar-section{
|
|
93
|
+
display:flex;
|
|
94
|
+
align-items: stretch;
|
|
95
|
+
}
|
|
96
|
+
|
|
79
97
|
@media screen and (max-width: ($e-md-screen-breakpoint)) {
|
|
80
98
|
.title-bar {
|
|
81
99
|
display: unset;
|
|
@@ -122,7 +140,17 @@ const props = withDefaults(
|
|
|
122
140
|
width: 100%;
|
|
123
141
|
height: 100%;
|
|
124
142
|
|
|
125
|
-
padding-bottom: calc(env(safe-area-
|
|
143
|
+
padding-bottom: calc(env(safe-area-inset-bottom));
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.bar-content{
|
|
147
|
+
justify-content: stretch;
|
|
148
|
+
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.bar-section{
|
|
152
|
+
justify-content: stretch;
|
|
153
|
+
width: 100%;
|
|
126
154
|
}
|
|
127
155
|
}
|
|
128
156
|
</style>
|
|
@@ -29,11 +29,15 @@ defineProps(["noBtnPadding", "forceFullWidth"]);
|
|
|
29
29
|
$padding: 0rem;
|
|
30
30
|
|
|
31
31
|
@media (min-width: $e-md-screen-breakpoint) {
|
|
32
|
-
width: calc(
|
|
32
|
+
width: calc(100% - $padding);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
@media (min-width: $e-lg-screen-breakpoint) {
|
|
36
|
+
width: calc(95% - $padding);
|
|
33
37
|
}
|
|
34
38
|
|
|
35
|
-
@media (min-width:
|
|
36
|
-
width: calc(
|
|
39
|
+
@media (min-width: $e-xl-screen-breakpoint) {
|
|
40
|
+
width: calc(85% - $padding);
|
|
37
41
|
}
|
|
38
42
|
}
|
|
39
43
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="flex-stretch">
|
|
2
|
+
<div class="flex-stretch nav-btn">
|
|
3
3
|
<e-link
|
|
4
4
|
:to="to"
|
|
5
5
|
class="flex-stretch fullwidth"
|
|
@@ -74,6 +74,10 @@ const inactive = computed(() => {
|
|
|
74
74
|
</script>
|
|
75
75
|
|
|
76
76
|
<style scoped lang="scss">
|
|
77
|
+
|
|
78
|
+
.nav-btn{
|
|
79
|
+
flex-grow: 1;
|
|
80
|
+
}
|
|
77
81
|
.button:first-child {
|
|
78
82
|
aspect-ratio: unset;
|
|
79
83
|
|