@royaloperahouse/harmonic 1.0.8-c → 1.0.8-e

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.
@@ -784,13 +784,13 @@ var Tick = (function (_ref) {
784
784
  }));
785
785
  });
786
786
 
787
- var Expand18px = (function (_ref) {
787
+ var Expand16px = (function (_ref) {
788
788
  var _ref$color = _ref.color,
789
789
  color = _ref$color === void 0 ? '#1A1A1A' : _ref$color,
790
790
  ariaLabel = _ref.ariaLabel;
791
791
  return /*#__PURE__*/createElement("svg", {
792
- width: "18",
793
- height: "18",
792
+ width: "16",
793
+ height: "16",
794
794
  viewBox: "1.5 1.5 9.5 9.5",
795
795
  fill: "none",
796
796
  "aria-label": ariaLabel,
@@ -801,15 +801,15 @@ var Expand18px = (function (_ref) {
801
801
  }));
802
802
  });
803
803
 
804
- var Remove18px = (function (_ref) {
804
+ var Remove16px = (function (_ref) {
805
805
  var _ref$color = _ref.color,
806
806
  color = _ref$color === void 0 ? '#1A1A1A' : _ref$color,
807
807
  ariaLabel = _ref.ariaLabel;
808
808
  return /*#__PURE__*/createElement("svg", {
809
809
  xmlns: "http://www.w3.org/2000/svg",
810
810
  viewBox: "1.5 1.2 10.5 10.5",
811
- width: "18",
812
- height: "18",
811
+ width: "16",
812
+ height: "16",
813
813
  fill: "none",
814
814
  "aria-label": ariaLabel
815
815
  }, /*#__PURE__*/createElement("g", null, /*#__PURE__*/createElement("path", {
@@ -2662,7 +2662,7 @@ var IconLibrary = {
2662
2662
  Email: Email,
2663
2663
  Expand: Expand,
2664
2664
  Expand12px: Expand12px,
2665
- Expand18px: Expand18px,
2665
+ Expand16px: Expand16px,
2666
2666
  ExternalLink: ExternalLink,
2667
2667
  Facebook: Facebook,
2668
2668
  FamilyFriendly: FamilyFriendly,
@@ -2700,7 +2700,7 @@ var IconLibrary = {
2700
2700
  Reminder: Reminder,
2701
2701
  Remove: Remove,
2702
2702
  Remove12px: Remove12px,
2703
- Remove18px: Remove18px,
2703
+ Remove16px: Remove16px,
2704
2704
  Restart: Restart,
2705
2705
  Search: Search,
2706
2706
  Seat: Seat,
@@ -12270,7 +12270,7 @@ var AnchorTabBar = function AnchorTabBar(_ref) {
12270
12270
  }, []);
12271
12271
  useEffect(function () {
12272
12272
  var scrollTriggerCheck = function scrollTriggerCheck() {
12273
- var elementGap = 100;
12273
+ var elementGap = LIST_ITEM_GAP;
12274
12274
  var reachedItem = tabs == null ? void 0 : tabs.find(function (item) {
12275
12275
  var targetSectionElement = document.getElementById(item.id);
12276
12276
  if (!targetSectionElement) return false;
@@ -12293,7 +12293,7 @@ var AnchorTabBar = function AnchorTabBar(_ref) {
12293
12293
  offsetWidth = tabLinkElement.offsetWidth;
12294
12294
  var isInView = offsetLeft >= scrollLeft && offsetLeft + offsetWidth < scrollLeft + clientWidth;
12295
12295
  if (!isInView && tabListRef != null && tabListRef.current) {
12296
- tabListRef.current.scrollLeft = offsetLeft;
12296
+ tabListRef.current.scrollLeft = offsetLeft - LIST_ITEM_GAP;
12297
12297
  }
12298
12298
  setSelectedItem(reachedItem.id);
12299
12299
  }