@royaloperahouse/harmonic 0.19.2 → 1.0.0-b
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 +18 -0
- package/README.md +267 -43
- package/dist/harmonic.cjs.development.js +40 -39
- 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 +40 -39
- package/dist/harmonic.esm.js.map +1 -1
- package/dist/types/types.d.ts +10 -1
- package/package.json +5 -19
- package/README.GIT +0 -293
package/dist/harmonic.esm.js
CHANGED
|
@@ -7094,7 +7094,6 @@ var Swipe = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
7094
7094
|
});
|
|
7095
7095
|
Swipe.displayName = 'Swipe';
|
|
7096
7096
|
|
|
7097
|
-
var _excluded$i = ["name", "image", "onClick"];
|
|
7098
7097
|
var CastFilters = function CastFilters(_ref) {
|
|
7099
7098
|
var cast = _ref.cast,
|
|
7100
7099
|
headingText = _ref.headingText,
|
|
@@ -7218,7 +7217,8 @@ var CastFilters = function CastFilters(_ref) {
|
|
|
7218
7217
|
if (onClick) onClick();
|
|
7219
7218
|
}, [onSelect]);
|
|
7220
7219
|
var handlePersonKeydown = React__default.useCallback(function (e, index, onClick) {
|
|
7221
|
-
if (e.key === 'Enter') {
|
|
7220
|
+
if (e.key === 'Enter' || e.key === ' ' || e.key === 'Spacebar') {
|
|
7221
|
+
e.preventDefault();
|
|
7222
7222
|
handleClick(index, onClick);
|
|
7223
7223
|
}
|
|
7224
7224
|
}, [handleClick]);
|
|
@@ -7233,23 +7233,24 @@ var CastFilters = function CastFilters(_ref) {
|
|
|
7233
7233
|
var name = person.name,
|
|
7234
7234
|
image = person.image,
|
|
7235
7235
|
_onClick = person.onClick,
|
|
7236
|
-
|
|
7236
|
+
ariaLabel = person['aria-label'];
|
|
7237
7237
|
var isSelected = selectedIndices.includes(index);
|
|
7238
7238
|
var personImage = image || placeholderImage || defaultPlaceholderImage;
|
|
7239
7239
|
return /*#__PURE__*/React__default.createElement(PersonWrapper, {
|
|
7240
7240
|
key: index,
|
|
7241
7241
|
"aria-selected": isSelected,
|
|
7242
|
+
"aria-label": ariaLabel != null ? ariaLabel : name,
|
|
7242
7243
|
role: "option",
|
|
7243
7244
|
tabIndex: 0,
|
|
7244
|
-
onKeyDown: function onKeyDown(e) {
|
|
7245
|
-
return handlePersonKeydown(e, index, _onClick);
|
|
7246
|
-
}
|
|
7247
|
-
}, /*#__PURE__*/React__default.createElement(PersonToggle, Object.assign({
|
|
7248
|
-
isSelected: isSelected,
|
|
7249
7245
|
onClick: function onClick() {
|
|
7250
7246
|
return handleClick(index, _onClick);
|
|
7247
|
+
},
|
|
7248
|
+
onKeyDown: function onKeyDown(e) {
|
|
7249
|
+
return handlePersonKeydown(e, index, _onClick);
|
|
7251
7250
|
}
|
|
7252
|
-
},
|
|
7251
|
+
}, /*#__PURE__*/React__default.createElement(PersonToggle, {
|
|
7252
|
+
isSelected: isSelected
|
|
7253
|
+
}, /*#__PURE__*/React__default.createElement(PersonImage, {
|
|
7253
7254
|
src: personImage,
|
|
7254
7255
|
alt: image ? name : "Placeholder image for " + name,
|
|
7255
7256
|
draggable: false,
|
|
@@ -7523,7 +7524,7 @@ var HotFiltersWrapper = /*#__PURE__*/styled.div(_templateObject$O || (_templateO
|
|
|
7523
7524
|
var HotFilterOptionsWrapper = /*#__PURE__*/styled.div(_templateObject2$C || (_templateObject2$C = /*#__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);
|
|
7524
7525
|
var StyledHotFiltersButton = /*#__PURE__*/styled(PrimaryButton)(_templateObject3$q || (_templateObject3$q = /*#__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"])));
|
|
7525
7526
|
|
|
7526
|
-
var _excluded$
|
|
7527
|
+
var _excluded$i = ["text", "onClick"];
|
|
7527
7528
|
var HotFilters = function HotFilters(_ref) {
|
|
7528
7529
|
var items = _ref.items,
|
|
7529
7530
|
className = _ref.className,
|
|
@@ -7539,7 +7540,7 @@ var HotFilters = function HotFilters(_ref) {
|
|
|
7539
7540
|
}, /*#__PURE__*/React__default.createElement(HotFilterOptionsWrapper, null, items.map(function (item, index) {
|
|
7540
7541
|
var text = item.text,
|
|
7541
7542
|
_onClick = item.onClick,
|
|
7542
|
-
rest = _objectWithoutPropertiesLoose(item, _excluded$
|
|
7543
|
+
rest = _objectWithoutPropertiesLoose(item, _excluded$i);
|
|
7543
7544
|
var isSelected = index === selectedIndex;
|
|
7544
7545
|
return /*#__PURE__*/React__default.createElement(StyledHotFiltersButton, Object.assign({
|
|
7545
7546
|
key: index,
|
|
@@ -7992,7 +7993,7 @@ var VideoControlsImpact = function VideoControlsImpact(_ref) {
|
|
|
7992
7993
|
})))));
|
|
7993
7994
|
};
|
|
7994
7995
|
|
|
7995
|
-
var _excluded$
|
|
7996
|
+
var _excluded$j = ["text"];
|
|
7996
7997
|
var CHAR_LIMIT = 100;
|
|
7997
7998
|
var useResponsiveVideo = function useResponsiveVideo(video, poster) {
|
|
7998
7999
|
var mobileVideo = video.mobile || video.desktop;
|
|
@@ -8114,7 +8115,7 @@ var PageHeadingImpact = function PageHeadingImpact(_ref4) {
|
|
|
8114
8115
|
var truncatedText = text && text.length > CHAR_LIMIT ? text.slice(0, CHAR_LIMIT).trimEnd() + "\u2026" : text;
|
|
8115
8116
|
var _ref5 = link || {},
|
|
8116
8117
|
linkText = _ref5.text,
|
|
8117
|
-
restLink = _objectWithoutPropertiesLoose(_ref5, _excluded$
|
|
8118
|
+
restLink = _objectWithoutPropertiesLoose(_ref5, _excluded$j);
|
|
8118
8119
|
var video = {
|
|
8119
8120
|
elementId: 'impact-header-video',
|
|
8120
8121
|
desktop: videoUrlDesktop,
|
|
@@ -8591,7 +8592,7 @@ var CompactHeaderBranding = function CompactHeaderBranding(_ref) {
|
|
|
8591
8592
|
return /*#__PURE__*/React__default.createElement(CompactHeaderLogoWrapper, null, renderBranding(brandingStyle, invert, brandingText, brandingLink));
|
|
8592
8593
|
};
|
|
8593
8594
|
|
|
8594
|
-
var _excluded$
|
|
8595
|
+
var _excluded$k = ["text"];
|
|
8595
8596
|
var useResponsiveVideo$1 = function useResponsiveVideo(video, poster) {
|
|
8596
8597
|
var mobileVideo = video.mobile || video.desktop;
|
|
8597
8598
|
var desktopVideo = video.desktop || video.mobile;
|
|
@@ -8696,7 +8697,7 @@ var PageHeadingCompact = function PageHeadingCompact(_ref4) {
|
|
|
8696
8697
|
showCopy = _ref4$showCopy === void 0 ? true : _ref4$showCopy;
|
|
8697
8698
|
var _ref5 = link || {},
|
|
8698
8699
|
linkText = _ref5.text,
|
|
8699
|
-
restLink = _objectWithoutPropertiesLoose(_ref5, _excluded$
|
|
8700
|
+
restLink = _objectWithoutPropertiesLoose(_ref5, _excluded$k);
|
|
8700
8701
|
// const titleSize = title && title.length > 20 ? 4 : 3;
|
|
8701
8702
|
var video = {
|
|
8702
8703
|
elementId: 'compact-header-video',
|
|
@@ -9301,7 +9302,7 @@ var HarmonicHeaderWithWrapper = /*#__PURE__*/styled(HarmonicHeader)(_templateObj
|
|
|
9301
9302
|
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);
|
|
9302
9303
|
var HarmonicSubtitleWithWrapper = /*#__PURE__*/styled(HarmonicSubtitle)(_templateObject17 || (_templateObject17 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n overflow-wrap: break-word;\n margin-bottom: 16px;\n"])));
|
|
9303
9304
|
|
|
9304
|
-
var _excluded$
|
|
9305
|
+
var _excluded$l = ["text"],
|
|
9305
9306
|
_excluded2$2 = ["text"],
|
|
9306
9307
|
_excluded3$1 = ["text"];
|
|
9307
9308
|
var _buttonTypeToButton$1;
|
|
@@ -9369,7 +9370,7 @@ var PromoWithTags = function PromoWithTags(_ref) {
|
|
|
9369
9370
|
var _ref2 = firstButton || {},
|
|
9370
9371
|
_ref2$text = _ref2.text,
|
|
9371
9372
|
firstButtonText = _ref2$text === void 0 ? '' : _ref2$text,
|
|
9372
|
-
restFirstButton = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
9373
|
+
restFirstButton = _objectWithoutPropertiesLoose(_ref2, _excluded$l);
|
|
9373
9374
|
var primaryButtonTextTruncate = truncate(firstButtonText, LENGTH_TEXT$1);
|
|
9374
9375
|
var secondButton = links == null ? void 0 : links[1];
|
|
9375
9376
|
var _ref3 = secondButton || {},
|
|
@@ -9653,7 +9654,7 @@ var PromoChild = function PromoChild(_ref) {
|
|
|
9653
9654
|
}));
|
|
9654
9655
|
};
|
|
9655
9656
|
|
|
9656
|
-
var _excluded$
|
|
9657
|
+
var _excluded$m = ["text"],
|
|
9657
9658
|
_excluded2$3 = ["text"];
|
|
9658
9659
|
var LENGTH_TEXT$3 = 28;
|
|
9659
9660
|
var PromoWithTitle = function PromoWithTitle(_ref) {
|
|
@@ -9680,7 +9681,7 @@ var PromoWithTitle = function PromoWithTitle(_ref) {
|
|
|
9680
9681
|
var _ref2 = primaryButton || {},
|
|
9681
9682
|
_ref2$text = _ref2.text,
|
|
9682
9683
|
primaryButtonText = _ref2$text === void 0 ? '' : _ref2$text,
|
|
9683
|
-
restPrimaryButton = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
9684
|
+
restPrimaryButton = _objectWithoutPropertiesLoose(_ref2, _excluded$m);
|
|
9684
9685
|
var primaryButtonTextTruncate = truncate(primaryButtonText, LENGTH_TEXT$3);
|
|
9685
9686
|
var tertiaryButton = links == null ? void 0 : links[1];
|
|
9686
9687
|
var _ref3 = tertiaryButton || {},
|
|
@@ -10379,7 +10380,7 @@ var ErrorLabel$5 = /*#__PURE__*/styled.div(_templateObject4$z || (_templateObjec
|
|
|
10379
10380
|
return "var(--color-state-error)";
|
|
10380
10381
|
});
|
|
10381
10382
|
|
|
10382
|
-
var _excluded$
|
|
10383
|
+
var _excluded$n = ["label", "error", "width", "darkMode", "isSearchable", "components", "className"];
|
|
10383
10384
|
var DropdownIndicator = function DropdownIndicator(props) {
|
|
10384
10385
|
return /*#__PURE__*/React__default.createElement(components.DropdownIndicator, Object.assign({}, props), /*#__PURE__*/React__default.createElement(Icon, {
|
|
10385
10386
|
iconName: "DropdownArrow"
|
|
@@ -10434,7 +10435,7 @@ var SelectComponent = function SelectComponent(_ref2) {
|
|
|
10434
10435
|
isSearchable = _ref2$isSearchable === void 0 ? false : _ref2$isSearchable,
|
|
10435
10436
|
components = _ref2.components,
|
|
10436
10437
|
className = _ref2.className,
|
|
10437
|
-
selectProps = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
10438
|
+
selectProps = _objectWithoutPropertiesLoose(_ref2, _excluded$n);
|
|
10438
10439
|
return /*#__PURE__*/React__default.createElement(WrapperComponent, {
|
|
10439
10440
|
label: label,
|
|
10440
10441
|
error: error,
|
|
@@ -10453,7 +10454,7 @@ var SelectComponent = function SelectComponent(_ref2) {
|
|
|
10453
10454
|
})));
|
|
10454
10455
|
};
|
|
10455
10456
|
|
|
10456
|
-
var _excluded$
|
|
10457
|
+
var _excluded$o = ["label", "error", "width", "darkMode", "components"];
|
|
10457
10458
|
/**
|
|
10458
10459
|
* The Select2Async component is similar to Select 2, but uses react-select async
|
|
10459
10460
|
* component for select instead of regular react-select component. This can be used
|
|
@@ -10475,7 +10476,7 @@ var SelectComponent$1 = function SelectComponent(_ref) {
|
|
|
10475
10476
|
_ref$darkMode = _ref.darkMode,
|
|
10476
10477
|
darkMode = _ref$darkMode === void 0 ? false : _ref$darkMode,
|
|
10477
10478
|
components = _ref.components,
|
|
10478
|
-
selectProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
10479
|
+
selectProps = _objectWithoutPropertiesLoose(_ref, _excluded$o);
|
|
10479
10480
|
return /*#__PURE__*/React__default.createElement(WrapperComponent, {
|
|
10480
10481
|
label: label,
|
|
10481
10482
|
error: error,
|
|
@@ -10612,7 +10613,7 @@ var Wrapper$7 = /*#__PURE__*/styled.figure(_templateObject$1d || (_templateObjec
|
|
|
10612
10613
|
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"])));
|
|
10613
10614
|
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"])));
|
|
10614
10615
|
|
|
10615
|
-
var _excluded$
|
|
10616
|
+
var _excluded$p = ["caption", "altText", "src", "srcSet", "sizes", "loading", "aspectRatio", "className"];
|
|
10616
10617
|
var ImageWithCaption = function ImageWithCaption(_ref) {
|
|
10617
10618
|
var caption = _ref.caption,
|
|
10618
10619
|
altText = _ref.altText,
|
|
@@ -10622,7 +10623,7 @@ var ImageWithCaption = function ImageWithCaption(_ref) {
|
|
|
10622
10623
|
loading = _ref.loading,
|
|
10623
10624
|
aspectRatio = _ref.aspectRatio,
|
|
10624
10625
|
className = _ref.className,
|
|
10625
|
-
restProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
10626
|
+
restProps = _objectWithoutPropertiesLoose(_ref, _excluded$p);
|
|
10626
10627
|
return /*#__PURE__*/React__default.createElement(Wrapper$7, Object.assign({
|
|
10627
10628
|
aspectRatio: aspectRatio,
|
|
10628
10629
|
className: className
|
|
@@ -12216,7 +12217,7 @@ var ArrowWrapper = /*#__PURE__*/styled.div(_templateObject0$9 || (_templateObjec
|
|
|
12216
12217
|
return disabled ? 'var(--color-state-disabled)' : 'var(--button-anchor-tab-color)';
|
|
12217
12218
|
});
|
|
12218
12219
|
|
|
12219
|
-
var _excluded$
|
|
12220
|
+
var _excluded$q = ["id", "text"];
|
|
12220
12221
|
var AnchorTabBar = function AnchorTabBar(_ref) {
|
|
12221
12222
|
var tabs = _ref.tabs,
|
|
12222
12223
|
onTabClick = _ref.onTabClick,
|
|
@@ -12427,7 +12428,7 @@ var AnchorTabBar = function AnchorTabBar(_ref) {
|
|
|
12427
12428
|
}, tabs.map(function (_ref4) {
|
|
12428
12429
|
var id = _ref4.id,
|
|
12429
12430
|
text = _ref4.text,
|
|
12430
|
-
rest = _objectWithoutPropertiesLoose(_ref4, _excluded$
|
|
12431
|
+
rest = _objectWithoutPropertiesLoose(_ref4, _excluded$q);
|
|
12431
12432
|
return /*#__PURE__*/React__default.createElement("li", {
|
|
12432
12433
|
key: id
|
|
12433
12434
|
}, /*#__PURE__*/React__default.createElement(TabLink, Object.assign({
|
|
@@ -12489,7 +12490,7 @@ var PrimaryButtonReverse = /*#__PURE__*/styled(PrimaryButton)(_templateObject8$g
|
|
|
12489
12490
|
var MessageWrapper$1 = /*#__PURE__*/styled.div(_templateObject9$b || (_templateObject9$b = /*#__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);
|
|
12490
12491
|
var MessageWrapperMobile = /*#__PURE__*/styled.div(_templateObject0$a || (_templateObject0$a = /*#__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);
|
|
12491
12492
|
|
|
12492
|
-
var _excluded$
|
|
12493
|
+
var _excluded$r = ["text"],
|
|
12493
12494
|
_excluded2$4 = ["text"];
|
|
12494
12495
|
var TitleWithCTA = function TitleWithCTA(_ref) {
|
|
12495
12496
|
var title = _ref.title,
|
|
@@ -12499,7 +12500,7 @@ var TitleWithCTA = function TitleWithCTA(_ref) {
|
|
|
12499
12500
|
message = _ref.message;
|
|
12500
12501
|
var _ref2 = (links == null ? void 0 : links[0]) || {},
|
|
12501
12502
|
primaryButtonText = _ref2.text,
|
|
12502
|
-
primaryButtonProps = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
12503
|
+
primaryButtonProps = _objectWithoutPropertiesLoose(_ref2, _excluded$r);
|
|
12503
12504
|
var _ref3 = (links == null ? void 0 : links[1]) || {},
|
|
12504
12505
|
secondaryButtonText = _ref3.text,
|
|
12505
12506
|
secondaryButtonProps = _objectWithoutPropertiesLoose(_ref3, _excluded2$4);
|
|
@@ -12630,7 +12631,7 @@ var CloseButton = /*#__PURE__*/styled.button(_templateObject2$19 || (_templateOb
|
|
|
12630
12631
|
var ContentWrapper$3 = /*#__PURE__*/styled.div(_templateObject3$V || (_templateObject3$V = /*#__PURE__*/_taggedTemplateLiteralLoose([""])));
|
|
12631
12632
|
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"])));
|
|
12632
12633
|
|
|
12633
|
-
var _excluded$
|
|
12634
|
+
var _excluded$s = ["isOpen", "setIsOpen", "children", "appElementId"];
|
|
12634
12635
|
var MAX_Z_INDEX = 9999999999;
|
|
12635
12636
|
if (Modal.defaultStyles.content) {
|
|
12636
12637
|
Modal.defaultStyles.content.position = 'static';
|
|
@@ -12704,7 +12705,7 @@ var ModalWindow = function ModalWindow(_ref) {
|
|
|
12704
12705
|
setIsOpen = _ref.setIsOpen,
|
|
12705
12706
|
children = _ref.children,
|
|
12706
12707
|
appElementId = _ref.appElementId,
|
|
12707
|
-
modalProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
12708
|
+
modalProps = _objectWithoutPropertiesLoose(_ref, _excluded$s);
|
|
12708
12709
|
var isMobile = useMobile();
|
|
12709
12710
|
var customStyles = {
|
|
12710
12711
|
overlay: {
|
|
@@ -13122,7 +13123,7 @@ var VideoWithControlsWrapper = /*#__PURE__*/styled.div(_templateObject15$1 || (_
|
|
|
13122
13123
|
}, devices.mobile);
|
|
13123
13124
|
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);
|
|
13124
13125
|
|
|
13125
|
-
var _excluded$
|
|
13126
|
+
var _excluded$t = ["text"],
|
|
13126
13127
|
_excluded2$5 = ["text"];
|
|
13127
13128
|
var _buttonTypeToButton$2;
|
|
13128
13129
|
var buttonTypeToButton$2 = (_buttonTypeToButton$2 = {}, _buttonTypeToButton$2[ButtonType.Primary] = PrimaryButton, _buttonTypeToButton$2[ButtonType.Secondary] = SecondaryButton, _buttonTypeToButton$2[ButtonType.Tertiary] = TertiaryButton, _buttonTypeToButton$2);
|
|
@@ -13133,7 +13134,7 @@ var Buttons = function Buttons(_ref) {
|
|
|
13133
13134
|
var _ref2 = firstButton || {},
|
|
13134
13135
|
_ref2$text = _ref2.text,
|
|
13135
13136
|
firstButtonText = _ref2$text === void 0 ? '' : _ref2$text,
|
|
13136
|
-
restFirstButton = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
13137
|
+
restFirstButton = _objectWithoutPropertiesLoose(_ref2, _excluded$t);
|
|
13137
13138
|
var secondButton = links == null ? void 0 : links[1];
|
|
13138
13139
|
var _ref3 = secondButton || {},
|
|
13139
13140
|
_ref3$text = _ref3.text,
|
|
@@ -13370,11 +13371,11 @@ var HighlightsCarousel = function HighlightsCarousel(_ref) {
|
|
|
13370
13371
|
})));
|
|
13371
13372
|
};
|
|
13372
13373
|
|
|
13373
|
-
var _excluded$
|
|
13374
|
+
var _excluded$u = ["logo", "slides"];
|
|
13374
13375
|
var HighlightsCinema = function HighlightsCinema(_ref) {
|
|
13375
13376
|
var logo = _ref.logo,
|
|
13376
13377
|
slides = _ref.slides,
|
|
13377
|
-
rest = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
13378
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded$u);
|
|
13378
13379
|
var slidesWithLinks = slides.map(function (slide) {
|
|
13379
13380
|
var links = processSlideLinks(slide.links);
|
|
13380
13381
|
return _extends({}, slide, {
|
|
@@ -13391,10 +13392,10 @@ var HighlightsCinema = function HighlightsCinema(_ref) {
|
|
|
13391
13392
|
})));
|
|
13392
13393
|
};
|
|
13393
13394
|
|
|
13394
|
-
var _excluded$
|
|
13395
|
+
var _excluded$v = ["slides"];
|
|
13395
13396
|
var HighlightsCore = function HighlightsCore(_ref) {
|
|
13396
13397
|
var slides = _ref.slides,
|
|
13397
|
-
rest = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
13398
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded$v);
|
|
13398
13399
|
var slidesWithLinks = slides.map(function (slide) {
|
|
13399
13400
|
var links = processSlideLinks(slide.links);
|
|
13400
13401
|
return _extends({}, slide, {
|
|
@@ -13408,11 +13409,11 @@ var HighlightsCore = function HighlightsCore(_ref) {
|
|
|
13408
13409
|
})));
|
|
13409
13410
|
};
|
|
13410
13411
|
|
|
13411
|
-
var _excluded$
|
|
13412
|
+
var _excluded$w = ["logo", "slides"];
|
|
13412
13413
|
var HighlightsStream = function HighlightsStream(_ref) {
|
|
13413
13414
|
var logo = _ref.logo,
|
|
13414
13415
|
slides = _ref.slides,
|
|
13415
|
-
rest = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
13416
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded$w);
|
|
13416
13417
|
var slidesWithLinks = slides.map(function (slide) {
|
|
13417
13418
|
var links = processSlideLinks(slide.links);
|
|
13418
13419
|
return _extends({}, slide, {
|