@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.
- package/dist/components/atoms/Buttons/Auxiliary/AuxiliaryButton.style.d.ts +1 -1
- package/dist/components/atoms/Buttons/Button.d.ts +1 -1
- package/dist/components/atoms/Buttons/Primary/PrimaryButton.d.ts +1 -1
- package/dist/components/atoms/Buttons/Primary/PrimaryButton.style.d.ts +1 -1
- package/dist/components/atoms/Buttons/Secondary/SecondaryButton.style.d.ts +1 -1
- package/dist/components/atoms/Icons/SvgIcons/index.d.ts +2 -2
- package/dist/components/molecules/CustomStrategyTabsFilter/styled.d.ts +1 -1
- package/dist/components/molecules/HotFilters/HotFilters.style.d.ts +1 -1
- package/dist/components/molecules/PageHeading/Compact/Compact.style.d.ts +1 -1
- package/dist/components/molecules/PageHeading/Impact/Impact.style.d.ts +1 -1
- package/dist/components/organisms/Carousels/HighlightsCarousel/helper.d.ts +1 -1
- package/dist/components/organisms/TitleWithCTA/TitleWithCTA.style.d.ts +1 -1
- package/dist/harmonic.cjs.development.js +10 -10
- 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 +10 -10
- package/dist/harmonic.esm.js.map +1 -1
- package/package.json +1 -1
- /package/dist/components/atoms/Icons/SvgIcons/{18px → 16px}/Expand.svg.d.ts +0 -0
- /package/dist/components/atoms/Icons/SvgIcons/{18px → 16px}/Remove.svg.d.ts +0 -0
package/dist/harmonic.esm.js
CHANGED
|
@@ -784,13 +784,13 @@ var Tick = (function (_ref) {
|
|
|
784
784
|
}));
|
|
785
785
|
});
|
|
786
786
|
|
|
787
|
-
var
|
|
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: "
|
|
793
|
-
height: "
|
|
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
|
|
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: "
|
|
812
|
-
height: "
|
|
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
|
-
|
|
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
|
-
|
|
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 =
|
|
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
|
}
|