@npm_leadtech/legal-lib-components 7.7.3 → 7.8.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.
Files changed (111) hide show
  1. package/dist/css/styles.css +0 -2
  2. package/dist/src/components/atoms/FixedFooter/FixedFooter.d.ts +4 -0
  3. package/dist/src/components/atoms/FixedFooter/FixedFooter.js +4 -0
  4. package/dist/src/components/atoms/FixedFooter/FixedFooter.tsx +4 -0
  5. package/dist/src/components/atoms/PopularDocsItem/PopularDocsItem.styled.js +0 -9
  6. package/dist/src/components/atoms/PopularDocsItem/PopularDocsItem.styled.ts +0 -9
  7. package/dist/src/components/molecules/ContactInfo/ContactInfo.d.ts +3 -0
  8. package/dist/src/components/molecules/ContactInfo/ContactInfo.js +4 -0
  9. package/dist/src/components/molecules/ContactInfo/ContactInfo.styled.d.ts +2 -0
  10. package/dist/src/components/molecules/ContactInfo/ContactInfo.styled.js +49 -0
  11. package/dist/src/components/molecules/ContactInfo/ContactInfo.styled.ts +51 -0
  12. package/dist/src/components/molecules/ContactInfo/ContactInfo.tsx +16 -0
  13. package/dist/src/components/molecules/ContactInfo/ContactInfoProps.types.d.ts +5 -0
  14. package/dist/src/components/molecules/ContactInfo/ContactInfoProps.types.js +1 -0
  15. package/dist/src/components/molecules/ContactInfo/ContactInfoProps.types.ts +5 -0
  16. package/dist/src/components/molecules/ContactInfo/index.d.ts +2 -0
  17. package/dist/src/components/molecules/ContactInfo/index.js +1 -0
  18. package/dist/src/components/molecules/ContactInfo/index.ts +2 -0
  19. package/dist/src/components/molecules/FooterMenu/FooterMenu.d.ts +3 -0
  20. package/dist/src/components/molecules/FooterMenu/FooterMenu.js +3 -0
  21. package/dist/src/components/molecules/FooterMenu/FooterMenu.styled.d.ts +4 -0
  22. package/dist/src/components/molecules/FooterMenu/FooterMenu.styled.js +19 -0
  23. package/dist/src/components/molecules/FooterMenu/FooterMenu.styled.ts +23 -0
  24. package/dist/src/components/molecules/FooterMenu/FooterMenu.tsx +18 -0
  25. package/dist/src/components/molecules/FooterMenu/FooterMenuProps.types.d.ts +10 -0
  26. package/dist/src/components/molecules/FooterMenu/FooterMenuProps.types.js +1 -0
  27. package/dist/src/components/molecules/FooterMenu/FooterMenuProps.types.ts +11 -0
  28. package/dist/src/components/molecules/FooterMenu/index.d.ts +2 -0
  29. package/dist/src/components/molecules/FooterMenu/index.js +1 -0
  30. package/dist/src/components/molecules/FooterMenu/index.ts +2 -0
  31. package/dist/src/components/molecules/SocialLinks/SocialLinks.d.ts +3 -0
  32. package/dist/src/components/molecules/SocialLinks/SocialLinks.js +5 -0
  33. package/dist/src/components/molecules/SocialLinks/SocialLinks.styled.d.ts +1 -0
  34. package/dist/src/components/molecules/SocialLinks/SocialLinks.styled.js +5 -0
  35. package/dist/src/components/molecules/SocialLinks/SocialLinks.styled.ts +6 -0
  36. package/dist/src/components/molecules/SocialLinks/SocialLinks.tsx +17 -0
  37. package/dist/src/components/molecules/SocialLinks/SocialLinksProps.types.d.ts +8 -0
  38. package/dist/src/components/molecules/SocialLinks/SocialLinksProps.types.js +1 -0
  39. package/dist/src/components/molecules/SocialLinks/SocialLinksProps.types.ts +9 -0
  40. package/dist/src/components/molecules/SocialLinks/index.d.ts +2 -0
  41. package/dist/src/components/molecules/SocialLinks/index.js +1 -0
  42. package/dist/src/components/molecules/SocialLinks/index.ts +2 -0
  43. package/dist/src/components/molecules/index.d.ts +3 -0
  44. package/dist/src/components/molecules/index.js +3 -0
  45. package/dist/src/components/molecules/index.ts +3 -0
  46. package/dist/src/components/organisms/BottomFooter/BottomFooter.d.ts +3 -0
  47. package/dist/src/components/organisms/BottomFooter/BottomFooter.js +7 -0
  48. package/dist/src/components/organisms/BottomFooter/BottomFooter.styled.d.ts +6 -0
  49. package/dist/src/components/organisms/BottomFooter/BottomFooter.styled.js +35 -0
  50. package/dist/src/components/organisms/BottomFooter/BottomFooter.styled.ts +41 -0
  51. package/dist/src/components/organisms/BottomFooter/BottomFooter.tsx +44 -0
  52. package/dist/src/components/organisms/BottomFooter/BottomFooterProps.types.d.ts +9 -0
  53. package/dist/src/components/organisms/BottomFooter/BottomFooterProps.types.js +1 -0
  54. package/dist/src/components/organisms/BottomFooter/BottomFooterProps.types.ts +10 -0
  55. package/dist/src/components/organisms/BottomFooter/index.d.ts +2 -0
  56. package/dist/src/components/organisms/BottomFooter/index.js +1 -0
  57. package/dist/src/components/organisms/BottomFooter/index.ts +2 -0
  58. package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.js +3 -3
  59. package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.styled.js +83 -35
  60. package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.styled.ts +83 -35
  61. package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.tsx +28 -5
  62. package/dist/src/components/organisms/GuidelinesContent/GuidelinesContentProps.types.d.ts +7 -1
  63. package/dist/src/components/organisms/GuidelinesContent/GuidelinesContentProps.types.ts +8 -1
  64. package/dist/src/components/organisms/TopFooter/TopFooter.d.ts +3 -0
  65. package/dist/src/components/organisms/TopFooter/TopFooter.js +7 -0
  66. package/dist/src/components/organisms/TopFooter/TopFooter.styled.d.ts +2 -0
  67. package/dist/src/components/organisms/TopFooter/TopFooter.styled.js +30 -0
  68. package/dist/src/components/organisms/TopFooter/TopFooter.styled.ts +32 -0
  69. package/dist/src/components/organisms/TopFooter/TopFooter.tsx +20 -0
  70. package/dist/src/components/organisms/TopFooter/TopFooterProps.types.d.ts +7 -0
  71. package/dist/src/components/organisms/TopFooter/TopFooterProps.types.js +1 -0
  72. package/dist/src/components/organisms/TopFooter/TopFooterProps.types.ts +8 -0
  73. package/dist/src/components/organisms/TopFooter/index.d.ts +2 -0
  74. package/dist/src/components/organisms/TopFooter/index.js +1 -0
  75. package/dist/src/components/organisms/TopFooter/index.ts +2 -0
  76. package/dist/src/components/organisms/index.d.ts +2 -0
  77. package/dist/src/components/organisms/index.js +2 -0
  78. package/dist/src/components/organisms/index.ts +2 -0
  79. package/dist/src/components/sections/CardStorySection/CardStorySection.styled.js +2 -1
  80. package/dist/src/components/sections/CardStorySection/CardStorySection.styled.ts +2 -1
  81. package/dist/src/components/sections/ExpertsSection/ExpertsSection.styled.js +2 -1
  82. package/dist/src/components/sections/ExpertsSection/ExpertsSection.styled.ts +2 -1
  83. package/dist/src/components/sections/Footer/Footer.d.ts +3 -0
  84. package/dist/src/components/sections/Footer/Footer.js +7 -0
  85. package/dist/src/components/sections/Footer/Footer.mocks.d.ts +10 -0
  86. package/dist/src/components/sections/Footer/Footer.mocks.js +65 -0
  87. package/dist/src/components/sections/Footer/Footer.mocks.ts +77 -0
  88. package/dist/src/components/sections/Footer/Footer.styled.d.ts +1 -0
  89. package/dist/src/components/sections/Footer/Footer.styled.js +9 -0
  90. package/dist/src/components/sections/Footer/Footer.styled.ts +10 -0
  91. package/dist/src/components/sections/Footer/Footer.tsx +14 -0
  92. package/dist/src/components/sections/Footer/FooterProps.types.d.ts +6 -0
  93. package/dist/src/components/sections/Footer/FooterProps.types.js +1 -0
  94. package/dist/src/components/sections/Footer/FooterProps.types.ts +7 -0
  95. package/dist/src/components/sections/Footer/index.d.ts +2 -0
  96. package/dist/src/components/sections/Footer/index.js +1 -0
  97. package/dist/src/components/sections/Footer/index.ts +2 -0
  98. package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.js +1 -1
  99. package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.tsx +5 -0
  100. package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.styled.js +0 -2
  101. package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.styled.ts +0 -2
  102. package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.styled.js +1 -1
  103. package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.styled.ts +1 -1
  104. package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.styled.js +0 -1
  105. package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.styled.ts +0 -1
  106. package/dist/src/components/sections/index.d.ts +2 -0
  107. package/dist/src/components/sections/index.js +2 -0
  108. package/dist/src/components/sections/index.ts +2 -0
  109. package/dist/src/globalStyles/themes.scss +0 -2
  110. package/dist/tsconfig.build.tsbuildinfo +1 -1
  111. package/package.json +3 -1
@@ -228,8 +228,6 @@ html {
228
228
  --snackbar-success-border: #34b2a7;
229
229
  --snackbar-reminder-bg: #f2bd6a;
230
230
  --snackbar-reminder-border: #cd9a4c;
231
- }
232
- html {
233
231
  --primary-main-light-6: #eff7f5;
234
232
  --primary-main-light-5: #e4f8f3;
235
233
  --primary-main-light-4: #c0f7e8;
@@ -1,3 +1,7 @@
1
1
  import { FixedFooterProps } from './FixedFooterProps';
2
2
  import React from 'react';
3
+ /**
4
+ * @deprecated Este componentes será removido en el futuro. Use `Footer` en su lugar.
5
+ * @deprecatedSince 7.8.0
6
+ */
3
7
  export declare const FixedFooter: React.FC<FixedFooterProps>;
@@ -12,6 +12,10 @@ import linkedin from '../../../../images/svg/linkedin.svg';
12
12
  import pinterest from '../../../../images/svg/pinterest.svg';
13
13
  import securityIconBlack from '../../../../images/svg/icon-24-px-security_black.svg';
14
14
  import x from '../../../../images/svg/x.svg';
15
+ /**
16
+ * @deprecated Este componentes será removido en el futuro. Use `Footer` en su lugar.
17
+ * @deprecatedSince 7.8.0
18
+ */
15
19
  export const FixedFooter = ({ footerData = {
16
20
  findUs: 'Find Us'
17
21
  }, config = {
@@ -14,6 +14,10 @@ import pinterest from '../../../../images/svg/pinterest.svg'
14
14
  import securityIconBlack from '../../../../images/svg/icon-24-px-security_black.svg'
15
15
  import x from '../../../../images/svg/x.svg'
16
16
 
17
+ /**
18
+ * @deprecated Este componentes será removido en el futuro. Use `Footer` en su lugar.
19
+ * @deprecatedSince 7.8.0
20
+ */
17
21
  export const FixedFooter: React.FC<FixedFooterProps> = ({
18
22
  footerData = {
19
23
  findUs: 'Find Us'
@@ -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 {
@@ -0,0 +1,3 @@
1
+ import { ContactInfoProps } from './ContactInfoProps.types';
2
+ import React from 'react';
3
+ export declare const ContactInfo: React.FC<ContactInfoProps>;
@@ -0,0 +1,4 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { ContactInformation, PhoneButton } from './ContactInfo.styled';
3
+ import { PhoneIcon } from '../../../../images/componentsSvg/PhoneIcon';
4
+ export const ContactInfo = ({ phoneNumber, schedule, languageSelector }) => (_jsxs(ContactInformation, { children: [Boolean(languageSelector) && _jsx("div", { className: 'language-selector-mobile-container', children: languageSelector }), _jsx("b", { className: 'sans-serif --extra-small --bold-weight site-phone', children: phoneNumber }), _jsxs(PhoneButton, { children: [_jsx(PhoneIcon, { fill: 'white', width: 20, height: 20 }), _jsx("span", { children: phoneNumber })] }), _jsx("span", { className: 'sans-serif --extra-small site-schedule', children: schedule })] }));
@@ -0,0 +1,2 @@
1
+ export declare const ContactInformation: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
2
+ export declare const PhoneButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, never>> & string;
@@ -0,0 +1,49 @@
1
+ import styled from 'styled-components';
2
+ export const ContactInformation = styled.div `
3
+ display: flex;
4
+ flex-direction: column;
5
+ color: var(--neutral-neutral-6);
6
+ @media (max-width: 575px) {
7
+ width: 100%;
8
+ justify-content: center;
9
+ align-items: center;
10
+ }
11
+ .language-selector-mobile-container {
12
+ background-color: var(--primary-main-dark-1);
13
+ margin-bottom: 2rem;
14
+ width: 100%;
15
+
16
+ @media (min-width: 768px) {
17
+ display: none;
18
+ }
19
+ }
20
+ .site-phone {
21
+ @media (max-width: 575px) {
22
+ display: none;
23
+ }
24
+ }
25
+ .site-schedule {
26
+ @media (max-width: 575px) {
27
+ font-size: 1rem;
28
+ margin-top: 1rem;
29
+ }
30
+ }
31
+ `;
32
+ export const PhoneButton = styled.a `
33
+ @media (min-width: 575px) {
34
+ display: none;
35
+ }
36
+ width: 100%;
37
+ background-color: var(--primary-main);
38
+ padding: 0.7rem 1rem 0.7rem 1rem;
39
+ border-radius: 4px;
40
+ display: flex;
41
+ justify-content: center;
42
+ align-items: center;
43
+ gap: 0.5rem;
44
+
45
+ span {
46
+ color: var(--neutral-neutral-6);
47
+ font-weight: 700;
48
+ }
49
+ `;
@@ -0,0 +1,51 @@
1
+ import styled from 'styled-components'
2
+
3
+ export const ContactInformation = styled.div`
4
+ display: flex;
5
+ flex-direction: column;
6
+ color: var(--neutral-neutral-6);
7
+ @media (max-width: 575px) {
8
+ width: 100%;
9
+ justify-content: center;
10
+ align-items: center;
11
+ }
12
+ .language-selector-mobile-container {
13
+ background-color: var(--primary-main-dark-1);
14
+ margin-bottom: 2rem;
15
+ width: 100%;
16
+
17
+ @media (min-width: 768px) {
18
+ display: none;
19
+ }
20
+ }
21
+ .site-phone {
22
+ @media (max-width: 575px) {
23
+ display: none;
24
+ }
25
+ }
26
+ .site-schedule {
27
+ @media (max-width: 575px) {
28
+ font-size: 1rem;
29
+ margin-top: 1rem;
30
+ }
31
+ }
32
+ `
33
+
34
+ export const PhoneButton = styled.a`
35
+ @media (min-width: 575px) {
36
+ display: none;
37
+ }
38
+ width: 100%;
39
+ background-color: var(--primary-main);
40
+ padding: 0.7rem 1rem 0.7rem 1rem;
41
+ border-radius: 4px;
42
+ display: flex;
43
+ justify-content: center;
44
+ align-items: center;
45
+ gap: 0.5rem;
46
+
47
+ span {
48
+ color: var(--neutral-neutral-6);
49
+ font-weight: 700;
50
+ }
51
+ `
@@ -0,0 +1,16 @@
1
+ import { ContactInformation, PhoneButton } from './ContactInfo.styled'
2
+ import { ContactInfoProps } from './ContactInfoProps.types'
3
+ import { PhoneIcon } from '../../../../images/componentsSvg/PhoneIcon'
4
+ import React from 'react'
5
+
6
+ export const ContactInfo: React.FC<ContactInfoProps> = ({ phoneNumber, schedule, languageSelector }) => (
7
+ <ContactInformation>
8
+ {Boolean(languageSelector) && <div className='language-selector-mobile-container'>{languageSelector}</div>}
9
+ <b className='sans-serif --extra-small --bold-weight site-phone'>{phoneNumber}</b>
10
+ <PhoneButton>
11
+ <PhoneIcon fill='white' width={20} height={20} />
12
+ <span>{phoneNumber}</span>
13
+ </PhoneButton>
14
+ <span className='sans-serif --extra-small site-schedule'>{schedule}</span>
15
+ </ContactInformation>
16
+ )
@@ -0,0 +1,5 @@
1
+ export interface ContactInfoProps {
2
+ phoneNumber: string;
3
+ schedule: string;
4
+ languageSelector?: React.ReactNode;
5
+ }
@@ -0,0 +1,5 @@
1
+ export interface ContactInfoProps {
2
+ phoneNumber: string
3
+ schedule: string
4
+ languageSelector?: React.ReactNode
5
+ }
@@ -0,0 +1,2 @@
1
+ export { ContactInfo } from './ContactInfo';
2
+ export { type ContactInfoProps } from './ContactInfoProps.types';
@@ -0,0 +1 @@
1
+ export { ContactInfo } from './ContactInfo';
@@ -0,0 +1,2 @@
1
+ export { ContactInfo } from './ContactInfo'
2
+ export { type ContactInfoProps } from './ContactInfoProps.types'
@@ -0,0 +1,3 @@
1
+ import { FooterMenuProps } from './FooterMenuProps.types';
2
+ import React from 'react';
3
+ export declare const FooterMenu: React.FC<FooterMenuProps>;
@@ -0,0 +1,3 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
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: 'sans-serif --extra-small', "data-qa": link.dataQa, children: link.name }) }, link.url))) })] }));
@@ -0,0 +1,4 @@
1
+ export declare const FooterMenuStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
2
+ export declare const FooterMenuTitle: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, never>> & string;
3
+ export declare const FooterMenuList: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, never>> & string;
4
+ export declare const FooterStyledLink: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, never>> & string;
@@ -0,0 +1,19 @@
1
+ import styled from 'styled-components';
2
+ export const FooterMenuStyled = styled.div `
3
+ display: flex;
4
+ flex-direction: column;
5
+ gap: 0.8rem;
6
+ color: var(--neutral-neutral-6);
7
+ `;
8
+ export const FooterMenuTitle = styled.p `
9
+ color: var(--primary-main-light-4);
10
+ `;
11
+ export const FooterMenuList = styled.ul `
12
+ display: flex;
13
+ flex-direction: column;
14
+ gap: 0.6rem;
15
+ `;
16
+ export const FooterStyledLink = styled.a `
17
+ color: var(--neutral-neutral-6);
18
+ text-decoration: none;
19
+ `;
@@ -0,0 +1,23 @@
1
+ import styled from 'styled-components'
2
+
3
+ export const FooterMenuStyled = styled.div`
4
+ display: flex;
5
+ flex-direction: column;
6
+ gap: 0.8rem;
7
+ color: var(--neutral-neutral-6);
8
+ `
9
+
10
+ export const FooterMenuTitle = styled.p`
11
+ color: var(--primary-main-light-4);
12
+ `
13
+
14
+ export const FooterMenuList = styled.ul`
15
+ display: flex;
16
+ flex-direction: column;
17
+ gap: 0.6rem;
18
+ `
19
+
20
+ export const FooterStyledLink = styled.a`
21
+ color: var(--neutral-neutral-6);
22
+ text-decoration: none;
23
+ `
@@ -0,0 +1,18 @@
1
+ import { FooterMenuList, FooterMenuStyled, FooterMenuTitle, FooterStyledLink } from './FooterMenu.styled'
2
+ import { FooterMenuProps } from './FooterMenuProps.types'
3
+ import React from 'react'
4
+
5
+ export const FooterMenu: React.FC<FooterMenuProps> = ({ title, links }) => (
6
+ <FooterMenuStyled>
7
+ <FooterMenuTitle className='sans-serif --small --bold-weight'>{title}</FooterMenuTitle>
8
+ <FooterMenuList>
9
+ {links.map((link) => (
10
+ <li key={link.url}>
11
+ <FooterStyledLink href={link.url} className='sans-serif --extra-small' data-qa={link.dataQa}>
12
+ {link.name}
13
+ </FooterStyledLink>
14
+ </li>
15
+ ))}
16
+ </FooterMenuList>
17
+ </FooterMenuStyled>
18
+ )
@@ -0,0 +1,10 @@
1
+ export interface Link {
2
+ name: string;
3
+ url: string;
4
+ dataQa?: string;
5
+ rel?: string;
6
+ }
7
+ export interface FooterMenuProps {
8
+ title: string;
9
+ links: Link[];
10
+ }
@@ -0,0 +1,11 @@
1
+ export interface Link {
2
+ name: string
3
+ url: string
4
+ dataQa?: string
5
+ rel?: string
6
+ }
7
+
8
+ export interface FooterMenuProps {
9
+ title: string
10
+ links: Link[]
11
+ }
@@ -0,0 +1,2 @@
1
+ export { FooterMenu } from './FooterMenu';
2
+ export type { FooterMenuProps } from './FooterMenuProps.types';
@@ -0,0 +1 @@
1
+ export { FooterMenu } from './FooterMenu';
@@ -0,0 +1,2 @@
1
+ export { FooterMenu } from './FooterMenu'
2
+ export type { FooterMenuProps } from './FooterMenuProps.types'
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { SocialLinksProps } from './SocialLinksProps.types';
3
+ export declare const SocialLinks: React.FC<SocialLinksProps>;
@@ -0,0 +1,5 @@
1
+ import { jsx as _jsx } from "react/jsx-runtime";
2
+ import { SocialList } from './SocialLinks.styled';
3
+ export const SocialLinks = ({ links }) => {
4
+ return (_jsx(SocialList, { children: links.map((social) => (_jsx("li", { children: _jsx("a", { href: social.url, rel: 'noopener noreferrer', target: '_blank', children: _jsx("img", { src: social.iconSrc, alt: social.alt, width: '20', height: '20' }) }) }, social.url))) }));
5
+ };
@@ -0,0 +1 @@
1
+ export declare const SocialList: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, never>> & string;
@@ -0,0 +1,5 @@
1
+ import styled from 'styled-components';
2
+ export const SocialList = styled.ul `
3
+ display: flex;
4
+ gap: 1rem;
5
+ `;
@@ -0,0 +1,6 @@
1
+ import styled from 'styled-components'
2
+
3
+ export const SocialList = styled.ul`
4
+ display: flex;
5
+ gap: 1rem;
6
+ `
@@ -0,0 +1,17 @@
1
+ import React from 'react'
2
+ import { SocialLinksProps } from './SocialLinksProps.types'
3
+ import { SocialList } from './SocialLinks.styled'
4
+
5
+ export const SocialLinks: React.FC<SocialLinksProps> = ({ links }) => {
6
+ return (
7
+ <SocialList>
8
+ {links.map((social) => (
9
+ <li key={social.url}>
10
+ <a href={social.url} rel='noopener noreferrer' target='_blank'>
11
+ <img src={social.iconSrc} alt={social.alt} width='20' height='20' />
12
+ </a>
13
+ </li>
14
+ ))}
15
+ </SocialList>
16
+ )
17
+ }
@@ -0,0 +1,8 @@
1
+ export interface SocialLink {
2
+ url: string;
3
+ iconSrc: string;
4
+ alt: string;
5
+ }
6
+ export interface SocialLinksProps {
7
+ links: SocialLink[];
8
+ }
@@ -0,0 +1,9 @@
1
+ export interface SocialLink {
2
+ url: string
3
+ iconSrc: string
4
+ alt: string
5
+ }
6
+
7
+ export interface SocialLinksProps {
8
+ links: SocialLink[]
9
+ }
@@ -0,0 +1,2 @@
1
+ export { SocialLinks } from './SocialLinks';
2
+ export { type SocialLinksProps } from './SocialLinksProps.types';
@@ -0,0 +1 @@
1
+ export { SocialLinks } from './SocialLinks';
@@ -0,0 +1,2 @@
1
+ export { SocialLinks } from './SocialLinks'
2
+ export { type SocialLinksProps } from './SocialLinksProps.types'
@@ -10,6 +10,7 @@ export * from './BoxForm';
10
10
  export * from './Breadcrumb';
11
11
  export * from './ContactBox';
12
12
  export * from './ContactCardList';
13
+ export * from './ContactInfo';
13
14
  export * from './ContinueEditingBanner';
14
15
  export * from './CountDownMessage';
15
16
  export * from './EmailContactBox';
@@ -17,6 +18,7 @@ export * from './ExpertCardList';
17
18
  export * from './FaqItem';
18
19
  export * from './FeatureRatafiaCardList';
19
20
  export * from './Feedback';
21
+ export * from './FooterMenu';
20
22
  export * from './FreeDocModalContent';
21
23
  export * from './HeaderRatafia';
22
24
  export * from './KeyFactCardListRatafia';
@@ -33,6 +35,7 @@ export * from './PopularDocs';
33
35
  export * from './PricingCard';
34
36
  export * from './RatafiaResultCardList';
35
37
  export * from './RatafiaResultTabList';
38
+ export * from './SocialLinks';
36
39
  export * from './SubscriptionCard';
37
40
  export * from './Snackbar';
38
41
  export * from './StepGetForm';
@@ -10,6 +10,7 @@ export * from './BoxForm';
10
10
  export * from './Breadcrumb';
11
11
  export * from './ContactBox';
12
12
  export * from './ContactCardList';
13
+ export * from './ContactInfo';
13
14
  export * from './ContinueEditingBanner';
14
15
  export * from './CountDownMessage';
15
16
  export * from './EmailContactBox';
@@ -17,6 +18,7 @@ export * from './ExpertCardList';
17
18
  export * from './FaqItem';
18
19
  export * from './FeatureRatafiaCardList';
19
20
  export * from './Feedback';
21
+ export * from './FooterMenu';
20
22
  export * from './FreeDocModalContent';
21
23
  export * from './HeaderRatafia';
22
24
  export * from './KeyFactCardListRatafia';
@@ -33,6 +35,7 @@ export * from './PopularDocs';
33
35
  export * from './PricingCard';
34
36
  export * from './RatafiaResultCardList';
35
37
  export * from './RatafiaResultTabList';
38
+ export * from './SocialLinks';
36
39
  export * from './SubscriptionCard';
37
40
  export * from './Snackbar';
38
41
  export * from './StepGetForm';
@@ -10,6 +10,7 @@ export * from './BoxForm'
10
10
  export * from './Breadcrumb'
11
11
  export * from './ContactBox'
12
12
  export * from './ContactCardList'
13
+ export * from './ContactInfo'
13
14
  export * from './ContinueEditingBanner'
14
15
  export * from './CountDownMessage'
15
16
  export * from './EmailContactBox'
@@ -17,6 +18,7 @@ export * from './ExpertCardList'
17
18
  export * from './FaqItem'
18
19
  export * from './FeatureRatafiaCardList'
19
20
  export * from './Feedback'
21
+ export * from './FooterMenu'
20
22
  export * from './FreeDocModalContent'
21
23
  export * from './HeaderRatafia'
22
24
  export * from './KeyFactCardListRatafia'
@@ -33,6 +35,7 @@ export * from './PopularDocs'
33
35
  export * from './PricingCard'
34
36
  export * from './RatafiaResultCardList'
35
37
  export * from './RatafiaResultTabList'
38
+ export * from './SocialLinks'
36
39
  export * from './SubscriptionCard'
37
40
  export * from './Snackbar'
38
41
  export * from './StepGetForm'
@@ -0,0 +1,3 @@
1
+ import { BottomFooterProps } from './BottomFooterProps.types';
2
+ import React from 'react';
3
+ export declare const BottomFooter: React.FC<BottomFooterProps>;
@@ -0,0 +1,7 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { BottomFooterStyled, BottomFooterText, BottomFooterWrapper, CompanyLink, CompanyList, LogoSocialsWrapper } from './BottomFooter.styled';
3
+ import { Logo } from '../../atoms/Logo/Logo';
4
+ import { SocialLinks } from '../../molecules/SocialLinks';
5
+ export const BottomFooter = ({ siteName, companyLinks, socialLinks, disclaimerText, copyrightText }) => {
6
+ return (_jsx(BottomFooterWrapper, { children: _jsxs(BottomFooterStyled, { children: [_jsxs(LogoSocialsWrapper, { className: 'footer__logo', children: [_jsx(Logo, { className: 'footer__lawdistrict', siteName: siteName, width: '138', height: '24', type: 'white' }), socialLinks && _jsx(SocialLinks, { links: socialLinks })] }), _jsx("div", { children: _jsx(CompanyList, { children: companyLinks?.map((link) => (_jsx("li", { children: _jsx(CompanyLink, { href: link.url, className: 'sans-serif --extra-small', "data-qa": link.dataQa, rel: link.rel, children: link.name }) }, link.url))) }) }), _jsx(BottomFooterText, { className: 'sans-serif --extra-small', children: disclaimerText }), _jsx(BottomFooterText, { className: 'sans-serif --extra-small', children: copyrightText })] }) }));
7
+ };
@@ -0,0 +1,6 @@
1
+ export declare const BottomFooterStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
2
+ export declare const BottomFooterWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
3
+ export declare const BottomFooterText: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, never>> & string;
4
+ export declare const LogoSocialsWrapper: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
5
+ export declare const CompanyList: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, never>> & string;
6
+ export declare const CompanyLink: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>, never>> & string;
@@ -0,0 +1,35 @@
1
+ import styled from 'styled-components';
2
+ export const BottomFooterStyled = styled.div `
3
+ display: flex;
4
+ padding: 1.5rem 1.5rem;
5
+ flex-direction: column;
6
+ width: 100%;
7
+ gap: 1rem;
8
+ max-width: 1200px;
9
+ `;
10
+ export const BottomFooterWrapper = styled.div `
11
+ width: 100%;
12
+ background-color: var(--neutral-main);
13
+ display: flex;
14
+ align-items: center;
15
+ justify-content: center;
16
+ `;
17
+ export const BottomFooterText = styled.p `
18
+ color: var(--neutral-neutral-3);
19
+ `;
20
+ export const LogoSocialsWrapper = styled.div `
21
+ display: flex;
22
+ justify-content: space-between;
23
+ border-bottom: 1px solid var(--neutral-neutral-2);
24
+ padding-bottom: 1rem;
25
+ `;
26
+ export const CompanyList = styled.ul `
27
+ display: flex;
28
+ text-decoration: none;
29
+ gap: 1rem;
30
+ flex-wrap: wrap;
31
+ `;
32
+ export const CompanyLink = styled.a `
33
+ color: var(--neutral-neutral-3);
34
+ text-decoration: none;
35
+ `;
@@ -0,0 +1,41 @@
1
+ import styled from 'styled-components'
2
+
3
+ export const BottomFooterStyled = styled.div`
4
+ display: flex;
5
+ padding: 1.5rem 1.5rem;
6
+ flex-direction: column;
7
+ width: 100%;
8
+ gap: 1rem;
9
+ max-width: 1200px;
10
+ `
11
+
12
+ export const BottomFooterWrapper = styled.div`
13
+ width: 100%;
14
+ background-color: var(--neutral-main);
15
+ display: flex;
16
+ align-items: center;
17
+ justify-content: center;
18
+ `
19
+
20
+ export const BottomFooterText = styled.p`
21
+ color: var(--neutral-neutral-3);
22
+ `
23
+
24
+ export const LogoSocialsWrapper = styled.div`
25
+ display: flex;
26
+ justify-content: space-between;
27
+ border-bottom: 1px solid var(--neutral-neutral-2);
28
+ padding-bottom: 1rem;
29
+ `
30
+
31
+ export const CompanyList = styled.ul`
32
+ display: flex;
33
+ text-decoration: none;
34
+ gap: 1rem;
35
+ flex-wrap: wrap;
36
+ `
37
+
38
+ export const CompanyLink = styled.a`
39
+ color: var(--neutral-neutral-3);
40
+ text-decoration: none;
41
+ `