@npm_leadtech/legal-lib-components 7.10.1 → 7.10.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/src/components/atoms/PopularDocsItem/PopularDocsItem.styled.js +0 -9
- package/dist/src/components/atoms/PopularDocsItem/PopularDocsItem.styled.ts +0 -9
- package/dist/src/components/molecules/ContactInfo/ContactInfo.styled.js +1 -1
- package/dist/src/components/molecules/ContactInfo/ContactInfo.styled.ts +1 -1
- package/dist/src/components/molecules/FooterMenu/FooterMenu.js +1 -1
- package/dist/src/components/molecules/FooterMenu/FooterMenu.styled.js +12 -0
- package/dist/src/components/molecules/FooterMenu/FooterMenu.styled.ts +12 -0
- package/dist/src/components/molecules/FooterMenu/FooterMenu.tsx +5 -1
- package/dist/src/components/molecules/FooterMenu/FooterMenuProps.types.d.ts +1 -0
- package/dist/src/components/molecules/FooterMenu/FooterMenuProps.types.ts +1 -0
- package/dist/src/components/organisms/TopFooter/TopFooter.styled.js +1 -0
- package/dist/src/components/organisms/TopFooter/TopFooter.styled.ts +1 -0
- package/dist/src/components/sections/Footer/Footer.mocks.js +2 -2
- package/dist/src/components/sections/Footer/Footer.mocks.ts +2 -2
- package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.styled.js +0 -2
- package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.styled.ts +0 -2
- package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.styled.js +1 -1
- package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.styled.ts +1 -1
- package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.styled.js +0 -1
- package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.styled.ts +0 -1
- package/package.json +1 -1
|
@@ -25,10 +25,6 @@ export const PopularDocsItemStyled = styled.a `
|
|
|
25
25
|
margin-left: 0.5rem;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
-
@media ${device.mobile} {
|
|
29
|
-
gap: 1rem;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
28
|
.category-icon svg {
|
|
33
29
|
fill: var(--primary-main-dark-1);
|
|
34
30
|
}
|
|
@@ -49,11 +45,6 @@ export const PopularDocsItemStyled = styled.a `
|
|
|
49
45
|
line-height: 1.33;
|
|
50
46
|
margin-top: 0.3rem;
|
|
51
47
|
}
|
|
52
|
-
media ${device.mobile} {
|
|
53
|
-
strong {
|
|
54
|
-
font-size: 0.9rem;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
48
|
}
|
|
58
49
|
|
|
59
50
|
.icon-left svg {
|
|
@@ -26,10 +26,6 @@ export const PopularDocsItemStyled = styled.a`
|
|
|
26
26
|
margin-left: 0.5rem;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
@media ${device.mobile} {
|
|
30
|
-
gap: 1rem;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
29
|
.category-icon svg {
|
|
34
30
|
fill: var(--primary-main-dark-1);
|
|
35
31
|
}
|
|
@@ -50,11 +46,6 @@ export const PopularDocsItemStyled = styled.a`
|
|
|
50
46
|
line-height: 1.33;
|
|
51
47
|
margin-top: 0.3rem;
|
|
52
48
|
}
|
|
53
|
-
media ${device.mobile} {
|
|
54
|
-
strong {
|
|
55
|
-
font-size: 0.9rem;
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
49
|
}
|
|
59
50
|
|
|
60
51
|
.icon-left svg {
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { FooterMenuList, FooterMenuStyled, FooterMenuTitle, FooterStyledLink } from './FooterMenu.styled';
|
|
3
|
-
export const FooterMenu = ({ title, links }) => (_jsxs(FooterMenuStyled, { children: [_jsx(FooterMenuTitle, { className: 'sans-serif --small --bold-weight', children: title }), _jsx(FooterMenuList, { children: links.map((link) => (_jsx("li", { children: _jsx(FooterStyledLink, { href: link.url, className:
|
|
3
|
+
export const FooterMenu = ({ title, links }) => (_jsxs(FooterMenuStyled, { children: [_jsx(FooterMenuTitle, { className: 'sans-serif --small --bold-weight', children: title }), _jsx(FooterMenuList, { children: links.map((link) => (_jsx("li", { children: _jsx(FooterStyledLink, { href: link.url, className: `sans-serif --extra-small ${link.customClass ?? ''}`, "data-qa": link.dataQa, children: link.name }) }, link.url))) })] }));
|
|
@@ -16,4 +16,16 @@ export const FooterMenuList = styled.ul `
|
|
|
16
16
|
export const FooterStyledLink = styled.a `
|
|
17
17
|
color: var(--neutral-neutral-6);
|
|
18
18
|
text-decoration: none;
|
|
19
|
+
&.ai-link::after {
|
|
20
|
+
content: 'AI';
|
|
21
|
+
color: var(--neutral-neutral-1);
|
|
22
|
+
font-weight: 600;
|
|
23
|
+
font-size: 0.625rem;
|
|
24
|
+
padding: 4px;
|
|
25
|
+
margin-left: 4px;
|
|
26
|
+
border-radius: 4px;
|
|
27
|
+
background-color: var(--secondary-main-light-3);
|
|
28
|
+
display: inline-block;
|
|
29
|
+
line-height: 1;
|
|
30
|
+
}
|
|
19
31
|
`;
|
|
@@ -20,4 +20,16 @@ export const FooterMenuList = styled.ul`
|
|
|
20
20
|
export const FooterStyledLink = styled.a`
|
|
21
21
|
color: var(--neutral-neutral-6);
|
|
22
22
|
text-decoration: none;
|
|
23
|
+
&.ai-link::after {
|
|
24
|
+
content: 'AI';
|
|
25
|
+
color: var(--neutral-neutral-1);
|
|
26
|
+
font-weight: 600;
|
|
27
|
+
font-size: 0.625rem;
|
|
28
|
+
padding: 4px;
|
|
29
|
+
margin-left: 4px;
|
|
30
|
+
border-radius: 4px;
|
|
31
|
+
background-color: var(--secondary-main-light-3);
|
|
32
|
+
display: inline-block;
|
|
33
|
+
line-height: 1;
|
|
34
|
+
}
|
|
23
35
|
`
|
|
@@ -8,7 +8,11 @@ export const FooterMenu: React.FC<FooterMenuProps> = ({ title, links }) => (
|
|
|
8
8
|
<FooterMenuList>
|
|
9
9
|
{links.map((link) => (
|
|
10
10
|
<li key={link.url}>
|
|
11
|
-
<FooterStyledLink
|
|
11
|
+
<FooterStyledLink
|
|
12
|
+
href={link.url}
|
|
13
|
+
className={`sans-serif --extra-small ${link.customClass ?? ''}`}
|
|
14
|
+
data-qa={link.dataQa}
|
|
15
|
+
>
|
|
12
16
|
{link.name}
|
|
13
17
|
</FooterStyledLink>
|
|
14
18
|
</li>
|
|
@@ -6,7 +6,7 @@ export const mockMenu = {
|
|
|
6
6
|
title: 'SERVICES',
|
|
7
7
|
links: [
|
|
8
8
|
{ name: 'Legal Documents and Forms', url: '#' },
|
|
9
|
-
{ name: 'LawGenius', url: '#' },
|
|
9
|
+
{ name: 'LawGenius', url: '#', customClass: 'ai-link' },
|
|
10
10
|
{ name: 'eSignature', url: '#' }
|
|
11
11
|
]
|
|
12
12
|
};
|
|
@@ -19,7 +19,7 @@ export const mockSocialLinks = [
|
|
|
19
19
|
export const mockContactInfo = {
|
|
20
20
|
phoneNumber: '1-800-123-4567',
|
|
21
21
|
schedule: 'Contact Hours: Sun-Sat 9am - 7pm ET',
|
|
22
|
-
languageSelector: ''
|
|
22
|
+
languageSelector: 'LANGUAGE SELECTOR'
|
|
23
23
|
};
|
|
24
24
|
export const mockTopFooterArgs = {
|
|
25
25
|
menus: [
|
|
@@ -13,7 +13,7 @@ export const mockMenu: FooterMenuProps = {
|
|
|
13
13
|
title: 'SERVICES',
|
|
14
14
|
links: [
|
|
15
15
|
{ name: 'Legal Documents and Forms', url: '#' },
|
|
16
|
-
{ name: 'LawGenius', url: '#' },
|
|
16
|
+
{ name: 'LawGenius', url: '#', customClass: 'ai-link' },
|
|
17
17
|
{ name: 'eSignature', url: '#' }
|
|
18
18
|
]
|
|
19
19
|
}
|
|
@@ -28,7 +28,7 @@ export const mockSocialLinks: SocialLink[] = [
|
|
|
28
28
|
export const mockContactInfo: ContactInfoProps = {
|
|
29
29
|
phoneNumber: '1-800-123-4567',
|
|
30
30
|
schedule: 'Contact Hours: Sun-Sat 9am - 7pm ET',
|
|
31
|
-
languageSelector: ''
|
|
31
|
+
languageSelector: 'LANGUAGE SELECTOR'
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
export const mockTopFooterArgs: TopFooterProps = {
|
package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.styled.js
CHANGED
|
@@ -17,8 +17,6 @@ export const HowGetYourFormsSectionStyled = styled.section `
|
|
|
17
17
|
font-family: var(--font-serif);
|
|
18
18
|
text-align: center;
|
|
19
19
|
padding-top: 4rem;
|
|
20
|
-
padding-right: 1.5rem;
|
|
21
|
-
padding-left: 1.5rem;
|
|
22
20
|
@media only screen and (max-width: ${size.md}) {
|
|
23
21
|
padding-top: 2.5rem;
|
|
24
22
|
}
|
package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.styled.ts
CHANGED
|
@@ -18,8 +18,6 @@ export const HowGetYourFormsSectionStyled = styled.section`
|
|
|
18
18
|
font-family: var(--font-serif);
|
|
19
19
|
text-align: center;
|
|
20
20
|
padding-top: 4rem;
|
|
21
|
-
padding-right: 1.5rem;
|
|
22
|
-
padding-left: 1.5rem;
|
|
23
21
|
@media only screen and (max-width: ${size.md}) {
|
|
24
22
|
padding-top: 2.5rem;
|
|
25
23
|
}
|