@npm_leadtech/legal-lib-components 2.26.0 → 2.26.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 (67) hide show
  1. package/README.md +5 -0
  2. package/dist/cjs/index.js +3 -3
  3. package/dist/cjs/index.js.map +1 -1
  4. package/dist/cjs/legal-lib-components.css +238 -72
  5. package/dist/cjs/src/components/atoms/JumbotronStatic/JumbotronStatic.d.ts +4 -0
  6. package/dist/cjs/src/components/atoms/JumbotronStatic/JumbotronStaticProps.types.d.ts +3 -0
  7. package/dist/cjs/src/components/atoms/JumbotronStatic/index.d.ts +2 -0
  8. package/dist/cjs/src/components/atoms/index.d.ts +1 -0
  9. package/dist/cjs/src/components/molecules/StepGetForm/StepGetForm.d.ts +2 -2
  10. package/dist/cjs/src/components/molecules/StepGetForm/StepGetFormProps.types.d.ts +2 -9
  11. package/dist/cjs/src/components/pages/AboutUsPage/AboutUsPage.d.ts +3 -0
  12. package/dist/cjs/src/components/pages/AboutUsPage/AboutUsPageProps.d.ts +11 -0
  13. package/dist/cjs/src/components/pages/AboutUsPage/index.d.ts +2 -0
  14. package/dist/cjs/src/components/pages/LegalPage/LegalPage.d.ts +3 -0
  15. package/dist/cjs/src/components/pages/LegalPage/LegalPageProps.d.ts +6 -0
  16. package/dist/cjs/src/components/pages/LegalPage/index.d.ts +2 -0
  17. package/dist/cjs/src/components/pages/UnsubscribePage/UnsubscribePage.d.ts +3 -0
  18. package/dist/cjs/src/components/pages/UnsubscribePage/UnsubscribePageProps.d.ts +6 -0
  19. package/dist/cjs/src/components/pages/UnsubscribePage/index.d.ts +2 -0
  20. package/dist/cjs/src/components/pages/index.d.ts +3 -0
  21. package/dist/cjs/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.d.ts +2 -2
  22. package/dist/cjs/src/components/sections/LegalSection/LegalSection.d.ts +4 -0
  23. package/dist/cjs/src/components/sections/LegalSection/LegalSectionProps.d.ts +4 -0
  24. package/dist/cjs/src/components/sections/LegalSection/index.d.ts +2 -0
  25. package/dist/cjs/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSectionProps.types.d.ts +1 -1
  26. package/dist/cjs/src/components/sections/TryUsSection/TryUsSection.d.ts +4 -0
  27. package/dist/cjs/src/components/sections/TryUsSection/TryUsSectionProps.d.ts +7 -0
  28. package/dist/cjs/src/components/sections/TryUsSection/index.d.ts +2 -0
  29. package/dist/cjs/src/components/sections/UnsubscribeSection/UnsubscribeSection.d.ts +4 -0
  30. package/dist/cjs/src/components/sections/UnsubscribeSection/UnsubscribeSectionProps.d.ts +4 -0
  31. package/dist/cjs/src/components/sections/UnsubscribeSection/index.d.ts +2 -0
  32. package/dist/cjs/src/components/sections/index.d.ts +7 -4
  33. package/dist/cjs/src/index.d.ts +1 -0
  34. package/dist/esm/index.js +3 -3
  35. package/dist/esm/index.js.map +1 -1
  36. package/dist/esm/legal-lib-components.css +238 -72
  37. package/dist/esm/src/components/atoms/JumbotronStatic/JumbotronStatic.d.ts +4 -0
  38. package/dist/esm/src/components/atoms/JumbotronStatic/JumbotronStaticProps.types.d.ts +3 -0
  39. package/dist/esm/src/components/atoms/JumbotronStatic/index.d.ts +2 -0
  40. package/dist/esm/src/components/atoms/index.d.ts +1 -0
  41. package/dist/esm/src/components/molecules/StepGetForm/StepGetForm.d.ts +2 -2
  42. package/dist/esm/src/components/molecules/StepGetForm/StepGetFormProps.types.d.ts +2 -9
  43. package/dist/esm/src/components/pages/AboutUsPage/AboutUsPage.d.ts +3 -0
  44. package/dist/esm/src/components/pages/AboutUsPage/AboutUsPageProps.d.ts +11 -0
  45. package/dist/esm/src/components/pages/AboutUsPage/index.d.ts +2 -0
  46. package/dist/esm/src/components/pages/LegalPage/LegalPage.d.ts +3 -0
  47. package/dist/esm/src/components/pages/LegalPage/LegalPageProps.d.ts +6 -0
  48. package/dist/esm/src/components/pages/LegalPage/index.d.ts +2 -0
  49. package/dist/esm/src/components/pages/UnsubscribePage/UnsubscribePage.d.ts +3 -0
  50. package/dist/esm/src/components/pages/UnsubscribePage/UnsubscribePageProps.d.ts +6 -0
  51. package/dist/esm/src/components/pages/UnsubscribePage/index.d.ts +2 -0
  52. package/dist/esm/src/components/pages/index.d.ts +3 -0
  53. package/dist/esm/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.d.ts +2 -2
  54. package/dist/esm/src/components/sections/LegalSection/LegalSection.d.ts +4 -0
  55. package/dist/esm/src/components/sections/LegalSection/LegalSectionProps.d.ts +4 -0
  56. package/dist/esm/src/components/sections/LegalSection/index.d.ts +2 -0
  57. package/dist/esm/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSectionProps.types.d.ts +1 -1
  58. package/dist/esm/src/components/sections/TryUsSection/TryUsSection.d.ts +4 -0
  59. package/dist/esm/src/components/sections/TryUsSection/TryUsSectionProps.d.ts +7 -0
  60. package/dist/esm/src/components/sections/TryUsSection/index.d.ts +2 -0
  61. package/dist/esm/src/components/sections/UnsubscribeSection/UnsubscribeSection.d.ts +4 -0
  62. package/dist/esm/src/components/sections/UnsubscribeSection/UnsubscribeSectionProps.d.ts +4 -0
  63. package/dist/esm/src/components/sections/UnsubscribeSection/index.d.ts +2 -0
  64. package/dist/esm/src/components/sections/index.d.ts +7 -4
  65. package/dist/esm/src/index.d.ts +1 -0
  66. package/dist/index.d.ts +79 -33
  67. package/package.json +1 -2
package/dist/index.d.ts CHANGED
@@ -222,6 +222,12 @@ interface InfoBoxProps {
222
222
 
223
223
  declare const InfoBox: FC<InfoBoxProps>;
224
224
 
225
+ interface JumbotronStaticProps {
226
+ title: string;
227
+ }
228
+
229
+ declare const JumbotronStatic: FC<JumbotronStaticProps>;
230
+
225
231
  interface LogoProps {
226
232
  siteName: string;
227
233
  className?: string;
@@ -668,17 +674,10 @@ interface StepGetFormProps {
668
674
  id: string;
669
675
  description: string;
670
676
  title: string;
671
- icon: {
672
- localFile: {
673
- publicURL: string;
674
- childImageSharp: {
675
- gatsbyImageData: IGatsbyImageData;
676
- };
677
- };
678
- };
677
+ image?: React.ReactNode;
679
678
  }
680
679
 
681
- declare const StepGetForm: FC<StepGetFormProps>;
680
+ declare const StepGetForm: React$1.FC<StepGetFormProps>;
682
681
 
683
682
  interface TextInputProps {
684
683
  label?: string;
@@ -809,35 +808,35 @@ interface TryOurFreeLegalBlogsContentProps {
809
808
 
810
809
  declare const TryOurFreeLegalBlogsContent: FC<TryOurFreeLegalBlogsContentProps>;
811
810
 
812
- interface BlogSectionProps {
813
- blogTitle: string;
814
- blogCta: string;
815
- articles: ArticlesListProps;
811
+ interface AboutUsSectionProps {
812
+ title: string;
813
+ subTitle?: string;
814
+ contentAboutUs: AboutUsContentProps;
816
815
  }
817
816
 
818
- declare const BlogSection: FC<BlogSectionProps>;
817
+ declare const AboutUsSection: FC<AboutUsSectionProps>;
819
818
 
820
- interface HowGetYourFormsSectionProps {
819
+ interface AsSeeInSectionProps {
821
820
  title: string;
822
- steps: StepGetFormProps[];
823
- hasBackgroundImage: boolean;
821
+ contentAsSeeIn: AsSeeInContentProps;
824
822
  }
825
823
 
826
- declare const HowGetYourFormsSection: FC<HowGetYourFormsSectionProps>;
824
+ declare const AsSeeInSection: FC<AsSeeInSectionProps>;
827
825
 
828
- interface TryOurFreeLegalBlogsSectionProps {
829
- contentTryOurFreeLegalBlogs: TryOurFreeLegalBlogsContentProps;
826
+ interface BlogSectionProps {
827
+ blogTitle: string;
828
+ blogCta: string;
829
+ articles: ArticlesListProps;
830
830
  }
831
831
 
832
- declare const TryOurFreeLegalBlogsSection: FC<TryOurFreeLegalBlogsSectionProps>;
832
+ declare const BlogSection: FC<BlogSectionProps>;
833
833
 
834
- interface AboutUsSectionProps {
834
+ interface ExpertsSectionProps {
835
835
  title: string;
836
- subTitle?: string;
837
- contentAboutUs: AboutUsContentProps;
836
+ contentExpertCardList: ExpertCardListProps;
838
837
  }
839
838
 
840
- declare const AboutUsSection: FC<AboutUsSectionProps>;
839
+ declare const ExpertsSection: FC<ExpertsSectionProps>;
841
840
 
842
841
  interface GuidelinesSectionProps {
843
842
  contentGuidelines: GuidelinesContentProps;
@@ -845,19 +844,19 @@ interface GuidelinesSectionProps {
845
844
 
846
845
  declare const GuidelinesSection: FC<GuidelinesSectionProps>;
847
846
 
848
- interface AsSeeInSectionProps {
847
+ interface HowGetYourFormsSectionProps {
849
848
  title: string;
850
- contentAsSeeIn: AsSeeInContentProps;
849
+ steps: StepGetFormProps[];
850
+ hasBackgroundImage: boolean;
851
851
  }
852
852
 
853
- declare const AsSeeInSection: FC<AsSeeInSectionProps>;
853
+ declare const HowGetYourFormsSection: React$1.FC<HowGetYourFormsSectionProps>;
854
854
 
855
- interface ExpertsSectionProps {
856
- title: string;
857
- contentExpertCardList: ExpertCardListProps;
855
+ interface LegalSectionProps {
856
+ text: RichTextStrapiProps;
858
857
  }
859
858
 
860
- declare const ExpertsSection: FC<ExpertsSectionProps>;
859
+ declare const LegalSection: React$1.FC<LegalSectionProps>;
861
860
 
862
861
  interface PeopleSayAboutUsSectionProps {
863
862
  title?: string;
@@ -866,6 +865,26 @@ interface PeopleSayAboutUsSectionProps {
866
865
 
867
866
  declare const PeopleSayAboutUsSection: FC<PeopleSayAboutUsSectionProps>;
868
867
 
868
+ interface TryOurFreeLegalBlogsSectionProps {
869
+ contentTryOurFreeLegalBlogs: TryOurFreeLegalBlogsContentProps;
870
+ }
871
+
872
+ declare const TryOurFreeLegalBlogsSection: FC<TryOurFreeLegalBlogsSectionProps>;
873
+
874
+ interface TryUsSectionProps {
875
+ children?: ReactNode;
876
+ hasUserToken?: boolean;
877
+ cta: ButtonProps;
878
+ }
879
+
880
+ declare const TryUsSection: FC<TryUsSectionProps>;
881
+
882
+ interface UnsubscribeSectionProps {
883
+ text: RichTextStrapiProps;
884
+ }
885
+
886
+ declare const UnsubscribeSection: React$1.FC<UnsubscribeSectionProps>;
887
+
869
888
  interface WhyLawDistrictSectionProps {
870
889
  title: string;
871
890
  items: WhyLawDistrictItem[];
@@ -889,6 +908,33 @@ interface LearnMoreSectionProps {
889
908
 
890
909
  declare const LearnMoreSection: FC<LearnMoreSectionProps>;
891
910
 
911
+ interface AboutUsPageProps {
912
+ aboutUsSectionProps?: AboutUsSectionProps;
913
+ tryOurFreeLegalBlogsSectionProps?: TryOurFreeLegalBlogsSectionProps;
914
+ peopleSayAboutUsSectionProps?: PeopleSayAboutUsSectionProps;
915
+ guidelinesSectionProps?: GuidelinesSectionProps;
916
+ tryUsSectionProps?: TryUsSectionProps;
917
+ expertsSectionProps?: ExpertsSectionProps;
918
+ asSeeInSectionProps?: AsSeeInSectionProps;
919
+ isJonSnow?: boolean;
920
+ }
921
+
922
+ declare const AboutUsPage: React$1.FC<AboutUsPageProps>;
923
+
924
+ interface LegalPageProps {
925
+ jumbotron: JumbotronStaticProps;
926
+ legalSection: LegalSectionProps;
927
+ }
928
+
929
+ declare const LegalPage: React$1.FC<LegalPageProps>;
930
+
931
+ interface UnsubscribePageProps {
932
+ jumbotron: JumbotronStaticProps;
933
+ unsubscribeSection: UnsubscribeSectionProps;
934
+ }
935
+
936
+ declare const UnsubscribePage: React$1.FC<UnsubscribePageProps>;
937
+
892
938
  declare function useIntersectionObserver({ options, defaultIntersecting }: {
893
939
  options?: {} | undefined;
894
940
  defaultIntersecting?: boolean | undefined;
@@ -901,4 +947,4 @@ interface UseIsMobileOrTablePropsReturn {
901
947
  }
902
948
  declare const useIsMobileOrTable: () => UseIsMobileOrTablePropsReturn;
903
949
 
904
- export { AboutUsContent, type AboutUsContentProps, 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, type LatestApplication, LearnMoreSection, type LearnMoreSectionProps, 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, type WhyLawDistrictItem, WhyLawDistrictItems, type WhyLawDistrictItemsProps, WhyLawDistrictSection, type WhyLawDistrictSectionProps, WideInfoBar, useIntersectionObserver, useIsMobileOrTable };
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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npm_leadtech/legal-lib-components",
3
- "version": "2.26.0",
3
+ "version": "2.26.1",
4
4
  "dependencies": {
5
5
  "@testing-library/jest-dom": "^6.1.4",
6
6
  "@tippyjs/react": "4.2.6",
@@ -46,7 +46,6 @@
46
46
  "@storybook/addon-controls": "^7.5.3",
47
47
  "@storybook/addon-essentials": "^7.5.3",
48
48
  "@storybook/addon-links": "^7.5.3",
49
- "@storybook/addon-mdx-gfm": "^7.5.3",
50
49
  "@storybook/react": "^7.5.3",
51
50
  "@storybook/react-webpack5": "^7.5.3",
52
51
  "@testing-library/jest-dom": "^6.1.4",