@npm_leadtech/legal-lib-components 5.64.4 → 5.64.6

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 (129) hide show
  1. package/dist/src/components/atoms/RatafiaResultCard/RatafiaResultCard.d.ts +4 -0
  2. package/dist/src/components/atoms/RatafiaResultCard/RatafiaResultCard.js +6 -0
  3. package/dist/src/components/atoms/RatafiaResultCard/RatafiaResultCard.styled.d.ts +1 -0
  4. package/dist/src/components/atoms/RatafiaResultCard/RatafiaResultCard.styled.js +39 -0
  5. package/dist/src/components/atoms/RatafiaResultCard/RatafiaResultCard.styled.ts +40 -0
  6. package/dist/src/components/atoms/RatafiaResultCard/RatafiaResultCard.tsx +18 -0
  7. package/dist/src/components/atoms/RatafiaResultCard/RatafiaResultCardProps.types.d.ts +5 -0
  8. package/dist/src/components/atoms/RatafiaResultCard/RatafiaResultCardProps.types.js +1 -0
  9. package/dist/src/components/atoms/RatafiaResultCard/RatafiaResultCardProps.types.ts +5 -0
  10. package/dist/src/components/atoms/RatafiaResultCard/index.d.ts +2 -0
  11. package/dist/src/components/atoms/RatafiaResultCard/index.js +1 -0
  12. package/dist/src/components/atoms/RatafiaResultCard/index.ts +2 -0
  13. package/dist/src/components/atoms/RatafiaResultTab/RatafiaResultTab.d.ts +4 -0
  14. package/dist/src/components/atoms/RatafiaResultTab/RatafiaResultTab.js +6 -0
  15. package/dist/src/components/atoms/RatafiaResultTab/RatafiaResultTab.styled.d.ts +1 -0
  16. package/dist/src/components/atoms/RatafiaResultTab/RatafiaResultTab.styled.js +38 -0
  17. package/dist/src/components/atoms/RatafiaResultTab/RatafiaResultTab.styled.ts +39 -0
  18. package/dist/src/components/atoms/RatafiaResultTab/RatafiaResultTab.tsx +23 -0
  19. package/dist/src/components/atoms/RatafiaResultTab/RatafiaResultTabProps.types.d.ts +9 -0
  20. package/dist/src/components/atoms/RatafiaResultTab/RatafiaResultTabProps.types.js +1 -0
  21. package/dist/src/components/atoms/RatafiaResultTab/RatafiaResultTabProps.types.ts +9 -0
  22. package/dist/src/components/atoms/RatafiaResultTab/index.d.ts +2 -0
  23. package/dist/src/components/atoms/RatafiaResultTab/index.js +1 -0
  24. package/dist/src/components/atoms/RatafiaResultTab/index.ts +2 -0
  25. package/dist/src/components/atoms/RatafiaReviewResult/RatafiaReviewResult.d.ts +4 -0
  26. package/dist/src/components/atoms/RatafiaReviewResult/RatafiaReviewResult.js +6 -0
  27. package/dist/src/components/atoms/RatafiaReviewResult/RatafiaReviewResult.styled.d.ts +1 -0
  28. package/dist/src/components/atoms/RatafiaReviewResult/RatafiaReviewResult.styled.js +55 -0
  29. package/dist/src/components/atoms/RatafiaReviewResult/RatafiaReviewResult.styled.ts +56 -0
  30. package/dist/src/components/atoms/RatafiaReviewResult/RatafiaReviewResult.tsx +56 -0
  31. package/dist/src/components/atoms/RatafiaReviewResult/RatafiaReviewResultProps.types.d.ts +14 -0
  32. package/dist/src/components/atoms/RatafiaReviewResult/RatafiaReviewResultProps.types.js +1 -0
  33. package/dist/src/components/atoms/RatafiaReviewResult/RatafiaReviewResultProps.types.ts +15 -0
  34. package/dist/src/components/atoms/RatafiaReviewResult/index.d.ts +2 -0
  35. package/dist/src/components/atoms/RatafiaReviewResult/index.js +1 -0
  36. package/dist/src/components/atoms/RatafiaReviewResult/index.ts +2 -0
  37. package/dist/src/components/atoms/index.d.ts +3 -0
  38. package/dist/src/components/atoms/index.js +3 -0
  39. package/dist/src/components/atoms/index.ts +3 -0
  40. package/dist/src/components/molecules/RatafiaResultCardList/RatafiaResultCardList.d.ts +4 -0
  41. package/dist/src/components/molecules/RatafiaResultCardList/RatafiaResultCardList.js +9 -0
  42. package/dist/src/components/molecules/RatafiaResultCardList/RatafiaResultCardList.styled.d.ts +1 -0
  43. package/dist/src/components/molecules/RatafiaResultCardList/RatafiaResultCardList.styled.js +24 -0
  44. package/dist/src/components/molecules/RatafiaResultCardList/RatafiaResultCardList.styled.ts +25 -0
  45. package/dist/src/components/molecules/RatafiaResultCardList/RatafiaResultCardList.tsx +19 -0
  46. package/dist/src/components/molecules/RatafiaResultCardList/RatafiaResultCardListProps.types.d.ts +4 -0
  47. package/dist/src/components/molecules/RatafiaResultCardList/RatafiaResultCardListProps.types.js +1 -0
  48. package/dist/src/components/molecules/RatafiaResultCardList/RatafiaResultCardListProps.types.ts +5 -0
  49. package/dist/src/components/molecules/RatafiaResultCardList/index.d.ts +2 -0
  50. package/dist/src/components/molecules/RatafiaResultCardList/index.js +1 -0
  51. package/dist/src/components/molecules/RatafiaResultCardList/index.ts +2 -0
  52. package/dist/src/components/molecules/RatafiaResultTabList/RatafiaResultTabList.d.ts +4 -0
  53. package/dist/src/components/molecules/RatafiaResultTabList/RatafiaResultTabList.js +9 -0
  54. package/dist/src/components/molecules/RatafiaResultTabList/RatafiaResultTabList.styled.d.ts +1 -0
  55. package/dist/src/components/molecules/RatafiaResultTabList/RatafiaResultTabList.styled.js +7 -0
  56. package/dist/src/components/molecules/RatafiaResultTabList/RatafiaResultTabList.styled.ts +8 -0
  57. package/dist/src/components/molecules/RatafiaResultTabList/RatafiaResultTabList.tsx +18 -0
  58. package/dist/src/components/molecules/RatafiaResultTabList/RatafiaResultTabListProps.types.d.ts +4 -0
  59. package/dist/src/components/molecules/RatafiaResultTabList/RatafiaResultTabListProps.types.js +1 -0
  60. package/dist/src/components/molecules/RatafiaResultTabList/RatafiaResultTabListProps.types.ts +5 -0
  61. package/dist/src/components/molecules/RatafiaResultTabList/index.d.ts +2 -0
  62. package/dist/src/components/molecules/RatafiaResultTabList/index.js +1 -0
  63. package/dist/src/components/molecules/RatafiaResultTabList/index.ts +2 -0
  64. package/dist/src/components/molecules/index.d.ts +2 -0
  65. package/dist/src/components/molecules/index.js +2 -0
  66. package/dist/src/components/molecules/index.ts +2 -0
  67. package/dist/src/components/organisms/RatafiaLoadingResultContent/RatafiaLoadingResultContent.d.ts +4 -0
  68. package/dist/src/components/organisms/RatafiaLoadingResultContent/RatafiaLoadingResultContent.js +6 -0
  69. package/dist/src/components/organisms/RatafiaLoadingResultContent/RatafiaLoadingResultContent.styled.d.ts +1 -0
  70. package/dist/src/components/organisms/RatafiaLoadingResultContent/RatafiaLoadingResultContent.styled.js +143 -0
  71. package/dist/src/components/organisms/RatafiaLoadingResultContent/RatafiaLoadingResultContent.styled.ts +144 -0
  72. package/dist/src/components/organisms/RatafiaLoadingResultContent/RatafiaLoadingResultContent.tsx +46 -0
  73. package/dist/src/components/organisms/RatafiaLoadingResultContent/RatafiaLoadingResultContentProps.types.d.ts +5 -0
  74. package/dist/src/components/organisms/RatafiaLoadingResultContent/RatafiaLoadingResultContentProps.types.js +1 -0
  75. package/dist/src/components/organisms/RatafiaLoadingResultContent/RatafiaLoadingResultContentProps.types.ts +5 -0
  76. package/dist/src/components/organisms/RatafiaLoadingResultContent/index.d.ts +2 -0
  77. package/dist/src/components/organisms/RatafiaLoadingResultContent/index.js +1 -0
  78. package/dist/src/components/organisms/RatafiaLoadingResultContent/index.ts +2 -0
  79. package/dist/src/components/organisms/RatafiaResultContent/RatafiaResultContent.d.ts +4 -0
  80. package/dist/src/components/organisms/RatafiaResultContent/RatafiaResultContent.js +9 -0
  81. package/dist/src/components/organisms/RatafiaResultContent/RatafiaResultContent.styled.d.ts +1 -0
  82. package/dist/src/components/organisms/RatafiaResultContent/RatafiaResultContent.styled.js +26 -0
  83. package/dist/src/components/organisms/RatafiaResultContent/RatafiaResultContent.styled.ts +27 -0
  84. package/dist/src/components/organisms/RatafiaResultContent/RatafiaResultContent.tsx +26 -0
  85. package/dist/src/components/organisms/RatafiaResultContent/RatafiaResultContentProps.types.d.ts +13 -0
  86. package/dist/src/components/organisms/RatafiaResultContent/RatafiaResultContentProps.types.js +1 -0
  87. package/dist/src/components/organisms/RatafiaResultContent/RatafiaResultContentProps.types.ts +16 -0
  88. package/dist/src/components/organisms/RatafiaResultContent/index.d.ts +3 -0
  89. package/dist/src/components/organisms/RatafiaResultContent/index.js +1 -0
  90. package/dist/src/components/organisms/RatafiaResultContent/index.ts +3 -0
  91. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.js +2 -9
  92. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.scss +50 -0
  93. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.js +0 -45
  94. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.ts +0 -45
  95. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.tsx +3 -18
  96. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.d.ts +0 -6
  97. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.js +1 -6
  98. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.ts +0 -7
  99. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/index.d.ts +1 -1
  100. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/index.js +0 -1
  101. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/index.ts +1 -4
  102. package/dist/src/components/organisms/index.d.ts +2 -0
  103. package/dist/src/components/organisms/index.js +2 -0
  104. package/dist/src/components/organisms/index.ts +2 -0
  105. package/dist/src/components/pages/AboutUsPage/AboutUsPage.js +2 -2
  106. package/dist/src/components/pages/AboutUsPage/AboutUsPage.tsx +4 -4
  107. package/dist/src/components/pages/AboutUsPage/AboutUsPageProps.d.ts +1 -2
  108. package/dist/src/components/pages/AboutUsPage/AboutUsPageProps.ts +1 -2
  109. package/dist/src/components/pages/RatafiaResultPage/RatafiaResultPage.d.ts +4 -0
  110. package/dist/src/components/pages/RatafiaResultPage/RatafiaResultPage.js +15 -0
  111. package/dist/src/components/pages/RatafiaResultPage/RatafiaResultPage.styled.d.ts +1 -0
  112. package/dist/src/components/pages/RatafiaResultPage/RatafiaResultPage.styled.js +23 -0
  113. package/dist/src/components/pages/RatafiaResultPage/RatafiaResultPage.styled.ts +24 -0
  114. package/dist/src/components/pages/RatafiaResultPage/RatafiaResultPage.tsx +76 -0
  115. package/dist/src/components/pages/RatafiaResultPage/RatafiaResultPageProps.types.d.ts +20 -0
  116. package/dist/src/components/pages/RatafiaResultPage/RatafiaResultPageProps.types.js +1 -0
  117. package/dist/src/components/pages/RatafiaResultPage/RatafiaResultPageProps.types.ts +22 -0
  118. package/dist/src/components/pages/RatafiaResultPage/index.d.ts +2 -0
  119. package/dist/src/components/pages/RatafiaResultPage/index.js +1 -0
  120. package/dist/src/components/pages/RatafiaResultPage/index.ts +2 -0
  121. package/dist/src/components/pages/index.d.ts +2 -1
  122. package/dist/src/components/pages/index.js +2 -1
  123. package/dist/src/components/pages/index.ts +2 -1
  124. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.js +1 -1
  125. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.tsx +1 -5
  126. package/dist/tsconfig.build.tsbuildinfo +1 -1
  127. package/package.json +6 -2
  128. package/dist/images/jpg/aboutus-img-core-values.jpg +0 -0
  129. package/dist/images/jpg/aboutus-img-our-mission.jpg +0 -0
@@ -0,0 +1,13 @@
1
+ import React from 'react';
2
+ import type { RatafiaResultCardProps, RatafiaReviewResultProps } from '../../atoms';
3
+ import { type RatafiaResultTabProps } from '../../atoms';
4
+ export interface RatafiaResultContentProps {
5
+ result: RatafiaResultProps | null;
6
+ review: RatafiaReviewResultProps;
7
+ tabs: RatafiaResultTabProps[];
8
+ }
9
+ export interface RatafiaResultProps {
10
+ documentName: string;
11
+ keyFacts: RatafiaResultCardProps[];
12
+ documentNameRef?: React.RefObject<HTMLHeadingElement>;
13
+ }
@@ -0,0 +1,16 @@
1
+ import React from 'react'
2
+
3
+ import type { RatafiaResultCardProps, RatafiaReviewResultProps } from '../../atoms'
4
+ import { type RatafiaResultTabProps } from '../../atoms'
5
+
6
+ export interface RatafiaResultContentProps {
7
+ result: RatafiaResultProps | null
8
+ review: RatafiaReviewResultProps
9
+ tabs: RatafiaResultTabProps[]
10
+ }
11
+
12
+ export interface RatafiaResultProps {
13
+ documentName: string
14
+ keyFacts: RatafiaResultCardProps[]
15
+ documentNameRef?: React.RefObject<HTMLHeadingElement>
16
+ }
@@ -0,0 +1,3 @@
1
+ export { default as RatafiaResultContent } from './RatafiaResultContent';
2
+ export { type RatafiaResultContentProps } from './RatafiaResultContentProps.types';
3
+ export { type RatafiaResultProps } from './RatafiaResultContentProps.types';
@@ -0,0 +1 @@
1
+ export { default as RatafiaResultContent } from './RatafiaResultContent';
@@ -0,0 +1,3 @@
1
+ export { default as RatafiaResultContent } from './RatafiaResultContent'
2
+ export { type RatafiaResultContentProps } from './RatafiaResultContentProps.types'
3
+ export { type RatafiaResultProps } from './RatafiaResultContentProps.types'
@@ -1,14 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { TryOurFreeLegalBlogsContentType } from './TryOurFreeLegalBlogsContentProps.types';
3
2
  import { RichTextInner } from '../../atoms';
4
3
  import { TryOurFreeLegalBlogsContentStyled } from './TryOurFreeLegalBlogsContent.styled';
5
- import classNames from 'classnames';
6
- const TryOurFreeLegalBlogsContent = ({ title, image, children, type = TryOurFreeLegalBlogsContentType.default }) => {
7
- const classTry = classNames({
8
- 'try-our-free-legal-blogs-section-content': true,
9
- 'try-our-free-legal-blogs-section-content--our-mission': TryOurFreeLegalBlogsContentType.ourMission === type,
10
- 'try-our-free-legal-blogs-section-content--our-mission-first-image': TryOurFreeLegalBlogsContentType.ourMissionFirstImage === type
11
- });
12
- return (_jsxs(TryOurFreeLegalBlogsContentStyled, { className: classTry, children: [_jsxs("div", { className: 'try-our-free-legal-blogs-section__texts', children: [_jsx("h2", { className: 'try-our-free-legal-blogs-section__texts__title', children: title }), _jsx(RichTextInner, { customClass: 'try-our-free-legal-blogs-section__texts__body', children: children })] }), _jsx("div", { className: 'try-our-free-legal-blogs-section__image', children: image })] }));
4
+ const TryOurFreeLegalBlogsContent = ({ title, image, children }) => {
5
+ return (_jsxs(TryOurFreeLegalBlogsContentStyled, { children: [_jsxs("div", { className: 'try-our-free-legal-blogs-section__texts', children: [_jsx("h2", { className: 'try-our-free-legal-blogs-section__texts__title', children: title }), _jsx(RichTextInner, { customClass: 'try-our-free-legal-blogs-section__texts__body', children: children })] }), _jsx("div", { className: 'try-our-free-legal-blogs-section__image', children: image })] }));
13
6
  };
14
7
  export default TryOurFreeLegalBlogsContent;
@@ -0,0 +1,50 @@
1
+ @import '../../../globalStyles/variables.scss';
2
+ @import '../../../globalStyles/mediaqueries.scss';
3
+
4
+ .try-our-free-legal-blogs-section {
5
+ &__texts {
6
+ flex-basis: 50%;
7
+ display: flex;
8
+ flex-direction: column;
9
+ justify-content: center;
10
+ margin-bottom: 1rem;
11
+ margin-right: 0;
12
+ color: var(--neutral-neutral-1);
13
+ font-style: normal;
14
+ font-weight: 400;
15
+ letter-spacing: -0.3px;
16
+
17
+ @include landscape-tablets {
18
+ margin-right: 3rem;
19
+ margin-bottom: 0;
20
+ }
21
+
22
+ &__title {
23
+ font-family: var(--font-serif);
24
+ font-size: 32px;
25
+ line-height: 42px;
26
+ margin-bottom: 2rem;
27
+ text-align: center;
28
+ font-weight: 400;
29
+
30
+ @include landscape-tablets {
31
+ text-align: left;
32
+ }
33
+ }
34
+
35
+ &__body {
36
+ font-family: var(--font-sans);
37
+ font-size: 16px;
38
+ line-height: 22px;
39
+
40
+ a {
41
+ color: var(--primary-main-light-1);
42
+ font-weight: 400 !important;
43
+ }
44
+ }
45
+ }
46
+
47
+ &__image {
48
+ flex-basis: 50%;
49
+ }
50
+ }
@@ -6,51 +6,6 @@ export const TryOurFreeLegalBlogsContentStyled = styled.div `
6
6
  @media ${device['landscape-tablets']} {
7
7
  flex-direction: row;
8
8
  }
9
-
10
- &.try-our-free-legal-blogs-section-content--our-mission {
11
- margin-top: 1.5rem;
12
- margin-bottom: 1.5rem;
13
- align-items: center;
14
- .try-our-free-legal-blogs-section__texts {
15
- margin-bottom: 2rem;
16
- @media ${device['landscape-tablets']} {
17
- margin-bottom: 1rem;
18
- }
19
-
20
- &__title {
21
- font-family: var(--font-sans);
22
- font-size: 28px;
23
- font-weight: 700;
24
- text-align: left;
25
- }
26
- }
27
- }
28
-
29
- &.try-our-free-legal-blogs-section-content--our-mission-first-image {
30
- margin-top: 1.5rem;
31
- margin-bottom: 1.5rem;
32
- align-items: center;
33
- @media ${device['landscape-tablets']} {
34
- flex-direction: row-reverse;
35
- }
36
-
37
- .try-our-free-legal-blogs-section__texts {
38
- margin-bottom: 2rem;
39
- @media ${device['landscape-tablets']} {
40
- margin-bottom: 1rem;
41
- margin-right: 0rem;
42
- margin-left: 3rem;
43
- }
44
-
45
- &__title {
46
- font-family: var(--font-sans);
47
- font-size: 28px;
48
- font-weight: 700;
49
- text-align: left;
50
- }
51
- }
52
- }
53
-
54
9
  .try-our-free-legal-blogs-section__texts {
55
10
  flex-basis: 50%;
56
11
  display: flex;
@@ -7,51 +7,6 @@ export const TryOurFreeLegalBlogsContentStyled = styled.div`
7
7
  @media ${device['landscape-tablets']} {
8
8
  flex-direction: row;
9
9
  }
10
-
11
- &.try-our-free-legal-blogs-section-content--our-mission {
12
- margin-top: 1.5rem;
13
- margin-bottom: 1.5rem;
14
- align-items: center;
15
- .try-our-free-legal-blogs-section__texts {
16
- margin-bottom: 2rem;
17
- @media ${device['landscape-tablets']} {
18
- margin-bottom: 1rem;
19
- }
20
-
21
- &__title {
22
- font-family: var(--font-sans);
23
- font-size: 28px;
24
- font-weight: 700;
25
- text-align: left;
26
- }
27
- }
28
- }
29
-
30
- &.try-our-free-legal-blogs-section-content--our-mission-first-image {
31
- margin-top: 1.5rem;
32
- margin-bottom: 1.5rem;
33
- align-items: center;
34
- @media ${device['landscape-tablets']} {
35
- flex-direction: row-reverse;
36
- }
37
-
38
- .try-our-free-legal-blogs-section__texts {
39
- margin-bottom: 2rem;
40
- @media ${device['landscape-tablets']} {
41
- margin-bottom: 1rem;
42
- margin-right: 0rem;
43
- margin-left: 3rem;
44
- }
45
-
46
- &__title {
47
- font-family: var(--font-sans);
48
- font-size: 28px;
49
- font-weight: 700;
50
- text-align: left;
51
- }
52
- }
53
- }
54
-
55
10
  .try-our-free-legal-blogs-section__texts {
56
11
  flex-basis: 50%;
57
12
  display: flex;
@@ -1,27 +1,12 @@
1
1
  import React, { type FC } from 'react'
2
2
 
3
- import {
4
- type TryOurFreeLegalBlogsContentProps,
5
- TryOurFreeLegalBlogsContentType
6
- } from './TryOurFreeLegalBlogsContentProps.types'
7
3
  import { RichTextInner } from '../../atoms'
4
+ import { type TryOurFreeLegalBlogsContentProps } from './TryOurFreeLegalBlogsContentProps.types'
8
5
  import { TryOurFreeLegalBlogsContentStyled } from './TryOurFreeLegalBlogsContent.styled'
9
- import classNames from 'classnames'
10
6
 
11
- const TryOurFreeLegalBlogsContent: FC<TryOurFreeLegalBlogsContentProps> = ({
12
- title,
13
- image,
14
- children,
15
- type = TryOurFreeLegalBlogsContentType.default
16
- }) => {
17
- const classTry = classNames({
18
- 'try-our-free-legal-blogs-section-content': true,
19
- 'try-our-free-legal-blogs-section-content--our-mission': TryOurFreeLegalBlogsContentType.ourMission === type,
20
- 'try-our-free-legal-blogs-section-content--our-mission-first-image':
21
- TryOurFreeLegalBlogsContentType.ourMissionFirstImage === type
22
- })
7
+ const TryOurFreeLegalBlogsContent: FC<TryOurFreeLegalBlogsContentProps> = ({ title, image, children }) => {
23
8
  return (
24
- <TryOurFreeLegalBlogsContentStyled className={classTry}>
9
+ <TryOurFreeLegalBlogsContentStyled>
25
10
  <div className='try-our-free-legal-blogs-section__texts'>
26
11
  <h2 className='try-our-free-legal-blogs-section__texts__title'>{title}</h2>
27
12
  <RichTextInner customClass='try-our-free-legal-blogs-section__texts__body'>{children}</RichTextInner>
@@ -1,11 +1,5 @@
1
- export declare enum TryOurFreeLegalBlogsContentType {
2
- default = "Default",
3
- ourMission = "Our Mission",
4
- ourMissionFirstImage = "Our Mission First Image"
5
- }
6
1
  export interface TryOurFreeLegalBlogsContentProps {
7
2
  title: string;
8
3
  image: React.ReactNode;
9
4
  children: React.ReactNode;
10
- type?: TryOurFreeLegalBlogsContentType;
11
5
  }
@@ -1,6 +1 @@
1
- export var TryOurFreeLegalBlogsContentType;
2
- (function (TryOurFreeLegalBlogsContentType) {
3
- TryOurFreeLegalBlogsContentType["default"] = "Default";
4
- TryOurFreeLegalBlogsContentType["ourMission"] = "Our Mission";
5
- TryOurFreeLegalBlogsContentType["ourMissionFirstImage"] = "Our Mission First Image";
6
- })(TryOurFreeLegalBlogsContentType || (TryOurFreeLegalBlogsContentType = {}));
1
+ export {};
@@ -1,12 +1,5 @@
1
- export enum TryOurFreeLegalBlogsContentType {
2
- default = 'Default',
3
- ourMission = 'Our Mission',
4
- ourMissionFirstImage = 'Our Mission First Image'
5
- }
6
-
7
1
  export interface TryOurFreeLegalBlogsContentProps {
8
2
  title: string
9
3
  image: React.ReactNode
10
4
  children: React.ReactNode
11
- type?: TryOurFreeLegalBlogsContentType
12
5
  }
@@ -1,2 +1,2 @@
1
1
  export { default as TryOurFreeLegalBlogsContent } from './TryOurFreeLegalBlogsContent';
2
- export { TryOurFreeLegalBlogsContentType, type TryOurFreeLegalBlogsContentProps } from './TryOurFreeLegalBlogsContentProps.types';
2
+ export { type TryOurFreeLegalBlogsContentProps } from './TryOurFreeLegalBlogsContentProps.types';
@@ -1,2 +1 @@
1
1
  export { default as TryOurFreeLegalBlogsContent } from './TryOurFreeLegalBlogsContent';
2
- export { TryOurFreeLegalBlogsContentType } from './TryOurFreeLegalBlogsContentProps.types';
@@ -1,5 +1,2 @@
1
1
  export { default as TryOurFreeLegalBlogsContent } from './TryOurFreeLegalBlogsContent'
2
- export {
3
- TryOurFreeLegalBlogsContentType,
4
- type TryOurFreeLegalBlogsContentProps
5
- } from './TryOurFreeLegalBlogsContentProps.types'
2
+ export { type TryOurFreeLegalBlogsContentProps } from './TryOurFreeLegalBlogsContentProps.types'
@@ -20,5 +20,7 @@ export * from './LimitReachedContentRatafia';
20
20
  export * from './ListStepsGetForm';
21
21
  export * from './LoginRatafiaContent';
22
22
  export * from './MobileBottomBar';
23
+ export * from './RatafiaLoadingResultContent';
24
+ export * from './RatafiaResultContent';
23
25
  export * from './StepsRatafiaContent';
24
26
  export * from './TryOurFreeLegalBlogsContent';
@@ -20,5 +20,7 @@ export * from './LimitReachedContentRatafia';
20
20
  export * from './ListStepsGetForm';
21
21
  export * from './LoginRatafiaContent';
22
22
  export * from './MobileBottomBar';
23
+ export * from './RatafiaLoadingResultContent';
24
+ export * from './RatafiaResultContent';
23
25
  export * from './StepsRatafiaContent';
24
26
  export * from './TryOurFreeLegalBlogsContent';
@@ -20,5 +20,7 @@ export * from './LimitReachedContentRatafia'
20
20
  export * from './ListStepsGetForm'
21
21
  export * from './LoginRatafiaContent'
22
22
  export * from './MobileBottomBar'
23
+ export * from './RatafiaLoadingResultContent'
24
+ export * from './RatafiaResultContent'
23
25
  export * from './StepsRatafiaContent'
24
26
  export * from './TryOurFreeLegalBlogsContent'
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { AboutUsSection, AsSeeInSection, ExpertsSection, GuidelinesSection, PeopleSayAboutUsSection, TryOurFreeLegalBlogsSection } from '../../sections';
3
- export const AboutUsPage = ({ aboutUsSectionProps, ourMissionBlogsSectionProps, ourCoreValuesBlogsSectionProps, peopleSayAboutUsSectionProps, guidelinesSectionProps, expertsSectionProps, asSeeInSectionProps, isJonSnow = false }) => {
4
- return (_jsxs(_Fragment, { children: [aboutUsSectionProps != null && _jsx(AboutUsSection, { ...aboutUsSectionProps }), ourMissionBlogsSectionProps != null && _jsx(TryOurFreeLegalBlogsSection, { ...ourMissionBlogsSectionProps }), ourCoreValuesBlogsSectionProps != null && _jsx(TryOurFreeLegalBlogsSection, { ...ourCoreValuesBlogsSectionProps }), guidelinesSectionProps != null && (_jsx(GuidelinesSection, { ...guidelinesSectionProps, children: guidelinesSectionProps.contentGuidelines?.children })), expertsSectionProps != null && _jsx(ExpertsSection, { ...expertsSectionProps }), !isJonSnow && peopleSayAboutUsSectionProps != null && (_jsx(PeopleSayAboutUsSection, { ...peopleSayAboutUsSectionProps })), !isJonSnow && asSeeInSectionProps != null && _jsx(AsSeeInSection, { ...asSeeInSectionProps })] }));
3
+ export const AboutUsPage = ({ aboutUsSectionProps, tryOurFreeLegalBlogsSectionProps, peopleSayAboutUsSectionProps, guidelinesSectionProps, expertsSectionProps, asSeeInSectionProps, isJonSnow = false }) => {
4
+ return (_jsxs(_Fragment, { children: [aboutUsSectionProps != null && _jsx(AboutUsSection, { ...aboutUsSectionProps }), tryOurFreeLegalBlogsSectionProps != null && (_jsx(TryOurFreeLegalBlogsSection, { ...tryOurFreeLegalBlogsSectionProps })), guidelinesSectionProps != null && (_jsx(GuidelinesSection, { ...guidelinesSectionProps, children: guidelinesSectionProps.contentGuidelines?.children })), expertsSectionProps != null && _jsx(ExpertsSection, { ...expertsSectionProps }), !isJonSnow && peopleSayAboutUsSectionProps != null && (_jsx(PeopleSayAboutUsSection, { ...peopleSayAboutUsSectionProps })), !isJonSnow && asSeeInSectionProps != null && _jsx(AsSeeInSection, { ...asSeeInSectionProps })] }));
5
5
  };
@@ -12,8 +12,7 @@ import { type AboutUsPageProps } from './AboutUsPageProps'
12
12
 
13
13
  export const AboutUsPage: React.FC<AboutUsPageProps> = ({
14
14
  aboutUsSectionProps,
15
- ourMissionBlogsSectionProps,
16
- ourCoreValuesBlogsSectionProps,
15
+ tryOurFreeLegalBlogsSectionProps,
17
16
  peopleSayAboutUsSectionProps,
18
17
  guidelinesSectionProps,
19
18
  expertsSectionProps,
@@ -23,8 +22,9 @@ export const AboutUsPage: React.FC<AboutUsPageProps> = ({
23
22
  return (
24
23
  <>
25
24
  {aboutUsSectionProps != null && <AboutUsSection {...aboutUsSectionProps} />}
26
- {ourMissionBlogsSectionProps != null && <TryOurFreeLegalBlogsSection {...ourMissionBlogsSectionProps} />}
27
- {ourCoreValuesBlogsSectionProps != null && <TryOurFreeLegalBlogsSection {...ourCoreValuesBlogsSectionProps} />}
25
+ {tryOurFreeLegalBlogsSectionProps != null && (
26
+ <TryOurFreeLegalBlogsSection {...tryOurFreeLegalBlogsSectionProps} />
27
+ )}
28
28
  {guidelinesSectionProps != null && (
29
29
  <GuidelinesSection {...guidelinesSectionProps}>
30
30
  {guidelinesSectionProps.contentGuidelines?.children}
@@ -1,8 +1,7 @@
1
1
  import type { AboutUsSectionProps, AsSeeInSectionProps, ExpertsSectionProps, GuidelinesSectionProps, PeopleSayAboutUsSectionProps, TryOurFreeLegalBlogsSectionProps, TryUsSectionProps } from '../../sections';
2
2
  export interface AboutUsPageProps {
3
3
  aboutUsSectionProps?: AboutUsSectionProps;
4
- ourMissionBlogsSectionProps?: TryOurFreeLegalBlogsSectionProps;
5
- ourCoreValuesBlogsSectionProps?: TryOurFreeLegalBlogsSectionProps;
4
+ tryOurFreeLegalBlogsSectionProps?: TryOurFreeLegalBlogsSectionProps;
6
5
  peopleSayAboutUsSectionProps?: PeopleSayAboutUsSectionProps;
7
6
  guidelinesSectionProps?: GuidelinesSectionProps;
8
7
  tryUsSectionProps?: TryUsSectionProps;
@@ -10,8 +10,7 @@ import type {
10
10
 
11
11
  export interface AboutUsPageProps {
12
12
  aboutUsSectionProps?: AboutUsSectionProps
13
- ourMissionBlogsSectionProps?: TryOurFreeLegalBlogsSectionProps
14
- ourCoreValuesBlogsSectionProps?: TryOurFreeLegalBlogsSectionProps
13
+ tryOurFreeLegalBlogsSectionProps?: TryOurFreeLegalBlogsSectionProps
15
14
  peopleSayAboutUsSectionProps?: PeopleSayAboutUsSectionProps
16
15
  guidelinesSectionProps?: GuidelinesSectionProps
17
16
  tryUsSectionProps?: TryUsSectionProps
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { type RatafiaResultPageProps } from './RatafiaResultPageProps.types';
3
+ export declare const RatafiaResultPage: React.FC<RatafiaResultPageProps>;
4
+ export default RatafiaResultPage;
@@ -0,0 +1,15 @@
1
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { RatafiaLoadingResultContent, RatafiaResultContent } from '../../organisms';
3
+ import { Button } from '../../atoms';
4
+ import DisclaimerRatafia from '../../atoms/DisclaimerRatafia/DisclaimerRatafia';
5
+ import { LayoutRatafia } from '../../organisms/LayoutRatafia';
6
+ import { RatafiaResultPageStyled } from './RatafiaResultPage.styled';
7
+ export const RatafiaResultPage = ({ header, resultContent, reviewContent, tabs, disclaimer, cta, loadingIcon, loadingText, isLoading }) => {
8
+ const loadingContent = (_jsx("div", { className: 'ratafia-result-page__content', children: _jsx(RatafiaLoadingResultContent, { documentName: resultContent.documentName, icon: loadingIcon, text: loadingText }) }));
9
+ const loadedContent = (_jsx("div", { className: 'ratafia-result-page__content', children: _jsx(RatafiaResultContent, { result: resultContent, review: reviewContent, tabs: tabs }) }));
10
+ const ctaButton = isLoading ? null : (_jsx(Button, { givenClass: 'ratafia-result-page__content__cta', dataQa: cta.dataQa, color: 'primary', label: cta.label, onClick: cta.handleOnClick, noLink: true }));
11
+ const footerDesktop = (_jsx("div", { className: 'ratafia-result-page__footer-desktop', children: _jsx(DisclaimerRatafia, { icon: disclaimer.icon, text: disclaimer.text, copyrightText: disclaimer.copyrightText, ctaTextShowDisclaimer: disclaimer.ctaTextShowDisclaimer, ctaTextCloseDisclaimer: disclaimer.ctaTextCloseDisclaimer }) }));
12
+ const footerMobile = (_jsxs(_Fragment, { children: [footerDesktop, ctaButton] }));
13
+ return (_jsx(RatafiaResultPageStyled, { className: 'ratafia-result-page', children: _jsx(LayoutRatafia, { header: header, content: isLoading ? loadingContent : loadedContent, cta: ctaButton, footerDesktop: footerDesktop, footerMobile: footerMobile }) }));
14
+ };
15
+ export default RatafiaResultPage;
@@ -0,0 +1 @@
1
+ export declare const RatafiaResultPageStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -0,0 +1,23 @@
1
+ import { device } from '../../../globalStyles/breakpoints';
2
+ import styled from 'styled-components';
3
+ export const RatafiaResultPageStyled = styled.div `
4
+ background-color: var(--neutral-neutral-6);
5
+
6
+ .ratafia-result-page__content {
7
+ display: flex;
8
+ flex-direction: column;
9
+ align-items: flex-start;
10
+ flex: 1 0 0;
11
+ align-self: stretch;
12
+ gap: 1.5rem;
13
+
14
+ &__cta {
15
+ align-self: start;
16
+ display: block;
17
+ width: 100%;
18
+ @media ${device['portrait-tablets']} {
19
+ display: inline-block;
20
+ }
21
+ }
22
+ }
23
+ `;
@@ -0,0 +1,24 @@
1
+ import { device } from '../../../globalStyles/breakpoints'
2
+ import styled from 'styled-components'
3
+
4
+ export const RatafiaResultPageStyled = styled.div`
5
+ background-color: var(--neutral-neutral-6);
6
+
7
+ .ratafia-result-page__content {
8
+ display: flex;
9
+ flex-direction: column;
10
+ align-items: flex-start;
11
+ flex: 1 0 0;
12
+ align-self: stretch;
13
+ gap: 1.5rem;
14
+
15
+ &__cta {
16
+ align-self: start;
17
+ display: block;
18
+ width: 100%;
19
+ @media ${device['portrait-tablets']} {
20
+ display: inline-block;
21
+ }
22
+ }
23
+ }
24
+ `
@@ -0,0 +1,76 @@
1
+ import React from 'react'
2
+
3
+ import { RatafiaLoadingResultContent, RatafiaResultContent } from '../../organisms'
4
+ import { Button } from '../../atoms'
5
+ import DisclaimerRatafia from '../../atoms/DisclaimerRatafia/DisclaimerRatafia'
6
+ import { LayoutRatafia } from '../../organisms/LayoutRatafia'
7
+ import { type RatafiaResultPageProps } from './RatafiaResultPageProps.types'
8
+
9
+ import { RatafiaResultPageStyled } from './RatafiaResultPage.styled'
10
+
11
+ export const RatafiaResultPage: React.FC<RatafiaResultPageProps> = ({
12
+ header,
13
+ resultContent,
14
+ reviewContent,
15
+ tabs,
16
+ disclaimer,
17
+ cta,
18
+ loadingIcon,
19
+ loadingText,
20
+ isLoading
21
+ }) => {
22
+ const loadingContent = (
23
+ <div className='ratafia-result-page__content'>
24
+ <RatafiaLoadingResultContent documentName={resultContent.documentName} icon={loadingIcon} text={loadingText} />
25
+ </div>
26
+ )
27
+ const loadedContent = (
28
+ <div className='ratafia-result-page__content'>
29
+ <RatafiaResultContent result={resultContent} review={reviewContent} tabs={tabs} />
30
+ </div>
31
+ )
32
+
33
+ const ctaButton = isLoading ? null : (
34
+ <Button
35
+ givenClass='ratafia-result-page__content__cta'
36
+ dataQa={cta.dataQa}
37
+ color='primary'
38
+ label={cta.label}
39
+ onClick={cta.handleOnClick}
40
+ noLink
41
+ />
42
+ )
43
+
44
+ const footerDesktop = (
45
+ <div className='ratafia-result-page__footer-desktop'>
46
+ <DisclaimerRatafia
47
+ icon={disclaimer.icon}
48
+ text={disclaimer.text}
49
+ copyrightText={disclaimer.copyrightText}
50
+ ctaTextShowDisclaimer={disclaimer.ctaTextShowDisclaimer}
51
+ ctaTextCloseDisclaimer={disclaimer.ctaTextCloseDisclaimer}
52
+ />
53
+ </div>
54
+ )
55
+
56
+ const footerMobile = (
57
+ <>
58
+ {footerDesktop}
59
+ {ctaButton}
60
+ </>
61
+ )
62
+
63
+ return (
64
+ <RatafiaResultPageStyled className='ratafia-result-page'>
65
+ <LayoutRatafia
66
+ header={header}
67
+ content={isLoading ? loadingContent : loadedContent}
68
+ cta={ctaButton}
69
+ footerDesktop={footerDesktop}
70
+ footerMobile={footerMobile}
71
+ />
72
+ </RatafiaResultPageStyled>
73
+ )
74
+ }
75
+
76
+ export default RatafiaResultPage
@@ -0,0 +1,20 @@
1
+ import type { DisclaimerRatafiaProps, RatafiaResultTabProps, RatafiaReviewResultProps } from '../../atoms';
2
+ import { type HeaderRatafiaProps } from '../../molecules';
3
+ import { type RatafiaResultProps } from '../../organisms';
4
+ export interface RatafiaResultPageProps {
5
+ header: HeaderRatafiaProps;
6
+ resultContent: RatafiaResultProps;
7
+ reviewContent: RatafiaReviewResultProps;
8
+ tabs: RatafiaResultTabProps[];
9
+ disclaimer: DisclaimerRatafiaProps;
10
+ cta: RatafiaResultCta;
11
+ loadingIcon?: React.ReactNode;
12
+ loadingText?: React.ReactNode;
13
+ isLoading: boolean;
14
+ }
15
+ interface RatafiaResultCta {
16
+ label: string;
17
+ handleOnClick?: (functionParameters?: any) => () => void;
18
+ dataQa: string;
19
+ }
20
+ export {};
@@ -0,0 +1,22 @@
1
+ /* eslint-disable @typescript-eslint/no-explicit-any */
2
+ import type { DisclaimerRatafiaProps, RatafiaResultTabProps, RatafiaReviewResultProps } from '../../atoms'
3
+ import { type HeaderRatafiaProps } from '../../molecules'
4
+ import { type RatafiaResultProps } from '../../organisms'
5
+
6
+ export interface RatafiaResultPageProps {
7
+ header: HeaderRatafiaProps
8
+ resultContent: RatafiaResultProps
9
+ reviewContent: RatafiaReviewResultProps
10
+ tabs: RatafiaResultTabProps[]
11
+ disclaimer: DisclaimerRatafiaProps
12
+ cta: RatafiaResultCta
13
+ loadingIcon?: React.ReactNode
14
+ loadingText?: React.ReactNode
15
+ isLoading: boolean
16
+ }
17
+
18
+ interface RatafiaResultCta {
19
+ label: string
20
+ handleOnClick?: (functionParameters?: any) => () => void
21
+ dataQa: string
22
+ }
@@ -0,0 +1,2 @@
1
+ export { default as RatafiaResultPage } from './RatafiaResultPage';
2
+ export { type RatafiaResultPageProps } from './RatafiaResultPageProps.types';
@@ -0,0 +1 @@
1
+ export { default as RatafiaResultPage } from './RatafiaResultPage';
@@ -0,0 +1,2 @@
1
+ export { default as RatafiaResultPage } from './RatafiaResultPage'
2
+ export { type RatafiaResultPageProps } from './RatafiaResultPageProps.types'
@@ -7,6 +7,7 @@ export * from './KeyFactsResultRatafiaPage';
7
7
  export * from './LegalPage';
8
8
  export * from './LimitReachedRatafiaPage';
9
9
  export * from './RatafiaLandingPage';
10
+ export * from './RatafiaPricingPage';
11
+ export * from './RatafiaResultPage';
10
12
  export * from './UnsubscribePage';
11
13
  export * from './LoginRatafiaPage';
12
- export * from './RatafiaPricingPage';
@@ -7,6 +7,7 @@ export * from './KeyFactsResultRatafiaPage';
7
7
  export * from './LegalPage';
8
8
  export * from './LimitReachedRatafiaPage';
9
9
  export * from './RatafiaLandingPage';
10
+ export * from './RatafiaPricingPage';
11
+ export * from './RatafiaResultPage';
10
12
  export * from './UnsubscribePage';
11
13
  export * from './LoginRatafiaPage';
12
- export * from './RatafiaPricingPage';
@@ -7,6 +7,7 @@ export * from './KeyFactsResultRatafiaPage'
7
7
  export * from './LegalPage'
8
8
  export * from './LimitReachedRatafiaPage'
9
9
  export * from './RatafiaLandingPage'
10
+ export * from './RatafiaPricingPage'
11
+ export * from './RatafiaResultPage'
10
12
  export * from './UnsubscribePage'
11
13
  export * from './LoginRatafiaPage'
12
- export * from './RatafiaPricingPage'