@asd20/ui 3.2.409 → 3.2.412
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/package.json
CHANGED
|
@@ -10,18 +10,19 @@
|
|
|
10
10
|
class="asd20-event-modal"
|
|
11
11
|
@dismiss="$emit('dismiss')"
|
|
12
12
|
:style="{ '--accent-color': event.calendarColor }"
|
|
13
|
+
v-scroll-lock="open"
|
|
13
14
|
>
|
|
14
|
-
<
|
|
15
|
-
<
|
|
16
|
-
<div class="
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
<Asd20List>
|
|
15
|
+
<Asd20Viewport tabindex="0" class="asd20-event-modal__details" scrollable>
|
|
16
|
+
<header class="asd20-event-modal__header">
|
|
17
|
+
<div class="asd20-event-modal__date">
|
|
18
|
+
<div class="top">{{ event.weekday }}</div>
|
|
19
|
+
<div class="middle">{{ event.day }}</div>
|
|
20
|
+
<div class="bottom">{{ event.month }}</div>
|
|
21
|
+
<small>{{ event.year }}</small>
|
|
22
|
+
</div>
|
|
23
|
+
<h2 class="name">{{ event.summary }}</h2>
|
|
24
|
+
</header>
|
|
25
|
+
<Asd20List class="description">
|
|
25
26
|
<Asd20ListItem
|
|
26
27
|
icon="map"
|
|
27
28
|
icon-size="lg"
|
|
@@ -56,6 +57,8 @@
|
|
|
56
57
|
|
|
57
58
|
<script>
|
|
58
59
|
// import parse from 'date-fns/parse'
|
|
60
|
+
import Vue from 'vue'
|
|
61
|
+
|
|
59
62
|
import { truncate } from 'lodash-es'
|
|
60
63
|
import { format, parse } from 'date-fns'
|
|
61
64
|
import Asd20Modal from '../../molecules/Asd20Modal'
|
|
@@ -63,6 +66,8 @@ import Asd20Tag from '../../atoms/Asd20Tag'
|
|
|
63
66
|
import Asd20List from '../../organisms/Asd20List'
|
|
64
67
|
import Asd20ListItem from '../../molecules/Asd20ListItem'
|
|
65
68
|
import Asd20Viewport from '../../atoms/Asd20Viewport'
|
|
69
|
+
import VScrollLock from 'v-scroll-lock'
|
|
70
|
+
Vue.use(VScrollLock)
|
|
66
71
|
|
|
67
72
|
export default {
|
|
68
73
|
name: 'Asd20EventModal',
|
|
@@ -193,11 +198,13 @@ export default {
|
|
|
193
198
|
}
|
|
194
199
|
}
|
|
195
200
|
&__details {
|
|
196
|
-
padding: space(1);
|
|
197
201
|
}
|
|
202
|
+
.description,
|
|
198
203
|
.tags {
|
|
199
204
|
display: flex;
|
|
200
|
-
width: 100%;
|
|
205
|
+
max-width: 100%;
|
|
206
|
+
padding: space(1);
|
|
207
|
+
|
|
201
208
|
* {
|
|
202
209
|
margin-right: space(0.125);
|
|
203
210
|
margin-bottom: space(0.125);
|
|
@@ -231,7 +238,6 @@ export default {
|
|
|
231
238
|
}
|
|
232
239
|
}
|
|
233
240
|
&__details {
|
|
234
|
-
padding: space(2);
|
|
235
241
|
}
|
|
236
242
|
}
|
|
237
243
|
}
|
|
@@ -120,12 +120,12 @@ export default {
|
|
|
120
120
|
width: 80%;
|
|
121
121
|
.header-messaging-section {
|
|
122
122
|
border-bottom: none;
|
|
123
|
-
width: 80%;
|
|
123
|
+
// width: 80%;
|
|
124
124
|
&::v-deep .asd20-messaging {
|
|
125
125
|
padding: space(1);
|
|
126
126
|
margin-left: space(2);
|
|
127
127
|
.asd20-messaging__content {
|
|
128
|
-
max-width: 80%;
|
|
128
|
+
// max-width: 80%;
|
|
129
129
|
}
|
|
130
130
|
.asd20-messaging__heading {
|
|
131
131
|
@include fluid-type($base-font-size * 1.5, $base-font-size * 2);
|
|
@@ -137,7 +137,7 @@ export default {
|
|
|
137
137
|
content: '';
|
|
138
138
|
display: block;
|
|
139
139
|
position: absolute;
|
|
140
|
-
width:
|
|
140
|
+
width: 75%;
|
|
141
141
|
bottom: space(-.75);
|
|
142
142
|
left: space(1.25);
|
|
143
143
|
height: 60%;
|
|
@@ -174,6 +174,7 @@ export default {
|
|
|
174
174
|
);
|
|
175
175
|
flex-direction: row;
|
|
176
176
|
width: inherit;
|
|
177
|
+
border: none;
|
|
177
178
|
}
|
|
178
179
|
}
|
|
179
180
|
}
|