@npm_leadtech/legal-lib-components 5.11.14 → 5.11.21

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 (111) hide show
  1. package/dist/css/styles.css +3 -26
  2. package/dist/src/components/atoms/Button/Button.js +1 -2
  3. package/dist/src/components/atoms/Button/Button.scss +1 -31
  4. package/dist/src/components/atoms/Button/Button.tsx +2 -2
  5. package/dist/src/components/atoms/Button/ButtonProps.types.d.ts +1 -1
  6. package/dist/src/components/atoms/Button/ButtonProps.types.ts +0 -1
  7. package/dist/src/components/atoms/CardPane/CardPane.tsx +1 -0
  8. package/dist/src/components/atoms/CardPane/CardPaneInfo.tsx +2 -0
  9. package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.js +4 -0
  10. package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.tsx +4 -0
  11. package/dist/src/components/atoms/DatePickerCustom/index.js.map +2 -2
  12. package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.js +3 -0
  13. package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.tsx +4 -0
  14. package/dist/src/components/atoms/Disclaimer/Disclaimer.js +1 -0
  15. package/dist/src/components/atoms/Disclaimer/Disclaimer.tsx +1 -0
  16. package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafia.js +1 -0
  17. package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafia.tsx +1 -0
  18. package/dist/src/components/atoms/Divider/Divider.tsx +2 -0
  19. package/dist/src/components/atoms/GoogleButton/GoogleButton.tsx +1 -0
  20. package/dist/src/components/atoms/IconImage/IconImage.tsx +1 -0
  21. package/dist/src/components/atoms/IconSvgURLWithThemeColor/IconSvgURLWithThemeColor.tsx +1 -0
  22. package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.js +1 -0
  23. package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.tsx +1 -0
  24. package/dist/src/components/atoms/InfoBox/InfoBox.tsx +2 -0
  25. package/dist/src/components/atoms/Logo/Logo.tsx +2 -1
  26. package/dist/src/components/atoms/MenuItems/MenuItemProps.types.d.ts +0 -1
  27. package/dist/src/components/atoms/MenuItems/MenuItemProps.types.ts +0 -1
  28. package/dist/src/components/atoms/MenuItems/MenuItems.js +3 -0
  29. package/dist/src/components/atoms/MenuItems/MenuItems.tsx +3 -0
  30. package/dist/src/components/atoms/MessageInformation/MessageInformation.tsx +1 -0
  31. package/dist/src/components/atoms/PaypalButton/PaypalButton.tsx +1 -0
  32. package/dist/src/components/atoms/ProgressBar/ProgressBar.tsx +1 -0
  33. package/dist/src/components/atoms/Radio/Radio.tsx +3 -0
  34. package/dist/src/components/atoms/RemoveButton/RemoveButton.tsx +1 -0
  35. package/dist/src/components/atoms/RichTextStrapi/useFormattedText.js +1 -0
  36. package/dist/src/components/atoms/RichTextStrapi/useFormattedText.tsx +1 -0
  37. package/dist/src/components/atoms/SearchSelect/SearchSelect.styled.js +1 -1
  38. package/dist/src/components/atoms/SearchSelect/SearchSelect.styled.ts +1 -1
  39. package/dist/src/components/atoms/SearchSelect/SearchSelect.tsx +4 -0
  40. package/dist/src/components/atoms/SidemenuTab/SidemenuTab.tsx +2 -0
  41. package/dist/src/components/atoms/TestAB/TestAB.js +3 -0
  42. package/dist/src/components/atoms/TestAB/TestAB.tsx +3 -0
  43. package/dist/src/components/atoms/TextArea/TextArea.tsx +1 -0
  44. package/dist/src/components/molecules/AccordionItem/AccordionItem.js +1 -0
  45. package/dist/src/components/molecules/AccordionItem/AccordionItem.tsx +1 -0
  46. package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.tsx +1 -0
  47. package/dist/src/components/molecules/BottomOverlay/BottomOverlay.js +0 -12
  48. package/dist/src/components/molecules/BottomOverlay/BottomOverlay.tsx +0 -12
  49. package/dist/src/components/molecules/CountDownMessage/CountDownMessage.js +1 -0
  50. package/dist/src/components/molecules/CountDownMessage/CountDownMessage.tsx +1 -0
  51. package/dist/src/components/molecules/Feedback/Feedback.tsx +1 -0
  52. package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.tsx +1 -0
  53. package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.tsx +1 -0
  54. package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.js +2 -0
  55. package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.tsx +2 -1
  56. package/dist/src/components/molecules/Pagination/PageStepControl.js +1 -0
  57. package/dist/src/components/molecules/Pagination/PageStepControl.tsx +1 -0
  58. package/dist/src/components/molecules/Pagination/PageSteps.tsx +1 -0
  59. package/dist/src/components/molecules/Pagination/Pagination.js +1 -0
  60. package/dist/src/components/molecules/Pagination/Pagination.tsx +1 -0
  61. package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.tsx +2 -0
  62. package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.tsx +1 -0
  63. package/dist/src/components/molecules/PricingCard/PricingCard.js +1 -0
  64. package/dist/src/components/molecules/PricingCard/PricingCard.tsx +1 -0
  65. package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.js +1 -8
  66. package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.ts +1 -8
  67. package/dist/src/components/molecules/Snackbar/Snackbar.js +1 -0
  68. package/dist/src/components/molecules/Snackbar/Snackbar.tsx +1 -0
  69. package/dist/src/components/molecules/TextInput/Input.js +1 -0
  70. package/dist/src/components/molecules/TextInput/Input.tsx +1 -1
  71. package/dist/src/components/molecules/TextInput/TextInput.js +2 -0
  72. package/dist/src/components/molecules/TextInput/TextInput.scss +1 -1
  73. package/dist/src/components/molecules/TextInput/TextInput.tsx +2 -0
  74. package/dist/src/components/molecules/TextInput/TextInputMessage.tsx +1 -0
  75. package/dist/src/components/molecules/TextInput/TextInputTooltip.tsx +1 -0
  76. package/dist/src/components/molecules/TypeModulesList/TypeModulesList.tsx +1 -0
  77. package/dist/src/components/molecules/index.d.ts +0 -1
  78. package/dist/src/components/molecules/index.js +0 -1
  79. package/dist/src/components/molecules/index.ts +0 -1
  80. package/dist/src/components/organisms/Accordion/Accordion.context.js +1 -0
  81. package/dist/src/components/organisms/Accordion/Accordion.context.tsx +1 -0
  82. package/dist/src/components/organisms/Accordion/Accordion.js +1 -0
  83. package/dist/src/components/organisms/Accordion/Accordion.tsx +1 -0
  84. package/dist/src/components/organisms/ArticlesList/ArticlesList.tsx +1 -0
  85. package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.styled.js +0 -1
  86. package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.styled.ts +0 -1
  87. package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.tsx +1 -0
  88. package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.tsx +1 -0
  89. package/dist/src/components/pages/AboutUsPage/AboutUsPage.tsx +1 -0
  90. package/dist/src/components/sections/AboutUsSection/AboutUsSection.tsx +1 -0
  91. package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.tsx +0 -1
  92. package/dist/src/components/sections/BlogSection/BlogSection.tsx +1 -0
  93. package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.tsx +1 -0
  94. package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.tsx +1 -1
  95. package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.js +1 -6
  96. package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.tsx +2 -8
  97. package/dist/tsconfig.build.tsbuildinfo +1 -1
  98. package/package.json +1 -5
  99. package/dist/images/png/preview-doc.png +0 -0
  100. package/dist/src/components/molecules/SubtypeDocumentCard/SubtypeDocumentCard.d.ts +0 -4
  101. package/dist/src/components/molecules/SubtypeDocumentCard/SubtypeDocumentCard.js +0 -7
  102. package/dist/src/components/molecules/SubtypeDocumentCard/SubtypeDocumentCard.styled.d.ts +0 -1
  103. package/dist/src/components/molecules/SubtypeDocumentCard/SubtypeDocumentCard.styled.js +0 -161
  104. package/dist/src/components/molecules/SubtypeDocumentCard/SubtypeDocumentCard.styled.ts +0 -162
  105. package/dist/src/components/molecules/SubtypeDocumentCard/SubtypeDocumentCard.tsx +0 -37
  106. package/dist/src/components/molecules/SubtypeDocumentCard/SubtypeDocumentCardProps.types.d.ts +0 -10
  107. package/dist/src/components/molecules/SubtypeDocumentCard/SubtypeDocumentCardProps.types.js +0 -1
  108. package/dist/src/components/molecules/SubtypeDocumentCard/SubtypeDocumentCardProps.types.ts +0 -11
  109. package/dist/src/components/molecules/SubtypeDocumentCard/index.d.ts +0 -2
  110. package/dist/src/components/molecules/SubtypeDocumentCard/index.js +0 -1
  111. package/dist/src/components/molecules/SubtypeDocumentCard/index.ts +0 -2
@@ -1,4 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ /* eslint-disable @typescript-eslint/no-unsafe-member-access */
3
+ /* eslint-disable @typescript-eslint/no-unsafe-argument */
4
+ /* eslint-disable @typescript-eslint/no-unsafe-assignment */
2
5
  /* eslint-disable jsx-a11y/no-noninteractive-element-interactions */
3
6
  /* eslint-disable jsx-a11y/click-events-have-key-events */
4
7
  import { useCallback, useEffect, useRef, useState } from 'react';
@@ -1,3 +1,7 @@
1
+ /* eslint-disable @typescript-eslint/no-unsafe-member-access */
2
+ /* eslint-disable @typescript-eslint/no-unsafe-argument */
3
+ /* eslint-disable @typescript-eslint/no-unsafe-assignment */
4
+
1
5
  /* eslint-disable jsx-a11y/no-noninteractive-element-interactions */
2
6
  /* eslint-disable jsx-a11y/click-events-have-key-events */
3
7
  import React, { type FC, useCallback, useEffect, useRef, useState } from 'react'
@@ -1,4 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ /* eslint-disable @typescript-eslint/restrict-template-expressions */
2
3
  import React from 'react';
3
4
  import { DisclaimerStyled } from './Disclaimer.styled';
4
5
  const Disclaimer = ({ givenClass, text, disclaimerLinks = false, complexCopyRight, complexCopyRightMobile, simpleCopyRight }) => {
@@ -1,3 +1,4 @@
1
+ /* eslint-disable @typescript-eslint/restrict-template-expressions */
1
2
  import React, { type FC } from 'react'
2
3
 
3
4
  import { type DisclaimerProps } from './DisclaimerProps.types'
@@ -1,4 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
+ /* eslint-disable @typescript-eslint/no-unnecessary-condition */
2
3
  import React from 'react';
3
4
  import { Button } from '../Button';
4
5
  import { ChevronRight } from '../../../../images/componentsSvg/ChevronRight';
@@ -1,3 +1,4 @@
1
+ /* eslint-disable @typescript-eslint/no-unnecessary-condition */
1
2
  import React from 'react'
2
3
 
3
4
  import { Button } from '../Button'
@@ -1,3 +1,5 @@
1
+ /* eslint-disable @typescript-eslint/no-unsafe-assignment */
2
+ /* eslint-disable @typescript-eslint/no-unsafe-member-access */
1
3
  import React, { type FC } from 'react'
2
4
 
3
5
  import { type DividerProps } from './DividerProps.types'
@@ -1,3 +1,4 @@
1
+ /* eslint-disable @typescript-eslint/no-unsafe-assignment */
1
2
  import React, { type FC } from 'react'
2
3
 
3
4
  import { type GoogleButtonProps } from './GoogleButtonProps.types'
@@ -1,3 +1,4 @@
1
+ /* eslint-disable @typescript-eslint/restrict-template-expressions */
1
2
  import React, { type FC } from 'react'
2
3
 
3
4
  import { type IconImageProps } from './IconImageProps.types'
@@ -1,3 +1,4 @@
1
+ /* eslint-disable @typescript-eslint/no-unsafe-assignment */
1
2
  import React, { type FC } from 'react'
2
3
 
3
4
  import { type IconSvgURLWithThemeColorProps } from './IconSvgURLWithThemeColorProps.types'
@@ -1,4 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ /* eslint-disable @typescript-eslint/restrict-template-expressions */
2
3
  import React from 'react';
3
4
  import { IconTextInfoSectionStyled } from './IconTextInfoSection.styled';
4
5
  export const IconTextInfoSection = ({ items, classnames = '' }) => {
@@ -1,3 +1,4 @@
1
+ /* eslint-disable @typescript-eslint/restrict-template-expressions */
1
2
  import React from 'react'
2
3
 
3
4
  import { type IconTextInfoSectionProps } from './IconTextInfoSection.types'
@@ -1,3 +1,5 @@
1
+ /* eslint-disable @typescript-eslint/restrict-template-expressions */
2
+
1
3
  import React, { type FC } from 'react'
2
4
 
3
5
  import { type InfoBoxProps } from './InfoBoxProps.types'
@@ -1,5 +1,6 @@
1
1
  /* eslint-disable @typescript-eslint/no-explicit-any */
2
-
2
+ /* eslint-disable @typescript-eslint/no-unsafe-member-access */
3
+ /* eslint-disable @typescript-eslint/no-unsafe-assignment */
3
4
  import React, { type FC } from 'react'
4
5
 
5
6
  import { type LogoProps } from './LogoProps.types'
@@ -1,5 +1,4 @@
1
1
  export interface MenuItemProps {
2
- className?: string;
3
2
  spacing?: boolean;
4
3
  hasBullets?: boolean;
5
4
  initialActiveContent?: string;
@@ -1,6 +1,5 @@
1
1
  /* eslint-disable @typescript-eslint/no-explicit-any */
2
2
  export interface MenuItemProps {
3
- className?: string
4
3
  spacing?: boolean
5
4
  hasBullets?: boolean
6
5
  initialActiveContent?: string
@@ -1,4 +1,7 @@
1
1
  import { jsxs as _jsxs, Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime";
2
+ /* eslint-disable @typescript-eslint/no-unnecessary-condition */
3
+ /* eslint-disable @typescript-eslint/no-unsafe-assignment */
4
+ /* eslint-disable @typescript-eslint/restrict-template-expressions */
2
5
  /* eslint-disable @typescript-eslint/no-unused-expressions */
3
6
  /* eslint-disable jsx-a11y/click-events-have-key-events */
4
7
  /* eslint-disable @typescript-eslint/strict-boolean-expressions */
@@ -1,3 +1,6 @@
1
+ /* eslint-disable @typescript-eslint/no-unnecessary-condition */
2
+ /* eslint-disable @typescript-eslint/no-unsafe-assignment */
3
+ /* eslint-disable @typescript-eslint/restrict-template-expressions */
1
4
  /* eslint-disable @typescript-eslint/no-unused-expressions */
2
5
  /* eslint-disable jsx-a11y/click-events-have-key-events */
3
6
  /* eslint-disable @typescript-eslint/strict-boolean-expressions */
@@ -1,3 +1,4 @@
1
+ /* eslint-disable @typescript-eslint/restrict-template-expressions */
1
2
  import React, { type FC } from 'react'
2
3
 
3
4
  import { type MessageInformationProps } from './MessageInformationProps.types'
@@ -1,3 +1,4 @@
1
+ /* eslint-disable @typescript-eslint/no-unsafe-assignment */
1
2
  import React, { type FC } from 'react'
2
3
 
3
4
  import { type PaypalButtonProps } from './PaypalButtonProps.types'
@@ -1,3 +1,4 @@
1
+ /* eslint-disable @typescript-eslint/restrict-template-expressions */
1
2
  import React, { type FC } from 'react'
2
3
 
3
4
  import { type ProgressBarProps } from './ProgressBarProps.types'
@@ -1,3 +1,6 @@
1
+ /* eslint-disable @typescript-eslint/no-unsafe-return */
2
+ /* eslint-disable @typescript-eslint/restrict-template-expressions */
3
+
1
4
  import React, { type FC } from 'react'
2
5
 
3
6
  import IconImage from '../IconImage/IconImage'
@@ -1,3 +1,4 @@
1
+ /* eslint-disable @typescript-eslint/no-empty-function */
1
2
  import React, { type FC } from 'react'
2
3
 
3
4
  import { type RemoveButtonProps } from './RemoveButtonProps.types'
@@ -1,3 +1,4 @@
1
+ /* eslint-disable @typescript-eslint/no-unnecessary-condition */
1
2
  import React from 'react';
2
3
  import { getDateFormatMMMMYYYY } from '../../../utils/getDateFormatMMMMYYYY';
3
4
  import { replaceAll } from '../../../utils/replaceAll';
@@ -1,3 +1,4 @@
1
+ /* eslint-disable @typescript-eslint/no-unnecessary-condition */
1
2
  import React from 'react'
2
3
 
3
4
  import { type RichTextMedia } from './RichTextMedia'
@@ -6,7 +6,7 @@ export const SearchSelectStyled = styled.div `
6
6
  .e-searchselect {
7
7
  display: flex;
8
8
  flex-direction: column-reverse;
9
- margin-bottom: 1rem;
9
+ margin-bottom: 2rem;
10
10
  position: relative;
11
11
 
12
12
  @media ${device.laptop} {
@@ -7,7 +7,7 @@ export const SearchSelectStyled = styled.div`
7
7
  .e-searchselect {
8
8
  display: flex;
9
9
  flex-direction: column-reverse;
10
- margin-bottom: 1rem;
10
+ margin-bottom: 2rem;
11
11
  position: relative;
12
12
 
13
13
  @media ${device.laptop} {
@@ -1,4 +1,8 @@
1
+ /* eslint-disable @typescript-eslint/no-unsafe-member-access */
2
+ /* eslint-disable @typescript-eslint/no-unsafe-call */
1
3
  /* eslint-disable @typescript-eslint/no-explicit-any */
4
+ /* eslint-disable @typescript-eslint/no-unnecessary-condition */
5
+ /* eslint-disable @typescript-eslint/no-unsafe-assignment */
2
6
 
3
7
  import React, { type FC } from 'react'
4
8
  import Select from 'react-select'
@@ -1,3 +1,5 @@
1
+ /* eslint-disable @typescript-eslint/no-unsafe-member-access */
2
+ /* eslint-disable @typescript-eslint/no-unsafe-assignment */
1
3
  import React from 'react'
2
4
  import classNames from 'classnames'
3
5
 
@@ -1,4 +1,7 @@
1
1
  /* eslint-disable @typescript-eslint/no-explicit-any */
2
+ /* eslint-disable @typescript-eslint/no-unsafe-call */
3
+ /* eslint-disable @typescript-eslint/no-unsafe-member-access */
4
+ /* eslint-disable @typescript-eslint/no-unsafe-assignment */
2
5
  import PropTypes from 'prop-types';
3
6
  /**
4
7
  * @param {string} props.id, jira task number
@@ -1,4 +1,7 @@
1
1
  /* eslint-disable @typescript-eslint/no-explicit-any */
2
+ /* eslint-disable @typescript-eslint/no-unsafe-call */
3
+ /* eslint-disable @typescript-eslint/no-unsafe-member-access */
4
+ /* eslint-disable @typescript-eslint/no-unsafe-assignment */
2
5
 
3
6
  import PropTypes from 'prop-types'
4
7
 
@@ -1,3 +1,4 @@
1
+ /* eslint-disable @typescript-eslint/no-unsafe-assignment */
1
2
  import React, { type FC } from 'react'
2
3
 
3
4
  import { type TextAreaProps } from './TextAreaProps.types'
@@ -1,4 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ /* eslint-disable @typescript-eslint/no-unnecessary-condition */
2
3
  /* eslint-disable @typescript-eslint/no-unused-expressions */
3
4
  import { useEffect, useRef } from 'react';
4
5
  import { useDispatchDataAccordionItem, useStateDataAccordionItem } from '../../organisms/Accordion/Accordion.context';
@@ -1,3 +1,4 @@
1
+ /* eslint-disable @typescript-eslint/no-unnecessary-condition */
1
2
  /* eslint-disable @typescript-eslint/no-unused-expressions */
2
3
  import React, { useEffect, useRef } from 'react'
3
4
  import { useDispatchDataAccordionItem, useStateDataAccordionItem } from '../../organisms/Accordion/Accordion.context'
@@ -1,3 +1,4 @@
1
+ /* eslint-disable @typescript-eslint/no-unnecessary-condition */
1
2
  import React, { type FC } from 'react'
2
3
 
3
4
  import { Button, RichTextInner } from '../../atoms'
@@ -9,7 +9,6 @@ const BottomOverlay = ({ givenClass, header, body, open = false, onClose, footer
9
9
  const overlayBackground = useRef(null);
10
10
  const overlayMessage = useRef(null);
11
11
  useEffect(() => {
12
- handleBodyScroll(open);
13
12
  if (open) {
14
13
  const backgroundElement = overlayBackground.current;
15
14
  backgroundElement.addEventListener('mousedown', handleCloseModal);
@@ -18,17 +17,6 @@ const BottomOverlay = ({ givenClass, header, body, open = false, onClose, footer
18
17
  };
19
18
  }
20
19
  }, [open]);
21
- const handleBodyScroll = (disableScroll) => {
22
- if (disableScroll) {
23
- document.body.style.overflow = 'hidden';
24
- document.body.style.position = 'fixed';
25
- }
26
- else {
27
- document.body.style.overflow = 'unset';
28
- document.body.style.position = 'relative';
29
- document.body.style.width = '100%';
30
- }
31
- };
32
20
  const handleCloseModal = (event) => {
33
21
  if (onClose != null)
34
22
  onClose();
@@ -12,7 +12,6 @@ const BottomOverlay: FC<BottomOverlayProps> = ({ givenClass, header, body, open
12
12
  const overlayMessage = useRef<HTMLDivElement | null>(null)
13
13
 
14
14
  useEffect(() => {
15
- handleBodyScroll(open)
16
15
  if (open) {
17
16
  const backgroundElement = overlayBackground.current as HTMLElement
18
17
  backgroundElement.addEventListener('mousedown', handleCloseModal)
@@ -22,17 +21,6 @@ const BottomOverlay: FC<BottomOverlayProps> = ({ givenClass, header, body, open
22
21
  }
23
22
  }, [open])
24
23
 
25
- const handleBodyScroll = (disableScroll: boolean): void => {
26
- if (disableScroll) {
27
- document.body.style.overflow = 'hidden'
28
- document.body.style.position = 'fixed'
29
- } else {
30
- document.body.style.overflow = 'unset'
31
- document.body.style.position = 'relative'
32
- document.body.style.width = '100%'
33
- }
34
- }
35
-
36
24
  const handleCloseModal = (event: MouseEvent): void => {
37
25
  if (onClose != null) onClose()
38
26
  }
@@ -1,4 +1,5 @@
1
1
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
+ /* eslint-disable @typescript-eslint/restrict-template-expressions */
2
3
  import { useEffect, useRef, useState } from 'react';
3
4
  import { CountDownMessageStyled } from './CountDownMessage.styled';
4
5
  import { MessageInformation } from '../../atoms';
@@ -1,3 +1,4 @@
1
+ /* eslint-disable @typescript-eslint/restrict-template-expressions */
1
2
  import React, { type FC, useEffect, useRef, useState } from 'react'
2
3
 
3
4
  import { type CountDownMessageProps } from './CountDownMessageProps.types'
@@ -1,3 +1,4 @@
1
+ /* eslint-disable @typescript-eslint/no-unnecessary-condition */
1
2
  /* eslint-disable jsx-a11y/no-static-element-interactions */
2
3
  /* eslint-disable jsx-a11y/click-events-have-key-events */
3
4
  /* eslint-disable jsx-a11y/anchor-is-valid */
@@ -1,3 +1,4 @@
1
+ /* eslint-disable @typescript-eslint/no-unnecessary-condition */
1
2
  /* eslint-disable jsx-a11y/no-static-element-interactions */
2
3
  /* eslint-disable jsx-a11y/click-events-have-key-events */
3
4
  import React, { type FC } from 'react'
@@ -1,3 +1,4 @@
1
+ /* eslint-disable @typescript-eslint/no-unnecessary-condition */
1
2
  import React, { type FC } from 'react'
2
3
 
3
4
  import { MenuItems } from '../../atoms'
@@ -1,4 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
+ /* eslint-disable @typescript-eslint/restrict-template-expressions */
2
3
  /* eslint-disable jsx-a11y/no-static-element-interactions */
3
4
  /* eslint-disable jsx-a11y/click-events-have-key-events */
4
5
  import { useEffect } from 'react';
@@ -17,6 +18,7 @@ export const NavBarDropDown = ({ isOpen, list, hasBullets = true, initialActiveC
17
18
  };
18
19
  const onTouchMove = (event) => {
19
20
  const touchEndPosY = event.changedTouches[0];
21
+ // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
20
22
  if (isDisabledScroll && touchEndPosY?.screenY - touchStartPosY?.screenY > 0) {
21
23
  enableScrollbarOnClose(true);
22
24
  isDisabledScroll = false;
@@ -1,3 +1,4 @@
1
+ /* eslint-disable @typescript-eslint/restrict-template-expressions */
1
2
  /* eslint-disable jsx-a11y/no-static-element-interactions */
2
3
  /* eslint-disable jsx-a11y/click-events-have-key-events */
3
4
  import React, { type FC, useEffect } from 'react'
@@ -28,7 +29,7 @@ export const NavBarDropDown: FC<NavBarDropDownProps> = ({
28
29
 
29
30
  const onTouchMove = (event: TouchEvent): void => {
30
31
  const touchEndPosY = event.changedTouches[0]
31
-
32
+ // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
32
33
  if (isDisabledScroll && touchEndPosY?.screenY - touchStartPosY?.screenY > 0) {
33
34
  enableScrollbarOnClose(true)
34
35
  isDisabledScroll = false
@@ -1,4 +1,5 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
+ /* eslint-disable @typescript-eslint/no-unnecessary-condition */
2
3
  /* eslint-disable jsx-a11y/no-static-element-interactions */
3
4
  /* eslint-disable jsx-a11y/click-events-have-key-events */
4
5
  import { useCallback } from 'react';
@@ -1,3 +1,4 @@
1
+ /* eslint-disable @typescript-eslint/no-unnecessary-condition */
1
2
  /* eslint-disable jsx-a11y/no-static-element-interactions */
2
3
  /* eslint-disable jsx-a11y/click-events-have-key-events */
3
4
  import React, { type FC, useCallback } from 'react'
@@ -1,3 +1,4 @@
1
+ /* eslint-disable @typescript-eslint/no-unnecessary-condition */
1
2
  /* eslint-disable jsx-a11y/no-static-element-interactions */
2
3
  /* eslint-disable jsx-a11y/click-events-have-key-events */
3
4
  import React, { type FC, type MouseEventHandler } from 'react'
@@ -1,4 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ /* eslint-disable @typescript-eslint/no-unnecessary-condition */
2
3
  import { useCallback, useState } from 'react';
3
4
  import PageStepControl from './PageStepControl';
4
5
  import PageSteps from './PageSteps';
@@ -1,3 +1,4 @@
1
+ /* eslint-disable @typescript-eslint/no-unnecessary-condition */
1
2
  import React, { type FC, type SyntheticEvent, useCallback, useState } from 'react'
2
3
 
3
4
  import PageStepControl from './PageStepControl'
@@ -1,3 +1,5 @@
1
+ /* eslint-disable @typescript-eslint/restrict-template-expressions */
2
+ /* eslint-disable @typescript-eslint/no-unsafe-assignment */
1
3
  import React from 'react'
2
4
 
3
5
  import ContactPhoneIcon from '../../../../images/webp/customer-support.webp'
@@ -1,3 +1,4 @@
1
+ /* eslint-disable @typescript-eslint/restrict-template-expressions */
1
2
  import React from 'react'
2
3
 
3
4
  import { Button } from '../../atoms'
@@ -1,4 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
+ /* eslint-disable @typescript-eslint/no-unnecessary-condition */
2
3
  import { useState } from 'react';
3
4
  import { Button, Message } from '../../atoms';
4
5
  import { PricingCardStyled } from './PricingCard.styled';
@@ -1,3 +1,4 @@
1
+ /* eslint-disable @typescript-eslint/no-unnecessary-condition */
1
2
  import React, { type FC, useState } from 'react'
2
3
 
3
4
  import { Button, Message } from '../../atoms'
@@ -1,11 +1,10 @@
1
- import { device } from '../../../globalStyles/breakpoints';
2
1
  import styled from 'styled-components';
3
2
  export const RatafiaSubscriptionCardStyled = styled.div `
4
3
  display: flex;
5
4
  flex-flow: column nowrap;
6
5
  flex: 1;
7
6
  gap: 0.5rem;
8
- min-width: 270px;
7
+ min-width: 320px;
9
8
  padding: 1rem;
10
9
  border-radius: var(--global-border-radius);
11
10
 
@@ -91,11 +90,5 @@ export const RatafiaSubscriptionCardStyled = styled.div `
91
90
  display: flex;
92
91
  margin-top: 1.5rem;
93
92
  }
94
-
95
- @media ${device.mobile} {
96
- &__button {
97
- flex: 1;
98
- }
99
- }
100
93
  }
101
94
  `;
@@ -1,4 +1,3 @@
1
- import { device } from '../../../globalStyles/breakpoints'
2
1
  import styled from 'styled-components'
3
2
 
4
3
  export const RatafiaSubscriptionCardStyled = styled.div`
@@ -6,7 +5,7 @@ export const RatafiaSubscriptionCardStyled = styled.div`
6
5
  flex-flow: column nowrap;
7
6
  flex: 1;
8
7
  gap: 0.5rem;
9
- min-width: 270px;
8
+ min-width: 320px;
10
9
  padding: 1rem;
11
10
  border-radius: var(--global-border-radius);
12
11
 
@@ -92,11 +91,5 @@ export const RatafiaSubscriptionCardStyled = styled.div`
92
91
  display: flex;
93
92
  margin-top: 1.5rem;
94
93
  }
95
-
96
- @media ${device.mobile} {
97
- &__button {
98
- flex: 1;
99
- }
100
- }
101
94
  }
102
95
  `
@@ -1,4 +1,5 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ /* eslint-disable @typescript-eslint/no-unnecessary-condition */
2
3
  /* eslint-disable jsx-a11y/no-noninteractive-tabindex */
3
4
  /* eslint-disable jsx-a11y/no-static-element-interactions */
4
5
  /* eslint-disable jsx-a11y/click-events-have-key-events */
@@ -1,3 +1,4 @@
1
+ /* eslint-disable @typescript-eslint/no-unnecessary-condition */
1
2
  /* eslint-disable jsx-a11y/no-noninteractive-tabindex */
2
3
  /* eslint-disable jsx-a11y/no-static-element-interactions */
3
4
  /* eslint-disable jsx-a11y/click-events-have-key-events */
@@ -1,5 +1,6 @@
1
1
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  /* eslint-disable @typescript-eslint/no-explicit-any */
3
+ /* eslint-disable @typescript-eslint/no-unsafe-assignment */
3
4
  /* eslint-disable jsx-a11y/no-noninteractive-element-interactions */
4
5
  /* eslint-disable jsx-a11y/click-events-have-key-events */
5
6
  import React, { useState } from 'react';
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable @typescript-eslint/no-explicit-any */
2
-
2
+ /* eslint-disable @typescript-eslint/no-unsafe-assignment */
3
3
  /* eslint-disable jsx-a11y/no-noninteractive-element-interactions */
4
4
  /* eslint-disable jsx-a11y/click-events-have-key-events */
5
5
  import React, { useState } from 'react'
@@ -1,4 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ /* eslint-disable @typescript-eslint/no-empty-function */
3
+ /* eslint-disable @typescript-eslint/no-unsafe-assignment */
2
4
  import { NumericFormat } from 'react-number-format';
3
5
  import React from 'react';
4
6
  import classNames from 'classnames';
@@ -7,7 +7,7 @@
7
7
  .e-text {
8
8
  display: flex;
9
9
  flex-direction: column-reverse;
10
- margin-bottom: 1rem;
10
+ margin-bottom: 2rem;
11
11
  position: relative;
12
12
 
13
13
  input {
@@ -1,3 +1,5 @@
1
+ /* eslint-disable @typescript-eslint/no-empty-function */
2
+ /* eslint-disable @typescript-eslint/no-unsafe-assignment */
1
3
  import { NumericFormat } from 'react-number-format'
2
4
  import React from 'react'
3
5
  import classNames from 'classnames'
@@ -1,3 +1,4 @@
1
+ /* eslint-disable @typescript-eslint/no-unsafe-assignment */
1
2
  import React, { type FC } from 'react'
2
3
 
3
4
  import error from '../../../../images/svg/info-error_24px_outlined.svg'
@@ -1,3 +1,4 @@
1
+ /* eslint-disable @typescript-eslint/no-unnecessary-condition */
1
2
  import React, { type FC } from 'react'
2
3
 
3
4
  interface TextInputTooltipProps {
@@ -1,3 +1,4 @@
1
+ /* eslint-disable @typescript-eslint/no-unnecessary-condition */
1
2
  import React, { type FC } from 'react'
2
3
 
3
4
  import { Button, RichTextStrapi } from '../../atoms'
@@ -35,7 +35,6 @@ export * from './RatafiaSubscriptionCard';
35
35
  export * from './Snackbar';
36
36
  export * from './StepGetForm';
37
37
  export * from './StepRatafiaCardList';
38
- export * from './SubtypeDocumentCard';
39
38
  export * from './TagsRatafiaList';
40
39
  export * from './TextInput';
41
40
  export * from './TooltipMenu';
@@ -35,7 +35,6 @@ export * from './RatafiaSubscriptionCard';
35
35
  export * from './Snackbar';
36
36
  export * from './StepGetForm';
37
37
  export * from './StepRatafiaCardList';
38
- export * from './SubtypeDocumentCard';
39
38
  export * from './TagsRatafiaList';
40
39
  export * from './TextInput';
41
40
  export * from './TooltipMenu';
@@ -35,7 +35,6 @@ export * from './RatafiaSubscriptionCard'
35
35
  export * from './Snackbar'
36
36
  export * from './StepGetForm'
37
37
  export * from './StepRatafiaCardList'
38
- export * from './SubtypeDocumentCard'
39
38
  export * from './TagsRatafiaList'
40
39
  export * from './TextInput'
41
40
  export * from './TooltipMenu'
@@ -1,4 +1,5 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
+ /* eslint-disable @typescript-eslint/no-unnecessary-condition */
2
3
  /* eslint-disable @typescript-eslint/no-non-null-assertion */
3
4
  /* eslint-disable @typescript-eslint/strict-boolean-expressions */
4
5
  import React from 'react';
@@ -1,3 +1,4 @@
1
+ /* eslint-disable @typescript-eslint/no-unnecessary-condition */
1
2
  /* eslint-disable @typescript-eslint/no-non-null-assertion */
2
3
  /* eslint-disable @typescript-eslint/strict-boolean-expressions */
3
4
  import React from 'react'
@@ -1,4 +1,5 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
+ /* eslint-disable @typescript-eslint/no-unnecessary-condition */
2
3
  import { useState } from 'react';
3
4
  import { AccordionItem } from '../../molecules';
4
5
  import { AccordionProvider } from './Accordion.context';
@@ -1,3 +1,4 @@
1
+ /* eslint-disable @typescript-eslint/no-unnecessary-condition */
1
2
  import React, { useState } from 'react'
2
3
  import { AccordionItem } from '../../molecules'
3
4
  import { type AccordionProps } from './AccordionProps.types'