@npm_leadtech/legal-lib-components 2.23.0 → 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.
@@ -4361,3 +4361,78 @@ html[data-theme='lawdistrict'] .document-status.--is-new {
4361
4361
  margin-bottom: 3.5rem;
4362
4362
  display: inline-block;
4363
4363
  width: auto; } }
4364
+
4365
+ .learn-more__wrapper {
4366
+ margin-bottom: 4rem;
4367
+ background-color: var(--neutral-neutral-6); }
4368
+ @media (min-width: 720px) {
4369
+ .learn-more__wrapper {
4370
+ background: var(--neutral-neutral-6) url(../../../../images/png/grey-01-lc.png) no-repeat bottom left/21rem; } }
4371
+ .learn-more__wrapper .wrapper {
4372
+ display: flex;
4373
+ flex-flow: row wrap;
4374
+ justify-content: space-between;
4375
+ max-width: 960px; }
4376
+ .learn-more__wrapper .learn-more__info {
4377
+ width: 100%;
4378
+ padding: 0 1rem;
4379
+ display: flex;
4380
+ flex-flow: column wrap;
4381
+ justify-content: center; }
4382
+ @media (min-width: 960px) {
4383
+ .learn-more__wrapper .learn-more__info {
4384
+ width: 35%; } }
4385
+ @media (min-width: 720px) {
4386
+ .learn-more__wrapper .learn-more__info {
4387
+ width: 42%; } }
4388
+ .learn-more__wrapper .learn-more__title {
4389
+ margin-top: 2rem; }
4390
+ @media (min-width: 720px) {
4391
+ .learn-more__wrapper .learn-more__title {
4392
+ margin-top: -2rem; } }
4393
+ .learn-more__wrapper .learn-more__description {
4394
+ margin-top: 2rem; }
4395
+ .learn-more__wrapper .learn-more__faqs {
4396
+ width: 100%;
4397
+ margin: 0 1rem;
4398
+ background-color: var(--others-white);
4399
+ border-radius: 4px;
4400
+ box-shadow: 0 0.25rem 0.5rem 0 rgba(var(--primary-main-dark-1-rgb), 0.2);
4401
+ padding: 2rem;
4402
+ transform: translateY(2rem); }
4403
+ @media (min-width: 960px) {
4404
+ .learn-more__wrapper .learn-more__faqs {
4405
+ width: 46%;
4406
+ padding: 3rem; } }
4407
+ @media (min-width: 720px) {
4408
+ .learn-more__wrapper .learn-more__faqs {
4409
+ width: 52%;
4410
+ margin-right: 1rem; } }
4411
+ .learn-more__wrapper .learn-more__faqs .e-button {
4412
+ display: inline-block;
4413
+ height: 44px; }
4414
+ .learn-more__wrapper .learn-more__faqs ul {
4415
+ padding: 0; }
4416
+ .learn-more__wrapper .learn-more__faqs li {
4417
+ padding-bottom: 1rem; }
4418
+ .learn-more__wrapper .learn-more__faqs li a {
4419
+ font-weight: bold;
4420
+ transition: all 0.3s ease;
4421
+ border-radius: 4px;
4422
+ display: inline-block;
4423
+ padding: 0.5rem;
4424
+ position: relative; }
4425
+ .learn-more__wrapper .learn-more__faqs li a:hover {
4426
+ background-color: var(--primary-main-light-5);
4427
+ padding-right: 1.5rem; }
4428
+ .learn-more__wrapper .learn-more__faqs li a:hover:before {
4429
+ content: '';
4430
+ background: url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22 width%3D%2224%22 height%3D%2224%22 viewBox%3D%220 0 24 24%22%3E %3Cdefs%3E %3Cpath id%3D%22prefix__a%22 d%3D%22M9.705 6L8.295 7.41 12.875 12 8.295 16.59 9.705 18 15.705 12z%22%2F%3E %3C%2Fdefs%3E %3Cg fill%3D%22none%22 fill-rule%3D%22evenodd%22%3E %3Cpath d%3D%22M0 0H24V24H0z%22%2F%3E %3Cmask id%3D%22prefix__b%22 fill%3D%22%23fff%22%3E %3Cuse xlink%3Ahref%3D%22%23prefix__a%22%2F%3E %3C%2Fmask%3E %3Cg fill%3D%22%233D4042%22 mask%3D%22url(%23prefix__b)%22%3E %3Cpath d%3D%22M0 0H24V24H0z%22%2F%3E %3C%2Fg%3E %3C%2Fg%3E%3C%2Fsvg%3E") no-repeat 0 100%/cover;
4431
+ right: 0;
4432
+ top: 50%;
4433
+ position: absolute;
4434
+ width: 1.5rem;
4435
+ height: 1.5rem;
4436
+ transform: translateY(-50%); }
4437
+ .learn-more__wrapper .learn-more__faqs a {
4438
+ color: var(--primary-main-dark-1); }
@@ -0,0 +1,5 @@
1
+ import { type FC } from 'react';
2
+ import { type LearnMoreSectionProps } from './LearnMoreSectionProps.types';
3
+ import './LearnMoreSection.scss';
4
+ declare const LearnMoreSection: FC<LearnMoreSectionProps>;
5
+ export default LearnMoreSection;
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ export interface LearnMoreSectionProps {
3
+ title: string;
4
+ description: string;
5
+ cta: string;
6
+ faqs: React.ReactNode;
7
+ }
@@ -0,0 +1,2 @@
1
+ export { default as LearnMoreSection } from './LearnMoreSection';
2
+ export { type LearnMoreSectionProps } from './LearnMoreSectionProps.types';
@@ -7,3 +7,4 @@ export * from './AsSeeInSection';
7
7
  export * from './ExpertsSection';
8
8
  export * from './PeopleSayAboutUsSection';
9
9
  export * from './WhyLawDistrictSection';
10
+ export * from './LearnMoreSection';
package/dist/index.d.ts CHANGED
@@ -873,6 +873,15 @@ interface WhyLawDistrictSectionProps {
873
873
 
874
874
  declare const WhyLawDistrictSection: React$1.FC<WhyLawDistrictSectionProps>;
875
875
 
876
+ interface LearnMoreSectionProps {
877
+ title: string;
878
+ description: string;
879
+ cta: string;
880
+ faqs: React.ReactNode;
881
+ }
882
+
883
+ declare const LearnMoreSection: FC<LearnMoreSectionProps>;
884
+
876
885
  declare function useIntersectionObserver({ options, defaultIntersecting }: {
877
886
  options?: {} | undefined;
878
887
  defaultIntersecting?: boolean | undefined;
@@ -885,4 +894,4 @@ interface UseIsMobileOrTablePropsReturn {
885
894
  }
886
895
  declare const useIsMobileOrTable: () => UseIsMobileOrTablePropsReturn;
887
896
 
888
- 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, 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 };
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.0",
3
+ "version": "2.23.2",
4
4
  "dependencies": {
5
5
  "@testing-library/jest-dom": "^6.1.4",
6
6
  "@tippyjs/react": "4.2.6",