@royaloperahouse/chord 2.4.8-c-chord-development → 2.4.8-e-chord-development
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/chord.cjs.development.js +19 -6
- package/dist/chord.cjs.development.js.map +1 -1
- package/dist/chord.cjs.production.min.js +1 -1
- package/dist/chord.cjs.production.min.js.map +1 -1
- package/dist/chord.esm.js +19 -6
- package/dist/chord.esm.js.map +1 -1
- package/dist/components/atoms/ToggleButton/ToggleButton.d.ts +4 -0
- package/dist/components/atoms/ToggleButton/ToggleButton.style.d.ts +5 -0
- package/dist/components/atoms/index.d.ts +2 -1
- package/dist/components/index.d.ts +3 -3
- package/dist/components/molecules/PeopleListing/CreditListing/CreditListing.d.ts +3 -1
- package/dist/components/molecules/PeopleListing/CreditListing/CreditListing.style.d.ts +3 -1
- package/dist/components/organisms/FilterToggles/FilterToggles.d.ts +4 -0
- package/dist/components/organisms/FilterToggles/FilterToggles.style.d.ts +2 -0
- package/dist/components/organisms/FilterToggles/index.d.ts +9 -0
- package/dist/components/organisms/index.d.ts +2 -1
- package/dist/types/creditListing.d.ts +1 -0
- package/dist/types/toggleButtonTypes.d.ts +13 -0
- package/dist/types/typography.d.ts +4 -0
- package/package.json +1 -1
|
@@ -25,4 +25,5 @@ import TypeTags from './TypeTags';
|
|
|
25
25
|
import { AltHeader, BodyText, Header, Overline, Subtitle } from './Typography';
|
|
26
26
|
import VideoControls from './VideoControls';
|
|
27
27
|
import { Stepper } from './Stepper';
|
|
28
|
-
|
|
28
|
+
import ToggleButton from './ToggleButton/ToggleButton';
|
|
29
|
+
export { AltHeader, BodyText, CinemaBadge, ControlledDropdown, Grid, GridItem, GridItemLegacy, Header, Icon, ImageAspectRatioWrapper, Overline, Progress, PrimaryButton, Radio, Radio2, RotatorButtons, SecondaryButton, SecondaryLogo, SectionSplitter, SponsorLogo, Sponsorship, Stepper, StreamBadge, Subtitle, Tab, TabLink, TertiaryButton, TextArea, TextField, TextFieldLegacy, TextLink, TextLogo, Tickbox, Tickbox2, Timer, TypeTags, VideoControls, ToggleButton, };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AltHeader, BodyText, CinemaBadge, ControlledDropdown, Grid, GridItem, GridItemLegacy, Header, Icon, ImageAspectRatioWrapper, Overline, PrimaryButton, Progress, Radio, Radio2, RotatorButtons, SecondaryButton, SecondaryLogo, TertiaryButton, SectionSplitter, Sponsorship, Stepper, StreamBadge, Subtitle, Tab, TabLink, TextLogo, TextArea, TextField, TextFieldLegacy, TextLink, Tickbox, Tickbox2, Timer, TypeTags, VideoControls } from './atoms';
|
|
2
|
-
import { AnchorTabBar, Footer, LiveChat, Navigation, StickyBar, TitleWithCTA, UpsellSection } from './organisms';
|
|
1
|
+
import { AltHeader, BodyText, CinemaBadge, ControlledDropdown, Grid, GridItem, GridItemLegacy, Header, Icon, ImageAspectRatioWrapper, Overline, PrimaryButton, Progress, Radio, Radio2, RotatorButtons, SecondaryButton, SecondaryLogo, TertiaryButton, SectionSplitter, Sponsorship, Stepper, StreamBadge, Subtitle, Tab, TabLink, TextLogo, TextArea, TextField, TextFieldLegacy, TextLink, Tickbox, Tickbox2, Timer, TypeTags, VideoControls, ToggleButton } from './atoms';
|
|
2
|
+
import { AnchorTabBar, Footer, LiveChat, Navigation, StickyBar, TitleWithCTA, UpsellSection, FilterToggles } from './organisms';
|
|
3
3
|
import { Accordion, Accordions, AnnouncementBanner, AuxiliaryNav, Card, Cards, ContactCard, ContentSummary, CreditListing, Editorial, ImageWithCaption, Information, PageHeadingCinema, PageHeadingCompact, PageHeadingCore, PageHeadingImpact, PageHeadingPanel, PageHeadingStream, PasswordStrength, Pagination, PeopleListing, PromoWithTags, PromoWithTitle, RadioGroup, RadioGroup2, ReadMore, StatusBanner, SearchBar, SectionTitle, Select, Select2, Select2Async, Table, Tabs, TextOnly, UpsellCard, Quote, VideoWithControls } from './molecules';
|
|
4
4
|
import ThemeProvider from '../styles/ThemeProvider';
|
|
5
5
|
import GlobalStyles from '../styles/GlobalStyles';
|
|
6
|
-
export { Accordion, Accordions, AnnouncementBanner, AltHeader, AnchorTabBar, AuxiliaryNav, BodyText, Card, Cards, ContactCard, ContentSummary, CinemaBadge, ControlledDropdown, CreditListing, Editorial, Footer, GlobalStyles, Grid, GridItem, GridItemLegacy, Header, Icon, ImageAspectRatioWrapper, ImageWithCaption, Information, Navigation, Overline, PageHeadingCinema, PageHeadingCompact, PageHeadingCore, PageHeadingImpact, PageHeadingPanel, PageHeadingStream, Pagination, PasswordStrength, PeopleListing, PrimaryButton, Progress, PromoWithTags, PromoWithTitle, Radio, Radio2, RadioGroup, RadioGroup2, ReadMore, RotatorButtons, SecondaryButton, SecondaryLogo, StatusBanner, SearchBar, SectionTitle, Select, Select2, Select2Async, 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, LiveChat, VideoControls, VideoWithControls, };
|
|
6
|
+
export { Accordion, Accordions, AnnouncementBanner, AltHeader, AnchorTabBar, AuxiliaryNav, BodyText, Card, Cards, ContactCard, ContentSummary, CinemaBadge, ControlledDropdown, CreditListing, Editorial, Footer, GlobalStyles, Grid, GridItem, GridItemLegacy, Header, Icon, ImageAspectRatioWrapper, ImageWithCaption, Information, Navigation, Overline, PageHeadingCinema, PageHeadingCompact, PageHeadingCore, PageHeadingImpact, PageHeadingPanel, PageHeadingStream, Pagination, PasswordStrength, PeopleListing, PrimaryButton, Progress, PromoWithTags, PromoWithTitle, Radio, Radio2, RadioGroup, RadioGroup2, ReadMore, RotatorButtons, SecondaryButton, SecondaryLogo, StatusBanner, SearchBar, SectionTitle, Select, Select2, Select2Async, 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, LiveChat, VideoControls, VideoWithControls, FilterToggles, ToggleButton, };
|
|
@@ -1,3 +1,5 @@
|
|
|
1
1
|
import { ICreditListing } from '../../../../types';
|
|
2
|
-
declare const CreditListing: ({ roles }: ICreditListing
|
|
2
|
+
declare const CreditListing: ({ roles, columnCount }: ICreditListing & {
|
|
3
|
+
columnCount?: number | undefined;
|
|
4
|
+
}) => JSX.Element;
|
|
3
5
|
export default CreditListing;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
export declare const ReplacementWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
-
export declare const CreditListingWrapper: import("styled-components").StyledComponent<"div", any, {
|
|
2
|
+
export declare const CreditListingWrapper: import("styled-components").StyledComponent<"div", any, {
|
|
3
|
+
columnCount: number;
|
|
4
|
+
}, never>;
|
|
3
5
|
export declare const DescriptionWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
6
|
export declare const RoleWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
7
|
export declare const CreditWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import FilterToggles from './FilterToggles';
|
|
2
|
+
import { FilterConfig } from '../../../types/toggleButtonTypes';
|
|
3
|
+
export interface Props {
|
|
4
|
+
filterItems: FilterConfig[];
|
|
5
|
+
onClickHandler: (filter: FilterConfig) => void;
|
|
6
|
+
selectedItems: string[];
|
|
7
|
+
title?: string;
|
|
8
|
+
}
|
|
9
|
+
export default FilterToggles;
|
|
@@ -6,4 +6,5 @@ import UpsellSection from './UpsellSection';
|
|
|
6
6
|
import { LiveChat } from './LiveChat';
|
|
7
7
|
import StickyBar from './StickyBar';
|
|
8
8
|
import ModalWindow from './ModalWindow';
|
|
9
|
-
|
|
9
|
+
import FilterToggles from './FilterToggles';
|
|
10
|
+
export { AnchorTabBar, Footer, LiveChat, ModalWindow, Navigation, StickyBar, TitleWithCTA, UpsellSection, FilterToggles, };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { AnchorHTMLAttributes } from 'react';
|
|
2
|
+
export interface FilterConfig {
|
|
3
|
+
param: string;
|
|
4
|
+
label: string;
|
|
5
|
+
disableIfActive: string[];
|
|
6
|
+
id?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface IToggleProps extends AnchorHTMLAttributes<HTMLElement> {
|
|
9
|
+
isFilterSelected: boolean;
|
|
10
|
+
onFilterItemClick: (filter: FilterConfig) => void;
|
|
11
|
+
onKeyDownHandler: (e: React.KeyboardEvent<HTMLElement>, filter: FilterConfig) => void;
|
|
12
|
+
filterItem: FilterConfig;
|
|
13
|
+
}
|
|
@@ -57,6 +57,10 @@ export interface IBodyTextProps extends IGenericTypography {
|
|
|
57
57
|
* HTML tag to use to render BodyText, by default div.
|
|
58
58
|
*/
|
|
59
59
|
tag?: React.ElementType;
|
|
60
|
+
/**
|
|
61
|
+
* Column span for desktop view.
|
|
62
|
+
*/
|
|
63
|
+
columnSpanDesktop?: number;
|
|
60
64
|
}
|
|
61
65
|
export interface ISubtitleProps extends IGenericTypography {
|
|
62
66
|
/**
|