@asd20/ui 3.2.412 → 3.2.415
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
|
@@ -23,13 +23,6 @@
|
|
|
23
23
|
<h2 class="name">{{ event.summary }}</h2>
|
|
24
24
|
</header>
|
|
25
25
|
<Asd20List class="description">
|
|
26
|
-
<Asd20ListItem
|
|
27
|
-
icon="map"
|
|
28
|
-
icon-size="lg"
|
|
29
|
-
v-if="event.location"
|
|
30
|
-
label="Location"
|
|
31
|
-
:description="event.location"
|
|
32
|
-
/>
|
|
33
26
|
<Asd20ListItem
|
|
34
27
|
v-if="time"
|
|
35
28
|
icon="hours-alt"
|
|
@@ -37,6 +30,13 @@
|
|
|
37
30
|
label="Time"
|
|
38
31
|
:description="time"
|
|
39
32
|
/>
|
|
33
|
+
<Asd20ListItem
|
|
34
|
+
icon="map"
|
|
35
|
+
icon-size="lg"
|
|
36
|
+
v-if="event.location"
|
|
37
|
+
label="Location"
|
|
38
|
+
:description="event.location"
|
|
39
|
+
/>
|
|
40
40
|
<Asd20ListItem
|
|
41
41
|
v-if="event.description"
|
|
42
42
|
label="Description"
|
|
@@ -64,7 +64,7 @@ export default {
|
|
|
64
64
|
@include fluid-type($base-font-size * 1.5, $base-font-size * 2);
|
|
65
65
|
color: var(--website-homepage-header__title-color) !important;
|
|
66
66
|
padding-bottom: space(0.25);
|
|
67
|
-
border-bottom: 5px solid var(--
|
|
67
|
+
border-bottom: 5px solid var(--website-homepage-header__accent);
|
|
68
68
|
}
|
|
69
69
|
&::v-deep .asd20-messaging__body-content {
|
|
70
70
|
display: none;
|
|
@@ -7,14 +7,11 @@ const formattedTime = event => {
|
|
|
7
7
|
if (event.allDay) return 'All Day'
|
|
8
8
|
|
|
9
9
|
if (event.multiDay) {
|
|
10
|
-
return `${format(
|
|
11
|
-
parse(event.originalStart),
|
|
12
|
-
'<b>h:mm aa</b>, MMM.#DD,#YYYY'
|
|
13
|
-
)
|
|
10
|
+
return `${format(parse(event.originalStart), '<b>h:mm aa</b>')
|
|
14
11
|
.replace(/#/g, ' ')
|
|
15
12
|
.replace(/:00/g, '')}<br>ending ${format(
|
|
16
13
|
parse(event.end),
|
|
17
|
-
'<b>h:mm aa</b
|
|
14
|
+
'<b>h:mm aa</b>'
|
|
18
15
|
)
|
|
19
16
|
.replace(/#/g, ' ')
|
|
20
17
|
.replace(/:00/g, '')}`
|
|
@@ -25,9 +22,9 @@ const formattedTime = event => {
|
|
|
25
22
|
''
|
|
26
23
|
)}`
|
|
27
24
|
if (event.endTimeUndetermined) {
|
|
28
|
-
time += `${format(parse(event.end)
|
|
25
|
+
time += `${format(parse(event.end)).replace(/:00/g, '')}`
|
|
29
26
|
} else {
|
|
30
|
-
time += ` - ${format(parse(event.end), '<b>h:mm aa</b
|
|
27
|
+
time += ` - ${format(parse(event.end), '<b>h:mm aa</b>')
|
|
31
28
|
.replace(/#/g, ' ')
|
|
32
29
|
.replace(/:00/g, '')}`
|
|
33
30
|
}
|
|
@@ -40,7 +37,7 @@ export default function mapEventToCard(event) {
|
|
|
40
37
|
// subtitle: 'Some subtitle goes here',
|
|
41
38
|
description: event.description,
|
|
42
39
|
categories: event.calendarCategories.concat([event.calendarName]),
|
|
43
|
-
date: format(event.start
|
|
40
|
+
date: format(event.start),
|
|
44
41
|
time: formattedTime(event),
|
|
45
42
|
weekday: event.weekday,
|
|
46
43
|
day: event.day,
|