@npm_leadtech/legal-lib-components 2.33.0 → 2.34.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 (111) hide show
  1. package/README.md +4 -2
  2. package/dist/cjs/images/componentsSvg/ChevronExpandLess.d.ts +2 -0
  3. package/dist/cjs/images/componentsSvg/ChevronExpandMore.d.ts +2 -0
  4. package/dist/cjs/images/componentsSvg/MailSvg.d.ts +2 -0
  5. package/dist/cjs/index.js +3 -3
  6. package/dist/cjs/index.js.map +1 -1
  7. package/dist/cjs/legal-lib-components.css +509 -108
  8. package/dist/cjs/src/components/atoms/RichTextStrapi/RichTextStrapiProps.d.ts +2 -0
  9. package/dist/cjs/src/components/atoms/ShowMoreBox/ShowMoreBox.d.ts +4 -0
  10. package/dist/cjs/src/components/atoms/ShowMoreBox/ShowMoreBoxProps.d.ts +6 -0
  11. package/dist/cjs/src/components/atoms/ShowMoreBox/index.d.ts +2 -0
  12. package/dist/cjs/src/components/atoms/Tagline/Tagline.d.ts +4 -0
  13. package/dist/cjs/src/components/atoms/Tagline/TaglineProps.types.d.ts +3 -0
  14. package/dist/cjs/src/components/atoms/Tagline/index.d.ts +2 -0
  15. package/dist/cjs/src/components/atoms/index.d.ts +2 -0
  16. package/dist/cjs/src/components/molecules/EmailContactBox/EmailContactBox.d.ts +4 -0
  17. package/dist/cjs/src/components/molecules/EmailContactBox/EmailContactBoxProps.d.ts +4 -0
  18. package/dist/cjs/src/components/molecules/EmailContactBox/index.d.ts +2 -0
  19. package/dist/cjs/src/components/molecules/FaqItem/FaqItem.d.ts +4 -0
  20. package/dist/cjs/src/components/molecules/FaqItem/FaqItemProps.d.ts +8 -0
  21. package/dist/cjs/src/components/molecules/FaqItem/index.d.ts +2 -0
  22. package/dist/cjs/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.d.ts +4 -0
  23. package/dist/cjs/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktopProps.types.d.ts +4 -0
  24. package/dist/cjs/src/components/molecules/PhoneContactBoxDesktop/index.d.ts +2 -0
  25. package/dist/cjs/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.d.ts +4 -0
  26. package/dist/cjs/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobileProps.types.d.ts +4 -0
  27. package/dist/cjs/src/components/molecules/PhoneContactBoxMobile/index.d.ts +2 -0
  28. package/dist/cjs/src/components/molecules/index.d.ts +7 -3
  29. package/dist/cjs/src/components/organisms/ContactJumbotron/ContactJumbotron.d.ts +4 -0
  30. package/dist/cjs/src/components/organisms/ContactJumbotron/ContactJumbotronProps.types.d.ts +9 -0
  31. package/dist/cjs/src/components/organisms/ContactJumbotron/index.d.ts +2 -0
  32. package/dist/cjs/src/components/organisms/FaqGroup/FaqGroup.d.ts +4 -0
  33. package/dist/cjs/src/components/organisms/FaqGroup/FaqGroupProps.d.ts +10 -0
  34. package/dist/cjs/src/components/organisms/FaqGroup/index.d.ts +2 -0
  35. package/dist/cjs/src/components/organisms/index.d.ts +2 -0
  36. package/dist/cjs/src/components/pages/ContactUsPage/ContactUsPage.d.ts +3 -0
  37. package/dist/cjs/src/components/pages/ContactUsPage/ContactUsPageProps.d.ts +8 -0
  38. package/dist/cjs/src/components/pages/ContactUsPage/index.d.ts +2 -0
  39. package/dist/cjs/src/components/pages/FaqsPage/FaqsPage.d.ts +4 -0
  40. package/dist/cjs/src/components/pages/FaqsPage/FaqsPageProps.d.ts +7 -0
  41. package/dist/cjs/src/components/pages/FaqsPage/index.d.ts +2 -0
  42. package/dist/cjs/src/components/pages/index.d.ts +2 -0
  43. package/dist/cjs/src/components/sections/AsideMenuSection/AsideMenuSection.d.ts +4 -0
  44. package/dist/cjs/src/components/sections/AsideMenuSection/AsideMenuSectionProps.d.ts +9 -0
  45. package/dist/cjs/src/components/sections/AsideMenuSection/index.d.ts +2 -0
  46. package/dist/cjs/src/components/sections/ContactSection/ContactSection.d.ts +4 -0
  47. package/dist/cjs/src/components/sections/ContactSection/ContactSectionProps.d.ts +6 -0
  48. package/dist/cjs/src/components/sections/ContactSection/index.d.ts +2 -0
  49. package/dist/cjs/src/components/sections/FaqSection/FaqSection.d.ts +4 -0
  50. package/dist/cjs/src/components/sections/FaqSection/FaqSectionProps.d.ts +4 -0
  51. package/dist/cjs/src/components/sections/FaqSection/index.d.ts +2 -0
  52. package/dist/cjs/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.d.ts +4 -0
  53. package/dist/cjs/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSectionProps.types.d.ts +8 -0
  54. package/dist/cjs/src/components/sections/JumbotronSimplifiedSection/index.d.ts +2 -0
  55. package/dist/cjs/src/components/sections/index.d.ts +4 -0
  56. package/dist/esm/images/componentsSvg/ChevronExpandLess.d.ts +2 -0
  57. package/dist/esm/images/componentsSvg/ChevronExpandMore.d.ts +2 -0
  58. package/dist/esm/images/componentsSvg/MailSvg.d.ts +2 -0
  59. package/dist/esm/index.js +3 -3
  60. package/dist/esm/index.js.map +1 -1
  61. package/dist/esm/legal-lib-components.css +509 -108
  62. package/dist/esm/src/components/atoms/RichTextStrapi/RichTextStrapiProps.d.ts +2 -0
  63. package/dist/esm/src/components/atoms/ShowMoreBox/ShowMoreBox.d.ts +4 -0
  64. package/dist/esm/src/components/atoms/ShowMoreBox/ShowMoreBoxProps.d.ts +6 -0
  65. package/dist/esm/src/components/atoms/ShowMoreBox/index.d.ts +2 -0
  66. package/dist/esm/src/components/atoms/Tagline/Tagline.d.ts +4 -0
  67. package/dist/esm/src/components/atoms/Tagline/TaglineProps.types.d.ts +3 -0
  68. package/dist/esm/src/components/atoms/Tagline/index.d.ts +2 -0
  69. package/dist/esm/src/components/atoms/index.d.ts +2 -0
  70. package/dist/esm/src/components/molecules/EmailContactBox/EmailContactBox.d.ts +4 -0
  71. package/dist/esm/src/components/molecules/EmailContactBox/EmailContactBoxProps.d.ts +4 -0
  72. package/dist/esm/src/components/molecules/EmailContactBox/index.d.ts +2 -0
  73. package/dist/esm/src/components/molecules/FaqItem/FaqItem.d.ts +4 -0
  74. package/dist/esm/src/components/molecules/FaqItem/FaqItemProps.d.ts +8 -0
  75. package/dist/esm/src/components/molecules/FaqItem/index.d.ts +2 -0
  76. package/dist/esm/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktop.d.ts +4 -0
  77. package/dist/esm/src/components/molecules/PhoneContactBoxDesktop/PhoneContactBoxDesktopProps.types.d.ts +4 -0
  78. package/dist/esm/src/components/molecules/PhoneContactBoxDesktop/index.d.ts +2 -0
  79. package/dist/esm/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobile.d.ts +4 -0
  80. package/dist/esm/src/components/molecules/PhoneContactBoxMobile/PhoneContactBoxMobileProps.types.d.ts +4 -0
  81. package/dist/esm/src/components/molecules/PhoneContactBoxMobile/index.d.ts +2 -0
  82. package/dist/esm/src/components/molecules/index.d.ts +7 -3
  83. package/dist/esm/src/components/organisms/ContactJumbotron/ContactJumbotron.d.ts +4 -0
  84. package/dist/esm/src/components/organisms/ContactJumbotron/ContactJumbotronProps.types.d.ts +9 -0
  85. package/dist/esm/src/components/organisms/ContactJumbotron/index.d.ts +2 -0
  86. package/dist/esm/src/components/organisms/FaqGroup/FaqGroup.d.ts +4 -0
  87. package/dist/esm/src/components/organisms/FaqGroup/FaqGroupProps.d.ts +10 -0
  88. package/dist/esm/src/components/organisms/FaqGroup/index.d.ts +2 -0
  89. package/dist/esm/src/components/organisms/index.d.ts +2 -0
  90. package/dist/esm/src/components/pages/ContactUsPage/ContactUsPage.d.ts +3 -0
  91. package/dist/esm/src/components/pages/ContactUsPage/ContactUsPageProps.d.ts +8 -0
  92. package/dist/esm/src/components/pages/ContactUsPage/index.d.ts +2 -0
  93. package/dist/esm/src/components/pages/FaqsPage/FaqsPage.d.ts +4 -0
  94. package/dist/esm/src/components/pages/FaqsPage/FaqsPageProps.d.ts +7 -0
  95. package/dist/esm/src/components/pages/FaqsPage/index.d.ts +2 -0
  96. package/dist/esm/src/components/pages/index.d.ts +2 -0
  97. package/dist/esm/src/components/sections/AsideMenuSection/AsideMenuSection.d.ts +4 -0
  98. package/dist/esm/src/components/sections/AsideMenuSection/AsideMenuSectionProps.d.ts +9 -0
  99. package/dist/esm/src/components/sections/AsideMenuSection/index.d.ts +2 -0
  100. package/dist/esm/src/components/sections/ContactSection/ContactSection.d.ts +4 -0
  101. package/dist/esm/src/components/sections/ContactSection/ContactSectionProps.d.ts +6 -0
  102. package/dist/esm/src/components/sections/ContactSection/index.d.ts +2 -0
  103. package/dist/esm/src/components/sections/FaqSection/FaqSection.d.ts +4 -0
  104. package/dist/esm/src/components/sections/FaqSection/FaqSectionProps.d.ts +4 -0
  105. package/dist/esm/src/components/sections/FaqSection/index.d.ts +2 -0
  106. package/dist/esm/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSection.d.ts +4 -0
  107. package/dist/esm/src/components/sections/JumbotronSimplifiedSection/JumbotronSimplifiedSectionProps.types.d.ts +8 -0
  108. package/dist/esm/src/components/sections/JumbotronSimplifiedSection/index.d.ts +2 -0
  109. package/dist/esm/src/components/sections/index.d.ts +4 -0
  110. package/dist/index.d.ts +143 -24
  111. package/package.json +1 -1
@@ -1,6 +1,8 @@
1
1
  import { type RichTextMedia } from './RichTextMedia';
2
2
  export interface RichTextStrapiProps {
3
3
  html?: string;
4
+ showMoreTextShortResponse?: string;
5
+ showMoreTextCompleteResponse?: string;
4
6
  className?: string;
5
7
  medias?: RichTextMedia[];
6
8
  }
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { type ShowMoreBoxProps } from './ShowMoreBoxProps';
3
+ import './ShowMoreBox.scss';
4
+ export declare const ShowMoreBox: React.FC<ShowMoreBoxProps>;
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ export interface ShowMoreBoxProps {
3
+ children: React.ReactNode;
4
+ collapsedButtonText?: string;
5
+ expandedButtonText?: string;
6
+ }
@@ -0,0 +1,2 @@
1
+ export { ShowMoreBox } from './ShowMoreBox';
2
+ export type { ShowMoreBoxProps } from './ShowMoreBoxProps';
@@ -0,0 +1,4 @@
1
+ import { type FC } from 'react';
2
+ import { type TaglineProps } from './TaglineProps.types';
3
+ import './Tagline.scss';
4
+ export declare const Tagline: FC<TaglineProps>;
@@ -0,0 +1,3 @@
1
+ export interface TaglineProps {
2
+ text: string;
3
+ }
@@ -0,0 +1,2 @@
1
+ export { Tagline } from './Tagline';
2
+ export type { TaglineProps } from './TaglineProps.types';
@@ -31,7 +31,9 @@ export * from './RichTextInner';
31
31
  export * from './RichTextStrapi';
32
32
  export * from './SearchSelect';
33
33
  export * from './SidemenuTab';
34
+ export * from './ShowMoreBox';
34
35
  export * from './Spinner';
36
+ export * from './Tagline';
35
37
  export * from './TextArea';
36
38
  export * from './Toggle';
37
39
  export * from './Tooltip';
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { type EmailContactBoxProps } from './EmailContactBoxProps';
3
+ import './EmailContactBox.scss';
4
+ export declare const EmailContactBox: React.FC<EmailContactBoxProps>;
@@ -0,0 +1,4 @@
1
+ export interface EmailContactBoxProps {
2
+ mail: string;
3
+ text: string;
4
+ }
@@ -0,0 +1,2 @@
1
+ export * from './EmailContactBox';
2
+ export * from './EmailContactBoxProps';
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { type FaqItemProps } from './FaqItemProps';
3
+ import './FaqItem.scss';
4
+ export declare const FaqItem: React.FC<FaqItemProps>;
@@ -0,0 +1,8 @@
1
+ import type React from 'react';
2
+ export interface FaqItemProps {
3
+ id: string;
4
+ slug: string;
5
+ title: string;
6
+ children: React.ReactNode;
7
+ index?: number;
8
+ }
@@ -0,0 +1,2 @@
1
+ export * from './FaqItem';
2
+ export * from './FaqItemProps';
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { type PhoneContactBoxDesktopProps } from './PhoneContactBoxDesktopProps.types';
3
+ import './PhoneContactBoxDesktop.scss';
4
+ export declare const PhoneContactBoxDesktop: React.FC<PhoneContactBoxDesktopProps>;
@@ -0,0 +1,4 @@
1
+ export interface PhoneContactBoxDesktopProps {
2
+ phone: string;
3
+ schedule: string;
4
+ }
@@ -0,0 +1,2 @@
1
+ export { PhoneContactBoxDesktop } from './PhoneContactBoxDesktop';
2
+ export { type PhoneContactBoxDesktopProps } from './PhoneContactBoxDesktopProps.types';
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { type PhoneContactBoxMobileProps } from './PhoneContactBoxMobileProps.types';
3
+ import './PhoneContactBoxMobile.scss';
4
+ export declare const PhoneContactBoxMobile: React.FC<PhoneContactBoxMobileProps>;
@@ -0,0 +1,4 @@
1
+ export interface PhoneContactBoxMobileProps {
2
+ phone: string;
3
+ schedule: string;
4
+ }
@@ -0,0 +1,2 @@
1
+ export { PhoneContactBoxMobile } from './PhoneContactBoxMobile';
2
+ export { type PhoneContactBoxMobileProps } from './PhoneContactBoxMobileProps.types';
@@ -6,16 +6,20 @@ export * from './BoxForm';
6
6
  export * from './Breadcrumb';
7
7
  export * from './ContactBox';
8
8
  export * from './ContinueEditingBanner';
9
+ export * from './CountDownMessage';
10
+ export * from './EmailContactBox';
11
+ export * from './ExpertCardList';
12
+ export * from './FaqItem';
9
13
  export * from './Feedback';
14
+ export * from './FreeDocModalContent';
10
15
  export * from './MenuItemsSection';
11
16
  export * from './NavBarDropDown';
12
17
  export * from './Pagination';
18
+ export * from './PhoneContactBoxDesktop';
19
+ export * from './PhoneContactBoxMobile';
13
20
  export * from './PricingCard';
14
21
  export * from './Snackbar';
15
22
  export * from './StepGetForm';
16
23
  export * from './TextInput';
17
24
  export * from './TooltipMenu';
18
25
  export * from './TrustworthyWebsites';
19
- export * from './ExpertCardList';
20
- export * from './FreeDocModalContent';
21
- export * from './CountDownMessage';
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { type ContactJumbotronProps } from './ContactJumbotronProps.types';
3
+ import './ContactJumbotron.scss';
4
+ export declare const ContactJumbotron: React.FC<ContactJumbotronProps>;
@@ -0,0 +1,9 @@
1
+ import type React from 'react';
2
+ import { type EmailContactBoxProps, type PhoneContactBoxDesktopProps } from '../../molecules';
3
+ export interface ContactJumbotronProps {
4
+ phoneBoxDesktopProps: PhoneContactBoxDesktopProps;
5
+ emailContactBoxProps: EmailContactBoxProps;
6
+ faqsTitle: string;
7
+ children: React.ReactNode;
8
+ isJonSnow?: boolean;
9
+ }
@@ -0,0 +1,2 @@
1
+ export { ContactJumbotron } from './ContactJumbotron';
2
+ export { type ContactJumbotronProps } from './ContactJumbotronProps.types';
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { type FaqGroupProps } from './FaqGroupProps';
3
+ import './FaqGroup.scss';
4
+ export declare const FaqGroup: React.FC<FaqGroupProps>;
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ import { type FaqItemProps } from '../../molecules';
3
+ export interface FaqGroupProps {
4
+ id: string;
5
+ title: string;
6
+ slug: string;
7
+ faqs: FaqItemProps[];
8
+ hasAllClosed?: boolean;
9
+ children?: React.ReactNode;
10
+ }
@@ -0,0 +1,2 @@
1
+ export * from './FaqGroup';
2
+ export * from './FaqGroupProps';
@@ -1,7 +1,9 @@
1
1
  export * from './AboutUsContent';
2
2
  export * from './ArticlesList';
3
3
  export * from './AsSeeInContent';
4
+ export * from './ContactJumbotron';
4
5
  export * from './CookiePolicyBar';
6
+ export * from './FaqGroup';
5
7
  export * from './GuidelinesContent';
6
8
  export * from './ListStepsGetForm';
7
9
  export * from './MobileBottomBar';
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { type ContactUsPageProps } from './ContactUsPageProps';
3
+ export declare const ContactUsPage: React.FC<ContactUsPageProps>;
@@ -0,0 +1,8 @@
1
+ import { type ContactSectionProps, type JumbotronSimplifiedSectionProps } from '../../sections';
2
+ import { type PhoneContactBoxMobileProps } from '../../molecules';
3
+ export interface ContactUsPageProps {
4
+ jumbotronSimplifiedSectionProps: JumbotronSimplifiedSectionProps;
5
+ phoneContactBox: PhoneContactBoxMobileProps;
6
+ contactProps: ContactSectionProps;
7
+ isJonSnow?: boolean;
8
+ }
@@ -0,0 +1,2 @@
1
+ export * from './ContactUsPage';
2
+ export * from './ContactUsPageProps';
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { type FaqsPageProps } from './FaqsPageProps';
3
+ import './FaqsPage.scss';
4
+ export declare const FaqsPage: React.FC<FaqsPageProps>;
@@ -0,0 +1,7 @@
1
+ import { type AsideMenuSectionProps, type FaqSectionProps } from '../../sections';
2
+ export interface FaqsPageProps {
3
+ title: string;
4
+ subtitle: string;
5
+ asideMenuSectionProps: AsideMenuSectionProps;
6
+ faqSectionProps: FaqSectionProps;
7
+ }
@@ -0,0 +1,2 @@
1
+ export * from './FaqsPage';
2
+ export * from './FaqsPageProps';
@@ -1,3 +1,5 @@
1
1
  export * from './AboutUsPage';
2
+ export * from './ContactUsPage';
3
+ export * from './FaqsPage';
2
4
  export * from './LegalPage';
3
5
  export * from './UnsubscribePage';
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { type AsideMenuSectionProps } from './AsideMenuSectionProps';
3
+ import './AsideMenuSection.scss';
4
+ export declare const AsideMenuSection: React.FC<AsideMenuSectionProps>;
@@ -0,0 +1,9 @@
1
+ /// <reference types="react" />
2
+ export interface AsideMenuSectionProps {
3
+ items: Array<{
4
+ id: string;
5
+ text: string;
6
+ slug: string;
7
+ }>;
8
+ onClickHandler?: React.MouseEventHandler<HTMLLIElement>;
9
+ }
@@ -0,0 +1,2 @@
1
+ export * from './AsideMenuSection';
2
+ export * from './AsideMenuSectionProps';
@@ -0,0 +1,4 @@
1
+ import { type FC } from 'react';
2
+ import { type ContactSectionProps } from './ContactSectionProps';
3
+ import './ContactSection.scss';
4
+ export declare const ContactSection: FC<ContactSectionProps>;
@@ -0,0 +1,6 @@
1
+ import { type BoxFormProps } from '../../molecules';
2
+ import { type ContactJumbotronProps } from '../../organisms';
3
+ export interface ContactSectionProps {
4
+ contactJumbotronProps: ContactJumbotronProps;
5
+ contactForm: BoxFormProps;
6
+ }
@@ -0,0 +1,2 @@
1
+ export { ContactSection } from './ContactSection';
2
+ export { type ContactSectionProps } from './ContactSectionProps';
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { type FaqSectionProps } from './FaqSectionProps';
3
+ import './FaqSection.scss';
4
+ export declare const FaqSection: React.FC<FaqSectionProps>;
@@ -0,0 +1,4 @@
1
+ import { type FaqGroupProps } from '../../organisms';
2
+ export interface FaqSectionProps {
3
+ groups: FaqGroupProps[];
4
+ }
@@ -0,0 +1,2 @@
1
+ export * from './FaqSection';
2
+ export * from './FaqSectionProps';
@@ -0,0 +1,4 @@
1
+ import { type FC } from 'react';
2
+ import { type JumbotronSimplifiedSectionProps } from './JumbotronSimplifiedSectionProps.types';
3
+ import './JumbotronSimplifiedSection.scss';
4
+ export declare const JumbotronSimplifiedSection: FC<JumbotronSimplifiedSectionProps>;
@@ -0,0 +1,8 @@
1
+ import type React from 'react';
2
+ import { type TaglineProps } from '../../atoms';
3
+ export interface JumbotronSimplifiedSectionProps {
4
+ title: string;
5
+ wrapperClassName?: string;
6
+ taglineProps: TaglineProps;
7
+ children?: React.ReactNode;
8
+ }
@@ -0,0 +1,2 @@
1
+ export { JumbotronSimplifiedSection } from './JumbotronSimplifiedSection';
2
+ export type { JumbotronSimplifiedSectionProps } from './JumbotronSimplifiedSectionProps.types';
@@ -1,9 +1,13 @@
1
1
  export * from './AboutUsSection';
2
+ export * from './AsideMenuSection';
2
3
  export * from './AsSeeInSection';
3
4
  export * from './BlogSection';
5
+ export * from './ContactSection';
4
6
  export * from './ExpertsSection';
7
+ export * from './FaqSection';
5
8
  export * from './GuidelinesSection';
6
9
  export * from './HowGetYourFormsSection';
10
+ export * from './JumbotronSimplifiedSection';
7
11
  export * from './LegalSection';
8
12
  export * from './PeopleSayAboutUsSection';
9
13
  export * from './TryOurFreeLegalBlogsSection';
package/dist/index.d.ts CHANGED
@@ -343,6 +343,8 @@ interface RichTextMedia {
343
343
 
344
344
  interface RichTextStrapiProps {
345
345
  html?: string;
346
+ showMoreTextShortResponse?: string;
347
+ showMoreTextCompleteResponse?: string;
346
348
  className?: string;
347
349
  medias?: RichTextMedia[];
348
350
  }
@@ -393,6 +395,14 @@ interface SideMenuTabProps {
393
395
 
394
396
  declare const SidemenuTab: React$1.FC<SideMenuTabProps>;
395
397
 
398
+ interface ShowMoreBoxProps {
399
+ children: React.ReactNode;
400
+ collapsedButtonText?: string;
401
+ expandedButtonText?: string;
402
+ }
403
+
404
+ declare const ShowMoreBox: React$1.FC<ShowMoreBoxProps>;
405
+
396
406
  interface SpinnerProps {
397
407
  className?: string;
398
408
  big?: boolean;
@@ -400,6 +410,12 @@ interface SpinnerProps {
400
410
 
401
411
  declare const Spinner: FC<SpinnerProps>;
402
412
 
413
+ interface TaglineProps {
414
+ text: string;
415
+ }
416
+
417
+ declare const Tagline: FC<TaglineProps>;
418
+
403
419
  interface TextAreaProps {
404
420
  value?: string;
405
421
  label?: string;
@@ -577,6 +593,36 @@ interface ContinueEditingBannerProps {
577
593
 
578
594
  declare const ContinueEditingBanner: React$1.FC<ContinueEditingBannerProps>;
579
595
 
596
+ interface CountDownMessageProps {
597
+ text: string | React.ReactNode;
598
+ time?: string;
599
+ }
600
+
601
+ declare const CountDownMessage: FC<CountDownMessageProps>;
602
+
603
+ interface EmailContactBoxProps {
604
+ mail: string;
605
+ text: string;
606
+ }
607
+
608
+ declare const EmailContactBox: React$1.FC<EmailContactBoxProps>;
609
+
610
+ interface ExpertCardListProps {
611
+ contentExpertCard: ExpertCardProps[];
612
+ }
613
+
614
+ declare const ExpertCardList: FC<ExpertCardListProps>;
615
+
616
+ interface FaqItemProps {
617
+ id: string;
618
+ slug: string;
619
+ title: string;
620
+ children: React$1.ReactNode;
621
+ index?: number;
622
+ }
623
+
624
+ declare const FaqItem: React$1.FC<FaqItemProps>;
625
+
580
626
  interface FeedbackProps {
581
627
  theme?: 'success' | 'error';
582
628
  title?: string;
@@ -593,6 +639,16 @@ interface FeedbackProps {
593
639
 
594
640
  declare const Feedback: FC<FeedbackProps>;
595
641
 
642
+ interface FreeDocModalContentProps {
643
+ bodyTitle: string;
644
+ bodyText: string;
645
+ closeModal: () => void;
646
+ clickGoToFormInApp: (arg0: null, arg1: string, arg2?: boolean) => void;
647
+ isActiveDocument: boolean;
648
+ }
649
+
650
+ declare const FreeDocModalContent: FC<FreeDocModalContentProps>;
651
+
596
652
  interface MenuItemsSectionProps {
597
653
  icon?: React.ReactNode;
598
654
  title?: string;
@@ -634,6 +690,20 @@ interface PaginationProps {
634
690
 
635
691
  declare const Pagination: FC<PaginationProps>;
636
692
 
693
+ interface PhoneContactBoxDesktopProps {
694
+ phone: string;
695
+ schedule: string;
696
+ }
697
+
698
+ declare const PhoneContactBoxDesktop: React$1.FC<PhoneContactBoxDesktopProps>;
699
+
700
+ interface PhoneContactBoxMobileProps {
701
+ phone: string;
702
+ schedule: string;
703
+ }
704
+
705
+ declare const PhoneContactBoxMobile: React$1.FC<PhoneContactBoxMobileProps>;
706
+
637
707
  interface PricingCardProps {
638
708
  order?: number;
639
709
  subscriptionId?: string;
@@ -727,29 +797,6 @@ interface ImageStructure {
727
797
 
728
798
  declare const TrustworthyWebsites: FC<TrustworthyWebsitesProps>;
729
799
 
730
- interface ExpertCardListProps {
731
- contentExpertCard: ExpertCardProps[];
732
- }
733
-
734
- declare const ExpertCardList: FC<ExpertCardListProps>;
735
-
736
- interface FreeDocModalContentProps {
737
- bodyTitle: string;
738
- bodyText: string;
739
- closeModal: () => void;
740
- clickGoToFormInApp: (arg0: null, arg1: string, arg2?: boolean) => void;
741
- isActiveDocument: boolean;
742
- }
743
-
744
- declare const FreeDocModalContent: FC<FreeDocModalContentProps>;
745
-
746
- interface CountDownMessageProps {
747
- text: string | React.ReactNode;
748
- time?: string;
749
- }
750
-
751
- declare const CountDownMessage: FC<CountDownMessageProps>;
752
-
753
800
  interface AboutUsContentProps {
754
801
  children: React.ReactNode;
755
802
  image: React.ReactNode;
@@ -771,6 +818,16 @@ interface AsSeeInContentProps {
771
818
 
772
819
  declare const AsSeeInContent: FC<AsSeeInContentProps>;
773
820
 
821
+ interface ContactJumbotronProps {
822
+ phoneBoxDesktopProps: PhoneContactBoxDesktopProps;
823
+ emailContactBoxProps: EmailContactBoxProps;
824
+ faqsTitle: string;
825
+ children: React$1.ReactNode;
826
+ isJonSnow?: boolean;
827
+ }
828
+
829
+ declare const ContactJumbotron: React$1.FC<ContactJumbotronProps>;
830
+
774
831
  interface CookiePolicyBarProps {
775
832
  clickFunc: () => void;
776
833
  text: string;
@@ -778,6 +835,17 @@ interface CookiePolicyBarProps {
778
835
 
779
836
  declare const CookiePolicyBar: FC<CookiePolicyBarProps>;
780
837
 
838
+ interface FaqGroupProps {
839
+ id: string;
840
+ title: string;
841
+ slug: string;
842
+ faqs: FaqItemProps[];
843
+ hasAllClosed?: boolean;
844
+ children?: React.ReactNode;
845
+ }
846
+
847
+ declare const FaqGroup: React$1.FC<FaqGroupProps>;
848
+
781
849
  interface GuidelinesContentProps {
782
850
  title: string;
783
851
  image: React.ReactNode;
@@ -816,6 +884,17 @@ interface AboutUsSectionProps {
816
884
 
817
885
  declare const AboutUsSection: FC<AboutUsSectionProps>;
818
886
 
887
+ interface AsideMenuSectionProps {
888
+ items: Array<{
889
+ id: string;
890
+ text: string;
891
+ slug: string;
892
+ }>;
893
+ onClickHandler?: React.MouseEventHandler<HTMLLIElement>;
894
+ }
895
+
896
+ declare const AsideMenuSection: React$1.FC<AsideMenuSectionProps>;
897
+
819
898
  interface AsSeeInSectionProps {
820
899
  title: string;
821
900
  contentAsSeeIn: AsSeeInContentProps;
@@ -831,6 +910,13 @@ interface BlogSectionProps {
831
910
 
832
911
  declare const BlogSection: FC<BlogSectionProps>;
833
912
 
913
+ interface ContactSectionProps {
914
+ contactJumbotronProps: ContactJumbotronProps;
915
+ contactForm: BoxFormProps;
916
+ }
917
+
918
+ declare const ContactSection: FC<ContactSectionProps>;
919
+
834
920
  interface ExpertsSectionProps {
835
921
  title: string;
836
922
  contentExpertCardList: ExpertCardListProps;
@@ -838,6 +924,12 @@ interface ExpertsSectionProps {
838
924
 
839
925
  declare const ExpertsSection: FC<ExpertsSectionProps>;
840
926
 
927
+ interface FaqSectionProps {
928
+ groups: FaqGroupProps[];
929
+ }
930
+
931
+ declare const FaqSection: React$1.FC<FaqSectionProps>;
932
+
841
933
  interface GuidelinesSectionProps {
842
934
  contentGuidelines: GuidelinesContentProps;
843
935
  }
@@ -852,6 +944,15 @@ interface HowGetYourFormsSectionProps {
852
944
 
853
945
  declare const HowGetYourFormsSection: React$1.FC<HowGetYourFormsSectionProps>;
854
946
 
947
+ interface JumbotronSimplifiedSectionProps {
948
+ title: string;
949
+ wrapperClassName?: string;
950
+ taglineProps: TaglineProps;
951
+ children?: React$1.ReactNode;
952
+ }
953
+
954
+ declare const JumbotronSimplifiedSection: FC<JumbotronSimplifiedSectionProps>;
955
+
855
956
  interface LegalSectionProps {
856
957
  text: RichTextStrapiProps;
857
958
  }
@@ -921,6 +1022,24 @@ interface AboutUsPageProps {
921
1022
 
922
1023
  declare const AboutUsPage: React$1.FC<AboutUsPageProps>;
923
1024
 
1025
+ interface ContactUsPageProps {
1026
+ jumbotronSimplifiedSectionProps: JumbotronSimplifiedSectionProps;
1027
+ phoneContactBox: PhoneContactBoxMobileProps;
1028
+ contactProps: ContactSectionProps;
1029
+ isJonSnow?: boolean;
1030
+ }
1031
+
1032
+ declare const ContactUsPage: React$1.FC<ContactUsPageProps>;
1033
+
1034
+ interface FaqsPageProps {
1035
+ title: string;
1036
+ subtitle: string;
1037
+ asideMenuSectionProps: AsideMenuSectionProps;
1038
+ faqSectionProps: FaqSectionProps;
1039
+ }
1040
+
1041
+ declare const FaqsPage: React$1.FC<FaqsPageProps>;
1042
+
924
1043
  interface LegalPageProps {
925
1044
  jumbotron: JumbotronStaticProps;
926
1045
  legalSection: LegalSectionProps;
@@ -947,4 +1066,4 @@ interface UseIsMobileOrTablePropsReturn {
947
1066
  }
948
1067
  declare const useIsMobileOrTable: () => UseIsMobileOrTablePropsReturn;
949
1068
 
950
- export { AboutUsContent, type AboutUsContentProps, AboutUsPage, type AboutUsPageProps, AboutUsSection, type AboutUsSectionProps, AddButton, type AddButtonProps, Article, type ArticleProps, ArticlesList, type ArticlesListProps, AsSeeInContent, type AsSeeInContentProps, AsSeeInSection, type AsSeeInSectionProps, BaseBox, BaseBoxList, type BaseBoxListProps, type BaseBoxProps, BillCard, type BillCardProps, BlogSection, type BlogSectionProps, BottomFixedBar, type BottomFixedBarProps, BottomOverlay, BottomOverlayMenu, type BottomOverlayMenuProps, type BottomOverlayProps, BoxForm, type BoxFormProps, BreadcrumItem, type BreadcrumItemProps, Breadcrumb, type BreadcrumbProps, Button, ButtonIcon, type ButtonIconProps, type ButtonProps, CardPane, type CardPaneInfoProps, type CardPaneProps, Checkbox, type CheckboxProps, ContactBox, type ContactBoxProps, ContinueEditingBanner, type ContinueEditingBannerProps, CookiePolicyBar, type CookiePolicyBarProps, CountDownMessage, type CountDownMessageProps, DatePickerCustom, type DatePickerCustomProps, DialogMenuIcon, type DialogMenuIconProps, Disclaimer, type DisclaimerProps, Divider, type DividerProps, DocumentStatus, type DocumentStatusProps, ExpertCard, ExpertCardList, type ExpertCardListProps, type ExpertCardProps, ExpertsSection, type ExpertsSectionProps, Feedback, type FeedbackProps, FormFaq, type FormFaqProps, FreeDocModalContent, type FreeDocModalContentProps, GoogleButton, type GoogleButtonProps, GuidelinesContent, type GuidelinesContentProps, GuidelinesSection, type GuidelinesSectionProps, HowGetYourFormsSection, type HowGetYourFormsSectionProps, IconImage, type IconImageProps, IconSvgURLWithThemeColor, type IconSvgURLWithThemeColorProps, type ImageStructure, InfoBox, type InfoBoxProps, JumbotronStatic, type JumbotronStaticProps, type LatestApplication, LearnMoreSection, type LearnMoreSectionProps, LegalPage, type LegalPageProps, LegalSection, type LegalSectionProps, ListStepsGetForm, type ListStepsGetFormProps, Logo, type LogoProps, LogoText, type LogoTextProps, type MenuItemProps, MenuItems, MenuItemsSection, type MenuItemsSectionProps, MenuPlacement, Message, MessageInformation, type MessageInformationProps, type MessageProps, MobileBottomBar, type MobileBottomBarProps, NavBarDropDown, type NavBarDropDownProps, Pagination, type PaginationProps, PaypalButton, type PaypalButtonProps, PeopleSayAboutUsSection, type PeopleSayAboutUsSectionProps, PricingCard, type PricingCardProps, ProgressBar, type ProgressBarProps, Radio, type RadioProps, RemoveButton, type RemoveButtonProps, RichTextInner, type RichTextInnerProps, type RichTextMedia, RichTextStrapi, type RichTextStrapiProps, SearchSelect, type SearchSelectProps, type SideMenuTabProps, SidemenuTab, Snackbar, type SnackbarProps, Spinner, type SpinnerProps, StepGetForm, type StepGetFormProps, TextArea, type TextAreaProps, TextInput, type TextInputProps, Toggle, type ToggleProps, Tooltip, TooltipMenu, type TooltipMenuProps, type TooltipProps, TopBar, TopBarMobile, type TopBarProps, Trustpilot as TrustPilot, type TrustPilotProps, TrustworthyWebsites, type TrustworthyWebsitesProps, TryOurFreeLegalBlogsContent, type TryOurFreeLegalBlogsContentProps, TryOurFreeLegalBlogsSection, type TryOurFreeLegalBlogsSectionProps, TryUsSection, type TryUsSectionProps, UnsubscribePage, type UnsubscribePageProps, UnsubscribeSection, type UnsubscribeSectionProps, type WhyLawDistrictItem, WhyLawDistrictItems, type WhyLawDistrictItemsProps, WhyLawDistrictSection, type WhyLawDistrictSectionProps, WideInfoBar, useIntersectionObserver, useIsMobileOrTable };
1069
+ export { AboutUsContent, type AboutUsContentProps, AboutUsPage, type AboutUsPageProps, AboutUsSection, type AboutUsSectionProps, AddButton, type AddButtonProps, Article, type ArticleProps, ArticlesList, type ArticlesListProps, AsSeeInContent, type AsSeeInContentProps, AsSeeInSection, type AsSeeInSectionProps, AsideMenuSection, type AsideMenuSectionProps, BaseBox, BaseBoxList, type BaseBoxListProps, type BaseBoxProps, BillCard, type BillCardProps, BlogSection, type BlogSectionProps, BottomFixedBar, type BottomFixedBarProps, BottomOverlay, BottomOverlayMenu, type BottomOverlayMenuProps, type BottomOverlayProps, BoxForm, type BoxFormProps, BreadcrumItem, type BreadcrumItemProps, Breadcrumb, type BreadcrumbProps, Button, ButtonIcon, type ButtonIconProps, type ButtonProps, CardPane, type CardPaneInfoProps, type CardPaneProps, Checkbox, type CheckboxProps, ContactBox, type ContactBoxProps, ContactJumbotron, type ContactJumbotronProps, ContactSection, type ContactSectionProps, ContactUsPage, type ContactUsPageProps, ContinueEditingBanner, type ContinueEditingBannerProps, CookiePolicyBar, type CookiePolicyBarProps, CountDownMessage, type CountDownMessageProps, DatePickerCustom, type DatePickerCustomProps, DialogMenuIcon, type DialogMenuIconProps, Disclaimer, type DisclaimerProps, Divider, type DividerProps, DocumentStatus, type DocumentStatusProps, EmailContactBox, type EmailContactBoxProps, ExpertCard, ExpertCardList, type ExpertCardListProps, type ExpertCardProps, ExpertsSection, type ExpertsSectionProps, FaqGroup, type FaqGroupProps, FaqItem, type FaqItemProps, FaqSection, type FaqSectionProps, FaqsPage, type FaqsPageProps, Feedback, type FeedbackProps, FormFaq, type FormFaqProps, FreeDocModalContent, type FreeDocModalContentProps, GoogleButton, type GoogleButtonProps, GuidelinesContent, type GuidelinesContentProps, GuidelinesSection, type GuidelinesSectionProps, HowGetYourFormsSection, type HowGetYourFormsSectionProps, IconImage, type IconImageProps, IconSvgURLWithThemeColor, type IconSvgURLWithThemeColorProps, type ImageStructure, InfoBox, type InfoBoxProps, JumbotronSimplifiedSection, type JumbotronSimplifiedSectionProps, JumbotronStatic, type JumbotronStaticProps, type LatestApplication, LearnMoreSection, type LearnMoreSectionProps, LegalPage, type LegalPageProps, LegalSection, type LegalSectionProps, ListStepsGetForm, type ListStepsGetFormProps, Logo, type LogoProps, LogoText, type LogoTextProps, type MenuItemProps, MenuItems, MenuItemsSection, type MenuItemsSectionProps, MenuPlacement, Message, MessageInformation, type MessageInformationProps, type MessageProps, MobileBottomBar, type MobileBottomBarProps, NavBarDropDown, type NavBarDropDownProps, Pagination, type PaginationProps, PaypalButton, type PaypalButtonProps, PeopleSayAboutUsSection, type PeopleSayAboutUsSectionProps, PhoneContactBoxDesktop, type PhoneContactBoxDesktopProps, PhoneContactBoxMobile, type PhoneContactBoxMobileProps, PricingCard, type PricingCardProps, ProgressBar, type ProgressBarProps, Radio, type RadioProps, RemoveButton, type RemoveButtonProps, RichTextInner, type RichTextInnerProps, type RichTextMedia, RichTextStrapi, type RichTextStrapiProps, SearchSelect, type SearchSelectProps, ShowMoreBox, type ShowMoreBoxProps, type SideMenuTabProps, SidemenuTab, Snackbar, type SnackbarProps, Spinner, type SpinnerProps, StepGetForm, type StepGetFormProps, Tagline, type TaglineProps, TextArea, type TextAreaProps, TextInput, type TextInputProps, Toggle, type ToggleProps, Tooltip, TooltipMenu, type TooltipMenuProps, type TooltipProps, TopBar, TopBarMobile, type TopBarProps, Trustpilot as TrustPilot, type TrustPilotProps, TrustworthyWebsites, type TrustworthyWebsitesProps, TryOurFreeLegalBlogsContent, type TryOurFreeLegalBlogsContentProps, TryOurFreeLegalBlogsSection, type TryOurFreeLegalBlogsSectionProps, TryUsSection, type TryUsSectionProps, UnsubscribePage, type UnsubscribePageProps, UnsubscribeSection, type UnsubscribeSectionProps, type WhyLawDistrictItem, WhyLawDistrictItems, type WhyLawDistrictItemsProps, WhyLawDistrictSection, type WhyLawDistrictSectionProps, WideInfoBar, useIntersectionObserver, useIsMobileOrTable };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npm_leadtech/legal-lib-components",
3
- "version": "2.33.0",
3
+ "version": "2.34.1",
4
4
  "dependencies": {
5
5
  "@testing-library/jest-dom": "^6.1.4",
6
6
  "@tippyjs/react": "4.2.6",