@npm_leadtech/legal-contracts-ui 0.11.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/README.md +73 -0
- package/dist/AboutUsTemplate.d.ts +136 -0
- package/dist/AllDocumentsTemplate.d.ts +78 -0
- package/dist/ArticlesSection.d.ts +37 -0
- package/dist/AsideNavMenu.d.ts +12 -0
- package/dist/BenefitsBar.d.ts +13 -0
- package/dist/CategoriesSection.d.ts +37 -0
- package/dist/ContactBanner.d.ts +12 -0
- package/dist/ContactUsSection.d.ts +22 -0
- package/dist/ContentItem.d.ts +5 -0
- package/dist/CtaSection.d.ts +26 -0
- package/dist/DocumentCard.d.ts +12 -0
- package/dist/DocumentCategories.d.ts +15 -0
- package/dist/DocumentSection.d.ts +21 -0
- package/dist/ExpertsSection.d.ts +21 -0
- package/dist/FaqItem.d.ts +11 -0
- package/dist/FaqSection.d.ts +19 -0
- package/dist/FaqTeaserSection.d.ts +35 -0
- package/dist/FaqsTemplate.d.ts +38 -0
- package/dist/Footer.d.ts +27 -0
- package/dist/FooterNav.d.ts +11 -0
- package/dist/GuidelinesSection.d.ts +41 -0
- package/dist/Header.d.ts +69 -0
- package/dist/HeroSection.d.ts +38 -0
- package/dist/HomeTemplate.d.ts +120 -0
- package/dist/IntroSection.d.ts +26 -0
- package/dist/JumboCard.d.ts +13 -0
- package/dist/Jumbotron.d.ts +12 -0
- package/dist/Jumbotron2.d.ts +11 -0
- package/dist/Jumbotron3.d.ts +9 -0
- package/dist/LanguageSelector.d.ts +22 -0
- package/dist/LegalSection.d.ts +10 -0
- package/dist/LegalesTemplate.d.ts +19 -0
- package/dist/MarkdownSection.d.ts +17 -0
- package/dist/MissionSection.d.ts +12 -0
- package/dist/MoreTemplatesSection.d.ts +26 -0
- package/dist/NavMenu.d.ts +20 -0
- package/dist/PartnersSection.d.ts +21 -0
- package/dist/PersonalIcon.d.ts +5 -0
- package/dist/PhoneTalkIcon.d.ts +6 -0
- package/dist/Preform.d.ts +37 -0
- package/dist/PreformOption.d.ts +12 -0
- package/dist/PreviewDownload.d.ts +29 -0
- package/dist/PreviewSection.d.ts +26 -0
- package/dist/PrivateIcon.d.ts +5 -0
- package/dist/ProcessSection.d.ts +22 -0
- package/dist/ProductInfo.d.ts +12 -0
- package/dist/ProductTemplate.d.ts +119 -0
- package/dist/RatafiaSection.d.ts +30 -0
- package/dist/RealStateIcon.d.ts +5 -0
- package/dist/SaveIcon.d.ts +5 -0
- package/dist/SearchBar.d.ts +5 -0
- package/dist/SearchIcon.d.ts +5 -0
- package/dist/SectionHeading.d.ts +11 -0
- package/dist/StarsIcon.d.ts +5 -0
- package/dist/Storyline.d.ts +16 -0
- package/dist/TableOfContents.d.ts +13 -0
- package/dist/TikTokIcon.d.ts +5 -0
- package/dist/TrustSection.d.ts +35 -0
- package/dist/TrustedBadge.d.ts +10 -0
- package/dist/TrustedIcon.d.ts +5 -0
- package/dist/TrustpilotSection.d.ts +17 -0
- package/dist/TryNowSection.d.ts +26 -0
- package/dist/TwoColumnSection.d.ts +13 -0
- package/dist/UnsubscribeSection.d.ts +10 -0
- package/dist/UnsubscribeTemplate.d.ts +19 -0
- package/dist/UsFlagIcon.d.ts +5 -0
- package/dist/ValuesSection.d.ts +12 -0
- package/dist/VerifiedIcon.d.ts +5 -0
- package/dist/WeHelpSection.d.ts +27 -0
- package/dist/components/AboutUsTemplate.d.ts +2 -0
- package/dist/components/AboutUsTemplate.js +43 -0
- package/dist/components/AllDocumentsTemplate.d.ts +2 -0
- package/dist/components/AllDocumentsTemplate.js +30 -0
- package/dist/components/ArticlesSection.d.ts +2 -0
- package/dist/components/ArticlesSection.js +19 -0
- package/dist/components/AsideNavMenu.d.ts +2 -0
- package/dist/components/AsideNavMenu.js +17 -0
- package/dist/components/Badge.d.ts +2 -0
- package/dist/components/Badge.js +12 -0
- package/dist/components/BenefitsBar.d.ts +2 -0
- package/dist/components/BenefitsBar.js +12 -0
- package/dist/components/Breadcrumb.d.ts +2 -0
- package/dist/components/Breadcrumb.js +13 -0
- package/dist/components/BusinessIcon.d.ts +2 -0
- package/dist/components/BusinessIcon.js +14 -0
- package/dist/components/Button.d.ts +2 -0
- package/dist/components/Button.js +114 -0
- package/dist/components/CategoriesSection.d.ts +2 -0
- package/dist/components/CategoriesSection.js +19 -0
- package/dist/components/ChevronDownIcon.d.ts +2 -0
- package/dist/components/ChevronDownIcon.js +12 -0
- package/dist/components/ChevronRightIcon.d.ts +2 -0
- package/dist/components/ChevronRightIcon.js +27 -0
- package/dist/components/CloseIcon.d.ts +2 -0
- package/dist/components/CloseIcon.js +14 -0
- package/dist/components/CommunicationIcon.d.ts +2 -0
- package/dist/components/CommunicationIcon.js +14 -0
- package/dist/components/ContactBanner.d.ts +2 -0
- package/dist/components/ContactBanner.js +16 -0
- package/dist/components/ContactUsSection.d.ts +2 -0
- package/dist/components/ContactUsSection.js +21 -0
- package/dist/components/ContentItem.d.ts +2 -0
- package/dist/components/ContentItem.js +15 -0
- package/dist/components/CtaSection.d.ts +2 -0
- package/dist/components/CtaSection.js +12 -0
- package/dist/components/DocEditFillIcon.d.ts +2 -0
- package/dist/components/DocEditFillIcon.js +12 -0
- package/dist/components/DocumentCard.d.ts +2 -0
- package/dist/components/DocumentCard.js +18 -0
- package/dist/components/DocumentCategories.d.ts +2 -0
- package/dist/components/DocumentCategories.js +28 -0
- package/dist/components/DocumentSection.d.ts +2 -0
- package/dist/components/DocumentSection.js +15 -0
- package/dist/components/DoneCircleIcon.d.ts +2 -0
- package/dist/components/DoneCircleIcon.js +44 -0
- package/dist/components/EmploymentIcon.d.ts +2 -0
- package/dist/components/EmploymentIcon.js +12 -0
- package/dist/components/EstatePlanningIcon.d.ts +2 -0
- package/dist/components/EstatePlanningIcon.js +14 -0
- package/dist/components/ExpertsSection.d.ts +2 -0
- package/dist/components/ExpertsSection.js +15 -0
- package/dist/components/FacebookIcon.d.ts +2 -0
- package/dist/components/FacebookIcon.js +15 -0
- package/dist/components/FamilyIcon.d.ts +2 -0
- package/dist/components/FamilyIcon.js +14 -0
- package/dist/components/FaqItem.d.ts +2 -0
- package/dist/components/FaqItem.js +23 -0
- package/dist/components/FaqSection.d.ts +2 -0
- package/dist/components/FaqSection.js +13 -0
- package/dist/components/FaqTeaserSection.d.ts +2 -0
- package/dist/components/FaqTeaserSection.js +21 -0
- package/dist/components/FaqsTemplate.d.ts +2 -0
- package/dist/components/FaqsTemplate.js +14 -0
- package/dist/components/FinanceIcon.d.ts +2 -0
- package/dist/components/FinanceIcon.js +14 -0
- package/dist/components/Footer.d.ts +2 -0
- package/dist/components/Footer.js +45 -0
- package/dist/components/FooterNav.d.ts +2 -0
- package/dist/components/FooterNav.js +9 -0
- package/dist/components/GuidelinesSection.d.ts +2 -0
- package/dist/components/GuidelinesSection.js +24 -0
- package/dist/components/HamburgerIcon.d.ts +2 -0
- package/dist/components/HamburgerIcon.js +14 -0
- package/dist/components/Header.d.ts +2 -0
- package/dist/components/Header.js +135 -0
- package/dist/components/HelpGuideIcon.d.ts +2 -0
- package/dist/components/HelpGuideIcon.js +14 -0
- package/dist/components/HeroSection.d.ts +2 -0
- package/dist/components/HeroSection.js +30 -0
- package/dist/components/HomeTemplate.d.ts +2 -0
- package/dist/components/HomeTemplate.js +32 -0
- package/dist/components/InfoIcon.d.ts +2 -0
- package/dist/components/InfoIcon.js +12 -0
- package/dist/components/InstagramIcon.d.ts +2 -0
- package/dist/components/InstagramIcon.js +33 -0
- package/dist/components/IntroSection.d.ts +2 -0
- package/dist/components/IntroSection.js +17 -0
- package/dist/components/Item.d.ts +2 -0
- package/dist/components/Item.js +16 -0
- package/dist/components/JumboCard.d.ts +2 -0
- package/dist/components/JumboCard.js +12 -0
- package/dist/components/Jumbotron.d.ts +2 -0
- package/dist/components/Jumbotron.js +12 -0
- package/dist/components/Jumbotron2.d.ts +2 -0
- package/dist/components/Jumbotron2.js +11 -0
- package/dist/components/Jumbotron3.d.ts +2 -0
- package/dist/components/Jumbotron3.js +5 -0
- package/dist/components/LanguageSelector.d.ts +2 -0
- package/dist/components/LanguageSelector.js +59 -0
- package/dist/components/LegalSection.d.ts +2 -0
- package/dist/components/LegalSection.js +5 -0
- package/dist/components/LegalesTemplate.d.ts +2 -0
- package/dist/components/LegalesTemplate.js +10 -0
- package/dist/components/LinkedinIcon.d.ts +2 -0
- package/dist/components/LinkedinIcon.js +21 -0
- package/dist/components/MailFillIcon.d.ts +2 -0
- package/dist/components/MailFillIcon.js +12 -0
- package/dist/components/MarkdownSection.d.ts +2 -0
- package/dist/components/MarkdownSection.js +9 -0
- package/dist/components/MissionSection.d.ts +2 -0
- package/dist/components/MissionSection.js +16 -0
- package/dist/components/MoreTemplatesSection.d.ts +2 -0
- package/dist/components/MoreTemplatesSection.js +42 -0
- package/dist/components/NavMenu.d.ts +2 -0
- package/dist/components/NavMenu.js +7 -0
- package/dist/components/NavMenuItem.d.ts +2 -0
- package/dist/components/NavMenuItem.js +60 -0
- package/dist/components/Note.d.ts +2 -0
- package/dist/components/Note.js +6 -0
- package/dist/components/PartnersSection.d.ts +2 -0
- package/dist/components/PartnersSection.js +10 -0
- package/dist/components/PersonalIcon.d.ts +2 -0
- package/dist/components/PersonalIcon.js +14 -0
- package/dist/components/PhoneTalkIcon.d.ts +2 -0
- package/dist/components/PhoneTalkIcon.js +12 -0
- package/dist/components/Preform.d.ts +2 -0
- package/dist/components/Preform.js +13 -0
- package/dist/components/PreformOption.d.ts +2 -0
- package/dist/components/PreformOption.js +15 -0
- package/dist/components/PreviewDownload.d.ts +2 -0
- package/dist/components/PreviewDownload.js +26 -0
- package/dist/components/PreviewSection.d.ts +2 -0
- package/dist/components/PreviewSection.js +11 -0
- package/dist/components/PrivateIcon.d.ts +2 -0
- package/dist/components/PrivateIcon.js +12 -0
- package/dist/components/ProcessSection.d.ts +2 -0
- package/dist/components/ProcessSection.js +26 -0
- package/dist/components/ProductInfo.d.ts +2 -0
- package/dist/components/ProductInfo.js +14 -0
- package/dist/components/ProductTemplate.d.ts +2 -0
- package/dist/components/ProductTemplate.js +45 -0
- package/dist/components/RatafiaSection.d.ts +2 -0
- package/dist/components/RatafiaSection.js +36 -0
- package/dist/components/RealStateIcon.d.ts +2 -0
- package/dist/components/RealStateIcon.js +12 -0
- package/dist/components/SaveIcon.d.ts +2 -0
- package/dist/components/SaveIcon.js +14 -0
- package/dist/components/SearchBar.d.ts +2 -0
- package/dist/components/SearchBar.js +7 -0
- package/dist/components/SearchIcon.d.ts +2 -0
- package/dist/components/SearchIcon.js +12 -0
- package/dist/components/SectionHeading.d.ts +2 -0
- package/dist/components/SectionHeading.js +9 -0
- package/dist/components/StarsIcon.d.ts +2 -0
- package/dist/components/StarsIcon.js +14 -0
- package/dist/components/Storyline.d.ts +2 -0
- package/dist/components/Storyline.js +20 -0
- package/dist/components/TableOfContents.d.ts +2 -0
- package/dist/components/TableOfContents.js +18 -0
- package/dist/components/TikTokIcon.d.ts +2 -0
- package/dist/components/TikTokIcon.js +23 -0
- package/dist/components/TrustSection.d.ts +2 -0
- package/dist/components/TrustSection.js +18 -0
- package/dist/components/TrustedBadge.d.ts +2 -0
- package/dist/components/TrustedBadge.js +11 -0
- package/dist/components/TrustedIcon.d.ts +2 -0
- package/dist/components/TrustedIcon.js +14 -0
- package/dist/components/TrustpilotSection.d.ts +2 -0
- package/dist/components/TrustpilotSection.js +10 -0
- package/dist/components/TryNowSection.d.ts +2 -0
- package/dist/components/TryNowSection.js +11 -0
- package/dist/components/TwoColumnSection.d.ts +2 -0
- package/dist/components/TwoColumnSection.js +19 -0
- package/dist/components/UnsubscribeSection.d.ts +2 -0
- package/dist/components/UnsubscribeSection.js +5 -0
- package/dist/components/UnsubscribeTemplate.d.ts +2 -0
- package/dist/components/UnsubscribeTemplate.js +10 -0
- package/dist/components/UsFlagIcon.d.ts +2 -0
- package/dist/components/UsFlagIcon.js +29 -0
- package/dist/components/ValuesSection.d.ts +2 -0
- package/dist/components/ValuesSection.js +16 -0
- package/dist/components/VerifiedIcon.d.ts +2 -0
- package/dist/components/VerifiedIcon.js +14 -0
- package/dist/components/WeHelpSection.d.ts +2 -0
- package/dist/components/WeHelpSection.js +18 -0
- package/dist/components/atoms/Badge.d.ts +6 -0
- package/dist/components/atoms/Breadcrumb.d.ts +9 -0
- package/dist/components/atoms/Button.d.ts +11 -0
- package/dist/components/atoms/Item.d.ts +10 -0
- package/dist/components/atoms/NavMenuItem.d.ts +11 -0
- package/dist/components/atoms/Note.d.ts +6 -0
- package/dist/components/atoms/index.d.ts +6 -0
- package/dist/components/icons/BusinessIcon.d.ts +2 -0
- package/dist/components/icons/ChevronDownIcon.d.ts +2 -0
- package/dist/components/icons/ChevronRightIcon.d.ts +2 -0
- package/dist/components/icons/CloseIcon.d.ts +2 -0
- package/dist/components/icons/CommunicationIcon.d.ts +2 -0
- package/dist/components/icons/DocEditFillIcon.d.ts +2 -0
- package/dist/components/icons/DoneCircleIcon.d.ts +2 -0
- package/dist/components/icons/EmploymentIcon.d.ts +2 -0
- package/dist/components/icons/EstatePlanningIcon.d.ts +2 -0
- package/dist/components/icons/FacebookIcon.d.ts +2 -0
- package/dist/components/icons/FamilyIcon.d.ts +2 -0
- package/dist/components/icons/FinanceIcon.d.ts +2 -0
- package/dist/components/icons/HamburgerIcon.d.ts +2 -0
- package/dist/components/icons/HelpGuideIcon.d.ts +2 -0
- package/dist/components/icons/InfoIcon.d.ts +2 -0
- package/dist/components/icons/InstagramIcon.d.ts +2 -0
- package/dist/components/icons/LinkedinIcon.d.ts +2 -0
- package/dist/components/icons/MailFillIcon.d.ts +2 -0
- package/dist/components/icons/PersonalIcon.d.ts +2 -0
- package/dist/components/icons/PhoneTalkIcon.d.ts +2 -0
- package/dist/components/icons/PrivateIcon.d.ts +2 -0
- package/dist/components/icons/RealStateIcon.d.ts +2 -0
- package/dist/components/icons/SaveIcon.d.ts +2 -0
- package/dist/components/icons/SearchIcon.d.ts +2 -0
- package/dist/components/icons/StarsIcon.d.ts +2 -0
- package/dist/components/icons/TikTokIcon.d.ts +2 -0
- package/dist/components/icons/TrustedIcon.d.ts +2 -0
- package/dist/components/icons/UsFlagIcon.d.ts +2 -0
- package/dist/components/icons/VerifiedIcon.d.ts +2 -0
- package/dist/components/icons/index.d.ts +29 -0
- package/dist/components/molecules/ContentItem.d.ts +2 -0
- package/dist/components/molecules/DocumentCard.d.ts +8 -0
- package/dist/components/molecules/FaqItem.d.ts +7 -0
- package/dist/components/molecules/FooterNav.d.ts +6 -0
- package/dist/components/molecules/LanguageSelector.d.ts +16 -0
- package/dist/components/molecules/NavMenu.d.ts +6 -0
- package/dist/components/molecules/PreformOption.d.ts +7 -0
- package/dist/components/molecules/PreviewDownload.d.ts +11 -0
- package/dist/components/molecules/SearchBar.d.ts +1 -0
- package/dist/components/molecules/SectionHeading.d.ts +7 -0
- package/dist/components/molecules/TableOfContents.d.ts +9 -0
- package/dist/components/molecules/TrustedBadge.d.ts +5 -0
- package/dist/components/molecules/TwoColumnSection.d.ts +8 -0
- package/dist/components/molecules/index.d.ts +13 -0
- package/dist/components/organisms/ArticlesSection.d.ts +14 -0
- package/dist/components/organisms/AsideNavMenu.d.ts +8 -0
- package/dist/components/organisms/BenefitsBar.d.ts +8 -0
- package/dist/components/organisms/CategoriesSection.d.ts +14 -0
- package/dist/components/organisms/ContactBanner.d.ts +8 -0
- package/dist/components/organisms/ContactUsSection.d.ts +12 -0
- package/dist/components/organisms/CtaSection.d.ts +8 -0
- package/dist/components/organisms/DocumentCategories.d.ts +10 -0
- package/dist/components/organisms/DocumentSection.d.ts +10 -0
- package/dist/components/organisms/ExpertsSection.d.ts +11 -0
- package/dist/components/organisms/FaqSection.d.ts +9 -0
- package/dist/components/organisms/FaqTeaserSection.d.ts +12 -0
- package/dist/components/organisms/Footer.d.ts +18 -0
- package/dist/components/organisms/GuidelinesSection.d.ts +18 -0
- package/dist/components/organisms/Header.d.ts +31 -0
- package/dist/components/organisms/HeroSection.d.ts +11 -0
- package/dist/components/organisms/IntroSection.d.ts +8 -0
- package/dist/components/organisms/JumboCard.d.ts +8 -0
- package/dist/components/organisms/Jumbotron.d.ts +7 -0
- package/dist/components/organisms/Jumbotron2.d.ts +7 -0
- package/dist/components/organisms/Jumbotron3.d.ts +5 -0
- package/dist/components/organisms/LegalSection.d.ts +5 -0
- package/dist/components/organisms/MarkdownSection.d.ts +7 -0
- package/dist/components/organisms/MissionSection.d.ts +7 -0
- package/dist/components/organisms/MoreTemplatesSection.d.ts +8 -0
- package/dist/components/organisms/PartnersSection.d.ts +11 -0
- package/dist/components/organisms/Preform.d.ts +10 -0
- package/dist/components/organisms/PreviewSection.d.ts +8 -0
- package/dist/components/organisms/ProcessSection.d.ts +12 -0
- package/dist/components/organisms/ProductInfo.d.ts +7 -0
- package/dist/components/organisms/RatafiaSection.d.ts +12 -0
- package/dist/components/organisms/Storyline.d.ts +11 -0
- package/dist/components/organisms/TrustSection.d.ts +12 -0
- package/dist/components/organisms/TrustpilotSection.d.ts +7 -0
- package/dist/components/organisms/TryNowSection.d.ts +8 -0
- package/dist/components/organisms/UnsubscribeSection.d.ts +5 -0
- package/dist/components/organisms/ValuesSection.d.ts +7 -0
- package/dist/components/organisms/WeHelpSection.d.ts +9 -0
- package/dist/components/organisms/index.d.ts +38 -0
- package/dist/components/templates/AboutUsTemplate.d.ts +17 -0
- package/dist/components/templates/AllDocumentsTemplate.d.ts +12 -0
- package/dist/components/templates/FaqsTemplate.d.ts +8 -0
- package/dist/components/templates/HomeTemplate.d.ts +13 -0
- package/dist/components/templates/LegalesTemplate.d.ts +7 -0
- package/dist/components/templates/ProductTemplate.d.ts +17 -0
- package/dist/components/templates/UnsubscribeTemplate.d.ts +7 -0
- package/dist/components/templates/index.d.ts +3 -0
- package/dist/index.d.ts +4 -0
- package/package.json +496 -0
package/README.md
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
# React + TypeScript + Vite
|
|
2
|
+
|
|
3
|
+
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
|
|
4
|
+
|
|
5
|
+
Currently, two official plugins are available:
|
|
6
|
+
|
|
7
|
+
- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
|
|
8
|
+
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
|
|
9
|
+
|
|
10
|
+
# Working locally with the library
|
|
11
|
+
|
|
12
|
+
After making the necessary changes, we can use Yalc tool to work with the library components without publishing changes.
|
|
13
|
+
|
|
14
|
+
1. From the library, compile the repository and publish the changes with `pnpm yalc-push`. The compilation name is provided in the next format _legal-contracts-ui@[ current-version ]_.
|
|
15
|
+
2. Import compilation into the target repository with `yalc remove --all` + `yalc add @npm_leadtech/legal-contracts-ui@[ current-version ]`.
|
|
16
|
+
3. After this linking, you will need restart the project container.
|
|
17
|
+
4. From this point on, any new change requires running step 1 again and restarting the project container.
|
|
18
|
+
|
|
19
|
+
# Add component to storybook library or make changes and upload to npm
|
|
20
|
+
|
|
21
|
+
1. Create component files, including tests and story or make changes
|
|
22
|
+
2. Add on every component .tsx file `import '../../../tailwind.css'` for optimized CSS building
|
|
23
|
+
3. Add component to index.tsx file at root level for each type of component (atom/molecules/organisms)
|
|
24
|
+
4. Execute command `MSG="(here we put the information about the task)" pnpm upgrade-(patch/minor/major)`
|
|
25
|
+
5. Execute command `npm publish` to upload to npm
|
|
26
|
+
6. In repo/s where this component is used, use `pnpm upgrade @npm_leadtech/legal-contracts-ui --latest`,
|
|
27
|
+
7. Change imports to use @npm_leadtech/legal-contracts-ui and delete component files.
|
|
28
|
+
|
|
29
|
+
## Expanding the ESLint configuration
|
|
30
|
+
|
|
31
|
+
If you are developing a production application, we recommend updating the configuration to enable type-aware lint rules:
|
|
32
|
+
|
|
33
|
+
```js
|
|
34
|
+
export default tseslint.config({
|
|
35
|
+
extends: [
|
|
36
|
+
// Remove ...tseslint.configs.recommended and replace with this
|
|
37
|
+
...tseslint.configs.recommendedTypeChecked,
|
|
38
|
+
// Alternatively, use this for stricter rules
|
|
39
|
+
...tseslint.configs.strictTypeChecked,
|
|
40
|
+
// Optionally, add this for stylistic rules
|
|
41
|
+
...tseslint.configs.stylisticTypeChecked
|
|
42
|
+
],
|
|
43
|
+
languageOptions: {
|
|
44
|
+
// other options...
|
|
45
|
+
parserOptions: {
|
|
46
|
+
project: ['./tsconfig.node.json', './tsconfig.app.json'],
|
|
47
|
+
tsconfigRootDir: import.meta.dirname
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
})
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
You can also install [eslint-plugin-react-x](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-x) and [eslint-plugin-react-dom](https://github.com/Rel1cx/eslint-react/tree/main/packages/plugins/eslint-plugin-react-dom) for React-specific lint rules:
|
|
54
|
+
|
|
55
|
+
```js
|
|
56
|
+
// eslint.config.js
|
|
57
|
+
import reactX from 'eslint-plugin-react-x'
|
|
58
|
+
import reactDom from 'eslint-plugin-react-dom'
|
|
59
|
+
|
|
60
|
+
export default tseslint.config({
|
|
61
|
+
plugins: {
|
|
62
|
+
// Add the react-x and react-dom plugins
|
|
63
|
+
'react-x': reactX,
|
|
64
|
+
'react-dom': reactDom
|
|
65
|
+
},
|
|
66
|
+
rules: {
|
|
67
|
+
// other rules...
|
|
68
|
+
// Enable its recommended typescript rules
|
|
69
|
+
...reactX.configs['recommended-typescript'].rules,
|
|
70
|
+
...reactDom.configs.recommended.rules
|
|
71
|
+
}
|
|
72
|
+
})
|
|
73
|
+
```
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
import { ComponentPropsWithRef } from 'react';
|
|
2
|
+
import { FC } from 'react';
|
|
3
|
+
import { ReactNode } from 'react';
|
|
4
|
+
|
|
5
|
+
export declare const AboutUsTemplate: FC<AboutUsTemplateProps>;
|
|
6
|
+
|
|
7
|
+
export declare interface AboutUsTemplateProps {
|
|
8
|
+
jumbotron: Jumbotron2Props;
|
|
9
|
+
intro: IntroSectionProps;
|
|
10
|
+
mission: MissionSectionProps;
|
|
11
|
+
coreValues: ValuesSectionProps;
|
|
12
|
+
storyline: StorylineProps;
|
|
13
|
+
howWeHelp: WeHelpSectionProps;
|
|
14
|
+
guidelines: GuidelinesSectionProps;
|
|
15
|
+
experts: ExpertsSectionProps;
|
|
16
|
+
trustpilot: TrustpilotSectionProps;
|
|
17
|
+
partners: PartnersSectionProps;
|
|
18
|
+
cta: CtaSectionProps;
|
|
19
|
+
contactUs: ContactUsSectionProps;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
declare interface ButtonProps extends Omit<ComponentPropsWithRef<'button'>, 'children'> {
|
|
23
|
+
children: ReactNode;
|
|
24
|
+
size?: ButtonSize;
|
|
25
|
+
variant?: ButtonVariant;
|
|
26
|
+
iconPosition?: IconPosition;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
declare type ButtonSize = 'small' | 'default' | 'large';
|
|
30
|
+
|
|
31
|
+
declare type ButtonVariant = 'primary-green' | 'primary-darkgreen' | 'primary-yellow' | 'primary-white' | 'secondary-green' | 'secondary-yellow' | 'secondary-red' | 'tertiary-bold' | 'tertiary-thin' | 'tertiary-icon' | 'tertiary-link' | 'icon-black' | 'icon-grey' | 'icon-mobile';
|
|
32
|
+
|
|
33
|
+
declare interface ContactUsSectionProps {
|
|
34
|
+
header: SectionHeadingProps;
|
|
35
|
+
contactOptions: Array<{
|
|
36
|
+
title: string;
|
|
37
|
+
description: string;
|
|
38
|
+
icon: ReactNode;
|
|
39
|
+
helper?: string;
|
|
40
|
+
}>;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
declare interface CtaSectionProps {
|
|
44
|
+
title: string;
|
|
45
|
+
cta: ButtonProps;
|
|
46
|
+
children: ReactNode;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
declare interface ExpertsSectionProps {
|
|
50
|
+
header: SectionHeadingProps;
|
|
51
|
+
experts: Array<{
|
|
52
|
+
name: string;
|
|
53
|
+
title: string;
|
|
54
|
+
image: ReactNode;
|
|
55
|
+
}>;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
declare interface GuidelinesSectionProps {
|
|
59
|
+
header: SectionHeadingProps;
|
|
60
|
+
guidelineCards: Array<{
|
|
61
|
+
title: string;
|
|
62
|
+
image: ReactNode;
|
|
63
|
+
content: ReactNode;
|
|
64
|
+
}>;
|
|
65
|
+
footerCard: {
|
|
66
|
+
title: string;
|
|
67
|
+
image: ReactNode;
|
|
68
|
+
content: ReactNode;
|
|
69
|
+
cta: ButtonProps;
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
declare type IconPosition = 'left' | 'right' | 'top';
|
|
74
|
+
|
|
75
|
+
declare interface IntroSectionProps {
|
|
76
|
+
image: ReactNode;
|
|
77
|
+
children: ReactNode;
|
|
78
|
+
cta: ButtonProps;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
declare interface Jumbotron2Props {
|
|
82
|
+
title: string;
|
|
83
|
+
subtitle?: string;
|
|
84
|
+
className?: string;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
declare interface MissionSectionProps {
|
|
88
|
+
title: string;
|
|
89
|
+
children: ReactNode;
|
|
90
|
+
image: ReactNode;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
declare interface PartnersSectionProps {
|
|
94
|
+
header: SectionHeadingProps;
|
|
95
|
+
children: ReactNode;
|
|
96
|
+
partners: Array<{
|
|
97
|
+
name: string;
|
|
98
|
+
logo: ReactNode;
|
|
99
|
+
}>;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
declare interface SectionHeadingProps {
|
|
103
|
+
title: string;
|
|
104
|
+
description?: string;
|
|
105
|
+
align?: 'start' | 'center';
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
declare interface StorylineProps {
|
|
109
|
+
title: string;
|
|
110
|
+
text: string;
|
|
111
|
+
storyItems: {
|
|
112
|
+
title: string;
|
|
113
|
+
description: string;
|
|
114
|
+
icon: ReactNode;
|
|
115
|
+
}[];
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
declare interface TrustpilotSectionProps {
|
|
119
|
+
header: SectionHeadingProps;
|
|
120
|
+
children: ReactNode;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
declare interface ValuesSectionProps {
|
|
124
|
+
title: string;
|
|
125
|
+
children: ReactNode;
|
|
126
|
+
image: ReactNode;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
declare interface WeHelpSectionProps {
|
|
130
|
+
title: string;
|
|
131
|
+
children: ReactNode;
|
|
132
|
+
image: ReactNode;
|
|
133
|
+
cta: ButtonProps;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
export { }
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
|
|
4
|
+
export declare const AllDocumentsTemplate: FC<AllDocumentsTemplateProps>;
|
|
5
|
+
|
|
6
|
+
export declare interface AllDocumentsTemplateProps {
|
|
7
|
+
jumbo: JumboCardProps;
|
|
8
|
+
breadcrumb: BreadcrumbProps;
|
|
9
|
+
categories: DocumentCategoriesProps;
|
|
10
|
+
documentSections: DocumentSectionProps[];
|
|
11
|
+
ctaSection: MarkdownSectionProps;
|
|
12
|
+
faqSection: FaqSectionProps;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
declare interface BreadcrumbProps {
|
|
16
|
+
breadcrumbs?: Array<{
|
|
17
|
+
label: string;
|
|
18
|
+
href?: string;
|
|
19
|
+
}>;
|
|
20
|
+
className?: string;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
declare interface DocumentCardProps {
|
|
24
|
+
title: string;
|
|
25
|
+
description: string;
|
|
26
|
+
featured?: boolean;
|
|
27
|
+
className?: string;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
declare interface DocumentCategoriesProps {
|
|
31
|
+
title: string;
|
|
32
|
+
categories: Array<{
|
|
33
|
+
id: string;
|
|
34
|
+
title: string;
|
|
35
|
+
icon: ReactNode;
|
|
36
|
+
}>;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
declare interface DocumentSectionProps {
|
|
40
|
+
id: string;
|
|
41
|
+
title: string;
|
|
42
|
+
description: string;
|
|
43
|
+
icon: ReactNode;
|
|
44
|
+
documents: DocumentCardProps[];
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
declare interface FaqItemProps {
|
|
48
|
+
question: string;
|
|
49
|
+
answer?: string;
|
|
50
|
+
extra?: string;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
declare interface FaqSectionProps {
|
|
54
|
+
title?: string;
|
|
55
|
+
description?: ReactNode;
|
|
56
|
+
faqItems: FaqItemProps[];
|
|
57
|
+
className?: string;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
declare interface JumboCardProps {
|
|
61
|
+
title: string;
|
|
62
|
+
description: string;
|
|
63
|
+
subtitle: string;
|
|
64
|
+
image: ReactNode;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
declare interface MarkdownSectionProps {
|
|
68
|
+
header: SectionHeadingProps;
|
|
69
|
+
children: ReactNode;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
declare interface SectionHeadingProps {
|
|
73
|
+
title: string;
|
|
74
|
+
description?: string;
|
|
75
|
+
align?: 'start' | 'center';
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
export { }
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { ComponentPropsWithRef } from 'react';
|
|
2
|
+
import { FC } from 'react';
|
|
3
|
+
import { ReactNode } from 'react';
|
|
4
|
+
|
|
5
|
+
export declare const ArticlesSection: FC<ArticlesSectionProps>;
|
|
6
|
+
|
|
7
|
+
export declare interface ArticlesSectionProps {
|
|
8
|
+
header: SectionHeadingProps;
|
|
9
|
+
articles?: Array<{
|
|
10
|
+
title: string;
|
|
11
|
+
image: ReactNode;
|
|
12
|
+
excerpt: string;
|
|
13
|
+
cta: ReactNode;
|
|
14
|
+
}>;
|
|
15
|
+
cta: ButtonProps;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
declare interface ButtonProps extends Omit<ComponentPropsWithRef<'button'>, 'children'> {
|
|
19
|
+
children: ReactNode;
|
|
20
|
+
size?: ButtonSize;
|
|
21
|
+
variant?: ButtonVariant;
|
|
22
|
+
iconPosition?: IconPosition;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
declare type ButtonSize = 'small' | 'default' | 'large';
|
|
26
|
+
|
|
27
|
+
declare type ButtonVariant = 'primary-green' | 'primary-darkgreen' | 'primary-yellow' | 'primary-white' | 'secondary-green' | 'secondary-yellow' | 'secondary-red' | 'tertiary-bold' | 'tertiary-thin' | 'tertiary-icon' | 'tertiary-link' | 'icon-black' | 'icon-grey' | 'icon-mobile';
|
|
28
|
+
|
|
29
|
+
declare type IconPosition = 'left' | 'right' | 'top';
|
|
30
|
+
|
|
31
|
+
declare interface SectionHeadingProps {
|
|
32
|
+
title: string;
|
|
33
|
+
description?: string;
|
|
34
|
+
align?: 'start' | 'center';
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export { }
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { ComponentPropsWithRef } from 'react';
|
|
2
|
+
import { FC } from 'react';
|
|
3
|
+
import { ReactNode } from 'react';
|
|
4
|
+
|
|
5
|
+
declare interface ButtonProps extends Omit<ComponentPropsWithRef<'button'>, 'children'> {
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
size?: ButtonSize;
|
|
8
|
+
variant?: ButtonVariant;
|
|
9
|
+
iconPosition?: IconPosition;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
declare type ButtonSize = 'small' | 'default' | 'large';
|
|
13
|
+
|
|
14
|
+
declare type ButtonVariant = 'primary-green' | 'primary-darkgreen' | 'primary-yellow' | 'primary-white' | 'secondary-green' | 'secondary-yellow' | 'secondary-red' | 'tertiary-bold' | 'tertiary-thin' | 'tertiary-icon' | 'tertiary-link' | 'icon-black' | 'icon-grey' | 'icon-mobile';
|
|
15
|
+
|
|
16
|
+
export declare const CategoriesSection: FC<CategoriesSectionProps>;
|
|
17
|
+
|
|
18
|
+
export declare interface CategoriesSectionProps {
|
|
19
|
+
header: SectionHeadingProps;
|
|
20
|
+
categories?: Array<{
|
|
21
|
+
title: string;
|
|
22
|
+
description: string;
|
|
23
|
+
icon: ReactNode;
|
|
24
|
+
cta: ButtonProps;
|
|
25
|
+
}>;
|
|
26
|
+
cta: ButtonProps;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
declare type IconPosition = 'left' | 'right' | 'top';
|
|
30
|
+
|
|
31
|
+
declare interface SectionHeadingProps {
|
|
32
|
+
title: string;
|
|
33
|
+
description?: string;
|
|
34
|
+
align?: 'start' | 'center';
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export { }
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
|
|
3
|
+
export declare const ContactBanner: FC<ContactBannerProps>;
|
|
4
|
+
|
|
5
|
+
export declare interface ContactBannerProps {
|
|
6
|
+
contactText?: string;
|
|
7
|
+
phoneNumber?: string;
|
|
8
|
+
contactHoursText?: string;
|
|
9
|
+
contactHours?: string;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export { }
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
|
|
4
|
+
export declare const ContactUsSection: FC<ContactUsSectionProps>;
|
|
5
|
+
|
|
6
|
+
export declare interface ContactUsSectionProps {
|
|
7
|
+
header: SectionHeadingProps;
|
|
8
|
+
contactOptions: Array<{
|
|
9
|
+
title: string;
|
|
10
|
+
description: string;
|
|
11
|
+
icon: ReactNode;
|
|
12
|
+
helper?: string;
|
|
13
|
+
}>;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
declare interface SectionHeadingProps {
|
|
17
|
+
title: string;
|
|
18
|
+
description?: string;
|
|
19
|
+
align?: 'start' | 'center';
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export { }
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { ComponentPropsWithRef } from 'react';
|
|
2
|
+
import { FC } from 'react';
|
|
3
|
+
import { ReactNode } from 'react';
|
|
4
|
+
|
|
5
|
+
declare interface ButtonProps extends Omit<ComponentPropsWithRef<'button'>, 'children'> {
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
size?: ButtonSize;
|
|
8
|
+
variant?: ButtonVariant;
|
|
9
|
+
iconPosition?: IconPosition;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
declare type ButtonSize = 'small' | 'default' | 'large';
|
|
13
|
+
|
|
14
|
+
declare type ButtonVariant = 'primary-green' | 'primary-darkgreen' | 'primary-yellow' | 'primary-white' | 'secondary-green' | 'secondary-yellow' | 'secondary-red' | 'tertiary-bold' | 'tertiary-thin' | 'tertiary-icon' | 'tertiary-link' | 'icon-black' | 'icon-grey' | 'icon-mobile';
|
|
15
|
+
|
|
16
|
+
export declare const CtaSection: FC<CtaSectionProps>;
|
|
17
|
+
|
|
18
|
+
export declare interface CtaSectionProps {
|
|
19
|
+
title: string;
|
|
20
|
+
cta: ButtonProps;
|
|
21
|
+
children: ReactNode;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
declare type IconPosition = 'left' | 'right' | 'top';
|
|
25
|
+
|
|
26
|
+
export { }
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
|
|
4
|
+
export declare const DocumentCategories: FC<DocumentCategoriesProps>;
|
|
5
|
+
|
|
6
|
+
export declare interface DocumentCategoriesProps {
|
|
7
|
+
title: string;
|
|
8
|
+
categories: Array<{
|
|
9
|
+
id: string;
|
|
10
|
+
title: string;
|
|
11
|
+
icon: ReactNode;
|
|
12
|
+
}>;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export { }
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
|
|
4
|
+
declare interface DocumentCardProps {
|
|
5
|
+
title: string;
|
|
6
|
+
description: string;
|
|
7
|
+
featured?: boolean;
|
|
8
|
+
className?: string;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export declare const DocumentSection: FC<DocumentSectionProps>;
|
|
12
|
+
|
|
13
|
+
export declare interface DocumentSectionProps {
|
|
14
|
+
id: string;
|
|
15
|
+
title: string;
|
|
16
|
+
description: string;
|
|
17
|
+
icon: ReactNode;
|
|
18
|
+
documents: DocumentCardProps[];
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export { }
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
|
|
4
|
+
export declare const ExpertsSection: FC<ExpertsSectionProps>;
|
|
5
|
+
|
|
6
|
+
export declare interface ExpertsSectionProps {
|
|
7
|
+
header: SectionHeadingProps;
|
|
8
|
+
experts: Array<{
|
|
9
|
+
name: string;
|
|
10
|
+
title: string;
|
|
11
|
+
image: ReactNode;
|
|
12
|
+
}>;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
declare interface SectionHeadingProps {
|
|
16
|
+
title: string;
|
|
17
|
+
description?: string;
|
|
18
|
+
align?: 'start' | 'center';
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export { }
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
|
|
4
|
+
declare interface FaqItemProps {
|
|
5
|
+
question: string;
|
|
6
|
+
answer?: string;
|
|
7
|
+
extra?: string;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export declare const FaqSection: FC<FaqSectionProps>;
|
|
11
|
+
|
|
12
|
+
export declare interface FaqSectionProps {
|
|
13
|
+
title?: string;
|
|
14
|
+
description?: ReactNode;
|
|
15
|
+
faqItems: FaqItemProps[];
|
|
16
|
+
className?: string;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
export { }
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { ComponentPropsWithRef } from 'react';
|
|
2
|
+
import { FC } from 'react';
|
|
3
|
+
import { ReactNode } from 'react';
|
|
4
|
+
|
|
5
|
+
declare interface ButtonProps extends Omit<ComponentPropsWithRef<'button'>, 'children'> {
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
size?: ButtonSize;
|
|
8
|
+
variant?: ButtonVariant;
|
|
9
|
+
iconPosition?: IconPosition;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
declare type ButtonSize = 'small' | 'default' | 'large';
|
|
13
|
+
|
|
14
|
+
declare type ButtonVariant = 'primary-green' | 'primary-darkgreen' | 'primary-yellow' | 'primary-white' | 'secondary-green' | 'secondary-yellow' | 'secondary-red' | 'tertiary-bold' | 'tertiary-thin' | 'tertiary-icon' | 'tertiary-link' | 'icon-black' | 'icon-grey' | 'icon-mobile';
|
|
15
|
+
|
|
16
|
+
export declare const FaqTeaserSection: FC<FaqTeaserSectionProps>;
|
|
17
|
+
|
|
18
|
+
export declare interface FaqTeaserSectionProps {
|
|
19
|
+
header: SectionHeadingProps;
|
|
20
|
+
questions?: Array<{
|
|
21
|
+
id: string;
|
|
22
|
+
content: ReactNode;
|
|
23
|
+
}>;
|
|
24
|
+
cta: ButtonProps;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
declare type IconPosition = 'left' | 'right' | 'top';
|
|
28
|
+
|
|
29
|
+
declare interface SectionHeadingProps {
|
|
30
|
+
title: string;
|
|
31
|
+
description?: string;
|
|
32
|
+
align?: 'start' | 'center';
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export { }
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
|
|
4
|
+
declare interface AsideNavMenuProps {
|
|
5
|
+
menuItems: Array<{
|
|
6
|
+
label: string;
|
|
7
|
+
href: string;
|
|
8
|
+
}>;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
declare interface FaqItemProps {
|
|
12
|
+
question: string;
|
|
13
|
+
answer?: string;
|
|
14
|
+
extra?: string;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
declare interface FaqSectionProps {
|
|
18
|
+
title?: string;
|
|
19
|
+
description?: ReactNode;
|
|
20
|
+
faqItems: FaqItemProps[];
|
|
21
|
+
className?: string;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
export declare const FaqsTemplate: FC<FaqsTemplateProps>;
|
|
25
|
+
|
|
26
|
+
export declare interface FaqsTemplateProps {
|
|
27
|
+
jumbotron: Jumbotron2Props;
|
|
28
|
+
asideNavMenu: AsideNavMenuProps;
|
|
29
|
+
faqSections: FaqSectionProps[];
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
declare interface Jumbotron2Props {
|
|
33
|
+
title: string;
|
|
34
|
+
subtitle?: string;
|
|
35
|
+
className?: string;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export { }
|
package/dist/Footer.d.ts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
|
+
|
|
4
|
+
export declare const Footer: FC<FooterProps>;
|
|
5
|
+
|
|
6
|
+
declare interface FooterNavProps {
|
|
7
|
+
title: string;
|
|
8
|
+
links: ReactNode[];
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
export declare interface FooterProps {
|
|
12
|
+
nav: Array<FooterNavProps>;
|
|
13
|
+
contactInfo: {
|
|
14
|
+
phoneNumber: string;
|
|
15
|
+
contactHoursText: string;
|
|
16
|
+
contactHours: string;
|
|
17
|
+
};
|
|
18
|
+
logoGray?: ReactNode;
|
|
19
|
+
socialLinks?: ReactNode[];
|
|
20
|
+
legalLinks?: ReactNode[];
|
|
21
|
+
disclaimerText?: string;
|
|
22
|
+
copyrightText?: string;
|
|
23
|
+
trustPilotWidget?: ReactNode;
|
|
24
|
+
languageSelector?: ReactNode;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export { }
|