@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
package/dist/harmonic.esm.js
CHANGED
|
@@ -228,6 +228,26 @@ styleInject(css_248z);
|
|
|
228
228
|
var _excluded = ["children", "size", "em", "color", "serif", "hierarchy", "tag", "className"],
|
|
229
229
|
_excluded2 = ["children", "size", "color", "className", "bold", "tag"],
|
|
230
230
|
_excluded3 = ["children", "size", "color", "className"];
|
|
231
|
+
/* ~~~ Display - (use case) ~~~ */
|
|
232
|
+
var DisplayHeader = function DisplayHeader(_ref) {
|
|
233
|
+
var children = _ref.children,
|
|
234
|
+
size = _ref.size,
|
|
235
|
+
em = _ref.em,
|
|
236
|
+
_ref$color = _ref.color,
|
|
237
|
+
color = _ref$color === void 0 ? 'inherit' : _ref$color,
|
|
238
|
+
serif = _ref.serif,
|
|
239
|
+
className = _ref.className;
|
|
240
|
+
var classNames = createClassNames('display', {
|
|
241
|
+
size: size,
|
|
242
|
+
color: color,
|
|
243
|
+
serif: serif,
|
|
244
|
+
em: em,
|
|
245
|
+
className: className
|
|
246
|
+
}, typographyStyles);
|
|
247
|
+
return /*#__PURE__*/React__default.createElement("h1", {
|
|
248
|
+
className: classNames
|
|
249
|
+
}, children);
|
|
250
|
+
};
|
|
231
251
|
/* ~~~ Headers - size and hierarchy set separately ~~~ */
|
|
232
252
|
var HarmonicHeader = function HarmonicHeader(_ref2) {
|
|
233
253
|
var _ref3;
|
|
@@ -6846,7 +6866,6 @@ var Swipe = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
6846
6866
|
});
|
|
6847
6867
|
Swipe.displayName = 'Swipe';
|
|
6848
6868
|
|
|
6849
|
-
var _excluded$i = ["name", "image", "onClick"];
|
|
6850
6869
|
var CastFilters = function CastFilters(_ref) {
|
|
6851
6870
|
var cast = _ref.cast,
|
|
6852
6871
|
headingText = _ref.headingText,
|
|
@@ -6985,23 +7004,26 @@ var CastFilters = function CastFilters(_ref) {
|
|
|
6985
7004
|
var name = person.name,
|
|
6986
7005
|
image = person.image,
|
|
6987
7006
|
_onClick = person.onClick,
|
|
6988
|
-
|
|
7007
|
+
ariaLabel = person['aria-label'];
|
|
6989
7008
|
var isSelected = selectedIndices.includes(index);
|
|
6990
7009
|
var personImage = image || placeholderImage || defaultPlaceholderImage;
|
|
6991
7010
|
return /*#__PURE__*/React__default.createElement(PersonWrapper, {
|
|
6992
7011
|
key: index,
|
|
6993
7012
|
"aria-selected": isSelected,
|
|
7013
|
+
"aria-label": ariaLabel || (isSelected ? 'Deselect' : 'Select') + " " + name,
|
|
7014
|
+
"aria-posinset": index + 1,
|
|
7015
|
+
"aria-setsize": cast.length,
|
|
6994
7016
|
role: "option",
|
|
6995
7017
|
tabIndex: 0,
|
|
6996
7018
|
onKeyDown: function onKeyDown(e) {
|
|
6997
7019
|
return handlePersonKeydown(e, index, _onClick);
|
|
6998
7020
|
}
|
|
6999
|
-
}, /*#__PURE__*/React__default.createElement(PersonToggle,
|
|
7021
|
+
}, /*#__PURE__*/React__default.createElement(PersonToggle, {
|
|
7000
7022
|
isSelected: isSelected,
|
|
7001
7023
|
onClick: function onClick() {
|
|
7002
7024
|
return handleClick(index, _onClick);
|
|
7003
7025
|
}
|
|
7004
|
-
},
|
|
7026
|
+
}, /*#__PURE__*/React__default.createElement(PersonImage, {
|
|
7005
7027
|
src: personImage,
|
|
7006
7028
|
alt: image ? name : "Placeholder image for " + name,
|
|
7007
7029
|
draggable: false,
|
|
@@ -7039,7 +7061,6 @@ var CastFilters = function CastFilters(_ref) {
|
|
|
7039
7061
|
ref: castWrapperRef,
|
|
7040
7062
|
role: "listbox",
|
|
7041
7063
|
"aria-roledescription": listRoleDescription != null ? listRoleDescription : 'filter list',
|
|
7042
|
-
"aria-label": "filter list",
|
|
7043
7064
|
"aria-multiselectable": true,
|
|
7044
7065
|
onMouseDown: handleMouseDown,
|
|
7045
7066
|
onMouseMove: handleMouseMove,
|
|
@@ -7308,7 +7329,7 @@ var HotFiltersWrapper = /*#__PURE__*/styled.div(_templateObject$O || (_templateO
|
|
|
7308
7329
|
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
7330
|
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
7331
|
|
|
7311
|
-
var _excluded$
|
|
7332
|
+
var _excluded$i = ["text", "onClick"];
|
|
7312
7333
|
var HotFilters = function HotFilters(_ref) {
|
|
7313
7334
|
var items = _ref.items,
|
|
7314
7335
|
className = _ref.className,
|
|
@@ -7324,7 +7345,7 @@ var HotFilters = function HotFilters(_ref) {
|
|
|
7324
7345
|
}, /*#__PURE__*/React__default.createElement(HotFilterOptionsWrapper, null, items.map(function (item, index) {
|
|
7325
7346
|
var text = item.text,
|
|
7326
7347
|
_onClick = item.onClick,
|
|
7327
|
-
rest = _objectWithoutPropertiesLoose(item, _excluded$
|
|
7348
|
+
rest = _objectWithoutPropertiesLoose(item, _excluded$i);
|
|
7328
7349
|
var isSelected = index === selectedIndex;
|
|
7329
7350
|
return /*#__PURE__*/React__default.createElement(StyledHotFiltersButton, Object.assign({
|
|
7330
7351
|
key: index,
|
|
@@ -7777,7 +7798,7 @@ var VideoControlsImpact = function VideoControlsImpact(_ref) {
|
|
|
7777
7798
|
})))));
|
|
7778
7799
|
};
|
|
7779
7800
|
|
|
7780
|
-
var _excluded$
|
|
7801
|
+
var _excluded$j = ["text"];
|
|
7781
7802
|
var CHAR_LIMIT = 100;
|
|
7782
7803
|
var useResponsiveVideo = function useResponsiveVideo(video, poster) {
|
|
7783
7804
|
var mobileVideo = video.mobile || video.desktop;
|
|
@@ -7899,7 +7920,7 @@ var PageHeadingImpact = function PageHeadingImpact(_ref4) {
|
|
|
7899
7920
|
var truncatedText = text && text.length > CHAR_LIMIT ? text.slice(0, CHAR_LIMIT).trimEnd() + "\u2026" : text;
|
|
7900
7921
|
var _ref5 = link || {},
|
|
7901
7922
|
linkText = _ref5.text,
|
|
7902
|
-
restLink = _objectWithoutPropertiesLoose(_ref5, _excluded$
|
|
7923
|
+
restLink = _objectWithoutPropertiesLoose(_ref5, _excluded$j);
|
|
7903
7924
|
var video = {
|
|
7904
7925
|
elementId: 'impact-header-video',
|
|
7905
7926
|
desktop: videoUrlDesktop,
|
|
@@ -8376,7 +8397,7 @@ var CompactHeaderBranding = function CompactHeaderBranding(_ref) {
|
|
|
8376
8397
|
return /*#__PURE__*/React__default.createElement(CompactHeaderLogoWrapper, null, renderBranding(brandingStyle, invert, brandingText, brandingLink));
|
|
8377
8398
|
};
|
|
8378
8399
|
|
|
8379
|
-
var _excluded$
|
|
8400
|
+
var _excluded$k = ["text"];
|
|
8380
8401
|
var useResponsiveVideo$1 = function useResponsiveVideo(video, poster) {
|
|
8381
8402
|
var mobileVideo = video.mobile || video.desktop;
|
|
8382
8403
|
var desktopVideo = video.desktop || video.mobile;
|
|
@@ -8481,7 +8502,7 @@ var PageHeadingCompact = function PageHeadingCompact(_ref4) {
|
|
|
8481
8502
|
showCopy = _ref4$showCopy === void 0 ? true : _ref4$showCopy;
|
|
8482
8503
|
var _ref5 = link || {},
|
|
8483
8504
|
linkText = _ref5.text,
|
|
8484
|
-
restLink = _objectWithoutPropertiesLoose(_ref5, _excluded$
|
|
8505
|
+
restLink = _objectWithoutPropertiesLoose(_ref5, _excluded$k);
|
|
8485
8506
|
// const titleSize = title && title.length > 20 ? 4 : 3;
|
|
8486
8507
|
var video = {
|
|
8487
8508
|
elementId: 'compact-header-video',
|
|
@@ -9065,7 +9086,7 @@ var HarmonicHeaderWithWrapper = /*#__PURE__*/styled(HarmonicHeader)(_templateObj
|
|
|
9065
9086
|
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
9087
|
var HarmonicSubtitleWithWrapper = /*#__PURE__*/styled(HarmonicSubtitle)(_templateObject17 || (_templateObject17 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n overflow-wrap: break-word;\n margin-bottom: 16px;\n"])));
|
|
9067
9088
|
|
|
9068
|
-
var _excluded$
|
|
9089
|
+
var _excluded$l = ["text"],
|
|
9069
9090
|
_excluded2$2 = ["text"],
|
|
9070
9091
|
_excluded3$1 = ["text"];
|
|
9071
9092
|
var _buttonTypeToButton$1;
|
|
@@ -9133,7 +9154,7 @@ var PromoWithTags = function PromoWithTags(_ref) {
|
|
|
9133
9154
|
var _ref2 = firstButton || {},
|
|
9134
9155
|
_ref2$text = _ref2.text,
|
|
9135
9156
|
firstButtonText = _ref2$text === void 0 ? '' : _ref2$text,
|
|
9136
|
-
restFirstButton = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
9157
|
+
restFirstButton = _objectWithoutPropertiesLoose(_ref2, _excluded$l);
|
|
9137
9158
|
var primaryButtonTextTruncate = truncate(firstButtonText, LENGTH_TEXT$1);
|
|
9138
9159
|
var secondButton = links == null ? void 0 : links[1];
|
|
9139
9160
|
var _ref3 = secondButton || {},
|
|
@@ -9417,7 +9438,7 @@ var PromoChild = function PromoChild(_ref) {
|
|
|
9417
9438
|
}));
|
|
9418
9439
|
};
|
|
9419
9440
|
|
|
9420
|
-
var _excluded$
|
|
9441
|
+
var _excluded$m = ["text"],
|
|
9421
9442
|
_excluded2$3 = ["text"];
|
|
9422
9443
|
var LENGTH_TEXT$3 = 28;
|
|
9423
9444
|
var PromoWithTitle = function PromoWithTitle(_ref) {
|
|
@@ -9444,7 +9465,7 @@ var PromoWithTitle = function PromoWithTitle(_ref) {
|
|
|
9444
9465
|
var _ref2 = primaryButton || {},
|
|
9445
9466
|
_ref2$text = _ref2.text,
|
|
9446
9467
|
primaryButtonText = _ref2$text === void 0 ? '' : _ref2$text,
|
|
9447
|
-
restPrimaryButton = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
9468
|
+
restPrimaryButton = _objectWithoutPropertiesLoose(_ref2, _excluded$m);
|
|
9448
9469
|
var primaryButtonTextTruncate = truncate(primaryButtonText, LENGTH_TEXT$3);
|
|
9449
9470
|
var tertiaryButton = links == null ? void 0 : links[1];
|
|
9450
9471
|
var _ref3 = tertiaryButton || {},
|
|
@@ -9883,7 +9904,7 @@ var ErrorLabel$5 = /*#__PURE__*/styled.div(_templateObject4$y || (_templateObjec
|
|
|
9883
9904
|
return "var(--color-state-error)";
|
|
9884
9905
|
});
|
|
9885
9906
|
|
|
9886
|
-
var _excluded$
|
|
9907
|
+
var _excluded$n = ["label", "error", "width", "darkMode", "isSearchable", "components", "className"];
|
|
9887
9908
|
var DropdownIndicator = function DropdownIndicator(props) {
|
|
9888
9909
|
return /*#__PURE__*/React__default.createElement(components.DropdownIndicator, Object.assign({}, props), /*#__PURE__*/React__default.createElement(Icon, {
|
|
9889
9910
|
iconName: "DropdownArrow"
|
|
@@ -9938,7 +9959,7 @@ var SelectComponent = function SelectComponent(_ref2) {
|
|
|
9938
9959
|
isSearchable = _ref2$isSearchable === void 0 ? false : _ref2$isSearchable,
|
|
9939
9960
|
components = _ref2.components,
|
|
9940
9961
|
className = _ref2.className,
|
|
9941
|
-
selectProps = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
9962
|
+
selectProps = _objectWithoutPropertiesLoose(_ref2, _excluded$n);
|
|
9942
9963
|
return /*#__PURE__*/React__default.createElement(WrapperComponent, {
|
|
9943
9964
|
label: label,
|
|
9944
9965
|
error: error,
|
|
@@ -9957,7 +9978,7 @@ var SelectComponent = function SelectComponent(_ref2) {
|
|
|
9957
9978
|
})));
|
|
9958
9979
|
};
|
|
9959
9980
|
|
|
9960
|
-
var _excluded$
|
|
9981
|
+
var _excluded$o = ["label", "error", "width", "darkMode", "components"];
|
|
9961
9982
|
/**
|
|
9962
9983
|
* The Select2Async component is similar to Select 2, but uses react-select async
|
|
9963
9984
|
* component for select instead of regular react-select component. This can be used
|
|
@@ -9979,7 +10000,7 @@ var SelectComponent$1 = function SelectComponent(_ref) {
|
|
|
9979
10000
|
_ref$darkMode = _ref.darkMode,
|
|
9980
10001
|
darkMode = _ref$darkMode === void 0 ? false : _ref$darkMode,
|
|
9981
10002
|
components = _ref.components,
|
|
9982
|
-
selectProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
10003
|
+
selectProps = _objectWithoutPropertiesLoose(_ref, _excluded$o);
|
|
9983
10004
|
return /*#__PURE__*/React__default.createElement(WrapperComponent, {
|
|
9984
10005
|
label: label,
|
|
9985
10006
|
error: error,
|
|
@@ -10251,7 +10272,7 @@ var Wrapper$6 = /*#__PURE__*/styled.figure(_templateObject$1d || (_templateObjec
|
|
|
10251
10272
|
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
10273
|
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
10274
|
|
|
10254
|
-
var _excluded$
|
|
10275
|
+
var _excluded$p = ["caption", "altText", "src", "srcSet", "sizes", "loading", "aspectRatio", "className"];
|
|
10255
10276
|
var ImageWithCaption = function ImageWithCaption(_ref) {
|
|
10256
10277
|
var caption = _ref.caption,
|
|
10257
10278
|
altText = _ref.altText,
|
|
@@ -10261,7 +10282,7 @@ var ImageWithCaption = function ImageWithCaption(_ref) {
|
|
|
10261
10282
|
loading = _ref.loading,
|
|
10262
10283
|
aspectRatio = _ref.aspectRatio,
|
|
10263
10284
|
className = _ref.className,
|
|
10264
|
-
restProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
10285
|
+
restProps = _objectWithoutPropertiesLoose(_ref, _excluded$p);
|
|
10265
10286
|
return /*#__PURE__*/React__default.createElement(Wrapper$6, Object.assign({
|
|
10266
10287
|
aspectRatio: aspectRatio,
|
|
10267
10288
|
className: className
|
|
@@ -11858,7 +11879,7 @@ var ArrowWrapper = /*#__PURE__*/styled.div(_templateObject0$8 || (_templateObjec
|
|
|
11858
11879
|
return disabled ? 'var(--color-state-disabled)' : 'var(--button-anchor-tab-color)';
|
|
11859
11880
|
});
|
|
11860
11881
|
|
|
11861
|
-
var _excluded$
|
|
11882
|
+
var _excluded$q = ["id", "text"];
|
|
11862
11883
|
var AnchorTabBar = function AnchorTabBar(_ref) {
|
|
11863
11884
|
var tabs = _ref.tabs,
|
|
11864
11885
|
onTabClick = _ref.onTabClick,
|
|
@@ -12069,7 +12090,7 @@ var AnchorTabBar = function AnchorTabBar(_ref) {
|
|
|
12069
12090
|
}, tabs.map(function (_ref4) {
|
|
12070
12091
|
var id = _ref4.id,
|
|
12071
12092
|
text = _ref4.text,
|
|
12072
|
-
rest = _objectWithoutPropertiesLoose(_ref4, _excluded$
|
|
12093
|
+
rest = _objectWithoutPropertiesLoose(_ref4, _excluded$q);
|
|
12073
12094
|
return /*#__PURE__*/React__default.createElement("li", {
|
|
12074
12095
|
key: id
|
|
12075
12096
|
}, /*#__PURE__*/React__default.createElement(TabLink, Object.assign({
|
|
@@ -12131,7 +12152,7 @@ var PrimaryButtonReverse = /*#__PURE__*/styled(PrimaryButton)(_templateObject8$g
|
|
|
12131
12152
|
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
12153
|
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
12154
|
|
|
12134
|
-
var _excluded$
|
|
12155
|
+
var _excluded$r = ["text"],
|
|
12135
12156
|
_excluded2$4 = ["text"];
|
|
12136
12157
|
var TitleWithCTA = function TitleWithCTA(_ref) {
|
|
12137
12158
|
var title = _ref.title,
|
|
@@ -12141,7 +12162,7 @@ var TitleWithCTA = function TitleWithCTA(_ref) {
|
|
|
12141
12162
|
message = _ref.message;
|
|
12142
12163
|
var _ref2 = (links == null ? void 0 : links[0]) || {},
|
|
12143
12164
|
primaryButtonText = _ref2.text,
|
|
12144
|
-
primaryButtonProps = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
12165
|
+
primaryButtonProps = _objectWithoutPropertiesLoose(_ref2, _excluded$r);
|
|
12145
12166
|
var _ref3 = (links == null ? void 0 : links[1]) || {},
|
|
12146
12167
|
secondaryButtonText = _ref3.text,
|
|
12147
12168
|
secondaryButtonProps = _objectWithoutPropertiesLoose(_ref3, _excluded2$4);
|
|
@@ -12249,7 +12270,7 @@ var CloseButton = /*#__PURE__*/styled.button(_templateObject2$19 || (_templateOb
|
|
|
12249
12270
|
var ContentWrapper$3 = /*#__PURE__*/styled.div(_templateObject3$V || (_templateObject3$V = /*#__PURE__*/_taggedTemplateLiteralLoose([""])));
|
|
12250
12271
|
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
12272
|
|
|
12252
|
-
var _excluded$
|
|
12273
|
+
var _excluded$s = ["isOpen", "setIsOpen", "children", "appElementId"];
|
|
12253
12274
|
var MAX_Z_INDEX = 9999999999;
|
|
12254
12275
|
if (Modal.defaultStyles.content) {
|
|
12255
12276
|
Modal.defaultStyles.content.position = 'static';
|
|
@@ -12323,7 +12344,7 @@ var ModalWindow = function ModalWindow(_ref) {
|
|
|
12323
12344
|
setIsOpen = _ref.setIsOpen,
|
|
12324
12345
|
children = _ref.children,
|
|
12325
12346
|
appElementId = _ref.appElementId,
|
|
12326
|
-
modalProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
12347
|
+
modalProps = _objectWithoutPropertiesLoose(_ref, _excluded$s);
|
|
12327
12348
|
var isMobile = useMobile();
|
|
12328
12349
|
var customStyles = {
|
|
12329
12350
|
overlay: {
|
|
@@ -12741,7 +12762,7 @@ var VideoWithControlsWrapper = /*#__PURE__*/styled.div(_templateObject15$1 || (_
|
|
|
12741
12762
|
}, devices.mobile);
|
|
12742
12763
|
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
12764
|
|
|
12744
|
-
var _excluded$
|
|
12765
|
+
var _excluded$t = ["text"],
|
|
12745
12766
|
_excluded2$5 = ["text"];
|
|
12746
12767
|
var _buttonTypeToButton$2;
|
|
12747
12768
|
var buttonTypeToButton$2 = (_buttonTypeToButton$2 = {}, _buttonTypeToButton$2[ButtonType.Primary] = PrimaryButton, _buttonTypeToButton$2[ButtonType.Secondary] = SecondaryButton, _buttonTypeToButton$2[ButtonType.Tertiary] = TertiaryButton, _buttonTypeToButton$2);
|
|
@@ -12752,7 +12773,7 @@ var Buttons = function Buttons(_ref) {
|
|
|
12752
12773
|
var _ref2 = firstButton || {},
|
|
12753
12774
|
_ref2$text = _ref2.text,
|
|
12754
12775
|
firstButtonText = _ref2$text === void 0 ? '' : _ref2$text,
|
|
12755
|
-
restFirstButton = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
12776
|
+
restFirstButton = _objectWithoutPropertiesLoose(_ref2, _excluded$t);
|
|
12756
12777
|
var secondButton = links == null ? void 0 : links[1];
|
|
12757
12778
|
var _ref3 = secondButton || {},
|
|
12758
12779
|
_ref3$text = _ref3.text,
|
|
@@ -12989,11 +13010,11 @@ var HighlightsCarousel = function HighlightsCarousel(_ref) {
|
|
|
12989
13010
|
})));
|
|
12990
13011
|
};
|
|
12991
13012
|
|
|
12992
|
-
var _excluded$
|
|
13013
|
+
var _excluded$u = ["logo", "slides"];
|
|
12993
13014
|
var HighlightsCinema = function HighlightsCinema(_ref) {
|
|
12994
13015
|
var logo = _ref.logo,
|
|
12995
13016
|
slides = _ref.slides,
|
|
12996
|
-
rest = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
13017
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded$u);
|
|
12997
13018
|
var slidesWithLinks = slides.map(function (slide) {
|
|
12998
13019
|
var links = processSlideLinks(slide.links);
|
|
12999
13020
|
return _extends({}, slide, {
|
|
@@ -13010,10 +13031,10 @@ var HighlightsCinema = function HighlightsCinema(_ref) {
|
|
|
13010
13031
|
})));
|
|
13011
13032
|
};
|
|
13012
13033
|
|
|
13013
|
-
var _excluded$
|
|
13034
|
+
var _excluded$v = ["slides"];
|
|
13014
13035
|
var HighlightsCore = function HighlightsCore(_ref) {
|
|
13015
13036
|
var slides = _ref.slides,
|
|
13016
|
-
rest = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
13037
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded$v);
|
|
13017
13038
|
var slidesWithLinks = slides.map(function (slide) {
|
|
13018
13039
|
var links = processSlideLinks(slide.links);
|
|
13019
13040
|
return _extends({}, slide, {
|
|
@@ -13027,11 +13048,11 @@ var HighlightsCore = function HighlightsCore(_ref) {
|
|
|
13027
13048
|
})));
|
|
13028
13049
|
};
|
|
13029
13050
|
|
|
13030
|
-
var _excluded$
|
|
13051
|
+
var _excluded$w = ["logo", "slides"];
|
|
13031
13052
|
var HighlightsStream = function HighlightsStream(_ref) {
|
|
13032
13053
|
var logo = _ref.logo,
|
|
13033
13054
|
slides = _ref.slides,
|
|
13034
|
-
rest = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
13055
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded$w);
|
|
13035
13056
|
var slidesWithLinks = slides.map(function (slide) {
|
|
13036
13057
|
var links = processSlideLinks(slide.links);
|
|
13037
13058
|
return _extends({}, slide, {
|
|
@@ -14593,5 +14614,5 @@ var GlobalStyles = /*#__PURE__*/createGlobalStyle(_templateObject$1y || (_templa
|
|
|
14593
14614
|
return theme.footer.tablet.paddingBottom;
|
|
14594
14615
|
}, devices.desktop, devices.largeDesktop);
|
|
14595
14616
|
|
|
14596
|
-
export { Accordion, Accordions, Account, AltHeader, AnchorBar, AnchorTabBar, AnnouncementBanner, AspectRatio, AuxiliaryButton, AuxiliaryNav, Basket$1 as Basket, BodyContent, BodyCopyHarmonic, BodyText, ButtonText, ButtonType, Caption, Card, Cards, Carousel, CarouselType, CastFilters as CastFilter, CinemaBadge, Colors, ContactCard, ContactNewsletter, ContentSummary, ControlledDropdown, CreditListing, Dropdown, Editorial, Footer, GlobalStyles, Grid, GridItem, HarmonicHeader, HarmonicOverline, HarmonicSize, HarmonicSubtitle, HarmonicThemeProvider, Header, HighlightsCarousel, HighlightsCinema as HighlightsCarouselCinema, HighlightsCore as HighlightsCarouselCore, HighlightsStream as HighlightsCarouselStream, HotFilters, Icon, ImageAspectRatioWrapper, ImageWithCaption, Information, Logo, MiniCard, MinimalCarousel, ModalWindow, NavTop, Navigation, NavigationText, Overline, PageHeading, PageHeadingCompact, PageHeadingHighlight, PageHeadingHighlightCarousel, PageHeadingImpact, PageHeadingPanel, PageHeadingPromo, Pagination, PasswordStrength, Paywall, PeopleListing, Person, PersonCard, PersonDetails, PolicyLinks, PrimaryButton, Progress, PromoWithTags, PromoWithTitle, Quote, Radio2, RadioGroup2, ReadMore, RotatorButtons, Search$1 as Search, SearchBar, SecondaryButton, SecondaryLogo, SectionSplitter, SectionTitle, SelectComponent as Select2, SelectComponent$1 as Select2Async, SignUpFormComponent as SignUpForm, SocialLinks, Sponsorship, StatusBanner, Component as Stepper, StickyBar, StreamBadge, Subtitle, Swipe, Tab, TabLink, Table, Tabs, TertiaryButton, TextArea, TextField, TextFieldLegacy, TextLink, ThemeColor, Theme as ThemeProvider, ThemeType, Tickbox, Tickbox2, TickboxMode, Timer, TitleWithCTA, TypeTags, UpsellCard, UpsellCards, UpsellSection, VideoControls, VideoWithControls$2 as VideoWithControls, breakpoints, devices, useHarmonicTheme, zIndexes };
|
|
14617
|
+
export { Accordion, Accordions, Account, AltHeader, AnchorBar, AnchorTabBar, AnnouncementBanner, AspectRatio, AuxiliaryButton, AuxiliaryNav, Basket$1 as Basket, BodyContent, BodyCopyHarmonic, BodyText, ButtonText, ButtonType, Caption, Card, Cards, Carousel, CarouselType, CastFilters as CastFilter, CinemaBadge, Colors, ContactCard, ContactNewsletter, ContentSummary, ControlledDropdown, CreditListing, DisplayHeader, Dropdown, Editorial, Footer, GlobalStyles, Grid, GridItem, HarmonicHeader, HarmonicOverline, HarmonicSize, HarmonicSubtitle, HarmonicThemeProvider, Header, HighlightsCarousel, HighlightsCinema as HighlightsCarouselCinema, HighlightsCore as HighlightsCarouselCore, HighlightsStream as HighlightsCarouselStream, HotFilters, Icon, ImageAspectRatioWrapper, ImageWithCaption, Information, Logo, MiniCard, MinimalCarousel, ModalWindow, NavTop, Navigation, NavigationText, Overline, PageHeading, PageHeadingCompact, PageHeadingHighlight, PageHeadingHighlightCarousel, PageHeadingImpact, PageHeadingPanel, PageHeadingPromo, Pagination, PasswordStrength, Paywall, PeopleListing, Person, PersonCard, PersonDetails, PolicyLinks, PrimaryButton, Progress, PromoWithTags, PromoWithTitle, Quote, Radio2, RadioGroup2, ReadMore, RotatorButtons, Search$1 as Search, SearchBar, SecondaryButton, SecondaryLogo, SectionSplitter, SectionTitle, SelectComponent as Select2, SelectComponent$1 as Select2Async, SignUpFormComponent as SignUpForm, SocialLinks, Sponsorship, StatusBanner, Component as Stepper, StickyBar, StreamBadge, Subtitle, Swipe, Tab, TabLink, Table, Tabs, TertiaryButton, TextArea, TextField, TextFieldLegacy, TextLink, ThemeColor, Theme as ThemeProvider, ThemeType, Tickbox, Tickbox2, TickboxMode, Timer, TitleWithCTA, TypeTags, UpsellCard, UpsellCards, UpsellSection, VideoControls, VideoWithControls$2 as VideoWithControls, breakpoints, devices, useHarmonicTheme, zIndexes };
|
|
14597
14618
|
//# sourceMappingURL=harmonic.esm.js.map
|