@npm_leadtech/legal-lib-components 5.12.8 → 5.12.10

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 (82) hide show
  1. package/dist/src/components/atoms/Button/Button.tsx +0 -1
  2. package/dist/src/components/atoms/CardPane/CardPane.tsx +0 -1
  3. package/dist/src/components/atoms/CardPane/CardPaneInfo.tsx +0 -2
  4. package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.js +0 -4
  5. package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.tsx +0 -4
  6. package/dist/src/components/atoms/DatePickerCustom/index.js.map +2 -2
  7. package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.js +0 -3
  8. package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.tsx +0 -4
  9. package/dist/src/components/atoms/Disclaimer/Disclaimer.js +0 -1
  10. package/dist/src/components/atoms/Disclaimer/Disclaimer.tsx +0 -1
  11. package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafia.js +0 -1
  12. package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafia.tsx +0 -1
  13. package/dist/src/components/atoms/Divider/Divider.tsx +0 -2
  14. package/dist/src/components/atoms/GoogleButton/GoogleButton.tsx +0 -1
  15. package/dist/src/components/atoms/IconImage/IconImage.tsx +0 -1
  16. package/dist/src/components/atoms/IconSvgURLWithThemeColor/IconSvgURLWithThemeColor.tsx +0 -1
  17. package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.js +0 -1
  18. package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.tsx +0 -1
  19. package/dist/src/components/atoms/InfoBox/InfoBox.tsx +0 -2
  20. package/dist/src/components/atoms/Logo/Logo.tsx +1 -2
  21. package/dist/src/components/atoms/MenuItems/MenuItems.js +0 -3
  22. package/dist/src/components/atoms/MenuItems/MenuItems.tsx +0 -3
  23. package/dist/src/components/atoms/MessageInformation/MessageInformation.tsx +0 -1
  24. package/dist/src/components/atoms/PaypalButton/PaypalButton.tsx +0 -1
  25. package/dist/src/components/atoms/ProgressBar/ProgressBar.tsx +0 -1
  26. package/dist/src/components/atoms/Radio/Radio.tsx +0 -3
  27. package/dist/src/components/atoms/RemoveButton/RemoveButton.tsx +0 -1
  28. package/dist/src/components/atoms/RichTextStrapi/useFormattedText.js +0 -1
  29. package/dist/src/components/atoms/RichTextStrapi/useFormattedText.tsx +0 -1
  30. package/dist/src/components/atoms/SearchSelect/SearchSelect.tsx +0 -4
  31. package/dist/src/components/atoms/SidemenuTab/SidemenuTab.tsx +0 -2
  32. package/dist/src/components/atoms/TestAB/TestAB.js +0 -3
  33. package/dist/src/components/atoms/TestAB/TestAB.tsx +0 -3
  34. package/dist/src/components/atoms/TextArea/TextArea.tsx +0 -1
  35. package/dist/src/components/molecules/AccordionItem/AccordionItem.js +0 -1
  36. package/dist/src/components/molecules/AccordionItem/AccordionItem.tsx +0 -1
  37. package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.tsx +0 -1
  38. package/dist/src/components/molecules/CountDownMessage/CountDownMessage.js +0 -1
  39. package/dist/src/components/molecules/CountDownMessage/CountDownMessage.tsx +0 -1
  40. package/dist/src/components/molecules/Feedback/Feedback.tsx +0 -1
  41. package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.tsx +0 -1
  42. package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.tsx +0 -1
  43. package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.js +0 -2
  44. package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.tsx +1 -2
  45. package/dist/src/components/molecules/Pagination/PageStepControl.js +0 -1
  46. package/dist/src/components/molecules/Pagination/PageStepControl.tsx +0 -1
  47. package/dist/src/components/molecules/Pagination/PageSteps.tsx +0 -1
  48. package/dist/src/components/molecules/Pagination/Pagination.js +0 -1
  49. package/dist/src/components/molecules/Pagination/Pagination.tsx +0 -1
  50. package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.tsx +0 -2
  51. package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.tsx +0 -1
  52. package/dist/src/components/molecules/PricingCard/PricingCard.js +0 -1
  53. package/dist/src/components/molecules/PricingCard/PricingCard.tsx +0 -1
  54. package/dist/src/components/molecules/Snackbar/Snackbar.js +0 -1
  55. package/dist/src/components/molecules/Snackbar/Snackbar.tsx +0 -1
  56. package/dist/src/components/molecules/SubtypeDocumentCard/SubtypeDocumentCard.js +2 -2
  57. package/dist/src/components/molecules/SubtypeDocumentCard/SubtypeDocumentCard.styled.js +21 -6
  58. package/dist/src/components/molecules/SubtypeDocumentCard/SubtypeDocumentCard.styled.ts +21 -6
  59. package/dist/src/components/molecules/SubtypeDocumentCard/SubtypeDocumentCard.tsx +4 -1
  60. package/dist/src/components/molecules/SubtypeDocumentCard/SubtypeDocumentCardProps.types.d.ts +1 -0
  61. package/dist/src/components/molecules/SubtypeDocumentCard/SubtypeDocumentCardProps.types.ts +1 -0
  62. package/dist/src/components/molecules/TextInput/Input.js +0 -1
  63. package/dist/src/components/molecules/TextInput/Input.tsx +1 -1
  64. package/dist/src/components/molecules/TextInput/TextInput.js +0 -2
  65. package/dist/src/components/molecules/TextInput/TextInput.tsx +0 -2
  66. package/dist/src/components/molecules/TextInput/TextInputMessage.tsx +0 -1
  67. package/dist/src/components/molecules/TextInput/TextInputTooltip.tsx +0 -1
  68. package/dist/src/components/molecules/TypeModulesList/TypeModulesList.tsx +0 -1
  69. package/dist/src/components/organisms/Accordion/Accordion.context.js +0 -1
  70. package/dist/src/components/organisms/Accordion/Accordion.context.tsx +0 -1
  71. package/dist/src/components/organisms/Accordion/Accordion.js +0 -1
  72. package/dist/src/components/organisms/Accordion/Accordion.tsx +0 -1
  73. package/dist/src/components/organisms/ArticlesList/ArticlesList.tsx +0 -1
  74. package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.tsx +0 -1
  75. package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.tsx +0 -1
  76. package/dist/src/components/pages/AboutUsPage/AboutUsPage.tsx +0 -1
  77. package/dist/src/components/sections/AboutUsSection/AboutUsSection.tsx +0 -1
  78. package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.tsx +1 -0
  79. package/dist/src/components/sections/BlogSection/BlogSection.tsx +0 -1
  80. package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.tsx +0 -1
  81. package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.tsx +1 -1
  82. package/package.json +4 -1
@@ -1,7 +1,4 @@
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 */
5
2
  /* eslint-disable jsx-a11y/no-noninteractive-element-interactions */
6
3
  /* eslint-disable jsx-a11y/click-events-have-key-events */
7
4
  import { useCallback, useEffect, useRef, useState } from 'react';
@@ -1,7 +1,3 @@
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
-
5
1
  /* eslint-disable jsx-a11y/no-noninteractive-element-interactions */
6
2
  /* eslint-disable jsx-a11y/click-events-have-key-events */
7
3
  import React, { type FC, useCallback, useEffect, useRef, useState } from 'react'
@@ -1,5 +1,4 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- /* eslint-disable @typescript-eslint/restrict-template-expressions */
3
2
  import React from 'react';
4
3
  import { DisclaimerStyled } from './Disclaimer.styled';
5
4
  const Disclaimer = ({ givenClass, text, disclaimerLinks = false, complexCopyRight, complexCopyRightMobile, simpleCopyRight }) => {
@@ -1,4 +1,3 @@
1
- /* eslint-disable @typescript-eslint/restrict-template-expressions */
2
1
  import React, { type FC } from 'react'
3
2
 
4
3
  import { type DisclaimerProps } from './DisclaimerProps.types'
@@ -1,5 +1,4 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
- /* eslint-disable @typescript-eslint/no-unnecessary-condition */
3
2
  import React from 'react';
4
3
  import { Button } from '../Button';
5
4
  import { ChevronRight } from '../../../../images/componentsSvg/ChevronRight';
@@ -1,4 +1,3 @@
1
- /* eslint-disable @typescript-eslint/no-unnecessary-condition */
2
1
  import React from 'react'
3
2
 
4
3
  import { Button } from '../Button'
@@ -1,5 +1,3 @@
1
- /* eslint-disable @typescript-eslint/no-unsafe-assignment */
2
- /* eslint-disable @typescript-eslint/no-unsafe-member-access */
3
1
  import React, { type FC } from 'react'
4
2
 
5
3
  import { type DividerProps } from './DividerProps.types'
@@ -1,4 +1,3 @@
1
- /* eslint-disable @typescript-eslint/no-unsafe-assignment */
2
1
  import React, { type FC } from 'react'
3
2
 
4
3
  import { type GoogleButtonProps } from './GoogleButtonProps.types'
@@ -1,4 +1,3 @@
1
- /* eslint-disable @typescript-eslint/restrict-template-expressions */
2
1
  import React, { type FC } from 'react'
3
2
 
4
3
  import { type IconImageProps } from './IconImageProps.types'
@@ -1,4 +1,3 @@
1
- /* eslint-disable @typescript-eslint/no-unsafe-assignment */
2
1
  import React, { type FC } from 'react'
3
2
 
4
3
  import { type IconSvgURLWithThemeColorProps } from './IconSvgURLWithThemeColorProps.types'
@@ -1,5 +1,4 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- /* eslint-disable @typescript-eslint/restrict-template-expressions */
3
2
  import React from 'react';
4
3
  import { IconTextInfoSectionStyled } from './IconTextInfoSection.styled';
5
4
  export const IconTextInfoSection = ({ items, classnames = '' }) => {
@@ -1,4 +1,3 @@
1
- /* eslint-disable @typescript-eslint/restrict-template-expressions */
2
1
  import React from 'react'
3
2
 
4
3
  import { type IconTextInfoSectionProps } from './IconTextInfoSection.types'
@@ -1,5 +1,3 @@
1
- /* eslint-disable @typescript-eslint/restrict-template-expressions */
2
-
3
1
  import React, { type FC } from 'react'
4
2
 
5
3
  import { type InfoBoxProps } from './InfoBoxProps.types'
@@ -1,6 +1,5 @@
1
1
  /* eslint-disable @typescript-eslint/no-explicit-any */
2
- /* eslint-disable @typescript-eslint/no-unsafe-member-access */
3
- /* eslint-disable @typescript-eslint/no-unsafe-assignment */
2
+
4
3
  import React, { type FC } from 'react'
5
4
 
6
5
  import { type LogoProps } from './LogoProps.types'
@@ -1,7 +1,4 @@
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 */
5
2
  /* eslint-disable @typescript-eslint/no-unused-expressions */
6
3
  /* eslint-disable jsx-a11y/click-events-have-key-events */
7
4
  /* eslint-disable @typescript-eslint/strict-boolean-expressions */
@@ -1,6 +1,3 @@
1
- /* eslint-disable @typescript-eslint/no-unnecessary-condition */
2
- /* eslint-disable @typescript-eslint/no-unsafe-assignment */
3
- /* eslint-disable @typescript-eslint/restrict-template-expressions */
4
1
  /* eslint-disable @typescript-eslint/no-unused-expressions */
5
2
  /* eslint-disable jsx-a11y/click-events-have-key-events */
6
3
  /* eslint-disable @typescript-eslint/strict-boolean-expressions */
@@ -1,4 +1,3 @@
1
- /* eslint-disable @typescript-eslint/restrict-template-expressions */
2
1
  import React, { type FC } from 'react'
3
2
 
4
3
  import { type MessageInformationProps } from './MessageInformationProps.types'
@@ -1,4 +1,3 @@
1
- /* eslint-disable @typescript-eslint/no-unsafe-assignment */
2
1
  import React, { type FC } from 'react'
3
2
 
4
3
  import { type PaypalButtonProps } from './PaypalButtonProps.types'
@@ -1,4 +1,3 @@
1
- /* eslint-disable @typescript-eslint/restrict-template-expressions */
2
1
  import React, { type FC } from 'react'
3
2
 
4
3
  import { type ProgressBarProps } from './ProgressBarProps.types'
@@ -1,6 +1,3 @@
1
- /* eslint-disable @typescript-eslint/no-unsafe-return */
2
- /* eslint-disable @typescript-eslint/restrict-template-expressions */
3
-
4
1
  import React, { type FC } from 'react'
5
2
 
6
3
  import IconImage from '../IconImage/IconImage'
@@ -1,4 +1,3 @@
1
- /* eslint-disable @typescript-eslint/no-empty-function */
2
1
  import React, { type FC } from 'react'
3
2
 
4
3
  import { type RemoveButtonProps } from './RemoveButtonProps.types'
@@ -1,4 +1,3 @@
1
- /* eslint-disable @typescript-eslint/no-unnecessary-condition */
2
1
  import React from 'react';
3
2
  import { getDateFormatMMMMYYYY } from '../../../utils/getDateFormatMMMMYYYY';
4
3
  import { replaceAll } from '../../../utils/replaceAll';
@@ -1,4 +1,3 @@
1
- /* eslint-disable @typescript-eslint/no-unnecessary-condition */
2
1
  import React from 'react'
3
2
 
4
3
  import { type RichTextMedia } from './RichTextMedia'
@@ -1,8 +1,4 @@
1
- /* eslint-disable @typescript-eslint/no-unsafe-member-access */
2
- /* eslint-disable @typescript-eslint/no-unsafe-call */
3
1
  /* eslint-disable @typescript-eslint/no-explicit-any */
4
- /* eslint-disable @typescript-eslint/no-unnecessary-condition */
5
- /* eslint-disable @typescript-eslint/no-unsafe-assignment */
6
2
 
7
3
  import React, { type FC } from 'react'
8
4
  import Select from 'react-select'
@@ -1,5 +1,3 @@
1
- /* eslint-disable @typescript-eslint/no-unsafe-member-access */
2
- /* eslint-disable @typescript-eslint/no-unsafe-assignment */
3
1
  import React from 'react'
4
2
  import classNames from 'classnames'
5
3
 
@@ -1,7 +1,4 @@
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 */
5
2
  import PropTypes from 'prop-types';
6
3
  /**
7
4
  * @param {string} props.id, jira task number
@@ -1,7 +1,4 @@
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 */
5
2
 
6
3
  import PropTypes from 'prop-types'
7
4
 
@@ -1,4 +1,3 @@
1
- /* eslint-disable @typescript-eslint/no-unsafe-assignment */
2
1
  import React, { type FC } from 'react'
3
2
 
4
3
  import { type TextAreaProps } from './TextAreaProps.types'
@@ -1,5 +1,4 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- /* eslint-disable @typescript-eslint/no-unnecessary-condition */
3
2
  /* eslint-disable @typescript-eslint/no-unused-expressions */
4
3
  import { useEffect, useRef } from 'react';
5
4
  import { useDispatchDataAccordionItem, useStateDataAccordionItem } from '../../organisms/Accordion/Accordion.context';
@@ -1,4 +1,3 @@
1
- /* eslint-disable @typescript-eslint/no-unnecessary-condition */
2
1
  /* eslint-disable @typescript-eslint/no-unused-expressions */
3
2
  import React, { useEffect, useRef } from 'react'
4
3
  import { useDispatchDataAccordionItem, useStateDataAccordionItem } from '../../organisms/Accordion/Accordion.context'
@@ -1,4 +1,3 @@
1
- /* eslint-disable @typescript-eslint/no-unnecessary-condition */
2
1
  import React, { type FC } from 'react'
3
2
 
4
3
  import { Button, RichTextInner } from '../../atoms'
@@ -1,5 +1,4 @@
1
1
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
- /* eslint-disable @typescript-eslint/restrict-template-expressions */
3
2
  import { useEffect, useRef, useState } from 'react';
4
3
  import { CountDownMessageStyled } from './CountDownMessage.styled';
5
4
  import { MessageInformation } from '../../atoms';
@@ -1,4 +1,3 @@
1
- /* eslint-disable @typescript-eslint/restrict-template-expressions */
2
1
  import React, { type FC, useEffect, useRef, useState } from 'react'
3
2
 
4
3
  import { type CountDownMessageProps } from './CountDownMessageProps.types'
@@ -1,4 +1,3 @@
1
- /* eslint-disable @typescript-eslint/no-unnecessary-condition */
2
1
  /* eslint-disable jsx-a11y/no-static-element-interactions */
3
2
  /* eslint-disable jsx-a11y/click-events-have-key-events */
4
3
  /* eslint-disable jsx-a11y/anchor-is-valid */
@@ -1,4 +1,3 @@
1
- /* eslint-disable @typescript-eslint/no-unnecessary-condition */
2
1
  /* eslint-disable jsx-a11y/no-static-element-interactions */
3
2
  /* eslint-disable jsx-a11y/click-events-have-key-events */
4
3
  import React, { type FC } from 'react'
@@ -1,4 +1,3 @@
1
- /* eslint-disable @typescript-eslint/no-unnecessary-condition */
2
1
  import React, { type FC } from 'react'
3
2
 
4
3
  import { MenuItems } from '../../atoms'
@@ -1,5 +1,4 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
- /* eslint-disable @typescript-eslint/restrict-template-expressions */
3
2
  /* eslint-disable jsx-a11y/no-static-element-interactions */
4
3
  /* eslint-disable jsx-a11y/click-events-have-key-events */
5
4
  import { useEffect } from 'react';
@@ -18,7 +17,6 @@ export const NavBarDropDown = ({ isOpen, list, hasBullets = true, initialActiveC
18
17
  };
19
18
  const onTouchMove = (event) => {
20
19
  const touchEndPosY = event.changedTouches[0];
21
- // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
22
20
  if (isDisabledScroll && touchEndPosY?.screenY - touchStartPosY?.screenY > 0) {
23
21
  enableScrollbarOnClose(true);
24
22
  isDisabledScroll = false;
@@ -1,4 +1,3 @@
1
- /* eslint-disable @typescript-eslint/restrict-template-expressions */
2
1
  /* eslint-disable jsx-a11y/no-static-element-interactions */
3
2
  /* eslint-disable jsx-a11y/click-events-have-key-events */
4
3
  import React, { type FC, useEffect } from 'react'
@@ -29,7 +28,7 @@ export const NavBarDropDown: FC<NavBarDropDownProps> = ({
29
28
 
30
29
  const onTouchMove = (event: TouchEvent): void => {
31
30
  const touchEndPosY = event.changedTouches[0]
32
- // eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
31
+
33
32
  if (isDisabledScroll && touchEndPosY?.screenY - touchStartPosY?.screenY > 0) {
34
33
  enableScrollbarOnClose(true)
35
34
  isDisabledScroll = false
@@ -1,5 +1,4 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- /* eslint-disable @typescript-eslint/no-unnecessary-condition */
3
2
  /* eslint-disable jsx-a11y/no-static-element-interactions */
4
3
  /* eslint-disable jsx-a11y/click-events-have-key-events */
5
4
  import { useCallback } from 'react';
@@ -1,4 +1,3 @@
1
- /* eslint-disable @typescript-eslint/no-unnecessary-condition */
2
1
  /* eslint-disable jsx-a11y/no-static-element-interactions */
3
2
  /* eslint-disable jsx-a11y/click-events-have-key-events */
4
3
  import React, { type FC, useCallback } from 'react'
@@ -1,4 +1,3 @@
1
- /* eslint-disable @typescript-eslint/no-unnecessary-condition */
2
1
  /* eslint-disable jsx-a11y/no-static-element-interactions */
3
2
  /* eslint-disable jsx-a11y/click-events-have-key-events */
4
3
  import React, { type FC, type MouseEventHandler } from 'react'
@@ -1,5 +1,4 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- /* eslint-disable @typescript-eslint/no-unnecessary-condition */
3
2
  import { useCallback, useState } from 'react';
4
3
  import PageStepControl from './PageStepControl';
5
4
  import PageSteps from './PageSteps';
@@ -1,4 +1,3 @@
1
- /* eslint-disable @typescript-eslint/no-unnecessary-condition */
2
1
  import React, { type FC, type SyntheticEvent, useCallback, useState } from 'react'
3
2
 
4
3
  import PageStepControl from './PageStepControl'
@@ -1,5 +1,3 @@
1
- /* eslint-disable @typescript-eslint/restrict-template-expressions */
2
- /* eslint-disable @typescript-eslint/no-unsafe-assignment */
3
1
  import React from 'react'
4
2
 
5
3
  import ContactPhoneIcon from '../../../../images/webp/customer-support.webp'
@@ -1,4 +1,3 @@
1
- /* eslint-disable @typescript-eslint/restrict-template-expressions */
2
1
  import React from 'react'
3
2
 
4
3
  import { Button } from '../../atoms'
@@ -1,5 +1,4 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
2
- /* eslint-disable @typescript-eslint/no-unnecessary-condition */
3
2
  import { useState } from 'react';
4
3
  import { Button, Message } from '../../atoms';
5
4
  import { PricingCardStyled } from './PricingCard.styled';
@@ -1,4 +1,3 @@
1
- /* eslint-disable @typescript-eslint/no-unnecessary-condition */
2
1
  import React, { type FC, useState } from 'react'
3
2
 
4
3
  import { Button, Message } from '../../atoms'
@@ -1,5 +1,4 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- /* eslint-disable @typescript-eslint/no-unnecessary-condition */
3
2
  /* eslint-disable jsx-a11y/no-noninteractive-tabindex */
4
3
  /* eslint-disable jsx-a11y/no-static-element-interactions */
5
4
  /* eslint-disable jsx-a11y/click-events-have-key-events */
@@ -1,4 +1,3 @@
1
- /* eslint-disable @typescript-eslint/no-unnecessary-condition */
2
1
  /* eslint-disable jsx-a11y/no-noninteractive-tabindex */
3
2
  /* eslint-disable jsx-a11y/no-static-element-interactions */
4
3
  /* eslint-disable jsx-a11y/click-events-have-key-events */
@@ -1,7 +1,7 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { Button } from '../../atoms';
3
3
  import { SubtypeDocumentCardStyled } from './SubtypeDocumentCard.styled';
4
- const SubtypeDocumentCard = ({ title, description, children, pdfButton, wordButton, createDocButton }) => {
5
- return (_jsxs(SubtypeDocumentCardStyled, { children: [_jsx("div", { className: 'image-container', children: children }), _jsxs("div", { className: 'content', children: [_jsx("h1", { className: 'title', children: title }), _jsx("p", { className: 'description', children: description }), _jsxs("div", { className: 'buttons-container', children: [_jsx(Button, { ...createDocButton }), _jsxs("div", { className: 'downloadable-buttons', children: [_jsx(Button, { ...pdfButton }), _jsx(Button, { ...wordButton })] })] })] })] }));
4
+ const SubtypeDocumentCard = ({ title, productUrl, description, children, pdfButton, wordButton, createDocButton }) => {
5
+ return (_jsxs(SubtypeDocumentCardStyled, { children: [_jsx("div", { className: 'image-container', children: children }), _jsxs("div", { className: 'content', children: [_jsx("a", { href: productUrl, children: _jsx("h1", { className: 'title', children: title }) }), _jsx("p", { className: 'description', children: description }), _jsxs("div", { className: 'buttons-container', children: [_jsx(Button, { ...createDocButton }), _jsxs("div", { className: 'downloadable-buttons', children: [_jsx(Button, { ...pdfButton }), _jsx(Button, { ...wordButton })] })] })] })] }));
6
6
  };
7
7
  export default SubtypeDocumentCard;
@@ -15,6 +15,10 @@ export const SubtypeDocumentCardStyled = styled.div `
15
15
  box-shadow: 0px 2px 6px 0px var(--neutral-neutral-3);
16
16
  background-color: var(--secondary-main-light-5);
17
17
 
18
+ .image-container {
19
+ width: 70%;
20
+ }
21
+
18
22
  @media (min-width: ${size.xs}) {
19
23
  width: 428px;
20
24
  }
@@ -27,7 +31,11 @@ export const SubtypeDocumentCardStyled = styled.div `
27
31
  flex-direction: row;
28
32
 
29
33
  .image-container {
30
- width: 35%;
34
+ width: 40%;
35
+
36
+ @media (min-width: ${size.lg}) {
37
+ width: 30%;
38
+ }
31
39
  }
32
40
  }
33
41
 
@@ -50,10 +58,6 @@ export const SubtypeDocumentCardStyled = styled.div `
50
58
  @media (min-width: ${size.md}) {
51
59
  width: 65%;
52
60
  }
53
-
54
- @media (min-width: ${size.lg}) {
55
- width: 75%;
56
- }
57
61
  }
58
62
 
59
63
  .title {
@@ -92,6 +96,7 @@ export const SubtypeDocumentCardStyled = styled.div `
92
96
  @media ${device.laptop} {
93
97
  align-self: flex-start;
94
98
  width: auto;
99
+ margin-top: 0.5rem;
95
100
  }
96
101
 
97
102
  @media ${device.desktop} {
@@ -105,19 +110,29 @@ export const SubtypeDocumentCardStyled = styled.div `
105
110
  flex-wrap: wrap;
106
111
  gap: 1rem;
107
112
  width: 100%;
108
- margin-top: 0.75rem;
109
113
  justify-content: space-between;
110
114
 
111
115
  a {
112
116
  min-width: 46.5%;
117
+ max-width: 46.5%;
118
+ margin-top: 0.75rem;
113
119
  }
114
120
 
115
121
  @media ${device.laptop} {
116
122
  justify-content: flex-start;
117
123
  width: 100%;
118
124
 
125
+ a {
126
+ min-width: 46.5%;
127
+ max-width: fit-content;
128
+ margin-top: 0.5rem;
129
+ }
130
+ }
131
+
132
+ @media (min-width: ${size.lg}) {
119
133
  a {
120
134
  min-width: auto;
135
+ max-width: fit-content;
121
136
  }
122
137
  }
123
138
 
@@ -16,6 +16,10 @@ export const SubtypeDocumentCardStyled = styled.div`
16
16
  box-shadow: 0px 2px 6px 0px var(--neutral-neutral-3);
17
17
  background-color: var(--secondary-main-light-5);
18
18
 
19
+ .image-container {
20
+ width: 70%;
21
+ }
22
+
19
23
  @media (min-width: ${size.xs}) {
20
24
  width: 428px;
21
25
  }
@@ -28,7 +32,11 @@ export const SubtypeDocumentCardStyled = styled.div`
28
32
  flex-direction: row;
29
33
 
30
34
  .image-container {
31
- width: 35%;
35
+ width: 40%;
36
+
37
+ @media (min-width: ${size.lg}) {
38
+ width: 30%;
39
+ }
32
40
  }
33
41
  }
34
42
 
@@ -51,10 +59,6 @@ export const SubtypeDocumentCardStyled = styled.div`
51
59
  @media (min-width: ${size.md}) {
52
60
  width: 65%;
53
61
  }
54
-
55
- @media (min-width: ${size.lg}) {
56
- width: 75%;
57
- }
58
62
  }
59
63
 
60
64
  .title {
@@ -93,6 +97,7 @@ export const SubtypeDocumentCardStyled = styled.div`
93
97
  @media ${device.laptop} {
94
98
  align-self: flex-start;
95
99
  width: auto;
100
+ margin-top: 0.5rem;
96
101
  }
97
102
 
98
103
  @media ${device.desktop} {
@@ -106,19 +111,29 @@ export const SubtypeDocumentCardStyled = styled.div`
106
111
  flex-wrap: wrap;
107
112
  gap: 1rem;
108
113
  width: 100%;
109
- margin-top: 0.75rem;
110
114
  justify-content: space-between;
111
115
 
112
116
  a {
113
117
  min-width: 46.5%;
118
+ max-width: 46.5%;
119
+ margin-top: 0.75rem;
114
120
  }
115
121
 
116
122
  @media ${device.laptop} {
117
123
  justify-content: flex-start;
118
124
  width: 100%;
119
125
 
126
+ a {
127
+ min-width: 46.5%;
128
+ max-width: fit-content;
129
+ margin-top: 0.5rem;
130
+ }
131
+ }
132
+
133
+ @media (min-width: ${size.lg}) {
120
134
  a {
121
135
  min-width: auto;
136
+ max-width: fit-content;
122
137
  }
123
138
  }
124
139
 
@@ -7,6 +7,7 @@ import { SubtypeDocumentCardStyled } from './SubtypeDocumentCard.styled'
7
7
 
8
8
  const SubtypeDocumentCard: FC<SubtypeDocumentCardProps> = ({
9
9
  title,
10
+ productUrl,
10
11
  description,
11
12
  children,
12
13
  pdfButton,
@@ -17,7 +18,9 @@ const SubtypeDocumentCard: FC<SubtypeDocumentCardProps> = ({
17
18
  <SubtypeDocumentCardStyled>
18
19
  <div className='image-container'>{children}</div>
19
20
  <div className='content'>
20
- <h1 className='title'>{title}</h1>
21
+ <a href={productUrl}>
22
+ <h1 className='title'>{title}</h1>
23
+ </a>
21
24
  <p className='description'>{description}</p>
22
25
  <div className='buttons-container'>
23
26
  <Button {...createDocButton} />
@@ -1,6 +1,7 @@
1
1
  import { ButtonProps } from 'src/components/atoms';
2
2
  export interface SubtypeDocumentCardProps {
3
3
  title: string;
4
+ productUrl: string;
4
5
  description: string;
5
6
  children: React.ReactNode;
6
7
  pdfButton: ButtonProps;
@@ -2,6 +2,7 @@ import { ButtonProps } from 'src/components/atoms'
2
2
 
3
3
  export interface SubtypeDocumentCardProps {
4
4
  title: string
5
+ productUrl: string
5
6
  description: string
6
7
  children: React.ReactNode
7
8
  pdfButton: ButtonProps
@@ -1,6 +1,5 @@
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 */
4
3
  /* eslint-disable jsx-a11y/no-noninteractive-element-interactions */
5
4
  /* eslint-disable jsx-a11y/click-events-have-key-events */
6
5
  import React, { useState } from 'react';
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable @typescript-eslint/no-explicit-any */
2
- /* eslint-disable @typescript-eslint/no-unsafe-assignment */
2
+
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,6 +1,4 @@
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 */
4
2
  import { NumericFormat } from 'react-number-format';
5
3
  import React from 'react';
6
4
  import classNames from 'classnames';
@@ -1,5 +1,3 @@
1
- /* eslint-disable @typescript-eslint/no-empty-function */
2
- /* eslint-disable @typescript-eslint/no-unsafe-assignment */
3
1
  import { NumericFormat } from 'react-number-format'
4
2
  import React from 'react'
5
3
  import classNames from 'classnames'
@@ -1,4 +1,3 @@
1
- /* eslint-disable @typescript-eslint/no-unsafe-assignment */
2
1
  import React, { type FC } from 'react'
3
2
 
4
3
  import error from '../../../../images/svg/info-error_24px_outlined.svg'
@@ -1,4 +1,3 @@
1
- /* eslint-disable @typescript-eslint/no-unnecessary-condition */
2
1
  import React, { type FC } from 'react'
3
2
 
4
3
  interface TextInputTooltipProps {
@@ -1,4 +1,3 @@
1
- /* eslint-disable @typescript-eslint/no-unnecessary-condition */
2
1
  import React, { type FC } from 'react'
3
2
 
4
3
  import { Button, RichTextStrapi } from '../../atoms'
@@ -1,5 +1,4 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
- /* eslint-disable @typescript-eslint/no-unnecessary-condition */
3
2
  /* eslint-disable @typescript-eslint/no-non-null-assertion */
4
3
  /* eslint-disable @typescript-eslint/strict-boolean-expressions */
5
4
  import React from 'react';
@@ -1,4 +1,3 @@
1
- /* eslint-disable @typescript-eslint/no-unnecessary-condition */
2
1
  /* eslint-disable @typescript-eslint/no-non-null-assertion */
3
2
  /* eslint-disable @typescript-eslint/strict-boolean-expressions */
4
3
  import React from 'react'