@npm_leadtech/legal-lib-components 2.15.14 → 2.15.15

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.
Files changed (28) hide show
  1. package/dist/cjs/index.js +2 -2
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/cjs/legal-lib-components.css +32 -35
  4. package/dist/cjs/src/components/molecules/index.d.ts +0 -1
  5. package/dist/cjs/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.d.ts +5 -0
  6. package/dist/{esm/src/components/molecules/WhyLawDistrict/WhyLawDistrictProps.types.d.ts → cjs/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSectionProps.types.d.ts} +1 -1
  7. package/dist/cjs/src/components/sections/WhyLawDistrictSection/__stories__/WhyLawDistrictSection.stories.d.ts +7 -0
  8. package/dist/cjs/src/components/sections/WhyLawDistrictSection/index.d.ts +2 -0
  9. package/dist/cjs/src/components/sections/index.d.ts +1 -0
  10. package/dist/esm/index.js +1 -1
  11. package/dist/esm/index.js.map +1 -1
  12. package/dist/esm/legal-lib-components.css +32 -35
  13. package/dist/esm/src/components/molecules/index.d.ts +0 -1
  14. package/dist/esm/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSection.d.ts +5 -0
  15. package/dist/{cjs/src/components/molecules/WhyLawDistrict/WhyLawDistrictProps.types.d.ts → esm/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSectionProps.types.d.ts} +1 -1
  16. package/dist/esm/src/components/sections/WhyLawDistrictSection/__stories__/WhyLawDistrictSection.stories.d.ts +7 -0
  17. package/dist/esm/src/components/sections/WhyLawDistrictSection/index.d.ts +2 -0
  18. package/dist/esm/src/components/sections/index.d.ts +1 -0
  19. package/dist/index.d.ts +15 -15
  20. package/package.json +1 -1
  21. package/dist/cjs/src/components/molecules/WhyLawDistrict/WhyLawDistrict.d.ts +0 -5
  22. package/dist/cjs/src/components/molecules/WhyLawDistrict/__stories__/WhyLawDistrict.stories.d.ts +0 -7
  23. package/dist/cjs/src/components/molecules/WhyLawDistrict/index.d.ts +0 -2
  24. package/dist/esm/src/components/molecules/WhyLawDistrict/WhyLawDistrict.d.ts +0 -5
  25. package/dist/esm/src/components/molecules/WhyLawDistrict/__stories__/WhyLawDistrict.stories.d.ts +0 -7
  26. package/dist/esm/src/components/molecules/WhyLawDistrict/index.d.ts +0 -2
  27. /package/dist/cjs/src/components/{molecules/WhyLawDistrict/__tests__/WhyLawDistrict.test.d.ts → sections/WhyLawDistrictSection/__tests__/WhyLawDistrictSection.test.d.ts} +0 -0
  28. /package/dist/esm/src/components/{molecules/WhyLawDistrict/__tests__/WhyLawDistrict.test.d.ts → sections/WhyLawDistrictSection/__tests__/WhyLawDistrictSection.test.d.ts} +0 -0
@@ -2838,7 +2838,7 @@ html[data-theme='lawdistrict'] .document-status.--is-new {
2838
2838
  .trustpilot {
2839
2839
  margin: 3rem auto; } }
2840
2840
 
2841
- .why-LawDistrictItems {
2841
+ .whyLawDistrictItems {
2842
2842
  max-width: 960px;
2843
2843
  display: flex;
2844
2844
  justify-content: center;
@@ -2846,22 +2846,22 @@ html[data-theme='lawdistrict'] .document-status.--is-new {
2846
2846
  flex-flow: row wrap;
2847
2847
  padding: 0 0 1.5rem 0; }
2848
2848
  @media (min-width: 720px) {
2849
- .why-LawDistrictItems {
2849
+ .whyLawDistrictItems {
2850
2850
  justify-content: space-between;
2851
2851
  padding: 0 1rem; } }
2852
- .why-LawDistrictItems__item {
2852
+ .whyLawDistrictItems__item {
2853
2853
  max-width: 100%;
2854
2854
  color: var(--neutral-neutral-2);
2855
2855
  margin-bottom: 1rem;
2856
2856
  padding: 0 1rem; }
2857
2857
  @media (min-width: 720px) {
2858
- .why-LawDistrictItems__item {
2858
+ .whyLawDistrictItems__item {
2859
2859
  padding: 2rem 0;
2860
2860
  max-width: calc(100% / 3 - 1.5rem); } }
2861
- .why-LawDistrictItems__item:first-child {
2861
+ .whyLawDistrictItems__item:first-child {
2862
2862
  margin-top: 2rem; }
2863
2863
  @media (min-width: 720px) {
2864
- .why-LawDistrictItems__item:first-child {
2864
+ .whyLawDistrictItems__item:first-child {
2865
2865
  margin-top: 0; } }
2866
2866
 
2867
2867
  .article {
@@ -3772,35 +3772,6 @@ html[data-theme='lawdistrict'] .document-status.--is-new {
3772
3772
  .expert-card-list {
3773
3773
  flex-direction: row; } }
3774
3774
 
3775
- .why-lawDistrict {
3776
- text-align: center;
3777
- background-color: var(--neutral-neutral-6);
3778
- margin-bottom: 3rem;
3779
- width: 100%;
3780
- padding-bottom: 2rem;
3781
- display: flex;
3782
- flex-direction: column; }
3783
- @media (min-width: 720px) {
3784
- .why-lawDistrict {
3785
- padding-bottom: 0rem;
3786
- display: block; } }
3787
- .why-lawDistrict.wrapper {
3788
- margin-top: -11rem;
3789
- padding: 0 1rem; }
3790
- @media (min-width: 960px) {
3791
- .why-lawDistrict__title {
3792
- padding: 0; } }
3793
- .why-lawDistrict__button {
3794
- display: flex;
3795
- justify-content: center;
3796
- width: 80%;
3797
- margin-bottom: 1rem; }
3798
- @media (min-width: 720px) {
3799
- .why-lawDistrict__button {
3800
- margin-bottom: 3.5rem;
3801
- display: inline-block;
3802
- width: auto; } }
3803
-
3804
3775
  .articles_wrapper {
3805
3776
  display: flex;
3806
3777
  flex-direction: column;
@@ -4148,3 +4119,29 @@ html[data-theme='lawdistrict'] .document-status.--is-new {
4148
4119
  line-height: 42px;
4149
4120
  letter-spacing: -0.3px;
4150
4121
  text-align: center; }
4122
+
4123
+ .whyLawDistrictSection {
4124
+ text-align: center;
4125
+ background-color: var(--neutral-neutral-6);
4126
+ margin-bottom: 3rem;
4127
+ width: 100%;
4128
+ padding-bottom: 2rem;
4129
+ display: flex;
4130
+ flex-direction: column; }
4131
+ @media (min-width: 720px) {
4132
+ .whyLawDistrictSection {
4133
+ padding-bottom: 0rem;
4134
+ display: block; } }
4135
+ @media (min-width: 960px) {
4136
+ .whyLawDistrictSection__title {
4137
+ padding: 0; } }
4138
+ .whyLawDistrictSection__button {
4139
+ display: flex;
4140
+ justify-content: center;
4141
+ width: 80%;
4142
+ margin-bottom: 1rem; }
4143
+ @media (min-width: 720px) {
4144
+ .whyLawDistrictSection__button {
4145
+ margin-bottom: 3.5rem;
4146
+ display: inline-block;
4147
+ width: auto; } }
@@ -16,4 +16,3 @@ export * from './TextInput';
16
16
  export * from './TooltipMenu';
17
17
  export * from './TrustworthyWebsites';
18
18
  export * from './ExpertCardList';
19
- export * from './WhyLawDistrict';
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ import { type WhyLawDistrictSectionProps } from './WhyLawDistrictSectionProps.types';
3
+ import './WhyLawDistrictSection.scss';
4
+ export declare const WhyLawDistrictSection: React.FC<WhyLawDistrictSectionProps>;
5
+ export default WhyLawDistrictSection;
@@ -1,5 +1,5 @@
1
1
  import { type WhyLawDistrictItem } from '../../atoms';
2
- export interface WhyLawDistrictProps {
2
+ export interface WhyLawDistrictSectionProps {
3
3
  title: string;
4
4
  items: WhyLawDistrictItem[];
5
5
  userActive: boolean;
@@ -0,0 +1,7 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import WhyLawDistrictSection from '../WhyLawDistrictSection';
3
+ declare const meta: Meta<typeof WhyLawDistrictSection>;
4
+ type Story = StoryObj<typeof WhyLawDistrictSection>;
5
+ export default meta;
6
+ export declare const Default: Story;
7
+ export declare const NoUser: Story;
@@ -0,0 +1,2 @@
1
+ export { default as WhyLawDistrictSection } from './WhyLawDistrictSection';
2
+ export { type WhyLawDistrictSectionProps } from './WhyLawDistrictSectionProps.types';
@@ -6,3 +6,4 @@ export * from './GuidelinesSection';
6
6
  export * from './AsSeeInSection';
7
7
  export * from './ExpertsSection';
8
8
  export * from './PeopleSayAboutUsSection';
9
+ export * from './WhyLawDistrictSection';
package/dist/index.d.ts CHANGED
@@ -703,20 +703,6 @@ interface ExpertCardListProps {
703
703
 
704
704
  declare const ExpertCardList: FC<ExpertCardListProps>;
705
705
 
706
- interface WhyLawDistrictProps {
707
- title: string;
708
- items: WhyLawDistrictItem[];
709
- userActive: boolean;
710
- link: {
711
- cta: string;
712
- url: string;
713
- onClick: () => void;
714
- dataQa: string;
715
- };
716
- }
717
-
718
- declare const WhyLawDistrict: React$1.FC<WhyLawDistrictProps>;
719
-
720
706
  interface ArticlesListProps {
721
707
  articles: ArticleProps[];
722
708
  }
@@ -825,9 +811,23 @@ interface PeopleSayAboutUsSectionProps {
825
811
 
826
812
  declare const PeopleSayAboutUsSection: FC<PeopleSayAboutUsSectionProps>;
827
813
 
814
+ interface WhyLawDistrictSectionProps {
815
+ title: string;
816
+ items: WhyLawDistrictItem[];
817
+ userActive: boolean;
818
+ link: {
819
+ cta: string;
820
+ url: string;
821
+ onClick: () => void;
822
+ dataQa: string;
823
+ };
824
+ }
825
+
826
+ declare const WhyLawDistrictSection: React$1.FC<WhyLawDistrictSectionProps>;
827
+
828
828
  declare function useIntersectionObserver({ options, defaultIntersecting }: {
829
829
  options?: {} | undefined;
830
830
  defaultIntersecting?: boolean | undefined;
831
831
  }): [RefObject<HTMLDivElement | HTMLHeadElement>, boolean];
832
832
 
833
- export { AboutUsContent, AboutUsContentProps, AboutUsSection, AboutUsSectionProps, AddButton, AddButtonProps, Article, ArticleProps, ArticlesList, ArticlesListProps, AsSeeInContent, AsSeeInContentProps, AsSeeInSection, AsSeeInSectionProps, BaseBox, BaseBoxList, BaseBoxListProps, BaseBoxProps, BillCard, BillCardProps, BlogSection, BlogSectionProps, BottomFixedBar, BottomFixedBarProps, BottomOverlay, BottomOverlayMenu, BottomOverlayMenuProps, 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, ExpertCard, ExpertCardList, ExpertCardListProps, ExpertCardProps, ExpertsSection, ExpertsSectionProps, Feedback, FeedbackProps, FormFaq, FormFaqProps, GoogleButton, GoogleButtonProps, GuidelinesContent, GuidelinesContentProps, GuidelinesSection, GuidelinesSectionProps, HowGetYourFormsSection, HowGetYourFormsSectionProps, IconImage, IconImageProps, IconSvgURLWithThemeColor, IconSvgURLWithThemeColorProps, ImageStructure, InfoBox, InfoBoxProps, ListStepsGetForm, ListStepsGetFormProps, Logo, LogoProps, LogoText, LogoTextProps, MenuItemProps, MenuItems, MenuItemsSection, MenuItemsSectionProps, MenuPlacement, Message, MessageProps, MobileBottomBar, MobileBottomBarProps, NavBarDropDown, NavBarDropDownProps, Pagination, PaginationProps, PaypalButton, PaypalButtonProps, PeopleSayAboutUsSection, PeopleSayAboutUsSectionProps, PricingCard, PricingCardProps, ProgressBar, ProgressBarProps, Radio, RadioProps, RemoveButton, RemoveButtonProps, RichTextInner, RichTextInnerProps, RichTextMedia, RichTextStrapi, RichTextStrapiProps, SearchSelect, SearchSelectProps, SideMenuTabProps, SidemenuTab, Snackbar, SnackbarProps, Spinner, SpinnerProps, StepGetForm, StepGetFormProps, TextArea, TextAreaProps, TextInput, TextInputProps, Toggle, ToggleProps, Tooltip, TooltipMenu, TooltipMenuProps, TooltipProps, TopBar, TopBarMobile, TopBarProps, Trustpilot as TrustPilot, TrustPilotProps, TrustworthyWebsites, TrustworthyWebsitesProps, TryOurFreeLegalBlogsContent, TryOurFreeLegalBlogsContentProps, TryOurFreeLegalBlogsSection, TryOurFreeLegalBlogsSectionProps, WhyLawDistrict, WhyLawDistrictItem, WhyLawDistrictItems, WhyLawDistrictItemsProps, WhyLawDistrictProps, WideInfoBar, useIntersectionObserver };
833
+ export { AboutUsContent, AboutUsContentProps, AboutUsSection, AboutUsSectionProps, AddButton, AddButtonProps, Article, ArticleProps, ArticlesList, ArticlesListProps, AsSeeInContent, AsSeeInContentProps, AsSeeInSection, AsSeeInSectionProps, BaseBox, BaseBoxList, BaseBoxListProps, BaseBoxProps, BillCard, BillCardProps, BlogSection, BlogSectionProps, BottomFixedBar, BottomFixedBarProps, BottomOverlay, BottomOverlayMenu, BottomOverlayMenuProps, 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, ExpertCard, ExpertCardList, ExpertCardListProps, ExpertCardProps, ExpertsSection, ExpertsSectionProps, Feedback, FeedbackProps, FormFaq, FormFaqProps, GoogleButton, GoogleButtonProps, GuidelinesContent, GuidelinesContentProps, GuidelinesSection, GuidelinesSectionProps, HowGetYourFormsSection, HowGetYourFormsSectionProps, IconImage, IconImageProps, IconSvgURLWithThemeColor, IconSvgURLWithThemeColorProps, ImageStructure, InfoBox, InfoBoxProps, ListStepsGetForm, ListStepsGetFormProps, Logo, LogoProps, LogoText, LogoTextProps, MenuItemProps, MenuItems, MenuItemsSection, MenuItemsSectionProps, MenuPlacement, Message, MessageProps, MobileBottomBar, MobileBottomBarProps, NavBarDropDown, NavBarDropDownProps, Pagination, PaginationProps, PaypalButton, PaypalButtonProps, PeopleSayAboutUsSection, PeopleSayAboutUsSectionProps, PricingCard, PricingCardProps, ProgressBar, ProgressBarProps, Radio, RadioProps, RemoveButton, RemoveButtonProps, RichTextInner, RichTextInnerProps, RichTextMedia, RichTextStrapi, RichTextStrapiProps, SearchSelect, SearchSelectProps, SideMenuTabProps, SidemenuTab, Snackbar, SnackbarProps, Spinner, SpinnerProps, StepGetForm, StepGetFormProps, TextArea, TextAreaProps, TextInput, TextInputProps, Toggle, ToggleProps, Tooltip, TooltipMenu, TooltipMenuProps, TooltipProps, TopBar, TopBarMobile, TopBarProps, Trustpilot as TrustPilot, TrustPilotProps, TrustworthyWebsites, TrustworthyWebsitesProps, TryOurFreeLegalBlogsContent, TryOurFreeLegalBlogsContentProps, TryOurFreeLegalBlogsSection, TryOurFreeLegalBlogsSectionProps, WhyLawDistrictItem, WhyLawDistrictItems, WhyLawDistrictItemsProps, WhyLawDistrictSection, WhyLawDistrictSectionProps, WideInfoBar, useIntersectionObserver };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npm_leadtech/legal-lib-components",
3
- "version": "2.15.14",
3
+ "version": "2.15.15",
4
4
  "dependencies": {
5
5
  "@testing-library/jest-dom": "^5.16.5",
6
6
  "@tippyjs/react": "4.2.6",
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- import { type WhyLawDistrictProps } from './WhyLawDistrictProps.types';
3
- import './WhyLawDistrict.scss';
4
- export declare const WhyLawDistrict: React.FC<WhyLawDistrictProps>;
5
- export default WhyLawDistrict;
@@ -1,7 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/react';
2
- import { WhyLawDistrict } from '../../../molecules';
3
- declare const meta: Meta<typeof WhyLawDistrict>;
4
- type Story = StoryObj<typeof WhyLawDistrict>;
5
- export default meta;
6
- export declare const Default: Story;
7
- export declare const NoUser: Story;
@@ -1,2 +0,0 @@
1
- export { default as WhyLawDistrict } from './WhyLawDistrict';
2
- export { type WhyLawDistrictProps } from './WhyLawDistrictProps.types';
@@ -1,5 +0,0 @@
1
- import React from 'react';
2
- import { type WhyLawDistrictProps } from './WhyLawDistrictProps.types';
3
- import './WhyLawDistrict.scss';
4
- export declare const WhyLawDistrict: React.FC<WhyLawDistrictProps>;
5
- export default WhyLawDistrict;
@@ -1,7 +0,0 @@
1
- import type { Meta, StoryObj } from '@storybook/react';
2
- import { WhyLawDistrict } from '../../../molecules';
3
- declare const meta: Meta<typeof WhyLawDistrict>;
4
- type Story = StoryObj<typeof WhyLawDistrict>;
5
- export default meta;
6
- export declare const Default: Story;
7
- export declare const NoUser: Story;
@@ -1,2 +0,0 @@
1
- export { default as WhyLawDistrict } from './WhyLawDistrict';
2
- export { type WhyLawDistrictProps } from './WhyLawDistrictProps.types';