@royaloperahouse/harmonic 0.10.0-a → 0.11.0-a

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.
@@ -1,5 +1,5 @@
1
1
  import { ReactElement } from 'react';
2
- import { EditorialLink, PromoLinks } from './editorial';
2
+ import { EditorialLink, PromoLinks, PromoTitleHierarchy } from './editorial';
3
3
  import { IntegratedTimerProps } from './timer';
4
4
  import { Image } from './types';
5
5
  export interface IPromoWithTagsProps {
@@ -15,6 +15,10 @@ export interface IPromoWithTagsProps {
15
15
  * Title size
16
16
  */
17
17
  titleSize?: 'small' | 'large';
18
+ /**
19
+ * Semantic level of the promo title header - h2 or h3.
20
+ */
21
+ titleHierarchy: PromoTitleHierarchy;
18
22
  /**
19
23
  * Subtitle placed in the editorial component
20
24
  */
@@ -82,4 +86,8 @@ export interface IPromoWithTagsStyledProps {
82
86
  * Sets margin for the tags container
83
87
  */
84
88
  marginBottom?: number;
89
+ /**
90
+ * Sets mobile margin for the tags container
91
+ */
92
+ mobileMarginBottom?: number;
85
93
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@royaloperahouse/harmonic",
3
- "version": "0.10.0-a",
3
+ "version": "0.11.0-a",
4
4
  "author": "Royal Opera House",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",