@npm_leadtech/legal-lib-components 7.27.2 → 7.27.3

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 (72) hide show
  1. package/dist/css/styles.css +3 -0
  2. package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.styled.js +1 -1
  3. package/dist/src/components/atoms/DialogMenuIcon/DialogMenuIcon.styled.ts +1 -1
  4. package/dist/src/components/molecules/TextInput/Input.d.ts +1 -0
  5. package/dist/src/components/molecules/TextInput/Input.js +4 -5
  6. package/dist/src/components/molecules/TextInput/Input.tsx +8 -7
  7. package/dist/src/components/molecules/TextInput/TextInput.js +2 -2
  8. package/dist/src/components/molecules/TextInput/TextInput.scss +4 -0
  9. package/dist/src/components/molecules/TextInput/TextInput.tsx +3 -1
  10. package/dist/src/components/molecules/TextInput/TextInputProps.types.d.ts +1 -0
  11. package/dist/src/components/molecules/TextInput/TextInputProps.types.ts +1 -0
  12. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.js +1 -3
  13. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.js +2 -4
  14. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.ts +2 -4
  15. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.tsx +1 -4
  16. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.d.ts +1 -3
  17. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.js +0 -2
  18. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.ts +1 -3
  19. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.js +1 -9
  20. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.styled.js +0 -4
  21. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.styled.ts +0 -4
  22. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.tsx +1 -11
  23. package/dist/src/components/sections/index.d.ts +0 -3
  24. package/dist/src/components/sections/index.js +0 -3
  25. package/dist/src/components/sections/index.ts +0 -3
  26. package/dist/tsconfig.build.tsbuildinfo +1 -1
  27. package/package.json +1 -2
  28. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCard.d.ts +0 -3
  29. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCard.js +0 -5
  30. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCard.styled.d.ts +0 -1
  31. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCard.styled.js +0 -50
  32. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCard.styled.ts +0 -51
  33. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCard.tsx +0 -20
  34. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCardProps.d.ts +0 -5
  35. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCardProps.js +0 -1
  36. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCardProps.ts +0 -5
  37. package/dist/src/components/molecules/LawGeniusInfoCard/index.d.ts +0 -2
  38. package/dist/src/components/molecules/LawGeniusInfoCard/index.js +0 -2
  39. package/dist/src/components/molecules/LawGeniusInfoCard/index.ts +0 -2
  40. package/dist/src/components/pages/HowItWorksPage/HowItWorksPage.d.ts +0 -3
  41. package/dist/src/components/pages/HowItWorksPage/HowItWorksPage.js +0 -5
  42. package/dist/src/components/pages/HowItWorksPage/HowItWorksPage.tsx +0 -26
  43. package/dist/src/components/pages/HowItWorksPage/HowItWorksPageProps.d.ts +0 -10
  44. package/dist/src/components/pages/HowItWorksPage/HowItWorksPageProps.js +0 -1
  45. package/dist/src/components/pages/HowItWorksPage/HowItWorksPageProps.ts +0 -16
  46. package/dist/src/components/pages/HowItWorksPage/index.d.ts +0 -2
  47. package/dist/src/components/pages/HowItWorksPage/index.js +0 -2
  48. package/dist/src/components/pages/HowItWorksPage/index.ts +0 -2
  49. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.d.ts +0 -4
  50. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.js +0 -12
  51. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.styled.d.ts +0 -1
  52. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.styled.js +0 -94
  53. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.styled.ts +0 -95
  54. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.tsx +0 -69
  55. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSectionProps.types.d.ts +0 -15
  56. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSectionProps.types.js +0 -1
  57. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSectionProps.types.ts +0 -16
  58. package/dist/src/components/sections/LawGeniusCardsSection/index.d.ts +0 -2
  59. package/dist/src/components/sections/LawGeniusCardsSection/index.js +0 -1
  60. package/dist/src/components/sections/LawGeniusCardsSection/index.ts +0 -2
  61. package/dist/src/components/sections/TryNowSection/TryNowSection.d.ts +0 -3
  62. package/dist/src/components/sections/TryNowSection/TryNowSection.js +0 -6
  63. package/dist/src/components/sections/TryNowSection/TryNowSection.styled.d.ts +0 -1
  64. package/dist/src/components/sections/TryNowSection/TryNowSection.styled.js +0 -186
  65. package/dist/src/components/sections/TryNowSection/TryNowSection.styled.ts +0 -187
  66. package/dist/src/components/sections/TryNowSection/TryNowSection.tsx +0 -28
  67. package/dist/src/components/sections/TryNowSection/TryNowSectionProps.d.ts +0 -8
  68. package/dist/src/components/sections/TryNowSection/TryNowSectionProps.js +0 -1
  69. package/dist/src/components/sections/TryNowSection/TryNowSectionProps.ts +0 -9
  70. package/dist/src/components/sections/TryNowSection/index.d.ts +0 -2
  71. package/dist/src/components/sections/TryNowSection/index.js +0 -1
  72. package/dist/src/components/sections/TryNowSection/index.ts +0 -2
@@ -1,187 +0,0 @@
1
- import { device } from '../../../globalStyles/breakpoints'
2
- import styled from 'styled-components'
3
-
4
- export const TryNowSectionStyled = styled.section`
5
- .guidelines-section-main {
6
- display: flex;
7
- flex-direction: column;
8
- flex-wrap: nowrap;
9
- padding: 1.5rem;
10
-
11
- @media ${device.laptop} {
12
- flex-direction: row;
13
- padding: 0;
14
- }
15
- }
16
-
17
- .guidelines-section__texts {
18
- display: flex;
19
- flex-direction: column;
20
- justify-content: center;
21
- margin-bottom: 1rem;
22
- margin-right: 0;
23
- color: var(--neutral-neutral-1);
24
- font-style: normal;
25
- font-weight: 400;
26
- letter-spacing: -0.3px;
27
-
28
- @media ${device['landscape-tablets']} {
29
- margin-left: 2rem;
30
- margin-bottom: 0;
31
- }
32
-
33
- &__title {
34
- font-family: var(--font-sans);
35
- margin-bottom: 2rem;
36
- text-align: center;
37
- font-weight: 700;
38
- font-size: 1.75rem;
39
- color: var(--neutral-neutral-1);
40
- font-style: normal;
41
- line-height: 32px;
42
- letter-spacing: -0.3px;
43
-
44
- @media ${device['landscape-tablets']} {
45
- text-align: left;
46
- }
47
- }
48
-
49
- &__body {
50
- font-family: var(--font-sans);
51
- font-size: 16px;
52
- line-height: 22px;
53
-
54
- a {
55
- color: var(--primary-main-light-1);
56
- font-weight: 400 !important;
57
- }
58
- }
59
- }
60
-
61
- .guidelines-section-detail {
62
- display: flex;
63
- flex-direction: column;
64
- gap: 1.5rem;
65
- margin: 2rem 0 1rem 0;
66
-
67
- @media ${device.laptop} {
68
- flex-direction: row;
69
- }
70
-
71
- &__item {
72
- display: flex;
73
- flex: 1;
74
- flex-direction: column;
75
- background: var(--others-white);
76
- border-radius: var(--m-border-radius);
77
- padding: 1.5rem;
78
-
79
- &__image {
80
- width: 100%;
81
- border-radius: var(--m-border-radius);
82
- }
83
-
84
- &__title {
85
- font-family: var(--font-sans);
86
- font-style: normal;
87
- font-weight: 700;
88
- font-size: 18px;
89
- line-height: 24px;
90
- letter-spacing: -0.3px;
91
- color: var(--neutral-neutral-1);
92
- margin: 1.5rem 0 1rem 0;
93
- }
94
-
95
- ul {
96
- list-style-type: disc;
97
- }
98
-
99
- ol {
100
- list-style-type: decimal;
101
- }
102
-
103
- ul,
104
- ol {
105
- margin-left: 1rem;
106
- margin-bottom: 1rem;
107
-
108
- li {
109
- margin-bottom: 0;
110
- }
111
- }
112
- }
113
- }
114
-
115
- .guidelines-section-trial {
116
- display: flex;
117
- flex-direction: column;
118
- gap: 1.5rem;
119
- margin: 2rem 0 1rem 0;
120
-
121
- @media ${device.laptop} {
122
- flex-direction: row;
123
- }
124
-
125
- &__texts {
126
- flex-basis: 50%;
127
- display: flex;
128
- flex-direction: column;
129
- justify-content: flex-start;
130
- color: var(--neutral-neutral-1);
131
- font-style: normal;
132
- font-weight: 400;
133
- letter-spacing: -0.3px;
134
- margin-left: 3rem;
135
-
136
- &__body {
137
- font-family: var(--font-sans);
138
- font-size: 16px;
139
- line-height: 22px;
140
- margin-bottom: 1.5rem;
141
- a {
142
- color: var(--primary-main-light-1);
143
- font-weight: 400 !important;
144
- }
145
- }
146
- .e-button {
147
- height: auto;
148
- align-self: flex-start;
149
- margin-top: 2.5rem;
150
- }
151
- }
152
-
153
- &__item {
154
- display: flex;
155
- flex-direction: column;
156
- justify-content: space-between;
157
- background: var(--others-white);
158
- border-radius: var(--m-border-radius);
159
-
160
- @media ${device.laptop} {
161
- padding: 1.5rem;
162
- flex-direction: row;
163
- }
164
- }
165
- }
166
-
167
- .guidelines-section__image {
168
- flex-basis: 50%;
169
- margin-bottom: 2rem;
170
-
171
- &.big-devices {
172
- display: none;
173
- }
174
- &.is-mobile {
175
- display: flex;
176
- }
177
-
178
- @media ${device.laptop} {
179
- &.big-devices {
180
- display: flex;
181
- }
182
- &.is-mobile {
183
- display: none;
184
- }
185
- }
186
- }
187
- `
@@ -1,28 +0,0 @@
1
- import React, { type FC } from 'react'
2
-
3
- import { Button, RichTextInner } from '../../atoms'
4
- import { type TryNowSectionProps } from './TryNowSectionProps'
5
- import { TryNowSectionStyled } from './TryNowSection.styled'
6
-
7
- export const TryNowSection: FC<TryNowSectionProps> = ({ text, buttonText, buttonLink, buttonDataQa, image }) => {
8
- return (
9
- <TryNowSectionStyled className='try-us-section'>
10
- <div className='guidelines-section-trial wrapper'>
11
- <div className='guidelines-section-trial__item'>
12
- <div className='guidelines-section__image big-devices'>{image}</div>
13
- <div className='guidelines-section-trial__texts'>
14
- <RichTextInner customClass='guidelines-section__texts__body'>{text}</RichTextInner>
15
- <Button
16
- givenClass='mid-banner-ratafia-content__cta'
17
- dataQa={buttonDataQa}
18
- link={buttonLink}
19
- color='primary'
20
- label={buttonText}
21
- />
22
- </div>
23
- <div className='guidelines-section__image is-mobile'>{image}</div>
24
- </div>
25
- </div>
26
- </TryNowSectionStyled>
27
- )
28
- }
@@ -1,8 +0,0 @@
1
- import React from 'react';
2
- export interface TryNowSectionProps {
3
- text: React.ReactNode;
4
- buttonText: string;
5
- buttonLink: string;
6
- buttonDataQa: string;
7
- image?: React.ReactNode;
8
- }
@@ -1,9 +0,0 @@
1
- import React from 'react'
2
-
3
- export interface TryNowSectionProps {
4
- text: React.ReactNode
5
- buttonText: string
6
- buttonLink: string
7
- buttonDataQa: string
8
- image?: React.ReactNode
9
- }
@@ -1,2 +0,0 @@
1
- export { TryNowSection } from './TryNowSection';
2
- export type { TryNowSectionProps } from './TryNowSectionProps';
@@ -1 +0,0 @@
1
- export { TryNowSection } from './TryNowSection';
@@ -1,2 +0,0 @@
1
- export { TryNowSection } from './TryNowSection'
2
- export type { TryNowSectionProps } from './TryNowSectionProps'