@royaloperahouse/harmonic 0.11.0-m → 0.11.0-n
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 +4 -0
- package/dist/components/Typography/Typography.d.ts +3 -3
- package/dist/components/organisms/StickyBar/StickyBar.style.d.ts +1 -1
- package/dist/harmonic.cjs.development.js +85 -60
- 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 +85 -60
- package/dist/harmonic.esm.js.map +1 -1
- package/dist/types/navigation.d.ts +12 -18
- package/dist/types/typography.d.ts +2 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
2
|
+
import { IGenericTypographyProps, IHarmonicHeaderProps, ITaggedTypographyProps } from '../../types/typography';
|
|
3
3
|
export declare const DisplayHeader: ({ children, size, em, color, serif, className }: IGenericTypographyProps) => React.JSX.Element;
|
|
4
4
|
export declare const HarmonicHeader: ({ children, size, em, color, serif, hierarchy: Tag, className, }: IHarmonicHeaderProps) => React.JSX.Element;
|
|
5
5
|
export declare const HarmonicSubtitle: ({ children, size, color, className }: IGenericTypographyProps) => React.JSX.Element;
|
|
6
|
-
export declare const BodyCopyHarmonic: ({ children, size, color, className, bold, tag: Tag, ...props }:
|
|
6
|
+
export declare const BodyCopyHarmonic: ({ children, size, color, className, bold, tag: Tag, ...props }: ITaggedTypographyProps) => React.JSX.Element;
|
|
7
7
|
export declare const HarmonicOverline: ({ children, size, color, className, ...props }: IGenericTypographyProps) => React.JSX.Element;
|
|
8
8
|
export declare const ButtonText: ({ children, color, className }: IGenericTypographyProps) => React.JSX.Element;
|
|
9
9
|
export declare const Caption: ({ children, color, className }: IGenericTypographyProps) => React.JSX.Element;
|
|
10
|
-
export declare const NavigationText: ({ children, color, className }:
|
|
10
|
+
export declare const NavigationText: ({ children, color, tag: Tag, className }: ITaggedTypographyProps) => React.JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
interface IStickyBarGridProps {
|
|
2
|
-
|
|
2
|
+
bottomBorder?: boolean;
|
|
3
3
|
}
|
|
4
4
|
export declare const StickyBarWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
5
|
export declare const StickyBarGrid: import("styled-components").StyledComponent<"div", any, IStickyBarGridProps, never>;
|
|
@@ -314,12 +314,14 @@ var NavigationText = function NavigationText(_ref8) {
|
|
|
314
314
|
var children = _ref8.children,
|
|
315
315
|
_ref8$color = _ref8.color,
|
|
316
316
|
color = _ref8$color === void 0 ? 'inherit' : _ref8$color,
|
|
317
|
+
_ref8$tag = _ref8.tag,
|
|
318
|
+
Tag = _ref8$tag === void 0 ? 'p' : _ref8$tag,
|
|
317
319
|
className = _ref8.className;
|
|
318
320
|
var classNames = createClassNames('navigationtext', {
|
|
319
321
|
color: color,
|
|
320
322
|
className: className
|
|
321
323
|
}, typographyStyles);
|
|
322
|
-
return /*#__PURE__*/React__default.createElement(
|
|
324
|
+
return /*#__PURE__*/React__default.createElement(Tag, {
|
|
323
325
|
className: classNames
|
|
324
326
|
}, children);
|
|
325
327
|
};
|
|
@@ -2784,7 +2786,9 @@ var TertiaryButton = function TertiaryButton(_ref) {
|
|
|
2784
2786
|
if (rest != null && rest.disabled) return;
|
|
2785
2787
|
rest.onClick == null || rest.onClick(e);
|
|
2786
2788
|
}, [rest.disabled, rest.onClick]);
|
|
2787
|
-
return /*#__PURE__*/React__default.createElement(TertiaryButtonWrapper, Object.assign({
|
|
2789
|
+
return /*#__PURE__*/React__default.createElement(TertiaryButtonWrapper, Object.assign({
|
|
2790
|
+
"data-testid": "tertiary-button"
|
|
2791
|
+
}, rest, {
|
|
2788
2792
|
className: className,
|
|
2789
2793
|
onClick: handleClick
|
|
2790
2794
|
}), /*#__PURE__*/React__default.createElement(ButtonText, {
|
|
@@ -3576,17 +3580,18 @@ var DEFAULT_SPONSORSHIP_IFRAME = 'https://static.roh.org.uk/rolex/v4/rolex.html?
|
|
|
3576
3580
|
var DEFAULT_SPONSORSHIP_TITLE = 'rolex';
|
|
3577
3581
|
var DEFAULT_DATA_ROH = 'ImgAdvert';
|
|
3578
3582
|
|
|
3579
|
-
|
|
3583
|
+
var _excluded$7 = ["src", "dataRoh", "title"];
|
|
3580
3584
|
var Sponsorship = function Sponsorship(_ref) {
|
|
3581
3585
|
var _ref$src = _ref.src,
|
|
3582
3586
|
src = _ref$src === void 0 ? DEFAULT_SPONSORSHIP_IFRAME : _ref$src,
|
|
3583
3587
|
_ref$dataRoh = _ref.dataRoh,
|
|
3584
3588
|
dataRoh = _ref$dataRoh === void 0 ? DEFAULT_DATA_ROH : _ref$dataRoh,
|
|
3585
3589
|
_ref$title = _ref.title,
|
|
3586
|
-
title = _ref$title === void 0 ? DEFAULT_SPONSORSHIP_TITLE : _ref$title
|
|
3590
|
+
title = _ref$title === void 0 ? DEFAULT_SPONSORSHIP_TITLE : _ref$title,
|
|
3591
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded$7);
|
|
3587
3592
|
var linkText = title + " sponsorship";
|
|
3588
3593
|
var linkDescription = linkText + " - visit " + title + "'s website (opens in new tab)";
|
|
3589
|
-
return /*#__PURE__*/React__default.createElement(SponsorshipWrapper,
|
|
3594
|
+
return /*#__PURE__*/React__default.createElement(SponsorshipWrapper, Object.assign({}, rest), /*#__PURE__*/React__default.createElement(SponsorshipLink, {
|
|
3590
3595
|
href: "https://www.rolex.com",
|
|
3591
3596
|
target: "_blank",
|
|
3592
3597
|
rel: "noopener noreferrer",
|
|
@@ -3728,7 +3733,7 @@ var TabLinkWrapper = /*#__PURE__*/styled__default.a(_templateObject$l || (_templ
|
|
|
3728
3733
|
});
|
|
3729
3734
|
var TabLinkIconWrapper = /*#__PURE__*/styled__default.span(_templateObject2$d || (_templateObject2$d = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n width: var(--button-icon-width);\n height: var(--button-icon-height);\n margin-right: var(--button-icon-margin);\n"])));
|
|
3730
3735
|
|
|
3731
|
-
var _excluded$
|
|
3736
|
+
var _excluded$8 = ["children", "iconName", "iconDirection", "color", "hoverColor", "className"];
|
|
3732
3737
|
var TabLink = function TabLink(_ref) {
|
|
3733
3738
|
var children = _ref.children,
|
|
3734
3739
|
iconName = _ref.iconName,
|
|
@@ -3738,7 +3743,7 @@ var TabLink = function TabLink(_ref) {
|
|
|
3738
3743
|
_ref$hoverColor = _ref.hoverColor,
|
|
3739
3744
|
hoverColor = _ref$hoverColor === void 0 ? ThemeColor['primary-red'] : _ref$hoverColor,
|
|
3740
3745
|
className = _ref.className,
|
|
3741
|
-
rest = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
3746
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded$8);
|
|
3742
3747
|
return /*#__PURE__*/React__default.createElement(TabLinkWrapper, Object.assign({
|
|
3743
3748
|
color: color,
|
|
3744
3749
|
iconName: iconName,
|
|
@@ -3788,7 +3793,7 @@ var TextAreaError = /*#__PURE__*/styled__default.div(_templateObject4$4 || (_tem
|
|
|
3788
3793
|
return darkMode ? 'var(--base-color-white)' : 'var(--base-color-errorstate)';
|
|
3789
3794
|
});
|
|
3790
3795
|
|
|
3791
|
-
var _excluded$
|
|
3796
|
+
var _excluded$9 = ["label", "error", "width", "darkMode", "height", "columnStartDesktop", "columnStartDevice", "columnSpanDesktop", "columnSpanDevice", "maxLength", "tabIndex"];
|
|
3792
3797
|
/**
|
|
3793
3798
|
* An HTML textarea component for Harmonic.
|
|
3794
3799
|
*
|
|
@@ -3849,7 +3854,7 @@ var TextArea = function TextArea(_ref) {
|
|
|
3849
3854
|
maxLength = _ref$maxLength === void 0 ? 950 : _ref$maxLength,
|
|
3850
3855
|
_ref$tabIndex = _ref.tabIndex,
|
|
3851
3856
|
tabIndex = _ref$tabIndex === void 0 ? 0 : _ref$tabIndex,
|
|
3852
|
-
textareaProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
3857
|
+
textareaProps = _objectWithoutPropertiesLoose(_ref, _excluded$9);
|
|
3853
3858
|
return /*#__PURE__*/React__default.createElement(GridItem, {
|
|
3854
3859
|
columnStartDesktop: columnStartDesktop,
|
|
3855
3860
|
columnSpanDesktop: columnSpanDesktop,
|
|
@@ -3909,7 +3914,7 @@ var ErrorLabel$1 = /*#__PURE__*/styled__default.div(_templateObject6$1 || (_temp
|
|
|
3909
3914
|
});
|
|
3910
3915
|
var BodyCopyHarmonicWithWrapper = /*#__PURE__*/styled__default(BodyCopyHarmonic)(_templateObject7 || (_templateObject7 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n color: var(--color-state-error);\n"])));
|
|
3911
3916
|
|
|
3912
|
-
var _excluded$
|
|
3917
|
+
var _excluded$a = ["label", "type", "error", "darkMode", "width"];
|
|
3913
3918
|
/**
|
|
3914
3919
|
* A text field component, that wraps around the native `<input />` element
|
|
3915
3920
|
* and adds some extra states and information around it (i.e. a text and an error labels,
|
|
@@ -3956,7 +3961,7 @@ var TextFieldComponent = function TextFieldComponent(_ref, ref) {
|
|
|
3956
3961
|
_ref$darkMode = _ref.darkMode,
|
|
3957
3962
|
darkMode = _ref$darkMode === void 0 ? false : _ref$darkMode,
|
|
3958
3963
|
width = _ref.width,
|
|
3959
|
-
inputProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
3964
|
+
inputProps = _objectWithoutPropertiesLoose(_ref, _excluded$a);
|
|
3960
3965
|
var _useState = React.useState(false),
|
|
3961
3966
|
showPassword = _useState[0],
|
|
3962
3967
|
setShowPassword = _useState[1];
|
|
@@ -4054,7 +4059,7 @@ var ErrorLabel$2 = /*#__PURE__*/styled__default.p(_templateObject5$3 || (_templa
|
|
|
4054
4059
|
return darkMode ? theme.colors.white : theme.colors.error;
|
|
4055
4060
|
});
|
|
4056
4061
|
|
|
4057
|
-
var _excluded$
|
|
4062
|
+
var _excluded$b = ["label", "error", "darkMode", "width"];
|
|
4058
4063
|
/**
|
|
4059
4064
|
* @deprecated
|
|
4060
4065
|
*
|
|
@@ -4068,7 +4073,7 @@ var TextFieldLegacy = function TextFieldLegacy(_ref) {
|
|
|
4068
4073
|
_ref$darkMode = _ref.darkMode,
|
|
4069
4074
|
darkMode = _ref$darkMode === void 0 ? false : _ref$darkMode,
|
|
4070
4075
|
width = _ref.width,
|
|
4071
|
-
inputProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
4076
|
+
inputProps = _objectWithoutPropertiesLoose(_ref, _excluded$b);
|
|
4072
4077
|
return /*#__PURE__*/React__default.createElement(TextFieldContainer, null, /*#__PURE__*/React__default.createElement("label", {
|
|
4073
4078
|
htmlFor: "text-field-input"
|
|
4074
4079
|
}, /*#__PURE__*/React__default.createElement(TextLabel$2, {
|
|
@@ -4097,13 +4102,13 @@ var TextLinkWrapper = /*#__PURE__*/styled__default.a(_templateObject$p || (_temp
|
|
|
4097
4102
|
}, devices.mobile);
|
|
4098
4103
|
var TextLinkIconWrapper = /*#__PURE__*/styled__default.span(_templateObject2$h || (_templateObject2$h = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n width: var(--button-icon-width);\n height: var(--button-icon-height);\n margin-left: var(--button-icon-margin);\n"])));
|
|
4099
4104
|
|
|
4100
|
-
var _excluded$
|
|
4105
|
+
var _excluded$c = ["children", "iconName", "iconDirection", "textColor"];
|
|
4101
4106
|
var TextLink = function TextLink(_ref) {
|
|
4102
4107
|
var children = _ref.children,
|
|
4103
4108
|
iconName = _ref.iconName,
|
|
4104
4109
|
iconDirection = _ref.iconDirection,
|
|
4105
4110
|
textColor = _ref.textColor,
|
|
4106
|
-
rest = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
4111
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded$c);
|
|
4107
4112
|
var truncatedString = children.substring(0, 30);
|
|
4108
4113
|
return /*#__PURE__*/React__default.createElement(TextLinkWrapper, Object.assign({
|
|
4109
4114
|
color: textColor,
|
|
@@ -4296,7 +4301,7 @@ var ErrorLabel$3 = /*#__PURE__*/styled__default.div(_templateObject6$2 || (_temp
|
|
|
4296
4301
|
return 'var(--base-color-errorstate)';
|
|
4297
4302
|
});
|
|
4298
4303
|
|
|
4299
|
-
var _excluded$
|
|
4304
|
+
var _excluded$d = ["children", "disabled", "error", "darkMode", "blackBox"];
|
|
4300
4305
|
/**
|
|
4301
4306
|
* A Tickbox component, that wraps around the native `<input type="checkbox"/>` element
|
|
4302
4307
|
* and adds some extra styling, states and information around it (i.e. an error label,
|
|
@@ -4325,7 +4330,7 @@ var Tickbox2Component = function Tickbox2Component(_ref, ref) {
|
|
|
4325
4330
|
darkMode = _ref$darkMode === void 0 ? false : _ref$darkMode,
|
|
4326
4331
|
_ref$blackBox = _ref.blackBox,
|
|
4327
4332
|
blackBox = _ref$blackBox === void 0 ? false : _ref$blackBox,
|
|
4328
|
-
inputProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
4333
|
+
inputProps = _objectWithoutPropertiesLoose(_ref, _excluded$d);
|
|
4329
4334
|
return /*#__PURE__*/React__default.createElement(Container$2, null, /*#__PURE__*/React__default.createElement(TickboxLabel$2, {
|
|
4330
4335
|
darkMode: darkMode,
|
|
4331
4336
|
blackBox: blackBox
|
|
@@ -6097,7 +6102,7 @@ var HarmonicThemeProvider = function HarmonicThemeProvider(_ref) {
|
|
|
6097
6102
|
}, themedChildren.length === 1 ? themedChildren[0] : /*#__PURE__*/React__default.createElement(React__default.Fragment, null, themedChildren));
|
|
6098
6103
|
};
|
|
6099
6104
|
|
|
6100
|
-
var _excluded$
|
|
6105
|
+
var _excluded$e = ["id", "text"];
|
|
6101
6106
|
var AnchorTabBar = function AnchorTabBar(_ref) {
|
|
6102
6107
|
var tabs = _ref.tabs,
|
|
6103
6108
|
onTabClick = _ref.onTabClick,
|
|
@@ -6107,6 +6112,8 @@ var AnchorTabBar = function AnchorTabBar(_ref) {
|
|
|
6107
6112
|
bottomBorder = _ref$bottomBorder === void 0 ? false : _ref$bottomBorder,
|
|
6108
6113
|
_ref$withShadow = _ref.withShadow,
|
|
6109
6114
|
withShadow = _ref$withShadow === void 0 ? false : _ref$withShadow,
|
|
6115
|
+
_ref$offsetHeight = _ref.offsetHeight,
|
|
6116
|
+
offsetHeight = _ref$offsetHeight === void 0 ? 0 : _ref$offsetHeight,
|
|
6110
6117
|
className = _ref.className;
|
|
6111
6118
|
var tabListRef = React.useRef(null);
|
|
6112
6119
|
var wrapperRef = React.useRef(null);
|
|
@@ -6127,12 +6134,27 @@ var AnchorTabBar = function AnchorTabBar(_ref) {
|
|
|
6127
6134
|
var isSelectedItem = function isSelectedItem(id) {
|
|
6128
6135
|
return id === selectedItem;
|
|
6129
6136
|
};
|
|
6130
|
-
var
|
|
6137
|
+
var onClickTab = function onClickTab(e, id) {
|
|
6138
|
+
e.preventDefault();
|
|
6131
6139
|
if (onTabClick) {
|
|
6132
6140
|
onTabClick(e, id);
|
|
6133
6141
|
}
|
|
6134
6142
|
setSelectedItem(id);
|
|
6135
6143
|
};
|
|
6144
|
+
React.useEffect(function () {
|
|
6145
|
+
if (!selectedItem) return;
|
|
6146
|
+
var targetSectionElement = document.getElementById(selectedItem);
|
|
6147
|
+
if (targetSectionElement) {
|
|
6148
|
+
var sectionTop = targetSectionElement.getBoundingClientRect().top;
|
|
6149
|
+
var scrollPosition = window.scrollY + sectionTop - offsetHeight;
|
|
6150
|
+
// Instant scroll
|
|
6151
|
+
window.scrollTo(0, scrollPosition);
|
|
6152
|
+
}
|
|
6153
|
+
var clickedTab = document.getElementById("tablink-" + selectedItem);
|
|
6154
|
+
if (clickedTab) {
|
|
6155
|
+
clickedTab.focus();
|
|
6156
|
+
}
|
|
6157
|
+
}, [selectedItem, offsetHeight]);
|
|
6136
6158
|
var getScrollWidth = function getScrollWidth() {
|
|
6137
6159
|
var width = 0;
|
|
6138
6160
|
var selectedItemIndex = tabs.findIndex(function (el) {
|
|
@@ -6304,7 +6326,7 @@ var AnchorTabBar = function AnchorTabBar(_ref) {
|
|
|
6304
6326
|
}, tabs.map(function (_ref4) {
|
|
6305
6327
|
var id = _ref4.id,
|
|
6306
6328
|
text = _ref4.text,
|
|
6307
|
-
rest = _objectWithoutPropertiesLoose(_ref4, _excluded$
|
|
6329
|
+
rest = _objectWithoutPropertiesLoose(_ref4, _excluded$e);
|
|
6308
6330
|
return /*#__PURE__*/React__default.createElement("li", {
|
|
6309
6331
|
key: id
|
|
6310
6332
|
}, /*#__PURE__*/React__default.createElement(TabLink, Object.assign({
|
|
@@ -6312,7 +6334,7 @@ var AnchorTabBar = function AnchorTabBar(_ref) {
|
|
|
6312
6334
|
className: "anchor-tab-bar-tablink",
|
|
6313
6335
|
id: "tablink-" + id,
|
|
6314
6336
|
onClick: function onClick(e) {
|
|
6315
|
-
return
|
|
6337
|
+
return onClickTab(e, id);
|
|
6316
6338
|
},
|
|
6317
6339
|
tabIndex: 0,
|
|
6318
6340
|
hoverColor: theme === exports.ThemeType.Core ? ThemeColor['primary-red'] : ThemeColor['primary-black']
|
|
@@ -6366,7 +6388,7 @@ var PrimaryButtonReverse = /*#__PURE__*/styled__default(PrimaryButton)(_template
|
|
|
6366
6388
|
var MessageWrapper = /*#__PURE__*/styled__default.div(_templateObject9$3 || (_templateObject9$3 = /*#__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);
|
|
6367
6389
|
var MessageWrapperMobile = /*#__PURE__*/styled__default.div(_templateObject0$3 || (_templateObject0$3 = /*#__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);
|
|
6368
6390
|
|
|
6369
|
-
var _excluded$
|
|
6391
|
+
var _excluded$f = ["text"],
|
|
6370
6392
|
_excluded2$1 = ["text"];
|
|
6371
6393
|
var TitleWithCTA = function TitleWithCTA(_ref) {
|
|
6372
6394
|
var title = _ref.title,
|
|
@@ -6376,7 +6398,7 @@ var TitleWithCTA = function TitleWithCTA(_ref) {
|
|
|
6376
6398
|
message = _ref.message;
|
|
6377
6399
|
var _ref2 = (links == null ? void 0 : links[0]) || {},
|
|
6378
6400
|
primaryButtonText = _ref2.text,
|
|
6379
|
-
primaryButtonProps = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
6401
|
+
primaryButtonProps = _objectWithoutPropertiesLoose(_ref2, _excluded$f);
|
|
6380
6402
|
var _ref3 = (links == null ? void 0 : links[1]) || {},
|
|
6381
6403
|
secondaryButtonText = _ref3.text,
|
|
6382
6404
|
secondaryButtonProps = _objectWithoutPropertiesLoose(_ref3, _excluded2$1);
|
|
@@ -7158,10 +7180,10 @@ var UpsellSection = function UpsellSection(_ref) {
|
|
|
7158
7180
|
};
|
|
7159
7181
|
|
|
7160
7182
|
var _templateObject$L, _templateObject2$y;
|
|
7161
|
-
var StickyBarWrapper = /*#__PURE__*/styled__default.div(_templateObject$L || (_templateObject$L = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n top: 0;\n position: sticky;\n z-index: ", ";\n background-color: var(--base-
|
|
7183
|
+
var StickyBarWrapper = /*#__PURE__*/styled__default.div(_templateObject$L || (_templateObject$L = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n top: 0;\n position: sticky;\n z-index: ", ";\n background-color: var(--color-base-white);\n"])), zIndexes.anchor);
|
|
7162
7184
|
var StickyBarGrid = /*#__PURE__*/styled__default(Grid)(_templateObject2$y || (_templateObject2$y = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n ", "\n padding: 28px 0 26px;\n\n @media ", " {\n padding: 24px 0 28px;\n }\n\n @media ", " {\n border-bottom: none;\n }\n"])), function (_ref) {
|
|
7163
|
-
var
|
|
7164
|
-
return
|
|
7185
|
+
var bottomBorder = _ref.bottomBorder;
|
|
7186
|
+
return bottomBorder && 'border-bottom: 1px solid var(--color-base-light-grey);';
|
|
7165
7187
|
}, devices.mobileAndTablet, devices.mobile);
|
|
7166
7188
|
|
|
7167
7189
|
var StickyBar = function StickyBar(_ref) {
|
|
@@ -7173,12 +7195,15 @@ var StickyBar = function StickyBar(_ref) {
|
|
|
7173
7195
|
columnStartDevice = _ref$columnStartDevic === void 0 ? 2 : _ref$columnStartDevic,
|
|
7174
7196
|
_ref$columnSpanDevice = _ref.columnSpanDevice,
|
|
7175
7197
|
columnSpanDevice = _ref$columnSpanDevice === void 0 ? 12 : _ref$columnSpanDevice,
|
|
7176
|
-
|
|
7177
|
-
|
|
7198
|
+
_ref$bottomBorder = _ref.bottomBorder,
|
|
7199
|
+
bottomBorder = _ref$bottomBorder === void 0 ? true : _ref$bottomBorder,
|
|
7200
|
+
children = _ref.children,
|
|
7201
|
+
className = _ref.className;
|
|
7178
7202
|
return /*#__PURE__*/React__default.createElement(StickyBarWrapper, {
|
|
7179
|
-
"data-testid": "sticky-bar-block"
|
|
7203
|
+
"data-testid": "sticky-bar-block",
|
|
7204
|
+
className: className
|
|
7180
7205
|
}, /*#__PURE__*/React__default.createElement(StickyBarGrid, {
|
|
7181
|
-
|
|
7206
|
+
bottomBorder: bottomBorder
|
|
7182
7207
|
}, /*#__PURE__*/React__default.createElement(GridItem, {
|
|
7183
7208
|
columnStartDesktop: columnStartDesktop,
|
|
7184
7209
|
columnSpanDesktop: columnSpanDesktop,
|
|
@@ -7193,7 +7218,7 @@ var CloseButton = /*#__PURE__*/styled__default.button(_templateObject2$z || (_te
|
|
|
7193
7218
|
var ContentWrapper = /*#__PURE__*/styled__default.div(_templateObject3$o || (_templateObject3$o = /*#__PURE__*/_taggedTemplateLiteralLoose([""])));
|
|
7194
7219
|
var Overlay = /*#__PURE__*/styled__default(Grid)(_templateObject4$j || (_templateObject4$j = /*#__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"])));
|
|
7195
7220
|
|
|
7196
|
-
var _excluded$
|
|
7221
|
+
var _excluded$g = ["isOpen", "setIsOpen", "children", "appElementId"];
|
|
7197
7222
|
var MAX_Z_INDEX = 9999999999;
|
|
7198
7223
|
if (Modal.defaultStyles.content) {
|
|
7199
7224
|
Modal.defaultStyles.content.position = 'static';
|
|
@@ -7267,7 +7292,7 @@ var ModalWindow = function ModalWindow(_ref) {
|
|
|
7267
7292
|
setIsOpen = _ref.setIsOpen,
|
|
7268
7293
|
children = _ref.children,
|
|
7269
7294
|
appElementId = _ref.appElementId,
|
|
7270
|
-
modalProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
7295
|
+
modalProps = _objectWithoutPropertiesLoose(_ref, _excluded$g);
|
|
7271
7296
|
var isMobile = useMobile();
|
|
7272
7297
|
var customStyles = {
|
|
7273
7298
|
overlay: {
|
|
@@ -7461,7 +7486,7 @@ var getMovedSlides = function getMovedSlides(delta, slideWidths) {
|
|
|
7461
7486
|
return movedSlides;
|
|
7462
7487
|
};
|
|
7463
7488
|
|
|
7464
|
-
var _excluded$
|
|
7489
|
+
var _excluded$h = ["children", "infinite", "onIndexChange", "slidesOffsetBefore", "slidesAriaHidden", "onActiveChange"];
|
|
7465
7490
|
var MAX_CLONES_NUMBER = 6;
|
|
7466
7491
|
var CLICK_DRAG_THRESHOLD = 10;
|
|
7467
7492
|
var getClonesCount = function getClonesCount(infinite, childrenLength) {
|
|
@@ -7486,7 +7511,7 @@ var Swipe = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
7486
7511
|
_ref$slidesAriaHidden = _ref.slidesAriaHidden,
|
|
7487
7512
|
slidesAriaHidden = _ref$slidesAriaHidden === void 0 ? false : _ref$slidesAriaHidden,
|
|
7488
7513
|
onActiveChange = _ref.onActiveChange,
|
|
7489
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
7514
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$h);
|
|
7490
7515
|
var containerRef = React.useRef(null);
|
|
7491
7516
|
var childRefs = React.useRef([]);
|
|
7492
7517
|
var startX = React.useRef(0);
|
|
@@ -7882,18 +7907,18 @@ var getBackgroundColor$1 = function getBackgroundColor(_ref2) {
|
|
|
7882
7907
|
var _templateObject$Q;
|
|
7883
7908
|
var AuxiliaryButtonWrapper = /*#__PURE__*/styled__default(Button)(_templateObject$Q || (_templateObject$Q = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n background-color: ", ";\n height: 20px;\n border: none;\n padding: 0;\n color: ", ";\n width: fit-content;\n display: flex;\n align-items: flex-start;\n justify-content: center;\n cursor: pointer;\n text-decoration: none;\n box-sizing: border-box;\n\n && span svg * {\n fill: ", ";\n }\n\n .auxiliaryButtonIcon {\n width: 12px;\n display: flex;\n flex-direction: column;\n justify-content: center;\n }\n"])), getBackgroundColor$1, getTextColor$3, getTextColor$3);
|
|
7884
7909
|
|
|
7885
|
-
var _excluded$
|
|
7910
|
+
var _excluded$i = ["children", "className"];
|
|
7886
7911
|
var AuxiliaryButton = function AuxiliaryButton(_ref) {
|
|
7887
7912
|
var children = _ref.children,
|
|
7888
7913
|
className = _ref.className,
|
|
7889
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
7914
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$i);
|
|
7890
7915
|
return /*#__PURE__*/React__default.createElement(AuxiliaryButtonWrapper, Object.assign({}, props, {
|
|
7891
7916
|
iconClassName: "auxiliaryButtonIcon",
|
|
7892
7917
|
className: className
|
|
7893
7918
|
}), children);
|
|
7894
7919
|
};
|
|
7895
7920
|
|
|
7896
|
-
var _excluded$
|
|
7921
|
+
var _excluded$j = ["text"],
|
|
7897
7922
|
_excluded2$2 = ["text"];
|
|
7898
7923
|
var _buttonTypeToButton;
|
|
7899
7924
|
var buttonTypeToButton = (_buttonTypeToButton = {}, _buttonTypeToButton[exports.ButtonType.Primary] = PrimaryButton, _buttonTypeToButton[exports.ButtonType.Secondary] = SecondaryButton, _buttonTypeToButton[exports.ButtonType.Tertiary] = TertiaryButton, _buttonTypeToButton);
|
|
@@ -7904,7 +7929,7 @@ var Buttons = function Buttons(_ref) {
|
|
|
7904
7929
|
var _ref2 = firstButton || {},
|
|
7905
7930
|
_ref2$text = _ref2.text,
|
|
7906
7931
|
firstButtonText = _ref2$text === void 0 ? '' : _ref2$text,
|
|
7907
|
-
restFirstButton = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
7932
|
+
restFirstButton = _objectWithoutPropertiesLoose(_ref2, _excluded$j);
|
|
7908
7933
|
var secondButton = links == null ? void 0 : links[1];
|
|
7909
7934
|
var _ref3 = secondButton || {},
|
|
7910
7935
|
_ref3$text = _ref3.text,
|
|
@@ -8328,7 +8353,7 @@ var ButtonsContainer$1 = /*#__PURE__*/styled__default.div(_templateObject12$2 ||
|
|
|
8328
8353
|
return '';
|
|
8329
8354
|
});
|
|
8330
8355
|
|
|
8331
|
-
var _excluded$
|
|
8356
|
+
var _excluded$k = ["text"],
|
|
8332
8357
|
_excluded2$3 = ["text"];
|
|
8333
8358
|
var _buttonTypeToButton$1;
|
|
8334
8359
|
var LENGTH_LARGE_TEXT$1 = 28;
|
|
@@ -8378,7 +8403,7 @@ var Card = function Card(_ref) {
|
|
|
8378
8403
|
var _ref2 = firstButton || {},
|
|
8379
8404
|
_ref2$text = _ref2.text,
|
|
8380
8405
|
firstButtonText = _ref2$text === void 0 ? '' : _ref2$text,
|
|
8381
|
-
restFirstButton = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
8406
|
+
restFirstButton = _objectWithoutPropertiesLoose(_ref2, _excluded$k);
|
|
8382
8407
|
var primaryButtonTextTruncate = size === 'small' ? truncate(firstButtonText, LENGTH_SMALL_TEXT$2) : truncate(firstButtonText, LENGTH_LARGE_TEXT$1);
|
|
8383
8408
|
var secondButton = links == null ? void 0 : links[1];
|
|
8384
8409
|
var _ref3 = secondButton || {},
|
|
@@ -8723,7 +8748,7 @@ var HotFiltersWrapper = /*#__PURE__*/styled__default.div(_templateObject$Z || (_
|
|
|
8723
8748
|
var HotFilterOptionsWrapper = /*#__PURE__*/styled__default.div(_templateObject2$K || (_templateObject2$K = /*#__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);
|
|
8724
8749
|
var StyledHotFiltersButton = /*#__PURE__*/styled__default(PrimaryButton)(_templateObject3$x || (_templateObject3$x = /*#__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"])));
|
|
8725
8750
|
|
|
8726
|
-
var _excluded$
|
|
8751
|
+
var _excluded$l = ["text", "onClick"];
|
|
8727
8752
|
var HotFilters = function HotFilters(_ref) {
|
|
8728
8753
|
var items = _ref.items,
|
|
8729
8754
|
className = _ref.className,
|
|
@@ -8739,7 +8764,7 @@ var HotFilters = function HotFilters(_ref) {
|
|
|
8739
8764
|
}, /*#__PURE__*/React__default.createElement(HotFilterOptionsWrapper, null, items.map(function (item, index) {
|
|
8740
8765
|
var text = item.text,
|
|
8741
8766
|
_onClick = item.onClick,
|
|
8742
|
-
rest = _objectWithoutPropertiesLoose(item, _excluded$
|
|
8767
|
+
rest = _objectWithoutPropertiesLoose(item, _excluded$l);
|
|
8743
8768
|
var isSelected = index === selectedIndex;
|
|
8744
8769
|
return /*#__PURE__*/React__default.createElement(StyledHotFiltersButton, Object.assign({
|
|
8745
8770
|
key: index,
|
|
@@ -9068,7 +9093,7 @@ var TextWrapper$1 = /*#__PURE__*/styled__default.div(_templateObject6$i || (_tem
|
|
|
9068
9093
|
var ButtonWrapper$2 = /*#__PURE__*/styled__default.div(_templateObject7$d || (_templateObject7$d = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n grid-area: button;\n align-self: end;\n display: flex;\n justify-content: center;\n margin-top: 40px;\n\n @media ", " {\n & {\n margin-top: 0px;\n margin-bottom: 20px;\n }\n }\n"])), devices.mobile);
|
|
9069
9094
|
var ScrollDownWrapper = /*#__PURE__*/styled__default.div(_templateObject8$a || (_templateObject8$a = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: absolute;\n bottom: 20px;\n left: var(--grid-outer-margin);\n width: fit-content;\n z-index: ", ";\n\n @keyframes UpDown {\n 0%,\n 100% {\n transform: translateY(0);\n }\n 50% {\n transform: translateY(8px);\n }\n }\n\n a {\n font-size: var(--font-size-overline-1);\n font-weight: var(--font-weight-overline-1);\n letter-spacing: var(--letter-spacing-overline-1);\n border: none;\n padding: 0;\n :hover {\n border: none;\n\n > span {\n animation: UpDown 1500ms linear infinite;\n }\n }\n }\n\n @media ", " {\n & {\n display: none;\n }\n }\n\n @media ", " {\n & {\n display: none;\n }\n }\n"])), zIndexes.contentOverlay, devices.mobile, devices.tablet);
|
|
9070
9095
|
|
|
9071
|
-
var _excluded$
|
|
9096
|
+
var _excluded$m = ["text"];
|
|
9072
9097
|
var PageHeadingImpact = function PageHeadingImpact(_ref) {
|
|
9073
9098
|
var children = _ref.children,
|
|
9074
9099
|
text = _ref.text,
|
|
@@ -9086,7 +9111,7 @@ var PageHeadingImpact = function PageHeadingImpact(_ref) {
|
|
|
9086
9111
|
var truncatedText = text == null ? void 0 : text.substring(0, 75);
|
|
9087
9112
|
var _ref2 = link || {},
|
|
9088
9113
|
linkText = _ref2.text,
|
|
9089
|
-
restLink = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
9114
|
+
restLink = _objectWithoutPropertiesLoose(_ref2, _excluded$m);
|
|
9090
9115
|
return /*#__PURE__*/React__default.createElement(ImpactWrapper, {
|
|
9091
9116
|
bgUrlDesktop: bgUrlDesktop,
|
|
9092
9117
|
bgUrlDevice: bgUrlDevice,
|
|
@@ -9500,7 +9525,7 @@ var CompactHeaderBranding = function CompactHeaderBranding(_ref) {
|
|
|
9500
9525
|
return /*#__PURE__*/React__default.createElement(CompactHeaderLogoWrapper, null, renderBranding(brandingStyle, invert, brandingText, brandingLink));
|
|
9501
9526
|
};
|
|
9502
9527
|
|
|
9503
|
-
var _excluded$
|
|
9528
|
+
var _excluded$n = ["text"];
|
|
9504
9529
|
var useResponsiveVideo = function useResponsiveVideo(video, poster) {
|
|
9505
9530
|
var mobileVideo = video.mobile || video.desktop;
|
|
9506
9531
|
var desktopVideo = video.desktop || video.mobile;
|
|
@@ -9605,7 +9630,7 @@ var PageHeadingCompact = function PageHeadingCompact(_ref4) {
|
|
|
9605
9630
|
showCopy = _ref4$showCopy === void 0 ? true : _ref4$showCopy;
|
|
9606
9631
|
var _ref5 = link || {},
|
|
9607
9632
|
linkText = _ref5.text,
|
|
9608
|
-
restLink = _objectWithoutPropertiesLoose(_ref5, _excluded$
|
|
9633
|
+
restLink = _objectWithoutPropertiesLoose(_ref5, _excluded$n);
|
|
9609
9634
|
// const titleSize = title && title.length > 20 ? 4 : 3;
|
|
9610
9635
|
var video = {
|
|
9611
9636
|
elementId: 'compact-header-video',
|
|
@@ -10069,7 +10094,7 @@ var HarmonicHeaderWithWrapper = /*#__PURE__*/styled__default(HarmonicHeader)(_te
|
|
|
10069
10094
|
var BodyCopyHarmonicWithWrapper$1 = /*#__PURE__*/styled__default(BodyCopyHarmonic)(_templateObject15$1 || (_templateObject15$1 = /*#__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);
|
|
10070
10095
|
var HarmonicSubtitleWithWrapper = /*#__PURE__*/styled__default(HarmonicSubtitle)(_templateObject16 || (_templateObject16 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n overflow-wrap: break-word;\n margin-bottom: 16px;\n"])));
|
|
10071
10096
|
|
|
10072
|
-
var _excluded$
|
|
10097
|
+
var _excluded$o = ["text"],
|
|
10073
10098
|
_excluded2$4 = ["text"],
|
|
10074
10099
|
_excluded3 = ["text"];
|
|
10075
10100
|
var _buttonTypeToButton$2;
|
|
@@ -10130,7 +10155,7 @@ var PromoWithTags = function PromoWithTags(_ref) {
|
|
|
10130
10155
|
var _ref2 = firstButton || {},
|
|
10131
10156
|
_ref2$text = _ref2.text,
|
|
10132
10157
|
firstButtonText = _ref2$text === void 0 ? '' : _ref2$text,
|
|
10133
|
-
restFirstButton = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
10158
|
+
restFirstButton = _objectWithoutPropertiesLoose(_ref2, _excluded$o);
|
|
10134
10159
|
var primaryButtonTextTruncate = truncate(firstButtonText, LENGTH_TEXT$1);
|
|
10135
10160
|
var secondButton = links == null ? void 0 : links[1];
|
|
10136
10161
|
var _ref3 = secondButton || {},
|
|
@@ -10405,7 +10430,7 @@ var PromoChild = function PromoChild(_ref) {
|
|
|
10405
10430
|
}));
|
|
10406
10431
|
};
|
|
10407
10432
|
|
|
10408
|
-
var _excluded$
|
|
10433
|
+
var _excluded$p = ["text"],
|
|
10409
10434
|
_excluded2$5 = ["text"];
|
|
10410
10435
|
var LENGTH_TEXT$3 = 28;
|
|
10411
10436
|
var PromoWithTitle = function PromoWithTitle(_ref) {
|
|
@@ -10432,7 +10457,7 @@ var PromoWithTitle = function PromoWithTitle(_ref) {
|
|
|
10432
10457
|
var _ref2 = primaryButton || {},
|
|
10433
10458
|
_ref2$text = _ref2.text,
|
|
10434
10459
|
primaryButtonText = _ref2$text === void 0 ? '' : _ref2$text,
|
|
10435
|
-
restPrimaryButton = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
10460
|
+
restPrimaryButton = _objectWithoutPropertiesLoose(_ref2, _excluded$p);
|
|
10436
10461
|
var primaryButtonTextTruncate = truncate(primaryButtonText, LENGTH_TEXT$3);
|
|
10437
10462
|
var tertiaryButton = links == null ? void 0 : links[1];
|
|
10438
10463
|
var _ref3 = tertiaryButton || {},
|
|
@@ -11131,7 +11156,7 @@ var ErrorLabel$5 = /*#__PURE__*/styled__default.div(_templateObject4$C || (_temp
|
|
|
11131
11156
|
return "var(--base-color-errorstate)";
|
|
11132
11157
|
});
|
|
11133
11158
|
|
|
11134
|
-
var _excluded$
|
|
11159
|
+
var _excluded$q = ["label", "error", "width", "darkMode", "isSearchable", "components"];
|
|
11135
11160
|
var DropdownIndicator = function DropdownIndicator(props) {
|
|
11136
11161
|
return /*#__PURE__*/React__default.createElement(Select$1.components.DropdownIndicator, Object.assign({}, props), /*#__PURE__*/React__default.createElement(Icon, {
|
|
11137
11162
|
iconName: "DropdownArrow"
|
|
@@ -11182,7 +11207,7 @@ var SelectComponent = function SelectComponent(_ref2) {
|
|
|
11182
11207
|
_ref2$isSearchable = _ref2.isSearchable,
|
|
11183
11208
|
isSearchable = _ref2$isSearchable === void 0 ? false : _ref2$isSearchable,
|
|
11184
11209
|
components = _ref2.components,
|
|
11185
|
-
selectProps = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
11210
|
+
selectProps = _objectWithoutPropertiesLoose(_ref2, _excluded$q);
|
|
11186
11211
|
return /*#__PURE__*/React__default.createElement(WrapperComponent, {
|
|
11187
11212
|
label: label,
|
|
11188
11213
|
error: error,
|
|
@@ -11200,7 +11225,7 @@ var SelectComponent = function SelectComponent(_ref2) {
|
|
|
11200
11225
|
})));
|
|
11201
11226
|
};
|
|
11202
11227
|
|
|
11203
|
-
var _excluded$
|
|
11228
|
+
var _excluded$r = ["label", "error", "width", "darkMode", "components"];
|
|
11204
11229
|
/**
|
|
11205
11230
|
* The Select2Async component is similar to Select 2, but uses react-select async
|
|
11206
11231
|
* component for select instead of regular react-select component. This can be used
|
|
@@ -11222,7 +11247,7 @@ var SelectComponent$1 = function SelectComponent(_ref) {
|
|
|
11222
11247
|
_ref$darkMode = _ref.darkMode,
|
|
11223
11248
|
darkMode = _ref$darkMode === void 0 ? false : _ref$darkMode,
|
|
11224
11249
|
components = _ref.components,
|
|
11225
|
-
selectProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
11250
|
+
selectProps = _objectWithoutPropertiesLoose(_ref, _excluded$r);
|
|
11226
11251
|
return /*#__PURE__*/React__default.createElement(WrapperComponent, {
|
|
11227
11252
|
label: label,
|
|
11228
11253
|
error: error,
|
|
@@ -12562,11 +12587,11 @@ var HighlightsCarousel = function HighlightsCarousel(_ref) {
|
|
|
12562
12587
|
})));
|
|
12563
12588
|
};
|
|
12564
12589
|
|
|
12565
|
-
var _excluded$
|
|
12590
|
+
var _excluded$s = ["logo", "slides"];
|
|
12566
12591
|
var HighlightsCinema = function HighlightsCinema(_ref) {
|
|
12567
12592
|
var logo = _ref.logo,
|
|
12568
12593
|
slides = _ref.slides,
|
|
12569
|
-
rest = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
12594
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded$s);
|
|
12570
12595
|
var slidesWithLinks = slides.map(function (slide) {
|
|
12571
12596
|
var links = processSlideLinks(slide.links);
|
|
12572
12597
|
return _extends({}, slide, {
|
|
@@ -12583,10 +12608,10 @@ var HighlightsCinema = function HighlightsCinema(_ref) {
|
|
|
12583
12608
|
})));
|
|
12584
12609
|
};
|
|
12585
12610
|
|
|
12586
|
-
var _excluded$
|
|
12611
|
+
var _excluded$t = ["slides"];
|
|
12587
12612
|
var HighlightsCore = function HighlightsCore(_ref) {
|
|
12588
12613
|
var slides = _ref.slides,
|
|
12589
|
-
rest = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
12614
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded$t);
|
|
12590
12615
|
var slidesWithLinks = slides.map(function (slide) {
|
|
12591
12616
|
var links = processSlideLinks(slide.links);
|
|
12592
12617
|
return _extends({}, slide, {
|
|
@@ -12600,11 +12625,11 @@ var HighlightsCore = function HighlightsCore(_ref) {
|
|
|
12600
12625
|
})));
|
|
12601
12626
|
};
|
|
12602
12627
|
|
|
12603
|
-
var _excluded$
|
|
12628
|
+
var _excluded$u = ["logo", "slides"];
|
|
12604
12629
|
var HighlightsStream = function HighlightsStream(_ref) {
|
|
12605
12630
|
var logo = _ref.logo,
|
|
12606
12631
|
slides = _ref.slides,
|
|
12607
|
-
rest = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
12632
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded$u);
|
|
12608
12633
|
var slidesWithLinks = slides.map(function (slide) {
|
|
12609
12634
|
var links = processSlideLinks(slide.links);
|
|
12610
12635
|
return _extends({}, slide, {
|