@npm_leadtech/legal-lib-components 7.54.4 → 7.56.0

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.
@@ -835,7 +835,7 @@ html[data-theme=lawdistrict] .e-button.--primary-3 {
835
835
  border: 2px solid var(--button);
836
836
  color: var(--others-white);
837
837
  font-weight: bold;
838
- max-height: 100%;
838
+ height: 100%;
839
839
  }
840
840
  .e-button.--primary-1:hover {
841
841
  background-color: var(--button-hover);
@@ -1853,7 +1853,7 @@ h2.react-datepicker__current-month {
1853
1853
  display: flex;
1854
1854
  height: 42px;
1855
1855
  justify-content: center;
1856
- min-width: 80px;
1856
+ width: 80px;
1857
1857
  }
1858
1858
  .e-radio.tabs .e-radio__inner .radio-item-container:hover {
1859
1859
  background: var(--neutral-neutral-4);
@@ -73,7 +73,7 @@ html[data-theme='lawdistrict'] {
73
73
  border: 2px solid var(--button);
74
74
  color: get-color(others, white);
75
75
  font-weight: bold;
76
- max-height: 100%;
76
+ height: 100%;
77
77
 
78
78
  &:hover {
79
79
  background-color: var(--button-hover);
@@ -1,5 +1,6 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { JumbotronStaticStyled } from './JumbotronStatic.styled';
3
- export const JumbotronStatic = ({ title }) => {
4
- return (_jsx(JumbotronStaticStyled, { className: 'jumbotron--static', children: _jsx("h1", { className: 'serif --super-hero', children: title }) }));
3
+ export const JumbotronStatic = ({ title, locale }) => {
4
+ const shorterTitle = locale?.includes('DE') ? 'shorter-text' : '';
5
+ return (_jsx(JumbotronStaticStyled, { className: 'jumbotron--static', children: _jsx("h1", { className: `${shorterTitle} serif --super-hero`, children: title }) }));
5
6
  };
@@ -4,4 +4,10 @@ export const JumbotronStaticStyled = styled.section `
4
4
  margin: 0 auto;
5
5
  background-color: var(--primary-main-light-6);
6
6
  padding: 2.5rem 1rem 4rem;
7
+
8
+ .shorter-text.serif {
9
+ &.--super-hero {
10
+ font-size: 1.75rem;
11
+ }
12
+ }
7
13
  `;
@@ -5,4 +5,10 @@ export const JumbotronStaticStyled = styled.section`
5
5
  margin: 0 auto;
6
6
  background-color: var(--primary-main-light-6);
7
7
  padding: 2.5rem 1rem 4rem;
8
+
9
+ .shorter-text.serif {
10
+ &.--super-hero {
11
+ font-size: 1.75rem;
12
+ }
13
+ }
8
14
  `
@@ -3,10 +3,12 @@ import React, { type FC } from 'react'
3
3
  import { type JumbotronStaticProps } from './JumbotronStaticProps.types'
4
4
  import { JumbotronStaticStyled } from './JumbotronStatic.styled'
5
5
 
6
- export const JumbotronStatic: FC<JumbotronStaticProps> = ({ title }) => {
6
+ export const JumbotronStatic: FC<JumbotronStaticProps> = ({ title, locale }) => {
7
+ const shorterTitle = locale?.includes('DE') ? 'shorter-text' : ''
8
+
7
9
  return (
8
10
  <JumbotronStaticStyled className={'jumbotron--static'}>
9
- <h1 className='serif --super-hero'>{title}</h1>
11
+ <h1 className={`${shorterTitle} serif --super-hero`}>{title}</h1>
10
12
  </JumbotronStaticStyled>
11
13
  )
12
14
  }
@@ -1,3 +1,4 @@
1
1
  export interface JumbotronStaticProps {
2
2
  title: string;
3
+ locale?: string;
3
4
  }
@@ -1,3 +1,4 @@
1
1
  export interface JumbotronStaticProps {
2
2
  title: string
3
+ locale?: string
3
4
  }
@@ -18,6 +18,10 @@ const LOGOS = {
18
18
  default: lawdistrict,
19
19
  white: lawdistrictWhite
20
20
  },
21
+ legalfinity: {
22
+ default: lawdistrict,
23
+ white: lawdistrictWhite
24
+ },
21
25
  districtlaws: {
22
26
  default: districtlaws,
23
27
  white: districtlawsWhite
@@ -24,6 +24,10 @@ const LOGOS: Record<string, any> = {
24
24
  default: lawdistrict,
25
25
  white: lawdistrictWhite
26
26
  },
27
+ legalfinity: {
28
+ default: lawdistrict,
29
+ white: lawdistrictWhite
30
+ },
27
31
  districtlaws: {
28
32
  default: districtlaws,
29
33
  white: districtlawsWhite
@@ -41,7 +41,7 @@
41
41
  display: flex;
42
42
  height: 42px;
43
43
  justify-content: center;
44
- min-width: 80px;
44
+ width: 80px;
45
45
 
46
46
  &:hover {
47
47
  background: var(--neutral-neutral-4);
@@ -8,8 +8,6 @@ export const CardFunctionalityStyled = styled.article `
8
8
  gap: var(--global-gap);
9
9
  padding: 1em;
10
10
  width: 100%;
11
- justify-content: space-between;
12
-
13
11
  @media ${device.laptop} {
14
12
  width: 50%;
15
13
  }
@@ -55,7 +53,7 @@ export const CardFunctionalityStyled = styled.article `
55
53
 
56
54
  .tags {
57
55
  display: flex;
58
- gap: 0.5rem;
56
+ gap: 2rem;
59
57
  flex-wrap: wrap;
60
58
  }
61
59
  }
@@ -9,8 +9,6 @@ export const CardFunctionalityStyled = styled.article`
9
9
  gap: var(--global-gap);
10
10
  padding: 1em;
11
11
  width: 100%;
12
- justify-content: space-between;
13
-
14
12
  @media ${device.laptop} {
15
13
  width: 50%;
16
14
  }
@@ -56,7 +54,7 @@ export const CardFunctionalityStyled = styled.article`
56
54
 
57
55
  .tags {
58
56
  display: flex;
59
- gap: 0.5rem;
57
+ gap: 2rem;
60
58
  flex-wrap: wrap;
61
59
  }
62
60
  }
@@ -278,7 +278,7 @@ export const MenuItemsStyled = styled.div `
278
278
  }
279
279
 
280
280
  li.menu-items-li {
281
- max-width: 100%;
281
+ width: 100%;
282
282
  margin-right: 2.5rem;
283
283
  border-radius: var(--s-border-radius);
284
284
  transition: all 0.3s ease;
@@ -279,7 +279,7 @@ export const MenuItemsStyled = styled.div`
279
279
  }
280
280
 
281
281
  li.menu-items-li {
282
- max-width: 100%;
282
+ width: 100%;
283
283
  margin-right: 2.5rem;
284
284
  border-radius: var(--s-border-radius);
285
285
  transition: all 0.3s ease;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npm_leadtech/legal-lib-components",
3
- "version": "7.54.4",
3
+ "version": "7.56.0",
4
4
  "license": "ISC",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",