@royaloperahouse/harmonic 1.0.9-i → 1.0.10
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 +6 -11
- 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 +1 -65
- 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 +173 -309
- 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 +182 -320
- 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 +2 -2
- 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, CastFilterVariant, 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, CastFilterVariant, 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
|
@@ -148,10 +148,6 @@ export interface ITabProps {
|
|
|
148
148
|
* Additional CSS class names to apply to the navigation component.
|
|
149
149
|
*/
|
|
150
150
|
className?: string;
|
|
151
|
-
/**
|
|
152
|
-
* The unique ID to assign to the link element.
|
|
153
|
-
*/
|
|
154
|
-
tabLinkId?: string;
|
|
155
151
|
/**
|
|
156
152
|
* Defines the ARIA role of the element for accessibility purposes.
|
|
157
153
|
*/
|
|
@@ -227,11 +223,7 @@ export interface IDropdownProps {
|
|
|
227
223
|
*/
|
|
228
224
|
ariaLabel?: string;
|
|
229
225
|
/**
|
|
230
|
-
*
|
|
231
|
-
*/
|
|
232
|
-
tabLinkId?: string;
|
|
233
|
-
/**
|
|
234
|
-
* Defines if it is needed to trim the text of the Tab and add 3 dots in the end
|
|
226
|
+
* Defines if it is needed to trim the text of the Tab and add 3 dots in the end
|
|
235
227
|
*/
|
|
236
228
|
trimTabText?: boolean;
|
|
237
229
|
}
|
|
@@ -491,7 +483,7 @@ export declare type TCustomStrategyTabsFilterProps = Omit<IHotFilterProps, 'item
|
|
|
491
483
|
pressedColor: ThemeColor;
|
|
492
484
|
}>;
|
|
493
485
|
};
|
|
494
|
-
export declare type ICastFilterItem = {
|
|
486
|
+
export declare type ICastFilterItem = Pick<AnchorHTMLAttributes<HTMLAnchorElement>, 'aria-label' | 'role'> & {
|
|
495
487
|
/**
|
|
496
488
|
* Stable identifier for selection mapping and rendering keys.
|
|
497
489
|
*/
|
|
@@ -704,9 +696,7 @@ export interface IAccordionProps {
|
|
|
704
696
|
/** The component to be wrapped into the accordion */
|
|
705
697
|
children?: ReactNode;
|
|
706
698
|
/** Set if accordions are stacked */
|
|
707
|
-
|
|
708
|
-
/** Set if accordions are stacked */
|
|
709
|
-
showBottomLine?: boolean;
|
|
699
|
+
showLine?: boolean;
|
|
710
700
|
/** Set init open */
|
|
711
701
|
initOpen?: boolean;
|
|
712
702
|
/** Custom CSS classes */
|
|
@@ -715,12 +705,6 @@ export interface IAccordionProps {
|
|
|
715
705
|
expandedStateIcon?: IIconProps;
|
|
716
706
|
/** Harmonic icon name and direction for collapsed state. Default is 'Expand' */
|
|
717
707
|
collapsedStateIcon?: IIconProps;
|
|
718
|
-
/** Components wrapped into the accordion that are always visible */
|
|
719
|
-
visibleStandfirst?: ReactNode;
|
|
720
|
-
/** Allows styling of ChildrenContainer, e.g. margin or padding */
|
|
721
|
-
childrenContainerStyle?: React.CSSProperties;
|
|
722
|
-
/** Allows title margin styling for cast sheets */
|
|
723
|
-
titleMargin?: string;
|
|
724
708
|
}
|
|
725
709
|
export interface IAccordionsProps {
|
|
726
710
|
/** Array of Accordion component */
|
|
@@ -797,10 +781,6 @@ export interface IReadMoreProps {
|
|
|
797
781
|
* Optional truncation
|
|
798
782
|
*/
|
|
799
783
|
truncate?: boolean;
|
|
800
|
-
/**
|
|
801
|
-
* Class name for custom styling
|
|
802
|
-
*/
|
|
803
|
-
className?: string;
|
|
804
784
|
}
|
|
805
785
|
export interface IStatusBannerProps {
|
|
806
786
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@royaloperahouse/harmonic",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.10",
|
|
4
4
|
"author": "Royal Opera House",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"test:save-results": "jest --json --passWithNoTests --outputFile=./test/jest-test-results.json",
|
|
34
34
|
"test-storybook": "jest --json --passWithNoTests --outputFile=./test/jest-test-results.json",
|
|
35
35
|
"publish-release": "make prepare-release-candidate && make publish-release",
|
|
36
|
-
"publish-snapshot": "make prepare-release-candidate && make publish-snapshot"
|
|
36
|
+
"publish-snapshot": "make prepare-release-candidate && make publish-npm-snapshot"
|
|
37
37
|
},
|
|
38
38
|
"keywords": [
|
|
39
39
|
"React",
|
|
@@ -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>;
|