@royaloperahouse/harmonic 1.0.3 → 1.0.5-a
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 +3 -0
- package/README.md +267 -43
- package/dist/components/molecules/SkipToMain/SkipToMain.style.d.ts +1 -1
- package/dist/harmonic.cjs.development.js +57 -35
- 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 +57 -36
- package/dist/harmonic.esm.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/package.json +1 -1
- package/README.GIT +0 -293
|
@@ -208,6 +208,26 @@ var typographyStyles = {"display":"typography-module_display__ZHsz9","header":"t
|
|
|
208
208
|
var _excluded = ["children", "size", "em", "color", "serif", "hierarchy", "tag", "className"],
|
|
209
209
|
_excluded2 = ["children", "size", "color", "className", "bold", "tag"],
|
|
210
210
|
_excluded3 = ["children", "size", "color", "className"];
|
|
211
|
+
/* ~~~ Display - (use case) ~~~ */
|
|
212
|
+
var DisplayHeader = function DisplayHeader(_ref) {
|
|
213
|
+
var children = _ref.children,
|
|
214
|
+
size = _ref.size,
|
|
215
|
+
em = _ref.em,
|
|
216
|
+
_ref$color = _ref.color,
|
|
217
|
+
color = _ref$color === void 0 ? 'inherit' : _ref$color,
|
|
218
|
+
serif = _ref.serif,
|
|
219
|
+
className = _ref.className;
|
|
220
|
+
var classNames = createClassNames('display', {
|
|
221
|
+
size: size,
|
|
222
|
+
color: color,
|
|
223
|
+
serif: serif,
|
|
224
|
+
em: em,
|
|
225
|
+
className: className
|
|
226
|
+
}, typographyStyles);
|
|
227
|
+
return /*#__PURE__*/React__default.createElement("h1", {
|
|
228
|
+
className: classNames
|
|
229
|
+
}, children);
|
|
230
|
+
};
|
|
211
231
|
/* ~~~ Headers - size and hierarchy set separately ~~~ */
|
|
212
232
|
var HarmonicHeader = function HarmonicHeader(_ref2) {
|
|
213
233
|
var _ref3;
|
|
@@ -6820,7 +6840,6 @@ var Swipe = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
6820
6840
|
});
|
|
6821
6841
|
Swipe.displayName = 'Swipe';
|
|
6822
6842
|
|
|
6823
|
-
var _excluded$i = ["name", "image", "onClick"];
|
|
6824
6843
|
var CastFilters = function CastFilters(_ref) {
|
|
6825
6844
|
var cast = _ref.cast,
|
|
6826
6845
|
headingText = _ref.headingText,
|
|
@@ -6959,23 +6978,26 @@ var CastFilters = function CastFilters(_ref) {
|
|
|
6959
6978
|
var name = person.name,
|
|
6960
6979
|
image = person.image,
|
|
6961
6980
|
_onClick = person.onClick,
|
|
6962
|
-
|
|
6981
|
+
ariaLabel = person['aria-label'];
|
|
6963
6982
|
var isSelected = selectedIndices.includes(index);
|
|
6964
6983
|
var personImage = image || placeholderImage || defaultPlaceholderImage;
|
|
6965
6984
|
return /*#__PURE__*/React__default.createElement(PersonWrapper, {
|
|
6966
6985
|
key: index,
|
|
6967
6986
|
"aria-selected": isSelected,
|
|
6987
|
+
"aria-label": ariaLabel || (isSelected ? 'Deselect' : 'Select') + " " + name,
|
|
6988
|
+
"aria-posinset": index + 1,
|
|
6989
|
+
"aria-setsize": cast.length,
|
|
6968
6990
|
role: "option",
|
|
6969
6991
|
tabIndex: 0,
|
|
6970
6992
|
onKeyDown: function onKeyDown(e) {
|
|
6971
6993
|
return handlePersonKeydown(e, index, _onClick);
|
|
6972
6994
|
}
|
|
6973
|
-
}, /*#__PURE__*/React__default.createElement(PersonToggle,
|
|
6995
|
+
}, /*#__PURE__*/React__default.createElement(PersonToggle, {
|
|
6974
6996
|
isSelected: isSelected,
|
|
6975
6997
|
onClick: function onClick() {
|
|
6976
6998
|
return handleClick(index, _onClick);
|
|
6977
6999
|
}
|
|
6978
|
-
},
|
|
7000
|
+
}, /*#__PURE__*/React__default.createElement(PersonImage, {
|
|
6979
7001
|
src: personImage,
|
|
6980
7002
|
alt: image ? name : "Placeholder image for " + name,
|
|
6981
7003
|
draggable: false,
|
|
@@ -7013,7 +7035,6 @@ var CastFilters = function CastFilters(_ref) {
|
|
|
7013
7035
|
ref: castWrapperRef,
|
|
7014
7036
|
role: "listbox",
|
|
7015
7037
|
"aria-roledescription": listRoleDescription != null ? listRoleDescription : 'filter list',
|
|
7016
|
-
"aria-label": "filter list",
|
|
7017
7038
|
"aria-multiselectable": true,
|
|
7018
7039
|
onMouseDown: handleMouseDown,
|
|
7019
7040
|
onMouseMove: handleMouseMove,
|
|
@@ -7281,7 +7302,7 @@ var HotFiltersWrapper = /*#__PURE__*/styled__default.div(_templateObject$O || (_
|
|
|
7281
7302
|
var HotFilterOptionsWrapper = /*#__PURE__*/styled__default.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);
|
|
7282
7303
|
var StyledHotFiltersButton = /*#__PURE__*/styled__default(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"])));
|
|
7283
7304
|
|
|
7284
|
-
var _excluded$
|
|
7305
|
+
var _excluded$i = ["text", "onClick"];
|
|
7285
7306
|
var HotFilters = function HotFilters(_ref) {
|
|
7286
7307
|
var items = _ref.items,
|
|
7287
7308
|
className = _ref.className,
|
|
@@ -7297,7 +7318,7 @@ var HotFilters = function HotFilters(_ref) {
|
|
|
7297
7318
|
}, /*#__PURE__*/React__default.createElement(HotFilterOptionsWrapper, null, items.map(function (item, index) {
|
|
7298
7319
|
var text = item.text,
|
|
7299
7320
|
_onClick = item.onClick,
|
|
7300
|
-
rest = _objectWithoutPropertiesLoose(item, _excluded$
|
|
7321
|
+
rest = _objectWithoutPropertiesLoose(item, _excluded$i);
|
|
7301
7322
|
var isSelected = index === selectedIndex;
|
|
7302
7323
|
return /*#__PURE__*/React__default.createElement(StyledHotFiltersButton, Object.assign({
|
|
7303
7324
|
key: index,
|
|
@@ -7739,7 +7760,7 @@ var VideoControlsImpact = function VideoControlsImpact(_ref) {
|
|
|
7739
7760
|
})))));
|
|
7740
7761
|
};
|
|
7741
7762
|
|
|
7742
|
-
var _excluded$
|
|
7763
|
+
var _excluded$j = ["text"];
|
|
7743
7764
|
var CHAR_LIMIT = 100;
|
|
7744
7765
|
var useResponsiveVideo = function useResponsiveVideo(video, poster) {
|
|
7745
7766
|
var mobileVideo = video.mobile || video.desktop;
|
|
@@ -7861,7 +7882,7 @@ var PageHeadingImpact = function PageHeadingImpact(_ref4) {
|
|
|
7861
7882
|
var truncatedText = text && text.length > CHAR_LIMIT ? text.slice(0, CHAR_LIMIT).trimEnd() + "\u2026" : text;
|
|
7862
7883
|
var _ref5 = link || {},
|
|
7863
7884
|
linkText = _ref5.text,
|
|
7864
|
-
restLink = _objectWithoutPropertiesLoose(_ref5, _excluded$
|
|
7885
|
+
restLink = _objectWithoutPropertiesLoose(_ref5, _excluded$j);
|
|
7865
7886
|
var video = {
|
|
7866
7887
|
elementId: 'impact-header-video',
|
|
7867
7888
|
desktop: videoUrlDesktop,
|
|
@@ -8338,7 +8359,7 @@ var CompactHeaderBranding = function CompactHeaderBranding(_ref) {
|
|
|
8338
8359
|
return /*#__PURE__*/React__default.createElement(CompactHeaderLogoWrapper, null, renderBranding(brandingStyle, invert, brandingText, brandingLink));
|
|
8339
8360
|
};
|
|
8340
8361
|
|
|
8341
|
-
var _excluded$
|
|
8362
|
+
var _excluded$k = ["text"];
|
|
8342
8363
|
var useResponsiveVideo$1 = function useResponsiveVideo(video, poster) {
|
|
8343
8364
|
var mobileVideo = video.mobile || video.desktop;
|
|
8344
8365
|
var desktopVideo = video.desktop || video.mobile;
|
|
@@ -8443,7 +8464,7 @@ var PageHeadingCompact = function PageHeadingCompact(_ref4) {
|
|
|
8443
8464
|
showCopy = _ref4$showCopy === void 0 ? true : _ref4$showCopy;
|
|
8444
8465
|
var _ref5 = link || {},
|
|
8445
8466
|
linkText = _ref5.text,
|
|
8446
|
-
restLink = _objectWithoutPropertiesLoose(_ref5, _excluded$
|
|
8467
|
+
restLink = _objectWithoutPropertiesLoose(_ref5, _excluded$k);
|
|
8447
8468
|
// const titleSize = title && title.length > 20 ? 4 : 3;
|
|
8448
8469
|
var video = {
|
|
8449
8470
|
elementId: 'compact-header-video',
|
|
@@ -9027,7 +9048,7 @@ var HarmonicHeaderWithWrapper = /*#__PURE__*/styled__default(HarmonicHeader)(_te
|
|
|
9027
9048
|
var BodyCopyHarmonicWithWrapper$1 = /*#__PURE__*/styled__default(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);
|
|
9028
9049
|
var HarmonicSubtitleWithWrapper = /*#__PURE__*/styled__default(HarmonicSubtitle)(_templateObject17 || (_templateObject17 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n overflow-wrap: break-word;\n margin-bottom: 16px;\n"])));
|
|
9029
9050
|
|
|
9030
|
-
var _excluded$
|
|
9051
|
+
var _excluded$l = ["text"],
|
|
9031
9052
|
_excluded2$2 = ["text"],
|
|
9032
9053
|
_excluded3$1 = ["text"];
|
|
9033
9054
|
var _buttonTypeToButton$1;
|
|
@@ -9095,7 +9116,7 @@ var PromoWithTags = function PromoWithTags(_ref) {
|
|
|
9095
9116
|
var _ref2 = firstButton || {},
|
|
9096
9117
|
_ref2$text = _ref2.text,
|
|
9097
9118
|
firstButtonText = _ref2$text === void 0 ? '' : _ref2$text,
|
|
9098
|
-
restFirstButton = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
9119
|
+
restFirstButton = _objectWithoutPropertiesLoose(_ref2, _excluded$l);
|
|
9099
9120
|
var primaryButtonTextTruncate = truncate(firstButtonText, LENGTH_TEXT$1);
|
|
9100
9121
|
var secondButton = links == null ? void 0 : links[1];
|
|
9101
9122
|
var _ref3 = secondButton || {},
|
|
@@ -9379,7 +9400,7 @@ var PromoChild = function PromoChild(_ref) {
|
|
|
9379
9400
|
}));
|
|
9380
9401
|
};
|
|
9381
9402
|
|
|
9382
|
-
var _excluded$
|
|
9403
|
+
var _excluded$m = ["text"],
|
|
9383
9404
|
_excluded2$3 = ["text"];
|
|
9384
9405
|
var LENGTH_TEXT$3 = 28;
|
|
9385
9406
|
var PromoWithTitle = function PromoWithTitle(_ref) {
|
|
@@ -9406,7 +9427,7 @@ var PromoWithTitle = function PromoWithTitle(_ref) {
|
|
|
9406
9427
|
var _ref2 = primaryButton || {},
|
|
9407
9428
|
_ref2$text = _ref2.text,
|
|
9408
9429
|
primaryButtonText = _ref2$text === void 0 ? '' : _ref2$text,
|
|
9409
|
-
restPrimaryButton = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
9430
|
+
restPrimaryButton = _objectWithoutPropertiesLoose(_ref2, _excluded$m);
|
|
9410
9431
|
var primaryButtonTextTruncate = truncate(primaryButtonText, LENGTH_TEXT$3);
|
|
9411
9432
|
var tertiaryButton = links == null ? void 0 : links[1];
|
|
9412
9433
|
var _ref3 = tertiaryButton || {},
|
|
@@ -9845,7 +9866,7 @@ var ErrorLabel$5 = /*#__PURE__*/styled__default.div(_templateObject4$y || (_temp
|
|
|
9845
9866
|
return "var(--color-state-error)";
|
|
9846
9867
|
});
|
|
9847
9868
|
|
|
9848
|
-
var _excluded$
|
|
9869
|
+
var _excluded$n = ["label", "error", "width", "darkMode", "isSearchable", "components", "className"];
|
|
9849
9870
|
var DropdownIndicator = function DropdownIndicator(props) {
|
|
9850
9871
|
return /*#__PURE__*/React__default.createElement(Select.components.DropdownIndicator, Object.assign({}, props), /*#__PURE__*/React__default.createElement(Icon, {
|
|
9851
9872
|
iconName: "DropdownArrow"
|
|
@@ -9900,7 +9921,7 @@ var SelectComponent = function SelectComponent(_ref2) {
|
|
|
9900
9921
|
isSearchable = _ref2$isSearchable === void 0 ? false : _ref2$isSearchable,
|
|
9901
9922
|
components = _ref2.components,
|
|
9902
9923
|
className = _ref2.className,
|
|
9903
|
-
selectProps = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
9924
|
+
selectProps = _objectWithoutPropertiesLoose(_ref2, _excluded$n);
|
|
9904
9925
|
return /*#__PURE__*/React__default.createElement(WrapperComponent, {
|
|
9905
9926
|
label: label,
|
|
9906
9927
|
error: error,
|
|
@@ -9919,7 +9940,7 @@ var SelectComponent = function SelectComponent(_ref2) {
|
|
|
9919
9940
|
})));
|
|
9920
9941
|
};
|
|
9921
9942
|
|
|
9922
|
-
var _excluded$
|
|
9943
|
+
var _excluded$o = ["label", "error", "width", "darkMode", "components"];
|
|
9923
9944
|
/**
|
|
9924
9945
|
* The Select2Async component is similar to Select 2, but uses react-select async
|
|
9925
9946
|
* component for select instead of regular react-select component. This can be used
|
|
@@ -9941,7 +9962,7 @@ var SelectComponent$1 = function SelectComponent(_ref) {
|
|
|
9941
9962
|
_ref$darkMode = _ref.darkMode,
|
|
9942
9963
|
darkMode = _ref$darkMode === void 0 ? false : _ref$darkMode,
|
|
9943
9964
|
components = _ref.components,
|
|
9944
|
-
selectProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
9965
|
+
selectProps = _objectWithoutPropertiesLoose(_ref, _excluded$o);
|
|
9945
9966
|
return /*#__PURE__*/React__default.createElement(WrapperComponent, {
|
|
9946
9967
|
label: label,
|
|
9947
9968
|
error: error,
|
|
@@ -10213,7 +10234,7 @@ var Wrapper$6 = /*#__PURE__*/styled__default.figure(_templateObject$1d || (_temp
|
|
|
10213
10234
|
var CaptionWrapper = /*#__PURE__*/styled__default.figcaption(_templateObject2$W || (_templateObject2$W = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: table-caption;\n caption-side: bottom;\n margin-top: var(--carousel-image-caption-margin);\n"])));
|
|
10214
10235
|
var CaptionContext = /*#__PURE__*/styled__default(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"])));
|
|
10215
10236
|
|
|
10216
|
-
var _excluded$
|
|
10237
|
+
var _excluded$p = ["caption", "altText", "src", "srcSet", "sizes", "loading", "aspectRatio", "className"];
|
|
10217
10238
|
var ImageWithCaption = function ImageWithCaption(_ref) {
|
|
10218
10239
|
var caption = _ref.caption,
|
|
10219
10240
|
altText = _ref.altText,
|
|
@@ -10223,7 +10244,7 @@ var ImageWithCaption = function ImageWithCaption(_ref) {
|
|
|
10223
10244
|
loading = _ref.loading,
|
|
10224
10245
|
aspectRatio = _ref.aspectRatio,
|
|
10225
10246
|
className = _ref.className,
|
|
10226
|
-
restProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
10247
|
+
restProps = _objectWithoutPropertiesLoose(_ref, _excluded$p);
|
|
10227
10248
|
return /*#__PURE__*/React__default.createElement(Wrapper$6, Object.assign({
|
|
10228
10249
|
aspectRatio: aspectRatio,
|
|
10229
10250
|
className: className
|
|
@@ -11820,7 +11841,7 @@ var ArrowWrapper = /*#__PURE__*/styled__default.div(_templateObject0$8 || (_temp
|
|
|
11820
11841
|
return disabled ? 'var(--color-state-disabled)' : 'var(--button-anchor-tab-color)';
|
|
11821
11842
|
});
|
|
11822
11843
|
|
|
11823
|
-
var _excluded$
|
|
11844
|
+
var _excluded$q = ["id", "text"];
|
|
11824
11845
|
var AnchorTabBar = function AnchorTabBar(_ref) {
|
|
11825
11846
|
var tabs = _ref.tabs,
|
|
11826
11847
|
onTabClick = _ref.onTabClick,
|
|
@@ -12031,7 +12052,7 @@ var AnchorTabBar = function AnchorTabBar(_ref) {
|
|
|
12031
12052
|
}, tabs.map(function (_ref4) {
|
|
12032
12053
|
var id = _ref4.id,
|
|
12033
12054
|
text = _ref4.text,
|
|
12034
|
-
rest = _objectWithoutPropertiesLoose(_ref4, _excluded$
|
|
12055
|
+
rest = _objectWithoutPropertiesLoose(_ref4, _excluded$q);
|
|
12035
12056
|
return /*#__PURE__*/React__default.createElement("li", {
|
|
12036
12057
|
key: id
|
|
12037
12058
|
}, /*#__PURE__*/React__default.createElement(TabLink, Object.assign({
|
|
@@ -12093,7 +12114,7 @@ var PrimaryButtonReverse = /*#__PURE__*/styled__default(PrimaryButton)(_template
|
|
|
12093
12114
|
var MessageWrapper$1 = /*#__PURE__*/styled__default.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);
|
|
12094
12115
|
var MessageWrapperMobile = /*#__PURE__*/styled__default.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);
|
|
12095
12116
|
|
|
12096
|
-
var _excluded$
|
|
12117
|
+
var _excluded$r = ["text"],
|
|
12097
12118
|
_excluded2$4 = ["text"];
|
|
12098
12119
|
var TitleWithCTA = function TitleWithCTA(_ref) {
|
|
12099
12120
|
var title = _ref.title,
|
|
@@ -12103,7 +12124,7 @@ var TitleWithCTA = function TitleWithCTA(_ref) {
|
|
|
12103
12124
|
message = _ref.message;
|
|
12104
12125
|
var _ref2 = (links == null ? void 0 : links[0]) || {},
|
|
12105
12126
|
primaryButtonText = _ref2.text,
|
|
12106
|
-
primaryButtonProps = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
12127
|
+
primaryButtonProps = _objectWithoutPropertiesLoose(_ref2, _excluded$r);
|
|
12107
12128
|
var _ref3 = (links == null ? void 0 : links[1]) || {},
|
|
12108
12129
|
secondaryButtonText = _ref3.text,
|
|
12109
12130
|
secondaryButtonProps = _objectWithoutPropertiesLoose(_ref3, _excluded2$4);
|
|
@@ -12211,7 +12232,7 @@ var CloseButton = /*#__PURE__*/styled__default.button(_templateObject2$19 || (_t
|
|
|
12211
12232
|
var ContentWrapper$3 = /*#__PURE__*/styled__default.div(_templateObject3$V || (_templateObject3$V = /*#__PURE__*/_taggedTemplateLiteralLoose([""])));
|
|
12212
12233
|
var Overlay = /*#__PURE__*/styled__default(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"])));
|
|
12213
12234
|
|
|
12214
|
-
var _excluded$
|
|
12235
|
+
var _excluded$s = ["isOpen", "setIsOpen", "children", "appElementId"];
|
|
12215
12236
|
var MAX_Z_INDEX = 9999999999;
|
|
12216
12237
|
if (Modal.defaultStyles.content) {
|
|
12217
12238
|
Modal.defaultStyles.content.position = 'static';
|
|
@@ -12285,7 +12306,7 @@ var ModalWindow = function ModalWindow(_ref) {
|
|
|
12285
12306
|
setIsOpen = _ref.setIsOpen,
|
|
12286
12307
|
children = _ref.children,
|
|
12287
12308
|
appElementId = _ref.appElementId,
|
|
12288
|
-
modalProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
12309
|
+
modalProps = _objectWithoutPropertiesLoose(_ref, _excluded$s);
|
|
12289
12310
|
var isMobile = useMobile();
|
|
12290
12311
|
var customStyles = {
|
|
12291
12312
|
overlay: {
|
|
@@ -12703,7 +12724,7 @@ var VideoWithControlsWrapper = /*#__PURE__*/styled__default.div(_templateObject1
|
|
|
12703
12724
|
}, devices.mobile);
|
|
12704
12725
|
var ProgressContainer$1 = /*#__PURE__*/styled__default.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);
|
|
12705
12726
|
|
|
12706
|
-
var _excluded$
|
|
12727
|
+
var _excluded$t = ["text"],
|
|
12707
12728
|
_excluded2$5 = ["text"];
|
|
12708
12729
|
var _buttonTypeToButton$2;
|
|
12709
12730
|
var buttonTypeToButton$2 = (_buttonTypeToButton$2 = {}, _buttonTypeToButton$2[exports.ButtonType.Primary] = PrimaryButton, _buttonTypeToButton$2[exports.ButtonType.Secondary] = SecondaryButton, _buttonTypeToButton$2[exports.ButtonType.Tertiary] = TertiaryButton, _buttonTypeToButton$2);
|
|
@@ -12714,7 +12735,7 @@ var Buttons = function Buttons(_ref) {
|
|
|
12714
12735
|
var _ref2 = firstButton || {},
|
|
12715
12736
|
_ref2$text = _ref2.text,
|
|
12716
12737
|
firstButtonText = _ref2$text === void 0 ? '' : _ref2$text,
|
|
12717
|
-
restFirstButton = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
12738
|
+
restFirstButton = _objectWithoutPropertiesLoose(_ref2, _excluded$t);
|
|
12718
12739
|
var secondButton = links == null ? void 0 : links[1];
|
|
12719
12740
|
var _ref3 = secondButton || {},
|
|
12720
12741
|
_ref3$text = _ref3.text,
|
|
@@ -12951,11 +12972,11 @@ var HighlightsCarousel = function HighlightsCarousel(_ref) {
|
|
|
12951
12972
|
})));
|
|
12952
12973
|
};
|
|
12953
12974
|
|
|
12954
|
-
var _excluded$
|
|
12975
|
+
var _excluded$u = ["logo", "slides"];
|
|
12955
12976
|
var HighlightsCinema = function HighlightsCinema(_ref) {
|
|
12956
12977
|
var logo = _ref.logo,
|
|
12957
12978
|
slides = _ref.slides,
|
|
12958
|
-
rest = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
12979
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded$u);
|
|
12959
12980
|
var slidesWithLinks = slides.map(function (slide) {
|
|
12960
12981
|
var links = processSlideLinks(slide.links);
|
|
12961
12982
|
return _extends({}, slide, {
|
|
@@ -12972,10 +12993,10 @@ var HighlightsCinema = function HighlightsCinema(_ref) {
|
|
|
12972
12993
|
})));
|
|
12973
12994
|
};
|
|
12974
12995
|
|
|
12975
|
-
var _excluded$
|
|
12996
|
+
var _excluded$v = ["slides"];
|
|
12976
12997
|
var HighlightsCore = function HighlightsCore(_ref) {
|
|
12977
12998
|
var slides = _ref.slides,
|
|
12978
|
-
rest = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
12999
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded$v);
|
|
12979
13000
|
var slidesWithLinks = slides.map(function (slide) {
|
|
12980
13001
|
var links = processSlideLinks(slide.links);
|
|
12981
13002
|
return _extends({}, slide, {
|
|
@@ -12989,11 +13010,11 @@ var HighlightsCore = function HighlightsCore(_ref) {
|
|
|
12989
13010
|
})));
|
|
12990
13011
|
};
|
|
12991
13012
|
|
|
12992
|
-
var _excluded$
|
|
13013
|
+
var _excluded$w = ["logo", "slides"];
|
|
12993
13014
|
var HighlightsStream = function HighlightsStream(_ref) {
|
|
12994
13015
|
var logo = _ref.logo,
|
|
12995
13016
|
slides = _ref.slides,
|
|
12996
|
-
rest = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
13017
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded$w);
|
|
12997
13018
|
var slidesWithLinks = slides.map(function (slide) {
|
|
12998
13019
|
var links = processSlideLinks(slide.links);
|
|
12999
13020
|
return _extends({}, slide, {
|
|
@@ -14580,6 +14601,7 @@ exports.ContactNewsletter = ContactNewsletter;
|
|
|
14580
14601
|
exports.ContentSummary = ContentSummary;
|
|
14581
14602
|
exports.ControlledDropdown = ControlledDropdown;
|
|
14582
14603
|
exports.CreditListing = CreditListing;
|
|
14604
|
+
exports.DisplayHeader = DisplayHeader;
|
|
14583
14605
|
exports.Dropdown = Dropdown;
|
|
14584
14606
|
exports.Editorial = Editorial;
|
|
14585
14607
|
exports.Footer = Footer;
|