@asd20/ui 3.2.752 → 3.2.754

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
@@ -5,7 +5,7 @@
5
5
  "*.scss",
6
6
  "*.vue"
7
7
  ],
8
- "version": "3.2.752",
8
+ "version": "3.2.754",
9
9
  "private": false,
10
10
  "license": "MIT",
11
11
  "repository": {
@@ -97,183 +97,152 @@
97
97
  </asd20-page-content>
98
98
 
99
99
  <div class="asd20-school-details">
100
- <asd20-viewport scrollable>
101
- <asd20-page-header v-bind="pageHeaderContent" />
102
-
103
- <main class="asd20-school-details__body">
104
- <section class="asd20-contact">
105
- <!-- <h2>Contact</h2> -->
106
- <div class="button-group ">
107
- <asd20-button
108
- :link="'tel:' + organization.phone"
109
- :label="organization.phone"
110
- icon="phone"
111
- size="md"
112
- />
113
- <asd20-button
114
- :link="organization.website"
115
- target="_blank"
116
- label="Website"
117
- icon="website"
118
- size="md"
119
- />
120
- <asd20-button
121
- :link="
122
- `https://www.google.com/maps/search/?api=1&query=${organization.address.street1}&origin_place_id=${organization.name}`
123
- "
124
- target="_blank"
125
- label="Directions"
126
- icon="directions"
127
- size="md"
128
- />
129
- </div>
130
- </section>
131
- <section class="asd20-school-details__primary-content">
132
- <!-- <asd20-open-seats
100
+ <section class="asd20-school-details__primary-content">
101
+ <!-- <asd20-open-seats
133
102
  :seats="openSeats"
134
103
  class="asd20-school-details__open-seats"/> -->
135
104
 
136
- <div
137
- v-if="organization.administrators[0].lastName"
138
- class="asd20-school-details__leadership primary-section"
139
- >
140
- <asd20-list
141
- headline="Leadership"
142
- condensed
143
- align-top
144
- icon="committee"
145
- />
146
- <!-- <h2 v-if="organization.administrators[0].lastName">Leadership</h2> -->
147
- <h3>
148
- <b>
149
- {{ organization.administrators[0].firstName }}
150
- {{ organization.administrators[0].lastName }}
151
- <br />
152
- <small v-if="organization.administrators[0].lastName"
153
- >Principal/Administrator</small
154
- >
155
- </b>
156
- </h3>
157
-
158
- <asd20-list>
159
- <asd20-list-item
160
- v-if="organization.administrators[0].email"
161
- :description="organization.administrators[0].email"
162
- condensed
163
- align-top
164
- icon="email"
165
- />
166
- <asd20-list-item
167
- v-if="organization.administrators[0].phone"
168
- :description="organization.administrators[0].phone"
169
- condensed
170
- align-top
171
- icon="phone-alt"
172
- />
173
- </asd20-list>
174
- </div>
175
-
176
- <asd20-list
177
- v-if="organization.yearFounded || organization.enrollment"
178
- :items="organization.numbersListItems"
179
- class="asd20-school-details__numbers primary-section"
180
- headline="By the Numbers"
181
- icon="info"
182
- >
183
- <asd20-list-item
184
- v-if="organization.educationLevels"
185
- label="Offered at This School"
186
- :description="getGradeRange"
187
- condensed
188
- align-top
189
- icon=""
190
- />
191
- <asd20-list-item
192
- v-if="organization.yearFounded"
193
- label="Year Founded"
194
- :description="organization.yearFounded.toString()"
195
- condensed
196
- align-top
197
- icon=""
198
- />
199
- <asd20-list-item
200
- v-if="organization.enrollment"
201
- label="Enrollment"
202
- :description="organization.enrollment.toString()"
203
- condensed
204
- align-top
205
- icon=""
206
- />
207
- </asd20-list>
208
-
209
- <asd20-list
210
- v-if="organization.feederOrganizations.length > 0"
211
- :items="
212
- organization.feederOrganizations.map(l => ({
213
- label: l,
214
- condensed: true,
215
- }))
216
- "
217
- class="asd20-school-details__feeder-schools primary-section"
218
- headline="Feeder Schools"
219
- icon="school"
220
- />
221
-
222
- <asd20-list
223
- v-if="organization.uniqueOfferings.length > 0"
224
- :items="
225
- organization.uniqueOfferings
226
- .map(u => ({
227
- label: u,
228
- alignTop: true,
229
- checked: true,
230
- condensed: true,
231
- }))
232
- .sort((a, b) =>
233
- a.label > b.label ? 1 : b.label > a.label ? -1 : 0
234
- )
235
- "
236
- class="asd20-school-details__unique-offerings primary-section"
237
- headline="Unique Offerings"
238
- icon="group"
239
- />
240
-
241
- <asd20-list
242
- v-if="organization.awardsHonors.length > 0"
243
- :items="
244
- organization.awardsHonors
245
- .map(a => ({
246
- label: a,
247
- alignTop: true,
248
- checked: true,
249
- condensed: true,
250
- }))
251
- .sort((a, b) =>
252
- a.label > b.label ? 1 : b.label > a.label ? -1 : 0
253
- )
254
- "
255
- class="asd20-school-details__awards-honors primary-section"
256
- icon="award"
257
- headline="Awards &amp; Honors"
105
+ <div
106
+ v-if="organization.administrators[0].lastName"
107
+ class="asd20-school-details__leadership primary-section"
108
+ >
109
+ <asd20-list
110
+ headline="Leadership"
111
+ condensed
112
+ align-top
113
+ icon="committee"
114
+ />
115
+ <!-- <h2 v-if="organization.administrators[0].lastName">Leadership</h2> -->
116
+ <h3>
117
+ <b>
118
+ {{ organization.administrators[0].firstName }}
119
+ {{ organization.administrators[0].lastName }}
120
+ <br />
121
+ <small v-if="organization.administrators[0].lastName"
122
+ >Principal/Administrator</small
123
+ >
124
+ </b>
125
+ </h3>
126
+
127
+ <asd20-list>
128
+ <asd20-list-item
129
+ v-if="organization.administrators[0].email"
130
+ :description="organization.administrators[0].email"
131
+ condensed
132
+ align-top
133
+ icon="email"
258
134
  />
259
-
260
- <asd20-list
261
- v-if="organization.educationLevels.indexOf('Preschool') > -1"
262
- :items="[
263
- {
264
- alignTop: true,
265
- checked: true,
266
- condensed: true,
267
- description:
268
- '<a href=https://www.asd20.org/preschool>Learn more and apply.</a>',
269
- },
270
- ]"
271
- class="asd20-school-details__unique-offerings primary-section"
272
- headline="Preschool Offered"
273
- icon="bell"
135
+ <asd20-list-item
136
+ v-if="organization.administrators[0].phone"
137
+ :description="organization.administrators[0].phone"
138
+ condensed
139
+ align-top
140
+ icon="phone-alt"
274
141
  />
275
-
276
- <!-- <asd20-list
142
+ </asd20-list>
143
+ </div>
144
+
145
+ <asd20-list
146
+ v-if="organization.yearFounded || organization.enrollment"
147
+ :items="organization.numbersListItems"
148
+ class="asd20-school-details__numbers primary-section"
149
+ headline="By the Numbers"
150
+ icon="info"
151
+ >
152
+ <asd20-list-item
153
+ v-if="organization.educationLevels"
154
+ label="Offered at This School"
155
+ :description="getGradeRange"
156
+ condensed
157
+ align-top
158
+ icon=""
159
+ />
160
+ <asd20-list-item
161
+ v-if="organization.yearFounded"
162
+ label="Year Founded"
163
+ :description="organization.yearFounded.toString()"
164
+ condensed
165
+ align-top
166
+ icon=""
167
+ />
168
+ <asd20-list-item
169
+ v-if="organization.enrollment"
170
+ label="Enrollment"
171
+ :description="organization.enrollment.toString()"
172
+ condensed
173
+ align-top
174
+ icon=""
175
+ />
176
+ </asd20-list>
177
+
178
+ <asd20-list
179
+ v-if="organization.feederOrganizations.length > 0"
180
+ :items="
181
+ organization.feederOrganizations.map(l => ({
182
+ label: l,
183
+ condensed: true,
184
+ }))
185
+ "
186
+ class="asd20-school-details__feeder-schools primary-section"
187
+ headline="Feeder Schools"
188
+ icon="school"
189
+ />
190
+
191
+ <asd20-list
192
+ v-if="organization.uniqueOfferings.length > 0"
193
+ :items="
194
+ organization.uniqueOfferings
195
+ .map(u => ({
196
+ label: u,
197
+ alignTop: true,
198
+ checked: true,
199
+ condensed: true,
200
+ }))
201
+ .sort((a, b) =>
202
+ a.label > b.label ? 1 : b.label > a.label ? -1 : 0
203
+ )
204
+ "
205
+ class="asd20-school-details__unique-offerings primary-section"
206
+ headline="Unique Offerings"
207
+ icon="group"
208
+ />
209
+
210
+ <asd20-list
211
+ v-if="organization.awardsHonors.length > 0"
212
+ :items="
213
+ organization.awardsHonors
214
+ .map(a => ({
215
+ label: a,
216
+ alignTop: true,
217
+ checked: true,
218
+ condensed: true,
219
+ }))
220
+ .sort((a, b) =>
221
+ a.label > b.label ? 1 : b.label > a.label ? -1 : 0
222
+ )
223
+ "
224
+ class="asd20-school-details__awards-honors primary-section"
225
+ icon="award"
226
+ headline="Awards &amp; Honors"
227
+ />
228
+
229
+ <asd20-list
230
+ v-if="organization.educationLevels.indexOf('Preschool') > -1"
231
+ :items="[
232
+ {
233
+ alignTop: true,
234
+ checked: true,
235
+ condensed: true,
236
+ description:
237
+ '<a href=https://www.asd20.org/preschool>Learn more and apply.</a>',
238
+ },
239
+ ]"
240
+ class="asd20-school-details__unique-offerings primary-section"
241
+ headline="Preschool Offered"
242
+ icon="bell"
243
+ />
244
+
245
+ <!-- <asd20-list
277
246
  v-if="organization.awardsHonorsListItems.length > 0"
278
247
  :items="organization.awardsHonorsListItems"
279
248
  class="asd20-school-details__awards-honors"
@@ -296,35 +265,33 @@
296
265
  headline="Preschool Offered"
297
266
  icon="bell"
298
267
  /> -->
299
- </section>
300
-
301
- <section class="asd20-school-details__secondary-content">
302
- <asd20-list
303
- v-if="academicsListItems.length > 0"
304
- :items="academicsListItems"
305
- class="asd20-school-details__academics-offerings"
306
- headline="Academics Offerings"
307
- icon="library"
308
- />
309
- <div class="otherOfferings">
310
- <asd20-list
311
- v-if="artsListItems.length > 0"
312
- :items="artsListItems"
313
- class="asd20-school-details__arts-offerings"
314
- headline="Arts Offerings"
315
- icon="arts"
316
- />
317
- <asd20-list
318
- v-if="athleticsListItems.length > 0"
319
- :items="athleticsListItems"
320
- class="asd20-school-details__athletics-offerings"
321
- headline="Athletics Offerings"
322
- icon="athletics"
323
- />
324
- </div>
325
- </section>
326
- </main>
327
- </asd20-viewport>
268
+ </section>
269
+
270
+ <section class="asd20-school-details__secondary-content">
271
+ <asd20-list
272
+ v-if="academicsListItems.length > 0"
273
+ :items="academicsListItems"
274
+ class="asd20-school-details__academics-offerings"
275
+ headline="Academics Offerings"
276
+ icon="library"
277
+ />
278
+ <div class="otherOfferings">
279
+ <asd20-list
280
+ v-if="artsListItems.length > 0"
281
+ :items="artsListItems"
282
+ class="asd20-school-details__arts-offerings"
283
+ headline="Arts Offerings"
284
+ icon="arts"
285
+ />
286
+ <asd20-list
287
+ v-if="athleticsListItems.length > 0"
288
+ :items="athleticsListItems"
289
+ class="asd20-school-details__athletics-offerings"
290
+ headline="Athletics Offerings"
291
+ icon="athletics"
292
+ />
293
+ </div>
294
+ </section>
328
295
  </div>
329
296
 
330
297
  <!-- Feeds -->
@@ -751,12 +718,48 @@ export default {
751
718
  }
752
719
  }
753
720
  }
754
- .hide-on-desktop {
755
- display: none !important;
756
- }
757
721
  }
758
722
 
759
723
  @media (min-width: 1024px) {
724
+ .asd20-template-profile {
725
+ @include template-desktop;
726
+ margin-left: space(3);
727
+ margin-top: 0;
728
+ .asd20-notification-group--floating {
729
+ position: absolute;
730
+ top: space(1);
731
+ // .bell {
732
+ // span {
733
+ // background: var(--color__accent);
734
+ // top: -0.6em !important;
735
+ // right: -0.6em !important;
736
+ // }
737
+ // }
738
+ }
739
+ .notification-group--inline {
740
+ margin: space(2) space(3) space(1) space(3);
741
+ }
742
+
743
+ .asd20-page-content {
744
+ // margin-top: space(1);
745
+ display: flex;
746
+ justify-content: space-between;
747
+ align-items: stretch;
748
+ flex-wrap: wrap;
749
+ .asd20-widgets-section {
750
+ flex-basis: 30%;
751
+ padding: space(2) space(2) 0 0;
752
+ background: none;
753
+ }
754
+ }
755
+ .notification-group--inline {
756
+ flex-basis: 100%;
757
+ margin-bottom: 0 !important;
758
+ }
759
+ .primary-messaging-section {
760
+ max-width: 50vw;
761
+ }
762
+ }
760
763
  .asd20-school-details {
761
764
  &__primary-content {
762
765
  padding: space(2);