@npm_leadtech/legal-lib-components 2.23.1 → 2.23.2
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 +0 -5
- package/dist/cjs/index.js +3 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/legal-lib-components.css +144 -236
- package/dist/cjs/src/components/atoms/index.d.ts +0 -1
- package/dist/cjs/src/components/molecules/StepGetForm/StepGetForm.d.ts +2 -2
- package/dist/cjs/src/components/molecules/StepGetForm/StepGetFormProps.types.d.ts +9 -2
- package/dist/cjs/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.d.ts +2 -2
- package/dist/cjs/src/components/sections/LearnMoreSection/LearnMoreSection.d.ts +5 -0
- package/dist/cjs/src/components/sections/LearnMoreSection/LearnMoreSectionProps.types.d.ts +7 -0
- package/dist/cjs/src/components/sections/LearnMoreSection/index.d.ts +2 -0
- package/dist/cjs/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSectionProps.types.d.ts +1 -1
- package/dist/cjs/src/components/sections/index.d.ts +5 -7
- package/dist/cjs/src/index.d.ts +0 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/legal-lib-components.css +144 -236
- package/dist/esm/src/components/atoms/index.d.ts +0 -1
- package/dist/esm/src/components/molecules/StepGetForm/StepGetForm.d.ts +2 -2
- package/dist/esm/src/components/molecules/StepGetForm/StepGetFormProps.types.d.ts +9 -2
- package/dist/esm/src/components/sections/HowGetYourFormsSection/HowGetYourFormsSection.d.ts +2 -2
- package/dist/esm/src/components/sections/LearnMoreSection/LearnMoreSection.d.ts +5 -0
- package/dist/esm/src/components/sections/LearnMoreSection/LearnMoreSectionProps.types.d.ts +7 -0
- package/dist/esm/src/components/sections/LearnMoreSection/index.d.ts +2 -0
- package/dist/esm/src/components/sections/TryOurFreeLegalBlogsSection/TryOurFreeLegalBlogsSectionProps.types.d.ts +1 -1
- package/dist/esm/src/components/sections/index.d.ts +5 -7
- package/dist/esm/src/index.d.ts +0 -1
- package/dist/index.d.ts +39 -76
- package/package.json +2 -1
- package/dist/cjs/src/components/atoms/JumbotronStatic/JumbotronStatic.d.ts +0 -4
- package/dist/cjs/src/components/atoms/JumbotronStatic/JumbotronStaticProps.types.d.ts +0 -3
- package/dist/cjs/src/components/atoms/JumbotronStatic/index.d.ts +0 -2
- package/dist/cjs/src/components/pages/AboutUsPage/AboutUsPage.d.ts +0 -3
- package/dist/cjs/src/components/pages/AboutUsPage/AboutUsPageProps.d.ts +0 -11
- package/dist/cjs/src/components/pages/AboutUsPage/index.d.ts +0 -2
- package/dist/cjs/src/components/pages/LegalPage/LegalPage.d.ts +0 -3
- package/dist/cjs/src/components/pages/LegalPage/LegalPageProps.d.ts +0 -6
- package/dist/cjs/src/components/pages/LegalPage/index.d.ts +0 -2
- package/dist/cjs/src/components/pages/UnsubscribePage/UnsubscribePage.d.ts +0 -3
- package/dist/cjs/src/components/pages/UnsubscribePage/UnsubscribePageProps.d.ts +0 -6
- package/dist/cjs/src/components/pages/UnsubscribePage/index.d.ts +0 -2
- package/dist/cjs/src/components/pages/index.d.ts +0 -3
- package/dist/cjs/src/components/sections/LegalSection/LegalSection.d.ts +0 -4
- package/dist/cjs/src/components/sections/LegalSection/LegalSectionProps.d.ts +0 -4
- package/dist/cjs/src/components/sections/LegalSection/index.d.ts +0 -2
- package/dist/cjs/src/components/sections/TryUsSection/TryUsSection.d.ts +0 -4
- package/dist/cjs/src/components/sections/TryUsSection/TryUsSectionProps.d.ts +0 -7
- package/dist/cjs/src/components/sections/TryUsSection/index.d.ts +0 -2
- package/dist/cjs/src/components/sections/UnsubscribeSection/UnsubscribeSection.d.ts +0 -4
- package/dist/cjs/src/components/sections/UnsubscribeSection/UnsubscribeSectionProps.d.ts +0 -4
- package/dist/cjs/src/components/sections/UnsubscribeSection/index.d.ts +0 -2
- package/dist/esm/src/components/atoms/JumbotronStatic/JumbotronStatic.d.ts +0 -4
- package/dist/esm/src/components/atoms/JumbotronStatic/JumbotronStaticProps.types.d.ts +0 -3
- package/dist/esm/src/components/atoms/JumbotronStatic/index.d.ts +0 -2
- package/dist/esm/src/components/pages/AboutUsPage/AboutUsPage.d.ts +0 -3
- package/dist/esm/src/components/pages/AboutUsPage/AboutUsPageProps.d.ts +0 -11
- package/dist/esm/src/components/pages/AboutUsPage/index.d.ts +0 -2
- package/dist/esm/src/components/pages/LegalPage/LegalPage.d.ts +0 -3
- package/dist/esm/src/components/pages/LegalPage/LegalPageProps.d.ts +0 -6
- package/dist/esm/src/components/pages/LegalPage/index.d.ts +0 -2
- package/dist/esm/src/components/pages/UnsubscribePage/UnsubscribePage.d.ts +0 -3
- package/dist/esm/src/components/pages/UnsubscribePage/UnsubscribePageProps.d.ts +0 -6
- package/dist/esm/src/components/pages/UnsubscribePage/index.d.ts +0 -2
- package/dist/esm/src/components/pages/index.d.ts +0 -3
- package/dist/esm/src/components/sections/LegalSection/LegalSection.d.ts +0 -4
- package/dist/esm/src/components/sections/LegalSection/LegalSectionProps.d.ts +0 -4
- package/dist/esm/src/components/sections/LegalSection/index.d.ts +0 -2
- package/dist/esm/src/components/sections/TryUsSection/TryUsSection.d.ts +0 -4
- package/dist/esm/src/components/sections/TryUsSection/TryUsSectionProps.d.ts +0 -7
- package/dist/esm/src/components/sections/TryUsSection/index.d.ts +0 -2
- package/dist/esm/src/components/sections/UnsubscribeSection/UnsubscribeSection.d.ts +0 -4
- package/dist/esm/src/components/sections/UnsubscribeSection/UnsubscribeSectionProps.d.ts +0 -4
- package/dist/esm/src/components/sections/UnsubscribeSection/index.d.ts +0 -2
package/dist/index.d.ts
CHANGED
|
@@ -222,12 +222,6 @@ 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
|
-
|
|
231
225
|
interface LogoProps {
|
|
232
226
|
siteName: string;
|
|
233
227
|
className?: string;
|
|
@@ -674,10 +668,17 @@ interface StepGetFormProps {
|
|
|
674
668
|
id: string;
|
|
675
669
|
description: string;
|
|
676
670
|
title: string;
|
|
677
|
-
|
|
671
|
+
icon: {
|
|
672
|
+
localFile: {
|
|
673
|
+
publicURL: string;
|
|
674
|
+
childImageSharp: {
|
|
675
|
+
gatsbyImageData: IGatsbyImageData;
|
|
676
|
+
};
|
|
677
|
+
};
|
|
678
|
+
};
|
|
678
679
|
}
|
|
679
680
|
|
|
680
|
-
declare const StepGetForm:
|
|
681
|
+
declare const StepGetForm: FC<StepGetFormProps>;
|
|
681
682
|
|
|
682
683
|
interface TextInputProps {
|
|
683
684
|
label?: string;
|
|
@@ -801,35 +802,35 @@ interface TryOurFreeLegalBlogsContentProps {
|
|
|
801
802
|
|
|
802
803
|
declare const TryOurFreeLegalBlogsContent: FC<TryOurFreeLegalBlogsContentProps>;
|
|
803
804
|
|
|
804
|
-
interface
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
805
|
+
interface BlogSectionProps {
|
|
806
|
+
blogTitle: string;
|
|
807
|
+
blogCta: string;
|
|
808
|
+
articles: ArticlesListProps;
|
|
808
809
|
}
|
|
809
810
|
|
|
810
|
-
declare const
|
|
811
|
+
declare const BlogSection: FC<BlogSectionProps>;
|
|
811
812
|
|
|
812
|
-
interface
|
|
813
|
+
interface HowGetYourFormsSectionProps {
|
|
813
814
|
title: string;
|
|
814
|
-
|
|
815
|
+
steps: StepGetFormProps[];
|
|
816
|
+
hasBackgroundImage: boolean;
|
|
815
817
|
}
|
|
816
818
|
|
|
817
|
-
declare const
|
|
819
|
+
declare const HowGetYourFormsSection: FC<HowGetYourFormsSectionProps>;
|
|
818
820
|
|
|
819
|
-
interface
|
|
820
|
-
|
|
821
|
-
blogCta: string;
|
|
822
|
-
articles: ArticlesListProps;
|
|
821
|
+
interface TryOurFreeLegalBlogsSectionProps {
|
|
822
|
+
contentTryOurFreeLegalBlogs: TryOurFreeLegalBlogsContentProps;
|
|
823
823
|
}
|
|
824
824
|
|
|
825
|
-
declare const
|
|
825
|
+
declare const TryOurFreeLegalBlogsSection: FC<TryOurFreeLegalBlogsSectionProps>;
|
|
826
826
|
|
|
827
|
-
interface
|
|
827
|
+
interface AboutUsSectionProps {
|
|
828
828
|
title: string;
|
|
829
|
-
|
|
829
|
+
subTitle?: string;
|
|
830
|
+
contentAboutUs: AboutUsContentProps;
|
|
830
831
|
}
|
|
831
832
|
|
|
832
|
-
declare const
|
|
833
|
+
declare const AboutUsSection: FC<AboutUsSectionProps>;
|
|
833
834
|
|
|
834
835
|
interface GuidelinesSectionProps {
|
|
835
836
|
contentGuidelines: GuidelinesContentProps;
|
|
@@ -837,19 +838,19 @@ interface GuidelinesSectionProps {
|
|
|
837
838
|
|
|
838
839
|
declare const GuidelinesSection: FC<GuidelinesSectionProps>;
|
|
839
840
|
|
|
840
|
-
interface
|
|
841
|
+
interface AsSeeInSectionProps {
|
|
841
842
|
title: string;
|
|
842
|
-
|
|
843
|
-
hasBackgroundImage: boolean;
|
|
843
|
+
contentAsSeeIn: AsSeeInContentProps;
|
|
844
844
|
}
|
|
845
845
|
|
|
846
|
-
declare const
|
|
846
|
+
declare const AsSeeInSection: FC<AsSeeInSectionProps>;
|
|
847
847
|
|
|
848
|
-
interface
|
|
849
|
-
|
|
848
|
+
interface ExpertsSectionProps {
|
|
849
|
+
title: string;
|
|
850
|
+
contentExpertCardList: ExpertCardListProps;
|
|
850
851
|
}
|
|
851
852
|
|
|
852
|
-
declare const
|
|
853
|
+
declare const ExpertsSection: FC<ExpertsSectionProps>;
|
|
853
854
|
|
|
854
855
|
interface PeopleSayAboutUsSectionProps {
|
|
855
856
|
title?: string;
|
|
@@ -858,26 +859,6 @@ interface PeopleSayAboutUsSectionProps {
|
|
|
858
859
|
|
|
859
860
|
declare const PeopleSayAboutUsSection: FC<PeopleSayAboutUsSectionProps>;
|
|
860
861
|
|
|
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
|
-
|
|
881
862
|
interface WhyLawDistrictSectionProps {
|
|
882
863
|
title: string;
|
|
883
864
|
items: WhyLawDistrictItem[];
|
|
@@ -892,32 +873,14 @@ interface WhyLawDistrictSectionProps {
|
|
|
892
873
|
|
|
893
874
|
declare const WhyLawDistrictSection: React$1.FC<WhyLawDistrictSectionProps>;
|
|
894
875
|
|
|
895
|
-
interface
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
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;
|
|
876
|
+
interface LearnMoreSectionProps {
|
|
877
|
+
title: string;
|
|
878
|
+
description: string;
|
|
879
|
+
cta: string;
|
|
880
|
+
faqs: React.ReactNode;
|
|
918
881
|
}
|
|
919
882
|
|
|
920
|
-
declare const
|
|
883
|
+
declare const LearnMoreSection: FC<LearnMoreSectionProps>;
|
|
921
884
|
|
|
922
885
|
declare function useIntersectionObserver({ options, defaultIntersecting }: {
|
|
923
886
|
options?: {} | undefined;
|
|
@@ -931,4 +894,4 @@ interface UseIsMobileOrTablePropsReturn {
|
|
|
931
894
|
}
|
|
932
895
|
declare const useIsMobileOrTable: () => UseIsMobileOrTablePropsReturn;
|
|
933
896
|
|
|
934
|
-
export { AboutUsContent, type AboutUsContentProps,
|
|
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, 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 };
|
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.2",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"@testing-library/jest-dom": "^6.1.4",
|
|
6
6
|
"@tippyjs/react": "4.2.6",
|
|
@@ -46,6 +46,7 @@
|
|
|
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",
|
|
49
50
|
"@storybook/react": "^7.5.3",
|
|
50
51
|
"@storybook/react-webpack5": "^7.5.3",
|
|
51
52
|
"@testing-library/jest-dom": "^6.1.4",
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { AboutUsSectionProps, AsSeeInSectionProps, ExpertsSectionProps, GuidelinesSectionProps, PeopleSayAboutUsSectionProps, TryOurFreeLegalBlogsSectionProps, TryUsSectionProps } from '../../sections';
|
|
2
|
-
export interface AboutUsPageProps {
|
|
3
|
-
aboutUsSectionProps?: AboutUsSectionProps;
|
|
4
|
-
tryOurFreeLegalBlogsSectionProps?: TryOurFreeLegalBlogsSectionProps;
|
|
5
|
-
peopleSayAboutUsSectionProps?: PeopleSayAboutUsSectionProps;
|
|
6
|
-
guidelinesSectionProps?: GuidelinesSectionProps;
|
|
7
|
-
tryUsSectionProps?: TryUsSectionProps;
|
|
8
|
-
expertsSectionProps?: ExpertsSectionProps;
|
|
9
|
-
asSeeInSectionProps?: AsSeeInSectionProps;
|
|
10
|
-
isJonSnow?: boolean;
|
|
11
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { AboutUsSectionProps, AsSeeInSectionProps, ExpertsSectionProps, GuidelinesSectionProps, PeopleSayAboutUsSectionProps, TryOurFreeLegalBlogsSectionProps, TryUsSectionProps } from '../../sections';
|
|
2
|
-
export interface AboutUsPageProps {
|
|
3
|
-
aboutUsSectionProps?: AboutUsSectionProps;
|
|
4
|
-
tryOurFreeLegalBlogsSectionProps?: TryOurFreeLegalBlogsSectionProps;
|
|
5
|
-
peopleSayAboutUsSectionProps?: PeopleSayAboutUsSectionProps;
|
|
6
|
-
guidelinesSectionProps?: GuidelinesSectionProps;
|
|
7
|
-
tryUsSectionProps?: TryUsSectionProps;
|
|
8
|
-
expertsSectionProps?: ExpertsSectionProps;
|
|
9
|
-
asSeeInSectionProps?: AsSeeInSectionProps;
|
|
10
|
-
isJonSnow?: boolean;
|
|
11
|
-
}
|