@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';