@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 CHANGED
@@ -1,18 +1,11 @@
1
- ## [1.0.5-e]
2
- - PrimaryButton hover only for device detected hover functionality
3
-
4
-
5
- ## [1.0.5-c]
1
+ ## [1.0.6]
2
+ - fixed Hot filter accessibility as well as aligning
3
+ ## [1.0.5]
6
4
  - Harmonic :
7
5
  - Added new CustomStrategy filter
8
6
  - Fixed alignment between title and sponsor logo upon Header
9
7
  - extended HighlightsCarousel to change infinit from false to true
10
8
 
11
- ## [Proposed: 1.0.5]
12
- - CastFilter: prevent duplicate screen reader announcements for actor images and ensure tapping an actor image ring toggles selection.
13
-
14
- ## [Proposed: 1.0.4]
15
-
16
9
  ## [1.0.4]
17
10
  - Castfilter: fix NDVA issues
18
11
 
@@ -23,7 +23,7 @@ import { TCustomStrategyTabsFilterProps } from '../../../types';
23
23
  * Called when a tab is clicked. Receives the full clicked item (including
24
24
  * `allowedSelectedWith`). The parent is responsible for computing the next
25
25
  * `items` array and passing it back down with updated `isSelected` values.
26
- * as long as no return statement `type` is inferred automatically as void
26
+ * as long as no return statement `type` is bing inferred automatically as void
27
27
  *
28
28
  * @param [customViewConfig]
29
29
  * Optional visual configuration used to customize:
@@ -2995,8 +2995,10 @@ var Button = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
2995
2995
  ref: ref
2996
2996
  }), iconName ? (/*#__PURE__*/React__default.createElement(ButtonIconWrapper, {
2997
2997
  "data-testid": "button-icon",
2998
- className: iconClassName
2998
+ className: iconClassName,
2999
+ "aria-hidden": true
2999
3000
  }, /*#__PURE__*/React__default.createElement(Icon, {
3001
+ "aria-hidden": true,
3000
3002
  iconName: iconName,
3001
3003
  direction: iconDirection,
3002
3004
  color: color
@@ -7407,7 +7409,7 @@ var _excluded$j = ["text", "id", "isSelected"];
7407
7409
  * Called when a tab is clicked. Receives the full clicked item (including
7408
7410
  * `allowedSelectedWith`). The parent is responsible for computing the next
7409
7411
  * `items` array and passing it back down with updated `isSelected` values.
7410
- * as long as no return statement `type` is inferred automatically as void
7412
+ * as long as no return statement `type` is bing inferred automatically as void
7411
7413
  *
7412
7414
  * @param [customViewConfig]
7413
7415
  * Optional visual configuration used to customize:
@@ -8420,7 +8422,7 @@ var BrandingTextBlock = /*#__PURE__*/styled__default.div(_templateObject$X || (_
8420
8422
  var BrandingTextBody = /*#__PURE__*/styled__default.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"])));
8421
8423
  var ComapctHeaderWrapper = /*#__PURE__*/styled__default.div(_templateObject3$x || (_templateObject3$x = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: relative;\n display: block;\n"])));
8422
8424
  var CompactHeaderAssetWrapper = /*#__PURE__*/styled__default.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);
8423
- var CompactHeaderCopyWrapper = /*#__PURE__*/styled__default(Grid)(_templateObject6$g || (_templateObject6$g = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n position: relative;\n height: 160px;\n grid-template-rows: min-content min-content;\n grid-template-rows: min-content min-content;\n grid-template-columns: [logo] 1fr [title] 3fr [cta] 1fr;\n align-content: center;\n gap: 0;\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 svg {\n width: 145px;\n }\n }\n\n @media ", " {\n display: flex;\n flex-direction: column;\n height: auto;\n padding: 32px 20px;\n\n svg {\n width: 180px;\n }\n }\n"])), function (_ref) {
8425
+ var CompactHeaderCopyWrapper = /*#__PURE__*/styled__default(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) {
8424
8426
  var invert = _ref.invert,
8425
8427
  theme = _ref.theme;
8426
8428
  return invert ? theme.colors.white : theme.colors.primary;
@@ -8436,9 +8438,9 @@ var CompactHeaderCopyWrapper = /*#__PURE__*/styled__default(Grid)(_templateObjec
8436
8438
  var theme = _ref4.theme;
8437
8439
  return theme.colors.primary === theme.colors.stream && "\n color: " + theme.colors.stream + ";\n background-color: " + theme.colors.white + ";\n ";
8438
8440
  }, devices.tablet, devices.mobile);
8439
- var CompactHeaderLogoWrapper = /*#__PURE__*/styled__default.div(_templateObject7$c || (_templateObject7$c = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n grid-area: logo;\n padding-left: 50px;\n justify-content: left;\n align-items: center;\n width: 100%;\n @media ", " {\n padding-left: 0px;\n justify-content: center;\n }\n @media ", " {\n width: fit-content;\n }\n"])), devices.mobile, devices.tablet);
8440
- var CompactHeaderTitleWrapper = /*#__PURE__*/styled__default.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-transform: uppercase;\n text-align: center;\n padding: 0 2em;\n @media ", " {\n justify-content: center;\n }\n"])), devices.mobile);
8441
- var CompactHeaderCTAWrapper = /*#__PURE__*/styled__default.div(_templateObject9$5 || (_templateObject9$5 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n grid-area: cta;\n justify-content: right;\n align-items: center;\n padding-right: 50px;\n @media ", " {\n padding-right: 0px;\n justify-content: center;\n }\n"])), devices.mobile);
8441
+ var CompactHeaderLogoWrapper = /*#__PURE__*/styled__default.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);
8442
+ var CompactHeaderTitleWrapper = /*#__PURE__*/styled__default.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);
8443
+ var CompactHeaderCTAWrapper = /*#__PURE__*/styled__default.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);
8442
8444
  var PrimaryButtonWithInversion = /*#__PURE__*/styled__default(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) {
8443
8445
  var invert = _ref5.invert,
8444
8446
  theme = _ref5.theme;