@ilo-org/react 0.17.5 → 0.17.7
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/lib/cjs/components/Button/Button.js +4 -4
- package/lib/cjs/components/Callout/Callout.js +3 -3
- package/lib/cjs/components/Collapse/Collapse.js +13 -20
- package/lib/cjs/components/Input/Input.js +4 -4
- package/lib/cjs/components/Input/index.js +1 -1
- package/lib/cjs/components/Navigation/Navigation.js +8 -1
- package/lib/cjs/components/SearchField/SearchField.js +3 -3
- package/lib/esm/components/Button/Button.js +4 -4
- package/lib/esm/components/Callout/Callout.js +3 -3
- package/lib/esm/components/Collapse/Collapse.js +13 -20
- package/lib/esm/components/Input/Input.js +4 -4
- package/lib/esm/components/Input/index.js +1 -1
- package/lib/esm/components/Navigation/Navigation.js +9 -2
- package/lib/esm/components/SearchField/SearchField.js +4 -4
- package/lib/styles/components/accordion.css +1 -1
- package/lib/styles/components/breadcrumb.css +1 -1
- package/lib/styles/components/button.css +1 -1
- package/lib/styles/components/callout.css +1 -1
- package/lib/styles/components/card.css +1 -1
- package/lib/styles/components/checkbox.css +1 -1
- package/lib/styles/components/contextmenu.css +1 -1
- package/lib/styles/components/datacard.css +1 -1
- package/lib/styles/components/dropdown.css +1 -1
- package/lib/styles/components/featurecard.css +1 -1
- package/lib/styles/components/fieldset.css +1 -1
- package/lib/styles/components/file-upload.css +1 -1
- package/lib/styles/components/footer.css +1 -1
- package/lib/styles/components/formcontrol.css +1 -1
- package/lib/styles/components/heading.css +1 -1
- package/lib/styles/components/herocard.css +1 -1
- package/lib/styles/components/input.css +1 -1
- package/lib/styles/components/linklist.css +1 -1
- package/lib/styles/components/list.css +1 -1
- package/lib/styles/components/loading.css +1 -1
- package/lib/styles/components/logo.css +1 -1
- package/lib/styles/components/navigation.css +1 -1
- package/lib/styles/components/pagination.css +1 -1
- package/lib/styles/components/profile.css +1 -1
- package/lib/styles/components/readmore.css +1 -1
- package/lib/styles/components/richtext.css +1 -1
- package/lib/styles/components/searchfield.css +1 -1
- package/lib/styles/components/socialmedia.css +1 -1
- package/lib/styles/components/statcard.css +1 -1
- package/lib/styles/components/table.css +1 -1
- package/lib/styles/components/tableofcontents.css +1 -1
- package/lib/styles/components/tabs.css +1 -1
- package/lib/styles/components/tag.css +1 -1
- package/lib/styles/components/textarea.css +1 -1
- package/lib/styles/components/textinput.css +1 -1
- package/lib/styles/components/tooltip.css +1 -1
- package/lib/styles/global.css +1 -1
- package/lib/styles/index.css +2 -2
- package/lib/styles/monorepo.css +2 -2
- package/lib/types/react/src/components/Input/Input.d.ts +2 -2
- package/lib/types/react/src/components/SearchField/SearchField.d.ts +1 -1
- package/package.json +8 -8
- package/lib/styles/components/icon.css +0 -1
|
@@ -17,10 +17,10 @@ const Button = ({ callback, className, disabled = false, icon, icononly, iconPos
|
|
|
17
17
|
const icoPos = iconPosition || "left";
|
|
18
18
|
const ButtonClasses = classNames(className, {
|
|
19
19
|
[baseClass]: true,
|
|
20
|
-
[`${baseClass}
|
|
21
|
-
[`${baseClass}
|
|
22
|
-
[
|
|
23
|
-
[
|
|
20
|
+
[`${baseClass}__${size}`]: size,
|
|
21
|
+
[`${baseClass}__${type}`]: type,
|
|
22
|
+
[`${baseClass}--icon ${baseClass}--icon--position__${icoPos}`]: icon && !icononly,
|
|
23
|
+
[`${baseClass}--icon ${baseClass}--icon--only`]: icon && icononly,
|
|
24
24
|
});
|
|
25
25
|
/**
|
|
26
26
|
* On click, if there is a callback, call it
|
|
@@ -22,11 +22,11 @@ const Callout = ({ className, copy, cta, isCollapsible, isOpen = true, toggleOpe
|
|
|
22
22
|
}, [isOpen]);
|
|
23
23
|
const calloutClasses = classNames(className, {
|
|
24
24
|
[baseClass]: true,
|
|
25
|
-
[`${baseClass}
|
|
25
|
+
[`${baseClass}__${type}`]: type,
|
|
26
26
|
[`${baseClass}--open`]: toggleOpen,
|
|
27
27
|
[`${baseClass}--collapse`]: isCollapsible,
|
|
28
28
|
});
|
|
29
|
-
const iconClasses = `icon
|
|
29
|
+
const iconClasses = `icon icon__${type}`;
|
|
30
30
|
const ctaprops = {
|
|
31
31
|
callback: undefined,
|
|
32
32
|
className: `${baseClass}--cta`,
|
|
@@ -41,7 +41,7 @@ const Callout = ({ className, copy, cta, isCollapsible, isOpen = true, toggleOpe
|
|
|
41
41
|
toggleLabel = toggleOpen ? toggleOpenLabel : toggleClosedLabel;
|
|
42
42
|
setToggleOpen(!toggleOpen);
|
|
43
43
|
};
|
|
44
|
-
return (jsxRuntime.jsxs("div", Object.assign({ className: calloutClasses }, { children: [jsxRuntime.jsx("div", Object.assign({ className: `${baseClass}
|
|
44
|
+
return (jsxRuntime.jsxs("div", Object.assign({ className: calloutClasses }, { children: [jsxRuntime.jsx("div", Object.assign({ className: `${baseClass}__sidebar` }, { children: jsxRuntime.jsx("span", { className: iconClasses }) })), jsxRuntime.jsxs("div", Object.assign({ className: `${baseClass}__content` }, { children: [jsxRuntime.jsxs("div", Object.assign({ className: `${baseClass}__header` }, { children: [jsxRuntime.jsx("h5", Object.assign({ className: `${baseClass}__title` }, { children: headline })), isCollapsible && (jsxRuntime.jsxs("button", Object.assign({ className: `${baseClass}--toggle`, onClick: handleToggle, type: "button" }, { children: [toggleLabel, jsxRuntime.jsx("span", { className: `${baseClass}--toggle--icon` })] })))] })), jsxRuntime.jsx("p", Object.assign({ className: `${baseClass}__description` }, { children: copy })), cta && jsxRuntime.jsx(components_Button_Button, Object.assign({}, ctaprops))] }))] })));
|
|
45
45
|
};
|
|
46
46
|
|
|
47
47
|
module.exports = Callout;
|
|
@@ -11,31 +11,24 @@ var utils_transitionEndListener = require('../../utils/transitionEndListener.js'
|
|
|
11
11
|
var utils_triggerBrowserReflow = require('../../utils/triggerBrowserReflow.js');
|
|
12
12
|
require('../../css-9c93400b.js');
|
|
13
13
|
|
|
14
|
-
function _objectWithoutPropertiesLoose(
|
|
15
|
-
if (
|
|
16
|
-
var
|
|
17
|
-
var
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
key = sourceKeys[i];
|
|
21
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
22
|
-
target[key] = source[key];
|
|
14
|
+
function _objectWithoutPropertiesLoose(r, e) {
|
|
15
|
+
if (null == r) return {};
|
|
16
|
+
var t = {};
|
|
17
|
+
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
18
|
+
if (e.indexOf(n) >= 0) continue;
|
|
19
|
+
t[n] = r[n];
|
|
23
20
|
}
|
|
24
|
-
return
|
|
21
|
+
return t;
|
|
25
22
|
}
|
|
26
23
|
|
|
27
|
-
function _setPrototypeOf(
|
|
28
|
-
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
};
|
|
32
|
-
return _setPrototypeOf(o, p);
|
|
24
|
+
function _setPrototypeOf(t, e) {
|
|
25
|
+
return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
|
|
26
|
+
return t.__proto__ = e, t;
|
|
27
|
+
}, _setPrototypeOf(t, e);
|
|
33
28
|
}
|
|
34
29
|
|
|
35
|
-
function _inheritsLoose(
|
|
36
|
-
|
|
37
|
-
subClass.prototype.constructor = subClass;
|
|
38
|
-
_setPrototypeOf(subClass, superClass);
|
|
30
|
+
function _inheritsLoose(t, o) {
|
|
31
|
+
t.prototype = Object.create(o.prototype), t.prototype.constructor = t, _setPrototypeOf(t, o);
|
|
39
32
|
}
|
|
40
33
|
|
|
41
34
|
var propTypes = {exports: {}};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
+
var React = require('react');
|
|
4
5
|
var classNames = require('classnames');
|
|
5
6
|
var hooks_useGlobalSettings = require('../../hooks/useGlobalSettings.js');
|
|
6
7
|
var components_Fieldset_Fieldset = require('../Fieldset/Fieldset.js');
|
|
7
8
|
var components_FormElement_FormElement = require('../FormElement/FormElement.js');
|
|
8
9
|
require('tslib');
|
|
9
|
-
require('react');
|
|
10
10
|
require('../../GlobalCtx-10114bdd.js');
|
|
11
11
|
require('../Tooltip/Tooltip.js');
|
|
12
12
|
require('@popperjs/core');
|
|
13
13
|
|
|
14
|
-
const Input = ({ callback, disabled = false, error, helper, id, label, name, placeholder, required, tooltip, value, type = "text", }) => {
|
|
14
|
+
const Input = React.forwardRef(({ callback, disabled = false, error, helper, id, label, name, placeholder, required, tooltip, value, type = "text", }, ref) => {
|
|
15
15
|
const { prefix } = hooks_useGlobalSettings();
|
|
16
16
|
const baseClass = `${prefix}--input`;
|
|
17
17
|
const InputClasses = classNames("", {
|
|
@@ -26,7 +26,7 @@ const Input = ({ callback, disabled = false, error, helper, id, label, name, pla
|
|
|
26
26
|
callback(e);
|
|
27
27
|
}
|
|
28
28
|
};
|
|
29
|
-
return (jsxRuntime.jsx(components_Fieldset_Fieldset.default, { children: jsxRuntime.jsx(components_FormElement_FormElement, Object.assign({ elemid: name, label: label, helper: helper, error: error, required: required, tooltip: tooltip }, { children: jsxRuntime.jsx("input", { id: id ? id : name, name: name, onChange: handleChange, disabled: disabled, placeholder: placeholder, required: required, type: type, value: value, className: InputClasses }) })) }));
|
|
30
|
-
};
|
|
29
|
+
return (jsxRuntime.jsx(components_Fieldset_Fieldset.default, { children: jsxRuntime.jsx(components_FormElement_FormElement, Object.assign({ elemid: name, label: label, helper: helper, error: error, required: required, tooltip: tooltip }, { children: jsxRuntime.jsx("input", { id: id ? id : name, name: name, onChange: handleChange, disabled: disabled, placeholder: placeholder, required: required, type: type, value: value, className: InputClasses, ref: ref }) })) }));
|
|
30
|
+
});
|
|
31
31
|
|
|
32
32
|
module.exports = Input;
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
var components_Input_Input = require('./Input.js');
|
|
4
4
|
require('react/jsx-runtime');
|
|
5
|
+
require('react');
|
|
5
6
|
require('classnames');
|
|
6
7
|
require('../../hooks/useGlobalSettings.js');
|
|
7
8
|
require('tslib');
|
|
8
|
-
require('react');
|
|
9
9
|
require('../../GlobalCtx-10114bdd.js');
|
|
10
10
|
require('../Fieldset/Fieldset.js');
|
|
11
11
|
require('../Tooltip/Tooltip.js');
|
|
@@ -32,6 +32,12 @@ const Navigation = ({ logo, mobilelogo, siteurl, tagline, primarynav, subnav, me
|
|
|
32
32
|
[`${prefix}--select--open`]: toggleLanguageOpen,
|
|
33
33
|
[`${prefix}--context--open`]: toggleLanguageOpen,
|
|
34
34
|
});
|
|
35
|
+
const searchInputRef = React.useRef(null);
|
|
36
|
+
const handleSearchInputFocus = () => {
|
|
37
|
+
if (searchInputRef.current) {
|
|
38
|
+
searchInputRef.current.focus();
|
|
39
|
+
}
|
|
40
|
+
};
|
|
35
41
|
const handleMenuToggle = () => {
|
|
36
42
|
setMenuToggleOpen(!toggleMenuOpen);
|
|
37
43
|
};
|
|
@@ -46,6 +52,7 @@ const Navigation = ({ logo, mobilelogo, siteurl, tagline, primarynav, subnav, me
|
|
|
46
52
|
}
|
|
47
53
|
setSearchTabbable(true);
|
|
48
54
|
setTimeout(() => setSearchToggleOpen(true), 10);
|
|
55
|
+
setTimeout(() => handleSearchInputFocus(), 50);
|
|
49
56
|
};
|
|
50
57
|
const handleSubnavToggle = () => {
|
|
51
58
|
if (toggleSubnavOpen) {
|
|
@@ -70,7 +77,7 @@ const Navigation = ({ logo, mobilelogo, siteurl, tagline, primarynav, subnav, me
|
|
|
70
77
|
return (jsxRuntime.jsxs("header", Object.assign({ className: NavigationClasses }, { children: [jsxRuntime.jsx("div", Object.assign({ className: `${baseClass}--utility-bar` }, { children: jsxRuntime.jsx("div", Object.assign({ className: `${prefix}--language-switcher` }, { children: jsxRuntime.jsxs("div", Object.assign({ className: `${prefix}--language-switcher--wrap` }, { children: [jsxRuntime.jsx("button", Object.assign({ className: `${prefix}--language-switcher--button`, type: "button", onClick: handleLanguageToggle }, { children: languagelabel })), jsxRuntime.jsx(components_ContextMenu_ContextMenu, { links: languagecontextmenu === null || languagecontextmenu === void 0 ? void 0 : languagecontextmenu.links })] })) })) })), jsxRuntime.jsx("div", Object.assign({ className: `${baseClass}--logo-bar` }, { children: jsxRuntime.jsxs("div", Object.assign({ className: `${baseClass}--inner ${prefix}--container` }, { children: [jsxRuntime.jsx("a", Object.assign({ href: siteurl, className: `${baseClass}--logo-link` }, { children: jsxRuntime.jsx("img", { className: `${baseClass}--logo`, src: logo, alt: "ILO Logo" }) })), jsxRuntime.jsxs("p", Object.assign({ className: `${baseClass}--logo-tagline` }, { children: [tagline === null || tagline === void 0 ? void 0 : tagline.tag, jsxRuntime.jsx("span", Object.assign({ className: `${baseClass}--logo-tagline--small` }, { children: tagline === null || tagline === void 0 ? void 0 : tagline.small }))] })), jsxRuntime.jsx("button", Object.assign({ className: `${baseClass}--menu`, onClick: handleMenuToggle }, { children: menulabel }))] })) })), jsxRuntime.jsxs("div", Object.assign({ className: `${baseClass}--navigation` }, { children: [jsxRuntime.jsxs("div", Object.assign({ className: `${baseClass}--inner ${prefix}--container` }, { children: [jsxRuntime.jsxs("div", Object.assign({ className: `${prefix}--mobile--nav` }, { children: [jsxRuntime.jsxs("div", Object.assign({ className: `${prefix}--mobile--nav--logo` }, { children: [jsxRuntime.jsx("a", Object.assign({ href: siteurl, className: `${baseClass}--logo-link` }, { children: jsxRuntime.jsx("img", { className: `${baseClass}--logo`, src: mobilelogo, alt: "ILO Logo" }) })), jsxRuntime.jsx("button", Object.assign({ className: `${baseClass}--menu--close`, onClick: handleMenuToggle }, { children: menucloselabel }))] })), jsxRuntime.jsx("div", Object.assign({ className: `${prefix}--mobile--nav--search` }, { children: jsxRuntime.jsx(components_SearchField_SearchField, { input: searchfield === null || searchfield === void 0 ? void 0 : searchfield.input, action: searchfield === null || searchfield === void 0 ? void 0 : searchfield.action }) })), jsxRuntime.jsx("div", Object.assign({ className: `${prefix}--mobile--nav--language--switcher` }, { children: jsxRuntime.jsx("button", Object.assign({ className: `${prefix}--mobile--nav--language--switcher--button`, onClick: handleLanguageToggle, type: "button" }, { children: languagelabel })) })), jsxRuntime.jsx("div", Object.assign({ className: `${prefix}--mobile--nav--language--select` }, { children: jsxRuntime.jsxs("div", Object.assign({ className: `${baseClass}--inner ${prefix}--container` }, { children: [jsxRuntime.jsxs("div", Object.assign({ className: `${prefix}--mobile--subnav--menu` }, { children: [jsxRuntime.jsx("button", Object.assign({ className: `${prefix}--mobile--subnav--back`, onClick: handleLanguageToggle, type: "button" }, { children: subnav === null || subnav === void 0 ? void 0 : subnav.mobilebacklabel })), jsxRuntime.jsx("button", Object.assign({ className: `${baseClass}--menu--close`, onClick: handleMenuToggle }, { children: subnav === null || subnav === void 0 ? void 0 : subnav.mobilecloselabel })), jsxRuntime.jsx("h6", Object.assign({ className: `${prefix}--mobile--subnav--label` }, { children: languagelabel }))] })), jsxRuntime.jsx("ul", Object.assign({ className: `${prefix}--nav--set` }, { children: (languagecontextmenu === null || languagecontextmenu === void 0 ? void 0 : languagecontextmenu.links) &&
|
|
71
78
|
languagecontextmenu.links.map((item, index) => (jsxRuntime.jsx("li", Object.assign({ className: `${prefix}--nav--items` }, { children: jsxRuntime.jsx("a", Object.assign({ href: item.url, className: `${prefix}--nav--link ${prefix}--nav--language` }, { children: item.label })) }), index))) }))] })) }))] })), jsxRuntime.jsxs("nav", Object.assign({ className: `${prefix}--nav`, "aria-labelledby": "primary-navigation" }, { children: [jsxRuntime.jsx("h2", Object.assign({ className: `${prefix}--nav--label`, id: "primary-navigation" }, { children: primarynav === null || primarynav === void 0 ? void 0 : primarynav.navlabel })), jsxRuntime.jsxs("ul", Object.assign({ className: `${prefix}--nav--set` }, { children: [(primarynav === null || primarynav === void 0 ? void 0 : primarynav.items) &&
|
|
72
79
|
primarynav.items.map((item, index) => (jsxRuntime.jsx("li", Object.assign({ className: `${prefix}--nav--items` }, { children: jsxRuntime.jsx("a", Object.assign({ href: item.url, className: `${prefix}--nav--link` }, { children: item.label })) }), index))), subnav && (jsxRuntime.jsx("li", Object.assign({ className: `${prefix}--nav--items` }, { children: jsxRuntime.jsx("button", Object.assign({ className: `${prefix}--nav--trigger`, onClick: handleSubnavToggle }, { children: subnav.buttonlabel })) })))] }))] })), jsxRuntime.jsx("div", Object.assign({ className: `${prefix}--search` }, { children: jsxRuntime.jsx("button", Object.assign({ className: `${prefix}--search--button`, type: "button", onClick: handleSearchToggle }, { children: searchlabel })) }))] })), subnav && (jsxRuntime.jsx("nav", Object.assign({ style: { display: subnavTabbable ? "block" : "none" }, className: `${prefix}--subnav`, "aria-labelledby": "secondary-navigation" }, { children: jsxRuntime.jsxs("div", Object.assign({ className: `${prefix}--subnav--inner ${prefix}--container` }, { children: [jsxRuntime.jsx("div", Object.assign({ className: `${prefix}--mobile--subnav` }, { children: jsxRuntime.jsxs("div", Object.assign({ className: `${prefix}--mobile--subnav--menu` }, { children: [jsxRuntime.jsx("button", Object.assign({ className: `${prefix}--mobile--subnav--back`, onClick: handleSubnavToggle, type: "button" }, { children: subnav.mobilebacklabel })), jsxRuntime.jsx("button", Object.assign({ className: `${prefix}--header--menu--close`, onClick: handleMenuToggle }, { children: subnav.mobilecloselabel })), jsxRuntime.jsx("h6", Object.assign({ className: `${prefix}--mobile--subnav--label` }, { children: subnav.buttonlabel }))] })) })), jsxRuntime.jsx("h2", Object.assign({ className: `${prefix}--nav--label`, id: "secondary-navigation" }, { children: subnav.navlabel })), jsxRuntime.jsx("ul", Object.assign({ className: `${prefix}--subnav--set` }, { children: (subnav === null || subnav === void 0 ? void 0 : subnav.items) &&
|
|
73
|
-
subnav.items.map((item, index) => (jsxRuntime.jsx("li", Object.assign({ className: `${prefix}--subnav--items` }, { children: jsxRuntime.jsx("a", Object.assign({ href: item.url, className: `${prefix}--subnav--link` }, { children: item.label })) }), index))) }))] })) }))), jsxRuntime.jsx("div", Object.assign({ style: { display: searchTabbable ? "block" : "none" }, className: `${prefix}--search-box` }, { children: jsxRuntime.jsx("div", Object.assign({ className: `${prefix}--header--inner ${prefix}--container` }, { children: jsxRuntime.jsx(components_SearchField_SearchField, { input: searchfield === null || searchfield === void 0 ? void 0 : searchfield.input, action: searchfield === null || searchfield === void 0 ? void 0 : searchfield.action }) })) }))] }))] })));
|
|
80
|
+
subnav.items.map((item, index) => (jsxRuntime.jsx("li", Object.assign({ className: `${prefix}--subnav--items` }, { children: jsxRuntime.jsx("a", Object.assign({ href: item.url, className: `${prefix}--subnav--link` }, { children: item.label })) }), index))) }))] })) }))), jsxRuntime.jsx("div", Object.assign({ style: { display: searchTabbable ? "block" : "none" }, className: `${prefix}--search-box` }, { children: jsxRuntime.jsx("div", Object.assign({ className: `${prefix}--header--inner ${prefix}--container` }, { children: jsxRuntime.jsx(components_SearchField_SearchField, { input: searchfield === null || searchfield === void 0 ? void 0 : searchfield.input, action: searchfield === null || searchfield === void 0 ? void 0 : searchfield.action, ref: searchInputRef }) })) }))] }))] })));
|
|
74
81
|
};
|
|
75
82
|
|
|
76
83
|
module.exports = Navigation;
|
|
@@ -14,7 +14,7 @@ require('@popperjs/core');
|
|
|
14
14
|
require('../FormElement/FormElement.js');
|
|
15
15
|
require('@ilo-org/icons-react');
|
|
16
16
|
|
|
17
|
-
const SearchField = ({ action, callback, className, input,
|
|
17
|
+
const SearchField = React.forwardRef(({ action, callback, className, input }, ref) => {
|
|
18
18
|
const [searchValue, setSearchValue] = React.useState("");
|
|
19
19
|
const { prefix } = hooks_useGlobalSettings();
|
|
20
20
|
const baseClass = `${prefix}--searchfield`;
|
|
@@ -42,7 +42,7 @@ const SearchField = ({ action, callback, className, input, }) => {
|
|
|
42
42
|
if (!inputHasType) {
|
|
43
43
|
throw new Error("SearchField: Input must have type prop");
|
|
44
44
|
}
|
|
45
|
-
return inputHasType ? (jsxRuntime.jsxs("form", Object.assign({ className: SearchFieldClasses, action: action }, { children: [jsxRuntime.jsxs("div", Object.assign({ className: fieldSetClass }, { children: [jsxRuntime.jsx(components_Input_Input, { id: input === null || input === void 0 ? void 0 : input.id, name: input === null || input === void 0 ? void 0 : input.name, disabled: input === null || input === void 0 ? void 0 : input.disabled, callback: onKeyPress, error: input === null || input === void 0 ? void 0 : input.error, helper: input === null || input === void 0 ? void 0 : input.helper, label: input === null || input === void 0 ? void 0 : input.label, placeholder: input === null || input === void 0 ? void 0 : input.placeholder, type: input === null || input === void 0 ? void 0 : input.type, value: searchValue, className: `${prefix}--input
|
|
46
|
-
};
|
|
45
|
+
return inputHasType ? (jsxRuntime.jsxs("form", Object.assign({ className: SearchFieldClasses, action: action }, { children: [jsxRuntime.jsxs("div", Object.assign({ className: fieldSetClass }, { children: [jsxRuntime.jsx(components_Input_Input, { id: input === null || input === void 0 ? void 0 : input.id, name: input === null || input === void 0 ? void 0 : input.name, disabled: input === null || input === void 0 ? void 0 : input.disabled, callback: onKeyPress, error: input === null || input === void 0 ? void 0 : input.error, helper: input === null || input === void 0 ? void 0 : input.helper, label: input === null || input === void 0 ? void 0 : input.label, placeholder: input === null || input === void 0 ? void 0 : input.placeholder, type: input === null || input === void 0 ? void 0 : input.type, value: searchValue, className: `${prefix}--input`, ref: ref }), jsxRuntime.jsx("span", Object.assign({ onClick: handleClearButtonClick, className: clearButtonClass }, { children: jsxRuntime.jsx(components_Icon_Icon, { name: "close", hidden: true }) }))] })), jsxRuntime.jsx("input", { className: buttonClass, disabled: input === null || input === void 0 ? void 0 : input.disabled, type: "submit", onClick: handleClick })] }))) : null;
|
|
46
|
+
});
|
|
47
47
|
|
|
48
48
|
module.exports = SearchField;
|
|
@@ -15,10 +15,10 @@ const Button = ({ callback, className, disabled = false, icon, icononly, iconPos
|
|
|
15
15
|
const icoPos = iconPosition || "left";
|
|
16
16
|
const ButtonClasses = classNames(className, {
|
|
17
17
|
[baseClass]: true,
|
|
18
|
-
[`${baseClass}
|
|
19
|
-
[`${baseClass}
|
|
20
|
-
[
|
|
21
|
-
[
|
|
18
|
+
[`${baseClass}__${size}`]: size,
|
|
19
|
+
[`${baseClass}__${type}`]: type,
|
|
20
|
+
[`${baseClass}--icon ${baseClass}--icon--position__${icoPos}`]: icon && !icononly,
|
|
21
|
+
[`${baseClass}--icon ${baseClass}--icon--only`]: icon && icononly,
|
|
22
22
|
});
|
|
23
23
|
/**
|
|
24
24
|
* On click, if there is a callback, call it
|
|
@@ -20,11 +20,11 @@ const Callout = ({ className, copy, cta, isCollapsible, isOpen = true, toggleOpe
|
|
|
20
20
|
}, [isOpen]);
|
|
21
21
|
const calloutClasses = classNames(className, {
|
|
22
22
|
[baseClass]: true,
|
|
23
|
-
[`${baseClass}
|
|
23
|
+
[`${baseClass}__${type}`]: type,
|
|
24
24
|
[`${baseClass}--open`]: toggleOpen,
|
|
25
25
|
[`${baseClass}--collapse`]: isCollapsible,
|
|
26
26
|
});
|
|
27
|
-
const iconClasses = `icon
|
|
27
|
+
const iconClasses = `icon icon__${type}`;
|
|
28
28
|
const ctaprops = {
|
|
29
29
|
callback: undefined,
|
|
30
30
|
className: `${baseClass}--cta`,
|
|
@@ -39,7 +39,7 @@ const Callout = ({ className, copy, cta, isCollapsible, isOpen = true, toggleOpe
|
|
|
39
39
|
toggleLabel = toggleOpen ? toggleOpenLabel : toggleClosedLabel;
|
|
40
40
|
setToggleOpen(!toggleOpen);
|
|
41
41
|
};
|
|
42
|
-
return (jsxs("div", Object.assign({ className: calloutClasses }, { children: [jsx("div", Object.assign({ className: `${baseClass}
|
|
42
|
+
return (jsxs("div", Object.assign({ className: calloutClasses }, { children: [jsx("div", Object.assign({ className: `${baseClass}__sidebar` }, { children: jsx("span", { className: iconClasses }) })), jsxs("div", Object.assign({ className: `${baseClass}__content` }, { children: [jsxs("div", Object.assign({ className: `${baseClass}__header` }, { children: [jsx("h5", Object.assign({ className: `${baseClass}__title` }, { children: headline })), isCollapsible && (jsxs("button", Object.assign({ className: `${baseClass}--toggle`, onClick: handleToggle, type: "button" }, { children: [toggleLabel, jsx("span", { className: `${baseClass}--toggle--icon` })] })))] })), jsx("p", Object.assign({ className: `${baseClass}__description` }, { children: copy })), cta && jsx(Button, Object.assign({}, ctaprops))] }))] })));
|
|
43
43
|
};
|
|
44
44
|
|
|
45
45
|
export { Callout as default };
|
|
@@ -9,31 +9,24 @@ import transitionEndListener from '../../utils/transitionEndListener.js';
|
|
|
9
9
|
import triggerBrowserReflow from '../../utils/triggerBrowserReflow.js';
|
|
10
10
|
import '../../css-7414f50b.js';
|
|
11
11
|
|
|
12
|
-
function _objectWithoutPropertiesLoose(
|
|
13
|
-
if (
|
|
14
|
-
var
|
|
15
|
-
var
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
key = sourceKeys[i];
|
|
19
|
-
if (excluded.indexOf(key) >= 0) continue;
|
|
20
|
-
target[key] = source[key];
|
|
12
|
+
function _objectWithoutPropertiesLoose(r, e) {
|
|
13
|
+
if (null == r) return {};
|
|
14
|
+
var t = {};
|
|
15
|
+
for (var n in r) if ({}.hasOwnProperty.call(r, n)) {
|
|
16
|
+
if (e.indexOf(n) >= 0) continue;
|
|
17
|
+
t[n] = r[n];
|
|
21
18
|
}
|
|
22
|
-
return
|
|
19
|
+
return t;
|
|
23
20
|
}
|
|
24
21
|
|
|
25
|
-
function _setPrototypeOf(
|
|
26
|
-
_setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
};
|
|
30
|
-
return _setPrototypeOf(o, p);
|
|
22
|
+
function _setPrototypeOf(t, e) {
|
|
23
|
+
return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
|
|
24
|
+
return t.__proto__ = e, t;
|
|
25
|
+
}, _setPrototypeOf(t, e);
|
|
31
26
|
}
|
|
32
27
|
|
|
33
|
-
function _inheritsLoose(
|
|
34
|
-
|
|
35
|
-
subClass.prototype.constructor = subClass;
|
|
36
|
-
_setPrototypeOf(subClass, superClass);
|
|
28
|
+
function _inheritsLoose(t, o) {
|
|
29
|
+
t.prototype = Object.create(o.prototype), t.prototype.constructor = t, _setPrototypeOf(t, o);
|
|
37
30
|
}
|
|
38
31
|
|
|
39
32
|
var propTypes = {exports: {}};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { forwardRef } from 'react';
|
|
2
3
|
import classNames from 'classnames';
|
|
3
4
|
import useGlobalSettings from '../../hooks/useGlobalSettings.js';
|
|
4
5
|
import Fieldset from '../Fieldset/Fieldset.js';
|
|
5
6
|
import FormElement from '../FormElement/FormElement.js';
|
|
6
7
|
import 'tslib';
|
|
7
|
-
import 'react';
|
|
8
8
|
import '../../GlobalCtx-7fb23cfa.js';
|
|
9
9
|
import '../Tooltip/Tooltip.js';
|
|
10
10
|
import '@popperjs/core';
|
|
11
11
|
|
|
12
|
-
const Input = ({ callback, disabled = false, error, helper, id, label, name, placeholder, required, tooltip, value, type = "text", }) => {
|
|
12
|
+
const Input = forwardRef(({ callback, disabled = false, error, helper, id, label, name, placeholder, required, tooltip, value, type = "text", }, ref) => {
|
|
13
13
|
const { prefix } = useGlobalSettings();
|
|
14
14
|
const baseClass = `${prefix}--input`;
|
|
15
15
|
const InputClasses = classNames("", {
|
|
@@ -24,7 +24,7 @@ const Input = ({ callback, disabled = false, error, helper, id, label, name, pla
|
|
|
24
24
|
callback(e);
|
|
25
25
|
}
|
|
26
26
|
};
|
|
27
|
-
return (jsx(Fieldset, { children: jsx(FormElement, Object.assign({ elemid: name, label: label, helper: helper, error: error, required: required, tooltip: tooltip }, { children: jsx("input", { id: id ? id : name, name: name, onChange: handleChange, disabled: disabled, placeholder: placeholder, required: required, type: type, value: value, className: InputClasses }) })) }));
|
|
28
|
-
};
|
|
27
|
+
return (jsx(Fieldset, { children: jsx(FormElement, Object.assign({ elemid: name, label: label, helper: helper, error: error, required: required, tooltip: tooltip }, { children: jsx("input", { id: id ? id : name, name: name, onChange: handleChange, disabled: disabled, placeholder: placeholder, required: required, type: type, value: value, className: InputClasses, ref: ref }) })) }));
|
|
28
|
+
});
|
|
29
29
|
|
|
30
30
|
export { Input as default };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export { default as Input } from './Input.js';
|
|
2
2
|
import 'react/jsx-runtime';
|
|
3
|
+
import 'react';
|
|
3
4
|
import 'classnames';
|
|
4
5
|
import '../../hooks/useGlobalSettings.js';
|
|
5
6
|
import 'tslib';
|
|
6
|
-
import 'react';
|
|
7
7
|
import '../../GlobalCtx-7fb23cfa.js';
|
|
8
8
|
import '../Fieldset/Fieldset.js';
|
|
9
9
|
import '../Tooltip/Tooltip.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
-
import { useState, useCallback, useEffect } from 'react';
|
|
2
|
+
import { useState, useRef, useCallback, useEffect } from 'react';
|
|
3
3
|
import useGlobalSettings from '../../hooks/useGlobalSettings.js';
|
|
4
4
|
import ContextMenu from '../ContextMenu/ContextMenu.js';
|
|
5
5
|
import SearchField from '../SearchField/SearchField.js';
|
|
@@ -30,6 +30,12 @@ const Navigation = ({ logo, mobilelogo, siteurl, tagline, primarynav, subnav, me
|
|
|
30
30
|
[`${prefix}--select--open`]: toggleLanguageOpen,
|
|
31
31
|
[`${prefix}--context--open`]: toggleLanguageOpen,
|
|
32
32
|
});
|
|
33
|
+
const searchInputRef = useRef(null);
|
|
34
|
+
const handleSearchInputFocus = () => {
|
|
35
|
+
if (searchInputRef.current) {
|
|
36
|
+
searchInputRef.current.focus();
|
|
37
|
+
}
|
|
38
|
+
};
|
|
33
39
|
const handleMenuToggle = () => {
|
|
34
40
|
setMenuToggleOpen(!toggleMenuOpen);
|
|
35
41
|
};
|
|
@@ -44,6 +50,7 @@ const Navigation = ({ logo, mobilelogo, siteurl, tagline, primarynav, subnav, me
|
|
|
44
50
|
}
|
|
45
51
|
setSearchTabbable(true);
|
|
46
52
|
setTimeout(() => setSearchToggleOpen(true), 10);
|
|
53
|
+
setTimeout(() => handleSearchInputFocus(), 50);
|
|
47
54
|
};
|
|
48
55
|
const handleSubnavToggle = () => {
|
|
49
56
|
if (toggleSubnavOpen) {
|
|
@@ -68,7 +75,7 @@ const Navigation = ({ logo, mobilelogo, siteurl, tagline, primarynav, subnav, me
|
|
|
68
75
|
return (jsxs("header", Object.assign({ className: NavigationClasses }, { children: [jsx("div", Object.assign({ className: `${baseClass}--utility-bar` }, { children: jsx("div", Object.assign({ className: `${prefix}--language-switcher` }, { children: jsxs("div", Object.assign({ className: `${prefix}--language-switcher--wrap` }, { children: [jsx("button", Object.assign({ className: `${prefix}--language-switcher--button`, type: "button", onClick: handleLanguageToggle }, { children: languagelabel })), jsx(ContextMenu, { links: languagecontextmenu === null || languagecontextmenu === void 0 ? void 0 : languagecontextmenu.links })] })) })) })), jsx("div", Object.assign({ className: `${baseClass}--logo-bar` }, { children: jsxs("div", Object.assign({ className: `${baseClass}--inner ${prefix}--container` }, { children: [jsx("a", Object.assign({ href: siteurl, className: `${baseClass}--logo-link` }, { children: jsx("img", { className: `${baseClass}--logo`, src: logo, alt: "ILO Logo" }) })), jsxs("p", Object.assign({ className: `${baseClass}--logo-tagline` }, { children: [tagline === null || tagline === void 0 ? void 0 : tagline.tag, jsx("span", Object.assign({ className: `${baseClass}--logo-tagline--small` }, { children: tagline === null || tagline === void 0 ? void 0 : tagline.small }))] })), jsx("button", Object.assign({ className: `${baseClass}--menu`, onClick: handleMenuToggle }, { children: menulabel }))] })) })), jsxs("div", Object.assign({ className: `${baseClass}--navigation` }, { children: [jsxs("div", Object.assign({ className: `${baseClass}--inner ${prefix}--container` }, { children: [jsxs("div", Object.assign({ className: `${prefix}--mobile--nav` }, { children: [jsxs("div", Object.assign({ className: `${prefix}--mobile--nav--logo` }, { children: [jsx("a", Object.assign({ href: siteurl, className: `${baseClass}--logo-link` }, { children: jsx("img", { className: `${baseClass}--logo`, src: mobilelogo, alt: "ILO Logo" }) })), jsx("button", Object.assign({ className: `${baseClass}--menu--close`, onClick: handleMenuToggle }, { children: menucloselabel }))] })), jsx("div", Object.assign({ className: `${prefix}--mobile--nav--search` }, { children: jsx(SearchField, { input: searchfield === null || searchfield === void 0 ? void 0 : searchfield.input, action: searchfield === null || searchfield === void 0 ? void 0 : searchfield.action }) })), jsx("div", Object.assign({ className: `${prefix}--mobile--nav--language--switcher` }, { children: jsx("button", Object.assign({ className: `${prefix}--mobile--nav--language--switcher--button`, onClick: handleLanguageToggle, type: "button" }, { children: languagelabel })) })), jsx("div", Object.assign({ className: `${prefix}--mobile--nav--language--select` }, { children: jsxs("div", Object.assign({ className: `${baseClass}--inner ${prefix}--container` }, { children: [jsxs("div", Object.assign({ className: `${prefix}--mobile--subnav--menu` }, { children: [jsx("button", Object.assign({ className: `${prefix}--mobile--subnav--back`, onClick: handleLanguageToggle, type: "button" }, { children: subnav === null || subnav === void 0 ? void 0 : subnav.mobilebacklabel })), jsx("button", Object.assign({ className: `${baseClass}--menu--close`, onClick: handleMenuToggle }, { children: subnav === null || subnav === void 0 ? void 0 : subnav.mobilecloselabel })), jsx("h6", Object.assign({ className: `${prefix}--mobile--subnav--label` }, { children: languagelabel }))] })), jsx("ul", Object.assign({ className: `${prefix}--nav--set` }, { children: (languagecontextmenu === null || languagecontextmenu === void 0 ? void 0 : languagecontextmenu.links) &&
|
|
69
76
|
languagecontextmenu.links.map((item, index) => (jsx("li", Object.assign({ className: `${prefix}--nav--items` }, { children: jsx("a", Object.assign({ href: item.url, className: `${prefix}--nav--link ${prefix}--nav--language` }, { children: item.label })) }), index))) }))] })) }))] })), jsxs("nav", Object.assign({ className: `${prefix}--nav`, "aria-labelledby": "primary-navigation" }, { children: [jsx("h2", Object.assign({ className: `${prefix}--nav--label`, id: "primary-navigation" }, { children: primarynav === null || primarynav === void 0 ? void 0 : primarynav.navlabel })), jsxs("ul", Object.assign({ className: `${prefix}--nav--set` }, { children: [(primarynav === null || primarynav === void 0 ? void 0 : primarynav.items) &&
|
|
70
77
|
primarynav.items.map((item, index) => (jsx("li", Object.assign({ className: `${prefix}--nav--items` }, { children: jsx("a", Object.assign({ href: item.url, className: `${prefix}--nav--link` }, { children: item.label })) }), index))), subnav && (jsx("li", Object.assign({ className: `${prefix}--nav--items` }, { children: jsx("button", Object.assign({ className: `${prefix}--nav--trigger`, onClick: handleSubnavToggle }, { children: subnav.buttonlabel })) })))] }))] })), jsx("div", Object.assign({ className: `${prefix}--search` }, { children: jsx("button", Object.assign({ className: `${prefix}--search--button`, type: "button", onClick: handleSearchToggle }, { children: searchlabel })) }))] })), subnav && (jsx("nav", Object.assign({ style: { display: subnavTabbable ? "block" : "none" }, className: `${prefix}--subnav`, "aria-labelledby": "secondary-navigation" }, { children: jsxs("div", Object.assign({ className: `${prefix}--subnav--inner ${prefix}--container` }, { children: [jsx("div", Object.assign({ className: `${prefix}--mobile--subnav` }, { children: jsxs("div", Object.assign({ className: `${prefix}--mobile--subnav--menu` }, { children: [jsx("button", Object.assign({ className: `${prefix}--mobile--subnav--back`, onClick: handleSubnavToggle, type: "button" }, { children: subnav.mobilebacklabel })), jsx("button", Object.assign({ className: `${prefix}--header--menu--close`, onClick: handleMenuToggle }, { children: subnav.mobilecloselabel })), jsx("h6", Object.assign({ className: `${prefix}--mobile--subnav--label` }, { children: subnav.buttonlabel }))] })) })), jsx("h2", Object.assign({ className: `${prefix}--nav--label`, id: "secondary-navigation" }, { children: subnav.navlabel })), jsx("ul", Object.assign({ className: `${prefix}--subnav--set` }, { children: (subnav === null || subnav === void 0 ? void 0 : subnav.items) &&
|
|
71
|
-
subnav.items.map((item, index) => (jsx("li", Object.assign({ className: `${prefix}--subnav--items` }, { children: jsx("a", Object.assign({ href: item.url, className: `${prefix}--subnav--link` }, { children: item.label })) }), index))) }))] })) }))), jsx("div", Object.assign({ style: { display: searchTabbable ? "block" : "none" }, className: `${prefix}--search-box` }, { children: jsx("div", Object.assign({ className: `${prefix}--header--inner ${prefix}--container` }, { children: jsx(SearchField, { input: searchfield === null || searchfield === void 0 ? void 0 : searchfield.input, action: searchfield === null || searchfield === void 0 ? void 0 : searchfield.action }) })) }))] }))] })));
|
|
78
|
+
subnav.items.map((item, index) => (jsx("li", Object.assign({ className: `${prefix}--subnav--items` }, { children: jsx("a", Object.assign({ href: item.url, className: `${prefix}--subnav--link` }, { children: item.label })) }), index))) }))] })) }))), jsx("div", Object.assign({ style: { display: searchTabbable ? "block" : "none" }, className: `${prefix}--search-box` }, { children: jsx("div", Object.assign({ className: `${prefix}--header--inner ${prefix}--container` }, { children: jsx(SearchField, { input: searchfield === null || searchfield === void 0 ? void 0 : searchfield.input, action: searchfield === null || searchfield === void 0 ? void 0 : searchfield.action, ref: searchInputRef }) })) }))] }))] })));
|
|
72
79
|
};
|
|
73
80
|
|
|
74
81
|
export { Navigation as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
2
|
-
import { useState } from 'react';
|
|
2
|
+
import { forwardRef, useState } from 'react';
|
|
3
3
|
import classNames from 'classnames';
|
|
4
4
|
import useGlobalSettings from '../../hooks/useGlobalSettings.js';
|
|
5
5
|
import Input from '../Input/Input.js';
|
|
@@ -12,7 +12,7 @@ import '@popperjs/core';
|
|
|
12
12
|
import '../FormElement/FormElement.js';
|
|
13
13
|
import '@ilo-org/icons-react';
|
|
14
14
|
|
|
15
|
-
const SearchField = ({ action, callback, className, input,
|
|
15
|
+
const SearchField = forwardRef(({ action, callback, className, input }, ref) => {
|
|
16
16
|
const [searchValue, setSearchValue] = useState("");
|
|
17
17
|
const { prefix } = useGlobalSettings();
|
|
18
18
|
const baseClass = `${prefix}--searchfield`;
|
|
@@ -40,7 +40,7 @@ const SearchField = ({ action, callback, className, input, }) => {
|
|
|
40
40
|
if (!inputHasType) {
|
|
41
41
|
throw new Error("SearchField: Input must have type prop");
|
|
42
42
|
}
|
|
43
|
-
return inputHasType ? (jsxs("form", Object.assign({ className: SearchFieldClasses, action: action }, { children: [jsxs("div", Object.assign({ className: fieldSetClass }, { children: [jsx(Input, { id: input === null || input === void 0 ? void 0 : input.id, name: input === null || input === void 0 ? void 0 : input.name, disabled: input === null || input === void 0 ? void 0 : input.disabled, callback: onKeyPress, error: input === null || input === void 0 ? void 0 : input.error, helper: input === null || input === void 0 ? void 0 : input.helper, label: input === null || input === void 0 ? void 0 : input.label, placeholder: input === null || input === void 0 ? void 0 : input.placeholder, type: input === null || input === void 0 ? void 0 : input.type, value: searchValue, className: `${prefix}--input
|
|
44
|
-
};
|
|
43
|
+
return inputHasType ? (jsxs("form", Object.assign({ className: SearchFieldClasses, action: action }, { children: [jsxs("div", Object.assign({ className: fieldSetClass }, { children: [jsx(Input, { id: input === null || input === void 0 ? void 0 : input.id, name: input === null || input === void 0 ? void 0 : input.name, disabled: input === null || input === void 0 ? void 0 : input.disabled, callback: onKeyPress, error: input === null || input === void 0 ? void 0 : input.error, helper: input === null || input === void 0 ? void 0 : input.helper, label: input === null || input === void 0 ? void 0 : input.label, placeholder: input === null || input === void 0 ? void 0 : input.placeholder, type: input === null || input === void 0 ? void 0 : input.type, value: searchValue, className: `${prefix}--input`, ref: ref }), jsx("span", Object.assign({ onClick: handleClearButtonClick, className: clearButtonClass }, { children: jsx(Icon, { name: "close", hidden: true }) }))] })), jsx("input", { className: buttonClass, disabled: input === null || input === void 0 ? void 0 : input.disabled, type: "submit", onClick: handleClick })] }))) : null;
|
|
44
|
+
});
|
|
45
45
|
|
|
46
46
|
export { SearchField as default };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
.ilo--accordion--button{display:flex;flex-direction:row;justify-content:space-between;width:100%;margin:0;padding-block:calc(4 * var(--ilo-spacing-base));padding-inline-end:calc(11 * var(--ilo-spacing-base));background-color:#fff;background-position:calc(100% - .3215434084rem) 50%;background-repeat:no-repeat;background-size:1.2861736334rem 1.2861736334rem;border:none;border-top:2px solid #edf0f2;fill:#230050;font-family:var(--ilo-fonts-display);color:#230050;font-weight:500;transition:all .5s ease-in-out;font-size:16px;letter-spacing:-.02em;line-height:21.6px;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23230050' d='M18 11h-5V6h-2v5H6v2h5v5h2v-5h5v-2z'/%3E%3C/svg%3E")}.ilo--accordion--button__large{font-size:18.66px;letter-spacing:-.035em;line-height:24.26px;padding-block:calc(5 * var(--ilo-spacing-base));padding-inline-end:calc(11 * var(--ilo-spacing-base))}.ilo--accordion--button:focus,.ilo--accordion--button:hover{border-top-color:#1e2dbe;color:#1e2dbe;fill:#1e2dbe;cursor:pointer}.ilo--accordion--button:focus[aria-expanded=true],.ilo--accordion--button:hover[aria-expanded=true]{color:#230050;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23230050' d='M18 11H6v2h12v-2z'/%3E%3C/svg%3E")}.ilo--accordion--button:focus[aria-expanded=false],.ilo--accordion--button:hover[aria-expanded=false]{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%231E2DBE' d='M18 11h-5V6h-2v5H6v2h5v5h2v-5h5v-2z'/%3E%3C/svg%3E")}@media screen and (min-width:610px){.ilo--accordion--button{font-size:16px;letter-spacing:-.02em;line-height:21.6px}.ilo--accordion--button__large{font-size:18.66px;letter-spacing:-.035em;line-height:24.26px;padding:calc(5 * var(--ilo-spacing-base)) 0;padding-inline-end:calc(11 * var(--ilo-spacing-base))}}.ilo--accordion--button[aria-expanded=true]{background-color:#ebf5fd;color:#1e2dbe;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%231E2DBE' d='M18 11H6v2h12v-2z'/%3E%3C/svg%3E")}.ilo--accordion--button[aria-expanded=false]{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23230050' d='M18 11h-5V6h-2v5H6v2h5v5h2v-5h5v-2z'/%3E%3C/svg%3E")}[dir=rtl] .ilo--accordion--button{background-position:calc(0% + .3215434084rem) 50%}.ilo--accordion--panel{max-height:0;transition:all .5s cubic-bezier(0,1,0,1);overflow:hidden}.ilo--accordion--panel .ilo--accordion--innerpanel{padding-bottom:calc(9 * var(--ilo-spacing-base));padding-top:calc(2 * var(--ilo-spacing-base));padding-inline-end:calc(8 * var(--ilo-spacing-base))}.ilo--accordion--panel__open{max-height:100vh;transition:all .5s ease-in-out}.ilo--accordion--panel__open.ilo--accordion--panel__scroll{max-height:300px;overflow-y:auto}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
.ilo--breadcrumb{position:relative;z-index:10}.ilo--breadcrumb--inner{display:inline-flex;padding-inline-start:var(--breadcrumb-padding);padding-inline-end:calc(12 * var(--ilo-spacing-base));padding-block:calc(4 * var(--ilo-spacing-base));background-color:#fff;clip-path:polygon(0 0,100% 0,calc(100% - (12 * var(--ilo-spacing-base))) 100%,0 100%)}[dir=rtl] .ilo--breadcrumb--inner{clip-path:polygon(0 0,100% 0,100% 100%,calc(12 * var(--ilo-spacing-base)) 100%)}.ilo--breadcrumb--context,.ilo--breadcrumb--items{align-items:center;display:inline-flex;justify-content:flex-start;list-style:none}.ilo--breadcrumb--context__collapse,.ilo--breadcrumb--item{background-repeat:no-repeat;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 16'%3E%3Cpath fill='%23230050' d='M1.731 16l-1.118-.815L5.838 8 .613.814 1.731 0l5.522 7.593a.69.69 0 0 1 0 .814L1.731 16z'/%3E%3C/svg%3E");background-position:0;padding-inline:calc(6 * var(--ilo-spacing-base)) calc(4 * var(--ilo-spacing-base))}[dir=rtl] .ilo--breadcrumb--context__collapse,[dir=rtl] .ilo--breadcrumb--item{background-position:100%;background-repeat:no-repeat;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 16'%3E%3Cpath fill='%23230050' d='M.7 8.4c0-.1-.1-.3-.1-.4s0-.3.1-.4L6.3 0l1.1.8L2.2 8l5.2 7.2-1.1.8L.7 8.4z'/%3E%3C/svg%3E")}.ilo--breadcrumb--context{position:relative}.ilo--breadcrumb--context--button{display:none;padding:0;margin:0;border:none;background-position:50%;background-repeat:no-repeat;background-size:16px 4px;position:relative;width:2.2508038585rem;height:.857449089rem;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 4'%3E%3Cpath fill='%23230050' d='M2 4a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm6 0a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm6 0a2 2 0 1 0 0-4 2 2 0 0 0 0 4z'/%3E%3C/svg%3E")}.ilo--breadcrumb--context--button:hover{cursor:pointer;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 4'%3E%3Cpath fill='%231E2DBE' d='M2 4a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm6 0a2 2 0 1 0 0-4 2 2 0 0 0 0 4zm6 0a2 2 0 1 0 0-4 2 2 0 0 0 0 4z'/%3E%3C/svg%3E")}.ilo--breadcrumb--context--menu{display:none;position:fixed;width:6.4308681672rem;z-index:10}.ilo--breadcrumb--context--menu__visible{display:inline-block}.ilo--breadcrumb--context__collapse{padding-inline:calc(3 * var(--ilo-spacing-base)) calc(1 * var(--ilo-spacing-base))}.ilo--breadcrumb--context__collapse .ilo--breadcrumb--items{display:none}.ilo--breadcrumb--context__collapse .ilo--breadcrumb--context--button{display:inline-block}.ilo--breadcrumb--item,.ilo--breadcrumb--item__first{align-items:center;display:flex}.ilo--breadcrumb--item__first{position:relative;background:0 0!important;padding-inline-start:2px}.ilo--breadcrumb--item__first:focus .ilo--breadcrumb--link:after,.ilo--breadcrumb--item__first:hover .ilo--breadcrumb--link:after{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%231E2DBE' d='M15.388 5.717L8.43.152a.696.696 0 0 0-.862 0L.612 5.717a.696.696 0 0 0-.264.542v9.044a.696.696 0 0 0 .695.695h4.87v-5.565h4.174V16h4.87a.696.696 0 0 0 .695-.696V6.259a.695.695 0 0 0-.264-.542z'/%3E%3C/svg%3E")}.ilo--breadcrumb--item__first .ilo--breadcrumb--link{background:0 0;width:.857449089rem;height:.857449089rem;position:relative}.ilo--breadcrumb--item__first .ilo--breadcrumb--link:after{background-position:50%;background-repeat:no-repeat;content:"";display:block;height:.857449089rem;left:0;position:absolute;top:0;width:.857449089rem;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23230050' d='M15.388 5.717L8.43.152a.696.696 0 0 0-.862 0L.612 5.717a.696.696 0 0 0-.264.542v9.044a.696.696 0 0 0 .695.695h4.87v-5.565h4.174V16h4.87a.696.696 0 0 0 .695-.696V6.259a.695.695 0 0 0-.264-.542z'/%3E%3C/svg%3E")}.ilo--breadcrumb--link{display:inline-flex;align-items:center;color:#230050;height:.857449089rem;padding-block:0;text-decoration:none}.ilo--breadcrumb--link--label{white-space:nowrap;overflow-x:clip;text-overflow:ellipsis;max-width:30ch;font-family:var(--ilo-fonts-copy);font-weight:400;font-size:11.94px;letter-spacing:normal;line-height:16.24px}.ilo--breadcrumb--link--label:focus,.ilo--breadcrumb--link--label:hover{color:#1e2dbe;text-decoration:underline;text-underline-offset:.2143622722rem;text-decoration-thickness:.1071811361rem}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
.ilo--button{--ilo-button-label-weight:700;--ilo-button-labels-actionable-color:var(--ilo-color-blue-dark);--ilo-button-labels-active-color:var(--ilo-color-blue-light);--ilo-button-labels-alert-color:var(--ilo-color-white);--ilo-button-labels-hover-color:var(--ilo-color-blue);display:inline-block;font-family:var(--ilo-fonts-display);font-weight:var(--ilo-button-label-weight);padding:0;border-radius:var(--ilo-border-md);transition-property:color,background-color,border-color;transition-duration:.15s;transition-timing-function:ease-out}.ilo--button .button__label,.ilo--button .link__label{display:inline-block;position:relative;top:.1071811361rem}.ilo--button--icon{position:relative}.ilo--button--icon .ilo--icon{height:100%;max-height:1.7148981779rem;max-width:1.7148981779rem;position:absolute;width:100%}.ilo--button--icon--position__left .button__label,.ilo--button--icon--position__left .link__label{padding-inline-start:calc(6 * var(--ilo-spacing-base))}.ilo--button--icon--position__left .ilo--icon{left:.6966773848rem;top:.3751339764rem}.ilo--button--icon--position__right .button__label,.ilo--button--icon--position__right .link__label{padding-inline-end:calc(6 * var(--ilo-spacing-base))}.ilo--button--icon--position__right .ilo--icon{right:.6966773848rem;top:.3751339764rem}.ilo--button--icon--only .button__label{width:1px;height:1px;margin:-1px;padding:0;border:0;position:absolute;clip:rect(0 0 0 0);overflow:hidden}.ilo--button__large{padding:calc(3 * var(--ilo-spacing-base)) calc(6 * var(--ilo-spacing-base));font-size:18.66px;letter-spacing:-.02em;line-height:120%}.ilo--button__large.ilo--button--icon--only{height:2.4115755627rem;width:2.4115755627rem;padding:unset}.ilo--button__large.ilo--button--icon--only .ilo--icon{left:.2411575563rem;top:.2411575563rem}.ilo--button__medium{padding:calc(2 * var(--ilo-spacing-base)) calc(5 * var(--ilo-spacing-base));font-size:16px;letter-spacing:-.02em;line-height:120%}.ilo--button__medium .ilo--icon{max-height:1.6077170418rem;max-width:1.6077170418rem;position:absolute}.ilo--button__medium.ilo--button--icon--position__left .button__label,.ilo--button__medium.ilo--button--icon--position__left .link__label{padding-inline-start:calc(6 * var(--ilo-spacing-base))}.ilo--button__medium.ilo--button--icon--position__left .ilo--icon{left:.5359056806rem;top:.1607717042rem}.ilo--button__medium.ilo--button--icon--position__right .button__label,.ilo--button__medium.ilo--button--icon--position__right .link__label{padding-inline-end:calc(6 * var(--ilo-spacing-base))}.ilo--button__medium.ilo--button--icon--position__right .ilo--icon{right:.5359056806rem;top:.1607717042rem}.ilo--button__medium.ilo--button--icon--only{height:1.9292604502rem;width:1.9292604502rem;padding:unset}.ilo--button__medium.ilo--button--icon--only .ilo--icon{left:.1071811361rem;top:.1071811361rem}.ilo--button__small{padding:calc(1 * var(--ilo-spacing-base)) calc(4 * var(--ilo-spacing-base));font-size:14.93px;letter-spacing:-.02em;line-height:120%}.ilo--button__small .ilo--icon{max-height:1.5005359057rem;max-width:1.5005359057rem;position:absolute}.ilo--button__small.ilo--button--icon--position__left .button__label,.ilo--button__small.ilo--button--icon--position__left .link__label{padding-inline-start:calc(5 * var(--ilo-spacing-base))}.ilo--button__small.ilo--button--icon--position__left .ilo--icon{left:.3215434084rem;top:0}.ilo--button__small.ilo--button--icon--position__right .button__label,.ilo--button__small.ilo--button--icon--position__right .link__label{padding-inline-end:calc(9 * var(--ilo-spacing-base))}.ilo--button__small.ilo--button--icon--position__right .ilo--icon{right:6;top:0}.ilo--button__small.ilo--button--icon--only{height:1.3933547696rem;width:1.3933547696rem;padding:unset}.ilo--button__small.ilo--button--icon--only .ilo--icon{left:.026795284rem;top:.026795284rem}.ilo--button__primary{background-color:var(--ilo-color-yellow);border:var(--ilo-border-md) var(--ilo-color-yellow) solid}.ilo--button__primary,.ilo--button__secondary{color:var(--ilo-button-labels-actionable-color)}.ilo--button__secondary{background-color:var(--ilo-color-background-default);border:var(--ilo-border-md) var(--ilo-color-borders-default) solid}.ilo--button__secondary:hover{background-color:var(--ilo-color-background-hover);border:var(--ilo-border-md) var(--ilo-color-borders-hover) solid}.ilo--button__secondary:active{background-color:var(--ilo-color-background-active);border:var(--ilo-border-md) var(--ilo-color-borders-active) solid;box-shadow:none;color:var(--ilo-button-labels-active-color)}.ilo--button__tertiary{background-color:var(--ilo-color-background-highlight);border:var(--ilo-border-md) var(--ilo-color-background-highlight) solid;color:var(--ilo-button-labels-actionable-color)}.ilo--button__alert{background-color:var(--ilo-color-red-dark);border:var(--ilo-border-md) var(--ilo-color-red-dark) solid;color:var(--ilo-button-labels-alert-color)}.ilo--button__alert:hover{background-color:var(--ilo-color-background-hover);border:var(--ilo-border-md) var(--ilo-color-borders-hover) solid;color:var(--ilo-button-labels-hover-color)}.ilo--button__alert:focus{background-color:var(--ilo-color-background-focus);border:var(--ilo-border-md) var(--ilo-color-borders-focus) solid;color:var(--ilo-button-labels-focus-color);outline:0}.ilo--button__alert:active{background-color:var(--ilo-color-background-active);border:var(--ilo-border-md) var(--ilo-color-borders-active) solid;box-shadow:none;color:var(--ilo-button-labels-active-color)}.ilo--button:focus{background-color:var(--ilo-color-background-focus);border:var(--ilo-border-md) var(--ilo-color-borders-focus) solid;box-shadow:4px 4px 0 1px var(--ilo-color-borders-focus) inset,-4px -4px 0 1px var(--ilo-color-borders-focus) inset;color:var(--ilo-button-labels-focus-color);outline:0;transition-property:color,background-color,border-color;transition-duration:.15s;transition-timing-function:ease-out}.ilo--button:focus.ilo--small{box-shadow:3px 3px 0 1px var(--ilo-color-borders-focus) inset,-3px -3px 0 1px var(--ilo-color-borders-focus) inset}.ilo--button:hover{background-color:var(--ilo-color-background-hover);border:var(--ilo-border-md) var(--ilo-color-borders-hover) solid;color:var(--ilo-button-labels-hover-color);cursor:pointer}.ilo--button:active,.ilo--button:hover{box-shadow:none;transition-property:color,background-color,border-color;transition-duration:.15s;transition-timing-function:ease-out}.ilo--button:active{background-color:var(--ilo-color-background-active);border:var(--ilo-border-md) var(--ilo-color-borders-active) solid;color:var(--ilo-button-labels-active-color)}.ilo--button:disabled{opacity:.45;pointer-events:none}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
.ilo--callout{display:flex;transition:max-height 225ms ease-out}.ilo--callout--collapse:not(.ilo--callout--open){max-height:64px;overflow:hidden}.ilo--callout--open{max-height:300px;overflow:hidden}.ilo--callout--open .ilo--callout--toggle--icon{transform:translateY(-50%) rotate(180deg)}.ilo--callout__sidebar{display:flex;flex-direction:column;align-items:center;padding:calc(5 * var(--ilo-spacing-base)) calc(2 * var(--ilo-spacing-base));width:2.1436227224rem}.ilo--callout__sidebar .ilo--callout__icon{margin:calc(1 * var(--ilo-spacing-base))}.ilo--callout__content{padding:calc(6 * var(--ilo-spacing-base));width:100%;font-size:.7502679528rem}.ilo--callout__header{display:flex;justify-content:space-between;padding-block-end:calc(3 * var(--ilo-spacing-base))}.ilo--callout__title{font-size:16px;letter-spacing:-.02em;line-height:21.6px;font-family:var(--ilo-fonts-display);font-weight:700}.ilo--callout__description{font-weight:400}.ilo--callout--toggle{font-size:16px;letter-spacing:-.02em;line-height:21.6px;background:0 0;border:none;color:var(--ilo-color-blue-dark);cursor:pointer;font-family:var(--ilo-fonts-display);font-weight:500;padding-inline-end:calc(8 * var(--ilo-spacing-base));position:relative}.ilo--callout--toggle__icon{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23230050' d='M12 16.78l-8-8 1.455-1.56L12 13.767l6.546-6.545L20 8.779l-8 8z'/%3E%3C/svg%3E");background-position:100%;background-repeat:no-repeat;display:inline-block;height:24px;position:absolute;right:0;top:11px;transform:translateY(-50%) rotate(0);transition:transform 225ms ease-out;width:24px}.ilo--callout__footer{padding-block-start:calc(5 * var(--ilo-spacing-base))}.ilo--callout .icon{background-repeat:no-repeat;background-size:contain;display:block;height:16px;width:16px}.ilo--callout .icon__error{background-color:var(--ilo-color-notification-type-error);background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23fff' d='M11.31 0H4.69L0 4.69v6.62L4.69 16h6.62L16 11.31V4.69L11.31 0zM8 12a1 1 0 0 1-1-.89V11a1 1 0 0 1 .89-1H8a1 1 0 0 1 1 .89V11a1 1 0 0 1-.89 1H8zm1-3H7V4h2v5z'/%3E%3C/svg%3E")}.ilo--callout .icon__info{background-color:var(--ilo-color-notification-type-info);background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath fill='%23fff' d='M8 0C6.4 0 4.9.5 3.6 1.3c-1.4.9-2.4 2.2-3 3.6C0 6.4-.2 8 .2 9.6c.3 1.6 1.1 3 2.2 4.1 1.1 1.1 2.5 1.9 4.1 2.2s3.2.2 4.6-.5c1.5-.6 2.7-1.6 3.6-2.9.8-1.4 1.3-2.9 1.3-4.5 0-2.1-.8-4.2-2.3-5.7C12.2.8 10.1 0 8 0zm0 14c-1.2 0-2.3-.4-3.3-1-1-.7-1.8-1.6-2.2-2.7C2 9.2 1.9 8 2.1 6.8c.2-1.2.8-2.2 1.6-3.1.8-.8 1.9-1.4 3.1-1.6 1.2-.2 2.4-.1 3.5.4s2 1.2 2.7 2.2c.7 1 1 2.1 1 3.3 0 1.6-.6 3.1-1.8 4.2C11.1 13.4 9.6 14 8 14z'/%3E%3Cpath fill='%23fff' d='M9 7H7v5h2V7zM8 6c.6 0 1-.4 1-1s-.4-1-1-1-1 .4-1 1 .4 1 1 1z'/%3E%3C/svg%3E")}.ilo--callout .icon__success{background-color:var(--ilo-color-notification-type-success);background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23fff' d='M8 0a8 8 0 1 0 0 16A8 8 0 0 0 8 0zM7 11.4L3.6 8 5 6.6l2 2 4-4L12.4 6 7 11.4z'/%3E%3C/svg%3E")}.ilo--callout .icon__warning{background-color:var(--ilo-color-notification-type-warning);background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 16'%3E%3Cpath fill='%23fff' d='M16.797 13.03l-6.32-11.65a1.59 1.59 0 0 0-.68-.68 1.69 1.69 0 0 0-2.28.68l-6.32 11.65a1.68 1.68 0 0 0 .68 2.27c.25.13.528.2.81.2h12.62c.28 0 .554-.068.8-.2a1.671 1.671 0 0 0 .7-2.26l-.01-.01zm-7.8.47a1 1 0 1 1 0-2 1 1 0 0 1 0 2zm1-3.5a.5.5 0 0 1-.5.5h-1a.5.5 0 0 1-.5-.5V6a.5.5 0 0 1 .5-.5h1a.5.5 0 0 1 .5.5v4z'/%3E%3C/svg%3E")}.ilo--callout__error{background:var(--ilo-color-red-ramp)}.ilo--callout__error .ilo--callout__sidebar{background:var(--ilo-color-red)}.ilo--callout__info{background:var(--ilo-color-blue-ramp)}.ilo--callout__info .ilo--callout__sidebar{background:var(--ilo-color-blue)}.ilo--callout__success{background:var(--ilo-ramp-green)}.ilo--callout__success .ilo--callout__sidebar{background:var(--ilo-color-green)}.ilo--callout__warning{background:var(--ilo-color-yellow-ramp)}.ilo--callout__warning .ilo--callout__sidebar{background:var(--ilo-color-yellow)}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
.ilo--card{box-sizing:border-box;position:relative;background-color:#fff;max-width:var(--max-width);flex:1 1 var(--max-width)}.ilo--card__size__fluid{--max-width:100%!important}.ilo--card__action:focus,.ilo--card__action:focus-within,.ilo--card__action:hover{background:#fff;outline:0;text-decoration:none}.ilo--card__action:focus-within.ilo--card__dark,.ilo--card__action:focus.ilo--card__dark,.ilo--card__action:hover.ilo--card__dark{background:#fff}.ilo--card__action:focus-within .ilo--card--date,.ilo--card__action:focus-within .ilo--card--date-extra,.ilo--card__action:focus-within .ilo--card--eyebrow,.ilo--card__action:focus-within .ilo--card--intro,.ilo--card__action:focus-within .ilo--card--title,.ilo--card__action:focus .ilo--card--date,.ilo--card__action:focus .ilo--card--date-extra,.ilo--card__action:focus .ilo--card--eyebrow,.ilo--card__action:focus .ilo--card--intro,.ilo--card__action:focus .ilo--card--title,.ilo--card__action:hover .ilo--card--date,.ilo--card__action:hover .ilo--card--date-extra,.ilo--card__action:hover .ilo--card--eyebrow,.ilo--card__action:hover .ilo--card--intro,.ilo--card__action:hover .ilo--card--title{color:#1e2dbe}.ilo--card__theme__light{background:#fff}.ilo--card__theme__dark{background:#230050;transition:background .25s ease-out}.ilo--card__theme__dark .ilo--card--date,.ilo--card__theme__dark .ilo--card--eventdate,.ilo--card__theme__dark .ilo--card--eyebrow,.ilo--card__theme__dark .ilo--card--intro,.ilo--card__theme__dark .ilo--card--title{color:#edf0f2;transition:color .25s ease-out}.ilo--card__isvideo .ilo--card--image--wrapper{position:relative}.ilo--card__isvideo .ilo--card--image--wrapper:before{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23EDF0F2' d='M22 12L4 2v20l18-10z'/%3E%3C/svg%3E");background-color:#2d2d2d;background-position:50%;background-size:18px 20px;background-repeat:no-repeat;content:"";display:block;height:40px;left:0;position:absolute;top:0;width:40px;z-index:1}.ilo--card--wrap{height:100%}.ilo--card--wrapper{max-width:var(--max-width);transition:filter .25s ease-out}.ilo--card--wrapper:focus,.ilo--card--wrapper:focus-within,.ilo--card--wrapper:hover{filter:drop-shadow(0 -4px 16px rgba(30,45,190,.05)) drop-shadow(0 10px 20px rgba(30,45,190,.08)) drop-shadow(0 4px 8px rgba(30,45,190,.05)) drop-shadow(0 .8px 1.6px rgba(30,45,190,.04))}.ilo--card--link{background:0 0;color:transparent;height:100%;left:0;position:absolute;text-decoration:none;top:0;width:100%;z-index:2;transition-property:color,background-color,border-color,opacity;transition-duration:.15s;transition-timing-function:ease-out}.ilo--card--link:focus,.ilo--card--link:focus-within,.ilo--card--link:hover{outline:0;transition-property:color,background-color,border-color,opacity;transition-duration:.15s;transition-timing-function:ease-out}.ilo--card--link:focus+.ilo--card--wrap .ilo--card--eyebrow,.ilo--card--link:focus-within+.ilo--card--wrap .ilo--card--eyebrow,.ilo--card--link:hover+.ilo--card--wrap .ilo--card--eyebrow{color:#1e2dbe}.ilo--card--link:focus+.ilo--card--wrap .ilo--card--title,.ilo--card--link:focus-within+.ilo--card--wrap .ilo--card--title,.ilo--card--link:hover+.ilo--card--wrap .ilo--card--title{color:#1e2dbe}.ilo--card--link:focus+.ilo--card--wrap .ilo--card--intro,.ilo--card--link:focus-within+.ilo--card--wrap .ilo--card--intro,.ilo--card--link:hover+.ilo--card--wrap .ilo--card--intro{color:#1e2dbe}.ilo--card--link:focus+.ilo--card--wrap .ilo--card--date,.ilo--card--link:focus-within+.ilo--card--wrap .ilo--card--date,.ilo--card--link:hover+.ilo--card--wrap .ilo--card--date{color:#1e2dbe}.ilo--card--link:focus+.ilo--card--wrap .ilo--card--eventdate,.ilo--card--link:focus-within+.ilo--card--wrap .ilo--card--eventdate,.ilo--card--link:hover+.ilo--card--wrap .ilo--card--eventdate{color:#1e2dbe}.ilo--card--link--text{width:1px;height:1px;margin:-1px;padding:0;border:0;position:absolute;clip:rect(0 0 0 0);overflow:hidden}.ilo--card--eyebrow{color:#960a55;font-size:16px;letter-spacing:normal;line-height:23.36px;margin-bottom:calc(3 * var(--ilo-spacing-base));transition-property:color;transition-duration:.15s;transition-timing-function:ease-out}.ilo--card--link:focus-within .ilo--card--eyebrow,.ilo--card--link:focus .ilo--card--eyebrow,.ilo--card--link:hover .ilo--card--eyebrow{color:#1e2dbe;transition-property:color;transition-duration:.15s;transition-timing-function:ease-out}.ilo--card--title{color:#230050;font-family:var(--ilo-fonts-display);font-weight:700;font-size:23.32px;letter-spacing:-.035em;line-height:29.15px;margin-bottom:-.0313772776rem;transition-property:color;transition-duration:.15s;transition-timing-function:ease-out}.ilo--card--link:focus-within .ilo--card--title,.ilo--card--link:focus .ilo--card--title,.ilo--card--link:hover .ilo--card--title{color:#1e2dbe;transition-property:color;transition-duration:.15s;transition-timing-function:ease-out}.ilo--card--intro{color:#2d2d2d;font-size:16px;letter-spacing:normal;line-height:23.36px;transition-property:color;transition-duration:.15s;transition-timing-function:ease-out;margin-bottom:calc(8 * var(--ilo-spacing-base))}.ilo--card--link:focus-within .ilo--card--intro,.ilo--card--link:focus .ilo--card--intro,.ilo--card--link:hover .ilo--card--intro{color:#1e2dbe;transition-property:color;transition-duration:.15s;transition-timing-function:ease-out}.ilo--card--date{color:#6d6d6d;font-size:16px;letter-spacing:normal;line-height:23.36px;margin-bottom:1.3742266073rem;transition-property:color;transition-duration:.15s;transition-timing-function:ease-out}.ilo--card--link:focus-within .ilo--card--date,.ilo--card--link:focus .ilo--card--date,.ilo--card--link:hover .ilo--card--date{color:#1e2dbe;transition-property:color;transition-duration:.15s;transition-timing-function:ease-out}.ilo--card--event-date{font-size:16px;letter-spacing:normal;line-height:23.36px;margin-bottom:1.3742266073rem}.ilo--card--picture{max-width:100%;width:100%}.ilo--card--cta{position:relative;z-index:2}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.ilo--checkbox{-
|
|
1
|
+
.ilo--checkbox{-moz-appearance:none;appearance:none;border:none;display:grid;height:1.2861736334rem;margin:0;position:relative;place-content:center;width:1.2861736334rem;transform:none;cursor:pointer}.ilo--checkbox:before{height:.857449089rem;left:.2143622722rem;top:.2143622722rem;width:.857449089rem;z-index:1}.ilo--checkbox:after,.ilo--checkbox:before{content:"";background-color:#b8c4cc;position:absolute}.ilo--checkbox:after{border:.2143622722rem solid #b8c4cc;height:1.2861736334rem;left:0;top:0;width:1.2861736334rem;z-index:0}.ilo--checkbox:checked:before{background-color:#230050;background-repeat:no-repeat;background-size:contain;background-position:50%;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 10'%3E%3Cpath fill='%23EDF0F2' d='M4.375 6.25l-2.5-2.5L0 5.625 4.375 10 12.5 1.875 10.625 0l-6.25 6.25z'/%3E%3C/svg%3E")}.ilo--checkbox:checked:after{background-color:#230050;border-color:#230050}.ilo--checkbox:focus{outline:0}.ilo--checkbox:focus:after{background-color:#ffcd2d;border-color:#ffcd2d}.ilo--checkbox:focus:checked:after{border-color:#ffcd2d}.ilo--checkbox:disabled{opacity:.45;pointer-events:none}.ilo--checkbox:invalid:after,.ilo--checkbox__error .ilo--checkbox:after,.ilo--checkbox__error:after{border-color:#fa3c4b}.ilo--checkbox:invalid:checked:after,.ilo--checkbox__error .ilo--checkbox:checked:after,.ilo--checkbox__error:checked:after{border-color:#230050}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
.ilo--context-menu{border-radius:.1071811361rem;background-color:#edf0f2;display:inline-block;position:relative;width:auto;list-style:none}.ilo--context-menu:before{background-position:top;background-repeat:no-repeat;background-size:contain;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23EDF0F2' d='M24 24L0 0v24h24z'/%3E%3C/svg%3E");content:"";height:.6430868167rem;position:absolute;left:50%;top:-.3215434084rem;transform:translateX(-50%) rotate(135deg);width:.6430868167rem}.ilo--context-menu--item{padding:0 calc(2 * var(--ilo-spacing-base))}.ilo--context-menu--item:first-of-type{border-top-left-radius:2px;border-top-right-radius:2px}.ilo--context-menu--item:last-of-type{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.ilo--context-menu--item:last-of-type a{border-bottom:none}.ilo--context-menu--item:focus,.ilo--context-menu--item:hover{background-color:#ebf5fd}.ilo--context-menu--item.endsection{border-bottom:.1607717042rem solid #fff}.ilo--context-menu--item.endsection .ilo--context-menu--link{border-bottom:none}.ilo--context-menu--link{border-bottom:.1071811361rem solid #fff;color:#230050;display:inline-block;font-family:var(--ilo-fonts-copy);font-weight:500;padding:calc(4 * var(--ilo-spacing-base)) calc(2 * var(--ilo-spacing-base));text-decoration:none;width:100%;font-size:11.94px;letter-spacing:normal;line-height:16.24px;letter-spacing:-.1px}.ilo--context-menu--link:visited{color:#230050}.ilo--context-menu--link:active{color:#230050;outline:0}.ilo--context-menu--link:focus,.ilo--context-menu--link:hover{color:#1e2dbe;outline:0;text-decoration:underline;text-decoration-thickness:.1071811361rem}
|