@royaloperahouse/harmonic 1.0.2 → 1.0.4
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/CHANGELOG.md +6 -0
- package/dist/components/molecules/SkipToMain/SkipToMain.style.d.ts +1 -1
- package/dist/harmonic.cjs.development.js +37 -36
- package/dist/harmonic.cjs.development.js.map +1 -1
- package/dist/harmonic.cjs.production.min.js +1 -1
- package/dist/harmonic.cjs.production.min.js.map +1 -1
- package/dist/harmonic.esm.js +37 -36
- package/dist/harmonic.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/harmonic.esm.js
CHANGED
|
@@ -6846,7 +6846,6 @@ var Swipe = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
6846
6846
|
});
|
|
6847
6847
|
Swipe.displayName = 'Swipe';
|
|
6848
6848
|
|
|
6849
|
-
var _excluded$i = ["name", "image", "onClick"];
|
|
6850
6849
|
var CastFilters = function CastFilters(_ref) {
|
|
6851
6850
|
var cast = _ref.cast,
|
|
6852
6851
|
headingText = _ref.headingText,
|
|
@@ -6985,23 +6984,26 @@ var CastFilters = function CastFilters(_ref) {
|
|
|
6985
6984
|
var name = person.name,
|
|
6986
6985
|
image = person.image,
|
|
6987
6986
|
_onClick = person.onClick,
|
|
6988
|
-
|
|
6987
|
+
ariaLabel = person['aria-label'];
|
|
6989
6988
|
var isSelected = selectedIndices.includes(index);
|
|
6990
6989
|
var personImage = image || placeholderImage || defaultPlaceholderImage;
|
|
6991
6990
|
return /*#__PURE__*/React__default.createElement(PersonWrapper, {
|
|
6992
6991
|
key: index,
|
|
6993
6992
|
"aria-selected": isSelected,
|
|
6993
|
+
"aria-label": ariaLabel || (isSelected ? 'Deselect' : 'Select') + " " + name,
|
|
6994
|
+
"aria-posinset": index + 1,
|
|
6995
|
+
"aria-setsize": cast.length,
|
|
6994
6996
|
role: "option",
|
|
6995
6997
|
tabIndex: 0,
|
|
6996
6998
|
onKeyDown: function onKeyDown(e) {
|
|
6997
6999
|
return handlePersonKeydown(e, index, _onClick);
|
|
6998
7000
|
}
|
|
6999
|
-
}, /*#__PURE__*/React__default.createElement(PersonToggle,
|
|
7001
|
+
}, /*#__PURE__*/React__default.createElement(PersonToggle, {
|
|
7000
7002
|
isSelected: isSelected,
|
|
7001
7003
|
onClick: function onClick() {
|
|
7002
7004
|
return handleClick(index, _onClick);
|
|
7003
7005
|
}
|
|
7004
|
-
},
|
|
7006
|
+
}, /*#__PURE__*/React__default.createElement(PersonImage, {
|
|
7005
7007
|
src: personImage,
|
|
7006
7008
|
alt: image ? name : "Placeholder image for " + name,
|
|
7007
7009
|
draggable: false,
|
|
@@ -7039,7 +7041,6 @@ var CastFilters = function CastFilters(_ref) {
|
|
|
7039
7041
|
ref: castWrapperRef,
|
|
7040
7042
|
role: "listbox",
|
|
7041
7043
|
"aria-roledescription": listRoleDescription != null ? listRoleDescription : 'filter list',
|
|
7042
|
-
"aria-label": "filter list",
|
|
7043
7044
|
"aria-multiselectable": true,
|
|
7044
7045
|
onMouseDown: handleMouseDown,
|
|
7045
7046
|
onMouseMove: handleMouseMove,
|
|
@@ -7308,7 +7309,7 @@ var HotFiltersWrapper = /*#__PURE__*/styled.div(_templateObject$O || (_templateO
|
|
|
7308
7309
|
var HotFilterOptionsWrapper = /*#__PURE__*/styled.div(_templateObject2$B || (_templateObject2$B = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n flex-direction: row;\n width: fit-content;\n min-width: 400px;\n justify-content: space-between;\n gap: 16px;\n font-family: var(--font-family-sans);\n\n @media ", " {\n gap: 10px;\n }\n"])), devices.mobile);
|
|
7309
7310
|
var StyledHotFiltersButton = /*#__PURE__*/styled(PrimaryButton)(_templateObject3$o || (_templateObject3$o = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n border: 1px solid var(--color-base-black);\n min-width: fit-content;\n\n :hover {\n color: var(--color-base-white);\n }\n"])));
|
|
7310
7311
|
|
|
7311
|
-
var _excluded$
|
|
7312
|
+
var _excluded$i = ["text", "onClick"];
|
|
7312
7313
|
var HotFilters = function HotFilters(_ref) {
|
|
7313
7314
|
var items = _ref.items,
|
|
7314
7315
|
className = _ref.className,
|
|
@@ -7324,7 +7325,7 @@ var HotFilters = function HotFilters(_ref) {
|
|
|
7324
7325
|
}, /*#__PURE__*/React__default.createElement(HotFilterOptionsWrapper, null, items.map(function (item, index) {
|
|
7325
7326
|
var text = item.text,
|
|
7326
7327
|
_onClick = item.onClick,
|
|
7327
|
-
rest = _objectWithoutPropertiesLoose(item, _excluded$
|
|
7328
|
+
rest = _objectWithoutPropertiesLoose(item, _excluded$i);
|
|
7328
7329
|
var isSelected = index === selectedIndex;
|
|
7329
7330
|
return /*#__PURE__*/React__default.createElement(StyledHotFiltersButton, Object.assign({
|
|
7330
7331
|
key: index,
|
|
@@ -7777,7 +7778,7 @@ var VideoControlsImpact = function VideoControlsImpact(_ref) {
|
|
|
7777
7778
|
})))));
|
|
7778
7779
|
};
|
|
7779
7780
|
|
|
7780
|
-
var _excluded$
|
|
7781
|
+
var _excluded$j = ["text"];
|
|
7781
7782
|
var CHAR_LIMIT = 100;
|
|
7782
7783
|
var useResponsiveVideo = function useResponsiveVideo(video, poster) {
|
|
7783
7784
|
var mobileVideo = video.mobile || video.desktop;
|
|
@@ -7899,7 +7900,7 @@ var PageHeadingImpact = function PageHeadingImpact(_ref4) {
|
|
|
7899
7900
|
var truncatedText = text && text.length > CHAR_LIMIT ? text.slice(0, CHAR_LIMIT).trimEnd() + "\u2026" : text;
|
|
7900
7901
|
var _ref5 = link || {},
|
|
7901
7902
|
linkText = _ref5.text,
|
|
7902
|
-
restLink = _objectWithoutPropertiesLoose(_ref5, _excluded$
|
|
7903
|
+
restLink = _objectWithoutPropertiesLoose(_ref5, _excluded$j);
|
|
7903
7904
|
var video = {
|
|
7904
7905
|
elementId: 'impact-header-video',
|
|
7905
7906
|
desktop: videoUrlDesktop,
|
|
@@ -8376,7 +8377,7 @@ var CompactHeaderBranding = function CompactHeaderBranding(_ref) {
|
|
|
8376
8377
|
return /*#__PURE__*/React__default.createElement(CompactHeaderLogoWrapper, null, renderBranding(brandingStyle, invert, brandingText, brandingLink));
|
|
8377
8378
|
};
|
|
8378
8379
|
|
|
8379
|
-
var _excluded$
|
|
8380
|
+
var _excluded$k = ["text"];
|
|
8380
8381
|
var useResponsiveVideo$1 = function useResponsiveVideo(video, poster) {
|
|
8381
8382
|
var mobileVideo = video.mobile || video.desktop;
|
|
8382
8383
|
var desktopVideo = video.desktop || video.mobile;
|
|
@@ -8481,7 +8482,7 @@ var PageHeadingCompact = function PageHeadingCompact(_ref4) {
|
|
|
8481
8482
|
showCopy = _ref4$showCopy === void 0 ? true : _ref4$showCopy;
|
|
8482
8483
|
var _ref5 = link || {},
|
|
8483
8484
|
linkText = _ref5.text,
|
|
8484
|
-
restLink = _objectWithoutPropertiesLoose(_ref5, _excluded$
|
|
8485
|
+
restLink = _objectWithoutPropertiesLoose(_ref5, _excluded$k);
|
|
8485
8486
|
// const titleSize = title && title.length > 20 ? 4 : 3;
|
|
8486
8487
|
var video = {
|
|
8487
8488
|
elementId: 'compact-header-video',
|
|
@@ -9065,7 +9066,7 @@ var HarmonicHeaderWithWrapper = /*#__PURE__*/styled(HarmonicHeader)(_templateObj
|
|
|
9065
9066
|
var BodyCopyHarmonicWithWrapper$1 = /*#__PURE__*/styled(BodyCopyHarmonic)(_templateObject16 || (_templateObject16 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n padding: 0;\n margin: 0;\n margin-bottom: 32px;\n whiete-space: break-spaces;\n overflow-wrap: break-word;\n\n a {\n text-decoration: underline;\n cursor: pointer;\n\n &[href^='tel:'] {\n text-decoration: none;\n }\n\n &:link {\n color: var(--color-primary-black);\n }\n\n &:visited {\n color: var(--color-base-dark-grey);\n }\n\n &:hover {\n color: var(--color-primary-red);\n }\n }\n @media ", " {\n margin-bottom: 24px;\n }\n"])), devices.mobile);
|
|
9066
9067
|
var HarmonicSubtitleWithWrapper = /*#__PURE__*/styled(HarmonicSubtitle)(_templateObject17 || (_templateObject17 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n overflow-wrap: break-word;\n margin-bottom: 16px;\n"])));
|
|
9067
9068
|
|
|
9068
|
-
var _excluded$
|
|
9069
|
+
var _excluded$l = ["text"],
|
|
9069
9070
|
_excluded2$2 = ["text"],
|
|
9070
9071
|
_excluded3$1 = ["text"];
|
|
9071
9072
|
var _buttonTypeToButton$1;
|
|
@@ -9133,7 +9134,7 @@ var PromoWithTags = function PromoWithTags(_ref) {
|
|
|
9133
9134
|
var _ref2 = firstButton || {},
|
|
9134
9135
|
_ref2$text = _ref2.text,
|
|
9135
9136
|
firstButtonText = _ref2$text === void 0 ? '' : _ref2$text,
|
|
9136
|
-
restFirstButton = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
9137
|
+
restFirstButton = _objectWithoutPropertiesLoose(_ref2, _excluded$l);
|
|
9137
9138
|
var primaryButtonTextTruncate = truncate(firstButtonText, LENGTH_TEXT$1);
|
|
9138
9139
|
var secondButton = links == null ? void 0 : links[1];
|
|
9139
9140
|
var _ref3 = secondButton || {},
|
|
@@ -9417,7 +9418,7 @@ var PromoChild = function PromoChild(_ref) {
|
|
|
9417
9418
|
}));
|
|
9418
9419
|
};
|
|
9419
9420
|
|
|
9420
|
-
var _excluded$
|
|
9421
|
+
var _excluded$m = ["text"],
|
|
9421
9422
|
_excluded2$3 = ["text"];
|
|
9422
9423
|
var LENGTH_TEXT$3 = 28;
|
|
9423
9424
|
var PromoWithTitle = function PromoWithTitle(_ref) {
|
|
@@ -9444,7 +9445,7 @@ var PromoWithTitle = function PromoWithTitle(_ref) {
|
|
|
9444
9445
|
var _ref2 = primaryButton || {},
|
|
9445
9446
|
_ref2$text = _ref2.text,
|
|
9446
9447
|
primaryButtonText = _ref2$text === void 0 ? '' : _ref2$text,
|
|
9447
|
-
restPrimaryButton = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
9448
|
+
restPrimaryButton = _objectWithoutPropertiesLoose(_ref2, _excluded$m);
|
|
9448
9449
|
var primaryButtonTextTruncate = truncate(primaryButtonText, LENGTH_TEXT$3);
|
|
9449
9450
|
var tertiaryButton = links == null ? void 0 : links[1];
|
|
9450
9451
|
var _ref3 = tertiaryButton || {},
|
|
@@ -9883,7 +9884,7 @@ var ErrorLabel$5 = /*#__PURE__*/styled.div(_templateObject4$y || (_templateObjec
|
|
|
9883
9884
|
return "var(--color-state-error)";
|
|
9884
9885
|
});
|
|
9885
9886
|
|
|
9886
|
-
var _excluded$
|
|
9887
|
+
var _excluded$n = ["label", "error", "width", "darkMode", "isSearchable", "components", "className"];
|
|
9887
9888
|
var DropdownIndicator = function DropdownIndicator(props) {
|
|
9888
9889
|
return /*#__PURE__*/React__default.createElement(components.DropdownIndicator, Object.assign({}, props), /*#__PURE__*/React__default.createElement(Icon, {
|
|
9889
9890
|
iconName: "DropdownArrow"
|
|
@@ -9938,7 +9939,7 @@ var SelectComponent = function SelectComponent(_ref2) {
|
|
|
9938
9939
|
isSearchable = _ref2$isSearchable === void 0 ? false : _ref2$isSearchable,
|
|
9939
9940
|
components = _ref2.components,
|
|
9940
9941
|
className = _ref2.className,
|
|
9941
|
-
selectProps = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
9942
|
+
selectProps = _objectWithoutPropertiesLoose(_ref2, _excluded$n);
|
|
9942
9943
|
return /*#__PURE__*/React__default.createElement(WrapperComponent, {
|
|
9943
9944
|
label: label,
|
|
9944
9945
|
error: error,
|
|
@@ -9957,7 +9958,7 @@ var SelectComponent = function SelectComponent(_ref2) {
|
|
|
9957
9958
|
})));
|
|
9958
9959
|
};
|
|
9959
9960
|
|
|
9960
|
-
var _excluded$
|
|
9961
|
+
var _excluded$o = ["label", "error", "width", "darkMode", "components"];
|
|
9961
9962
|
/**
|
|
9962
9963
|
* The Select2Async component is similar to Select 2, but uses react-select async
|
|
9963
9964
|
* component for select instead of regular react-select component. This can be used
|
|
@@ -9979,7 +9980,7 @@ var SelectComponent$1 = function SelectComponent(_ref) {
|
|
|
9979
9980
|
_ref$darkMode = _ref.darkMode,
|
|
9980
9981
|
darkMode = _ref$darkMode === void 0 ? false : _ref$darkMode,
|
|
9981
9982
|
components = _ref.components,
|
|
9982
|
-
selectProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
9983
|
+
selectProps = _objectWithoutPropertiesLoose(_ref, _excluded$o);
|
|
9983
9984
|
return /*#__PURE__*/React__default.createElement(WrapperComponent, {
|
|
9984
9985
|
label: label,
|
|
9985
9986
|
error: error,
|
|
@@ -10251,7 +10252,7 @@ var Wrapper$6 = /*#__PURE__*/styled.figure(_templateObject$1d || (_templateObjec
|
|
|
10251
10252
|
var CaptionWrapper = /*#__PURE__*/styled.figcaption(_templateObject2$W || (_templateObject2$W = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: table-caption;\n caption-side: bottom;\n margin-top: var(--carousel-image-caption-margin);\n"])));
|
|
10252
10253
|
var CaptionContext = /*#__PURE__*/styled(Caption)(_templateObject3$J || (_templateObject3$J = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n overflow: hidden;\n text-overflow: ellipsis;\n line-clamp: 2;\n max-height: 46px;\n white-space: normal;\n word-break: break-word;\n font-feature-settings: var(--font-feature-settings-body);\n text-transform: var(--text-transform-body);\n"])));
|
|
10253
10254
|
|
|
10254
|
-
var _excluded$
|
|
10255
|
+
var _excluded$p = ["caption", "altText", "src", "srcSet", "sizes", "loading", "aspectRatio", "className"];
|
|
10255
10256
|
var ImageWithCaption = function ImageWithCaption(_ref) {
|
|
10256
10257
|
var caption = _ref.caption,
|
|
10257
10258
|
altText = _ref.altText,
|
|
@@ -10261,7 +10262,7 @@ var ImageWithCaption = function ImageWithCaption(_ref) {
|
|
|
10261
10262
|
loading = _ref.loading,
|
|
10262
10263
|
aspectRatio = _ref.aspectRatio,
|
|
10263
10264
|
className = _ref.className,
|
|
10264
|
-
restProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
10265
|
+
restProps = _objectWithoutPropertiesLoose(_ref, _excluded$p);
|
|
10265
10266
|
return /*#__PURE__*/React__default.createElement(Wrapper$6, Object.assign({
|
|
10266
10267
|
aspectRatio: aspectRatio,
|
|
10267
10268
|
className: className
|
|
@@ -11858,7 +11859,7 @@ var ArrowWrapper = /*#__PURE__*/styled.div(_templateObject0$8 || (_templateObjec
|
|
|
11858
11859
|
return disabled ? 'var(--color-state-disabled)' : 'var(--button-anchor-tab-color)';
|
|
11859
11860
|
});
|
|
11860
11861
|
|
|
11861
|
-
var _excluded$
|
|
11862
|
+
var _excluded$q = ["id", "text"];
|
|
11862
11863
|
var AnchorTabBar = function AnchorTabBar(_ref) {
|
|
11863
11864
|
var tabs = _ref.tabs,
|
|
11864
11865
|
onTabClick = _ref.onTabClick,
|
|
@@ -12069,7 +12070,7 @@ var AnchorTabBar = function AnchorTabBar(_ref) {
|
|
|
12069
12070
|
}, tabs.map(function (_ref4) {
|
|
12070
12071
|
var id = _ref4.id,
|
|
12071
12072
|
text = _ref4.text,
|
|
12072
|
-
rest = _objectWithoutPropertiesLoose(_ref4, _excluded$
|
|
12073
|
+
rest = _objectWithoutPropertiesLoose(_ref4, _excluded$q);
|
|
12073
12074
|
return /*#__PURE__*/React__default.createElement("li", {
|
|
12074
12075
|
key: id
|
|
12075
12076
|
}, /*#__PURE__*/React__default.createElement(TabLink, Object.assign({
|
|
@@ -12131,7 +12132,7 @@ var PrimaryButtonReverse = /*#__PURE__*/styled(PrimaryButton)(_templateObject8$g
|
|
|
12131
12132
|
var MessageWrapper$1 = /*#__PURE__*/styled.div(_templateObject9$a || (_templateObject9$a = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n margin-right: var(--grid-outer-margin);\n height: var(--button-height);\n\n h6 {\n margin: 0;\n padding: 0;\n }\n\n @media ", " {\n & {\n margin-right: var(--grid-margin);\n }\n }\n\n @media ", " {\n & {\n display: none;\n }\n }\n"])), devices.tablet, devices.mobile);
|
|
12132
12133
|
var MessageWrapperMobile = /*#__PURE__*/styled.div(_templateObject0$9 || (_templateObject0$9 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n h6 {\n margin: 0;\n padding: 0;\n }\n display: none;\n\n @media ", " {\n & {\n display: flex;\n align-items: center;\n margin-left: var(--grid-margin);\n padding: 12px 0;\n }\n }\n"])), devices.mobile);
|
|
12133
12134
|
|
|
12134
|
-
var _excluded$
|
|
12135
|
+
var _excluded$r = ["text"],
|
|
12135
12136
|
_excluded2$4 = ["text"];
|
|
12136
12137
|
var TitleWithCTA = function TitleWithCTA(_ref) {
|
|
12137
12138
|
var title = _ref.title,
|
|
@@ -12141,7 +12142,7 @@ var TitleWithCTA = function TitleWithCTA(_ref) {
|
|
|
12141
12142
|
message = _ref.message;
|
|
12142
12143
|
var _ref2 = (links == null ? void 0 : links[0]) || {},
|
|
12143
12144
|
primaryButtonText = _ref2.text,
|
|
12144
|
-
primaryButtonProps = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
12145
|
+
primaryButtonProps = _objectWithoutPropertiesLoose(_ref2, _excluded$r);
|
|
12145
12146
|
var _ref3 = (links == null ? void 0 : links[1]) || {},
|
|
12146
12147
|
secondaryButtonText = _ref3.text,
|
|
12147
12148
|
secondaryButtonProps = _objectWithoutPropertiesLoose(_ref3, _excluded2$4);
|
|
@@ -12249,7 +12250,7 @@ var CloseButton = /*#__PURE__*/styled.button(_templateObject2$19 || (_templateOb
|
|
|
12249
12250
|
var ContentWrapper$3 = /*#__PURE__*/styled.div(_templateObject3$V || (_templateObject3$V = /*#__PURE__*/_taggedTemplateLiteralLoose([""])));
|
|
12250
12251
|
var Overlay = /*#__PURE__*/styled(Grid)(_templateObject4$N || (_templateObject4$N = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: fixed;\n top: 0;\n left: 0;\n width: 100%;\n height: 100vh;\n align-content: center;\n background-color: rgba(0, 0, 0, 0.4);\n"])));
|
|
12251
12252
|
|
|
12252
|
-
var _excluded$
|
|
12253
|
+
var _excluded$s = ["isOpen", "setIsOpen", "children", "appElementId"];
|
|
12253
12254
|
var MAX_Z_INDEX = 9999999999;
|
|
12254
12255
|
if (Modal.defaultStyles.content) {
|
|
12255
12256
|
Modal.defaultStyles.content.position = 'static';
|
|
@@ -12323,7 +12324,7 @@ var ModalWindow = function ModalWindow(_ref) {
|
|
|
12323
12324
|
setIsOpen = _ref.setIsOpen,
|
|
12324
12325
|
children = _ref.children,
|
|
12325
12326
|
appElementId = _ref.appElementId,
|
|
12326
|
-
modalProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
12327
|
+
modalProps = _objectWithoutPropertiesLoose(_ref, _excluded$s);
|
|
12327
12328
|
var isMobile = useMobile();
|
|
12328
12329
|
var customStyles = {
|
|
12329
12330
|
overlay: {
|
|
@@ -12470,7 +12471,7 @@ var TitleWrapper$5 = /*#__PURE__*/styled.div(_templateObject5$E || (_templateObj
|
|
|
12470
12471
|
var isDescriptionPresent = _ref4.isDescriptionPresent;
|
|
12471
12472
|
return isDescriptionPresent && 'margin: 20px 0';
|
|
12472
12473
|
});
|
|
12473
|
-
var TitleText$1 = /*#__PURE__*/styled(HarmonicHeader)(_templateObject6$u || (_templateObject6$u = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n && {\n line-height: 42px;\n }\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n text-overflow: ellipsis;\n padding-
|
|
12474
|
+
var TitleText$1 = /*#__PURE__*/styled(HarmonicHeader)(_templateObject6$u || (_templateObject6$u = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n && {\n line-height: 42px;\n }\n overflow: hidden;\n display: -webkit-box;\n -webkit-line-clamp: 2;\n -webkit-box-orient: vertical;\n text-overflow: ellipsis;\n padding-top: 4px;\n box-sizing: border-box;\n /* max-height = 2 * 40px (two lines): 40px is the design line-height for header--medium (matches font-size/optical metrics), +4px provides extra descender room so glyphs like g/y aren't clipped \u2014 non\u2011WebKit fallback */\n max-height: calc(2 * 40px + 4px);\n"])));
|
|
12474
12475
|
var ButtonsWrapper = /*#__PURE__*/styled.div(_templateObject7$o || (_templateObject7$o = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n justify-content: flex-end;\n align-items: start;\n"])));
|
|
12475
12476
|
var TitleGridItem = /*#__PURE__*/styled(GridItem)(_templateObject8$h || (_templateObject8$h = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n @media ", " {\n grid-column: 2 / span 10;\n }\n"])), devices.tablet);
|
|
12476
12477
|
var SwipeGridWrapper = /*#__PURE__*/styled(GridItem)(_templateObject9$b || (_templateObject9$b = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n .swipe {\n padding-inline-start: 2px;\n padding-block-start: 2px;\n }\n\n ", ";\n\n @media ", " {\n grid-column: ", ";\n }\n\n @media ", " {\n grid-column: 2 / span 13;\n }\n"])), function (_ref5) {
|
|
@@ -12741,7 +12742,7 @@ var VideoWithControlsWrapper = /*#__PURE__*/styled.div(_templateObject15$1 || (_
|
|
|
12741
12742
|
}, devices.mobile);
|
|
12742
12743
|
var ProgressContainer$1 = /*#__PURE__*/styled.div(_templateObject16$1 || (_templateObject16$1 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin-top: 32px;\n\n p {\n margin-bottom: 16px;\n }\n\n @media ", " {\n margin-top: 20px;\n\n p {\n margin-bottom: 12px;\n }\n }\n"])), devices.mobileAndTablet);
|
|
12743
12744
|
|
|
12744
|
-
var _excluded$
|
|
12745
|
+
var _excluded$t = ["text"],
|
|
12745
12746
|
_excluded2$5 = ["text"];
|
|
12746
12747
|
var _buttonTypeToButton$2;
|
|
12747
12748
|
var buttonTypeToButton$2 = (_buttonTypeToButton$2 = {}, _buttonTypeToButton$2[ButtonType.Primary] = PrimaryButton, _buttonTypeToButton$2[ButtonType.Secondary] = SecondaryButton, _buttonTypeToButton$2[ButtonType.Tertiary] = TertiaryButton, _buttonTypeToButton$2);
|
|
@@ -12752,7 +12753,7 @@ var Buttons = function Buttons(_ref) {
|
|
|
12752
12753
|
var _ref2 = firstButton || {},
|
|
12753
12754
|
_ref2$text = _ref2.text,
|
|
12754
12755
|
firstButtonText = _ref2$text === void 0 ? '' : _ref2$text,
|
|
12755
|
-
restFirstButton = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
12756
|
+
restFirstButton = _objectWithoutPropertiesLoose(_ref2, _excluded$t);
|
|
12756
12757
|
var secondButton = links == null ? void 0 : links[1];
|
|
12757
12758
|
var _ref3 = secondButton || {},
|
|
12758
12759
|
_ref3$text = _ref3.text,
|
|
@@ -12989,11 +12990,11 @@ var HighlightsCarousel = function HighlightsCarousel(_ref) {
|
|
|
12989
12990
|
})));
|
|
12990
12991
|
};
|
|
12991
12992
|
|
|
12992
|
-
var _excluded$
|
|
12993
|
+
var _excluded$u = ["logo", "slides"];
|
|
12993
12994
|
var HighlightsCinema = function HighlightsCinema(_ref) {
|
|
12994
12995
|
var logo = _ref.logo,
|
|
12995
12996
|
slides = _ref.slides,
|
|
12996
|
-
rest = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
12997
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded$u);
|
|
12997
12998
|
var slidesWithLinks = slides.map(function (slide) {
|
|
12998
12999
|
var links = processSlideLinks(slide.links);
|
|
12999
13000
|
return _extends({}, slide, {
|
|
@@ -13010,10 +13011,10 @@ var HighlightsCinema = function HighlightsCinema(_ref) {
|
|
|
13010
13011
|
})));
|
|
13011
13012
|
};
|
|
13012
13013
|
|
|
13013
|
-
var _excluded$
|
|
13014
|
+
var _excluded$v = ["slides"];
|
|
13014
13015
|
var HighlightsCore = function HighlightsCore(_ref) {
|
|
13015
13016
|
var slides = _ref.slides,
|
|
13016
|
-
rest = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
13017
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded$v);
|
|
13017
13018
|
var slidesWithLinks = slides.map(function (slide) {
|
|
13018
13019
|
var links = processSlideLinks(slide.links);
|
|
13019
13020
|
return _extends({}, slide, {
|
|
@@ -13027,11 +13028,11 @@ var HighlightsCore = function HighlightsCore(_ref) {
|
|
|
13027
13028
|
})));
|
|
13028
13029
|
};
|
|
13029
13030
|
|
|
13030
|
-
var _excluded$
|
|
13031
|
+
var _excluded$w = ["logo", "slides"];
|
|
13031
13032
|
var HighlightsStream = function HighlightsStream(_ref) {
|
|
13032
13033
|
var logo = _ref.logo,
|
|
13033
13034
|
slides = _ref.slides,
|
|
13034
|
-
rest = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
13035
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded$w);
|
|
13035
13036
|
var slidesWithLinks = slides.map(function (slide) {
|
|
13036
13037
|
var links = processSlideLinks(slide.links);
|
|
13037
13038
|
return _extends({}, slide, {
|