@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.
- package/dist/css/styles.css +3 -26
- package/dist/src/components/atoms/Button/Button.js +1 -2
- package/dist/src/components/atoms/Button/Button.scss +1 -31
- package/dist/src/components/atoms/Button/Button.tsx +2 -2
- package/dist/src/components/atoms/Button/ButtonProps.types.d.ts +1 -1
- package/dist/src/components/atoms/Button/ButtonProps.types.ts +0 -1
- package/dist/src/components/atoms/CardPane/CardPane.tsx +1 -0
- package/dist/src/components/atoms/CardPane/CardPaneInfo.tsx +2 -0
- package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.js +4 -0
- package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.tsx +4 -0
- package/dist/src/components/atoms/DatePickerCustom/index.js.map +2 -2
- package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.js +3 -0
- package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.tsx +4 -0
- package/dist/src/components/atoms/Disclaimer/Disclaimer.js +1 -0
- package/dist/src/components/atoms/Disclaimer/Disclaimer.tsx +1 -0
- package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafia.js +1 -0
- package/dist/src/components/atoms/DisclaimerRatafia/DisclaimerRatafia.tsx +1 -0
- package/dist/src/components/atoms/Divider/Divider.tsx +2 -0
- package/dist/src/components/atoms/GoogleButton/GoogleButton.tsx +1 -0
- package/dist/src/components/atoms/IconImage/IconImage.tsx +1 -0
- package/dist/src/components/atoms/IconSvgURLWithThemeColor/IconSvgURLWithThemeColor.tsx +1 -0
- package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.js +1 -0
- package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.tsx +1 -0
- package/dist/src/components/atoms/InfoBox/InfoBox.tsx +2 -0
- package/dist/src/components/atoms/Logo/Logo.tsx +2 -1
- package/dist/src/components/atoms/MenuItems/MenuItemProps.types.d.ts +0 -1
- package/dist/src/components/atoms/MenuItems/MenuItemProps.types.ts +0 -1
- package/dist/src/components/atoms/MenuItems/MenuItems.js +3 -0
- package/dist/src/components/atoms/MenuItems/MenuItems.tsx +3 -0
- package/dist/src/components/atoms/MessageInformation/MessageInformation.tsx +1 -0
- package/dist/src/components/atoms/PaypalButton/PaypalButton.tsx +1 -0
- package/dist/src/components/atoms/ProgressBar/ProgressBar.tsx +1 -0
- package/dist/src/components/atoms/Radio/Radio.tsx +3 -0
- package/dist/src/components/atoms/RemoveButton/RemoveButton.tsx +1 -0
- package/dist/src/components/atoms/RichTextStrapi/useFormattedText.js +1 -0
- package/dist/src/components/atoms/RichTextStrapi/useFormattedText.tsx +1 -0
- package/dist/src/components/atoms/SearchSelect/SearchSelect.styled.js +1 -1
- package/dist/src/components/atoms/SearchSelect/SearchSelect.styled.ts +1 -1
- package/dist/src/components/atoms/SearchSelect/SearchSelect.tsx +4 -0
- package/dist/src/components/atoms/SidemenuTab/SidemenuTab.tsx +2 -0
- package/dist/src/components/atoms/TestAB/TestAB.js +3 -0
- package/dist/src/components/atoms/TestAB/TestAB.tsx +3 -0
- package/dist/src/components/atoms/TextArea/TextArea.tsx +1 -0
- package/dist/src/components/molecules/AccordionItem/AccordionItem.js +1 -0
- package/dist/src/components/molecules/AccordionItem/AccordionItem.tsx +1 -0
- package/dist/src/components/molecules/BottomFixedBar/BottomFixedBar.tsx +1 -0
- package/dist/src/components/molecules/BottomOverlay/BottomOverlay.js +0 -12
- package/dist/src/components/molecules/BottomOverlay/BottomOverlay.tsx +0 -12
- package/dist/src/components/molecules/CountDownMessage/CountDownMessage.js +1 -0
- package/dist/src/components/molecules/CountDownMessage/CountDownMessage.tsx +1 -0
- package/dist/src/components/molecules/Feedback/Feedback.tsx +1 -0
- package/dist/src/components/molecules/FreeDocModalContent/FreeDocModalContent.tsx +1 -0
- package/dist/src/components/molecules/MenuItemsSection/MenuItemsSection.tsx +1 -0
- package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.js +2 -0
- package/dist/src/components/molecules/NavBarDropDown/NavBarDropDown.tsx +2 -1
- package/dist/src/components/molecules/Pagination/PageStepControl.js +1 -0
- package/dist/src/components/molecules/Pagination/PageStepControl.tsx +1 -0
- package/dist/src/components/molecules/Pagination/PageSteps.tsx +1 -0
- package/dist/src/components/molecules/Pagination/Pagination.js +1 -0
- package/dist/src/components/molecules/Pagination/Pagination.tsx +1 -0
- package/dist/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.tsx +2 -0
- package/dist/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.tsx +1 -0
- package/dist/src/components/molecules/PricingCard/PricingCard.js +1 -0
- package/dist/src/components/molecules/PricingCard/PricingCard.tsx +1 -0
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.js +1 -8
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.ts +1 -8
- package/dist/src/components/molecules/Snackbar/Snackbar.js +1 -0
- package/dist/src/components/molecules/Snackbar/Snackbar.tsx +1 -0
- package/dist/src/components/molecules/TextInput/Input.js +1 -0
- package/dist/src/components/molecules/TextInput/Input.tsx +1 -1
- package/dist/src/components/molecules/TextInput/TextInput.js +2 -0
- package/dist/src/components/molecules/TextInput/TextInput.scss +1 -1
- package/dist/src/components/molecules/TextInput/TextInput.tsx +2 -0
- package/dist/src/components/molecules/TextInput/TextInputMessage.tsx +1 -0
- package/dist/src/components/molecules/TextInput/TextInputTooltip.tsx +1 -0
- package/dist/src/components/molecules/TypeModulesList/TypeModulesList.tsx +1 -0
- package/dist/src/components/molecules/index.d.ts +0 -1
- package/dist/src/components/molecules/index.js +0 -1
- package/dist/src/components/molecules/index.ts +0 -1
- package/dist/src/components/organisms/Accordion/Accordion.context.js +1 -0
- package/dist/src/components/organisms/Accordion/Accordion.context.tsx +1 -0
- package/dist/src/components/organisms/Accordion/Accordion.js +1 -0
- package/dist/src/components/organisms/Accordion/Accordion.tsx +1 -0
- package/dist/src/components/organisms/ArticlesList/ArticlesList.tsx +1 -0
- package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.styled.js +0 -1
- package/dist/src/components/organisms/CookiePolicyBar/CookiePolicyBar.styled.ts +0 -1
- package/dist/src/components/organisms/GuidelinesContent/GuidelinesContent.tsx +1 -0
- package/dist/src/components/organisms/MobileBottomBar/MobileBottomBar.tsx +1 -0
- package/dist/src/components/pages/AboutUsPage/AboutUsPage.tsx +1 -0
- package/dist/src/components/sections/AboutUsSection/AboutUsSection.tsx +1 -0
- package/dist/src/components/sections/AsideMenuSection/AsideMenuSection.tsx +0 -1
- package/dist/src/components/sections/BlogSection/BlogSection.tsx +1 -0
- package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.tsx +1 -0
- package/dist/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.tsx +1 -1
- package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.js +1 -6
- package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.tsx +2 -8
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -5
- package/dist/images/png/preview-doc.png +0 -0
- package/dist/src/components/molecules/SubtypeDocumentCard/SubtypeDocumentCard.d.ts +0 -4
- package/dist/src/components/molecules/SubtypeDocumentCard/SubtypeDocumentCard.js +0 -7
- package/dist/src/components/molecules/SubtypeDocumentCard/SubtypeDocumentCard.styled.d.ts +0 -1
- package/dist/src/components/molecules/SubtypeDocumentCard/SubtypeDocumentCard.styled.js +0 -161
- package/dist/src/components/molecules/SubtypeDocumentCard/SubtypeDocumentCard.styled.ts +0 -162
- package/dist/src/components/molecules/SubtypeDocumentCard/SubtypeDocumentCard.tsx +0 -37
- package/dist/src/components/molecules/SubtypeDocumentCard/SubtypeDocumentCardProps.types.d.ts +0 -10
- package/dist/src/components/molecules/SubtypeDocumentCard/SubtypeDocumentCardProps.types.js +0 -1
- package/dist/src/components/molecules/SubtypeDocumentCard/SubtypeDocumentCardProps.types.ts +0 -11
- package/dist/src/components/molecules/SubtypeDocumentCard/index.d.ts +0 -2
- package/dist/src/components/molecules/SubtypeDocumentCard/index.js +0 -1
- 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,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,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,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,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,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,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,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'
|
|
@@ -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,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,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';
|
package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.js
CHANGED
|
@@ -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:
|
|
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
|
`;
|
package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.ts
CHANGED
|
@@ -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:
|
|
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,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';
|
|
@@ -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';
|