@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
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Accordion, Accordions, AnchorBar, AnnouncementBanner, AltHeader, AnchorTabBar, AuxiliaryNav, BodyText, Card, Cards, Carousel, CastFilter, CinemaBadge, ContactCard, ContentSummary, ControlledDropdown, CreditListing, Editorial, Footer, GlobalStyles, Grid, GridItem, Header, HighlightsCarousel, HighlightsCarouselCinema, HighlightsCarouselCore, HighlightsCarouselStream, HotFilters, Icon, ImageAspectRatioWrapper, ImageWithCaption, Information, Navigation, MinimalCarousel, Overline, PageHeading, PageHeadingCompact, PageHeadingImpact, PageHeadingPanel, PageHeadingHighlight, PageHeadingPromo, PageHeadingHighlightCarousel, Pagination, PasswordStrength, Paywall, PeopleListing, PrimaryButton, Progress, PromoWithTags, PromoWithTitle, Radio2, RadioGroup2, ReadMore, RotatorButtons, StatusBanner, SearchBar, SecondaryButton, SecondaryLogo, SectionSplitter, SectionTitle, Select2, Select2Async, SignUpForm, Sponsorship, StickyBar, Stepper, StreamBadge, Subtitle, TertiaryButton, ThemeProvider, TitleWithCTA, Tab, Table, TabLink, Tabs, TextArea, TextField, TextFieldLegacy, TextLink, Tickbox, Tickbox2, Timer, TypeTags, UpsellCard, UpsellSection, VideoControls, VideoWithControls } from './components';
|
|
1
|
+
import { Account, Accordion, Accordions, AnchorBar, AnnouncementBanner, AltHeader, AnchorTabBar, AuxiliaryNav, Basket, BodyText, Card, Cards, Carousel, CastFilter, CinemaBadge, ContactCard, ContactNewsletter, ContentSummary, ControlledDropdown, Dropdown, CreditListing, Editorial, Footer, GlobalStyles, Grid, GridItem, Header, HighlightsCarousel, HighlightsCarouselCinema, HighlightsCarouselCore, HighlightsCarouselStream, HotFilters, Icon, ImageAspectRatioWrapper, ImageWithCaption, Information, Logo, Navigation, NavTop, MinimalCarousel, Overline, PageHeading, PageHeadingCompact, PageHeadingImpact, PageHeadingPanel, PageHeadingHighlight, PageHeadingPromo, PageHeadingHighlightCarousel, Pagination, PasswordStrength, Person, Paywall, PersonDetails, PeopleListing, PolicyLinks, PrimaryButton, Progress, PromoWithTags, PromoWithTitle, Radio2, RadioGroup2, ReadMore, RotatorButtons, Search, StatusBanner, SearchBar, SecondaryButton, SecondaryLogo, SocialLinks, SectionSplitter, SectionTitle, Select2, Select2Async, SignUpForm, Swipe, SwipeRef, Sponsorship, StickyBar, Stepper, StreamBadge, Subtitle, TertiaryButton, ThemeProvider, TitleWithCTA, Tab, Table, TabLink, Tabs, TextArea, TextField, TextFieldLegacy, TextLink, Tickbox, Tickbox2, Timer, TypeTags, UpsellCard, UpsellCards, UpsellSection, VideoControls, VideoWithControls } from './components';
|
|
2
2
|
import BodyContent from './components/molecules/BodyContent';
|
|
3
3
|
import Quote from './components/molecules/Quote';
|
|
4
4
|
import { devices, breakpoints } from './styles/viewports';
|
|
@@ -12,4 +12,4 @@ import HarmonicThemeProvider, { useHarmonicTheme } from './styles/HarmonicThemeP
|
|
|
12
12
|
import { HarmonicSize } from './types/typography';
|
|
13
13
|
import { HarmonicHeader, HarmonicSubtitle, BodyCopyHarmonic, HarmonicOverline, ButtonText, Caption, NavigationText } from './components/Typography';
|
|
14
14
|
export { useHarmonicTheme };
|
|
15
|
-
export { Accordion, Accordions, AnchorBar, AnnouncementBanner, AltHeader, AnchorTabBar, AuxiliaryButton, AuxiliaryNav, AspectRatio, BodyContent, BodyText, breakpoints, ButtonType, Card, Cards, CarouselType, Carousel, CastFilter, CinemaBadge, Colors, ContactCard, ContentSummary, ControlledDropdown, CreditListing, devices, Editorial, EditorialLink, Footer, GlobalStyles, Grid, GridItem, HarmonicSize, HarmonicThemeProvider, Header, HighlightsCarousel, HighlightsCarouselCinema, HighlightsCarouselCore, HighlightsCarouselStream, HotFilters, Icon, IconNameType, ImageAspectRatioWrapper, ImageWithCaption, Information, IInformationCTAProps, IInformationTitleProps, ITimerProps, IntegratedTimerProps, MinimalCarousel, MiniCard, ModalWindow, Navigation, Overline, PageHeading, PageHeadingCompact, PageHeadingImpact, PageHeadingPanel, PageHeadingHighlight, PageHeadingPromo, PageHeadingHighlightCarousel, Pagination, PasswordStrength, PersonCard, Paywall, PeopleListing, PrimaryButton, Progress, PromoWithTags, PromoWithTitle, Radio2, RadioGroup2, ReadMore, RotatorButtons, StatusBanner, SearchBar, SecondaryButton, SecondaryLogo, SectionSplitter, SectionTitle, Select2, Select2Async, SignUpForm, Sponsorship, StickyBar, Stepper, StreamBadge, Subtitle, Tab, Table, TabLink, Tabs, TertiaryButton, TextArea, TextField, TextFieldLegacy, TextLink, ThemeColor, ThemeProvider, ThemeType, TitleWithCTA, Tickbox, Tickbox2, TickboxMode, Timer, TypeTags, UpsellCard, UpsellSection, Quote, VideoControls, VideoWithControls, zIndexes, HarmonicHeader, HarmonicSubtitle, BodyCopyHarmonic, HarmonicOverline, ButtonText, Caption, NavigationText, };
|
|
15
|
+
export { Account, Accordion, Accordions, AnchorBar, AnnouncementBanner, AltHeader, AnchorTabBar, AuxiliaryButton, AuxiliaryNav, AspectRatio, Basket, BodyContent, BodyText, breakpoints, ButtonType, Card, Cards, CarouselType, Carousel, CastFilter, CinemaBadge, Colors, ContactCard, ContactNewsletter, ContentSummary, ControlledDropdown, Dropdown, CreditListing, devices, Editorial, EditorialLink, Footer, GlobalStyles, Grid, GridItem, HarmonicSize, HarmonicThemeProvider, Header, HighlightsCarousel, HighlightsCarouselCinema, HighlightsCarouselCore, HighlightsCarouselStream, HotFilters, Icon, IconNameType, ImageAspectRatioWrapper, ImageWithCaption, Information, Logo, IInformationCTAProps, IInformationTitleProps, ITimerProps, IntegratedTimerProps, MinimalCarousel, MiniCard, ModalWindow, Navigation, NavTop, Overline, PageHeading, PageHeadingCompact, PageHeadingImpact, PageHeadingPanel, PageHeadingHighlight, PageHeadingPromo, PageHeadingHighlightCarousel, Pagination, PasswordStrength, Person, PersonCard, PersonDetails, Paywall, PeopleListing, PolicyLinks, PrimaryButton, Progress, PromoWithTags, PromoWithTitle, Radio2, RadioGroup2, ReadMore, RotatorButtons, Search, StatusBanner, SearchBar, SecondaryButton, SecondaryLogo, SocialLinks, SectionSplitter, SectionTitle, Select2, Select2Async, SignUpForm, Swipe, SwipeRef, Sponsorship, StickyBar, Stepper, StreamBadge, Subtitle, Tab, Table, TabLink, Tabs, TertiaryButton, TextArea, TextField, TextFieldLegacy, TextLink, ThemeColor, ThemeProvider, ThemeType, TitleWithCTA, Tickbox, Tickbox2, TickboxMode, Timer, TypeTags, UpsellCard, UpsellCards, UpsellSection, Quote, VideoControls, VideoWithControls, zIndexes, HarmonicHeader, HarmonicSubtitle, BodyCopyHarmonic, HarmonicOverline, ButtonText, Caption, NavigationText, };
|
package/dist/types/card.d.ts
CHANGED
|
@@ -20,46 +20,28 @@ export interface CustomSponsorImageData {
|
|
|
20
20
|
title: string;
|
|
21
21
|
}
|
|
22
22
|
export interface IPageHeadingImpactProps {
|
|
23
|
-
/**
|
|
24
|
-
* Text placed in the impact component
|
|
25
|
-
*/
|
|
23
|
+
/** Text placed in the impact component */
|
|
26
24
|
text?: string;
|
|
27
|
-
/**
|
|
28
|
-
* Link placed in the impact component
|
|
29
|
-
*/
|
|
25
|
+
/** Link placed in the impact component */
|
|
30
26
|
link?: EditorialLink;
|
|
31
|
-
/**
|
|
32
|
-
* Boolean to show/hide sponsorship logo (default true)
|
|
33
|
-
*/
|
|
27
|
+
/** Boolean to show/hide sponsorship logo (default true) */
|
|
34
28
|
sponsor?: boolean;
|
|
35
|
-
/**
|
|
36
|
-
* Data for custom sponsor
|
|
37
|
-
*/
|
|
29
|
+
/** Data for custom sponsor */
|
|
38
30
|
customSponsorImage?: CustomSponsorImageData;
|
|
39
|
-
/**
|
|
40
|
-
* Background url for desktops
|
|
41
|
-
*/
|
|
31
|
+
/** Background url for desktops */
|
|
42
32
|
bgUrlDesktop: string;
|
|
43
|
-
/**
|
|
44
|
-
* Background url for devices
|
|
45
|
-
*/
|
|
33
|
+
/** Background url for devices */
|
|
46
34
|
bgUrlDevice?: string;
|
|
47
|
-
/**
|
|
48
|
-
* Alt text for the main image
|
|
49
|
-
*/
|
|
35
|
+
/** Alt text for the main image */
|
|
50
36
|
bgImageAltText?: string;
|
|
51
|
-
/**
|
|
52
|
-
|
|
53
|
-
|
|
37
|
+
/** Desktop video url */
|
|
38
|
+
videoUrlDesktop?: string;
|
|
39
|
+
/** Mobile video url */
|
|
40
|
+
videoUrlMobile?: string;
|
|
41
|
+
/** Logo to be placed in page heading component */
|
|
54
42
|
children?: ReactNode;
|
|
55
|
-
/**
|
|
56
|
-
|
|
57
|
-
*/
|
|
58
|
-
scrollHref?: string;
|
|
59
|
-
/**
|
|
60
|
-
* Semantic level of the header
|
|
61
|
-
*/
|
|
62
|
-
semanticLevel?: TypographyLevel;
|
|
43
|
+
/** Custom CSS classes */
|
|
44
|
+
className?: string;
|
|
63
45
|
}
|
|
64
46
|
export declare type BrandingStyle = 'BlockText' | 'BodyText' | 'StreamLogo' | 'CinemaLogo' | 'TextLink';
|
|
65
47
|
export interface IPageHeadingCompactProps {
|
|
@@ -68,6 +68,7 @@ export interface ISignUpFormProps {
|
|
|
68
68
|
export declare type SignUpFormComponentTitleProps = {
|
|
69
69
|
title: string;
|
|
70
70
|
isMobile?: boolean;
|
|
71
|
+
titleFontFamily?: 'Grey' | 'Victor' | undefined;
|
|
71
72
|
};
|
|
72
73
|
export declare type SignUpFormComponentMessageProps = {
|
|
73
74
|
message: string;
|
package/dist/types/types.d.ts
CHANGED
|
@@ -147,6 +147,10 @@ export interface ITabProps {
|
|
|
147
147
|
* Additional CSS class names to apply to the navigation component.
|
|
148
148
|
*/
|
|
149
149
|
className?: string;
|
|
150
|
+
/**
|
|
151
|
+
* The unique ID to assign to the link element.
|
|
152
|
+
*/
|
|
153
|
+
tabLinkId?: string;
|
|
150
154
|
/**
|
|
151
155
|
* Defines the ARIA role of the element for accessibility purposes.
|
|
152
156
|
*/
|
|
@@ -222,7 +226,11 @@ export interface IDropdownProps {
|
|
|
222
226
|
*/
|
|
223
227
|
ariaLabel?: string;
|
|
224
228
|
/**
|
|
225
|
-
*
|
|
229
|
+
* The unique ID to assign to the link element inside the tab.
|
|
230
|
+
*/
|
|
231
|
+
tabLinkId?: string;
|
|
232
|
+
/**
|
|
233
|
+
* Defines if it is needed to trim the text of the Tab and add 3 dots in the end
|
|
226
234
|
*/
|
|
227
235
|
trimTabText?: boolean;
|
|
228
236
|
}
|
|
@@ -350,6 +358,10 @@ export interface IPeopleListing {
|
|
|
350
358
|
roles: ListingRole[];
|
|
351
359
|
/** Custom CSS classes */
|
|
352
360
|
className?: string;
|
|
361
|
+
/** Render person headshots in greyscale */
|
|
362
|
+
greyscale?: boolean;
|
|
363
|
+
/** Optional number of people per row on large desktop */
|
|
364
|
+
largeDesktopColumns?: 3 | 4;
|
|
353
365
|
}
|
|
354
366
|
export interface IPagination {
|
|
355
367
|
/**
|
|
@@ -485,6 +497,10 @@ export declare type ICastFiltersProps = {
|
|
|
485
497
|
* Handle clicking the text link.
|
|
486
498
|
*/
|
|
487
499
|
onClear?: () => void;
|
|
500
|
+
/**
|
|
501
|
+
* Render person images in greyscale
|
|
502
|
+
*/
|
|
503
|
+
greyscale?: boolean;
|
|
488
504
|
};
|
|
489
505
|
export interface ISponsorshipProps {
|
|
490
506
|
/**
|
|
@@ -717,6 +733,12 @@ export interface IVideoControlsProps {
|
|
|
717
733
|
*/
|
|
718
734
|
loop?: boolean;
|
|
719
735
|
}
|
|
736
|
+
export interface IVideoControlsImpactProps {
|
|
737
|
+
/** Video element id */
|
|
738
|
+
videoElementId: string;
|
|
739
|
+
/** Loops */
|
|
740
|
+
loop?: boolean;
|
|
741
|
+
}
|
|
720
742
|
export declare type IVideoWithControlsSettings = Omit<IVideoControlsProps, 'videoElementId' | 'videoContainerId'>;
|
|
721
743
|
export interface IVideoWithControlsProps {
|
|
722
744
|
/**
|
package/dist/types/upsell.d.ts
CHANGED