@royaloperahouse/harmonic 0.1.7-d → 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.
@@ -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: string;
560
+ time?: string;
555
561
  /**
556
562
  * Icon graphic
557
563
  */
558
- icon: 'Info' | 'Clock' | 'Location' | 'Reminder' | 'Star';
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
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@royaloperahouse/harmonic",
3
- "version": "0.1.7-d",
3
+ "version": "0.1.7",
4
4
  "author": "Royal Opera House",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",