@nuskin/react-loyalty-elements 1.0.11-nge1-1242.15 → 1.1.0-dev-sea.2
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/CircularProgressBar/ApproximateMonthlyAmount.d.ts +17 -0
- package/dist/CircularProgressBar/AvailableVouchers.d.ts +4 -1
- package/dist/CircularProgressBar/CircularProgressBar.styled.d.ts +4 -0
- package/dist/CircularProgressBar/LoyaltyRewardsHeader.d.ts +13 -0
- package/dist/CircularProgressBar/RadialSeparator.d.ts +3 -0
- package/dist/CircularProgressBar/RewardProgressBar.d.ts +1 -0
- package/dist/CircularProgressBar/RewardSubscriptionMonthDescription.d.ts +1 -0
- package/dist/CircularProgressBar/RewardSubscriptionTotal.d.ts +1 -0
- package/dist/CircularProgressBar/SubscriptionReward.d.ts +4 -1
- package/dist/CircularProgressBar/SubscriptionRewardMobile.d.ts +4 -1
- package/dist/CircularProgressBar/index.d.ts +2 -0
- package/dist/CircularProgressBar/index.js +1 -1
- package/dist/CircularProgressBar/index.js.map +1 -1
- package/dist/CircularProgressBar/index.mjs +1 -1
- package/dist/CircularProgressBar/index.mjs.map +1 -1
- package/dist/CircularProgressBar/logic/getRewardTrackingText.d.ts +12 -0
- package/dist/CircularProgressBar/specs/LoyaltyRewardsHeader.spec.d.ts +1 -0
- package/dist/CircularProgressBar/types.d.ts +18 -0
- package/dist/GiftProgressBar/GiftProgressBar.d.ts +7 -0
- package/dist/GiftProgressBar/GiftProgressBar.styled.d.ts +13 -0
- package/dist/GiftProgressBar/GiftProgressBarMobile.d.ts +7 -0
- package/dist/GiftProgressBar/GiftProgressBarMonthDescription.d.ts +8 -0
- package/dist/GiftProgressBar/GiftReward.d.ts +7 -0
- package/dist/GiftProgressBar/GiftWheelCenterContent.d.ts +19 -0
- package/dist/GiftProgressBar/index.d.ts +4 -0
- package/dist/GiftProgressBar/index.js +12 -0
- package/dist/GiftProgressBar/index.js.map +1 -0
- package/dist/GiftProgressBar/index.mjs +1 -0
- package/dist/GiftProgressBar/index.mjs.map +1 -0
- package/dist/GiftProgressBar/logic/calculateGiftMonthCompletion.d.ts +9 -0
- package/dist/GiftProgressBar/logic/readGiftProperties.d.ts +9 -0
- package/dist/GiftProgressBar/specs/GiftProgressBar.spec.d.ts +1 -0
- package/dist/GiftProgressBar/specs/GiftProgressBarMobile.spec.d.ts +1 -0
- package/dist/GiftProgressBar/specs/GiftProgressBarMonthDescription.spec.d.ts +1 -0
- package/dist/GiftProgressBar/specs/GiftReward.spec.d.ts +1 -0
- package/dist/GiftProgressBar/specs/calculateGiftMonthCompletion.spec.d.ts +1 -0
- package/dist/GiftProgressBar/specs/readGiftProperties.spec.d.ts +1 -0
- package/dist/GiftProgressBar/types.d.ts +86 -0
- package/dist/GiftRoadmap/GiftRoadmap.d.ts +4 -0
- package/dist/GiftRoadmap/GiftRoadmap.styled.d.ts +28 -0
- package/dist/GiftRoadmap/index.d.ts +2 -0
- package/dist/GiftRoadmap/index.js +12 -0
- package/dist/GiftRoadmap/index.js.map +1 -0
- package/dist/GiftRoadmap/index.mjs +1 -0
- package/dist/GiftRoadmap/index.mjs.map +1 -0
- package/dist/GiftRoadmap/specs/GiftRoadmap.spec.d.ts +1 -0
- package/dist/GiftRoadmap/types.d.ts +19 -0
- package/dist/Icons/GiftBlackFilledIcon.d.ts +2 -0
- package/dist/Icons/GiftDisabledIcon.d.ts +2 -0
- package/dist/Icons/GiftIcon.d.ts +2 -0
- package/dist/Icons/GiftWhiteFilledIcon.d.ts +2 -0
- package/dist/Icons/VoucherIcon.d.ts +2 -0
- package/dist/Icons/index.d.ts +5 -0
- package/dist/Icons/index.js +1 -0
- package/dist/Icons/index.js.map +1 -0
- package/dist/Icons/index.mjs +1 -0
- package/dist/Icons/index.mjs.map +1 -0
- package/dist/Icons/specs/GiftIcons.spec.d.ts +1 -0
- package/dist/SubscriptionRewardBanner/index.mjs +1 -1
- package/dist/SubscriptionRewardBanner/index.mjs.map +1 -1
- package/dist/SubscriptionRewardModal/index.mjs +1 -1
- package/dist/SubscriptionRewardModal/index.mjs.map +1 -1
- package/dist/chunk-3RJWIGAN.mjs +1 -0
- package/dist/chunk-3RJWIGAN.mjs.map +1 -0
- package/dist/chunk-73SFLUWV.mjs +1 -0
- package/dist/chunk-73SFLUWV.mjs.map +1 -0
- package/dist/chunk-CBUBKPM6.mjs +1 -0
- package/dist/chunk-CBUBKPM6.mjs.map +1 -0
- package/dist/chunk-D3ZWLTS2.mjs +1 -0
- package/dist/chunk-D3ZWLTS2.mjs.map +1 -0
- package/dist/chunk-NVD2PQ2C.mjs +1 -0
- package/dist/chunk-NVD2PQ2C.mjs.map +1 -0
- package/dist/chunk-PN67M2PP.mjs +12 -0
- package/dist/chunk-PN67M2PP.mjs.map +1 -0
- package/dist/chunk-SX6PSEGE.mjs +1 -0
- package/dist/chunk-SX6PSEGE.mjs.map +1 -0
- package/dist/chunk-UHWCPMTT.mjs +1 -0
- package/dist/chunk-UHWCPMTT.mjs.map +1 -0
- package/dist/chunk-W3CMY6UZ.mjs +1 -0
- package/dist/chunk-W3CMY6UZ.mjs.map +1 -0
- package/package.json +1 -1
- package/dist/chunk-Z6ATMGBY.mjs +0 -12
- package/dist/chunk-Z6ATMGBY.mjs.map +0 -1
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
type ApproximateMonthlyAmountProps = Readonly<{
|
|
2
|
+
approximateMonthlyText: string;
|
|
3
|
+
amountShowText: string;
|
|
4
|
+
estimateDisclaimer?: string;
|
|
5
|
+
}>;
|
|
6
|
+
/**
|
|
7
|
+
* "Approximate Monthly Total: $X (i)" line with its disclaimer tooltip. Shared by
|
|
8
|
+
* RewardSubscriptionTotal (voucher-only card) and LoyaltyRewardsHeader (combined card) so the two
|
|
9
|
+
* places that show this figure can't drift apart.
|
|
10
|
+
*/
|
|
11
|
+
declare const ApproximateMonthlyAmount: {
|
|
12
|
+
({ approximateMonthlyText, amountShowText, estimateDisclaimer, }: ApproximateMonthlyAmountProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
displayName: string;
|
|
14
|
+
};
|
|
15
|
+
export default ApproximateMonthlyAmount;
|
|
16
|
+
export { ApproximateMonthlyAmount };
|
|
17
|
+
export type { ApproximateMonthlyAmountProps };
|
|
@@ -3,6 +3,9 @@ type AvailableVouchersProps = Readonly<{
|
|
|
3
3
|
loyaltyData?: LoyaltyProps;
|
|
4
4
|
translationConfig?: Pick<TranslationConfig, 'voucherAvailable' | 'voucherExpires'>;
|
|
5
5
|
}>;
|
|
6
|
-
declare const AvailableVouchers:
|
|
6
|
+
declare const AvailableVouchers: {
|
|
7
|
+
({ loyaltyData, translationConfig }: Readonly<AvailableVouchersProps>): import("react/jsx-runtime").JSX.Element | null;
|
|
8
|
+
displayName: string;
|
|
9
|
+
};
|
|
7
10
|
export default AvailableVouchers;
|
|
8
11
|
export { AvailableVouchers };
|
|
@@ -15,6 +15,10 @@ export declare const Learn3XLink: import("@emotion/styled").StyledComponent<{
|
|
|
15
15
|
theme?: import("@emotion/react").Theme | undefined;
|
|
16
16
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
17
17
|
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
18
|
+
export declare const LoyaltyRewardsHeaderContainer: 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>, {}>;
|
|
18
22
|
export declare const ProgressBarCenter: import("@emotion/styled").StyledComponent<{
|
|
19
23
|
theme?: import("@emotion/react").Theme | undefined;
|
|
20
24
|
as?: import("react").ElementType<any, keyof import("react").JSX.IntrinsicElements> | undefined;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { LoyaltyRewardsHeaderProps } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* Shared header for the combined voucher + gift card. Presentational only — `amountShow` is the
|
|
4
|
+
* same value the widgets already read off `approximateMonthlyTotalResponse`, so no streak
|
|
5
|
+
* calculation is repeated here. The threshold warnings stay per-widget because the voucher and the
|
|
6
|
+
* gift qualify at different amounts.
|
|
7
|
+
*/
|
|
8
|
+
declare const LoyaltyRewardsHeader: {
|
|
9
|
+
(props: LoyaltyRewardsHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
displayName: string;
|
|
11
|
+
};
|
|
12
|
+
export default LoyaltyRewardsHeader;
|
|
13
|
+
export { LoyaltyRewardsHeader };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { RewardProgressBarProps } from './types';
|
|
3
3
|
declare class RewardProgressBar extends React.Component<RewardProgressBarProps> {
|
|
4
|
+
static readonly displayName = "RewardProgressBar";
|
|
4
5
|
render(): import("react/jsx-runtime").JSX.Element;
|
|
5
6
|
}
|
|
6
7
|
export default RewardProgressBar;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { RewardSubscriptionMonthDescriptionProps } from './types';
|
|
3
3
|
declare class RewardSubscriptionMonthDescription extends React.Component<RewardSubscriptionMonthDescriptionProps> {
|
|
4
|
+
static readonly displayName = "RewardSubscriptionMonthDescription";
|
|
4
5
|
render(): import("react/jsx-runtime").JSX.Element;
|
|
5
6
|
}
|
|
6
7
|
export default RewardSubscriptionMonthDescription;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { RewardProgressBarProps } from './types';
|
|
3
3
|
declare class RewardSubscriptionTotal extends React.Component<RewardProgressBarProps> {
|
|
4
|
+
static readonly displayName = "RewardSubscriptionTotal";
|
|
4
5
|
render(): import("react/jsx-runtime").JSX.Element;
|
|
5
6
|
}
|
|
6
7
|
export default RewardSubscriptionTotal;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { RewardProgressBarProps } from './types';
|
|
2
|
-
declare const SubscriptionReward:
|
|
2
|
+
declare const SubscriptionReward: {
|
|
3
|
+
(props: RewardProgressBarProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
displayName: string;
|
|
5
|
+
};
|
|
3
6
|
export default SubscriptionReward;
|
|
4
7
|
export { SubscriptionReward };
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { RewardProgressBarProps } from './types';
|
|
2
|
-
declare const SubscriptionRewardMobile:
|
|
2
|
+
declare const SubscriptionRewardMobile: {
|
|
3
|
+
(props: RewardProgressBarProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
displayName: string;
|
|
5
|
+
};
|
|
3
6
|
export default SubscriptionRewardMobile;
|
|
4
7
|
export { SubscriptionRewardMobile };
|