@royaloperahouse/harmonic 0.12.0-f → 0.12.0-h

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/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
- import { Accordion, Accordions, AnchorBar, AnnouncementBanner, AltHeader, AnchorTabBar, AuxiliaryNav, BodyText, Card, Cards, Carousel, 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, Pagination, PasswordStrength, 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, Quote, VideoControls, VideoWithControls } from './components';
1
+ import { Accordion, Accordions, AnchorBar, AnnouncementBanner, AltHeader, AnchorTabBar, AuxiliaryNav, BodyText, Card, Cards, Carousel, 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, Pagination, PasswordStrength, 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
+ import Quote from './components/molecules/Quote';
3
4
  import { devices, breakpoints } from './styles/viewports';
4
5
  import zIndexes from './styles/zIndexes';
5
6
  import { AspectRatio, ButtonType, CarouselType, Colors, IconNameType, IntegratedTimerProps, ITimerProps, TickboxMode, ThemeColor, ThemeType, EditorialLink, IInformationTitleProps, IInformationCTAProps } from './types';
@@ -1,19 +1,8 @@
1
- import { StyledProps } from 'styled-components';
2
1
  export interface IQuoteProps {
3
- /**
4
- * Text placed in the Quote component
5
- */
2
+ /** Text placed in the Quote component */
6
3
  text: string;
7
- /**
8
- * Attribution under the main text
9
- */
4
+ /** Attribution under the main text */
10
5
  attribution?: string;
11
- }
12
- export interface IQuoteAttributionBlockProps extends StyledProps<{
13
- displayAttribution: boolean;
14
- }> {
15
- /**
16
- * Set visibility of the attribution block
17
- */
18
- displayAttribution: boolean;
6
+ /** Custom CSS classes */
7
+ className?: string;
19
8
  }
@@ -22,9 +22,13 @@ export interface IGenericTypographyProps<T extends HTMLElement = HTMLParagraphEl
22
22
  bold?: boolean;
23
23
  className?: string;
24
24
  }
25
- export interface IHarmonicHeaderProps extends IGenericTypographyProps {
25
+ export declare type HarmonicHeaderProps = (IGenericTypographyProps<HTMLHeadingElement> & {
26
26
  hierarchy: HeaderHierarchy;
27
- }
27
+ tag?: never;
28
+ }) | (IGenericTypographyProps<HTMLHeadingElement> & {
29
+ tag?: React.ElementType;
30
+ hierarchy?: never;
31
+ });
28
32
  export interface ITaggedTypographyProps extends IGenericTypographyProps {
29
33
  /** Specifies the HTML tag for rendering typography. The default is 'p'. */
30
34
  tag?: React.ElementType;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@royaloperahouse/harmonic",
3
- "version": "0.12.0-f",
3
+ "version": "0.12.0-h",
4
4
  "author": "Royal Opera House",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",