@npm_leadtech/legal-lib-components 7.27.3 → 7.27.4

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 +0 -3
  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/LawGeniusInfoCard/LawGeniusInfoCard.d.ts +3 -0
  5. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCard.js +5 -0
  6. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCard.styled.d.ts +1 -0
  7. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCard.styled.js +50 -0
  8. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCard.styled.ts +51 -0
  9. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCard.tsx +20 -0
  10. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCardProps.d.ts +5 -0
  11. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCardProps.js +1 -0
  12. package/dist/src/components/molecules/LawGeniusInfoCard/LawGeniusInfoCardProps.ts +5 -0
  13. package/dist/src/components/molecules/LawGeniusInfoCard/index.d.ts +2 -0
  14. package/dist/src/components/molecules/LawGeniusInfoCard/index.js +2 -0
  15. package/dist/src/components/molecules/LawGeniusInfoCard/index.ts +2 -0
  16. package/dist/src/components/molecules/TextInput/Input.d.ts +0 -1
  17. package/dist/src/components/molecules/TextInput/Input.js +5 -4
  18. package/dist/src/components/molecules/TextInput/Input.tsx +7 -8
  19. package/dist/src/components/molecules/TextInput/TextInput.js +2 -2
  20. package/dist/src/components/molecules/TextInput/TextInput.scss +0 -4
  21. package/dist/src/components/molecules/TextInput/TextInput.tsx +1 -3
  22. package/dist/src/components/molecules/TextInput/TextInputProps.types.d.ts +0 -1
  23. package/dist/src/components/molecules/TextInput/TextInputProps.types.ts +0 -1
  24. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.js +3 -1
  25. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.js +4 -2
  26. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.styled.ts +4 -2
  27. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContent.tsx +4 -1
  28. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.d.ts +3 -1
  29. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.js +2 -0
  30. package/dist/src/components/organisms/TryOurFreeLegalBlogsContent/TryOurFreeLegalBlogsContentProps.types.ts +3 -1
  31. package/dist/src/components/pages/HowItWorksPage/HowItWorksPage.d.ts +3 -0
  32. package/dist/src/components/pages/HowItWorksPage/HowItWorksPage.js +5 -0
  33. package/dist/src/components/pages/HowItWorksPage/HowItWorksPage.tsx +26 -0
  34. package/dist/src/components/pages/HowItWorksPage/HowItWorksPageProps.d.ts +10 -0
  35. package/dist/src/components/pages/HowItWorksPage/HowItWorksPageProps.js +1 -0
  36. package/dist/src/components/pages/HowItWorksPage/HowItWorksPageProps.ts +16 -0
  37. package/dist/src/components/pages/HowItWorksPage/index.d.ts +2 -0
  38. package/dist/src/components/pages/HowItWorksPage/index.js +2 -0
  39. package/dist/src/components/pages/HowItWorksPage/index.ts +2 -0
  40. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.d.ts +4 -0
  41. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.js +12 -0
  42. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.styled.d.ts +1 -0
  43. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.styled.js +94 -0
  44. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.styled.ts +95 -0
  45. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSection.tsx +69 -0
  46. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSectionProps.types.d.ts +15 -0
  47. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSectionProps.types.js +1 -0
  48. package/dist/src/components/sections/LawGeniusCardsSection/LawGeniusCardsSectionProps.types.ts +16 -0
  49. package/dist/src/components/sections/LawGeniusCardsSection/index.d.ts +2 -0
  50. package/dist/src/components/sections/LawGeniusCardsSection/index.js +1 -0
  51. package/dist/src/components/sections/LawGeniusCardsSection/index.ts +2 -0
  52. package/dist/src/components/sections/TryNowSection/TryNowSection.d.ts +3 -0
  53. package/dist/src/components/sections/TryNowSection/TryNowSection.js +6 -0
  54. package/dist/src/components/sections/TryNowSection/TryNowSection.styled.d.ts +1 -0
  55. package/dist/src/components/sections/TryNowSection/TryNowSection.styled.js +186 -0
  56. package/dist/src/components/sections/TryNowSection/TryNowSection.styled.ts +187 -0
  57. package/dist/src/components/sections/TryNowSection/TryNowSection.tsx +28 -0
  58. package/dist/src/components/sections/TryNowSection/TryNowSectionProps.d.ts +8 -0
  59. package/dist/src/components/sections/TryNowSection/TryNowSectionProps.js +1 -0
  60. package/dist/src/components/sections/TryNowSection/TryNowSectionProps.ts +9 -0
  61. package/dist/src/components/sections/TryNowSection/index.d.ts +2 -0
  62. package/dist/src/components/sections/TryNowSection/index.js +1 -0
  63. package/dist/src/components/sections/TryNowSection/index.ts +2 -0
  64. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.js +9 -1
  65. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.styled.js +4 -0
  66. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.styled.ts +4 -0
  67. package/dist/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSection.tsx +11 -1
  68. package/dist/src/components/sections/index.d.ts +3 -0
  69. package/dist/src/components/sections/index.js +3 -0
  70. package/dist/src/components/sections/index.ts +3 -0
  71. package/dist/tsconfig.build.tsbuildinfo +1 -1
  72. package/package.json +2 -1
@@ -2165,9 +2165,6 @@ h2.react-datepicker__current-month {
2165
2165
  width: 50%;
2166
2166
  }
2167
2167
  }
2168
- .e-text--has-prefix .tooltip-form {
2169
- grid-row: 3;
2170
- }
2171
2168
  .e-text--has-prefix .has-currency-prefix {
2172
2169
  padding-left: 2rem;
2173
2170
  grid-column: 1;
@@ -26,7 +26,7 @@ export const DialogMenuIconStyled = styled.div `
26
26
  align-items: flex-start;
27
27
  justify-content: space-between;
28
28
  position: absolute;
29
- z-index: 2;
29
+ z-index: 1;
30
30
  top: 1.5rem;
31
31
  right: -5rem;
32
32
 
@@ -27,7 +27,7 @@ export const DialogMenuIconStyled = styled.div`
27
27
  align-items: flex-start;
28
28
  justify-content: space-between;
29
29
  position: absolute;
30
- z-index: 2;
30
+ z-index: 1;
31
31
  top: 1.5rem;
32
32
  right: -5rem;
33
33
 
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { LawGeniusInfoCardProps } from './LawGeniusInfoCardProps';
3
+ export declare const LawGeniusInfoCard: React.FC<LawGeniusInfoCardProps>;
@@ -0,0 +1,5 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { LawGeniusInfoCardStyled } from './LawGeniusInfoCard.styled';
3
+ export const LawGeniusInfoCard = ({ icon, title = '', text = '' }) => {
4
+ return (_jsx(LawGeniusInfoCardStyled, { className: 'info-card', children: _jsx("div", { className: 'info-card-wrapper', children: _jsxs("div", { className: 'content', children: [_jsxs("p", { className: 'title', children: [_jsx("div", { className: 'info-icon', children: icon }), title] }), _jsx("p", { className: 'text', children: text })] }) }) }));
5
+ };
@@ -0,0 +1 @@
1
+ export declare const LawGeniusInfoCardStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
@@ -0,0 +1,50 @@
1
+ import styled from 'styled-components';
2
+ export const LawGeniusInfoCardStyled = styled.div `
3
+ width: 100%;
4
+ background-color: var(--others-white);
5
+ border-radius: var(--s-border-radius);
6
+ margin-top: 1rem;
7
+ margin-bottom: 1rem;
8
+ display: flex;
9
+ align-items: center;
10
+ padding: 1rem 1.5rem;
11
+
12
+ .info-card-wrapper {
13
+ display: flex;
14
+ }
15
+
16
+ @media not all and (min-resolution: 0.001dpcm) {
17
+ @supports (-webkit-appearance: none) {
18
+ letter-spacing: -1px;
19
+ }
20
+ }
21
+
22
+ .info-icon {
23
+ margin-top: 0.1rem;
24
+ margin-right: 0.5rem;
25
+
26
+ path {
27
+ fill: var(--primary-main-dark-1);
28
+ }
29
+ }
30
+
31
+ .title {
32
+ display: flex;
33
+ color: var(--primary-main-dark-1);
34
+ font-size: 1rem;
35
+ font-weight: bold;
36
+
37
+ &.email {
38
+ text-decoration: underline;
39
+ }
40
+
41
+ a {
42
+ color: var(--primary-main-dark-1);
43
+ }
44
+ }
45
+
46
+ .text {
47
+ font-size: 0.875rem;
48
+ color: var(--neutral-neutral-2);
49
+ }
50
+ `;
@@ -0,0 +1,51 @@
1
+ import styled from 'styled-components'
2
+
3
+ export const LawGeniusInfoCardStyled = styled.div`
4
+ width: 100%;
5
+ background-color: var(--others-white);
6
+ border-radius: var(--s-border-radius);
7
+ margin-top: 1rem;
8
+ margin-bottom: 1rem;
9
+ display: flex;
10
+ align-items: center;
11
+ padding: 1rem 1.5rem;
12
+
13
+ .info-card-wrapper {
14
+ display: flex;
15
+ }
16
+
17
+ @media not all and (min-resolution: 0.001dpcm) {
18
+ @supports (-webkit-appearance: none) {
19
+ letter-spacing: -1px;
20
+ }
21
+ }
22
+
23
+ .info-icon {
24
+ margin-top: 0.1rem;
25
+ margin-right: 0.5rem;
26
+
27
+ path {
28
+ fill: var(--primary-main-dark-1);
29
+ }
30
+ }
31
+
32
+ .title {
33
+ display: flex;
34
+ color: var(--primary-main-dark-1);
35
+ font-size: 1rem;
36
+ font-weight: bold;
37
+
38
+ &.email {
39
+ text-decoration: underline;
40
+ }
41
+
42
+ a {
43
+ color: var(--primary-main-dark-1);
44
+ }
45
+ }
46
+
47
+ .text {
48
+ font-size: 0.875rem;
49
+ color: var(--neutral-neutral-2);
50
+ }
51
+ `
@@ -0,0 +1,20 @@
1
+ import React from 'react'
2
+
3
+ import { LawGeniusInfoCardProps } from './LawGeniusInfoCardProps'
4
+ import { LawGeniusInfoCardStyled } from './LawGeniusInfoCard.styled'
5
+
6
+ export const LawGeniusInfoCard: React.FC<LawGeniusInfoCardProps> = ({ icon, title = '', text = '' }) => {
7
+ return (
8
+ <LawGeniusInfoCardStyled className='info-card'>
9
+ <div className='info-card-wrapper'>
10
+ <div className='content'>
11
+ <p className='title'>
12
+ <div className='info-icon'>{icon}</div>
13
+ {title}
14
+ </p>
15
+ <p className='text'>{text}</p>
16
+ </div>
17
+ </div>
18
+ </LawGeniusInfoCardStyled>
19
+ )
20
+ }
@@ -0,0 +1,5 @@
1
+ export interface LawGeniusInfoCardProps {
2
+ title: string;
3
+ text: string;
4
+ icon: React.ReactNode;
5
+ }
@@ -0,0 +1,5 @@
1
+ export interface LawGeniusInfoCardProps {
2
+ title: string
3
+ text: string
4
+ icon: React.ReactNode
5
+ }
@@ -0,0 +1,2 @@
1
+ export * from './LawGeniusInfoCard';
2
+ export * from './LawGeniusInfoCardProps';
@@ -0,0 +1,2 @@
1
+ export * from './LawGeniusInfoCard';
2
+ export * from './LawGeniusInfoCardProps';
@@ -0,0 +1,2 @@
1
+ export * from './LawGeniusInfoCard'
2
+ export * from './LawGeniusInfoCardProps'
@@ -14,7 +14,6 @@ interface InputProps {
14
14
  onKeyDown: (e: React.KeyboardEvent<HTMLInputElement>) => void;
15
15
  onKeyUp: (e: React.KeyboardEvent<HTMLInputElement>) => void;
16
16
  country: string;
17
- currrencySymbol?: string;
18
17
  }
19
18
  export declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
20
19
  export {};
@@ -1,9 +1,11 @@
1
1
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import React, { useState } from 'react';
3
+ import currencyEuro from '../../../../images/svg/currencyDE.svg';
4
+ import currencyOthers from '../../../../images/svg/currencyUS.svg';
3
5
  import eyeCloseIcon from '../../../../images/svg/eye-close.svg';
4
6
  import eyeIcon from '../../../../images/svg/eye-24-px.svg';
5
7
  import percent from '../../../../images/svg/percent.svg';
6
- export const Input = React.forwardRef(({ value, name, placeholder, className, onChange, onClick, onBlur, onKeyDown, onKeyUp, disabled, type = 'text', maxLength, country, prefix, currrencySymbol }, ref) => {
8
+ export const Input = React.forwardRef(({ value, name, placeholder, className, onChange, onClick, onBlur, onKeyDown, onKeyUp, disabled, type = 'text', maxLength, country, prefix }, ref) => {
7
9
  const [hidden, setHidden] = useState(true);
8
10
  const showPassword = () => {
9
11
  if (value !== null)
@@ -23,13 +25,12 @@ export const Input = React.forwardRef(({ value, name, placeholder, className, on
23
25
  else if (isPercent) {
24
26
  finalClassName += ' has-percent-suffix';
25
27
  }
26
- return (_jsxs(_Fragment, { children: [isCurrency && !!prefix && otherCurrency && currrencySymbol && (_jsx("div", { className: 'input-icon-currency-prefix', children: _jsx("span", { children: currrencySymbol }) })), _jsx("input", { type: !hidden && type === 'password' ? 'text' : type, name: name, id: name, className: finalClassName, 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) => {
28
+ return (_jsxs(_Fragment, { children: [isCurrency && !!prefix && otherCurrency && (_jsx("div", { className: 'input-icon-currency-prefix', children: _jsx("img", { src: currencyOthers, alt: 'currency' }) })), _jsx("input", { type: !hidden && type === 'password' ? 'text' : type, name: name, id: name, className: finalClassName, 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) => {
27
29
  if (e.key === 'Enter')
28
30
  showPassword();
29
31
  }, children: _jsx("img", { src: hidden ? eyeIcon : eyeCloseIcon, alt: '' }) })), isCurrency
30
32
  ? !!prefix &&
31
- euro &&
32
- currrencySymbol && (_jsx("div", { className: 'input-icon-currency-suffix', children: _jsx("span", { children: currrencySymbol }) }))
33
+ euro && (_jsx("div", { className: 'input-icon-currency-suffix', children: _jsx("img", { src: currencyEuro, alt: 'currency' }) }))
33
34
  : isPercent && (_jsx("div", { className: 'input-icon-percent-suffix', children: _jsx("img", { src: percent, alt: 'percent' }) }))] }));
34
35
  });
35
36
  Input.displayName = 'Input';
@@ -1,5 +1,7 @@
1
1
  import React, { useState } from 'react'
2
2
 
3
+ import currencyEuro from '../../../../images/svg/currencyDE.svg'
4
+ import currencyOthers from '../../../../images/svg/currencyUS.svg'
3
5
  import eyeCloseIcon from '../../../../images/svg/eye-close.svg'
4
6
  import eyeIcon from '../../../../images/svg/eye-24-px.svg'
5
7
  import percent from '../../../../images/svg/percent.svg'
@@ -19,7 +21,6 @@ interface InputProps {
19
21
  onKeyDown: (e: React.KeyboardEvent<HTMLInputElement>) => void
20
22
  onKeyUp: (e: React.KeyboardEvent<HTMLInputElement>) => void
21
23
  country: string
22
- currrencySymbol?: string
23
24
  }
24
25
 
25
26
  export const Input = React.forwardRef<HTMLInputElement, InputProps>(
@@ -38,8 +39,7 @@ export const Input = React.forwardRef<HTMLInputElement, InputProps>(
38
39
  type = 'text',
39
40
  maxLength,
40
41
  country,
41
- prefix,
42
- currrencySymbol
42
+ prefix
43
43
  }: InputProps,
44
44
  ref
45
45
  ) => {
@@ -66,9 +66,9 @@ export const Input = React.forwardRef<HTMLInputElement, InputProps>(
66
66
 
67
67
  return (
68
68
  <>
69
- {isCurrency && !!prefix && otherCurrency && currrencySymbol && (
69
+ {isCurrency && !!prefix && otherCurrency && (
70
70
  <div className='input-icon-currency-prefix'>
71
- <span>{currrencySymbol}</span>
71
+ <img src={currencyOthers} alt='currency' />
72
72
  </div>
73
73
  )}
74
74
  <input
@@ -102,10 +102,9 @@ export const Input = React.forwardRef<HTMLInputElement, InputProps>(
102
102
  )}
103
103
  {isCurrency
104
104
  ? !!prefix &&
105
- euro &&
106
- currrencySymbol && (
105
+ euro && (
107
106
  <div className='input-icon-currency-suffix'>
108
- <span>{currrencySymbol}</span>
107
+ <img src={currencyEuro} alt='currency' />
109
108
  </div>
110
109
  )
111
110
  : isPercent && (
@@ -6,7 +6,7 @@ import { Input } from './Input';
6
6
  import { TextInputLabel } from './TextInputLabel';
7
7
  import { TextInputMessage } from './TextInputMessage';
8
8
  import { TextInputTooltip } from './TextInputTooltip';
9
- const TextInput = React.forwardRef(({ label, value, validate = true, isValidGroup = true, format = undefined, name, placeholder, onChange, onClick, onBlur, onKeyDown, onKeyUp, prefix = '', disabled, type = 'text', maxLength, errorMessage = '', notes, dialogMenuTip, tooltip = '', givenClass = '', children, country, currrencySymbol }, ref) => {
9
+ const TextInput = React.forwardRef(({ label, value, validate = true, isValidGroup = true, format = undefined, name, placeholder, onChange, onClick, onBlur, onKeyDown, onKeyUp, prefix = '', disabled, type = 'text', maxLength, errorMessage = '', notes, dialogMenuTip, tooltip = '', givenClass = '', children, country }, ref) => {
10
10
  const classnames = classNames('e-text', {
11
11
  [givenClass]: givenClass,
12
12
  'e-text--is-invalid': !validate,
@@ -26,7 +26,7 @@ const TextInput = React.forwardRef(({ label, value, validate = true, isValidGrou
26
26
  if (Boolean(format) && type !== 'number' && type !== 'tel') {
27
27
  return (_jsx(NumericFormat, { name: name, id: name, placeholder: placeholder, className: 'e-text-input', onChange: onChange, onClick: onClick, value: value, "data-qa": name, disabled: disabled, maxLength: maxLength, onBlur: onBlur }));
28
28
  }
29
- return (_jsx(Input, { name: name ?? '', type: type, prefix: prefix, placeholder: placeholder ?? '', className: 'e-text-input', onChange: handleChange, onClick: onClick ?? (() => { }), value: value, "data-qa": name, disabled: disabled ?? false, maxLength: maxLength, onBlur: onBlur ?? (() => { }), ref: ref, onKeyDown: handleKeyDown, onKeyUp: handleKeyUp, country: country, currrencySymbol: currrencySymbol }));
29
+ return (_jsx(Input, { name: name ?? '', type: type, prefix: prefix, placeholder: placeholder ?? '', className: 'e-text-input', onChange: handleChange, onClick: onClick ?? (() => { }), value: value, "data-qa": name, disabled: disabled ?? false, maxLength: maxLength, onBlur: onBlur ?? (() => { }), ref: ref, onKeyDown: handleKeyDown, onKeyUp: handleKeyUp, country: country }));
30
30
  };
31
31
  return (_jsxs("div", { className: classnames, children: [Boolean(children) && _jsx("div", { className: 'e-text__children', children: children }), _jsx(TextInputTooltip, { tooltip: tooltip }), _jsx(TextInputMessage, { errorMessage: errorMessage, validate: validate }), renderInput(), _jsx(TextInputLabel, { label: label, htmlFor: name, notes: notes, dialogMenuTip: dialogMenuTip })] }));
32
32
  });
@@ -161,10 +161,6 @@
161
161
  width: 50%;
162
162
  }
163
163
 
164
- .tooltip-form {
165
- grid-row: 3;
166
- }
167
-
168
164
  .has-currency-prefix {
169
165
  padding-left: 2rem;
170
166
  grid-column: 1;
@@ -33,8 +33,7 @@ const TextInput = React.forwardRef<HTMLInputElement, TextInputProps>(
33
33
  tooltip = '',
34
34
  givenClass = '',
35
35
  children,
36
- country,
37
- currrencySymbol
36
+ country
38
37
  }: TextInputProps,
39
38
  ref
40
39
  ) => {
@@ -94,7 +93,6 @@ const TextInput = React.forwardRef<HTMLInputElement, TextInputProps>(
94
93
  onKeyDown={handleKeyDown}
95
94
  onKeyUp={handleKeyUp}
96
95
  country={country}
97
- currrencySymbol={currrencySymbol}
98
96
  />
99
97
  )
100
98
  }
@@ -23,5 +23,4 @@ export interface TextInputProps {
23
23
  prefix?: string;
24
24
  children?: React.ReactNode;
25
25
  country: string;
26
- currrencySymbol?: string;
27
26
  }
@@ -24,5 +24,4 @@ export interface TextInputProps {
24
24
  prefix?: string
25
25
  children?: React.ReactNode
26
26
  country: string
27
- currrencySymbol?: string
28
27
  }
@@ -7,7 +7,9 @@ const TryOurFreeLegalBlogsContent = ({ title, image, children, type = TryOurFree
7
7
  const classTry = classNames({
8
8
  'try-our-free-legal-blogs-section-content': true,
9
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
10
+ 'try-our-free-legal-blogs-section-content--our-mission-first-image': TryOurFreeLegalBlogsContentType.ourMissionFirstImage === type,
11
+ 'try-our-free-legal-blogs-section-content--how-it-works': TryOurFreeLegalBlogsContentType.howItWorks === type,
12
+ 'try-our-free-legal-blogs-section-content--how-it-works-first-image': TryOurFreeLegalBlogsContentType.howItWorksFirstImage === type
11
13
  });
12
14
  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 })] }));
13
15
  };
@@ -7,7 +7,8 @@ export const TryOurFreeLegalBlogsContentStyled = styled.div `
7
7
  flex-direction: row;
8
8
  }
9
9
 
10
- &.try-our-free-legal-blogs-section-content--our-mission {
10
+ &.try-our-free-legal-blogs-section-content--our-mission,
11
+ &.try-our-free-legal-blogs-section-content--how-it-works {
11
12
  margin-top: 1.5rem;
12
13
  margin-bottom: 1.5rem;
13
14
  align-items: center;
@@ -30,7 +31,8 @@ export const TryOurFreeLegalBlogsContentStyled = styled.div `
30
31
  }
31
32
  }
32
33
 
33
- &.try-our-free-legal-blogs-section-content--our-mission-first-image {
34
+ &.try-our-free-legal-blogs-section-content--our-mission-first-image,
35
+ &.try-our-free-legal-blogs-section-content--how-it-works-first-image {
34
36
  margin-top: 1.5rem;
35
37
  margin-bottom: 1.5rem;
36
38
  align-items: center;
@@ -8,7 +8,8 @@ export const TryOurFreeLegalBlogsContentStyled = styled.div`
8
8
  flex-direction: row;
9
9
  }
10
10
 
11
- &.try-our-free-legal-blogs-section-content--our-mission {
11
+ &.try-our-free-legal-blogs-section-content--our-mission,
12
+ &.try-our-free-legal-blogs-section-content--how-it-works {
12
13
  margin-top: 1.5rem;
13
14
  margin-bottom: 1.5rem;
14
15
  align-items: center;
@@ -31,7 +32,8 @@ export const TryOurFreeLegalBlogsContentStyled = styled.div`
31
32
  }
32
33
  }
33
34
 
34
- &.try-our-free-legal-blogs-section-content--our-mission-first-image {
35
+ &.try-our-free-legal-blogs-section-content--our-mission-first-image,
36
+ &.try-our-free-legal-blogs-section-content--how-it-works-first-image {
35
37
  margin-top: 1.5rem;
36
38
  margin-bottom: 1.5rem;
37
39
  align-items: center;
@@ -18,7 +18,10 @@ const TryOurFreeLegalBlogsContent: FC<TryOurFreeLegalBlogsContentProps> = ({
18
18
  'try-our-free-legal-blogs-section-content': true,
19
19
  'try-our-free-legal-blogs-section-content--our-mission': TryOurFreeLegalBlogsContentType.ourMission === type,
20
20
  'try-our-free-legal-blogs-section-content--our-mission-first-image':
21
- TryOurFreeLegalBlogsContentType.ourMissionFirstImage === type
21
+ TryOurFreeLegalBlogsContentType.ourMissionFirstImage === type,
22
+ 'try-our-free-legal-blogs-section-content--how-it-works': TryOurFreeLegalBlogsContentType.howItWorks === type,
23
+ 'try-our-free-legal-blogs-section-content--how-it-works-first-image':
24
+ TryOurFreeLegalBlogsContentType.howItWorksFirstImage === type
22
25
  })
23
26
  return (
24
27
  <TryOurFreeLegalBlogsContentStyled className={classTry}>
@@ -1,7 +1,9 @@
1
1
  export declare enum TryOurFreeLegalBlogsContentType {
2
2
  default = "Default",
3
3
  ourMission = "Our Mission",
4
- ourMissionFirstImage = "Our Mission First Image"
4
+ ourMissionFirstImage = "Our Mission First Image",
5
+ howItWorks = "How It Works",
6
+ howItWorksFirstImage = "How It Works First Image"
5
7
  }
6
8
  export interface TryOurFreeLegalBlogsContentProps {
7
9
  title: string;
@@ -3,4 +3,6 @@ export var TryOurFreeLegalBlogsContentType;
3
3
  TryOurFreeLegalBlogsContentType["default"] = "Default";
4
4
  TryOurFreeLegalBlogsContentType["ourMission"] = "Our Mission";
5
5
  TryOurFreeLegalBlogsContentType["ourMissionFirstImage"] = "Our Mission First Image";
6
+ TryOurFreeLegalBlogsContentType["howItWorks"] = "How It Works";
7
+ TryOurFreeLegalBlogsContentType["howItWorksFirstImage"] = "How It Works First Image";
6
8
  })(TryOurFreeLegalBlogsContentType || (TryOurFreeLegalBlogsContentType = {}));
@@ -1,7 +1,9 @@
1
1
  export enum TryOurFreeLegalBlogsContentType {
2
2
  default = 'Default',
3
3
  ourMission = 'Our Mission',
4
- ourMissionFirstImage = 'Our Mission First Image'
4
+ ourMissionFirstImage = 'Our Mission First Image',
5
+ howItWorks = 'How It Works',
6
+ howItWorksFirstImage = 'How It Works First Image'
5
7
  }
6
8
 
7
9
  export interface TryOurFreeLegalBlogsContentProps {
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { type HowItWorksPageProps } from './HowItWorksPageProps';
3
+ export declare const HowItWorksPage: React.FC<HowItWorksPageProps>;
@@ -0,0 +1,5 @@
1
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { HeroSection, LawGeniusCardsSection, TryNowSection, TryOurFreeLegalBlogsSection } from '../../sections';
3
+ export const HowItWorksPage = ({ aboutUsSectionProps, howItWorksStep1Props, howItWorksStep2Props, howItWorksStep3Props, howItWorksStep4Props, lawGeniusCardsSectionProps, tryNowSectionProps }) => {
4
+ return (_jsxs(_Fragment, { children: [aboutUsSectionProps != null && _jsx(HeroSection, { ...aboutUsSectionProps }), howItWorksStep1Props != null && _jsx(TryOurFreeLegalBlogsSection, { ...howItWorksStep1Props }), howItWorksStep2Props != null && _jsx(TryOurFreeLegalBlogsSection, { ...howItWorksStep2Props }), howItWorksStep3Props != null && _jsx(TryOurFreeLegalBlogsSection, { ...howItWorksStep3Props }), howItWorksStep4Props != null && _jsx(TryOurFreeLegalBlogsSection, { ...howItWorksStep4Props }), lawGeniusCardsSectionProps != null && _jsx(LawGeniusCardsSection, { ...lawGeniusCardsSectionProps }), tryNowSectionProps != null && _jsx(TryNowSection, { ...tryNowSectionProps })] }));
5
+ };
@@ -0,0 +1,26 @@
1
+ import React from 'react'
2
+
3
+ import { HeroSection, LawGeniusCardsSection, TryNowSection, TryOurFreeLegalBlogsSection } from '../../sections'
4
+ import { type HowItWorksPageProps } from './HowItWorksPageProps'
5
+
6
+ export const HowItWorksPage: React.FC<HowItWorksPageProps> = ({
7
+ aboutUsSectionProps,
8
+ howItWorksStep1Props,
9
+ howItWorksStep2Props,
10
+ howItWorksStep3Props,
11
+ howItWorksStep4Props,
12
+ lawGeniusCardsSectionProps,
13
+ tryNowSectionProps
14
+ }) => {
15
+ return (
16
+ <>
17
+ {aboutUsSectionProps != null && <HeroSection {...aboutUsSectionProps} />}
18
+ {howItWorksStep1Props != null && <TryOurFreeLegalBlogsSection {...howItWorksStep1Props} />}
19
+ {howItWorksStep2Props != null && <TryOurFreeLegalBlogsSection {...howItWorksStep2Props} />}
20
+ {howItWorksStep3Props != null && <TryOurFreeLegalBlogsSection {...howItWorksStep3Props} />}
21
+ {howItWorksStep4Props != null && <TryOurFreeLegalBlogsSection {...howItWorksStep4Props} />}
22
+ {lawGeniusCardsSectionProps != null && <LawGeniusCardsSection {...lawGeniusCardsSectionProps} />}
23
+ {tryNowSectionProps != null && <TryNowSection {...tryNowSectionProps} />}
24
+ </>
25
+ )
26
+ }
@@ -0,0 +1,10 @@
1
+ import type { HeroSectionProps, LawGeniusCardsSectionProps, TryNowSectionProps, TryOurFreeLegalBlogsSectionProps } from '../../sections';
2
+ export interface HowItWorksPageProps {
3
+ aboutUsSectionProps?: HeroSectionProps;
4
+ howItWorksStep1Props?: TryOurFreeLegalBlogsSectionProps;
5
+ howItWorksStep2Props?: TryOurFreeLegalBlogsSectionProps;
6
+ howItWorksStep3Props?: TryOurFreeLegalBlogsSectionProps;
7
+ howItWorksStep4Props?: TryOurFreeLegalBlogsSectionProps;
8
+ lawGeniusCardsSectionProps?: LawGeniusCardsSectionProps;
9
+ tryNowSectionProps?: TryNowSectionProps;
10
+ }
@@ -0,0 +1,16 @@
1
+ import type {
2
+ HeroSectionProps,
3
+ LawGeniusCardsSectionProps,
4
+ TryNowSectionProps,
5
+ TryOurFreeLegalBlogsSectionProps
6
+ } from '../../sections'
7
+
8
+ export interface HowItWorksPageProps {
9
+ aboutUsSectionProps?: HeroSectionProps
10
+ howItWorksStep1Props?: TryOurFreeLegalBlogsSectionProps
11
+ howItWorksStep2Props?: TryOurFreeLegalBlogsSectionProps
12
+ howItWorksStep3Props?: TryOurFreeLegalBlogsSectionProps
13
+ howItWorksStep4Props?: TryOurFreeLegalBlogsSectionProps
14
+ lawGeniusCardsSectionProps?: LawGeniusCardsSectionProps
15
+ tryNowSectionProps?: TryNowSectionProps
16
+ }
@@ -0,0 +1,2 @@
1
+ export * from './HowItWorksPage';
2
+ export * from './HowItWorksPageProps';
@@ -0,0 +1,2 @@
1
+ export * from './HowItWorksPage';
2
+ export * from './HowItWorksPageProps';
@@ -0,0 +1,2 @@
1
+ export * from './HowItWorksPage'
2
+ export * from './HowItWorksPageProps'
@@ -0,0 +1,4 @@
1
+ import { type FC } from 'react';
2
+ import { type LawGeniusCardsSectionProps } from './LawGeniusCardsSectionProps.types';
3
+ declare const LawGeniusCardsSection: FC<LawGeniusCardsSectionProps>;
4
+ export default LawGeniusCardsSection;
@@ -0,0 +1,12 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
+ import { Button } from '../../atoms';
3
+ import { LawGeniusCardsSectionStyled } from './LawGeniusCardsSection.styled';
4
+ import { LawGeniusInfoCard } from '../../molecules/LawGeniusInfoCard';
5
+ import { useIsMobileOrTable } from '../../../hooks';
6
+ const LawGeniusCardsSection = ({ title, contentTop, contentBottom, card1, card2, card3, ctaLabel, ctaLink = '#', handleOnClick, ctaDataQa = 'ai-section-cta', image }) => {
7
+ const { isMobile } = useIsMobileOrTable();
8
+ if (contentTop == undefined)
9
+ return null;
10
+ return (_jsx(LawGeniusCardsSectionStyled, { className: 'layout-ratafia-section', children: _jsxs("div", { className: 'layout-ratafia-section__wrapper background-ratafia-animation', children: [_jsxs("div", { className: 'layout-ratafia-section__topContent', children: [title && (_jsx("h2", { className: 'layout-ratafia-section__wrapper__info__paragraph__title sans-serif --super-large --bold-weight', children: title })), _jsx("div", { className: 'layout-ratafia-section__wrapper__info__paragraph__content sans-serif --super-medium', children: contentTop })] }), _jsxs("div", { className: 'layout-ratafia-section__wrapperContent', children: [_jsxs("div", { className: 'layout-ratafia-section__wrapper__info', children: [_jsxs("div", { className: 'layout-ratafia-section__wrapper__info cards', children: [_jsx(LawGeniusInfoCard, { title: card1?.title ?? '', text: card1?.text ?? '', icon: card1?.icon }), _jsx(LawGeniusInfoCard, { title: card2?.title ?? '', text: card2?.text ?? '', icon: card2?.icon }), _jsx(LawGeniusInfoCard, { title: card3?.title ?? '', text: card3?.text ?? '', icon: card3?.icon })] }), _jsx("div", { className: 'layout-ratafia-section__wrapper__info__paragraph__content sans-serif --super-medium bottomContent', children: contentBottom }), ctaLabel && (_jsx("div", { className: 'layout-ratafia-section__wrapper__info__button', children: _jsx(Button, { givenClass: 'mid-banner-ratafia-content__cta', dataQa: ctaDataQa, link: ctaLink, onClick: handleOnClick, color: 'primary', label: ctaLabel, fluid: isMobile }) }))] }), image !== null && _jsx("div", { className: 'layout-ratafia-section__wrapper__image', children: image })] })] }) }));
11
+ };
12
+ export default LawGeniusCardsSection;
@@ -0,0 +1 @@
1
+ export declare const LawGeniusCardsSectionStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLElement>, HTMLElement>, never>> & string;