@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.
Files changed (356) hide show
  1. package/README.md +73 -0
  2. package/dist/AboutUsTemplate.d.ts +136 -0
  3. package/dist/AllDocumentsTemplate.d.ts +78 -0
  4. package/dist/ArticlesSection.d.ts +37 -0
  5. package/dist/AsideNavMenu.d.ts +12 -0
  6. package/dist/BenefitsBar.d.ts +13 -0
  7. package/dist/CategoriesSection.d.ts +37 -0
  8. package/dist/ContactBanner.d.ts +12 -0
  9. package/dist/ContactUsSection.d.ts +22 -0
  10. package/dist/ContentItem.d.ts +5 -0
  11. package/dist/CtaSection.d.ts +26 -0
  12. package/dist/DocumentCard.d.ts +12 -0
  13. package/dist/DocumentCategories.d.ts +15 -0
  14. package/dist/DocumentSection.d.ts +21 -0
  15. package/dist/ExpertsSection.d.ts +21 -0
  16. package/dist/FaqItem.d.ts +11 -0
  17. package/dist/FaqSection.d.ts +19 -0
  18. package/dist/FaqTeaserSection.d.ts +35 -0
  19. package/dist/FaqsTemplate.d.ts +38 -0
  20. package/dist/Footer.d.ts +27 -0
  21. package/dist/FooterNav.d.ts +11 -0
  22. package/dist/GuidelinesSection.d.ts +41 -0
  23. package/dist/Header.d.ts +69 -0
  24. package/dist/HeroSection.d.ts +38 -0
  25. package/dist/HomeTemplate.d.ts +120 -0
  26. package/dist/IntroSection.d.ts +26 -0
  27. package/dist/JumboCard.d.ts +13 -0
  28. package/dist/Jumbotron.d.ts +12 -0
  29. package/dist/Jumbotron2.d.ts +11 -0
  30. package/dist/Jumbotron3.d.ts +9 -0
  31. package/dist/LanguageSelector.d.ts +22 -0
  32. package/dist/LegalSection.d.ts +10 -0
  33. package/dist/LegalesTemplate.d.ts +19 -0
  34. package/dist/MarkdownSection.d.ts +17 -0
  35. package/dist/MissionSection.d.ts +12 -0
  36. package/dist/MoreTemplatesSection.d.ts +26 -0
  37. package/dist/NavMenu.d.ts +20 -0
  38. package/dist/PartnersSection.d.ts +21 -0
  39. package/dist/PersonalIcon.d.ts +5 -0
  40. package/dist/PhoneTalkIcon.d.ts +6 -0
  41. package/dist/Preform.d.ts +37 -0
  42. package/dist/PreformOption.d.ts +12 -0
  43. package/dist/PreviewDownload.d.ts +29 -0
  44. package/dist/PreviewSection.d.ts +26 -0
  45. package/dist/PrivateIcon.d.ts +5 -0
  46. package/dist/ProcessSection.d.ts +22 -0
  47. package/dist/ProductInfo.d.ts +12 -0
  48. package/dist/ProductTemplate.d.ts +119 -0
  49. package/dist/RatafiaSection.d.ts +30 -0
  50. package/dist/RealStateIcon.d.ts +5 -0
  51. package/dist/SaveIcon.d.ts +5 -0
  52. package/dist/SearchBar.d.ts +5 -0
  53. package/dist/SearchIcon.d.ts +5 -0
  54. package/dist/SectionHeading.d.ts +11 -0
  55. package/dist/StarsIcon.d.ts +5 -0
  56. package/dist/Storyline.d.ts +16 -0
  57. package/dist/TableOfContents.d.ts +13 -0
  58. package/dist/TikTokIcon.d.ts +5 -0
  59. package/dist/TrustSection.d.ts +35 -0
  60. package/dist/TrustedBadge.d.ts +10 -0
  61. package/dist/TrustedIcon.d.ts +5 -0
  62. package/dist/TrustpilotSection.d.ts +17 -0
  63. package/dist/TryNowSection.d.ts +26 -0
  64. package/dist/TwoColumnSection.d.ts +13 -0
  65. package/dist/UnsubscribeSection.d.ts +10 -0
  66. package/dist/UnsubscribeTemplate.d.ts +19 -0
  67. package/dist/UsFlagIcon.d.ts +5 -0
  68. package/dist/ValuesSection.d.ts +12 -0
  69. package/dist/VerifiedIcon.d.ts +5 -0
  70. package/dist/WeHelpSection.d.ts +27 -0
  71. package/dist/components/AboutUsTemplate.d.ts +2 -0
  72. package/dist/components/AboutUsTemplate.js +43 -0
  73. package/dist/components/AllDocumentsTemplate.d.ts +2 -0
  74. package/dist/components/AllDocumentsTemplate.js +30 -0
  75. package/dist/components/ArticlesSection.d.ts +2 -0
  76. package/dist/components/ArticlesSection.js +19 -0
  77. package/dist/components/AsideNavMenu.d.ts +2 -0
  78. package/dist/components/AsideNavMenu.js +17 -0
  79. package/dist/components/Badge.d.ts +2 -0
  80. package/dist/components/Badge.js +12 -0
  81. package/dist/components/BenefitsBar.d.ts +2 -0
  82. package/dist/components/BenefitsBar.js +12 -0
  83. package/dist/components/Breadcrumb.d.ts +2 -0
  84. package/dist/components/Breadcrumb.js +13 -0
  85. package/dist/components/BusinessIcon.d.ts +2 -0
  86. package/dist/components/BusinessIcon.js +14 -0
  87. package/dist/components/Button.d.ts +2 -0
  88. package/dist/components/Button.js +114 -0
  89. package/dist/components/CategoriesSection.d.ts +2 -0
  90. package/dist/components/CategoriesSection.js +19 -0
  91. package/dist/components/ChevronDownIcon.d.ts +2 -0
  92. package/dist/components/ChevronDownIcon.js +12 -0
  93. package/dist/components/ChevronRightIcon.d.ts +2 -0
  94. package/dist/components/ChevronRightIcon.js +27 -0
  95. package/dist/components/CloseIcon.d.ts +2 -0
  96. package/dist/components/CloseIcon.js +14 -0
  97. package/dist/components/CommunicationIcon.d.ts +2 -0
  98. package/dist/components/CommunicationIcon.js +14 -0
  99. package/dist/components/ContactBanner.d.ts +2 -0
  100. package/dist/components/ContactBanner.js +16 -0
  101. package/dist/components/ContactUsSection.d.ts +2 -0
  102. package/dist/components/ContactUsSection.js +21 -0
  103. package/dist/components/ContentItem.d.ts +2 -0
  104. package/dist/components/ContentItem.js +15 -0
  105. package/dist/components/CtaSection.d.ts +2 -0
  106. package/dist/components/CtaSection.js +12 -0
  107. package/dist/components/DocEditFillIcon.d.ts +2 -0
  108. package/dist/components/DocEditFillIcon.js +12 -0
  109. package/dist/components/DocumentCard.d.ts +2 -0
  110. package/dist/components/DocumentCard.js +18 -0
  111. package/dist/components/DocumentCategories.d.ts +2 -0
  112. package/dist/components/DocumentCategories.js +28 -0
  113. package/dist/components/DocumentSection.d.ts +2 -0
  114. package/dist/components/DocumentSection.js +15 -0
  115. package/dist/components/DoneCircleIcon.d.ts +2 -0
  116. package/dist/components/DoneCircleIcon.js +44 -0
  117. package/dist/components/EmploymentIcon.d.ts +2 -0
  118. package/dist/components/EmploymentIcon.js +12 -0
  119. package/dist/components/EstatePlanningIcon.d.ts +2 -0
  120. package/dist/components/EstatePlanningIcon.js +14 -0
  121. package/dist/components/ExpertsSection.d.ts +2 -0
  122. package/dist/components/ExpertsSection.js +15 -0
  123. package/dist/components/FacebookIcon.d.ts +2 -0
  124. package/dist/components/FacebookIcon.js +15 -0
  125. package/dist/components/FamilyIcon.d.ts +2 -0
  126. package/dist/components/FamilyIcon.js +14 -0
  127. package/dist/components/FaqItem.d.ts +2 -0
  128. package/dist/components/FaqItem.js +23 -0
  129. package/dist/components/FaqSection.d.ts +2 -0
  130. package/dist/components/FaqSection.js +13 -0
  131. package/dist/components/FaqTeaserSection.d.ts +2 -0
  132. package/dist/components/FaqTeaserSection.js +21 -0
  133. package/dist/components/FaqsTemplate.d.ts +2 -0
  134. package/dist/components/FaqsTemplate.js +14 -0
  135. package/dist/components/FinanceIcon.d.ts +2 -0
  136. package/dist/components/FinanceIcon.js +14 -0
  137. package/dist/components/Footer.d.ts +2 -0
  138. package/dist/components/Footer.js +45 -0
  139. package/dist/components/FooterNav.d.ts +2 -0
  140. package/dist/components/FooterNav.js +9 -0
  141. package/dist/components/GuidelinesSection.d.ts +2 -0
  142. package/dist/components/GuidelinesSection.js +24 -0
  143. package/dist/components/HamburgerIcon.d.ts +2 -0
  144. package/dist/components/HamburgerIcon.js +14 -0
  145. package/dist/components/Header.d.ts +2 -0
  146. package/dist/components/Header.js +135 -0
  147. package/dist/components/HelpGuideIcon.d.ts +2 -0
  148. package/dist/components/HelpGuideIcon.js +14 -0
  149. package/dist/components/HeroSection.d.ts +2 -0
  150. package/dist/components/HeroSection.js +30 -0
  151. package/dist/components/HomeTemplate.d.ts +2 -0
  152. package/dist/components/HomeTemplate.js +32 -0
  153. package/dist/components/InfoIcon.d.ts +2 -0
  154. package/dist/components/InfoIcon.js +12 -0
  155. package/dist/components/InstagramIcon.d.ts +2 -0
  156. package/dist/components/InstagramIcon.js +33 -0
  157. package/dist/components/IntroSection.d.ts +2 -0
  158. package/dist/components/IntroSection.js +17 -0
  159. package/dist/components/Item.d.ts +2 -0
  160. package/dist/components/Item.js +16 -0
  161. package/dist/components/JumboCard.d.ts +2 -0
  162. package/dist/components/JumboCard.js +12 -0
  163. package/dist/components/Jumbotron.d.ts +2 -0
  164. package/dist/components/Jumbotron.js +12 -0
  165. package/dist/components/Jumbotron2.d.ts +2 -0
  166. package/dist/components/Jumbotron2.js +11 -0
  167. package/dist/components/Jumbotron3.d.ts +2 -0
  168. package/dist/components/Jumbotron3.js +5 -0
  169. package/dist/components/LanguageSelector.d.ts +2 -0
  170. package/dist/components/LanguageSelector.js +59 -0
  171. package/dist/components/LegalSection.d.ts +2 -0
  172. package/dist/components/LegalSection.js +5 -0
  173. package/dist/components/LegalesTemplate.d.ts +2 -0
  174. package/dist/components/LegalesTemplate.js +10 -0
  175. package/dist/components/LinkedinIcon.d.ts +2 -0
  176. package/dist/components/LinkedinIcon.js +21 -0
  177. package/dist/components/MailFillIcon.d.ts +2 -0
  178. package/dist/components/MailFillIcon.js +12 -0
  179. package/dist/components/MarkdownSection.d.ts +2 -0
  180. package/dist/components/MarkdownSection.js +9 -0
  181. package/dist/components/MissionSection.d.ts +2 -0
  182. package/dist/components/MissionSection.js +16 -0
  183. package/dist/components/MoreTemplatesSection.d.ts +2 -0
  184. package/dist/components/MoreTemplatesSection.js +42 -0
  185. package/dist/components/NavMenu.d.ts +2 -0
  186. package/dist/components/NavMenu.js +7 -0
  187. package/dist/components/NavMenuItem.d.ts +2 -0
  188. package/dist/components/NavMenuItem.js +60 -0
  189. package/dist/components/Note.d.ts +2 -0
  190. package/dist/components/Note.js +6 -0
  191. package/dist/components/PartnersSection.d.ts +2 -0
  192. package/dist/components/PartnersSection.js +10 -0
  193. package/dist/components/PersonalIcon.d.ts +2 -0
  194. package/dist/components/PersonalIcon.js +14 -0
  195. package/dist/components/PhoneTalkIcon.d.ts +2 -0
  196. package/dist/components/PhoneTalkIcon.js +12 -0
  197. package/dist/components/Preform.d.ts +2 -0
  198. package/dist/components/Preform.js +13 -0
  199. package/dist/components/PreformOption.d.ts +2 -0
  200. package/dist/components/PreformOption.js +15 -0
  201. package/dist/components/PreviewDownload.d.ts +2 -0
  202. package/dist/components/PreviewDownload.js +26 -0
  203. package/dist/components/PreviewSection.d.ts +2 -0
  204. package/dist/components/PreviewSection.js +11 -0
  205. package/dist/components/PrivateIcon.d.ts +2 -0
  206. package/dist/components/PrivateIcon.js +12 -0
  207. package/dist/components/ProcessSection.d.ts +2 -0
  208. package/dist/components/ProcessSection.js +26 -0
  209. package/dist/components/ProductInfo.d.ts +2 -0
  210. package/dist/components/ProductInfo.js +14 -0
  211. package/dist/components/ProductTemplate.d.ts +2 -0
  212. package/dist/components/ProductTemplate.js +45 -0
  213. package/dist/components/RatafiaSection.d.ts +2 -0
  214. package/dist/components/RatafiaSection.js +36 -0
  215. package/dist/components/RealStateIcon.d.ts +2 -0
  216. package/dist/components/RealStateIcon.js +12 -0
  217. package/dist/components/SaveIcon.d.ts +2 -0
  218. package/dist/components/SaveIcon.js +14 -0
  219. package/dist/components/SearchBar.d.ts +2 -0
  220. package/dist/components/SearchBar.js +7 -0
  221. package/dist/components/SearchIcon.d.ts +2 -0
  222. package/dist/components/SearchIcon.js +12 -0
  223. package/dist/components/SectionHeading.d.ts +2 -0
  224. package/dist/components/SectionHeading.js +9 -0
  225. package/dist/components/StarsIcon.d.ts +2 -0
  226. package/dist/components/StarsIcon.js +14 -0
  227. package/dist/components/Storyline.d.ts +2 -0
  228. package/dist/components/Storyline.js +20 -0
  229. package/dist/components/TableOfContents.d.ts +2 -0
  230. package/dist/components/TableOfContents.js +18 -0
  231. package/dist/components/TikTokIcon.d.ts +2 -0
  232. package/dist/components/TikTokIcon.js +23 -0
  233. package/dist/components/TrustSection.d.ts +2 -0
  234. package/dist/components/TrustSection.js +18 -0
  235. package/dist/components/TrustedBadge.d.ts +2 -0
  236. package/dist/components/TrustedBadge.js +11 -0
  237. package/dist/components/TrustedIcon.d.ts +2 -0
  238. package/dist/components/TrustedIcon.js +14 -0
  239. package/dist/components/TrustpilotSection.d.ts +2 -0
  240. package/dist/components/TrustpilotSection.js +10 -0
  241. package/dist/components/TryNowSection.d.ts +2 -0
  242. package/dist/components/TryNowSection.js +11 -0
  243. package/dist/components/TwoColumnSection.d.ts +2 -0
  244. package/dist/components/TwoColumnSection.js +19 -0
  245. package/dist/components/UnsubscribeSection.d.ts +2 -0
  246. package/dist/components/UnsubscribeSection.js +5 -0
  247. package/dist/components/UnsubscribeTemplate.d.ts +2 -0
  248. package/dist/components/UnsubscribeTemplate.js +10 -0
  249. package/dist/components/UsFlagIcon.d.ts +2 -0
  250. package/dist/components/UsFlagIcon.js +29 -0
  251. package/dist/components/ValuesSection.d.ts +2 -0
  252. package/dist/components/ValuesSection.js +16 -0
  253. package/dist/components/VerifiedIcon.d.ts +2 -0
  254. package/dist/components/VerifiedIcon.js +14 -0
  255. package/dist/components/WeHelpSection.d.ts +2 -0
  256. package/dist/components/WeHelpSection.js +18 -0
  257. package/dist/components/atoms/Badge.d.ts +6 -0
  258. package/dist/components/atoms/Breadcrumb.d.ts +9 -0
  259. package/dist/components/atoms/Button.d.ts +11 -0
  260. package/dist/components/atoms/Item.d.ts +10 -0
  261. package/dist/components/atoms/NavMenuItem.d.ts +11 -0
  262. package/dist/components/atoms/Note.d.ts +6 -0
  263. package/dist/components/atoms/index.d.ts +6 -0
  264. package/dist/components/icons/BusinessIcon.d.ts +2 -0
  265. package/dist/components/icons/ChevronDownIcon.d.ts +2 -0
  266. package/dist/components/icons/ChevronRightIcon.d.ts +2 -0
  267. package/dist/components/icons/CloseIcon.d.ts +2 -0
  268. package/dist/components/icons/CommunicationIcon.d.ts +2 -0
  269. package/dist/components/icons/DocEditFillIcon.d.ts +2 -0
  270. package/dist/components/icons/DoneCircleIcon.d.ts +2 -0
  271. package/dist/components/icons/EmploymentIcon.d.ts +2 -0
  272. package/dist/components/icons/EstatePlanningIcon.d.ts +2 -0
  273. package/dist/components/icons/FacebookIcon.d.ts +2 -0
  274. package/dist/components/icons/FamilyIcon.d.ts +2 -0
  275. package/dist/components/icons/FinanceIcon.d.ts +2 -0
  276. package/dist/components/icons/HamburgerIcon.d.ts +2 -0
  277. package/dist/components/icons/HelpGuideIcon.d.ts +2 -0
  278. package/dist/components/icons/InfoIcon.d.ts +2 -0
  279. package/dist/components/icons/InstagramIcon.d.ts +2 -0
  280. package/dist/components/icons/LinkedinIcon.d.ts +2 -0
  281. package/dist/components/icons/MailFillIcon.d.ts +2 -0
  282. package/dist/components/icons/PersonalIcon.d.ts +2 -0
  283. package/dist/components/icons/PhoneTalkIcon.d.ts +2 -0
  284. package/dist/components/icons/PrivateIcon.d.ts +2 -0
  285. package/dist/components/icons/RealStateIcon.d.ts +2 -0
  286. package/dist/components/icons/SaveIcon.d.ts +2 -0
  287. package/dist/components/icons/SearchIcon.d.ts +2 -0
  288. package/dist/components/icons/StarsIcon.d.ts +2 -0
  289. package/dist/components/icons/TikTokIcon.d.ts +2 -0
  290. package/dist/components/icons/TrustedIcon.d.ts +2 -0
  291. package/dist/components/icons/UsFlagIcon.d.ts +2 -0
  292. package/dist/components/icons/VerifiedIcon.d.ts +2 -0
  293. package/dist/components/icons/index.d.ts +29 -0
  294. package/dist/components/molecules/ContentItem.d.ts +2 -0
  295. package/dist/components/molecules/DocumentCard.d.ts +8 -0
  296. package/dist/components/molecules/FaqItem.d.ts +7 -0
  297. package/dist/components/molecules/FooterNav.d.ts +6 -0
  298. package/dist/components/molecules/LanguageSelector.d.ts +16 -0
  299. package/dist/components/molecules/NavMenu.d.ts +6 -0
  300. package/dist/components/molecules/PreformOption.d.ts +7 -0
  301. package/dist/components/molecules/PreviewDownload.d.ts +11 -0
  302. package/dist/components/molecules/SearchBar.d.ts +1 -0
  303. package/dist/components/molecules/SectionHeading.d.ts +7 -0
  304. package/dist/components/molecules/TableOfContents.d.ts +9 -0
  305. package/dist/components/molecules/TrustedBadge.d.ts +5 -0
  306. package/dist/components/molecules/TwoColumnSection.d.ts +8 -0
  307. package/dist/components/molecules/index.d.ts +13 -0
  308. package/dist/components/organisms/ArticlesSection.d.ts +14 -0
  309. package/dist/components/organisms/AsideNavMenu.d.ts +8 -0
  310. package/dist/components/organisms/BenefitsBar.d.ts +8 -0
  311. package/dist/components/organisms/CategoriesSection.d.ts +14 -0
  312. package/dist/components/organisms/ContactBanner.d.ts +8 -0
  313. package/dist/components/organisms/ContactUsSection.d.ts +12 -0
  314. package/dist/components/organisms/CtaSection.d.ts +8 -0
  315. package/dist/components/organisms/DocumentCategories.d.ts +10 -0
  316. package/dist/components/organisms/DocumentSection.d.ts +10 -0
  317. package/dist/components/organisms/ExpertsSection.d.ts +11 -0
  318. package/dist/components/organisms/FaqSection.d.ts +9 -0
  319. package/dist/components/organisms/FaqTeaserSection.d.ts +12 -0
  320. package/dist/components/organisms/Footer.d.ts +18 -0
  321. package/dist/components/organisms/GuidelinesSection.d.ts +18 -0
  322. package/dist/components/organisms/Header.d.ts +31 -0
  323. package/dist/components/organisms/HeroSection.d.ts +11 -0
  324. package/dist/components/organisms/IntroSection.d.ts +8 -0
  325. package/dist/components/organisms/JumboCard.d.ts +8 -0
  326. package/dist/components/organisms/Jumbotron.d.ts +7 -0
  327. package/dist/components/organisms/Jumbotron2.d.ts +7 -0
  328. package/dist/components/organisms/Jumbotron3.d.ts +5 -0
  329. package/dist/components/organisms/LegalSection.d.ts +5 -0
  330. package/dist/components/organisms/MarkdownSection.d.ts +7 -0
  331. package/dist/components/organisms/MissionSection.d.ts +7 -0
  332. package/dist/components/organisms/MoreTemplatesSection.d.ts +8 -0
  333. package/dist/components/organisms/PartnersSection.d.ts +11 -0
  334. package/dist/components/organisms/Preform.d.ts +10 -0
  335. package/dist/components/organisms/PreviewSection.d.ts +8 -0
  336. package/dist/components/organisms/ProcessSection.d.ts +12 -0
  337. package/dist/components/organisms/ProductInfo.d.ts +7 -0
  338. package/dist/components/organisms/RatafiaSection.d.ts +12 -0
  339. package/dist/components/organisms/Storyline.d.ts +11 -0
  340. package/dist/components/organisms/TrustSection.d.ts +12 -0
  341. package/dist/components/organisms/TrustpilotSection.d.ts +7 -0
  342. package/dist/components/organisms/TryNowSection.d.ts +8 -0
  343. package/dist/components/organisms/UnsubscribeSection.d.ts +5 -0
  344. package/dist/components/organisms/ValuesSection.d.ts +7 -0
  345. package/dist/components/organisms/WeHelpSection.d.ts +9 -0
  346. package/dist/components/organisms/index.d.ts +38 -0
  347. package/dist/components/templates/AboutUsTemplate.d.ts +17 -0
  348. package/dist/components/templates/AllDocumentsTemplate.d.ts +12 -0
  349. package/dist/components/templates/FaqsTemplate.d.ts +8 -0
  350. package/dist/components/templates/HomeTemplate.d.ts +13 -0
  351. package/dist/components/templates/LegalesTemplate.d.ts +7 -0
  352. package/dist/components/templates/ProductTemplate.d.ts +17 -0
  353. package/dist/components/templates/UnsubscribeTemplate.d.ts +7 -0
  354. package/dist/components/templates/index.d.ts +3 -0
  355. package/dist/index.d.ts +4 -0
  356. 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,12 @@
1
+ import { FC } from 'react';
2
+
3
+ export declare const AsideNavMenu: FC<AsideNavMenuProps>;
4
+
5
+ export declare interface AsideNavMenuProps {
6
+ menuItems: Array<{
7
+ label: string;
8
+ href: string;
9
+ }>;
10
+ }
11
+
12
+ export { }
@@ -0,0 +1,13 @@
1
+ import { FC } from 'react';
2
+ import { ReactNode } from 'react';
3
+
4
+ export declare const BenefitsBar: FC<BenefitsBarProps>;
5
+
6
+ export declare interface BenefitsBarProps {
7
+ benefits: {
8
+ icon: ReactNode;
9
+ label: string;
10
+ }[];
11
+ }
12
+
13
+ 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,5 @@
1
+ import { FC } from 'react';
2
+
3
+ export declare const ContentItem: FC;
4
+
5
+ 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,12 @@
1
+ import { FC } from 'react';
2
+
3
+ export declare const DocumentCard: FC<DocumentCardProps>;
4
+
5
+ export declare interface DocumentCardProps {
6
+ title: string;
7
+ description: string;
8
+ featured?: boolean;
9
+ className?: string;
10
+ }
11
+
12
+ 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,11 @@
1
+ import { FC } from 'react';
2
+
3
+ export declare const FaqItem: FC<FaqItemProps>;
4
+
5
+ export declare interface FaqItemProps {
6
+ question: string;
7
+ answer?: string;
8
+ extra?: string;
9
+ }
10
+
11
+ 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 { }
@@ -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 { }
@@ -0,0 +1,11 @@
1
+ import { FC } from 'react';
2
+ import { ReactNode } from 'react';
3
+
4
+ export declare const FooterNav: FC<FooterNavProps>;
5
+
6
+ export declare interface FooterNavProps {
7
+ title: string;
8
+ links: ReactNode[];
9
+ }
10
+
11
+ export { }