@nuskin/react-loyalty-elements 1.0.2 → 1.0.4
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/README.md +0 -1
- package/dist/CircularProgressBar/CircularProgressBar.styled.d.ts +41 -0
- package/dist/CircularProgressBar/RadialSeparator.d.ts +4 -0
- package/dist/CircularProgressBar/RewardProgressBar.d.ts +8 -0
- package/dist/CircularProgressBar/RewardSubscriptionMonthDescription.d.ts +8 -0
- package/dist/CircularProgressBar/RewardSubscriptionTotal.d.ts +8 -0
- package/dist/CircularProgressBar/SubscriptionReward.d.ts +4 -0
- package/dist/CircularProgressBar/SubscriptionRewardMobile.d.ts +4 -0
- package/dist/CircularProgressBar/index.d.ts +1 -0
- package/dist/CircularProgressBar/logic/calculateMonthCompletionValues.d.ts +5 -0
- package/dist/CircularProgressBar/specs/RewardProgressBar.spec.d.ts +1 -0
- package/dist/CircularProgressBar/specs/RewardSubscriptionMonthDescription.spec.d.ts +1 -0
- package/dist/CircularProgressBar/specs/RewardSubscriptionTotal.spec.d.ts +1 -0
- package/dist/CircularProgressBar/specs/SubscriptionReward.spec.d.ts +1 -0
- package/dist/CircularProgressBar/specs/SubscriptionRewardMobile.spec.d.ts +1 -0
- package/dist/CircularProgressBar/specs/calculateMonthCompletionValues.spec.d.ts +1 -0
- package/dist/CircularProgressBar/types.d.ts +98 -0
- package/dist/Icons/Info.d.ts +2 -0
- package/dist/Icons/PromoLayoutIcon.d.ts +1 -0
- package/dist/Icons/SubscriptionVoucherIcon.d.ts +2 -0
- package/dist/Icons/SubscriptionVoucherIconGrey.d.ts +2 -0
- package/dist/Icons/index.d.ts +3 -0
- package/dist/SampleComponent/specs/SampleComponent.spec.d.ts +1 -0
- package/dist/SubscriptionRewardBanner/SubscriptionRewardBanner.d.ts +3 -0
- package/dist/SubscriptionRewardBanner/SubscriptionRewardBanner.styled.d.ts +29 -0
- package/dist/SubscriptionRewardBanner/index.d.ts +1 -0
- package/dist/SubscriptionRewardBanner/specs/SubscriptionRewardBanner.spec.d.ts +1 -0
- package/dist/SubscriptionRewardBanner/types.d.ts +20 -0
- package/dist/SubscriptionRewardModal/SubscriptionRewardModal.d.ts +2 -0
- package/dist/SubscriptionRewardModal/SubscriptionRewardModal.styled.d.ts +40 -0
- package/dist/SubscriptionRewardModal/index.d.ts +1 -0
- package/dist/SubscriptionRewardModal/specs/SubscriptionRewardModal.spec.d.ts +1 -0
- package/dist/SubscriptionRewardModal/types.d.ts +21 -0
- package/dist/Utils/application/application.d.ts +14 -0
- package/dist/Utils/application/index.d.ts +2 -0
- package/dist/Utils/application/specs/application.spec.d.ts +1 -0
- package/dist/Utils/helper.d.ts +4 -0
- package/dist/Utils/index.d.ts +0 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +59 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +59 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- /package/dist/{SampleComponent/SampleComponent.spec.d.ts → CircularProgressBar/specs/RadialSeparator.spec.d.ts} +0 -0
package/README.md
CHANGED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const RewardProgressBarContainer: import("@emotion/styled").StyledComponent<{
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
5
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
|
+
export declare const LoyaltyProgressSubContainer: import("@emotion/styled").StyledComponent<{
|
|
7
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
8
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
9
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
10
|
+
export declare const StyledCard: import("@emotion/styled").StyledComponent<{
|
|
11
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
12
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
13
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
14
|
+
export declare const Learn3XLink: import("@emotion/styled").StyledComponent<{
|
|
15
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
16
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
17
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
18
|
+
export declare const ProgressBarCenter: import("@emotion/styled").StyledComponent<{
|
|
19
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
20
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
21
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
22
|
+
export declare const RewardProgressTotalContainer: import("@emotion/styled").StyledComponent<{
|
|
23
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
24
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
25
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
26
|
+
export declare const RewardProgressTotalButtonWithIcon: import("@emotion/styled").StyledComponent<{
|
|
27
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
28
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
29
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
30
|
+
export declare const IconContainer: import("@emotion/styled").StyledComponent<{
|
|
31
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
32
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
33
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
34
|
+
export declare const SeparatorCard: import("@emotion/styled").StyledComponent<{
|
|
35
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
36
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
37
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
38
|
+
export declare const SeparatorInnerCard: import("@emotion/styled").StyledComponent<{
|
|
39
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
40
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
41
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { RewardProgressBarProps } from './types';
|
|
3
|
+
declare class RewardProgressBar extends React.Component<RewardProgressBarProps> {
|
|
4
|
+
constructor(props: RewardProgressBarProps);
|
|
5
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
}
|
|
7
|
+
export default RewardProgressBar;
|
|
8
|
+
export { RewardProgressBar };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { RewardSubscriptionMonthDescriptionProps } from './types';
|
|
3
|
+
declare class RewardSubscriptionMonthDescription extends React.Component<RewardSubscriptionMonthDescriptionProps> {
|
|
4
|
+
constructor(props: RewardSubscriptionMonthDescriptionProps);
|
|
5
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
}
|
|
7
|
+
export default RewardSubscriptionMonthDescription;
|
|
8
|
+
export { RewardSubscriptionMonthDescription };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { RewardProgressBarProps } from './types';
|
|
3
|
+
declare class RewardSubscriptionTotal extends React.Component<RewardProgressBarProps> {
|
|
4
|
+
constructor(props: RewardProgressBarProps);
|
|
5
|
+
render(): import("react/jsx-runtime").JSX.Element;
|
|
6
|
+
}
|
|
7
|
+
export default RewardSubscriptionTotal;
|
|
8
|
+
export { RewardSubscriptionTotal };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as SubscriptionReward } from './SubscriptionReward';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { MonthlyData } from '../types';
|
|
2
|
+
export declare const calculateMonthCompletionValues: (data: MonthlyData | null | undefined, minAmount: number, maxAmount: number, minVoucher: number, maxVoucher: number, voucherValue: number, monthCompletionValue: number) => {
|
|
3
|
+
monthCompletionValue: number;
|
|
4
|
+
voucherValue: number;
|
|
5
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '@testing-library/jest-dom';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
export type ApproximateMonthlyTotal = {
|
|
2
|
+
currentMonthTotal: number;
|
|
3
|
+
nextMonthTotal?: number;
|
|
4
|
+
};
|
|
5
|
+
export type StoreMonthlySubsOrder = {
|
|
6
|
+
accountId?: number;
|
|
7
|
+
userId?: number;
|
|
8
|
+
nuskinAccountId?: string;
|
|
9
|
+
year: number;
|
|
10
|
+
month: number;
|
|
11
|
+
storeId?: number;
|
|
12
|
+
totalAmount: number;
|
|
13
|
+
promocode: string | null;
|
|
14
|
+
createdTime?: string;
|
|
15
|
+
updatedTime?: string;
|
|
16
|
+
};
|
|
17
|
+
export type MonthlyData = {
|
|
18
|
+
approximateMonthlyTotalResponse?: {
|
|
19
|
+
currentMonthTotal?: number;
|
|
20
|
+
};
|
|
21
|
+
approximateMonthlyTotal?: ApproximateMonthlyTotal;
|
|
22
|
+
storeMonthlySubsOrderTotal?: StoreMonthlySubsOrder[];
|
|
23
|
+
};
|
|
24
|
+
export type TranslationConfig = {
|
|
25
|
+
header?: string | undefined;
|
|
26
|
+
voucherTargetAmount: string;
|
|
27
|
+
monthsComplete: string;
|
|
28
|
+
voucherEarned: string;
|
|
29
|
+
learnMore: string;
|
|
30
|
+
learn3xMore: string;
|
|
31
|
+
callToAction: string;
|
|
32
|
+
notQualify: string;
|
|
33
|
+
approximateMonthly: string;
|
|
34
|
+
approximateTotal: string;
|
|
35
|
+
currentlyTrack: string;
|
|
36
|
+
loyaltyLogoBlack: string;
|
|
37
|
+
estimateDisclaimer?: string | undefined;
|
|
38
|
+
};
|
|
39
|
+
export type LearnMoreConfig = {
|
|
40
|
+
tagLine: string;
|
|
41
|
+
cardOneDescription: string;
|
|
42
|
+
cardOneVoucherAmount: string;
|
|
43
|
+
cardTwoDescription: string;
|
|
44
|
+
cardTwoVoucherAmount: string;
|
|
45
|
+
header: string;
|
|
46
|
+
loyaltyLogoWhite: string;
|
|
47
|
+
loyaltyBanner: string;
|
|
48
|
+
learnMore: string;
|
|
49
|
+
};
|
|
50
|
+
export type RewardProgressBarProps = {
|
|
51
|
+
value: number;
|
|
52
|
+
title: string;
|
|
53
|
+
amountShow?: number | undefined;
|
|
54
|
+
voucherValue: number | null;
|
|
55
|
+
monthCompletionValue?: number;
|
|
56
|
+
minAmount?: number;
|
|
57
|
+
maxMonths: number;
|
|
58
|
+
approximateMonthlyTotalResponse?: object;
|
|
59
|
+
subscriptionData?: null | MonthlyData;
|
|
60
|
+
handleOpenSubscriptionRewardPopup: () => void;
|
|
61
|
+
notQualifyForRewardThisMonth: boolean;
|
|
62
|
+
translationConfig: TranslationConfig;
|
|
63
|
+
learnMoreConfig: LearnMoreConfig;
|
|
64
|
+
storeConfig: {
|
|
65
|
+
tiers?: [
|
|
66
|
+
{
|
|
67
|
+
consecutive_months: number;
|
|
68
|
+
min_spend: number;
|
|
69
|
+
max_spend: number;
|
|
70
|
+
promo_code: string;
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
consecutive_months: number;
|
|
74
|
+
min_spend: number;
|
|
75
|
+
promo_code: string;
|
|
76
|
+
}
|
|
77
|
+
];
|
|
78
|
+
currencyAbbreviate?: boolean;
|
|
79
|
+
};
|
|
80
|
+
currencyAbbreviate?: boolean;
|
|
81
|
+
currencyFormat?: (price: number, currencyWithoutDecimal: boolean, currencyAbbreviate: boolean) => void;
|
|
82
|
+
};
|
|
83
|
+
export type RewardSubscriptionMonthDescriptionProps = {
|
|
84
|
+
value: number;
|
|
85
|
+
amountShow?: number;
|
|
86
|
+
voucherValue: number | null;
|
|
87
|
+
monthCompletionValue?: number;
|
|
88
|
+
minAmount?: number;
|
|
89
|
+
maxMonths: number;
|
|
90
|
+
approximateMonthlyTotalResponse?: object;
|
|
91
|
+
subscriptionData?: MonthlyData;
|
|
92
|
+
handleOpenSubscriptionRewardPopup: () => void;
|
|
93
|
+
notQualifyForRewardThisMonth: boolean;
|
|
94
|
+
translationConfig?: TranslationConfig;
|
|
95
|
+
learnMoreConfig?: LearnMoreConfig;
|
|
96
|
+
currencyAbbreviate?: boolean;
|
|
97
|
+
currencyFormat?: (price: number, currencyWithoutDecimal: boolean, currencyAbbreviate: boolean) => void;
|
|
98
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function PromoLayoutIcon(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const SubscriptionRewardContainer: import("@emotion/styled").StyledComponent<{
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
5
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
|
+
export declare const CardImage: import("@emotion/styled").StyledComponent<{
|
|
7
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
8
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
9
|
+
}, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
10
|
+
export declare const CardContent: import("@emotion/styled").StyledComponent<{
|
|
11
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
12
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
13
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
14
|
+
export declare const CardHeader: import("@emotion/styled").StyledComponent<{
|
|
15
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
16
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
17
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {}>;
|
|
18
|
+
export declare const CardText: import("@emotion/styled").StyledComponent<{
|
|
19
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
20
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
21
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, {}>;
|
|
22
|
+
export declare const CardButton: import("@emotion/styled").StyledComponent<{
|
|
23
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
24
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
25
|
+
}, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;
|
|
26
|
+
export declare const CardLogo: import("@emotion/styled").StyledComponent<{
|
|
27
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
28
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
29
|
+
}, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as SubscriptionRewardBanner } from './SubscriptionRewardBanner';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export type RewardBannerProps = {
|
|
2
|
+
translationConfig: {
|
|
3
|
+
header: string;
|
|
4
|
+
body: string;
|
|
5
|
+
learnMore: string;
|
|
6
|
+
loyaltyLogoBlack: string;
|
|
7
|
+
loyaltyBanner: string;
|
|
8
|
+
};
|
|
9
|
+
learnMoreConfig: {
|
|
10
|
+
tagLine: string;
|
|
11
|
+
cardOneDescription: string;
|
|
12
|
+
cardOneVoucherAmount: string;
|
|
13
|
+
cardTwoDescription: string;
|
|
14
|
+
cardTwoVoucherAmount: string;
|
|
15
|
+
header: string;
|
|
16
|
+
loyaltyLogoWhite: string;
|
|
17
|
+
loyaltyBanner: string;
|
|
18
|
+
learnMore: string;
|
|
19
|
+
};
|
|
20
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const SubscriptionRewardPopup: import("@emotion/styled").StyledComponent<import("@nuskin/foundation-ui-components").NsModalProps & {
|
|
3
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
+
}, {}, {}>;
|
|
5
|
+
export declare const ModalBody: import("@emotion/styled").StyledComponent<{
|
|
6
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
7
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
8
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
9
|
+
export declare const SubscriptionRewardImg: import("@emotion/styled").StyledComponent<{
|
|
10
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
11
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
12
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
13
|
+
export declare const VoucherDiv: import("@emotion/styled").StyledComponent<{
|
|
14
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
15
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
16
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
17
|
+
export declare const VoucherHeading: import("@emotion/styled").StyledComponent<{
|
|
18
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
19
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
20
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
21
|
+
export declare const VoucherIcon: import("@emotion/styled").StyledComponent<{
|
|
22
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
23
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
24
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
25
|
+
export declare const VoucherDescription: import("@emotion/styled").StyledComponent<{
|
|
26
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
27
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
28
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
29
|
+
export declare const Footer: import("@emotion/styled").StyledComponent<{
|
|
30
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
31
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
32
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
33
|
+
export declare const HeaderDescription: import("@emotion/styled").StyledComponent<{
|
|
34
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
35
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
36
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
37
|
+
export declare const HeaderSection: import("@emotion/styled").StyledComponent<{
|
|
38
|
+
theme?: import("@emotion/react").Theme | undefined;
|
|
39
|
+
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
40
|
+
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as SubscriptionRewardModal } from './SubscriptionRewardModal';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export type RewardModalProps = {
|
|
2
|
+
amountShow?: number | string;
|
|
3
|
+
show: boolean;
|
|
4
|
+
close: () => void;
|
|
5
|
+
bannerImage?: string;
|
|
6
|
+
translationConfig: {
|
|
7
|
+
header?: string;
|
|
8
|
+
};
|
|
9
|
+
learnMoreConfig: {
|
|
10
|
+
header?: string;
|
|
11
|
+
learnMore: string;
|
|
12
|
+
learnMoreLink?: string | undefined;
|
|
13
|
+
cardTwoDescription: string;
|
|
14
|
+
cardTwoVoucherAmount: string;
|
|
15
|
+
cardOneDescription: string;
|
|
16
|
+
cardOneVoucherAmount: string;
|
|
17
|
+
tagLine: string;
|
|
18
|
+
loyaltyLogoWhite: string;
|
|
19
|
+
loyaltyBanner: string;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const IS_BROWSER: boolean;
|
|
2
|
+
declare class ApplicationStore {
|
|
3
|
+
width: number;
|
|
4
|
+
scroll: {
|
|
5
|
+
vertical: number;
|
|
6
|
+
horizontal: number;
|
|
7
|
+
direction: string;
|
|
8
|
+
};
|
|
9
|
+
get isMobile(): boolean;
|
|
10
|
+
get isPhone(): boolean;
|
|
11
|
+
}
|
|
12
|
+
declare const applicationContainer: ApplicationStore;
|
|
13
|
+
export { IS_BROWSER, ApplicationStore, applicationContainer, applicationContainer as application };
|
|
14
|
+
export default applicationContainer;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
File without changes
|
package/dist/index.d.ts
CHANGED