@royaloperahouse/harmonic 0.11.0-l → 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/atoms/Buttons/Secondary/utils.d.ts +4 -4
- package/dist/components/organisms/StickyBar/StickyBar.style.d.ts +1 -1
- package/dist/harmonic.cjs.development.js +89 -86
- 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 +89 -86
- package/dist/harmonic.esm.js.map +1 -1
- package/dist/types/buttonTypes.d.ts +0 -2
- package/dist/types/navigation.d.ts +12 -18
- package/dist/types/typography.d.ts +2 -2
- package/package.json +1 -1
package/dist/harmonic.esm.js
CHANGED
|
@@ -334,12 +334,14 @@ var NavigationText = function NavigationText(_ref8) {
|
|
|
334
334
|
var children = _ref8.children,
|
|
335
335
|
_ref8$color = _ref8.color,
|
|
336
336
|
color = _ref8$color === void 0 ? 'inherit' : _ref8$color,
|
|
337
|
+
_ref8$tag = _ref8.tag,
|
|
338
|
+
Tag = _ref8$tag === void 0 ? 'p' : _ref8$tag,
|
|
337
339
|
className = _ref8.className;
|
|
338
340
|
var classNames = createClassNames('navigationtext', {
|
|
339
341
|
color: color,
|
|
340
342
|
className: className
|
|
341
343
|
}, typographyStyles);
|
|
342
|
-
return /*#__PURE__*/React__default.createElement(
|
|
344
|
+
return /*#__PURE__*/React__default.createElement(Tag, {
|
|
343
345
|
className: classNames
|
|
344
346
|
}, children);
|
|
345
347
|
};
|
|
@@ -2693,70 +2695,48 @@ var COLORS$1 = {
|
|
|
2693
2695
|
hover: 'var(--button-secondary-hover-color)',
|
|
2694
2696
|
pressed: 'var(--button-secondary-pressed-color)'
|
|
2695
2697
|
};
|
|
2696
|
-
var isObjectWithKey = function isObjectWithKey(object, key) {
|
|
2697
|
-
return typeof object === 'object' && object !== null && key in object;
|
|
2698
|
-
};
|
|
2699
|
-
var hasSecondaryButtonColor = function hasSecondaryButtonColor(theme) {
|
|
2700
|
-
return isObjectWithKey(theme, 'colors') && isObjectWithKey(theme.colors, 'secondaryButton') && typeof theme.colors.secondaryButton === 'string';
|
|
2701
|
-
};
|
|
2702
2698
|
var getTextColor$1 = function getTextColor(_ref) {
|
|
2703
2699
|
var disabled = _ref.disabled,
|
|
2704
|
-
textColor = _ref.textColor
|
|
2705
|
-
theme = _ref.theme;
|
|
2700
|
+
textColor = _ref.textColor;
|
|
2706
2701
|
if (disabled) {
|
|
2707
2702
|
return COLORS$1.darkGrey;
|
|
2708
2703
|
}
|
|
2709
2704
|
if (textColor) {
|
|
2710
2705
|
return "var(--color-" + textColor + ")";
|
|
2711
2706
|
}
|
|
2712
|
-
if (hasSecondaryButtonColor(theme)) {
|
|
2713
|
-
return theme.colors.secondaryButton;
|
|
2714
|
-
}
|
|
2715
2707
|
return COLORS$1["default"];
|
|
2716
2708
|
};
|
|
2717
2709
|
var getBorderColor = function getBorderColor(_ref2) {
|
|
2718
2710
|
var disabled = _ref2.disabled,
|
|
2719
|
-
borderColor = _ref2.borderColor
|
|
2720
|
-
theme = _ref2.theme;
|
|
2711
|
+
borderColor = _ref2.borderColor;
|
|
2721
2712
|
if (disabled) {
|
|
2722
2713
|
return COLORS$1.disabled;
|
|
2723
2714
|
}
|
|
2724
2715
|
if (borderColor) {
|
|
2725
2716
|
return "var(--color-" + borderColor + ")";
|
|
2726
2717
|
}
|
|
2727
|
-
if (hasSecondaryButtonColor(theme)) {
|
|
2728
|
-
return theme.colors.secondaryButton;
|
|
2729
|
-
}
|
|
2730
2718
|
return COLORS$1.border;
|
|
2731
2719
|
};
|
|
2732
2720
|
var getHoveredColor$1 = function getHoveredColor(_ref3) {
|
|
2733
2721
|
var disabled = _ref3.disabled,
|
|
2734
|
-
hoveredColor = _ref3.hoveredColor
|
|
2735
|
-
theme = _ref3.theme;
|
|
2722
|
+
hoveredColor = _ref3.hoveredColor;
|
|
2736
2723
|
if (disabled) {
|
|
2737
2724
|
return COLORS$1.disabled;
|
|
2738
2725
|
}
|
|
2739
2726
|
if (hoveredColor) {
|
|
2740
2727
|
return "var(--color-" + hoveredColor + ")";
|
|
2741
2728
|
}
|
|
2742
|
-
if (hasSecondaryButtonColor(theme)) {
|
|
2743
|
-
return theme.colors.secondaryButton;
|
|
2744
|
-
}
|
|
2745
2729
|
return COLORS$1.hover;
|
|
2746
2730
|
};
|
|
2747
2731
|
var getPressedColor$1 = function getPressedColor(_ref4) {
|
|
2748
2732
|
var disabled = _ref4.disabled,
|
|
2749
|
-
pressedColor = _ref4.pressedColor
|
|
2750
|
-
theme = _ref4.theme;
|
|
2733
|
+
pressedColor = _ref4.pressedColor;
|
|
2751
2734
|
if (disabled) {
|
|
2752
2735
|
return COLORS$1.disabled;
|
|
2753
2736
|
}
|
|
2754
2737
|
if (pressedColor) {
|
|
2755
2738
|
return "var(--color-" + pressedColor + ")";
|
|
2756
2739
|
}
|
|
2757
|
-
if (hasSecondaryButtonColor(theme)) {
|
|
2758
|
-
return theme.colors.secondaryButton;
|
|
2759
|
-
}
|
|
2760
2740
|
return COLORS$1.pressed;
|
|
2761
2741
|
};
|
|
2762
2742
|
|
|
@@ -2829,7 +2809,9 @@ var TertiaryButton = function TertiaryButton(_ref) {
|
|
|
2829
2809
|
if (rest != null && rest.disabled) return;
|
|
2830
2810
|
rest.onClick == null || rest.onClick(e);
|
|
2831
2811
|
}, [rest.disabled, rest.onClick]);
|
|
2832
|
-
return /*#__PURE__*/React__default.createElement(TertiaryButtonWrapper, Object.assign({
|
|
2812
|
+
return /*#__PURE__*/React__default.createElement(TertiaryButtonWrapper, Object.assign({
|
|
2813
|
+
"data-testid": "tertiary-button"
|
|
2814
|
+
}, rest, {
|
|
2833
2815
|
className: className,
|
|
2834
2816
|
onClick: handleClick
|
|
2835
2817
|
}), /*#__PURE__*/React__default.createElement(ButtonText, {
|
|
@@ -3622,17 +3604,18 @@ var DEFAULT_SPONSORSHIP_IFRAME = 'https://static.roh.org.uk/rolex/v4/rolex.html?
|
|
|
3622
3604
|
var DEFAULT_SPONSORSHIP_TITLE = 'rolex';
|
|
3623
3605
|
var DEFAULT_DATA_ROH = 'ImgAdvert';
|
|
3624
3606
|
|
|
3625
|
-
|
|
3607
|
+
var _excluded$7 = ["src", "dataRoh", "title"];
|
|
3626
3608
|
var Sponsorship = function Sponsorship(_ref) {
|
|
3627
3609
|
var _ref$src = _ref.src,
|
|
3628
3610
|
src = _ref$src === void 0 ? DEFAULT_SPONSORSHIP_IFRAME : _ref$src,
|
|
3629
3611
|
_ref$dataRoh = _ref.dataRoh,
|
|
3630
3612
|
dataRoh = _ref$dataRoh === void 0 ? DEFAULT_DATA_ROH : _ref$dataRoh,
|
|
3631
3613
|
_ref$title = _ref.title,
|
|
3632
|
-
title = _ref$title === void 0 ? DEFAULT_SPONSORSHIP_TITLE : _ref$title
|
|
3614
|
+
title = _ref$title === void 0 ? DEFAULT_SPONSORSHIP_TITLE : _ref$title,
|
|
3615
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded$7);
|
|
3633
3616
|
var linkText = title + " sponsorship";
|
|
3634
3617
|
var linkDescription = linkText + " - visit " + title + "'s website (opens in new tab)";
|
|
3635
|
-
return /*#__PURE__*/React__default.createElement(SponsorshipWrapper,
|
|
3618
|
+
return /*#__PURE__*/React__default.createElement(SponsorshipWrapper, Object.assign({}, rest), /*#__PURE__*/React__default.createElement(SponsorshipLink, {
|
|
3636
3619
|
href: "https://www.rolex.com",
|
|
3637
3620
|
target: "_blank",
|
|
3638
3621
|
rel: "noopener noreferrer",
|
|
@@ -3774,7 +3757,7 @@ var TabLinkWrapper = /*#__PURE__*/styled.a(_templateObject$l || (_templateObject
|
|
|
3774
3757
|
});
|
|
3775
3758
|
var TabLinkIconWrapper = /*#__PURE__*/styled.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"])));
|
|
3776
3759
|
|
|
3777
|
-
var _excluded$
|
|
3760
|
+
var _excluded$8 = ["children", "iconName", "iconDirection", "color", "hoverColor", "className"];
|
|
3778
3761
|
var TabLink = function TabLink(_ref) {
|
|
3779
3762
|
var children = _ref.children,
|
|
3780
3763
|
iconName = _ref.iconName,
|
|
@@ -3784,7 +3767,7 @@ var TabLink = function TabLink(_ref) {
|
|
|
3784
3767
|
_ref$hoverColor = _ref.hoverColor,
|
|
3785
3768
|
hoverColor = _ref$hoverColor === void 0 ? ThemeColor['primary-red'] : _ref$hoverColor,
|
|
3786
3769
|
className = _ref.className,
|
|
3787
|
-
rest = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
3770
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded$8);
|
|
3788
3771
|
return /*#__PURE__*/React__default.createElement(TabLinkWrapper, Object.assign({
|
|
3789
3772
|
color: color,
|
|
3790
3773
|
iconName: iconName,
|
|
@@ -3834,7 +3817,7 @@ var TextAreaError = /*#__PURE__*/styled.div(_templateObject4$4 || (_templateObje
|
|
|
3834
3817
|
return darkMode ? 'var(--base-color-white)' : 'var(--base-color-errorstate)';
|
|
3835
3818
|
});
|
|
3836
3819
|
|
|
3837
|
-
var _excluded$
|
|
3820
|
+
var _excluded$9 = ["label", "error", "width", "darkMode", "height", "columnStartDesktop", "columnStartDevice", "columnSpanDesktop", "columnSpanDevice", "maxLength", "tabIndex"];
|
|
3838
3821
|
/**
|
|
3839
3822
|
* An HTML textarea component for Harmonic.
|
|
3840
3823
|
*
|
|
@@ -3895,7 +3878,7 @@ var TextArea = function TextArea(_ref) {
|
|
|
3895
3878
|
maxLength = _ref$maxLength === void 0 ? 950 : _ref$maxLength,
|
|
3896
3879
|
_ref$tabIndex = _ref.tabIndex,
|
|
3897
3880
|
tabIndex = _ref$tabIndex === void 0 ? 0 : _ref$tabIndex,
|
|
3898
|
-
textareaProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
3881
|
+
textareaProps = _objectWithoutPropertiesLoose(_ref, _excluded$9);
|
|
3899
3882
|
return /*#__PURE__*/React__default.createElement(GridItem, {
|
|
3900
3883
|
columnStartDesktop: columnStartDesktop,
|
|
3901
3884
|
columnSpanDesktop: columnSpanDesktop,
|
|
@@ -3955,7 +3938,7 @@ var ErrorLabel$1 = /*#__PURE__*/styled.div(_templateObject6$1 || (_templateObjec
|
|
|
3955
3938
|
});
|
|
3956
3939
|
var BodyCopyHarmonicWithWrapper = /*#__PURE__*/styled(BodyCopyHarmonic)(_templateObject7 || (_templateObject7 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n color: var(--color-state-error);\n"])));
|
|
3957
3940
|
|
|
3958
|
-
var _excluded$
|
|
3941
|
+
var _excluded$a = ["label", "type", "error", "darkMode", "width"];
|
|
3959
3942
|
/**
|
|
3960
3943
|
* A text field component, that wraps around the native `<input />` element
|
|
3961
3944
|
* and adds some extra states and information around it (i.e. a text and an error labels,
|
|
@@ -4002,7 +3985,7 @@ var TextFieldComponent = function TextFieldComponent(_ref, ref) {
|
|
|
4002
3985
|
_ref$darkMode = _ref.darkMode,
|
|
4003
3986
|
darkMode = _ref$darkMode === void 0 ? false : _ref$darkMode,
|
|
4004
3987
|
width = _ref.width,
|
|
4005
|
-
inputProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
3988
|
+
inputProps = _objectWithoutPropertiesLoose(_ref, _excluded$a);
|
|
4006
3989
|
var _useState = useState(false),
|
|
4007
3990
|
showPassword = _useState[0],
|
|
4008
3991
|
setShowPassword = _useState[1];
|
|
@@ -4100,7 +4083,7 @@ var ErrorLabel$2 = /*#__PURE__*/styled.p(_templateObject5$3 || (_templateObject5
|
|
|
4100
4083
|
return darkMode ? theme.colors.white : theme.colors.error;
|
|
4101
4084
|
});
|
|
4102
4085
|
|
|
4103
|
-
var _excluded$
|
|
4086
|
+
var _excluded$b = ["label", "error", "darkMode", "width"];
|
|
4104
4087
|
/**
|
|
4105
4088
|
* @deprecated
|
|
4106
4089
|
*
|
|
@@ -4114,7 +4097,7 @@ var TextFieldLegacy = function TextFieldLegacy(_ref) {
|
|
|
4114
4097
|
_ref$darkMode = _ref.darkMode,
|
|
4115
4098
|
darkMode = _ref$darkMode === void 0 ? false : _ref$darkMode,
|
|
4116
4099
|
width = _ref.width,
|
|
4117
|
-
inputProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
4100
|
+
inputProps = _objectWithoutPropertiesLoose(_ref, _excluded$b);
|
|
4118
4101
|
return /*#__PURE__*/React__default.createElement(TextFieldContainer, null, /*#__PURE__*/React__default.createElement("label", {
|
|
4119
4102
|
htmlFor: "text-field-input"
|
|
4120
4103
|
}, /*#__PURE__*/React__default.createElement(TextLabel$2, {
|
|
@@ -4143,13 +4126,13 @@ var TextLinkWrapper = /*#__PURE__*/styled.a(_templateObject$p || (_templateObjec
|
|
|
4143
4126
|
}, devices.mobile);
|
|
4144
4127
|
var TextLinkIconWrapper = /*#__PURE__*/styled.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"])));
|
|
4145
4128
|
|
|
4146
|
-
var _excluded$
|
|
4129
|
+
var _excluded$c = ["children", "iconName", "iconDirection", "textColor"];
|
|
4147
4130
|
var TextLink = function TextLink(_ref) {
|
|
4148
4131
|
var children = _ref.children,
|
|
4149
4132
|
iconName = _ref.iconName,
|
|
4150
4133
|
iconDirection = _ref.iconDirection,
|
|
4151
4134
|
textColor = _ref.textColor,
|
|
4152
|
-
rest = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
4135
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded$c);
|
|
4153
4136
|
var truncatedString = children.substring(0, 30);
|
|
4154
4137
|
return /*#__PURE__*/React__default.createElement(TextLinkWrapper, Object.assign({
|
|
4155
4138
|
color: textColor,
|
|
@@ -4343,7 +4326,7 @@ var ErrorLabel$3 = /*#__PURE__*/styled.div(_templateObject6$2 || (_templateObjec
|
|
|
4343
4326
|
return 'var(--base-color-errorstate)';
|
|
4344
4327
|
});
|
|
4345
4328
|
|
|
4346
|
-
var _excluded$
|
|
4329
|
+
var _excluded$d = ["children", "disabled", "error", "darkMode", "blackBox"];
|
|
4347
4330
|
/**
|
|
4348
4331
|
* A Tickbox component, that wraps around the native `<input type="checkbox"/>` element
|
|
4349
4332
|
* and adds some extra styling, states and information around it (i.e. an error label,
|
|
@@ -4372,7 +4355,7 @@ var Tickbox2Component = function Tickbox2Component(_ref, ref) {
|
|
|
4372
4355
|
darkMode = _ref$darkMode === void 0 ? false : _ref$darkMode,
|
|
4373
4356
|
_ref$blackBox = _ref.blackBox,
|
|
4374
4357
|
blackBox = _ref$blackBox === void 0 ? false : _ref$blackBox,
|
|
4375
|
-
inputProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
4358
|
+
inputProps = _objectWithoutPropertiesLoose(_ref, _excluded$d);
|
|
4376
4359
|
return /*#__PURE__*/React__default.createElement(Container$2, null, /*#__PURE__*/React__default.createElement(TickboxLabel$2, {
|
|
4377
4360
|
darkMode: darkMode,
|
|
4378
4361
|
blackBox: blackBox
|
|
@@ -6160,7 +6143,7 @@ var HarmonicThemeProvider = function HarmonicThemeProvider(_ref) {
|
|
|
6160
6143
|
}, themedChildren.length === 1 ? themedChildren[0] : /*#__PURE__*/React__default.createElement(React__default.Fragment, null, themedChildren));
|
|
6161
6144
|
};
|
|
6162
6145
|
|
|
6163
|
-
var _excluded$
|
|
6146
|
+
var _excluded$e = ["id", "text"];
|
|
6164
6147
|
var AnchorTabBar = function AnchorTabBar(_ref) {
|
|
6165
6148
|
var tabs = _ref.tabs,
|
|
6166
6149
|
onTabClick = _ref.onTabClick,
|
|
@@ -6170,6 +6153,8 @@ var AnchorTabBar = function AnchorTabBar(_ref) {
|
|
|
6170
6153
|
bottomBorder = _ref$bottomBorder === void 0 ? false : _ref$bottomBorder,
|
|
6171
6154
|
_ref$withShadow = _ref.withShadow,
|
|
6172
6155
|
withShadow = _ref$withShadow === void 0 ? false : _ref$withShadow,
|
|
6156
|
+
_ref$offsetHeight = _ref.offsetHeight,
|
|
6157
|
+
offsetHeight = _ref$offsetHeight === void 0 ? 0 : _ref$offsetHeight,
|
|
6173
6158
|
className = _ref.className;
|
|
6174
6159
|
var tabListRef = useRef(null);
|
|
6175
6160
|
var wrapperRef = useRef(null);
|
|
@@ -6190,12 +6175,27 @@ var AnchorTabBar = function AnchorTabBar(_ref) {
|
|
|
6190
6175
|
var isSelectedItem = function isSelectedItem(id) {
|
|
6191
6176
|
return id === selectedItem;
|
|
6192
6177
|
};
|
|
6193
|
-
var
|
|
6178
|
+
var onClickTab = function onClickTab(e, id) {
|
|
6179
|
+
e.preventDefault();
|
|
6194
6180
|
if (onTabClick) {
|
|
6195
6181
|
onTabClick(e, id);
|
|
6196
6182
|
}
|
|
6197
6183
|
setSelectedItem(id);
|
|
6198
6184
|
};
|
|
6185
|
+
useEffect(function () {
|
|
6186
|
+
if (!selectedItem) return;
|
|
6187
|
+
var targetSectionElement = document.getElementById(selectedItem);
|
|
6188
|
+
if (targetSectionElement) {
|
|
6189
|
+
var sectionTop = targetSectionElement.getBoundingClientRect().top;
|
|
6190
|
+
var scrollPosition = window.scrollY + sectionTop - offsetHeight;
|
|
6191
|
+
// Instant scroll
|
|
6192
|
+
window.scrollTo(0, scrollPosition);
|
|
6193
|
+
}
|
|
6194
|
+
var clickedTab = document.getElementById("tablink-" + selectedItem);
|
|
6195
|
+
if (clickedTab) {
|
|
6196
|
+
clickedTab.focus();
|
|
6197
|
+
}
|
|
6198
|
+
}, [selectedItem, offsetHeight]);
|
|
6199
6199
|
var getScrollWidth = function getScrollWidth() {
|
|
6200
6200
|
var width = 0;
|
|
6201
6201
|
var selectedItemIndex = tabs.findIndex(function (el) {
|
|
@@ -6367,7 +6367,7 @@ var AnchorTabBar = function AnchorTabBar(_ref) {
|
|
|
6367
6367
|
}, tabs.map(function (_ref4) {
|
|
6368
6368
|
var id = _ref4.id,
|
|
6369
6369
|
text = _ref4.text,
|
|
6370
|
-
rest = _objectWithoutPropertiesLoose(_ref4, _excluded$
|
|
6370
|
+
rest = _objectWithoutPropertiesLoose(_ref4, _excluded$e);
|
|
6371
6371
|
return /*#__PURE__*/React__default.createElement("li", {
|
|
6372
6372
|
key: id
|
|
6373
6373
|
}, /*#__PURE__*/React__default.createElement(TabLink, Object.assign({
|
|
@@ -6375,7 +6375,7 @@ var AnchorTabBar = function AnchorTabBar(_ref) {
|
|
|
6375
6375
|
className: "anchor-tab-bar-tablink",
|
|
6376
6376
|
id: "tablink-" + id,
|
|
6377
6377
|
onClick: function onClick(e) {
|
|
6378
|
-
return
|
|
6378
|
+
return onClickTab(e, id);
|
|
6379
6379
|
},
|
|
6380
6380
|
tabIndex: 0,
|
|
6381
6381
|
hoverColor: theme === ThemeType.Core ? ThemeColor['primary-red'] : ThemeColor['primary-black']
|
|
@@ -6429,7 +6429,7 @@ var PrimaryButtonReverse = /*#__PURE__*/styled(PrimaryButton)(_templateObject8$4
|
|
|
6429
6429
|
var MessageWrapper = /*#__PURE__*/styled.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);
|
|
6430
6430
|
var MessageWrapperMobile = /*#__PURE__*/styled.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);
|
|
6431
6431
|
|
|
6432
|
-
var _excluded$
|
|
6432
|
+
var _excluded$f = ["text"],
|
|
6433
6433
|
_excluded2$1 = ["text"];
|
|
6434
6434
|
var TitleWithCTA = function TitleWithCTA(_ref) {
|
|
6435
6435
|
var title = _ref.title,
|
|
@@ -6439,7 +6439,7 @@ var TitleWithCTA = function TitleWithCTA(_ref) {
|
|
|
6439
6439
|
message = _ref.message;
|
|
6440
6440
|
var _ref2 = (links == null ? void 0 : links[0]) || {},
|
|
6441
6441
|
primaryButtonText = _ref2.text,
|
|
6442
|
-
primaryButtonProps = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
6442
|
+
primaryButtonProps = _objectWithoutPropertiesLoose(_ref2, _excluded$f);
|
|
6443
6443
|
var _ref3 = (links == null ? void 0 : links[1]) || {},
|
|
6444
6444
|
secondaryButtonText = _ref3.text,
|
|
6445
6445
|
secondaryButtonProps = _objectWithoutPropertiesLoose(_ref3, _excluded2$1);
|
|
@@ -7221,10 +7221,10 @@ var UpsellSection = function UpsellSection(_ref) {
|
|
|
7221
7221
|
};
|
|
7222
7222
|
|
|
7223
7223
|
var _templateObject$L, _templateObject2$y;
|
|
7224
|
-
var StickyBarWrapper = /*#__PURE__*/styled.div(_templateObject$L || (_templateObject$L = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n top: 0;\n position: sticky;\n z-index: ", ";\n background-color: var(--base-
|
|
7224
|
+
var StickyBarWrapper = /*#__PURE__*/styled.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);
|
|
7225
7225
|
var StickyBarGrid = /*#__PURE__*/styled(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) {
|
|
7226
|
-
var
|
|
7227
|
-
return
|
|
7226
|
+
var bottomBorder = _ref.bottomBorder;
|
|
7227
|
+
return bottomBorder && 'border-bottom: 1px solid var(--color-base-light-grey);';
|
|
7228
7228
|
}, devices.mobileAndTablet, devices.mobile);
|
|
7229
7229
|
|
|
7230
7230
|
var StickyBar = function StickyBar(_ref) {
|
|
@@ -7236,12 +7236,15 @@ var StickyBar = function StickyBar(_ref) {
|
|
|
7236
7236
|
columnStartDevice = _ref$columnStartDevic === void 0 ? 2 : _ref$columnStartDevic,
|
|
7237
7237
|
_ref$columnSpanDevice = _ref.columnSpanDevice,
|
|
7238
7238
|
columnSpanDevice = _ref$columnSpanDevice === void 0 ? 12 : _ref$columnSpanDevice,
|
|
7239
|
-
|
|
7240
|
-
|
|
7239
|
+
_ref$bottomBorder = _ref.bottomBorder,
|
|
7240
|
+
bottomBorder = _ref$bottomBorder === void 0 ? true : _ref$bottomBorder,
|
|
7241
|
+
children = _ref.children,
|
|
7242
|
+
className = _ref.className;
|
|
7241
7243
|
return /*#__PURE__*/React__default.createElement(StickyBarWrapper, {
|
|
7242
|
-
"data-testid": "sticky-bar-block"
|
|
7244
|
+
"data-testid": "sticky-bar-block",
|
|
7245
|
+
className: className
|
|
7243
7246
|
}, /*#__PURE__*/React__default.createElement(StickyBarGrid, {
|
|
7244
|
-
|
|
7247
|
+
bottomBorder: bottomBorder
|
|
7245
7248
|
}, /*#__PURE__*/React__default.createElement(GridItem, {
|
|
7246
7249
|
columnStartDesktop: columnStartDesktop,
|
|
7247
7250
|
columnSpanDesktop: columnSpanDesktop,
|
|
@@ -7256,7 +7259,7 @@ var CloseButton = /*#__PURE__*/styled.button(_templateObject2$z || (_templateObj
|
|
|
7256
7259
|
var ContentWrapper = /*#__PURE__*/styled.div(_templateObject3$o || (_templateObject3$o = /*#__PURE__*/_taggedTemplateLiteralLoose([""])));
|
|
7257
7260
|
var Overlay = /*#__PURE__*/styled(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"])));
|
|
7258
7261
|
|
|
7259
|
-
var _excluded$
|
|
7262
|
+
var _excluded$g = ["isOpen", "setIsOpen", "children", "appElementId"];
|
|
7260
7263
|
var MAX_Z_INDEX = 9999999999;
|
|
7261
7264
|
if (Modal.defaultStyles.content) {
|
|
7262
7265
|
Modal.defaultStyles.content.position = 'static';
|
|
@@ -7330,7 +7333,7 @@ var ModalWindow = function ModalWindow(_ref) {
|
|
|
7330
7333
|
setIsOpen = _ref.setIsOpen,
|
|
7331
7334
|
children = _ref.children,
|
|
7332
7335
|
appElementId = _ref.appElementId,
|
|
7333
|
-
modalProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
7336
|
+
modalProps = _objectWithoutPropertiesLoose(_ref, _excluded$g);
|
|
7334
7337
|
var isMobile = useMobile();
|
|
7335
7338
|
var customStyles = {
|
|
7336
7339
|
overlay: {
|
|
@@ -7524,7 +7527,7 @@ var getMovedSlides = function getMovedSlides(delta, slideWidths) {
|
|
|
7524
7527
|
return movedSlides;
|
|
7525
7528
|
};
|
|
7526
7529
|
|
|
7527
|
-
var _excluded$
|
|
7530
|
+
var _excluded$h = ["children", "infinite", "onIndexChange", "slidesOffsetBefore", "slidesAriaHidden", "onActiveChange"];
|
|
7528
7531
|
var MAX_CLONES_NUMBER = 6;
|
|
7529
7532
|
var CLICK_DRAG_THRESHOLD = 10;
|
|
7530
7533
|
var getClonesCount = function getClonesCount(infinite, childrenLength) {
|
|
@@ -7549,7 +7552,7 @@ var Swipe = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
7549
7552
|
_ref$slidesAriaHidden = _ref.slidesAriaHidden,
|
|
7550
7553
|
slidesAriaHidden = _ref$slidesAriaHidden === void 0 ? false : _ref$slidesAriaHidden,
|
|
7551
7554
|
onActiveChange = _ref.onActiveChange,
|
|
7552
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
7555
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$h);
|
|
7553
7556
|
var containerRef = useRef(null);
|
|
7554
7557
|
var childRefs = useRef([]);
|
|
7555
7558
|
var startX = useRef(0);
|
|
@@ -7945,18 +7948,18 @@ var getBackgroundColor$1 = function getBackgroundColor(_ref2) {
|
|
|
7945
7948
|
var _templateObject$Q;
|
|
7946
7949
|
var AuxiliaryButtonWrapper = /*#__PURE__*/styled(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);
|
|
7947
7950
|
|
|
7948
|
-
var _excluded$
|
|
7951
|
+
var _excluded$i = ["children", "className"];
|
|
7949
7952
|
var AuxiliaryButton = function AuxiliaryButton(_ref) {
|
|
7950
7953
|
var children = _ref.children,
|
|
7951
7954
|
className = _ref.className,
|
|
7952
|
-
props = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
7955
|
+
props = _objectWithoutPropertiesLoose(_ref, _excluded$i);
|
|
7953
7956
|
return /*#__PURE__*/React__default.createElement(AuxiliaryButtonWrapper, Object.assign({}, props, {
|
|
7954
7957
|
iconClassName: "auxiliaryButtonIcon",
|
|
7955
7958
|
className: className
|
|
7956
7959
|
}), children);
|
|
7957
7960
|
};
|
|
7958
7961
|
|
|
7959
|
-
var _excluded$
|
|
7962
|
+
var _excluded$j = ["text"],
|
|
7960
7963
|
_excluded2$2 = ["text"];
|
|
7961
7964
|
var _buttonTypeToButton;
|
|
7962
7965
|
var buttonTypeToButton = (_buttonTypeToButton = {}, _buttonTypeToButton[ButtonType.Primary] = PrimaryButton, _buttonTypeToButton[ButtonType.Secondary] = SecondaryButton, _buttonTypeToButton[ButtonType.Tertiary] = TertiaryButton, _buttonTypeToButton);
|
|
@@ -7967,7 +7970,7 @@ var Buttons = function Buttons(_ref) {
|
|
|
7967
7970
|
var _ref2 = firstButton || {},
|
|
7968
7971
|
_ref2$text = _ref2.text,
|
|
7969
7972
|
firstButtonText = _ref2$text === void 0 ? '' : _ref2$text,
|
|
7970
|
-
restFirstButton = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
7973
|
+
restFirstButton = _objectWithoutPropertiesLoose(_ref2, _excluded$j);
|
|
7971
7974
|
var secondButton = links == null ? void 0 : links[1];
|
|
7972
7975
|
var _ref3 = secondButton || {},
|
|
7973
7976
|
_ref3$text = _ref3.text,
|
|
@@ -8391,7 +8394,7 @@ var ButtonsContainer$1 = /*#__PURE__*/styled.div(_templateObject12$2 || (_templa
|
|
|
8391
8394
|
return '';
|
|
8392
8395
|
});
|
|
8393
8396
|
|
|
8394
|
-
var _excluded$
|
|
8397
|
+
var _excluded$k = ["text"],
|
|
8395
8398
|
_excluded2$3 = ["text"];
|
|
8396
8399
|
var _buttonTypeToButton$1;
|
|
8397
8400
|
var LENGTH_LARGE_TEXT$1 = 28;
|
|
@@ -8441,7 +8444,7 @@ var Card = function Card(_ref) {
|
|
|
8441
8444
|
var _ref2 = firstButton || {},
|
|
8442
8445
|
_ref2$text = _ref2.text,
|
|
8443
8446
|
firstButtonText = _ref2$text === void 0 ? '' : _ref2$text,
|
|
8444
|
-
restFirstButton = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
8447
|
+
restFirstButton = _objectWithoutPropertiesLoose(_ref2, _excluded$k);
|
|
8445
8448
|
var primaryButtonTextTruncate = size === 'small' ? truncate(firstButtonText, LENGTH_SMALL_TEXT$2) : truncate(firstButtonText, LENGTH_LARGE_TEXT$1);
|
|
8446
8449
|
var secondButton = links == null ? void 0 : links[1];
|
|
8447
8450
|
var _ref3 = secondButton || {},
|
|
@@ -8786,7 +8789,7 @@ var HotFiltersWrapper = /*#__PURE__*/styled.div(_templateObject$Z || (_templateO
|
|
|
8786
8789
|
var HotFilterOptionsWrapper = /*#__PURE__*/styled.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);
|
|
8787
8790
|
var StyledHotFiltersButton = /*#__PURE__*/styled(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"])));
|
|
8788
8791
|
|
|
8789
|
-
var _excluded$
|
|
8792
|
+
var _excluded$l = ["text", "onClick"];
|
|
8790
8793
|
var HotFilters = function HotFilters(_ref) {
|
|
8791
8794
|
var items = _ref.items,
|
|
8792
8795
|
className = _ref.className,
|
|
@@ -8802,7 +8805,7 @@ var HotFilters = function HotFilters(_ref) {
|
|
|
8802
8805
|
}, /*#__PURE__*/React__default.createElement(HotFilterOptionsWrapper, null, items.map(function (item, index) {
|
|
8803
8806
|
var text = item.text,
|
|
8804
8807
|
_onClick = item.onClick,
|
|
8805
|
-
rest = _objectWithoutPropertiesLoose(item, _excluded$
|
|
8808
|
+
rest = _objectWithoutPropertiesLoose(item, _excluded$l);
|
|
8806
8809
|
var isSelected = index === selectedIndex;
|
|
8807
8810
|
return /*#__PURE__*/React__default.createElement(StyledHotFiltersButton, Object.assign({
|
|
8808
8811
|
key: index,
|
|
@@ -9131,7 +9134,7 @@ var TextWrapper$1 = /*#__PURE__*/styled.div(_templateObject6$i || (_templateObje
|
|
|
9131
9134
|
var ButtonWrapper$2 = /*#__PURE__*/styled.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);
|
|
9132
9135
|
var ScrollDownWrapper = /*#__PURE__*/styled.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);
|
|
9133
9136
|
|
|
9134
|
-
var _excluded$
|
|
9137
|
+
var _excluded$m = ["text"];
|
|
9135
9138
|
var PageHeadingImpact = function PageHeadingImpact(_ref) {
|
|
9136
9139
|
var children = _ref.children,
|
|
9137
9140
|
text = _ref.text,
|
|
@@ -9149,7 +9152,7 @@ var PageHeadingImpact = function PageHeadingImpact(_ref) {
|
|
|
9149
9152
|
var truncatedText = text == null ? void 0 : text.substring(0, 75);
|
|
9150
9153
|
var _ref2 = link || {},
|
|
9151
9154
|
linkText = _ref2.text,
|
|
9152
|
-
restLink = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
9155
|
+
restLink = _objectWithoutPropertiesLoose(_ref2, _excluded$m);
|
|
9153
9156
|
return /*#__PURE__*/React__default.createElement(ImpactWrapper, {
|
|
9154
9157
|
bgUrlDesktop: bgUrlDesktop,
|
|
9155
9158
|
bgUrlDevice: bgUrlDevice,
|
|
@@ -9563,7 +9566,7 @@ var CompactHeaderBranding = function CompactHeaderBranding(_ref) {
|
|
|
9563
9566
|
return /*#__PURE__*/React__default.createElement(CompactHeaderLogoWrapper, null, renderBranding(brandingStyle, invert, brandingText, brandingLink));
|
|
9564
9567
|
};
|
|
9565
9568
|
|
|
9566
|
-
var _excluded$
|
|
9569
|
+
var _excluded$n = ["text"];
|
|
9567
9570
|
var useResponsiveVideo = function useResponsiveVideo(video, poster) {
|
|
9568
9571
|
var mobileVideo = video.mobile || video.desktop;
|
|
9569
9572
|
var desktopVideo = video.desktop || video.mobile;
|
|
@@ -9668,7 +9671,7 @@ var PageHeadingCompact = function PageHeadingCompact(_ref4) {
|
|
|
9668
9671
|
showCopy = _ref4$showCopy === void 0 ? true : _ref4$showCopy;
|
|
9669
9672
|
var _ref5 = link || {},
|
|
9670
9673
|
linkText = _ref5.text,
|
|
9671
|
-
restLink = _objectWithoutPropertiesLoose(_ref5, _excluded$
|
|
9674
|
+
restLink = _objectWithoutPropertiesLoose(_ref5, _excluded$n);
|
|
9672
9675
|
// const titleSize = title && title.length > 20 ? 4 : 3;
|
|
9673
9676
|
var video = {
|
|
9674
9677
|
elementId: 'compact-header-video',
|
|
@@ -10132,7 +10135,7 @@ var HarmonicHeaderWithWrapper = /*#__PURE__*/styled(HarmonicHeader)(_templateObj
|
|
|
10132
10135
|
var BodyCopyHarmonicWithWrapper$1 = /*#__PURE__*/styled(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);
|
|
10133
10136
|
var HarmonicSubtitleWithWrapper = /*#__PURE__*/styled(HarmonicSubtitle)(_templateObject16 || (_templateObject16 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n overflow-wrap: break-word;\n margin-bottom: 16px;\n"])));
|
|
10134
10137
|
|
|
10135
|
-
var _excluded$
|
|
10138
|
+
var _excluded$o = ["text"],
|
|
10136
10139
|
_excluded2$4 = ["text"],
|
|
10137
10140
|
_excluded3 = ["text"];
|
|
10138
10141
|
var _buttonTypeToButton$2;
|
|
@@ -10193,7 +10196,7 @@ var PromoWithTags = function PromoWithTags(_ref) {
|
|
|
10193
10196
|
var _ref2 = firstButton || {},
|
|
10194
10197
|
_ref2$text = _ref2.text,
|
|
10195
10198
|
firstButtonText = _ref2$text === void 0 ? '' : _ref2$text,
|
|
10196
|
-
restFirstButton = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
10199
|
+
restFirstButton = _objectWithoutPropertiesLoose(_ref2, _excluded$o);
|
|
10197
10200
|
var primaryButtonTextTruncate = truncate(firstButtonText, LENGTH_TEXT$1);
|
|
10198
10201
|
var secondButton = links == null ? void 0 : links[1];
|
|
10199
10202
|
var _ref3 = secondButton || {},
|
|
@@ -10468,7 +10471,7 @@ var PromoChild = function PromoChild(_ref) {
|
|
|
10468
10471
|
}));
|
|
10469
10472
|
};
|
|
10470
10473
|
|
|
10471
|
-
var _excluded$
|
|
10474
|
+
var _excluded$p = ["text"],
|
|
10472
10475
|
_excluded2$5 = ["text"];
|
|
10473
10476
|
var LENGTH_TEXT$3 = 28;
|
|
10474
10477
|
var PromoWithTitle = function PromoWithTitle(_ref) {
|
|
@@ -10495,7 +10498,7 @@ var PromoWithTitle = function PromoWithTitle(_ref) {
|
|
|
10495
10498
|
var _ref2 = primaryButton || {},
|
|
10496
10499
|
_ref2$text = _ref2.text,
|
|
10497
10500
|
primaryButtonText = _ref2$text === void 0 ? '' : _ref2$text,
|
|
10498
|
-
restPrimaryButton = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
10501
|
+
restPrimaryButton = _objectWithoutPropertiesLoose(_ref2, _excluded$p);
|
|
10499
10502
|
var primaryButtonTextTruncate = truncate(primaryButtonText, LENGTH_TEXT$3);
|
|
10500
10503
|
var tertiaryButton = links == null ? void 0 : links[1];
|
|
10501
10504
|
var _ref3 = tertiaryButton || {},
|
|
@@ -11194,7 +11197,7 @@ var ErrorLabel$5 = /*#__PURE__*/styled.div(_templateObject4$C || (_templateObjec
|
|
|
11194
11197
|
return "var(--base-color-errorstate)";
|
|
11195
11198
|
});
|
|
11196
11199
|
|
|
11197
|
-
var _excluded$
|
|
11200
|
+
var _excluded$q = ["label", "error", "width", "darkMode", "isSearchable", "components"];
|
|
11198
11201
|
var DropdownIndicator = function DropdownIndicator(props) {
|
|
11199
11202
|
return /*#__PURE__*/React__default.createElement(components.DropdownIndicator, Object.assign({}, props), /*#__PURE__*/React__default.createElement(Icon, {
|
|
11200
11203
|
iconName: "DropdownArrow"
|
|
@@ -11245,7 +11248,7 @@ var SelectComponent = function SelectComponent(_ref2) {
|
|
|
11245
11248
|
_ref2$isSearchable = _ref2.isSearchable,
|
|
11246
11249
|
isSearchable = _ref2$isSearchable === void 0 ? false : _ref2$isSearchable,
|
|
11247
11250
|
components = _ref2.components,
|
|
11248
|
-
selectProps = _objectWithoutPropertiesLoose(_ref2, _excluded$
|
|
11251
|
+
selectProps = _objectWithoutPropertiesLoose(_ref2, _excluded$q);
|
|
11249
11252
|
return /*#__PURE__*/React__default.createElement(WrapperComponent, {
|
|
11250
11253
|
label: label,
|
|
11251
11254
|
error: error,
|
|
@@ -11263,7 +11266,7 @@ var SelectComponent = function SelectComponent(_ref2) {
|
|
|
11263
11266
|
})));
|
|
11264
11267
|
};
|
|
11265
11268
|
|
|
11266
|
-
var _excluded$
|
|
11269
|
+
var _excluded$r = ["label", "error", "width", "darkMode", "components"];
|
|
11267
11270
|
/**
|
|
11268
11271
|
* The Select2Async component is similar to Select 2, but uses react-select async
|
|
11269
11272
|
* component for select instead of regular react-select component. This can be used
|
|
@@ -11285,7 +11288,7 @@ var SelectComponent$1 = function SelectComponent(_ref) {
|
|
|
11285
11288
|
_ref$darkMode = _ref.darkMode,
|
|
11286
11289
|
darkMode = _ref$darkMode === void 0 ? false : _ref$darkMode,
|
|
11287
11290
|
components = _ref.components,
|
|
11288
|
-
selectProps = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
11291
|
+
selectProps = _objectWithoutPropertiesLoose(_ref, _excluded$r);
|
|
11289
11292
|
return /*#__PURE__*/React__default.createElement(WrapperComponent, {
|
|
11290
11293
|
label: label,
|
|
11291
11294
|
error: error,
|
|
@@ -12625,11 +12628,11 @@ var HighlightsCarousel = function HighlightsCarousel(_ref) {
|
|
|
12625
12628
|
})));
|
|
12626
12629
|
};
|
|
12627
12630
|
|
|
12628
|
-
var _excluded$
|
|
12631
|
+
var _excluded$s = ["logo", "slides"];
|
|
12629
12632
|
var HighlightsCinema = function HighlightsCinema(_ref) {
|
|
12630
12633
|
var logo = _ref.logo,
|
|
12631
12634
|
slides = _ref.slides,
|
|
12632
|
-
rest = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
12635
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded$s);
|
|
12633
12636
|
var slidesWithLinks = slides.map(function (slide) {
|
|
12634
12637
|
var links = processSlideLinks(slide.links);
|
|
12635
12638
|
return _extends({}, slide, {
|
|
@@ -12646,10 +12649,10 @@ var HighlightsCinema = function HighlightsCinema(_ref) {
|
|
|
12646
12649
|
})));
|
|
12647
12650
|
};
|
|
12648
12651
|
|
|
12649
|
-
var _excluded$
|
|
12652
|
+
var _excluded$t = ["slides"];
|
|
12650
12653
|
var HighlightsCore = function HighlightsCore(_ref) {
|
|
12651
12654
|
var slides = _ref.slides,
|
|
12652
|
-
rest = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
12655
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded$t);
|
|
12653
12656
|
var slidesWithLinks = slides.map(function (slide) {
|
|
12654
12657
|
var links = processSlideLinks(slide.links);
|
|
12655
12658
|
return _extends({}, slide, {
|
|
@@ -12663,11 +12666,11 @@ var HighlightsCore = function HighlightsCore(_ref) {
|
|
|
12663
12666
|
})));
|
|
12664
12667
|
};
|
|
12665
12668
|
|
|
12666
|
-
var _excluded$
|
|
12669
|
+
var _excluded$u = ["logo", "slides"];
|
|
12667
12670
|
var HighlightsStream = function HighlightsStream(_ref) {
|
|
12668
12671
|
var logo = _ref.logo,
|
|
12669
12672
|
slides = _ref.slides,
|
|
12670
|
-
rest = _objectWithoutPropertiesLoose(_ref, _excluded$
|
|
12673
|
+
rest = _objectWithoutPropertiesLoose(_ref, _excluded$u);
|
|
12671
12674
|
var slidesWithLinks = slides.map(function (slide) {
|
|
12672
12675
|
var links = processSlideLinks(slide.links);
|
|
12673
12676
|
return _extends({}, slide, {
|