@npm_leadtech/legal-lib-components 2.36.0 → 2.37.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 (30) hide show
  1. package/dist/cjs/index.js +2 -2
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/cjs/legal-lib-components.css +48 -1
  4. package/dist/cjs/src/components/atoms/AlsoKnownAsListItem/AlsoKnownAsListItem.d.ts +5 -0
  5. package/dist/cjs/src/components/atoms/AlsoKnownAsListItem/AlsoKnownAsListItemProps.types.d.ts +3 -0
  6. package/dist/cjs/src/components/atoms/AlsoKnownAsListItem/index.d.ts +2 -0
  7. package/dist/cjs/src/components/atoms/MessageInformation/MessageInformationProps.types.d.ts +1 -0
  8. package/dist/cjs/src/components/atoms/index.d.ts +1 -0
  9. package/dist/cjs/src/components/molecules/AlsoKnownAs/AlsoKnownAs.d.ts +5 -0
  10. package/dist/cjs/src/components/molecules/AlsoKnownAs/AlsoKnownAsProps.types.d.ts +4 -0
  11. package/dist/cjs/src/components/molecules/AlsoKnownAs/index.d.ts +2 -0
  12. package/dist/cjs/src/components/molecules/CountDownMessage/CountDownMessageProps.types.d.ts +1 -0
  13. package/dist/cjs/src/components/molecules/index.d.ts +1 -0
  14. package/dist/cjs/src/components/sections/AsideMenuSection/AsideMenuSectionProps.d.ts +1 -0
  15. package/dist/esm/index.js +2 -2
  16. package/dist/esm/index.js.map +1 -1
  17. package/dist/esm/legal-lib-components.css +48 -1
  18. package/dist/esm/src/components/atoms/AlsoKnownAsListItem/AlsoKnownAsListItem.d.ts +5 -0
  19. package/dist/esm/src/components/atoms/AlsoKnownAsListItem/AlsoKnownAsListItemProps.types.d.ts +3 -0
  20. package/dist/esm/src/components/atoms/AlsoKnownAsListItem/index.d.ts +2 -0
  21. package/dist/esm/src/components/atoms/MessageInformation/MessageInformationProps.types.d.ts +1 -0
  22. package/dist/esm/src/components/atoms/index.d.ts +1 -0
  23. package/dist/esm/src/components/molecules/AlsoKnownAs/AlsoKnownAs.d.ts +5 -0
  24. package/dist/esm/src/components/molecules/AlsoKnownAs/AlsoKnownAsProps.types.d.ts +4 -0
  25. package/dist/esm/src/components/molecules/AlsoKnownAs/index.d.ts +2 -0
  26. package/dist/esm/src/components/molecules/CountDownMessage/CountDownMessageProps.types.d.ts +1 -0
  27. package/dist/esm/src/components/molecules/index.d.ts +1 -0
  28. package/dist/esm/src/components/sections/AsideMenuSection/AsideMenuSectionProps.d.ts +1 -0
  29. package/dist/index.d.ts +17 -1
  30. package/package.json +9 -9
@@ -2994,6 +2994,8 @@ html[data-theme='lawdistrict'] .document-status.--is-new {
2994
2994
  width: 24px;
2995
2995
  fill: var(--secondary-main-dark-1);
2996
2996
  margin-right: 8px; }
2997
+ .message-information__icon.hide {
2998
+ display: none; }
2997
2999
  .message-information__icon svg {
2998
3000
  display: block; }
2999
3001
  .message-information__text {
@@ -3001,7 +3003,21 @@ html[data-theme='lawdistrict'] .document-status.--is-new {
3001
3003
  letter-spacing: -0.3px;
3002
3004
  padding-top: 1px; }
3003
3005
  .message-information__text__time {
3004
- font-weight: bold; }
3006
+ font-weight: 600; }
3007
+ .message-information__text__time.regular {
3008
+ font-weight: 400; }
3009
+
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); }
3005
3021
 
3006
3022
  .article {
3007
3023
  display: flex;
@@ -3340,6 +3356,11 @@ html[data-theme='lawdistrict'] .document-status.--is-new {
3340
3356
  .count-down-message {
3341
3357
  padding: 8px 0 24px 0;
3342
3358
  text-align: left; } }
3359
+ .count-down-message.extra-margin {
3360
+ margin: 0 1.5rem; }
3361
+ @media (min-width: 960px) {
3362
+ .count-down-message.extra-margin {
3363
+ margin: 0; } }
3343
3364
 
3344
3365
  .count-down-message-fixed {
3345
3366
  display: none; }
@@ -3351,6 +3372,8 @@ html[data-theme='lawdistrict'] .document-status.--is-new {
3351
3372
  left: 0;
3352
3373
  right: 0;
3353
3374
  padding: 8px; }
3375
+ .count-down-message-fixed .message-information {
3376
+ box-shadow: 1px 2px 4px var(--neutral-neutral-4); }
3354
3377
 
3355
3378
  .email-contact-box-container {
3356
3379
  width: 100%;
@@ -4177,6 +4200,23 @@ html[data-theme='lawdistrict'] .document-status.--is-new {
4177
4200
  .trustworthy-websites__image {
4178
4201
  margin: 1.5rem; }
4179
4202
 
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; } }
4219
+
4180
4220
  .about-us-content {
4181
4221
  display: flex;
4182
4222
  flex-flow: row wrap;
@@ -4514,6 +4554,13 @@ html[data-theme='lawdistrict'] .document-status.--is-new {
4514
4554
  .about-us-section__sub-title {
4515
4555
  font-size: 3rem; } }
4516
4556
 
4557
+ .asideMenu .title {
4558
+ color: var(--neutral-neutral-1);
4559
+ font-weight: bold;
4560
+ padding-bottom: 1rem;
4561
+ border-bottom: var(--neutral-neutral-4) 1px solid;
4562
+ margin-bottom: 1.5rem; }
4563
+
4517
4564
  .asideMenu .list {
4518
4565
  display: flex;
4519
4566
  flex-direction: column;
@@ -0,0 +1,5 @@
1
+ import { type FC } from 'react';
2
+ import { type AlsoKnownAsListItemProps } from './AlsoKnownAsListItemProps.types';
3
+ import './AlsoKnownAsListItem.scss';
4
+ declare const AlsoKnownAs: FC<AlsoKnownAsListItemProps>;
5
+ export default AlsoKnownAs;
@@ -0,0 +1,3 @@
1
+ export interface AlsoKnownAsListItemProps {
2
+ text: string;
3
+ }
@@ -0,0 +1,2 @@
1
+ export { default as AlsoKnownAsListItem } from './AlsoKnownAsListItem';
2
+ export { type AlsoKnownAsListItemProps } from './AlsoKnownAsListItemProps.types';
@@ -1,5 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  export interface MessageInformationProps {
3
+ noImg: boolean;
3
4
  text: string | React.ReactNode;
4
5
  time?: string;
5
6
  }
@@ -43,3 +43,4 @@ export * from './WideInfoBar';
43
43
  export * from './TrustPilot';
44
44
  export * from './WhyLawDistrictItems';
45
45
  export * from './MessageInformation';
46
+ export * from './AlsoKnownAsListItem';
@@ -0,0 +1,5 @@
1
+ import { type FC } from 'react';
2
+ import { type AlsoKnownAsProps } from './AlsoKnownAsProps.types';
3
+ import './AlsoKnownAs.scss';
4
+ declare const AlsoKnownAs: FC<AlsoKnownAsProps>;
5
+ export default AlsoKnownAs;
@@ -0,0 +1,4 @@
1
+ export interface AlsoKnownAsProps {
2
+ title: string;
3
+ items: string[];
4
+ }
@@ -0,0 +1,2 @@
1
+ export { default as AlsoKnownAs } from './AlsoKnownAs';
2
+ export { type AlsoKnownAsProps } from './AlsoKnownAsProps.types';
@@ -1,5 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  export interface CountDownMessageProps {
3
+ noImg?: boolean;
3
4
  text: string | React.ReactNode;
4
5
  time?: string;
5
6
  }
@@ -23,3 +23,4 @@ export * from './StepGetForm';
23
23
  export * from './TextInput';
24
24
  export * from './TooltipMenu';
25
25
  export * from './TrustworthyWebsites';
26
+ export * from './AlsoKnownAs';
@@ -5,5 +5,6 @@ export interface AsideMenuSectionProps {
5
5
  text: string;
6
6
  slug: string;
7
7
  }>;
8
+ title?: string;
8
9
  onClickHandler?: React.MouseEventHandler<HTMLLIElement>;
9
10
  }