@npm_leadtech/legal-lib-components 5.21.1 → 5.21.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/dist/images/componentsSvg/PhoneIcon24px.tsx +2 -4
  2. package/dist/src/components/atoms/index.d.ts +0 -2
  3. package/dist/src/components/atoms/index.js +0 -2
  4. package/dist/src/components/atoms/index.ts +0 -2
  5. package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.js +2 -2
  6. package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.tsx +5 -2
  7. package/dist/src/components/molecules/HeaderRatafia/HeaderRatafiaProps.types.d.ts +2 -0
  8. package/dist/src/components/molecules/HeaderRatafia/HeaderRatafiaProps.types.ts +2 -0
  9. package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.js +1 -1
  10. package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.tsx +1 -1
  11. package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.styled.js +2 -1
  12. package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.styled.ts +2 -1
  13. package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContent.styled.js +17 -14
  14. package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContent.styled.ts +17 -14
  15. package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.js +1 -1
  16. package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.tsx +3 -1
  17. package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafiaProps.types.d.ts +2 -0
  18. package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafiaProps.types.ts +2 -0
  19. package/dist/src/components/sections/FaqSection/FaqSection.styled.js +4 -1
  20. package/dist/src/components/sections/FaqSection/FaqSection.styled.ts +4 -1
  21. package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.scss +0 -0
  22. package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.styled.js +0 -1
  23. package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.styled.ts +0 -1
  24. package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.js +1 -2
  25. package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.tsx +2 -3
  26. package/dist/tsconfig.build.tsbuildinfo +1 -1
  27. package/package.json +1 -1
  28. package/dist/images/componentsSvg/IconWeb.d.ts +0 -2
  29. package/dist/images/componentsSvg/IconWeb.js +0 -4
  30. package/dist/images/componentsSvg/IconWeb.tsx +0 -31
  31. package/dist/images/componentsSvg/PhoneIcon.d.ts +0 -6
  32. package/dist/images/componentsSvg/PhoneIcon.js +0 -4
  33. package/dist/images/componentsSvg/PhoneIcon.tsx +0 -18
  34. package/dist/images/svg/facebook.svg +0 -4
  35. package/dist/images/svg/icon-24-px-satisfaction-grey.svg +0 -3
  36. package/dist/images/svg/icon-24-px-security_black.svg +0 -3
  37. package/dist/images/svg/linkedin.svg +0 -4
  38. package/dist/images/svg/pinterest.svg +0 -4
  39. package/dist/images/svg/x.svg +0 -4
  40. package/dist/src/components/atoms/FixedFooter/FixedFooter.d.ts +0 -3
  41. package/dist/src/components/atoms/FixedFooter/FixedFooter.js +0 -73
  42. package/dist/src/components/atoms/FixedFooter/FixedFooter.styled.d.ts +0 -1
  43. package/dist/src/components/atoms/FixedFooter/FixedFooter.styled.js +0 -394
  44. package/dist/src/components/atoms/FixedFooter/FixedFooter.styled.ts +0 -395
  45. package/dist/src/components/atoms/FixedFooter/FixedFooter.tsx +0 -303
  46. package/dist/src/components/atoms/FixedFooter/FixedFooterProps.d.ts +0 -68
  47. package/dist/src/components/atoms/FixedFooter/FixedFooterProps.js +0 -1
  48. package/dist/src/components/atoms/FixedFooter/FixedFooterProps.ts +0 -70
  49. package/dist/src/components/atoms/FixedFooter/index.d.ts +0 -2
  50. package/dist/src/components/atoms/FixedFooter/index.js +0 -2
  51. package/dist/src/components/atoms/FixedFooter/index.ts +0 -2
  52. package/dist/src/components/atoms/PreFooter/PreFooter.d.ts +0 -3
  53. package/dist/src/components/atoms/PreFooter/PreFooter.js +0 -8
  54. package/dist/src/components/atoms/PreFooter/PreFooter.styled.d.ts +0 -1
  55. package/dist/src/components/atoms/PreFooter/PreFooter.styled.js +0 -43
  56. package/dist/src/components/atoms/PreFooter/PreFooter.styled.ts +0 -43
  57. package/dist/src/components/atoms/PreFooter/PreFooter.tsx +0 -34
  58. package/dist/src/components/atoms/PreFooter/PreFooterProps.d.ts +0 -8
  59. package/dist/src/components/atoms/PreFooter/PreFooterProps.js +0 -1
  60. package/dist/src/components/atoms/PreFooter/PreFooterProps.ts +0 -8
  61. package/dist/src/components/atoms/PreFooter/index.d.ts +0 -2
  62. package/dist/src/components/atoms/PreFooter/index.js +0 -2
  63. package/dist/src/components/atoms/PreFooter/index.ts +0 -2
@@ -5,14 +5,12 @@ interface PhoneIcon24pxProps {
5
5
  className?: string
6
6
  width?: string
7
7
  height?: string
8
- fill?: string
9
8
  }
10
9
 
11
10
  export const PhoneIcon24px: FC<PhoneIcon24pxProps> = ({
12
11
  className = '',
13
12
  width = '24',
14
- height = '24',
15
- fill = '#000'
13
+ height = '24'
16
14
  }): React.ReactElement => (
17
15
  <svg
18
16
  className={className}
@@ -37,7 +35,7 @@ export const PhoneIcon24px: FC<PhoneIcon24pxProps> = ({
37
35
  <mask id='7tvbvoimzb' fill='#fff'>
38
36
  <use xlinkHref='#phone-icon-24p' />
39
37
  </mask>
40
- <g className='icon-web-24-p' fill={fill} mask='url(#7tvbvoimzb)'>
38
+ <g className='icon-web-24-p' fill='#000' mask='url(#7tvbvoimzb)'>
41
39
  <path d='M0 0H24V24H0z' />
42
40
  </g>
43
41
  </g>
@@ -19,7 +19,6 @@ export * from './DocumentStatus';
19
19
  export * from './DocumentTag';
20
20
  export * from './ExpertCard';
21
21
  export * from './FeatureRatafiaCard';
22
- export * from './FixedFooter';
23
22
  export * from './FormFaq';
24
23
  export * from './GoogleButton';
25
24
  export * from './IconImage';
@@ -37,7 +36,6 @@ export * from './MoreDocsItem';
37
36
  export * from './NavMenuItem';
38
37
  export * from './PaypalButton';
39
38
  export * from './PopularDocsItem';
40
- export * from './PreFooter';
41
39
  export * from './ProgressBar';
42
40
  export * from './Radio';
43
41
  export * from './RemoveButton';
@@ -19,7 +19,6 @@ export * from './DocumentStatus';
19
19
  export * from './DocumentTag';
20
20
  export * from './ExpertCard';
21
21
  export * from './FeatureRatafiaCard';
22
- export * from './FixedFooter';
23
22
  export * from './FormFaq';
24
23
  export * from './GoogleButton';
25
24
  export * from './IconImage';
@@ -37,7 +36,6 @@ export * from './MoreDocsItem';
37
36
  export * from './NavMenuItem';
38
37
  export * from './PaypalButton';
39
38
  export * from './PopularDocsItem';
40
- export * from './PreFooter';
41
39
  export * from './ProgressBar';
42
40
  export * from './Radio';
43
41
  export * from './RemoveButton';
@@ -19,7 +19,6 @@ export * from './DocumentStatus'
19
19
  export * from './DocumentTag'
20
20
  export * from './ExpertCard'
21
21
  export * from './FeatureRatafiaCard'
22
- export * from './FixedFooter'
23
22
  export * from './FormFaq'
24
23
  export * from './GoogleButton'
25
24
  export * from './IconImage'
@@ -37,7 +36,6 @@ export * from './MoreDocsItem'
37
36
  export * from './NavMenuItem'
38
37
  export * from './PaypalButton'
39
38
  export * from './PopularDocsItem'
40
- export * from './PreFooter'
41
39
  export * from './ProgressBar'
42
40
  export * from './Radio'
43
41
  export * from './RemoveButton'
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { ActionButtonHeaderRatafiaCardList } from '../ActionButtonHeaderRatafiaCardList';
3
3
  import { HeaderRatafiaStyled } from './HeaderRatafia.styled';
4
- export const HeaderRatafia = ({ icon, title, actionButtons, isHiddenActionButtons = false }) => {
5
- return (_jsxs(HeaderRatafiaStyled, { className: 'header-ratafia', children: [_jsxs("div", { className: 'header-ratafia__title', children: [_jsx("div", { className: 'header-ratafia__title__icon', children: icon }), _jsx("h1", { className: 'sans-serif --bold-weight header-ratafia__title__text', children: title })] }), actionButtons !== undefined && !isHiddenActionButtons && (_jsx(ActionButtonHeaderRatafiaCardList, { actionButtons: actionButtons }))] }));
4
+ export const HeaderRatafia = ({ icon, title, actionButtons, isHiddenActionButtons = false, headerTitleRef }) => {
5
+ return (_jsxs(HeaderRatafiaStyled, { className: 'header-ratafia', children: [_jsxs("div", { className: 'header-ratafia__title', children: [_jsx("div", { className: 'header-ratafia__title__icon', children: icon }), _jsx("h1", { ref: headerTitleRef, className: 'sans-serif --bold-weight header-ratafia__title__text', children: title })] }), actionButtons !== undefined && !isHiddenActionButtons && (_jsx(ActionButtonHeaderRatafiaCardList, { actionButtons: actionButtons }))] }));
6
6
  };
7
7
  export default HeaderRatafia;
@@ -8,13 +8,16 @@ export const HeaderRatafia: React.FC<HeaderRatafiaProps> = ({
8
8
  icon,
9
9
  title,
10
10
  actionButtons,
11
- isHiddenActionButtons = false
11
+ isHiddenActionButtons = false,
12
+ headerTitleRef
12
13
  }) => {
13
14
  return (
14
15
  <HeaderRatafiaStyled className='header-ratafia'>
15
16
  <div className='header-ratafia__title'>
16
17
  <div className='header-ratafia__title__icon'>{icon}</div>
17
- <h1 className='sans-serif --bold-weight header-ratafia__title__text'>{title}</h1>
18
+ <h1 ref={headerTitleRef} className='sans-serif --bold-weight header-ratafia__title__text'>
19
+ {title}
20
+ </h1>
18
21
  </div>
19
22
  {actionButtons !== undefined && !isHiddenActionButtons && (
20
23
  <ActionButtonHeaderRatafiaCardList actionButtons={actionButtons} />
@@ -1,7 +1,9 @@
1
1
  import type { ActionButtonHeaderRatafiaCardProps } from '../../atoms';
2
+ import React from 'react';
2
3
  export interface HeaderRatafiaProps {
3
4
  icon?: React.ReactNode;
4
5
  title: string;
5
6
  actionButtons?: ActionButtonHeaderRatafiaCardProps[];
7
+ headerTitleRef?: React.RefObject<HTMLHeadingElement>;
6
8
  isHiddenActionButtons: boolean;
7
9
  }
@@ -1,8 +1,10 @@
1
1
  import type { ActionButtonHeaderRatafiaCardProps } from '../../atoms'
2
+ import React from 'react'
2
3
 
3
4
  export interface HeaderRatafiaProps {
4
5
  icon?: React.ReactNode
5
6
  title: string
6
7
  actionButtons?: ActionButtonHeaderRatafiaCardProps[]
8
+ headerTitleRef?: React.RefObject<HTMLHeadingElement>
7
9
  isHiddenActionButtons: boolean
8
10
  }
@@ -2,6 +2,6 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { Button } from '../../atoms';
3
3
  import { MidBannerRatafiaContentStyled } from './MidBannerRatafiaContent.styled';
4
4
  const MidBannerRatafiaContent = ({ title, paragraph, ctaLabel, ctaLink, ctaDataQa }) => {
5
- return (_jsxs(MidBannerRatafiaContentStyled, { className: 'mid-banner-ratafia-content', children: [_jsxs("div", { className: 'mid-banner-ratafia-content__header', children: [_jsx("h2", { className: 'sans-serif --super-large --bold-weight mid-banner-ratafia-content__header__title', children: title }), _jsx("div", { className: 'sans-serif --super-medium mid-banner-ratafia-content__header__description', children: paragraph })] }), _jsx(Button, { givenClass: 'mid-banner-ratafia-content__cta', dataQa: ctaDataQa, link: ctaLink, color: 'primary', label: ctaLabel })] }));
5
+ return (_jsxs(MidBannerRatafiaContentStyled, { className: 'mid-banner-ratafia-content', children: [_jsxs("div", { className: 'mid-banner-ratafia-content__header', children: [_jsx("h3", { className: 'sans-serif --super-large --bold-weight mid-banner-ratafia-content__header__title', children: title }), _jsx("div", { className: 'sans-serif --super-medium mid-banner-ratafia-content__header__description', children: paragraph })] }), _jsx(Button, { givenClass: 'mid-banner-ratafia-content__cta', dataQa: ctaDataQa, link: ctaLink, color: 'primary', label: ctaLabel })] }));
6
6
  };
7
7
  export default MidBannerRatafiaContent;
@@ -14,7 +14,7 @@ const MidBannerRatafiaContent: FC<MidBannerRatafiaContentProps> = ({
14
14
  return (
15
15
  <MidBannerRatafiaContentStyled className='mid-banner-ratafia-content'>
16
16
  <div className='mid-banner-ratafia-content__header'>
17
- <h2 className='sans-serif --super-large --bold-weight mid-banner-ratafia-content__header__title'>{title}</h2>
17
+ <h3 className='sans-serif --super-large --bold-weight mid-banner-ratafia-content__header__title'>{title}</h3>
18
18
  <div className='sans-serif --super-medium mid-banner-ratafia-content__header__description'>{paragraph}</div>
19
19
  </div>
20
20
  <Button
@@ -8,7 +8,7 @@ export const UploadRatafiaZoneStyled = styled.div `
8
8
  box-shadow: 0 2px 6px 0 rgba(2, 55, 74, 0.25);
9
9
 
10
10
  @media ${device['landscape-tablets']} {
11
- max-width: 340px;
11
+ max-width: 350px;
12
12
  }
13
13
  @media ${device.laptop} {
14
14
  max-width: 560px;
@@ -36,6 +36,7 @@ export const UploadRatafiaZoneStyled = styled.div `
36
36
 
37
37
  &__title {
38
38
  margin-bottom: 2.5rem;
39
+ transition: color 0.5s;
39
40
  }
40
41
  &__cta {
41
42
  display: flex;
@@ -9,7 +9,7 @@ export const UploadRatafiaZoneStyled = styled.div`
9
9
  box-shadow: 0 2px 6px 0 rgba(2, 55, 74, 0.25);
10
10
 
11
11
  @media ${device['landscape-tablets']} {
12
- max-width: 340px;
12
+ max-width: 350px;
13
13
  }
14
14
  @media ${device.laptop} {
15
15
  max-width: 560px;
@@ -37,6 +37,7 @@ export const UploadRatafiaZoneStyled = styled.div`
37
37
 
38
38
  &__title {
39
39
  margin-bottom: 2.5rem;
40
+ transition: color 0.5s;
40
41
  }
41
42
  &__cta {
42
43
  display: flex;
@@ -7,21 +7,24 @@ export const FeaturesRatafiaContentStyled = styled.div `
7
7
  flex: 1 0 0;
8
8
  gap: 1.5rem;
9
9
 
10
- .features-ratafia-content__wrapper__title {
11
- display: flex;
12
- flex-direction: column;
13
- justify-content: center;
14
- align-items: center;
15
- align-self: stretch;
16
- gap: 1rem;
17
-
18
- &__text {
19
- align-self: stretch;
20
- color: var(--neutral-neutral-1);
21
- }
22
- &__description {
10
+ .features-ratafia-content__wrapper {
11
+ &__title {
12
+ display: flex;
13
+ flex-direction: column;
14
+ justify-content: center;
15
+ align-items: center;
23
16
  align-self: stretch;
24
- color: var(--neutral-neutral-1);
17
+ gap: 1rem;
18
+ margin-bottom: 1rem;
19
+
20
+ &__text {
21
+ align-self: stretch;
22
+ color: var(--neutral-neutral-1);
23
+ }
24
+ &__description {
25
+ align-self: stretch;
26
+ color: var(--neutral-neutral-1);
27
+ }
25
28
  }
26
29
  }
27
30
  `;
@@ -8,21 +8,24 @@ export const FeaturesRatafiaContentStyled = styled.div`
8
8
  flex: 1 0 0;
9
9
  gap: 1.5rem;
10
10
 
11
- .features-ratafia-content__wrapper__title {
12
- display: flex;
13
- flex-direction: column;
14
- justify-content: center;
15
- align-items: center;
16
- align-self: stretch;
17
- gap: 1rem;
18
-
19
- &__text {
20
- align-self: stretch;
21
- color: var(--neutral-neutral-1);
22
- }
23
- &__description {
11
+ .features-ratafia-content__wrapper {
12
+ &__title {
13
+ display: flex;
14
+ flex-direction: column;
15
+ justify-content: center;
16
+ align-items: center;
24
17
  align-self: stretch;
25
- color: var(--neutral-neutral-1);
18
+ gap: 1rem;
19
+ margin-bottom: 1rem;
20
+
21
+ &__text {
22
+ align-self: stretch;
23
+ color: var(--neutral-neutral-1);
24
+ }
25
+ &__description {
26
+ align-self: stretch;
27
+ color: var(--neutral-neutral-1);
28
+ }
26
29
  }
27
30
  }
28
31
  `
@@ -3,6 +3,6 @@ import { KeyFactCardListRatafia } from '../../molecules';
3
3
  import { KeyFactsResultContentRatafiaStyled } from './KeyFactsResultContentRatafia.styled';
4
4
  import { ReviewKeyFactsResultRatafia } from '../../atoms';
5
5
  export const KeyFactsResultContentRatafia = ({ result, review }) => {
6
- return (_jsxs(KeyFactsResultContentRatafiaStyled, { children: [_jsx("h2", { className: 'sans-serif --bold-weight key-facts-result-content__document-name', children: result?.documentName }), _jsxs("div", { className: 'key-facts-result-content__content', children: [result !== null && _jsx(KeyFactCardListRatafia, { keyFacts: result.keyFacts }), _jsx(ReviewKeyFactsResultRatafia, { ...review })] })] }));
6
+ return (_jsxs(KeyFactsResultContentRatafiaStyled, { children: [_jsx("h2", { ref: result?.documentNameRef, className: 'sans-serif --bold-weight key-facts-result-content__document-name', children: result?.documentName }), _jsxs("div", { className: 'key-facts-result-content__content', children: [result !== null && _jsx(KeyFactCardListRatafia, { keyFacts: result.keyFacts }), _jsx(ReviewKeyFactsResultRatafia, { ...review })] })] }));
7
7
  };
8
8
  export default KeyFactsResultContentRatafia;
@@ -8,7 +8,9 @@ import { ReviewKeyFactsResultRatafia } from '../../atoms'
8
8
  export const KeyFactsResultContentRatafia: React.FC<KeyFactsResultContentRatafiaProps> = ({ result, review }) => {
9
9
  return (
10
10
  <KeyFactsResultContentRatafiaStyled>
11
- <h2 className='sans-serif --bold-weight key-facts-result-content__document-name'>{result?.documentName}</h2>
11
+ <h2 ref={result?.documentNameRef} className='sans-serif --bold-weight key-facts-result-content__document-name'>
12
+ {result?.documentName}
13
+ </h2>
12
14
  <div className='key-facts-result-content__content'>
13
15
  {result !== null && <KeyFactCardListRatafia keyFacts={result.keyFacts} />}
14
16
  <ReviewKeyFactsResultRatafia {...review} />
@@ -1,4 +1,5 @@
1
1
  import type { KeyFactRatafiaCardProps, ReviewKeyFactsResultRatafiaProps } from '../../atoms';
2
+ import React from 'react';
2
3
  export interface KeyFactsResultContentRatafiaProps {
3
4
  result: KeyFactsResultProps | null;
4
5
  review: ReviewKeyFactsResultRatafiaProps;
@@ -6,4 +7,5 @@ export interface KeyFactsResultContentRatafiaProps {
6
7
  export interface KeyFactsResultProps {
7
8
  documentName: string;
8
9
  keyFacts: KeyFactRatafiaCardProps[];
10
+ documentNameRef?: React.RefObject<HTMLHeadingElement>;
9
11
  }
@@ -1,4 +1,5 @@
1
1
  import type { KeyFactRatafiaCardProps, ReviewKeyFactsResultRatafiaProps } from '../../atoms'
2
+ import React from 'react'
2
3
 
3
4
  export interface KeyFactsResultContentRatafiaProps {
4
5
  result: KeyFactsResultProps | null
@@ -8,4 +9,5 @@ export interface KeyFactsResultContentRatafiaProps {
8
9
  export interface KeyFactsResultProps {
9
10
  documentName: string
10
11
  keyFacts: KeyFactRatafiaCardProps[]
12
+ documentNameRef?: React.RefObject<HTMLHeadingElement>
11
13
  }
@@ -8,7 +8,7 @@ export const FaqSectionStyled = styled.section `
8
8
  max-width: 700px;
9
9
  width: 100%;
10
10
 
11
- .faq-ratafia-section {
11
+ &.faq-ratafia-section {
12
12
  display: flex;
13
13
  align-items: center;
14
14
  justify-content: center;
@@ -25,5 +25,8 @@ export const FaqSectionStyled = styled.section `
25
25
  @media ${device['desktop-xl']} {
26
26
  padding: 3rem 28rem 5rem 28rem;
27
27
  }
28
+ .faqs {
29
+ max-width: 56.75rem;
30
+ }
28
31
  }
29
32
  `;
@@ -9,7 +9,7 @@ export const FaqSectionStyled = styled.section`
9
9
  max-width: 700px;
10
10
  width: 100%;
11
11
 
12
- .faq-ratafia-section {
12
+ &.faq-ratafia-section {
13
13
  display: flex;
14
14
  align-items: center;
15
15
  justify-content: center;
@@ -26,5 +26,8 @@ export const FaqSectionStyled = styled.section`
26
26
  @media ${device['desktop-xl']} {
27
27
  padding: 3rem 28rem 5rem 28rem;
28
28
  }
29
+ .faqs {
30
+ max-width: 56.75rem;
31
+ }
29
32
  }
30
33
  `
@@ -39,7 +39,6 @@ export const FeaturesRatafiaSectionStyled = styled.section `
39
39
 
40
40
  &__children {
41
41
  display: none;
42
- //TODO: Check again with the real container;
43
42
  min-width: 50%;
44
43
 
45
44
  @media ${device.desktop} {
@@ -40,7 +40,6 @@ export const FeaturesRatafiaSectionStyled = styled.section`
40
40
 
41
41
  &__children {
42
42
  display: none;
43
- //TODO: Check again with the real container;
44
43
  min-width: 50%;
45
44
 
46
45
  @media ${device.desktop} {
@@ -1,7 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { TryItRatafiaSectionStyled } from './TryItRatafiaSection.styled';
3
- // import './TryItRatafiaSection.scss'
4
3
  const TryItRatafiaSection = ({ icon, paragraph, children }) => {
5
- return (_jsx(TryItRatafiaSectionStyled, { className: 'try-it-ratafia-section', children: _jsxs("div", { className: 'try-it-ratafia-section__wrapper background-ratafia-animation', children: [_jsxs("div", { className: 'try-it-ratafia-section__wrapper__content', children: [icon !== null && _jsx("div", { className: 'try-it-ratafia-section__wrapper__content__icon', children: icon }), _jsx("h2", { className: 'sans-serif --extra-large --bold-weight try-it-ratafia-section__wrapper__content__title', children: paragraph })] }), _jsx("span", { className: 'try-it-ratafia-section__wrapper__children', children: children })] }) }));
4
+ return (_jsx(TryItRatafiaSectionStyled, { className: 'try-it-ratafia-section', children: _jsxs("div", { className: 'try-it-ratafia-section__wrapper background-ratafia-animation', children: [_jsxs("div", { className: 'try-it-ratafia-section__wrapper__content', children: [icon !== null && _jsx("div", { className: 'try-it-ratafia-section__wrapper__content__icon', children: icon }), _jsx("h3", { className: 'sans-serif --extra-large --bold-weight try-it-ratafia-section__wrapper__content__title', children: paragraph })] }), _jsx("span", { className: 'try-it-ratafia-section__wrapper__children', children: children })] }) }));
6
5
  };
7
6
  export default TryItRatafiaSection;
@@ -2,7 +2,6 @@ import React, { type FC } from 'react'
2
2
 
3
3
  import { type TryItRatafiaSectionProps } from './TryItRatafiaSectionProps.types'
4
4
  import { TryItRatafiaSectionStyled } from './TryItRatafiaSection.styled'
5
- // import './TryItRatafiaSection.scss'
6
5
 
7
6
  const TryItRatafiaSection: FC<TryItRatafiaSectionProps> = ({ icon, paragraph, children }) => {
8
7
  return (
@@ -10,9 +9,9 @@ const TryItRatafiaSection: FC<TryItRatafiaSectionProps> = ({ icon, paragraph, ch
10
9
  <div className='try-it-ratafia-section__wrapper background-ratafia-animation'>
11
10
  <div className='try-it-ratafia-section__wrapper__content'>
12
11
  {icon !== null && <div className={'try-it-ratafia-section__wrapper__content__icon'}>{icon}</div>}
13
- <h2 className='sans-serif --extra-large --bold-weight try-it-ratafia-section__wrapper__content__title'>
12
+ <h3 className='sans-serif --extra-large --bold-weight try-it-ratafia-section__wrapper__content__title'>
14
13
  {paragraph}
15
- </h2>
14
+ </h3>
16
15
  </div>
17
16
  <span className='try-it-ratafia-section__wrapper__children'>{children}</span>
18
17
  </div>