@royaloperahouse/harmonic 0.19.1-a → 0.19.1-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/dist/components/atoms/Buttons/Auxiliary/AuxiliaryButton.style.d.ts +9 -1
- package/dist/components/atoms/Buttons/Button.d.ts +10 -3
- package/dist/components/atoms/Buttons/Primary/PrimaryButton.d.ts +17 -3
- package/dist/components/atoms/Buttons/Primary/PrimaryButton.style.d.ts +9 -1
- package/dist/components/atoms/Buttons/Secondary/SecondaryButton.style.d.ts +9 -1
- package/dist/components/atoms/Dropdown/Dropdown.d.ts +1 -1
- package/dist/components/atoms/Icons/StorybookSupport/Iconography.d.ts +2 -10
- package/dist/components/atoms/Icons/StorybookSupport/Iconography.types.d.ts +10 -0
- package/dist/components/atoms/Tab/Tab.d.ts +1 -1
- package/dist/components/atoms/TextLogo/TextLogo.d.ts +3 -10
- package/dist/components/atoms/TextLogo/TextLogo.types.d.ts +10 -0
- package/dist/components/atoms/VideoControlsImpact/VideoControlsImpact.d.ts +4 -0
- package/dist/components/atoms/VideoControlsImpact/VideoControlsImpact.style.d.ts +5 -0
- package/dist/components/atoms/VideoControlsImpact/index.d.ts +2 -0
- package/dist/components/atoms/index.d.ts +7 -1
- package/dist/components/index.d.ts +4 -4
- package/dist/components/molecules/BodyContent/BodyContent.d.ts +1 -4
- package/dist/components/molecules/BodyContent/BodyContent.types.d.ts +4 -0
- package/dist/components/molecules/CastFilter/CastFilters.style.d.ts +1 -0
- package/dist/components/molecules/HotFilters/HotFilters.style.d.ts +16 -1
- package/dist/components/molecules/Information/InfoCta.types.d.ts +11 -0
- package/dist/components/molecules/PageHeading/Compact/Compact.style.d.ts +16 -1
- package/dist/components/molecules/PageHeading/Compact/Compact.types.d.ts +14 -0
- package/dist/components/molecules/PageHeading/Compact/components/CompactHeaderBranding.d.ts +1 -7
- package/dist/components/molecules/PageHeading/Compact/components/CompactHeaderBranding.types.d.ts +7 -0
- package/dist/components/molecules/PageHeading/Impact/Impact.style.d.ts +302 -9
- package/dist/components/molecules/PageHeading/Promo/components/Badge.d.ts +2 -8
- package/dist/components/molecules/PageHeading/Promo/components/Badge.types.d.ts +7 -0
- package/dist/components/molecules/PageHeading/Promo/components/Button.d.ts +2 -8
- package/dist/components/molecules/PageHeading/Promo/components/Button.types.d.ts +7 -0
- package/dist/components/molecules/Pagination/Pagination.d.ts +2 -13
- package/dist/components/molecules/Pagination/Pagination.types.d.ts +13 -0
- package/dist/components/molecules/Paywall/Paywall.styles.d.ts +1 -4
- package/dist/components/molecules/PeopleListing/CreditListing/CreditListing.style.d.ts +2 -0
- package/dist/components/molecules/PeopleListing/PeopleListing.d.ts +1 -1
- package/dist/components/molecules/PeopleListing/PeopleListing.style.d.ts +3 -1
- package/dist/components/molecules/PersonCard/PersonCard.style.d.ts +3 -1
- package/dist/components/molecules/PromoWithTitle/PromoChild.d.ts +2 -7
- package/dist/components/molecules/PromoWithTitle/PromoChild.types.d.ts +7 -0
- package/dist/components/molecules/Select2/Select2.d.ts +1 -3
- package/dist/components/molecules/Select2/Select2.types.d.ts +6 -0
- package/dist/components/molecules/SignUpForm/components/SignUpFormButton.d.ts +2 -6
- package/dist/components/molecules/SignUpForm/components/SignUpFormButton.types.d.ts +6 -0
- package/dist/components/molecules/SkipToMain/SkipToMain.style.d.ts +1 -1
- package/dist/components/molecules/Swipe/Swipe.d.ts +3 -6
- package/dist/components/molecules/Swipe/Swipe.types.d.ts +17 -0
- package/dist/components/molecules/Table/Table.style.d.ts +1 -1
- package/dist/components/molecules/Table/components/HeaderCells.d.ts +1 -4
- package/dist/components/molecules/Table/components/HeaderCells.types.d.ts +5 -0
- package/dist/components/molecules/index.d.ts +10 -1
- package/dist/components/organisms/Carousels/Carousel/Carousel.d.ts +3 -1
- package/dist/components/organisms/Carousels/HighlightsCarousel/HighlightsCarousel.d.ts +3 -1
- package/dist/components/organisms/Carousels/HighlightsCarousel/components/Buttons.d.ts +2 -3
- package/dist/components/organisms/Carousels/HighlightsCarousel/components/Buttons.types.d.ts +2 -0
- package/dist/components/organisms/Carousels/HighlightsCarousel/components/InfoSection.d.ts +3 -9
- package/dist/components/organisms/Carousels/HighlightsCarousel/components/InfoSection.types.d.ts +8 -0
- package/dist/components/organisms/Carousels/HighlightsCarousel/components/SwipeCarousel.d.ts +3 -12
- package/dist/components/organisms/Carousels/HighlightsCarousel/components/SwipeCarousel.types.d.ts +11 -0
- package/dist/components/organisms/TitleWithCTA/TitleWithCTA.style.d.ts +16 -1
- package/dist/harmonic.cjs.development.css +319 -0
- package/dist/harmonic.cjs.development.js +4042 -3627
- 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 +4045 -3640
- package/dist/harmonic.esm.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/styles/HarmonicThemeProvider/HarmonicThemeProvider.d.ts +1 -0
- package/dist/types/card.d.ts +2 -0
- package/dist/types/impactHeader.d.ts +14 -32
- package/dist/types/signUpForm.d.ts +1 -0
- package/dist/types/types.d.ts +23 -1
- package/dist/types/upsell.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1,3 +1,11 @@
|
|
|
1
1
|
import type { AuxiliaryButtonProps } from '../../../../types/buttonTypes';
|
|
2
|
-
declare const AuxiliaryButtonWrapper: import("styled-components").StyledComponent<import("react").
|
|
2
|
+
declare const AuxiliaryButtonWrapper: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<{
|
|
3
|
+
children: import("react").ReactNode;
|
|
4
|
+
onClick?: ((event: import("react").MouseEvent<HTMLAnchorElement, MouseEvent>) => void) | undefined;
|
|
5
|
+
className?: string | undefined;
|
|
6
|
+
} & {
|
|
7
|
+
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" | "TouchTour" | "Trailer" | "Twitter" | "User" | "UserSignedIn" | "Volume" | "Watch" | "Wheelchair" | "X" | "Youtube" | undefined;
|
|
8
|
+
iconDirection?: "left" | "right" | "up" | "down" | "reverse" | undefined;
|
|
9
|
+
iconClassName?: string | undefined;
|
|
10
|
+
} & import("react").AnchorHTMLAttributes<HTMLAnchorElement> & import("react").RefAttributes<HTMLAnchorElement>>, any, AuxiliaryButtonProps, never>;
|
|
3
11
|
export default AuxiliaryButtonWrapper;
|
|
@@ -1,4 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const Button: React.ForwardRefExoticComponent<{
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
onClick?: ((event: React.MouseEvent<HTMLAnchorElement, globalThis.MouseEvent>) => void) | undefined;
|
|
5
|
+
className?: string | undefined;
|
|
6
|
+
} & {
|
|
7
|
+
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" | "TouchTour" | "Trailer" | "Twitter" | "User" | "UserSignedIn" | "Volume" | "Watch" | "Wheelchair" | "X" | "Youtube" | undefined;
|
|
8
|
+
iconDirection?: "left" | "right" | "up" | "down" | "reverse" | undefined;
|
|
9
|
+
iconClassName?: string | undefined;
|
|
10
|
+
} & React.AnchorHTMLAttributes<HTMLAnchorElement> & React.RefAttributes<HTMLAnchorElement>>;
|
|
4
11
|
export default Button;
|
|
@@ -1,4 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
declare const PrimaryButton: React.ForwardRefExoticComponent<{
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
onClick?: ((event: React.MouseEvent<HTMLAnchorElement, MouseEvent>) => void) | undefined;
|
|
5
|
+
className?: string | undefined;
|
|
6
|
+
} & {
|
|
7
|
+
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" | "TouchTour" | "Trailer" | "Twitter" | "User" | "UserSignedIn" | "Volume" | "Watch" | "Wheelchair" | "X" | "Youtube" | undefined;
|
|
8
|
+
iconDirection?: "left" | "right" | "up" | "down" | "reverse" | undefined;
|
|
9
|
+
iconClassName?: string | undefined;
|
|
10
|
+
} & React.AnchorHTMLAttributes<HTMLAnchorElement> & Pick<{
|
|
11
|
+
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;
|
|
12
|
+
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;
|
|
13
|
+
borderColor?: "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;
|
|
14
|
+
hoveredColor?: "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;
|
|
15
|
+
pressedColor?: "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;
|
|
16
|
+
disabled?: boolean | undefined;
|
|
17
|
+
}, "textColor" | "backgroundColor" | "hoveredColor" | "pressedColor" | "disabled"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
4
18
|
export default PrimaryButton;
|
|
@@ -1,3 +1,11 @@
|
|
|
1
1
|
import type { PrimaryButtonProps } from '../../../../types/buttonTypes';
|
|
2
|
-
export declare const PrimaryButtonWrapper: import("styled-components").StyledComponent<import("react").
|
|
2
|
+
export declare const PrimaryButtonWrapper: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<{
|
|
3
|
+
children: import("react").ReactNode;
|
|
4
|
+
onClick?: ((event: import("react").MouseEvent<HTMLAnchorElement, MouseEvent>) => void) | undefined;
|
|
5
|
+
className?: string | undefined;
|
|
6
|
+
} & {
|
|
7
|
+
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" | "TouchTour" | "Trailer" | "Twitter" | "User" | "UserSignedIn" | "Volume" | "Watch" | "Wheelchair" | "X" | "Youtube" | undefined;
|
|
8
|
+
iconDirection?: "left" | "right" | "up" | "down" | "reverse" | undefined;
|
|
9
|
+
iconClassName?: string | undefined;
|
|
10
|
+
} & import("react").AnchorHTMLAttributes<HTMLAnchorElement> & import("react").RefAttributes<HTMLAnchorElement>>, any, PrimaryButtonProps, never>;
|
|
3
11
|
export declare const AriaDescription: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
@@ -1,3 +1,11 @@
|
|
|
1
1
|
import type { SecondaryButtonProps } from '../../../../types/buttonTypes';
|
|
2
|
-
export declare const SecondaryButtonWrapper: import("styled-components").StyledComponent<import("react").
|
|
2
|
+
export declare const SecondaryButtonWrapper: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<{
|
|
3
|
+
children: import("react").ReactNode;
|
|
4
|
+
onClick?: ((event: import("react").MouseEvent<HTMLAnchorElement, MouseEvent>) => void) | undefined;
|
|
5
|
+
className?: string | undefined;
|
|
6
|
+
} & {
|
|
7
|
+
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" | "TouchTour" | "Trailer" | "Twitter" | "User" | "UserSignedIn" | "Volume" | "Watch" | "Wheelchair" | "X" | "Youtube" | undefined;
|
|
8
|
+
iconDirection?: "left" | "right" | "up" | "down" | "reverse" | undefined;
|
|
9
|
+
iconClassName?: string | undefined;
|
|
10
|
+
} & import("react").AnchorHTMLAttributes<HTMLAnchorElement> & import("react").RefAttributes<HTMLAnchorElement>>, any, SecondaryButtonProps, never>;
|
|
3
11
|
export declare const AriaDescription: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { IDropdownProps } from '../../../types/types';
|
|
3
|
-
declare const Dropdown: ({ title, titleLink, selected, options, onChange, iconName, isMobileBehaviour, withOptionsInMobile, withIcon, className, role, ariaLabel, trimTabText, }: IDropdownProps) => React.JSX.Element;
|
|
3
|
+
declare const Dropdown: ({ title, titleLink, selected, options, onChange, iconName, isMobileBehaviour, withOptionsInMobile, withIcon, className, role, ariaLabel, tabLinkId, trimTabText, }: IDropdownProps) => React.JSX.Element;
|
|
4
4
|
export default Dropdown;
|
|
@@ -1,12 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export
|
|
4
|
-
iconName: IconNameType;
|
|
5
|
-
label: string;
|
|
6
|
-
direction?: DirectionType;
|
|
7
|
-
ariaLabel?: string;
|
|
8
|
-
}
|
|
9
|
-
export interface IIconographyGridProps {
|
|
10
|
-
iconsArray: IStorybookIcon[];
|
|
11
|
-
}
|
|
2
|
+
import { IIconographyGridProps } from './Iconography.types';
|
|
3
|
+
export type { IIconographyGridProps, IStorybookIcon } from './Iconography.types';
|
|
12
4
|
export declare function Iconography({ iconsArray }: IIconographyGridProps): React.JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DirectionType, IconNameType } from '../../../../types/iconTypes';
|
|
2
|
+
export interface IStorybookIcon {
|
|
3
|
+
iconName: IconNameType;
|
|
4
|
+
label: string;
|
|
5
|
+
direction?: DirectionType;
|
|
6
|
+
ariaLabel?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface IIconographyGridProps {
|
|
9
|
+
iconsArray: IStorybookIcon[];
|
|
10
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ITabProps } from '../../../types/types';
|
|
3
|
-
declare const Tab: ({ title, titleLink, onClick, onFocus, onReset, selected, iconName, iconDirection, withIcon, withTextInMobile, trimText, className, role, ariaLabel, color, dataTestId, isOpen, }: ITabProps) => React.JSX.Element;
|
|
3
|
+
declare const Tab: ({ title, titleLink, onClick, onFocus, onReset, selected, iconName, iconDirection, withIcon, withTextInMobile, trimText, className, role, ariaLabel, tabLinkId, color, dataTestId, isOpen, }: ITabProps) => React.JSX.Element;
|
|
4
4
|
export default Tab;
|
|
@@ -1,13 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
Cinema = "CINEMA"
|
|
6
|
-
}
|
|
7
|
-
export interface ITextLogoProps {
|
|
8
|
-
productName: TextLogoProduct;
|
|
9
|
-
color: Colors;
|
|
10
|
-
fontSize?: number;
|
|
11
|
-
}
|
|
2
|
+
import { ITextLogoProps } from './TextLogo.types';
|
|
3
|
+
export { TextLogoProduct } from './TextLogo.types';
|
|
4
|
+
export type { ITextLogoProps } from './TextLogo.types';
|
|
12
5
|
declare const Logo: ({ color, productName, fontSize }: ITextLogoProps) => React.ReactElement;
|
|
13
6
|
export default Logo;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const VideoPlayButton: import("styled-components").StyledComponent<"button", any, {}, never>;
|
|
2
|
+
export declare const VideoControlsWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const VideoControlsInnerWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
export declare const LeftWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
|
+
export declare const StoryBookWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -1,12 +1,18 @@
|
|
|
1
1
|
import { CinemaBadge, StreamBadge } from './Badge';
|
|
2
|
+
import Account from './Account';
|
|
3
|
+
import AuxiliaryButton from './Buttons/Auxiliary/AuxiliaryButton';
|
|
2
4
|
import { PrimaryButton, SecondaryButton, TertiaryButton } from './Buttons';
|
|
3
5
|
import ControlledDropdown from './ControlledDropdown';
|
|
6
|
+
import Dropdown from './Dropdown';
|
|
4
7
|
import { Grid, GridItem } from './Grid';
|
|
5
8
|
import { Icon } from './Icons';
|
|
6
9
|
import ImageAspectRatioWrapper from './ImageAspectRatioWrapper';
|
|
10
|
+
import Logo from './Logo';
|
|
11
|
+
import Person from './Person';
|
|
7
12
|
import Progress from './Progress';
|
|
8
13
|
import Radio2 from './Radio2';
|
|
9
14
|
import RotatorButtons from './RotatorButtons';
|
|
15
|
+
import Search from './Search';
|
|
10
16
|
import SecondaryLogo from './SecondaryLogo';
|
|
11
17
|
import SectionSplitter from './SectionSplitter';
|
|
12
18
|
import SponsorLogo from './SponsorLogo';
|
|
@@ -25,4 +31,4 @@ import { AltHeader, BodyText, Header, Overline, Subtitle } from './Typography';
|
|
|
25
31
|
import VideoControls from './VideoControls';
|
|
26
32
|
import { Stepper } from './Stepper';
|
|
27
33
|
import SocialLinks from './SocialLinks';
|
|
28
|
-
export { AltHeader, BodyText, CinemaBadge, ControlledDropdown, Grid, GridItem, Header, Icon, ImageAspectRatioWrapper, Overline, Progress, PrimaryButton, Radio2, RotatorButtons, SecondaryButton, SecondaryLogo, SectionSplitter, SponsorLogo, Sponsorship, SocialLinks, Stepper, StreamBadge, Subtitle, Tab, TabLink, TertiaryButton, TextArea, TextField, TextFieldLegacy, TextLink, TextLogo, Tickbox, Tickbox2, Timer, TypeTags, VideoControls, };
|
|
34
|
+
export { Account, AltHeader, AuxiliaryButton, BodyText, CinemaBadge, ControlledDropdown, Dropdown, Grid, GridItem, Header, Icon, ImageAspectRatioWrapper, Logo, Overline, Person, Progress, PrimaryButton, Radio2, RotatorButtons, Search, SecondaryButton, SecondaryLogo, SectionSplitter, SponsorLogo, Sponsorship, SocialLinks, Stepper, StreamBadge, Subtitle, Tab, TabLink, TertiaryButton, TextArea, TextField, TextFieldLegacy, TextLink, TextLogo, Tickbox, Tickbox2, Timer, TypeTags, VideoControls, };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { DisplayHeader, HarmonicHeader, HarmonicSubtitle, BodyCopyHarmonic, HarmonicOverline, ButtonText, Caption, NavigationText } from './Typography';
|
|
2
|
-
import { AltHeader, BodyText, CinemaBadge, ControlledDropdown, Grid, GridItem, Header, Icon, ImageAspectRatioWrapper, Overline, PrimaryButton, Progress, Radio2, RotatorButtons, SecondaryButton, SecondaryLogo, TertiaryButton, SectionSplitter, SponsorLogo, Sponsorship, Stepper, StreamBadge, Subtitle, Tab, TabLink, TextLogo, TextArea, TextField, TextFieldLegacy, TextLink, Tickbox, Tickbox2, Timer, TypeTags, VideoControls } from './atoms';
|
|
3
|
-
import { AnchorTabBar, Footer, Navigation, StickyBar, TitleWithCTA, UpsellSection, Carousel, MinimalCarousel, HighlightsCarousel, HighlightsCarouselCinema, HighlightsCarouselCore, HighlightsCarouselStream } from './organisms';
|
|
4
|
-
import { Accordion, Accordions, AnchorBar, AnnouncementBanner, AuxiliaryNav, Card, Cards, CastFilter, ContactCard, ContentSummary, CreditListing, Editorial, HotFilters, ImageWithCaption, Information, PageHeading, PageHeadingCompact, PageHeadingImpact, PageHeadingPanel, PageHeadingPromo, PageHeadingHighlight, PageHeadingHighlightCarousel, PasswordStrength, Pagination, Paywall, PeopleListing, PromoWithTags, PromoWithTitle, RadioGroup2, ReadMore, StatusBanner, SearchBar, SectionTitle, Select2, Select2Async, SignUpForm, Table, Tabs, UpsellCard, VideoWithControls, SkipToMain } from './molecules';
|
|
2
|
+
import { Account, AltHeader, BodyText, CinemaBadge, ControlledDropdown, Dropdown, Grid, GridItem, Header, Icon, ImageAspectRatioWrapper, Logo, Overline, Person, PrimaryButton, Progress, Radio2, RotatorButtons, Search, SecondaryButton, SecondaryLogo, TertiaryButton, SectionSplitter, SocialLinks, SponsorLogo, Sponsorship, Stepper, StreamBadge, Subtitle, Tab, TabLink, TextLogo, TextArea, TextField, TextFieldLegacy, TextLink, Tickbox, Tickbox2, Timer, TypeTags, VideoControls } from './atoms';
|
|
3
|
+
import { AnchorTabBar, Footer, Navigation, StickyBar, TitleWithCTA, UpsellSection, Carousel, MinimalCarousel, HighlightsCarousel, HighlightsCarouselCinema, HighlightsCarouselCore, HighlightsCarouselStream, ModalWindow } from './organisms';
|
|
4
|
+
import { Accordion, Accordions, AnchorBar, AnnouncementBanner, AuxiliaryNav, Basket, BodyContent, Card, Cards, CastFilter, ContactNewsletter, ContactCard, ContentSummary, CreditListing, Editorial, HotFilters, ImageWithCaption, Information, MiniCard, NavTop, PersonDetails, PersonCard, PageHeading, PageHeadingCompact, PageHeadingImpact, PageHeadingPanel, PageHeadingPromo, PageHeadingHighlight, PageHeadingHighlightCarousel, PasswordStrength, Pagination, Paywall, PeopleListing, PolicyLinks, PromoWithTags, PromoWithTitle, Quote, RadioGroup2, ReadMore, StatusBanner, SearchBar, SectionTitle, Select2, Select2Async, SignUpForm, Swipe, SwipeRef, Table, Tabs, UpsellCard, UpsellCards, VideoWithControls, SkipToMain } from './molecules';
|
|
5
5
|
import ThemeProvider from '../styles/ThemeProvider';
|
|
6
6
|
import GlobalStyles from '../styles/GlobalStyles';
|
|
7
7
|
export { DisplayHeader, HarmonicHeader, HarmonicSubtitle, BodyCopyHarmonic, HarmonicOverline, ButtonText, Caption, NavigationText, SkipToMain, };
|
|
8
|
-
export { Accordion, Accordions, AnchorBar, AnnouncementBanner, AltHeader, AnchorTabBar, AuxiliaryNav, BodyText, Card, Cards, Carousel, CastFilter, ContactCard, ContentSummary, CinemaBadge, ControlledDropdown, CreditListing, Editorial, Footer, GlobalStyles, Grid, GridItem, HighlightsCarousel, HighlightsCarouselCinema, HighlightsCarouselCore, HighlightsCarouselStream, Header, HotFilters, Icon, ImageAspectRatioWrapper, ImageWithCaption, Information, MinimalCarousel, Navigation, Overline, PageHeading, PageHeadingCompact, PageHeadingImpact, PageHeadingPanel, PageHeadingHighlight, PageHeadingPromo, PageHeadingHighlightCarousel, Pagination, PasswordStrength, Paywall, PeopleListing, PrimaryButton, Progress, PromoWithTags, PromoWithTitle, Radio2, RadioGroup2, ReadMore, RotatorButtons, SecondaryButton, SecondaryLogo, StatusBanner, SearchBar, SectionTitle, Select2, Select2Async, SponsorLogo, SignUpForm, Sponsorship, Stepper, StickyBar, StreamBadge, Subtitle, TertiaryButton, ThemeProvider, TitleWithCTA, SectionSplitter, Tab, TabLink, Table, Tabs, TextArea, TextField, TextFieldLegacy, TextLink, TextLogo, Tickbox, Tickbox2, Timer, TypeTags, UpsellCard, UpsellSection, VideoControls, VideoWithControls, };
|
|
8
|
+
export { Accordion, Accordions, Account, AnchorBar, AnnouncementBanner, AltHeader, AnchorTabBar, AuxiliaryNav, Basket, BodyContent, BodyText, Card, Cards, Carousel, CastFilter, ContactNewsletter, ContactCard, ContentSummary, CinemaBadge, ControlledDropdown, Dropdown, CreditListing, Editorial, Footer, GlobalStyles, Grid, GridItem, HighlightsCarousel, HighlightsCarouselCinema, HighlightsCarouselCore, HighlightsCarouselStream, Header, HotFilters, Icon, ImageAspectRatioWrapper, ImageWithCaption, Information, Logo, MinimalCarousel, MiniCard, ModalWindow, NavTop, Navigation, Overline, Person, PersonCard, PersonDetails, PageHeading, PageHeadingCompact, PageHeadingImpact, PageHeadingPanel, PageHeadingHighlight, PageHeadingPromo, PageHeadingHighlightCarousel, Pagination, PasswordStrength, Paywall, PeopleListing, PolicyLinks, PrimaryButton, Progress, PromoWithTags, PromoWithTitle, Quote, Radio2, RadioGroup2, ReadMore, RotatorButtons, Search, SecondaryButton, SecondaryLogo, SocialLinks, StatusBanner, SearchBar, SectionTitle, Select2, Select2Async, SponsorLogo, SignUpForm, Swipe, SwipeRef, Sponsorship, Stepper, StickyBar, StreamBadge, Subtitle, TertiaryButton, ThemeProvider, TitleWithCTA, SectionSplitter, Tab, TabLink, Table, Tabs, TextArea, TextField, TextFieldLegacy, TextLink, TextLogo, Tickbox, Tickbox2, Timer, TypeTags, UpsellCard, UpsellCards, UpsellSection, VideoControls, VideoWithControls, };
|
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
import React, { FunctionComponent } from 'react';
|
|
2
2
|
import { IBodyContentProps } from '../../../types/types';
|
|
3
|
-
|
|
4
|
-
className?: string;
|
|
5
|
-
html: string;
|
|
6
|
-
};
|
|
3
|
+
import { BodyContentTextContainerProps } from './BodyContent.types';
|
|
7
4
|
export declare const BodyContentTextContainer: ({ className, html }: BodyContentTextContainerProps) => React.JSX.Element;
|
|
8
5
|
declare const BodyContent: FunctionComponent<IBodyContentProps>;
|
|
9
6
|
export default BodyContent;
|
|
@@ -10,6 +10,7 @@ export declare const PersonToggle: import("styled-components").StyledComponent<"
|
|
|
10
10
|
}, never>;
|
|
11
11
|
export declare const PersonImage: import("styled-components").StyledComponent<"img", any, {
|
|
12
12
|
isDefaultPlaceholder?: boolean | undefined;
|
|
13
|
+
greyscale?: boolean | undefined;
|
|
13
14
|
}, never>;
|
|
14
15
|
export declare const PersonName: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
15
16
|
export declare const Decal: import("styled-components").StyledComponent<"div", any, {
|
|
@@ -1,3 +1,18 @@
|
|
|
1
1
|
export declare const HotFiltersWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
2
|
export declare const HotFilterOptionsWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
-
export declare const StyledHotFiltersButton: import("styled-components").StyledComponent<import("react").
|
|
3
|
+
export declare const StyledHotFiltersButton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<{
|
|
4
|
+
children: import("react").ReactNode;
|
|
5
|
+
onClick?: ((event: import("react").MouseEvent<HTMLAnchorElement, MouseEvent>) => void) | undefined;
|
|
6
|
+
className?: string | undefined;
|
|
7
|
+
} & {
|
|
8
|
+
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" | "TouchTour" | "Trailer" | "Twitter" | "User" | "UserSignedIn" | "Volume" | "Watch" | "Wheelchair" | "X" | "Youtube" | undefined;
|
|
9
|
+
iconDirection?: "left" | "right" | "up" | "down" | "reverse" | undefined;
|
|
10
|
+
iconClassName?: string | undefined;
|
|
11
|
+
} & import("react").AnchorHTMLAttributes<HTMLAnchorElement> & Pick<{
|
|
12
|
+
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;
|
|
13
|
+
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;
|
|
14
|
+
borderColor?: "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;
|
|
15
|
+
hoveredColor?: "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;
|
|
16
|
+
pressedColor?: "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;
|
|
17
|
+
disabled?: boolean | undefined;
|
|
18
|
+
}, "textColor" | "backgroundColor" | "hoveredColor" | "pressedColor" | "disabled"> & import("react").RefAttributes<HTMLAnchorElement>>, any, {}, never>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { DirectionType, IconNameType } from '../../../types/iconTypes';
|
|
2
|
+
import type { InformationCtaVariant } from '../../../types/information';
|
|
3
|
+
import { LinkTarget } from '../../../types/types';
|
|
4
|
+
export declare type RenderButtonProps = {
|
|
5
|
+
variant: InformationCtaVariant;
|
|
6
|
+
link: string;
|
|
7
|
+
text: string;
|
|
8
|
+
iconName?: IconNameType;
|
|
9
|
+
iconDirection?: DirectionType;
|
|
10
|
+
target: LinkTarget;
|
|
11
|
+
};
|
|
@@ -14,7 +14,22 @@ declare const CompactHeaderCopyWrapper: import("styled-components").StyledCompon
|
|
|
14
14
|
declare const CompactHeaderLogoWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
15
15
|
declare const CompactHeaderTitleWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
16
16
|
declare const CompactHeaderCTAWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
17
|
-
declare const PrimaryButtonWithInversion: import("styled-components").StyledComponent<import("react").
|
|
17
|
+
declare const PrimaryButtonWithInversion: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<{
|
|
18
|
+
children: import("react").ReactNode;
|
|
19
|
+
onClick?: ((event: import("react").MouseEvent<HTMLAnchorElement, MouseEvent>) => void) | undefined;
|
|
20
|
+
className?: string | undefined;
|
|
21
|
+
} & {
|
|
22
|
+
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" | "TouchTour" | "Trailer" | "Twitter" | "User" | "UserSignedIn" | "Volume" | "Watch" | "Wheelchair" | "X" | "Youtube" | undefined;
|
|
23
|
+
iconDirection?: "left" | "right" | "up" | "down" | "reverse" | undefined;
|
|
24
|
+
iconClassName?: string | undefined;
|
|
25
|
+
} & import("react").AnchorHTMLAttributes<HTMLAnchorElement> & Pick<{
|
|
26
|
+
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;
|
|
27
|
+
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;
|
|
28
|
+
borderColor?: "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;
|
|
29
|
+
hoveredColor?: "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;
|
|
30
|
+
pressedColor?: "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;
|
|
31
|
+
disabled?: boolean | undefined;
|
|
32
|
+
}, "disabled" | "textColor" | "backgroundColor" | "hoveredColor" | "pressedColor"> & import("react").RefAttributes<HTMLAnchorElement>>, any, WithInversion, never>;
|
|
18
33
|
declare const PlayButton: import("styled-components").StyledComponent<"button", any, {}, never>;
|
|
19
34
|
declare const VideoControlsWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
20
35
|
declare const VideoVolume: import("styled-components").StyledComponent<"input", any, {}, never>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare type VideoPoster = {
|
|
2
|
+
desktop?: string;
|
|
3
|
+
mobile?: string;
|
|
4
|
+
alt: string;
|
|
5
|
+
};
|
|
6
|
+
export declare type Video = {
|
|
7
|
+
elementId: string;
|
|
8
|
+
desktop?: string;
|
|
9
|
+
mobile?: string;
|
|
10
|
+
};
|
|
11
|
+
export interface IVideoProps {
|
|
12
|
+
video: Video;
|
|
13
|
+
poster: VideoPoster;
|
|
14
|
+
}
|
|
@@ -1,10 +1,4 @@
|
|
|
1
1
|
import { FunctionComponent } from 'react';
|
|
2
|
-
import {
|
|
3
|
-
interface IBrandingProps {
|
|
4
|
-
brandingStyle: BrandingStyle;
|
|
5
|
-
brandingLink?: string;
|
|
6
|
-
brandingText?: string;
|
|
7
|
-
invert: boolean;
|
|
8
|
-
}
|
|
2
|
+
import { IBrandingProps } from './CompactHeaderBranding.types';
|
|
9
3
|
declare const CompactHeaderBranding: FunctionComponent<IBrandingProps>;
|
|
10
4
|
export default CompactHeaderBranding;
|