@npm_leadtech/legal-lib-components 2.36.0 → 2.37.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.
- package/dist/cjs/index.js +2 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/legal-lib-components.css +48 -1
- package/dist/cjs/src/components/atoms/AlsoKnownAsListItem/AlsoKnownAsListItem.d.ts +5 -0
- package/dist/cjs/src/components/atoms/AlsoKnownAsListItem/AlsoKnownAsListItemProps.types.d.ts +3 -0
- package/dist/cjs/src/components/atoms/AlsoKnownAsListItem/index.d.ts +2 -0
- package/dist/cjs/src/components/atoms/MessageInformation/MessageInformationProps.types.d.ts +1 -0
- package/dist/cjs/src/components/atoms/index.d.ts +1 -0
- package/dist/cjs/src/components/molecules/AlsoKnownAs/AlsoKnownAs.d.ts +5 -0
- package/dist/cjs/src/components/molecules/AlsoKnownAs/AlsoKnownAsProps.types.d.ts +4 -0
- package/dist/cjs/src/components/molecules/AlsoKnownAs/index.d.ts +2 -0
- package/dist/cjs/src/components/molecules/CountDownMessage/CountDownMessageProps.types.d.ts +1 -0
- package/dist/cjs/src/components/molecules/index.d.ts +1 -0
- package/dist/cjs/src/components/sections/AsideMenuSection/AsideMenuSectionProps.d.ts +1 -0
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/legal-lib-components.css +48 -1
- package/dist/esm/src/components/atoms/AlsoKnownAsListItem/AlsoKnownAsListItem.d.ts +5 -0
- package/dist/esm/src/components/atoms/AlsoKnownAsListItem/AlsoKnownAsListItemProps.types.d.ts +3 -0
- package/dist/esm/src/components/atoms/AlsoKnownAsListItem/index.d.ts +2 -0
- package/dist/esm/src/components/atoms/MessageInformation/MessageInformationProps.types.d.ts +1 -0
- package/dist/esm/src/components/atoms/index.d.ts +1 -0
- package/dist/esm/src/components/molecules/AlsoKnownAs/AlsoKnownAs.d.ts +5 -0
- package/dist/esm/src/components/molecules/AlsoKnownAs/AlsoKnownAsProps.types.d.ts +4 -0
- package/dist/esm/src/components/molecules/AlsoKnownAs/index.d.ts +2 -0
- package/dist/esm/src/components/molecules/CountDownMessage/CountDownMessageProps.types.d.ts +1 -0
- package/dist/esm/src/components/molecules/index.d.ts +1 -0
- package/dist/esm/src/components/sections/AsideMenuSection/AsideMenuSectionProps.d.ts +1 -0
- package/dist/index.d.ts +17 -1
- package/package.json +9 -9
|
@@ -2994,6 +2994,8 @@ html[data-theme='lawdistrict'] .document-status.--is-new {
|
|
|
2994
2994
|
width: 24px;
|
|
2995
2995
|
fill: var(--secondary-main-dark-1);
|
|
2996
2996
|
margin-right: 8px; }
|
|
2997
|
+
.message-information__icon.hide {
|
|
2998
|
+
display: none; }
|
|
2997
2999
|
.message-information__icon svg {
|
|
2998
3000
|
display: block; }
|
|
2999
3001
|
.message-information__text {
|
|
@@ -3001,7 +3003,21 @@ html[data-theme='lawdistrict'] .document-status.--is-new {
|
|
|
3001
3003
|
letter-spacing: -0.3px;
|
|
3002
3004
|
padding-top: 1px; }
|
|
3003
3005
|
.message-information__text__time {
|
|
3004
|
-
font-weight:
|
|
3006
|
+
font-weight: 600; }
|
|
3007
|
+
.message-information__text__time.regular {
|
|
3008
|
+
font-weight: 400; }
|
|
3009
|
+
|
|
3010
|
+
.also-known-as-list-item {
|
|
3011
|
+
display: inline-block;
|
|
3012
|
+
margin: 0 8px 8px 0; }
|
|
3013
|
+
.also-known-as-list-item__text {
|
|
3014
|
+
font-size: 0.875rem;
|
|
3015
|
+
line-height: 1.15;
|
|
3016
|
+
color: var(--neutral-neutral-2);
|
|
3017
|
+
padding: 4px 8px;
|
|
3018
|
+
border-radius: 4px;
|
|
3019
|
+
border: 1px solid var(--neutral-neutral-4);
|
|
3020
|
+
background: var(--others-white); }
|
|
3005
3021
|
|
|
3006
3022
|
.article {
|
|
3007
3023
|
display: flex;
|
|
@@ -3340,6 +3356,11 @@ html[data-theme='lawdistrict'] .document-status.--is-new {
|
|
|
3340
3356
|
.count-down-message {
|
|
3341
3357
|
padding: 8px 0 24px 0;
|
|
3342
3358
|
text-align: left; } }
|
|
3359
|
+
.count-down-message.extra-margin {
|
|
3360
|
+
margin: 0 1.5rem; }
|
|
3361
|
+
@media (min-width: 960px) {
|
|
3362
|
+
.count-down-message.extra-margin {
|
|
3363
|
+
margin: 0; } }
|
|
3343
3364
|
|
|
3344
3365
|
.count-down-message-fixed {
|
|
3345
3366
|
display: none; }
|
|
@@ -3351,6 +3372,8 @@ html[data-theme='lawdistrict'] .document-status.--is-new {
|
|
|
3351
3372
|
left: 0;
|
|
3352
3373
|
right: 0;
|
|
3353
3374
|
padding: 8px; }
|
|
3375
|
+
.count-down-message-fixed .message-information {
|
|
3376
|
+
box-shadow: 1px 2px 4px var(--neutral-neutral-4); }
|
|
3354
3377
|
|
|
3355
3378
|
.email-contact-box-container {
|
|
3356
3379
|
width: 100%;
|
|
@@ -4177,6 +4200,23 @@ html[data-theme='lawdistrict'] .document-status.--is-new {
|
|
|
4177
4200
|
.trustworthy-websites__image {
|
|
4178
4201
|
margin: 1.5rem; }
|
|
4179
4202
|
|
|
4203
|
+
@media (min-width: 720px) {
|
|
4204
|
+
.also-known-as {
|
|
4205
|
+
display: flex; } }
|
|
4206
|
+
|
|
4207
|
+
.also-known-as__title {
|
|
4208
|
+
font-size: 0.875rem;
|
|
4209
|
+
color: var(--neutral-neutral-2);
|
|
4210
|
+
margin-bottom: 8px; }
|
|
4211
|
+
.also-known-as__title__content {
|
|
4212
|
+
display: flex; }
|
|
4213
|
+
.also-known-as__title__text {
|
|
4214
|
+
padding-left: 4px; }
|
|
4215
|
+
@media (min-width: 720px) {
|
|
4216
|
+
.also-known-as__title {
|
|
4217
|
+
flex: 0 0 auto;
|
|
4218
|
+
width: 130px; } }
|
|
4219
|
+
|
|
4180
4220
|
.about-us-content {
|
|
4181
4221
|
display: flex;
|
|
4182
4222
|
flex-flow: row wrap;
|
|
@@ -4514,6 +4554,13 @@ html[data-theme='lawdistrict'] .document-status.--is-new {
|
|
|
4514
4554
|
.about-us-section__sub-title {
|
|
4515
4555
|
font-size: 3rem; } }
|
|
4516
4556
|
|
|
4557
|
+
.asideMenu .title {
|
|
4558
|
+
color: var(--neutral-neutral-1);
|
|
4559
|
+
font-weight: bold;
|
|
4560
|
+
padding-bottom: 1rem;
|
|
4561
|
+
border-bottom: var(--neutral-neutral-4) 1px solid;
|
|
4562
|
+
margin-bottom: 1.5rem; }
|
|
4563
|
+
|
|
4517
4564
|
.asideMenu .list {
|
|
4518
4565
|
display: flex;
|
|
4519
4566
|
flex-direction: column;
|
package/dist/index.d.ts
CHANGED
|
@@ -493,12 +493,19 @@ interface WhyLawDistrictItem {
|
|
|
493
493
|
declare const WhyLawDistrictItems: React$1.FC<WhyLawDistrictItemsProps>;
|
|
494
494
|
|
|
495
495
|
interface MessageInformationProps {
|
|
496
|
+
noImg: boolean;
|
|
496
497
|
text: string | React.ReactNode;
|
|
497
498
|
time?: string;
|
|
498
499
|
}
|
|
499
500
|
|
|
500
501
|
declare const MessageInformation: FC<MessageInformationProps>;
|
|
501
502
|
|
|
503
|
+
interface AlsoKnownAsListItemProps {
|
|
504
|
+
text: string;
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
declare const AlsoKnownAs$1: FC<AlsoKnownAsListItemProps>;
|
|
508
|
+
|
|
502
509
|
interface ArticleProps {
|
|
503
510
|
imageUrl: string;
|
|
504
511
|
title: string;
|
|
@@ -594,6 +601,7 @@ interface ContinueEditingBannerProps {
|
|
|
594
601
|
declare const ContinueEditingBanner: React$1.FC<ContinueEditingBannerProps>;
|
|
595
602
|
|
|
596
603
|
interface CountDownMessageProps {
|
|
604
|
+
noImg?: boolean;
|
|
597
605
|
text: string | React.ReactNode;
|
|
598
606
|
time?: string;
|
|
599
607
|
}
|
|
@@ -797,6 +805,13 @@ interface ImageStructure {
|
|
|
797
805
|
|
|
798
806
|
declare const TrustworthyWebsites: FC<TrustworthyWebsitesProps>;
|
|
799
807
|
|
|
808
|
+
interface AlsoKnownAsProps {
|
|
809
|
+
title: string;
|
|
810
|
+
items: string[];
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
declare const AlsoKnownAs: FC<AlsoKnownAsProps>;
|
|
814
|
+
|
|
800
815
|
interface AboutUsContentProps {
|
|
801
816
|
children: React.ReactNode;
|
|
802
817
|
image: React.ReactNode;
|
|
@@ -890,6 +905,7 @@ interface AsideMenuSectionProps {
|
|
|
890
905
|
text: string;
|
|
891
906
|
slug: string;
|
|
892
907
|
}>;
|
|
908
|
+
title?: string;
|
|
893
909
|
onClickHandler?: React.MouseEventHandler<HTMLLIElement>;
|
|
894
910
|
}
|
|
895
911
|
|
|
@@ -1066,4 +1082,4 @@ interface UseIsMobileOrTablePropsReturn {
|
|
|
1066
1082
|
}
|
|
1067
1083
|
declare const useIsMobileOrTable: () => UseIsMobileOrTablePropsReturn;
|
|
1068
1084
|
|
|
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 };
|
|
1085
|
+
export { AboutUsContent, type AboutUsContentProps, AboutUsPage, type AboutUsPageProps, AboutUsSection, type AboutUsSectionProps, AddButton, type AddButtonProps, AlsoKnownAs, AlsoKnownAs$1 as AlsoKnownAsListItem, type AlsoKnownAsListItemProps, 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, 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.
|
|
3
|
+
"version": "2.37.1",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"@testing-library/jest-dom": "^6.1.4",
|
|
6
6
|
"@tippyjs/react": "4.2.6",
|
|
@@ -41,13 +41,13 @@
|
|
|
41
41
|
"@rollup/plugin-image": "^3.0.3",
|
|
42
42
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
43
43
|
"@rollup/plugin-typescript": "^11.1.5",
|
|
44
|
-
"@storybook/addon-a11y": "^7.
|
|
45
|
-
"@storybook/addon-actions": "^7.
|
|
46
|
-
"@storybook/addon-controls": "^7.
|
|
47
|
-
"@storybook/addon-essentials": "^7.
|
|
48
|
-
"@storybook/addon-links": "^7.
|
|
49
|
-
"@storybook/react": "^7.
|
|
50
|
-
"@storybook/react-webpack5": "^7.
|
|
44
|
+
"@storybook/addon-a11y": "^7.6.7",
|
|
45
|
+
"@storybook/addon-actions": "^7.6.7",
|
|
46
|
+
"@storybook/addon-controls": "^7.6.7",
|
|
47
|
+
"@storybook/addon-essentials": "^7.6.7",
|
|
48
|
+
"@storybook/addon-links": "^7.6.7",
|
|
49
|
+
"@storybook/react": "^7.6.7",
|
|
50
|
+
"@storybook/react-webpack5": "^7.6.7",
|
|
51
51
|
"@testing-library/jest-dom": "^6.1.4",
|
|
52
52
|
"@testing-library/react": "^14.1.2",
|
|
53
53
|
"@types/jest": "^29.5.10",
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
"rollup-plugin-uglify": "^6.0.4",
|
|
108
108
|
"rollup-plugin-visualizer": "^5.9.3",
|
|
109
109
|
"sass-loader": "13.3.2",
|
|
110
|
-
"storybook": "^7.
|
|
110
|
+
"storybook": "^7.6.7",
|
|
111
111
|
"style-loader": "^3.3.3",
|
|
112
112
|
"ts-jest": "^29.1.1",
|
|
113
113
|
"ts-node": "^10.9.1",
|