@npm_leadtech/legal-lib-components 2.37.1 → 2.37.2

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 (26) hide show
  1. package/dist/cjs/images/componentsSvg/SymbolDoc.d.ts +2 -0
  2. package/dist/cjs/index.js +3 -3
  3. package/dist/cjs/index.js.map +1 -1
  4. package/dist/cjs/legal-lib-components.css +31 -28
  5. package/dist/cjs/src/components/atoms/DocumentTag/DocumentTag.d.ts +4 -0
  6. package/dist/cjs/src/components/atoms/DocumentTag/DocumentTagProps.d.ts +3 -0
  7. package/dist/cjs/src/components/atoms/DocumentTag/index.d.ts +2 -0
  8. package/dist/cjs/src/components/atoms/index.d.ts +1 -1
  9. package/dist/cjs/src/components/molecules/AlsoKnownAs/AlsoKnownAsProps.types.d.ts +1 -1
  10. package/dist/esm/images/componentsSvg/SymbolDoc.d.ts +2 -0
  11. package/dist/esm/index.js +3 -3
  12. package/dist/esm/index.js.map +1 -1
  13. package/dist/esm/legal-lib-components.css +31 -28
  14. package/dist/esm/src/components/atoms/DocumentTag/DocumentTag.d.ts +4 -0
  15. package/dist/esm/src/components/atoms/DocumentTag/DocumentTagProps.d.ts +3 -0
  16. package/dist/esm/src/components/atoms/DocumentTag/index.d.ts +2 -0
  17. package/dist/esm/src/components/atoms/index.d.ts +1 -1
  18. package/dist/esm/src/components/molecules/AlsoKnownAs/AlsoKnownAsProps.types.d.ts +1 -1
  19. package/dist/index.d.ts +8 -8
  20. package/package.json +9 -9
  21. package/dist/cjs/src/components/atoms/AlsoKnownAsListItem/AlsoKnownAsListItem.d.ts +0 -5
  22. package/dist/cjs/src/components/atoms/AlsoKnownAsListItem/AlsoKnownAsListItemProps.types.d.ts +0 -3
  23. package/dist/cjs/src/components/atoms/AlsoKnownAsListItem/index.d.ts +0 -2
  24. package/dist/esm/src/components/atoms/AlsoKnownAsListItem/AlsoKnownAsListItem.d.ts +0 -5
  25. package/dist/esm/src/components/atoms/AlsoKnownAsListItem/AlsoKnownAsListItemProps.types.d.ts +0 -3
  26. package/dist/esm/src/components/atoms/AlsoKnownAsListItem/index.d.ts +0 -2
@@ -1790,6 +1790,17 @@ html[data-theme='lawdistrict'] .document-status.--is-new {
1790
1790
  .document-status.--is-new .icon {
1791
1791
  margin-right: 1.4rem; }
1792
1792
 
1793
+ .document-tag {
1794
+ background: var(--others-white);
1795
+ border: 1px solid var(--neutral-neutral-4);
1796
+ border-radius: 4px;
1797
+ color: var(--neutral-neutral-2);
1798
+ font-size: 0.875rem;
1799
+ letter-spacing: -0.3px;
1800
+ line-height: 1.15rem;
1801
+ padding: 4px 8px;
1802
+ white-space: nowrap; }
1803
+
1793
1804
  .expert-card {
1794
1805
  display: flex;
1795
1806
  align-items: center;
@@ -3007,18 +3018,6 @@ html[data-theme='lawdistrict'] .document-status.--is-new {
3007
3018
  .message-information__text__time.regular {
3008
3019
  font-weight: 400; }
3009
3020
 
3010
- .also-known-as-list-item {
3011
- display: inline-block;
3012
- margin: 0 8px 8px 0; }
3013
- .also-known-as-list-item__text {
3014
- font-size: 0.875rem;
3015
- line-height: 1.15;
3016
- color: var(--neutral-neutral-2);
3017
- padding: 4px 8px;
3018
- border-radius: 4px;
3019
- border: 1px solid var(--neutral-neutral-4);
3020
- background: var(--others-white); }
3021
-
3022
3021
  .article {
3023
3022
  display: flex;
3024
3023
  flex-flow: row wrap;
@@ -4200,22 +4199,26 @@ html[data-theme='lawdistrict'] .document-status.--is-new {
4200
4199
  .trustworthy-websites__image {
4201
4200
  margin: 1.5rem; }
4202
4201
 
4203
- @media (min-width: 720px) {
4204
- .also-known-as {
4205
- display: flex; } }
4206
-
4207
- .also-known-as__title {
4208
- font-size: 0.875rem;
4209
- color: var(--neutral-neutral-2);
4210
- margin-bottom: 8px; }
4211
- .also-known-as__title__content {
4212
- display: flex; }
4213
- .also-known-as__title__text {
4214
- padding-left: 4px; }
4215
- @media (min-width: 720px) {
4216
- .also-known-as__title {
4217
- flex: 0 0 auto;
4218
- width: 130px; } }
4202
+ .also-known-as {
4203
+ display: flex;
4204
+ align-items: center;
4205
+ gap: 0.5rem;
4206
+ flex-wrap: wrap; }
4207
+ .also-known-as .title {
4208
+ display: flex;
4209
+ align-items: center;
4210
+ gap: 0.25rem;
4211
+ flex-wrap: nowrap; }
4212
+ .also-known-as .title svg {
4213
+ width: 18px;
4214
+ height: 18px;
4215
+ fill: var(--secondary-main-dark-1); }
4216
+ .also-known-as .title .text {
4217
+ color: var(--Neutral-600, #6d7275);
4218
+ font-size: 0.875rem;
4219
+ line-height: 18px;
4220
+ letter-spacing: -0.3px;
4221
+ white-space: nowrap; }
4219
4222
 
4220
4223
  .about-us-content {
4221
4224
  display: flex;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { type DocumentTagProps } from './DocumentTagProps';
3
+ import './DocumentTag.scss';
4
+ export declare const DocumentTag: React.FC<DocumentTagProps>;
@@ -0,0 +1,3 @@
1
+ export interface DocumentTagProps {
2
+ text: string;
3
+ }
@@ -0,0 +1,2 @@
1
+ export { DocumentTag } from './DocumentTag';
2
+ export { type DocumentTagProps } from './DocumentTagProps';
@@ -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 './DocumentTag';
15
16
  export * from './ExpertCard';
16
17
  export * from './FormFaq';
17
18
  export * from './GoogleButton';
@@ -43,4 +44,3 @@ export * from './WideInfoBar';
43
44
  export * from './TrustPilot';
44
45
  export * from './WhyLawDistrictItems';
45
46
  export * from './MessageInformation';
46
- export * from './AlsoKnownAsListItem';
@@ -1,4 +1,4 @@
1
1
  export interface AlsoKnownAsProps {
2
2
  title: string;
3
- items: string[];
3
+ documents: string[];
4
4
  }
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const SymbolDoc: React.FC;