@royaloperahouse/harmonic 0.5.1 → 0.6.0
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/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/PageHeading/PageHeading.style.d.ts +2 -2
- package/dist/components/molecules/PageHeading/index.d.ts +2 -4
- package/dist/components/molecules/index.d.ts +2 -2
- package/dist/harmonic.cjs.development.css +5 -3
- package/dist/harmonic.cjs.development.js +172 -177
- 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 +175 -178
- package/dist/harmonic.esm.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/types/editorial.d.ts +16 -4
- package/dist/types/navigation.d.ts +4 -4
- package/dist/types/types.d.ts +16 -0
- package/package.json +1 -1
- package/dist/components/molecules/PageHeading/Cinema/Cinema.d.ts +0 -4
- package/dist/components/molecules/PageHeading/Cinema/index.d.ts +0 -2
- package/dist/components/molecules/PageHeading/Core/Core.d.ts +0 -4
- package/dist/components/molecules/PageHeading/Core/index.d.ts +0 -2
- package/dist/components/molecules/PageHeading/Stream/Stream.d.ts +0 -4
- package/dist/components/molecules/PageHeading/Stream/Stream.style.d.ts +0 -1
- package/dist/components/molecules/PageHeading/Stream/index.d.ts +0 -2
|
@@ -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, }: IDropdownProps) => React.JSX.Element;
|
|
3
|
+
declare const Dropdown: ({ title, titleLink, selected, options, onChange, iconName, isMobileBehaviour, withOptionsInMobile, withIcon, className, role, ariaLabel, trimTabText, }: IDropdownProps) => React.JSX.Element;
|
|
4
4
|
export default Dropdown;
|
|
@@ -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, withIcon, withTextInMobile, className, role, ariaLabel, }: ITabProps) => React.JSX.Element;
|
|
3
|
+
declare const Tab: ({ title, titleLink, onClick, onFocus, onReset, selected, iconName, iconDirection, withIcon, withTextInMobile, trimText, className, role, ariaLabel, color, }: ITabProps) => React.JSX.Element;
|
|
4
4
|
export default Tab;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { DisplayHeader, HarmonicHeader, HarmonicSubtitle, BodyCopyHarmonic, HarmonicOverline, ButtonText, Caption, NavigationText } from './Typography';
|
|
2
2
|
import { AltHeader, BodyText, CinemaBadge, ControlledDropdown, Grid, GridItem, Header, Icon, ImageAspectRatioWrapper, Overline, PrimaryButton, Progress, Radio, 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
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, ContactCard, ContentSummary, CreditListing, Editorial, ImageWithCaption, Information,
|
|
4
|
+
import { Accordion, Accordions, AnchorBar, AnnouncementBanner, AuxiliaryNav, Card, Cards, ContactCard, ContentSummary, CreditListing, Editorial, ImageWithCaption, Information, PageHeading, PageHeadingCompact, PageHeadingImpact, PageHeadingPanel, PageHeadingPromo, PasswordStrength, Pagination, PeopleListing, PromoWithTags, PromoWithTitle, RadioGroup, RadioGroup2, ReadMore, StatusBanner, SearchBar, SectionTitle, Select, Select2, Select2Async, SignUpForm, Table, Tabs, TextOnly, UpsellCard, Quote, VideoWithControls } 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, };
|
|
8
|
-
export { Accordion, Accordions, AnchorBar, AnnouncementBanner, AltHeader, AnchorTabBar, AuxiliaryNav, BodyText, Card, Cards, Carousel, ContactCard, ContentSummary, CinemaBadge, ControlledDropdown, CreditListing, Editorial, Footer, GlobalStyles, Grid, GridItem, HighlightsCarousel, HighlightsCarouselCinema, HighlightsCarouselCore, HighlightsCarouselStream, Header, Icon, ImageAspectRatioWrapper, ImageWithCaption, Information, MinimalCarousel, Navigation, Overline,
|
|
8
|
+
export { Accordion, Accordions, AnchorBar, AnnouncementBanner, AltHeader, AnchorTabBar, AuxiliaryNav, BodyText, Card, Cards, Carousel, ContactCard, ContentSummary, CinemaBadge, ControlledDropdown, CreditListing, Editorial, Footer, GlobalStyles, Grid, GridItem, HighlightsCarousel, HighlightsCarouselCinema, HighlightsCarouselCore, HighlightsCarouselStream, Header, Icon, ImageAspectRatioWrapper, ImageWithCaption, Information, MinimalCarousel, Navigation, Overline, PageHeading, PageHeadingCompact, PageHeadingImpact, PageHeadingPanel, PageHeadingPromo, Pagination, PasswordStrength, PeopleListing, PrimaryButton, Progress, PromoWithTags, PromoWithTitle, Radio, Radio2, RadioGroup, RadioGroup2, ReadMore, RotatorButtons, SecondaryButton, SecondaryLogo, StatusBanner, SearchBar, SectionTitle, Select, Select2, Select2Async, SponsorLogo, SignUpForm, Sponsorship, Stepper, StickyBar, StreamBadge, Subtitle, TertiaryButton, TextOnly, ThemeProvider, TitleWithCTA, SectionSplitter, Tab, TabLink, Table, Tabs, TextArea, TextField, TextFieldLegacy, TextLink, TextLogo, Tickbox, Tickbox2, Timer, TypeTags, UpsellCard, UpsellSection, Quote, VideoControls, VideoWithControls, };
|
|
@@ -3,9 +3,9 @@ export interface IPageHeadingWrapperProps {
|
|
|
3
3
|
}
|
|
4
4
|
export declare const PageHeadingWrapper: import("styled-components").StyledComponent<"div", any, IPageHeadingWrapperProps, never>;
|
|
5
5
|
export declare const PageHeadingGrid: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
|
+
export declare const BadgeWrapper: import("styled-components").StyledComponent<"div", any, IPageHeadingWrapperProps, never>;
|
|
6
7
|
export declare const TitleWrapper: import("styled-components").StyledComponent<"div", any, IPageHeadingWrapperProps, never>;
|
|
7
8
|
export declare const ChildrenWrapper: import("styled-components").StyledComponent<"div", any, IPageHeadingWrapperProps, never>;
|
|
8
9
|
export declare const TextWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
9
|
-
export declare const LogoWrapper: import("styled-components").StyledComponent<"div", any,
|
|
10
|
+
export declare const LogoWrapper: import("styled-components").StyledComponent<"div", any, IPageHeadingWrapperProps, never>;
|
|
10
11
|
export declare const ButtonWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
11
|
-
export declare const PageHeadingText: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
import PageHeadingCinema from './Cinema';
|
|
1
|
+
import PageHeading from './PageHeading';
|
|
3
2
|
import PageHeadingImpact from './Impact';
|
|
4
3
|
import PageHeadingPanel from './Panel';
|
|
5
|
-
import PageHeadingStream from './Stream';
|
|
6
4
|
import PageHeadingPromo from './Promo';
|
|
7
5
|
import PageHeadingCompact from './Compact/Compact';
|
|
8
|
-
export {
|
|
6
|
+
export { PageHeading, PageHeadingImpact, PageHeadingCompact, PageHeadingPanel, PageHeadingPromo };
|
|
@@ -7,7 +7,7 @@ import ContactCard from './ContactCard';
|
|
|
7
7
|
import ContentSummary from './ContentSummary';
|
|
8
8
|
import Editorial from './Editorial';
|
|
9
9
|
import Information from './Information';
|
|
10
|
-
import {
|
|
10
|
+
import { PageHeading, PageHeadingImpact, PageHeadingPanel, PageHeadingCompact, PageHeadingPromo } from './PageHeading';
|
|
11
11
|
import Pagination from './Pagination';
|
|
12
12
|
import { PeopleListing, CreditListing } from './PeopleListing';
|
|
13
13
|
import PolicyLinks from './PolicyLinks';
|
|
@@ -34,4 +34,4 @@ import Table from './Table';
|
|
|
34
34
|
import VideoWithControls from './VideoWithControls';
|
|
35
35
|
import SignUpForm from './SignUpForm';
|
|
36
36
|
import AnchorBar from './AnchorBar';
|
|
37
|
-
export { Accordion, Accordions, AnchorBar, AnnouncementBanner, AuxiliaryNav, Card, Cards, ContactCard, ContentSummary, CreditListing, Editorial, ImageWithCaption, Information, MiniCard,
|
|
37
|
+
export { Accordion, Accordions, AnchorBar, AnnouncementBanner, AuxiliaryNav, Card, Cards, ContactCard, ContentSummary, CreditListing, Editorial, ImageWithCaption, Information, MiniCard, PageHeading, PageHeadingCompact, PageHeadingImpact, PageHeadingPanel, PageHeadingPromo, PasswordStrength, Pagination, PeopleListing, PolicyLinks, PromoWithTags, PromoWithTitle, RadioGroup, RadioGroup2, ReadMore, Quote, StatusBanner, SectionTitle, SearchBar, Select, Select2, Select2Async, SignUpForm, Tabs, Table, TextOnly, UpsellCard, VideoWithControls, };
|
|
@@ -655,6 +655,7 @@
|
|
|
655
655
|
--information-panel-button-pressed-color: var(--color-white-pressed);
|
|
656
656
|
|
|
657
657
|
--heading-promo-bg-color: var(--color-primary-red);
|
|
658
|
+
--page-header-bg-color: var(--color-primary-red);
|
|
658
659
|
|
|
659
660
|
@media (max-width: 699px) {
|
|
660
661
|
--font-size-header-1: 38px;
|
|
@@ -841,6 +842,7 @@
|
|
|
841
842
|
--information-panel-bg-color: var(--color-primary-black);
|
|
842
843
|
|
|
843
844
|
--heading-promo-bg-color: var(--color-base-black);
|
|
845
|
+
--page-header-bg-color: var(--color-primary-black);
|
|
844
846
|
}
|
|
845
847
|
|
|
846
848
|
.cinema-theme-module_cinemaTheme__f5QFs {
|
|
@@ -885,9 +887,9 @@
|
|
|
885
887
|
--information-panel-button-hover-color: var(--color-rbo-red-hovered);
|
|
886
888
|
--information-panel-button-pressed-color: var(--color-rbo-red-pressed);
|
|
887
889
|
|
|
888
|
-
--heading-promo-bg-color: var(--color-base-white);
|
|
889
|
-
|
|
890
|
-
|
|
890
|
+
--heading-promo-bg-color: var(--color-base-white);
|
|
891
|
+
--page-header-bg-color: var(--color-primary-black);
|
|
892
|
+
};
|
|
891
893
|
.schools-theme-module_schoolsTheme__CWHba {
|
|
892
894
|
/* Schools theme overrides */
|
|
893
895
|
--base-color-primary: #c8102e;
|