@uoguelph/web-components 0.0.26 → 0.0.27
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/dist/cjs/uofg-alert_6.cjs.entry.js +803 -198
- package/dist/collection/components/uofg-alert/uofg-alert.css +13 -27
- package/dist/collection/components/uofg-back-to-top/uofg-back-to-top.css +2 -5
- package/dist/collection/components/uofg-footer/uofg-footer.css +39 -50
- package/dist/collection/components/uofg-footer/uofg-footer.js +19 -4
- package/dist/collection/components/uofg-header/uofg-header.css +55 -234
- package/dist/collection/components/uofg-header/uofg-header.js +25 -9
- package/dist/collection/components/uofg-menu/uofg-menu.js +1 -1
- package/dist/collection/components/uofg-modal/uofg-modal.css +45 -51
- package/dist/collection/components/uofg-modal/uofg-modal.js +41 -2
- package/dist/collection/utils/utils.js +9 -2
- package/dist/components/_commonjsHelpers.js +15 -0
- package/dist/components/font-awesome-icon.js +10 -0
- package/dist/components/index2.js +1 -81
- package/dist/components/uofg-alert.js +3 -2
- package/dist/components/uofg-back-to-top.js +3 -2
- package/dist/components/uofg-footer.js +569 -64
- package/dist/components/uofg-header.js +173 -60
- package/dist/components/uofg-menu2.js +1 -1
- package/dist/components/uofg-modal.js +44 -4
- package/dist/components/utils.js +10 -3
- package/dist/esm/uofg-alert_6.entry.js +803 -198
- package/dist/types/components/uofg-header/uofg-header.d.ts +11 -1
- package/dist/types/components/uofg-modal/uofg-modal.d.ts +2 -0
- package/dist/types/utils/utils.d.ts +3 -2
- package/dist/uofg-web-components/p-d1e2ecf9.entry.js +1 -0
- package/dist/uofg-web-components/uofg-web-components.css +1 -1
- package/dist/uofg-web-components/uofg-web-components.esm.js +1 -1
- package/package.json +1 -1
- package/dist/collection/components/uofg-footer/footer-links.js +0 -5
- package/dist/collection/components/uofg-footer/social-links.js +0 -5
- package/dist/collection/components/uofg-header/global-links.js +0 -2
- package/dist/collection/components/uofg-header/hello-you.js +0 -4
- package/dist/collection/components/uofg-header/page-specific.js +0 -15
- package/dist/collection/components/uofg-header/search.js +0 -4
- package/dist/collection/components/uofg-header/single-sign-on.js +0 -2
- package/dist/types/components/uofg-footer/footer-links.d.ts +0 -2
- package/dist/types/components/uofg-footer/social-links.d.ts +0 -2
- package/dist/types/components/uofg-header/global-links.d.ts +0 -2
- package/dist/types/components/uofg-header/hello-you.d.ts +0 -6
- package/dist/types/components/uofg-header/page-specific.d.ts +0 -17
- package/dist/types/components/uofg-header/search.d.ts +0 -2
- package/dist/types/components/uofg-header/single-sign-on.d.ts +0 -2
- package/dist/uofg-web-components/p-1976d7da.entry.js +0 -1
- /package/dist/collection/components/uofg-header/{logo-full-size.svg → logo-full.svg} +0 -0
- /package/dist/collection/components/uofg-header/{logo-reduced-size.svg → logo-reduced.svg} +0 -0
|
@@ -6,16 +6,34 @@
|
|
|
6
6
|
|
|
7
7
|
:focus-visible {
|
|
8
8
|
outline: 2px solid #ffc72a;
|
|
9
|
+
outline-offset: 0.5rem;
|
|
9
10
|
}
|
|
10
11
|
|
|
11
12
|
* {
|
|
12
|
-
|
|
13
|
-
|
|
13
|
+
box-sizing: border-box;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
button {
|
|
17
|
+
border: none;
|
|
18
|
+
background-color: transparent;
|
|
19
|
+
cursor: pointer;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
a {
|
|
23
|
+
color: inherit;
|
|
24
|
+
text-decoration: none;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
ul {
|
|
28
|
+
list-style: none;
|
|
29
|
+
padding: 0;
|
|
30
|
+
margin: unset;
|
|
31
|
+
}
|
|
32
|
+
ul > li {
|
|
33
|
+
display: contents;
|
|
14
34
|
}
|
|
15
35
|
|
|
16
36
|
#uofg-modal {
|
|
17
|
-
display: -webkit-box;
|
|
18
|
-
display: -ms-flexbox;
|
|
19
37
|
display: flex;
|
|
20
38
|
position: fixed;
|
|
21
39
|
top: 0;
|
|
@@ -26,23 +44,19 @@
|
|
|
26
44
|
background-color: rgba(0, 0, 0, 0.5);
|
|
27
45
|
visibility: hidden;
|
|
28
46
|
opacity: 0;
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
transition-timing-function: ease-in-out;
|
|
33
|
-
-webkit-transition-property: visibility, opacity;
|
|
34
|
-
transition-property: visibility, opacity;
|
|
47
|
+
transition-property: opacity, visibility;
|
|
48
|
+
transition-duration: 0.2s;
|
|
49
|
+
transition-timing-function: ease-in-out;
|
|
35
50
|
}
|
|
36
|
-
#uofg-modal
|
|
37
|
-
|
|
38
|
-
|
|
51
|
+
#uofg-modal.open {
|
|
52
|
+
visibility: visible;
|
|
53
|
+
opacity: 1;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
#uofg-modal-dismiss {
|
|
39
57
|
display: flex;
|
|
40
|
-
-
|
|
41
|
-
|
|
42
|
-
justify-content: center;
|
|
43
|
-
-webkit-box-align: center;
|
|
44
|
-
-ms-flex-align: center;
|
|
45
|
-
align-items: center;
|
|
58
|
+
justify-content: center;
|
|
59
|
+
align-items: center;
|
|
46
60
|
position: absolute;
|
|
47
61
|
top: 2rem;
|
|
48
62
|
right: 2rem;
|
|
@@ -52,23 +66,17 @@
|
|
|
52
66
|
font-size: 2rem;
|
|
53
67
|
line-height: 1;
|
|
54
68
|
color: var(--uofg-modal-dismiss-color, #fff);
|
|
55
|
-
background-color: transparent;
|
|
56
|
-
border: none;
|
|
57
|
-
cursor: pointer;
|
|
58
69
|
z-index: 2;
|
|
59
70
|
}
|
|
60
|
-
#uofg-modal
|
|
71
|
+
#uofg-modal-dismiss > svg {
|
|
61
72
|
display: block;
|
|
62
73
|
height: 1em;
|
|
63
74
|
fill: currentColor;
|
|
64
75
|
}
|
|
65
|
-
|
|
76
|
+
|
|
77
|
+
#uofg-modal-content {
|
|
66
78
|
position: absolute;
|
|
67
|
-
width: -webkit-fit-content;
|
|
68
|
-
width: -moz-fit-content;
|
|
69
79
|
width: fit-content;
|
|
70
|
-
height: -webkit-fit-content;
|
|
71
|
-
height: -moz-fit-content;
|
|
72
80
|
height: fit-content;
|
|
73
81
|
width: -moz-max-content;
|
|
74
82
|
height: -moz-max-content;
|
|
@@ -76,41 +84,27 @@
|
|
|
76
84
|
max-width: 100%;
|
|
77
85
|
max-height: 100%;
|
|
78
86
|
left: 50%;
|
|
79
|
-
|
|
80
|
-
transition: -webkit-transform 0.3s ease-in-out;
|
|
81
|
-
transition: transform 0.3s ease-in-out;
|
|
82
|
-
transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
|
|
83
|
-
-webkit-transform: translate(-50%, -50px);
|
|
84
|
-
-ms-transform: translate(-50%, -50px);
|
|
85
|
-
transform: translate(-50%, -50px);
|
|
87
|
+
transform: translate(-50%, -50px);
|
|
86
88
|
z-index: 1;
|
|
87
89
|
overflow: auto;
|
|
90
|
+
transition-property: transform;
|
|
91
|
+
transition-duration: 0.2s;
|
|
92
|
+
transition-timing-function: ease-in-out;
|
|
88
93
|
}
|
|
89
94
|
@media (prefers-reduced-motion: reduce) {
|
|
90
|
-
#uofg-modal
|
|
91
|
-
-webkit-transition: none;
|
|
95
|
+
#uofg-modal-content {
|
|
92
96
|
transition: none;
|
|
93
97
|
}
|
|
94
98
|
}
|
|
95
|
-
#uofg-modal
|
|
99
|
+
#uofg-modal-content.centered {
|
|
96
100
|
top: 50%;
|
|
97
|
-
|
|
98
|
-
-ms-transform: translate(-50%, calc(-50% - 50px));
|
|
99
|
-
transform: translate(-50%, calc(-50% - 50px));
|
|
100
|
-
}
|
|
101
|
-
#uofg-modal.open {
|
|
102
|
-
visibility: visible;
|
|
103
|
-
opacity: 1;
|
|
101
|
+
transform: translate(-50%, calc(-50% - 50px));
|
|
104
102
|
}
|
|
105
103
|
#uofg-modal.open #uofg-modal-content {
|
|
106
104
|
visibility: visible;
|
|
107
105
|
opacity: 1;
|
|
108
|
-
|
|
109
|
-
-ms-transform: translate(-50%, 0);
|
|
110
|
-
transform: translate(-50%, 0);
|
|
106
|
+
transform: translate(-50%, 0);
|
|
111
107
|
}
|
|
112
108
|
#uofg-modal.open #uofg-modal-content.centered {
|
|
113
|
-
|
|
114
|
-
-ms-transform: translate(-50%, -50%);
|
|
115
|
-
transform: translate(-50%, -50%);
|
|
109
|
+
transform: translate(-50%, -50%);
|
|
116
110
|
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { h } from "@stencil/core";
|
|
2
2
|
import { FontAwesomeIcon } from "../../utils/font-awesome-icon";
|
|
3
3
|
import { faTimes } from "@fortawesome/free-solid-svg-icons";
|
|
4
|
-
import { getAllFocusableElements } from "../../utils/utils";
|
|
4
|
+
import { getAllFocusableElements, IS_INERT_SUPPORTED } from "../../utils/utils";
|
|
5
5
|
export class UofgModal {
|
|
6
6
|
constructor() {
|
|
7
|
+
this.inertElements = [];
|
|
7
8
|
this.label = undefined;
|
|
8
9
|
this.alertDialog = false;
|
|
9
10
|
this.centered = false;
|
|
@@ -20,6 +21,12 @@ export class UofgModal {
|
|
|
20
21
|
this.isOpen = true;
|
|
21
22
|
}
|
|
22
23
|
}
|
|
24
|
+
disconnectedCallback() {
|
|
25
|
+
// Just in case the modal is removed from the DOM before it is closed, make sure to remove the inert attribute from all elements that we marked as inert when the modal was opened.
|
|
26
|
+
for (const element of this.inertElements) {
|
|
27
|
+
element.removeAttribute('inert');
|
|
28
|
+
}
|
|
29
|
+
}
|
|
23
30
|
handleClick(e) {
|
|
24
31
|
if (!this.staticBackdrop && e.target === e.currentTarget) {
|
|
25
32
|
this.isOpen = false;
|
|
@@ -61,12 +68,44 @@ export class UofgModal {
|
|
|
61
68
|
});
|
|
62
69
|
});
|
|
63
70
|
});
|
|
71
|
+
// Mark outer elements as inert when the modal is open.
|
|
72
|
+
let current = this.el;
|
|
73
|
+
// We want to mark all elements outside of the modal as inert, so we need to traverse up the DOM tree until we reach the body element.
|
|
74
|
+
while (current !== null && current !== document.body) {
|
|
75
|
+
const parent = current.parentElement;
|
|
76
|
+
// If parent is null, then we may be inside a shadow root. If so, we get the host element and continue traversing up the DOM tree.
|
|
77
|
+
if (parent === null) {
|
|
78
|
+
const root = current.getRootNode();
|
|
79
|
+
if (root instanceof ShadowRoot) {
|
|
80
|
+
current = root.host;
|
|
81
|
+
continue;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
if (parent !== null) {
|
|
85
|
+
for (const child of parent.children) {
|
|
86
|
+
if (child !== current && !child.inert) {
|
|
87
|
+
// Mark the element as inert and store it in an array so that we can remove the inert attribute when the modal closes.
|
|
88
|
+
child.inert = true;
|
|
89
|
+
this.inertElements.push(child);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
current = parent;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
else {
|
|
97
|
+
// Remove the inert attribute from all elements that we marked as inert when the modal was opened.
|
|
98
|
+
for (const element of this.inertElements) {
|
|
99
|
+
element.removeAttribute('inert');
|
|
100
|
+
}
|
|
101
|
+
// Clear the array of inert elements. This is important because we don't want to keep a reference to elements as they may be removed from the DOM and we could cause a memory leak.
|
|
102
|
+
this.inertElements = [];
|
|
64
103
|
}
|
|
65
104
|
// Prevent scrolling of the body when the modal is open.
|
|
66
105
|
document.body.style.overflow = newValue ? 'hidden' : '';
|
|
67
106
|
}
|
|
68
107
|
render() {
|
|
69
|
-
return (h("div", { id: "uofg-modal", class: { open: this.isOpen }, role: this.
|
|
108
|
+
return (h("div", { id: "uofg-modal", class: { open: this.isOpen }, role: this.alertDialog ? 'alertdialog' : 'dialog', "aria-modal": this.isOpen ? 'true' : '', "aria-label": this.label, tabIndex: -1, onClick: this.handleClick, onKeyUp: this.handleKeyUp, onKeyDown: IS_INERT_SUPPORTED() ? undefined : this.handleKeyDown, ref: (el) => (this.container = el) }, h("div", { id: "uofg-modal-content", part: "content", class: { centered: this.centered } }, h("button", { id: "uofg-modal-dismiss", part: "dismiss-button", "aria-label": "Close modal", ref: (el) => (this.dismissButton = el), onClick: () => (this.isOpen = false) }, h(FontAwesomeIcon, { icon: faTimes })), h("slot", null))));
|
|
70
109
|
}
|
|
71
110
|
/**
|
|
72
111
|
* Get the current state of the modal.
|
|
@@ -1,5 +1,12 @@
|
|
|
1
|
-
export const WEB_ANIMATIONS_SUPPORTED =
|
|
2
|
-
|
|
1
|
+
export const WEB_ANIMATIONS_SUPPORTED = () => {
|
|
2
|
+
return typeof window !== 'undefined' && 'animate' in HTMLElement.prototype;
|
|
3
|
+
};
|
|
4
|
+
export const PREFERS_REDUCED_MOTION = () => {
|
|
5
|
+
return typeof window !== 'undefined' && window.matchMedia('(prefers-reduced-motion: reduce)').matches;
|
|
6
|
+
};
|
|
7
|
+
export const IS_INERT_SUPPORTED = () => {
|
|
8
|
+
return typeof window !== 'undefined' && 'inert' in HTMLElement.prototype;
|
|
9
|
+
};
|
|
3
10
|
export const getAllFocusableElements = (container) => {
|
|
4
11
|
const query = 'a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, [contenteditable], audio[controls], video[controls], details, summary, [tabindex]:not([tabindex="-1"])';
|
|
5
12
|
return Array.from(container.querySelectorAll(query));
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
function createCommonjsModule(fn, basedir, module) {
|
|
2
|
+
return module = {
|
|
3
|
+
path: basedir,
|
|
4
|
+
exports: {},
|
|
5
|
+
require: function (path, base) {
|
|
6
|
+
return commonjsRequire();
|
|
7
|
+
}
|
|
8
|
+
}, fn(module, module.exports), module.exports;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
function commonjsRequire () {
|
|
12
|
+
throw new Error('Dynamic requires are not currently supported by @rollup/plugin-commonjs');
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export { createCommonjsModule as c };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { h } from '@stencil/core/internal/client';
|
|
2
|
+
|
|
3
|
+
const FontAwesomeIcon = props => {
|
|
4
|
+
const width = props.icon.icon[0];
|
|
5
|
+
const height = props.icon.icon[1];
|
|
6
|
+
const iconPathData = props.icon.icon[4];
|
|
7
|
+
return (h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: `0 0 ${width} ${height}` }, Array.isArray(iconPathData) ? (iconPathData.map(path => h("path", { d: path }))) : (h("path", { d: iconPathData }))));
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
export { FontAwesomeIcon as F };
|
|
@@ -1,98 +1,18 @@
|
|
|
1
|
-
import { h } from '@stencil/core/internal/client';
|
|
2
|
-
|
|
3
|
-
const FontAwesomeIcon = props => {
|
|
4
|
-
const width = props.icon.icon[0];
|
|
5
|
-
const height = props.icon.icon[1];
|
|
6
|
-
const iconPathData = props.icon.icon[4];
|
|
7
|
-
return (h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: `0 0 ${width} ${height}` }, Array.isArray(iconPathData) ? (iconPathData.map(path => h("path", { d: path }))) : (h("path", { d: iconPathData }))));
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
var faBars = {
|
|
11
|
-
prefix: 'fas',
|
|
12
|
-
iconName: 'bars',
|
|
13
|
-
icon: [448, 512, ["navicon"], "f0c9", "M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z"]
|
|
14
|
-
};
|
|
15
1
|
var faCircleExclamation = {
|
|
16
2
|
prefix: 'fas',
|
|
17
3
|
iconName: 'circle-exclamation',
|
|
18
4
|
icon: [512, 512, ["exclamation-circle"], "f06a", "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zm0-384c13.3 0 24 10.7 24 24V264c0 13.3-10.7 24-24 24s-24-10.7-24-24V152c0-13.3 10.7-24 24-24zM224 352a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z"]
|
|
19
5
|
};
|
|
20
|
-
var faSitemap = {
|
|
21
|
-
prefix: 'fas',
|
|
22
|
-
iconName: 'sitemap',
|
|
23
|
-
icon: [576, 512, [], "f0e8", "M208 80c0-26.5 21.5-48 48-48h64c26.5 0 48 21.5 48 48v64c0 26.5-21.5 48-48 48h-8v40H464c30.9 0 56 25.1 56 56v32h8c26.5 0 48 21.5 48 48v64c0 26.5-21.5 48-48 48H464c-26.5 0-48-21.5-48-48V368c0-26.5 21.5-48 48-48h8V288c0-4.4-3.6-8-8-8H312v40h8c26.5 0 48 21.5 48 48v64c0 26.5-21.5 48-48 48H256c-26.5 0-48-21.5-48-48V368c0-26.5 21.5-48 48-48h8V280H112c-4.4 0-8 3.6-8 8v32h8c26.5 0 48 21.5 48 48v64c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V368c0-26.5 21.5-48 48-48h8V288c0-30.9 25.1-56 56-56H264V192h-8c-26.5 0-48-21.5-48-48V80z"]
|
|
24
|
-
};
|
|
25
|
-
var faList = {
|
|
26
|
-
prefix: 'fas',
|
|
27
|
-
iconName: 'list',
|
|
28
|
-
icon: [512, 512, ["list-squares"], "f03a", "M40 48C26.7 48 16 58.7 16 72v48c0 13.3 10.7 24 24 24H88c13.3 0 24-10.7 24-24V72c0-13.3-10.7-24-24-24H40zM192 64c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zM16 232v48c0 13.3 10.7 24 24 24H88c13.3 0 24-10.7 24-24V232c0-13.3-10.7-24-24-24H40c-13.3 0-24 10.7-24 24zM40 368c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24H88c13.3 0 24-10.7 24-24V392c0-13.3-10.7-24-24-24H40z"]
|
|
29
|
-
};
|
|
30
|
-
var faTree = {
|
|
31
|
-
prefix: 'fas',
|
|
32
|
-
iconName: 'tree',
|
|
33
|
-
icon: [448, 512, [127794], "f1bb", "M210.6 5.9L62 169.4c-3.9 4.2-6 9.8-6 15.5C56 197.7 66.3 208 79.1 208H104L30.6 281.4c-4.2 4.2-6.6 10-6.6 16C24 309.9 34.1 320 46.6 320H80L5.4 409.5C1.9 413.7 0 419 0 424.5c0 13 10.5 23.5 23.5 23.5H192v32c0 17.7 14.3 32 32 32s32-14.3 32-32V448H424.5c13 0 23.5-10.5 23.5-23.5c0-5.5-1.9-10.8-5.4-15L368 320h33.4c12.5 0 22.6-10.1 22.6-22.6c0-6-2.4-11.8-6.6-16L344 208h24.9c12.7 0 23.1-10.3 23.1-23.1c0-5.7-2.1-11.3-6-15.5L237.4 5.9C234 2.1 229.1 0 224 0s-10 2.1-13.4 5.9z"]
|
|
34
|
-
};
|
|
35
6
|
var faChevronUp = {
|
|
36
7
|
prefix: 'fas',
|
|
37
8
|
iconName: 'chevron-up',
|
|
38
9
|
icon: [512, 512, [], "f077", "M233.4 105.4c12.5-12.5 32.8-12.5 45.3 0l192 192c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L256 173.3 86.6 342.6c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l192-192z"]
|
|
39
10
|
};
|
|
40
|
-
var faKey = {
|
|
41
|
-
prefix: 'fas',
|
|
42
|
-
iconName: 'key',
|
|
43
|
-
icon: [512, 512, [128273], "f084", "M336 352c97.2 0 176-78.8 176-176S433.2 0 336 0S160 78.8 160 176c0 18.7 2.9 36.8 8.3 53.7L7 391c-4.5 4.5-7 10.6-7 17v80c0 13.3 10.7 24 24 24h80c13.3 0 24-10.7 24-24V448h40c13.3 0 24-10.7 24-24V384h40c6.4 0 12.5-2.5 17-7l33.3-33.3c16.9 5.4 35 8.3 53.7 8.3zM376 96a40 40 0 1 1 0 80 40 40 0 1 1 0-80z"]
|
|
44
|
-
};
|
|
45
|
-
var faRightToBracket = {
|
|
46
|
-
prefix: 'fas',
|
|
47
|
-
iconName: 'right-to-bracket',
|
|
48
|
-
icon: [512, 512, ["sign-in-alt"], "f2f6", "M217.9 105.9L340.7 228.7c7.2 7.2 11.3 17.1 11.3 27.3s-4.1 20.1-11.3 27.3L217.9 406.1c-6.4 6.4-15 9.9-24 9.9c-18.7 0-33.9-15.2-33.9-33.9l0-62.1L32 320c-17.7 0-32-14.3-32-32l0-64c0-17.7 14.3-32 32-32l128 0 0-62.1c0-18.7 15.2-33.9 33.9-33.9c9 0 17.6 3.6 24 9.9zM352 416l64 0c17.7 0 32-14.3 32-32l0-256c0-17.7-14.3-32-32-32l-64 0c-17.7 0-32-14.3-32-32s14.3-32 32-32l64 0c53 0 96 43 96 96l0 256c0 53-43 96-96 96l-64 0c-17.7 0-32-14.3-32-32s14.3-32 32-32z"]
|
|
49
|
-
};
|
|
50
|
-
var faCircleCheck = {
|
|
51
|
-
prefix: 'fas',
|
|
52
|
-
iconName: 'circle-check',
|
|
53
|
-
icon: [512, 512, [61533, "check-circle"], "f058", "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]
|
|
54
|
-
};
|
|
55
|
-
var faUniversalAccess = {
|
|
56
|
-
prefix: 'fas',
|
|
57
|
-
iconName: 'universal-access',
|
|
58
|
-
icon: [512, 512, [], "f29a", "M0 256a256 256 0 1 1 512 0A256 256 0 1 1 0 256zm161.5-86.1c-12.2-5.2-26.3 .4-31.5 12.6s.4 26.3 12.6 31.5l11.9 5.1c17.3 7.4 35.2 12.9 53.6 16.3v50.1c0 4.3-.7 8.6-2.1 12.6l-28.7 86.1c-4.2 12.6 2.6 26.2 15.2 30.4s26.2-2.6 30.4-15.2l24.4-73.2c1.3-3.8 4.8-6.4 8.8-6.4s7.6 2.6 8.8 6.4l24.4 73.2c4.2 12.6 17.8 19.4 30.4 15.2s19.4-17.8 15.2-30.4l-28.7-86.1c-1.4-4.1-2.1-8.3-2.1-12.6V235.5c18.4-3.5 36.3-8.9 53.6-16.3l11.9-5.1c12.2-5.2 17.8-19.3 12.6-31.5s-19.3-17.8-31.5-12.6L338.7 175c-26.1 11.2-54.2 17-82.7 17s-56.5-5.8-82.7-17l-11.9-5.1zM256 160a40 40 0 1 0 0-80 40 40 0 1 0 0 80z"]
|
|
59
|
-
};
|
|
60
|
-
var faHandHoldingHeart = {
|
|
61
|
-
prefix: 'fas',
|
|
62
|
-
iconName: 'hand-holding-heart',
|
|
63
|
-
icon: [576, 512, [], "f4be", "M148 76.6C148 34.3 182.3 0 224.6 0c20.3 0 39.8 8.1 54.1 22.4l9.3 9.3 9.3-9.3C311.6 8.1 331.1 0 351.4 0C393.7 0 428 34.3 428 76.6c0 20.3-8.1 39.8-22.4 54.1L302.1 234.1c-7.8 7.8-20.5 7.8-28.3 0L170.4 130.7C156.1 116.4 148 96.9 148 76.6zM568.2 336.3c13.1 17.8 9.3 42.8-8.5 55.9L433.1 485.5c-23.4 17.2-51.6 26.5-80.7 26.5H192 32c-17.7 0-32-14.3-32-32V416c0-17.7 14.3-32 32-32H68.8l44.9-36c22.7-18.2 50.9-28 80-28H272h16 64c17.7 0 32 14.3 32 32s-14.3 32-32 32H288 272c-8.8 0-16 7.2-16 16s7.2 16 16 16H392.6l119.7-88.2c17.8-13.1 42.8-9.3 55.9 8.5zM193.6 384l0 0-.9 0c.3 0 .6 0 .9 0z"]
|
|
64
|
-
};
|
|
65
|
-
var faPhoneFlip = {
|
|
66
|
-
prefix: 'fas',
|
|
67
|
-
iconName: 'phone-flip',
|
|
68
|
-
icon: [512, 512, [128381, "phone-alt"], "f879", "M347.1 24.6c7.7-18.6 28-28.5 47.4-23.2l88 24C499.9 30.2 512 46 512 64c0 247.4-200.6 448-448 448c-18 0-33.8-12.1-38.6-29.5l-24-88c-5.3-19.4 4.6-39.7 23.2-47.4l96-40c16.3-6.8 35.2-2.1 46.3 11.6L207.3 368c70.4-33.3 127.4-90.3 160.7-160.7L318.7 167c-13.7-11.2-18.4-30-11.6-46.3l40-96z"]
|
|
69
|
-
};
|
|
70
|
-
var faCaretDown = {
|
|
71
|
-
prefix: 'fas',
|
|
72
|
-
iconName: 'caret-down',
|
|
73
|
-
icon: [320, 512, [], "f0d7", "M137.4 374.6c12.5 12.5 32.8 12.5 45.3 0l128-128c9.2-9.2 11.9-22.9 6.9-34.9s-16.6-19.8-29.6-19.8L32 192c-12.9 0-24.6 7.8-29.6 19.8s-2.2 25.7 6.9 34.9l128 128z"]
|
|
74
|
-
};
|
|
75
|
-
var faMagnifyingGlass = {
|
|
76
|
-
prefix: 'fas',
|
|
77
|
-
iconName: 'magnifying-glass',
|
|
78
|
-
icon: [512, 512, [128269, "search"], "f002", "M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"]
|
|
79
|
-
};
|
|
80
|
-
var faSearch = faMagnifyingGlass;
|
|
81
11
|
var faXmark = {
|
|
82
12
|
prefix: 'fas',
|
|
83
13
|
iconName: 'xmark',
|
|
84
14
|
icon: [384, 512, [128473, 10005, 10006, 10060, 215, "close", "multiply", "remove", "times"], "f00d", "M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3 297.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256 342.6 150.6z"]
|
|
85
15
|
};
|
|
86
16
|
var faTimes = faXmark;
|
|
87
|
-
var faCalendar = {
|
|
88
|
-
prefix: 'fas',
|
|
89
|
-
iconName: 'calendar',
|
|
90
|
-
icon: [448, 512, [128197, 128198], "f133", "M96 32V64H48C21.5 64 0 85.5 0 112v48H448V112c0-26.5-21.5-48-48-48H352V32c0-17.7-14.3-32-32-32s-32 14.3-32 32V64H160V32c0-17.7-14.3-32-32-32S96 14.3 96 32zM448 192H0V464c0 26.5 21.5 48 48 48H400c26.5 0 48-21.5 48-48V192z"]
|
|
91
|
-
};
|
|
92
|
-
var faBriefcase = {
|
|
93
|
-
prefix: 'fas',
|
|
94
|
-
iconName: 'briefcase',
|
|
95
|
-
icon: [512, 512, [128188], "f0b1", "M184 48H328c4.4 0 8 3.6 8 8V96H176V56c0-4.4 3.6-8 8-8zm-56 8V96H64C28.7 96 0 124.7 0 160v96H192 320 512V160c0-35.3-28.7-64-64-64H384V56c0-30.9-25.1-56-56-56H184c-30.9 0-56 25.1-56 56zM512 288H320v32c0 17.7-14.3 32-32 32H224c-17.7 0-32-14.3-32-32V288H0V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V288z"]
|
|
96
|
-
};
|
|
97
17
|
|
|
98
|
-
export {
|
|
18
|
+
export { faChevronUp as a, faTimes as b, faCircleExclamation as f };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
|
-
import { F as FontAwesomeIcon
|
|
2
|
+
import { F as FontAwesomeIcon } from './font-awesome-icon.js';
|
|
3
|
+
import { f as faCircleExclamation } from './index2.js';
|
|
3
4
|
|
|
4
|
-
const uofgAlertCss = ":host{display:block;max-width:100rem}*{
|
|
5
|
+
const uofgAlertCss = ":host{display:block;max-width:100rem}*{box-sizing:border-box}#uofg-alert{display:flex;flex-direction:column;font-size:2rem}#uofg-alert-title{display:flex;align-items:center;font-size:2.25rem;padding:2rem;color:white;background-color:#c10631}#uofg-alert-title>svg{margin-right:1rem;fill:currentColor;height:1.5em}#uofg-alert-body{display:flex;flex-direction:column;padding:1.5rem 2rem;background-color:white}#uofg-alert-body slot[name=subtitle]::slotted(*){font-size:2rem;margin-bottom:2rem;font-weight:bold}#uofg-alert-body slot[name=message]::slotted(*){font-size:1.6rem}#uofg-alert-footer{display:flex;padding:1rem 2rem;background-color:#dddddd;font-size:1.4rem}";
|
|
5
6
|
|
|
6
7
|
const UofgAlert$1 = /*@__PURE__*/ proxyCustomElement(class UofgAlert extends HTMLElement {
|
|
7
8
|
constructor() {
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { proxyCustomElement, HTMLElement, h } from '@stencil/core/internal/client';
|
|
2
|
-
import { F as FontAwesomeIcon
|
|
2
|
+
import { F as FontAwesomeIcon } from './font-awesome-icon.js';
|
|
3
|
+
import { a as faChevronUp } from './index2.js';
|
|
3
4
|
|
|
4
|
-
const uofgBackToTopCss = ":host{display:block}:focus-visible{outline:2px solid #ffc72a;outline-offset:0.5rem}#uofg-back-to-top{position:fixed;margin:10px;height:35px;width:35px;right:0;bottom:0;z-index:1000;cursor:pointer;background-color:black;color:white
|
|
5
|
+
const uofgBackToTopCss = ":host{display:block}:focus-visible{outline:2px solid #ffc72a;outline-offset:0.5rem}#uofg-back-to-top{position:fixed;margin:10px;height:35px;width:35px;right:0;bottom:0;z-index:1000;cursor:pointer;background-color:black;color:white;transition-duration:0.3s;transition-timing-function:ease-in-out;transition-property:opacity, visibility, background-color;opacity:0;visibility:hidden;border-radius:50%;border:1px solid #fff}#uofg-back-to-top:hover{background-color:#d50029}#uofg-back-to-top>svg{width:1em;height:1em;fill:currentColor}#uofg-back-to-top.visible{opacity:1;visibility:visible}";
|
|
5
6
|
|
|
6
7
|
const UofgBackToTop$1 = /*@__PURE__*/ proxyCustomElement(class UofgBackToTop extends HTMLElement {
|
|
7
8
|
constructor() {
|