@royaloperahouse/harmonic 1.0.6-b → 1.0.6-d
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 +3 -10
- package/dist/components/molecules/CustomStrategyTabsFilter/CustomStrategyTabsFilter.d.ts +1 -1
- package/dist/harmonic.cjs.development.js +8 -6
- 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 +8 -6
- package/dist/harmonic.esm.js.map +1 -1
- package/dist/types/types.d.ts +4 -4
- package/package.json +1 -1
package/dist/harmonic.esm.js
CHANGED
|
@@ -3018,8 +3018,10 @@ var Button = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
3018
3018
|
ref: ref
|
|
3019
3019
|
}), iconName ? (/*#__PURE__*/React__default.createElement(ButtonIconWrapper, {
|
|
3020
3020
|
"data-testid": "button-icon",
|
|
3021
|
-
className: iconClassName
|
|
3021
|
+
className: iconClassName,
|
|
3022
|
+
"aria-hidden": true
|
|
3022
3023
|
}, /*#__PURE__*/React__default.createElement(Icon, {
|
|
3024
|
+
"aria-hidden": true,
|
|
3023
3025
|
iconName: iconName,
|
|
3024
3026
|
direction: iconDirection,
|
|
3025
3027
|
color: color
|
|
@@ -7434,7 +7436,7 @@ var _excluded$j = ["text", "id", "isSelected"];
|
|
|
7434
7436
|
* Called when a tab is clicked. Receives the full clicked item (including
|
|
7435
7437
|
* `allowedSelectedWith`). The parent is responsible for computing the next
|
|
7436
7438
|
* `items` array and passing it back down with updated `isSelected` values.
|
|
7437
|
-
*
|
|
7439
|
+
* as long as no return statement `type` is bing inferred automatically as void
|
|
7438
7440
|
*
|
|
7439
7441
|
* @param [customViewConfig]
|
|
7440
7442
|
* Optional visual configuration used to customize:
|
|
@@ -8461,7 +8463,7 @@ var BrandingTextBlock = /*#__PURE__*/styled.div(_templateObject$X || (_templateO
|
|
|
8461
8463
|
var BrandingTextBody = /*#__PURE__*/styled.div(_templateObject2$K || (_templateObject2$K = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n font-family: var(--font-family-body);\n font-size: var(--font-size-heading-6);\n line-height: var(--line-height-heading-6);\n"])));
|
|
8462
8464
|
var ComapctHeaderWrapper = /*#__PURE__*/styled.div(_templateObject3$x || (_templateObject3$x = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: relative;\n display: block;\n"])));
|
|
8463
8465
|
var CompactHeaderAssetWrapper = /*#__PURE__*/styled.div(_templateObject5$n || (_templateObject5$n = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n height: 37.5vw;\n width: 100%;\n position: relative;\n overflow: hidden;\n background-color: #000;\n img {\n position: relative;\n height: 100%;\n width: 100%;\n object-fit: cover;\n }\n video {\n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n width: 100%;\n object-fit: contain;\n @media ", " {\n position: absolute;\n top: 0;\n left: 0;\n bottom: 0;\n margin: auto;\n height: auto;\n max-height: 100vh;\n width: 100%;\n object-fit: contain;\n }\n }\n @media ", " {\n height: 85vw;\n max-height: 100vh;\n }\n"])), devices.mobile, devices.mobile);
|
|
8464
|
-
var CompactHeaderCopyWrapper = /*#__PURE__*/styled(Grid)(_templateObject6$g || (_templateObject6$g = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: relative;\n height: 160px;\n grid-template-rows: min-content min-content
|
|
8466
|
+
var CompactHeaderCopyWrapper = /*#__PURE__*/styled(Grid)(_templateObject6$g || (_templateObject6$g = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: relative;\n height: 160px;\n grid-template-rows: min-content min-content min-content;\n grid-template-areas:\n '. . . . . . . . . . . . . . . .'\n '. logo logo logo title title title title title title title title cta cta . .'\n '. . . . . . . . . . . . . . . .';\n align-content: center;\n gap: 0 var(--grid-column-gap);\n background-color: ", ";\n color: ", ";\n\n svg {\n width: 210px;\n fill: ", ";\n }\n\n h1::selection,\n div::selection {\n ", ";\n }\n\n @media ", " {\n grid-template-columns: 1fr;\n grid-template-areas:\n 'logo'\n 'title'\n 'cta';\n\n gap: 0;\n row-gap: 16px;\n height: auto;\n padding: 32px 20px;\n svg {\n width: 145px;\n }\n }\n\n @media ", " {\n grid-template-columns: 1fr;\n grid-template-areas:\n 'logo'\n 'title'\n 'cta';\n\n gap: 0;\n row-gap: 16px;\n height: auto;\n padding: 32px 20px;\n\n svg {\n width: 180px;\n }\n }\n"])), function (_ref) {
|
|
8465
8467
|
var invert = _ref.invert,
|
|
8466
8468
|
theme = _ref.theme;
|
|
8467
8469
|
return invert ? theme.colors.white : theme.colors.primary;
|
|
@@ -8477,9 +8479,9 @@ var CompactHeaderCopyWrapper = /*#__PURE__*/styled(Grid)(_templateObject6$g || (
|
|
|
8477
8479
|
var theme = _ref4.theme;
|
|
8478
8480
|
return theme.colors.primary === theme.colors.stream && "\n color: " + theme.colors.stream + ";\n background-color: " + theme.colors.white + ";\n ";
|
|
8479
8481
|
}, devices.tablet, devices.mobile);
|
|
8480
|
-
var CompactHeaderLogoWrapper = /*#__PURE__*/styled.div(_templateObject7$c || (_templateObject7$c = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n grid-area: logo;\n
|
|
8481
|
-
var CompactHeaderTitleWrapper = /*#__PURE__*/styled.div(_templateObject8$9 || (_templateObject8$9 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n grid-area: title;\n align-items: center;\n justify-content: center;\n font-family: var(--font-family-header);\n text-
|
|
8482
|
-
var CompactHeaderCTAWrapper = /*#__PURE__*/styled.div(_templateObject9$5 || (_templateObject9$5 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n grid-area: cta;\n justify-content: right;\n align-items: center;\n
|
|
8482
|
+
var CompactHeaderLogoWrapper = /*#__PURE__*/styled.div(_templateObject7$c || (_templateObject7$c = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n grid-area: logo;\n justify-content: left;\n align-items: center;\n width: 100%;\n @media ", " {\n padding-left: 0px;\n justify-content: center;\n }\n"])), devices.mobileAndTablet);
|
|
8483
|
+
var CompactHeaderTitleWrapper = /*#__PURE__*/styled.div(_templateObject8$9 || (_templateObject8$9 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n grid-area: title;\n align-items: center;\n justify-content: center;\n font-family: var(--font-family-header);\n text-align: center;\n\n min-width: 0;\n overflow: hidden;\n\n @media ", " {\n justify-content: center;\n padding: 0 3em;\n }\n"])), devices.mobileAndTablet);
|
|
8484
|
+
var CompactHeaderCTAWrapper = /*#__PURE__*/styled.div(_templateObject9$5 || (_templateObject9$5 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n grid-area: cta;\n justify-content: right;\n align-items: center;\n @media ", " {\n padding-right: 0px;\n justify-content: center;\n }\n"])), devices.mobileAndTablet);
|
|
8483
8485
|
var PrimaryButtonWithInversion = /*#__PURE__*/styled(PrimaryButton)(_templateObject0$5 || (_templateObject0$5 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n background-color: ", ";\n color: ", ";\n svg {\n fill: ", ";\n path {\n fill: ", ";\n }\n }\n min-width: 145px;\n"])), function (_ref5) {
|
|
8484
8486
|
var invert = _ref5.invert,
|
|
8485
8487
|
theme = _ref5.theme;
|