@npm_leadtech/legal-lib-components 5.50.0 → 5.52.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.
@@ -6,7 +6,7 @@ export const TagRatafiaItemStyled = styled.div `
6
6
  width: max-content;
7
7
  justify-content: center;
8
8
  align-items: center;
9
- gap: 0.25rem
9
+ gap: 0.25rem;
10
10
  padding: 0.25rem 0.5rem;
11
11
 
12
12
  &.tag-esignature-item {
@@ -7,7 +7,7 @@ export const TagRatafiaItemStyled = styled.div`
7
7
  width: max-content;
8
8
  justify-content: center;
9
9
  align-items: center;
10
- gap: 0.25rem
10
+ gap: 0.25rem;
11
11
  padding: 0.25rem 0.5rem;
12
12
 
13
13
  &.tag-esignature-item {
@@ -1,5 +1,5 @@
1
1
  import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
2
- import { BenefitsRatafiaSection, FaqSection, JumbotronRatafiaSection, MidBannerRatafiaSection, StepsRatafiaSection } from '../../sections';
3
- export const EsignatureLandingPage = ({ jumbotronSectionProps, stepsSectionProps, benefitsSectionProps, trustPilotBox, midBannerRatafiaSectionProps, faqGroupProps }) => {
4
- return (_jsxs(_Fragment, { children: [_jsx(JumbotronRatafiaSection, { content: jumbotronSectionProps.content, alternativeStyles: jumbotronSectionProps.alternativeStyles, children: jumbotronSectionProps.children }), _jsx(StepsRatafiaSection, { ...stepsSectionProps }), _jsx(BenefitsRatafiaSection, { ...benefitsSectionProps }), trustPilotBox ?? trustPilotBox, _jsx(MidBannerRatafiaSection, { ...midBannerRatafiaSectionProps }), _jsx(FaqSection, { groups: faqGroupProps, givenClass: 'faq-ratafia-section' })] }));
2
+ import { BenefitsRatafiaSection, FaqSection, FeaturesRatafiaSection, JumbotronRatafiaSection, MidBannerRatafiaSection, StepsRatafiaSection } from '../../sections';
3
+ export const EsignatureLandingPage = ({ jumbotronSectionProps, stepsSectionProps, benefitsSectionProps, featuresRatafiaSectionProps, trustPilotBox, midBannerRatafiaSectionProps, faqGroupProps }) => {
4
+ return (_jsxs(_Fragment, { children: [_jsx(JumbotronRatafiaSection, { content: jumbotronSectionProps.content, alternativeStyles: jumbotronSectionProps.alternativeStyles, children: jumbotronSectionProps.children }), _jsx(StepsRatafiaSection, { ...stepsSectionProps }), _jsx(BenefitsRatafiaSection, { ...benefitsSectionProps }), _jsx(FeaturesRatafiaSection, { content: featuresRatafiaSectionProps.content, children: featuresRatafiaSectionProps.children }), trustPilotBox ?? trustPilotBox, _jsx(MidBannerRatafiaSection, { ...midBannerRatafiaSectionProps }), _jsx(FaqSection, { groups: faqGroupProps, givenClass: 'faq-ratafia-section' })] }));
5
5
  };
@@ -3,6 +3,7 @@ import React from 'react'
3
3
  import {
4
4
  BenefitsRatafiaSection,
5
5
  FaqSection,
6
+ FeaturesRatafiaSection,
6
7
  JumbotronRatafiaSection,
7
8
  MidBannerRatafiaSection,
8
9
  StepsRatafiaSection
@@ -13,6 +14,7 @@ export const EsignatureLandingPage: React.FC<EsignatureLandingPageProps> = ({
13
14
  jumbotronSectionProps,
14
15
  stepsSectionProps,
15
16
  benefitsSectionProps,
17
+ featuresRatafiaSectionProps,
16
18
  trustPilotBox,
17
19
  midBannerRatafiaSectionProps,
18
20
  faqGroupProps
@@ -27,6 +29,9 @@ export const EsignatureLandingPage: React.FC<EsignatureLandingPageProps> = ({
27
29
  </JumbotronRatafiaSection>
28
30
  <StepsRatafiaSection {...stepsSectionProps} />
29
31
  <BenefitsRatafiaSection {...benefitsSectionProps} />
32
+ <FeaturesRatafiaSection content={featuresRatafiaSectionProps.content}>
33
+ {featuresRatafiaSectionProps.children}
34
+ </FeaturesRatafiaSection>
30
35
  {trustPilotBox ?? trustPilotBox}
31
36
  <MidBannerRatafiaSection {...midBannerRatafiaSectionProps} />
32
37
  <FaqSection groups={faqGroupProps} givenClass='faq-ratafia-section' />
@@ -1,9 +1,10 @@
1
- import { BenefitsRatafiaSectionProps, JumbotronRatafiaSectionProps, MidBannerRatafiaSectionProps, StepsRatafiaSectionProps } from '../../sections';
1
+ import { BenefitsRatafiaSectionProps, FeaturesRatafiaSectionProps, JumbotronRatafiaSectionProps, MidBannerRatafiaSectionProps, StepsRatafiaSectionProps } from '../../sections';
2
2
  import type { FaqGroupProps } from '../../organisms';
3
3
  export interface EsignatureLandingPageProps {
4
4
  jumbotronSectionProps: JumbotronRatafiaSectionProps;
5
5
  stepsSectionProps: StepsRatafiaSectionProps;
6
6
  benefitsSectionProps: BenefitsRatafiaSectionProps;
7
+ featuresRatafiaSectionProps: FeaturesRatafiaSectionProps;
7
8
  trustPilotBox?: React.ReactNode;
8
9
  midBannerRatafiaSectionProps: MidBannerRatafiaSectionProps;
9
10
  faqGroupProps: FaqGroupProps[];
@@ -1,5 +1,6 @@
1
1
  import {
2
2
  BenefitsRatafiaSectionProps,
3
+ FeaturesRatafiaSectionProps,
3
4
  JumbotronRatafiaSectionProps,
4
5
  MidBannerRatafiaSectionProps,
5
6
  StepsRatafiaSectionProps
@@ -10,6 +11,7 @@ export interface EsignatureLandingPageProps {
10
11
  jumbotronSectionProps: JumbotronRatafiaSectionProps
11
12
  stepsSectionProps: StepsRatafiaSectionProps
12
13
  benefitsSectionProps: BenefitsRatafiaSectionProps
14
+ featuresRatafiaSectionProps: FeaturesRatafiaSectionProps
13
15
  trustPilotBox?: React.ReactNode
14
16
  midBannerRatafiaSectionProps: MidBannerRatafiaSectionProps
15
17
  faqGroupProps: FaqGroupProps[]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npm_leadtech/legal-lib-components",
3
- "version": "5.50.0",
3
+ "version": "5.52.1",
4
4
  "license": "ISC",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -16,7 +16,7 @@
16
16
  "upgrade-major": "yarn prepare-upgrade && npm version major -m \"Update major version number\" && git push && git push --tags",
17
17
  "storybook": "storybook dev -p 6006",
18
18
  "format": "prettier --write \"**/*.{js,jsx,json,md,ts,tsx,scss}\"",
19
- "jest": "jest --maxWorkers=2",
19
+ "jest": "jest --maxWorkers=4",
20
20
  "test": "jest --coverage",
21
21
  "prepare": "husky",
22
22
  "eslint": "eslint \"src/**/*.{js,jsx,ts,tsx}\"",
@@ -264,7 +264,6 @@
264
264
  "./LegalPage": "./dist/src/components/pages/LegalPage/index.js",
265
265
  "./LimitReachedRatafiaPage": "./dist/src/components/pages/LimitReachedRatafiaPage/index.js",
266
266
  "./LoginRatafiaPage": "./dist/src/components/pages/LoginRatafiaPage/index.js",
267
- "./PricingRatafiaPage": "./dist/src/components/pages/PricingRatafiaPage/index.js",
268
267
  "./RatafiaLandingPage": "./dist/src/components/pages/RatafiaLandingPage/index.js",
269
268
  "./RatafiaPricingPage": "./dist/src/components/pages/RatafiaPricingPage/index.js",
270
269
  "./EsignatureLandingPage": "./dist/src/components/pages/EsignatureLandingPage/index.js",