@stigg/react-sdk 4.4.0-beta.10 → 4.4.0-beta.11
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/checkout/components/DowngradeToFreeContainer.d.ts +3 -7
- package/dist/components/checkout/components/StyledArrow.d.ts +5 -0
- package/dist/components/checkout/hooks/usePreviewSubscription.d.ts +0 -2
- package/dist/components/checkout/summary/components/LineItems.d.ts +6 -6
- package/dist/components/checkout/textOverrides.d.ts +24 -3
- package/dist/react-sdk.cjs.development.js +166 -154
- package/dist/react-sdk.cjs.development.js.map +1 -1
- package/dist/react-sdk.cjs.production.min.js +1 -1
- package/dist/react-sdk.cjs.production.min.js.map +1 -1
- package/dist/react-sdk.esm.js +172 -170
- package/dist/react-sdk.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/checkout/components/DowngradeToFreeContainer.tsx +32 -35
- package/src/components/checkout/components/StyledArrow.tsx +9 -0
- package/src/components/checkout/hooks/usePreviewSubscription.ts +1 -1
- package/src/components/checkout/planHeader/PlanHeader.tsx +18 -25
- package/src/components/checkout/promotionCode/AddPromotionCode.tsx +2 -1
- package/src/components/checkout/summary/CheckoutSummary.tsx +31 -20
- package/src/components/checkout/summary/components/LineItems.tsx +10 -17
- package/src/components/checkout/textOverrides.ts +21 -4
- package/dist/components/checkout/planHeader/PlanHeader.style.d.ts +0 -25
- package/src/components/checkout/planHeader/PlanHeader.style.tsx +0 -23
package/package.json
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { StyledArrowRightIcon } from '
|
|
2
|
+
import { StyledArrowRightIcon } from './StyledArrow';
|
|
3
3
|
import styled from '@emotion/styled/macro';
|
|
4
4
|
import { Alert, Box } from '@mui/material';
|
|
5
5
|
import { Typography } from '../../common/Typography';
|
|
6
6
|
import { CheckoutStatePlan, Subscription } from '@stigg/js-client-sdk';
|
|
7
|
-
import { Currency, BillingPeriod } from '@stigg/js-client-sdk';
|
|
8
|
-
import { currencyPriceFormatter } from '../../utils/currencyUtils';
|
|
9
7
|
import { CheckoutLocalization } from '../textOverrides';
|
|
10
8
|
import { CheckoutContainerProps } from '../CheckoutContainer';
|
|
11
9
|
import { ChangePlanButton } from './ChangePlanButton';
|
|
@@ -26,40 +24,29 @@ export const DowngradeToFreePlanBox = styled(Box)`
|
|
|
26
24
|
`;
|
|
27
25
|
|
|
28
26
|
export const DowngradeToFreeContent = ({
|
|
27
|
+
headerText,
|
|
29
28
|
planName,
|
|
30
|
-
|
|
31
|
-
billingPeriod,
|
|
29
|
+
priceText,
|
|
32
30
|
}: {
|
|
31
|
+
headerText: string;
|
|
33
32
|
planName: string;
|
|
34
|
-
|
|
35
|
-
amount: number;
|
|
36
|
-
currency: Currency;
|
|
37
|
-
};
|
|
38
|
-
billingPeriod?: BillingPeriod;
|
|
33
|
+
priceText: string;
|
|
39
34
|
}) => {
|
|
40
|
-
const priceText = totalPrice
|
|
41
|
-
? currencyPriceFormatter({ amount: totalPrice.amount, currency: totalPrice.currency })
|
|
42
|
-
: 'Free';
|
|
43
|
-
|
|
44
|
-
const billingPeriodText = billingPeriod ? ` / Paid ${billingPeriod.toLowerCase()}` : '';
|
|
45
35
|
return (
|
|
46
|
-
<DowngradeToFreePlanBox className="stigg-checkout-
|
|
47
|
-
<Typography
|
|
36
|
+
<DowngradeToFreePlanBox className="stigg-checkout-downgrade-to-free-container">
|
|
37
|
+
<Typography
|
|
38
|
+
className="stigg-checkout-downgrade-to-free-text-header"
|
|
39
|
+
style={{ opacity: 0.8 }}
|
|
40
|
+
variant="caption"
|
|
41
|
+
color="disabled">
|
|
42
|
+
{headerText}
|
|
43
|
+
</Typography>
|
|
44
|
+
<Typography className="stigg-checkout-downgrade-to-free-plan-name" bold variant="h3" color="primary">
|
|
48
45
|
{planName}
|
|
49
46
|
</Typography>
|
|
50
|
-
<
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
span
|
|
54
|
-
bold={true}
|
|
55
|
-
variant="h3"
|
|
56
|
-
color="primary">
|
|
57
|
-
{priceText}
|
|
58
|
-
</Typography>
|
|
59
|
-
<Typography className="stigg-checkout-downgrade-to-free-text-billing-period" span color="secondary">
|
|
60
|
-
{billingPeriodText}
|
|
61
|
-
</Typography>
|
|
62
|
-
</div>
|
|
47
|
+
<Typography className="stigg-checkout-downgrade-to-free-price-text" color="secondary">
|
|
48
|
+
{priceText}
|
|
49
|
+
</Typography>
|
|
63
50
|
</DowngradeToFreePlanBox>
|
|
64
51
|
);
|
|
65
52
|
};
|
|
@@ -91,19 +78,25 @@ export const DowngradeToFreePlan = ({
|
|
|
91
78
|
);
|
|
92
79
|
}
|
|
93
80
|
|
|
81
|
+
const paidBillingPeriod =
|
|
82
|
+
activeSubscription.prices.length > 0 ? activeSubscription.prices[0].billingPeriod : undefined;
|
|
83
|
+
|
|
94
84
|
return (
|
|
95
85
|
<>
|
|
96
86
|
<DowngradeToFreeAlert action={alertAction} className="stigg-checkout-downgrade-to-free-alert" severity="info">
|
|
97
87
|
<Typography span color="secondary">
|
|
98
|
-
{checkoutLocalization.
|
|
88
|
+
{checkoutLocalization.downgradeToFree.alertText({ plan: activeSubscription.plan })}
|
|
99
89
|
</Typography>
|
|
100
90
|
</DowngradeToFreeAlert>
|
|
101
91
|
|
|
102
92
|
<DowngradeToFreePlansContainer className="stigg-checkout-downgrade-to-free-plans-container">
|
|
103
93
|
<DowngradeToFreeContent
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
94
|
+
headerText={checkoutLocalization.downgradeToFree.paidPlanHeader({ plan: activeSubscription.plan })}
|
|
95
|
+
planName={checkoutLocalization.downgradeToFree.paidPlanName({ plan: activeSubscription.plan })}
|
|
96
|
+
priceText={checkoutLocalization.downgradeToFree.paidPlanPriceText({
|
|
97
|
+
plan: activeSubscription.plan,
|
|
98
|
+
billingPeriod: paidBillingPeriod,
|
|
99
|
+
})}
|
|
107
100
|
/>
|
|
108
101
|
|
|
109
102
|
<StyledArrowRightIcon
|
|
@@ -111,7 +104,11 @@ export const DowngradeToFreePlan = ({
|
|
|
111
104
|
style={{ margin: 'auto 16px', minWidth: '16px' }}
|
|
112
105
|
/>
|
|
113
106
|
|
|
114
|
-
<DowngradeToFreeContent
|
|
107
|
+
<DowngradeToFreeContent
|
|
108
|
+
headerText={checkoutLocalization.downgradeToFree.freePlanHeader({ plan: freePlan })}
|
|
109
|
+
planName={checkoutLocalization.downgradeToFree.freePlanName({ plan: freePlan })}
|
|
110
|
+
priceText={checkoutLocalization.downgradeToFree.freePlanPriceText({ plan: freePlan })}
|
|
111
|
+
/>
|
|
115
112
|
</DowngradeToFreePlansContainer>
|
|
116
113
|
</>
|
|
117
114
|
);
|
|
@@ -84,7 +84,7 @@ export const usePreviewSubscriptionAction = () => {
|
|
|
84
84
|
const previewSubscriptionAction = useCallback(
|
|
85
85
|
async ({ promotionCode }: { promotionCode?: string | null } = {}) => {
|
|
86
86
|
if (!widgetState.isValid) {
|
|
87
|
-
return { subscriptionPreview: null };
|
|
87
|
+
return { subscriptionPreview: null, errorMessage: null };
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
return previewSubscription({
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
|
-
import { Divider } from '@mui/material';
|
|
3
|
+
import { Box, Divider } from '@mui/material';
|
|
4
4
|
|
|
5
5
|
import { Typography } from '../../common/Typography';
|
|
6
6
|
import { useCheckoutModel } from '../hooks/useCheckoutModel';
|
|
7
|
-
import { PlanHeaderContainer, PlanPathContainer, StyledArrowRightIcon } from './PlanHeader.style';
|
|
8
7
|
import { CheckoutContainerProps } from '../CheckoutContainer';
|
|
9
8
|
import { ChangePlanButton } from '../components/ChangePlanButton';
|
|
10
9
|
|
|
@@ -14,37 +13,31 @@ type PlanHeaderProps = {
|
|
|
14
13
|
|
|
15
14
|
export function PlanHeader({ allowChangePlan = false, onChangePlan }: PlanHeaderProps) {
|
|
16
15
|
const { checkoutState, checkoutLocalization } = useCheckoutModel();
|
|
17
|
-
const { plan
|
|
18
|
-
const isPlanChanged = plan?.id !== activeSubscription?.plan.id;
|
|
16
|
+
const { plan } = checkoutState || {};
|
|
19
17
|
|
|
20
18
|
return (
|
|
21
19
|
<>
|
|
22
|
-
<
|
|
23
|
-
<
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
<Typography variant="h6" color="secondary">
|
|
27
|
-
{activeSubscription.plan.displayName}
|
|
28
|
-
</Typography>
|
|
29
|
-
<StyledArrowRightIcon />
|
|
30
|
-
</>
|
|
31
|
-
)}
|
|
20
|
+
<Box sx={{ marginBottom: '16px' }}>
|
|
21
|
+
<Typography variant="body1" color="disabled" style={{ opacity: 0.6, marginBottom: '8px' }}>
|
|
22
|
+
Selected plan
|
|
23
|
+
</Typography>
|
|
32
24
|
|
|
25
|
+
<Box sx={{ display: 'flex', justifyContent: 'space-between' }}>
|
|
33
26
|
<Typography variant="h3" bold>
|
|
34
27
|
{plan?.displayName}
|
|
35
28
|
</Typography>
|
|
36
|
-
</PlanPathContainer>
|
|
37
29
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
30
|
+
{allowChangePlan && onChangePlan && (
|
|
31
|
+
<ChangePlanButton
|
|
32
|
+
onClick={() => {
|
|
33
|
+
onChangePlan({ currentPlan: plan });
|
|
34
|
+
}}
|
|
35
|
+
checkoutLocalization={checkoutLocalization}
|
|
36
|
+
size="medium"
|
|
37
|
+
/>
|
|
38
|
+
)}
|
|
39
|
+
</Box>
|
|
40
|
+
</Box>
|
|
48
41
|
<Divider className="stigg-checkout-plan-header-divider" />
|
|
49
42
|
</>
|
|
50
43
|
);
|
|
@@ -36,7 +36,7 @@ export const AddPromotionCode = ({ checkoutLocalization }: { checkoutLocalizatio
|
|
|
36
36
|
if (!errorMessage && subscriptionPreview?.discount) {
|
|
37
37
|
persistPromotionCode(promotionCode.toUpperCase());
|
|
38
38
|
setShowInput(false);
|
|
39
|
-
} else if (
|
|
39
|
+
} else if (errorMessage) {
|
|
40
40
|
setErrorMessage(errorMessage);
|
|
41
41
|
}
|
|
42
42
|
setIsLoading(false);
|
|
@@ -62,6 +62,7 @@ export const AddPromotionCode = ({ checkoutLocalization }: { checkoutLocalizatio
|
|
|
62
62
|
setPromotionCode(e.target.value);
|
|
63
63
|
}}
|
|
64
64
|
inputProps={{ maxLength: 20 }}
|
|
65
|
+
// eslint-disable-next-line react/jsx-no-duplicate-props
|
|
65
66
|
InputProps={{
|
|
66
67
|
endAdornment: (
|
|
67
68
|
<CouponCodeAddButton variant="contained" disabled={isLoading} onClick={handlePromotionCode}>
|
|
@@ -44,6 +44,7 @@ SummaryCard.defaultProps = {
|
|
|
44
44
|
|
|
45
45
|
const PlanName = styled(Typography)`
|
|
46
46
|
margin-bottom: 16px;
|
|
47
|
+
font-weight: 500;
|
|
47
48
|
`;
|
|
48
49
|
|
|
49
50
|
const StyledDivider = styled(Divider)`
|
|
@@ -142,6 +143,14 @@ export const CheckoutSummary = ({
|
|
|
142
143
|
}
|
|
143
144
|
};
|
|
144
145
|
|
|
146
|
+
const showPromotionCodeLine = !disablePromotionCode && !isFreeDowngrade;
|
|
147
|
+
const showDiscountLine = !!subscriptionPreview?.subTotal && !!subscriptionPreview?.discount && !isFreeDowngrade;
|
|
148
|
+
const showTaxLine =
|
|
149
|
+
!!subscriptionPreview?.taxDetails && !!subscriptionPreview?.tax && subscriptionPreview?.tax.amount > 0;
|
|
150
|
+
const showAppliedCreditsLine = !!subscriptionPreview?.credits && subscriptionPreview?.credits.used.amount > 0;
|
|
151
|
+
|
|
152
|
+
const showAdditionalDivider = showPromotionCodeLine || showDiscountLine || showTaxLine || showAppliedCreditsLine;
|
|
153
|
+
|
|
145
154
|
return (
|
|
146
155
|
<Box flex={1}>
|
|
147
156
|
<SummaryCard>
|
|
@@ -150,7 +159,7 @@ export const CheckoutSummary = ({
|
|
|
150
159
|
{baseCharge && (
|
|
151
160
|
<LineItemContainer>
|
|
152
161
|
<LineItemRow>
|
|
153
|
-
<Typography variant="
|
|
162
|
+
<Typography variant="body1" color="secondary">
|
|
154
163
|
{typeof checkoutLocalization.baseChargeText === 'function'
|
|
155
164
|
? checkoutLocalization.baseChargeText({ billingPeriod: subscription.billingPeriod })
|
|
156
165
|
: checkoutLocalization.baseChargeText}
|
|
@@ -217,30 +226,32 @@ export const CheckoutSummary = ({
|
|
|
217
226
|
|
|
218
227
|
<StyledDivider className="stigg-checkout-summary-divider" />
|
|
219
228
|
|
|
220
|
-
{
|
|
221
|
-
<>
|
|
222
|
-
<PromotionCodeSection checkoutLocalization={checkoutLocalization} />
|
|
229
|
+
{showPromotionCodeLine && <PromotionCodeSection checkoutLocalization={checkoutLocalization} />}
|
|
223
230
|
|
|
224
|
-
|
|
225
|
-
|
|
231
|
+
{showDiscountLine && (
|
|
232
|
+
<DiscountLineItem
|
|
233
|
+
subscriptionPreview={subscriptionPreview!}
|
|
234
|
+
isFetchingSubscriptionPreview={isFetchingSubscriptionPreview}
|
|
235
|
+
/>
|
|
226
236
|
)}
|
|
227
237
|
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
238
|
+
{showTaxLine && (
|
|
239
|
+
<TaxLineItem
|
|
240
|
+
subscriptionPreview={subscriptionPreview!}
|
|
241
|
+
isFetchingSubscriptionPreview={isFetchingSubscriptionPreview}
|
|
242
|
+
checkoutLocalization={checkoutLocalization}
|
|
243
|
+
/>
|
|
244
|
+
)}
|
|
232
245
|
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
246
|
+
{showAppliedCreditsLine && (
|
|
247
|
+
<AppliedCreditsLineItem
|
|
248
|
+
subscriptionPreview={subscriptionPreview!}
|
|
249
|
+
isFetchingSubscriptionPreview={isFetchingSubscriptionPreview}
|
|
250
|
+
checkoutLocalization={checkoutLocalization}
|
|
251
|
+
/>
|
|
252
|
+
)}
|
|
238
253
|
|
|
239
|
-
<
|
|
240
|
-
subscriptionPreview={subscriptionPreview}
|
|
241
|
-
isFetchingSubscriptionPreview={isFetchingSubscriptionPreview}
|
|
242
|
-
checkoutLocalization={checkoutLocalization}
|
|
243
|
-
/>
|
|
254
|
+
{showAdditionalDivider && <StyledDivider className="stigg-checkout-summary-divider" />}
|
|
244
255
|
|
|
245
256
|
<LineItemContainer>
|
|
246
257
|
<LineItemRow>
|
|
@@ -52,7 +52,7 @@ export const BilledPriceLineItem = ({ label, quantity, price }: { label: string;
|
|
|
52
52
|
<LineItemContainer>
|
|
53
53
|
<LineItemRow style={{ alignItems: 'flex-end' }}>
|
|
54
54
|
<Grid item>
|
|
55
|
-
<Typography variant="
|
|
55
|
+
<Typography variant="body1" color="secondary">
|
|
56
56
|
{label}
|
|
57
57
|
</Typography>
|
|
58
58
|
{(quantity > 1 || billingPeriod === BillingPeriod.Annually) && (
|
|
@@ -75,13 +75,11 @@ export const DiscountLineItem = ({
|
|
|
75
75
|
subscriptionPreview,
|
|
76
76
|
isFetchingSubscriptionPreview,
|
|
77
77
|
}: {
|
|
78
|
-
subscriptionPreview: SubscriptionPreview
|
|
78
|
+
subscriptionPreview: SubscriptionPreview;
|
|
79
79
|
isFetchingSubscriptionPreview: boolean;
|
|
80
80
|
}) => {
|
|
81
|
-
const { subTotal
|
|
82
|
-
|
|
83
|
-
return null;
|
|
84
|
-
}
|
|
81
|
+
const { subTotal } = subscriptionPreview;
|
|
82
|
+
const discount = subscriptionPreview.discount!;
|
|
85
83
|
|
|
86
84
|
let discountAmount: number;
|
|
87
85
|
if (discount.type === DiscountType.Percentage) {
|
|
@@ -113,14 +111,11 @@ export const AppliedCreditsLineItem = ({
|
|
|
113
111
|
isFetchingSubscriptionPreview,
|
|
114
112
|
checkoutLocalization,
|
|
115
113
|
}: {
|
|
116
|
-
subscriptionPreview: SubscriptionPreview
|
|
114
|
+
subscriptionPreview: SubscriptionPreview;
|
|
117
115
|
isFetchingSubscriptionPreview: boolean;
|
|
118
116
|
checkoutLocalization: CheckoutLocalization;
|
|
119
117
|
}) => {
|
|
120
|
-
const { credits } = subscriptionPreview
|
|
121
|
-
if (!credits || credits.used.amount <= 0) {
|
|
122
|
-
return null;
|
|
123
|
-
}
|
|
118
|
+
const { credits } = subscriptionPreview;
|
|
124
119
|
|
|
125
120
|
return (
|
|
126
121
|
<LineItemContainer>
|
|
@@ -130,7 +125,7 @@ export const AppliedCreditsLineItem = ({
|
|
|
130
125
|
</Typography>
|
|
131
126
|
<Typography variant="body1" color="secondary">
|
|
132
127
|
<WithSkeleton isLoading={isFetchingSubscriptionPreview}>
|
|
133
|
-
{currencyPriceFormatter({ amount: -1 * credits
|
|
128
|
+
{currencyPriceFormatter({ amount: -1 * credits!.used.amount, currency: credits!.used.currency })}
|
|
134
129
|
</WithSkeleton>
|
|
135
130
|
</Typography>
|
|
136
131
|
</LineItemRow>
|
|
@@ -143,14 +138,12 @@ export const TaxLineItem = ({
|
|
|
143
138
|
isFetchingSubscriptionPreview,
|
|
144
139
|
checkoutLocalization,
|
|
145
140
|
}: {
|
|
146
|
-
subscriptionPreview: SubscriptionPreview
|
|
141
|
+
subscriptionPreview: SubscriptionPreview;
|
|
147
142
|
isFetchingSubscriptionPreview: boolean;
|
|
148
143
|
checkoutLocalization: CheckoutLocalization;
|
|
149
144
|
}) => {
|
|
150
|
-
const
|
|
151
|
-
|
|
152
|
-
return null;
|
|
153
|
-
}
|
|
145
|
+
const tax = subscriptionPreview.tax!;
|
|
146
|
+
const taxDetails = subscriptionPreview.taxDetails!;
|
|
154
147
|
|
|
155
148
|
return (
|
|
156
149
|
<LineItemContainer>
|
|
@@ -25,7 +25,15 @@ export type CheckoutLocalization = {
|
|
|
25
25
|
};
|
|
26
26
|
appliedCreditsTitle: string;
|
|
27
27
|
taxTitle: (params: { taxDetails: SubscriptionPreviewTaxDetails }) => string;
|
|
28
|
-
|
|
28
|
+
downgradeToFree: {
|
|
29
|
+
alertText: (params: { plan: Plan }) => string;
|
|
30
|
+
freePlanHeader: (params: { plan: Plan }) => string;
|
|
31
|
+
freePlanName: (params: { plan: Plan }) => string;
|
|
32
|
+
freePlanPriceText: (params: { plan: Plan }) => string;
|
|
33
|
+
paidPlanHeader: (params: { plan: Plan }) => string;
|
|
34
|
+
paidPlanName: (params: { plan: Plan }) => string;
|
|
35
|
+
paidPlanPriceText: (params: { plan: Plan; billingPeriod?: BillingPeriod }) => string;
|
|
36
|
+
};
|
|
29
37
|
checkoutSuccessText: string;
|
|
30
38
|
};
|
|
31
39
|
|
|
@@ -33,7 +41,7 @@ export function getResolvedCheckoutLocalize(
|
|
|
33
41
|
localizeOverride?: DeepPartial<CheckoutLocalization>,
|
|
34
42
|
): CheckoutLocalization {
|
|
35
43
|
const checkoutDefaultLocalization: CheckoutLocalization = {
|
|
36
|
-
changePlan: 'Change
|
|
44
|
+
changePlan: 'Change',
|
|
37
45
|
billingPeriodsTitle: 'Billing cycle',
|
|
38
46
|
addAddonText: 'Add',
|
|
39
47
|
newPaymentMethodText: 'New payment method',
|
|
@@ -57,8 +65,17 @@ export function getResolvedCheckoutLocalize(
|
|
|
57
65
|
},
|
|
58
66
|
appliedCreditsTitle: 'Applied credits',
|
|
59
67
|
taxTitle: ({ taxDetails }) => `Tax (${taxDetails?.percentage}%)`,
|
|
60
|
-
|
|
61
|
-
|
|
68
|
+
downgradeToFree: {
|
|
69
|
+
alertText: () => `We’re sorry to see you cancel your paid subscription 😭`,
|
|
70
|
+
freePlanHeader: () => 'New plan',
|
|
71
|
+
freePlanName: ({ plan }) => `${plan.displayName}`,
|
|
72
|
+
freePlanPriceText: () => 'Free',
|
|
73
|
+
paidPlanHeader: () => 'Current plan',
|
|
74
|
+
paidPlanName: ({ plan }) => `${plan.displayName}`,
|
|
75
|
+
paidPlanPriceText: ({ billingPeriod }) =>
|
|
76
|
+
`Paid plan${billingPeriod ? `, billed ${billingPeriod.toLowerCase()}` : ''}`,
|
|
77
|
+
},
|
|
78
|
+
checkoutSuccessText: 'Changes applied',
|
|
62
79
|
};
|
|
63
80
|
|
|
64
81
|
return merge(checkoutDefaultLocalization, localizeOverride);
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
/// <reference types="@emotion/styled/macro" />
|
|
3
|
-
export declare const PlanPathContainer: import("@emotion/styled/macro").StyledComponent<import("@mui/system").SystemProps<import("@mui/material").Theme> & {
|
|
4
|
-
children?: import("react").ReactNode;
|
|
5
|
-
component?: "symbol" | "object" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "main" | "map" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "slot" | "script" | "section" | "select" | "small" | "source" | "span" | "strong" | "style" | "sub" | "summary" | "sup" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "filter" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "stop" | "switch" | "text" | "textPath" | "tspan" | "use" | "view" | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
|
|
6
|
-
ref?: ((instance: unknown) => void) | import("react").RefObject<unknown> | null | undefined;
|
|
7
|
-
sx?: import("@mui/system").SystemCssProperties<import("@mui/material").Theme> | import("@mui/system").CSSPseudoSelectorProps<import("@mui/material").Theme> | import("@mui/system").CSSSelectorObjectOrCssVariables<import("@mui/material").Theme> | ((theme: import("@mui/material").Theme) => import("@mui/system").SystemStyleObject<import("@mui/material").Theme>) | readonly (boolean | import("@mui/system").SystemCssProperties<import("@mui/material").Theme> | import("@mui/system").CSSPseudoSelectorProps<import("@mui/material").Theme> | import("@mui/system").CSSSelectorObjectOrCssVariables<import("@mui/material").Theme> | ((theme: import("@mui/material").Theme) => import("@mui/system").SystemStyleObject<import("@mui/material").Theme>) | null)[] | null | undefined;
|
|
8
|
-
} & import("@mui/material/OverridableComponent").CommonProps & Pick<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "slot" | "style" | "title" | "className" | "color" | "translate" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & {
|
|
9
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
10
|
-
}, "slot" | "title" | "translate" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & {
|
|
11
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
12
|
-
}, {}, {}>;
|
|
13
|
-
export declare const StyledArrowRightIcon: import("@emotion/styled/macro").StyledComponent<import("react").SVGProps<SVGElement> & {
|
|
14
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
15
|
-
}, {}, {}>;
|
|
16
|
-
export declare const PlanHeaderContainer: import("@emotion/styled/macro").StyledComponent<import("@mui/system").SystemProps<import("@mui/material").Theme> & {
|
|
17
|
-
children?: import("react").ReactNode;
|
|
18
|
-
component?: "symbol" | "object" | "a" | "abbr" | "address" | "area" | "article" | "aside" | "audio" | "b" | "base" | "bdi" | "bdo" | "big" | "blockquote" | "body" | "br" | "button" | "canvas" | "caption" | "cite" | "code" | "col" | "colgroup" | "data" | "datalist" | "dd" | "del" | "details" | "dfn" | "dialog" | "div" | "dl" | "dt" | "em" | "embed" | "fieldset" | "figcaption" | "figure" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "head" | "header" | "hgroup" | "hr" | "html" | "i" | "iframe" | "img" | "input" | "ins" | "kbd" | "keygen" | "label" | "legend" | "li" | "link" | "main" | "map" | "mark" | "menu" | "menuitem" | "meta" | "meter" | "nav" | "noindex" | "noscript" | "ol" | "optgroup" | "option" | "output" | "p" | "param" | "picture" | "pre" | "progress" | "q" | "rp" | "rt" | "ruby" | "s" | "samp" | "slot" | "script" | "section" | "select" | "small" | "source" | "span" | "strong" | "style" | "sub" | "summary" | "sup" | "table" | "template" | "tbody" | "td" | "textarea" | "tfoot" | "th" | "thead" | "time" | "title" | "tr" | "track" | "u" | "ul" | "var" | "video" | "wbr" | "webview" | "svg" | "animate" | "animateMotion" | "animateTransform" | "circle" | "clipPath" | "defs" | "desc" | "ellipse" | "feBlend" | "feColorMatrix" | "feComponentTransfer" | "feComposite" | "feConvolveMatrix" | "feDiffuseLighting" | "feDisplacementMap" | "feDistantLight" | "feDropShadow" | "feFlood" | "feFuncA" | "feFuncB" | "feFuncG" | "feFuncR" | "feGaussianBlur" | "feImage" | "feMerge" | "feMergeNode" | "feMorphology" | "feOffset" | "fePointLight" | "feSpecularLighting" | "feSpotLight" | "feTile" | "feTurbulence" | "filter" | "foreignObject" | "g" | "image" | "line" | "linearGradient" | "marker" | "mask" | "metadata" | "mpath" | "path" | "pattern" | "polygon" | "polyline" | "radialGradient" | "rect" | "stop" | "switch" | "text" | "textPath" | "tspan" | "use" | "view" | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
|
|
19
|
-
ref?: ((instance: unknown) => void) | import("react").RefObject<unknown> | null | undefined;
|
|
20
|
-
sx?: import("@mui/system").SystemCssProperties<import("@mui/material").Theme> | import("@mui/system").CSSPseudoSelectorProps<import("@mui/material").Theme> | import("@mui/system").CSSSelectorObjectOrCssVariables<import("@mui/material").Theme> | ((theme: import("@mui/material").Theme) => import("@mui/system").SystemStyleObject<import("@mui/material").Theme>) | readonly (boolean | import("@mui/system").SystemCssProperties<import("@mui/material").Theme> | import("@mui/system").CSSPseudoSelectorProps<import("@mui/material").Theme> | import("@mui/system").CSSSelectorObjectOrCssVariables<import("@mui/material").Theme> | ((theme: import("@mui/material").Theme) => import("@mui/system").SystemStyleObject<import("@mui/material").Theme>) | null)[] | null | undefined;
|
|
21
|
-
} & import("@mui/material/OverridableComponent").CommonProps & Pick<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "slot" | "style" | "title" | "className" | "color" | "translate" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & {
|
|
22
|
-
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
23
|
-
}, "slot" | "title" | "translate" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & {
|
|
24
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
25
|
-
}, {}, {}>;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import styled from '@emotion/styled/macro';
|
|
2
|
-
import { Box } from '@mui/material';
|
|
3
|
-
|
|
4
|
-
import ArrowRightIcon from '../../../assets/arrow-right.svg';
|
|
5
|
-
|
|
6
|
-
export const PlanPathContainer = styled(Box)`
|
|
7
|
-
display: flex;
|
|
8
|
-
align-items: baseline;
|
|
9
|
-
gap: 8px;
|
|
10
|
-
`;
|
|
11
|
-
|
|
12
|
-
export const StyledArrowRightIcon = styled(ArrowRightIcon)`
|
|
13
|
-
path {
|
|
14
|
-
stroke: ${({ theme }) => theme.stigg.palette.text.secondary};
|
|
15
|
-
}
|
|
16
|
-
`;
|
|
17
|
-
|
|
18
|
-
export const PlanHeaderContainer = styled(Box)`
|
|
19
|
-
display: flex;
|
|
20
|
-
align-content: center;
|
|
21
|
-
justify-content: space-between;
|
|
22
|
-
margin-bottom: 16px;
|
|
23
|
-
`;
|