@npm_leadtech/legal-lib-components 5.64.3 → 5.64.5
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/molecules/TextInput/Input.js +1 -1
- package/dist/src/components/molecules/TextInput/Input.tsx +1 -0
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.js +2 -9
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.js +0 -41
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.ts +0 -41
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.tsx +3 -18
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.d.ts +0 -6
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.js +1 -6
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.ts +0 -7
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/index.d.ts +1 -1
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/index.js +0 -1
- package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/index.ts +1 -4
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.js +1 -1
- package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.tsx +1 -5
- package/package.json +1 -1
- package/dist/images/jpg/aboutus-img-core-values.jpg +0 -0
- package/dist/images/jpg/aboutus-img-our-mission.jpg +0 -0
|
@@ -8,7 +8,7 @@ export const Input = React.forwardRef(({ value, name, placeholder, className, on
|
|
|
8
8
|
if (value !== null)
|
|
9
9
|
setHidden(!hidden);
|
|
10
10
|
};
|
|
11
|
-
return (_jsxs(_Fragment, { children: [_jsx("input", { type: !hidden && type === 'password' ? 'text' : type, name: name, id: name, className: className, maxLength: maxLength, placeholder: placeholder, onChange: onChange, onClick: onClick, onKeyDown: onKeyDown, onKeyUp: onKeyUp, onBlur: onBlur, value: value, "data-qa": name, disabled: disabled, ref: ref }), type === 'password' && (_jsx("button", { className: 'input-icon-password-button', onClick: showPassword, onKeyDown: (e) => {
|
|
11
|
+
return (_jsxs(_Fragment, { children: [_jsx("input", { type: !hidden && type === 'password' ? 'text' : type, name: name, id: name, className: className, maxLength: maxLength, placeholder: placeholder, onChange: onChange, onClick: onClick, onKeyDown: onKeyDown, onKeyUp: onKeyUp, onBlur: onBlur, value: value, "data-qa": name, disabled: disabled, ref: ref }), type === 'password' && (_jsx("button", { type: 'button', className: 'input-icon-password-button', onClick: showPassword, onKeyDown: (e) => {
|
|
12
12
|
if (e.key === 'Enter')
|
|
13
13
|
showPassword();
|
|
14
14
|
}, children: _jsx("img", { src: hidden ? eyeIcon : eyeCloseIcon, alt: '' }) }))] }));
|
package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.js
CHANGED
|
@@ -1,14 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { TryOurFreeLegalBlogsContentType } from './TryOurFreeLegalBlogsContentProps.types';
|
|
3
2
|
import { RichTextInner } from '../../atoms';
|
|
4
3
|
import { TryOurFreeLegalBlogsContentStyled } from './TryOurFreeLegalBlogsContent.styled';
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
const classTry = classNames({
|
|
8
|
-
'try-our-free-legal-blogs-section-content': true,
|
|
9
|
-
'try-our-free-legal-blogs-section-content--our-mission': TryOurFreeLegalBlogsContentType.ourMission === type,
|
|
10
|
-
'try-our-free-legal-blogs-section-content--our-mission-first-image': TryOurFreeLegalBlogsContentType.ourMissionFirstImage === type
|
|
11
|
-
});
|
|
12
|
-
return (_jsxs(TryOurFreeLegalBlogsContentStyled, { className: classTry, children: [_jsxs("div", { className: 'try-our-free-legal-blogs-section__texts', children: [_jsx("h2", { className: 'try-our-free-legal-blogs-section__texts__title', children: title }), _jsx(RichTextInner, { customClass: 'try-our-free-legal-blogs-section__texts__body', children: children })] }), _jsx("div", { className: 'try-our-free-legal-blogs-section__image', children: image })] }));
|
|
4
|
+
const TryOurFreeLegalBlogsContent = ({ title, image, children }) => {
|
|
5
|
+
return (_jsxs(TryOurFreeLegalBlogsContentStyled, { children: [_jsxs("div", { className: 'try-our-free-legal-blogs-section__texts', children: [_jsx("h2", { className: 'try-our-free-legal-blogs-section__texts__title', children: title }), _jsx(RichTextInner, { customClass: 'try-our-free-legal-blogs-section__texts__body', children: children })] }), _jsx("div", { className: 'try-our-free-legal-blogs-section__image', children: image })] }));
|
|
13
6
|
};
|
|
14
7
|
export default TryOurFreeLegalBlogsContent;
|
|
@@ -6,47 +6,6 @@ export const TryOurFreeLegalBlogsContentStyled = styled.div `
|
|
|
6
6
|
@media ${device['landscape-tablets']} {
|
|
7
7
|
flex-direction: row;
|
|
8
8
|
}
|
|
9
|
-
|
|
10
|
-
&.try-our-free-legal-blogs-section-content--our-mission {
|
|
11
|
-
align-items: center;
|
|
12
|
-
.try-our-free-legal-blogs-section__texts {
|
|
13
|
-
margin-bottom: 2rem;
|
|
14
|
-
@media ${device['landscape-tablets']} {
|
|
15
|
-
margin-bottom: 1rem;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
&__title {
|
|
19
|
-
font-family: var(--font-sans);
|
|
20
|
-
font-size: 28px;
|
|
21
|
-
font-weight: 700;
|
|
22
|
-
text-align: left;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
&.try-our-free-legal-blogs-section-content--our-mission-first-image {
|
|
28
|
-
align-items: center;
|
|
29
|
-
@media ${device['landscape-tablets']} {
|
|
30
|
-
flex-direction: row-reverse;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.try-our-free-legal-blogs-section__texts {
|
|
34
|
-
margin-bottom: 2rem;
|
|
35
|
-
@media ${device['landscape-tablets']} {
|
|
36
|
-
margin-bottom: 1rem;
|
|
37
|
-
margin-right: 0rem;
|
|
38
|
-
margin-left: 3rem;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
&__title {
|
|
42
|
-
font-family: var(--font-sans);
|
|
43
|
-
font-size: 28px;
|
|
44
|
-
font-weight: 700;
|
|
45
|
-
text-align: left;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
|
|
50
9
|
.try-our-free-legal-blogs-section__texts {
|
|
51
10
|
flex-basis: 50%;
|
|
52
11
|
display: flex;
|
|
@@ -7,47 +7,6 @@ export const TryOurFreeLegalBlogsContentStyled = styled.div`
|
|
|
7
7
|
@media ${device['landscape-tablets']} {
|
|
8
8
|
flex-direction: row;
|
|
9
9
|
}
|
|
10
|
-
|
|
11
|
-
&.try-our-free-legal-blogs-section-content--our-mission {
|
|
12
|
-
align-items: center;
|
|
13
|
-
.try-our-free-legal-blogs-section__texts {
|
|
14
|
-
margin-bottom: 2rem;
|
|
15
|
-
@media ${device['landscape-tablets']} {
|
|
16
|
-
margin-bottom: 1rem;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
&__title {
|
|
20
|
-
font-family: var(--font-sans);
|
|
21
|
-
font-size: 28px;
|
|
22
|
-
font-weight: 700;
|
|
23
|
-
text-align: left;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
&.try-our-free-legal-blogs-section-content--our-mission-first-image {
|
|
29
|
-
align-items: center;
|
|
30
|
-
@media ${device['landscape-tablets']} {
|
|
31
|
-
flex-direction: row-reverse;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
.try-our-free-legal-blogs-section__texts {
|
|
35
|
-
margin-bottom: 2rem;
|
|
36
|
-
@media ${device['landscape-tablets']} {
|
|
37
|
-
margin-bottom: 1rem;
|
|
38
|
-
margin-right: 0rem;
|
|
39
|
-
margin-left: 3rem;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
&__title {
|
|
43
|
-
font-family: var(--font-sans);
|
|
44
|
-
font-size: 28px;
|
|
45
|
-
font-weight: 700;
|
|
46
|
-
text-align: left;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
10
|
.try-our-free-legal-blogs-section__texts {
|
|
52
11
|
flex-basis: 50%;
|
|
53
12
|
display: flex;
|
package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.tsx
CHANGED
|
@@ -1,27 +1,12 @@
|
|
|
1
1
|
import React, { type FC } from 'react'
|
|
2
2
|
|
|
3
|
-
import {
|
|
4
|
-
type TryOurFreeLegalBlogsContentProps,
|
|
5
|
-
TryOurFreeLegalBlogsContentType
|
|
6
|
-
} from './TryOurFreeLegalBlogsContentProps.types'
|
|
7
3
|
import { RichTextInner } from '../../atoms'
|
|
4
|
+
import { type TryOurFreeLegalBlogsContentProps } from './TryOurFreeLegalBlogsContentProps.types'
|
|
8
5
|
import { TryOurFreeLegalBlogsContentStyled } from './TryOurFreeLegalBlogsContent.styled'
|
|
9
|
-
import classNames from 'classnames'
|
|
10
6
|
|
|
11
|
-
const TryOurFreeLegalBlogsContent: FC<TryOurFreeLegalBlogsContentProps> = ({
|
|
12
|
-
title,
|
|
13
|
-
image,
|
|
14
|
-
children,
|
|
15
|
-
type = TryOurFreeLegalBlogsContentType.default
|
|
16
|
-
}) => {
|
|
17
|
-
const classTry = classNames({
|
|
18
|
-
'try-our-free-legal-blogs-section-content': true,
|
|
19
|
-
'try-our-free-legal-blogs-section-content--our-mission': TryOurFreeLegalBlogsContentType.ourMission === type,
|
|
20
|
-
'try-our-free-legal-blogs-section-content--our-mission-first-image':
|
|
21
|
-
TryOurFreeLegalBlogsContentType.ourMissionFirstImage === type
|
|
22
|
-
})
|
|
7
|
+
const TryOurFreeLegalBlogsContent: FC<TryOurFreeLegalBlogsContentProps> = ({ title, image, children }) => {
|
|
23
8
|
return (
|
|
24
|
-
<TryOurFreeLegalBlogsContentStyled
|
|
9
|
+
<TryOurFreeLegalBlogsContentStyled>
|
|
25
10
|
<div className='try-our-free-legal-blogs-section__texts'>
|
|
26
11
|
<h2 className='try-our-free-legal-blogs-section__texts__title'>{title}</h2>
|
|
27
12
|
<RichTextInner customClass='try-our-free-legal-blogs-section__texts__body'>{children}</RichTextInner>
|
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
export declare enum TryOurFreeLegalBlogsContentType {
|
|
2
|
-
default = "Default",
|
|
3
|
-
ourMission = "Our Mission",
|
|
4
|
-
ourMissionFirstImage = "Our Mission First Image"
|
|
5
|
-
}
|
|
6
1
|
export interface TryOurFreeLegalBlogsContentProps {
|
|
7
2
|
title: string;
|
|
8
3
|
image: React.ReactNode;
|
|
9
4
|
children: React.ReactNode;
|
|
10
|
-
type?: TryOurFreeLegalBlogsContentType;
|
|
11
5
|
}
|
|
@@ -1,6 +1 @@
|
|
|
1
|
-
export
|
|
2
|
-
(function (TryOurFreeLegalBlogsContentType) {
|
|
3
|
-
TryOurFreeLegalBlogsContentType["default"] = "Default";
|
|
4
|
-
TryOurFreeLegalBlogsContentType["ourMission"] = "Our Mission";
|
|
5
|
-
TryOurFreeLegalBlogsContentType["ourMissionFirstImage"] = "Our Mission First Image";
|
|
6
|
-
})(TryOurFreeLegalBlogsContentType || (TryOurFreeLegalBlogsContentType = {}));
|
|
1
|
+
export {};
|
|
@@ -1,12 +1,5 @@
|
|
|
1
|
-
export enum TryOurFreeLegalBlogsContentType {
|
|
2
|
-
default = 'Default',
|
|
3
|
-
ourMission = 'Our Mission',
|
|
4
|
-
ourMissionFirstImage = 'Our Mission First Image'
|
|
5
|
-
}
|
|
6
|
-
|
|
7
1
|
export interface TryOurFreeLegalBlogsContentProps {
|
|
8
2
|
title: string
|
|
9
3
|
image: React.ReactNode
|
|
10
4
|
children: React.ReactNode
|
|
11
|
-
type?: TryOurFreeLegalBlogsContentType
|
|
12
5
|
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default as TryOurFreeLegalBlogsContent } from './TryOurFreeLegalBlogsContent';
|
|
2
|
-
export {
|
|
2
|
+
export { type TryOurFreeLegalBlogsContentProps } from './TryOurFreeLegalBlogsContentProps.types';
|
|
@@ -1,5 +1,2 @@
|
|
|
1
1
|
export { default as TryOurFreeLegalBlogsContent } from './TryOurFreeLegalBlogsContent'
|
|
2
|
-
export {
|
|
3
|
-
TryOurFreeLegalBlogsContentType,
|
|
4
|
-
type TryOurFreeLegalBlogsContentProps
|
|
5
|
-
} from './TryOurFreeLegalBlogsContentProps.types'
|
|
2
|
+
export { type TryOurFreeLegalBlogsContentProps } from './TryOurFreeLegalBlogsContentProps.types'
|
package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.js
CHANGED
|
@@ -2,6 +2,6 @@ import { jsx as _jsx } from "react/jsx-runtime";
|
|
|
2
2
|
import { TryOurFreeLegalBlogsContent } from '../../organisms/TryOurFreeLegalBlogsContent';
|
|
3
3
|
import { TryOurFreeLegalBlogsSectionStyled } from './TryOurFreeLegalBlogsSection.styled';
|
|
4
4
|
const TryOurFreeLegalBlogsSection = ({ contentTryOurFreeLegalBlogs }) => {
|
|
5
|
-
return (_jsx(TryOurFreeLegalBlogsSectionStyled, { className: 'try-our-free-legal-blogs-section wrapper wrapper--responsive', children: _jsx(TryOurFreeLegalBlogsContent, { title: contentTryOurFreeLegalBlogs.title, image: contentTryOurFreeLegalBlogs.image,
|
|
5
|
+
return (_jsx(TryOurFreeLegalBlogsSectionStyled, { className: 'try-our-free-legal-blogs-section wrapper wrapper--responsive', children: _jsx(TryOurFreeLegalBlogsContent, { title: contentTryOurFreeLegalBlogs.title, image: contentTryOurFreeLegalBlogs.image, children: contentTryOurFreeLegalBlogs.children }) }));
|
|
6
6
|
};
|
|
7
7
|
export default TryOurFreeLegalBlogsSection;
|
package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.tsx
CHANGED
|
@@ -7,11 +7,7 @@ import { TryOurFreeLegalBlogsSectionStyled } from './TryOurFreeLegalBlogsSection
|
|
|
7
7
|
const TryOurFreeLegalBlogsSection: FC<TryOurFreeLegalBlogsSectionProps> = ({ contentTryOurFreeLegalBlogs }) => {
|
|
8
8
|
return (
|
|
9
9
|
<TryOurFreeLegalBlogsSectionStyled className='try-our-free-legal-blogs-section wrapper wrapper--responsive'>
|
|
10
|
-
<TryOurFreeLegalBlogsContent
|
|
11
|
-
title={contentTryOurFreeLegalBlogs.title}
|
|
12
|
-
image={contentTryOurFreeLegalBlogs.image}
|
|
13
|
-
type={contentTryOurFreeLegalBlogs.type}
|
|
14
|
-
>
|
|
10
|
+
<TryOurFreeLegalBlogsContent title={contentTryOurFreeLegalBlogs.title} image={contentTryOurFreeLegalBlogs.image}>
|
|
15
11
|
{contentTryOurFreeLegalBlogs.children}
|
|
16
12
|
</TryOurFreeLegalBlogsContent>
|
|
17
13
|
</TryOurFreeLegalBlogsSectionStyled>
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|