@royaloperahouse/harmonic 0.18.2-d → 0.18.2-e
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 +1 -9
- package/dist/components/atoms/Buttons/Button.d.ts +3 -10
- package/dist/components/atoms/Buttons/Primary/PrimaryButton.d.ts +3 -17
- package/dist/components/atoms/Buttons/Primary/PrimaryButton.style.d.ts +1 -9
- package/dist/components/atoms/Buttons/Secondary/SecondaryButton.style.d.ts +1 -9
- package/dist/components/atoms/Dropdown/Dropdown.d.ts +1 -1
- package/dist/components/atoms/Tab/Tab.d.ts +1 -1
- package/dist/components/index.d.ts +2 -2
- package/dist/components/molecules/CastFilter/CastFilters.style.d.ts +2 -0
- package/dist/components/molecules/HotFilters/HotFilters.style.d.ts +1 -16
- package/dist/components/molecules/PageHeading/Compact/Compact.style.d.ts +1 -16
- package/dist/components/molecules/PageHeading/Impact/Impact.style.d.ts +9 -302
- package/dist/components/molecules/index.d.ts +2 -1
- package/dist/components/organisms/TitleWithCTA/TitleWithCTA.style.d.ts +1 -16
- package/dist/harmonic.cjs.development.css +319 -0
- package/dist/harmonic.cjs.development.js +1931 -1878
- 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 +1936 -1881
- 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/impactHeader.d.ts +32 -14
- package/dist/types/types.d.ts +9 -7
- package/package.json +3 -3
- package/dist/components/atoms/VideoControlsImpact/VideoControlsImpact.d.ts +0 -4
- package/dist/components/atoms/VideoControlsImpact/VideoControlsImpact.style.d.ts +0 -5
- package/dist/components/atoms/VideoControlsImpact/index.d.ts +0 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
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, 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';
|
|
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, 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, };
|
|
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, };
|
|
@@ -20,28 +20,46 @@ export interface CustomSponsorImageData {
|
|
|
20
20
|
title: string;
|
|
21
21
|
}
|
|
22
22
|
export interface IPageHeadingImpactProps {
|
|
23
|
-
/**
|
|
23
|
+
/**
|
|
24
|
+
* Text placed in the impact component
|
|
25
|
+
*/
|
|
24
26
|
text?: string;
|
|
25
|
-
/**
|
|
27
|
+
/**
|
|
28
|
+
* Link placed in the impact component
|
|
29
|
+
*/
|
|
26
30
|
link?: EditorialLink;
|
|
27
|
-
/**
|
|
31
|
+
/**
|
|
32
|
+
* Boolean to show/hide sponsorship logo (default true)
|
|
33
|
+
*/
|
|
28
34
|
sponsor?: boolean;
|
|
29
|
-
/**
|
|
35
|
+
/**
|
|
36
|
+
* Data for custom sponsor
|
|
37
|
+
*/
|
|
30
38
|
customSponsorImage?: CustomSponsorImageData;
|
|
31
|
-
/**
|
|
39
|
+
/**
|
|
40
|
+
* Background url for desktops
|
|
41
|
+
*/
|
|
32
42
|
bgUrlDesktop: string;
|
|
33
|
-
/**
|
|
43
|
+
/**
|
|
44
|
+
* Background url for devices
|
|
45
|
+
*/
|
|
34
46
|
bgUrlDevice?: string;
|
|
35
|
-
/**
|
|
47
|
+
/**
|
|
48
|
+
* Alt text for the main image
|
|
49
|
+
*/
|
|
36
50
|
bgImageAltText?: string;
|
|
37
|
-
/**
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
videoUrlMobile?: string;
|
|
41
|
-
/** Logo to be placed in page heading component */
|
|
51
|
+
/**
|
|
52
|
+
* Logo to be placed in page heading component
|
|
53
|
+
*/
|
|
42
54
|
children?: ReactNode;
|
|
43
|
-
/**
|
|
44
|
-
|
|
55
|
+
/**
|
|
56
|
+
* Internal anchor ref
|
|
57
|
+
*/
|
|
58
|
+
scrollHref?: string;
|
|
59
|
+
/**
|
|
60
|
+
* Semantic level of the header
|
|
61
|
+
*/
|
|
62
|
+
semanticLevel?: TypographyLevel;
|
|
45
63
|
}
|
|
46
64
|
export declare type BrandingStyle = 'BlockText' | 'BodyText' | 'StreamLogo' | 'CinemaLogo' | 'TextLink';
|
|
47
65
|
export interface IPageHeadingCompactProps {
|
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
|
}
|
|
@@ -713,12 +721,6 @@ export interface IVideoControlsProps {
|
|
|
713
721
|
*/
|
|
714
722
|
loop?: boolean;
|
|
715
723
|
}
|
|
716
|
-
export interface IVideoControlsImpactProps {
|
|
717
|
-
/** Video element id */
|
|
718
|
-
videoElementId: string;
|
|
719
|
-
/** Loops */
|
|
720
|
-
loop?: boolean;
|
|
721
|
-
}
|
|
722
724
|
export declare type IVideoWithControlsSettings = Omit<IVideoControlsProps, 'videoElementId' | 'videoContainerId'>;
|
|
723
725
|
export interface IVideoWithControlsProps {
|
|
724
726
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@royaloperahouse/harmonic",
|
|
3
|
-
"version": "0.18.2-
|
|
3
|
+
"version": "0.18.2-e",
|
|
4
4
|
"author": "Royal Opera House",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -62,6 +62,7 @@
|
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"@babel/core": "^7.16.0",
|
|
64
64
|
"@babel/plugin-transform-modules-commonjs": "^7.16.0",
|
|
65
|
+
"@rollup/plugin-url": "^6.0.0",
|
|
65
66
|
"@size-limit/file": "^11.1.6",
|
|
66
67
|
"@size-limit/webpack": "^11.1.6",
|
|
67
68
|
"@size-limit/webpack-why": "^11.1.6",
|
|
@@ -142,6 +143,5 @@
|
|
|
142
143
|
"npx eslint src --fix ",
|
|
143
144
|
"npx prettier src --write --uncommitted"
|
|
144
145
|
]
|
|
145
|
-
}
|
|
146
|
-
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
|
|
146
|
+
}
|
|
147
147
|
}
|
|
@@ -1,5 +0,0 @@
|
|
|
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>;
|