@royaloperahouse/harmonic 0.19.1-a → 0.19.1-c

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.
Files changed (46) hide show
  1. package/dist/components/atoms/Buttons/Auxiliary/AuxiliaryButton.style.d.ts +9 -1
  2. package/dist/components/atoms/Buttons/Button.d.ts +10 -3
  3. package/dist/components/atoms/Buttons/Primary/PrimaryButton.d.ts +17 -3
  4. package/dist/components/atoms/Buttons/Primary/PrimaryButton.style.d.ts +9 -1
  5. package/dist/components/atoms/Buttons/Secondary/SecondaryButton.style.d.ts +9 -1
  6. package/dist/components/atoms/Radio/Radio.d.ts +7 -0
  7. package/dist/components/atoms/Radio/Radio.style.d.ts +4 -0
  8. package/dist/components/atoms/Radio/index.d.ts +2 -0
  9. package/dist/components/atoms/VideoControlsImpact/VideoControlsImpact.d.ts +4 -0
  10. package/dist/components/atoms/VideoControlsImpact/VideoControlsImpact.style.d.ts +5 -0
  11. package/dist/components/atoms/VideoControlsImpact/index.d.ts +2 -0
  12. package/dist/components/atoms/index.d.ts +2 -1
  13. package/dist/components/index.d.ts +3 -3
  14. package/dist/components/molecules/CastFilter/CastFilters.style.d.ts +1 -0
  15. package/dist/components/molecules/HotFilters/HotFilters.style.d.ts +16 -1
  16. package/dist/components/molecules/PageHeading/Compact/Compact.style.d.ts +16 -1
  17. package/dist/components/molecules/PageHeading/Impact/Impact.style.d.ts +302 -9
  18. package/dist/components/molecules/PeopleListing/CreditListing/CreditListing.style.d.ts +2 -0
  19. package/dist/components/molecules/PeopleListing/PeopleListing.d.ts +1 -1
  20. package/dist/components/molecules/PeopleListing/PeopleListing.style.d.ts +3 -1
  21. package/dist/components/molecules/PersonCard/PersonCard.style.d.ts +3 -1
  22. package/dist/components/molecules/RadioGroup/RadioGroup.d.ts +7 -0
  23. package/dist/components/molecules/RadioGroup/RadioGroup.style.d.ts +1 -0
  24. package/dist/components/molecules/RadioGroup/index.d.ts +2 -0
  25. package/dist/components/molecules/Select/Select.d.ts +101 -0
  26. package/dist/components/molecules/Select/Select.style.d.ts +13 -0
  27. package/dist/components/molecules/Select/index.d.ts +2 -0
  28. package/dist/components/molecules/Select2/Select2.d.ts +1 -1
  29. package/dist/components/molecules/Swipe/Swipe.d.ts +1 -0
  30. package/dist/components/molecules/index.d.ts +3 -1
  31. package/dist/components/organisms/Carousels/Carousel/Carousel.d.ts +3 -1
  32. package/dist/components/organisms/Carousels/HighlightsCarousel/HighlightsCarousel.d.ts +3 -1
  33. package/dist/components/organisms/TitleWithCTA/TitleWithCTA.style.d.ts +16 -1
  34. package/dist/harmonic.cjs.development.js +1401 -589
  35. package/dist/harmonic.cjs.development.js.map +1 -1
  36. package/dist/harmonic.cjs.production.min.js +1 -1
  37. package/dist/harmonic.cjs.production.min.js.map +1 -1
  38. package/dist/harmonic.esm.js +1417 -608
  39. package/dist/harmonic.esm.js.map +1 -1
  40. package/dist/index.d.ts +2 -2
  41. package/dist/types/card.d.ts +2 -0
  42. package/dist/types/impactHeader.d.ts +14 -32
  43. package/dist/types/signUpForm.d.ts +1 -0
  44. package/dist/types/types.d.ts +14 -0
  45. package/dist/types/upsell.d.ts +2 -0
  46. 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 { 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, Radio, Radio2, RadioGroup, RadioGroup2, ReadMore, RotatorButtons, StatusBanner, SearchBar, SecondaryButton, SecondaryLogo, SectionSplitter, SectionTitle, Select, 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';
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 { 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, Radio, Radio2, RadioGroup, RadioGroup2, ReadMore, RotatorButtons, StatusBanner, SearchBar, SecondaryButton, SecondaryLogo, SectionSplitter, SectionTitle, Select, 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, };
@@ -144,4 +144,6 @@ export interface RoleComponentProps {
144
144
  role: ListingRole;
145
145
  /** Custom CSS classes */
146
146
  className?: string;
147
+ /** Render person headshot in greyscale */
148
+ greyscale?: boolean;
147
149
  }
@@ -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
- * Logo to be placed in page heading component
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
- * Internal anchor ref
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;
@@ -350,6 +350,10 @@ export interface IPeopleListing {
350
350
  roles: ListingRole[];
351
351
  /** Custom CSS classes */
352
352
  className?: string;
353
+ /** Render person headshots in greyscale */
354
+ greyscale?: boolean;
355
+ /** Optional number of people per row on large desktop */
356
+ largeDesktopColumns?: 3 | 4;
353
357
  }
354
358
  export interface IPagination {
355
359
  /**
@@ -485,6 +489,10 @@ export declare type ICastFiltersProps = {
485
489
  * Handle clicking the text link.
486
490
  */
487
491
  onClear?: () => void;
492
+ /**
493
+ * Render person images in greyscale
494
+ */
495
+ greyscale?: boolean;
488
496
  };
489
497
  export interface ISponsorshipProps {
490
498
  /**
@@ -717,6 +725,12 @@ export interface IVideoControlsProps {
717
725
  */
718
726
  loop?: boolean;
719
727
  }
728
+ export interface IVideoControlsImpactProps {
729
+ /** Video element id */
730
+ videoElementId: string;
731
+ /** Loops */
732
+ loop?: boolean;
733
+ }
720
734
  export declare type IVideoWithControlsSettings = Omit<IVideoControlsProps, 'videoElementId' | 'videoContainerId'>;
721
735
  export interface IVideoWithControlsProps {
722
736
  /**
@@ -80,4 +80,6 @@ export interface IUpsellSectionProps {
80
80
  theme?: ThemeType;
81
81
  /** Custom CSS classes */
82
82
  className?: string;
83
+ /** Sets Font Family by default Grey */
84
+ titleFontFamily?: 'Victor' | 'Grey' | undefined;
83
85
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@royaloperahouse/harmonic",
3
- "version": "0.19.1-a",
3
+ "version": "0.19.1-c",
4
4
  "author": "Royal Opera House",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",