@npm_leadtech/legal-lib-components 2.11.18 → 2.12.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.
Files changed (30) hide show
  1. package/dist/cjs/index.js +3 -3
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/cjs/legal-lib-components.css +7 -0
  4. package/dist/cjs/src/components/atoms/Disclaimer/DisclaimerProps.types.d.ts +1 -2
  5. package/dist/cjs/src/components/atoms/TrustPilot/TrustPilot.d.ts +5 -0
  6. package/dist/cjs/src/components/atoms/TrustPilot/TrustPilotProps.types.d.ts +4 -0
  7. package/dist/cjs/src/components/atoms/TrustPilot/__stories__/Trustpilot.stories.d.ts +6 -0
  8. package/dist/cjs/src/components/atoms/TrustPilot/index.d.ts +2 -0
  9. package/dist/cjs/src/components/atoms/index.d.ts +1 -0
  10. package/dist/cjs/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.d.ts +5 -0
  11. package/dist/cjs/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSectionProps.types.d.ts +5 -0
  12. package/dist/cjs/src/components/sections/PeopleSayAboutUsSection/__stories__/PeopleSayAboutUsSection.stories.d.ts +6 -0
  13. package/dist/cjs/src/components/sections/PeopleSayAboutUsSection/index.d.ts +2 -0
  14. package/dist/cjs/src/utils/envVariables.d.ts +1 -0
  15. package/dist/esm/index.js +3 -3
  16. package/dist/esm/index.js.map +1 -1
  17. package/dist/esm/legal-lib-components.css +7 -0
  18. package/dist/esm/src/components/atoms/Disclaimer/DisclaimerProps.types.d.ts +1 -2
  19. package/dist/esm/src/components/atoms/TrustPilot/TrustPilot.d.ts +5 -0
  20. package/dist/esm/src/components/atoms/TrustPilot/TrustPilotProps.types.d.ts +4 -0
  21. package/dist/esm/src/components/atoms/TrustPilot/__stories__/Trustpilot.stories.d.ts +6 -0
  22. package/dist/esm/src/components/atoms/TrustPilot/index.d.ts +2 -0
  23. package/dist/esm/src/components/atoms/index.d.ts +1 -0
  24. package/dist/esm/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.d.ts +5 -0
  25. package/dist/esm/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSectionProps.types.d.ts +5 -0
  26. package/dist/esm/src/components/sections/PeopleSayAboutUsSection/__stories__/PeopleSayAboutUsSection.stories.d.ts +6 -0
  27. package/dist/esm/src/components/sections/PeopleSayAboutUsSection/index.d.ts +2 -0
  28. package/dist/esm/src/utils/envVariables.d.ts +1 -0
  29. package/dist/index.d.ts +8 -3
  30. package/package.json +1 -1
@@ -2791,6 +2791,13 @@ html[data-theme='lawdistrict'] .e-button.--primary-3 {
2791
2791
  .wide-info-bar__wrapper {
2792
2792
  padding: 0.5rem 2rem; } }
2793
2793
 
2794
+ .trustpilot {
2795
+ margin: auto;
2796
+ padding: 0 1rem; }
2797
+ @media (min-width: 720px) {
2798
+ .trustpilot {
2799
+ margin: 3rem auto; } }
2800
+
2794
2801
  .article {
2795
2802
  display: flex;
2796
2803
  flex-flow: row wrap;
@@ -1,7 +1,6 @@
1
1
  export interface DisclaimerProps {
2
2
  text?: string;
3
3
  disclaimerLinks?: boolean;
4
- linksUrl?: string;
4
+ environment?: string;
5
5
  givenClass?: string;
6
- siteUrl?: string;
7
6
  }
@@ -0,0 +1,5 @@
1
+ import { type FC } from 'react';
2
+ import { type TrustPilotProps } from './TrustPilotProps.types';
3
+ import './TrustPilot.scss';
4
+ declare const Trustpilot: FC<TrustPilotProps>;
5
+ export default Trustpilot;
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ export interface TrustPilotProps {
3
+ children: React.ReactNode;
4
+ }
@@ -0,0 +1,6 @@
1
+ import { type Meta, type StoryObj } from '@storybook/react';
2
+ import TrustPilot from '../TrustPilot';
3
+ declare const meta: Meta<typeof TrustPilot>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof TrustPilot>;
6
+ export declare const Default: Story;
@@ -0,0 +1,2 @@
1
+ export { default as TrustPilot } from './TrustPilot';
2
+ export { type TrustPilotProps } from './TrustPilotProps.types';
@@ -36,3 +36,4 @@ export * from './Tooltip';
36
36
  export * from './TopBar';
37
37
  export * from './TopBarMobile';
38
38
  export * from './WideInfoBar';
39
+ export * from './TrustPilot';
@@ -0,0 +1,5 @@
1
+ import { type FC } from 'react';
2
+ import { type PeopleSayAboutUsSectionProps } from './PeopleSayAboutUsSectionProps.types';
3
+ import './PeopleSayAboutUsSection.scss';
4
+ declare const PeopleSayAboutUsSection: FC<PeopleSayAboutUsSectionProps>;
5
+ export default PeopleSayAboutUsSection;
@@ -0,0 +1,5 @@
1
+ import { type TrustPilotProps } from '../../atoms/TrustPilot';
2
+ export interface PeopleSayAboutUsSectionProps {
3
+ title: string;
4
+ contentTrustPilot: TrustPilotProps;
5
+ }
@@ -0,0 +1,6 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import PeopleSayAboutUsSection from '../PeopleSayAboutUsSection';
3
+ declare const meta: Meta<typeof PeopleSayAboutUsSection>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof PeopleSayAboutUsSection>;
6
+ export declare const Default: Story;
@@ -0,0 +1,2 @@
1
+ export { default as PeopleSayAboutUsSection } from './PeopleSayAboutUsSection';
2
+ export { type PeopleSayAboutUsSectionProps } from './PeopleSayAboutUsSectionProps.types';
@@ -0,0 +1 @@
1
+ export declare const envVar = "lawdistrict.com";
package/dist/index.d.ts CHANGED
@@ -149,9 +149,8 @@ declare const DialogMenuIcon: FC<DialogMenuIconProps>;
149
149
  interface DisclaimerProps {
150
150
  text?: string;
151
151
  disclaimerLinks?: boolean;
152
- linksUrl?: string;
152
+ environment?: string;
153
153
  givenClass?: string;
154
- siteUrl?: string;
155
154
  }
156
155
 
157
156
  declare const Disclaimer: FC<DisclaimerProps>;
@@ -434,6 +433,12 @@ interface WideInfoBarProps {
434
433
  }
435
434
  declare const WideInfoBar: FC<WideInfoBarProps>;
436
435
 
436
+ interface TrustPilotProps {
437
+ children: React.ReactNode;
438
+ }
439
+
440
+ declare const Trustpilot: FC<TrustPilotProps>;
441
+
437
442
  interface ArticleProps {
438
443
  imageUrl: string;
439
444
  title: string;
@@ -773,4 +778,4 @@ declare function useIntersectionObserver({ options, defaultIntersecting }: {
773
778
  defaultIntersecting?: boolean | undefined;
774
779
  }): [RefObject<HTMLDivElement | HTMLHeadElement>, boolean];
775
780
 
776
- 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, ImageStructure, InfoBox, InfoBoxProps, ListStepsGetForm, ListStepsGetFormProps, Logo, LogoProps, LogoText, LogoTextProps, MenuItemProps, MenuItems, MenuItemsSection, MenuItemsSectionProps, Message, MessageProps, MobileBottomBar, MobileBottomBarProps, NavBarDropDown, NavBarDropDownProps, Pagination, PaginationProps, PaypalButton, PaypalButtonProps, 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, TrustworthyWebsites, TrustworthyWebsitesProps, TryOurFreeLegalBlogsContent, TryOurFreeLegalBlogsContentProps, TryOurFreeLegalBlogsSection, TryOurFreeLegalBlogsSectionProps, WideInfoBar, useIntersectionObserver };
781
+ 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, ImageStructure, InfoBox, InfoBoxProps, ListStepsGetForm, ListStepsGetFormProps, Logo, LogoProps, LogoText, LogoTextProps, MenuItemProps, MenuItems, MenuItemsSection, MenuItemsSectionProps, Message, MessageProps, MobileBottomBar, MobileBottomBarProps, NavBarDropDown, NavBarDropDownProps, Pagination, PaginationProps, PaypalButton, PaypalButtonProps, 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, WideInfoBar, useIntersectionObserver };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npm_leadtech/legal-lib-components",
3
- "version": "2.11.18",
3
+ "version": "2.12.0",
4
4
  "dependencies": {
5
5
  "@testing-library/jest-dom": "^5.16.5",
6
6
  "@tippyjs/react": "4.2.6",