@npm_leadtech/legal-lib-components 7.101.0 → 7.102.1

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 (179) hide show
  1. package/dist/css/styles.css +0 -16
  2. package/dist/images/componentsSvg/ArrowRight.js +1 -1
  3. package/dist/images/componentsSvg/ArrowRight.tsx +1 -1
  4. package/dist/images/componentsSvg/CloseIcon.js +1 -1
  5. package/dist/images/componentsSvg/CloseIcon.tsx +6 -3
  6. package/dist/images/componentsSvg/Delete24p.tsx +2 -1
  7. package/dist/images/componentsSvg/Done24px.d.ts +1 -1
  8. package/dist/images/componentsSvg/Done24px.js +1 -1
  9. package/dist/images/componentsSvg/Done24px.tsx +7 -4
  10. package/dist/images/componentsSvg/Edit24p.tsx +1 -1
  11. package/dist/images/componentsSvg/EditText24px.tsx +1 -1
  12. package/dist/images/componentsSvg/Eye24pxOptimized.tsx +1 -1
  13. package/dist/images/componentsSvg/IconDuplicate24px.tsx +1 -1
  14. package/dist/images/componentsSvg/InfoError24pxOutlined.js +1 -1
  15. package/dist/images/componentsSvg/InfoError24pxOutlined.tsx +1 -1
  16. package/dist/images/componentsSvg/MenuCollapse24p.js +1 -1
  17. package/dist/images/componentsSvg/MenuCollapse24p.tsx +1 -1
  18. package/dist/images/componentsSvg/NewRelease24p.d.ts +1 -1
  19. package/dist/images/componentsSvg/NewRelease24p.js +2 -2
  20. package/dist/images/componentsSvg/NewRelease24p.tsx +19 -4
  21. package/dist/images/componentsSvg/RatafiaIcon24px.tsx +3 -3
  22. package/dist/images/componentsSvg/Sign24px.d.ts +2 -2
  23. package/dist/images/componentsSvg/Sign24px.js +1 -1
  24. package/dist/images/componentsSvg/Sign24px.tsx +6 -7
  25. package/dist/images/componentsSvg/Time24px.d.ts +1 -1
  26. package/dist/images/componentsSvg/Time24px.js +2 -2
  27. package/dist/images/componentsSvg/Time24px.tsx +26 -8
  28. package/dist/src/components/atoms/Button/Button.js +1 -1
  29. package/dist/src/components/atoms/Button/Button.scss +0 -19
  30. package/dist/src/components/atoms/Button/Button.tsx +1 -1
  31. package/dist/src/components/atoms/Button/ButtonProps.types.d.ts +1 -1
  32. package/dist/src/components/atoms/Button/ButtonProps.types.ts +0 -1
  33. package/dist/src/components/atoms/DatePickerCustom/DatepickerPlugin.scss +20 -20
  34. package/dist/src/components/atoms/DatePickerCustom/index.js.map +4 -4
  35. package/dist/src/components/atoms/DocumentStatus/DocumentStatus.js +15 -5
  36. package/dist/src/components/atoms/DocumentStatus/DocumentStatus.styled.js +40 -41
  37. package/dist/src/components/atoms/DocumentStatus/DocumentStatus.styled.ts +40 -41
  38. package/dist/src/components/atoms/DocumentStatus/DocumentStatus.tsx +35 -7
  39. package/dist/src/components/atoms/DocumentStatus/DocumentStatusProps.types.d.ts +6 -4
  40. package/dist/src/components/atoms/DocumentStatus/DocumentStatusProps.types.ts +6 -5
  41. package/dist/src/components/atoms/MessageInformation/MessageInformation.js +2 -4
  42. package/dist/src/components/atoms/MessageInformation/MessageInformation.styled.js +0 -1
  43. package/dist/src/components/atoms/MessageInformation/MessageInformation.styled.ts +0 -1
  44. package/dist/src/components/atoms/MessageInformation/MessageInformation.tsx +4 -17
  45. package/dist/src/components/atoms/MessageInformation/MessageInformationProps.types.d.ts +0 -1
  46. package/dist/src/components/atoms/MessageInformation/MessageInformationProps.types.ts +0 -1
  47. package/dist/src/components/atoms/PhoneNumberDisplay/PhoneNumberDisplay.js +2 -3
  48. package/dist/src/components/atoms/PhoneNumberDisplay/PhoneNumberDisplay.styled.js +6 -12
  49. package/dist/src/components/atoms/PhoneNumberDisplay/PhoneNumberDisplay.styled.ts +6 -12
  50. package/dist/src/components/atoms/PhoneNumberDisplay/PhoneNumberDisplay.tsx +2 -4
  51. package/dist/src/components/atoms/PhoneNumberDisplay/PhoneNumberDisplayProps.d.ts +0 -1
  52. package/dist/src/components/atoms/PhoneNumberDisplay/PhoneNumberDisplayProps.ts +0 -1
  53. package/dist/src/components/atoms/PreFooter/PreFooter.js +3 -3
  54. package/dist/src/components/atoms/PreFooter/PreFooter.tsx +2 -2
  55. package/dist/src/components/atoms/PreFooter/PreFooterProps.d.ts +1 -1
  56. package/dist/src/components/atoms/PreFooter/PreFooterProps.ts +1 -1
  57. package/dist/src/components/atoms/TestAB/TestAB.d.ts +4 -3
  58. package/dist/src/components/atoms/Tooltip/Tooltip.js +2 -0
  59. package/dist/src/components/atoms/Tooltip/Tooltip.tsx +2 -0
  60. package/dist/src/components/atoms/Video/Video.js +2 -2
  61. package/dist/src/components/atoms/Video/Video.tsx +1 -2
  62. package/dist/src/components/molecules/AccordionItem/AccordionItem.d.ts +1 -1
  63. package/dist/src/components/molecules/AccordionItem/AccordionItem.js +3 -6
  64. package/dist/src/components/molecules/AccordionItem/AccordionItem.styled.js +0 -4
  65. package/dist/src/components/molecules/AccordionItem/AccordionItem.styled.ts +0 -4
  66. package/dist/src/components/molecules/AccordionItem/AccordionItem.tsx +2 -8
  67. package/dist/src/components/molecules/AccordionItem/AccordionItemProps.types.d.ts +0 -1
  68. package/dist/src/components/molecules/AccordionItem/AccordionItemProps.types.ts +0 -1
  69. package/dist/src/components/molecules/CountDownMessage/CountDownMessage.js +2 -2
  70. package/dist/src/components/molecules/CountDownMessage/CountDownMessage.tsx +2 -10
  71. package/dist/src/components/molecules/CountDownMessage/CountDownMessageProps.types.d.ts +0 -1
  72. package/dist/src/components/molecules/CountDownMessage/CountDownMessageProps.types.ts +0 -1
  73. package/dist/src/components/molecules/InfoBarFooter/InfoBarFooter.js +1 -1
  74. package/dist/src/components/molecules/InfoBarFooter/InfoBarFooter.tsx +4 -8
  75. package/dist/src/components/molecules/InfoBarFooter/InfoBarFooterProps.types.d.ts +2 -2
  76. package/dist/src/components/molecules/InfoBarFooter/InfoBarFooterProps.types.ts +2 -2
  77. package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardList.styled.js +2 -2
  78. package/dist/src/components/molecules/StepRatafiaCardList/StepRatafiaCardList.styled.ts +2 -2
  79. package/dist/src/components/molecules/TextInput/tests/Input.test.tsx +18 -29
  80. package/dist/src/components/molecules/TextInput/tests/TextInput.test.tsx +9 -16
  81. package/dist/src/components/molecules/TextInput/tests/TextInputMessage.test.tsx +2 -2
  82. package/dist/src/components/molecules/TextInput/tests/TextInputTooltip.test.tsx +1 -1
  83. package/dist/src/components/molecules/index.d.ts +0 -3
  84. package/dist/src/components/molecules/index.js +0 -3
  85. package/dist/src/components/molecules/index.ts +0 -3
  86. package/dist/src/components/organisms/Accordion/Accordion.js +1 -1
  87. package/dist/src/components/organisms/Accordion/Accordion.tsx +0 -1
  88. package/dist/src/components/organisms/Accordion/AccordionProps.types.d.ts +0 -1
  89. package/dist/src/components/organisms/Accordion/AccordionProps.types.ts +0 -1
  90. package/dist/src/components/organisms/DesktopMenu/DesktopMenu.js +2 -2
  91. package/dist/src/components/organisms/DesktopMenu/DesktopMenu.tsx +2 -8
  92. package/dist/src/components/organisms/DesktopMenu/DesktopMenuProps.d.ts +0 -1
  93. package/dist/src/components/organisms/DesktopMenu/DesktopMenuProps.ts +0 -1
  94. package/dist/src/components/organisms/TopFooter/TopFooter.js +1 -1
  95. package/dist/src/components/organisms/TopFooter/TopFooter.tsx +1 -3
  96. package/dist/src/components/organisms/Wizard/Wizard.js +1 -8
  97. package/dist/src/components/organisms/Wizard/Wizard.tsx +2 -9
  98. package/dist/src/components/organisms/Wizard/context/WizardContext.d.ts +0 -1
  99. package/dist/src/components/organisms/Wizard/context/WizardContext.js +1 -2
  100. package/dist/src/components/organisms/Wizard/context/WizardContext.tsx +1 -3
  101. package/dist/src/components/sections/AppHeader/AppHeader.js +2 -2
  102. package/dist/src/components/sections/AppHeader/AppHeader.tsx +1 -8
  103. package/dist/src/components/sections/AppHeader/AppHeaderProps.d.ts +0 -1
  104. package/dist/src/components/sections/AppHeader/AppHeaderProps.ts +0 -1
  105. package/dist/src/components/sections/CardBoxSection/CardBoxSection.js +1 -1
  106. package/dist/src/components/sections/CardBoxSection/CardBoxSection.tsx +1 -3
  107. package/dist/src/components/sections/FaqSection/FaqSection.js +1 -1
  108. package/dist/src/components/sections/FaqSection/FaqSection.tsx +1 -3
  109. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.js +2 -2
  110. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.styled.js +7 -7
  111. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.styled.ts +7 -7
  112. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.tsx +2 -3
  113. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSectionProps.types.d.ts +0 -1
  114. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSectionProps.types.ts +0 -1
  115. package/dist/src/globalStyles/animations.scss +5 -2
  116. package/dist/src/globalStyles/variables.scss +12 -31
  117. package/dist/src/globalStyles/variablesCss.scss +0 -10
  118. package/dist/src/hooks/useIntersectionObserver.d.ts +2 -2
  119. package/dist/src/hooks/useIntersectionObserver.js +1 -1
  120. package/dist/src/hooks/useIntersectionObserver.tsx +4 -4
  121. package/dist/tsconfig.build.tsbuildinfo +1 -1
  122. package/package.json +16 -13
  123. package/dist/images/componentsSvg/Balance.d.ts +0 -7
  124. package/dist/images/componentsSvg/Balance.js +0 -2
  125. package/dist/images/componentsSvg/Balance.tsx +0 -16
  126. package/dist/images/componentsSvg/GdprLockSvg.d.ts +0 -8
  127. package/dist/images/componentsSvg/GdprLockSvg.js +0 -2
  128. package/dist/images/componentsSvg/GdprLockSvg.tsx +0 -21
  129. package/dist/images/componentsSvg/SslShieldSvg.d.ts +0 -7
  130. package/dist/images/componentsSvg/SslShieldSvg.js +0 -2
  131. package/dist/images/componentsSvg/SslShieldSvg.tsx +0 -18
  132. package/dist/src/components/atoms/SignerStatusItem/SignerStatusItem.d.ts +0 -3
  133. package/dist/src/components/atoms/SignerStatusItem/SignerStatusItem.js +0 -16
  134. package/dist/src/components/atoms/SignerStatusItem/SignerStatusItem.styled.d.ts +0 -1
  135. package/dist/src/components/atoms/SignerStatusItem/SignerStatusItem.styled.js +0 -60
  136. package/dist/src/components/atoms/SignerStatusItem/SignerStatusItem.styled.ts +0 -61
  137. package/dist/src/components/atoms/SignerStatusItem/SignerStatusItem.tsx +0 -28
  138. package/dist/src/components/atoms/SignerStatusItem/SignerStatusItemProps.types.d.ts +0 -6
  139. package/dist/src/components/atoms/SignerStatusItem/SignerStatusItemProps.types.js +0 -1
  140. package/dist/src/components/atoms/SignerStatusItem/SignerStatusItemProps.types.ts +0 -7
  141. package/dist/src/components/atoms/SignerStatusItem/index.d.ts +0 -2
  142. package/dist/src/components/atoms/SignerStatusItem/index.js +0 -1
  143. package/dist/src/components/atoms/SignerStatusItem/index.ts +0 -2
  144. package/dist/src/components/molecules/ComplianceBox/ComplianceBox.d.ts +0 -4
  145. package/dist/src/components/molecules/ComplianceBox/ComplianceBox.js +0 -8
  146. package/dist/src/components/molecules/ComplianceBox/ComplianceBox.styled.d.ts +0 -1
  147. package/dist/src/components/molecules/ComplianceBox/ComplianceBox.styled.js +0 -113
  148. package/dist/src/components/molecules/ComplianceBox/ComplianceBox.styled.ts +0 -114
  149. package/dist/src/components/molecules/ComplianceBox/ComplianceBox.tsx +0 -44
  150. package/dist/src/components/molecules/ComplianceBox/ComplianceBoxProps.types.d.ts +0 -11
  151. package/dist/src/components/molecules/ComplianceBox/ComplianceBoxProps.types.js +0 -1
  152. package/dist/src/components/molecules/ComplianceBox/ComplianceBoxProps.types.ts +0 -11
  153. package/dist/src/components/molecules/ComplianceBox/index.d.ts +0 -2
  154. package/dist/src/components/molecules/ComplianceBox/index.js +0 -1
  155. package/dist/src/components/molecules/ComplianceBox/index.ts +0 -2
  156. package/dist/src/components/molecules/SignersStatusTooltipContent/SignersStatusTooltipContent.d.ts +0 -3
  157. package/dist/src/components/molecules/SignersStatusTooltipContent/SignersStatusTooltipContent.js +0 -9
  158. package/dist/src/components/molecules/SignersStatusTooltipContent/SignersStatusTooltipContent.styled.d.ts +0 -1
  159. package/dist/src/components/molecules/SignersStatusTooltipContent/SignersStatusTooltipContent.styled.js +0 -22
  160. package/dist/src/components/molecules/SignersStatusTooltipContent/SignersStatusTooltipContent.styled.ts +0 -23
  161. package/dist/src/components/molecules/SignersStatusTooltipContent/SignersStatusTooltipContent.tsx +0 -42
  162. package/dist/src/components/molecules/SignersStatusTooltipContent/SignersStatusTooltipContentProps.types.d.ts +0 -9
  163. package/dist/src/components/molecules/SignersStatusTooltipContent/SignersStatusTooltipContentProps.types.js +0 -1
  164. package/dist/src/components/molecules/SignersStatusTooltipContent/SignersStatusTooltipContentProps.types.ts +0 -10
  165. package/dist/src/components/molecules/SignersStatusTooltipContent/index.d.ts +0 -2
  166. package/dist/src/components/molecules/SignersStatusTooltipContent/index.js +0 -1
  167. package/dist/src/components/molecules/SignersStatusTooltipContent/index.ts +0 -2
  168. package/dist/src/components/molecules/TrustBanner/TrustBanner.d.ts +0 -4
  169. package/dist/src/components/molecules/TrustBanner/TrustBanner.js +0 -7
  170. package/dist/src/components/molecules/TrustBanner/TrustBanner.styled.d.ts +0 -1
  171. package/dist/src/components/molecules/TrustBanner/TrustBanner.styled.js +0 -43
  172. package/dist/src/components/molecules/TrustBanner/TrustBanner.styled.ts +0 -44
  173. package/dist/src/components/molecules/TrustBanner/TrustBanner.tsx +0 -19
  174. package/dist/src/components/molecules/TrustBanner/TrustBannerProps.types.d.ts +0 -5
  175. package/dist/src/components/molecules/TrustBanner/TrustBannerProps.types.js +0 -1
  176. package/dist/src/components/molecules/TrustBanner/TrustBannerProps.types.ts +0 -5
  177. package/dist/src/components/molecules/TrustBanner/index.d.ts +0 -2
  178. package/dist/src/components/molecules/TrustBanner/index.js +0 -1
  179. package/dist/src/components/molecules/TrustBanner/index.ts +0 -2
@@ -1,9 +1,9 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- const Video = ({ videoSrcURL, videoMimeType = '', title = '', controls = true, autoPlay = false, loop = false, muted = false, track, preload = 'auto', poster = '' }) => {
2
+ const Video = ({ videoSrcURL, videoMimeType = 'video/webm', title = '', controls = true, autoPlay = false, loop = false, muted = false, track, preload = 'auto', poster = '' }) => {
3
3
  if (!videoSrcURL)
4
4
  return null;
5
5
  return (
6
6
  // eslint-disable-next-line jsx-a11y/media-has-caption
7
- _jsxs("video", { "data-testid": 'video', title: title, controls: controls, autoPlay: autoPlay, loop: loop, muted: muted, preload: preload, poster: poster, playsInline: true, children: [_jsx("source", { src: videoSrcURL, type: videoMimeType }), track && _jsx("track", { src: track.src, kind: track.kind, srcLang: track.srclang, label: track.label }), "Your browser does not support the video tag."] }));
7
+ _jsxs("video", { "data-testid": 'video', title: title, controls: controls, autoPlay: autoPlay, loop: loop, muted: muted, preload: preload, poster: poster, children: [_jsx("source", { src: videoSrcURL, type: videoMimeType }), track && _jsx("track", { src: track.src, kind: track.kind, srcLang: track.srclang, label: track.label }), "Your browser does not support the video tag."] }));
8
8
  };
9
9
  export default Video;
@@ -4,7 +4,7 @@ import { type VideoProps } from './VideoProps.types'
4
4
 
5
5
  const Video = ({
6
6
  videoSrcURL,
7
- videoMimeType = '',
7
+ videoMimeType = 'video/webm',
8
8
  title = '',
9
9
  controls = true,
10
10
  autoPlay = false,
@@ -26,7 +26,6 @@ const Video = ({
26
26
  muted={muted}
27
27
  preload={preload}
28
28
  poster={poster}
29
- playsInline
30
29
  >
31
30
  <source src={videoSrcURL} type={videoMimeType} />
32
31
  {track && <track src={track.src} kind={track.kind} srcLang={track.srclang} label={track.label} />}
@@ -1,3 +1,3 @@
1
1
  import React from 'react';
2
2
  import { type AccordionItemProps } from './AccordionItemProps.types';
3
- export declare const AccordionItem: ({ noPadding, accordionRightContent, children, defaultHeightItem, index, isOpen, onClick, title, heightAutoChange }: AccordionItemProps) => React.JSX.Element;
3
+ export declare const AccordionItem: ({ accordionRightContent, children, defaultHeightItem, index, isOpen, onClick, title, heightAutoChange }: AccordionItemProps) => React.JSX.Element;
@@ -3,7 +3,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
3
  import React, { useEffect, useRef } from 'react';
4
4
  import { useDispatchDataAccordionItem, useStateDataAccordionItem } from '../../organisms/Accordion/Accordion.context';
5
5
  import { AccordionItemStyled } from './AccordionItem.styled';
6
- export const AccordionItem = ({ noPadding = false, accordionRightContent, children, defaultHeightItem = 416, index, isOpen, onClick, title, heightAutoChange = false }) => {
6
+ export const AccordionItem = ({ accordionRightContent, children, defaultHeightItem = 416, index, isOpen, onClick, title, heightAutoChange = false }) => {
7
7
  const contenReftHeight = useRef(null);
8
8
  const { state } = useStateDataAccordionItem(index);
9
9
  const { dispatch } = useDispatchDataAccordionItem();
@@ -33,12 +33,9 @@ export const AccordionItem = ({ noPadding = false, accordionRightContent, childr
33
33
  }
34
34
  };
35
35
  }, []);
36
- return (_jsxs(AccordionItemStyled, { className: `accordion__container
37
- ${state.handler === 'success' ? 'accordion__container--success' : ''}
38
- ${state.locked.isLocked ? 'accordion__container--locked' : ''}
39
- ${!isOpen ? 'accordion__container--closed' : ''}`, children: [_jsxs("button", { className: `accordion__button
36
+ return (_jsxs(AccordionItemStyled, { className: 'accordion__container', children: [_jsxs("button", { className: `accordion__button
40
37
  ${state.handler === 'success' ? '--success' : ''}
41
38
  ${state.locked.isLocked ? '--locked' : ''}`, onClick: () => {
42
39
  !state.locked.isLocked && onClick();
43
- }, children: [_jsx("p", { className: `accordion__title ${state.locked.isLocked ? '--locked' : ''}`, children: title }), accordionRightContent] }), _jsx("div", { ref: contenReftHeight, className: `accordion__content ${!isOpen ? '--closed' : ''} ${noPadding ? 'no-padding' : ''}`, style: isOpen ? { height: heightAccordionItem } : { height: '0px' }, children: children })] }));
40
+ }, children: [_jsx("p", { className: `accordion__title ${state.locked.isLocked ? '--locked' : ''}`, children: title }), accordionRightContent] }), _jsx("div", { ref: contenReftHeight, className: `accordion__content ${!isOpen ? '--closed' : ''}`, style: isOpen ? { height: heightAccordionItem } : { height: '0px' }, children: children })] }));
44
41
  };
@@ -69,9 +69,5 @@ export const AccordionItemStyled = styled.div `
69
69
  border-left: 1px solid var(--neutral-neutral-4);
70
70
  border-bottom: none;
71
71
  color: black;
72
-
73
- &.no-padding {
74
- padding: 0;
75
- }
76
72
  }
77
73
  `;
@@ -70,9 +70,5 @@ export const AccordionItemStyled = styled.div`
70
70
  border-left: 1px solid var(--neutral-neutral-4);
71
71
  border-bottom: none;
72
72
  color: black;
73
-
74
- &.no-padding {
75
- padding: 0;
76
- }
77
73
  }
78
74
  `
@@ -6,7 +6,6 @@ import { type AccordionItemProps } from './AccordionItemProps.types'
6
6
  import { AccordionItemStyled } from './AccordionItem.styled'
7
7
 
8
8
  export const AccordionItem = ({
9
- noPadding = false,
10
9
  accordionRightContent,
11
10
  children,
12
11
  defaultHeightItem = 416,
@@ -48,12 +47,7 @@ export const AccordionItem = ({
48
47
  }, [])
49
48
 
50
49
  return (
51
- <AccordionItemStyled
52
- className={`accordion__container
53
- ${state.handler === 'success' ? 'accordion__container--success' : ''}
54
- ${state.locked.isLocked ? 'accordion__container--locked' : ''}
55
- ${!isOpen ? 'accordion__container--closed' : ''}`}
56
- >
50
+ <AccordionItemStyled className='accordion__container'>
57
51
  <button
58
52
  className={`accordion__button
59
53
  ${state.handler === 'success' ? '--success' : ''}
@@ -68,7 +62,7 @@ export const AccordionItem = ({
68
62
 
69
63
  <div
70
64
  ref={contenReftHeight}
71
- className={`accordion__content ${!isOpen ? '--closed' : ''} ${noPadding ? 'no-padding' : ''}`}
65
+ className={`accordion__content ${!isOpen ? '--closed' : ''}`}
72
66
  style={isOpen ? { height: heightAccordionItem } : { height: '0px' }}
73
67
  >
74
68
  {children}
@@ -1,5 +1,4 @@
1
1
  export interface AccordionItemProps {
2
- noPadding?: boolean;
3
2
  accordionRightContent?: React.ReactNode;
4
3
  children?: React.ReactNode;
5
4
  defaultHeightItem?: number;
@@ -1,5 +1,4 @@
1
1
  export interface AccordionItemProps {
2
- noPadding?: boolean
3
2
  accordionRightContent?: React.ReactNode
4
3
  children?: React.ReactNode
5
4
  defaultHeightItem?: number
@@ -5,7 +5,7 @@ import { MessageInformation } from '../../atoms';
5
5
  import classNames from 'classnames';
6
6
  import { useIsMobileOrTable } from '../../../hooks';
7
7
  // import './CountDownMessage.scss'
8
- const CountDownMessage = ({ noImg = false, text, time, centered = false, iconReloj = false }) => {
8
+ const CountDownMessage = ({ noImg = false, text, time, centered = false }) => {
9
9
  const [scrollSuperateCountDown, setScrollSuperateCountDown] = useState(false);
10
10
  const { isMobile, isTablet } = useIsMobileOrTable();
11
11
  const countDownRef = useRef(null);
@@ -25,7 +25,7 @@ const CountDownMessage = ({ noImg = false, text, time, centered = false, iconRel
25
25
  window.removeEventListener('scroll', handleScroll);
26
26
  };
27
27
  }, [isTablet]);
28
- const messageInformationHtml = (_jsx(MessageInformation, { noImg: noImg, text: text, time: time, centered: centered, iconReloj: iconReloj }));
28
+ const messageInformationHtml = _jsx(MessageInformation, { noImg: noImg, text: text, time: time, centered: centered });
29
29
  const classCountDownMessageFixed = classNames({
30
30
  'count-down-message-fixed': true,
31
31
  'count-down-message-fixed--show': scrollSuperateCountDown || isMobile
@@ -8,13 +8,7 @@ import { useIsMobileOrTable } from '../../../hooks'
8
8
 
9
9
  // import './CountDownMessage.scss'
10
10
 
11
- const CountDownMessage: FC<CountDownMessageProps> = ({
12
- noImg = false,
13
- text,
14
- time,
15
- centered = false,
16
- iconReloj = false
17
- }) => {
11
+ const CountDownMessage: FC<CountDownMessageProps> = ({ noImg = false, text, time, centered = false }) => {
18
12
  const [scrollSuperateCountDown, setScrollSuperateCountDown] = useState<boolean>(false)
19
13
  const { isMobile, isTablet } = useIsMobileOrTable()
20
14
  const countDownRef = useRef<null | HTMLDivElement>(null)
@@ -39,9 +33,7 @@ const CountDownMessage: FC<CountDownMessageProps> = ({
39
33
  }
40
34
  }, [isTablet])
41
35
 
42
- const messageInformationHtml = (
43
- <MessageInformation noImg={noImg} text={text} time={time} centered={centered} iconReloj={iconReloj} />
44
- )
36
+ const messageInformationHtml = <MessageInformation noImg={noImg} text={text} time={time} centered={centered} />
45
37
 
46
38
  const classCountDownMessageFixed = classNames({
47
39
  'count-down-message-fixed': true,
@@ -3,5 +3,4 @@ export interface CountDownMessageProps {
3
3
  text: string | React.ReactNode;
4
4
  time?: string;
5
5
  centered?: boolean;
6
- iconReloj?: boolean;
7
6
  }
@@ -3,5 +3,4 @@ export interface CountDownMessageProps {
3
3
  text: string | React.ReactNode
4
4
  time?: string
5
5
  centered?: boolean
6
- iconReloj?: boolean
7
6
  }
@@ -3,6 +3,6 @@ import { ContactBarWrapperStyled, ContactBarWrapperText, ScheduleWrapper } from
3
3
  import { IconWeb } from '../../../../images/componentsSvg/IconWeb';
4
4
  import { WideInfoBar } from '../../atoms/WideInfoBar';
5
5
  export const InfoBarFooter = ({ sitePhone, siteSchedule, securityText, guaranteeText, securityIconBlack, guaranteeIconGrey, isJonSnow = false, isAnonymousPayment = false }) => {
6
- return (_jsx(WideInfoBar, { children: _jsxs(_Fragment, { children: [_jsxs(ContactBarWrapperStyled, { className: `${(isJonSnow || isAnonymousPayment || (!sitePhone && !siteSchedule)) && 'hidden'}`, children: [sitePhone && _jsx(IconWeb, {}), _jsxs(ScheduleWrapper, { children: [_jsxs("div", { className: 'is-mobile', children: [sitePhone && (_jsxs(_Fragment, { children: [_jsx("a", { className: 'phone', href: `tel:${sitePhone}`, children: _jsx("strong", { children: sitePhone }) }), ' - '] })), siteSchedule ? `${siteSchedule}` : ''] }), _jsx("div", { className: 'no-mobile', children: sitePhone ? (_jsxs(_Fragment, { children: [_jsx("strong", { children: sitePhone }), " ", siteSchedule ? `- ${siteSchedule}` : ''] })) : siteSchedule ? (`${siteSchedule}`) : ('') })] })] }), _jsxs(ContactBarWrapperStyled, { children: [_jsx("img", { src: securityIconBlack, alt: 'security-icon' }), _jsx(ContactBarWrapperText, { children: securityText })] }), _jsxs(ContactBarWrapperStyled, { children: [_jsx("img", { src: guaranteeIconGrey, alt: 'guarantee-icon' }), _jsx(ContactBarWrapperText, { children: guaranteeText })] })] }) }));
6
+ return (_jsx(WideInfoBar, { children: _jsxs(_Fragment, { children: [_jsxs(ContactBarWrapperStyled, { className: `${(isJonSnow || isAnonymousPayment) && 'hidden'}`, children: [sitePhone && _jsx(IconWeb, {}), _jsxs(ScheduleWrapper, { children: [_jsxs("div", { className: 'is-mobile', children: [sitePhone && (_jsxs(_Fragment, { children: [_jsx("a", { className: 'phone', href: `tel:${sitePhone}`, children: _jsx("strong", { children: sitePhone }) }), ' - '] })), siteSchedule] }), _jsx("div", { className: 'no-mobile', children: sitePhone ? (_jsxs(_Fragment, { children: [_jsx("strong", { children: sitePhone }), " - ", siteSchedule] })) : (siteSchedule) })] })] }), _jsxs(ContactBarWrapperStyled, { children: [_jsx("img", { src: securityIconBlack, alt: 'security-icon' }), _jsx(ContactBarWrapperText, { children: securityText })] }), _jsxs(ContactBarWrapperStyled, { children: [_jsx("img", { src: guaranteeIconGrey, alt: 'guarantee-icon' }), _jsx(ContactBarWrapperText, { children: guaranteeText })] })] }) }));
7
7
  };
8
8
  export default InfoBarFooter;
@@ -17,9 +17,7 @@ export const InfoBarFooter: React.FC<InfoBarFooterProps> = ({
17
17
  return (
18
18
  <WideInfoBar>
19
19
  <>
20
- <ContactBarWrapperStyled
21
- className={`${(isJonSnow || isAnonymousPayment || (!sitePhone && !siteSchedule)) && 'hidden'}`}
22
- >
20
+ <ContactBarWrapperStyled className={`${(isJonSnow || isAnonymousPayment) && 'hidden'}`}>
23
21
  {sitePhone && <IconWeb />}
24
22
  <ScheduleWrapper>
25
23
  <div className='is-mobile'>
@@ -31,17 +29,15 @@ export const InfoBarFooter: React.FC<InfoBarFooterProps> = ({
31
29
  {' - '}
32
30
  </>
33
31
  )}
34
- {siteSchedule ? `${siteSchedule}` : ''}
32
+ {siteSchedule}
35
33
  </div>
36
34
  <div className='no-mobile'>
37
35
  {sitePhone ? (
38
36
  <>
39
- <strong>{sitePhone}</strong> {siteSchedule ? `- ${siteSchedule}` : ''}
37
+ <strong>{sitePhone}</strong> - {siteSchedule}
40
38
  </>
41
- ) : siteSchedule ? (
42
- `${siteSchedule}`
43
39
  ) : (
44
- ''
40
+ siteSchedule
45
41
  )}
46
42
  </div>
47
43
  </ScheduleWrapper>
@@ -1,6 +1,6 @@
1
1
  export interface InfoBarFooterProps {
2
- sitePhone?: string;
3
- siteSchedule?: string;
2
+ sitePhone: string;
3
+ siteSchedule: string;
4
4
  securityText: string;
5
5
  guaranteeText: string;
6
6
  securityIconBlack: string;
@@ -1,6 +1,6 @@
1
1
  export interface InfoBarFooterProps {
2
- sitePhone?: string
3
- siteSchedule?: string
2
+ sitePhone: string
3
+ siteSchedule: string
4
4
  securityText: string
5
5
  guaranteeText: string
6
6
  securityIconBlack: string
@@ -8,11 +8,11 @@ export const StepRatafiaCardListStyled = styled.div `
8
8
  flex-direction: column;
9
9
  gap: 1.5rem;
10
10
 
11
- @media ${device['laptop']} {
11
+ @media ${device.desktop} {
12
12
  flex-direction: row;
13
13
  }
14
14
 
15
- @media ${device['desktop']} {
15
+ @media ${device['desktop-xl']} {
16
16
  flex-direction: column;
17
17
  gap: var(--global-gap);
18
18
  }
@@ -9,11 +9,11 @@ export const StepRatafiaCardListStyled = styled.div`
9
9
  flex-direction: column;
10
10
  gap: 1.5rem;
11
11
 
12
- @media ${device['laptop']} {
12
+ @media ${device.desktop} {
13
13
  flex-direction: row;
14
14
  }
15
15
 
16
- @media ${device['desktop']} {
16
+ @media ${device['desktop-xl']} {
17
17
  flex-direction: column;
18
18
  gap: var(--global-gap);
19
19
  }
@@ -1,4 +1,5 @@
1
- import React, { cleanup, fireEvent, render, waitFor } from '@testing-library/react'
1
+ import { cleanup, fireEvent, render, waitFor } from '@testing-library/react'
2
+ import React from 'react'
2
3
 
3
4
  import { Input } from '../Input'
4
5
 
@@ -7,50 +8,38 @@ afterEach(cleanup)
7
8
  const testName = 'name'
8
9
  const testValue = 'value'
9
10
 
10
- const defaultInputProps = {
11
- name: '',
12
- placeholder: '',
13
- prefix: '',
14
- value: '',
15
- type: 'text' as const,
16
- disabled: false,
17
- className: '',
18
- onChange: jest.fn(),
19
- onClick: jest.fn(),
20
- onBlur: jest.fn(),
21
- onKeyDown: jest.fn(),
22
- onKeyUp: jest.fn(),
23
- country: ''
24
- }
25
-
26
11
  describe('will return the component', () => {
27
12
  test('without props', () => {
28
- const { getByRole } = render(<Input {...defaultInputProps} />)
13
+ const { getByRole } = render(<Input />)
29
14
  expect(getByRole('textbox')).toBeInTheDocument()
30
15
  expect(getByRole('textbox')).toHaveAttribute('type', 'text')
31
16
  })
32
17
  test('of type password: with the eyeIcon rendered', async () => {
33
- const { container } = render(<Input {...defaultInputProps} type='password' value={testValue} />)
18
+ const { container, getByRole } = render(<Input type='password' value={testValue} />)
34
19
  expect(container.firstChild).toHaveAttribute('type', 'password')
35
20
 
36
- const toggleButton = container.querySelector('.input-icon-password-button')
37
- expect(toggleButton).toBeTruthy()
38
- if (toggleButton) fireEvent.click(toggleButton)
21
+ const img = getByRole('img')
22
+ expect(img).toHaveClass('input-icon-password')
23
+ fireEvent.click(img)
39
24
 
40
25
  await waitFor(() => {
41
26
  expect(container.firstChild).toHaveAttribute('type', 'text')
42
27
  })
43
28
  })
44
- test('of type password: with the eyeIcon rendered but without value shows password type initially', () => {
45
- const { container } = render(<Input {...defaultInputProps} type='password' />)
46
- const input = container.querySelector('input')
47
- expect(input).toHaveAttribute('type', 'password')
29
+ test('of type password: with the eyeIcon rendered but is not enabled without value', async () => {
30
+ const { container, getByRole } = render(<Input type='password' />)
31
+ expect(container.firstChild).toHaveAttribute('type', 'password')
32
+
33
+ const img = getByRole('img')
34
+ expect(img).toHaveClass('input-icon-password')
35
+ fireEvent.click(img)
48
36
 
49
- const toggleButton = container.querySelector('.input-icon-password-button')
50
- expect(toggleButton).toBeTruthy()
37
+ await waitFor(() => {
38
+ expect(container.firstChild).toHaveAttribute('type', 'password')
39
+ })
51
40
  })
52
41
  test('of type password: with the eyeIcon rendered', () => {
53
- const { container } = render(<Input {...defaultInputProps} name={testName} />)
42
+ const { container } = render(<Input name={testName} />)
54
43
  expect(container.firstChild).toHaveAttribute('data-qa', testName)
55
44
  })
56
45
  })
@@ -11,50 +11,43 @@ const testErrorMessage = 'Error message'
11
11
  const testLabel = 'Label'
12
12
  const testNotes = 'Notes'
13
13
 
14
- const defaultTextInputProps = {
15
- onChange: (): void => {},
16
- country: ''
17
- }
18
-
19
14
  describe('will return the component', () => {
20
15
  test('without props', () => {
21
- const { getByRole, container } = render(<TextInput {...defaultTextInputProps} />)
16
+ const { getByRole, container } = render(<TextInput />)
22
17
  expect(container.firstChild).toHaveClass('e-text')
23
18
  expect(getByRole('textbox')).toHaveAttribute('type', 'text')
24
19
  })
25
20
 
26
21
  test('NumberFormat input if the format prop is passed', () => {
27
- const { getByRole } = render(<TextInput {...defaultTextInputProps} format={testFormat} />)
22
+ const { getByRole } = render(<TextInput format={testFormat} />)
28
23
  expect(getByRole('textbox')).toHaveClass('e-text-input')
29
24
  expect(getByRole('textbox')).toHaveAttribute('type', 'text')
30
25
  expect(getByRole('textbox')).toHaveAttribute('inputmode', 'numeric')
31
26
  })
32
27
 
33
28
  test('with a tooltip', () => {
34
- const { getByText } = render(<TextInput {...defaultTextInputProps} tooltip={testTooltip} />)
29
+ const { getByText } = render(<TextInput tooltip={testTooltip} />)
35
30
  expect(getByText(testTooltip)).toHaveClass('tooltip-form')
36
31
  })
37
32
 
38
33
  test('with a error message', () => {
39
- const { getByText } = render(
40
- <TextInput {...defaultTextInputProps} errorMessage={testErrorMessage} validate={false} />
41
- )
34
+ const { getByText } = render(<TextInput errorMessage={testErrorMessage} validate={false} />)
42
35
  expect(getByText(testErrorMessage)).toHaveClass('e-text__error-label')
43
36
  })
44
37
 
45
38
  test('with a label', () => {
46
- const { getByText } = render(<TextInput {...defaultTextInputProps} label={testLabel} />)
39
+ const { getByText } = render(<TextInput label={testLabel} />)
47
40
  expect(getByText(testLabel)).toHaveClass('form-group__label')
48
41
  })
49
42
 
50
43
  test('with notes', () => {
51
- const { getByText } = render(<TextInput {...defaultTextInputProps} notes={testNotes} />)
44
+ const { getByText } = render(<TextInput notes={testNotes} />)
52
45
  expect(getByText(testNotes)).toHaveClass('e-text__inner__notes')
53
46
  })
54
47
 
55
48
  test('should have children', () => {
56
49
  const { getByText } = render(
57
- <TextInput {...defaultTextInputProps}>
50
+ <TextInput>
58
51
  <span>test children</span>
59
52
  </TextInput>
60
53
  )
@@ -62,10 +55,10 @@ describe('will return the component', () => {
62
55
  })
63
56
 
64
57
  test('should have id in input and for in label', () => {
65
- const { getByText, getByLabelText } = render(<TextInput {...defaultTextInputProps} name='cvv' label='CVV' />)
58
+ const { getByText, getByLabelText } = render(<TextInput name='cvv' label='CVV' />)
66
59
 
67
60
  const label = getByText('CVV')
68
- const input = getByLabelText('CVV') as HTMLInputElement
61
+ const input = getByLabelText('CVV')
69
62
 
70
63
  expect(label).toBeDefined()
71
64
  expect(label).toHaveAttribute('for', 'cvv')
@@ -9,11 +9,11 @@ const testErrorMessage = 'Error message'
9
9
 
10
10
  describe('will return null', () => {
11
11
  test('if no prop is passed', () => {
12
- const { container } = render(<TextInputMessage errorMessage='' validate={false} />)
12
+ const { container } = render(<TextInputMessage />)
13
13
  expect(container.firstChild).toBe(null)
14
14
  })
15
15
  test('if errorMessage is passed and validate is true', () => {
16
- const { container } = render(<TextInputMessage errorMessage={testErrorMessage} validate={true} />)
16
+ const { container } = render(<TextInputMessage errorMessage={testErrorMessage} />)
17
17
  expect(container.firstChild).toBe(null)
18
18
  })
19
19
  })
@@ -9,7 +9,7 @@ const testTooltip = 'Tooltip'
9
9
 
10
10
  describe('will return null', () => {
11
11
  test('if no prop is passed', () => {
12
- const { container } = render(<TextInputTooltip tooltip='' />)
12
+ const { container } = render(<TextInputTooltip />)
13
13
  expect(container.firstChild).toBe(null)
14
14
  })
15
15
  })
@@ -14,7 +14,6 @@ export * from './ContactCardList';
14
14
  export * from './ContactInfo';
15
15
  export * from './ContactInfoBox';
16
16
  export * from './ContactInfoBoxMobile';
17
- export * from './ComplianceBox';
18
17
  export * from './ContinueEditingBanner';
19
18
  export * from './CountDownMessage';
20
19
  export * from './DocumentListMenuSection';
@@ -44,7 +43,6 @@ export * from './RatafiaResultCardList';
44
43
  export * from './RatafiaResultTabList';
45
44
  export * from './SocialLinks';
46
45
  export * from './SubscriptionCard';
47
- export * from './SignersStatusTooltipContent';
48
46
  export * from './Snackbar';
49
47
  export * from './SearchBar';
50
48
  export * from './StepGetForm';
@@ -53,7 +51,6 @@ export * from './SubtypeDocumentCard';
53
51
  export * from './TagsRatafiaList';
54
52
  export * from './TextInput';
55
53
  export * from './TooltipMenu';
56
- export * from './TrustBanner';
57
54
  export * from './TrustworthyWebsites';
58
55
  export * from './TypeModulesList';
59
56
  export * from './UploadRatafiaZone';
@@ -14,7 +14,6 @@ export * from './ContactCardList';
14
14
  export * from './ContactInfo';
15
15
  export * from './ContactInfoBox';
16
16
  export * from './ContactInfoBoxMobile';
17
- export * from './ComplianceBox';
18
17
  export * from './ContinueEditingBanner';
19
18
  export * from './CountDownMessage';
20
19
  export * from './DocumentListMenuSection';
@@ -44,7 +43,6 @@ export * from './RatafiaResultCardList';
44
43
  export * from './RatafiaResultTabList';
45
44
  export * from './SocialLinks';
46
45
  export * from './SubscriptionCard';
47
- export * from './SignersStatusTooltipContent';
48
46
  export * from './Snackbar';
49
47
  export * from './SearchBar';
50
48
  export * from './StepGetForm';
@@ -53,7 +51,6 @@ export * from './SubtypeDocumentCard';
53
51
  export * from './TagsRatafiaList';
54
52
  export * from './TextInput';
55
53
  export * from './TooltipMenu';
56
- export * from './TrustBanner';
57
54
  export * from './TrustworthyWebsites';
58
55
  export * from './TypeModulesList';
59
56
  export * from './UploadRatafiaZone';
@@ -14,7 +14,6 @@ export * from './ContactCardList'
14
14
  export * from './ContactInfo'
15
15
  export * from './ContactInfoBox'
16
16
  export * from './ContactInfoBoxMobile'
17
- export * from './ComplianceBox'
18
17
  export * from './ContinueEditingBanner'
19
18
  export * from './CountDownMessage'
20
19
  export * from './DocumentListMenuSection'
@@ -44,7 +43,6 @@ export * from './RatafiaResultCardList'
44
43
  export * from './RatafiaResultTabList'
45
44
  export * from './SocialLinks'
46
45
  export * from './SubscriptionCard'
47
- export * from './SignersStatusTooltipContent'
48
46
  export * from './Snackbar'
49
47
  export * from './SearchBar'
50
48
  export * from './StepGetForm'
@@ -53,7 +51,6 @@ export * from './SubtypeDocumentCard'
53
51
  export * from './TagsRatafiaList'
54
52
  export * from './TextInput'
55
53
  export * from './TooltipMenu'
56
- export * from './TrustBanner'
57
54
  export * from './TrustworthyWebsites'
58
55
  export * from './TypeModulesList'
59
56
  export * from './UploadRatafiaZone'
@@ -8,7 +8,7 @@ export const Accordion = ({ data, defaultActiveIndex = 0, defaultHeightItem, hei
8
8
  const handleItemClick = (index) => {
9
9
  setActiveIndex((prevIndex) => (prevIndex === index ? -1 : index));
10
10
  };
11
- return (_jsx(AccordionProvider, { elements: data.length, children: _jsx(AccordionStyled, { children: data.map((item, index) => (_jsx(AccordionItem, { noPadding: item?.noPadding, accordionRightContent: item?.accordionRightContent, defaultHeightItem: defaultHeightItem, index: index, isOpen: activeIndex === index, onClick: () => {
11
+ return (_jsx(AccordionProvider, { elements: data.length, children: _jsx(AccordionStyled, { children: data.map((item, index) => (_jsx(AccordionItem, { accordionRightContent: item?.accordionRightContent, defaultHeightItem: defaultHeightItem, index: index, isOpen: activeIndex === index, onClick: () => {
12
12
  handleItemClick(index);
13
13
  }, title: item.title, heightAutoChange: heightAutoChange, children: item.children }, index))) }) }));
14
14
  };
@@ -21,7 +21,6 @@ export const Accordion = ({
21
21
  <AccordionStyled>
22
22
  {data.map((item, index) => (
23
23
  <AccordionItem
24
- noPadding={item?.noPadding}
25
24
  accordionRightContent={item?.accordionRightContent}
26
25
  defaultHeightItem={defaultHeightItem}
27
26
  index={index}
@@ -3,7 +3,6 @@ interface AccordionItem {
3
3
  children?: React.ReactNode;
4
4
  onClick?: () => void;
5
5
  title?: string;
6
- noPadding?: boolean;
7
6
  }
8
7
  export interface AccordionProps {
9
8
  data: AccordionItem[];
@@ -3,7 +3,6 @@ interface AccordionItem {
3
3
  children?: React.ReactNode
4
4
  onClick?: () => void
5
5
  title?: string
6
- noPadding?: boolean
7
6
  }
8
7
 
9
8
  export interface AccordionProps {
@@ -2,6 +2,6 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { DesktopMenuStyled } from './DesktopMenu.styled';
3
3
  import { HelpSection } from '../../molecules';
4
4
  import { PhoneNumberDisplay } from '../../atoms';
5
- export const DesktopMenu = ({ phoneNumber, phoneNumberBorder, menuList, userActions, homeUrl }) => {
6
- return (_jsxs(DesktopMenuStyled, { children: [phoneNumber && _jsx(PhoneNumberDisplay, { phoneNumber: phoneNumber, border: phoneNumberBorder }), menuList?.items?.length && _jsx(HelpSection, { ...menuList, homeUrl: homeUrl }), userActions] }));
5
+ export const DesktopMenu = ({ phoneNumber, menuList, userActions, homeUrl }) => {
6
+ return (_jsxs(DesktopMenuStyled, { children: [phoneNumber && _jsx(PhoneNumberDisplay, { phoneNumber: phoneNumber }), menuList?.items?.length && _jsx(HelpSection, { ...menuList, homeUrl: homeUrl }), userActions] }));
7
7
  };
@@ -4,16 +4,10 @@ import { HelpSection } from '../../molecules'
4
4
  import { PhoneNumberDisplay } from '../../atoms'
5
5
  import React from 'react'
6
6
 
7
- export const DesktopMenu: React.FC<DesktopMenuProps> = ({
8
- phoneNumber,
9
- phoneNumberBorder,
10
- menuList,
11
- userActions,
12
- homeUrl
13
- }) => {
7
+ export const DesktopMenu: React.FC<DesktopMenuProps> = ({ phoneNumber, menuList, userActions, homeUrl }) => {
14
8
  return (
15
9
  <DesktopMenuStyled>
16
- {phoneNumber && <PhoneNumberDisplay phoneNumber={phoneNumber} border={phoneNumberBorder} />}
10
+ {phoneNumber && <PhoneNumberDisplay phoneNumber={phoneNumber} />}
17
11
  {menuList?.items?.length && <HelpSection {...menuList} homeUrl={homeUrl} />}
18
12
  {userActions}
19
13
  </DesktopMenuStyled>
@@ -1,7 +1,6 @@
1
1
  import { HelpSectionProps } from 'src/components/molecules/HelpSection';
2
2
  export interface DesktopMenuProps {
3
3
  phoneNumber: string;
4
- phoneNumberBorder?: boolean;
5
4
  menuList?: HelpSectionProps;
6
5
  userActions: React.ReactNode;
7
6
  homeUrl: string;
@@ -2,7 +2,6 @@ import { HelpSectionProps } from 'src/components/molecules/HelpSection'
2
2
 
3
3
  export interface DesktopMenuProps {
4
4
  phoneNumber: string
5
- phoneNumberBorder?: boolean
6
5
  menuList?: HelpSectionProps
7
6
  userActions: React.ReactNode
8
7
  homeUrl: string
@@ -3,5 +3,5 @@ import { SelectorTrustpilotWrapper, TopFooterStyled } from './TopFooter.styled';
3
3
  import { ContactInfo } from '../../molecules/ContactInfo/ContactInfo';
4
4
  import { FooterMenu } from '../../molecules/FooterMenu/FooterMenu';
5
5
  export const TopFooter = ({ menus, contactInfo, trustPilotWidget }) => {
6
- return (_jsxs(TopFooterStyled, { className: 'footer__wrapper', children: [menus?.map((menu) => (_jsx(FooterMenu, { ...menu }, menu.title))), (contactInfo || Boolean(trustPilotWidget)) && (_jsxs(SelectorTrustpilotWrapper, { children: [contactInfo && _jsx(ContactInfo, { ...contactInfo }), Boolean(trustPilotWidget) && _jsx("div", { children: trustPilotWidget })] }))] }));
6
+ return (_jsxs(TopFooterStyled, { className: 'footer__wrapper', children: [menus?.map((menu) => _jsx(FooterMenu, { ...menu }, menu.title)), (contactInfo || Boolean(trustPilotWidget)) && (_jsxs(SelectorTrustpilotWrapper, { children: [contactInfo && _jsx(ContactInfo, { ...contactInfo }), Boolean(trustPilotWidget) && _jsx("div", { children: trustPilotWidget })] }))] }));
7
7
  };