@bytebrand/fe-ui-core 4.2.122 → 4.2.124
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/package.json +1 -1
- package/source/components/_common/Modal/Modal.styled.tsx +2 -1
- package/source/components/_common/Modal/modals/ManageCookieModal/ManageCookieModal.styl +9 -4
- package/source/components/_common/Modal/modals/ManageCookieModal/ManageCookieModal.tsx +1 -1
- package/source/components/_common/Modal/modals/PreviewCookieModal/PreviewCookieModal.styl +29 -14
- package/source/components/_common/Modal/modals/PreviewCookieModal/PreviewCookieModal.tsx +13 -10
- package/source/framework/constants/common.ts +1 -4
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
@import '../../../../../theme/mixins.styl';
|
|
2
2
|
|
|
3
3
|
.modalWrapper
|
|
4
|
-
padding:
|
|
4
|
+
padding: 13px 15px 28px;
|
|
5
5
|
text-align: center
|
|
6
6
|
box-sizing: border-box
|
|
7
7
|
max-width: 600px
|
|
@@ -9,10 +9,13 @@
|
|
|
9
9
|
.modalTitle
|
|
10
10
|
font-family: sans-serif
|
|
11
11
|
font-weight: bold
|
|
12
|
-
font-size:
|
|
12
|
+
font-size: 16px;
|
|
13
13
|
line-height: 133.4%;
|
|
14
14
|
color: rgba(76, 78, 100, 0.87)
|
|
15
|
-
margin-top:
|
|
15
|
+
margin-top: 12px
|
|
16
|
+
+media-tablet-up()
|
|
17
|
+
font-size: 24px;
|
|
18
|
+
margin-top: 20px
|
|
16
19
|
|
|
17
20
|
.modalContent
|
|
18
21
|
font-family: sans-serif
|
|
@@ -21,9 +24,11 @@
|
|
|
21
24
|
text-align: justify;
|
|
22
25
|
letter-spacing: 0.15px;
|
|
23
26
|
color: rgba(76, 78, 100, 0.87);
|
|
24
|
-
margin-top:
|
|
27
|
+
margin-top: 12px
|
|
25
28
|
margin-right: 25px
|
|
26
29
|
|
|
30
|
+
+media-tablet-up()
|
|
31
|
+
margin-top: 20px
|
|
27
32
|
.accordions
|
|
28
33
|
height: 278px
|
|
29
34
|
overflow-y: scroll
|
|
@@ -130,7 +130,7 @@ const ManageCookieModal = ({ toggleModal, handleSentryInit } : IManageCookieModa
|
|
|
130
130
|
</MaterialAccordionGroup>
|
|
131
131
|
</div>
|
|
132
132
|
<div className={styles.buttonsContainer}>
|
|
133
|
-
<Button onClick={() => onAccept()}className={classNames(styles.modalBtn, styles.outlinedBtn)} variant='outlined'>Auswahl speichern</Button>
|
|
133
|
+
<Button onClick={() => onAccept()} className={classNames(styles.modalBtn, styles.outlinedBtn)} variant='outlined'>Auswahl speichern</Button>
|
|
134
134
|
<Button onClick={() => onAccept({})} className={styles.modalBtn}>Alles akzeptieren</Button>
|
|
135
135
|
</div>
|
|
136
136
|
</div>
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
@import '../../../../../theme/mixins.styl';
|
|
2
2
|
|
|
3
3
|
.modalWrapper
|
|
4
|
-
padding:
|
|
4
|
+
padding: 28px 58px 28px
|
|
5
5
|
text-align: center
|
|
6
6
|
box-sizing: border-box
|
|
7
7
|
max-width: 600px
|
|
8
|
-
+media-
|
|
9
|
-
padding:
|
|
8
|
+
+media-tablet-down()
|
|
9
|
+
padding: 16px 15px 28px
|
|
10
10
|
|
|
11
11
|
.modalTitle
|
|
12
12
|
font-family: sans-serif
|
|
@@ -16,37 +16,52 @@
|
|
|
16
16
|
color: rgba(76, 78, 100, 0.87)
|
|
17
17
|
margin-top: 20px
|
|
18
18
|
|
|
19
|
+
+media-tablet-down()
|
|
20
|
+
font-size: 16px;
|
|
21
|
+
margin-top: 8px;
|
|
22
|
+
|
|
19
23
|
.modalContent
|
|
20
24
|
font-family: sans-serif
|
|
21
|
-
font-size:
|
|
22
|
-
line-height:
|
|
25
|
+
font-size: 14px;
|
|
26
|
+
line-height: 16px;
|
|
23
27
|
text-align: justify;
|
|
24
28
|
letter-spacing: 0.15px;
|
|
25
29
|
color: rgba(76, 78, 100, 0.87);
|
|
26
30
|
margin-top: 20px
|
|
27
|
-
+media-
|
|
28
|
-
column-gap: 0
|
|
31
|
+
+media-tablet-down()
|
|
32
|
+
column-gap: 0;
|
|
33
|
+
max-height: 320px;
|
|
34
|
+
overflow-y: scroll;
|
|
35
|
+
padding-right: 10px;
|
|
36
|
+
margin-right: -10px;
|
|
37
|
+
margin-top: 8px
|
|
38
|
+
|
|
39
|
+
.logoContainer
|
|
40
|
+
display: flex
|
|
41
|
+
justify-content: space-between
|
|
29
42
|
|
|
30
43
|
.buttonsContainer
|
|
31
|
-
margin-top:
|
|
44
|
+
margin-top: 12px
|
|
32
45
|
display: flex
|
|
33
46
|
justify-content: space-between
|
|
34
47
|
gap: 36px;
|
|
35
|
-
+media-
|
|
48
|
+
+media-tablet-down()
|
|
36
49
|
column-gap: 0
|
|
37
50
|
|
|
38
51
|
.modalBtn
|
|
39
52
|
height: 38px
|
|
40
53
|
text-transform: capitalize !important
|
|
41
54
|
min-width: calc(50% - 18px) !important
|
|
42
|
-
+media-
|
|
55
|
+
+media-tablet-down()
|
|
43
56
|
font-size: 11px !important
|
|
44
57
|
|
|
45
58
|
.outlinedBtnLeft
|
|
46
|
-
|
|
59
|
+
display: flex;
|
|
60
|
+
justify-content: flex-end;
|
|
47
61
|
color: #005CCB;
|
|
48
62
|
font-size: 16px;
|
|
49
63
|
text-decoration: none;
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
64
|
+
margin-top: 12px;
|
|
65
|
+
margin-bottom: 0;
|
|
66
|
+
margin-left: auto;
|
|
67
|
+
max-width: 80px;
|
|
@@ -18,21 +18,24 @@ const PreviewCookieModal = ({ toggleModal, setModal, handleSentryInit } : IPrevi
|
|
|
18
18
|
toggleModal();
|
|
19
19
|
};
|
|
20
20
|
|
|
21
|
+
const onDisableAll = () => {
|
|
22
|
+
localStorage.setItem('cookieConfig', JSON.stringify({ analytics: {}, marketing: {} }));
|
|
23
|
+
toggleModal();
|
|
24
|
+
};
|
|
25
|
+
|
|
21
26
|
return (
|
|
22
27
|
<div className={styles.modalWrapper}>
|
|
23
|
-
<
|
|
28
|
+
<div className={styles.logoContainer}>
|
|
29
|
+
<IconSVG name='autodeLogo' customDimensions />
|
|
30
|
+
<Button onClick={onDisableAll} className={styles.modalBtn}>Nur notwendige Cookies</Button>
|
|
31
|
+
</div>
|
|
24
32
|
<div className={styles.modalTitle}>Nach den Cookies geht die Fahrt weiter.</div>
|
|
25
33
|
<div className={styles.modalContent}>
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
Über "Anpassen" können Sie Ihre Einwilligungen individuell anpassen.
|
|
30
|
-
Dies ist auch später jederzeit im Bereich "Cookie-Richtlinie" möglich.
|
|
31
|
-
Die relevante Datenschutzerklärung finden Sie
|
|
32
|
-
<a href={`${environment}/datenschutz/`} target='_blank' style={{ textDecoration: 'underline', color: 'rgba(76,78,100,0.87)' }}>hier</a>.
|
|
33
|
-
<a href={`${environment}/impressum/`} target='_blank' className={styles.outlinedBtnLeft}>Impressum</a>
|
|
34
|
+
Wir verwenden Cookies und ähnliche Technologien (insg. „Cookies“). Cookies die notwendig sind, damit die Website wie vorgesehen funktioniert, werden standardmäßig gesetzt. Cookies, die dazu dienen das Nutzerverhalten zu verstehen und Ihnen ein relevantes bzw. personalisiertes Surferlebnis zu bieten, sowie Cookies zur Personalisierung und Messung der Effektivität von Werbung auf unserer und anderen Websites setzen wir nur mit Ihrer Einwilligung ein. Unsere Partner führen diese Daten möglicherweise mit weiteren Daten zusammen, die Sie ihnen bereitgestellt oder die sie im Rahmen Ihrer Nutzung gesammelt haben. Durch Klick auf "Zustimmen" akzeptieren Sie alle Cookies und die beschriebene Verarbeitung Ihrer Daten. Bevor Sie Ihre Zustimmung erteilen, beachten Sie bitte, dass wir Ihre Daten auch mit Partnern mit Sitz in den USA teilen. Die USA weisen kein mit der EU vergleichbares Datenschutzniveau auf. Es besteht das Risiko, dass US-Behörden Zugriff auf Ihre Daten haben und Sie Ihre Betroffenenrechte nicht durchsetzen können. Über "Anpassen" können Sie Ihre Einwilligungen individuell anpassen. Dies ist auch später jederzeit im Bereich
|
|
35
|
+
<a href={`${environment}/datenschutz/`} target='_blank' style={{ textDecoration: 'underline', color: 'rgba(76,78,100,0.87)' }}>Cookie-Richtlinie</a> möglich. Weitere Informationen finden Sie in unserer
|
|
36
|
+
<a href={`${environment}/datenschutz/`} target='_blank' style={{ textDecoration: 'underline', color: 'rgba(76,78,100,0.87)' }}>Datenschutzerklärung</a>.
|
|
34
37
|
</div>
|
|
35
|
-
<
|
|
38
|
+
<a href={`${environment}/impressum/`} target='_blank' className={styles.outlinedBtnLeft}>Impressum</a>
|
|
36
39
|
<div className={styles.buttonsContainer}>
|
|
37
40
|
<Button onClick={() => setModal('MANAGE_COOKIE_MODAL')} className={styles.modalBtn} variant='outlined'>Anpassen</Button>
|
|
38
41
|
<Button onClick={onAcceptAll} className={styles.modalBtn}>zustimmen</Button>
|
|
@@ -27,13 +27,10 @@ export interface INecessaryCookieSchema {
|
|
|
27
27
|
|
|
28
28
|
export const COOKIE_SCHEMA: INecessaryCookieSchema = {
|
|
29
29
|
necessary: {
|
|
30
|
-
__cfruid: { name: 'Cloudflare' },
|
|
31
30
|
cf_chl_2: { name: 'Cloudflare für Webverkehr zu identifizieren' },
|
|
32
31
|
cf_chl_rc_ni: { name: 'Cloudflare für den internen Gebrauch' },
|
|
33
32
|
['next-i18next']: { name: 'Spracheinstellungen' },
|
|
34
|
-
|
|
35
|
-
cf_chl_prog: { name: 'Cloudflare für JS' },
|
|
36
|
-
__cf_bm: { name: 'Cloudflare bot' }
|
|
33
|
+
cf_chl_prog: { name: 'Cloudflare für JS' }
|
|
37
34
|
},
|
|
38
35
|
analytics: {
|
|
39
36
|
PugT: {name: 'PubMatic' },
|