@royaloperahouse/harmonic 0.18.3 → 0.18.4
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 +3 -0
- package/dist/components/atoms/Icons/SvgIcons/Access/Captioned.svg.d.ts +4 -0
- package/dist/components/atoms/Icons/SvgIcons/Access/FamilyFriendly.svg.d.ts +4 -0
- package/dist/components/atoms/Icons/SvgIcons/Access/TouchTour.svg.d.ts +4 -0
- package/dist/components/atoms/Icons/SvgIcons/index.d.ts +3 -0
- package/dist/components/molecules/SkipToMain/SkipToMain.style.d.ts +1 -1
- package/dist/components/organisms/Carousels/HighlightsCarousel/helper.d.ts +1 -1
- package/dist/harmonic.cjs.development.js +89 -12
- 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 +89 -12
- package/dist/harmonic.esm.js.map +1 -1
- package/dist/types/types.d.ts +4 -0
- package/package.json +1 -1
package/dist/harmonic.esm.js
CHANGED
|
@@ -2041,7 +2041,7 @@ var AudioDescription = (function (_ref) {
|
|
|
2041
2041
|
return /*#__PURE__*/createElement("svg", {
|
|
2042
2042
|
width: "100%",
|
|
2043
2043
|
height: "100%",
|
|
2044
|
-
viewBox: "0 0
|
|
2044
|
+
viewBox: "0 0 25 25",
|
|
2045
2045
|
fill: "none",
|
|
2046
2046
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2047
2047
|
"aria-label": ariaLabel
|
|
@@ -2049,10 +2049,10 @@ var AudioDescription = (function (_ref) {
|
|
|
2049
2049
|
d: "M21 5V19H3V5H21ZM22 4H2V20H22V4Z",
|
|
2050
2050
|
fill: color
|
|
2051
2051
|
}), /*#__PURE__*/createElement("path", {
|
|
2052
|
-
d: "
|
|
2052
|
+
d: "M10.8194 15.0008L10.4494 13.7708H8.49937L8.12937 15.0008H7.10938L8.97937 9.05078H9.99937L11.8694 15.0008H10.8094H10.8194ZM9.76938 11.5608C9.65938 11.2108 9.56938 10.9108 9.46938 10.5208C9.35938 10.9208 9.26937 11.2508 9.16937 11.5608L8.74937 12.9208H10.1794L9.75938 11.5608H9.76938Z",
|
|
2053
2053
|
fill: color
|
|
2054
2054
|
}), /*#__PURE__*/createElement("path", {
|
|
2055
|
-
d: "M12.
|
|
2055
|
+
d: "M12.6797 15.0008V9.05078H14.3797C15.1197 9.05078 15.5597 9.21078 15.9097 9.49078C16.5697 10.0208 16.8497 10.9508 16.8497 12.0208C16.8497 13.0908 16.5697 14.0308 15.9097 14.5508C15.5597 14.8308 15.1197 14.9908 14.3797 14.9908H12.6797V15.0008ZM14.1197 14.1108C14.6597 14.1108 14.9197 14.0908 15.1597 13.9108C15.6997 13.5108 15.7797 12.5308 15.7797 12.0208C15.7797 11.5108 15.6997 10.5308 15.1597 10.1308C14.9197 9.95078 14.6697 9.93078 14.1197 9.93078H13.7397V14.0908H14.1197V14.1108Z",
|
|
2056
2056
|
fill: color
|
|
2057
2057
|
}));
|
|
2058
2058
|
});
|
|
@@ -2092,16 +2092,16 @@ var BritishSignLanguage = (function (_ref) {
|
|
|
2092
2092
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2093
2093
|
"aria-label": ariaLabel
|
|
2094
2094
|
}, /*#__PURE__*/createElement("path", {
|
|
2095
|
-
d: "M21
|
|
2095
|
+
d: "M21 5V19H3V5H21ZM22 4H2V20H22V4Z",
|
|
2096
2096
|
fill: color
|
|
2097
2097
|
}), /*#__PURE__*/createElement("path", {
|
|
2098
|
-
d: "M5.
|
|
2098
|
+
d: "M5.32031 14.9988V9.04883H7.52031C8.18031 9.04883 8.62031 9.28883 8.91031 9.66883C9.11031 9.91883 9.23031 10.2588 9.23031 10.6088C9.23031 11.1788 8.93031 11.7488 8.34031 11.9388C8.95031 12.1288 9.40031 12.6688 9.40031 13.3988C9.40031 13.9288 9.17031 14.3488 8.85031 14.6288C8.58031 14.8688 8.23031 14.9988 7.55031 14.9988H5.32031ZM7.31031 11.5688C7.68031 11.5688 7.85031 11.4888 7.97031 11.3488C8.10031 11.1988 8.17031 10.9788 8.17031 10.7588C8.17031 10.5188 8.10031 10.3088 7.97031 10.1588C7.85031 10.0188 7.68031 9.93883 7.31031 9.93883H6.38031V11.5688H7.31031ZM7.45031 14.1088C7.86031 14.1088 8.04031 14.0088 8.17031 13.8188C8.27031 13.6788 8.33031 13.4788 8.33031 13.2788C8.33031 13.0588 8.27031 12.8488 8.17031 12.7188C8.04031 12.5288 7.86031 12.4288 7.45031 12.4288H6.38031V14.1088H7.45031Z",
|
|
2099
2099
|
fill: color
|
|
2100
2100
|
}), /*#__PURE__*/createElement("path", {
|
|
2101
|
-
d: "M13.
|
|
2101
|
+
d: "M13.0719 11.0897C13.1019 10.9497 13.1219 10.7697 13.1219 10.5997C13.1219 10.0897 12.7919 9.78969 12.2419 9.78969C11.6919 9.78969 11.3919 10.1297 11.3919 10.5797C11.3919 11.2597 12.2819 11.3997 13.0519 11.7397C13.6919 12.0197 14.2519 12.4197 14.2519 13.3897C14.2519 14.4897 13.3419 15.1197 12.2319 15.1197C11.1219 15.1197 10.1719 14.5097 10.1719 13.3897C10.1719 13.1597 10.2119 12.9097 10.2619 12.7897L11.2319 12.7097C11.1919 12.8497 11.1519 13.1097 11.1519 13.3097C11.1519 13.8997 11.6319 14.2697 12.2519 14.2697C12.7219 14.2697 13.2119 13.9697 13.2119 13.4097C13.2119 12.6397 12.4119 12.5397 11.6719 12.2497C10.9619 11.9697 10.3519 11.5597 10.3519 10.6097C10.3519 9.65969 11.1619 8.92969 12.2119 8.92969C13.2619 8.92969 14.0919 9.59969 14.0919 10.5597C14.0919 10.7097 14.0619 10.8997 14.0319 10.9997L13.0719 11.0897Z",
|
|
2102
2102
|
fill: color
|
|
2103
2103
|
}), /*#__PURE__*/createElement("path", {
|
|
2104
|
-
d: "M15.
|
|
2104
|
+
d: "M15.3281 14.9988V9.04883H16.3881V14.1088H18.7681V14.9988H15.3281Z",
|
|
2105
2105
|
fill: color
|
|
2106
2106
|
}));
|
|
2107
2107
|
});
|
|
@@ -2175,6 +2175,78 @@ var OpenCaptions = (function (_ref) {
|
|
|
2175
2175
|
}));
|
|
2176
2176
|
});
|
|
2177
2177
|
|
|
2178
|
+
var Captioned = (function (_ref) {
|
|
2179
|
+
var _ref$color = _ref.color,
|
|
2180
|
+
color = _ref$color === void 0 ? '#1A1A1A' : _ref$color,
|
|
2181
|
+
ariaLabel = _ref.ariaLabel;
|
|
2182
|
+
return /*#__PURE__*/createElement("svg", {
|
|
2183
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2184
|
+
width: "100%",
|
|
2185
|
+
height: "100%",
|
|
2186
|
+
viewBox: "0 0 25 25",
|
|
2187
|
+
fill: "none",
|
|
2188
|
+
"aria-label": ariaLabel
|
|
2189
|
+
}, /*#__PURE__*/createElement("path", {
|
|
2190
|
+
d: "M21 5V19H3V5H21ZM22 4H2V20H22V4Z",
|
|
2191
|
+
fill: color
|
|
2192
|
+
}), /*#__PURE__*/createElement("path", {
|
|
2193
|
+
d: "M9.23998 12.89C9.23998 13.43 9.12999 13.91 8.87999 14.29C8.53999 14.83 7.92999 15.12 7.17999 15.12C6.33999 15.12 5.63998 14.71 5.23998 13.91C4.98998 13.41 4.85999 12.76 4.85999 12.01C4.85999 10.12 5.68999 8.91 7.18999 8.91C8.28999 8.91 9.06998 9.71 9.06998 10.85C9.06998 10.94 9.06999 11.14 9.03999 11.25L8.06998 11.29C8.08998 11.21 8.09999 11.06 8.09999 10.92C8.09999 10.31 7.79999 9.8 7.18999 9.8C6.35999 9.8 5.92999 10.68 5.92999 12.01C5.92999 12.53 5.98999 12.98 6.11999 13.34C6.28999 13.82 6.59999 14.22 7.18999 14.22C7.93999 14.22 8.30999 13.71 8.34999 12.69L9.24999 12.74V12.88L9.23998 12.89Z",
|
|
2194
|
+
fill: color
|
|
2195
|
+
}), /*#__PURE__*/createElement("path", {
|
|
2196
|
+
d: "M13.31 15L12.94 13.77H10.99L10.62 15H9.59998L11.47 9.05H12.49L14.36 15H13.3H13.31ZM12.27 11.56C12.16 11.21 12.07 10.91 11.97 10.52C11.86 10.92 11.77 11.25 11.67 11.56L11.25 12.92H12.68L12.26 11.56H12.27Z",
|
|
2197
|
+
fill: color
|
|
2198
|
+
}), /*#__PURE__*/createElement("path", {
|
|
2199
|
+
d: "M15.17 15V9.05H17.27C17.88 9.05 18.27 9.21 18.56 9.47C18.93 9.8 19.12 10.29 19.12 10.83C19.12 11.37 18.92 11.86 18.56 12.19C18.27 12.45 17.88 12.61 17.27 12.61H16.23V14.99H15.17V15ZM17.11 11.73C17.52 11.73 17.71 11.64 17.84 11.48C17.98 11.32 18.06 11.09 18.06 10.83C18.06 10.57 17.98 10.35 17.84 10.18C17.71 10.03 17.52 9.93 17.11 9.93H16.23V11.72H17.11V11.73Z",
|
|
2200
|
+
fill: color
|
|
2201
|
+
}));
|
|
2202
|
+
});
|
|
2203
|
+
|
|
2204
|
+
var FamilyFriendly = (function (_ref) {
|
|
2205
|
+
var _ref$color = _ref.color,
|
|
2206
|
+
color = _ref$color === void 0 ? '#1A1A1A' : _ref$color,
|
|
2207
|
+
ariaLabel = _ref.ariaLabel;
|
|
2208
|
+
return /*#__PURE__*/createElement("svg", {
|
|
2209
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2210
|
+
width: "100%",
|
|
2211
|
+
height: "100%",
|
|
2212
|
+
viewBox: "0 0 25 25",
|
|
2213
|
+
fill: "none",
|
|
2214
|
+
"aria-label": ariaLabel
|
|
2215
|
+
}, /*#__PURE__*/createElement("path", {
|
|
2216
|
+
d: "M21 5V19H3V5H21ZM22 4H2V20H22V4Z",
|
|
2217
|
+
fill: color
|
|
2218
|
+
}), /*#__PURE__*/createElement("path", {
|
|
2219
|
+
d: "M8.21 15V9.04999H11.57V9.93999H9.28V11.64H10.89V12.49H9.28V15H8.22H8.21Z",
|
|
2220
|
+
fill: color
|
|
2221
|
+
}), /*#__PURE__*/createElement("path", {
|
|
2222
|
+
d: "M12.48 15V9.04999H15.84V9.93999H13.55V11.64H15.16V12.49H13.55V15H12.49H12.48Z",
|
|
2223
|
+
fill: color
|
|
2224
|
+
}));
|
|
2225
|
+
});
|
|
2226
|
+
|
|
2227
|
+
var TouchTour = (function (_ref) {
|
|
2228
|
+
var _ref$color = _ref.color,
|
|
2229
|
+
color = _ref$color === void 0 ? '#1A1A1A' : _ref$color,
|
|
2230
|
+
ariaLabel = _ref.ariaLabel;
|
|
2231
|
+
return /*#__PURE__*/createElement("svg", {
|
|
2232
|
+
width: "100%",
|
|
2233
|
+
height: "100%",
|
|
2234
|
+
viewBox: "0 0 25 25",
|
|
2235
|
+
fill: "none",
|
|
2236
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2237
|
+
"aria-label": ariaLabel
|
|
2238
|
+
}, /*#__PURE__*/createElement("path", {
|
|
2239
|
+
d: "M21 5V19H3V5H21ZM22 4H2V20H22V4Z",
|
|
2240
|
+
fill: color
|
|
2241
|
+
}), /*#__PURE__*/createElement("path", {
|
|
2242
|
+
d: "M8.91 15V9.94H7.38V9.05H11.5V9.94H9.97001V15H8.91Z",
|
|
2243
|
+
fill: color
|
|
2244
|
+
}), /*#__PURE__*/createElement("path", {
|
|
2245
|
+
d: "M14.03 15V9.94H12.5V9.05H16.62V9.94H15.09V15H14.03Z",
|
|
2246
|
+
fill: color
|
|
2247
|
+
}));
|
|
2248
|
+
});
|
|
2249
|
+
|
|
2178
2250
|
var Forward10 = (function (_ref) {
|
|
2179
2251
|
var _ref$color = _ref.color,
|
|
2180
2252
|
color = _ref$color === void 0 ? '#1A1A1A' : _ref$color,
|
|
@@ -2322,13 +2394,13 @@ var RelaxedPerformance = (function (_ref) {
|
|
|
2322
2394
|
xmlns: "http://www.w3.org/2000/svg",
|
|
2323
2395
|
"aria-label": ariaLabel
|
|
2324
2396
|
}, /*#__PURE__*/createElement("path", {
|
|
2325
|
-
d: "M21
|
|
2397
|
+
d: "M21 5V19H3V5H21ZM22 4H2V20H22V4Z",
|
|
2326
2398
|
fill: color
|
|
2327
2399
|
}), /*#__PURE__*/createElement("path", {
|
|
2328
|
-
d: "
|
|
2400
|
+
d: "M10.3678 15.0008C10.2278 14.7508 10.2378 14.3408 10.2278 13.9408L10.2078 13.4208C10.2078 13.0508 10.1278 12.8608 9.99781 12.7308C9.85781 12.5908 9.64781 12.5808 9.36781 12.5808H8.56781V15.0008H7.50781V9.05078H9.64781C10.2578 9.05078 10.6478 9.21078 10.9378 9.47078C11.2878 9.78078 11.4978 10.2408 11.4978 10.7408C11.4978 11.4408 11.0078 12.1308 10.1478 12.1908C10.7578 12.2608 11.1478 12.6408 11.1978 13.4008L11.2278 13.9308C11.2578 14.2908 11.2578 14.5208 11.3078 14.6908C11.3378 14.7908 11.3878 14.9108 11.4978 14.9608V14.9908H10.3678V15.0008ZM9.48781 11.7308C9.89781 11.7308 10.0878 11.6408 10.2178 11.4808C10.3578 11.3208 10.4378 11.0908 10.4378 10.8308C10.4378 10.5708 10.3578 10.3508 10.2178 10.1808C10.0878 10.0308 9.89781 9.93078 9.48781 9.93078H8.56781V11.7208H9.48781V11.7308Z",
|
|
2329
2401
|
fill: color
|
|
2330
2402
|
}), /*#__PURE__*/createElement("path", {
|
|
2331
|
-
d: "
|
|
2403
|
+
d: "M12.6016 15.0008V9.05078H14.7016C15.3116 9.05078 15.7016 9.21078 15.9916 9.47078C16.3616 9.80078 16.5516 10.2908 16.5516 10.8308C16.5516 11.3708 16.3516 11.8608 15.9916 12.1908C15.7016 12.4508 15.3116 12.6108 14.7016 12.6108H13.6616V14.9908H12.6016V15.0008ZM14.5416 11.7308C14.9516 11.7308 15.1416 11.6408 15.2716 11.4808C15.4116 11.3208 15.4916 11.0908 15.4916 10.8308C15.4916 10.5708 15.4116 10.3508 15.2716 10.1808C15.1416 10.0308 14.9516 9.93078 14.5416 9.93078H13.6616V11.7208H14.5416V11.7308Z",
|
|
2332
2404
|
fill: color
|
|
2333
2405
|
}));
|
|
2334
2406
|
});
|
|
@@ -2480,6 +2552,7 @@ var IconLibrary = {
|
|
|
2480
2552
|
Clips: Clips,
|
|
2481
2553
|
Clock: Clock,
|
|
2482
2554
|
Close: Close,
|
|
2555
|
+
Captioned: Captioned,
|
|
2483
2556
|
ClosedCaptions: ClosedCaptions,
|
|
2484
2557
|
Confirm: Confirm,
|
|
2485
2558
|
CreditCard: CreditCard,
|
|
@@ -2492,6 +2565,7 @@ var IconLibrary = {
|
|
|
2492
2565
|
Expand12px: Expand12px,
|
|
2493
2566
|
ExternalLink: ExternalLink,
|
|
2494
2567
|
Facebook: Facebook,
|
|
2568
|
+
FamilyFriendly: FamilyFriendly,
|
|
2495
2569
|
Favourite: Favourite,
|
|
2496
2570
|
FavouriteFull: FavouriteFull,
|
|
2497
2571
|
Filter: Filter,
|
|
@@ -2540,6 +2614,7 @@ var IconLibrary = {
|
|
|
2540
2614
|
Tick: Tick,
|
|
2541
2615
|
Tickets: Tickets,
|
|
2542
2616
|
Tiktok: Tiktok,
|
|
2617
|
+
TouchTour: TouchTour,
|
|
2543
2618
|
Trailer: Trailer,
|
|
2544
2619
|
Twitter: Twitter,
|
|
2545
2620
|
User: User,
|
|
@@ -4293,14 +4368,16 @@ var TextLinkWrapper = /*#__PURE__*/styled.a(_templateObject$p || (_templateObjec
|
|
|
4293
4368
|
}, devices.mobile);
|
|
4294
4369
|
var TextLinkIconWrapper = /*#__PURE__*/styled.span(_templateObject2$h || (_templateObject2$h = /*#__PURE__*/_taggedTemplateLiteralLoose(["\n width: var(--button-icon-width);\n height: var(--button-icon-height);\n margin-left: var(--button-icon-margin);\n"])));
|
|
4295
4370
|
|
|
4296
|
-
var _excluded$d = ["children", "iconName", "iconDirection", "textColor"];
|
|
4371
|
+
var _excluded$d = ["children", "iconName", "iconDirection", "textColor", "disableTruncation"];
|
|
4297
4372
|
var TextLink = function TextLink(_ref) {
|
|
4298
4373
|
var children = _ref.children,
|
|
4299
4374
|
iconName = _ref.iconName,
|
|
4300
4375
|
iconDirection = _ref.iconDirection,
|
|
4301
4376
|
textColor = _ref.textColor,
|
|
4377
|
+
_ref$disableTruncatio = _ref.disableTruncation,
|
|
4378
|
+
disableTruncation = _ref$disableTruncatio === void 0 ? false : _ref$disableTruncatio,
|
|
4302
4379
|
rest = _objectWithoutPropertiesLoose(_ref, _excluded$d);
|
|
4303
|
-
var truncatedString = children.substring(0, 30);
|
|
4380
|
+
var truncatedString = disableTruncation ? children : children.substring(0, 30);
|
|
4304
4381
|
return /*#__PURE__*/React__default.createElement(TextLinkWrapper, Object.assign({
|
|
4305
4382
|
color: textColor,
|
|
4306
4383
|
iconName: iconName
|