@npm_leadtech/legal-lib-components 7.53.4 → 7.54.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.
@@ -1853,7 +1853,7 @@ h2.react-datepicker__current-month {
1853
1853
  display: flex;
1854
1854
  height: 42px;
1855
1855
  justify-content: center;
1856
- width: 80px;
1856
+ min-width: 80px;
1857
1857
  }
1858
1858
  .e-radio.tabs .e-radio__inner .radio-item-container:hover {
1859
1859
  background: var(--neutral-neutral-4);
@@ -1,6 +1,5 @@
1
1
  import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { JumbotronStaticStyled } from './JumbotronStatic.styled';
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 }) }));
3
+ export const JumbotronStatic = ({ title }) => {
4
+ return (_jsx(JumbotronStaticStyled, { className: 'jumbotron--static', children: _jsx("h1", { className: 'serif --super-hero', children: title }) }));
6
5
  };
@@ -4,10 +4,4 @@ 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
- }
13
7
  `;
@@ -5,10 +5,4 @@ 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
- }
14
8
  `
@@ -3,12 +3,10 @@ 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, locale }) => {
7
- const shorterTitle = locale?.includes('DE') ? 'shorter-text' : ''
8
-
6
+ export const JumbotronStatic: FC<JumbotronStaticProps> = ({ title }) => {
9
7
  return (
10
8
  <JumbotronStaticStyled className={'jumbotron--static'}>
11
- <h1 className={`${shorterTitle} serif --super-hero`}>{title}</h1>
9
+ <h1 className='serif --super-hero'>{title}</h1>
12
10
  </JumbotronStaticStyled>
13
11
  )
14
12
  }
@@ -1,4 +1,3 @@
1
1
  export interface JumbotronStaticProps {
2
2
  title: string;
3
- locale?: string;
4
3
  }
@@ -1,4 +1,3 @@
1
1
  export interface JumbotronStaticProps {
2
2
  title: string
3
- locale?: string
4
3
  }
@@ -41,7 +41,7 @@
41
41
  display: flex;
42
42
  height: 42px;
43
43
  justify-content: center;
44
- width: 80px;
44
+ min-width: 80px;
45
45
 
46
46
  &:hover {
47
47
  background: var(--neutral-neutral-4);
@@ -8,6 +8,8 @@ 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
+
11
13
  @media ${device.laptop} {
12
14
  width: 50%;
13
15
  }
@@ -53,7 +55,7 @@ export const CardFunctionalityStyled = styled.article `
53
55
 
54
56
  .tags {
55
57
  display: flex;
56
- gap: 2rem;
58
+ gap: 0.5rem;
57
59
  flex-wrap: wrap;
58
60
  }
59
61
  }
@@ -9,6 +9,8 @@ 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
+
12
14
  @media ${device.laptop} {
13
15
  width: 50%;
14
16
  }
@@ -54,7 +56,7 @@ export const CardFunctionalityStyled = styled.article`
54
56
 
55
57
  .tags {
56
58
  display: flex;
57
- gap: 2rem;
59
+ gap: 0.5rem;
58
60
  flex-wrap: wrap;
59
61
  }
60
62
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npm_leadtech/legal-lib-components",
3
- "version": "7.53.4",
3
+ "version": "7.54.1",
4
4
  "license": "ISC",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",