@exakt/ui 0.0.4 → 0.0.5
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 +39 -16
- package/dist/runtime/components/e/container.vue +9 -11
- 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
|
@@ -12,25 +12,27 @@
|
|
|
12
12
|
</div>
|
|
13
13
|
|
|
14
14
|
<div class="bar-container">
|
|
15
|
-
<e-container
|
|
16
|
-
class="bar-e-container"
|
|
17
|
-
:force-full-width="true"
|
|
18
|
-
>
|
|
15
|
+
<e-container class="bar-e-container" :force-full-width="true">
|
|
19
16
|
<div class="rounded bar">
|
|
20
17
|
<e-progress-linear
|
|
21
18
|
:model-value="props.loading"
|
|
22
19
|
class="md-and-up-only"
|
|
23
20
|
/>
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
<
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
21
|
+
<div class="bar-content">
|
|
22
|
+
|
|
23
|
+
<div class="bar-section">
|
|
24
|
+
<!-- Normally the logo -->
|
|
25
|
+
<div class="md-and-up-only flex-stretch">
|
|
26
|
+
<slot name="center" />
|
|
27
|
+
</div>
|
|
28
|
+
<!-- All the links-->
|
|
29
|
+
<slot name="nav-items" />
|
|
30
|
+
</div>
|
|
31
|
+
|
|
32
|
+
<!-- Normally the sign in button -->
|
|
33
|
+
<div class="md-and-up-only bar-section">
|
|
34
|
+
<slot name="right" class="fullwidth" />
|
|
35
|
+
</div>
|
|
34
36
|
</div>
|
|
35
37
|
</div>
|
|
36
38
|
</e-container>
|
|
@@ -43,7 +45,6 @@ const props = withDefaults(
|
|
|
43
45
|
}>(),
|
|
44
46
|
{ loading: false }
|
|
45
47
|
);
|
|
46
|
-
|
|
47
48
|
</script>
|
|
48
49
|
|
|
49
50
|
<style lang="scss" scoped>
|
|
@@ -76,6 +77,18 @@ const props = withDefaults(
|
|
|
76
77
|
z-index: 4;
|
|
77
78
|
}
|
|
78
79
|
|
|
80
|
+
.bar-content{
|
|
81
|
+
display: flex;
|
|
82
|
+
justify-content: space-between;
|
|
83
|
+
align-items: stretch;
|
|
84
|
+
width: 100%;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.bar-section{
|
|
88
|
+
display:flex;
|
|
89
|
+
align-items: stretch;
|
|
90
|
+
}
|
|
91
|
+
|
|
79
92
|
@media screen and (max-width: ($e-md-screen-breakpoint)) {
|
|
80
93
|
.title-bar {
|
|
81
94
|
display: unset;
|
|
@@ -122,7 +135,17 @@ const props = withDefaults(
|
|
|
122
135
|
width: 100%;
|
|
123
136
|
height: 100%;
|
|
124
137
|
|
|
125
|
-
padding-bottom: calc(env(safe-area-
|
|
138
|
+
padding-bottom: calc(env(safe-area-inset-bottom));
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.bar-content{
|
|
142
|
+
justify-content: stretch;
|
|
143
|
+
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.bar-section{
|
|
147
|
+
justify-content: stretch;
|
|
148
|
+
width: 100%;
|
|
126
149
|
}
|
|
127
150
|
}
|
|
128
151
|
</style>
|
|
@@ -1,12 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div
|
|
3
|
-
class="
|
|
4
|
-
:class="{ 'no-btn-padding': noBtnPadding }"
|
|
5
|
-
>
|
|
6
|
-
<div
|
|
7
|
-
class="content"
|
|
8
|
-
:class="{ forceFullWidth }"
|
|
9
|
-
>
|
|
2
|
+
<div class="container" :class="{ 'no-btn-padding': noBtnPadding }">
|
|
3
|
+
<div class="content" :class="{ forceFullWidth }">
|
|
10
4
|
<slot />
|
|
11
5
|
</div>
|
|
12
6
|
</div>
|
|
@@ -29,11 +23,15 @@ defineProps(["noBtnPadding", "forceFullWidth"]);
|
|
|
29
23
|
$padding: 0rem;
|
|
30
24
|
|
|
31
25
|
@media (min-width: $e-md-screen-breakpoint) {
|
|
32
|
-
width: calc(
|
|
26
|
+
width: calc(100% - $padding);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
@media (min-width: $e-lg-screen-breakpoint) {
|
|
30
|
+
width: calc(95% - $padding);
|
|
33
31
|
}
|
|
34
32
|
|
|
35
|
-
@media (min-width:
|
|
36
|
-
width: calc(
|
|
33
|
+
@media (min-width: $e-xl-screen-breakpoint) {
|
|
34
|
+
width: calc(85% - $padding);
|
|
37
35
|
}
|
|
38
36
|
}
|
|
39
37
|
|
|
@@ -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
|
|