@royaloperahouse/harmonic 0.12.1 → 0.13.0-a
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/CHANGELOG.md +2 -2
- package/README.md +252 -43
- package/dist/components/Typography/Typography.d.ts +277 -6
- package/dist/components/atoms/Buttons/Secondary/utils.d.ts +4 -4
- package/dist/components/atoms/Dropdown/Dropdown.d.ts +1 -1
- package/dist/components/atoms/RotatorButtons/RotatorButtons.d.ts +1 -1
- package/dist/components/atoms/RotatorButtons/RotatorButtons.style.d.ts +1 -0
- package/dist/components/atoms/SectionSplitter/SectionSplitter.d.ts +1 -1
- package/dist/components/atoms/Tab/Tab.d.ts +1 -1
- package/dist/components/atoms/TextField/TextField.style.d.ts +1 -1
- package/dist/components/index.d.ts +3 -3
- package/dist/components/molecules/Accordion/Accordion.style.d.ts +8 -4
- package/dist/components/molecules/BodyContent/BodyContent.d.ts +4 -0
- package/dist/components/molecules/BodyContent/BodyContent.style.d.ts +1 -0
- package/dist/components/molecules/BodyContent/index.d.ts +2 -0
- package/dist/components/molecules/Card/Card.style.d.ts +1 -1
- package/dist/components/molecules/CastFilter/CastFilters.d.ts +4 -0
- package/dist/components/molecules/CastFilter/CastFilters.style.d.ts +14 -0
- package/dist/components/molecules/CastFilter/index.d.ts +2 -0
- package/dist/components/molecules/ContactCard/ContactCard.style.d.ts +5 -4
- package/dist/components/molecules/ContentSummary/ContentSummary.style.d.ts +1 -1
- package/dist/components/molecules/Editorial/Editorial.style.d.ts +2 -2
- package/dist/components/molecules/ImageWithCaption/ImageWithCaption.style.d.ts +1 -1
- package/dist/components/molecules/Information/Information.style.d.ts +3 -2
- package/dist/components/molecules/PageHeading/Highlight/Highlight.d.ts +4 -0
- package/dist/components/molecules/PageHeading/Highlight/Highlight.style.d.ts +9 -0
- package/dist/components/molecules/PageHeading/Highlight/index.d.ts +2 -0
- package/dist/components/molecules/PageHeading/Promo/Promo.d.ts +1 -2
- package/dist/components/molecules/PageHeading/index.d.ts +2 -1
- package/dist/components/molecules/Pagination/Pagination.style.d.ts +1 -1
- package/dist/components/molecules/PeopleListing/PeopleListing.d.ts +1 -1
- package/dist/components/molecules/PeopleListing/PeopleListing.style.d.ts +2 -2
- package/dist/components/molecules/PromoWithTags/PromoWithTags.style.d.ts +3 -6
- package/dist/components/molecules/PromoWithTitle/PromoWithTitle.style.d.ts +2 -2
- package/dist/components/molecules/Quote/Quote.style.d.ts +3 -4
- package/dist/components/molecules/SectionTitle/SectionTitle.d.ts +1 -1
- package/dist/components/molecules/SkipToMain/SkipToMain.d.ts +23 -0
- package/dist/components/molecules/SkipToMain/SkipToMain.style.d.ts +7 -0
- package/dist/components/molecules/SkipToMain/index.d.ts +2 -0
- package/dist/components/molecules/index.d.ts +3 -4
- package/dist/components/organisms/AnchorTabBar/AnchorTabBar.style.d.ts +8 -3
- package/dist/components/organisms/Carousels/Carousel/Carousel.style.d.ts +1 -0
- package/dist/components/organisms/Navigation/Navigation.d.ts +1 -1
- package/dist/components/organisms/StickyBar/StickyBar.style.d.ts +1 -1
- package/dist/harmonic.cjs.development.css +345 -16
- package/dist/harmonic.cjs.development.js +6821 -6674
- 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 +6821 -6673
- package/dist/harmonic.esm.js.map +1 -1
- package/dist/index.d.ts +6 -3
- package/dist/styles/HarmonicThemeProvider/HarmonicThemeProvider.d.ts +4 -0
- package/dist/styles/HarmonicThemeProvider/index.d.ts +2 -1
- package/dist/types/buttonTypes.d.ts +6 -2
- package/dist/types/contactCard.d.ts +8 -22
- package/dist/types/editorial.d.ts +6 -20
- package/dist/types/image.d.ts +5 -9
- package/dist/types/impactHeader.d.ts +22 -2
- package/dist/types/information.d.ts +23 -43
- package/dist/types/navigation.d.ts +35 -61
- package/dist/types/promoWithTags.d.ts +9 -1
- package/dist/types/quote.d.ts +4 -15
- package/dist/types/types.d.ts +100 -75
- package/dist/types/typography.d.ts +9 -1
- package/package.json +1 -1
- package/README.GIT +0 -278
- package/dist/components/molecules/TextOnly/TextOnly.d.ts +0 -4
- package/dist/components/molecules/TextOnly/TextOnly.style.d.ts +0 -1
- package/dist/components/molecules/TextOnly/index.d.ts +0 -2
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export declare const ButtonsContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
2
|
export declare const IconWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
3
|
export declare const IconUnavailableWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
export declare const FullscreenIconWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ISectionSplitterProps } from '../../../types/types';
|
|
3
|
-
declare const SectionSplitter: ({ fullWidth }: ISectionSplitterProps) => React.JSX.Element;
|
|
3
|
+
declare const SectionSplitter: ({ fullWidth, className }: ISectionSplitterProps) => React.JSX.Element;
|
|
4
4
|
export default SectionSplitter;
|
|
@@ -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, iconDirection, withIcon, withTextInMobile, trimText, className, role, ariaLabel, color, }: ITabProps) => React.JSX.Element;
|
|
3
|
+
declare const Tab: ({ title, titleLink, onClick, onFocus, onReset, selected, iconName, iconDirection, withIcon, withTextInMobile, trimText, className, role, ariaLabel, tabLinkId, color, }: ITabProps) => React.JSX.Element;
|
|
4
4
|
export default Tab;
|
|
@@ -7,4 +7,4 @@ export declare const Input: import("styled-components").StyledComponent<"input",
|
|
|
7
7
|
export declare const ShowHideButton: import("styled-components").StyledComponent<"button", any, {}, never>;
|
|
8
8
|
export declare const TextLabel: import("styled-components").StyledComponent<"div", any, Pick<ITextFieldProps, "darkMode">, never>;
|
|
9
9
|
export declare const ErrorLabel: import("styled-components").StyledComponent<"div", any, Pick<ITextFieldProps, "darkMode">, never>;
|
|
10
|
-
export declare const BodyCopyHarmonicWithWrapper: import("styled-components").StyledComponent<(
|
|
10
|
+
export declare const BodyCopyHarmonicWithWrapper: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../../../types/typography").ITaggedTypographyProps & import("react").RefAttributes<HTMLParagraphElement>>, any, {}, never>;
|
|
@@ -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, HotFilters, ImageWithCaption, Information, PageHeading, PageHeadingCompact, PageHeadingImpact, PageHeadingPanel, PageHeadingPromo, PasswordStrength, Pagination, PeopleListing, PromoWithTags, PromoWithTitle, RadioGroup, RadioGroup2, ReadMore, StatusBanner, SearchBar, SectionTitle, Select, Select2, Select2Async, SignUpForm, Table, Tabs,
|
|
4
|
+
import { Accordion, Accordions, AnchorBar, AnnouncementBanner, AuxiliaryNav, Card, Cards, ContactCard, ContentSummary, CreditListing, Editorial, HotFilters, ImageWithCaption, Information, PageHeading, PageHeadingCompact, PageHeadingImpact, PageHeadingPanel, PageHeadingPromo, PageHeadingHighlight, PasswordStrength, Pagination, PeopleListing, PromoWithTags, PromoWithTitle, RadioGroup, RadioGroup2, ReadMore, StatusBanner, SearchBar, SectionTitle, Select, Select2, Select2Async, SignUpForm, Table, Tabs, UpsellCard, VideoWithControls, SkipToMain } from './molecules';
|
|
5
5
|
import ThemeProvider from '../styles/ThemeProvider';
|
|
6
6
|
import GlobalStyles from '../styles/GlobalStyles';
|
|
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, HotFilters, 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,
|
|
7
|
+
export { DisplayHeader, HarmonicHeader, HarmonicSubtitle, BodyCopyHarmonic, HarmonicOverline, ButtonText, Caption, NavigationText, SkipToMain, };
|
|
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, HotFilters, Icon, ImageAspectRatioWrapper, ImageWithCaption, Information, MinimalCarousel, Navigation, Overline, PageHeading, PageHeadingCompact, PageHeadingImpact, PageHeadingPanel, PageHeadingHighlight, 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, ThemeProvider, TitleWithCTA, SectionSplitter, Tab, TabLink, Table, Tabs, TextArea, TextField, TextFieldLegacy, TextLink, TextLogo, Tickbox, Tickbox2, Timer, TypeTags, UpsellCard, UpsellSection, VideoControls, VideoWithControls, };
|
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
export declare const AccordionContainer: import("styled-components").StyledComponent<"div", any, {
|
|
2
|
-
|
|
1
|
+
export declare const AccordionContainer: import("styled-components").StyledComponent<"div", any, {
|
|
2
|
+
showLine?: boolean | undefined;
|
|
3
|
+
}, never>;
|
|
3
4
|
export declare const ChildrenContainer: import("styled-components").StyledComponent<"div", any, {
|
|
4
5
|
isVisible: boolean;
|
|
5
6
|
}, never>;
|
|
6
|
-
export declare const TitleContainer: import("styled-components").StyledComponent<"div", any, {
|
|
7
|
-
|
|
7
|
+
export declare const TitleContainer: import("styled-components").StyledComponent<"div", any, {
|
|
8
|
+
hasChildren?: boolean | undefined;
|
|
9
|
+
}, never>;
|
|
10
|
+
export declare const TitleText: import("styled-components").StyledComponent<({ children, size, color, className, tag: Tag, }: import("../../../types/typography").ITaggedTypographyProps) => import("react").JSX.Element, any, {}, never>;
|
|
11
|
+
export declare const ContentContainer: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../../../types/typography").ITaggedTypographyProps & import("react").RefAttributes<HTMLParagraphElement>>, any, {
|
|
8
12
|
textHeight?: string | undefined;
|
|
9
13
|
}, never>;
|
|
10
14
|
export declare const PrintHideWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const TextContainer: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../../../types/typography").ITaggedTypographyProps & import("react").RefAttributes<HTMLParagraphElement>>, any, {}, never>;
|
|
@@ -11,7 +11,7 @@ export declare const ProgressContainer: import("styled-components").StyledCompon
|
|
|
11
11
|
export declare const ContentContainer: import("styled-components").StyledComponent<"div", any, ICardContentContainerProps, never>;
|
|
12
12
|
export declare const TitleContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
13
13
|
export declare const TitleContainerMobile: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
14
|
-
export declare const TextContainer: import("styled-components").StyledComponent<"
|
|
14
|
+
export declare const TextContainer: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../../../types/typography").ITaggedTypographyProps & import("react").RefAttributes<HTMLParagraphElement>>, any, {}, never>;
|
|
15
15
|
export declare const HighlightTextContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
16
16
|
export declare const SubtitleContainer: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
17
17
|
export declare const LabelContainer: import("styled-components").StyledComponent<"div", any, {
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare const CastFiltersComponentWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const CastFiltersWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const CastWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
export declare const ActionButtons: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
|
+
export declare const PersonWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
|
+
export declare const PersonToggle: import("styled-components").StyledComponent<"div", any, {
|
|
7
|
+
isSelected: boolean;
|
|
8
|
+
}, never>;
|
|
9
|
+
export declare const PersonImage: import("styled-components").StyledComponent<"img", any, {}, never>;
|
|
10
|
+
export declare const MissingImage: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
11
|
+
export declare const PersonName: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
12
|
+
export declare const Decal: import("styled-components").StyledComponent<"div", any, {
|
|
13
|
+
isSelected: boolean;
|
|
14
|
+
}, never>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { IContactCardWrapperProps } from '../../../types/contactCard';
|
|
2
1
|
export declare const ContentWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
-
export declare const Wrapper: import("styled-components").StyledComponent<"div", any,
|
|
4
|
-
export declare const
|
|
5
|
-
export declare const
|
|
2
|
+
export declare const Wrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const AddressWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
+
export declare const TitleWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
|
+
export declare const MobileSuffixWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
|
+
export declare const DesktopSuffixWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
7
|
export declare const DetailsWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -7,7 +7,7 @@ interface ContentSummaryProps {
|
|
|
7
7
|
interface Clickable {
|
|
8
8
|
clickable?: boolean;
|
|
9
9
|
}
|
|
10
|
-
export declare const BodyTextRelative: import("styled-components").StyledComponent<(
|
|
10
|
+
export declare const BodyTextRelative: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../../../types/typography").ITaggedTypographyProps & import("react").RefAttributes<HTMLParagraphElement>>, any, {}, never>;
|
|
11
11
|
export declare const ContentSummaryWrapper: import("styled-components").StyledComponent<"article", any, Clickable, never>;
|
|
12
12
|
export declare const ContentSummaryImageWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
13
13
|
export declare const ContentSummaryTextWrapper: import("styled-components").StyledComponent<"div", any, ContentSummaryProps, never>;
|
|
@@ -2,5 +2,5 @@ import { IEditorialGridProps } from '../../../types/editorial';
|
|
|
2
2
|
export declare const EditorialGrid: import("styled-components").StyledComponent<"div", any, IEditorialGridProps, never>;
|
|
3
3
|
export declare const EditorialImageWrapper: import("styled-components").StyledComponent<"div", any, IEditorialGridProps, never>;
|
|
4
4
|
export declare const EditorialTextWrapper: import("styled-components").StyledComponent<"div", any, IEditorialGridProps, never>;
|
|
5
|
-
export declare const EditorialSubtitle: import("styled-components").StyledComponent<"
|
|
6
|
-
export declare const EditorialText: import("styled-components").StyledComponent<"
|
|
5
|
+
export declare const EditorialSubtitle: import("styled-components").StyledComponent<({ children, size, color, className, tag: Tag, }: import("../../../types/typography").ITaggedTypographyProps) => import("react").JSX.Element, any, {}, never>;
|
|
6
|
+
export declare const EditorialText: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../../../types/typography").ITaggedTypographyProps & import("react").RefAttributes<HTMLParagraphElement>>, any, {}, never>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { IImageWithCaptionWrapperProps } from '../../../types/image';
|
|
2
2
|
export declare const Wrapper: import("styled-components").StyledComponent<"figure", any, IImageWithCaptionWrapperProps, never>;
|
|
3
|
-
export declare const CaptionWrapper: import("styled-components").StyledComponent<"
|
|
3
|
+
export declare const CaptionWrapper: import("styled-components").StyledComponent<({ children, color, tag: Tag, className }: import("../../../types/typography").ITaggedTypographyProps) => import("react").JSX.Element, any, {}, never>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import type { InformationCTAWrapperProps } from '../../../types/information';
|
|
1
2
|
export declare const InfoWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
3
|
export declare const InfoTitle: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
-
export declare const InfoCTAWrapper: import("styled-components").StyledComponent<"div", any,
|
|
4
|
-
export declare const InfoBodyWrapper: import("styled-components").StyledComponent<(
|
|
4
|
+
export declare const InfoCTAWrapper: import("styled-components").StyledComponent<"div", any, InformationCTAWrapperProps, never>;
|
|
5
|
+
export declare const InfoBodyWrapper: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../../../types/typography").ITaggedTypographyProps & import("react").RefAttributes<HTMLParagraphElement>>, any, {}, never>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ThemeColor } from '../../../../types';
|
|
2
|
+
export declare const HighlightPanelGrid: import("styled-components").StyledComponent<"div", any, {
|
|
3
|
+
$background: ThemeColor;
|
|
4
|
+
}, never>;
|
|
5
|
+
export declare const LeftPanel: import("styled-components").StyledComponent<"div", any, {
|
|
6
|
+
hasImage: boolean;
|
|
7
|
+
}, never>;
|
|
8
|
+
export declare const RightPanel: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
9
|
+
export declare const Wrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { IPageHeadingPromoProps } from '../../../../types/impactHeader';
|
|
3
|
-
|
|
4
|
-
declare const PageHeadingPromo: React.FC<IPageHeadingPromoProps & ThemeChildProps>;
|
|
3
|
+
declare const PageHeadingPromo: React.FC<IPageHeadingPromoProps>;
|
|
5
4
|
export default PageHeadingPromo;
|
|
@@ -2,5 +2,6 @@ import PageHeading from './PageHeading';
|
|
|
2
2
|
import PageHeadingImpact from './Impact';
|
|
3
3
|
import PageHeadingPanel from './Panel';
|
|
4
4
|
import PageHeadingPromo from './Promo';
|
|
5
|
+
import PageHeadingHighlight from './Highlight';
|
|
5
6
|
import PageHeadingCompact from './Compact/Compact';
|
|
6
|
-
export { PageHeading, PageHeadingImpact, PageHeadingCompact, PageHeadingPanel, PageHeadingPromo };
|
|
7
|
+
export { PageHeading, PageHeadingImpact, PageHeadingCompact, PageHeadingPanel, PageHeadingHighlight, PageHeadingPromo };
|
|
@@ -4,6 +4,6 @@ export declare const MorePages: import("styled-components").StyledComponent<"spa
|
|
|
4
4
|
export declare const PageNumberWrapper: import("styled-components").StyledComponent<"ol", any, {}, never>;
|
|
5
5
|
export declare const LastPageItem: import("styled-components").StyledComponent<"li", any, {}, never>;
|
|
6
6
|
export declare const PreviousPageItem: import("styled-components").StyledComponent<"li", any, {}, never>;
|
|
7
|
-
export declare const TextLinkPagination: import("styled-components").StyledComponent<(
|
|
7
|
+
export declare const TextLinkPagination: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../../../types/typography").ITaggedTypographyProps & import("react").RefAttributes<HTMLParagraphElement>>, any, {
|
|
8
8
|
active?: boolean | undefined;
|
|
9
9
|
}, never>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { IPeopleListing } from '../../../types/types';
|
|
3
|
-
declare const PeopleListing: ({ roles }: IPeopleListing) => React.JSX.Element;
|
|
3
|
+
declare const PeopleListing: ({ roles, className }: IPeopleListing) => React.JSX.Element;
|
|
4
4
|
export default PeopleListing;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const PeopleListingGrid: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
2
|
export declare const PersonWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
3
|
export declare const HeadshotWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
|
-
export declare const
|
|
4
|
+
export declare const RoleContent: import("styled-components").StyledComponent<({ children, size, color, className, tag: Tag, }: import("../../../types/typography").ITaggedTypographyProps) => import("react").JSX.Element, any, {}, never>;
|
|
5
5
|
export declare const TextWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
6
|
export declare const PersonLink: import("styled-components").StyledComponent<"a", any, {}, never>;
|
|
7
|
-
export declare const
|
|
7
|
+
export declare const ReplacementContent: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
@@ -2,21 +2,18 @@ import { IEditorialGridProps } from '../../../types/editorial';
|
|
|
2
2
|
import { IPromoWithTagsStyledProps } from '../../../types/promoWithTags';
|
|
3
3
|
export declare const PromoWithTagsGrid: import("styled-components").StyledComponent<"div", any, IEditorialGridProps, never>;
|
|
4
4
|
export declare const PromoWithTagsSubtitle: import("styled-components").StyledComponent<"span", any, {}, never>;
|
|
5
|
-
export declare const PromoWithTagsText: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
5
|
export declare const ButtonsContainer: import("styled-components").StyledComponent<"div", any, IEditorialGridProps, never>;
|
|
7
6
|
export declare const PromoWithTagsTagWrapper: import("styled-components").StyledComponent<"div", any, IPromoWithTagsStyledProps, never>;
|
|
8
|
-
export declare const PromoWithTagsAdditionalText: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
9
7
|
export declare const TextLinksContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
10
8
|
export declare const TextLinkWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
11
9
|
export declare const ExtraContentWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
12
10
|
export declare const IconWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
13
11
|
export declare const PrimaryButtonWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
14
12
|
export declare const MobileTitleWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
15
|
-
export declare const PromoWithTagsTypeTags: import("styled-components").StyledComponent<({ list }: import("../../../types/types").ITypeTagsProps) => import("react").JSX.Element, any, {}, never>;
|
|
16
|
-
export declare const PromoWithTagsHeader: import("styled-components").StyledComponent<({ semanticLevel, level, children }: import("../../../types/typography").IHeaderProps) => import("react").JSX.Element, any, {}, never>;
|
|
17
|
-
export declare const PromoWithTagsTextLink: import("styled-components").StyledComponent<import("react").FunctionComponent<import("../../../types/types").ITextLinkProps>, any, {}, never>;
|
|
18
13
|
export declare const PromoWithTagsExtraContentWrapper: import("styled-components").StyledComponent<"div", any, IEditorialGridProps, never>;
|
|
19
14
|
export declare const PromoWithTagsContentWrapper: import("styled-components").StyledComponent<"div", any, IEditorialGridProps, never>;
|
|
20
|
-
export declare const PromoWithTagsContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
21
15
|
export declare const TimerWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
22
16
|
export declare const EndDateText: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
17
|
+
export declare const HarmonicHeaderWithWrapper: import("styled-components").StyledComponent<({ children, size, em, color, serif, hierarchy: Tag, className, }: import("../../../types/typography").IHarmonicHeaderProps) => import("react").JSX.Element, any, {}, never>;
|
|
18
|
+
export declare const BodyCopyHarmonicWithWrapper: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../../../types/typography").ITaggedTypographyProps & import("react").RefAttributes<HTMLParagraphElement>>, any, {}, never>;
|
|
19
|
+
export declare const HarmonicSubtitleWithWrapper: import("styled-components").StyledComponent<({ children, size, color, className, tag: Tag, }: import("../../../types/typography").ITaggedTypographyProps) => import("react").JSX.Element, any, {}, never>;
|
|
@@ -3,6 +3,6 @@ export declare const PromoWithTitleGrid: import("styled-components").StyledCompo
|
|
|
3
3
|
export declare const PromoWithTitleImageWrapper: import("styled-components").StyledComponent<"div", any, IEditorialGridProps, never>;
|
|
4
4
|
export declare const PromoWithTitleContentWrapper: import("styled-components").StyledComponent<"div", any, IEditorialGridProps, never>;
|
|
5
5
|
export declare const HarmonicHeaderWithWrapper: import("styled-components").StyledComponent<({ children, size, em, color, serif, hierarchy: Tag, className, }: import("../../../types/typography").IHarmonicHeaderProps) => import("react").JSX.Element, any, {}, never>;
|
|
6
|
-
export declare const HarmonicSubtitleWithWrapper: import("styled-components").StyledComponent<({ children, size, color, className }: import("../../../types/typography").
|
|
7
|
-
export declare const BodyCopyHarmonicWithWrapper: import("styled-components").StyledComponent<(
|
|
6
|
+
export declare const HarmonicSubtitleWithWrapper: import("styled-components").StyledComponent<({ children, size, color, className, tag: Tag, }: import("../../../types/typography").ITaggedTypographyProps) => import("react").JSX.Element, any, {}, never>;
|
|
7
|
+
export declare const BodyCopyHarmonicWithWrapper: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("../../../types/typography").ITaggedTypographyProps & import("react").RefAttributes<HTMLParagraphElement>>, any, {}, never>;
|
|
8
8
|
export declare const ButtonsContainer: import("styled-components").StyledComponent<"div", any, IEditorialGridProps, never>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const
|
|
4
|
-
export declare const Line: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
1
|
+
export declare const FigureBlock: import("styled-components").StyledComponent<"figure", any, {}, never>;
|
|
2
|
+
export declare const BlockquoteBlock: import("styled-components").StyledComponent<"blockquote", any, {}, never>;
|
|
3
|
+
export declare const AttributionBlock: import("styled-components").StyledComponent<({ children, size, color, className, tag: Tag, }: import("../../../types/typography").ITaggedTypographyProps) => import("react").JSX.Element, any, {}, never>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ISectionTitleProps } from '../../../types/types';
|
|
3
|
-
declare const SectionTitle: ({ title, size, description,
|
|
3
|
+
declare const SectionTitle: ({ title, size, description, className }: ISectionTitleProps) => React.JSX.Element;
|
|
4
4
|
export default SectionTitle;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ISkipToMainProps } from '../../../types/types';
|
|
3
|
+
declare const SkipToMain: ({ skipToId }: ISkipToMainProps) => React.JSX.Element | null;
|
|
4
|
+
export default SkipToMain;
|
|
5
|
+
/** TODO:
|
|
6
|
+
* - make robust with SSR - might be solved with moving logic to FE. ✅
|
|
7
|
+
* - hiding thing when element not found - might be solved with copying Tab element. ✅
|
|
8
|
+
* - fix columns ✅
|
|
9
|
+
* - fix top-bottom margin ✅
|
|
10
|
+
* - remove !important ✅
|
|
11
|
+
* - add types file ✅
|
|
12
|
+
* - mobile solution ✅
|
|
13
|
+
* - implement in Nav ✅
|
|
14
|
+
* - consider: Make other Tab props available? ✅
|
|
15
|
+
* - is Classname needed as a prop after all? ✅
|
|
16
|
+
* - J's comment about id vs element ✅
|
|
17
|
+
* - documentation ✅
|
|
18
|
+
* - SkiptoMain storybook ✅
|
|
19
|
+
* - Navigation storybook ✅
|
|
20
|
+
* - Fix desktop margin
|
|
21
|
+
* - Check if mobile works
|
|
22
|
+
* - Tests
|
|
23
|
+
*/
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
interface FocusableTabProps {
|
|
2
|
+
$hide?: boolean;
|
|
3
|
+
}
|
|
4
|
+
export declare const SkiptoMainContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
|
+
export declare const FocusableTab: import("styled-components").StyledComponent<({ title, titleLink, onClick, onFocus, onReset, selected, iconName, iconDirection, withIcon, withTextInMobile, trimText, className, role, ariaLabel, tabLinkId, color, }: import("../../../types/types").ITabProps) => import("react").JSX.Element, any, FocusableTabProps, never>;
|
|
6
|
+
export declare const HiddenBlock: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
7
|
+
export {};
|
|
@@ -8,7 +8,7 @@ import ContentSummary from './ContentSummary';
|
|
|
8
8
|
import Editorial from './Editorial';
|
|
9
9
|
import HotFilters from './HotFilters';
|
|
10
10
|
import Information from './Information';
|
|
11
|
-
import { PageHeading, PageHeadingImpact, PageHeadingPanel, PageHeadingCompact, PageHeadingPromo } from './PageHeading';
|
|
11
|
+
import { PageHeading, PageHeadingImpact, PageHeadingPanel, PageHeadingCompact, PageHeadingPromo, PageHeadingHighlight } from './PageHeading';
|
|
12
12
|
import Pagination from './Pagination';
|
|
13
13
|
import { PeopleListing, CreditListing } from './PeopleListing';
|
|
14
14
|
import PolicyLinks from './PolicyLinks';
|
|
@@ -23,10 +23,8 @@ import Select from './Select';
|
|
|
23
23
|
import Select2 from './Select2';
|
|
24
24
|
import Select2Async from './Select2Async';
|
|
25
25
|
import Tabs from './Tabs';
|
|
26
|
-
import TextOnly from './TextOnly';
|
|
27
26
|
import UpsellCard from './UpsellCard';
|
|
28
27
|
import ImageWithCaption from './ImageWithCaption';
|
|
29
|
-
import Quote from './Quote';
|
|
30
28
|
import MiniCard from './MiniCard';
|
|
31
29
|
import ReadMore from './ReadMore';
|
|
32
30
|
import AuxiliaryNav from './AuxiliaryNav';
|
|
@@ -35,4 +33,5 @@ import Table from './Table';
|
|
|
35
33
|
import VideoWithControls from './VideoWithControls';
|
|
36
34
|
import SignUpForm from './SignUpForm';
|
|
37
35
|
import AnchorBar from './AnchorBar';
|
|
38
|
-
|
|
36
|
+
import SkipToMain from './SkipToMain';
|
|
37
|
+
export { Accordion, Accordions, AnchorBar, AnnouncementBanner, AuxiliaryNav, Card, Cards, ContactCard, ContentSummary, CreditListing, Editorial, HotFilters, ImageWithCaption, Information, MiniCard, PageHeading, PageHeadingCompact, PageHeadingImpact, PageHeadingHighlight, PageHeadingPanel, PageHeadingPromo, PasswordStrength, Pagination, PeopleListing, PolicyLinks, PromoWithTags, PromoWithTitle, RadioGroup, RadioGroup2, ReadMore, StatusBanner, SectionTitle, SearchBar, Select, Select2, Select2Async, SignUpForm, Tabs, Table, UpsellCard, VideoWithControls, SkipToMain, };
|
|
@@ -1,8 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IAnchorTabsListProps, IAnchorTabBarBorderProps } from '../../../types/navigation';
|
|
2
2
|
export declare const LIST_ITEM_GAP = 32;
|
|
3
3
|
export declare const AnchorTabbarWrapper: import("styled-components").StyledComponent<"div", any, IAnchorTabBarBorderProps, never>;
|
|
4
4
|
export declare const TabsGrid: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
5
|
export declare const TabsWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
6
|
export declare const TabsList: import("styled-components").StyledComponent<"ul", any, IAnchorTabsListProps, never>;
|
|
7
|
-
export declare const
|
|
8
|
-
export declare const
|
|
7
|
+
export declare const ArrowControls: import("styled-components").StyledComponent<({ onClickPrev, onClickNext, availablePrev, availableNext, showFullscreen, onClickFullscreen, isFullscreen, className, }: import("../../../types/buttonTypes").RotatorButtonsProps) => import("react").JSX.Element, any, IAnchorTabBarBorderProps, never>;
|
|
8
|
+
export declare const ArrowsContainer: import("styled-components").StyledComponent<"div", any, {
|
|
9
|
+
withShadow?: boolean | undefined;
|
|
10
|
+
}, never>;
|
|
11
|
+
export declare const ArrowWrapper: import("styled-components").StyledComponent<"div", any, {
|
|
12
|
+
disabled: boolean;
|
|
13
|
+
}, never>;
|
|
@@ -6,6 +6,7 @@ export declare const CarouselInfoWrapper: import("styled-components").StyledComp
|
|
|
6
6
|
export declare const TitleWrapper: import("styled-components").StyledComponent<"div", any, {
|
|
7
7
|
isDescriptionPresent: boolean;
|
|
8
8
|
}, never>;
|
|
9
|
+
export declare const TitleText: import("styled-components").StyledComponent<({ children, size, em, color, serif, hierarchy: Tag, className, }: import("../../../../types/typography").IHarmonicHeaderProps) => import("react").JSX.Element, any, {}, never>;
|
|
9
10
|
export declare const ButtonsWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
10
11
|
export declare const TitleGridItem: import("styled-components").StyledComponent<"div", any, import("../../../../types/types").IGridItemProps, never>;
|
|
11
12
|
export declare const SwipeGridWrapper: import("styled-components").StyledComponent<"div", any, import("../../../../types/types").IGridItemProps, never>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { INavigationProps } from '../../../types/navigation';
|
|
3
|
-
declare const Navigation: ({ dataNavTop, menuData, onSearch, onLink, crest, className, logoLink, }: INavigationProps) => React.JSX.Element;
|
|
3
|
+
declare const Navigation: ({ dataNavTop, menuData, onSearch, onLink, crest, className, logoLink, skipToId, }: INavigationProps) => React.JSX.Element;
|
|
4
4
|
export default Navigation;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
interface IStickyBarGridProps {
|
|
2
|
-
|
|
2
|
+
bottomBorder?: boolean;
|
|
3
3
|
}
|
|
4
4
|
export declare const StickyBarWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
5
|
export declare const StickyBarGrid: import("styled-components").StyledComponent<"div", any, IStickyBarGridProps, never>;
|