@npm_leadtech/legal-lib-components 7.53.4 → 7.54.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/src/components/atoms/CardPane/CardPane.styled.js +4 -8
- package/dist/src/components/atoms/CardPane/CardPane.styled.ts +4 -8
- package/dist/src/components/atoms/CardPane/CardPaneInfo.js +1 -1
- package/dist/src/components/atoms/CardPane/CardPaneInfo.tsx +2 -2
- package/dist/src/components/atoms/JumbotronStatic/JumbotronStatic.js +2 -3
- package/dist/src/components/atoms/JumbotronStatic/JumbotronStatic.styled.js +0 -6
- package/dist/src/components/atoms/JumbotronStatic/JumbotronStatic.styled.ts +0 -6
- package/dist/src/components/atoms/JumbotronStatic/JumbotronStatic.tsx +2 -4
- package/dist/src/components/atoms/JumbotronStatic/JumbotronStaticProps.types.d.ts +0 -1
- package/dist/src/components/atoms/JumbotronStatic/JumbotronStaticProps.types.ts +0 -1
- package/package.json +1 -1
|
@@ -93,10 +93,12 @@ export const CardPaneStyled = styled.div `
|
|
|
93
93
|
|
|
94
94
|
&--active {
|
|
95
95
|
color: var(--primary-main);
|
|
96
|
+
font-weight: 700;
|
|
96
97
|
}
|
|
97
98
|
|
|
98
99
|
&--inactive {
|
|
99
100
|
color: var(--error-main);
|
|
101
|
+
font-weight: 700;
|
|
100
102
|
}
|
|
101
103
|
}
|
|
102
104
|
|
|
@@ -106,16 +108,10 @@ export const CardPaneStyled = styled.div `
|
|
|
106
108
|
}
|
|
107
109
|
.marker {
|
|
108
110
|
display: inline-block;
|
|
109
|
-
margin-left:
|
|
110
|
-
@-moz-document url-prefix() {
|
|
111
|
-
margin-left: 0px;
|
|
112
|
-
}
|
|
113
|
-
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
|
|
114
|
-
margin-left: 0px;
|
|
115
|
-
}
|
|
111
|
+
margin-left: 0px;
|
|
116
112
|
}
|
|
117
113
|
.position {
|
|
118
|
-
margin-left:
|
|
114
|
+
margin-left: 0px;
|
|
119
115
|
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
|
|
120
116
|
margin-left: 15px;
|
|
121
117
|
}
|
|
@@ -94,10 +94,12 @@ export const CardPaneStyled = styled.div`
|
|
|
94
94
|
|
|
95
95
|
&--active {
|
|
96
96
|
color: var(--primary-main);
|
|
97
|
+
font-weight: 700;
|
|
97
98
|
}
|
|
98
99
|
|
|
99
100
|
&--inactive {
|
|
100
101
|
color: var(--error-main);
|
|
102
|
+
font-weight: 700;
|
|
101
103
|
}
|
|
102
104
|
}
|
|
103
105
|
|
|
@@ -107,16 +109,10 @@ export const CardPaneStyled = styled.div`
|
|
|
107
109
|
}
|
|
108
110
|
.marker {
|
|
109
111
|
display: inline-block;
|
|
110
|
-
margin-left:
|
|
111
|
-
@-moz-document url-prefix() {
|
|
112
|
-
margin-left: 0px;
|
|
113
|
-
}
|
|
114
|
-
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
|
|
115
|
-
margin-left: 0px;
|
|
116
|
-
}
|
|
112
|
+
margin-left: 0px;
|
|
117
113
|
}
|
|
118
114
|
.position {
|
|
119
|
-
margin-left:
|
|
115
|
+
margin-left: 0px;
|
|
120
116
|
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
|
|
121
117
|
margin-left: 15px;
|
|
122
118
|
}
|
|
@@ -9,7 +9,7 @@ const CardPaneInfo = ({ dataQA, description, subdescription, id, title, handleCl
|
|
|
9
9
|
else if (description === 'Inactive') {
|
|
10
10
|
descriptionClass = 'pane--description--inactive';
|
|
11
11
|
}
|
|
12
|
-
return (_jsxs("div", { className: 'pane-wrapper', children: [paneTitle, _jsx("div", { "data-testid": 'description-div', className: descriptionClass, children: _jsx("
|
|
12
|
+
return (_jsxs("div", { className: 'pane-wrapper', children: [paneTitle, _jsx("div", { "data-testid": 'description-div', className: descriptionClass, children: _jsx("div", { className: 'position', children: _jsx("div", { className: 'marker', children: description }) }) })] }, id));
|
|
13
13
|
}
|
|
14
14
|
return (_jsxs("div", { className: 'pane-wrapper', children: [paneTitle, _jsxs("div", { className: 'pane--description', children: [description, subdescription !== undefined && _jsx("span", { className: 'pane--description--subdescription', children: subdescription })] })] }, id));
|
|
15
15
|
};
|
|
@@ -25,9 +25,9 @@ const CardPaneInfo: FC<CardPaneInfoProps> = ({ dataQA, description, subdescripti
|
|
|
25
25
|
<div key={id} className='pane-wrapper'>
|
|
26
26
|
{paneTitle}
|
|
27
27
|
<div data-testid='description-div' className={descriptionClass}>
|
|
28
|
-
<
|
|
28
|
+
<div className='position'>
|
|
29
29
|
<div className='marker'>{description}</div>
|
|
30
|
-
</
|
|
30
|
+
</div>
|
|
31
31
|
</div>
|
|
32
32
|
</div>
|
|
33
33
|
)
|
|
@@ -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
|
|
4
|
-
|
|
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
|
};
|
|
@@ -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
|
|
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=
|
|
9
|
+
<h1 className='serif --super-hero'>{title}</h1>
|
|
12
10
|
</JumbotronStaticStyled>
|
|
13
11
|
)
|
|
14
12
|
}
|