@ilo-org/react 0.17.4 → 0.17.6
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 +59 -35
- 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 +59 -35
- 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/package.json +3 -3
- 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: {}};
|
|
@@ -390,6 +383,16 @@ function requireReactPropTypesSecret () {
|
|
|
390
383
|
return ReactPropTypesSecret_1;
|
|
391
384
|
}
|
|
392
385
|
|
|
386
|
+
var has;
|
|
387
|
+
var hasRequiredHas;
|
|
388
|
+
|
|
389
|
+
function requireHas () {
|
|
390
|
+
if (hasRequiredHas) return has;
|
|
391
|
+
hasRequiredHas = 1;
|
|
392
|
+
has = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
393
|
+
return has;
|
|
394
|
+
}
|
|
395
|
+
|
|
393
396
|
/**
|
|
394
397
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
395
398
|
*
|
|
@@ -409,7 +412,7 @@ function requireCheckPropTypes () {
|
|
|
409
412
|
if (process.env.NODE_ENV !== 'production') {
|
|
410
413
|
var ReactPropTypesSecret = requireReactPropTypesSecret();
|
|
411
414
|
var loggedTypeFailures = {};
|
|
412
|
-
var has =
|
|
415
|
+
var has = requireHas();
|
|
413
416
|
|
|
414
417
|
printWarning = function(text) {
|
|
415
418
|
var message = 'Warning: ' + text;
|
|
@@ -421,7 +424,7 @@ function requireCheckPropTypes () {
|
|
|
421
424
|
// This error was thrown as a convenience so that you can use this stack
|
|
422
425
|
// to find the callsite that caused this warning to fire.
|
|
423
426
|
throw new Error(message);
|
|
424
|
-
} catch (x) {}
|
|
427
|
+
} catch (x) { /**/ }
|
|
425
428
|
};
|
|
426
429
|
}
|
|
427
430
|
|
|
@@ -450,7 +453,8 @@ function requireCheckPropTypes () {
|
|
|
450
453
|
if (typeof typeSpecs[typeSpecName] !== 'function') {
|
|
451
454
|
var err = Error(
|
|
452
455
|
(componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
|
|
453
|
-
'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.'
|
|
456
|
+
'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +
|
|
457
|
+
'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'
|
|
454
458
|
);
|
|
455
459
|
err.name = 'Invariant Violation';
|
|
456
460
|
throw err;
|
|
@@ -518,9 +522,9 @@ function requireFactoryWithTypeCheckers () {
|
|
|
518
522
|
var assign = requireObjectAssign();
|
|
519
523
|
|
|
520
524
|
var ReactPropTypesSecret = requireReactPropTypesSecret();
|
|
525
|
+
var has = requireHas();
|
|
521
526
|
var checkPropTypes = requireCheckPropTypes();
|
|
522
527
|
|
|
523
|
-
var has = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
524
528
|
var printWarning = function() {};
|
|
525
529
|
|
|
526
530
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -621,6 +625,7 @@ function requireFactoryWithTypeCheckers () {
|
|
|
621
625
|
// Keep this list in sync with production version in `./factoryWithThrowingShims.js`.
|
|
622
626
|
var ReactPropTypes = {
|
|
623
627
|
array: createPrimitiveTypeChecker('array'),
|
|
628
|
+
bigint: createPrimitiveTypeChecker('bigint'),
|
|
624
629
|
bool: createPrimitiveTypeChecker('boolean'),
|
|
625
630
|
func: createPrimitiveTypeChecker('function'),
|
|
626
631
|
number: createPrimitiveTypeChecker('number'),
|
|
@@ -666,8 +671,9 @@ function requireFactoryWithTypeCheckers () {
|
|
|
666
671
|
* is prohibitively expensive if they are created too often, such as what
|
|
667
672
|
* happens in oneOfType() for any type before the one that matched.
|
|
668
673
|
*/
|
|
669
|
-
function PropTypeError(message) {
|
|
674
|
+
function PropTypeError(message, data) {
|
|
670
675
|
this.message = message;
|
|
676
|
+
this.data = data && typeof data === 'object' ? data: {};
|
|
671
677
|
this.stack = '';
|
|
672
678
|
}
|
|
673
679
|
// Make `instanceof Error` still work for returned errors.
|
|
@@ -702,7 +708,7 @@ function requireFactoryWithTypeCheckers () {
|
|
|
702
708
|
) {
|
|
703
709
|
printWarning(
|
|
704
710
|
'You are manually calling a React.PropTypes validation ' +
|
|
705
|
-
'function for the `' + propFullName + '` prop on `' + componentName
|
|
711
|
+
'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +
|
|
706
712
|
'and will throw in the standalone `prop-types` package. ' +
|
|
707
713
|
'You may be seeing this warning due to a third-party PropTypes ' +
|
|
708
714
|
'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'
|
|
@@ -741,7 +747,10 @@ function requireFactoryWithTypeCheckers () {
|
|
|
741
747
|
// 'of type `object`'.
|
|
742
748
|
var preciseType = getPreciseType(propValue);
|
|
743
749
|
|
|
744
|
-
return new PropTypeError(
|
|
750
|
+
return new PropTypeError(
|
|
751
|
+
'Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'),
|
|
752
|
+
{expectedType: expectedType}
|
|
753
|
+
);
|
|
745
754
|
}
|
|
746
755
|
return null;
|
|
747
756
|
}
|
|
@@ -885,14 +894,19 @@ function requireFactoryWithTypeCheckers () {
|
|
|
885
894
|
}
|
|
886
895
|
|
|
887
896
|
function validate(props, propName, componentName, location, propFullName) {
|
|
897
|
+
var expectedTypes = [];
|
|
888
898
|
for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
|
|
889
899
|
var checker = arrayOfTypeCheckers[i];
|
|
890
|
-
|
|
900
|
+
var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret);
|
|
901
|
+
if (checkerResult == null) {
|
|
891
902
|
return null;
|
|
892
903
|
}
|
|
904
|
+
if (checkerResult.data && has(checkerResult.data, 'expectedType')) {
|
|
905
|
+
expectedTypes.push(checkerResult.data.expectedType);
|
|
906
|
+
}
|
|
893
907
|
}
|
|
894
|
-
|
|
895
|
-
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '
|
|
908
|
+
var expectedTypesMessage = (expectedTypes.length > 0) ? ', expected one of type [' + expectedTypes.join(', ') + ']': '';
|
|
909
|
+
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`' + expectedTypesMessage + '.'));
|
|
896
910
|
}
|
|
897
911
|
return createChainableTypeChecker(validate);
|
|
898
912
|
}
|
|
@@ -907,6 +921,13 @@ function requireFactoryWithTypeCheckers () {
|
|
|
907
921
|
return createChainableTypeChecker(validate);
|
|
908
922
|
}
|
|
909
923
|
|
|
924
|
+
function invalidValidatorError(componentName, location, propFullName, key, type) {
|
|
925
|
+
return new PropTypeError(
|
|
926
|
+
(componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' +
|
|
927
|
+
'it must be a function, usually from the `prop-types` package, but received `' + type + '`.'
|
|
928
|
+
);
|
|
929
|
+
}
|
|
930
|
+
|
|
910
931
|
function createShapeTypeChecker(shapeTypes) {
|
|
911
932
|
function validate(props, propName, componentName, location, propFullName) {
|
|
912
933
|
var propValue = props[propName];
|
|
@@ -916,8 +937,8 @@ function requireFactoryWithTypeCheckers () {
|
|
|
916
937
|
}
|
|
917
938
|
for (var key in shapeTypes) {
|
|
918
939
|
var checker = shapeTypes[key];
|
|
919
|
-
if (
|
|
920
|
-
|
|
940
|
+
if (typeof checker !== 'function') {
|
|
941
|
+
return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
|
|
921
942
|
}
|
|
922
943
|
var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
|
|
923
944
|
if (error) {
|
|
@@ -936,16 +957,18 @@ function requireFactoryWithTypeCheckers () {
|
|
|
936
957
|
if (propType !== 'object') {
|
|
937
958
|
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
|
|
938
959
|
}
|
|
939
|
-
// We need to check all keys in case some are required but missing from
|
|
940
|
-
// props.
|
|
960
|
+
// We need to check all keys in case some are required but missing from props.
|
|
941
961
|
var allKeys = assign({}, props[propName], shapeTypes);
|
|
942
962
|
for (var key in allKeys) {
|
|
943
963
|
var checker = shapeTypes[key];
|
|
964
|
+
if (has(shapeTypes, key) && typeof checker !== 'function') {
|
|
965
|
+
return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
|
|
966
|
+
}
|
|
944
967
|
if (!checker) {
|
|
945
968
|
return new PropTypeError(
|
|
946
969
|
'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +
|
|
947
970
|
'\nBad object: ' + JSON.stringify(props[propName], null, ' ') +
|
|
948
|
-
'\nValid keys: ' +
|
|
971
|
+
'\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')
|
|
949
972
|
);
|
|
950
973
|
}
|
|
951
974
|
var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
|
|
@@ -1139,6 +1162,7 @@ function requireFactoryWithThrowingShims () {
|
|
|
1139
1162
|
// Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
|
|
1140
1163
|
var ReactPropTypes = {
|
|
1141
1164
|
array: shim,
|
|
1165
|
+
bigint: shim,
|
|
1142
1166
|
bool: shim,
|
|
1143
1167
|
func: shim,
|
|
1144
1168
|
number: shim,
|
|
@@ -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: {}};
|
|
@@ -388,6 +381,16 @@ function requireReactPropTypesSecret () {
|
|
|
388
381
|
return ReactPropTypesSecret_1;
|
|
389
382
|
}
|
|
390
383
|
|
|
384
|
+
var has;
|
|
385
|
+
var hasRequiredHas;
|
|
386
|
+
|
|
387
|
+
function requireHas () {
|
|
388
|
+
if (hasRequiredHas) return has;
|
|
389
|
+
hasRequiredHas = 1;
|
|
390
|
+
has = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
391
|
+
return has;
|
|
392
|
+
}
|
|
393
|
+
|
|
391
394
|
/**
|
|
392
395
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
393
396
|
*
|
|
@@ -407,7 +410,7 @@ function requireCheckPropTypes () {
|
|
|
407
410
|
if (process.env.NODE_ENV !== 'production') {
|
|
408
411
|
var ReactPropTypesSecret = requireReactPropTypesSecret();
|
|
409
412
|
var loggedTypeFailures = {};
|
|
410
|
-
var has =
|
|
413
|
+
var has = requireHas();
|
|
411
414
|
|
|
412
415
|
printWarning = function(text) {
|
|
413
416
|
var message = 'Warning: ' + text;
|
|
@@ -419,7 +422,7 @@ function requireCheckPropTypes () {
|
|
|
419
422
|
// This error was thrown as a convenience so that you can use this stack
|
|
420
423
|
// to find the callsite that caused this warning to fire.
|
|
421
424
|
throw new Error(message);
|
|
422
|
-
} catch (x) {}
|
|
425
|
+
} catch (x) { /**/ }
|
|
423
426
|
};
|
|
424
427
|
}
|
|
425
428
|
|
|
@@ -448,7 +451,8 @@ function requireCheckPropTypes () {
|
|
|
448
451
|
if (typeof typeSpecs[typeSpecName] !== 'function') {
|
|
449
452
|
var err = Error(
|
|
450
453
|
(componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +
|
|
451
|
-
'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.'
|
|
454
|
+
'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.' +
|
|
455
|
+
'This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.'
|
|
452
456
|
);
|
|
453
457
|
err.name = 'Invariant Violation';
|
|
454
458
|
throw err;
|
|
@@ -516,9 +520,9 @@ function requireFactoryWithTypeCheckers () {
|
|
|
516
520
|
var assign = requireObjectAssign();
|
|
517
521
|
|
|
518
522
|
var ReactPropTypesSecret = requireReactPropTypesSecret();
|
|
523
|
+
var has = requireHas();
|
|
519
524
|
var checkPropTypes = requireCheckPropTypes();
|
|
520
525
|
|
|
521
|
-
var has = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
522
526
|
var printWarning = function() {};
|
|
523
527
|
|
|
524
528
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -619,6 +623,7 @@ function requireFactoryWithTypeCheckers () {
|
|
|
619
623
|
// Keep this list in sync with production version in `./factoryWithThrowingShims.js`.
|
|
620
624
|
var ReactPropTypes = {
|
|
621
625
|
array: createPrimitiveTypeChecker('array'),
|
|
626
|
+
bigint: createPrimitiveTypeChecker('bigint'),
|
|
622
627
|
bool: createPrimitiveTypeChecker('boolean'),
|
|
623
628
|
func: createPrimitiveTypeChecker('function'),
|
|
624
629
|
number: createPrimitiveTypeChecker('number'),
|
|
@@ -664,8 +669,9 @@ function requireFactoryWithTypeCheckers () {
|
|
|
664
669
|
* is prohibitively expensive if they are created too often, such as what
|
|
665
670
|
* happens in oneOfType() for any type before the one that matched.
|
|
666
671
|
*/
|
|
667
|
-
function PropTypeError(message) {
|
|
672
|
+
function PropTypeError(message, data) {
|
|
668
673
|
this.message = message;
|
|
674
|
+
this.data = data && typeof data === 'object' ? data: {};
|
|
669
675
|
this.stack = '';
|
|
670
676
|
}
|
|
671
677
|
// Make `instanceof Error` still work for returned errors.
|
|
@@ -700,7 +706,7 @@ function requireFactoryWithTypeCheckers () {
|
|
|
700
706
|
) {
|
|
701
707
|
printWarning(
|
|
702
708
|
'You are manually calling a React.PropTypes validation ' +
|
|
703
|
-
'function for the `' + propFullName + '` prop on `' + componentName
|
|
709
|
+
'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +
|
|
704
710
|
'and will throw in the standalone `prop-types` package. ' +
|
|
705
711
|
'You may be seeing this warning due to a third-party PropTypes ' +
|
|
706
712
|
'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'
|
|
@@ -739,7 +745,10 @@ function requireFactoryWithTypeCheckers () {
|
|
|
739
745
|
// 'of type `object`'.
|
|
740
746
|
var preciseType = getPreciseType(propValue);
|
|
741
747
|
|
|
742
|
-
return new PropTypeError(
|
|
748
|
+
return new PropTypeError(
|
|
749
|
+
'Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'),
|
|
750
|
+
{expectedType: expectedType}
|
|
751
|
+
);
|
|
743
752
|
}
|
|
744
753
|
return null;
|
|
745
754
|
}
|
|
@@ -883,14 +892,19 @@ function requireFactoryWithTypeCheckers () {
|
|
|
883
892
|
}
|
|
884
893
|
|
|
885
894
|
function validate(props, propName, componentName, location, propFullName) {
|
|
895
|
+
var expectedTypes = [];
|
|
886
896
|
for (var i = 0; i < arrayOfTypeCheckers.length; i++) {
|
|
887
897
|
var checker = arrayOfTypeCheckers[i];
|
|
888
|
-
|
|
898
|
+
var checkerResult = checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret);
|
|
899
|
+
if (checkerResult == null) {
|
|
889
900
|
return null;
|
|
890
901
|
}
|
|
902
|
+
if (checkerResult.data && has(checkerResult.data, 'expectedType')) {
|
|
903
|
+
expectedTypes.push(checkerResult.data.expectedType);
|
|
904
|
+
}
|
|
891
905
|
}
|
|
892
|
-
|
|
893
|
-
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '
|
|
906
|
+
var expectedTypesMessage = (expectedTypes.length > 0) ? ', expected one of type [' + expectedTypes.join(', ') + ']': '';
|
|
907
|
+
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`' + expectedTypesMessage + '.'));
|
|
894
908
|
}
|
|
895
909
|
return createChainableTypeChecker(validate);
|
|
896
910
|
}
|
|
@@ -905,6 +919,13 @@ function requireFactoryWithTypeCheckers () {
|
|
|
905
919
|
return createChainableTypeChecker(validate);
|
|
906
920
|
}
|
|
907
921
|
|
|
922
|
+
function invalidValidatorError(componentName, location, propFullName, key, type) {
|
|
923
|
+
return new PropTypeError(
|
|
924
|
+
(componentName || 'React class') + ': ' + location + ' type `' + propFullName + '.' + key + '` is invalid; ' +
|
|
925
|
+
'it must be a function, usually from the `prop-types` package, but received `' + type + '`.'
|
|
926
|
+
);
|
|
927
|
+
}
|
|
928
|
+
|
|
908
929
|
function createShapeTypeChecker(shapeTypes) {
|
|
909
930
|
function validate(props, propName, componentName, location, propFullName) {
|
|
910
931
|
var propValue = props[propName];
|
|
@@ -914,8 +935,8 @@ function requireFactoryWithTypeCheckers () {
|
|
|
914
935
|
}
|
|
915
936
|
for (var key in shapeTypes) {
|
|
916
937
|
var checker = shapeTypes[key];
|
|
917
|
-
if (
|
|
918
|
-
|
|
938
|
+
if (typeof checker !== 'function') {
|
|
939
|
+
return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
|
|
919
940
|
}
|
|
920
941
|
var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
|
|
921
942
|
if (error) {
|
|
@@ -934,16 +955,18 @@ function requireFactoryWithTypeCheckers () {
|
|
|
934
955
|
if (propType !== 'object') {
|
|
935
956
|
return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));
|
|
936
957
|
}
|
|
937
|
-
// We need to check all keys in case some are required but missing from
|
|
938
|
-
// props.
|
|
958
|
+
// We need to check all keys in case some are required but missing from props.
|
|
939
959
|
var allKeys = assign({}, props[propName], shapeTypes);
|
|
940
960
|
for (var key in allKeys) {
|
|
941
961
|
var checker = shapeTypes[key];
|
|
962
|
+
if (has(shapeTypes, key) && typeof checker !== 'function') {
|
|
963
|
+
return invalidValidatorError(componentName, location, propFullName, key, getPreciseType(checker));
|
|
964
|
+
}
|
|
942
965
|
if (!checker) {
|
|
943
966
|
return new PropTypeError(
|
|
944
967
|
'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +
|
|
945
968
|
'\nBad object: ' + JSON.stringify(props[propName], null, ' ') +
|
|
946
|
-
'\nValid keys: ' +
|
|
969
|
+
'\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')
|
|
947
970
|
);
|
|
948
971
|
}
|
|
949
972
|
var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret);
|
|
@@ -1137,6 +1160,7 @@ function requireFactoryWithThrowingShims () {
|
|
|
1137
1160
|
// Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.
|
|
1138
1161
|
var ReactPropTypes = {
|
|
1139
1162
|
array: shim,
|
|
1163
|
+
bigint: shim,
|
|
1140
1164
|
bool: shim,
|
|
1141
1165
|
func: shim,
|
|
1142
1166
|
number: shim,
|
|
@@ -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)}
|