@asd20/ui 3.2.995 → 3.2.996
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/Asd20Icon/index.stories.js +3 -0
- package/src/components/atoms/icons/Asd20AccessibilitySvg.vue +35 -8
- package/src/components/atoms/icons/Asd20AlertSvg.vue +31 -1
- package/src/components/atoms/icons/Asd20ArtsSvg.vue +38 -21
- package/src/components/atoms/icons/Asd20AthleticsSvg.vue +42 -1
- package/src/components/atoms/icons/Asd20AwardSvg.vue +31 -1
- package/src/components/atoms/icons/Asd20BellSvg.vue +32 -1
- package/src/components/atoms/icons/Asd20BusSvg.vue +45 -1
- package/src/components/atoms/icons/Asd20CalendarAltSvg.vue +40 -1
- package/src/components/atoms/icons/Asd20CalendarSvg.vue +38 -1
- package/src/components/atoms/icons/Asd20CommitteeSvg.vue +55 -1
- package/src/components/atoms/icons/Asd20ContactSvg.vue +27 -0
- package/src/components/atoms/icons/Asd20CoraSvg.vue +90 -1
- package/src/components/atoms/icons/Asd20DirectionsSvg.vue +37 -1
- package/src/components/atoms/icons/Asd20DirectorySvg.vue +46 -2
- package/src/components/atoms/icons/Asd20EmailSvg.vue +13 -1
- package/src/components/atoms/icons/Asd20ExternalSvg.vue +14 -1
- package/src/components/atoms/icons/Asd20FileSvg.vue +11 -2
- package/src/components/atoms/icons/Asd20FilesSvg.vue +36 -1
- package/src/components/atoms/icons/Asd20FinanceSvg.vue +44 -1
- package/src/components/atoms/icons/Asd20FoodSvg.vue +17 -1
- package/src/components/atoms/icons/Asd20GallerySvg.vue +55 -1
- package/src/components/atoms/icons/Asd20GroupSvg.vue +39 -1
- package/src/components/atoms/icons/Asd20HoursSvg.vue +31 -1
- package/src/components/atoms/icons/Asd20InfoAltSvg.vue +21 -0
- package/src/components/atoms/icons/Asd20InfoSvg.vue +31 -1
- package/src/components/atoms/icons/Asd20IxSvg.vue +48 -1
- package/src/components/atoms/icons/Asd20JobsSvg.vue +33 -1
- package/src/components/atoms/icons/Asd20LibrarySvg.vue +63 -1
- package/src/components/atoms/icons/Asd20LinkSvg.vue +34 -0
- package/src/components/atoms/icons/Asd20ListSvg.vue +9 -5
- package/src/components/atoms/icons/Asd20LoginSvg.vue +35 -1
- package/src/components/atoms/icons/Asd20PersonalizeSvg.vue +36 -1
- package/src/components/atoms/icons/Asd20PhoneAltSvg.vue +32 -1
- package/src/components/atoms/icons/Asd20PhoneSvg.vue +42 -1
- package/src/components/atoms/icons/Asd20PrinterSvg.vue +109 -1
- package/src/components/atoms/icons/Asd20RegisterSvg.vue +55 -1
- package/src/components/atoms/icons/Asd20SchoolSvg.vue +49 -1
- package/src/components/atoms/icons/Asd20SchoologySvg.vue +15 -1
- package/src/components/atoms/icons/Asd20ShareAltSvg.vue +38 -24
- package/src/components/atoms/icons/Asd20ShareSvg.vue +29 -1
- package/src/components/atoms/icons/Asd20StaffSvg.vue +98 -1
- package/src/components/atoms/icons/Asd20TechnologySvg.vue +41 -23
- package/src/components/atoms/icons/Asd20TranslateSvg.vue +65 -1
- package/src/components/atoms/icons/Asd20TwitterSvg.vue +1 -1
- package/src/components/atoms/icons/Asd20VendorsSvg.vue +35 -1
- package/src/components/atoms/icons/Asd20VideoSvg.vue +37 -1
- package/src/components/atoms/icons/Asd20WeatherSnowSvg.vue +53 -1
- package/src/components/atoms/icons/Asd20WeatherSunSvg.vue +99 -1
- package/src/components/atoms/icons/Asd20WebsiteSvg.vue +37 -1
- package/src/components/molecules/Asd20DepartmentContactCard/index.vue +3 -3
- package/src/components/organisms/Asd20NotificationGroup/index.vue +10 -31
- package/src/components/organisms/Asd20WidgetsSection/index.vue +2 -0
- package/src/design/tokens.css +21 -21
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<template>
|
|
1
|
+
<!-- <template>
|
|
2
2
|
<g>
|
|
3
3
|
<path class="fill" d="M6 10v16h20V10zm10 14a6 6 0 1 1 6-6 6 6 0 0 1-6 6z" />
|
|
4
4
|
<path
|
|
@@ -12,4 +12,40 @@
|
|
|
12
12
|
d="M6 6h1v1H6zM8 6h1v1H8zM10 6h1v1h-1zM16 24.5A6.5 6.5 0 1 0 9.5 18a6.51 6.51 0 0 0 6.5 6.5zm0-1c-.73 0-1.5-1.09-1.92-2.82h3.84c-.42 1.73-1.19 2.82-1.92 2.82zm-2.1-3.82a10.92 10.92 0 0 1 0-3.36h4.2a10.92 10.92 0 0 1 0 3.36zM18 23.1a7.6 7.6 0 0 0 1-2.42h1.8A5.53 5.53 0 0 1 18 23.1zm3.5-5.1a5.19 5.19 0 0 1-.27 1.68h-2.11a12.88 12.88 0 0 0 0-3.36h2.11A5.19 5.19 0 0 1 21.5 18zm-.7-2.68H19a7.6 7.6 0 0 0-1-2.42 5.53 5.53 0 0 1 2.8 2.42zM16 12.5c.73 0 1.5 1.09 1.92 2.82h-3.84c.42-1.73 1.19-2.82 1.92-2.82zm-2 .4a7.6 7.6 0 0 0-1 2.42h-1.8A5.53 5.53 0 0 1 14 12.9zM10.5 18a5.19 5.19 0 0 1 .27-1.68h2.11a12.88 12.88 0 0 0 0 3.36h-2.11A5.19 5.19 0 0 1 10.5 18zm2.5 2.68a7.6 7.6 0 0 0 1 2.42 5.53 5.53 0 0 1-2.76-2.42z"
|
|
13
13
|
/>
|
|
14
14
|
</g>
|
|
15
|
+
</template> -->
|
|
16
|
+
|
|
17
|
+
<template>
|
|
18
|
+
<g
|
|
19
|
+
viewBox="0 0 32 40"
|
|
20
|
+
width="128"
|
|
21
|
+
height="160"
|
|
22
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
23
|
+
>
|
|
24
|
+
<!-- 3/4 Circle outline (open at bottom) -->
|
|
25
|
+
<path
|
|
26
|
+
d="M6 28 a15 15 0 1 1 20 0"
|
|
27
|
+
fill="none"
|
|
28
|
+
class="line"
|
|
29
|
+
stroke="currentColor"
|
|
30
|
+
stroke-width="2"
|
|
31
|
+
stroke-linecap="round"
|
|
32
|
+
/>
|
|
33
|
+
<!-- Browser window (rounded rectangle, outline color) -->
|
|
34
|
+
<rect x="7" y="9" width="18" height="15" rx="2.5" class="line" fill="currentColor"/>
|
|
35
|
+
<!-- Toolbar (top bar, cutout from window, background shows through) -->
|
|
36
|
+
<rect x="7.8" y="10" width="16.4" height="3" rx="1.2" fill="#fff"/>
|
|
37
|
+
<!-- Toolbar circles (left) -->
|
|
38
|
+
<circle cx="9.6" cy="11.7" r="0.55" class="line" fill="currentColor"/>
|
|
39
|
+
<circle cx="11.2" cy="11.7" r="0.55" class="line" fill="currentColor"/>
|
|
40
|
+
<circle cx="12.8" cy="11.7" r="0.55" class="line" fill="currentColor"/>
|
|
41
|
+
<!-- Toolbar right bar -->
|
|
42
|
+
<rect x="16.7" y="11.1" width="5.1" height="1.1" rx="0.5" class="line" fill="currentColor"/>
|
|
43
|
+
<!-- Sidebar rectangle (fill color, like a page preview) -->
|
|
44
|
+
<rect x="10" y="15" width="3" height="6" rx="1" class="fill"/>
|
|
45
|
+
<!-- Three horizontal lines (fill color, like page content) -->
|
|
46
|
+
<rect x="15" y="15.7" width="7" height="1.3" rx="0.6" class="fill"/>
|
|
47
|
+
<rect x="15" y="18.4" width="7" height="1.3" rx="0.6" class="fill"/>
|
|
48
|
+
<rect x="15" y="21.1" width="7" height="1.3" rx="0.6" class="fill"/>
|
|
49
|
+
</g>
|
|
15
50
|
</template>
|
|
51
|
+
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
<p v-show="group.description">{{ group.description }}</p>
|
|
11
11
|
</div>
|
|
12
12
|
<asd20-list
|
|
13
|
-
icon="
|
|
13
|
+
icon="group"
|
|
14
14
|
:headline="expanded ? 'Contact Information' : group.title"
|
|
15
15
|
>
|
|
16
16
|
<Asd20ListItem
|
|
@@ -68,7 +68,7 @@ export default {
|
|
|
68
68
|
if (this.group.description) {
|
|
69
69
|
items.push({
|
|
70
70
|
...baseItemProps,
|
|
71
|
-
icon: 'info',
|
|
71
|
+
icon: 'info-alt',
|
|
72
72
|
label: 'Overview',
|
|
73
73
|
description: this.group.description,
|
|
74
74
|
})
|
|
@@ -79,7 +79,7 @@ export default {
|
|
|
79
79
|
if (this.group.contactName) {
|
|
80
80
|
items.push({
|
|
81
81
|
...baseItemProps,
|
|
82
|
-
icon: '
|
|
82
|
+
icon: 'contact',
|
|
83
83
|
label: 'Contact',
|
|
84
84
|
description: this.group.contactName,
|
|
85
85
|
})
|
|
@@ -29,41 +29,20 @@
|
|
|
29
29
|
</transition-group>
|
|
30
30
|
</transition>
|
|
31
31
|
|
|
32
|
-
<button
|
|
32
|
+
<asd20-button
|
|
33
33
|
v-if="groupType === 'floating'"
|
|
34
|
-
class="bell"
|
|
34
|
+
class="bell"
|
|
35
|
+
icon="bell"
|
|
35
36
|
:class="{ open: open }"
|
|
36
37
|
:title="
|
|
37
38
|
totalDismissedNotifications
|
|
38
39
|
? 'Dismiss all notifications'
|
|
39
40
|
: 'Show all notifications'
|
|
40
41
|
"
|
|
41
|
-
@click="$emit('toggle-all')"
|
|
42
|
-
|
|
43
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
44
|
-
viewBox="0 0 32 32"
|
|
45
|
-
aria-hidden="true"
|
|
46
|
-
role
|
|
47
|
-
>
|
|
48
|
-
<g>
|
|
49
|
-
<path
|
|
50
|
-
d="M16 7a6 6 0 0 1 6 6v7H10v-7a6 6 0 0 1 6-6z"
|
|
51
|
-
class="fill"
|
|
52
|
-
></path>
|
|
53
|
-
<path
|
|
54
|
-
fill="currentColor"
|
|
55
|
-
d="M16 4a1 1 0 0 1 1 1v1l.75.19A7 7 0 0 1 23 13v9h1v2H8v-2h1v-9a7 7 0 0 1 5.25-6.77L15 6V5a1 1 0 0 1 1-1m0-1a2 2 0 0 0-2 2v.26A8 8 0 0 0 8 13v8H7v4h18v-4h-1v-8a8 8 0 0 0-6-7.74V5a2 2 0 0 0-2-2z"
|
|
56
|
-
class="line"
|
|
57
|
-
></path>
|
|
58
|
-
<path
|
|
59
|
-
fill="currentColor"
|
|
60
|
-
d="M8 21h16v1H8zM18 24a4 4 0 0 1-8 0z"
|
|
61
|
-
class="line"
|
|
62
|
-
></path>
|
|
63
|
-
</g>
|
|
64
|
-
</svg>
|
|
42
|
+
@click="$emit('toggle-all')"
|
|
43
|
+
>
|
|
65
44
|
<span v-if="totalDismissedNotifications > 0" aria-hidden="true">{{ totalDismissedNotifications }}</span>
|
|
66
|
-
</button>
|
|
45
|
+
</asd20-button>
|
|
67
46
|
|
|
68
47
|
<div
|
|
69
48
|
v-if="showControls && notificationsFromIndex.length > 1"
|
|
@@ -99,12 +78,13 @@
|
|
|
99
78
|
</template>
|
|
100
79
|
|
|
101
80
|
<script>
|
|
81
|
+
import Asd20Button from '../../atoms/Asd20Button'
|
|
102
82
|
import Asd20Notification from '../../molecules/Asd20Notification'
|
|
103
83
|
|
|
104
84
|
export default {
|
|
105
85
|
name: 'asd20-notification-group',
|
|
106
86
|
|
|
107
|
-
components: { Asd20Notification },
|
|
87
|
+
components: { Asd20Button, Asd20Notification },
|
|
108
88
|
|
|
109
89
|
props: {
|
|
110
90
|
groupType: { type: String, default: 'default' },
|
|
@@ -288,15 +268,14 @@ export default {
|
|
|
288
268
|
position: relative;
|
|
289
269
|
appearance: none;
|
|
290
270
|
border: none;
|
|
291
|
-
|
|
292
|
-
height: 2rem;
|
|
271
|
+
padding: 0.25rem;
|
|
293
272
|
display: flex;
|
|
294
273
|
justify-content: center;
|
|
295
274
|
align-items: center;
|
|
296
275
|
background: #ffffff;
|
|
297
276
|
color: #000000;
|
|
298
277
|
font-size: 0.375rem;
|
|
299
|
-
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.0625);
|
|
278
|
+
// box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.0625);
|
|
300
279
|
border-radius: 50%;
|
|
301
280
|
z-index: 99;
|
|
302
281
|
cursor: pointer;
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
v-if="relatedPages"
|
|
14
14
|
class="relatedPages"
|
|
15
15
|
:links="relatedPages"
|
|
16
|
+
icon="website"
|
|
16
17
|
v-bind="relatedPagesProps"
|
|
17
18
|
:multi-column="full"
|
|
18
19
|
max-height="400px"
|
|
@@ -22,6 +23,7 @@
|
|
|
22
23
|
v-if="relatedLinks"
|
|
23
24
|
class="relatedLinks"
|
|
24
25
|
:links="relatedLinks"
|
|
26
|
+
icon="link"
|
|
25
27
|
v-bind="relatedLinksProps"
|
|
26
28
|
:multi-column="full"
|
|
27
29
|
:max-height="relatedLinks.length > 20 ? '800px' : '400px'"
|
package/src/design/tokens.css
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
:root {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
2
|
+
--color__accent-s100: #000000; /* 100% black */
|
|
3
|
+
--color__accent-s90: #101b2a; /* 90% black + 10% accent */
|
|
4
|
+
--color__accent-s80: #203855; /* 80% black + 20% accent */
|
|
5
|
+
--color__accent-s70: #305580; /* 70% black + 30% accent */
|
|
6
|
+
--color__accent-s60: #4062a2; /* 60% black + 40% accent */
|
|
7
|
+
--color__accent-s50: #5070c4; /* 50% black + 50% accent */
|
|
8
|
+
--color__accent-s40: #5b87d1; /* 40% black + 60% accent */
|
|
9
|
+
--color__accent-s30: #6593da; /* 30% black + 70% accent */
|
|
10
|
+
--color__accent-s20: #6ea0e3; /* 20% black + 80% accent */
|
|
11
|
+
--color__accent-s10: #71a1e0; /* 10% black + 90% accent (almost base) */
|
|
12
|
+
--color__accent: #71a1e0; /* base */
|
|
13
|
+
--color__accent-t10: #84ace4; /* 10% white + 90% accent */
|
|
14
|
+
--color__accent-t20: #97b8e8; /* 20% white + 80% accent */
|
|
15
|
+
--color__accent-t30: #abc3ec; /* 30% white + 70% accent */
|
|
16
|
+
--color__accent-t40: #becff0; /* 40% white + 60% accent */
|
|
17
|
+
--color__accent-t50: #d1dbf4; /* 50% white + 50% accent */
|
|
18
|
+
--color__accent-t60: #e3e7f8; /* 60% white + 40% accent */
|
|
19
|
+
--color__accent-t70: #edf1fa; /* 70% white + 30% accent */
|
|
20
|
+
--color__accent-t80: #f5f7fc; /* 80% white + 20% accent */
|
|
21
|
+
--color__accent-t90: #fbfcfe; /* 90% white + 10% accent */
|
|
22
|
+
--color__accent-t100: #ffffff; /* 100% white */
|
|
23
23
|
--color__on-accent: #ffffff;
|
|
24
24
|
--color__on-primary: #ffffff;
|
|
25
25
|
--color__on-secondary: #ffffff;
|