@royaloperahouse/harmonic 1.0.7-b → 1.0.7
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 +7 -11
- package/README.GIT +293 -0
- package/README.md +43 -267
- package/dist/components/atoms/Dropdown/Dropdown.d.ts +1 -1
- package/dist/components/atoms/Tab/Tab.d.ts +1 -1
- package/dist/components/molecules/Accordion/Accordion.style.d.ts +1 -3
- package/dist/components/molecules/CustomStrategyTabsFilter/CustomStrategyTabsFilter.d.ts +25 -27
- package/dist/components/molecules/PeopleListing/CreditListing/CreditListing.d.ts +1 -1
- package/dist/components/molecules/PeopleListing/CreditListing/CreditListing.style.d.ts +1 -0
- package/dist/components/molecules/SkipToMain/SkipToMain.style.d.ts +1 -1
- package/dist/harmonic.cjs.development.css +0 -319
- package/dist/harmonic.cjs.development.js +197 -271
- 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 +206 -282
- package/dist/harmonic.esm.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/styles/HarmonicThemeProvider/HarmonicThemeProvider.d.ts +0 -1
- package/dist/types/creditListing.d.ts +6 -7
- package/dist/types/types.d.ts +3 -23
- package/package.json +1 -1
- package/dist/components/molecules/ReadMore/ReadMoreTextLink.d.ts +0 -4
- package/dist/components/molecules/ReadMore/ReadMoreTextLink.style.d.ts +0 -3
package/dist/index.d.ts
CHANGED
|
@@ -10,6 +10,6 @@ import AuxiliaryButton from './components/atoms/Buttons/Auxiliary/AuxiliaryButto
|
|
|
10
10
|
import PersonCard from './components/molecules/PersonCard';
|
|
11
11
|
import HarmonicThemeProvider, { useHarmonicTheme } from './styles/HarmonicThemeProvider';
|
|
12
12
|
import { HarmonicSize } from './types/typography';
|
|
13
|
-
import {
|
|
13
|
+
import { HarmonicHeader, HarmonicSubtitle, BodyCopyHarmonic, HarmonicOverline, ButtonText, Caption, NavigationText } from './components/Typography';
|
|
14
14
|
export { useHarmonicTheme };
|
|
15
|
-
export { Account, Accordion, Accordions, AnchorBar, AnnouncementBanner, AltHeader, AnchorTabBar, AuxiliaryButton, AuxiliaryNav, AspectRatio, Basket, BodyContent, BodyText, breakpoints, ButtonType, Card, Cards, CarouselType, Carousel, CastFilter, CinemaBadge, Colors, ContactCard, ContactNewsletter, ContentSummary, ControlledDropdown,
|
|
15
|
+
export { Account, Accordion, Accordions, AnchorBar, AnnouncementBanner, AltHeader, AnchorTabBar, AuxiliaryButton, AuxiliaryNav, AspectRatio, Basket, BodyContent, BodyText, breakpoints, ButtonType, Card, Cards, CarouselType, Carousel, CastFilter, CinemaBadge, Colors, ContactCard, ContactNewsletter, ContentSummary, ControlledDropdown, Dropdown, CreditListing, devices, Editorial, EditorialLink, Footer, GlobalStyles, Grid, GridItem, HarmonicSize, HarmonicThemeProvider, Header, HighlightsCarousel, HighlightsCarouselCinema, HighlightsCarouselCore, HighlightsCarouselStream, HotFilters, Icon, IconNameType, ImageAspectRatioWrapper, ImageWithCaption, Information, Logo, IInformationCTAProps, IInformationTitleProps, ITimerProps, IntegratedTimerProps, MinimalCarousel, MiniCard, CustomStrategyTabsFilter, ModalWindow, Navigation, NavTop, Overline, PageHeading, PageHeadingCompact, PageHeadingImpact, PageHeadingPanel, PageHeadingHighlight, PageHeadingPromo, PageHeadingHighlightCarousel, Pagination, PasswordStrength, Person, PersonCard, PersonDetails, Paywall, PeopleListing, PolicyLinks, PrimaryButton, Progress, PromoWithTags, PromoWithTitle, Radio2, RadioGroup2, ReadMore, RotatorButtons, Search, StatusBanner, SearchBar, SecondaryButton, SecondaryLogo, SocialLinks, SectionSplitter, SectionTitle, Select2, Select2Async, SignUpForm, Swipe, SwipeRef, Sponsorship, StickyBar, Stepper, StreamBadge, Subtitle, Tab, Table, TabLink, Tabs, TCustomStrategyTabsFilterProps, TCustomStrategyTabsFilterItem, TertiaryButton, TextArea, TextField, TextFieldLegacy, TextLink, ThemeColor, ThemeProvider, ThemeType, TitleWithCTA, Tickbox, Tickbox2, TickboxMode, Timer, TypeTags, UpsellCard, UpsellCards, UpsellSection, Quote, VideoControls, VideoWithControls, zIndexes, HarmonicHeader, HarmonicSubtitle, BodyCopyHarmonic, HarmonicOverline, ButtonText, Caption, NavigationText, };
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
import { ListingPerson } from './types';
|
|
2
2
|
export interface ICreditListing {
|
|
3
3
|
roles: {
|
|
4
|
-
name
|
|
4
|
+
name: string;
|
|
5
5
|
people: ListingPerson[] | ListingPerson[][];
|
|
6
|
-
description
|
|
7
|
-
musicTitle
|
|
8
|
-
replacement
|
|
9
|
-
additionalInfo
|
|
10
|
-
dataROH
|
|
6
|
+
description: string;
|
|
7
|
+
musicTitle: string[];
|
|
8
|
+
replacement: string;
|
|
9
|
+
additionalInfo: string;
|
|
10
|
+
dataROH: string;
|
|
11
11
|
}[];
|
|
12
12
|
columnCount?: number;
|
|
13
13
|
expandLargeEntries?: boolean;
|
|
14
14
|
largeColumnSpan?: number;
|
|
15
15
|
characterThreshold?: number;
|
|
16
|
-
className?: string;
|
|
17
16
|
}
|
package/dist/types/types.d.ts
CHANGED
|
@@ -147,10 +147,6 @@ 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;
|
|
154
150
|
/**
|
|
155
151
|
* Defines the ARIA role of the element for accessibility purposes.
|
|
156
152
|
*/
|
|
@@ -226,11 +222,7 @@ export interface IDropdownProps {
|
|
|
226
222
|
*/
|
|
227
223
|
ariaLabel?: string;
|
|
228
224
|
/**
|
|
229
|
-
*
|
|
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
|
|
225
|
+
* Defines if it is needed to trim the text of the Tab and add 3 dots in the end
|
|
234
226
|
*/
|
|
235
227
|
trimTabText?: boolean;
|
|
236
228
|
}
|
|
@@ -487,7 +479,7 @@ export declare type TCustomStrategyTabsFilterProps = Omit<IHotFilterProps, 'item
|
|
|
487
479
|
pressedColor: ThemeColor;
|
|
488
480
|
}>;
|
|
489
481
|
};
|
|
490
|
-
export declare type ICastFilterItem = {
|
|
482
|
+
export declare type ICastFilterItem = Pick<AnchorHTMLAttributes<HTMLAnchorElement>, 'aria-label' | 'role'> & {
|
|
491
483
|
/**
|
|
492
484
|
* Stable identifier for selection mapping and rendering keys.
|
|
493
485
|
*/
|
|
@@ -689,9 +681,7 @@ export interface IAccordionProps {
|
|
|
689
681
|
/** The component to be wrapped into the accordion */
|
|
690
682
|
children?: ReactNode;
|
|
691
683
|
/** Set if accordions are stacked */
|
|
692
|
-
|
|
693
|
-
/** Set if accordions are stacked */
|
|
694
|
-
showBottomLine?: boolean;
|
|
684
|
+
showLine?: boolean;
|
|
695
685
|
/** Set init open */
|
|
696
686
|
initOpen?: boolean;
|
|
697
687
|
/** Custom CSS classes */
|
|
@@ -700,12 +690,6 @@ export interface IAccordionProps {
|
|
|
700
690
|
expandedStateIcon?: IIconProps;
|
|
701
691
|
/** Harmonic icon name and direction for collapsed state. Default is 'Expand' */
|
|
702
692
|
collapsedStateIcon?: IIconProps;
|
|
703
|
-
/** Components wrapped into the accordion that are always visible */
|
|
704
|
-
visibleStandfirst?: ReactNode;
|
|
705
|
-
/** Allows styling of ChildrenContainer, e.g. margin or padding */
|
|
706
|
-
childrenContainerStyle?: React.CSSProperties;
|
|
707
|
-
/** Allows title margin styling for cast sheets */
|
|
708
|
-
titleMargin?: string;
|
|
709
693
|
}
|
|
710
694
|
export interface IAccordionsProps {
|
|
711
695
|
/** Array of Accordion component */
|
|
@@ -782,10 +766,6 @@ export interface IReadMoreProps {
|
|
|
782
766
|
* Optional truncation
|
|
783
767
|
*/
|
|
784
768
|
truncate?: boolean;
|
|
785
|
-
/**
|
|
786
|
-
* Class name for custom styling
|
|
787
|
-
*/
|
|
788
|
-
className?: string;
|
|
789
769
|
}
|
|
790
770
|
export interface IStatusBannerProps {
|
|
791
771
|
/**
|
package/package.json
CHANGED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { ITextLinkProps } from '../../../types/types';
|
|
2
|
-
export declare const TextLinkWrapper: import("styled-components").StyledComponent<"a", any, ITextLinkProps, never>;
|
|
3
|
-
export declare const TextLinkIconWrapper: import("styled-components").StyledComponent<"span", any, {}, never>;
|