@royaloperahouse/harmonic 1.0.0-b → 1.0.1-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 +4 -1
- package/dist/components/molecules/SkipToMain/SkipToMain.style.d.ts +1 -1
- package/dist/harmonic.cjs.development.js +39 -40
- 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 +39 -40
- package/dist/harmonic.esm.js.map +1 -1
- package/dist/types/types.d.ts +1 -10
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
## [Proposed: 1.0.1]
|
|
2
2
|
- Accessibility fixes to CastFilter component
|
|
3
3
|
|
|
4
|
-
## [
|
|
4
|
+
## [Proposed]
|
|
5
5
|
- Carousel title realignment following font change
|
|
6
6
|
|
|
7
|
+
## [1.0.1]
|
|
8
|
+
- Carousel: fix first click
|
|
9
|
+
|
|
7
10
|
## [1.0.0]
|
|
8
11
|
Addressed some tech debt:
|
|
9
12
|
- all components are now exported for consumption from top-level public API export.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
interface FocusableTabProps {
|
|
2
2
|
hide?: boolean;
|
|
3
3
|
}
|
|
4
|
-
export declare const FocusableTab: import("styled-components").StyledComponent<({ title, titleLink, onClick, onFocus, onReset, selected, iconName, iconDirection, withIcon, withTextInMobile, trimText, className, role, ariaLabel, color, dataTestId, isOpen, }: import("../../../types/types").ITabProps) => import("react").JSX.Element, any, FocusableTabProps, never>;
|
|
4
|
+
export declare const FocusableTab: import("styled-components").StyledComponent<({ title, titleLink, onClick, onFocus, onReset, selected, iconName, iconDirection, withIcon, withTextInMobile, trimText, className, role, ariaLabel, tabLinkId, color, dataTestId, isOpen, }: import("../../../types/types").ITabProps) => import("react").JSX.Element, any, FocusableTabProps, never>;
|
|
5
5
|
export declare const HiddenBlock: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
6
|
export {};
|
|
@@ -7068,6 +7068,7 @@ var Swipe = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
|
|
|
7068
7068
|
});
|
|
7069
7069
|
Swipe.displayName = 'Swipe';
|
|
7070
7070
|
|
|
7071
|
+
var _excluded$i = ["name", "image", "onClick"];
|
|
7071
7072
|
var CastFilters = function CastFilters(_ref) {
|
|
7072
7073
|
var cast = _ref.cast,
|
|
7073
7074
|
headingText = _ref.headingText,
|
|
@@ -7191,8 +7192,7 @@ var CastFilters = function CastFilters(_ref) {
|
|
|
7191
7192
|
if (onClick) onClick();
|
|
7192
7193
|
}, [onSelect]);
|
|
7193
7194
|
var handlePersonKeydown = React__default.useCallback(function (e, index, onClick) {
|
|
7194
|
-
if (e.key === 'Enter'
|
|
7195
|
-
e.preventDefault();
|
|
7195
|
+
if (e.key === 'Enter') {
|
|
7196
7196
|
handleClick(index, onClick);
|
|
7197
7197
|
}
|
|
7198
7198
|
}, [handleClick]);
|
|
@@ -7207,24 +7207,23 @@ var CastFilters = function CastFilters(_ref) {
|
|
|
7207
7207
|
var name = person.name,
|
|
7208
7208
|
image = person.image,
|
|
7209
7209
|
_onClick = person.onClick,
|
|
7210
|
-
|
|
7210
|
+
rest = _objectWithoutPropertiesLoose(person, _excluded$i);
|
|
7211
7211
|
var isSelected = selectedIndices.includes(index);
|
|
7212
7212
|
var personImage = image || placeholderImage || defaultPlaceholderImage;
|
|
7213
7213
|
return /*#__PURE__*/React__default.createElement(PersonWrapper, {
|
|
7214
7214
|
key: index,
|
|
7215
7215
|
"aria-selected": isSelected,
|
|
7216
|
-
"aria-label": ariaLabel != null ? ariaLabel : name,
|
|
7217
7216
|
role: "option",
|
|
7218
7217
|
tabIndex: 0,
|
|
7219
|
-
onClick: function onClick() {
|
|
7220
|
-
return handleClick(index, _onClick);
|
|
7221
|
-
},
|
|
7222
7218
|
onKeyDown: function onKeyDown(e) {
|
|
7223
7219
|
return handlePersonKeydown(e, index, _onClick);
|
|
7224
7220
|
}
|
|
7225
|
-
}, /*#__PURE__*/React__default.createElement(PersonToggle, {
|
|
7226
|
-
isSelected: isSelected
|
|
7227
|
-
|
|
7221
|
+
}, /*#__PURE__*/React__default.createElement(PersonToggle, Object.assign({
|
|
7222
|
+
isSelected: isSelected,
|
|
7223
|
+
onClick: function onClick() {
|
|
7224
|
+
return handleClick(index, _onClick);
|
|
7225
|
+
}
|
|
7226
|
+
}, rest), /*#__PURE__*/React__default.createElement(PersonImage, {
|
|
7228
7227
|
src: personImage,
|
|
7229
7228
|
alt: image ? name : "Placeholder image for " + name,
|
|
7230
7229
|
draggable: false,
|
|
@@ -7497,7 +7496,7 @@ var HotFiltersWrapper = /*#__PURE__*/styled__default.div(_templateObject$O || (_
|
|
|
7497
7496
|
var HotFilterOptionsWrapper = /*#__PURE__*/styled__default.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);
|
|
7498
7497
|
var StyledHotFiltersButton = /*#__PURE__*/styled__default(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"])));
|
|
7499
7498
|
|
|
7500
|
-
var _excluded$
|
|
7499
|
+
var _excluded$j = ["text", "onClick"];
|
|
7501
7500
|
var HotFilters = function HotFilters(_ref) {
|
|
7502
7501
|
var items = _ref.items,
|
|
7503
7502
|
className = _ref.className,
|
|
@@ -7513,7 +7512,7 @@ var HotFilters = function HotFilters(_ref) {
|
|
|
7513
7512
|
}, /*#__PURE__*/React__default.createElement(HotFilterOptionsWrapper, null, items.map(function (item, index) {
|
|
7514
7513
|
var text = item.text,
|
|
7515
7514
|
_onClick = item.onClick,
|
|
7516
|
-
rest = _objectWithoutPropertiesLoose(item, _excluded$
|
|
7515
|
+
rest = _objectWithoutPropertiesLoose(item, _excluded$j);
|
|
7517
7516
|
var isSelected = index === selectedIndex;
|
|
7518
7517
|
return /*#__PURE__*/React__default.createElement(StyledHotFiltersButton, Object.assign({
|
|
7519
7518
|
key: index,
|
|
@@ -7955,7 +7954,7 @@ var VideoControlsImpact = function VideoControlsImpact(_ref) {
|
|
|
7955
7954
|
})))));
|
|
7956
7955
|
};
|
|
7957
7956
|
|
|
7958
|
-
var _excluded$
|
|
7957
|
+
var _excluded$k = ["text"];
|
|
7959
7958
|
var CHAR_LIMIT = 100;
|
|
7960
7959
|
var useResponsiveVideo = function useResponsiveVideo(video, poster) {
|
|
7961
7960
|
var mobileVideo = video.mobile || video.desktop;
|
|
@@ -8077,7 +8076,7 @@ var PageHeadingImpact = function PageHeadingImpact(_ref4) {
|
|
|
8077
8076
|
var truncatedText = text && text.length > CHAR_LIMIT ? text.slice(0, CHAR_LIMIT).trimEnd() + "\u2026" : text;
|
|
8078
8077
|
var _ref5 = link || {},
|
|
8079
8078
|
linkText = _ref5.text,
|
|
8080
|
-
restLink = _objectWithoutPropertiesLoose(_ref5, _excluded$
|
|
8079
|
+
restLink = _objectWithoutPropertiesLoose(_ref5, _excluded$k);
|
|
8081
8080
|
var video = {
|
|
8082
8081
|
elementId: 'impact-header-video',
|
|
8083
8082
|
desktop: videoUrlDesktop,
|
|
@@ -8554,7 +8553,7 @@ var CompactHeaderBranding = function CompactHeaderBranding(_ref) {
|
|
|
8554
8553
|
return /*#__PURE__*/React__default.createElement(CompactHeaderLogoWrapper, null, renderBranding(brandingStyle, invert, brandingText, brandingLink));
|
|
8555
8554
|
};
|
|
8556
8555
|
|
|
8557
|
-
var _excluded$
|
|
8556
|
+
var _excluded$l = ["text"];
|
|
8558
8557
|
var useResponsiveVideo$1 = function useResponsiveVideo(video, poster) {
|
|
8559
8558
|
var mobileVideo = video.mobile || video.desktop;
|
|
8560
8559
|
var desktopVideo = video.desktop || video.mobile;
|
|
@@ -8659,7 +8658,7 @@ var PageHeadingCompact = function PageHeadingCompact(_ref4) {
|
|
|
8659
8658
|
showCopy = _ref4$showCopy === void 0 ? true : _ref4$showCopy;
|
|
8660
8659
|
var _ref5 = link || {},
|
|
8661
8660
|
linkText = _ref5.text,
|
|
8662
|
-
restLink = _objectWithoutPropertiesLoose(_ref5, _excluded$
|
|
8661
|
+
restLink = _objectWithoutPropertiesLoose(_ref5, _excluded$l);
|
|
8663
8662
|
// const titleSize = title && title.length > 20 ? 4 : 3;
|
|
8664
8663
|
var video = {
|
|
8665
8664
|
elementId: 'compact-header-video',
|
|
@@ -9264,7 +9263,7 @@ var HarmonicHeaderWithWrapper = /*#__PURE__*/styled__default(HarmonicHeader)(_te
|
|
|
9264
9263
|
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);
|
|
9265
9264
|
var HarmonicSubtitleWithWrapper = /*#__PURE__*/styled__default(HarmonicSubtitle)(_templateObject17 || (_templateObject17 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n overflow-wrap: break-word;\n margin-bottom: 16px;\n"])));
|
|
9266
9265
|
|
|
9267
|
-
var _excluded$
|
|
9266
|
+
var _excluded$m = ["text"],
|
|
9268
9267
|
_excluded2$2 = ["text"],
|
|
9269
9268
|
_excluded3$1 = ["text"];
|
|
9270
9269
|
var _buttonTypeToButton$1;
|
|
@@ -9332,7 +9331,7 @@ var PromoWithTags = function PromoWithTags(_ref) {
|
|
|
9332
9331
|
var _ref2 = firstButton || {},
|
|
9333
9332
|
_ref2$text = _ref2.text,
|
|
9334
9333
|
firstButtonText = _ref2$text === void 0 ? '' : _ref2$text,
|
|
9335
|
-
restFirstButton = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
9334
|
+
restFirstButton = _objectWithoutPropertiesLoose(_ref2, _excluded$m);
|
|
9336
9335
|
var primaryButtonTextTruncate = truncate(firstButtonText, LENGTH_TEXT$1);
|
|
9337
9336
|
var secondButton = links == null ? void 0 : links[1];
|
|
9338
9337
|
var _ref3 = secondButton || {},
|
|
@@ -9616,7 +9615,7 @@ var PromoChild = function PromoChild(_ref) {
|
|
|
9616
9615
|
}));
|
|
9617
9616
|
};
|
|
9618
9617
|
|
|
9619
|
-
var _excluded$
|
|
9618
|
+
var _excluded$n = ["text"],
|
|
9620
9619
|
_excluded2$3 = ["text"];
|
|
9621
9620
|
var LENGTH_TEXT$3 = 28;
|
|
9622
9621
|
var PromoWithTitle = function PromoWithTitle(_ref) {
|
|
@@ -9643,7 +9642,7 @@ var PromoWithTitle = function PromoWithTitle(_ref) {
|
|
|
9643
9642
|
var _ref2 = primaryButton || {},
|
|
9644
9643
|
_ref2$text = _ref2.text,
|
|
9645
9644
|
primaryButtonText = _ref2$text === void 0 ? '' : _ref2$text,
|
|
9646
|
-
restPrimaryButton = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
9645
|
+
restPrimaryButton = _objectWithoutPropertiesLoose(_ref2, _excluded$n);
|
|
9647
9646
|
var primaryButtonTextTruncate = truncate(primaryButtonText, LENGTH_TEXT$3);
|
|
9648
9647
|
var tertiaryButton = links == null ? void 0 : links[1];
|
|
9649
9648
|
var _ref3 = tertiaryButton || {},
|
|
@@ -10342,7 +10341,7 @@ var ErrorLabel$5 = /*#__PURE__*/styled__default.div(_templateObject4$z || (_temp
|
|
|
10342
10341
|
return "var(--color-state-error)";
|
|
10343
10342
|
});
|
|
10344
10343
|
|
|
10345
|
-
var _excluded$
|
|
10344
|
+
var _excluded$o = ["label", "error", "width", "darkMode", "isSearchable", "components", "className"];
|
|
10346
10345
|
var DropdownIndicator = function DropdownIndicator(props) {
|
|
10347
10346
|
return /*#__PURE__*/React__default.createElement(Select$1.components.DropdownIndicator, Object.assign({}, props), /*#__PURE__*/React__default.createElement(Icon, {
|
|
10348
10347
|
iconName: "DropdownArrow"
|
|
@@ -10397,7 +10396,7 @@ var SelectComponent = function SelectComponent(_ref2) {
|
|
|
10397
10396
|
isSearchable = _ref2$isSearchable === void 0 ? false : _ref2$isSearchable,
|
|
10398
10397
|
components = _ref2.components,
|
|
10399
10398
|
className = _ref2.className,
|
|
10400
|
-
selectProps = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
10399
|
+
selectProps = _objectWithoutPropertiesLoose(_ref2, _excluded$o);
|
|
10401
10400
|
return /*#__PURE__*/React__default.createElement(WrapperComponent, {
|
|
10402
10401
|
label: label,
|
|
10403
10402
|
error: error,
|
|
@@ -10416,7 +10415,7 @@ var SelectComponent = function SelectComponent(_ref2) {
|
|
|
10416
10415
|
})));
|
|
10417
10416
|
};
|
|
10418
10417
|
|
|
10419
|
-
var _excluded$
|
|
10418
|
+
var _excluded$p = ["label", "error", "width", "darkMode", "components"];
|
|
10420
10419
|
/**
|
|
10421
10420
|
* The Select2Async component is similar to Select 2, but uses react-select async
|
|
10422
10421
|
* component for select instead of regular react-select component. This can be used
|
|
@@ -10438,7 +10437,7 @@ var SelectComponent$1 = function SelectComponent(_ref) {
|
|
|
10438
10437
|
_ref$darkMode = _ref.darkMode,
|
|
10439
10438
|
darkMode = _ref$darkMode === void 0 ? false : _ref$darkMode,
|
|
10440
10439
|
components = _ref.components,
|
|
10441
|
-
selectProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
10440
|
+
selectProps = _objectWithoutPropertiesLoose(_ref, _excluded$p);
|
|
10442
10441
|
return /*#__PURE__*/React__default.createElement(WrapperComponent, {
|
|
10443
10442
|
label: label,
|
|
10444
10443
|
error: error,
|
|
@@ -10575,7 +10574,7 @@ var Wrapper$7 = /*#__PURE__*/styled__default.figure(_templateObject$1d || (_temp
|
|
|
10575
10574
|
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"])));
|
|
10576
10575
|
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"])));
|
|
10577
10576
|
|
|
10578
|
-
var _excluded$
|
|
10577
|
+
var _excluded$q = ["caption", "altText", "src", "srcSet", "sizes", "loading", "aspectRatio", "className"];
|
|
10579
10578
|
var ImageWithCaption = function ImageWithCaption(_ref) {
|
|
10580
10579
|
var caption = _ref.caption,
|
|
10581
10580
|
altText = _ref.altText,
|
|
@@ -10585,7 +10584,7 @@ var ImageWithCaption = function ImageWithCaption(_ref) {
|
|
|
10585
10584
|
loading = _ref.loading,
|
|
10586
10585
|
aspectRatio = _ref.aspectRatio,
|
|
10587
10586
|
className = _ref.className,
|
|
10588
|
-
restProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
10587
|
+
restProps = _objectWithoutPropertiesLoose(_ref, _excluded$q);
|
|
10589
10588
|
return /*#__PURE__*/React__default.createElement(Wrapper$7, Object.assign({
|
|
10590
10589
|
aspectRatio: aspectRatio,
|
|
10591
10590
|
className: className
|
|
@@ -12179,7 +12178,7 @@ var ArrowWrapper = /*#__PURE__*/styled__default.div(_templateObject0$9 || (_temp
|
|
|
12179
12178
|
return disabled ? 'var(--color-state-disabled)' : 'var(--button-anchor-tab-color)';
|
|
12180
12179
|
});
|
|
12181
12180
|
|
|
12182
|
-
var _excluded$
|
|
12181
|
+
var _excluded$r = ["id", "text"];
|
|
12183
12182
|
var AnchorTabBar = function AnchorTabBar(_ref) {
|
|
12184
12183
|
var tabs = _ref.tabs,
|
|
12185
12184
|
onTabClick = _ref.onTabClick,
|
|
@@ -12390,7 +12389,7 @@ var AnchorTabBar = function AnchorTabBar(_ref) {
|
|
|
12390
12389
|
}, tabs.map(function (_ref4) {
|
|
12391
12390
|
var id = _ref4.id,
|
|
12392
12391
|
text = _ref4.text,
|
|
12393
|
-
rest = _objectWithoutPropertiesLoose(_ref4, _excluded$
|
|
12392
|
+
rest = _objectWithoutPropertiesLoose(_ref4, _excluded$r);
|
|
12394
12393
|
return /*#__PURE__*/React__default.createElement("li", {
|
|
12395
12394
|
key: id
|
|
12396
12395
|
}, /*#__PURE__*/React__default.createElement(TabLink, Object.assign({
|
|
@@ -12452,7 +12451,7 @@ var PrimaryButtonReverse = /*#__PURE__*/styled__default(PrimaryButton)(_template
|
|
|
12452
12451
|
var MessageWrapper$1 = /*#__PURE__*/styled__default.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);
|
|
12453
12452
|
var MessageWrapperMobile = /*#__PURE__*/styled__default.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);
|
|
12454
12453
|
|
|
12455
|
-
var _excluded$
|
|
12454
|
+
var _excluded$s = ["text"],
|
|
12456
12455
|
_excluded2$4 = ["text"];
|
|
12457
12456
|
var TitleWithCTA = function TitleWithCTA(_ref) {
|
|
12458
12457
|
var title = _ref.title,
|
|
@@ -12462,7 +12461,7 @@ var TitleWithCTA = function TitleWithCTA(_ref) {
|
|
|
12462
12461
|
message = _ref.message;
|
|
12463
12462
|
var _ref2 = (links == null ? void 0 : links[0]) || {},
|
|
12464
12463
|
primaryButtonText = _ref2.text,
|
|
12465
|
-
primaryButtonProps = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
12464
|
+
primaryButtonProps = _objectWithoutPropertiesLoose(_ref2, _excluded$s);
|
|
12466
12465
|
var _ref3 = (links == null ? void 0 : links[1]) || {},
|
|
12467
12466
|
secondaryButtonText = _ref3.text,
|
|
12468
12467
|
secondaryButtonProps = _objectWithoutPropertiesLoose(_ref3, _excluded2$4);
|
|
@@ -12593,7 +12592,7 @@ var CloseButton = /*#__PURE__*/styled__default.button(_templateObject2$19 || (_t
|
|
|
12593
12592
|
var ContentWrapper$3 = /*#__PURE__*/styled__default.div(_templateObject3$V || (_templateObject3$V = /*#__PURE__*/_taggedTemplateLiteralLoose([""])));
|
|
12594
12593
|
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"])));
|
|
12595
12594
|
|
|
12596
|
-
var _excluded$
|
|
12595
|
+
var _excluded$t = ["isOpen", "setIsOpen", "children", "appElementId"];
|
|
12597
12596
|
var MAX_Z_INDEX = 9999999999;
|
|
12598
12597
|
if (Modal.defaultStyles.content) {
|
|
12599
12598
|
Modal.defaultStyles.content.position = 'static';
|
|
@@ -12667,7 +12666,7 @@ var ModalWindow = function ModalWindow(_ref) {
|
|
|
12667
12666
|
setIsOpen = _ref.setIsOpen,
|
|
12668
12667
|
children = _ref.children,
|
|
12669
12668
|
appElementId = _ref.appElementId,
|
|
12670
|
-
modalProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
12669
|
+
modalProps = _objectWithoutPropertiesLoose(_ref, _excluded$t);
|
|
12671
12670
|
var isMobile = useMobile();
|
|
12672
12671
|
var customStyles = {
|
|
12673
12672
|
overlay: {
|
|
@@ -13085,7 +13084,7 @@ var VideoWithControlsWrapper = /*#__PURE__*/styled__default.div(_templateObject1
|
|
|
13085
13084
|
}, devices.mobile);
|
|
13086
13085
|
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);
|
|
13087
13086
|
|
|
13088
|
-
var _excluded$
|
|
13087
|
+
var _excluded$u = ["text"],
|
|
13089
13088
|
_excluded2$5 = ["text"];
|
|
13090
13089
|
var _buttonTypeToButton$2;
|
|
13091
13090
|
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);
|
|
@@ -13096,7 +13095,7 @@ var Buttons = function Buttons(_ref) {
|
|
|
13096
13095
|
var _ref2 = firstButton || {},
|
|
13097
13096
|
_ref2$text = _ref2.text,
|
|
13098
13097
|
firstButtonText = _ref2$text === void 0 ? '' : _ref2$text,
|
|
13099
|
-
restFirstButton = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
13098
|
+
restFirstButton = _objectWithoutPropertiesLoose(_ref2, _excluded$u);
|
|
13100
13099
|
var secondButton = links == null ? void 0 : links[1];
|
|
13101
13100
|
var _ref3 = secondButton || {},
|
|
13102
13101
|
_ref3$text = _ref3.text,
|
|
@@ -13333,11 +13332,11 @@ var HighlightsCarousel = function HighlightsCarousel(_ref) {
|
|
|
13333
13332
|
})));
|
|
13334
13333
|
};
|
|
13335
13334
|
|
|
13336
|
-
var _excluded$
|
|
13335
|
+
var _excluded$v = ["logo", "slides"];
|
|
13337
13336
|
var HighlightsCinema = function HighlightsCinema(_ref) {
|
|
13338
13337
|
var logo = _ref.logo,
|
|
13339
13338
|
slides = _ref.slides,
|
|
13340
|
-
rest = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
13339
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded$v);
|
|
13341
13340
|
var slidesWithLinks = slides.map(function (slide) {
|
|
13342
13341
|
var links = processSlideLinks(slide.links);
|
|
13343
13342
|
return _extends({}, slide, {
|
|
@@ -13354,10 +13353,10 @@ var HighlightsCinema = function HighlightsCinema(_ref) {
|
|
|
13354
13353
|
})));
|
|
13355
13354
|
};
|
|
13356
13355
|
|
|
13357
|
-
var _excluded$
|
|
13356
|
+
var _excluded$w = ["slides"];
|
|
13358
13357
|
var HighlightsCore = function HighlightsCore(_ref) {
|
|
13359
13358
|
var slides = _ref.slides,
|
|
13360
|
-
rest = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
13359
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded$w);
|
|
13361
13360
|
var slidesWithLinks = slides.map(function (slide) {
|
|
13362
13361
|
var links = processSlideLinks(slide.links);
|
|
13363
13362
|
return _extends({}, slide, {
|
|
@@ -13371,11 +13370,11 @@ var HighlightsCore = function HighlightsCore(_ref) {
|
|
|
13371
13370
|
})));
|
|
13372
13371
|
};
|
|
13373
13372
|
|
|
13374
|
-
var _excluded$
|
|
13373
|
+
var _excluded$x = ["logo", "slides"];
|
|
13375
13374
|
var HighlightsStream = function HighlightsStream(_ref) {
|
|
13376
13375
|
var logo = _ref.logo,
|
|
13377
13376
|
slides = _ref.slides,
|
|
13378
|
-
rest = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
13377
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded$x);
|
|
13379
13378
|
var slidesWithLinks = slides.map(function (slide) {
|
|
13380
13379
|
var links = processSlideLinks(slide.links);
|
|
13381
13380
|
return _extends({}, slide, {
|