@npm_leadtech/legal-lib-components 2.47.0 → 2.47.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/dist/cjs/images/componentsSvg/ChevronExpandMore.d.ts +3 -1
- package/dist/cjs/images/componentsSvg/flags/GBFlag.d.ts +2 -0
- package/dist/cjs/images/componentsSvg/flags/USFlag.d.ts +2 -0
- package/dist/cjs/index.js +6 -6
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/legal-lib-components.css +81 -0
- package/dist/cjs/src/components/atoms/NavMenuItem/NavMenuItem.d.ts +4 -0
- package/dist/cjs/src/components/atoms/NavMenuItem/NavMenuItemProps.d.ts +8 -0
- package/dist/cjs/src/components/atoms/NavMenuItem/index.d.ts +2 -0
- package/dist/cjs/src/components/atoms/index.d.ts +1 -0
- package/dist/cjs/src/components/organisms/LanguageSelector/LanguageSelector.d.ts +3 -0
- package/dist/cjs/src/components/organisms/LanguageSelector/LanguageSelectorProps.d.ts +5 -0
- package/dist/cjs/src/components/organisms/LanguageSelector/LenguageSelectorItem.d.ts +7 -0
- package/dist/cjs/src/components/organisms/LanguageSelector/index.d.ts +6 -0
- package/dist/cjs/src/components/organisms/LanguageSelector/useLanguageOptions.d.ts +4 -0
- package/dist/cjs/src/components/organisms/LanguageSelector/useLanguageSelected.d.ts +4 -0
- package/dist/cjs/src/components/organisms/LanguageSelector/useLanguagesSelector.d.ts +4 -0
- package/dist/cjs/src/components/organisms/LanguageSelectorMobile/LanguageSelectorMobile.d.ts +4 -0
- package/dist/cjs/src/components/organisms/LanguageSelectorMobile/index.d.ts +1 -0
- package/dist/cjs/src/components/organisms/index.d.ts +2 -0
- package/dist/esm/images/componentsSvg/ChevronExpandMore.d.ts +3 -1
- package/dist/esm/images/componentsSvg/flags/GBFlag.d.ts +2 -0
- package/dist/esm/images/componentsSvg/flags/USFlag.d.ts +2 -0
- package/dist/esm/index.js +4 -4
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/legal-lib-components.css +81 -0
- package/dist/esm/src/components/atoms/NavMenuItem/NavMenuItem.d.ts +4 -0
- package/dist/esm/src/components/atoms/NavMenuItem/NavMenuItemProps.d.ts +8 -0
- package/dist/esm/src/components/atoms/NavMenuItem/index.d.ts +2 -0
- package/dist/esm/src/components/atoms/index.d.ts +1 -0
- package/dist/esm/src/components/organisms/LanguageSelector/LanguageSelector.d.ts +3 -0
- package/dist/esm/src/components/organisms/LanguageSelector/LanguageSelectorProps.d.ts +5 -0
- package/dist/esm/src/components/organisms/LanguageSelector/LenguageSelectorItem.d.ts +7 -0
- package/dist/esm/src/components/organisms/LanguageSelector/index.d.ts +6 -0
- package/dist/esm/src/components/organisms/LanguageSelector/useLanguageOptions.d.ts +4 -0
- package/dist/esm/src/components/organisms/LanguageSelector/useLanguageSelected.d.ts +4 -0
- package/dist/esm/src/components/organisms/LanguageSelector/useLanguagesSelector.d.ts +4 -0
- package/dist/esm/src/components/organisms/LanguageSelectorMobile/LanguageSelectorMobile.d.ts +4 -0
- package/dist/esm/src/components/organisms/LanguageSelectorMobile/index.d.ts +1 -0
- package/dist/esm/src/components/organisms/index.d.ts +2 -0
- package/dist/index.d.ts +39 -1
- package/package.json +1 -1
|
@@ -2072,6 +2072,46 @@ html[data-theme='lawdistrict'] .document-status.--is-new {
|
|
|
2072
2072
|
letter-spacing: -0.3px;
|
|
2073
2073
|
color: var(--neutral-neutral-2); }
|
|
2074
2074
|
|
|
2075
|
+
.nav-menu-item {
|
|
2076
|
+
border-radius: 4px;
|
|
2077
|
+
position: relative;
|
|
2078
|
+
width: fit-content; }
|
|
2079
|
+
.nav-menu-item .title {
|
|
2080
|
+
position: relative; }
|
|
2081
|
+
.nav-menu-item .e-button {
|
|
2082
|
+
display: flex;
|
|
2083
|
+
flex-flow: row nowrap;
|
|
2084
|
+
gap: 0.1rem;
|
|
2085
|
+
padding: 0.25rem 0.5rem;
|
|
2086
|
+
border: 0; }
|
|
2087
|
+
.nav-menu-item .list {
|
|
2088
|
+
border-radius: 4px;
|
|
2089
|
+
padding: 0.5rem;
|
|
2090
|
+
margin-top: 0.5rem;
|
|
2091
|
+
display: flex;
|
|
2092
|
+
visibility: hidden;
|
|
2093
|
+
opacity: 0;
|
|
2094
|
+
background: var(--others-white);
|
|
2095
|
+
transition: all 0.1s ease;
|
|
2096
|
+
box-shadow: 0 0.25rem 0.5rem 0 rgba(var(--primary-main-dark-1-rgb), 0.2);
|
|
2097
|
+
min-width: max-content;
|
|
2098
|
+
flex-flow: column wrap;
|
|
2099
|
+
position: absolute;
|
|
2100
|
+
left: 0; }
|
|
2101
|
+
.nav-menu-item .list .item-list:hover {
|
|
2102
|
+
background-color: var(--primary-main-light-5); }
|
|
2103
|
+
.nav-menu-item:hover .title:after {
|
|
2104
|
+
display: block; }
|
|
2105
|
+
.nav-menu-item:hover .list {
|
|
2106
|
+
opacity: 1;
|
|
2107
|
+
z-index: 11;
|
|
2108
|
+
margin-top: 0.8rem;
|
|
2109
|
+
visibility: visible;
|
|
2110
|
+
transition: all 0.4s ease; }
|
|
2111
|
+
@media (min-width: 960px) {
|
|
2112
|
+
.nav-menu-item {
|
|
2113
|
+
display: block; } }
|
|
2114
|
+
|
|
2075
2115
|
.paypal-button {
|
|
2076
2116
|
padding: 0;
|
|
2077
2117
|
border: none;
|
|
@@ -4757,6 +4797,47 @@ html[data-theme='lawdistrict'] .document-status.--is-new {
|
|
|
4757
4797
|
.guidelines-section__image.is-mobile {
|
|
4758
4798
|
display: none; } }
|
|
4759
4799
|
|
|
4800
|
+
.language-selector-mobile {
|
|
4801
|
+
position: relative; }
|
|
4802
|
+
.language-selector-mobile .selected-option {
|
|
4803
|
+
display: flex;
|
|
4804
|
+
justify-content: space-between;
|
|
4805
|
+
align-items: center;
|
|
4806
|
+
background-color: var(--primary-main-dark-1);
|
|
4807
|
+
border: 0; }
|
|
4808
|
+
.language-selector-mobile .selected-option .language {
|
|
4809
|
+
color: var(--others-white); }
|
|
4810
|
+
.language-selector-mobile .selected-option .chevron-expand-more {
|
|
4811
|
+
transition: all 0.1s ease; }
|
|
4812
|
+
.language-selector-mobile .language {
|
|
4813
|
+
display: flex;
|
|
4814
|
+
align-items: center;
|
|
4815
|
+
padding: 0 0.5rem;
|
|
4816
|
+
gap: 0.1rem; }
|
|
4817
|
+
.language-selector-mobile .options {
|
|
4818
|
+
position: absolute;
|
|
4819
|
+
visibility: hidden;
|
|
4820
|
+
opacity: 0;
|
|
4821
|
+
width: 100%;
|
|
4822
|
+
padding-top: 0.5rem;
|
|
4823
|
+
display: flex;
|
|
4824
|
+
flex-direction: column;
|
|
4825
|
+
gap: 0.5rem;
|
|
4826
|
+
transition: all 0.1s ease; }
|
|
4827
|
+
.language-selector-mobile .options .option {
|
|
4828
|
+
display: flex;
|
|
4829
|
+
padding: 0.5rem 1rem;
|
|
4830
|
+
background-color: var(--neutral-neutral-6); }
|
|
4831
|
+
.language-selector-mobile .options .language {
|
|
4832
|
+
color: var(--neutral-neutral-1); }
|
|
4833
|
+
.language-selector-mobile.open .selected-option .chevron-expand-more {
|
|
4834
|
+
transition: all 0.4s ease;
|
|
4835
|
+
transform: rotate(180deg); }
|
|
4836
|
+
.language-selector-mobile.open .options {
|
|
4837
|
+
opacity: 1;
|
|
4838
|
+
visibility: visible;
|
|
4839
|
+
transition: all 0.4s ease; }
|
|
4840
|
+
|
|
4760
4841
|
.homeSteps__container {
|
|
4761
4842
|
transform: translateY(0%); }
|
|
4762
4843
|
@media (min-width: 575px) {
|
|
@@ -25,6 +25,7 @@ export * from './LogoText';
|
|
|
25
25
|
export * from './MenuItems';
|
|
26
26
|
export * from './Message';
|
|
27
27
|
export * from './MoreDocsItem';
|
|
28
|
+
export * from './NavMenuItem';
|
|
28
29
|
export * from './PaypalButton';
|
|
29
30
|
export * from './PopularDocsItem';
|
|
30
31
|
export * from './ProgressBar';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './LanguageSelectorMobile';
|
|
@@ -6,6 +6,8 @@ export * from './ContactJumbotron';
|
|
|
6
6
|
export * from './CookiePolicyBar';
|
|
7
7
|
export * from './FaqGroup';
|
|
8
8
|
export * from './GuidelinesContent';
|
|
9
|
+
export * from './LanguageSelector';
|
|
10
|
+
export * from './LanguageSelectorMobile';
|
|
9
11
|
export * from './ListStepsGetForm';
|
|
10
12
|
export * from './MobileBottomBar';
|
|
11
13
|
export * from './TryOurFreeLegalBlogsContent';
|
package/dist/index.d.ts
CHANGED
|
@@ -294,6 +294,16 @@ interface MoreDocsItemProps {
|
|
|
294
294
|
|
|
295
295
|
declare const MoreDocsItem: React$1.FC<MoreDocsItemProps>;
|
|
296
296
|
|
|
297
|
+
interface NavMenuItemProps {
|
|
298
|
+
mainButton: ButtonProps;
|
|
299
|
+
items?: Array<{
|
|
300
|
+
key: string;
|
|
301
|
+
props: ButtonProps;
|
|
302
|
+
}>;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
declare const NavMenuItem: React$1.FC<NavMenuItemProps>;
|
|
306
|
+
|
|
297
307
|
interface PaypalButtonProps {
|
|
298
308
|
onClickButton: () => void;
|
|
299
309
|
}
|
|
@@ -998,6 +1008,34 @@ interface GuidelinesContentProps {
|
|
|
998
1008
|
|
|
999
1009
|
declare const GuidelinesContent: FC<GuidelinesContentProps>;
|
|
1000
1010
|
|
|
1011
|
+
interface LenguageSelectorItem {
|
|
1012
|
+
code: string;
|
|
1013
|
+
url: string;
|
|
1014
|
+
flag?: React.ReactNode;
|
|
1015
|
+
name?: string;
|
|
1016
|
+
}
|
|
1017
|
+
|
|
1018
|
+
interface LanguageSelectorProps {
|
|
1019
|
+
languages: LenguageSelectorItem[];
|
|
1020
|
+
selected: string;
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
|
+
declare const LanguageSelector: React$1.FC<LanguageSelectorProps>;
|
|
1024
|
+
|
|
1025
|
+
declare const useLanguagesSelector: (languages: LenguageSelectorItem[]) => {
|
|
1026
|
+
languagesSelector: LenguageSelectorItem[];
|
|
1027
|
+
};
|
|
1028
|
+
|
|
1029
|
+
declare const useLanguageSelected: (languagesSelector: LenguageSelectorItem[], selected: string) => {
|
|
1030
|
+
languageSelected: LenguageSelectorItem;
|
|
1031
|
+
};
|
|
1032
|
+
|
|
1033
|
+
declare const useLanguageOptions: (languagesSelector: LenguageSelectorItem[], selected: string) => {
|
|
1034
|
+
languageOptions: LenguageSelectorItem[];
|
|
1035
|
+
};
|
|
1036
|
+
|
|
1037
|
+
declare const LanguageSelectorMobile: React$1.FC<LanguageSelectorProps>;
|
|
1038
|
+
|
|
1001
1039
|
interface ListStepsGetFormProps {
|
|
1002
1040
|
steps: StepGetFormProps[];
|
|
1003
1041
|
}
|
|
@@ -1219,4 +1257,4 @@ interface UseIsMobileOrTablePropsReturn {
|
|
|
1219
1257
|
}
|
|
1220
1258
|
declare const useIsMobileOrTable: () => UseIsMobileOrTablePropsReturn;
|
|
1221
1259
|
|
|
1222
|
-
export { AboutUsContent, type AboutUsContentProps, AboutUsPage, type AboutUsPageProps, AboutUsSection, type AboutUsSectionProps, Accordion, AccordionItem$1 as AccordionItem, AddButton, type AddButtonProps, AlsoKnownAs, type AlsoKnownAsProps, 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, DocumentTag, type DocumentTagProps, 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, MoreDocsDesktop, type MoreDocsDesktopProps, MoreDocsItem, type MoreDocsItemProps, MoreDocsMobile, type MoreDocsMobileProps, MoreDocsSection, type MoreDocsSectionProps, NavBarDropDown, type NavBarDropDownProps, Pagination, type PaginationProps, PaypalButton, type PaypalButtonProps, PeopleSayAboutUsSection, type PeopleSayAboutUsSectionProps, PhoneContactBoxDesktop, type PhoneContactBoxDesktopProps, PhoneContactBoxMobile, type PhoneContactBoxMobileProps, PopularDocs, PopularDocsItem, type PopularDocsItemProps, type PopularDocsProps, PricingCard, type PricingCardProps, ProductCategory, 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, TypeModulesList, type TypeModulesListProps, UnsubscribePage, type UnsubscribePageProps, UnsubscribeSection, type UnsubscribeSectionProps, type WhyLawDistrictItem, WhyLawDistrictItems, type WhyLawDistrictItemsProps, WhyLawDistrictSection, type WhyLawDistrictSectionProps, WideInfoBar, useDispatchDataAccordionItem, useIntersectionObserver, useIsMobileOrTable, useStateDataAccordionItem };
|
|
1260
|
+
export { AboutUsContent, type AboutUsContentProps, AboutUsPage, type AboutUsPageProps, AboutUsSection, type AboutUsSectionProps, Accordion, AccordionItem$1 as AccordionItem, AddButton, type AddButtonProps, AlsoKnownAs, type AlsoKnownAsProps, 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, DocumentTag, type DocumentTagProps, 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, LanguageSelector, LanguageSelectorMobile, type LanguageSelectorProps, type LatestApplication, LearnMoreSection, type LearnMoreSectionProps, LegalPage, type LegalPageProps, LegalSection, type LegalSectionProps, type LenguageSelectorItem, 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, MoreDocsDesktop, type MoreDocsDesktopProps, MoreDocsItem, type MoreDocsItemProps, MoreDocsMobile, type MoreDocsMobileProps, MoreDocsSection, type MoreDocsSectionProps, NavBarDropDown, type NavBarDropDownProps, NavMenuItem, type NavMenuItemProps, Pagination, type PaginationProps, PaypalButton, type PaypalButtonProps, PeopleSayAboutUsSection, type PeopleSayAboutUsSectionProps, PhoneContactBoxDesktop, type PhoneContactBoxDesktopProps, PhoneContactBoxMobile, type PhoneContactBoxMobileProps, PopularDocs, PopularDocsItem, type PopularDocsItemProps, type PopularDocsProps, PricingCard, type PricingCardProps, ProductCategory, 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, TypeModulesList, type TypeModulesListProps, UnsubscribePage, type UnsubscribePageProps, UnsubscribeSection, type UnsubscribeSectionProps, type WhyLawDistrictItem, WhyLawDistrictItems, type WhyLawDistrictItemsProps, WhyLawDistrictSection, type WhyLawDistrictSectionProps, WideInfoBar, useDispatchDataAccordionItem, useIntersectionObserver, useIsMobileOrTable, useLanguageOptions, useLanguageSelected, useLanguagesSelector, useStateDataAccordionItem };
|