@npm_leadtech/legal-lib-components 7.4.4 → 7.5.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.
- package/dist/src/components/atoms/BenefitCard/BenefitCard.d.ts +3 -0
- package/dist/src/components/atoms/BenefitCard/BenefitCard.js +5 -0
- package/dist/src/components/atoms/BenefitCard/BenefitCard.tsx +24 -0
- package/dist/src/components/atoms/{BenefitRatafiaCard/BenefitRatafiaCardProps.types.d.ts → BenefitCard/BenefitCardProps.types.d.ts} +3 -1
- package/dist/src/components/atoms/BenefitCard/BenefitCardProps.types.ts +8 -0
- package/dist/src/components/atoms/BenefitCard/BenefitCardStyled.styled.d.ts +1 -0
- package/dist/src/components/atoms/{BenefitRatafiaCard/BenefitRatafiaCard.styled.js → BenefitCard/BenefitCardStyled.styled.js} +10 -4
- package/dist/src/components/atoms/{BenefitRatafiaCard/BenefitRatafiaCard.styled.ts → BenefitCard/BenefitCardStyled.styled.ts} +10 -4
- package/dist/src/components/atoms/BenefitCard/index.d.ts +2 -0
- package/dist/src/components/atoms/BenefitCard/index.js +1 -0
- package/dist/src/components/atoms/BenefitCard/index.ts +2 -0
- package/dist/src/components/atoms/Button/ButtonProps.types.d.ts +2 -1
- package/dist/src/components/atoms/Button/ButtonProps.types.js +1 -0
- package/dist/src/components/atoms/Button/ButtonProps.types.ts +18 -16
- package/dist/src/components/atoms/CardBox/CardBox.d.ts +3 -0
- package/dist/src/components/atoms/CardBox/CardBox.js +7 -0
- package/dist/src/components/atoms/CardBox/CardBox.styled.d.ts +1 -0
- package/dist/src/components/atoms/CardBox/CardBox.styled.js +22 -0
- package/dist/src/components/atoms/CardBox/CardBox.styled.ts +23 -0
- package/dist/src/components/atoms/CardBox/CardBox.tsx +23 -0
- package/dist/src/components/atoms/CardBox/CardBoxProps.types.d.ts +10 -0
- package/dist/src/components/atoms/CardBox/CardBoxProps.types.ts +10 -0
- package/dist/src/components/atoms/CardBox/index.d.ts +2 -0
- package/dist/src/components/atoms/CardBox/index.js +1 -0
- package/dist/src/components/atoms/CardBox/index.ts +2 -0
- package/dist/src/components/atoms/index.d.ts +2 -1
- package/dist/src/components/atoms/index.js +2 -1
- package/dist/src/components/atoms/index.ts +2 -1
- package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.js +2 -2
- package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardList.tsx +2 -2
- package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardListProps.types.d.ts +2 -2
- package/dist/src/components/molecules/BenefitRatafiaCardList/BenefitRatafiaCardListProps.types.ts +2 -2
- package/dist/src/components/molecules/SubscriptionCard/CardBody.d.ts +6 -0
- package/dist/src/components/molecules/SubscriptionCard/CardBody.js +6 -0
- package/dist/src/components/molecules/SubscriptionCard/CardBody.tsx +29 -0
- package/dist/src/components/molecules/SubscriptionCard/CardFooter.d.ts +8 -0
- package/dist/src/components/molecules/SubscriptionCard/CardFooter.js +3 -0
- package/dist/src/components/molecules/SubscriptionCard/CardFooter.tsx +23 -0
- package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingCardHeader.d.ts +6 -0
- package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingCardHeader.js +3 -0
- package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingCardHeader.styled.d.ts +1 -0
- package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingCardHeader.styled.js +30 -0
- package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingCardHeader.styled.ts +31 -0
- package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingCardHeader.tsx +14 -0
- package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCard.d.ts +4 -0
- package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCard.js +15 -0
- package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCard.tsx +38 -0
- package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCardProps.types.d.ts +20 -0
- package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCardProps.types.ts +22 -0
- package/dist/src/components/{atoms/BenefitRatafiaCard/BenefitRatafiaCard.styled.d.ts → molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingText.styled.d.ts} +1 -1
- package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingText.styled.js +10 -0
- package/dist/src/components/molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingText.styled.ts +11 -0
- package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaCardHeader.d.ts +8 -0
- package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaCardHeader.js +4 -0
- package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaCardHeader.styled.d.ts +1 -0
- package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaCardHeader.styled.js +29 -0
- package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaCardHeader.styled.ts +30 -0
- package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaCardHeader.tsx +20 -0
- package/dist/src/components/molecules/{RatafiaSubscriptionCard → SubscriptionCard/RatafiaSubscriptionCard}/RatafiaSubscriptionCard.d.ts +2 -2
- package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaSubscriptionCard.js +14 -0
- package/dist/src/components/molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaSubscriptionCard.tsx +34 -0
- package/dist/src/components/molecules/{RatafiaSubscriptionCard → SubscriptionCard/RatafiaSubscriptionCard}/RatafiaSubscriptionCardProps.types.d.ts +3 -3
- package/dist/src/components/molecules/{RatafiaSubscriptionCard → SubscriptionCard/RatafiaSubscriptionCard}/RatafiaSubscriptionCardProps.types.ts +3 -3
- package/dist/src/components/molecules/SubscriptionCard/SubscriptionCard.styled.d.ts +1 -0
- package/dist/src/components/molecules/{RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.js → SubscriptionCard/SubscriptionCard.styled.js} +14 -32
- package/dist/src/components/molecules/{RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.ts → SubscriptionCard/SubscriptionCard.styled.ts} +14 -32
- package/dist/src/components/molecules/SubscriptionCard/index.d.ts +4 -0
- package/dist/src/components/molecules/SubscriptionCard/index.js +2 -0
- package/dist/src/components/molecules/SubscriptionCard/index.ts +4 -0
- package/dist/src/components/molecules/index.d.ts +1 -1
- package/dist/src/components/molecules/index.js +1 -1
- package/dist/src/components/molecules/index.ts +1 -1
- package/dist/src/components/organisms/HeroContent/HeroContent.d.ts +4 -0
- package/dist/src/components/organisms/HeroContent/HeroContent.js +7 -0
- package/dist/src/components/organisms/HeroContent/HeroContent.styled.d.ts +1 -0
- package/dist/src/components/organisms/{AboutUsContent/AboutUsContent.styled.js → HeroContent/HeroContent.styled.js} +3 -3
- package/dist/src/components/organisms/{AboutUsContent/AboutUsContent.styled.ts → HeroContent/HeroContent.styled.ts} +3 -3
- package/dist/src/components/organisms/HeroContent/HeroContent.tsx +23 -0
- package/dist/src/components/organisms/{AboutUsContent/AboutUsContentProps.types.d.ts → HeroContent/HeroContentPropsProps.types.d.ts} +1 -1
- package/dist/src/components/organisms/HeroContent/HeroContentPropsProps.types.js +1 -0
- package/dist/src/components/organisms/{AboutUsContent/AboutUsContentProps.types.ts → HeroContent/HeroContentPropsProps.types.ts} +1 -1
- package/dist/src/components/organisms/HeroContent/index.d.ts +2 -0
- package/dist/src/components/organisms/HeroContent/index.js +1 -0
- package/dist/src/components/organisms/HeroContent/index.ts +2 -0
- package/dist/src/components/organisms/index.d.ts +1 -1
- package/dist/src/components/organisms/index.js +1 -1
- package/dist/src/components/organisms/index.ts +1 -1
- package/dist/src/components/pages/AboutUsPage/AboutUsPage.js +2 -2
- package/dist/src/components/pages/AboutUsPage/AboutUsPage.tsx +2 -2
- package/dist/src/components/pages/AboutUsPage/AboutUsPageProps.d.ts +2 -2
- package/dist/src/components/pages/AboutUsPage/AboutUsPageProps.ts +2 -2
- package/dist/src/components/pages/PricingPage/PricingPage.d.ts +3 -0
- package/dist/src/components/pages/PricingPage/PricingPage.js +10 -0
- package/dist/src/components/pages/PricingPage/PricingPage.styled.d.ts +1 -0
- package/dist/src/components/pages/PricingPage/PricingPage.styled.js +115 -0
- package/dist/src/components/pages/PricingPage/PricingPage.styled.ts +116 -0
- package/dist/src/components/pages/PricingPage/PricingPage.tsx +53 -0
- package/dist/src/components/pages/PricingPage/PricingPageProps.d.ts +28 -0
- package/dist/src/components/pages/PricingPage/PricingPageProps.js +1 -0
- package/dist/src/components/pages/PricingPage/PricingPageProps.ts +33 -0
- package/dist/src/components/pages/PricingPage/index.d.ts +2 -0
- package/dist/src/components/pages/PricingPage/index.js +2 -0
- package/dist/src/components/pages/PricingPage/index.ts +2 -0
- package/dist/src/components/pages/index.d.ts +1 -0
- package/dist/src/components/pages/index.js +1 -0
- package/dist/src/components/pages/index.ts +1 -0
- package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSectionProps.types.d.ts +2 -2
- package/dist/src/components/sections/BenefitsRatafiaSection/BenefitsRatafiaSectionProps.types.ts +2 -2
- package/dist/src/components/sections/CardBoxSection/CardBoxSection.d.ts +4 -0
- package/dist/src/components/sections/CardBoxSection/CardBoxSection.js +9 -0
- package/dist/src/components/sections/CardBoxSection/CardBoxSection.styled.d.ts +2 -0
- package/dist/src/components/sections/CardBoxSection/CardBoxSection.styled.js +33 -0
- package/dist/src/components/sections/CardBoxSection/CardBoxSection.styled.ts +35 -0
- package/dist/src/components/sections/CardBoxSection/CardBoxSection.tsx +23 -0
- package/dist/src/components/sections/CardBoxSection/CardBoxSectionProps.d.ts +4 -0
- package/dist/src/components/sections/CardBoxSection/CardBoxSectionProps.js +1 -0
- package/dist/src/components/sections/CardBoxSection/CardBoxSectionProps.ts +5 -0
- package/dist/src/components/sections/CardBoxSection/index.d.ts +2 -0
- package/dist/src/components/sections/CardBoxSection/index.js +1 -0
- package/dist/src/components/sections/CardBoxSection/index.ts +2 -0
- package/dist/src/components/sections/FaqSection/FaqSection.js +1 -1
- package/dist/src/components/sections/FaqSection/FaqSection.tsx +1 -3
- package/dist/src/components/sections/HeroSection/HeroSection.d.ts +4 -0
- package/dist/src/components/sections/HeroSection/HeroSection.js +7 -0
- package/dist/src/components/sections/HeroSection/HeroSection.tsx +24 -0
- package/dist/src/components/sections/HeroSection/HeroSectionProps.types.d.ts +6 -0
- package/dist/src/components/sections/HeroSection/HeroSectionProps.types.js +1 -0
- package/dist/src/components/sections/HeroSection/HeroSectionProps.types.ts +7 -0
- package/dist/src/components/sections/HeroSection/HeroSectionStyled.styled.d.ts +1 -0
- package/dist/src/components/sections/{AboutUsSection/AboutUsSection.styled.js → HeroSection/HeroSectionStyled.styled.js} +2 -2
- package/dist/src/components/sections/{AboutUsSection/AboutUsSection.styled.ts → HeroSection/HeroSectionStyled.styled.ts} +2 -2
- package/dist/src/components/sections/HeroSection/index.d.ts +2 -0
- package/dist/src/components/sections/HeroSection/index.js +1 -0
- package/dist/src/components/sections/HeroSection/index.ts +2 -0
- package/dist/src/components/sections/index.d.ts +2 -1
- package/dist/src/components/sections/index.js +2 -1
- package/dist/src/components/sections/index.ts +2 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +8 -5
- package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.d.ts +0 -4
- package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.js +0 -6
- package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCard.tsx +0 -18
- package/dist/src/components/atoms/BenefitRatafiaCard/BenefitRatafiaCardProps.types.ts +0 -6
- package/dist/src/components/atoms/BenefitRatafiaCard/index.d.ts +0 -2
- package/dist/src/components/atoms/BenefitRatafiaCard/index.js +0 -1
- package/dist/src/components/atoms/BenefitRatafiaCard/index.ts +0 -2
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.js +0 -12
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.d.ts +0 -1
- package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.tsx +0 -61
- package/dist/src/components/molecules/RatafiaSubscriptionCard/index.d.ts +0 -2
- package/dist/src/components/molecules/RatafiaSubscriptionCard/index.js +0 -1
- package/dist/src/components/molecules/RatafiaSubscriptionCard/index.ts +0 -2
- package/dist/src/components/organisms/AboutUsContent/AboutUsContent.d.ts +0 -4
- package/dist/src/components/organisms/AboutUsContent/AboutUsContent.js +0 -7
- package/dist/src/components/organisms/AboutUsContent/AboutUsContent.styled.d.ts +0 -1
- package/dist/src/components/organisms/AboutUsContent/AboutUsContent.tsx +0 -23
- package/dist/src/components/organisms/AboutUsContent/index.d.ts +0 -2
- package/dist/src/components/organisms/AboutUsContent/index.js +0 -1
- package/dist/src/components/organisms/AboutUsContent/index.ts +0 -2
- package/dist/src/components/sections/AboutUsSection/AboutUsSection.d.ts +0 -4
- package/dist/src/components/sections/AboutUsSection/AboutUsSection.js +0 -7
- package/dist/src/components/sections/AboutUsSection/AboutUsSection.styled.d.ts +0 -1
- package/dist/src/components/sections/AboutUsSection/AboutUsSection.tsx +0 -24
- package/dist/src/components/sections/AboutUsSection/AboutUsSectionProps.types.d.ts +0 -6
- package/dist/src/components/sections/AboutUsSection/AboutUsSectionProps.types.ts +0 -7
- package/dist/src/components/sections/AboutUsSection/index.d.ts +0 -2
- package/dist/src/components/sections/AboutUsSection/index.js +0 -1
- package/dist/src/components/sections/AboutUsSection/index.ts +0 -2
- /package/dist/src/components/atoms/{BenefitRatafiaCard/BenefitRatafiaCardProps.types.js → BenefitCard/BenefitCardProps.types.js} +0 -0
- /package/dist/src/components/{molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCardProps.types.js → atoms/CardBox/CardBoxProps.types.js} +0 -0
- /package/dist/src/components/{organisms/AboutUsContent/AboutUsContentProps.types.js → molecules/SubscriptionCard/PlanBoxPricingSubscriptionCard/PlanBoxPricingSubscriptionCardProps.types.js} +0 -0
- /package/dist/src/components/{sections/AboutUsSection/AboutUsSectionProps.types.js → molecules/SubscriptionCard/RatafiaSubscriptionCard/RatafiaSubscriptionCardProps.types.js} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@npm_leadtech/legal-lib-components",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.5.1",
|
|
4
4
|
"license": "ISC",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -126,12 +126,13 @@
|
|
|
126
126
|
"./ActionButtonHeaderRatafiaCard": "./dist/src/components/atoms/ActionButtonHeaderRatafiaCard/index.js",
|
|
127
127
|
"./AddButton": "./dist/src/components/atoms/AddButton/index.js",
|
|
128
128
|
"./BaseBox": "./dist/src/components/atoms/BaseBox/index.js",
|
|
129
|
-
"./
|
|
129
|
+
"./BenefitCard": "./dist/src/components/atoms/BenefitCard/index.js",
|
|
130
130
|
"./BillCard": "./dist/src/components/atoms/BillCard/index.js",
|
|
131
131
|
"./BottomOverlayMenu": "./dist/src/components/atoms/BottomOverlayMenu/index.js",
|
|
132
132
|
"./BreadcrumItem": "./dist/src/components/atoms/BreadcrumItem/index.js",
|
|
133
133
|
"./Button": "./dist/src/components/atoms/Button/index.js",
|
|
134
134
|
"./ButtonIcon": "./dist/src/components/atoms/ButtonIcon/index.js",
|
|
135
|
+
"./CardBox": "./dist/src/components/atoms/CardBox/index.js",
|
|
135
136
|
"./CardPane": "./dist/src/components/atoms/CardPane/index.js",
|
|
136
137
|
"./Checkbox": "./dist/src/components/atoms/Checkbox/index.js",
|
|
137
138
|
"./DialogMenuIcon": "./dist/src/components/atoms/DialogMenuIcon/index.js",
|
|
@@ -162,7 +163,7 @@
|
|
|
162
163
|
"./PopularDocsItem": "./dist/src/components/atoms/PopularDocsItem/index.js",
|
|
163
164
|
"./ProgressBar": "./dist/src/components/atoms/ProgressBar/index.js",
|
|
164
165
|
"./Radio": "./dist/src/components/atoms/Radio/index.js",
|
|
165
|
-
"./
|
|
166
|
+
"./SubscriptionCard": "./dist/src/components/molecules/SubscriptionCard/index.js",
|
|
166
167
|
"./RatafiaLandingIcon": "./dist/src/components/atoms/RatafiaLandingIcon/index.js",
|
|
167
168
|
"./RatafiaLoadingResultContent": "./dist/src/components/organisms/RatafiaLoadingResultContent/index.js",
|
|
168
169
|
"./RatafiaResultCard": "./dist/src/components/atoms/RatafiaResultCard/index.js",
|
|
@@ -235,7 +236,7 @@
|
|
|
235
236
|
"./TypeModulesList": "./dist/src/components/molecules/TypeModulesList/index.js",
|
|
236
237
|
"./UploadRatafiaZone": "./dist/src/components/molecules/UploadRatafiaZone/index.js",
|
|
237
238
|
"./WarningBox": "./dist/src/components/molecules/WarningBox/index.js",
|
|
238
|
-
"./
|
|
239
|
+
"./HeroContent": "./dist/src/components/organisms/HeroContent/index.js",
|
|
239
240
|
"./Accordion": "./dist/src/components/organisms/Accordion/index.js",
|
|
240
241
|
"./ArticlesList": "./dist/src/components/organisms/ArticlesList/index.js",
|
|
241
242
|
"./AsSeeInContent": "./dist/src/components/organisms/AsSeeInContent/index.js",
|
|
@@ -260,6 +261,7 @@
|
|
|
260
261
|
"./TryOurFreeLegalBlogsContent": "./dist/src/components/organisms/TryOurFreeLegalBlogsContent/index.js",
|
|
261
262
|
"./HowWeHelp": "./dist/src/components/organisms/HowWeHelp/index.js",
|
|
262
263
|
"./AboutUsPage": "./dist/src/components/pages/AboutUsPage/index.js",
|
|
264
|
+
"./PricingPage": "./dist/src/components/pages/PricingPage/index.js",
|
|
263
265
|
"./ContactUsPage": "./dist/src/components/pages/ContactUsPage/index.js",
|
|
264
266
|
"./ErrorRatafiaPage": "./dist/src/components/pages/ErrorRatafiaPage/index.js",
|
|
265
267
|
"./FaqsPage": "./dist/src/components/pages/FaqsPage/index.js",
|
|
@@ -271,7 +273,7 @@
|
|
|
271
273
|
"./RatafiaPricingPage": "./dist/src/components/pages/RatafiaPricingPage/index.js",
|
|
272
274
|
"./EsignatureLandingPage": "./dist/src/components/pages/EsignatureLandingPage/index.js",
|
|
273
275
|
"./UnsubscribePage": "./dist/src/components/pages/UnsubscribePage/index.js",
|
|
274
|
-
"./
|
|
276
|
+
"./HeroSection": "./dist/src/components/sections/HeroSection/index.js",
|
|
275
277
|
"./AsideMenuSection": "./dist/src/components/sections/AsideMenuSection/index.js",
|
|
276
278
|
"./AsSeeInSection": "./dist/src/components/sections/AsSeeInSection/index.js",
|
|
277
279
|
"./BenefitsRatafiaSection": "./dist/src/components/sections/BenefitsRatafiaSection/index.js",
|
|
@@ -285,6 +287,7 @@
|
|
|
285
287
|
"./HowGetYourFormsSection": "./dist/src/components/sections/HowGetYourFormsSection/index.js",
|
|
286
288
|
"./JumbotronRatafiaSection": "./dist/src/components/sections/JumbotronRatafiaSection/index.js",
|
|
287
289
|
"./JumbotronSimplifiedSection": "./dist/src/components/sections/JumbotronSimplifiedSection/index.js",
|
|
290
|
+
"./CardBoxSection": "./dist/src/components/sections/CardBoxSection/index.js",
|
|
288
291
|
"./LearnMoreSection": "./dist/src/components/sections/LearnMoreSection/index.js",
|
|
289
292
|
"./LegalSection": "./dist/src/components/sections/LegalSection/index.js",
|
|
290
293
|
"./MidBannerRatafiaSection": "./dist/src/components/sections/MidBannerRatafiaSection/index.js",
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { BenefitRatafiaCardStyled } from './BenefitRatafiaCard.styled';
|
|
3
|
-
export const BenefitRatafiaCard = ({ title, image, description }) => {
|
|
4
|
-
return (_jsxs(BenefitRatafiaCardStyled, { className: 'benefit-ratafia-card', children: [image !== null && _jsx("div", { className: 'benefit-ratafia-card__icon', children: image }), _jsxs("div", { className: 'benefit-ratafia-card__content', children: [_jsx("p", { className: 'sans-serif --big --bold-weight benefit-ratafia-card__content__title', children: title }), _jsx("p", { className: 'sans-serif --medium benefit-ratafia-card__content__description', children: description })] })] }));
|
|
5
|
-
};
|
|
6
|
-
export default BenefitRatafiaCard;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from 'react'
|
|
2
|
-
|
|
3
|
-
import { type BenefitRatafiaCardProps } from './BenefitRatafiaCardProps.types'
|
|
4
|
-
import { BenefitRatafiaCardStyled } from './BenefitRatafiaCard.styled'
|
|
5
|
-
|
|
6
|
-
export const BenefitRatafiaCard: React.FC<BenefitRatafiaCardProps> = ({ title, image, description }) => {
|
|
7
|
-
return (
|
|
8
|
-
<BenefitRatafiaCardStyled className='benefit-ratafia-card'>
|
|
9
|
-
{image !== null && <div className='benefit-ratafia-card__icon'>{image}</div>}
|
|
10
|
-
<div className='benefit-ratafia-card__content'>
|
|
11
|
-
<p className='sans-serif --big --bold-weight benefit-ratafia-card__content__title'>{title}</p>
|
|
12
|
-
<p className='sans-serif --medium benefit-ratafia-card__content__description'>{description}</p>
|
|
13
|
-
</div>
|
|
14
|
-
</BenefitRatafiaCardStyled>
|
|
15
|
-
)
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
export default BenefitRatafiaCard
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as BenefitRatafiaCard } from './BenefitRatafiaCard';
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { Button, IconSvgURLWithThemeColor, RichTextStrapi } from '../../atoms';
|
|
3
|
-
import { RatafiaSubscriptionCardStyled } from './RatafiaSubscriptionCard.styled';
|
|
4
|
-
import { stringSlugify } from '../../../utils/stringSlugify';
|
|
5
|
-
const RatafiaSubscriptionCard = ({ cardStyle = 'primary', iconTitle, title, priceText, mainFeatures, AIFeatures, buttonText, dataQa, handleClick }) => {
|
|
6
|
-
if (!title)
|
|
7
|
-
return null;
|
|
8
|
-
const buttonStyle = cardStyle === 'Secondary' ? 'primary3' : 'primary';
|
|
9
|
-
const renderFeatures = (features, className) => features.map((feature) => (_jsxs("div", { className: `ratafia-card__feature ${className ?? ''}`, children: [feature.image?.url && _jsx(IconSvgURLWithThemeColor, { url: feature.image.url, height: '16', width: '16' }), _jsx(RichTextStrapi, { html: feature.title })] }, feature.title)));
|
|
10
|
-
return (_jsxs(RatafiaSubscriptionCardStyled, { className: `ratafia-card ${cardStyle ? stringSlugify(cardStyle) : 'primary'}`, children: [_jsxs("div", { className: 'ratafia-card__header', children: [title && (_jsxs("div", { className: 'ratafia-card__title', children: [iconTitle?.url && _jsx(IconSvgURLWithThemeColor, { url: iconTitle.url, height: '26', width: '26' }), _jsx(RichTextStrapi, { html: title })] })), priceText && _jsx("div", { className: 'ratafia-card__price-text', children: priceText })] }), _jsx("hr", {}), _jsxs("div", { className: 'ratafia-card__body', children: [mainFeatures && renderFeatures(mainFeatures, 'main-feature'), AIFeatures && renderFeatures(AIFeatures, 'ratafia-feature')] }), buttonText && (_jsx("div", { className: 'ratafia-card__footer', children: _jsx(Button, { dataQa: `${dataQa ?? 'ratafia-card-button'}`, givenClass: 'ratafia-card__button', color: buttonStyle, label: buttonText, noLink: true, onClick: handleClick }) }))] }));
|
|
11
|
-
};
|
|
12
|
-
export default RatafiaSubscriptionCard;
|
package/dist/src/components/molecules/RatafiaSubscriptionCard/RatafiaSubscriptionCard.styled.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const RatafiaSubscriptionCardStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import React, { FC, ReactNode } from 'react'
|
|
2
|
-
|
|
3
|
-
import { BenefitProps, RatafiaSubscriptionCardProps } from './RatafiaSubscriptionCardProps.types'
|
|
4
|
-
import { Button, IconSvgURLWithThemeColor, RichTextStrapi } from '../../atoms'
|
|
5
|
-
import { RatafiaSubscriptionCardStyled } from './RatafiaSubscriptionCard.styled'
|
|
6
|
-
import { stringSlugify } from '../../../utils/stringSlugify'
|
|
7
|
-
|
|
8
|
-
const RatafiaSubscriptionCard: FC<RatafiaSubscriptionCardProps> = ({
|
|
9
|
-
cardStyle = 'primary',
|
|
10
|
-
iconTitle,
|
|
11
|
-
title,
|
|
12
|
-
priceText,
|
|
13
|
-
mainFeatures,
|
|
14
|
-
AIFeatures,
|
|
15
|
-
buttonText,
|
|
16
|
-
dataQa,
|
|
17
|
-
handleClick
|
|
18
|
-
}) => {
|
|
19
|
-
if (!title) return null
|
|
20
|
-
const buttonStyle = cardStyle === 'Secondary' ? 'primary3' : 'primary'
|
|
21
|
-
const renderFeatures = (features: BenefitProps[], className?: string): ReactNode =>
|
|
22
|
-
features.map((feature) => (
|
|
23
|
-
<div key={feature.title} className={`ratafia-card__feature ${className ?? ''}`}>
|
|
24
|
-
{feature.image?.url && <IconSvgURLWithThemeColor url={feature.image.url} height='16' width='16' />}
|
|
25
|
-
<RichTextStrapi html={feature.title} />
|
|
26
|
-
</div>
|
|
27
|
-
))
|
|
28
|
-
|
|
29
|
-
return (
|
|
30
|
-
<RatafiaSubscriptionCardStyled className={`ratafia-card ${cardStyle ? stringSlugify(cardStyle) : 'primary'}`}>
|
|
31
|
-
<div className='ratafia-card__header'>
|
|
32
|
-
{title && (
|
|
33
|
-
<div className='ratafia-card__title'>
|
|
34
|
-
{iconTitle?.url && <IconSvgURLWithThemeColor url={iconTitle.url} height='26' width='26' />}
|
|
35
|
-
<RichTextStrapi html={title} />
|
|
36
|
-
</div>
|
|
37
|
-
)}
|
|
38
|
-
{priceText && <div className='ratafia-card__price-text'>{priceText}</div>}
|
|
39
|
-
</div>
|
|
40
|
-
<hr />
|
|
41
|
-
<div className='ratafia-card__body'>
|
|
42
|
-
{mainFeatures && renderFeatures(mainFeatures as unknown as BenefitProps[], 'main-feature')}
|
|
43
|
-
{AIFeatures && renderFeatures(AIFeatures as unknown as BenefitProps[], 'ratafia-feature')}
|
|
44
|
-
</div>
|
|
45
|
-
{buttonText && (
|
|
46
|
-
<div className='ratafia-card__footer'>
|
|
47
|
-
<Button
|
|
48
|
-
dataQa={`${dataQa ?? 'ratafia-card-button'}`}
|
|
49
|
-
givenClass='ratafia-card__button'
|
|
50
|
-
color={buttonStyle}
|
|
51
|
-
label={buttonText}
|
|
52
|
-
noLink
|
|
53
|
-
onClick={handleClick}
|
|
54
|
-
/>
|
|
55
|
-
</div>
|
|
56
|
-
)}
|
|
57
|
-
</RatafiaSubscriptionCardStyled>
|
|
58
|
-
)
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
export default RatafiaSubscriptionCard
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as RatafiaSubscriptionCard } from './RatafiaSubscriptionCard';
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { AboutUsContentStyled } from './AboutUsContent.styled';
|
|
3
|
-
import { Button } from '../../atoms';
|
|
4
|
-
const AboutUsContent = ({ children, image, button }) => {
|
|
5
|
-
return (_jsxs(AboutUsContentStyled, { children: [_jsx("div", { className: 'about-us-content__image', children: image }), _jsxs("div", { className: 'about-us-content__body', children: [children, button != null && (_jsx("div", { className: 'about-us-content__body__button', children: _jsx(Button, { ...button }) }))] })] }));
|
|
6
|
-
};
|
|
7
|
-
export default AboutUsContent;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const AboutUsContentStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import React, { type FC } from 'react'
|
|
2
|
-
|
|
3
|
-
import { type AboutUsContentProps } from './AboutUsContentProps.types'
|
|
4
|
-
import { AboutUsContentStyled } from './AboutUsContent.styled'
|
|
5
|
-
import { Button } from '../../atoms'
|
|
6
|
-
|
|
7
|
-
const AboutUsContent: FC<AboutUsContentProps> = ({ children, image, button }) => {
|
|
8
|
-
return (
|
|
9
|
-
<AboutUsContentStyled>
|
|
10
|
-
<div className={'about-us-content__image'}>{image}</div>
|
|
11
|
-
<div className={'about-us-content__body'}>
|
|
12
|
-
{children}
|
|
13
|
-
{button != null && (
|
|
14
|
-
<div className={'about-us-content__body__button'}>
|
|
15
|
-
<Button {...button} />
|
|
16
|
-
</div>
|
|
17
|
-
)}
|
|
18
|
-
</div>
|
|
19
|
-
</AboutUsContentStyled>
|
|
20
|
-
)
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
export default AboutUsContent
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as AboutUsContent } from './AboutUsContent';
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { AboutUsContent } from '../../organisms/AboutUsContent';
|
|
3
|
-
import { AboutUsSectionStyled } from './AboutUsSection.styled';
|
|
4
|
-
const AboutUsSection = ({ title, subTitle, contentAboutUs }) => {
|
|
5
|
-
return (_jsx(AboutUsSectionStyled, { className: 'about-us-section', children: _jsxs("div", { className: 'wrapper wrapper--responsive', children: [_jsx("div", { className: 'about-us-section__title', children: _jsx("span", { className: 'about-us-section__title__text', children: title }) }), Boolean(subTitle) && _jsx("h1", { className: 'about-us-section__sub-title', children: subTitle }), _jsx(AboutUsContent, { image: contentAboutUs.image, button: contentAboutUs?.button, children: contentAboutUs.children })] }) }));
|
|
6
|
-
};
|
|
7
|
-
export default AboutUsSection;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const AboutUsSectionStyled: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import React, { type FC } from 'react'
|
|
2
|
-
|
|
3
|
-
import { AboutUsContent } from '../../organisms/AboutUsContent'
|
|
4
|
-
import { type AboutUsSectionProps } from './AboutUsSectionProps.types'
|
|
5
|
-
import { AboutUsSectionStyled } from './AboutUsSection.styled'
|
|
6
|
-
|
|
7
|
-
const AboutUsSection: FC<AboutUsSectionProps> = ({ title, subTitle, contentAboutUs }) => {
|
|
8
|
-
return (
|
|
9
|
-
<AboutUsSectionStyled className='about-us-section'>
|
|
10
|
-
<div className='wrapper wrapper--responsive'>
|
|
11
|
-
<div className='about-us-section__title'>
|
|
12
|
-
<span className='about-us-section__title__text'>{title}</span>
|
|
13
|
-
</div>
|
|
14
|
-
{Boolean(subTitle) && <h1 className='about-us-section__sub-title'>{subTitle}</h1>}
|
|
15
|
-
|
|
16
|
-
<AboutUsContent image={contentAboutUs.image} button={contentAboutUs?.button}>
|
|
17
|
-
{contentAboutUs.children}
|
|
18
|
-
</AboutUsContent>
|
|
19
|
-
</div>
|
|
20
|
-
</AboutUsSectionStyled>
|
|
21
|
-
)
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
export default AboutUsSection
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as AboutUsSection } from './AboutUsSection';
|
|
File without changes
|
|
File without changes
|
|
File without changes
|