@npm_leadtech/legal-lib-components 2.23.2 → 2.23.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -0
- package/dist/cjs/index.js +3 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/legal-lib-components.css +238 -147
- package/dist/cjs/src/components/atoms/JumbotronStatic/JumbotronStatic.d.ts +4 -0
- package/dist/cjs/src/components/atoms/JumbotronStatic/JumbotronStaticProps.types.d.ts +3 -0
- package/dist/cjs/src/components/atoms/JumbotronStatic/index.d.ts +2 -0
- package/dist/cjs/src/components/atoms/index.d.ts +1 -0
- package/dist/cjs/src/components/molecules/StepGetForm/StepGetForm.d.ts +2 -2
- package/dist/cjs/src/components/molecules/StepGetForm/StepGetFormProps.types.d.ts +2 -9
- package/dist/cjs/src/components/pages/AboutUsPage/AboutUsPage.d.ts +3 -0
- package/dist/cjs/src/components/pages/AboutUsPage/AboutUsPageProps.d.ts +11 -0
- package/dist/cjs/src/components/pages/AboutUsPage/index.d.ts +2 -0
- package/dist/cjs/src/components/pages/LegalPage/LegalPage.d.ts +3 -0
- package/dist/cjs/src/components/pages/LegalPage/LegalPageProps.d.ts +6 -0
- package/dist/cjs/src/components/pages/LegalPage/index.d.ts +2 -0
- package/dist/cjs/src/components/pages/UnsubscribePage/UnsubscribePage.d.ts +3 -0
- package/dist/cjs/src/components/pages/UnsubscribePage/UnsubscribePageProps.d.ts +6 -0
- package/dist/cjs/src/components/pages/UnsubscribePage/index.d.ts +2 -0
- package/dist/cjs/src/components/pages/index.d.ts +3 -0
- package/dist/cjs/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.d.ts +2 -2
- package/dist/cjs/src/components/sections/LegalSection/LegalSection.d.ts +4 -0
- package/dist/cjs/src/components/sections/LegalSection/LegalSectionProps.d.ts +4 -0
- package/dist/cjs/src/components/sections/LegalSection/index.d.ts +2 -0
- package/dist/cjs/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSectionProps.types.d.ts +1 -1
- package/dist/cjs/src/components/sections/TryUsSection/TryUsSection.d.ts +4 -0
- package/dist/cjs/src/components/sections/TryUsSection/TryUsSectionProps.d.ts +7 -0
- package/dist/cjs/src/components/sections/TryUsSection/index.d.ts +2 -0
- package/dist/cjs/src/components/sections/UnsubscribeSection/UnsubscribeSection.d.ts +4 -0
- package/dist/cjs/src/components/sections/UnsubscribeSection/UnsubscribeSectionProps.d.ts +4 -0
- package/dist/cjs/src/components/sections/UnsubscribeSection/index.d.ts +2 -0
- package/dist/cjs/src/components/sections/index.d.ts +7 -5
- package/dist/cjs/src/index.d.ts +1 -0
- package/dist/esm/index.js +3 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/legal-lib-components.css +238 -147
- package/dist/esm/src/components/atoms/JumbotronStatic/JumbotronStatic.d.ts +4 -0
- package/dist/esm/src/components/atoms/JumbotronStatic/JumbotronStaticProps.types.d.ts +3 -0
- package/dist/esm/src/components/atoms/JumbotronStatic/index.d.ts +2 -0
- package/dist/esm/src/components/atoms/index.d.ts +1 -0
- package/dist/esm/src/components/molecules/StepGetForm/StepGetForm.d.ts +2 -2
- package/dist/esm/src/components/molecules/StepGetForm/StepGetFormProps.types.d.ts +2 -9
- package/dist/esm/src/components/pages/AboutUsPage/AboutUsPage.d.ts +3 -0
- package/dist/esm/src/components/pages/AboutUsPage/AboutUsPageProps.d.ts +11 -0
- package/dist/esm/src/components/pages/AboutUsPage/index.d.ts +2 -0
- package/dist/esm/src/components/pages/LegalPage/LegalPage.d.ts +3 -0
- package/dist/esm/src/components/pages/LegalPage/LegalPageProps.d.ts +6 -0
- package/dist/esm/src/components/pages/LegalPage/index.d.ts +2 -0
- package/dist/esm/src/components/pages/UnsubscribePage/UnsubscribePage.d.ts +3 -0
- package/dist/esm/src/components/pages/UnsubscribePage/UnsubscribePageProps.d.ts +6 -0
- package/dist/esm/src/components/pages/UnsubscribePage/index.d.ts +2 -0
- package/dist/esm/src/components/pages/index.d.ts +3 -0
- package/dist/esm/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.d.ts +2 -2
- package/dist/esm/src/components/sections/LegalSection/LegalSection.d.ts +4 -0
- package/dist/esm/src/components/sections/LegalSection/LegalSectionProps.d.ts +4 -0
- package/dist/esm/src/components/sections/LegalSection/index.d.ts +2 -0
- package/dist/esm/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSectionProps.types.d.ts +1 -1
- package/dist/esm/src/components/sections/TryUsSection/TryUsSection.d.ts +4 -0
- package/dist/esm/src/components/sections/TryUsSection/TryUsSectionProps.d.ts +7 -0
- package/dist/esm/src/components/sections/TryUsSection/index.d.ts +2 -0
- package/dist/esm/src/components/sections/UnsubscribeSection/UnsubscribeSection.d.ts +4 -0
- package/dist/esm/src/components/sections/UnsubscribeSection/UnsubscribeSectionProps.d.ts +4 -0
- package/dist/esm/src/components/sections/UnsubscribeSection/index.d.ts +2 -0
- package/dist/esm/src/components/sections/index.d.ts +7 -5
- package/dist/esm/src/index.d.ts +1 -0
- package/dist/index.d.ts +76 -39
- package/package.json +1 -2
- package/dist/cjs/src/components/sections/LearnMoreSection/LearnMoreSection.d.ts +0 -5
- package/dist/cjs/src/components/sections/LearnMoreSection/LearnMoreSectionProps.types.d.ts +0 -7
- package/dist/cjs/src/components/sections/LearnMoreSection/index.d.ts +0 -2
- package/dist/esm/src/components/sections/LearnMoreSection/LearnMoreSection.d.ts +0 -5
- package/dist/esm/src/components/sections/LearnMoreSection/LearnMoreSectionProps.types.d.ts +0 -7
- package/dist/esm/src/components/sections/LearnMoreSection/index.d.ts +0 -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
|
-
|
|
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;
|
|
@@ -802,35 +801,35 @@ interface TryOurFreeLegalBlogsContentProps {
|
|
|
802
801
|
|
|
803
802
|
declare const TryOurFreeLegalBlogsContent: FC<TryOurFreeLegalBlogsContentProps>;
|
|
804
803
|
|
|
805
|
-
interface
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
804
|
+
interface AboutUsSectionProps {
|
|
805
|
+
title: string;
|
|
806
|
+
subTitle?: string;
|
|
807
|
+
contentAboutUs: AboutUsContentProps;
|
|
809
808
|
}
|
|
810
809
|
|
|
811
|
-
declare const
|
|
810
|
+
declare const AboutUsSection: FC<AboutUsSectionProps>;
|
|
812
811
|
|
|
813
|
-
interface
|
|
812
|
+
interface AsSeeInSectionProps {
|
|
814
813
|
title: string;
|
|
815
|
-
|
|
816
|
-
hasBackgroundImage: boolean;
|
|
814
|
+
contentAsSeeIn: AsSeeInContentProps;
|
|
817
815
|
}
|
|
818
816
|
|
|
819
|
-
declare const
|
|
817
|
+
declare const AsSeeInSection: FC<AsSeeInSectionProps>;
|
|
820
818
|
|
|
821
|
-
interface
|
|
822
|
-
|
|
819
|
+
interface BlogSectionProps {
|
|
820
|
+
blogTitle: string;
|
|
821
|
+
blogCta: string;
|
|
822
|
+
articles: ArticlesListProps;
|
|
823
823
|
}
|
|
824
824
|
|
|
825
|
-
declare const
|
|
825
|
+
declare const BlogSection: FC<BlogSectionProps>;
|
|
826
826
|
|
|
827
|
-
interface
|
|
827
|
+
interface ExpertsSectionProps {
|
|
828
828
|
title: string;
|
|
829
|
-
|
|
830
|
-
contentAboutUs: AboutUsContentProps;
|
|
829
|
+
contentExpertCardList: ExpertCardListProps;
|
|
831
830
|
}
|
|
832
831
|
|
|
833
|
-
declare const
|
|
832
|
+
declare const ExpertsSection: FC<ExpertsSectionProps>;
|
|
834
833
|
|
|
835
834
|
interface GuidelinesSectionProps {
|
|
836
835
|
contentGuidelines: GuidelinesContentProps;
|
|
@@ -838,19 +837,19 @@ interface GuidelinesSectionProps {
|
|
|
838
837
|
|
|
839
838
|
declare const GuidelinesSection: FC<GuidelinesSectionProps>;
|
|
840
839
|
|
|
841
|
-
interface
|
|
840
|
+
interface HowGetYourFormsSectionProps {
|
|
842
841
|
title: string;
|
|
843
|
-
|
|
842
|
+
steps: StepGetFormProps[];
|
|
843
|
+
hasBackgroundImage: boolean;
|
|
844
844
|
}
|
|
845
845
|
|
|
846
|
-
declare const
|
|
846
|
+
declare const HowGetYourFormsSection: React$1.FC<HowGetYourFormsSectionProps>;
|
|
847
847
|
|
|
848
|
-
interface
|
|
849
|
-
|
|
850
|
-
contentExpertCardList: ExpertCardListProps;
|
|
848
|
+
interface LegalSectionProps {
|
|
849
|
+
text: RichTextStrapiProps;
|
|
851
850
|
}
|
|
852
851
|
|
|
853
|
-
declare const
|
|
852
|
+
declare const LegalSection: React$1.FC<LegalSectionProps>;
|
|
854
853
|
|
|
855
854
|
interface PeopleSayAboutUsSectionProps {
|
|
856
855
|
title?: string;
|
|
@@ -859,6 +858,26 @@ interface PeopleSayAboutUsSectionProps {
|
|
|
859
858
|
|
|
860
859
|
declare const PeopleSayAboutUsSection: FC<PeopleSayAboutUsSectionProps>;
|
|
861
860
|
|
|
861
|
+
interface TryOurFreeLegalBlogsSectionProps {
|
|
862
|
+
contentTryOurFreeLegalBlogs: TryOurFreeLegalBlogsContentProps;
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
declare const TryOurFreeLegalBlogsSection: FC<TryOurFreeLegalBlogsSectionProps>;
|
|
866
|
+
|
|
867
|
+
interface TryUsSectionProps {
|
|
868
|
+
children?: ReactNode;
|
|
869
|
+
hasUserToken?: boolean;
|
|
870
|
+
cta: ButtonProps;
|
|
871
|
+
}
|
|
872
|
+
|
|
873
|
+
declare const TryUsSection: FC<TryUsSectionProps>;
|
|
874
|
+
|
|
875
|
+
interface UnsubscribeSectionProps {
|
|
876
|
+
text: RichTextStrapiProps;
|
|
877
|
+
}
|
|
878
|
+
|
|
879
|
+
declare const UnsubscribeSection: React$1.FC<UnsubscribeSectionProps>;
|
|
880
|
+
|
|
862
881
|
interface WhyLawDistrictSectionProps {
|
|
863
882
|
title: string;
|
|
864
883
|
items: WhyLawDistrictItem[];
|
|
@@ -873,14 +892,32 @@ interface WhyLawDistrictSectionProps {
|
|
|
873
892
|
|
|
874
893
|
declare const WhyLawDistrictSection: React$1.FC<WhyLawDistrictSectionProps>;
|
|
875
894
|
|
|
876
|
-
interface
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
895
|
+
interface AboutUsPageProps {
|
|
896
|
+
aboutUsSectionProps?: AboutUsSectionProps;
|
|
897
|
+
tryOurFreeLegalBlogsSectionProps?: TryOurFreeLegalBlogsSectionProps;
|
|
898
|
+
peopleSayAboutUsSectionProps?: PeopleSayAboutUsSectionProps;
|
|
899
|
+
guidelinesSectionProps?: GuidelinesSectionProps;
|
|
900
|
+
tryUsSectionProps?: TryUsSectionProps;
|
|
901
|
+
expertsSectionProps?: ExpertsSectionProps;
|
|
902
|
+
asSeeInSectionProps?: AsSeeInSectionProps;
|
|
903
|
+
isJonSnow?: boolean;
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
declare const AboutUsPage: React$1.FC<AboutUsPageProps>;
|
|
907
|
+
|
|
908
|
+
interface LegalPageProps {
|
|
909
|
+
jumbotron: JumbotronStaticProps;
|
|
910
|
+
legalSection: LegalSectionProps;
|
|
911
|
+
}
|
|
912
|
+
|
|
913
|
+
declare const LegalPage: React$1.FC<LegalPageProps>;
|
|
914
|
+
|
|
915
|
+
interface UnsubscribePageProps {
|
|
916
|
+
jumbotron: JumbotronStaticProps;
|
|
917
|
+
unsubscribeSection: UnsubscribeSectionProps;
|
|
881
918
|
}
|
|
882
919
|
|
|
883
|
-
declare const
|
|
920
|
+
declare const UnsubscribePage: React$1.FC<UnsubscribePageProps>;
|
|
884
921
|
|
|
885
922
|
declare function useIntersectionObserver({ options, defaultIntersecting }: {
|
|
886
923
|
options?: {} | undefined;
|
|
@@ -894,4 +931,4 @@ interface UseIsMobileOrTablePropsReturn {
|
|
|
894
931
|
}
|
|
895
932
|
declare const useIsMobileOrTable: () => UseIsMobileOrTablePropsReturn;
|
|
896
933
|
|
|
897
|
-
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, 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,
|
|
934
|
+
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, 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, 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.23.
|
|
3
|
+
"version": "2.23.4",
|
|
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",
|