@royaloperahouse/harmonic 0.14.0-b → 0.15.0-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.
@@ -10932,6 +10932,12 @@ var AnchorBarContainer = /*#__PURE__*/styled(Grid)(_templateObject$1f || (_templ
10932
10932
  var CloseButtonWrapper = /*#__PURE__*/styled.a(_templateObject4$G || (_templateObject4$G = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n text-decoration: none;\n display: flex;\n align-items: center;\n justify-content: center;\n min-height: 24px;\n min-width: 24px;\n max-height: 24px;\n max-width: 24px;\n border: none;\n padding: 0;\n background: none;\n\n :hover {\n cursor: pointer;\n }\n\n @media ", " {\n min-height: 12px;\n min-width: 12px;\n max-height: 12px;\n max-width: 12px;\n }\n"])), devices.mobile);
10933
10933
  var ContentWrapper$2 = /*#__PURE__*/styled.a(_templateObject5$A || (_templateObject5$A = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n display: flex;\n align-items: center;\n justify-content: space-between;\n"])));
10934
10934
 
10935
+ var defaultGrid = {
10936
+ columnStartDesktop: 2,
10937
+ columnSpanDesktop: 14,
10938
+ columnStartDevice: 2,
10939
+ columnSpanDevice: 12
10940
+ };
10935
10941
  var AnchorBar = function AnchorBar(_ref) {
10936
10942
  var cta = _ref.cta,
10937
10943
  onClickHandler = _ref.onClickHandler,
@@ -10940,7 +10946,9 @@ var AnchorBar = function AnchorBar(_ref) {
10940
10946
  showAnchorBar = _ref$showAnchorBar === void 0 ? true : _ref$showAnchorBar,
10941
10947
  className = _ref.className,
10942
10948
  _ref$withShadow = _ref.withShadow,
10943
- withShadow = _ref$withShadow === void 0 ? false : _ref$withShadow;
10949
+ withShadow = _ref$withShadow === void 0 ? false : _ref$withShadow,
10950
+ _ref$grid = _ref.grid,
10951
+ grid = _ref$grid === void 0 ? defaultGrid : _ref$grid;
10944
10952
  var _useState = useState(showAnchorBar),
10945
10953
  isRendered = _useState[0],
10946
10954
  setIsRendered = _useState[1];
@@ -10964,12 +10972,7 @@ var AnchorBar = function AnchorBar(_ref) {
10964
10972
  "data-testid": "anchor-bar",
10965
10973
  className: className,
10966
10974
  withShadow: withShadow
10967
- }, /*#__PURE__*/React__default.createElement(GridItem, {
10968
- columnStartDesktop: 2,
10969
- columnSpanDesktop: 14,
10970
- columnStartDevice: 2,
10971
- columnSpanDevice: 12
10972
- }, /*#__PURE__*/React__default.createElement(ContentWrapper$2, null, /*#__PURE__*/React__default.createElement(TextLink, {
10975
+ }, /*#__PURE__*/React__default.createElement(GridItem, Object.assign({}, grid), /*#__PURE__*/React__default.createElement(ContentWrapper$2, null, /*#__PURE__*/React__default.createElement(TextLink, {
10973
10976
  href: (_cta$href = cta.href) != null ? _cta$href : '#',
10974
10977
  onClick: onCtaClickHandler,
10975
10978
  tabIndex: 0