@royaloperahouse/chord 2.9.0-d-development → 2.9.1-b-development
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 +8 -0
- package/dist/chord.cjs.development.js +19 -4
- package/dist/chord.cjs.development.js.map +1 -1
- package/dist/chord.cjs.production.min.js +1 -1
- package/dist/chord.cjs.production.min.js.map +1 -1
- package/dist/chord.esm.js +19 -4
- package/dist/chord.esm.js.map +1 -1
- package/dist/components/molecules/UpsellCard/UpsellCard.style.d.ts +3 -1
- package/dist/types/upsell.d.ts +11 -1
- package/package.json +1 -1
|
@@ -7,7 +7,9 @@ declare type withColor = {
|
|
|
7
7
|
export declare const Wrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
8
8
|
export declare const PromoLabelWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
9
9
|
export declare const PromoLabel: import("styled-components").StyledComponent<"div", any, withColor, never>;
|
|
10
|
-
export declare const ButtonContainer: import("styled-components").StyledComponent<"div", any, {
|
|
10
|
+
export declare const ButtonContainer: import("styled-components").StyledComponent<"div", any, {
|
|
11
|
+
stackCtasEarly: boolean;
|
|
12
|
+
}, never>;
|
|
11
13
|
export declare const TitleContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
12
14
|
export declare const OfferTextWrapper: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
13
15
|
export declare const PriceRow: import("styled-components").StyledComponent<"div", any, {}, never>;
|
package/dist/types/upsell.d.ts
CHANGED
|
@@ -36,9 +36,19 @@ export interface IUpsellCardProps {
|
|
|
36
36
|
*/
|
|
37
37
|
offerTexts?: IOfferTextProps[];
|
|
38
38
|
/**
|
|
39
|
-
*
|
|
39
|
+
* Optional link for primary CTA
|
|
40
40
|
*/
|
|
41
41
|
link?: EditorialLink;
|
|
42
|
+
/**
|
|
43
|
+
* Optional link for secondary CTA
|
|
44
|
+
*/
|
|
45
|
+
secondaryLink?: EditorialLink;
|
|
46
|
+
/**
|
|
47
|
+
* If true, switch to stacked CTAs earlier than usual to avoid button text spanning
|
|
48
|
+
* two lines. Useful when this component is rendered within in a narrow parent
|
|
49
|
+
* such as as an item in the Upsell Section.
|
|
50
|
+
*/
|
|
51
|
+
stackCtasEarly?: boolean;
|
|
42
52
|
/**
|
|
43
53
|
* Theme: Core, Stream, or Cinema
|
|
44
54
|
*/
|