@npm_leadtech/legal-lib-components 7.63.6 → 7.63.9
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/src/components/atoms/FeatureItem/FeatureItem.js +1 -1
- package/dist/src/components/atoms/FeatureItem/FeatureItem.styled.js +2 -2
- package/dist/src/components/atoms/FeatureItem/FeatureItem.styled.ts +2 -2
- package/dist/src/components/atoms/FeatureItem/FeatureItem.tsx +2 -2
- package/dist/src/components/atoms/PlanCard/PlanCard.js +1 -1
- package/dist/src/components/atoms/PlanCard/PlanCard.styled.js +1 -1
- package/dist/src/components/atoms/PlanCard/PlanCard.styled.ts +1 -1
- package/dist/src/components/atoms/PlanCard/PlanCard.tsx +1 -1
- package/dist/src/components/organisms/PricingPageHeader/PricingPageHeader.styled.js +3 -2
- package/dist/src/components/organisms/PricingPageHeader/PricingPageHeader.styled.tsx +3 -2
- package/dist/src/components/pages/PricingPlansPage/PricingPlansPage.styled.js +5 -4
- package/dist/src/components/pages/PricingPlansPage/PricingPlansPage.styled.ts +5 -4
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { FeatureCard } from './FeatureItem.styled';
|
|
3
3
|
export const FeatureItem = ({ feature }) => {
|
|
4
|
-
return (_jsxs(FeatureCard, { children: [_jsx("img", { src: feature?.icon?.url, alt: 'Feature Icon', width: 16, height: 16 }), _jsx("span", { children: feature?.description })] }));
|
|
4
|
+
return (_jsxs(FeatureCard, { children: [_jsx("img", { className: 'feature-icon', src: feature?.icon?.url, alt: 'Feature Icon', width: 16, height: 16 }), _jsx("span", { className: 'feature-description', children: feature?.description })] }));
|
|
5
5
|
};
|
|
@@ -5,8 +5,8 @@ import React from 'react'
|
|
|
5
5
|
export const FeatureItem: React.FC<FeatureItemProps> = ({ feature }) => {
|
|
6
6
|
return (
|
|
7
7
|
<FeatureCard>
|
|
8
|
-
<img src={feature?.icon?.url} alt='Feature Icon' width={16} height={16} />
|
|
9
|
-
<span>{feature?.description}</span>
|
|
8
|
+
<img className='feature-icon' src={feature?.icon?.url} alt='Feature Icon' width={16} height={16} />
|
|
9
|
+
<span className='feature-description'>{feature?.description}</span>
|
|
10
10
|
</FeatureCard>
|
|
11
11
|
)
|
|
12
12
|
}
|
|
@@ -2,5 +2,5 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
2
2
|
import { Benefit, BenefitsList, Divider, PlanCardContainer, PlanTitle, Price, PriceLabel, PricingInfo } from './PlanCard.styled';
|
|
3
3
|
import { Button } from '../Button';
|
|
4
4
|
export const PlanCard = ({ plan, onSelect }) => {
|
|
5
|
-
return (_jsxs(PlanCardContainer, { children: [_jsx(PlanTitle, { className: plan?.highlightPlan ? 'highlight' : 'asdfasdf', children: plan?.subscription_type?.name }), _jsxs(PricingInfo, { children: [_jsx(Price, { children: plan?.pricing }), _jsx(PriceLabel, { children: plan?.pricingLabel })] }), _jsx(Button, { label: plan?.buttonText ?? '', dataQa: `${plan?.subscription_type?.name.replaceAll(' ', '')}-button`, noLink: true, onClick: () => onSelect?.(plan?.subscription_type?.sku ?? ''), givenClass: 'pricing-plan__button', color: plan?.highlightPlan ? 'primary' : 'transparent' }), _jsx(Divider, {}), _jsx(BenefitsList, { children: plan?.benefits?.map((item) => (_jsxs(Benefit, { className: item?.type == 'default' ? 'default' : 'ai-benefit', children: [item?.icon, _jsx("p", { dangerouslySetInnerHTML: { __html: item?.benefit } })] }, item?.benefit))) })] }));
|
|
5
|
+
return (_jsxs(PlanCardContainer, { children: [_jsx(PlanTitle, { className: plan?.highlightPlan ? 'highlight' : 'asdfasdf', children: plan?.subscription_type?.name }), _jsxs(PricingInfo, { children: [_jsx(Price, { children: plan?.pricing }), _jsx(PriceLabel, { children: plan?.pricingLabel })] }), _jsx(Button, { label: plan?.buttonText ?? '', dataQa: `${plan?.subscription_type?.name.replaceAll(' ', '')}-button`, noLink: true, onClick: () => onSelect?.(plan?.subscription_type?.sku ?? ''), givenClass: 'pricing-plan__button', color: plan?.highlightPlan ? 'primary' : 'transparent' }), _jsx(Divider, {}), _jsx(BenefitsList, { children: plan?.benefits?.map((item) => (_jsxs(Benefit, { className: item?.type == 'default' ? 'default' : 'ai-benefit', children: [item?.icon, _jsx("p", { className: 'benefit-text', dangerouslySetInnerHTML: { __html: item?.benefit } })] }, item?.benefit))) })] }));
|
|
6
6
|
};
|
|
@@ -33,7 +33,7 @@ export const PlanCard: React.FC<PlanCardProps> = ({ plan, onSelect }) => {
|
|
|
33
33
|
{plan?.benefits?.map((item) => (
|
|
34
34
|
<Benefit key={item?.benefit} className={item?.type == 'default' ? 'default' : 'ai-benefit'}>
|
|
35
35
|
{item?.icon}
|
|
36
|
-
<p dangerouslySetInnerHTML={{ __html: item?.benefit }}></p>
|
|
36
|
+
<p className='benefit-text' dangerouslySetInnerHTML={{ __html: item?.benefit }}></p>
|
|
37
37
|
</Benefit>
|
|
38
38
|
))}
|
|
39
39
|
</BenefitsList>
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { size } from '../../../globalStyles/breakpoints';
|
|
1
2
|
import styled from 'styled-components';
|
|
2
3
|
export const PricingHeaderStyled = styled.header `
|
|
3
4
|
display: flex;
|
|
@@ -17,7 +18,7 @@ export const PhoneButtonStyled = styled.a `
|
|
|
17
18
|
border: 1px solid var(--neutral-neutral-4);
|
|
18
19
|
font-size: 14px;
|
|
19
20
|
color: var(--primary-main);
|
|
20
|
-
@media (max-width:
|
|
21
|
+
@media (max-width: ${size.tab}) {
|
|
21
22
|
display: flex;
|
|
22
23
|
}
|
|
23
24
|
`;
|
|
@@ -28,7 +29,7 @@ export const PhoneNumberStyled = styled.div `
|
|
|
28
29
|
color: var(--neutral-neutral-2);
|
|
29
30
|
height: 2.5rem;
|
|
30
31
|
|
|
31
|
-
@media (max-width:
|
|
32
|
+
@media (max-width: ${size.tab}) {
|
|
32
33
|
display: none;
|
|
33
34
|
}
|
|
34
35
|
`;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { size } from '../../../globalStyles/breakpoints'
|
|
1
2
|
import styled from 'styled-components'
|
|
2
3
|
|
|
3
4
|
export const PricingHeaderStyled = styled.header`
|
|
@@ -19,7 +20,7 @@ export const PhoneButtonStyled = styled.a`
|
|
|
19
20
|
border: 1px solid var(--neutral-neutral-4);
|
|
20
21
|
font-size: 14px;
|
|
21
22
|
color: var(--primary-main);
|
|
22
|
-
@media (max-width:
|
|
23
|
+
@media (max-width: ${size.tab}) {
|
|
23
24
|
display: flex;
|
|
24
25
|
}
|
|
25
26
|
`
|
|
@@ -31,7 +32,7 @@ export const PhoneNumberStyled = styled.div`
|
|
|
31
32
|
color: var(--neutral-neutral-2);
|
|
32
33
|
height: 2.5rem;
|
|
33
34
|
|
|
34
|
-
@media (max-width:
|
|
35
|
+
@media (max-width: ${size.tab}) {
|
|
35
36
|
display: none;
|
|
36
37
|
}
|
|
37
38
|
`
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import styled, { css } from 'styled-components';
|
|
2
|
+
import { size } from '../../../globalStyles/breakpoints';
|
|
2
3
|
export const PricingContainerStyled = styled.section `
|
|
3
4
|
margin: 0 auto 0 auto;
|
|
4
5
|
display: flex;
|
|
@@ -17,7 +18,7 @@ export const PlanSelector = styled.div `
|
|
|
17
18
|
border-radius: 1rem;
|
|
18
19
|
padding: 0.5rem;
|
|
19
20
|
|
|
20
|
-
@media (min-width:
|
|
21
|
+
@media (min-width: ${size.tab}) {
|
|
21
22
|
display: none;
|
|
22
23
|
}
|
|
23
24
|
`;
|
|
@@ -47,7 +48,7 @@ export const PlansWrapper = styled.div `
|
|
|
47
48
|
width: 100%;
|
|
48
49
|
max-width: 327px;
|
|
49
50
|
|
|
50
|
-
@media (min-width:
|
|
51
|
+
@media (min-width: ${size.tab}) {
|
|
51
52
|
max-width: none;
|
|
52
53
|
gap: 20px;
|
|
53
54
|
}
|
|
@@ -64,7 +65,7 @@ export const PlanWrapper = styled.div `
|
|
|
64
65
|
border: 2px solid var(--primary-main);
|
|
65
66
|
`}
|
|
66
67
|
|
|
67
|
-
@media (min-width:
|
|
68
|
+
@media (min-width: ${size.tab}) {
|
|
68
69
|
display: block;
|
|
69
70
|
max-width: none;
|
|
70
71
|
}
|
|
@@ -80,7 +81,7 @@ export const FeaturesGrid = styled.ul `
|
|
|
80
81
|
padding: 0;
|
|
81
82
|
margin: 0;
|
|
82
83
|
|
|
83
|
-
@media (min-width:
|
|
84
|
+
@media (min-width: ${size.tab}) {
|
|
84
85
|
display: flex;
|
|
85
86
|
justify-content: center;
|
|
86
87
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import styled, { css } from 'styled-components'
|
|
2
|
+
import { size } from '../../../globalStyles/breakpoints'
|
|
2
3
|
|
|
3
4
|
type PlanWrapperProps = {
|
|
4
5
|
isActive: boolean
|
|
@@ -29,7 +30,7 @@ export const PlanSelector = styled.div`
|
|
|
29
30
|
border-radius: 1rem;
|
|
30
31
|
padding: 0.5rem;
|
|
31
32
|
|
|
32
|
-
@media (min-width:
|
|
33
|
+
@media (min-width: ${size.tab}) {
|
|
33
34
|
display: none;
|
|
34
35
|
}
|
|
35
36
|
`
|
|
@@ -62,7 +63,7 @@ export const PlansWrapper = styled.div`
|
|
|
62
63
|
width: 100%;
|
|
63
64
|
max-width: 327px;
|
|
64
65
|
|
|
65
|
-
@media (min-width:
|
|
66
|
+
@media (min-width: ${size.tab}) {
|
|
66
67
|
max-width: none;
|
|
67
68
|
gap: 20px;
|
|
68
69
|
}
|
|
@@ -81,7 +82,7 @@ export const PlanWrapper = styled.div<PlanWrapperProps>`
|
|
|
81
82
|
border: 2px solid var(--primary-main);
|
|
82
83
|
`}
|
|
83
84
|
|
|
84
|
-
@media (min-width:
|
|
85
|
+
@media (min-width: ${size.tab}) {
|
|
85
86
|
display: block;
|
|
86
87
|
max-width: none;
|
|
87
88
|
}
|
|
@@ -99,7 +100,7 @@ export const FeaturesGrid = styled.ul`
|
|
|
99
100
|
padding: 0;
|
|
100
101
|
margin: 0;
|
|
101
102
|
|
|
102
|
-
@media (min-width:
|
|
103
|
+
@media (min-width: ${size.tab}) {
|
|
103
104
|
display: flex;
|
|
104
105
|
justify-content: center;
|
|
105
106
|
}
|