@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.
- package/dist/src/components/atoms/Button/Button.tsx +0 -1
- package/dist/src/components/atoms/CardPane/CardPane.tsx +0 -1
- package/dist/src/components/atoms/CardPane/CardPaneInfo.tsx +0 -2
- package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.js +0 -4
- package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.tsx +0 -4
- package/dist/src/components/atoms/DatePickerCustom/index.js.map +2 -2
- package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.js +0 -3
- package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.tsx +0 -4
- package/dist/src/components/atoms/Disclaimer/Disclaimer.js +0 -1
- package/dist/src/components/atoms/Disclaimer/Disclaimer.tsx +0 -1
- package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafia.js +0 -1
- package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafia.tsx +0 -1
- package/dist/src/components/atoms/Divider/Divider.tsx +0 -2
- package/dist/src/components/atoms/GoogleButton/GoogleButton.tsx +0 -1
- package/dist/src/components/atoms/IconImage/IconImage.tsx +0 -1
- package/dist/src/components/atoms/IconSvgURLWithThemeColor/IconSvgURLWithThemeColor.tsx +0 -1
- package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.js +0 -1
- package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.tsx +0 -1
- package/dist/src/components/atoms/InfoBox/InfoBox.tsx +0 -2
- package/dist/src/components/atoms/Logo/Logo.tsx +1 -2
- package/dist/src/components/atoms/MenuItems/MenuItems.js +0 -3
- package/dist/src/components/atoms/MenuItems/MenuItems.tsx +0 -3
- package/dist/src/components/atoms/MessageInformation/MessageInformation.tsx +0 -1
- package/dist/src/components/atoms/PaypalButton/PaypalButton.tsx +0 -1
- package/dist/src/components/atoms/ProgressBar/ProgressBar.tsx +0 -1
- package/dist/src/components/atoms/Radio/Radio.tsx +0 -3
- package/dist/src/components/atoms/RemoveButton/RemoveButton.tsx +0 -1
- package/dist/src/components/atoms/RichTextStrapi/useFormattedText.js +0 -1
- package/dist/src/components/atoms/RichTextStrapi/useFormattedText.tsx +0 -1
- package/dist/src/components/atoms/SearchSelect/SearchSelect.tsx +0 -4
- package/dist/src/components/atoms/SidemenuTab/SidemenuTab.tsx +0 -2
- package/dist/src/components/atoms/TestAB/TestAB.js +0 -3
- package/dist/src/components/atoms/TestAB/TestAB.tsx +0 -3
- package/dist/src/components/atoms/TextArea/TextArea.tsx +0 -1
- package/dist/src/components/molecules/AccordionItem/AccordionItem.js +0 -1
- package/dist/src/components/molecules/AccordionItem/AccordionItem.tsx +0 -1
- package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.tsx +0 -1
- package/dist/src/components/molecules/CountDownMessage/CountDownMessage.js +0 -1
- package/dist/src/components/molecules/CountDownMessage/CountDownMessage.tsx +0 -1
- package/dist/src/components/molecules/Feedback/Feedback.tsx +0 -1
- package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.tsx +0 -1
- package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.tsx +0 -1
- package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.js +0 -2
- package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.tsx +1 -2
- package/dist/src/components/molecules/Pagination/PageStepControl.js +0 -1
- package/dist/src/components/molecules/Pagination/PageStepControl.tsx +0 -1
- package/dist/src/components/molecules/Pagination/PageSteps.tsx +0 -1
- package/dist/src/components/molecules/Pagination/Pagination.js +0 -1
- package/dist/src/components/molecules/Pagination/Pagination.tsx +0 -1
- package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.tsx +0 -2
- package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.tsx +0 -1
- package/dist/src/components/molecules/PricingCard/PricingCard.js +0 -1
- package/dist/src/components/molecules/PricingCard/PricingCard.tsx +0 -1
- package/dist/src/components/molecules/Snackbar/Snackbar.js +0 -1
- package/dist/src/components/molecules/Snackbar/Snackbar.tsx +0 -1
- package/dist/src/components/molecules/SubtypeDocumentCard/SubtypeDocumentCard.js +2 -2
- package/dist/src/components/molecules/SubtypeDocumentCard/SubtypeDocumentCard.styled.js +21 -6
- package/dist/src/components/molecules/SubtypeDocumentCard/SubtypeDocumentCard.styled.ts +21 -6
- package/dist/src/components/molecules/SubtypeDocumentCard/SubtypeDocumentCard.tsx +4 -1
- package/dist/src/components/molecules/SubtypeDocumentCard/SubtypeDocumentCardProps.types.d.ts +1 -0
- package/dist/src/components/molecules/SubtypeDocumentCard/SubtypeDocumentCardProps.types.ts +1 -0
- package/dist/src/components/molecules/TextInput/Input.js +0 -1
- package/dist/src/components/molecules/TextInput/Input.tsx +1 -1
- package/dist/src/components/molecules/TextInput/TextInput.js +0 -2
- package/dist/src/components/molecules/TextInput/TextInput.tsx +0 -2
- package/dist/src/components/molecules/TextInput/TextInputMessage.tsx +0 -1
- package/dist/src/components/molecules/TextInput/TextInputTooltip.tsx +0 -1
- package/dist/src/components/molecules/TypeModulesList/TypeModulesList.tsx +0 -1
- package/dist/src/components/organisms/Accordion/Accordion.context.js +0 -1
- package/dist/src/components/organisms/Accordion/Accordion.context.tsx +0 -1
- package/dist/src/components/organisms/Accordion/Accordion.js +0 -1
- package/dist/src/components/organisms/Accordion/Accordion.tsx +0 -1
- package/dist/src/components/organisms/ArticlesList/ArticlesList.tsx +0 -1
- package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.tsx +0 -1
- package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.tsx +0 -1
- package/dist/src/components/pages/AboutUsPage/AboutUsPage.tsx +0 -1
- package/dist/src/components/sections/AboutUsSection/AboutUsSection.tsx +0 -1
- package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.tsx +1 -0
- package/dist/src/components/sections/BlogSection/BlogSection.tsx +0 -1
- package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.tsx +0 -1
- package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.tsx +1 -1
- 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,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,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,6 +1,5 @@
|
|
|
1
1
|
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
2
|
-
|
|
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,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,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,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,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,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
|
-
|
|
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,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,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,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:
|
|
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
|
+
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
|
-
<
|
|
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,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
|
-
|
|
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,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';
|