@npm_leadtech/legal-lib-components 5.16.0 → 5.16.2
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 +2 -25
- 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 +1 -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/DatePickerCustom/DatePickerCustom.js +2 -22
- package/dist/src/components/atoms/DatePickerCustom/DatePickerCustom.tsx +0 -24
- package/dist/src/components/atoms/DatePickerCustom/DatePickerCustomProps.types.d.ts +0 -1
- package/dist/src/components/atoms/DatePickerCustom/DatePickerCustomProps.types.ts +0 -1
- package/dist/src/components/atoms/DatePickerCustom/index.js.map +3 -3
- package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.js +2 -2
- package/dist/src/components/molecules/HeaderRatafia/HeaderRatafia.tsx +5 -2
- package/dist/src/components/molecules/HeaderRatafia/HeaderRatafiaProps.types.d.ts +2 -0
- package/dist/src/components/molecules/HeaderRatafia/HeaderRatafiaProps.types.ts +2 -0
- package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.js +1 -1
- package/dist/src/components/molecules/MidBannerRatafiaContent/MidBannerRatafiaContent.tsx +1 -1
- package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.styled.js +2 -1
- package/dist/src/components/molecules/UploadRatafiaZone/UploadRatafiaZone.styled.ts +2 -1
- 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/FeaturesRatafiaContent/FeaturesRatafiaContent.styled.js +17 -14
- package/dist/src/components/organisms/FeaturesRatafiaContent/FeaturesRatafiaContent.styled.ts +17 -14
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.js +1 -1
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafia.tsx +3 -1
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafiaProps.types.d.ts +2 -0
- package/dist/src/components/organisms/KeyFactsResultContentRatafia/KeyFactsResultContentRatafiaProps.types.ts +2 -0
- package/dist/src/components/sections/FaqSection/FaqSection.styled.js +4 -1
- package/dist/src/components/sections/FaqSection/FaqSection.styled.ts +4 -1
- package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.scss +0 -0
- package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.styled.js +0 -1
- package/dist/src/components/sections/FeaturesRatafiaSection/FeaturesRatafiaSection.styled.ts +0 -1
- package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.js +1 -2
- package/dist/src/components/sections/TryItRatafiaSection/TryItRatafiaSection.tsx +2 -3
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- 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,37 +0,0 @@
|
|
|
1
|
-
/* eslint-disable @typescript-eslint/no-unsafe-assignment */
|
|
2
|
-
import React, { type FC } from 'react'
|
|
3
|
-
|
|
4
|
-
import { Button } from '../../atoms'
|
|
5
|
-
import { type SubtypeDocumentCardProps } from './SubtypeDocumentCardProps.types'
|
|
6
|
-
import { SubtypeDocumentCardStyled } from './SubtypeDocumentCard.styled'
|
|
7
|
-
|
|
8
|
-
const SubtypeDocumentCard: FC<SubtypeDocumentCardProps> = ({
|
|
9
|
-
title,
|
|
10
|
-
productUrl,
|
|
11
|
-
description,
|
|
12
|
-
children,
|
|
13
|
-
pdfButton,
|
|
14
|
-
wordButton,
|
|
15
|
-
createDocButton
|
|
16
|
-
}) => {
|
|
17
|
-
return (
|
|
18
|
-
<SubtypeDocumentCardStyled className='subtype-document-card'>
|
|
19
|
-
<div className='image-container'>{children}</div>
|
|
20
|
-
<div className='content'>
|
|
21
|
-
<a href={productUrl}>
|
|
22
|
-
<h1 className='title'>{title}</h1>
|
|
23
|
-
</a>
|
|
24
|
-
<p className='description'>{description}</p>
|
|
25
|
-
<div className='buttons-container'>
|
|
26
|
-
<Button {...createDocButton} />
|
|
27
|
-
<div className='downloadable-buttons'>
|
|
28
|
-
<Button {...pdfButton} />
|
|
29
|
-
<Button {...wordButton} />
|
|
30
|
-
</div>
|
|
31
|
-
</div>
|
|
32
|
-
</div>
|
|
33
|
-
</SubtypeDocumentCardStyled>
|
|
34
|
-
)
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
export default SubtypeDocumentCard
|
package/dist/src/components/molecules/SubtypeDocumentCard/SubtypeDocumentCardProps.types.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ButtonProps } from 'src/components/atoms';
|
|
2
|
-
export interface SubtypeDocumentCardProps {
|
|
3
|
-
title: string;
|
|
4
|
-
productUrl: string;
|
|
5
|
-
description: string;
|
|
6
|
-
children: React.ReactNode;
|
|
7
|
-
pdfButton: ButtonProps;
|
|
8
|
-
wordButton: ButtonProps;
|
|
9
|
-
createDocButton: ButtonProps;
|
|
10
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { ButtonProps } from 'src/components/atoms'
|
|
2
|
-
|
|
3
|
-
export interface SubtypeDocumentCardProps {
|
|
4
|
-
title: string
|
|
5
|
-
productUrl: string
|
|
6
|
-
description: string
|
|
7
|
-
children: React.ReactNode
|
|
8
|
-
pdfButton: ButtonProps
|
|
9
|
-
wordButton: ButtonProps
|
|
10
|
-
createDocButton: ButtonProps
|
|
11
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as SubtypeDocumentCard } from './SubtypeDocumentCard';
|