@npm_leadtech/legal-lib-components 5.64.6 → 5.64.8

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 (170) hide show
  1. package/dist/images/jpg/aboutus-img-core-values.jpg +0 -0
  2. package/dist/images/jpg/aboutus-img-our-mission.jpg +0 -0
  3. package/dist/src/components/atoms/CardStoryItem/CardStoryItem.d.ts +4 -0
  4. package/dist/src/components/atoms/CardStoryItem/CardStoryItem.js +6 -0
  5. package/dist/src/components/atoms/CardStoryItem/CardStoryItem.styled.d.ts +1 -0
  6. package/dist/src/components/atoms/CardStoryItem/CardStoryItem.styled.js +88 -0
  7. package/dist/src/components/atoms/CardStoryItem/CardStoryItem.styled.ts +89 -0
  8. package/dist/src/components/atoms/CardStoryItem/CardStoryItem.tsx +21 -0
  9. package/dist/src/components/atoms/CardStoryItem/CardStoryItemProps.types.d.ts +5 -0
  10. package/dist/src/components/atoms/CardStoryItem/CardStoryItemProps.types.ts +5 -0
  11. package/dist/src/components/atoms/CardStoryItem/index.d.ts +2 -0
  12. package/dist/src/components/atoms/CardStoryItem/index.js +1 -0
  13. package/dist/src/components/atoms/CardStoryItem/index.ts +2 -0
  14. package/dist/src/components/atoms/index.d.ts +0 -3
  15. package/dist/src/components/atoms/index.js +0 -3
  16. package/dist/src/components/atoms/index.ts +0 -3
  17. package/dist/src/components/molecules/CardStory/CardStory.d.ts +4 -0
  18. package/dist/src/components/molecules/CardStory/CardStory.js +7 -0
  19. package/dist/src/components/molecules/CardStory/CardStory.styled.d.ts +1 -0
  20. package/dist/src/components/molecules/CardStory/CardStory.styled.js +24 -0
  21. package/dist/src/components/molecules/CardStory/CardStory.styled.ts +25 -0
  22. package/dist/src/components/molecules/CardStory/CardStory.tsx +17 -0
  23. package/dist/src/components/molecules/CardStory/CardStoryProps.types.d.ts +4 -0
  24. package/dist/src/components/molecules/CardStory/CardStoryProps.types.ts +5 -0
  25. package/dist/src/components/molecules/CardStory/index.d.ts +2 -0
  26. package/dist/src/components/molecules/CardStory/index.js +1 -0
  27. package/dist/src/components/molecules/CardStory/index.ts +2 -0
  28. package/dist/src/components/molecules/index.d.ts +0 -2
  29. package/dist/src/components/molecules/index.js +0 -2
  30. package/dist/src/components/molecules/index.ts +0 -2
  31. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.styled.js +24 -6
  32. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.styled.ts +24 -6
  33. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.js +9 -2
  34. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.js +50 -0
  35. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.ts +50 -0
  36. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.tsx +18 -3
  37. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.d.ts +6 -0
  38. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.js +6 -1
  39. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.ts +7 -0
  40. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/index.d.ts +1 -1
  41. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/index.js +1 -0
  42. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/index.ts +4 -1
  43. package/dist/src/components/organisms/index.d.ts +0 -2
  44. package/dist/src/components/organisms/index.js +0 -2
  45. package/dist/src/components/organisms/index.ts +0 -2
  46. package/dist/src/components/pages/AboutUsPage/AboutUsPage.js +3 -3
  47. package/dist/src/components/pages/AboutUsPage/AboutUsPage.tsx +7 -4
  48. package/dist/src/components/pages/AboutUsPage/AboutUsPageProps.d.ts +4 -2
  49. package/dist/src/components/pages/AboutUsPage/AboutUsPageProps.ts +4 -1
  50. package/dist/src/components/pages/index.d.ts +1 -2
  51. package/dist/src/components/pages/index.js +1 -2
  52. package/dist/src/components/pages/index.ts +1 -2
  53. package/dist/src/components/sections/AboutUsSection/AboutUsSection.styled.js +9 -13
  54. package/dist/src/components/sections/AboutUsSection/AboutUsSection.styled.ts +9 -13
  55. package/dist/src/components/sections/CardStorySection/CardStorySection.d.ts +4 -0
  56. package/dist/src/components/sections/CardStorySection/CardStorySection.js +7 -0
  57. package/dist/src/components/{atoms/RatafiaResultTab/RatafiaResultTab.styled.d.ts → sections/CardStorySection/CardStorySection.styled.d.ts} +1 -1
  58. package/dist/src/components/sections/CardStorySection/CardStorySection.styled.js +42 -0
  59. package/dist/src/components/sections/CardStorySection/CardStorySection.styled.ts +43 -0
  60. package/dist/src/components/sections/CardStorySection/CardStorySection.tsx +19 -0
  61. package/dist/src/components/sections/CardStorySection/CardStorySectionProps.types.d.ts +7 -0
  62. package/dist/src/components/sections/CardStorySection/CardStorySectionProps.types.ts +8 -0
  63. package/dist/src/components/sections/CardStorySection/index.d.ts +2 -0
  64. package/dist/src/components/sections/CardStorySection/index.js +1 -0
  65. package/dist/src/components/sections/CardStorySection/index.ts +2 -0
  66. package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.styled.js +0 -1
  67. package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.styled.ts +0 -1
  68. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.js +1 -1
  69. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.tsx +5 -1
  70. package/dist/src/components/sections/index.d.ts +1 -0
  71. package/dist/src/components/sections/index.js +1 -0
  72. package/dist/src/components/sections/index.ts +1 -0
  73. package/dist/tsconfig.build.tsbuildinfo +1 -1
  74. package/package.json +3 -6
  75. package/dist/src/components/atoms/RatafiaResultCard/RatafiaResultCard.d.ts +0 -4
  76. package/dist/src/components/atoms/RatafiaResultCard/RatafiaResultCard.js +0 -6
  77. package/dist/src/components/atoms/RatafiaResultCard/RatafiaResultCard.styled.d.ts +0 -1
  78. package/dist/src/components/atoms/RatafiaResultCard/RatafiaResultCard.styled.js +0 -39
  79. package/dist/src/components/atoms/RatafiaResultCard/RatafiaResultCard.styled.ts +0 -40
  80. package/dist/src/components/atoms/RatafiaResultCard/RatafiaResultCard.tsx +0 -18
  81. package/dist/src/components/atoms/RatafiaResultCard/RatafiaResultCardProps.types.d.ts +0 -5
  82. package/dist/src/components/atoms/RatafiaResultCard/RatafiaResultCardProps.types.ts +0 -5
  83. package/dist/src/components/atoms/RatafiaResultCard/index.d.ts +0 -2
  84. package/dist/src/components/atoms/RatafiaResultCard/index.js +0 -1
  85. package/dist/src/components/atoms/RatafiaResultCard/index.ts +0 -2
  86. package/dist/src/components/atoms/RatafiaResultTab/RatafiaResultTab.d.ts +0 -4
  87. package/dist/src/components/atoms/RatafiaResultTab/RatafiaResultTab.js +0 -6
  88. package/dist/src/components/atoms/RatafiaResultTab/RatafiaResultTab.styled.js +0 -38
  89. package/dist/src/components/atoms/RatafiaResultTab/RatafiaResultTab.styled.ts +0 -39
  90. package/dist/src/components/atoms/RatafiaResultTab/RatafiaResultTab.tsx +0 -23
  91. package/dist/src/components/atoms/RatafiaResultTab/RatafiaResultTabProps.types.d.ts +0 -9
  92. package/dist/src/components/atoms/RatafiaResultTab/RatafiaResultTabProps.types.ts +0 -9
  93. package/dist/src/components/atoms/RatafiaResultTab/index.d.ts +0 -2
  94. package/dist/src/components/atoms/RatafiaResultTab/index.js +0 -1
  95. package/dist/src/components/atoms/RatafiaResultTab/index.ts +0 -2
  96. package/dist/src/components/atoms/RatafiaReviewResult/RatafiaReviewResult.d.ts +0 -4
  97. package/dist/src/components/atoms/RatafiaReviewResult/RatafiaReviewResult.js +0 -6
  98. package/dist/src/components/atoms/RatafiaReviewResult/RatafiaReviewResult.styled.d.ts +0 -1
  99. package/dist/src/components/atoms/RatafiaReviewResult/RatafiaReviewResult.styled.js +0 -55
  100. package/dist/src/components/atoms/RatafiaReviewResult/RatafiaReviewResult.styled.ts +0 -56
  101. package/dist/src/components/atoms/RatafiaReviewResult/RatafiaReviewResult.tsx +0 -56
  102. package/dist/src/components/atoms/RatafiaReviewResult/RatafiaReviewResultProps.types.d.ts +0 -14
  103. package/dist/src/components/atoms/RatafiaReviewResult/RatafiaReviewResultProps.types.ts +0 -15
  104. package/dist/src/components/atoms/RatafiaReviewResult/index.d.ts +0 -2
  105. package/dist/src/components/atoms/RatafiaReviewResult/index.js +0 -1
  106. package/dist/src/components/atoms/RatafiaReviewResult/index.ts +0 -2
  107. package/dist/src/components/molecules/RatafiaResultCardList/RatafiaResultCardList.d.ts +0 -4
  108. package/dist/src/components/molecules/RatafiaResultCardList/RatafiaResultCardList.js +0 -9
  109. package/dist/src/components/molecules/RatafiaResultCardList/RatafiaResultCardList.styled.d.ts +0 -1
  110. package/dist/src/components/molecules/RatafiaResultCardList/RatafiaResultCardList.styled.js +0 -24
  111. package/dist/src/components/molecules/RatafiaResultCardList/RatafiaResultCardList.styled.ts +0 -25
  112. package/dist/src/components/molecules/RatafiaResultCardList/RatafiaResultCardList.tsx +0 -19
  113. package/dist/src/components/molecules/RatafiaResultCardList/RatafiaResultCardListProps.types.d.ts +0 -4
  114. package/dist/src/components/molecules/RatafiaResultCardList/RatafiaResultCardListProps.types.js +0 -1
  115. package/dist/src/components/molecules/RatafiaResultCardList/RatafiaResultCardListProps.types.ts +0 -5
  116. package/dist/src/components/molecules/RatafiaResultCardList/index.d.ts +0 -2
  117. package/dist/src/components/molecules/RatafiaResultCardList/index.js +0 -1
  118. package/dist/src/components/molecules/RatafiaResultCardList/index.ts +0 -2
  119. package/dist/src/components/molecules/RatafiaResultTabList/RatafiaResultTabList.d.ts +0 -4
  120. package/dist/src/components/molecules/RatafiaResultTabList/RatafiaResultTabList.js +0 -9
  121. package/dist/src/components/molecules/RatafiaResultTabList/RatafiaResultTabList.styled.d.ts +0 -1
  122. package/dist/src/components/molecules/RatafiaResultTabList/RatafiaResultTabList.styled.js +0 -7
  123. package/dist/src/components/molecules/RatafiaResultTabList/RatafiaResultTabList.styled.ts +0 -8
  124. package/dist/src/components/molecules/RatafiaResultTabList/RatafiaResultTabList.tsx +0 -18
  125. package/dist/src/components/molecules/RatafiaResultTabList/RatafiaResultTabListProps.types.d.ts +0 -4
  126. package/dist/src/components/molecules/RatafiaResultTabList/RatafiaResultTabListProps.types.js +0 -1
  127. package/dist/src/components/molecules/RatafiaResultTabList/RatafiaResultTabListProps.types.ts +0 -5
  128. package/dist/src/components/molecules/RatafiaResultTabList/index.d.ts +0 -2
  129. package/dist/src/components/molecules/RatafiaResultTabList/index.js +0 -1
  130. package/dist/src/components/molecules/RatafiaResultTabList/index.ts +0 -2
  131. package/dist/src/components/organisms/RatafiaLoadingResultContent/RatafiaLoadingResultContent.d.ts +0 -4
  132. package/dist/src/components/organisms/RatafiaLoadingResultContent/RatafiaLoadingResultContent.js +0 -6
  133. package/dist/src/components/organisms/RatafiaLoadingResultContent/RatafiaLoadingResultContent.styled.d.ts +0 -1
  134. package/dist/src/components/organisms/RatafiaLoadingResultContent/RatafiaLoadingResultContent.styled.js +0 -143
  135. package/dist/src/components/organisms/RatafiaLoadingResultContent/RatafiaLoadingResultContent.styled.ts +0 -144
  136. package/dist/src/components/organisms/RatafiaLoadingResultContent/RatafiaLoadingResultContent.tsx +0 -46
  137. package/dist/src/components/organisms/RatafiaLoadingResultContent/RatafiaLoadingResultContentProps.types.d.ts +0 -5
  138. package/dist/src/components/organisms/RatafiaLoadingResultContent/RatafiaLoadingResultContentProps.types.js +0 -1
  139. package/dist/src/components/organisms/RatafiaLoadingResultContent/RatafiaLoadingResultContentProps.types.ts +0 -5
  140. package/dist/src/components/organisms/RatafiaLoadingResultContent/index.d.ts +0 -2
  141. package/dist/src/components/organisms/RatafiaLoadingResultContent/index.js +0 -1
  142. package/dist/src/components/organisms/RatafiaLoadingResultContent/index.ts +0 -2
  143. package/dist/src/components/organisms/RatafiaResultContent/RatafiaResultContent.d.ts +0 -4
  144. package/dist/src/components/organisms/RatafiaResultContent/RatafiaResultContent.js +0 -9
  145. package/dist/src/components/organisms/RatafiaResultContent/RatafiaResultContent.styled.d.ts +0 -1
  146. package/dist/src/components/organisms/RatafiaResultContent/RatafiaResultContent.styled.js +0 -26
  147. package/dist/src/components/organisms/RatafiaResultContent/RatafiaResultContent.styled.ts +0 -27
  148. package/dist/src/components/organisms/RatafiaResultContent/RatafiaResultContent.tsx +0 -26
  149. package/dist/src/components/organisms/RatafiaResultContent/RatafiaResultContentProps.types.d.ts +0 -13
  150. package/dist/src/components/organisms/RatafiaResultContent/RatafiaResultContentProps.types.js +0 -1
  151. package/dist/src/components/organisms/RatafiaResultContent/RatafiaResultContentProps.types.ts +0 -16
  152. package/dist/src/components/organisms/RatafiaResultContent/index.d.ts +0 -3
  153. package/dist/src/components/organisms/RatafiaResultContent/index.js +0 -1
  154. package/dist/src/components/organisms/RatafiaResultContent/index.ts +0 -3
  155. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.scss +0 -50
  156. package/dist/src/components/pages/RatafiaResultPage/RatafiaResultPage.d.ts +0 -4
  157. package/dist/src/components/pages/RatafiaResultPage/RatafiaResultPage.js +0 -15
  158. package/dist/src/components/pages/RatafiaResultPage/RatafiaResultPage.styled.d.ts +0 -1
  159. package/dist/src/components/pages/RatafiaResultPage/RatafiaResultPage.styled.js +0 -23
  160. package/dist/src/components/pages/RatafiaResultPage/RatafiaResultPage.styled.ts +0 -24
  161. package/dist/src/components/pages/RatafiaResultPage/RatafiaResultPage.tsx +0 -76
  162. package/dist/src/components/pages/RatafiaResultPage/RatafiaResultPageProps.types.d.ts +0 -20
  163. package/dist/src/components/pages/RatafiaResultPage/RatafiaResultPageProps.types.js +0 -1
  164. package/dist/src/components/pages/RatafiaResultPage/RatafiaResultPageProps.types.ts +0 -22
  165. package/dist/src/components/pages/RatafiaResultPage/index.d.ts +0 -2
  166. package/dist/src/components/pages/RatafiaResultPage/index.js +0 -1
  167. package/dist/src/components/pages/RatafiaResultPage/index.ts +0 -2
  168. /package/dist/src/components/atoms/{RatafiaResultCard/RatafiaResultCardProps.types.js → CardStoryItem/CardStoryItemProps.types.js} +0 -0
  169. /package/dist/src/components/{atoms/RatafiaResultTab/RatafiaResultTabProps.types.js → molecules/CardStory/CardStoryProps.types.js} +0 -0
  170. /package/dist/src/components/{atoms/RatafiaReviewResult/RatafiaReviewResultProps.types.js → sections/CardStorySection/CardStorySectionProps.types.js} +0 -0
@@ -1,23 +0,0 @@
1
- import React, { type FC } from 'react'
2
-
3
- import { RatafiaResultTabProps } from './RatafiaResultTabProps.types'
4
- import { RatafiaResultTabStyled } from './RatafiaResultTab.styled'
5
-
6
- const RatafiaResultTab: FC<RatafiaResultTabProps> = ({ title, icon, activeIcon, isActive, handleOnClick, dataQa }) => {
7
- return (
8
- <RatafiaResultTabStyled
9
- className={`ratafia-result-tab${isActive ? ' --is-active' : ''}`}
10
- onClick={handleOnClick}
11
- data-qa={dataQa}
12
- >
13
- {isActive ? (
14
- <>{icon !== null && <div className='ratafia-result-tab__icon'>{activeIcon}</div>}</>
15
- ) : (
16
- <>{icon !== null && <div className='ratafia-result-tab__icon'>{icon}</div>}</>
17
- )}
18
- <p className='sans-serif --medium ratafia-result-tab__title'>{title}</p>
19
- </RatafiaResultTabStyled>
20
- )
21
- }
22
-
23
- export default RatafiaResultTab
@@ -1,9 +0,0 @@
1
- export interface RatafiaResultTabProps {
2
- id: string;
3
- title: string;
4
- icon?: React.ReactNode;
5
- activeIcon?: React.ReactNode;
6
- isActive: boolean;
7
- handleOnClick?: () => void;
8
- dataQa: string;
9
- }
@@ -1,9 +0,0 @@
1
- export interface RatafiaResultTabProps {
2
- id: string
3
- title: string
4
- icon?: React.ReactNode
5
- activeIcon?: React.ReactNode
6
- isActive: boolean
7
- handleOnClick?: () => void
8
- dataQa: string
9
- }
@@ -1,2 +0,0 @@
1
- export { default as RatafiaResultTab } from './RatafiaResultTab';
2
- export { type RatafiaResultTabProps } from './RatafiaResultTabProps.types';
@@ -1 +0,0 @@
1
- export { default as RatafiaResultTab } from './RatafiaResultTab';
@@ -1,2 +0,0 @@
1
- export { default as RatafiaResultTab } from './RatafiaResultTab'
2
- export { type RatafiaResultTabProps } from './RatafiaResultTabProps.types'
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { type RatafiaReviewResultProps } from './RatafiaReviewResultProps.types';
3
- export declare const RatafiaReviewResult: React.FC<RatafiaReviewResultProps>;
4
- export default RatafiaReviewResult;
@@ -1,6 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { RatafiaReviewResultStyled } from './RatafiaReviewResult.styled';
3
- export const RatafiaReviewResult = ({ reviewQuestion, reviewPositiveIcon, reviewPositiveText, handleOnClickReviewPositive, reviewPositiveDataQa = true, reviewNegativeIcon, reviewNegativeText, handleOnClickReviewNegative, reviewNegativeDataQa, reviewFeedbackText, review }) => {
4
- return (_jsx(RatafiaReviewResultStyled, { className: 'ratafia-review-result', children: review === null ? (_jsxs("div", { className: 'ratafia-review-result__review', children: [_jsx("p", { className: 'sans-serif ratafia-review-result__review__question', children: reviewQuestion }), _jsxs("div", { className: 'ratafia-review-result__review__buttons', children: [_jsxs("button", { className: 'ratafia-review-result__review__buttons__item', onClick: handleOnClickReviewPositive, "data-qa": reviewPositiveDataQa, children: [_jsx("div", { className: 'ratafia-review-result__review__buttons__item__icon', children: reviewPositiveIcon }), _jsx("p", { className: 'sans-serif --small ratafia-review-result__review__buttons__item__text positive', children: reviewPositiveText })] }), _jsxs("button", { className: 'ratafia-review-result__review__buttons__item', onClick: handleOnClickReviewNegative, "data-qa": reviewNegativeDataQa, children: [_jsx("div", { className: 'ratafia-review-result__review__buttons__item__icon', children: reviewNegativeIcon }), _jsx("p", { className: 'sans-serif --small ratafia-review-result__review__buttons__item__text negative', children: reviewNegativeText })] })] })] })) : (_jsx("div", { className: 'ratafia-review-result__review', children: _jsx("p", { className: 'sans-serif --small ratafia-review-result__review__question', children: reviewFeedbackText }) })) }));
5
- };
6
- export default RatafiaReviewResult;
@@ -1 +0,0 @@
1
- export declare const RatafiaReviewResultStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;
@@ -1,55 +0,0 @@
1
- import { device } from '../../../globalStyles/breakpoints';
2
- import styled from 'styled-components';
3
- export const RatafiaReviewResultStyled = styled.section `
4
- .ratafia-review-result {
5
- &__review {
6
- display: flex;
7
- justify-content: start;
8
- align-items: center;
9
- gap: var(--global-gap);
10
-
11
- border-radius: var(--s-border-radius);
12
- background: var(--others-white);
13
-
14
- &__question {
15
- color: var(--neutral-neutral-1);
16
- font-size: 0.75rem;
17
- @media ${device['portrait-tablets']} {
18
- font-size: 0.875rem;
19
- }
20
- }
21
-
22
- &__buttons {
23
- display: flex;
24
- justify-content: center;
25
- align-items: center;
26
- gap: 0.5rem;
27
-
28
- &__item {
29
- display: flex;
30
- padding: 0.25rem 0.5rem;
31
- justify-content: center;
32
- align-items: center;
33
- gap: 0.25rem;
34
- flex: 1 0 0;
35
-
36
- border: none;
37
- border-radius: var(--s-border-radius);
38
- background: var(--neutral-neutral-6);
39
-
40
- cursor: pointer;
41
-
42
- &__icon {
43
- width: 14px;
44
- }
45
- .positive {
46
- color: var(--primary-main);
47
- }
48
- .negative {
49
- color: var(--error-main);
50
- }
51
- }
52
- }
53
- }
54
- }
55
- `;
@@ -1,56 +0,0 @@
1
- import { device } from '../../../globalStyles/breakpoints'
2
- import styled from 'styled-components'
3
-
4
- export const RatafiaReviewResultStyled = styled.section`
5
- .ratafia-review-result {
6
- &__review {
7
- display: flex;
8
- justify-content: start;
9
- align-items: center;
10
- gap: var(--global-gap);
11
-
12
- border-radius: var(--s-border-radius);
13
- background: var(--others-white);
14
-
15
- &__question {
16
- color: var(--neutral-neutral-1);
17
- font-size: 0.75rem;
18
- @media ${device['portrait-tablets']} {
19
- font-size: 0.875rem;
20
- }
21
- }
22
-
23
- &__buttons {
24
- display: flex;
25
- justify-content: center;
26
- align-items: center;
27
- gap: 0.5rem;
28
-
29
- &__item {
30
- display: flex;
31
- padding: 0.25rem 0.5rem;
32
- justify-content: center;
33
- align-items: center;
34
- gap: 0.25rem;
35
- flex: 1 0 0;
36
-
37
- border: none;
38
- border-radius: var(--s-border-radius);
39
- background: var(--neutral-neutral-6);
40
-
41
- cursor: pointer;
42
-
43
- &__icon {
44
- width: 14px;
45
- }
46
- .positive {
47
- color: var(--primary-main);
48
- }
49
- .negative {
50
- color: var(--error-main);
51
- }
52
- }
53
- }
54
- }
55
- }
56
- `
@@ -1,56 +0,0 @@
1
- import React from 'react'
2
-
3
- import { type RatafiaReviewResultProps } from './RatafiaReviewResultProps.types'
4
- import { RatafiaReviewResultStyled } from './RatafiaReviewResult.styled'
5
-
6
- export const RatafiaReviewResult: React.FC<RatafiaReviewResultProps> = ({
7
- reviewQuestion,
8
- reviewPositiveIcon,
9
- reviewPositiveText,
10
- handleOnClickReviewPositive,
11
- reviewPositiveDataQa = true,
12
- reviewNegativeIcon,
13
- reviewNegativeText,
14
- handleOnClickReviewNegative,
15
- reviewNegativeDataQa,
16
- reviewFeedbackText,
17
- review
18
- }) => {
19
- return (
20
- <RatafiaReviewResultStyled className='ratafia-review-result'>
21
- {review === null ? (
22
- <div className='ratafia-review-result__review'>
23
- <p className='sans-serif ratafia-review-result__review__question'>{reviewQuestion}</p>
24
- <div className='ratafia-review-result__review__buttons'>
25
- <button
26
- className='ratafia-review-result__review__buttons__item'
27
- onClick={handleOnClickReviewPositive}
28
- data-qa={reviewPositiveDataQa}
29
- >
30
- <div className='ratafia-review-result__review__buttons__item__icon'>{reviewPositiveIcon}</div>
31
- <p className='sans-serif --small ratafia-review-result__review__buttons__item__text positive'>
32
- {reviewPositiveText}
33
- </p>
34
- </button>
35
- <button
36
- className='ratafia-review-result__review__buttons__item'
37
- onClick={handleOnClickReviewNegative}
38
- data-qa={reviewNegativeDataQa}
39
- >
40
- <div className='ratafia-review-result__review__buttons__item__icon'>{reviewNegativeIcon}</div>
41
- <p className='sans-serif --small ratafia-review-result__review__buttons__item__text negative'>
42
- {reviewNegativeText}
43
- </p>
44
- </button>
45
- </div>
46
- </div>
47
- ) : (
48
- <div className='ratafia-review-result__review'>
49
- <p className='sans-serif --small ratafia-review-result__review__question'>{reviewFeedbackText}</p>
50
- </div>
51
- )}
52
- </RatafiaReviewResultStyled>
53
- )
54
- }
55
-
56
- export default RatafiaReviewResult
@@ -1,14 +0,0 @@
1
- import type { MouseEventHandler } from 'react';
2
- export interface RatafiaReviewResultProps {
3
- reviewQuestion: string;
4
- reviewPositiveIcon?: React.ReactNode;
5
- reviewPositiveText: string;
6
- reviewPositiveDataQa: string;
7
- handleOnClickReviewPositive?: MouseEventHandler;
8
- reviewNegativeIcon?: React.ReactNode;
9
- reviewNegativeText: string;
10
- reviewNegativeDataQa: string;
11
- handleOnClickReviewNegative?: MouseEventHandler;
12
- reviewFeedbackText: string;
13
- review: boolean | null;
14
- }
@@ -1,15 +0,0 @@
1
- import type { MouseEventHandler } from 'react'
2
-
3
- export interface RatafiaReviewResultProps {
4
- reviewQuestion: string
5
- reviewPositiveIcon?: React.ReactNode
6
- reviewPositiveText: string
7
- reviewPositiveDataQa: string
8
- handleOnClickReviewPositive?: MouseEventHandler
9
- reviewNegativeIcon?: React.ReactNode
10
- reviewNegativeText: string
11
- reviewNegativeDataQa: string
12
- handleOnClickReviewNegative?: MouseEventHandler
13
- reviewFeedbackText: string
14
- review: boolean | null
15
- }
@@ -1,2 +0,0 @@
1
- export { default as RatafiaReviewResult } from './RatafiaReviewResult';
2
- export { type RatafiaReviewResultProps } from './RatafiaReviewResultProps.types';
@@ -1 +0,0 @@
1
- export { default as RatafiaReviewResult } from './RatafiaReviewResult';
@@ -1,2 +0,0 @@
1
- export { default as RatafiaReviewResult } from './RatafiaReviewResult'
2
- export { type RatafiaReviewResultProps } from './RatafiaReviewResultProps.types'
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { type RatafiaResultCardListProps } from './RatafiaResultCardListProps.types';
3
- export declare const RatafiaResultCardList: React.FC<RatafiaResultCardListProps>;
4
- export default RatafiaResultCardList;
@@ -1,9 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { RatafiaResultCard } from '../../atoms';
3
- import { RatafiaResultCardListStyled } from './RatafiaResultCardList.styled';
4
- export const RatafiaResultCardList = ({ keyFacts }) => {
5
- if (keyFacts.length === 0)
6
- return null;
7
- return (_jsx(RatafiaResultCardListStyled, { className: 'ratafia-result-card-list', children: keyFacts.map((keyFact) => (_jsx(RatafiaResultCard, { ...keyFact }, keyFact.id))) }));
8
- };
9
- export default RatafiaResultCardList;
@@ -1 +0,0 @@
1
- export declare const RatafiaResultCardListStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -1,24 +0,0 @@
1
- import { device } from '../../../globalStyles/breakpoints';
2
- import styled from 'styled-components';
3
- export const RatafiaResultCardListStyled = styled.div `
4
- display: flex;
5
- flex-direction: column;
6
- align-items: flex-start;
7
- flex: 1 0 0;
8
- align-self: stretch;
9
-
10
- margin-bottom: 1rem;
11
- padding: 0 2rem 1.5rem 1.5rem;
12
- gap: 0.5rem;
13
-
14
- border-radius: var(--s-border-radius);
15
- border-top: 4px solid var(--neutral-neutral-6);
16
- border-bottom: 8px solid var(--neutral-neutral-6);
17
- background: var(--neutral-neutral-6);
18
-
19
- height: calc(100vh - 27.5rem);
20
- @media ${device['portrait-tablets']} {
21
- height: calc(100vh - 35.5rem);
22
- }
23
- overflow-y: auto;
24
- `;
@@ -1,25 +0,0 @@
1
- import { device } from '../../../globalStyles/breakpoints'
2
- import styled from 'styled-components'
3
-
4
- export const RatafiaResultCardListStyled = styled.div`
5
- display: flex;
6
- flex-direction: column;
7
- align-items: flex-start;
8
- flex: 1 0 0;
9
- align-self: stretch;
10
-
11
- margin-bottom: 1rem;
12
- padding: 0 2rem 1.5rem 1.5rem;
13
- gap: 0.5rem;
14
-
15
- border-radius: var(--s-border-radius);
16
- border-top: 4px solid var(--neutral-neutral-6);
17
- border-bottom: 8px solid var(--neutral-neutral-6);
18
- background: var(--neutral-neutral-6);
19
-
20
- height: calc(100vh - 27.5rem);
21
- @media ${device['portrait-tablets']} {
22
- height: calc(100vh - 35.5rem);
23
- }
24
- overflow-y: auto;
25
- `
@@ -1,19 +0,0 @@
1
- import React from 'react'
2
-
3
- import { RatafiaResultCard } from '../../atoms'
4
- import { type RatafiaResultCardListProps } from './RatafiaResultCardListProps.types'
5
- import { RatafiaResultCardListStyled } from './RatafiaResultCardList.styled'
6
-
7
- export const RatafiaResultCardList: React.FC<RatafiaResultCardListProps> = ({ keyFacts }) => {
8
- if (keyFacts.length === 0) return null
9
-
10
- return (
11
- <RatafiaResultCardListStyled className='ratafia-result-card-list'>
12
- {keyFacts.map((keyFact) => (
13
- <RatafiaResultCard key={keyFact.id} {...keyFact} />
14
- ))}
15
- </RatafiaResultCardListStyled>
16
- )
17
- }
18
-
19
- export default RatafiaResultCardList
@@ -1,4 +0,0 @@
1
- import { type RatafiaResultCardProps } from '../../atoms';
2
- export interface RatafiaResultCardListProps {
3
- keyFacts: RatafiaResultCardProps[];
4
- }
@@ -1,5 +0,0 @@
1
- import { type RatafiaResultCardProps } from '../../atoms'
2
-
3
- export interface RatafiaResultCardListProps {
4
- keyFacts: RatafiaResultCardProps[]
5
- }
@@ -1,2 +0,0 @@
1
- export { default as RatafiaResultCardList } from './RatafiaResultCardList';
2
- export { type RatafiaResultCardListProps } from './RatafiaResultCardListProps.types';
@@ -1 +0,0 @@
1
- export { default as RatafiaResultCardList } from './RatafiaResultCardList';
@@ -1,2 +0,0 @@
1
- export { default as RatafiaResultCardList } from './RatafiaResultCardList'
2
- export { type RatafiaResultCardListProps } from './RatafiaResultCardListProps.types'
@@ -1,4 +0,0 @@
1
- import { type FC } from 'react';
2
- import { RatafiaResultTabListProps } from './RatafiaResultTabListProps.types';
3
- declare const RatafiaResultTabList: FC<RatafiaResultTabListProps>;
4
- export default RatafiaResultTabList;
@@ -1,9 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { RatafiaResultTab } from '../../atoms';
3
- import { RatafiaResultTabListStyled } from './RatafiaResultTabList.styled';
4
- const RatafiaResultTabList = ({ tabs = [] }) => {
5
- if (tabs.length === 0)
6
- return null;
7
- return (_jsx(RatafiaResultTabListStyled, { className: 'ratafia-result-tab-list', children: tabs.map((tab) => (_jsx(RatafiaResultTab, { ...tab }, tab.id))) }));
8
- };
9
- export default RatafiaResultTabList;
@@ -1 +0,0 @@
1
- export declare const RatafiaResultTabListStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -1,7 +0,0 @@
1
- import styled from 'styled-components';
2
- export const RatafiaResultTabListStyled = styled.div `
3
- display: flex;
4
- align-items: center;
5
- gap: 0.5rem;
6
- align-self: stretch;
7
- `;
@@ -1,8 +0,0 @@
1
- import styled from 'styled-components'
2
-
3
- export const RatafiaResultTabListStyled = styled.div`
4
- display: flex;
5
- align-items: center;
6
- gap: 0.5rem;
7
- align-self: stretch;
8
- `
@@ -1,18 +0,0 @@
1
- import React, { type FC } from 'react'
2
-
3
- import { RatafiaResultTab } from '../../atoms'
4
- import { RatafiaResultTabListProps } from './RatafiaResultTabListProps.types'
5
- import { RatafiaResultTabListStyled } from './RatafiaResultTabList.styled'
6
-
7
- const RatafiaResultTabList: FC<RatafiaResultTabListProps> = ({ tabs = [] }) => {
8
- if (tabs.length === 0) return null
9
-
10
- return (
11
- <RatafiaResultTabListStyled className='ratafia-result-tab-list'>
12
- {tabs.map((tab) => (
13
- <RatafiaResultTab key={tab.id} {...tab} />
14
- ))}
15
- </RatafiaResultTabListStyled>
16
- )
17
- }
18
- export default RatafiaResultTabList
@@ -1,4 +0,0 @@
1
- import { RatafiaResultTabProps } from '../../atoms';
2
- export interface RatafiaResultTabListProps {
3
- tabs: RatafiaResultTabProps[];
4
- }
@@ -1,5 +0,0 @@
1
- import { RatafiaResultTabProps } from '../../atoms'
2
-
3
- export interface RatafiaResultTabListProps {
4
- tabs: RatafiaResultTabProps[]
5
- }
@@ -1,2 +0,0 @@
1
- export { default as RatafiaResultTabList } from './RatafiaResultTabList';
2
- export { type RatafiaResultTabListProps } from './RatafiaResultTabListProps.types';
@@ -1 +0,0 @@
1
- export { default as RatafiaResultTabList } from './RatafiaResultTabList';
@@ -1,2 +0,0 @@
1
- export { default as RatafiaResultTabList } from './RatafiaResultTabList'
2
- export { type RatafiaResultTabListProps } from './RatafiaResultTabListProps.types'
@@ -1,4 +0,0 @@
1
- import React from 'react';
2
- import { type RatafiaLoadingResultContentProps } from './RatafiaLoadingResultContentProps.types';
3
- export declare const RatafiaLoadingResultContent: React.FC<RatafiaLoadingResultContentProps>;
4
- export default RatafiaLoadingResultContent;
@@ -1,6 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { RatafiaLoadingResultContentStyled } from './RatafiaLoadingResultContent.styled';
3
- export const RatafiaLoadingResultContent = ({ documentName, icon, text }) => {
4
- return (_jsxs(RatafiaLoadingResultContentStyled, { children: [_jsx("h2", { className: 'sans-serif --bold-weight ratafia-result-loading-content__document-name', children: documentName }), _jsxs("div", { className: 'ratafia-result-loading-content__animation-wrapper', children: [_jsxs("div", { className: 'ratafia-result-loading-content__animation-wrapper__animation animation-1', children: [_jsx("div", { className: 'ratafia-result-loading-content__animation-wrapper__animation__loader item-1' }), _jsx("div", { className: 'ratafia-result-loading-content__animation-wrapper__animation__loader item-6' }), _jsx("div", { className: 'ratafia-result-loading-content__animation-wrapper__animation__loader item-2' })] }), _jsxs("div", { className: 'ratafia-result-loading-content__animation-wrapper__animation animation-2', children: [_jsx("div", { className: 'ratafia-result-loading-content__animation-wrapper__animation__loader item-3' }), _jsx("div", { className: 'ratafia-result-loading-content__animation-wrapper__animation__loader item-4' }), _jsx("div", { className: 'ratafia-result-loading-content__animation-wrapper__animation__loader item-5' }), _jsx("div", { className: 'ratafia-result-loading-content__animation-wrapper__animation__loader item-6' })] }), _jsxs("div", { className: 'ratafia-result-loading-content__animation-wrapper__animation animation-3', children: [_jsx("div", { className: 'ratafia-result-loading-content__animation-wrapper__animation__loader item-1' }), _jsx("div", { className: 'ratafia-result-loading-content__animation-wrapper__animation__loader item-7' }), _jsx("div", { className: 'ratafia-result-loading-content__animation-wrapper__animation__loader item-4' })] }), _jsxs("div", { className: 'ratafia-result-loading-content__animation-wrapper__animation animation-4', children: [_jsx("div", { className: 'ratafia-result-loading-content__animation-wrapper__animation__loader item-3' }), _jsx("div", { className: 'ratafia-result-loading-content__animation-wrapper__animation__loader item-8' }), _jsx("div", { className: 'ratafia-result-loading-content__animation-wrapper__animation__loader item-2' }), _jsx("div", { className: 'ratafia-result-loading-content__animation-wrapper__animation__loader item-6' })] })] }), _jsxs("div", { className: 'ratafia-result-loading-content__message', children: [_jsx("div", { className: 'ratafia-result-loading-content__message__icon', children: icon }), _jsx("span", { className: 'sans-serif --medium ratafia-result-loading-content__message__text', children: text })] })] }));
5
- };
6
- export default RatafiaLoadingResultContent;
@@ -1 +0,0 @@
1
- export declare const RatafiaLoadingResultContentStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;