@npm_leadtech/legal-lib-components 5.79.5 → 5.80.0

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 (23) hide show
  1. package/dist/src/components/atoms/ExpertCard/ExpertCard.js +1 -1
  2. package/dist/src/components/atoms/ExpertCard/ExpertCard.styled.js +25 -24
  3. package/dist/src/components/atoms/ExpertCard/ExpertCard.styled.ts +25 -24
  4. package/dist/src/components/atoms/ExpertCard/ExpertCard.tsx +8 -9
  5. package/dist/src/components/atoms/RatafiaReviewResult/RatafiaReviewResult.js +2 -2
  6. package/dist/src/components/atoms/RatafiaReviewResult/RatafiaReviewResult.tsx +4 -1
  7. package/dist/src/components/atoms/RatafiaReviewResult/RatafiaReviewResultProps.types.d.ts +1 -0
  8. package/dist/src/components/atoms/RatafiaReviewResult/RatafiaReviewResultProps.types.ts +1 -0
  9. package/dist/src/components/molecules/ExpertCardList/ExpertCardList.styled.js +3 -2
  10. package/dist/src/components/molecules/ExpertCardList/ExpertCardList.styled.ts +3 -2
  11. package/dist/src/components/organisms/RatafiaLoadingResultContent/RatafiaLoadingResultContent.js +2 -2
  12. package/dist/src/components/organisms/RatafiaLoadingResultContent/RatafiaLoadingResultContent.tsx +5 -3
  13. package/dist/src/components/organisms/RatafiaLoadingResultContent/RatafiaLoadingResultContentProps.types.d.ts +2 -0
  14. package/dist/src/components/organisms/RatafiaLoadingResultContent/RatafiaLoadingResultContentProps.types.ts +2 -0
  15. package/dist/src/components/sections/ExpertsSection/ExpertsSection.js +2 -2
  16. package/dist/src/components/sections/ExpertsSection/ExpertsSection.styled.js +3 -12
  17. package/dist/src/components/sections/ExpertsSection/ExpertsSection.styled.ts +3 -12
  18. package/dist/src/components/sections/ExpertsSection/ExpertsSection.tsx +1 -2
  19. package/dist/src/components/sections/ExpertsSection/ExpertsSectionProps.types.d.ts +0 -2
  20. package/dist/src/components/sections/ExpertsSection/ExpertsSectionProps.types.ts +0 -2
  21. package/package.json +1 -1
  22. package/dist/images/png/about-us-dena.png +0 -0
  23. package/dist/images/png/about-us-grover.png +0 -0
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { ExpertCardStyled } from './ExpertCard.styled';
3
3
  const ExpertCard = ({ title, url, description, image }) => {
4
- return (_jsx(ExpertCardStyled, { className: 'expert-card', children: _jsxs("div", { className: 'expert-card__box', children: [_jsx("div", { className: 'expert-card__image', children: image }), _jsxs("div", { className: 'expert-card__texts', children: [url != null && (_jsx("a", { className: 'expert-card__title', href: url, children: title })), url == null && _jsx("p", { className: 'expert-card__title', children: title }), _jsx("p", { className: 'expert-card__description', children: description })] })] }) }));
4
+ return (_jsx(ExpertCardStyled, { className: 'expert-card', children: _jsxs("div", { className: 'expert-card__box', children: [_jsx("div", { className: 'expert-card__image', children: image }), url != null && (_jsx("a", { className: 'expert-card__title', href: url, children: title })), url == null && _jsx("p", { className: 'expert-card__title', children: title }), _jsx("p", { className: 'expert-card__description', children: description })] }) }));
5
5
  };
6
6
  export default ExpertCard;
@@ -4,62 +4,63 @@ export const ExpertCardStyled = styled.div `
4
4
  display: flex;
5
5
  align-items: center;
6
6
  justify-content: center;
7
+ margin-top: 10rem;
8
+
9
+ &:first-child {
10
+ margin-top: 5rem;
11
+ }
12
+
13
+ @media ${device['landscape-tablets']} {
14
+ margin-top: 5rem;
15
+ }
7
16
 
8
17
  .expert-card {
9
18
  &__box {
10
19
  background-color: white;
11
- border-radius: 1rem;
12
- //box-shadow: var(--box-shadow-container);
20
+ border-radius: 0.3rem;
21
+ box-shadow: var(--box-shadow-container);
22
+ padding: 7rem 2rem 0 2rem;
23
+ min-height: 13rem;
13
24
  display: flex;
14
- flex-direction: row;
25
+ flex-direction: column;
15
26
  align-items: center;
16
27
  justify-content: flex-start;
17
- width: 330px;
18
- padding: 16px;
19
- align-items: center;
20
- gap: 24px;
28
+ width: 17.625rem;
29
+ margin-left: 0;
21
30
 
22
- @media ${device['laptop']} {
23
- width: 383px;
31
+ @media ${device['landscape-tablets']} {
32
+ margin-left: 2rem;
24
33
  }
25
34
  }
26
35
 
27
36
  &__image {
28
- min-width: 117px;
37
+ position: absolute;
38
+ transform: translateY(-115%);
39
+
29
40
  img {
30
- width: 117px;
31
- height: auto;
32
- border-radius: 8px;
41
+ border-radius: 100%;
33
42
  }
34
43
  }
35
44
 
36
- &__texts {
37
- display: flex;
38
- flex-direction: column;
39
- align-items: start;
40
- justify-content: left;
41
- }
42
-
43
45
  &__title {
44
46
  font-family: var(--font-sans);
45
47
  font-size: 18px;
46
48
  font-weight: 700;
47
49
  line-height: 1.5rem;
48
50
  letter-spacing: -0.3px;
51
+ text-align: center;
49
52
  width: 75%;
50
53
  text-decoration: none;
51
- margin-bottom: 0.6rem;
52
- min-width: fit-content;
53
54
  }
54
55
 
55
56
  &__description {
56
57
  font-family: var(--font-sans);
57
- color: var(--neutral-neutral-1);
58
58
  font-size: 16px;
59
- font-style: normal;
60
59
  font-weight: 400;
61
60
  line-height: 22px;
62
61
  letter-spacing: -0.3px;
62
+ text-align: center;
63
+ width: 75%;
63
64
  }
64
65
  }
65
66
  `;
@@ -5,62 +5,63 @@ export const ExpertCardStyled = styled.div`
5
5
  display: flex;
6
6
  align-items: center;
7
7
  justify-content: center;
8
+ margin-top: 10rem;
9
+
10
+ &:first-child {
11
+ margin-top: 5rem;
12
+ }
13
+
14
+ @media ${device['landscape-tablets']} {
15
+ margin-top: 5rem;
16
+ }
8
17
 
9
18
  .expert-card {
10
19
  &__box {
11
20
  background-color: white;
12
- border-radius: 1rem;
13
- //box-shadow: var(--box-shadow-container);
21
+ border-radius: 0.3rem;
22
+ box-shadow: var(--box-shadow-container);
23
+ padding: 7rem 2rem 0 2rem;
24
+ min-height: 13rem;
14
25
  display: flex;
15
- flex-direction: row;
26
+ flex-direction: column;
16
27
  align-items: center;
17
28
  justify-content: flex-start;
18
- width: 330px;
19
- padding: 16px;
20
- align-items: center;
21
- gap: 24px;
29
+ width: 17.625rem;
30
+ margin-left: 0;
22
31
 
23
- @media ${device['laptop']} {
24
- width: 383px;
32
+ @media ${device['landscape-tablets']} {
33
+ margin-left: 2rem;
25
34
  }
26
35
  }
27
36
 
28
37
  &__image {
29
- min-width: 117px;
38
+ position: absolute;
39
+ transform: translateY(-115%);
40
+
30
41
  img {
31
- width: 117px;
32
- height: auto;
33
- border-radius: 8px;
42
+ border-radius: 100%;
34
43
  }
35
44
  }
36
45
 
37
- &__texts {
38
- display: flex;
39
- flex-direction: column;
40
- align-items: start;
41
- justify-content: left;
42
- }
43
-
44
46
  &__title {
45
47
  font-family: var(--font-sans);
46
48
  font-size: 18px;
47
49
  font-weight: 700;
48
50
  line-height: 1.5rem;
49
51
  letter-spacing: -0.3px;
52
+ text-align: center;
50
53
  width: 75%;
51
54
  text-decoration: none;
52
- margin-bottom: 0.6rem;
53
- min-width: fit-content;
54
55
  }
55
56
 
56
57
  &__description {
57
58
  font-family: var(--font-sans);
58
- color: var(--neutral-neutral-1);
59
59
  font-size: 16px;
60
- font-style: normal;
61
60
  font-weight: 400;
62
61
  line-height: 22px;
63
62
  letter-spacing: -0.3px;
63
+ text-align: center;
64
+ width: 75%;
64
65
  }
65
66
  }
66
67
  `
@@ -8,15 +8,14 @@ const ExpertCard: FC<ExpertCardProps> = ({ title, url, description, image }) =>
8
8
  <ExpertCardStyled className='expert-card'>
9
9
  <div className='expert-card__box'>
10
10
  <div className='expert-card__image'>{image}</div>
11
- <div className='expert-card__texts'>
12
- {url != null && (
13
- <a className='expert-card__title' href={url}>
14
- {title}
15
- </a>
16
- )}
17
- {url == null && <p className='expert-card__title'>{title}</p>}
18
- <p className='expert-card__description'>{description}</p>
19
- </div>
11
+ {url != null && (
12
+ <a className='expert-card__title' href={url}>
13
+ {title}
14
+ </a>
15
+ )}
16
+ {url == null && <p className='expert-card__title'>{title}</p>}
17
+
18
+ <p className='expert-card__description'>{description}</p>
20
19
  </div>
21
20
  </ExpertCardStyled>
22
21
  )
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
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 }) })) }));
3
+ export const RatafiaReviewResult = ({ reviewQuestion, reviewPositiveIcon, reviewPositiveText, handleOnClickReviewPositive, reviewPositiveDataQa = true, reviewNegativeIcon, reviewNegativeText, handleOnClickReviewNegative, reviewNegativeDataQa, reviewFeedbackText, reviewFeedBackTextDataQa = 'lawgenius_review_feedback_text', 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', "data-qa": reviewFeedBackTextDataQa, children: reviewFeedbackText }) })) }));
5
5
  };
6
6
  export default RatafiaReviewResult;
@@ -14,6 +14,7 @@ export const RatafiaReviewResult: React.FC<RatafiaReviewResultProps> = ({
14
14
  handleOnClickReviewNegative,
15
15
  reviewNegativeDataQa,
16
16
  reviewFeedbackText,
17
+ reviewFeedBackTextDataQa = 'lawgenius_review_feedback_text',
17
18
  review
18
19
  }) => {
19
20
  return (
@@ -46,7 +47,9 @@ export const RatafiaReviewResult: React.FC<RatafiaReviewResultProps> = ({
46
47
  </div>
47
48
  ) : (
48
49
  <div className='ratafia-review-result__review'>
49
- <p className='sans-serif --small ratafia-review-result__review__question'>{reviewFeedbackText}</p>
50
+ <p className='sans-serif --small ratafia-review-result__review__question' data-qa={reviewFeedBackTextDataQa}>
51
+ {reviewFeedbackText}
52
+ </p>
50
53
  </div>
51
54
  )}
52
55
  </RatafiaReviewResultStyled>
@@ -10,5 +10,6 @@ export interface RatafiaReviewResultProps {
10
10
  reviewNegativeDataQa: string;
11
11
  handleOnClickReviewNegative?: MouseEventHandler;
12
12
  reviewFeedbackText: string;
13
+ reviewFeedBackTextDataQa?: string;
13
14
  review: boolean | null;
14
15
  }
@@ -11,5 +11,6 @@ export interface RatafiaReviewResultProps {
11
11
  reviewNegativeDataQa: string
12
12
  handleOnClickReviewNegative?: MouseEventHandler
13
13
  reviewFeedbackText: string
14
+ reviewFeedBackTextDataQa?: string
14
15
  review: boolean | null
15
16
  }
@@ -3,11 +3,12 @@ import styled from 'styled-components';
3
3
  export const ExpertCardListStyled = styled.div `
4
4
  display: flex;
5
5
  flex-flow: column;
6
- gap: 2rem;
6
+ gap: 0 2rem;
7
7
  justify-content: center;
8
- margin: 2rem 0 0 0;
8
+ margin: 2rem 0 3rem 0;
9
9
 
10
10
  @media ${device['landscape-tablets']} {
11
11
  flex-flow: row wrap;
12
+ gap: 5rem 2rem;
12
13
  }
13
14
  `;
@@ -4,11 +4,12 @@ import styled from 'styled-components'
4
4
  export const ExpertCardListStyled = styled.div`
5
5
  display: flex;
6
6
  flex-flow: column;
7
- gap: 2rem;
7
+ gap: 0 2rem;
8
8
  justify-content: center;
9
- margin: 2rem 0 0 0;
9
+ margin: 2rem 0 3rem 0;
10
10
 
11
11
  @media ${device['landscape-tablets']} {
12
12
  flex-flow: row wrap;
13
+ gap: 5rem 2rem;
13
14
  }
14
15
  `
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
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 })] })] }));
3
+ export const RatafiaLoadingResultContent = ({ documentName, icon, text, loadingContentDataQa = 'lawgenius_loading_result_content', loadingMessageDataQa = 'lawgenius_loading_result_message' }) => {
4
+ return (_jsxs(RatafiaLoadingResultContentStyled, { "data-qa": loadingContentDataQa, 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', "data-qa": loadingMessageDataQa, 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
5
  };
6
6
  export default RatafiaLoadingResultContent;
@@ -6,10 +6,12 @@ import { RatafiaLoadingResultContentStyled } from './RatafiaLoadingResultContent
6
6
  export const RatafiaLoadingResultContent: React.FC<RatafiaLoadingResultContentProps> = ({
7
7
  documentName,
8
8
  icon,
9
- text
9
+ text,
10
+ loadingContentDataQa = 'lawgenius_loading_result_content',
11
+ loadingMessageDataQa = 'lawgenius_loading_result_message'
10
12
  }) => {
11
13
  return (
12
- <RatafiaLoadingResultContentStyled>
14
+ <RatafiaLoadingResultContentStyled data-qa={loadingContentDataQa}>
13
15
  <h2 className='sans-serif --bold-weight ratafia-result-loading-content__document-name'>{documentName}</h2>
14
16
  <div className='ratafia-result-loading-content__animation-wrapper'>
15
17
  <div className='ratafia-result-loading-content__animation-wrapper__animation animation-1'>
@@ -35,7 +37,7 @@ export const RatafiaLoadingResultContent: React.FC<RatafiaLoadingResultContentPr
35
37
  <div className='ratafia-result-loading-content__animation-wrapper__animation__loader item-6'></div>
36
38
  </div>
37
39
  </div>
38
- <div className='ratafia-result-loading-content__message'>
40
+ <div className='ratafia-result-loading-content__message' data-qa={loadingMessageDataQa}>
39
41
  <div className='ratafia-result-loading-content__message__icon'>{icon}</div>
40
42
  <span className='sans-serif --medium ratafia-result-loading-content__message__text'>{text}</span>
41
43
  </div>
@@ -2,4 +2,6 @@ export interface RatafiaLoadingResultContentProps {
2
2
  documentName: string;
3
3
  icon?: React.ReactNode;
4
4
  text?: React.ReactNode;
5
+ loadingContentDataQa?: string;
6
+ loadingMessageDataQa?: string;
5
7
  }
@@ -2,4 +2,6 @@ export interface RatafiaLoadingResultContentProps {
2
2
  documentName: string
3
3
  icon?: React.ReactNode
4
4
  text?: React.ReactNode
5
+ loadingContentDataQa?: string
6
+ loadingMessageDataQa?: string
5
7
  }
@@ -1,10 +1,10 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { ExpertCardList } from '../../molecules';
3
3
  import { ExpertsSectionStyled } from './ExpertsSection.styled';
4
- const ExpertsSection = ({ title, description, contentExpertCardList }) => {
4
+ const ExpertsSection = ({ title, contentExpertCardList }) => {
5
5
  if (contentExpertCardList.contentExpertCard.length === 0) {
6
6
  return null;
7
7
  }
8
- return (_jsxs(ExpertsSectionStyled, { className: 'experts-section', children: [_jsx("h2", { className: 'experts-section__title', children: title }), _jsx("div", { className: 'experts-section__description', children: description }), _jsx(ExpertCardList, { contentExpertCard: contentExpertCardList.contentExpertCard })] }));
8
+ return (_jsxs(ExpertsSectionStyled, { className: 'experts-section', children: [_jsx("h2", { className: 'experts-section__title', children: title }), _jsx(ExpertCardList, { contentExpertCard: contentExpertCardList.contentExpertCard })] }));
9
9
  };
10
10
  export default ExpertsSection;
@@ -4,18 +4,13 @@ export const ExpertsSectionStyled = styled.div `
4
4
  display: flex;
5
5
  justify-content: center;
6
6
  flex-direction: column;
7
- background-color: var(--primary-main-light-6);
8
- padding: 0 1.5rem 2rem 1.5rem;
9
-
10
- @media ${device['landscape-tablets']} {
11
- padding: 0 1.5rem 3rem 1.5rem;
12
- }
7
+ background-color: var(--neutral-neutral-6);
13
8
 
14
9
  .experts-section {
15
10
  &__title {
16
- font-family: var(--font-sans);
11
+ font-family: var(--font-serif);
17
12
  font-size: 32px;
18
- font-weight: 700;
13
+ font-weight: 400;
19
14
  line-height: 42px;
20
15
  letter-spacing: -0.3px;
21
16
  text-align: center;
@@ -27,9 +22,5 @@ export const ExpertsSectionStyled = styled.div `
27
22
  width: 100%;
28
23
  }
29
24
  }
30
-
31
- &__description {
32
- text-align: center;
33
- }
34
25
  }
35
26
  `;
@@ -5,18 +5,13 @@ export const ExpertsSectionStyled = styled.div`
5
5
  display: flex;
6
6
  justify-content: center;
7
7
  flex-direction: column;
8
- background-color: var(--primary-main-light-6);
9
- padding: 0 1.5rem 2rem 1.5rem;
10
-
11
- @media ${device['landscape-tablets']} {
12
- padding: 0 1.5rem 3rem 1.5rem;
13
- }
8
+ background-color: var(--neutral-neutral-6);
14
9
 
15
10
  .experts-section {
16
11
  &__title {
17
- font-family: var(--font-sans);
12
+ font-family: var(--font-serif);
18
13
  font-size: 32px;
19
- font-weight: 700;
14
+ font-weight: 400;
20
15
  line-height: 42px;
21
16
  letter-spacing: -0.3px;
22
17
  text-align: center;
@@ -28,9 +23,5 @@ export const ExpertsSectionStyled = styled.div`
28
23
  width: 100%;
29
24
  }
30
25
  }
31
-
32
- &__description {
33
- text-align: center;
34
- }
35
26
  }
36
27
  `
@@ -4,7 +4,7 @@ import { ExpertCardList } from '../../molecules'
4
4
  import { type ExpertsSectionProps } from './ExpertsSectionProps.types'
5
5
  import { ExpertsSectionStyled } from './ExpertsSection.styled'
6
6
 
7
- const ExpertsSection: FC<ExpertsSectionProps> = ({ title, description, contentExpertCardList }) => {
7
+ const ExpertsSection: FC<ExpertsSectionProps> = ({ title, contentExpertCardList }) => {
8
8
  if (contentExpertCardList.contentExpertCard.length === 0) {
9
9
  return null
10
10
  }
@@ -12,7 +12,6 @@ const ExpertsSection: FC<ExpertsSectionProps> = ({ title, description, contentEx
12
12
  return (
13
13
  <ExpertsSectionStyled className='experts-section'>
14
14
  <h2 className='experts-section__title'>{title}</h2>
15
- <div className='experts-section__description'>{description}</div>
16
15
  <ExpertCardList contentExpertCard={contentExpertCardList.contentExpertCard} />
17
16
  </ExpertsSectionStyled>
18
17
  )
@@ -1,7 +1,5 @@
1
1
  import { type ExpertCardListProps } from '../../molecules/ExpertCardList';
2
- import React from 'react';
3
2
  export interface ExpertsSectionProps {
4
3
  title: string;
5
- description: React.ReactNode;
6
4
  contentExpertCardList: ExpertCardListProps;
7
5
  }
@@ -1,8 +1,6 @@
1
1
  import { type ExpertCardListProps } from '../../molecules/ExpertCardList'
2
- import React from 'react'
3
2
 
4
3
  export interface ExpertsSectionProps {
5
4
  title: string
6
- description: React.ReactNode
7
5
  contentExpertCardList: ExpertCardListProps
8
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npm_leadtech/legal-lib-components",
3
- "version": "5.79.5",
3
+ "version": "5.80.0",
4
4
  "license": "ISC",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
Binary file
Binary file