@npm_leadtech/legal-lib-components 2.2.2 → 2.3.0

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.
@@ -3365,25 +3365,6 @@
3365
3365
  width: 24px;
3366
3366
  margin: 0; }
3367
3367
 
3368
- .how-it-works-wrapper {
3369
- background-color: #F8F9FA; }
3370
- @media (min-width: 960px) {
3371
- .how-it-works-wrapper {
3372
- background-repeat: no-repeat;
3373
- background-position: top right;
3374
- background-size: 21rem; } }
3375
- @media only screen and (max-width: 960px) {
3376
- .how-it-works-wrapper {
3377
- background-image: none !important; } }
3378
- .how-it-works-wrapper .works-title {
3379
- width: auto;
3380
- font-family: "Lora", serif;
3381
- text-align: center;
3382
- padding-top: 4rem; }
3383
- @media only screen and (max-width: 960px) {
3384
- .how-it-works-wrapper .works-title {
3385
- padding-top: 2.5rem; } }
3386
-
3387
3368
  .blog {
3388
3369
  text-align: center;
3389
3370
  margin: 0 auto 3rem;
@@ -3408,6 +3389,64 @@
3408
3389
  .blog .cta-button {
3409
3390
  width: auto; } }
3410
3391
 
3392
+ .how-it-works-wrapper {
3393
+ background-color: #F8F9FA; }
3394
+ @media (min-width: 960px) {
3395
+ .how-it-works-wrapper {
3396
+ background-repeat: no-repeat;
3397
+ background-position: top right;
3398
+ background-size: 21rem; } }
3399
+ @media only screen and (max-width: 960px) {
3400
+ .how-it-works-wrapper {
3401
+ background-image: none !important; } }
3402
+ .how-it-works-wrapper .works-title {
3403
+ width: auto;
3404
+ font-family: "Lora", serif;
3405
+ text-align: center;
3406
+ padding-top: 4rem; }
3407
+ @media only screen and (max-width: 960px) {
3408
+ .how-it-works-wrapper .works-title {
3409
+ padding-top: 2.5rem; } }
3410
+
3411
+ .legal-blogs-section {
3412
+ display: flex;
3413
+ flex-direction: column; }
3414
+ @media (min-width: 720px) {
3415
+ .legal-blogs-section {
3416
+ flex-flow: row nowrap; } }
3417
+ .legal-blogs-section__texts {
3418
+ flex-basis: 50%;
3419
+ display: flex;
3420
+ flex-direction: column;
3421
+ justify-content: center;
3422
+ margin-bottom: 1rem;
3423
+ margin-right: 0;
3424
+ color: #3D4042;
3425
+ font-style: normal;
3426
+ font-weight: 400;
3427
+ letter-spacing: -0.3px; }
3428
+ @media (min-width: 720px) {
3429
+ .legal-blogs-section__texts {
3430
+ margin-right: 3rem;
3431
+ margin-bottom: 0; } }
3432
+ .legal-blogs-section__texts__title {
3433
+ font-family: 'Lora';
3434
+ font-size: 28px;
3435
+ line-height: 42px;
3436
+ margin-bottom: 2rem;
3437
+ text-align: center; }
3438
+ @media (min-width: 720px) {
3439
+ .legal-blogs-section__texts__title {
3440
+ text-align: left; } }
3441
+ .legal-blogs-section__texts__body {
3442
+ font-family: 'Inter';
3443
+ font-size: 16px;
3444
+ line-height: 22px; }
3445
+ .legal-blogs-section__texts__body a {
3446
+ color: #078080; }
3447
+ .legal-blogs-section__image {
3448
+ flex-basis: 50%; }
3449
+
3411
3450
  .about-us-content {
3412
3451
  display: flex;
3413
3452
  flex-flow: row wrap;
@@ -0,0 +1,5 @@
1
+ import { type FC } from 'react';
2
+ import { type TryOurFreeLegalBlogsSectionProps } from './TryOurFreeLegalBlogsSectionProps.types';
3
+ import './TryOurFreeLegalBlogsSection.scss';
4
+ declare const TryOurFreeLegalBlogsSection: FC<TryOurFreeLegalBlogsSectionProps>;
5
+ export default TryOurFreeLegalBlogsSection;
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ export interface TryOurFreeLegalBlogsSectionProps {
3
+ title: string;
4
+ children: string | React.ReactNode;
5
+ image: React.ReactNode;
6
+ }
@@ -0,0 +1,6 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import TryOurFreeLegalBlogsSection from '../TryOurFreeLegalBlogsSection';
3
+ declare const meta: Meta<typeof TryOurFreeLegalBlogsSection>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof TryOurFreeLegalBlogsSection>;
6
+ export declare const Default: Story;
@@ -0,0 +1,2 @@
1
+ export { default as TryOurFreeLegalBlogsSection } from './TryOurFreeLegalBlogsSection';
2
+ export { type TryOurFreeLegalBlogsSectionProps } from './TryOurFreeLegalBlogsSectionProps.types';
@@ -1,3 +1,4 @@
1
- export * from './HowGetYourFormsSection';
2
1
  export * from './BlogSection';
2
+ export * from './HowGetYourFormsSection';
3
+ export * from './TryOurFreeLegalBlogsSection';
3
4
  export * from './AboutUsSection';
package/dist/index.d.ts CHANGED
@@ -601,6 +601,14 @@ interface MobileBottomBarProps {
601
601
 
602
602
  declare const MobileBottomBar: FC<MobileBottomBarProps>;
603
603
 
604
+ interface BlogSectionProps {
605
+ blogTitle: string;
606
+ blogCta: string;
607
+ articles: ArticlesListProps;
608
+ }
609
+
610
+ declare const BlogSection: FC<BlogSectionProps>;
611
+
604
612
  interface HowGetYourFormsSectionProps {
605
613
  title: string;
606
614
  steps: StepGetFormProps[];
@@ -608,13 +616,13 @@ interface HowGetYourFormsSectionProps {
608
616
 
609
617
  declare const HowGetYourFormsSection: FC<HowGetYourFormsSectionProps>;
610
618
 
611
- interface BlogSectionProps {
612
- blogTitle: string;
613
- blogCta: string;
614
- articles: ArticlesListProps;
619
+ interface TryOurFreeLegalBlogsSectionProps {
620
+ title: string;
621
+ children: string | React.ReactNode;
622
+ image: React.ReactNode;
615
623
  }
616
624
 
617
- declare const BlogSection: FC<BlogSectionProps>;
625
+ declare const TryOurFreeLegalBlogsSection: FC<TryOurFreeLegalBlogsSectionProps>;
618
626
 
619
627
  interface AboutUsContentProps {
620
628
  children: React.ReactNode;
@@ -630,4 +638,4 @@ interface AboutUsSectionProps {
630
638
 
631
639
  declare const AboutUsSection: FC<AboutUsSectionProps>;
632
640
 
633
- export { AboutUsSection, AboutUsSectionProps, AddButton, AddButtonProps, Article, ArticleProps, ArticlesList, ArticlesListProps, BaseBox, BaseBoxList, BaseBoxListProps, BaseBoxProps, BillCard, BillCardProps, BlogSection, BlogSectionProps, BottomFixedBar, BottomFixedBarProps, BottomOverlay, BottomOverlayProps, BoxForm, BoxFormProps, BreadcrumItem, BreadcrumItemProps, Breadcrumb, BreadcrumbProps, Button, ButtonIcon, ButtonIconProps, ButtonProps, CardPane, CardPaneInfoProps, CardPaneProps, Checkbox, CheckboxProps, ContactBox, ContactBoxProps, DatePickerCustom, DatePickerCustomProps, DialogMenuIcon, DialogMenuIconProps, Disclaimer, DisclaimerProps, Divider, DividerProps, DocumentStatus, DocumentStatusProps, Feedback, FeedbackProps, FormFaq, FormFaqProps, GoogleButton, GoogleButtonProps, HowGetYourFormsSection, HowGetYourFormsSectionProps, IconImage, IconImageProps, InfoBox, InfoBoxProps, ListStepsGetForm, ListStepsGetFormProps, LogoText, LogoTextProps, MenuItemProps, MenuItems, MenuItemsSection, MenuItemsSectionProps, Message, MessageProps, MobileBottomBar, MobileBottomBarProps, Pagination, PaginationProps, PaypalButton, PaypalButtonProps, PricingCard, PricingCardProps, ProgressBar, ProgressBarProps, Radio, RadioProps, RemoveButton, RemoveButtonProps, RichTextInner, RichTextInnerProps, SearchSelect, SearchSelectProps, SideMenuTabProps, SidemenuTab, Snackbar, SnackbarProps, Spinner, SpinnerProps, StepGetForm, StepGetFormProps, TextArea, TextAreaProps, TextInput, TextInputProps, Toggle, ToggleProps, Tooltip, TooltipMenu, TooltipMenuProps, TooltipProps, TopBar, TopBarProps };
641
+ export { AboutUsSection, AboutUsSectionProps, AddButton, AddButtonProps, Article, ArticleProps, ArticlesList, ArticlesListProps, BaseBox, BaseBoxList, BaseBoxListProps, BaseBoxProps, BillCard, BillCardProps, BlogSection, BlogSectionProps, BottomFixedBar, BottomFixedBarProps, BottomOverlay, BottomOverlayProps, BoxForm, BoxFormProps, BreadcrumItem, BreadcrumItemProps, Breadcrumb, BreadcrumbProps, Button, ButtonIcon, ButtonIconProps, ButtonProps, CardPane, CardPaneInfoProps, CardPaneProps, Checkbox, CheckboxProps, ContactBox, ContactBoxProps, DatePickerCustom, DatePickerCustomProps, DialogMenuIcon, DialogMenuIconProps, Disclaimer, DisclaimerProps, Divider, DividerProps, DocumentStatus, DocumentStatusProps, Feedback, FeedbackProps, FormFaq, FormFaqProps, GoogleButton, GoogleButtonProps, HowGetYourFormsSection, HowGetYourFormsSectionProps, IconImage, IconImageProps, InfoBox, InfoBoxProps, ListStepsGetForm, ListStepsGetFormProps, LogoText, LogoTextProps, MenuItemProps, MenuItems, MenuItemsSection, MenuItemsSectionProps, Message, MessageProps, MobileBottomBar, MobileBottomBarProps, Pagination, PaginationProps, PaypalButton, PaypalButtonProps, PricingCard, PricingCardProps, ProgressBar, ProgressBarProps, Radio, RadioProps, RemoveButton, RemoveButtonProps, RichTextInner, RichTextInnerProps, SearchSelect, SearchSelectProps, SideMenuTabProps, SidemenuTab, Snackbar, SnackbarProps, Spinner, SpinnerProps, StepGetForm, StepGetFormProps, TextArea, TextAreaProps, TextInput, TextInputProps, Toggle, ToggleProps, Tooltip, TooltipMenu, TooltipMenuProps, TooltipProps, TopBar, TopBarProps, TryOurFreeLegalBlogsSection, TryOurFreeLegalBlogsSectionProps };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npm_leadtech/legal-lib-components",
3
- "version": "2.2.2",
3
+ "version": "2.3.0",
4
4
  "dependencies": {
5
5
  "@testing-library/jest-dom": "^5.16.5",
6
6
  "@tippyjs/react": "4.2.6",