@royaloperahouse/harmonic 0.17.2-a → 0.17.2-b
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 -0
- package/dist/components/atoms/Person/Person.style.d.ts +2 -0
- package/dist/components/atoms/Person/index.d.ts +2 -0
- package/dist/components/atoms/RotatorButtons/RotatorButtons.d.ts +1 -1
- package/dist/components/atoms/RotatorButtons/RotatorButtons.style.d.ts +8 -3
- package/dist/components/molecules/PeopleListing/PeopleListing.style.d.ts +0 -6
- package/dist/components/molecules/PeopleListing/fixtures.d.ts +4 -0
- package/dist/components/molecules/PersonCard/PersonCard.d.ts +4 -0
- package/dist/components/molecules/PersonCard/PersonCard.style.d.ts +2 -0
- package/dist/components/molecules/PersonCard/index.d.ts +2 -0
- package/dist/components/molecules/PersonDetails/PersonDetails.d.ts +4 -0
- package/dist/components/molecules/PersonDetails/PersonDetails.style.d.ts +2 -0
- package/dist/components/molecules/PersonDetails/index.d.ts +2 -0
- package/dist/components/molecules/Swipe/Swipe.d.ts +3 -0
- package/dist/components/molecules/UpsellCard/UpsellCard.style.d.ts +1 -0
- package/dist/components/organisms/AnchorTabBar/AnchorTabBar.style.d.ts +1 -1
- package/dist/components/organisms/Carousels/Carousel/helper.d.ts +2 -2
- package/dist/harmonic.cjs.development.css +5 -4
- package/dist/harmonic.cjs.development.js +470 -248
- 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 +472 -251
- package/dist/harmonic.esm.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/types/buttonTypes.d.ts +3 -0
- package/dist/types/card.d.ts +7 -0
- package/dist/types/carousel.d.ts +2 -1
- package/package.json +1 -1
- /package/dist/components/{molecules/PeopleListing → atoms/Person}/Person.d.ts +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -7,8 +7,9 @@ import { AspectRatio, ButtonType, CarouselType, Colors, IconNameType, Integrated
|
|
|
7
7
|
import { MiniCard } from './components/molecules';
|
|
8
8
|
import { ModalWindow } from './components/organisms';
|
|
9
9
|
import AuxiliaryButton from './components/atoms/Buttons/Auxiliary/AuxiliaryButton';
|
|
10
|
+
import PersonCard from './components/molecules/PersonCard';
|
|
10
11
|
import HarmonicThemeProvider, { useHarmonicTheme } from './styles/HarmonicThemeProvider';
|
|
11
12
|
import { HarmonicSize } from './types/typography';
|
|
12
13
|
import { HarmonicHeader, HarmonicSubtitle, BodyCopyHarmonic, HarmonicOverline, ButtonText, Caption, NavigationText } from './components/Typography';
|
|
13
14
|
export { useHarmonicTheme };
|
|
14
|
-
export { Accordion, Accordions, AnchorBar, AnnouncementBanner, AltHeader, AnchorTabBar, AuxiliaryButton, AuxiliaryNav, AspectRatio, BodyContent, BodyText, breakpoints, ButtonType, Card, Cards, CarouselType, Carousel, CinemaBadge, Colors, ContactCard, ContentSummary, ControlledDropdown, CreditListing, devices, Editorial, EditorialLink, Footer, GlobalStyles, Grid, GridItem, HarmonicSize, HarmonicThemeProvider, Header, HighlightsCarousel, HighlightsCarouselCinema, HighlightsCarouselCore, HighlightsCarouselStream, HotFilters, Icon, IconNameType, ImageAspectRatioWrapper, ImageWithCaption, Information, IInformationCTAProps, IInformationTitleProps, ITimerProps, IntegratedTimerProps, MinimalCarousel, MiniCard, ModalWindow, Navigation, Overline, PageHeading, PageHeadingCompact, PageHeadingImpact, PageHeadingPanel, PageHeadingHighlight, PageHeadingPromo, PageHeadingHighlightCarousel, Pagination, PasswordStrength, Paywall, PeopleListing, PrimaryButton, Progress, PromoWithTags, PromoWithTitle, Radio, Radio2, RadioGroup, RadioGroup2, ReadMore, RotatorButtons, StatusBanner, SearchBar, SecondaryButton, SecondaryLogo, SectionSplitter, SectionTitle, Select, Select2, Select2Async, SignUpForm, Sponsorship, StickyBar, Stepper, StreamBadge, Subtitle, Tab, Table, TabLink, Tabs, TertiaryButton, TextArea, TextField, TextFieldLegacy, TextLink, ThemeColor, ThemeProvider, ThemeType, TitleWithCTA, Tickbox, Tickbox2, TickboxMode, Timer, TypeTags, UpsellCard, UpsellSection, Quote, VideoControls, VideoWithControls, zIndexes, HarmonicHeader, HarmonicSubtitle, BodyCopyHarmonic, HarmonicOverline, ButtonText, Caption, NavigationText, };
|
|
15
|
+
export { Accordion, Accordions, AnchorBar, AnnouncementBanner, AltHeader, AnchorTabBar, AuxiliaryButton, AuxiliaryNav, AspectRatio, BodyContent, BodyText, breakpoints, ButtonType, Card, Cards, CarouselType, Carousel, CinemaBadge, Colors, ContactCard, ContentSummary, ControlledDropdown, CreditListing, devices, Editorial, EditorialLink, Footer, GlobalStyles, Grid, GridItem, HarmonicSize, HarmonicThemeProvider, Header, HighlightsCarousel, HighlightsCarouselCinema, HighlightsCarouselCore, HighlightsCarouselStream, HotFilters, Icon, IconNameType, ImageAspectRatioWrapper, ImageWithCaption, Information, IInformationCTAProps, IInformationTitleProps, ITimerProps, IntegratedTimerProps, MinimalCarousel, MiniCard, ModalWindow, Navigation, Overline, PageHeading, PageHeadingCompact, PageHeadingImpact, PageHeadingPanel, PageHeadingHighlight, PageHeadingPromo, PageHeadingHighlightCarousel, Pagination, PasswordStrength, PersonCard, Paywall, PeopleListing, PrimaryButton, Progress, PromoWithTags, PromoWithTitle, Radio, Radio2, RadioGroup, RadioGroup2, ReadMore, RotatorButtons, StatusBanner, SearchBar, SecondaryButton, SecondaryLogo, SectionSplitter, SectionTitle, Select, Select2, Select2Async, SignUpForm, Sponsorship, StickyBar, Stepper, StreamBadge, Subtitle, Tab, Table, TabLink, Tabs, TertiaryButton, TextArea, TextField, TextFieldLegacy, TextLink, ThemeColor, ThemeProvider, ThemeType, TitleWithCTA, Tickbox, Tickbox2, TickboxMode, Timer, TypeTags, UpsellCard, UpsellSection, Quote, VideoControls, VideoWithControls, zIndexes, HarmonicHeader, HarmonicSubtitle, BodyCopyHarmonic, HarmonicOverline, ButtonText, Caption, NavigationText, };
|
|
@@ -41,6 +41,7 @@ export declare type AuxiliaryButtonProps = ButtonProps & Pick<StyleProps, 'textC
|
|
|
41
41
|
export declare type PrimaryButtonProps = ButtonProps & Pick<StyleProps, 'textColor' | 'backgroundColor' | 'hoveredColor' | 'pressedColor' | 'disabled'>;
|
|
42
42
|
export declare type SecondaryButtonProps = ButtonProps & Pick<StyleProps, 'textColor' | 'borderColor' | 'hoveredColor' | 'pressedColor' | 'disabled'>;
|
|
43
43
|
export declare type TertiaryButtonProps = BaseProps & AnchorHTMLAttributes<HTMLAnchorElement> & Pick<StyleProps, 'textColor' | 'disabled'>;
|
|
44
|
+
export declare type RotatorButtonSize = 'small' | 'default';
|
|
44
45
|
export declare type RotatorButtonsProps = {
|
|
45
46
|
/** Enable/disable prev button */
|
|
46
47
|
availablePrev?: boolean;
|
|
@@ -56,6 +57,8 @@ export declare type RotatorButtonsProps = {
|
|
|
56
57
|
onClickFullscreen?: () => void;
|
|
57
58
|
/** Is in fullscreen mode */
|
|
58
59
|
isFullscreen?: boolean;
|
|
60
|
+
/** Size of the rotator buttons */
|
|
61
|
+
size?: RotatorButtonSize;
|
|
59
62
|
/** Custom CSS classes */
|
|
60
63
|
className?: string;
|
|
61
64
|
};
|
package/dist/types/card.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { StyledProps } from 'styled-components';
|
|
|
2
2
|
import { Colors, EditorialLink, IconNameType, ThemeColor } from '.';
|
|
3
3
|
import { PromoLinks } from './editorial';
|
|
4
4
|
import { DirectionType } from './iconTypes';
|
|
5
|
+
import { ListingRole } from './types';
|
|
5
6
|
export interface CardLabelProps {
|
|
6
7
|
/**
|
|
7
8
|
* Label text
|
|
@@ -138,3 +139,9 @@ export interface ICardButtonContainerProps {
|
|
|
138
139
|
*/
|
|
139
140
|
fullWidth?: boolean;
|
|
140
141
|
}
|
|
142
|
+
export interface RoleComponentProps {
|
|
143
|
+
/** The role of the person in the listing */
|
|
144
|
+
role: ListingRole;
|
|
145
|
+
/** Custom CSS classes */
|
|
146
|
+
className?: string;
|
|
147
|
+
}
|
package/dist/types/carousel.d.ts
CHANGED
|
@@ -8,7 +8,8 @@ import { TypographyLevel } from './typography';
|
|
|
8
8
|
export declare enum CarouselType {
|
|
9
9
|
Image = "image",
|
|
10
10
|
SmallCard = "SmallCard",
|
|
11
|
-
LargeCard = "LargeCard"
|
|
11
|
+
LargeCard = "LargeCard",
|
|
12
|
+
PersonCard = "PersonCard"
|
|
12
13
|
}
|
|
13
14
|
export interface ICarouselProps {
|
|
14
15
|
/**
|
package/package.json
CHANGED
|
File without changes
|