@exakt/ui 0.0.60 → 0.0.62
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 +1 -1
- package/dist/runtime/components/e/dialog.vue +14 -4
- package/dist/runtime/components/e/dropdown.vue +15 -4
- package/dist/runtime/components/e/focus-sheet.vue +6 -1
- package/dist/runtime/components/e/input/combo.vue +1 -1
- package/dist/runtime/components/e/input/date.vue +9 -3
- package/dist/runtime/components/e/nav/btn.vue +22 -5
- package/package.json +1 -1
package/dist/module.json
CHANGED
|
@@ -1,12 +1,22 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div>
|
|
3
|
-
<e-focus-sheet
|
|
4
|
-
|
|
3
|
+
<e-focus-sheet
|
|
4
|
+
:model-value="modelValue"
|
|
5
|
+
:opaque-on-desktop="true"
|
|
6
|
+
v-bind="{ dismissable }"
|
|
7
|
+
@update:model-value="emit('update:modelValue', $event)"
|
|
8
|
+
/>
|
|
5
9
|
|
|
6
10
|
<e-tr-scale :multiplier="1.3">
|
|
7
|
-
<div
|
|
11
|
+
<div
|
|
12
|
+
v-if="modelValue"
|
|
13
|
+
class="dialog-wrap flex-center"
|
|
14
|
+
>
|
|
8
15
|
<div class="dialog bg-elev rounded px-6 pe-6 pb-2">
|
|
9
|
-
<div
|
|
16
|
+
<div
|
|
17
|
+
v-if="!!slots.title"
|
|
18
|
+
class="my-4"
|
|
19
|
+
>
|
|
10
20
|
<h2 class="ma-0 pa-0">
|
|
11
21
|
<slot name="title" />
|
|
12
22
|
</h2>
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="flex-stretch t-dropdown">
|
|
3
3
|
<!-- class="flex-stretch fullwidth" -->
|
|
4
|
-
<div
|
|
4
|
+
<div
|
|
5
|
+
ref="activator"
|
|
6
|
+
@click="onActivatorClick"
|
|
7
|
+
>
|
|
5
8
|
<slot />
|
|
6
9
|
</div>
|
|
7
10
|
<e-focus-sheet v-model="visibleComputed" />
|
|
@@ -33,13 +36,20 @@
|
|
|
33
36
|
}"
|
|
34
37
|
@click="select(i)"
|
|
35
38
|
>
|
|
36
|
-
<e-icon
|
|
39
|
+
<e-icon
|
|
40
|
+
v-if="item.icon"
|
|
41
|
+
:size="20"
|
|
42
|
+
class="mr-2"
|
|
43
|
+
>
|
|
37
44
|
{{ item.icon }}
|
|
38
45
|
</e-icon>
|
|
39
46
|
{{ item.name }}
|
|
40
47
|
</e-btn>
|
|
41
48
|
</component>
|
|
42
|
-
<div
|
|
49
|
+
<div
|
|
50
|
+
v-if="hint"
|
|
51
|
+
class="mx-4 my-2 fullwidth text-secondary"
|
|
52
|
+
>
|
|
43
53
|
{{ hint }}
|
|
44
54
|
</div>
|
|
45
55
|
</div>
|
|
@@ -140,7 +150,8 @@ watch(
|
|
|
140
150
|
|
|
141
151
|
if (newList && activatorRect) {
|
|
142
152
|
if (window?.innerWidth < newList.getBoundingClientRect().right) {
|
|
143
|
-
state.x =
|
|
153
|
+
state.x =
|
|
154
|
+
window?.innerWidth - newList.getBoundingClientRect().right - 15;
|
|
144
155
|
}
|
|
145
156
|
}
|
|
146
157
|
},
|
|
@@ -1,7 +1,12 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div>
|
|
3
3
|
<Transition name="fade">
|
|
4
|
-
<div
|
|
4
|
+
<div
|
|
5
|
+
v-if="modelValue"
|
|
6
|
+
class="focus-sheet"
|
|
7
|
+
:class="{ 'opaque-on-desktop': opaqueOnDesktop }"
|
|
8
|
+
@click="dismiss"
|
|
9
|
+
/>
|
|
5
10
|
</Transition>
|
|
6
11
|
</div>
|
|
7
12
|
</template>
|
|
@@ -1,14 +1,20 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div>
|
|
3
|
-
<div
|
|
4
|
-
|
|
3
|
+
<div
|
|
4
|
+
v-if="label"
|
|
5
|
+
class="pb-2"
|
|
6
|
+
>
|
|
7
|
+
<label
|
|
8
|
+
:for="id"
|
|
9
|
+
class="text-secondary"
|
|
10
|
+
>{{ label }}</label>
|
|
5
11
|
</div>
|
|
6
12
|
<input
|
|
7
13
|
:id="id"
|
|
8
14
|
v-model="currentText"
|
|
9
15
|
v-bind="{ required, disabled, type, name }"
|
|
10
16
|
class="py-3 px-4"
|
|
11
|
-
|
|
17
|
+
>
|
|
12
18
|
</div>
|
|
13
19
|
</template>
|
|
14
20
|
<script setup lang="ts">
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<e-undecorated-link
|
|
2
|
+
<e-undecorated-link
|
|
3
|
+
:to="to"
|
|
4
|
+
:class="{ 'grow-on-mobile': responsive }"
|
|
5
|
+
>
|
|
3
6
|
<e-btn
|
|
4
7
|
:solid="true"
|
|
5
8
|
background="transparent"
|
|
@@ -9,13 +12,27 @@
|
|
|
9
12
|
:active="active"
|
|
10
13
|
:button="false"
|
|
11
14
|
>
|
|
12
|
-
<div
|
|
13
|
-
|
|
14
|
-
|
|
15
|
+
<div
|
|
16
|
+
class="content"
|
|
17
|
+
:class="{ responsive }"
|
|
18
|
+
>
|
|
19
|
+
<div
|
|
20
|
+
v-if="icon"
|
|
21
|
+
class="icon-wrapper flex-center"
|
|
22
|
+
:class="{ 'mr-2': label }"
|
|
23
|
+
>
|
|
24
|
+
<e-icon
|
|
25
|
+
class="icon"
|
|
26
|
+
:size="label ? 20 : 25"
|
|
27
|
+
:fill="active"
|
|
28
|
+
>
|
|
15
29
|
{{ icon }}
|
|
16
30
|
</e-icon>
|
|
17
31
|
<transition name="fade">
|
|
18
|
-
<div
|
|
32
|
+
<div
|
|
33
|
+
v-if="alert"
|
|
34
|
+
class="icon-alert"
|
|
35
|
+
/>
|
|
19
36
|
</transition>
|
|
20
37
|
</div>
|
|
21
38
|
<p v-if="label">
|