@npm_leadtech/legal-lib-components 2.15.13 → 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.
- package/dist/cjs/index.js +3 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/legal-lib-components.css +52 -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/sections/WhyLawDistrictSection/WhyLawDistrictSection.d.ts +5 -0
- package/dist/cjs/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSectionProps.types.d.ts +12 -0
- package/dist/cjs/src/components/sections/WhyLawDistrictSection/__stories__/WhyLawDistrictSection.stories.d.ts +7 -0
- package/dist/cjs/src/components/sections/WhyLawDistrictSection/__tests__/WhyLawDistrictSection.test.d.ts +1 -0
- package/dist/cjs/src/components/sections/WhyLawDistrictSection/index.d.ts +2 -0
- package/dist/cjs/src/components/sections/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 +52 -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/sections/WhyLawDistrictSection/WhyLawDistrictSection.d.ts +5 -0
- package/dist/esm/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSectionProps.types.d.ts +12 -0
- package/dist/esm/src/components/sections/WhyLawDistrictSection/__stories__/WhyLawDistrictSection.stories.d.ts +7 -0
- package/dist/esm/src/components/sections/WhyLawDistrictSection/__tests__/WhyLawDistrictSection.test.d.ts +1 -0
- package/dist/esm/src/components/sections/WhyLawDistrictSection/index.d.ts +2 -0
- package/dist/esm/src/components/sections/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
|
+
.whyLawDistrictItems {
|
|
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
|
+
.whyLawDistrictItems {
|
|
2850
|
+
justify-content: space-between;
|
|
2851
|
+
padding: 0 1rem; } }
|
|
2852
|
+
.whyLawDistrictItems__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
|
+
.whyLawDistrictItems__item {
|
|
2859
|
+
padding: 2rem 0;
|
|
2860
|
+
max-width: calc(100% / 3 - 1.5rem); } }
|
|
2861
|
+
.whyLawDistrictItems__item:first-child {
|
|
2862
|
+
margin-top: 2rem; }
|
|
2863
|
+
@media (min-width: 720px) {
|
|
2864
|
+
.whyLawDistrictItems__item:first-child {
|
|
2865
|
+
margin-top: 0; } }
|
|
2866
|
+
|
|
2841
2867
|
.article {
|
|
2842
2868
|
display: flex;
|
|
2843
2869
|
flex-flow: row wrap;
|
|
@@ -4093,3 +4119,29 @@ html[data-theme='lawdistrict'] .document-status.--is-new {
|
|
|
4093
4119
|
line-height: 42px;
|
|
4094
4120
|
letter-spacing: -0.3px;
|
|
4095
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; } }
|
|
@@ -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,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;
|
package/dist/cjs/src/components/sections/WhyLawDistrictSection/WhyLawDistrictSectionProps.types.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type WhyLawDistrictItem } from '../../atoms';
|
|
2
|
+
export interface WhyLawDistrictSectionProps {
|
|
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
|
+
}
|
|
@@ -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 @@
|
|
|
1
|
+
export {};
|