@royaloperahouse/harmonic 0.2.3-j → 0.2.3-k
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/dist/components/organisms/Carousels/HighlightsCarousel/HighlightsCarousel.d.ts +1 -0
- package/dist/harmonic.cjs.development.js +9 -1
- 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 +9 -1
- package/dist/harmonic.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/harmonic.esm.js
CHANGED
|
@@ -7963,7 +7963,7 @@ var Carousel = function Carousel(_ref) {
|
|
|
7963
7963
|
};
|
|
7964
7964
|
|
|
7965
7965
|
var _templateObject$P, _templateObject2$C, _templateObject3$p, _templateObject4$k, _templateObject5$f, _templateObject6$d, _templateObject7$9, _templateObject8$6, _templateObject9$3, _templateObject10$3, _templateObject11$1, _templateObject12$1, _templateObject13$1, _templateObject14$1, _templateObject15$1, _templateObject16, _templateObject17;
|
|
7966
|
-
var HighlightsGrid = /*#__PURE__*/styled(Grid)(_templateObject$P || (_templateObject$P = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: relative;\n grid-template-rows: max-content minmax(0, 1fr);\n gap: 0 var(--grid-column-gap);\n background-color: var(--color-base-black);\n
|
|
7966
|
+
var HighlightsGrid = /*#__PURE__*/styled(Grid)(_templateObject$P || (_templateObject$P = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: relative;\n grid-template-rows: max-content minmax(0, 1fr);\n gap: 0 var(--grid-column-gap);\n background-color: var(--color-base-black);\n user-select: none;\n\n .highlight-carousel-text {\n color: var(--color-base-white);\n }\n\n @media ", " {\n & {\n grid-template-rows: min-content max-content max-content;\n }\n }\n"])), devices.mobile);
|
|
7967
7967
|
var CarouselTitleWrapper = /*#__PURE__*/styled.div(_templateObject2$C || (_templateObject2$C = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n grid-area: 1 / 1 / 1 / 7;\n box-sizing: border-box;\n width: calc(100% + var(--grid-column-gap));\n padding-top: 40px;\n padding-left: 50px;\n padding-right: 36px;\n user-select: text;\n\n @media ", " {\n & {\n grid-area: 1 / 1 / 2 / 12;\n padding: 12px 0 12px var(--grid-margin);\n min-height: 64px;\n box-sizing: border-box;\n width: 100%;\n }\n }\n\n @media ", " {\n & {\n grid-area: 1 / 1 / 2 / 11;\n width: 100%;\n padding: 8px 0 8px 20px;\n min-height: 28px;\n }\n }\n"])), devices.tablet, devices.mobile);
|
|
7968
7968
|
var HeaderWrapper = /*#__PURE__*/styled.div(_templateObject3$p || (_templateObject3$p = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n margin: 0;\n padding: 0;\n"])));
|
|
7969
7969
|
var InfoWrapper = /*#__PURE__*/styled.div(_templateObject4$k || (_templateObject4$k = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n grid-area: 2 / 1 / 2 / 7;\n box-sizing: border-box;\n width: calc(100% + var(--grid-column-gap));\n align-self: center;\n padding: 36px 36px 36px 50px;\n\n @media ", " {\n & {\n grid-area: 2 / 1 / 2 / 7;\n padding: 0 12px 12px var(--grid-margin);\n }\n }\n\n @media ", " {\n & {\n grid-area: 3 / 1 / 4 / 15;\n width: 100%;\n padding: 0 20px;\n margin: 24px 0;\n }\n }\n"])), devices.tablet, devices.mobile);
|
|
@@ -8112,6 +8112,7 @@ var InfoSection = function InfoSection(_ref) {
|
|
|
8112
8112
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, timerParams && (/*#__PURE__*/React__default.createElement(TimerWrapper$1, {
|
|
8113
8113
|
"data-testid": "highlight-carousel-timer-wrapper"
|
|
8114
8114
|
}, finishedTimers.includes(currentSlideIndex) ? (/*#__PURE__*/React__default.createElement(HarmonicSubtitle, {
|
|
8115
|
+
className: "highlight-carousel-text",
|
|
8115
8116
|
size: "large"
|
|
8116
8117
|
}, timerParams.endDateText)) : (/*#__PURE__*/React__default.createElement(Timer, {
|
|
8117
8118
|
color: Colors.White,
|
|
@@ -8119,19 +8120,24 @@ var InfoSection = function InfoSection(_ref) {
|
|
|
8119
8120
|
endDate: timerParams.endDate,
|
|
8120
8121
|
title: timerParams.title
|
|
8121
8122
|
})))), logo ? /*#__PURE__*/React__default.createElement(InfoLogoWrapper, null, logo) : null, /*#__PURE__*/React__default.createElement(InfoTitleWrapper, null, /*#__PURE__*/React__default.createElement(HarmonicHeader, {
|
|
8123
|
+
className: TYPOGRAPHY_CLASS_NAME,
|
|
8122
8124
|
size: "large",
|
|
8123
8125
|
hierarchy: "h3"
|
|
8124
8126
|
}, infoTitle), /*#__PURE__*/React__default.createElement(HarmonicOverline, {
|
|
8127
|
+
className: TYPOGRAPHY_CLASS_NAME,
|
|
8125
8128
|
size: "large"
|
|
8126
8129
|
}, infoTimeframe)), /*#__PURE__*/React__default.createElement(InfoTextWrapper, null, /*#__PURE__*/React__default.createElement(InfoSubtitleWrapper, null, /*#__PURE__*/React__default.createElement(HarmonicOverline, {
|
|
8130
|
+
className: TYPOGRAPHY_CLASS_NAME,
|
|
8127
8131
|
size: "large"
|
|
8128
8132
|
}, infoSubtitle)), /*#__PURE__*/React__default.createElement(BodyCopyHarmonic, {
|
|
8133
|
+
className: TYPOGRAPHY_CLASS_NAME,
|
|
8129
8134
|
size: "large"
|
|
8130
8135
|
}, /*#__PURE__*/React__default.createElement(HtmlBodyText, {
|
|
8131
8136
|
dangerouslySetInnerHTML: {
|
|
8132
8137
|
__html: description
|
|
8133
8138
|
}
|
|
8134
8139
|
})), additionalInfo && (/*#__PURE__*/React__default.createElement(AdditionalInfoWrapper, null, /*#__PURE__*/React__default.createElement(BodyCopyHarmonic, {
|
|
8140
|
+
className: TYPOGRAPHY_CLASS_NAME,
|
|
8135
8141
|
size: "large"
|
|
8136
8142
|
}, additionalInfo)))));
|
|
8137
8143
|
};
|
|
@@ -12364,6 +12370,7 @@ var SwipeCarousel = function SwipeCarousel(_ref2) {
|
|
|
12364
12370
|
}));
|
|
12365
12371
|
};
|
|
12366
12372
|
|
|
12373
|
+
var TYPOGRAPHY_CLASS_NAME = 'highlight-carousel-text';
|
|
12367
12374
|
var HighlightsCarousel = function HighlightsCarousel(_ref) {
|
|
12368
12375
|
var logo = _ref.logo,
|
|
12369
12376
|
carouselTitle = _ref.carouselTitle,
|
|
@@ -12410,6 +12417,7 @@ var HighlightsCarousel = function HighlightsCarousel(_ref) {
|
|
|
12410
12417
|
}, /*#__PURE__*/React__default.createElement(HeaderWrapper, {
|
|
12411
12418
|
id: carouselTitleId
|
|
12412
12419
|
}, /*#__PURE__*/React__default.createElement(HarmonicHeader, {
|
|
12420
|
+
className: TYPOGRAPHY_CLASS_NAME,
|
|
12413
12421
|
size: "medium",
|
|
12414
12422
|
serif: true,
|
|
12415
12423
|
hierarchy: titleSemanticLevelValue
|