@npm_leadtech/legal-lib-components 5.64.16 → 5.65.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.
Files changed (77) hide show
  1. package/dist/src/components/atoms/Video/Video.d.ts +1 -1
  2. package/dist/src/components/atoms/Video/Video.js +2 -2
  3. package/dist/src/components/atoms/Video/Video.tsx +13 -2
  4. package/dist/src/components/atoms/Video/VideoProps.types.d.ts +2 -0
  5. package/dist/src/components/atoms/Video/VideoProps.types.ts +2 -0
  6. package/dist/src/components/molecules/TextInput/Input.js +1 -1
  7. package/dist/src/components/molecules/TextInput/Input.tsx +1 -0
  8. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.styled.js +6 -24
  9. package/dist/src/components/organisms/AboutUsContent/AboutUsContent.styled.ts +6 -24
  10. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.js +2 -9
  11. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.scss +50 -0
  12. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.js +0 -50
  13. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.ts +0 -50
  14. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.tsx +3 -18
  15. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.d.ts +0 -6
  16. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.js +1 -6
  17. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.ts +0 -7
  18. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/index.d.ts +1 -1
  19. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/index.js +0 -1
  20. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/index.ts +1 -4
  21. package/dist/src/components/pages/AboutUsPage/AboutUsPage.js +3 -3
  22. package/dist/src/components/pages/AboutUsPage/AboutUsPage.tsx +4 -7
  23. package/dist/src/components/pages/AboutUsPage/AboutUsPageProps.d.ts +2 -4
  24. package/dist/src/components/pages/AboutUsPage/AboutUsPageProps.ts +1 -4
  25. package/dist/src/components/sections/AboutUsSection/AboutUsSection.styled.js +13 -9
  26. package/dist/src/components/sections/AboutUsSection/AboutUsSection.styled.ts +13 -9
  27. package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.styled.js +1 -0
  28. package/dist/src/components/sections/GuidelinesSection/GuidelinesSection.styled.ts +1 -0
  29. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.js +2 -2
  30. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSection.tsx +9 -2
  31. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSectionProps.types.d.ts +1 -0
  32. package/dist/src/components/sections/StepsRatafiaSection/StepsRatafiaSectionProps.types.ts +1 -0
  33. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.js +1 -1
  34. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.tsx +1 -5
  35. package/dist/src/components/sections/index.d.ts +0 -1
  36. package/dist/src/components/sections/index.js +0 -1
  37. package/dist/src/components/sections/index.ts +0 -1
  38. package/dist/tsconfig.build.tsbuildinfo +1 -1
  39. package/package.json +1 -3
  40. package/dist/images/jpg/aboutus-img-core-values.jpg +0 -0
  41. package/dist/images/jpg/aboutus-img-our-mission.jpg +0 -0
  42. package/dist/src/components/atoms/CardStoryItem/CardStoryItem.d.ts +0 -4
  43. package/dist/src/components/atoms/CardStoryItem/CardStoryItem.js +0 -6
  44. package/dist/src/components/atoms/CardStoryItem/CardStoryItem.styled.d.ts +0 -1
  45. package/dist/src/components/atoms/CardStoryItem/CardStoryItem.styled.js +0 -91
  46. package/dist/src/components/atoms/CardStoryItem/CardStoryItem.styled.ts +0 -92
  47. package/dist/src/components/atoms/CardStoryItem/CardStoryItem.tsx +0 -23
  48. package/dist/src/components/atoms/CardStoryItem/CardStoryItemProps.types.d.ts +0 -5
  49. package/dist/src/components/atoms/CardStoryItem/CardStoryItemProps.types.js +0 -1
  50. package/dist/src/components/atoms/CardStoryItem/CardStoryItemProps.types.ts +0 -5
  51. package/dist/src/components/atoms/CardStoryItem/index.d.ts +0 -2
  52. package/dist/src/components/atoms/CardStoryItem/index.js +0 -1
  53. package/dist/src/components/atoms/CardStoryItem/index.ts +0 -2
  54. package/dist/src/components/molecules/CardStory/CardStory.d.ts +0 -4
  55. package/dist/src/components/molecules/CardStory/CardStory.js +0 -7
  56. package/dist/src/components/molecules/CardStory/CardStory.styled.d.ts +0 -1
  57. package/dist/src/components/molecules/CardStory/CardStory.styled.js +0 -24
  58. package/dist/src/components/molecules/CardStory/CardStory.styled.ts +0 -25
  59. package/dist/src/components/molecules/CardStory/CardStory.tsx +0 -17
  60. package/dist/src/components/molecules/CardStory/CardStoryProps.types.d.ts +0 -4
  61. package/dist/src/components/molecules/CardStory/CardStoryProps.types.js +0 -1
  62. package/dist/src/components/molecules/CardStory/CardStoryProps.types.ts +0 -5
  63. package/dist/src/components/molecules/CardStory/index.d.ts +0 -2
  64. package/dist/src/components/molecules/CardStory/index.js +0 -1
  65. package/dist/src/components/molecules/CardStory/index.ts +0 -2
  66. package/dist/src/components/sections/CardStorySection/CardStorySection.d.ts +0 -4
  67. package/dist/src/components/sections/CardStorySection/CardStorySection.js +0 -7
  68. package/dist/src/components/sections/CardStorySection/CardStorySection.styled.d.ts +0 -1
  69. package/dist/src/components/sections/CardStorySection/CardStorySection.styled.js +0 -42
  70. package/dist/src/components/sections/CardStorySection/CardStorySection.styled.ts +0 -43
  71. package/dist/src/components/sections/CardStorySection/CardStorySection.tsx +0 -19
  72. package/dist/src/components/sections/CardStorySection/CardStorySectionProps.types.d.ts +0 -7
  73. package/dist/src/components/sections/CardStorySection/CardStorySectionProps.types.js +0 -1
  74. package/dist/src/components/sections/CardStorySection/CardStorySectionProps.types.ts +0 -8
  75. package/dist/src/components/sections/CardStorySection/index.d.ts +0 -2
  76. package/dist/src/components/sections/CardStorySection/index.js +0 -1
  77. package/dist/src/components/sections/CardStorySection/index.ts +0 -2
@@ -1,92 +0,0 @@
1
- import { device } from '../../../globalStyles/breakpoints'
2
- import styled from 'styled-components'
3
-
4
- export const CardStoryItemStyled = styled.li`
5
- position: relative;
6
- background: var(--neutral-neutral-6);
7
- padding: 1.5rem;
8
- border-radius: var(--l-border-radius);
9
- margin-top: 16px;
10
- list-style-type: none;
11
-
12
- &:first-child {
13
- margin-top: 0;
14
-
15
- &:after {
16
- content: '';
17
- position: absolute;
18
- top: 0;
19
- bottom: calc(50% + 5px);
20
- left: -26px;
21
- width: 10px;
22
- background: var(--others-white);
23
- }
24
- }
25
-
26
- &:last-child:before {
27
- content: '';
28
- position: absolute;
29
- top: calc(50% + 5px);
30
- bottom: 0;
31
- left: -26px;
32
- width: 10px;
33
- background: var(--others-white);
34
- }
35
-
36
- .card-story-item {
37
- &__bullet {
38
- position: absolute;
39
- top: calc(50% - 5px);
40
- left: -26px;
41
- width: 10px;
42
- height: 10px;
43
- background-color: #333;
44
- border-radius: 50%;
45
- }
46
- &__image {
47
- &__content {
48
- border-radius: var(--m-border-radius);
49
- background: var(--neutral-neutral-4);
50
- padding: 8px;
51
- width: 40px;
52
- }
53
- &__item {
54
- display: block;
55
- }
56
- }
57
- &__content {
58
- &__title {
59
- margin-top: 1rem;
60
- font-family: var(--font-sans);
61
- font-size: 1.15rem;
62
- font-weight: 700;
63
- color: var(--neutral-neutral-1);
64
- }
65
- &__text {
66
- font-family: var(--font-sans);
67
- margin-top: 0.5rem;
68
- font-weight: 400;
69
- font-size: 1rem;
70
- color: var(--neutral-neutral-1);
71
-
72
- .m-richText p:last-child {
73
- margin-bottom: 0;
74
- }
75
- }
76
- }
77
- }
78
-
79
- @media ${device['landscape-tablets']} {
80
- display: flex;
81
- .card-story-item {
82
- &__content {
83
- flex: 1;
84
- padding-left: 1rem;
85
-
86
- &__title {
87
- margin-top: 0;
88
- }
89
- }
90
- }
91
- }
92
- `
@@ -1,23 +0,0 @@
1
- import React, { type FC } from 'react'
2
-
3
- import { type CardStoryItemProps } from './CardStoryItemProps.types'
4
- import { CardStoryItemStyled } from './CardStoryItem.styled'
5
-
6
- const CardStoryItem: FC<CardStoryItemProps> = ({ image, title, text }) => {
7
- return (
8
- <CardStoryItemStyled className='card-story-item'>
9
- <span className='card-story-item__bullet'></span>
10
- <div className='card-story-item__image'>
11
- <div className='card-story-item__image__content'>
12
- <img className='card-story-item__image__item' src={image} alt='' role='img' width='24' height='24'></img>
13
- </div>
14
- </div>
15
- <div className='card-story-item__content'>
16
- <p className='card-story-item__content__title'>{title}</p>
17
- <div className='card-story-item__content__text'>{text}</div>
18
- </div>
19
- </CardStoryItemStyled>
20
- )
21
- }
22
-
23
- export default CardStoryItem
@@ -1,5 +0,0 @@
1
- export interface CardStoryItemProps {
2
- image: string;
3
- title: string;
4
- text: React.JSX.Element;
5
- }
@@ -1,5 +0,0 @@
1
- export interface CardStoryItemProps {
2
- image: string
3
- title: string
4
- text: React.JSX.Element
5
- }
@@ -1,2 +0,0 @@
1
- export { default as CardStoryItem } from './CardStoryItem';
2
- export { type CardStoryItemProps } from './CardStoryItemProps.types';
@@ -1 +0,0 @@
1
- export { default as CardStoryItem } from './CardStoryItem';
@@ -1,2 +0,0 @@
1
- export { default as CardStoryItem } from './CardStoryItem'
2
- export { type CardStoryItemProps } from './CardStoryItemProps.types'
@@ -1,4 +0,0 @@
1
- import { type FC } from 'react';
2
- import { CardStoryProps } from './CardStoryProps.types';
3
- declare const CardStory: FC<CardStoryProps>;
4
- export default CardStory;
@@ -1,7 +0,0 @@
1
- import { jsx as _jsx } from "react/jsx-runtime";
2
- import { CardStoryItem } from '../../atoms/CardStoryItem';
3
- import { CardStoryStyled } from './CardStory.styled';
4
- const CardStory = ({ cardStoryItems }) => {
5
- return (_jsx(CardStoryStyled, { className: 'card-story', children: cardStoryItems.map((item) => (_jsx(CardStoryItem, { ...item }, item.title))) }));
6
- };
7
- export default CardStory;
@@ -1 +0,0 @@
1
- export declare const CardStoryStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLUListElement>, HTMLUListElement>, never>> & string;
@@ -1,24 +0,0 @@
1
- import styled from 'styled-components';
2
- export const CardStoryStyled = styled.ul `
3
- position: relative;
4
- padding-left: 26px;
5
-
6
- &:before {
7
- content: '';
8
- position: absolute;
9
- left: 4px;
10
- top: 0px;
11
- bottom: 0;
12
- background-image: repeating-linear-gradient(
13
- 180deg,
14
- var(--neutral-neutral-3),
15
- var(--neutral-neutral-3) 11px,
16
- transparent 11px,
17
- transparent 18px
18
- );
19
- background-position: left -4px;
20
- background-repeat: repeat-y;
21
- background-size: 2px 100%;
22
- width: 2px;
23
- }
24
- `;
@@ -1,25 +0,0 @@
1
- import styled from 'styled-components'
2
-
3
- export const CardStoryStyled = styled.ul`
4
- position: relative;
5
- padding-left: 26px;
6
-
7
- &:before {
8
- content: '';
9
- position: absolute;
10
- left: 4px;
11
- top: 0px;
12
- bottom: 0;
13
- background-image: repeating-linear-gradient(
14
- 180deg,
15
- var(--neutral-neutral-3),
16
- var(--neutral-neutral-3) 11px,
17
- transparent 11px,
18
- transparent 18px
19
- );
20
- background-position: left -4px;
21
- background-repeat: repeat-y;
22
- background-size: 2px 100%;
23
- width: 2px;
24
- }
25
- `
@@ -1,17 +0,0 @@
1
- import React, { type FC } from 'react'
2
-
3
- import { CardStoryItem } from '../../atoms/CardStoryItem'
4
- import { CardStoryProps } from './CardStoryProps.types'
5
- import { CardStoryStyled } from './CardStory.styled'
6
-
7
- const CardStory: FC<CardStoryProps> = ({ cardStoryItems }) => {
8
- return (
9
- <CardStoryStyled className='card-story'>
10
- {cardStoryItems.map((item) => (
11
- <CardStoryItem key={item.title} {...item} />
12
- ))}
13
- </CardStoryStyled>
14
- )
15
- }
16
-
17
- export default CardStory
@@ -1,4 +0,0 @@
1
- import { CardStoryItemProps } from 'src/components/atoms/CardStoryItem';
2
- export interface CardStoryProps {
3
- cardStoryItems: CardStoryItemProps[];
4
- }
@@ -1,5 +0,0 @@
1
- import { CardStoryItemProps } from 'src/components/atoms/CardStoryItem'
2
-
3
- export interface CardStoryProps {
4
- cardStoryItems: CardStoryItemProps[]
5
- }
@@ -1,2 +0,0 @@
1
- export { default as CardStory } from './CardStory';
2
- export { type CardStoryProps } from './CardStoryProps.types';
@@ -1 +0,0 @@
1
- export { default as CardStory } from './CardStory';
@@ -1,2 +0,0 @@
1
- export { default as CardStory } from './CardStory'
2
- export { type CardStoryProps } from './CardStoryProps.types'
@@ -1,4 +0,0 @@
1
- import { type FC } from 'react';
2
- import { CardStorySectionProps } from './CardStorySectionProps.types';
3
- declare const CardStorySection: FC<CardStorySectionProps>;
4
- export default CardStorySection;
@@ -1,7 +0,0 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { CardStory } from '../../molecules/CardStory';
3
- import { CardStorySectionStyled } from './CardStorySection.styled';
4
- const CardStorySection = ({ title, text, cardStory }) => {
5
- return (_jsx(CardStorySectionStyled, { className: 'card-story-section', children: _jsxs("div", { className: 'wrapper card-story-section__content', children: [_jsx("h2", { className: 'card-story-section__title', children: title }), _jsx("div", { className: 'card-story-section__text', children: text }), _jsx(CardStory, { cardStoryItems: cardStory.cardStoryItems })] }) }));
6
- };
7
- export default CardStorySection;
@@ -1 +0,0 @@
1
- export declare const CardStorySectionStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -1,42 +0,0 @@
1
- import { device } from '../../../globalStyles/breakpoints';
2
- import styled from 'styled-components';
3
- export const CardStorySectionStyled = styled.div `
4
- padding: 1.5rem;
5
- background: var(--secondary-main-light-4);
6
-
7
- .card-story-section {
8
- &__title {
9
- font-weight: 700;
10
- font-size: 1.8rem;
11
- color: var(--neutral-neutral-1);
12
- font-family: var(--font-sans);
13
- padding-bottom: 1.5rem;
14
- }
15
- &__text {
16
- font-size: 1rem;
17
- color: var(--neutral-neutral-1);
18
- font-family: var(--font-sans);
19
- padding-bottom: 0.5rem;
20
- }
21
- &__content {
22
- border-radius: var(--l-border-radius);
23
- background: var(--others-white);
24
- padding: 1.5rem;
25
- }
26
- }
27
-
28
- @media ${device['landscape-tablets']} {
29
- padding: 3rem 1.5rem 3rem 1.5rem;
30
-
31
- .card-story-section {
32
- &__title {
33
- }
34
- &__text {
35
- padding-bottom: 1.5rem;
36
- }
37
- &__content {
38
- padding: 3rem;
39
- }
40
- }
41
- }
42
- `;
@@ -1,43 +0,0 @@
1
- import { device } from '../../../globalStyles/breakpoints'
2
- import styled from 'styled-components'
3
-
4
- export const CardStorySectionStyled = styled.div`
5
- padding: 1.5rem;
6
- background: var(--secondary-main-light-4);
7
-
8
- .card-story-section {
9
- &__title {
10
- font-weight: 700;
11
- font-size: 1.8rem;
12
- color: var(--neutral-neutral-1);
13
- font-family: var(--font-sans);
14
- padding-bottom: 1.5rem;
15
- }
16
- &__text {
17
- font-size: 1rem;
18
- color: var(--neutral-neutral-1);
19
- font-family: var(--font-sans);
20
- padding-bottom: 0.5rem;
21
- }
22
- &__content {
23
- border-radius: var(--l-border-radius);
24
- background: var(--others-white);
25
- padding: 1.5rem;
26
- }
27
- }
28
-
29
- @media ${device['landscape-tablets']} {
30
- padding: 3rem 1.5rem 3rem 1.5rem;
31
-
32
- .card-story-section {
33
- &__title {
34
- }
35
- &__text {
36
- padding-bottom: 1.5rem;
37
- }
38
- &__content {
39
- padding: 3rem;
40
- }
41
- }
42
- }
43
- `
@@ -1,19 +0,0 @@
1
- import React, { type FC } from 'react'
2
-
3
- import { CardStory } from '../../molecules/CardStory'
4
- import { CardStorySectionProps } from './CardStorySectionProps.types'
5
- import { CardStorySectionStyled } from './CardStorySection.styled'
6
-
7
- const CardStorySection: FC<CardStorySectionProps> = ({ title, text, cardStory }) => {
8
- return (
9
- <CardStorySectionStyled className='card-story-section'>
10
- <div className='wrapper card-story-section__content'>
11
- <h2 className='card-story-section__title'>{title}</h2>
12
- <div className='card-story-section__text'>{text}</div>
13
- <CardStory cardStoryItems={cardStory.cardStoryItems} />
14
- </div>
15
- </CardStorySectionStyled>
16
- )
17
- }
18
-
19
- export default CardStorySection
@@ -1,7 +0,0 @@
1
- import { CardStoryProps } from 'src/components/molecules/CardStory';
2
- import React from 'react';
3
- export interface CardStorySectionProps {
4
- title: string;
5
- text: React.JSX.Element;
6
- cardStory: CardStoryProps;
7
- }
@@ -1,8 +0,0 @@
1
- import { CardStoryProps } from 'src/components/molecules/CardStory'
2
- import React from 'react'
3
-
4
- export interface CardStorySectionProps {
5
- title: string
6
- text: React.JSX.Element
7
- cardStory: CardStoryProps
8
- }
@@ -1,2 +0,0 @@
1
- export { default as CardStorySection } from './CardStorySection';
2
- export { type CardStorySectionProps } from './CardStorySectionProps.types';
@@ -1 +0,0 @@
1
- export { default as CardStorySection } from './CardStorySection';
@@ -1,2 +0,0 @@
1
- export { default as CardStorySection } from './CardStorySection'
2
- export { type CardStorySectionProps } from './CardStorySectionProps.types'