@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,161 +0,0 @@
|
|
|
1
|
-
import { device, size } from '../../../globalStyles/breakpoints';
|
|
2
|
-
import styled from 'styled-components';
|
|
3
|
-
export const SubtypeDocumentCardStyled = styled.div `
|
|
4
|
-
display: flex;
|
|
5
|
-
flex-direction: column;
|
|
6
|
-
width: 100%;
|
|
7
|
-
align-items: center;
|
|
8
|
-
justify-content: center;
|
|
9
|
-
width: 100%;
|
|
10
|
-
max-width: 376px;
|
|
11
|
-
min-height: 600px;
|
|
12
|
-
padding: 32px 24px 32px 24px;
|
|
13
|
-
gap: 24px;
|
|
14
|
-
border-radius: 4px 0px 0px 0px;
|
|
15
|
-
opacity: 0px;
|
|
16
|
-
box-shadow: 0px 2px 6px 0px var(--neutral-neutral-3);
|
|
17
|
-
background-color: var(--secondary-main-light-5);
|
|
18
|
-
margin-bottom: 1.5rem;
|
|
19
|
-
|
|
20
|
-
.image-container {
|
|
21
|
-
width: 70%;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
@media (min-width: ${size.xs}) {
|
|
25
|
-
width: 400px;
|
|
26
|
-
max-width: inherit;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
@media (min-width: ${size.md}) {
|
|
30
|
-
width: 543px;
|
|
31
|
-
height: 364px;
|
|
32
|
-
min-height: 380px;
|
|
33
|
-
align-items: flex-start;
|
|
34
|
-
flex-direction: row;
|
|
35
|
-
|
|
36
|
-
.image-container {
|
|
37
|
-
width: 40%;
|
|
38
|
-
|
|
39
|
-
@media (min-width: ${size.lg}) {
|
|
40
|
-
width: 30%;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
@media (min-width: ${size.lg}) {
|
|
46
|
-
width: 715px;
|
|
47
|
-
height: 307px;
|
|
48
|
-
min-height: 335px;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.content {
|
|
52
|
-
display: flex;
|
|
53
|
-
flex-direction: column;
|
|
54
|
-
height: 100%;
|
|
55
|
-
width: 100%;
|
|
56
|
-
justify-content: flex-start;
|
|
57
|
-
|
|
58
|
-
@media ${device['landscape-tablets']} {
|
|
59
|
-
margin-left: 1rem;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
@media (min-width: ${size.md}) {
|
|
63
|
-
width: 65%;
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.title {
|
|
68
|
-
font-family: Inter;
|
|
69
|
-
font-size: 18px;
|
|
70
|
-
font-weight: 700;
|
|
71
|
-
line-height: 24px;
|
|
72
|
-
letter-spacing: -0.3px;
|
|
73
|
-
text-align: left;
|
|
74
|
-
text-decoration-line: underline;
|
|
75
|
-
text-decoration-style: solid;
|
|
76
|
-
text-underline-position: from-font;
|
|
77
|
-
text-decoration-skip-ink: none;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
.description {
|
|
81
|
-
margin: 1rem 0;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
.buttons-container {
|
|
85
|
-
display: flex;
|
|
86
|
-
justify-content: space-between;
|
|
87
|
-
align-items: center;
|
|
88
|
-
flex-direction: column;
|
|
89
|
-
|
|
90
|
-
@media ${device.desktop} {
|
|
91
|
-
flex-direction: row;
|
|
92
|
-
align-self: flex-start;
|
|
93
|
-
gap: 1rem;
|
|
94
|
-
align-items: center;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
.create-doc-button {
|
|
98
|
-
width: 100%;
|
|
99
|
-
|
|
100
|
-
@media ${device.laptop} {
|
|
101
|
-
align-self: flex-start;
|
|
102
|
-
width: auto;
|
|
103
|
-
margin-top: 0.5rem;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
@media ${device.desktop} {
|
|
107
|
-
width: 100%;
|
|
108
|
-
height: auto;
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
.downloadable-buttons {
|
|
113
|
-
display: flex;
|
|
114
|
-
flex-wrap: wrap;
|
|
115
|
-
gap: 1rem;
|
|
116
|
-
width: 100%;
|
|
117
|
-
justify-content: space-between;
|
|
118
|
-
|
|
119
|
-
a {
|
|
120
|
-
min-width: 46.5%;
|
|
121
|
-
max-width: 46.5%;
|
|
122
|
-
margin-top: 0.75rem;
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
@media ${device.laptop} {
|
|
126
|
-
justify-content: flex-start;
|
|
127
|
-
width: 100%;
|
|
128
|
-
|
|
129
|
-
a {
|
|
130
|
-
min-width: 46.5%;
|
|
131
|
-
max-width: fit-content;
|
|
132
|
-
margin-top: 0.5rem;
|
|
133
|
-
}
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
@media (min-width: ${size.lg}) {
|
|
137
|
-
a {
|
|
138
|
-
min-width: auto;
|
|
139
|
-
max-width: fit-content;
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
@media ${device.desktop} {
|
|
144
|
-
display: flex;
|
|
145
|
-
gap: 1rem;
|
|
146
|
-
flex-wrap: nowrap;
|
|
147
|
-
margin-top: 0;
|
|
148
|
-
}
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
&.download-icon {
|
|
153
|
-
&::before {
|
|
154
|
-
content: '';
|
|
155
|
-
width: 1rem;
|
|
156
|
-
height: 1rem;
|
|
157
|
-
background-image: url('../../../assets/images/svg/icon-save-24-px.svg');
|
|
158
|
-
margin-right: 0.5rem;
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
`;
|
|
@@ -1,162 +0,0 @@
|
|
|
1
|
-
import { device, size } from '../../../globalStyles/breakpoints'
|
|
2
|
-
import styled from 'styled-components'
|
|
3
|
-
|
|
4
|
-
export const SubtypeDocumentCardStyled = styled.div`
|
|
5
|
-
display: flex;
|
|
6
|
-
flex-direction: column;
|
|
7
|
-
width: 100%;
|
|
8
|
-
align-items: center;
|
|
9
|
-
justify-content: center;
|
|
10
|
-
width: 100%;
|
|
11
|
-
max-width: 376px;
|
|
12
|
-
min-height: 600px;
|
|
13
|
-
padding: 32px 24px 32px 24px;
|
|
14
|
-
gap: 24px;
|
|
15
|
-
border-radius: 4px 0px 0px 0px;
|
|
16
|
-
opacity: 0px;
|
|
17
|
-
box-shadow: 0px 2px 6px 0px var(--neutral-neutral-3);
|
|
18
|
-
background-color: var(--secondary-main-light-5);
|
|
19
|
-
margin-bottom: 1.5rem;
|
|
20
|
-
|
|
21
|
-
.image-container {
|
|
22
|
-
width: 70%;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
@media (min-width: ${size.xs}) {
|
|
26
|
-
width: 400px;
|
|
27
|
-
max-width: inherit;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
@media (min-width: ${size.md}) {
|
|
31
|
-
width: 543px;
|
|
32
|
-
height: 364px;
|
|
33
|
-
min-height: 380px;
|
|
34
|
-
align-items: flex-start;
|
|
35
|
-
flex-direction: row;
|
|
36
|
-
|
|
37
|
-
.image-container {
|
|
38
|
-
width: 40%;
|
|
39
|
-
|
|
40
|
-
@media (min-width: ${size.lg}) {
|
|
41
|
-
width: 30%;
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
@media (min-width: ${size.lg}) {
|
|
47
|
-
width: 715px;
|
|
48
|
-
height: 307px;
|
|
49
|
-
min-height: 335px;
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.content {
|
|
53
|
-
display: flex;
|
|
54
|
-
flex-direction: column;
|
|
55
|
-
height: 100%;
|
|
56
|
-
width: 100%;
|
|
57
|
-
justify-content: flex-start;
|
|
58
|
-
|
|
59
|
-
@media ${device['landscape-tablets']} {
|
|
60
|
-
margin-left: 1rem;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
@media (min-width: ${size.md}) {
|
|
64
|
-
width: 65%;
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.title {
|
|
69
|
-
font-family: Inter;
|
|
70
|
-
font-size: 18px;
|
|
71
|
-
font-weight: 700;
|
|
72
|
-
line-height: 24px;
|
|
73
|
-
letter-spacing: -0.3px;
|
|
74
|
-
text-align: left;
|
|
75
|
-
text-decoration-line: underline;
|
|
76
|
-
text-decoration-style: solid;
|
|
77
|
-
text-underline-position: from-font;
|
|
78
|
-
text-decoration-skip-ink: none;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.description {
|
|
82
|
-
margin: 1rem 0;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.buttons-container {
|
|
86
|
-
display: flex;
|
|
87
|
-
justify-content: space-between;
|
|
88
|
-
align-items: center;
|
|
89
|
-
flex-direction: column;
|
|
90
|
-
|
|
91
|
-
@media ${device.desktop} {
|
|
92
|
-
flex-direction: row;
|
|
93
|
-
align-self: flex-start;
|
|
94
|
-
gap: 1rem;
|
|
95
|
-
align-items: center;
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
.create-doc-button {
|
|
99
|
-
width: 100%;
|
|
100
|
-
|
|
101
|
-
@media ${device.laptop} {
|
|
102
|
-
align-self: flex-start;
|
|
103
|
-
width: auto;
|
|
104
|
-
margin-top: 0.5rem;
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
@media ${device.desktop} {
|
|
108
|
-
width: 100%;
|
|
109
|
-
height: auto;
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
.downloadable-buttons {
|
|
114
|
-
display: flex;
|
|
115
|
-
flex-wrap: wrap;
|
|
116
|
-
gap: 1rem;
|
|
117
|
-
width: 100%;
|
|
118
|
-
justify-content: space-between;
|
|
119
|
-
|
|
120
|
-
a {
|
|
121
|
-
min-width: 46.5%;
|
|
122
|
-
max-width: 46.5%;
|
|
123
|
-
margin-top: 0.75rem;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
@media ${device.laptop} {
|
|
127
|
-
justify-content: flex-start;
|
|
128
|
-
width: 100%;
|
|
129
|
-
|
|
130
|
-
a {
|
|
131
|
-
min-width: 46.5%;
|
|
132
|
-
max-width: fit-content;
|
|
133
|
-
margin-top: 0.5rem;
|
|
134
|
-
}
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
@media (min-width: ${size.lg}) {
|
|
138
|
-
a {
|
|
139
|
-
min-width: auto;
|
|
140
|
-
max-width: fit-content;
|
|
141
|
-
}
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
@media ${device.desktop} {
|
|
145
|
-
display: flex;
|
|
146
|
-
gap: 1rem;
|
|
147
|
-
flex-wrap: nowrap;
|
|
148
|
-
margin-top: 0;
|
|
149
|
-
}
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
&.download-icon {
|
|
154
|
-
&::before {
|
|
155
|
-
content: '';
|
|
156
|
-
width: 1rem;
|
|
157
|
-
height: 1rem;
|
|
158
|
-
background-image: url('../../../assets/images/svg/icon-save-24-px.svg');
|
|
159
|
-
margin-right: 0.5rem;
|
|
160
|
-
}
|
|
161
|
-
}
|
|
162
|
-
`
|
|
@@ -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';
|