@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.
- package/dist/components/molecules/Pagination/Pagination.style.d.ts +1 -1
- package/dist/components/molecules/PromoWithTags/PromoWithTags.style.d.ts +3 -6
- package/dist/harmonic.cjs.development.js +133 -98
- 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 +133 -98
- package/dist/harmonic.esm.js.map +1 -1
- package/dist/types/promoWithTags.d.ts +9 -1
- package/package.json +1 -1
|
@@ -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
|
}
|