@royaloperahouse/harmonic 1.0.1 → 1.0.2

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,3 +1,6 @@
1
+ ## [1.0.2]
2
+ - AnchorTabBar: fix focused element
3
+
1
4
  ## [1.0.1]
2
5
  - Carousel: fix first click
3
6
 
@@ -11809,7 +11809,7 @@ var ArrowsContainer = /*#__PURE__*/styled__default.div(_templateObject8$f || (_t
11809
11809
  var withShadow = _ref7.withShadow;
11810
11810
  return withShadow && styled.css(_templateObject9$9 || (_templateObject9$9 = _taggedTemplateLiteralLoose(["\n box-shadow: var(--shadow-floating);\n "])));
11811
11811
  });
11812
- var ArrowWrapper = /*#__PURE__*/styled__default.div(_templateObject0$8 || (_templateObject0$8 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n width: 24px;\n height: 24px;\n cursor: ", ";\n pinter-events: ", ";\n display: flex;\n align-items: center;\n justify-content: flex-center;\n\n && svg path {\n fill: ", ";\n }\n"])), function (_ref8) {
11812
+ var ArrowWrapper = /*#__PURE__*/styled__default.div(_templateObject0$8 || (_templateObject0$8 = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n width: 24px;\n height: 24px;\n cursor: ", ";\n pointer-events: ", ";\n display: flex;\n align-items: center;\n justify-content: flex-center;\n\n && svg path {\n fill: ", ";\n }\n"])), function (_ref8) {
11813
11813
  var disabled = _ref8.disabled;
11814
11814
  return disabled ? 'not-allowed' : 'pointer';
11815
11815
  }, function (_ref9) {
@@ -11855,7 +11855,7 @@ var AnchorTabBar = function AnchorTabBar(_ref) {
11855
11855
  onTabClick(e, id);
11856
11856
  }
11857
11857
  setSelectedItem(id);
11858
- var clickedTab = document.getElementById("tablink-" + selectedItem);
11858
+ var clickedTab = document.getElementById("tablink-" + id);
11859
11859
  if (clickedTab) {
11860
11860
  clickedTab.focus();
11861
11861
  }