@npm_leadtech/legal-lib-components 7.10.0 → 7.10.1
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/CardPane/CardPaneInfo.js +2 -2
- package/dist/src/components/atoms/CardPane/CardPaneInfo.tsx +2 -2
- package/dist/src/components/atoms/CardPane/CardPaneProps.types.d.ts +1 -0
- package/dist/src/components/atoms/CardPane/CardPaneProps.types.ts +1 -0
- package/dist/src/components/atoms/PopularDocsItem/PopularDocsItem.styled.js +9 -0
- package/dist/src/components/atoms/PopularDocsItem/PopularDocsItem.styled.ts +9 -0
- package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.styled.js +2 -0
- package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.styled.ts +2 -0
- package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.styled.js +1 -1
- package/dist/src/components/sections/LearnMoreSection/LearnMoreSection.styled.ts +1 -1
- package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.styled.js +1 -0
- package/dist/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.styled.ts +1 -0
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
const CardPaneInfo = ({ description, subdescription, id, title, handleClick }) => {
|
|
3
|
-
const paneTitle = (_jsx(_Fragment, { children: handleClick ? (_jsx("button", { onClick: handleClick, className: 'pane--title pane--title--button', children: title })) : (_jsx("div", { className: 'pane--title', children: title })) }));
|
|
2
|
+
const CardPaneInfo = ({ dataQA, description, subdescription, id, title, handleClick }) => {
|
|
3
|
+
const paneTitle = (_jsx(_Fragment, { children: handleClick ? (_jsx("button", { onClick: handleClick, "data-qa": dataQA, className: 'pane--title pane--title--button', children: title })) : (_jsx("div", { className: 'pane--title', children: title })) }));
|
|
4
4
|
if (description === 'Active' || description === 'Inactive') {
|
|
5
5
|
let descriptionClass;
|
|
6
6
|
if (description === 'Active') {
|
|
@@ -2,11 +2,11 @@ import React, { type FC } from 'react'
|
|
|
2
2
|
|
|
3
3
|
import { type CardPaneInfoProps } from './CardPaneProps.types'
|
|
4
4
|
|
|
5
|
-
const CardPaneInfo: FC<CardPaneInfoProps> = ({ description, subdescription, id, title, handleClick }) => {
|
|
5
|
+
const CardPaneInfo: FC<CardPaneInfoProps> = ({ dataQA, description, subdescription, id, title, handleClick }) => {
|
|
6
6
|
const paneTitle = (
|
|
7
7
|
<>
|
|
8
8
|
{handleClick ? (
|
|
9
|
-
<button onClick={handleClick} className='pane--title pane--title--button'>
|
|
9
|
+
<button onClick={handleClick} data-qa={dataQA} className='pane--title pane--title--button'>
|
|
10
10
|
{title}
|
|
11
11
|
</button>
|
|
12
12
|
) : (
|
|
@@ -25,6 +25,10 @@ export const PopularDocsItemStyled = styled.a `
|
|
|
25
25
|
margin-left: 0.5rem;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
+
@media ${device.mobile} {
|
|
29
|
+
gap: 1rem;
|
|
30
|
+
}
|
|
31
|
+
|
|
28
32
|
.category-icon svg {
|
|
29
33
|
fill: var(--primary-main-dark-1);
|
|
30
34
|
}
|
|
@@ -45,6 +49,11 @@ export const PopularDocsItemStyled = styled.a `
|
|
|
45
49
|
line-height: 1.33;
|
|
46
50
|
margin-top: 0.3rem;
|
|
47
51
|
}
|
|
52
|
+
media ${device.mobile} {
|
|
53
|
+
strong {
|
|
54
|
+
font-size: 0.9rem;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
48
57
|
}
|
|
49
58
|
|
|
50
59
|
.icon-left svg {
|
|
@@ -26,6 +26,10 @@ export const PopularDocsItemStyled = styled.a`
|
|
|
26
26
|
margin-left: 0.5rem;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
+
@media ${device.mobile} {
|
|
30
|
+
gap: 1rem;
|
|
31
|
+
}
|
|
32
|
+
|
|
29
33
|
.category-icon svg {
|
|
30
34
|
fill: var(--primary-main-dark-1);
|
|
31
35
|
}
|
|
@@ -46,6 +50,11 @@ export const PopularDocsItemStyled = styled.a`
|
|
|
46
50
|
line-height: 1.33;
|
|
47
51
|
margin-top: 0.3rem;
|
|
48
52
|
}
|
|
53
|
+
media ${device.mobile} {
|
|
54
|
+
strong {
|
|
55
|
+
font-size: 0.9rem;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
49
58
|
}
|
|
50
59
|
|
|
51
60
|
.icon-left svg {
|
package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.styled.js
CHANGED
|
@@ -17,6 +17,8 @@ export const HowGetYourFormsSectionStyled = styled.section `
|
|
|
17
17
|
font-family: var(--font-serif);
|
|
18
18
|
text-align: center;
|
|
19
19
|
padding-top: 4rem;
|
|
20
|
+
padding-right: 1.5rem;
|
|
21
|
+
padding-left: 1.5rem;
|
|
20
22
|
@media only screen and (max-width: ${size.md}) {
|
|
21
23
|
padding-top: 2.5rem;
|
|
22
24
|
}
|
package/dist/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.styled.ts
CHANGED
|
@@ -18,6 +18,8 @@ export const HowGetYourFormsSectionStyled = styled.section`
|
|
|
18
18
|
font-family: var(--font-serif);
|
|
19
19
|
text-align: center;
|
|
20
20
|
padding-top: 4rem;
|
|
21
|
+
padding-right: 1.5rem;
|
|
22
|
+
padding-left: 1.5rem;
|
|
21
23
|
@media only screen and (max-width: ${size.md}) {
|
|
22
24
|
padding-top: 2.5rem;
|
|
23
25
|
}
|