@asd20/ui 3.2.359 → 3.2.362
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 +1 -1
- package/src/components/atoms/Asd20ThumbnailAvatar/index.vue +2 -2
- package/src/components/molecules/Asd20ListItem/index.vue +1 -1
- package/src/components/organisms/Asd20CampusHeader/index.vue +1 -42
- package/src/components/organisms/Asd20SiteNavigation/index.vue +5 -4
- package/src/components/templates/Asd20BasePageTemplate/index.vue +42 -50
- package/src/components/templates/Asd20DetailTemplate/index.vue +2 -14
- package/src/components/templates/Asd20LoginsTemplate/index.vue +10 -10
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<figure :class="classes" class="asd20-thumbnail-avatar">
|
|
3
|
-
<img :src="thumbnail" :alt="label
|
|
3
|
+
<img :src="thumbnail" :alt="label" />
|
|
4
4
|
</figure>
|
|
5
5
|
</template>
|
|
6
6
|
|
|
@@ -10,7 +10,7 @@ export default {
|
|
|
10
10
|
props: {
|
|
11
11
|
square: { type: Boolean, default: false },
|
|
12
12
|
contain: { type: Boolean, default: false },
|
|
13
|
-
|
|
13
|
+
label: { type: String, default: 'The logo for this link.' },
|
|
14
14
|
thumbnail: {
|
|
15
15
|
type: String,
|
|
16
16
|
default: '',
|
|
@@ -5,47 +5,6 @@
|
|
|
5
5
|
:class="classes"
|
|
6
6
|
role="banner"
|
|
7
7
|
>
|
|
8
|
-
<!-- <div v-if="$slots.top" class="asd20-homepage-header__top">
|
|
9
|
-
<slot name="top" />
|
|
10
|
-
</div> -->
|
|
11
|
-
<!-- <div class="asd20-campus-header__top">
|
|
12
|
-
<asd20-district-logo
|
|
13
|
-
v-show="
|
|
14
|
-
organization.title === 'Academy District 20' &&
|
|
15
|
-
mq !== 'sm' &&
|
|
16
|
-
mq !== 'md'
|
|
17
|
-
"
|
|
18
|
-
></asd20-district-logo>
|
|
19
|
-
<client-only>
|
|
20
|
-
<asd20-logo
|
|
21
|
-
v-if="organization.title !== 'Academy District 20'"
|
|
22
|
-
:title="mapOrganizationTitle"
|
|
23
|
-
:subtitle="mapOrganizationSubtitle"
|
|
24
|
-
:image="organization.logoImageUrl"
|
|
25
|
-
:link="organization.website"
|
|
26
|
-
size="md"
|
|
27
|
-
bordered
|
|
28
|
-
wrappable
|
|
29
|
-
/>
|
|
30
|
-
<asd20-organization-picker
|
|
31
|
-
class="largePicker"
|
|
32
|
-
v-show="organization.title !== 'Academy District 20'"
|
|
33
|
-
:organization-options="organizationOptions"
|
|
34
|
-
:organization="organization"
|
|
35
|
-
></asd20-organization-picker>
|
|
36
|
-
</client-only>
|
|
37
|
-
<client-only>
|
|
38
|
-
<asd20-organization-picker
|
|
39
|
-
class="smallPicker"
|
|
40
|
-
v-show="organization.title !== 'Academy District 20'"
|
|
41
|
-
:organization-options="organizationOptions"
|
|
42
|
-
:organization="organization"
|
|
43
|
-
logoSize="xs"
|
|
44
|
-
></asd20-organization-picker>
|
|
45
|
-
</client-only>
|
|
46
|
-
<slot name="top" />
|
|
47
|
-
</div> -->
|
|
48
|
-
|
|
49
8
|
<div class="asd20-campus-header__top">
|
|
50
9
|
<asd20-district-logo
|
|
51
10
|
v-show="
|
|
@@ -182,7 +141,7 @@ export default {
|
|
|
182
141
|
flex-shrink: 0;
|
|
183
142
|
flex-direction: column;
|
|
184
143
|
box-sizing: border-box;
|
|
185
|
-
margin
|
|
144
|
+
margin: space(1);
|
|
186
145
|
.heading-container {
|
|
187
146
|
margin-bottom: space(1);
|
|
188
147
|
}
|
|
@@ -51,9 +51,8 @@
|
|
|
51
51
|
<transition name="slide">
|
|
52
52
|
<asd20-action-menu
|
|
53
53
|
v-show="
|
|
54
|
-
(menuOpen && (mq === 'sm' || mq === 'md')) ||
|
|
55
|
-
mq === 'lg' ||
|
|
56
|
-
mq === 'xl'
|
|
54
|
+
(menuOpen && (mq === 'sm' || mq === 'md') && isLoaded) ||
|
|
55
|
+
((mq === 'lg' || mq === 'xl') && isLoaded)
|
|
57
56
|
"
|
|
58
57
|
:items="actionItems"
|
|
59
58
|
:active="menuOpen"
|
|
@@ -102,6 +101,7 @@ export default {
|
|
|
102
101
|
data: () => ({
|
|
103
102
|
keyboardTriggeredLastAction: false,
|
|
104
103
|
desktop: false,
|
|
104
|
+
isLoaded: false,
|
|
105
105
|
}),
|
|
106
106
|
watch: {
|
|
107
107
|
menuOpen: function(val) {
|
|
@@ -115,11 +115,12 @@ export default {
|
|
|
115
115
|
computed: {
|
|
116
116
|
// Fallback for vue mediaQuery, in case its not installed globally
|
|
117
117
|
mq() {
|
|
118
|
-
return this.$mq || '
|
|
118
|
+
return this.$mq || 'sm'
|
|
119
119
|
},
|
|
120
120
|
},
|
|
121
121
|
mounted() {
|
|
122
122
|
this.desktop = window.innerWidth >= 1024
|
|
123
|
+
this.isLoaded = true
|
|
123
124
|
},
|
|
124
125
|
methods: {
|
|
125
126
|
onKeyboardToggleEvent(event) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="asd20-template-base">
|
|
3
3
|
<!-- Skip Nav -->
|
|
4
|
-
<asd20-skip-to
|
|
4
|
+
<asd20-skip-to />
|
|
5
5
|
|
|
6
6
|
<!-- Banner Notifications -->
|
|
7
7
|
<client-only>
|
|
@@ -26,17 +26,8 @@
|
|
|
26
26
|
:languageCode="languageCode"
|
|
27
27
|
v-on="$listeners"
|
|
28
28
|
>
|
|
29
|
+
<!-- Floating Notifications -->
|
|
29
30
|
<template slot="top">
|
|
30
|
-
<!-- Status Notifications -->
|
|
31
|
-
<client-only>
|
|
32
|
-
<asd20-notification-group
|
|
33
|
-
:notifications="activeNotificationsByType.status"
|
|
34
|
-
group-type="status"
|
|
35
|
-
@dismiss="$emit('dismiss-notification', $event)"
|
|
36
|
-
@toggle-all="$emit('toggle-all')"
|
|
37
|
-
/>
|
|
38
|
-
</client-only>
|
|
39
|
-
<!-- Floating Notifications -->
|
|
40
31
|
<client-only>
|
|
41
32
|
<asd20-notification-group
|
|
42
33
|
class="asd20-notification-group--floating"
|
|
@@ -63,30 +54,34 @@
|
|
|
63
54
|
>
|
|
64
55
|
</asd20-site-navigation>
|
|
65
56
|
|
|
57
|
+
<!-- Inline-Notifications -->
|
|
58
|
+
<client-only>
|
|
59
|
+
<asd20-notification-group
|
|
60
|
+
:notifications="activeNotificationsByType.inline"
|
|
61
|
+
group-type="inline"
|
|
62
|
+
@dismiss="$emit('dismiss-notification', $event)"
|
|
63
|
+
@toggle-all="$emit('toggle-all')"
|
|
64
|
+
></asd20-notification-group>
|
|
65
|
+
</client-only>
|
|
66
|
+
|
|
66
67
|
<!-- Page Content -->
|
|
67
68
|
<asd20-page-content
|
|
68
69
|
:primary-messages="primaryMessages"
|
|
69
70
|
:secondary-messages="secondaryMessages"
|
|
70
71
|
omit-detail-links
|
|
71
72
|
omit-calls-to-action
|
|
72
|
-
omit-body-content
|
|
73
|
-
grid
|
|
74
73
|
>
|
|
75
|
-
<!--
|
|
76
|
-
<
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
></asd20-notification-group>
|
|
84
|
-
</client-only>
|
|
85
|
-
</template>
|
|
86
|
-
|
|
87
|
-
<slot></slot>
|
|
74
|
+
<!-- Sidebar Widgets -->
|
|
75
|
+
<asd20-widgets-section
|
|
76
|
+
v-if="widgetsSectionProps.sidebar"
|
|
77
|
+
v-bind="widgetsSectionProps.sidebar"
|
|
78
|
+
@events-in-view="$emit('events-in-view')"
|
|
79
|
+
@files-in-view="$emit('files-in-view')"
|
|
80
|
+
@people-in-view="$emit('people-in-view')"
|
|
81
|
+
></asd20-widgets-section>
|
|
88
82
|
</asd20-page-content>
|
|
89
83
|
|
|
84
|
+
<!-- Feeds -->
|
|
90
85
|
<asd20-feeds-section
|
|
91
86
|
:announcements="announcements"
|
|
92
87
|
:announcements-feed-props="announcementsFeedProps"
|
|
@@ -99,27 +94,27 @@
|
|
|
99
94
|
@events-in-view="$emit('events-in-view')"
|
|
100
95
|
></asd20-feeds-section>
|
|
101
96
|
|
|
102
|
-
<!-- Widgets -->
|
|
103
|
-
<
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
"
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
</
|
|
122
|
-
</
|
|
97
|
+
<!-- Bottom Widgets -->
|
|
98
|
+
<asd20-widgets-section
|
|
99
|
+
v-if="widgetsSectionProps.footer || $slots.widgets"
|
|
100
|
+
v-bind="widgetsSectionProps.footer"
|
|
101
|
+
@events-in-view="$emit('events-in-view')"
|
|
102
|
+
@files-in-view="$emit('files-in-view')"
|
|
103
|
+
full
|
|
104
|
+
><slot name="widgets"
|
|
105
|
+
/></asd20-widgets-section>
|
|
106
|
+
|
|
107
|
+
<!-- Inline-Notifications -->
|
|
108
|
+
<template slot="before">
|
|
109
|
+
<client-only>
|
|
110
|
+
<asd20-notification-group
|
|
111
|
+
:notifications="activeNotificationsByType.inline"
|
|
112
|
+
group-type="inline"
|
|
113
|
+
@dismiss="$emit('dismiss-notification', $event)"
|
|
114
|
+
@toggle-all="$emit('toggle-all')"
|
|
115
|
+
></asd20-notification-group>
|
|
116
|
+
</client-only>
|
|
117
|
+
</template>
|
|
123
118
|
|
|
124
119
|
<slot name="before-footer" />
|
|
125
120
|
|
|
@@ -155,8 +150,6 @@ import Asd20PageFooter from '../../../components/organisms/Asd20PageFooter'
|
|
|
155
150
|
import Asd20QuicklinksMenu from '../../../components/organisms/Asd20QuicklinksMenu'
|
|
156
151
|
import Asd20NotificationGroup from '@asd20/notifications-ui/src/components/Asd20NotificationGroup'
|
|
157
152
|
|
|
158
|
-
import Intersect from 'vue-intersect'
|
|
159
|
-
|
|
160
153
|
// Mixins
|
|
161
154
|
import pageTemplateMixin from '../../../mixins/pageTemplateMixin'
|
|
162
155
|
|
|
@@ -173,7 +166,6 @@ export default {
|
|
|
173
166
|
Asd20FeedsSection,
|
|
174
167
|
Asd20NotificationGroup,
|
|
175
168
|
Asd20QuicklinksMenu,
|
|
176
|
-
Intersect,
|
|
177
169
|
},
|
|
178
170
|
}
|
|
179
171
|
</script>
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
@toggle-all="$emit('toggle-all')"
|
|
13
13
|
/>
|
|
14
14
|
</client-only>
|
|
15
|
+
|
|
15
16
|
<!-- Page Header -->
|
|
16
17
|
<asd20-page-header
|
|
17
18
|
id="page-header"
|
|
@@ -52,6 +53,7 @@
|
|
|
52
53
|
:organization-options="organizationOptions"
|
|
53
54
|
>
|
|
54
55
|
</asd20-site-navigation>
|
|
56
|
+
|
|
55
57
|
<!-- Inline-Notifications -->
|
|
56
58
|
<client-only>
|
|
57
59
|
<asd20-notification-group
|
|
@@ -99,20 +101,6 @@
|
|
|
99
101
|
>
|
|
100
102
|
</asd20-media-section>
|
|
101
103
|
|
|
102
|
-
<!-- Bottom Widgets -->
|
|
103
|
-
<!-- <asd20-widgets-section
|
|
104
|
-
v-if="
|
|
105
|
-
widgetsSectionProps.footer ||
|
|
106
|
-
widgetsSectionProps.sidebar ||
|
|
107
|
-
$slots.widgets
|
|
108
|
-
"
|
|
109
|
-
v-bind="{ ...widgetsSectionProps.footer, ...widgetsSectionProps.sidebar }"
|
|
110
|
-
@events-in-view="$emit('events-in-view')"
|
|
111
|
-
@files-in-view="$emit('files-in-view')"
|
|
112
|
-
full
|
|
113
|
-
><slot name="widgets"
|
|
114
|
-
/></asd20-widgets-section> -->
|
|
115
|
-
|
|
116
104
|
<!-- Bottom Widgets -->
|
|
117
105
|
<asd20-widgets-section
|
|
118
106
|
v-if="widgetsSectionProps.footer || $slots.widgets"
|
|
@@ -286,6 +286,12 @@ export default {
|
|
|
286
286
|
flex-shrink: 0;
|
|
287
287
|
overflow: hidden;
|
|
288
288
|
margin-top: space(2.25);
|
|
289
|
+
.asd20-page-header::after {
|
|
290
|
+
left: 0 !important;
|
|
291
|
+
}
|
|
292
|
+
.asd20-page-header {
|
|
293
|
+
margin-bottom: space(0) !important;
|
|
294
|
+
}
|
|
289
295
|
.notification-group--floating {
|
|
290
296
|
position: absolute;
|
|
291
297
|
right: space(0.5);
|
|
@@ -301,9 +307,9 @@ export default {
|
|
|
301
307
|
background-position-y: top;
|
|
302
308
|
padding: space(1) 0;
|
|
303
309
|
}
|
|
304
|
-
.logins-tab-bar {
|
|
305
|
-
|
|
306
|
-
}
|
|
310
|
+
// .logins-tab-bar {
|
|
311
|
+
// padding: space(2) 0 0 0;
|
|
312
|
+
// }
|
|
307
313
|
.logins-list {
|
|
308
314
|
display: flex;
|
|
309
315
|
flex-direction: column;
|
|
@@ -337,12 +343,6 @@ export default {
|
|
|
337
343
|
.notification-group--inline {
|
|
338
344
|
margin: space(2) space(3) space(1) space(3);
|
|
339
345
|
}
|
|
340
|
-
.asd20-page-header {
|
|
341
|
-
margin-bottom: space(0);
|
|
342
|
-
}
|
|
343
|
-
.asd20-page-header::after {
|
|
344
|
-
left: 0;
|
|
345
|
-
}
|
|
346
346
|
.asd20-page-content {
|
|
347
347
|
margin-top: space(1);
|
|
348
348
|
}
|
|
@@ -350,7 +350,7 @@ export default {
|
|
|
350
350
|
padding: space(3);
|
|
351
351
|
}
|
|
352
352
|
.logins-tab-bar {
|
|
353
|
-
padding: space(1) space(2) 0 space(3);
|
|
353
|
+
padding: space(1) space(2) 0 space(3) !important;
|
|
354
354
|
}
|
|
355
355
|
.logins-list {
|
|
356
356
|
padding: space(1) space(3);
|