@royaloperahouse/harmonic 0.8.0 → 0.9.0
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 +5 -0
- package/dist/components/atoms/Buttons/Secondary/utils.d.ts +4 -4
- package/dist/components/atoms/TextField/TextField.style.d.ts +1 -1
- package/dist/components/molecules/Information/Information.style.d.ts +1 -1
- package/dist/components/molecules/Pagination/Pagination.style.d.ts +1 -1
- package/dist/components/molecules/PromoWithTitle/PromoWithTitle.style.d.ts +1 -1
- package/dist/components/molecules/UpsellCard/UpsellCard.style.d.ts +3 -1
- package/dist/harmonic.cjs.development.js +59 -18
- 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 +59 -18
- package/dist/harmonic.esm.js.map +1 -1
- package/dist/types/buttonTypes.d.ts +2 -0
- package/dist/types/upsell.d.ts +15 -1
- package/package.json +1 -1
package/dist/types/upsell.d.ts
CHANGED
|
@@ -39,9 +39,23 @@ export interface IUpsellCardProps {
|
|
|
39
39
|
*/
|
|
40
40
|
link?: EditorialLink;
|
|
41
41
|
/**
|
|
42
|
-
*
|
|
42
|
+
* Optional link for secondary CTA
|
|
43
|
+
*/
|
|
44
|
+
secondaryLink?: EditorialLink;
|
|
45
|
+
/**
|
|
46
|
+
* If true, switch to stacked CTAs earlier than usual to avoid button text spanning
|
|
47
|
+
* two lines. Useful when this component is rendered within in a narrow parent
|
|
48
|
+
* such as as an item in the Upsell Section.
|
|
49
|
+
*/
|
|
50
|
+
stackCtasEarly?: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Theme for primary CTA: Core, Stream, or Cinema
|
|
43
53
|
*/
|
|
44
54
|
theme?: ThemeType;
|
|
55
|
+
/**
|
|
56
|
+
* Theme for secondary CTA: Core, Stream, or Cinema
|
|
57
|
+
*/
|
|
58
|
+
secondaryTheme?: ThemeType;
|
|
45
59
|
}
|
|
46
60
|
export interface IUpsellCardsProps {
|
|
47
61
|
/**
|