@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.
- package/dist/css/styles.css +2 -2
- package/dist/src/components/atoms/Button/Button.scss +1 -1
- package/dist/src/components/atoms/JumbotronStatic/JumbotronStatic.js +3 -2
- package/dist/src/components/atoms/JumbotronStatic/JumbotronStatic.styled.js +6 -0
- package/dist/src/components/atoms/JumbotronStatic/JumbotronStatic.styled.ts +6 -0
- package/dist/src/components/atoms/JumbotronStatic/JumbotronStatic.tsx +4 -2
- package/dist/src/components/atoms/JumbotronStatic/JumbotronStaticProps.types.d.ts +1 -0
- package/dist/src/components/atoms/JumbotronStatic/JumbotronStaticProps.types.ts +1 -0
- package/dist/src/components/atoms/Logo/Logo.js +4 -0
- package/dist/src/components/atoms/Logo/Logo.tsx +4 -0
- package/dist/src/components/atoms/Radio/Radio.scss +1 -1
- package/dist/src/components/organisms/CardFunctionality/CardFunctionality.styled.js +1 -3
- package/dist/src/components/organisms/CardFunctionality/CardFunctionality.styled.ts +1 -3
- package/dist/src/components/organisms/MenuItems/MenuItems.styled.js +1 -1
- package/dist/src/components/organisms/MenuItems/MenuItems.styled.ts +1 -1
- package/package.json +1 -1
package/dist/css/styles.css
CHANGED
|
@@ -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
|
-
|
|
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
|
-
|
|
1856
|
+
width: 80px;
|
|
1857
1857
|
}
|
|
1858
1858
|
.e-radio.tabs .e-radio__inner .radio-item-container:hover {
|
|
1859
1859
|
background: var(--neutral-neutral-4);
|
|
@@ -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
|
-
|
|
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
|
};
|
|
@@ -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=
|
|
11
|
+
<h1 className={`${shorterTitle} serif --super-hero`}>{title}</h1>
|
|
10
12
|
</JumbotronStaticStyled>
|
|
11
13
|
)
|
|
12
14
|
}
|
|
@@ -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:
|
|
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:
|
|
57
|
+
gap: 2rem;
|
|
60
58
|
flex-wrap: wrap;
|
|
61
59
|
}
|
|
62
60
|
}
|