@npm_leadtech/legal-lib-components 2.15.12 → 2.15.14
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.
- package/dist/cjs/index.js +3 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/legal-lib-components.css +55 -0
- package/dist/cjs/src/components/atoms/WhyLawDistrictItems/WhyLawDistrictItems.d.ts +5 -0
- package/dist/cjs/src/components/atoms/WhyLawDistrictItems/WhyLawDistrictItemsProps.types.d.ts +7 -0
- package/dist/cjs/src/components/atoms/WhyLawDistrictItems/__stories__/WhyLawDistrictItems.stories.d.ts +6 -0
- package/dist/cjs/src/components/atoms/WhyLawDistrictItems/__tests__/WhyLawDistrictItems.test.d.ts +1 -0
- package/dist/cjs/src/components/atoms/WhyLawDistrictItems/index.d.ts +3 -0
- package/dist/cjs/src/components/atoms/index.d.ts +1 -0
- package/dist/cjs/src/components/molecules/WhyLawDistrict/WhyLawDistrict.d.ts +5 -0
- package/dist/cjs/src/components/molecules/WhyLawDistrict/WhyLawDistrictProps.types.d.ts +12 -0
- package/dist/cjs/src/components/molecules/WhyLawDistrict/__stories__/WhyLawDistrict.stories.d.ts +7 -0
- package/dist/cjs/src/components/molecules/WhyLawDistrict/__tests__/WhyLawDistrict.test.d.ts +1 -0
- package/dist/cjs/src/components/molecules/WhyLawDistrict/index.d.ts +2 -0
- package/dist/cjs/src/components/molecules/index.d.ts +1 -0
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/legal-lib-components.css +55 -0
- package/dist/esm/src/components/atoms/WhyLawDistrictItems/WhyLawDistrictItems.d.ts +5 -0
- package/dist/esm/src/components/atoms/WhyLawDistrictItems/WhyLawDistrictItemsProps.types.d.ts +7 -0
- package/dist/esm/src/components/atoms/WhyLawDistrictItems/__stories__/WhyLawDistrictItems.stories.d.ts +6 -0
- package/dist/esm/src/components/atoms/WhyLawDistrictItems/__tests__/WhyLawDistrictItems.test.d.ts +1 -0
- package/dist/esm/src/components/atoms/WhyLawDistrictItems/index.d.ts +3 -0
- package/dist/esm/src/components/atoms/index.d.ts +1 -0
- package/dist/esm/src/components/molecules/WhyLawDistrict/WhyLawDistrict.d.ts +5 -0
- package/dist/esm/src/components/molecules/WhyLawDistrict/WhyLawDistrictProps.types.d.ts +12 -0
- package/dist/esm/src/components/molecules/WhyLawDistrict/__stories__/WhyLawDistrict.stories.d.ts +7 -0
- package/dist/esm/src/components/molecules/WhyLawDistrict/__tests__/WhyLawDistrict.test.d.ts +1 -0
- package/dist/esm/src/components/molecules/WhyLawDistrict/index.d.ts +2 -0
- package/dist/esm/src/components/molecules/index.d.ts +1 -0
- package/dist/index.d.ts +25 -1
- package/package.json +1 -1
|
@@ -2838,6 +2838,32 @@ html[data-theme='lawdistrict'] .document-status.--is-new {
|
|
|
2838
2838
|
.trustpilot {
|
|
2839
2839
|
margin: 3rem auto; } }
|
|
2840
2840
|
|
|
2841
|
+
.why-LawDistrictItems {
|
|
2842
|
+
max-width: 960px;
|
|
2843
|
+
display: flex;
|
|
2844
|
+
justify-content: center;
|
|
2845
|
+
margin: 0 auto;
|
|
2846
|
+
flex-flow: row wrap;
|
|
2847
|
+
padding: 0 0 1.5rem 0; }
|
|
2848
|
+
@media (min-width: 720px) {
|
|
2849
|
+
.why-LawDistrictItems {
|
|
2850
|
+
justify-content: space-between;
|
|
2851
|
+
padding: 0 1rem; } }
|
|
2852
|
+
.why-LawDistrictItems__item {
|
|
2853
|
+
max-width: 100%;
|
|
2854
|
+
color: var(--neutral-neutral-2);
|
|
2855
|
+
margin-bottom: 1rem;
|
|
2856
|
+
padding: 0 1rem; }
|
|
2857
|
+
@media (min-width: 720px) {
|
|
2858
|
+
.why-LawDistrictItems__item {
|
|
2859
|
+
padding: 2rem 0;
|
|
2860
|
+
max-width: calc(100% / 3 - 1.5rem); } }
|
|
2861
|
+
.why-LawDistrictItems__item:first-child {
|
|
2862
|
+
margin-top: 2rem; }
|
|
2863
|
+
@media (min-width: 720px) {
|
|
2864
|
+
.why-LawDistrictItems__item:first-child {
|
|
2865
|
+
margin-top: 0; } }
|
|
2866
|
+
|
|
2841
2867
|
.article {
|
|
2842
2868
|
display: flex;
|
|
2843
2869
|
flex-flow: row wrap;
|
|
@@ -3746,6 +3772,35 @@ html[data-theme='lawdistrict'] .document-status.--is-new {
|
|
|
3746
3772
|
.expert-card-list {
|
|
3747
3773
|
flex-direction: row; } }
|
|
3748
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
|
+
|
|
3749
3804
|
.articles_wrapper {
|
|
3750
3805
|
display: flex;
|
|
3751
3806
|
flex-direction: column;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import WhyLawDistrictItems from '../WhyLawDistrictItems';
|
|
3
|
+
declare const meta: Meta<typeof WhyLawDistrictItems>;
|
|
4
|
+
type Story = StoryObj<typeof WhyLawDistrictItems>;
|
|
5
|
+
export default meta;
|
|
6
|
+
export declare const Default: Story;
|
package/dist/cjs/src/components/atoms/WhyLawDistrictItems/__tests__/WhyLawDistrictItems.test.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type WhyLawDistrictItem } from '../../atoms';
|
|
2
|
+
export interface WhyLawDistrictProps {
|
|
3
|
+
title: string;
|
|
4
|
+
items: WhyLawDistrictItem[];
|
|
5
|
+
userActive: boolean;
|
|
6
|
+
link: {
|
|
7
|
+
cta: string;
|
|
8
|
+
url: string;
|
|
9
|
+
onClick: () => void;
|
|
10
|
+
dataQa: string;
|
|
11
|
+
};
|
|
12
|
+
}
|
package/dist/cjs/src/components/molecules/WhyLawDistrict/__stories__/WhyLawDistrict.stories.d.ts
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|