@npm_leadtech/legal-lib-components 2.11.1 → 2.11.4

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 (38) 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 +55 -0
  4. package/dist/cjs/src/components/atoms/ExpertCard/ExpertCard.d.ts +5 -0
  5. package/dist/cjs/src/components/atoms/ExpertCard/ExpertCardProps.types.d.ts +6 -0
  6. package/dist/cjs/src/components/atoms/ExpertCard/__stories__/ExpertCard.stories.d.ts +6 -0
  7. package/dist/cjs/src/components/atoms/ExpertCard/index.d.ts +2 -0
  8. package/dist/cjs/src/components/atoms/index.d.ts +1 -0
  9. package/dist/cjs/src/components/molecules/ExpertCardList/ExpertCardList.d.ts +5 -0
  10. package/dist/cjs/src/components/molecules/ExpertCardList/ExpertCardListProps.types.d.ts +4 -0
  11. package/dist/cjs/src/components/molecules/ExpertCardList/__stories__/ExpertCardList.stories.d.ts +6 -0
  12. package/dist/cjs/src/components/molecules/ExpertCardList/index.d.ts +2 -0
  13. package/dist/cjs/src/components/molecules/index.d.ts +1 -0
  14. package/dist/cjs/src/components/sections/ExpertsSection/ExpertsSection.d.ts +5 -0
  15. package/dist/cjs/src/components/sections/ExpertsSection/ExpertsSectionProps.types.d.ts +5 -0
  16. package/dist/cjs/src/components/sections/ExpertsSection/__stories__/ExpertsSection.stories.d.ts +6 -0
  17. package/dist/cjs/src/components/sections/ExpertsSection/index.d.ts +2 -0
  18. package/dist/cjs/src/components/sections/index.d.ts +1 -0
  19. package/dist/esm/index.js +3 -3
  20. package/dist/esm/index.js.map +1 -1
  21. package/dist/esm/legal-lib-components.css +55 -0
  22. package/dist/esm/src/components/atoms/ExpertCard/ExpertCard.d.ts +5 -0
  23. package/dist/esm/src/components/atoms/ExpertCard/ExpertCardProps.types.d.ts +6 -0
  24. package/dist/esm/src/components/atoms/ExpertCard/__stories__/ExpertCard.stories.d.ts +6 -0
  25. package/dist/esm/src/components/atoms/ExpertCard/index.d.ts +2 -0
  26. package/dist/esm/src/components/atoms/index.d.ts +1 -0
  27. package/dist/esm/src/components/molecules/ExpertCardList/ExpertCardList.d.ts +5 -0
  28. package/dist/esm/src/components/molecules/ExpertCardList/ExpertCardListProps.types.d.ts +4 -0
  29. package/dist/esm/src/components/molecules/ExpertCardList/__stories__/ExpertCardList.stories.d.ts +6 -0
  30. package/dist/esm/src/components/molecules/ExpertCardList/index.d.ts +2 -0
  31. package/dist/esm/src/components/molecules/index.d.ts +1 -0
  32. package/dist/esm/src/components/sections/ExpertsSection/ExpertsSection.d.ts +5 -0
  33. package/dist/esm/src/components/sections/ExpertsSection/ExpertsSectionProps.types.d.ts +5 -0
  34. package/dist/esm/src/components/sections/ExpertsSection/__stories__/ExpertsSection.stories.d.ts +6 -0
  35. package/dist/esm/src/components/sections/ExpertsSection/index.d.ts +2 -0
  36. package/dist/esm/src/components/sections/index.d.ts +1 -0
  37. package/dist/index.d.ts +22 -1
  38. package/package.json +1 -1
@@ -1685,6 +1685,43 @@ html[data-theme='uslawdistricts'] {
1685
1685
  .document-status.--is-new .icon {
1686
1686
  margin-right: 1.4rem; }
1687
1687
 
1688
+ .expert-card {
1689
+ display: flex;
1690
+ align-items: center;
1691
+ justify-content: center;
1692
+ margin-top: 5rem; }
1693
+ .expert-card__box {
1694
+ background-color: white;
1695
+ border-radius: 0.3rem;
1696
+ box-shadow: 0 0.25rem 0.5rem 0 rgba(var(--primary-main-dark-1), 0.2);
1697
+ padding: 7rem 2rem 0 2rem;
1698
+ min-height: 13rem;
1699
+ display: flex;
1700
+ flex-direction: column;
1701
+ align-items: center;
1702
+ justify-content: flex-start;
1703
+ width: 17.625rem;
1704
+ margin-left: 2rem; }
1705
+ .expert-card__image {
1706
+ position: absolute;
1707
+ transform: translateY(-115%); }
1708
+ .expert-card__title {
1709
+ font-family: Inter;
1710
+ font-size: 18px;
1711
+ font-weight: 700;
1712
+ line-height: 24px;
1713
+ letter-spacing: -0.3px;
1714
+ text-align: center;
1715
+ width: 75%; }
1716
+ .expert-card__description {
1717
+ font-family: Inter;
1718
+ font-size: 16px;
1719
+ font-weight: 400;
1720
+ line-height: 22px;
1721
+ letter-spacing: -0.30000001192092896px;
1722
+ text-align: center;
1723
+ width: 75%; }
1724
+
1688
1725
  .form-faq {
1689
1726
  display: flex;
1690
1727
  position: relative;
@@ -3629,6 +3666,11 @@ html[data-theme='uslawdistricts'] {
3629
3666
  .trustworthy-websites__image {
3630
3667
  margin: 1.5rem; }
3631
3668
 
3669
+ .expert-card-list {
3670
+ display: flex;
3671
+ flex-direction: row;
3672
+ justify-content: center; }
3673
+
3632
3674
  .articles_wrapper {
3633
3675
  display: flex;
3634
3676
  flex-direction: column;
@@ -3942,3 +3984,16 @@ html[data-theme='uslawdistricts'] {
3942
3984
  line-height: 42px;
3943
3985
  letter-spacing: -0.3px;
3944
3986
  margin: 1rem 0; }
3987
+
3988
+ .experts-section {
3989
+ display: flex;
3990
+ justify-content: center;
3991
+ flex-direction: column; }
3992
+ .experts-section__title {
3993
+ font-family: Lora;
3994
+ font-size: 32px;
3995
+ font-weight: 400;
3996
+ line-height: 42px;
3997
+ letter-spacing: -0.3px;
3998
+ text-align: center;
3999
+ margin-bottom: 3rem; }
@@ -0,0 +1,5 @@
1
+ import { type FC } from 'react';
2
+ import { type ExpertCardProps } from './ExpertCardProps.types';
3
+ import './ExpertCard.scss';
4
+ declare const ExpertCard: FC<ExpertCardProps>;
5
+ export default ExpertCard;
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ export interface ExpertCardProps {
3
+ title: string;
4
+ description: string;
5
+ image: React.ReactNode;
6
+ }
@@ -0,0 +1,6 @@
1
+ import { type Meta, type StoryObj } from '@storybook/react';
2
+ import ExpertCard from '../ExpertCard';
3
+ declare const meta: Meta<typeof ExpertCard>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof ExpertCard>;
6
+ export declare const Default: Story;
@@ -0,0 +1,2 @@
1
+ export { default as ExpertCard } from './ExpertCard';
2
+ export { type ExpertCardProps } from './ExpertCardProps.types';
@@ -12,6 +12,7 @@ export * from './DialogMenuIcon';
12
12
  export * from './Disclaimer';
13
13
  export * from './Divider';
14
14
  export * from './DocumentStatus';
15
+ export * from './ExpertCard';
15
16
  export * from './FormFaq';
16
17
  export * from './GoogleButton';
17
18
  export * from './IconImage';
@@ -0,0 +1,5 @@
1
+ import { type FC } from 'react';
2
+ import { type ExpertCardListProps } from './ExpertCardListProps.types';
3
+ import './ExpertCardList.scss';
4
+ declare const ExpertCardList: FC<ExpertCardListProps>;
5
+ export default ExpertCardList;
@@ -0,0 +1,4 @@
1
+ import { type ExpertCardProps } from '../../atoms/ExpertCard';
2
+ export interface ExpertCardListProps {
3
+ contentExpertCard: ExpertCardProps[];
4
+ }
@@ -0,0 +1,6 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import ExpertCardList from '../ExpertCardList';
3
+ declare const meta: Meta<typeof ExpertCardList>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof ExpertCardList>;
6
+ export declare const Default: Story;
@@ -0,0 +1,2 @@
1
+ export { default as ExpertCardList } from './ExpertCardList';
2
+ export { type ExpertCardListProps } from './ExpertCardListProps.types';
@@ -15,3 +15,4 @@ export * from './StepGetForm';
15
15
  export * from './TextInput';
16
16
  export * from './TooltipMenu';
17
17
  export * from './TrustworthyWebsites';
18
+ export * from './ExpertCardList';
@@ -0,0 +1,5 @@
1
+ import { type FC } from 'react';
2
+ import { type ExpertsSectionProps } from './ExpertsSectionProps.types';
3
+ import './ExpertsSection.scss';
4
+ declare const ExpertsSection: FC<ExpertsSectionProps>;
5
+ export default ExpertsSection;
@@ -0,0 +1,5 @@
1
+ import { type ExpertCardListProps } from '../../molecules/ExpertCardList';
2
+ export interface ExpertsSectionProps {
3
+ title: string;
4
+ contentExpertCardList: ExpertCardListProps;
5
+ }
@@ -0,0 +1,6 @@
1
+ import type { Meta, StoryObj } from '@storybook/react';
2
+ import ExpertsSection from '../ExpertsSection';
3
+ declare const meta: Meta<typeof ExpertsSection>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof ExpertsSection>;
6
+ export declare const Default: Story;
@@ -0,0 +1,2 @@
1
+ export { default as ExpertsSection } from './ExpertsSection';
2
+ export { type ExpertsSectionProps } from './ExpertsSectionProps.types';
@@ -4,3 +4,4 @@ export * from './TryOurFreeLegalBlogsSection';
4
4
  export * from './AboutUsSection';
5
5
  export * from './GuidelinesSection';
6
6
  export * from './AsSeeInSection';
7
+ export * from './ExpertsSection';
package/dist/index.d.ts CHANGED
@@ -170,6 +170,14 @@ interface DocumentStatusProps {
170
170
 
171
171
  declare const DocumentStatus: FC<DocumentStatusProps>;
172
172
 
173
+ interface ExpertCardProps {
174
+ title: string;
175
+ description: string;
176
+ image: React.ReactNode;
177
+ }
178
+
179
+ declare const ExpertCard: FC<ExpertCardProps>;
180
+
173
181
  interface FormFaqProps {
174
182
  title: string;
175
183
  answer: string;
@@ -640,6 +648,12 @@ interface ImageStructure {
640
648
 
641
649
  declare const TrustworthyWebsites: FC<TrustworthyWebsitesProps>;
642
650
 
651
+ interface ExpertCardListProps {
652
+ contentExpertCard: ExpertCardProps[];
653
+ }
654
+
655
+ declare const ExpertCardList: FC<ExpertCardListProps>;
656
+
643
657
  interface ArticlesListProps {
644
658
  articles: ArticleProps[];
645
659
  }
@@ -733,9 +747,16 @@ interface AsSeeInSectionProps {
733
747
 
734
748
  declare const AsSeeInSection: FC<AsSeeInSectionProps>;
735
749
 
750
+ interface ExpertsSectionProps {
751
+ title: string;
752
+ contentExpertCardList: ExpertCardListProps;
753
+ }
754
+
755
+ declare const ExpertsSection: FC<ExpertsSectionProps>;
756
+
736
757
  declare function useIntersectionObserver({ options, defaultIntersecting }: {
737
758
  options?: {} | undefined;
738
759
  defaultIntersecting?: boolean | undefined;
739
760
  }): [RefObject<HTMLDivElement | HTMLHeadElement>, boolean];
740
761
 
741
- 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, Feedback, FeedbackProps, FormFaq, FormFaqProps, GoogleButton, GoogleButtonProps, GuidelinesContent, GuidelinesContentProps, GuidelinesSection, GuidelinesSectionProps, HowGetYourFormsSection, HowGetYourFormsSectionProps, IconImage, IconImageProps, ImageStructure, InfoBox, InfoBoxProps, ListStepsGetForm, ListStepsGetFormProps, 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 };
762
+ 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, 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 };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npm_leadtech/legal-lib-components",
3
- "version": "2.11.1",
3
+ "version": "2.11.4",
4
4
  "dependencies": {
5
5
  "@testing-library/jest-dom": "^5.16.5",
6
6
  "@tippyjs/react": "4.2.6",