@royaloperahouse/chord 0.6.0 → 0.7.3
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 +15 -0
- package/README.md +1 -1
- package/dist/chord.cjs.development.js +316 -308
- 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 +316 -310
- package/dist/chord.esm.js.map +1 -1
- package/dist/components/atoms/index.d.ts +3 -1
- package/dist/components/index.d.ts +2 -2
- package/dist/components/molecules/PeopleListing/PeopleListing.d.ts +1 -1
- package/dist/components/molecules/PeopleListing/PeopleListing.style.d.ts +3 -2
- package/dist/components/molecules/PeopleListing/Person.d.ts +7 -0
- package/dist/components/organisms/TitleWithCTA/TitleWithCTA.style.d.ts +1 -0
- package/dist/index.d.ts +2 -2
- package/dist/types/types.d.ts +29 -4
- package/package.json +1 -1
- package/dist/components/atoms/IndividualListing/IndividualListing.d.ts +0 -3
- package/dist/components/atoms/IndividualListing/IndividualListing.style.d.ts +0 -2
- package/dist/components/atoms/IndividualListing/index.d.ts +0 -2
|
@@ -2,6 +2,7 @@ import { PrimaryButton, SecondaryButton, TertiaryButton } from './Buttons';
|
|
|
2
2
|
import { Grid, GridItem } from './Grid';
|
|
3
3
|
import { Icon } from './Icons';
|
|
4
4
|
import { CinemaBadge, StreamBadge } from './Badge';
|
|
5
|
+
import ControlledDropdown from './ControlledDropdown';
|
|
5
6
|
import SecondaryLogo from './SecondaryLogo';
|
|
6
7
|
import SponsorLogo from './SponsorLogo';
|
|
7
8
|
import Sponsorship from './Sponsorship';
|
|
@@ -9,8 +10,9 @@ import SectionSplitter from './SectionSplitter';
|
|
|
9
10
|
import ImageAspectRatioWrapper from './ImageAspectRatioWrapper';
|
|
10
11
|
import Tab from './Tab';
|
|
11
12
|
import TabLink from './TabLink';
|
|
13
|
+
import TextLink from './TextLink';
|
|
12
14
|
import Tickbox from './Tickbox';
|
|
13
15
|
import TypeTags from './TypeTags';
|
|
14
16
|
import RotatorButtons from './RotatorButtons';
|
|
15
17
|
import { AltHeader, BodyText, Header, Overline, Subtitle } from './Typography';
|
|
16
|
-
export { AltHeader, BodyText, CinemaBadge, Grid, GridItem, Header, Icon, ImageAspectRatioWrapper, Overline, PrimaryButton, RotatorButtons, SecondaryButton, SecondaryLogo, SectionSplitter, SponsorLogo, Sponsorship, StreamBadge, Subtitle, Tab, TabLink, TertiaryButton, Tickbox, TypeTags, };
|
|
18
|
+
export { AltHeader, BodyText, CinemaBadge, ControlledDropdown, Grid, GridItem, Header, Icon, ImageAspectRatioWrapper, Overline, PrimaryButton, RotatorButtons, SecondaryButton, SecondaryLogo, SectionSplitter, SponsorLogo, Sponsorship, StreamBadge, Subtitle, Tab, TabLink, TertiaryButton, TextLink, Tickbox, TypeTags, };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AltHeader, BodyText, CinemaBadge, Grid, GridItem, Header, Icon, ImageAspectRatioWrapper, Overline, PrimaryButton, RotatorButtons, SecondaryButton, SecondaryLogo, TertiaryButton, SectionSplitter, Sponsorship, StreamBadge, Subtitle, Tab, TabLink, Tickbox, TypeTags } from './atoms';
|
|
1
|
+
import { AltHeader, BodyText, CinemaBadge, ControlledDropdown, Grid, GridItem, Header, Icon, ImageAspectRatioWrapper, Overline, PrimaryButton, RotatorButtons, SecondaryButton, SecondaryLogo, TertiaryButton, SectionSplitter, Sponsorship, StreamBadge, Subtitle, Tab, TabLink, TextLink, Tickbox, TypeTags } from './atoms';
|
|
2
2
|
import { AnchorTapBar, HighlightsCarousel, HighlightsCarouselCinema, HighlightsCarouselCore, HighlightsCarouselStream, Carousel, Footer, Navigation, TitleWithCTA } from './organisms';
|
|
3
3
|
import { Accordion, Accordions, Card, Cards, Editorial, ImageWithCaption, PageHeadingCinema, PageHeadingCore, PageHeadingImpact, PageHeadingStream, PeopleListing, PromoWithTitle, SectionTitle, Tabs, TextOnly } from './molecules';
|
|
4
4
|
import ThemeProvider from '../styles/ThemeProvider';
|
|
5
5
|
import GlobalStyles from '../styles/GlobalStyles';
|
|
6
|
-
export { Accordion, Accordions, AltHeader, AnchorTapBar, BodyText, Card, Cards, Carousel, CinemaBadge, Editorial, Footer, GlobalStyles, Grid, GridItem, Header, HighlightsCarousel, HighlightsCarouselCinema, HighlightsCarouselCore, HighlightsCarouselStream, Icon, ImageAspectRatioWrapper, ImageWithCaption, Navigation, Overline, PageHeadingCinema, PageHeadingCore, PageHeadingImpact, PageHeadingStream, PeopleListing, PrimaryButton, PromoWithTitle, RotatorButtons, SecondaryButton, SecondaryLogo, SectionTitle, Sponsorship, StreamBadge, Subtitle, TertiaryButton, TextOnly, ThemeProvider, TitleWithCTA, SectionSplitter, Tab, TabLink, Tabs, Tickbox, TypeTags, };
|
|
6
|
+
export { Accordion, Accordions, AltHeader, AnchorTapBar, BodyText, Card, Cards, Carousel, CinemaBadge, ControlledDropdown, Editorial, Footer, GlobalStyles, Grid, GridItem, Header, HighlightsCarousel, HighlightsCarouselCinema, HighlightsCarouselCore, HighlightsCarouselStream, Icon, ImageAspectRatioWrapper, ImageWithCaption, Navigation, Overline, PageHeadingCinema, PageHeadingCore, PageHeadingImpact, PageHeadingStream, PeopleListing, PrimaryButton, PromoWithTitle, RotatorButtons, SecondaryButton, SecondaryLogo, SectionTitle, Sponsorship, StreamBadge, Subtitle, TertiaryButton, TextOnly, ThemeProvider, TitleWithCTA, SectionSplitter, Tab, TabLink, Tabs, TextLink, Tickbox, TypeTags, };
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
-
declare const PeopleListingGrid: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
-
export
|
|
1
|
+
export declare const PeopleListingGrid: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
2
|
+
export declare const RoleWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
3
|
+
export declare const PersonLink: import("styled-components").StyledComponent<"a", any, {}, never>;
|
|
@@ -3,6 +3,7 @@ import { ITitleCTAProps } from '../../../types/navigation';
|
|
|
3
3
|
export declare const TitleCTAGridWrapper: import("styled-components").StyledComponent<"div", any, ITitleCTAProps, never>;
|
|
4
4
|
export declare const CTAGridWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
5
|
export declare const AnchorTitle: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
|
+
export declare const GridItemTitleWrapper: import("styled-components").StyledComponent<"div", any, import("../../../types/types").IGridItemProps, never>;
|
|
6
7
|
export declare const ButtonsDesktopGridItem: import("styled-components").StyledComponent<"div", any, import("../../../types/types").IGridItemProps, never>;
|
|
7
8
|
export declare const ButtonsMobileWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
8
9
|
export declare const PrimaryButtonReverse: import("styled-components").StyledComponent<import("react").FunctionComponent<import("../../../types/buttonTypes").IPrimaryButtonProps>, any, {}, never>;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Accordion, Accordions, AltHeader, AnchorTapBar, BodyText, Card, Cards, Carousel, CinemaBadge, Editorial, Footer, GlobalStyles, Grid, GridItem, Header, HighlightsCarousel, HighlightsCarouselCinema, HighlightsCarouselCore, HighlightsCarouselStream, Icon, ImageAspectRatioWrapper, ImageWithCaption, Navigation, Overline, PageHeadingCinema, PageHeadingCore, PageHeadingImpact, PageHeadingStream, PeopleListing, PrimaryButton, PromoWithTitle, RotatorButtons, SecondaryButton, SecondaryLogo, SectionSplitter, SectionTitle, Sponsorship, StreamBadge, Subtitle, TertiaryButton, TextOnly, ThemeProvider, TitleWithCTA, Tab, TabLink, Tabs, Tickbox, TypeTags } from './components';
|
|
1
|
+
import { Accordion, Accordions, AltHeader, AnchorTapBar, BodyText, Card, Cards, Carousel, CinemaBadge, ControlledDropdown, Editorial, Footer, GlobalStyles, Grid, GridItem, Header, HighlightsCarousel, HighlightsCarouselCinema, HighlightsCarouselCore, HighlightsCarouselStream, Icon, ImageAspectRatioWrapper, ImageWithCaption, Navigation, Overline, PageHeadingCinema, PageHeadingCore, PageHeadingImpact, PageHeadingStream, PeopleListing, PrimaryButton, PromoWithTitle, RotatorButtons, SecondaryButton, SecondaryLogo, SectionSplitter, SectionTitle, Sponsorship, StreamBadge, Subtitle, TertiaryButton, TextOnly, ThemeProvider, TitleWithCTA, Tab, TabLink, Tabs, TextLink, Tickbox, TypeTags } from './components';
|
|
2
2
|
import { devices } from './styles/viewports';
|
|
3
3
|
import { AspectRatio, CarouselType, Colors, IconNameType, TickboxMode, ThemeType } from './types';
|
|
4
|
-
export { Accordion, Accordions, AltHeader, AnchorTapBar, AspectRatio, BodyText, Card, Cards, Carousel, CarouselType, CinemaBadge, Colors, devices, Editorial, Footer, GlobalStyles, Grid, GridItem, Header, HighlightsCarousel, HighlightsCarouselCinema, HighlightsCarouselCore, HighlightsCarouselStream, Icon, IconNameType, ImageAspectRatioWrapper, ImageWithCaption, Navigation, Overline, PageHeadingCinema, PageHeadingCore, PageHeadingImpact, PageHeadingStream, PeopleListing, PrimaryButton, PromoWithTitle, RotatorButtons, SecondaryButton, SecondaryLogo, SectionSplitter, SectionTitle, Sponsorship, StreamBadge, Subtitle, Tab, TabLink, Tabs, TertiaryButton, TextOnly, ThemeProvider, ThemeType, TitleWithCTA, Tickbox, TickboxMode, TypeTags, };
|
|
4
|
+
export { Accordion, Accordions, AltHeader, AnchorTapBar, AspectRatio, BodyText, Card, Cards, Carousel, CarouselType, CinemaBadge, Colors, ControlledDropdown, devices, Editorial, Footer, GlobalStyles, Grid, GridItem, Header, HighlightsCarousel, HighlightsCarouselCinema, HighlightsCarouselCore, HighlightsCarouselStream, Icon, IconNameType, ImageAspectRatioWrapper, ImageWithCaption, Navigation, Overline, PageHeadingCinema, PageHeadingCore, PageHeadingImpact, PageHeadingStream, PeopleListing, PrimaryButton, PromoWithTitle, RotatorButtons, SecondaryButton, SecondaryLogo, SectionSplitter, SectionTitle, Sponsorship, StreamBadge, Subtitle, Tab, TabLink, Tabs, TertiaryButton, TextLink, TextOnly, ThemeProvider, ThemeType, TitleWithCTA, Tickbox, TickboxMode, TypeTags, };
|
package/dist/types/types.d.ts
CHANGED
|
@@ -237,14 +237,39 @@ export interface IControlledDropdownHeaderProps extends StyledProps<any> {
|
|
|
237
237
|
*/
|
|
238
238
|
active: boolean;
|
|
239
239
|
}
|
|
240
|
-
export
|
|
241
|
-
|
|
240
|
+
export declare type ListingPerson = {
|
|
241
|
+
/**
|
|
242
|
+
* Person name
|
|
243
|
+
*/
|
|
242
244
|
name: string;
|
|
245
|
+
/**
|
|
246
|
+
* Link to person profile
|
|
247
|
+
*/
|
|
243
248
|
link?: string;
|
|
249
|
+
/**
|
|
250
|
+
* String separator
|
|
251
|
+
*/
|
|
252
|
+
separator?: string;
|
|
253
|
+
};
|
|
254
|
+
export declare type ListingRole = {
|
|
255
|
+
/**
|
|
256
|
+
* Role name
|
|
257
|
+
*/
|
|
258
|
+
name: string;
|
|
259
|
+
/**
|
|
260
|
+
* List of people in the role
|
|
261
|
+
*/
|
|
262
|
+
people: ListingPerson[];
|
|
263
|
+
/**
|
|
264
|
+
* Data roh param
|
|
265
|
+
*/
|
|
244
266
|
dataROH?: string;
|
|
245
|
-
}
|
|
267
|
+
};
|
|
246
268
|
export interface IPeopleListing {
|
|
247
|
-
|
|
269
|
+
/**
|
|
270
|
+
* List of roles to be displayed
|
|
271
|
+
*/
|
|
272
|
+
roles: ListingRole[];
|
|
248
273
|
}
|
|
249
274
|
export interface INodeProps {
|
|
250
275
|
/**
|
package/package.json
CHANGED