@npm_leadtech/legal-lib-components 2.11.19 → 2.12.1

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 (32) 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 +35 -46
  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/components/sections/index.d.ts +1 -0
  15. package/dist/cjs/src/utils/envVariables.d.ts +1 -0
  16. package/dist/esm/index.js +3 -3
  17. package/dist/esm/index.js.map +1 -1
  18. package/dist/esm/legal-lib-components.css +35 -46
  19. package/dist/esm/src/components/atoms/Disclaimer/DisclaimerProps.types.d.ts +1 -2
  20. package/dist/esm/src/components/atoms/TrustPilot/TrustPilot.d.ts +5 -0
  21. package/dist/esm/src/components/atoms/TrustPilot/TrustPilotProps.types.d.ts +4 -0
  22. package/dist/esm/src/components/atoms/TrustPilot/__stories__/Trustpilot.stories.d.ts +6 -0
  23. package/dist/esm/src/components/atoms/TrustPilot/index.d.ts +2 -0
  24. package/dist/esm/src/components/atoms/index.d.ts +1 -0
  25. package/dist/esm/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSection.d.ts +5 -0
  26. package/dist/esm/src/components/sections/PeopleSayAboutUsSection/PeopleSayAboutUsSectionProps.types.d.ts +5 -0
  27. package/dist/esm/src/components/sections/PeopleSayAboutUsSection/__stories__/PeopleSayAboutUsSection.stories.d.ts +6 -0
  28. package/dist/esm/src/components/sections/PeopleSayAboutUsSection/index.d.ts +2 -0
  29. package/dist/esm/src/components/sections/index.d.ts +1 -0
  30. package/dist/esm/src/utils/envVariables.d.ts +1 -0
  31. package/dist/index.d.ts +15 -3
  32. package/package.json +1 -1
@@ -696,23 +696,12 @@ html[data-theme='lawdistrict'] .e-button.--primary-3 {
696
696
  border-radius: 4px; }
697
697
  .e-checkbox input:not(:checked) + label:after,
698
698
  .e-checkbox input:checked + label:after {
699
- background-color: currentColor;
700
- content: "";
701
- padding: 0 0.5em;
702
- margin: 0 0.125rem;
703
- -webkit-mask-image: url("data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22UTF-8%22%3F%3E%3Csvg width%3D%2216px%22 height%3D%2216px%22 viewBox%3D%220 0 16 16%22 version%3D%221.1%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E %3C!-- Generator%3A sketchtool 60 (101010) - https%3A%2F%2Fsketch.com --%3E %3Ctitle%3EA726BA30-305F-468D-ADB2-E35785BB1EB9_outlined%3C%2Ftitle%3E %3Cdesc%3ECreated with sketchtool.%3C%2Fdesc%3E %3Cdefs%3E %3Cpolygon id%3D%22path-1%22 points%3D%225.86666678 10.5999999 3.06666672 7.80000001 2.13333337 8.73333331 5.86666678 12.4666665 13.866667 4.46666677 12.9333336 3.53333346%22%3E%3C%2Fpolygon%3E %3C%2Fdefs%3E %3Cg id%3D%22Asset-Artboard-Page%22 stroke%3D%22none%22 stroke-width%3D%221%22 fill%3D%22none%22 fill-rule%3D%22evenodd%22%3E %3Cg id%3D%22icon%2Fdone_24px%22%3E %3Cmask id%3D%22mask-2%22 fill%3D%22white%22%3E %3Cuse xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E %3C%2Fmask%3E %3Cg id%3D%22icon%2Faction%2Fdone_24px%22 fill-rule%3D%22nonzero%22%3E%3C%2Fg%3E %3Cg id%3D%22%E2%86%B3-Color-Color-%2F-Icons-%2F-Neutrals-%2F-White%22 mask%3D%22url(%23mask-2)%22 fill%3D%22%2305646E%22%3E %3Crect id%3D%22Rectangle%22 x%3D%220%22 y%3D%220%22 width%3D%2216%22 height%3D%2216%22%3E%3C%2Frect%3E %3C%2Fg%3E %3C%2Fg%3E %3C%2Fg%3E%3C%2Fsvg%3E");
704
- mask-image: url("data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22UTF-8%22%3F%3E%3Csvg width%3D%2216px%22 height%3D%2216px%22 viewBox%3D%220 0 16 16%22 version%3D%221.1%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E %3C!-- Generator%3A sketchtool 60 (101010) - https%3A%2F%2Fsketch.com --%3E %3Ctitle%3EA726BA30-305F-468D-ADB2-E35785BB1EB9_outlined%3C%2Ftitle%3E %3Cdesc%3ECreated with sketchtool.%3C%2Fdesc%3E %3Cdefs%3E %3Cpolygon id%3D%22path-1%22 points%3D%225.86666678 10.5999999 3.06666672 7.80000001 2.13333337 8.73333331 5.86666678 12.4666665 13.866667 4.46666677 12.9333336 3.53333346%22%3E%3C%2Fpolygon%3E %3C%2Fdefs%3E %3Cg id%3D%22Asset-Artboard-Page%22 stroke%3D%22none%22 stroke-width%3D%221%22 fill%3D%22none%22 fill-rule%3D%22evenodd%22%3E %3Cg id%3D%22icon%2Fdone_24px%22%3E %3Cmask id%3D%22mask-2%22 fill%3D%22white%22%3E %3Cuse xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E %3C%2Fmask%3E %3Cg id%3D%22icon%2Faction%2Fdone_24px%22 fill-rule%3D%22nonzero%22%3E%3C%2Fg%3E %3Cg id%3D%22%E2%86%B3-Color-Color-%2F-Icons-%2F-Neutrals-%2F-White%22 mask%3D%22url(%23mask-2)%22 fill%3D%22%2305646E%22%3E %3Crect id%3D%22Rectangle%22 x%3D%220%22 y%3D%220%22 width%3D%2216%22 height%3D%2216%22%3E%3C%2Frect%3E %3C%2Fg%3E %3C%2Fg%3E %3C%2Fg%3E%3C%2Fsvg%3E");
705
- -webkit-mask-repeat: no-repeat;
706
- mask-repeat: no-repeat;
707
- -webkit-mask-position: center;
708
- mask-position: center;
709
- clip-path: padding-box inset(0.28125em 0);
699
+ content: url("data:image/svg+xml,%3C%3Fxml version%3D%221.0%22 encoding%3D%22UTF-8%22%3F%3E%3Csvg width%3D%2216px%22 height%3D%2216px%22 viewBox%3D%220 0 16 16%22 version%3D%221.1%22 xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%3E %3C!-- Generator%3A sketchtool 60 (101010) - https%3A%2F%2Fsketch.com --%3E %3Ctitle%3EA726BA30-305F-468D-ADB2-E35785BB1EB9_outlined%3C%2Ftitle%3E %3Cdesc%3ECreated with sketchtool.%3C%2Fdesc%3E %3Cdefs%3E %3Cpolygon id%3D%22path-1%22 points%3D%225.86666678 10.5999999 3.06666672 7.80000001 2.13333337 8.73333331 5.86666678 12.4666665 13.866667 4.46666677 12.9333336 3.53333346%22%3E%3C%2Fpolygon%3E %3C%2Fdefs%3E %3Cg id%3D%22Asset-Artboard-Page%22 stroke%3D%22none%22 stroke-width%3D%221%22 fill%3D%22none%22 fill-rule%3D%22evenodd%22%3E %3Cg id%3D%22icon%2Fdone_24px%22%3E %3Cmask id%3D%22mask-2%22 fill%3D%22white%22%3E %3Cuse xlink%3Ahref%3D%22%23path-1%22%3E%3C%2Fuse%3E %3C%2Fmask%3E %3Cg id%3D%22icon%2Faction%2Fdone_24px%22 fill-rule%3D%22nonzero%22%3E%3C%2Fg%3E %3Cg id%3D%22%E2%86%B3-Color-Color-%2F-Icons-%2F-Neutrals-%2F-White%22 mask%3D%22url(%23mask-2)%22 fill%3D%22%2305646E%22%3E %3Crect id%3D%22Rectangle%22 x%3D%220%22 y%3D%220%22 width%3D%2216%22 height%3D%2216%22%3E%3C%2Frect%3E %3C%2Fg%3E %3C%2Fg%3E %3C%2Fg%3E%3C%2Fsvg%3E");
700
+ top: 3px;
701
+ left: .3rem;
710
702
  position: absolute;
711
- width: 20px;
712
- height: 20px;
713
- left: 0.09rem;
714
- top: 2px;
715
- color: var(--primary-main); }
703
+ width: 1.5rem;
704
+ transition: all 0.2s; }
716
705
  .e-checkbox input:not(:checked) + label:after {
717
706
  opacity: 0;
718
707
  transform: scale(0);
@@ -1672,20 +1661,6 @@ html[data-theme='lawdistrict'] .e-button.--primary-3 {
1672
1661
  text-align: center;
1673
1662
  margin: 0 0.75rem; }
1674
1663
 
1675
- html[data-theme='lawdistrict'] .document-status.--in-progress {
1676
- background-color: var(--secondary-main-light-4);
1677
- border-color: var(--secondary-main-dark-1);
1678
- color: var(--secondary-main-dark-2); }
1679
- html[data-theme='lawdistrict'] .document-status.--in-progress svg g > g {
1680
- fill: var(--secondary-main-dark-2); }
1681
-
1682
- html[data-theme='lawdistrict'] .document-status.--is-new {
1683
- background-color: var(--secondary-main-dark-2);
1684
- border-color: var(--secondary-main);
1685
- color: var(--secondary-main-light-4); }
1686
- html[data-theme='lawdistrict'] .document-status.--is-new .icon {
1687
- margin-right: 1.4rem; }
1688
-
1689
1664
  .document-status {
1690
1665
  font-family: "Inter", sans-serif;
1691
1666
  border-radius: 4px;
@@ -1711,17 +1686,13 @@ html[data-theme='lawdistrict'] .document-status.--is-new {
1711
1686
  background-color: var(--primary-main-light-5);
1712
1687
  border-color: var(--primary-main-light-3);
1713
1688
  color: var(--primary-main); }
1714
- .document-status.--is-completed svg path {
1715
- fill: var(--primary-main); }
1716
1689
  .document-status.--in-progress {
1717
- background-color: var(--neutral-neutral-5);
1718
- border-color: var(--neutral-neutral-3);
1719
- color: var(--neutral-neutral-1); }
1720
- .document-status.--in-progress svg g > g {
1721
- fill: var(--neutral-neutral-1); }
1690
+ background-color: var(--secondary-main-light-4);
1691
+ border-color: var(--secondary-main-dark-1);
1692
+ color: var(--secondary-main-dark-2); }
1722
1693
  .document-status.--is-new {
1723
- background-color: var(--primary-main-dark-1);
1724
- border-color: var(--primary-main);
1694
+ background-color: var(--secondary-main-dark-2);
1695
+ border-color: var(--secondary-main);
1725
1696
  color: var(--secondary-main-light-4); }
1726
1697
  .document-status.--is-new .icon {
1727
1698
  margin-right: 1.4rem; }
@@ -2185,11 +2156,11 @@ html[data-theme='lawdistrict'] .document-status.--is-new {
2185
2156
  width: 100%;
2186
2157
  cursor: pointer;
2187
2158
  transition: all .3s ease;
2188
- background-color: var(--primary-main);
2159
+ background-color: var(--primary-main-light-1);
2189
2160
  text-align: center;
2190
2161
  padding: 10px; }
2191
2162
  .e-radio.--tabs input:checked + label:hover {
2192
- background-color: var(--primary-main); }
2163
+ background-color: var(--primary-main-light-1); }
2193
2164
  .e-radio.--tabs input:not(:checked) + label {
2194
2165
  text-align: center;
2195
2166
  width: 100%;
@@ -2233,11 +2204,11 @@ html[data-theme='lawdistrict'] .document-status.--is-new {
2233
2204
  width: 100%;
2234
2205
  cursor: pointer;
2235
2206
  transition: all .3s ease;
2236
- background-color: var(--primary-main);
2207
+ background-color: var(--primary-main-light-1);
2237
2208
  text-align: center;
2238
2209
  padding: 10px; }
2239
2210
  .e-radio.--tabs:not(.--icons) input:checked + label:hover {
2240
- background-color: var(--primary-main); }
2211
+ background-color: var(--primary-main-light-1); }
2241
2212
  .e-radio.--tabs:not(.--icons) input:not(:checked) + label {
2242
2213
  text-align: center;
2243
2214
  width: 100%;
@@ -2820,6 +2791,13 @@ html[data-theme='lawdistrict'] .document-status.--is-new {
2820
2791
  .wide-info-bar__wrapper {
2821
2792
  padding: 0.5rem 2rem; } }
2822
2793
 
2794
+ .trustpilot {
2795
+ margin: auto;
2796
+ padding: 0 1rem; }
2797
+ @media (min-width: 720px) {
2798
+ .trustpilot {
2799
+ margin: 3rem auto; } }
2800
+
2823
2801
  .article {
2824
2802
  display: flex;
2825
2803
  flex-flow: row wrap;
@@ -3788,9 +3766,7 @@ html[data-theme='lawdistrict'] .document-status.--is-new {
3788
3766
  outline: none;
3789
3767
  display: flex;
3790
3768
  align-items: center;
3791
- justify-content: center;
3792
- background-color: var(--primary-main);
3793
- border-color: var(--primary-main); }
3769
+ justify-content: center; }
3794
3770
  .mobile-bottom-bar .e-button:hover {
3795
3771
  cursor: pointer; }
3796
3772
  .mobile-bottom-bar .e-button svg {
@@ -4063,3 +4039,16 @@ html[data-theme='lawdistrict'] .document-status.--is-new {
4063
4039
  @media (min-width: 720px) {
4064
4040
  .experts-section__title {
4065
4041
  width: 100%; } }
4042
+
4043
+ .people-say {
4044
+ display: flex;
4045
+ flex-direction: column;
4046
+ justify-content: flex-start;
4047
+ align-items: center; }
4048
+ .people-say__title {
4049
+ font-family: Lora;
4050
+ font-size: 32px;
4051
+ font-weight: 400;
4052
+ line-height: 42px;
4053
+ letter-spacing: -0.3px;
4054
+ text-align: center; }
@@ -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';
@@ -5,3 +5,4 @@ export * from './AboutUsSection';
5
5
  export * from './GuidelinesSection';
6
6
  export * from './AsSeeInSection';
7
7
  export * from './ExpertsSection';
8
+ export * from './PeopleSayAboutUsSection';
@@ -0,0 +1 @@
1
+ export declare const envVar = "lawdistrict.com";