@royaloperahouse/harmonic 0.18.3-a → 0.18.3-b
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/index.d.ts +2 -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 +51 -0
- 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 +51 -0
- package/dist/harmonic.esm.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -15,6 +15,7 @@ export declare const IconLibrary: {
|
|
|
15
15
|
Clips: ({ color, ariaLabel }: import("../../../../types/iconTypes").IconSVGProps) => import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)>;
|
|
16
16
|
Clock: ({ color, ariaLabel }: import("../../../../types/iconTypes").IconSVGProps) => import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)>;
|
|
17
17
|
Close: ({ color, ariaLabel }: import("../../../../types/iconTypes").IconSVGProps) => import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)>;
|
|
18
|
+
Captioned: ({ color, ariaLabel }: import("../../../../types/iconTypes").IconSVGProps) => import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)>;
|
|
18
19
|
ClosedCaptions: ({ color, ariaLabel }: import("../../../../types/iconTypes").IconSVGProps) => import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)>;
|
|
19
20
|
Confirm: ({ color, ariaLabel }: import("../../../../types/iconTypes").IconSVGProps) => import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)>;
|
|
20
21
|
CreditCard: ({ color, ariaLabel }: import("../../../../types/iconTypes").IconSVGProps) => import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)>;
|
|
@@ -27,6 +28,7 @@ export declare const IconLibrary: {
|
|
|
27
28
|
Expand12px: ({ color, ariaLabel }: import("../../../../types/iconTypes").IconSVGProps) => import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)>;
|
|
28
29
|
ExternalLink: ({ color, ariaLabel }: import("../../../../types/iconTypes").IconSVGProps) => import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)>;
|
|
29
30
|
Facebook: ({ color, ariaLabel }: import("../../../../types/iconTypes").IconSVGProps) => import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)>;
|
|
31
|
+
FamilyFriendly: ({ color, ariaLabel }: import("../../../../types/iconTypes").IconSVGProps) => import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)>;
|
|
30
32
|
Favourite: ({ color, ariaLabel }: import("../../../../types/iconTypes").IconSVGProps) => import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)>;
|
|
31
33
|
FavouriteFull: ({ color, ariaLabel }: import("../../../../types/iconTypes").IconSVGProps) => import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)>;
|
|
32
34
|
Filter: ({ color, ariaLabel }: import("../../../../types/iconTypes").IconSVGProps) => import("react").ReactElement<any, string | ((props: any) => import("react").ReactElement<any, any> | null) | (new (props: any) => import("react").Component<any, any, any>)>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
interface FocusableTabProps {
|
|
2
2
|
hide?: boolean;
|
|
3
3
|
}
|
|
4
|
-
export declare const FocusableTab: import("styled-components").StyledComponent<({ title, titleLink, onClick, onFocus, onReset, selected, iconName, iconDirection, withIcon, withTextInMobile, trimText, className, role, ariaLabel,
|
|
4
|
+
export declare const FocusableTab: import("styled-components").StyledComponent<({ title, titleLink, onClick, onFocus, onReset, selected, iconName, iconDirection, withIcon, withTextInMobile, trimText, className, role, ariaLabel, color, dataTestId, isOpen, }: import("../../../types/types").ITabProps) => import("react").JSX.Element, any, FocusableTabProps, never>;
|
|
5
5
|
export declare const HiddenBlock: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
6
|
export {};
|
|
@@ -279,7 +279,7 @@ export declare const processSlideLinks: (links: EditorialLink[]) => {
|
|
|
279
279
|
onTransitionEnd?: ((event: import("react").TransitionEvent<HTMLAnchorElement>) => void) | undefined;
|
|
280
280
|
onTransitionEndCapture?: ((event: import("react").TransitionEvent<HTMLAnchorElement>) => void) | undefined;
|
|
281
281
|
text: string;
|
|
282
|
-
iconName?: "AddToMyList" | "Arrow" | "ArrowPagination" | "AudioDescription" | "Back10" | "BalletAndDance" | "Basket" | "BasketFull" | "BritishSignLanguage" | "BookTickets" | "CarouselArrow" | "ChooseDates" | "Cinema" | "Clips" | "Clock" | "Close" | "ClosedCaptions" | "Confirm" | "CreditCard" | "Delete" | "Detract" | "DropdownArrow" | "EditMyList" | "Email" | "Expand" | "Expand12px" | "ExternalLink" | "Facebook" | "Favourite" | "FavouriteFull" | "Filter" | "FindAScreening" | "Forward10" | "FullScreen" | "GridView" | "Home" | "Info" | "Instagram" | "LastPageArrow" | "List" | "ListView" | "LiveStream" | "Location" | "Menu" | "Minimise" | "Muted" | "NavLogoMobile" | "NavLogoNoCrest" | "NavLogoWithCrest" | "OnMyList" | "OpenCaptions" | "OperaAndMusic" | "Pause" | "PDF" | "Phone" | "Play" | "Print" | "Refresh" | "RelaxedPerformance" | "Reminder" | "Remove" | "Remove12px" | "Restart" | "Search" | "Seat" | "Secure" | "Settings" | "Shift" | "Space" | "Standing" | "Star" | "Subscribe" | "Subtitles" | "Tick" | "Tickets" | "Tiktok" | "Trailer" | "Twitter" | "User" | "UserSignedIn" | "Volume" | "Watch" | "Wheelchair" | "X" | "Youtube" | undefined;
|
|
282
|
+
iconName?: "AddToMyList" | "Arrow" | "ArrowPagination" | "AudioDescription" | "Back10" | "BalletAndDance" | "Basket" | "BasketFull" | "BritishSignLanguage" | "BookTickets" | "CarouselArrow" | "ChooseDates" | "Cinema" | "Clips" | "Clock" | "Close" | "Captioned" | "ClosedCaptions" | "Confirm" | "CreditCard" | "Delete" | "Detract" | "DropdownArrow" | "EditMyList" | "Email" | "Expand" | "Expand12px" | "ExternalLink" | "Facebook" | "FamilyFriendly" | "Favourite" | "FavouriteFull" | "Filter" | "FindAScreening" | "Forward10" | "FullScreen" | "GridView" | "Home" | "Info" | "Instagram" | "LastPageArrow" | "List" | "ListView" | "LiveStream" | "Location" | "Menu" | "Minimise" | "Muted" | "NavLogoMobile" | "NavLogoNoCrest" | "NavLogoWithCrest" | "OnMyList" | "OpenCaptions" | "OperaAndMusic" | "Pause" | "PDF" | "Phone" | "Play" | "Print" | "Refresh" | "RelaxedPerformance" | "Reminder" | "Remove" | "Remove12px" | "Restart" | "Search" | "Seat" | "Secure" | "Settings" | "Shift" | "Space" | "Standing" | "Star" | "Subscribe" | "Subtitles" | "Tick" | "Tickets" | "Tiktok" | "Trailer" | "Twitter" | "User" | "UserSignedIn" | "Volume" | "Watch" | "Wheelchair" | "X" | "Youtube" | undefined;
|
|
283
283
|
iconDirection?: "left" | "right" | "up" | "down" | "reverse" | undefined;
|
|
284
284
|
textColor?: "primary" | "primary-red" | "primary-black" | "base-white" | "base-black" | "base-dark-grey" | "base-mid-grey" | "base-light-grey" | "base-transparent" | "state-error" | "state-medium" | "state-good" | "state-focused" | "state-disabled" | "rbo-red-hovered" | "rbo-red-pressed" | "rbo-black-hovered" | "rbo-black-pressed" | "black-hovered" | "black-pressed" | "white-hovered" | "white-pressed" | "secondary-yellow" | "secondary-pink" | "secondary-orange" | "secondary-blue" | undefined;
|
|
285
285
|
backgroundColor?: "primary" | "primary-red" | "primary-black" | "base-white" | "base-black" | "base-dark-grey" | "base-mid-grey" | "base-light-grey" | "base-transparent" | "state-error" | "state-medium" | "state-good" | "state-focused" | "state-disabled" | "rbo-red-hovered" | "rbo-red-pressed" | "rbo-black-hovered" | "rbo-black-pressed" | "black-hovered" | "black-pressed" | "white-hovered" | "white-pressed" | "secondary-yellow" | "secondary-pink" | "secondary-orange" | "secondary-blue" | undefined;
|
|
@@ -2152,6 +2152,55 @@ var OpenCaptions = (function (_ref) {
|
|
|
2152
2152
|
}));
|
|
2153
2153
|
});
|
|
2154
2154
|
|
|
2155
|
+
var Captioned = (function (_ref) {
|
|
2156
|
+
var _ref$color = _ref.color,
|
|
2157
|
+
color = _ref$color === void 0 ? '#1A1A1A' : _ref$color,
|
|
2158
|
+
ariaLabel = _ref.ariaLabel;
|
|
2159
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
2160
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2161
|
+
width: "100%",
|
|
2162
|
+
height: "100%",
|
|
2163
|
+
viewBox: "0 0 25 25",
|
|
2164
|
+
fill: "none",
|
|
2165
|
+
"aria-label": ariaLabel
|
|
2166
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
2167
|
+
d: "M21 5V19H3V5H21ZM22 4H2V20H22V4Z",
|
|
2168
|
+
fill: color
|
|
2169
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
2170
|
+
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",
|
|
2171
|
+
fill: color
|
|
2172
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
2173
|
+
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",
|
|
2174
|
+
fill: color
|
|
2175
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
2176
|
+
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",
|
|
2177
|
+
fill: color
|
|
2178
|
+
}));
|
|
2179
|
+
});
|
|
2180
|
+
|
|
2181
|
+
var FamilyFriendly = (function (_ref) {
|
|
2182
|
+
var _ref$color = _ref.color,
|
|
2183
|
+
color = _ref$color === void 0 ? '#1A1A1A' : _ref$color,
|
|
2184
|
+
ariaLabel = _ref.ariaLabel;
|
|
2185
|
+
return /*#__PURE__*/React.createElement("svg", {
|
|
2186
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
2187
|
+
width: "100%",
|
|
2188
|
+
height: "100%",
|
|
2189
|
+
viewBox: "0 0 25 25",
|
|
2190
|
+
fill: "none",
|
|
2191
|
+
"aria-label": ariaLabel
|
|
2192
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
2193
|
+
d: "M21 5V19H3V5H21ZM22 4H2V20H22V4Z",
|
|
2194
|
+
fill: color
|
|
2195
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
2196
|
+
d: "M8.21 15V9.04999H11.57V9.93999H9.28V11.64H10.89V12.49H9.28V15H8.22H8.21Z",
|
|
2197
|
+
fill: color
|
|
2198
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
2199
|
+
d: "M12.48 15V9.04999H15.84V9.93999H13.55V11.64H15.16V12.49H13.55V15H12.49H12.48Z",
|
|
2200
|
+
fill: color
|
|
2201
|
+
}));
|
|
2202
|
+
});
|
|
2203
|
+
|
|
2155
2204
|
var Forward10 = (function (_ref) {
|
|
2156
2205
|
var _ref$color = _ref.color,
|
|
2157
2206
|
color = _ref$color === void 0 ? '#1A1A1A' : _ref$color,
|
|
@@ -2457,6 +2506,7 @@ var IconLibrary = {
|
|
|
2457
2506
|
Clips: Clips,
|
|
2458
2507
|
Clock: Clock,
|
|
2459
2508
|
Close: Close,
|
|
2509
|
+
Captioned: Captioned,
|
|
2460
2510
|
ClosedCaptions: ClosedCaptions,
|
|
2461
2511
|
Confirm: Confirm,
|
|
2462
2512
|
CreditCard: CreditCard,
|
|
@@ -2469,6 +2519,7 @@ var IconLibrary = {
|
|
|
2469
2519
|
Expand12px: Expand12px,
|
|
2470
2520
|
ExternalLink: ExternalLink,
|
|
2471
2521
|
Facebook: Facebook,
|
|
2522
|
+
FamilyFriendly: FamilyFriendly,
|
|
2472
2523
|
Favourite: Favourite,
|
|
2473
2524
|
FavouriteFull: FavouriteFull,
|
|
2474
2525
|
Filter: Filter,
|