@npm_leadtech/legal-contracts-ui 0.122.3 → 0.123.0

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 (52) hide show
  1. package/dist/assets/style/themes.css +1 -1
  2. package/dist/components/AboutUsTemplate.d.ts +2 -2
  3. package/dist/components/Anchor.d.ts +1 -1
  4. package/dist/components/Anchor.js +8 -9
  5. package/dist/components/Blockquote.d.ts +1 -1
  6. package/dist/components/Blockquote.js +9 -9
  7. package/dist/components/ContactFormSection.js +1 -1
  8. package/dist/components/ContactMethodCard.js +19 -19
  9. package/dist/components/ContactUsTemplate.d.ts +2 -2
  10. package/dist/components/DoneCircleIcon.js +1 -1
  11. package/dist/components/FaqItem.js +6 -6
  12. package/dist/components/FaqsTemplate.d.ts +2 -3
  13. package/dist/components/Footer.js +15 -15
  14. package/dist/components/Header2.d.ts +1 -1
  15. package/dist/components/Header2.js +4 -5
  16. package/dist/components/HomeTemplate.js +8 -8
  17. package/dist/components/HowItWorksTemplate.d.ts +39 -31
  18. package/dist/components/HowItWorksTemplate.js +92 -108
  19. package/dist/components/InfoIcon.js +3 -3
  20. package/dist/components/IntroSection.js +10 -10
  21. package/dist/components/Jumbotron2.d.ts +2 -3
  22. package/dist/components/Markdown.d.ts +1 -1
  23. package/dist/components/MobileMenu.js +5 -5
  24. package/dist/components/OrderedList.d.ts +1 -1
  25. package/dist/components/OrderedList.js +9 -10
  26. package/dist/components/Paragraph.d.ts +1 -1
  27. package/dist/components/Paragraph.js +2 -6
  28. package/dist/components/PricingTemplate.d.ts +2 -2
  29. package/dist/components/RatafiaSection.js +23 -23
  30. package/dist/components/ScalatorIcon.js +3 -3
  31. package/dist/components/TwoColumnSection.js +8 -8
  32. package/dist/components/UiComponents.d.ts +6 -6
  33. package/dist/components/UnorderedList.d.ts +1 -1
  34. package/dist/components/UnorderedList.js +5 -13
  35. package/dist/components/UnsubscribeTemplate.d.ts +1 -1
  36. package/dist/components/index.d.ts +3 -54
  37. package/dist/globals.css +1 -1
  38. package/package.json +1 -29
  39. package/dist/components/HeroImageShell.d.ts +0 -10
  40. package/dist/components/HeroImageShell.js +0 -15
  41. package/dist/components/HowItWorksLawGeniusSection.d.ts +0 -16
  42. package/dist/components/HowItWorksLawGeniusSection.js +0 -41
  43. package/dist/components/HowItWorksTemplateTokens.d.ts +0 -12
  44. package/dist/components/HowItWorksTemplateTokens.js +0 -8
  45. package/dist/components/LawGeniusImageShell.d.ts +0 -9
  46. package/dist/components/LawGeniusImageShell.js +0 -15
  47. package/dist/components/LawGeniusStepCard.d.ts +0 -11
  48. package/dist/components/LawGeniusStepCard.js +0 -17
  49. package/dist/components/ResourcesImageShell.d.ts +0 -9
  50. package/dist/components/ResourcesImageShell.js +0 -15
  51. package/dist/components/StepImageShell.d.ts +0 -9
  52. package/dist/components/StepImageShell.js +0 -15
@@ -1 +1 @@
1
- html{--color-principal: #078080;--color-background: #f8f9fa;--color-bg-modal-01: #6d727551;--color-drop-shadow-01: #02374a33;--color-error-25: #ffecef;--color-error-200: #f09d9e;--color-error-principal: #d63737;--color-neutral-White: #ffffff;--color-neutral-25: #f8f9fa;--color-neutral-50: #f3f7fa;--color-neutral-200: #dbe1e5;--color-neutral-400: #b5babd;--color-neutral-600: #6d7275;--color-neutral-800: #3d4042;--color-neutral-900: #1e2021;--color-primary-50: #eff7f5;--color-primary-100: #e4f8f3;--color-primary-200: #c0f7e8;--color-primary-300: #5dd8c3;--color-primary-400: #34b2a7;--color-primary-500: #078080;--color-primary-700: #05646e;--color-primary-800: #02374a;--color-primary-900: #032a38;--color-secondary-50: #fcf9f5;--color-secondary-100: #fcf4e5;--color-secondary-200: #f7e8cf;--color-secondary-300: #f5dab0;--color-secondary-400: #f4cc8c;--color-secondary-500: #f2bd6a;--color-secondary-600: #cd9a4c;--color-secondary-700: #936c2f}html[data-theme=districtlaws]{--font-main: "Inter", sans-serif;--color-principal: #f26600;--color-background: #f8f9fa;--color-bg-modal-01: #6d727551;--color-drop-shadow-01: #02374a33;--color-error-25: #ffecef;--color-error-200: #f09d9e;--color-error-principal: #d63737;--color-neutral-white: #ffffff;--color-neutral-25: #f8f9fa;--color-neutral-50: #f3f7fa;--color-neutral-200: #dbe1e5;--color-neutral-400: #b5babd;--color-neutral-600: #6d7275;--color-neutral-800: #3d4042;--color-neutral-900: #1e2021;--color-primary-50: #fff5ee;--color-primary-100: #ffe1cc;--color-primary-200: #ffc59b;--color-primary-300: #ffa05c;--color-primary-400: #ff862e;--color-primary-500: #f26600;--color-primary-700: #c95500;--color-primary-800: #4f2100;--color-primary-900: #220f00;--color-secondary-50: #eff7f5;--color-secondary-100: #e4f8f3;--color-secondary-200: #c0f7e8;--color-secondary-300: #5dd8c3;--color-secondary-400: #34b2a7;--color-secondary-500: #078080;--color-secondary-600: #05646e;--color-secondary-700: #02374a;--color-secondary-900: #032a38}html[data-theme=lawdistricts]{--font-main: "Inter", sans-serif;--color-principal: #485aff;--color-background: #f8f9fa;--color-bg-modal-01: #6d727551;--color-drop-shadow-01: #02374a33;--color-error-25: #ffecef;--color-error-200: #f09d9e;--color-error-principal: #d63737;--color-neutral-white: #ffffff;--color-neutral-25: #f8f9fa;--color-neutral-50: #f3f7fa;--color-neutral-200: #dbe1e5;--color-neutral-400: #b5babd;--color-neutral-600: #6d7275;--color-neutral-800: #3d4042;--color-neutral-900: #1e2021;--color-primary-50: #f9f9ff;--color-primary-100: #eceeff;--color-primary-200: #c3c9ff;--color-primary-300: #9aa4ff;--color-primary-400: #717fff;--color-primary-500: #485aff;--color-primary-700: #1725a6;--color-primary-800: #050e5a;--color-primary-900: #000533;--color-secondary-50: #eff7f5;--color-secondary-100: #e4f8f3;--color-secondary-200: #c0f7e8;--color-secondary-300: #5dd8c3;--color-secondary-400: #34b2a7;--color-secondary-500: #078080;--color-secondary-600: #05646e;--color-secondary-700: #02374a;--color-secondary-900: #032a38}html[data-theme=lawdistrict]{--font-main: "Inter", sans-serif;--color-principal: #078080;--color-background: #f8f9fa;--color-bg-modal-01: #6d727551;--color-drop-shadow-01: #02374a33;--color-error-25: #ffecef;--color-error-200: #f09d9e;--color-error-principal: #d63737;--color-neutral-White: #ffffff;--color-neutral-25: #f8f9fa;--color-neutral-50: #f3f7fa;--color-neutral-200: #dbe1e5;--color-neutral-400: #b5babd;--color-neutral-600: #6d7275;--color-neutral-800: #3d4042;--color-neutral-900: #1e2021;--color-primary-50: #eff7f5;--color-primary-100: #e4f8f3;--color-primary-200: #c0f7e8;--color-primary-300: #5dd8c3;--color-primary-400: #34b2a7;--color-primary-500: #078080;--color-primary-700: #05646e;--color-primary-800: #02374a;--color-primary-900: #032a38;--color-secondary-50: #fcf9f5;--color-secondary-100: #fcf4e5;--color-secondary-200: #f7e8cf;--color-secondary-300: #f5dab0;--color-secondary-400: #f4cc8c;--color-secondary-500: #f2bd6a;--color-secondary-600: #cd9a4c;--color-secondary-700: #936c2f}html[data-theme=lawsdistrict]{--font-main: "Inter", sans-serif;--color-principal: #7d2eff;--color-background: #f8f9fa;--color-bg-modal-01: #6d727551;--color-drop-shadow-01: #02374a33;--color-error-25: #ffecef;--color-error-200: #f09d9e;--color-error-principal: #d63737;--color-neutral-white: #ffffff;--color-neutral-25: #f8f9fa;--color-neutral-50: #f3f7fa;--color-neutral-200: #dbe1e5;--color-neutral-400: #b5babd;--color-neutral-600: #6d7275;--color-neutral-800: #3d4042;--color-neutral-900: #1e2021;--color-primary-50: #f9f5ff;--color-primary-100: #e3d1ff;--color-primary-200: #b68aff;--color-primary-300: #a56dff;--color-primary-400: #9e63ff;--color-primary-500: #7d2eff;--color-primary-700: #320085;--color-primary-800: #23005c;--color-primary-900: #11002d;--color-secondary-50: #eff7f5;--color-secondary-100: #e4f8f3;--color-secondary-200: #c0f7e8;--color-secondary-300: #5dd8c3;--color-secondary-400: #34b2a7;--color-secondary-500: #078080;--color-secondary-600: #05646e;--color-secondary-700: #02374a;--color-secondary-900: #032a38}html[data-theme=lawdistrictinfo]{--font-main: "Inter", sans-serif;--color-principal: #00b649;--color-background: #f8f9fa;--color-bg-modal-01: #6d727551;--color-drop-shadow-01: #02374a33;--color-error-25: #ffecef;--color-error-200: #f09d9e;--color-error-principal: #d63737;--color-neutral-white: #ffffff;--color-neutral-25: #f8f9fa;--color-neutral-50: #f3f7fa;--color-neutral-200: #dbe1e5;--color-neutral-400: #b5babd;--color-neutral-600: #6d7275;--color-neutral-800: #3d4042;--color-neutral-900: #1e2021;--color-primary-50: #e7fff1;--color-primary-100: #d5ffe6;--color-primary-200: #6affa5;--color-primary-300: #16ff73;--color-primary-400: #00df59;--color-primary-500: #00b649;--color-primary-700: #008e39;--color-primary-800: #003c18;--color-primary-900: #001709;--color-secondary-50: #eff7f5;--color-secondary-100: #e4f8f3;--color-secondary-200: #c0f7e8;--color-secondary-300: #5dd8c3;--color-secondary-400: #34b2a7;--color-secondary-500: #078080;--color-secondary-600: #05646e;--color-secondary-700: #02374a;--color-secondary-900: #032a38}html[data-theme=uslawdistrict]{--font-main: "Inter", sans-serif;--color-principal: #d68d00;--color-background: #f8f9fa;--color-bg-modal-01: #6d727551;--color-drop-shadow-01: #02374a33;--color-error-25: #ffecef;--color-error-200: #f09d9e;--color-error-principal: #d63737;--color-neutral-white: #ffffff;--color-neutral-25: #f8f9fa;--color-neutral-50: #f3f7fa;--color-neutral-200: #dbe1e5;--color-neutral-400: #b5babd;--color-neutral-600: #6d7275;--color-neutral-800: #3d4042;--color-neutral-900: #1e2021;--color-primary-50: #fffbf2;--color-primary-100: #fff6e5;--color-primary-200: #ffe6b7;--color-primary-300: #ffc75c;--color-primary-400: #ffa800;--color-primary-500: #d68d00;--color-primary-700: #855800;--color-primary-800: #3d2800;--color-primary-900: #231700;--color-secondary-50: #eff7f5;--color-secondary-100: #e4f8f3;--color-secondary-200: #c0f7e8;--color-secondary-300: #5dd8c3;--color-secondary-400: #34b2a7;--color-secondary-500: #078080;--color-secondary-600: #05646e;--color-secondary-700: #02374a;--color-secondary-900: #032a38}html[data-theme=legalfinity]{--font-main: "Poppins", sans-serif;--font-inter: "Poppins", sans-serif;--font-lora: "Poppins", serif;--color-principal: #3970ff;--color-background: #f8f9fa;--color-bg-modal-01: #6d727551;--color-drop-shadow-01: #02374a33;--color-error-25: #ffecef;--color-error-200: #f09d9e;--color-error-principal: #d63737;--color-neutral-white: #ffffff;--color-neutral-25: #f5f7fa;--color-neutral-50: #ebeef3;--color-neutral-200: #d2d9e5;--color-neutral-400: #abbbce;--color-neutral-600: #496080;--color-neutral-800: #2f3a4b;--color-neutral-900: #1f2532;--color-primary-50: #e9f5ff;--color-primary-100: #d7ecff;--color-primary-200: #b7daff;--color-primary-300: #8bc1ff;--color-primary-400: #5e99ff;--color-primary-500: #1039f5;--color-primary-700: #1039f5;--color-primary-800: #163399;--color-primary-900: #07144b;--color-secondary-50: #fff6ed;--color-secondary-100: #fff0d5;--color-secondary-200: #fedcaa;--color-secondary-300: #fdc374;--color-secondary-400: #fb9e3c;--color-secondary-500: #f98116;--color-secondary-600: #ea660c;--color-secondary-700: #d3530d}
1
+ html{--color-principal: #078080;--color-background: #f8f9fa;--color-bg-modal-01: #6d727551;--color-drop-shadow-01: #02374a33;--color-error-25: #ffecef;--color-error-200: #f09d9e;--color-error-principal: #d63737;--color-neutral-White: #ffffff;--color-neutral-25: #f8f9fa;--color-neutral-50: #f3f7fa;--color-neutral-200: #dbe1e5;--color-neutral-400: #b5babd;--color-neutral-600: #6d7275;--color-neutral-800: #3d4042;--color-neutral-900: #1e2021;--color-primary-50: #eff7f5;--color-primary-100: #e4f8f3;--color-primary-200: #c0f7e8;--color-primary-300: #5dd8c3;--color-primary-400: #34b2a7;--color-primary-500: #078080;--color-primary-700: #05646e;--color-primary-800: #02374a;--color-primary-900: #032a38;--color-secondary-50: #fcf9f5;--color-secondary-100: #fcf4e5;--color-secondary-200: #f7e8cf;--color-secondary-300: #f5dab0;--color-secondary-400: #f4cc8c;--color-secondary-500: #f2bd6a;--color-secondary-600: #cd9a4c;--color-secondary-700: #936c2f}html[data-theme=districtlaws]{--font-main: "Inter", sans-serif;--color-principal: #f26600;--color-background: #f8f9fa;--color-bg-modal-01: #6d727551;--color-drop-shadow-01: #02374a33;--color-error-25: #ffecef;--color-error-200: #f09d9e;--color-error-principal: #d63737;--color-neutral-white: #ffffff;--color-neutral-25: #f8f9fa;--color-neutral-50: #f3f7fa;--color-neutral-200: #dbe1e5;--color-neutral-400: #b5babd;--color-neutral-600: #6d7275;--color-neutral-800: #3d4042;--color-neutral-900: #1e2021;--color-primary-50: #fff5ee;--color-primary-100: #ffe1cc;--color-primary-200: #ffc59b;--color-primary-300: #ffa05c;--color-primary-400: #ff862e;--color-primary-500: #f26600;--color-primary-700: #c95500;--color-primary-800: #4f2100;--color-primary-900: #220f00;--color-secondary-50: #eff7f5;--color-secondary-100: #e4f8f3;--color-secondary-200: #c0f7e8;--color-secondary-300: #5dd8c3;--color-secondary-400: #34b2a7;--color-secondary-500: #078080;--color-secondary-600: #05646e;--color-secondary-700: #02374a;--color-secondary-900: #032a38}html[data-theme=lawdistricts]{--font-main: "Inter", sans-serif;--color-principal: #485aff;--color-background: #f8f9fa;--color-bg-modal-01: #6d727551;--color-drop-shadow-01: #02374a33;--color-error-25: #ffecef;--color-error-200: #f09d9e;--color-error-principal: #d63737;--color-neutral-white: #ffffff;--color-neutral-25: #f8f9fa;--color-neutral-50: #f3f7fa;--color-neutral-200: #dbe1e5;--color-neutral-400: #b5babd;--color-neutral-600: #6d7275;--color-neutral-800: #3d4042;--color-neutral-900: #1e2021;--color-primary-50: #f9f9ff;--color-primary-100: #eceeff;--color-primary-200: #c3c9ff;--color-primary-300: #9aa4ff;--color-primary-400: #717fff;--color-primary-500: #485aff;--color-primary-700: #1725a6;--color-primary-800: #050e5a;--color-primary-900: #000533;--color-secondary-50: #eff7f5;--color-secondary-100: #e4f8f3;--color-secondary-200: #c0f7e8;--color-secondary-300: #5dd8c3;--color-secondary-400: #34b2a7;--color-secondary-500: #078080;--color-secondary-600: #05646e;--color-secondary-700: #02374a;--color-secondary-900: #032a38}html[data-theme=lawdistrict]{--font-main: "Inter", sans-serif;--background: #ffffff;--foreground: #171717;--font-inter: "Inter", sans-serif;--font-lora: "Lora", serif;--primary-50: #eff7f5;--primary-100: #e4f8f3;--primary-200: #c0f7e8;--primary-300: #5dd8c3;--primary-400: #34b2a7;--primary-500: #078080;--primary-700: #05646e;--primary-800: #02374a;--primary-900: #032a38;--secondary-50: #fcf9f5;--secondary-100: #fcf4e5;--secondary-200: #f7e8cf;--secondary-300: #f5dab0;--secondary-400: #f4cc8c;--secondary-500: #f2bd6a;--secondary-600: #cd9a4c;--secondary-700: #936c2f;--neutral-25: #f8f9fa;--neutral-50: #f3f7fa;--neutral-200: #dbe1e5;--neutral-400: #b5babd;--neutral-600: #6d7275;--neutral-800: #3d4042;--neutral-900: #1e2021;--neutral-white: #ffffff;--error-25: #ffecef;--error-200: #f09d9e;--error-500: #d63737}html[data-theme=lawsdistrict]{--font-main: "Inter", sans-serif;--color-principal: #7d2eff;--color-background: #f8f9fa;--color-bg-modal-01: #6d727551;--color-drop-shadow-01: #02374a33;--color-error-25: #ffecef;--color-error-200: #f09d9e;--color-error-principal: #d63737;--color-neutral-white: #ffffff;--color-neutral-25: #f8f9fa;--color-neutral-50: #f3f7fa;--color-neutral-200: #dbe1e5;--color-neutral-400: #b5babd;--color-neutral-600: #6d7275;--color-neutral-800: #3d4042;--color-neutral-900: #1e2021;--color-primary-50: #f9f5ff;--color-primary-100: #e3d1ff;--color-primary-200: #b68aff;--color-primary-300: #a56dff;--color-primary-400: #9e63ff;--color-primary-500: #7d2eff;--color-primary-700: #320085;--color-primary-800: #23005c;--color-primary-900: #11002d;--color-secondary-50: #eff7f5;--color-secondary-100: #e4f8f3;--color-secondary-200: #c0f7e8;--color-secondary-300: #5dd8c3;--color-secondary-400: #34b2a7;--color-secondary-500: #078080;--color-secondary-600: #05646e;--color-secondary-700: #02374a;--color-secondary-900: #032a38}html[data-theme=lawdistrictinfo]{--font-main: "Inter", sans-serif;--color-principal: #00b649;--color-background: #f8f9fa;--color-bg-modal-01: #6d727551;--color-drop-shadow-01: #02374a33;--color-error-25: #ffecef;--color-error-200: #f09d9e;--color-error-principal: #d63737;--color-neutral-white: #ffffff;--color-neutral-25: #f8f9fa;--color-neutral-50: #f3f7fa;--color-neutral-200: #dbe1e5;--color-neutral-400: #b5babd;--color-neutral-600: #6d7275;--color-neutral-800: #3d4042;--color-neutral-900: #1e2021;--color-primary-50: #e7fff1;--color-primary-100: #d5ffe6;--color-primary-200: #6affa5;--color-primary-300: #16ff73;--color-primary-400: #00df59;--color-primary-500: #00b649;--color-primary-700: #008e39;--color-primary-800: #003c18;--color-primary-900: #001709;--color-secondary-50: #eff7f5;--color-secondary-100: #e4f8f3;--color-secondary-200: #c0f7e8;--color-secondary-300: #5dd8c3;--color-secondary-400: #34b2a7;--color-secondary-500: #078080;--color-secondary-600: #05646e;--color-secondary-700: #02374a;--color-secondary-900: #032a38}html[data-theme=uslawdistrict]{--font-main: "Inter", sans-serif;--color-principal: #d68d00;--color-background: #f8f9fa;--color-bg-modal-01: #6d727551;--color-drop-shadow-01: #02374a33;--color-error-25: #ffecef;--color-error-200: #f09d9e;--color-error-principal: #d63737;--color-neutral-white: #ffffff;--color-neutral-25: #f8f9fa;--color-neutral-50: #f3f7fa;--color-neutral-200: #dbe1e5;--color-neutral-400: #b5babd;--color-neutral-600: #6d7275;--color-neutral-800: #3d4042;--color-neutral-900: #1e2021;--color-primary-50: #fffbf2;--color-primary-100: #fff6e5;--color-primary-200: #ffe6b7;--color-primary-300: #ffc75c;--color-primary-400: #ffa800;--color-primary-500: #d68d00;--color-primary-700: #855800;--color-primary-800: #3d2800;--color-primary-900: #231700;--color-secondary-50: #eff7f5;--color-secondary-100: #e4f8f3;--color-secondary-200: #c0f7e8;--color-secondary-300: #5dd8c3;--color-secondary-400: #34b2a7;--color-secondary-500: #078080;--color-secondary-600: #05646e;--color-secondary-700: #02374a;--color-secondary-900: #032a38}html[data-theme=legalfinity]{--font-main: "Poppins", sans-serif;--background: #ffffff;--foreground: #171717;--font-inter: "Poppins", sans-serif;--font-lora: "Poppins", serif;--primary-50: #e9f5ff;--primary-100: #d7ecff;--primary-200: #b7daff;--primary-300: #8bc1ff;--primary-400: #5e99ff;--primary-500: #3970ff;--primary-700: #1039f5;--primary-800: #163399;--primary-900: #07144b;--secondary-50: #fff6ed;--secondary-100: #fff0d5;--secondary-200: #fedcaa;--secondary-300: #fdc374;--secondary-400: #fb9e3c;--secondary-500: #f98116;--secondary-600: #ea660c;--secondary-700: #d3530d;--neutral-25: #f5f7fa;--neutral-50: #ebeef3;--neutral-200: #d2d9e5;--neutral-400: #abbbce;--neutral-600: #496080;--neutral-800: #2f3a4b;--neutral-900: #1f2532;--neutral-white: #ffffff;--error-25: #ffecef;--error-200: #f09d9e;--error-500: #d63737}
@@ -79,10 +79,10 @@ export interface IntroSectionProps {
79
79
  }
80
80
 
81
81
  export interface Jumbotron2Props {
82
- title: ReactNode;
82
+ title: string;
83
83
  subtitle?: string;
84
84
  className?: string;
85
- children?: ReactNode;
85
+ children?: React.ReactNode;
86
86
  variant?: 'default' | 'contact';
87
87
  }
88
88
 
@@ -3,6 +3,6 @@ import { JSX } from 'react/jsx-runtime';
3
3
  export declare const Anchor: ({ children, variant, className, ...props }: AnchorProps) => JSX.Element;
4
4
 
5
5
  export interface AnchorProps extends React.ComponentProps<'a'> {
6
- variant?: 'default' | 'legal' | 'ratafia' | 'tooltip' | 'about-us' | 'pricing' | 'unsubscribe' | 'cookies';
6
+ variant?: 'default' | 'legal' | 'tooltip' | 'about-us' | 'pricing' | 'unsubscribe' | 'cookies';
7
7
  }
8
8
 
@@ -1,16 +1,15 @@
1
1
  import { jsx as d } from "react/jsx-runtime";
2
2
  import p from "clsx";
3
- const b = ({ children: a, variant: c = "default", className: l = "", ...r }) => {
4
- const t = r.href || "", n = t.toLowerCase(), u = n.startsWith("mailto:"), o = n.startsWith("tel:"), e = "cursor-pointer text-primary-700", s = {
3
+ const v = ({ children: i, variant: c = "default", className: l = "", ...r }) => {
4
+ const t = r.href || "", s = t.toLowerCase(), u = s.startsWith("mailto:"), n = s.startsWith("tel:"), e = "cursor-pointer text-primary-700", o = {
5
5
  default: "text-neutral-900 underline",
6
6
  legal: e,
7
- ratafia: "cursor-pointer text-primary-200 underline decoration-white/40 underline-offset-2 hover:text-white",
8
7
  "about-us": e,
9
8
  pricing: "cursor-pointer text-neutral-900",
10
9
  unsubscribe: e,
11
10
  cookies: "text-white"
12
- }, f = s[c] ?? s.default, i = t.startsWith("http") && !o && !u, h = (() => {
13
- if (!o) return t;
11
+ }, f = o[c] ?? o.default, a = t.startsWith("http") && !n && !u, h = (() => {
12
+ if (!n) return t;
14
13
  try {
15
14
  return decodeURIComponent(t).replace(/\s/g, "");
16
15
  } catch {
@@ -23,12 +22,12 @@ const b = ({ children: a, variant: c = "default", className: l = "", ...r }) =>
23
22
  ...r,
24
23
  href: h,
25
24
  className: p(l, f),
26
- target: i ? "_blank" : void 0,
27
- rel: i ? "noopener noreferrer" : void 0,
28
- children: a
25
+ target: a ? "_blank" : void 0,
26
+ rel: a ? "noopener noreferrer" : void 0,
27
+ children: i
29
28
  }
30
29
  );
31
30
  };
32
31
  export {
33
- b as Anchor
32
+ v as Anchor
34
33
  };
@@ -3,6 +3,6 @@ import { JSX } from 'react/jsx-runtime';
3
3
  export declare const Blockquote: ({ children, variant }: BlockquoteProps) => JSX.Element;
4
4
 
5
5
  export interface BlockquoteProps extends React.ComponentProps<'blockquote'> {
6
- variant?: 'default' | 'legal' | 'ratafia' | 'tooltip' | 'about-us' | 'pricing' | 'unsubscribe' | 'cookies';
6
+ variant?: 'default' | 'legal' | 'tooltip' | 'about-us' | 'pricing' | 'unsubscribe' | 'cookies';
7
7
  }
8
8
 
@@ -1,13 +1,13 @@
1
- import { jsx as l } from "react/jsx-runtime";
2
- import o from "clsx";
3
- const s = ({ children: r, variant: a = "default" }) => {
1
+ import { jsx as o } from "react/jsx-runtime";
2
+ import l from "clsx";
3
+ const b = ({ children: r, variant: e = "default" }) => {
4
4
  const t = {
5
- default: "my-4 border-l-4 border-gray-300 pl-4 text-gray-700 italic",
6
- "about-us": "my-4 text-gray-700 italic bg-neutral-25 pt-4 px-4 pb-0.5",
7
- unsubscribe: "my-4 border-l-4 border-neutral-300 pl-4 text-neutral-700 italic"
8
- }, e = t[a] ?? t.default;
9
- return /* @__PURE__ */ l("blockquote", { className: o("my-4 italic", e), children: r });
5
+ default: "border-l-4 border-gray-300 pl-4 text-gray-700 ",
6
+ "about-us": "text-gray-700 bg-neutral-25 pt-4 px-4 pb-0.5",
7
+ unsubscribe: "border-l-4 border-neutral-300 pl-4 text-neutral-700"
8
+ }, a = t[e] ?? t.default;
9
+ return /* @__PURE__ */ o("blockquote", { className: l("my-4 italic", a), children: r });
10
10
  };
11
11
  export {
12
- s as Blockquote
12
+ b as Blockquote
13
13
  };
@@ -18,7 +18,7 @@ const C = () => /* @__PURE__ */ e("div", { role: "status", "aria-live": "polite"
18
18
  /* @__PURE__ */ e(o, { ...i, variant: "primary-green" })
19
19
  ] }), B = ({ title: r, message: l, cta: i }) => /* @__PURE__ */ t("div", { role: "status", "aria-live": "polite", className: "flex flex-col items-center justify-center gap-8 px-4 py-3", children: [
20
20
  /* @__PURE__ */ t("div", { className: "flex flex-col items-center gap-2", children: [
21
- /* @__PURE__ */ e("div", { className: "bg-primary-100 w-fit rounded-full p-3", children: /* @__PURE__ */ e(w, { width: 48, height: 48, fill: "var(--primary-500)" }) }),
21
+ /* @__PURE__ */ e("div", { className: "bg-primary-100 w-fit rounded-full p-3", children: /* @__PURE__ */ e(w, { width: 48, height: 48, fill: "var(--color-primary-500)" }) }),
22
22
  /* @__PURE__ */ e("p", { className: "text-big font-bold text-neutral-800", children: r }),
23
23
  /* @__PURE__ */ e("p", { className: "text-medium text-neutral-800", children: l })
24
24
  ] }),
@@ -1,35 +1,35 @@
1
- import { jsxs as l, Fragment as r, jsx as a } from "react/jsx-runtime";
1
+ import { jsxs as i, Fragment as n, jsx as a } from "react/jsx-runtime";
2
2
  import { SinglePhoneIcon as s } from "./SinglePhoneIcon.js";
3
3
  import { PhoneTalkIcon as m } from "./PhoneTalkIcon.js";
4
4
  import { MailFillIcon as c } from "./MailFillIcon.js";
5
5
  import { LocationIcon as o } from "./LocationIcon.js";
6
- import { LinkWrapper as n } from "./LinkWrapper.js";
7
- const v = ({ label: e, helper: i, variant: t }) => /* @__PURE__ */ l("article", { className: "bg-neutral-25 flex flex-wrap gap-2 rounded-sm p-4 md:flex-col", children: [
8
- t === "phone" && /* @__PURE__ */ l(r, { children: [
9
- /* @__PURE__ */ l(n, { variant: "primary-green", className: "w-full md:hidden", children: [
6
+ import { LinkWrapper as t } from "./LinkWrapper.js";
7
+ const v = ({ label: e, helper: l, variant: r }) => /* @__PURE__ */ i("article", { className: "bg-neutral-25 flex flex-wrap gap-2 rounded-sm p-4 md:flex-col", children: [
8
+ r === "phone" && /* @__PURE__ */ i(n, { children: [
9
+ /* @__PURE__ */ i(t, { variant: "primary-green", className: "w-full md:hidden", children: [
10
10
  /* @__PURE__ */ a(s, { width: 22, height: 22, fill: "white" }),
11
11
  " ",
12
12
  e
13
13
  ] }),
14
- /* @__PURE__ */ l("div", { className: "hidden gap-2 md:flex", children: [
15
- /* @__PURE__ */ a("span", { className: "shrink-0", children: /* @__PURE__ */ a(m, { fill: "var(--primary-800)" }) }),
16
- /* @__PURE__ */ l("div", { className: "flex flex-col gap-1", children: [
17
- /* @__PURE__ */ a(n, { className: "justify-start! p-0! no-underline!", variant: "tertiary-link", children: /* @__PURE__ */ a("span", { className: "text-medium text-primary-800 font-bold", children: e }) }),
18
- i && /* @__PURE__ */ a("p", { className: "text-small mx-auto text-neutral-600 md:mx-0", children: i })
14
+ /* @__PURE__ */ i("div", { className: "hidden gap-2 md:flex", children: [
15
+ /* @__PURE__ */ a("span", { className: "shrink-0", children: /* @__PURE__ */ a(m, { fill: "var(--color-primary-800)" }) }),
16
+ /* @__PURE__ */ i("div", { className: "flex flex-col gap-1", children: [
17
+ /* @__PURE__ */ a(t, { className: "justify-start! p-0! no-underline!", variant: "tertiary-link", children: /* @__PURE__ */ a("span", { className: "text-medium text-primary-800 font-bold", children: e }) }),
18
+ l && /* @__PURE__ */ a("p", { className: "text-small mx-auto text-neutral-600 md:mx-0", children: l })
19
19
  ] })
20
20
  ] }),
21
- i && /* @__PURE__ */ a("p", { className: "text-small mx-auto text-neutral-600 md:mx-0 md:hidden", children: i })
21
+ l && /* @__PURE__ */ a("p", { className: "text-small mx-auto text-neutral-600 md:mx-0 md:hidden", children: l })
22
22
  ] }),
23
- t === "email" && /* @__PURE__ */ l("div", { className: "flex gap-2", children: [
24
- /* @__PURE__ */ a("span", { className: "shrink-0", children: /* @__PURE__ */ a(c, { fill: "var(--primary-800)" }) }),
25
- /* @__PURE__ */ l("div", { className: "flex flex-col gap-1", children: [
26
- /* @__PURE__ */ a(n, { className: "justify-start! p-0!", variant: "tertiary-link", children: /* @__PURE__ */ a("span", { className: "text-medium text-primary-800 font-bold", children: e }) }),
27
- i && /* @__PURE__ */ a("p", { className: "text-small text-neutral-600", children: i })
23
+ r === "email" && /* @__PURE__ */ i("div", { className: "flex gap-2", children: [
24
+ /* @__PURE__ */ a("span", { className: "shrink-0", children: /* @__PURE__ */ a(c, { fill: "var(--color-primary-800)" }) }),
25
+ /* @__PURE__ */ i("div", { className: "flex flex-col gap-1", children: [
26
+ /* @__PURE__ */ a(t, { className: "justify-start! p-0!", variant: "tertiary-link", children: /* @__PURE__ */ a("span", { className: "text-medium text-primary-800 font-bold", children: e }) }),
27
+ l && /* @__PURE__ */ a("p", { className: "text-small text-neutral-600", children: l })
28
28
  ] })
29
29
  ] }),
30
- t === "location" && /* @__PURE__ */ l("div", { className: "flex gap-2", children: [
31
- /* @__PURE__ */ a("span", { className: "shrink-0", children: /* @__PURE__ */ a(o, { fill: "var(--primary-800)" }) }),
32
- i && /* @__PURE__ */ a("p", { className: "text-small text-neutral-600", children: i })
30
+ r === "location" && /* @__PURE__ */ i("div", { className: "flex gap-2", children: [
31
+ /* @__PURE__ */ a("span", { className: "shrink-0", children: /* @__PURE__ */ a(o, { fill: "var(--color-primary-800)" }) }),
32
+ l && /* @__PURE__ */ a("p", { className: "text-small text-neutral-600", children: l })
33
33
  ] })
34
34
  ] });
35
35
  export {
@@ -101,10 +101,10 @@ export declare interface ContactUsTemplateProps {
101
101
  export type IconPosition = 'left' | 'right' | 'top';
102
102
 
103
103
  export interface Jumbotron2Props {
104
- title: ReactNode;
104
+ title: string;
105
105
  subtitle?: string;
106
106
  className?: string;
107
- children?: ReactNode;
107
+ children?: React.ReactNode;
108
108
  variant?: 'default' | 'contact';
109
109
  }
110
110
 
@@ -1,6 +1,6 @@
1
1
  import { jsxs as l, jsx as e } from "react/jsx-runtime";
2
2
  import "react";
3
- const a = ({ fill: i = "var(--primary-900)", ...s }) => /* @__PURE__ */ l("svg", { xmlns: "http://www.w3.org/2000/svg", width: "32", height: "32", fill: "none", viewBox: "0 0 32 32", ...s, children: [
3
+ const a = ({ fill: i = "var(--color-primary-900)", ...s }) => /* @__PURE__ */ l("svg", { xmlns: "http://www.w3.org/2000/svg", width: "32", height: "32", fill: "none", viewBox: "0 0 32 32", ...s, children: [
4
4
  /* @__PURE__ */ e(
5
5
  "mask",
6
6
  {
@@ -2,9 +2,9 @@ import { jsx as e, jsxs as r } from "react/jsx-runtime";
2
2
  import { useId as c } from "react";
3
3
  import { FaqItemWrapper as d } from "./FaqItemWrapper.js";
4
4
  import { Markdown as p } from "./Markdown.js";
5
- import { ChevronDownIcon as n } from "./ChevronDownIcon.js";
5
+ import { ChevronDownIcon as o } from "./ChevronDownIcon.js";
6
6
  const b = ({
7
- question: o,
7
+ question: n,
8
8
  answer: l,
9
9
  showMoreText: a,
10
10
  collapsedButtonText: i,
@@ -12,7 +12,7 @@ const b = ({
12
12
  variant: m
13
13
  }) => {
14
14
  const t = `toggle-${c().replace(/:/g, "")}`;
15
- return /* @__PURE__ */ e("div", { className: "text-medium flex flex-col rounded bg-white p-4 text-neutral-800 shadow", children: /* @__PURE__ */ r(d, { question: /* @__PURE__ */ e("span", { className: "font-bold", children: o }), children: [
15
+ return /* @__PURE__ */ e("div", { className: "text-medium flex flex-col rounded bg-white p-4 text-neutral-800 shadow", children: /* @__PURE__ */ r(d, { question: /* @__PURE__ */ e("span", { className: "font-bold", children: n }), children: [
16
16
  /* @__PURE__ */ e(p, { content: l, className: "text-medium", variant: m ?? "default" }),
17
17
  a && /* @__PURE__ */ r("div", { className: "mt-4 rounded-lg bg-neutral-50 p-6", children: [
18
18
  /* @__PURE__ */ e("input", { type: "checkbox", id: t, className: "peer sr-only" }),
@@ -24,7 +24,7 @@ const b = ({
24
24
  className: "text-primary-700 flex cursor-pointer items-center gap-1 text-sm transition-colors peer-checked:hidden",
25
25
  children: [
26
26
  s,
27
- /* @__PURE__ */ e(n, { fill: "var(--primary-700)", className: "h-4 w-4 transition-transform duration-200" })
27
+ /* @__PURE__ */ e(o, { fill: "var(--color-primary-700)", className: "h-4 w-4 transition-transform duration-200" })
28
28
  ]
29
29
  }
30
30
  ),
@@ -36,9 +36,9 @@ const b = ({
36
36
  children: [
37
37
  i,
38
38
  /* @__PURE__ */ e(
39
- n,
39
+ o,
40
40
  {
41
- fill: "var(--primary-700)",
41
+ fill: "var(--color-primary-700)",
42
42
  className: "h-4 w-4 rotate-180 transition-transform duration-200"
43
43
  }
44
44
  )
@@ -1,5 +1,4 @@
1
1
  import { FC } from 'react';
2
- import { ReactNode } from 'react';
3
2
 
4
3
  export interface AsideNavMenuProps {
5
4
  menuItems: Array<{
@@ -34,10 +33,10 @@ export declare interface FaqsTemplateProps {
34
33
  }
35
34
 
36
35
  export interface Jumbotron2Props {
37
- title: ReactNode;
36
+ title: string;
38
37
  subtitle?: string;
39
38
  className?: string;
40
- children?: ReactNode;
39
+ children?: React.ReactNode;
41
40
  variant?: 'default' | 'contact';
42
41
  }
43
42
 
@@ -1,23 +1,23 @@
1
1
  import { jsxs as l, jsx as e } from "react/jsx-runtime";
2
2
  import "react";
3
3
  import { PhoneButton as o } from "./PhoneButton.js";
4
- import { FooterNav as f } from "./FooterNav.js";
4
+ import { FooterNav as p } from "./FooterNav.js";
5
5
  const g = ({
6
6
  nav: r,
7
7
  contactInfo: t,
8
- logoGray: d,
9
- socialLinks: i,
10
- legalLinks: x,
11
- disclaimerText: c,
8
+ logoGray: i,
9
+ socialLinks: d,
10
+ legalLinks: c,
11
+ disclaimerText: x,
12
12
  copyrightText: n,
13
- trustPilot: m,
14
- languageSelector: s
15
- }) => /* @__PURE__ */ l("footer", { className: "text-neutral-25 max-w-full overflow-x-hidden", children: [
13
+ trustPilot: s,
14
+ languageSelector: m
15
+ }) => /* @__PURE__ */ l("footer", { className: "text-neutral-25", children: [
16
16
  /* @__PURE__ */ e("div", { className: "bg-primary-900", children: /* @__PURE__ */ l("div", { className: "mx-auto flex w-full max-w-300 flex-col items-start gap-8 px-6 py-10 md:grid md:grid-cols-3 lg:flex lg:flex-row lg:justify-between", children: [
17
- r.map((a) => /* @__PURE__ */ e(f, { ...a }, a.title)),
17
+ r.map((a) => /* @__PURE__ */ e(p, { ...a }, a.title)),
18
18
  /* @__PURE__ */ l("div", { className: "flex flex-col gap-6 max-sm:w-full md:contents lg:flex", children: [
19
19
  /* @__PURE__ */ l("div", { className: "", children: [
20
- /* @__PURE__ */ e("div", { className: "mb-8 xl:hidden", children: !!s && /* @__PURE__ */ e("div", { className: "language-selector-mobile-container", children: s }) }),
20
+ /* @__PURE__ */ e("div", { className: "mb-8 xl:hidden", children: !!m && /* @__PURE__ */ e("div", { className: "language-selector-mobile-container", children: m }) }),
21
21
  /* @__PURE__ */ l("div", { children: [
22
22
  /* @__PURE__ */ e("p", { className: "text-small hidden font-bold text-white sm:block", children: t.phoneNumber }),
23
23
  /* @__PURE__ */ e("div", { className: "mb-2 w-full text-center sm:hidden", children: /* @__PURE__ */ e(o, { phoneNumber: t.phoneNumber }) }),
@@ -28,17 +28,17 @@ const g = ({
28
28
  ] })
29
29
  ] })
30
30
  ] }),
31
- !!m && /* @__PURE__ */ e("div", { className: "flex flex-col gap-2", children: m })
31
+ !!s && /* @__PURE__ */ e("div", { className: "flex flex-col gap-2", children: s })
32
32
  ] })
33
33
  ] }) }),
34
34
  /* @__PURE__ */ e("div", { className: "bg-neutral-900 px-6 py-8 text-neutral-400", children: /* @__PURE__ */ l("div", { className: "mx-auto flex w-full max-w-300 flex-col gap-6", children: [
35
35
  /* @__PURE__ */ l("div", { className: "flex flex-col items-start gap-6 md:flex-row md:justify-between", children: [
36
- d,
37
- /* @__PURE__ */ e("div", { className: "flex gap-4", children: i?.map((a) => a) })
36
+ i,
37
+ /* @__PURE__ */ e("div", { className: "flex gap-4", children: d?.map((a) => a) })
38
38
  ] }),
39
39
  /* @__PURE__ */ e("div", { className: "h-px w-full bg-neutral-600" }),
40
- /* @__PURE__ */ e("div", { className: "text-extra-small flex flex-wrap gap-4", children: x?.map((a) => a) }),
41
- /* @__PURE__ */ e("p", { className: "text-extra-small text-neutral-400", children: c }),
40
+ /* @__PURE__ */ e("div", { className: "text-extra-small flex flex-wrap gap-4", children: c?.map((a) => a) }),
41
+ /* @__PURE__ */ e("p", { className: "text-extra-small text-neutral-400", children: x }),
42
42
  /* @__PURE__ */ e("p", { className: "text-extra-small text-neutral-400", children: n })
43
43
  ] }) })
44
44
  ] });
@@ -3,6 +3,6 @@ import { JSX } from 'react/jsx-runtime';
3
3
  export declare const Header2: ({ children, variant }: Header2Props) => JSX.Element;
4
4
 
5
5
  export interface Header2Props extends React.ComponentProps<'h2'> {
6
- variant?: 'default' | 'legal' | 'ratafia' | 'tooltip' | 'about-us' | 'pricing' | 'unsubscribe' | 'cookies';
6
+ variant?: 'default' | 'legal' | 'tooltip' | 'about-us' | 'pricing' | 'unsubscribe' | 'cookies';
7
7
  }
8
8
 
@@ -1,14 +1,13 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import m from "clsx";
3
- const s = ({ children: e, variant: l = "default" }) => {
2
+ import s from "clsx";
3
+ const m = ({ children: e, variant: l = "default" }) => {
4
4
  const t = {
5
5
  default: "mt-5 mb-3 text-3xl text-gray-900",
6
6
  legal: "mt-5 -mx-ds-11xl mb-6 bg-white px-ds-11xl text-left text-neutral-800 text-3xl",
7
- ratafia: "mt-4 mb-3 text-left text-xl font-bold text-white lg:text-2xl",
8
7
  unsubscribe: "mt-0 mb-0 w-full bg-white pb-4 pt-8 text-left text-3xl leading-tight text-neutral-900 font-sans tracking-tight md:text-4xl md:leading-8"
9
8
  }, x = t[l] ?? t.default;
10
- return /* @__PURE__ */ a("h2", { className: m("font-bold", x), children: e });
9
+ return /* @__PURE__ */ a("h2", { className: s("font-bold", x), children: e });
11
10
  };
12
11
  export {
13
- s as Header2
12
+ m as Header2
14
13
  };
@@ -4,10 +4,10 @@ import { HeroSection as n } from "./HeroSection.js";
4
4
  import { MoreTemplatesSection as f } from "./MoreTemplatesSection.js";
5
5
  import { ProcessSection as l } from "./ProcessSection.js";
6
6
  import { CategoriesSection as S } from "./CategoriesSection.js";
7
- import { TrustSection as x } from "./TrustSection.js";
8
- import { FaqTeaserSection as T } from "./FaqTeaserSection.js";
9
- import { BlogSection as b } from "./BlogSection.js";
10
- import { RatafiaSection as g } from "./RatafiaSection.js";
7
+ import { RatafiaSection as x } from "./RatafiaSection.js";
8
+ import { TrustSection as T } from "./TrustSection.js";
9
+ import { FaqTeaserSection as b } from "./FaqTeaserSection.js";
10
+ import { BlogSection as g } from "./BlogSection.js";
11
11
  const M = ({
12
12
  hero: t,
13
13
  moreTemplates: m,
@@ -22,10 +22,10 @@ const M = ({
22
22
  /* @__PURE__ */ o(f, { ...m }),
23
23
  /* @__PURE__ */ o(l, { ...e }),
24
24
  r && /* @__PURE__ */ o(S, { ...r }),
25
- /* @__PURE__ */ o(g, { ...i }),
26
- /* @__PURE__ */ o(x, { ...p }),
27
- /* @__PURE__ */ o(T, { ...s }),
28
- /* @__PURE__ */ o(b, { className: "pt-10 pb-12 lg:pb-14", ...a })
25
+ /* @__PURE__ */ o(x, { ...i }),
26
+ /* @__PURE__ */ o(T, { ...p }),
27
+ /* @__PURE__ */ o(b, { ...s }),
28
+ /* @__PURE__ */ o(g, { className: "pt-10 pb-12 lg:pb-14", ...a })
29
29
  ] });
30
30
  export {
31
31
  M as HomeTemplate
@@ -1,4 +1,17 @@
1
+ import { ComponentPropsWithRef } from 'react';
1
2
  import { FC } from 'react';
3
+ import { ReactNode } from 'react';
4
+
5
+ export interface ButtonProps extends Omit<ComponentPropsWithRef<'button'>, 'children'> {
6
+ children: ReactNode;
7
+ size?: ButtonSize;
8
+ variant?: ResponsiveButtonVariant;
9
+ iconPosition?: IconPosition;
10
+ }
11
+
12
+ export type ButtonSize = 'small' | 'default' | 'large';
13
+
14
+ export type ButtonVariant = 'primary-green' | 'primary-darkgreen' | 'primary-yellow' | 'primary-white' | 'secondary-green' | 'secondary-yellow' | 'secondary-red' | 'secondary-black' | 'tertiary-bold' | 'tertiary-thin' | 'tertiary-icon' | 'tertiary-link' | 'icon-black' | 'icon-grey' | 'icon-mobile';
2
15
 
3
16
  export declare type HowItWorksExamplesProps = {
4
17
  eyebrow: string;
@@ -19,20 +32,18 @@ export declare type HowItWorksHeroBullet = {
19
32
  export declare type HowItWorksLawGeniusStep = {
20
33
  id: string;
21
34
  title: string;
22
- descriptionMarkdown: string;
23
- iconUrl: string | null;
24
- iconAlt?: string;
35
+ description: string;
36
+ icon: ReactNode;
25
37
  };
26
38
 
27
39
  export declare type HowItWorksProcessStep = {
28
40
  id: string;
29
41
  title: string;
30
- bodyMarkdown: string;
31
- imageUrl: string | null;
32
- imageAlt: string;
42
+ /** Column with text when not reversed; swap with image when `reverse` is true. */
43
+ body: ReactNode;
44
+ image: ReactNode;
33
45
  background: 'bg-white' | 'bg-neutral-25';
34
46
  reverse?: boolean;
35
- imageFirstOnMobile?: boolean;
36
47
  };
37
48
 
38
49
  export declare const HowItWorksTemplate: FC<HowItWorksTemplateProps>;
@@ -41,40 +52,37 @@ export declare interface HowItWorksTemplateProps {
41
52
  hero: {
42
53
  eyebrow: string;
43
54
  title: string;
44
- imageUrl: string | null;
45
- imageAlt: string;
46
- imagePriority?: boolean;
47
- introMarkdown: string;
55
+ image: ReactNode;
56
+ intro: ReactNode;
48
57
  bullets: HowItWorksHeroBullet[];
49
- closingMarkdown: string;
50
- cta: {
51
- href: string;
52
- label: string;
53
- };
58
+ closing: ReactNode;
59
+ cta: ButtonProps;
54
60
  };
55
61
  processSteps: HowItWorksProcessStep[];
56
62
  lawGenius: {
57
63
  title: string;
58
- contentMarkdown: string;
64
+ content: string;
59
65
  steps: HowItWorksLawGeniusStep[];
60
- belowStepsMarkdown: string;
61
- imageUrl: string | null;
62
- imageAlt: string;
63
- cta: {
64
- href: string;
65
- label: string;
66
- };
66
+ belowStepsSlot: ReactNode;
67
+ cta: ButtonProps;
68
+ image: ReactNode;
67
69
  sectionClassName?: string;
68
70
  };
69
71
  resources: {
70
72
  examples: HowItWorksExamplesProps;
71
- supportBodyMarkdown: string;
72
- imageUrl: string | null;
73
- imageAlt: string;
74
- cta: {
75
- href: string;
76
- label: string;
77
- };
73
+ image: ReactNode;
74
+ supportBody: ReactNode;
75
+ cta: ButtonProps;
78
76
  };
79
77
  }
78
+
79
+ export type IconPosition = 'left' | 'right' | 'top';
80
+
81
+ export type ResponsiveButtonVariant = ButtonVariant | {
82
+ initial?: ButtonVariant;
83
+ sm?: ButtonVariant;
84
+ md?: ButtonVariant;
85
+ lg?: ButtonVariant;
86
+ xl?: ButtonVariant;
87
+ };
80
88