@royaloperahouse/harmonic 0.1.7-c → 0.1.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/README.GIT +278 -0
- package/README.md +43 -252
- package/dist/components/Typography/Typography.d.ts +1 -1
- package/dist/components/atoms/Buttons/index.d.ts +1 -1
- package/dist/components/index.d.ts +1 -2
- package/dist/components/molecules/AnnouncementBanner/AnnouncementBanner.style.d.ts +8 -1
- package/dist/components/molecules/Card/Card.style.d.ts +1 -1
- package/dist/harmonic.cjs.development.css +24 -7
- package/dist/harmonic.cjs.development.js +5105 -4998
- 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 +4662 -4560
- package/dist/harmonic.esm.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/types/types.d.ts +20 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -5,4 +5,5 @@ import { AspectRatio, ButtonType, CarouselType, Colors, IconNameType, Integrated
|
|
|
5
5
|
import { MiniCard } from './components/molecules';
|
|
6
6
|
import { ModalWindow } from './components/organisms';
|
|
7
7
|
import AuxiliaryButton from './components/atoms/Buttons/Auxiliary/AuxiliaryButton';
|
|
8
|
-
|
|
8
|
+
import HarmonicThemeProvider from './styles/HarmonicThemeProvider';
|
|
9
|
+
export { Accordion, Accordions, AnnouncementBanner, AltHeader, AnchorTabBar, AuxiliaryButton, AuxiliaryNav, AspectRatio, BodyText, breakpoints, ButtonType, Card, Cards, CarouselType, CinemaBadge, Colors, ContactCard, ContentSummary, ControlledDropdown, CreditListing, devices, Editorial, EditorialLink, Footer, GlobalStyles, Grid, GridItem, HarmonicThemeProvider, Header, Icon, IconNameType, ImageAspectRatioWrapper, ImageWithCaption, Information, IInformationBackgroundColour, IInformationCTAProps, IInformationTitleProps, ITimerProps, IntegratedTimerProps, MiniCard, ModalWindow, Navigation, Overline, PageHeadingCinema, PageHeadingCompact, PageHeadingCore, PageHeadingImpact, PageHeadingPanel, PageHeadingStream, Pagination, PasswordStrength, PeopleListing, PrimaryButton, Progress, PromoWithTags, PromoWithTitle, Radio, Radio2, RadioGroup, RadioGroup2, ReadMore, RotatorButtons, StatusBanner, SearchBar, SecondaryButton, SecondaryLogo, SectionSplitter, SectionTitle, Select, Select2, Select2Async, Sponsorship, StickyBar, Stepper, StreamBadge, Subtitle, Tab, Table, TabLink, Tabs, TertiaryButton, TextArea, TextField, TextFieldLegacy, TextLink, TextOnly, ThemeProvider, ThemeType, TitleWithCTA, Tickbox, Tickbox2, TickboxMode, Timer, TypeTags, UpsellCard, UpsellSection, Quote, VideoControls, VideoWithControls, zIndexes, SignUpForm, };
|
package/dist/types/types.d.ts
CHANGED
|
@@ -539,6 +539,12 @@ export interface IAccordionsProps {
|
|
|
539
539
|
*/
|
|
540
540
|
items: IAccordionProps[];
|
|
541
541
|
}
|
|
542
|
+
export declare const BannerVariants: {
|
|
543
|
+
readonly 'service-persistent': "service-persistent";
|
|
544
|
+
readonly 'in-page-persistent': "in-page-persistent";
|
|
545
|
+
readonly 'in-page': "in-page";
|
|
546
|
+
};
|
|
547
|
+
export declare type BannerVariant = keyof typeof BannerVariants;
|
|
542
548
|
export interface IAnnouncementBannerProps {
|
|
543
549
|
/**
|
|
544
550
|
* Announcement banner title
|
|
@@ -551,11 +557,23 @@ export interface IAnnouncementBannerProps {
|
|
|
551
557
|
/**
|
|
552
558
|
* Date and time text
|
|
553
559
|
*/
|
|
554
|
-
time
|
|
560
|
+
time?: string;
|
|
555
561
|
/**
|
|
556
562
|
* Icon graphic
|
|
557
563
|
*/
|
|
558
|
-
icon
|
|
564
|
+
icon?: 'Info' | 'Clock' | 'Location' | 'Reminder' | 'Star';
|
|
565
|
+
/**
|
|
566
|
+
* Custom CSS classes
|
|
567
|
+
*/
|
|
568
|
+
className?: string;
|
|
569
|
+
/**
|
|
570
|
+
* Banner layout variant
|
|
571
|
+
*/
|
|
572
|
+
variant?: BannerVariant;
|
|
573
|
+
/**
|
|
574
|
+
* Callback function to be executed when the banner is closed.
|
|
575
|
+
*/
|
|
576
|
+
onClose?: () => void;
|
|
559
577
|
}
|
|
560
578
|
export interface IReadMoreProps {
|
|
561
579
|
/**
|