@kickstartds/ds-agency-premium 1.6.71--canary.45.2208.0 → 1.6.71--canary.49.2211.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/{BlogOverviewProps-d62a0a9a.d.ts → BlogOverviewProps-9f207f1c.d.ts} +2 -2
- package/dist/{BlogPostProps-c760fd2a.d.ts → BlogPostProps-6b3cff22.d.ts} +1 -1
- package/dist/PageProps-aa29c554.d.ts +1 -1
- package/dist/{SectionProps-d60aba86.d.ts → SectionProps-2a23ef89.d.ts} +1 -1
- package/dist/components/blog-overview/blog-overview.schema.dereffed.json +1 -1
- package/dist/components/blog-overview/index.d.ts +1 -1
- package/dist/components/blog-post/blog-post.schema.dereffed.json +1 -1
- package/dist/components/blog-post/index.d.ts +1 -1
- package/dist/components/blog-teaser/index.d.ts +1 -1
- package/dist/components/button/button.css +1 -1
- package/dist/components/cookie-consent/C15t.client.js +3 -32
- package/dist/components/cookie-consent/CookieConsent.client.d.ts +1 -0
- package/dist/components/cookie-consent/CookieConsent.client.js +13 -8
- package/dist/components/cookie-consent/cookie-consent.css +15 -3
- package/dist/components/cookie-consent/index.js +1 -1
- package/dist/components/features/features.css +2 -1
- package/dist/components/footer/footer.css +2 -2
- package/dist/components/footer/footer.schema.dereffed.json +154 -9
- package/dist/components/header/header.schema.dereffed.json +154 -9
- package/dist/components/headline/headline.css +7 -7
- package/dist/components/headline/index.d.ts +53 -1
- package/dist/components/hero/hero.css +4 -4
- package/dist/components/index/index.d.ts +2 -2
- package/dist/components/mosaic/index.js +1 -0
- package/dist/components/nav-dropdown/nav-dropdown.css +5 -5
- package/dist/components/nav-flyout/nav-flyout.schema.dereffed.json +154 -9
- package/dist/components/nav-main/nav-main.schema.dereffed.json +154 -9
- package/dist/components/nav-main/nav-main.schema.json +154 -9
- package/dist/components/nav-topbar/nav-topbar.css +1 -1
- package/dist/components/nav-topbar/nav-topbar.schema.dereffed.json +154 -9
- package/dist/components/page/page.schema.dereffed.json +1 -1
- package/dist/components/page-wrapper/index.js +43 -0
- package/dist/components/page-wrapper/tokens.css +353 -353
- package/dist/components/presets.json +305 -20
- package/dist/components/search/index.d.ts +0 -10
- package/dist/components/search/index.js +20 -29
- package/dist/components/search/search.schema.dereffed.json +0 -133
- package/dist/components/search/search.schema.json +0 -6
- package/dist/components/search-bar/index.d.ts +29 -1
- package/dist/components/section/index.d.ts +1 -1
- package/dist/components/section/section.css +8 -12
- package/dist/components/section/section.schema.dereffed.json +1 -1
- package/dist/components/section/section.schema.json +1 -1
- package/dist/components/settings/settings.schema.dereffed.json +308 -18
- package/dist/components/slider/slider.css +2 -2
- package/dist/components/teaser-card/index.js +1 -1
- package/dist/components/teaser-card/teaser-card.css +10 -9
- package/dist/global.css +5 -5
- package/dist/static/logo-dark.svg +8 -12
- package/dist/static/logo.png +0 -0
- package/dist/static/logo.svg +8 -12
- package/dist/static/optoma/2989.jpg +0 -0
- package/dist/static/optoma/3081.jpg +0 -0
- package/dist/static/optoma/3124.jpg +0 -0
- package/dist/static/optoma/3276.jpg +0 -0
- package/dist/static/optoma/3333.jpg +0 -0
- package/dist/static/optoma/3342.jpg +0 -0
- package/dist/static/optoma/bannerimgpro.jpg +0 -0
- package/dist/static/optoma/beamer.jpg +0 -0
- package/dist/static/optoma/beamer.png +0 -0
- package/dist/static/optoma/beamer.svg +10 -0
- package/dist/static/optoma/creative-board-girl.jpg +0 -0
- package/dist/static/optoma/hero.jpg +0 -0
- package/dist/static/optoma/interaktive-displays.svg +9 -0
- package/dist/static/optoma/landing-banner.jpg +0 -0
- package/dist/static/optoma/led.svg +21 -0
- package/dist/static/optoma/location-1.jpg +0 -0
- package/dist/static/optoma/location-2.jpg +0 -0
- package/dist/static/optoma/logo.svg +9 -0
- package/dist/static/optoma/l/303/266sungen.svg +13 -0
- package/dist/static/optoma/product-1.jpg +0 -0
- package/dist/static/optoma/product-1.png +0 -0
- package/dist/static/optoma/product-2.jpg +0 -0
- package/dist/static/optoma/product-2.png +0 -0
- package/dist/static/optoma/product-3.jpg +0 -0
- package/dist/static/optoma/product-3.png +0 -0
- package/dist/static/optoma/product-4.jpg +0 -0
- package/dist/static/optoma/product-4.png +0 -0
- package/dist/static/optoma/product-5.jpg +0 -0
- package/dist/static/optoma/product-6.jpg +0 -0
- package/dist/static/optoma/professionelle-displays.svg +4 -0
- package/dist/static/optoma/square-1.jpg +0 -0
- package/dist/static/optoma/square-2.jpg +0 -0
- package/dist/static/optoma/zubeh/303/266r.svg +5 -0
- package/dist/tokens/IconSprite.js +43 -0
- package/dist/tokens/icon-sprite.html +18 -0
- package/dist/tokens/themes.css +4 -4
- package/dist/tokens/tokens.css +353 -353
- package/dist/tokens/tokens.js +561 -557
- package/package.json +1 -1
- package/dist/HeadlineProps-e1305784.d.ts +0 -53
- package/dist/SearchBarProps-26263244.d.ts +0 -29
- /package/dist/{BlogTeaserProps-d62a0a9a.d.ts → BlogTeaserProps-f5855e93.d.ts} +0 -0
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
4
4
|
* and run json-schema-to-typescript to regenerate this file.
|
|
5
5
|
*/
|
|
6
|
-
import { SectionProps } from "./SectionProps-
|
|
7
|
-
import { BlogTeaserProps } from "./BlogTeaserProps-
|
|
6
|
+
import { SectionProps } from "./SectionProps-2a23ef89.js";
|
|
7
|
+
import { BlogTeaserProps } from "./BlogTeaserProps-f5855e93.js";
|
|
8
8
|
import { CtaProps } from "./CtaProps-789f8508.js";
|
|
9
9
|
import { SeoProps } from "./SeoProps-f2d6dcaa.js";
|
|
10
10
|
/**
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import { BlogHeadProps } from "./BlogHeadProps-c04a5ed8.js";
|
|
7
7
|
import { BlogAsideProps } from "./BlogAsideProps-c760fd2a.js";
|
|
8
|
-
import { SectionProps } from "./SectionProps-
|
|
8
|
+
import { SectionProps } from "./SectionProps-2a23ef89.js";
|
|
9
9
|
import { CtaProps } from "./CtaProps-789f8508.js";
|
|
10
10
|
import { SeoProps } from "./SeoProps-f2d6dcaa.js";
|
|
11
11
|
/**
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
4
4
|
* and run json-schema-to-typescript to regenerate this file.
|
|
5
5
|
*/
|
|
6
|
-
import { SectionProps } from "./SectionProps-
|
|
6
|
+
import { SectionProps } from "./SectionProps-2a23ef89.js";
|
|
7
7
|
import { SeoProps } from "./SeoProps-f2d6dcaa.js";
|
|
8
8
|
/**
|
|
9
9
|
* Collection of sections (with their contents) to render on the page
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BlogOverviewProps } from "../../BlogOverviewProps-
|
|
1
|
+
import { BlogOverviewProps } from "../../BlogOverviewProps-9f207f1c.js";
|
|
2
2
|
import { FC, PropsWithChildren } from "react";
|
|
3
3
|
declare const BlogOverview: FC<PropsWithChildren<BlogOverviewProps>>;
|
|
4
4
|
export type { BlogOverviewProps };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BlogPostProps } from "../../BlogPostProps-
|
|
1
|
+
import { BlogPostProps } from "../../BlogPostProps-6b3cff22.js";
|
|
2
2
|
import { FC, PropsWithChildren } from "react";
|
|
3
3
|
declare const BlogPost: FC<PropsWithChildren<BlogPostProps>>;
|
|
4
4
|
export type { BlogPostProps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { HTMLAttributes } from "react";
|
|
3
|
-
import { BlogTeaserProps } from "../../BlogTeaserProps-
|
|
3
|
+
import { BlogTeaserProps } from "../../BlogTeaserProps-f5855e93.js";
|
|
4
4
|
declare const BlogTeaserContextDefault: import("react").ForwardRefExoticComponent<BlogTeaserProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
5
|
declare const BlogTeaserContext: import("react").Context<import("react").ForwardRefExoticComponent<BlogTeaserProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>>;
|
|
6
6
|
declare const BlogTeaser: import("react").ForwardRefExoticComponent<BlogTeaserProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
.dsa-button {
|
|
2
2
|
--dsa-button--padding: 0.75em 1.5em;
|
|
3
3
|
--dsa-button--border-width: var(--ks-border-width-default);
|
|
4
|
-
--dsa-button--border-radius: var(--ks-border-radius-
|
|
4
|
+
--dsa-button--border-radius: var(--ks-border-radius-pill);
|
|
5
5
|
--dsa-button--font-weight: var(--ks-font-weight-semi-bold);
|
|
6
6
|
--dsa-button--text-transform: default;
|
|
7
7
|
--dsa-button_small--font: var(--ks-font-interface-s);
|
|
@@ -1,25 +1,8 @@
|
|
|
1
1
|
import { define } from '@kickstartds/core/lib/component';
|
|
2
|
-
import 'c15t';
|
|
3
2
|
import CookieConsent from './CookieConsent.client.js';
|
|
4
3
|
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
-
accept: "Akzeptieren",
|
|
8
|
-
reject: "Ablehnen",
|
|
9
|
-
required: "Immer aktiv",
|
|
10
|
-
settings: "Cookies verwalten",
|
|
11
|
-
},
|
|
12
|
-
en: {
|
|
13
|
-
accept: "Accept",
|
|
14
|
-
reject: "Reject",
|
|
15
|
-
required: "Always Active",
|
|
16
|
-
settings: "Cookie Preferences",
|
|
17
|
-
},
|
|
18
|
-
};
|
|
19
|
-
const translate = (elements, translationConfig) => {
|
|
20
|
-
const defaultLanguage = translationConfig.defaultLanguage;
|
|
21
|
-
const translations = translationConfig.translations[defaultLanguage];
|
|
22
|
-
const customTranslation = customTranslations[defaultLanguage] || customTranslations.en;
|
|
4
|
+
const translate = (elements, state) => {
|
|
5
|
+
const translations = state.translationConfig.translations[state.translationConfig.defaultLanguage];
|
|
23
6
|
// Notice
|
|
24
7
|
elements.notice.title.textContent = translations.cookieBanner.title;
|
|
25
8
|
elements.notice.description.textContent =
|
|
@@ -42,19 +25,7 @@ const translate = (elements, translationConfig) => {
|
|
|
42
25
|
translation.title;
|
|
43
26
|
option.querySelector(".dsa-cookie-consent-dialogue__option-description").textContent = translation.description;
|
|
44
27
|
}
|
|
45
|
-
const requiredLabel = option.querySelector(".dsa-cookie-consent-dialogue__label");
|
|
46
|
-
if (requiredLabel)
|
|
47
|
-
requiredLabel.textContent = customTranslation.required;
|
|
48
|
-
}
|
|
49
|
-
for (const element of elements.dialog.form.elements) {
|
|
50
|
-
if (element.type === "radio") {
|
|
51
|
-
element.nextElementSibling.nextElementSibling.textContent =
|
|
52
|
-
customTranslation[element.value];
|
|
53
|
-
}
|
|
54
28
|
}
|
|
55
|
-
// settings
|
|
56
|
-
elements.settings.button.firstElementChild.textContent =
|
|
57
|
-
customTranslation.settings;
|
|
58
29
|
};
|
|
59
30
|
class CookieConsentC15t extends CookieConsent {
|
|
60
31
|
constructor(element) {
|
|
@@ -86,7 +57,7 @@ class CookieConsentC15t extends CookieConsent {
|
|
|
86
57
|
}
|
|
87
58
|
};
|
|
88
59
|
const unsub = store.subscribe(update);
|
|
89
|
-
translate(this.elements, initialState
|
|
60
|
+
translate(this.elements, initialState);
|
|
90
61
|
update(initialState);
|
|
91
62
|
const acceptCustom = () => {
|
|
92
63
|
const state = store.getState();
|
|
@@ -15,6 +15,7 @@ class CookieConsent extends Component {
|
|
|
15
15
|
},
|
|
16
16
|
dialog: {
|
|
17
17
|
wrapper: $(".dsa-cookie-consent-dialogue"),
|
|
18
|
+
overlay: $(".dsa-cookie-consent-overlay"),
|
|
18
19
|
title: $(".dsa-cookie-consent-dialogue__title .dsa-headline__inner"),
|
|
19
20
|
description: $(".dsa-cookie-consent-dialogue__description"),
|
|
20
21
|
closeBtn: $(".dsa-cookie-consent-dialogue__close"),
|
|
@@ -28,19 +29,19 @@ class CookieConsent extends Component {
|
|
|
28
29
|
},
|
|
29
30
|
});
|
|
30
31
|
const showDialog = () => {
|
|
31
|
-
elements.dialog.
|
|
32
|
+
elements.dialog.overlay.removeAttribute("hidden");
|
|
33
|
+
elements.dialog.wrapper.removeAttribute("hidden");
|
|
34
|
+
elements.dialog.wrapper.setAttribute("aria-hidden", "false");
|
|
32
35
|
};
|
|
33
36
|
const closeDialog = () => {
|
|
34
|
-
elements.dialog.
|
|
37
|
+
elements.dialog.overlay.setAttribute("hidden", "");
|
|
38
|
+
elements.dialog.wrapper.setAttribute("hidden", "");
|
|
39
|
+
elements.dialog.wrapper.setAttribute("aria-hidden", "true");
|
|
35
40
|
};
|
|
36
41
|
const closeDialogAndReset = () => {
|
|
37
42
|
closeDialog();
|
|
38
43
|
elements.dialog.form.reset();
|
|
39
44
|
};
|
|
40
|
-
const onBackdropClick = (event) => {
|
|
41
|
-
if (event.target === elements.dialog.wrapper)
|
|
42
|
-
closeDialogAndReset();
|
|
43
|
-
};
|
|
44
45
|
const activateAll = () => {
|
|
45
46
|
for (const element of elements.dialog.form.elements) {
|
|
46
47
|
if (element.value === "accept") {
|
|
@@ -55,12 +56,16 @@ class CookieConsent extends Component {
|
|
|
55
56
|
}
|
|
56
57
|
}
|
|
57
58
|
};
|
|
59
|
+
const onSubmit = (event) => {
|
|
60
|
+
event.preventDefault();
|
|
61
|
+
closeDialog();
|
|
62
|
+
};
|
|
58
63
|
elements.notice.customizeBtn.addEventListener("click", showDialog);
|
|
59
64
|
elements.settings.button.addEventListener("click", showDialog);
|
|
60
65
|
elements.dialog.closeBtn.addEventListener("click", closeDialogAndReset);
|
|
61
66
|
elements.dialog.activateAllBtn.addEventListener("click", activateAll);
|
|
62
67
|
elements.dialog.deactivateAllBtn.addEventListener("click", deactivateAll);
|
|
63
|
-
elements.dialog.
|
|
68
|
+
elements.dialog.form.addEventListener("submit", onSubmit);
|
|
64
69
|
window._ks.radio.on(CookieConsent.identifier + ".showNotice", (_, value) => {
|
|
65
70
|
this.showNotice = value;
|
|
66
71
|
});
|
|
@@ -70,7 +75,7 @@ class CookieConsent extends Component {
|
|
|
70
75
|
elements.dialog.closeBtn.removeEventListener("click", closeDialogAndReset);
|
|
71
76
|
elements.dialog.activateAllBtn.removeEventListener("click", activateAll);
|
|
72
77
|
elements.dialog.deactivateAllBtn.removeEventListener("click", deactivateAll);
|
|
73
|
-
elements.dialog.
|
|
78
|
+
elements.dialog.form.removeEventListener("submit", onSubmit);
|
|
74
79
|
});
|
|
75
80
|
}
|
|
76
81
|
set showNotice(value) {
|
|
@@ -144,16 +144,20 @@
|
|
|
144
144
|
left: 0;
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
.dsa-cookie-consent-dialogue
|
|
147
|
+
.dsa-cookie-consent-dialogue {
|
|
148
148
|
border-radius: var(--dsa-cookie-consent-dialogue--border-radius, var(--ks-border-radius-card));
|
|
149
149
|
border: var(--dsa-cookie-consent-dialogue--border, var(--ks-border-color-interface) solid var(--ks-border-width-default));
|
|
150
150
|
box-shadow: var(--dsa-cookie-consent-dialogue--box-shadow, var(--ks-box-shadow-card));
|
|
151
151
|
background-color: var(--dsa-cookie-consent-dialogue--background-color, var(--ks-background-color-default));
|
|
152
152
|
display: flex;
|
|
153
153
|
flex-direction: column;
|
|
154
|
-
|
|
154
|
+
position: absolute;
|
|
155
|
+
top: 50%;
|
|
156
|
+
left: 50%;
|
|
157
|
+
transform: translate(-50%, -50%);
|
|
155
158
|
width: calc(100% - var(--dsa-cookie-consent-dialogue--spacing-horizontal, var(--ks-spacing-inset-xs)) * 2);
|
|
156
159
|
max-width: var(--dsa-cookie-consent-dialogue--max-width, var(--dsa-tile--width_largest));
|
|
160
|
+
z-index: 1000;
|
|
157
161
|
max-height: calc(var(--dsa-cookie-consent-dialogue--max-height, 100%) - var(--dsa-cookie-consent-dialogue--spacing-vertical, var(--ks-spacing-inset-xs)) * 2);
|
|
158
162
|
}
|
|
159
163
|
.dsa-cookie-consent-dialogue__header {
|
|
@@ -250,6 +254,14 @@
|
|
|
250
254
|
flex-direction: row;
|
|
251
255
|
}
|
|
252
256
|
}
|
|
253
|
-
|
|
257
|
+
|
|
258
|
+
.dsa-cookie-consent-overlay {
|
|
259
|
+
content: "";
|
|
260
|
+
position: absolute;
|
|
261
|
+
top: 0%;
|
|
262
|
+
left: 0%;
|
|
263
|
+
width: 100%;
|
|
264
|
+
height: 100%;
|
|
265
|
+
z-index: 999;
|
|
254
266
|
background-color: var(--dsa-cookie-consent-overlay--background-color, var(--dsa-overlay--background-color));
|
|
255
267
|
}
|
|
@@ -14,7 +14,7 @@ import '@kickstartds/base/lib/button';
|
|
|
14
14
|
import '@kickstartds/core/lib/component';
|
|
15
15
|
|
|
16
16
|
const CookieConsentContextDefault = forwardRef(({ notice, revisitButton, dialogue, component = "dsa.cookie-consent" }, ref) => {
|
|
17
|
-
return (jsxs("div", { className: "dsa-cookie-consent", "ks-component": component, ref: ref, children: [jsxs("div", { className: classnames(`dsa-cookie-consent-notice dsa-cookie-consent-notice--${notice?.displayMode}`), hidden: true, children: [jsx(Headline, { spaceAfter: "minimum", text: notice?.title, level: "h2", style: "h3", className: "dsa-cookie-consent-notice__title" }), jsx(RichText, { text: notice?.description, className: "dsa-cookie-consent-notice__description" }), jsxs("div", { className: "dsa-cookie-consent-notice__buttons", children: [jsx(Button, { size: "small", label: notice?.customizeButton?.label, variant: notice?.customizeButton?.variant, className: "dsa-cookie-consent-notice__button--customize" }), jsx(Button, { size: "small", label: notice?.rejectButton?.label, variant: notice?.decisionButtonVariant, className: "dsa-cookie-consent-notice__button--reject" }), jsx(Button, { size: "small", label: notice?.acceptButton?.label, variant: notice?.decisionButtonVariant, className: "dsa-cookie-consent-notice__button--accept" })] })] }), jsx(Button, { className: "dsa-cookie-consent-revisit", size: "small", variant: "primary", icon: "star", label: revisitButton?.label || "Cookie Preferences", hidden: true }), jsxs("
|
|
17
|
+
return (jsxs("div", { className: "dsa-cookie-consent", "ks-component": component, ref: ref, children: [jsxs("div", { className: classnames(`dsa-cookie-consent-notice dsa-cookie-consent-notice--${notice?.displayMode}`), hidden: true, children: [jsx(Headline, { spaceAfter: "minimum", text: notice?.title, level: "h2", style: "h3", className: "dsa-cookie-consent-notice__title" }), jsx(RichText, { text: notice?.description, className: "dsa-cookie-consent-notice__description" }), jsxs("div", { className: "dsa-cookie-consent-notice__buttons", children: [jsx(Button, { size: "small", label: notice?.customizeButton?.label, variant: notice?.customizeButton?.variant, className: "dsa-cookie-consent-notice__button--customize" }), jsx(Button, { size: "small", label: notice?.rejectButton?.label, variant: notice?.decisionButtonVariant, className: "dsa-cookie-consent-notice__button--reject" }), jsx(Button, { size: "small", label: notice?.acceptButton?.label, variant: notice?.decisionButtonVariant, className: "dsa-cookie-consent-notice__button--accept" })] })] }), jsx(Button, { className: "dsa-cookie-consent-revisit", size: "small", variant: "primary", icon: "star", label: revisitButton?.label || "Cookie Preferences", hidden: true }), jsxs("div", { className: "dsa-cookie-consent-dialogue", hidden: true, "aria-hidden": true, children: [jsxs("div", { className: "dsa-cookie-consent-dialogue__header", children: [jsx(Headline, { spaceAfter: "minimum", text: dialogue?.title, level: "h2", style: "h3", className: "dsa-cookie-consent-dialogue__title" }), jsx(Button, { "aria-label": "Close Cookie Consent Dialogue", className: "dsa-cookie-consent-dialogue__close", icon: "close", label: "" })] }), jsxs("form", { className: "dsa-cookie-consent-dialogue__form", children: [jsxs("div", { className: "dsa-cookie-consent-dialogue__content", children: [jsx(RichText, { className: "dsa-cookie-consent-dialogue__description", text: dialogue?.description }), jsxs("div", { className: "dsa-cookie-consent-dialogue__options", children: [dialogue?.required?.map((option, index) => (jsxs("div", { className: "dsa-cookie-consent-dialogue__option", "data-consent-type": option.key, children: [jsx(Headline, { spaceAfter: "minimum", text: option.name, level: "h3", style: "h4" }), jsx(Markdown, { className: "dsa-cookie-consent-dialogue__option-description", children: option.description }), jsx("span", { className: "dsa-cookie-consent-dialogue__label", children: dialogue?.alwaysActiveLabel || "Always Active" })] }, index))), dialogue?.options?.map((option, index) => (jsxs("div", { className: "dsa-cookie-consent-dialogue__option", "data-consent-type": option.key, children: [jsx(Headline, { spaceAfter: "minimum", text: option.name, level: "h3", style: "h4" }), jsx(Markdown, { className: "dsa-cookie-consent-dialogue__option-description", children: option.description }), jsxs("div", { className: "dsa-cookie-consent-dialogue__toggle", children: [jsx(Radio, { name: option.key, label: dialogue?.toggleLabels?.accept || "Accept", value: "accept" }), jsx(Radio, { name: option.key, label: dialogue?.toggleLabels?.reject || "Reject", value: "reject" })] })] }, index)))] })] }), jsxs("div", { className: "dsa-cookie-consent-dialogue__buttons", children: [jsx(Button, { type: "button", size: "small", variant: dialogue?.decisionButtonVariant, label: dialogue?.buttons.acceptLabel || "Accept All", className: "dsa-cookie-consent-dialogue__button--activate-all" }), jsx(Button, { type: "button", size: "small", variant: dialogue?.decisionButtonVariant, label: dialogue?.buttons.rejectLabel || "Reject All", className: "dsa-cookie-consent-dialogue__button--deactivate-all" }), jsx(Button, { type: "submit", size: "small", variant: "primary", label: dialogue?.buttons.savePreferencesLabel || "Save Preferences", className: "dsa-cookie-consent-dialogue__button--save" })] })] })] }), jsx("div", { className: "dsa-cookie-consent-overlay", hidden: true })] }));
|
|
18
18
|
});
|
|
19
19
|
const CookieConsentContext = createContext(CookieConsentContextDefault);
|
|
20
20
|
const CookieConsent = forwardRef((props, ref) => {
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
--dsa-feature__title--color: var(--dsa-topic--color);
|
|
5
5
|
--dsa-feature__title--font: var(--ks-font-interface-m);
|
|
6
6
|
--dsa-feature__title--font-family: var(--dsa-topic--font-family);
|
|
7
|
+
--dsa-feature__title--font-weight: var(--dsa-topic--font-weight);
|
|
7
8
|
--dsa-feature__copy--color: var(--ks-text-color-copy);
|
|
8
9
|
--dsa-feature__copy--font: var(--ks-font-copy-s);
|
|
9
10
|
--dsa-feature__link--font: var(--ks-font-copy-s);
|
|
@@ -14,7 +15,7 @@
|
|
|
14
15
|
--dsa-feature__link--text-decoration_hover: none;
|
|
15
16
|
--dsa-feature__icon--color: var(--ks-text-color-primary);
|
|
16
17
|
--dsa-feature_small__icon--size: calc(var(--ks-line-height-interface-m) * var(--ks-font-size-interface-m));
|
|
17
|
-
--dsa-feature_large__icon--size-multiplier: 2
|
|
18
|
+
--dsa-feature_large__icon--size-multiplier: 2;
|
|
18
19
|
--dsa-feature_small--gap: var(--ks-spacing-xs);
|
|
19
20
|
--dsa-feature_large--gap: var(--ks-spacing-s);
|
|
20
21
|
--dsa-feature_small__icon--gap: var(--ks-spacing-xs);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.dsa-footer {
|
|
2
|
-
--dsa-footer--background-color: var(--ks-background-color-
|
|
3
|
-
--dsa-footer--border-top:
|
|
2
|
+
--dsa-footer--background-color: var(--ks-background-color-accent);
|
|
3
|
+
--dsa-footer--border-top: 0;
|
|
4
4
|
--dsa-footer--max-width: var(--dsa-content--width_wide);
|
|
5
5
|
--dsa-footer--gap-vertical: var(--ks-spacing-stack-m);
|
|
6
6
|
--dsa-footer__byline--font: var(--ks-font-copy-xs);
|
|
@@ -107,16 +107,54 @@
|
|
|
107
107
|
"examples": [
|
|
108
108
|
[
|
|
109
109
|
{
|
|
110
|
-
"label": "
|
|
110
|
+
"label": "Beamer",
|
|
111
111
|
"url": "#",
|
|
112
|
-
"active": true
|
|
112
|
+
"active": true,
|
|
113
|
+
"items": [
|
|
114
|
+
{
|
|
115
|
+
"label": "Level 2 Item",
|
|
116
|
+
"url": "#"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"label": "Active Item",
|
|
120
|
+
"active": true,
|
|
121
|
+
"url": "#"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"label": "An Item with a longer Label",
|
|
125
|
+
"url": "#"
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"label": "And One last one",
|
|
129
|
+
"url": "#"
|
|
130
|
+
}
|
|
131
|
+
]
|
|
113
132
|
},
|
|
114
133
|
{
|
|
115
|
-
"label": "
|
|
116
|
-
"url": "#"
|
|
134
|
+
"label": "Interaktive Displays",
|
|
135
|
+
"url": "#",
|
|
136
|
+
"items": [
|
|
137
|
+
{
|
|
138
|
+
"label": "Level 2 Item",
|
|
139
|
+
"url": "#"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"label": "Active Item",
|
|
143
|
+
"active": true,
|
|
144
|
+
"url": "#"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"label": "An Item with a longer Label",
|
|
148
|
+
"url": "#"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"label": "And One last one",
|
|
152
|
+
"url": "#"
|
|
153
|
+
}
|
|
154
|
+
]
|
|
117
155
|
},
|
|
118
156
|
{
|
|
119
|
-
"label": "
|
|
157
|
+
"label": "Professional Displays",
|
|
120
158
|
"url": "#",
|
|
121
159
|
"items": [
|
|
122
160
|
{
|
|
@@ -139,12 +177,119 @@
|
|
|
139
177
|
]
|
|
140
178
|
},
|
|
141
179
|
{
|
|
142
|
-
"label": "
|
|
143
|
-
"url": "#"
|
|
180
|
+
"label": "LED Displays",
|
|
181
|
+
"url": "#",
|
|
182
|
+
"items": [
|
|
183
|
+
{
|
|
184
|
+
"label": "Level 2 Item",
|
|
185
|
+
"url": "#"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"label": "Active Item",
|
|
189
|
+
"active": true,
|
|
190
|
+
"url": "#"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"label": "An Item with a longer Label",
|
|
194
|
+
"url": "#"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"label": "And One last one",
|
|
198
|
+
"url": "#"
|
|
199
|
+
}
|
|
200
|
+
]
|
|
144
201
|
},
|
|
145
202
|
{
|
|
146
|
-
"label": "
|
|
147
|
-
"url": "#"
|
|
203
|
+
"label": "Lösungen",
|
|
204
|
+
"url": "#",
|
|
205
|
+
"items": [
|
|
206
|
+
{
|
|
207
|
+
"label": "Level 2 Item",
|
|
208
|
+
"url": "#"
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"label": "Active Item",
|
|
212
|
+
"active": true,
|
|
213
|
+
"url": "#"
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"label": "An Item with a longer Label",
|
|
217
|
+
"url": "#"
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"label": "And One last one",
|
|
221
|
+
"url": "#"
|
|
222
|
+
}
|
|
223
|
+
]
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"label": "Zubehör",
|
|
227
|
+
"url": "#",
|
|
228
|
+
"items": [
|
|
229
|
+
{
|
|
230
|
+
"label": "Level 2 Item",
|
|
231
|
+
"url": "#"
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"label": "Active Item",
|
|
235
|
+
"active": true,
|
|
236
|
+
"url": "#"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"label": "An Item with a longer Label",
|
|
240
|
+
"url": "#"
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"label": "And One last one",
|
|
244
|
+
"url": "#"
|
|
245
|
+
}
|
|
246
|
+
]
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"label": "Über Optoma",
|
|
250
|
+
"url": "#",
|
|
251
|
+
"items": [
|
|
252
|
+
{
|
|
253
|
+
"label": "Level 2 Item",
|
|
254
|
+
"url": "#"
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"label": "Active Item",
|
|
258
|
+
"active": true,
|
|
259
|
+
"url": "#"
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"label": "An Item with a longer Label",
|
|
263
|
+
"url": "#"
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"label": "And One last one",
|
|
267
|
+
"url": "#"
|
|
268
|
+
}
|
|
269
|
+
]
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"label": "Support",
|
|
273
|
+
"url": "#",
|
|
274
|
+
"items": [
|
|
275
|
+
{
|
|
276
|
+
"label": "Level 2 Item",
|
|
277
|
+
"url": "#"
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
"label": "Active Item",
|
|
281
|
+
"active": true,
|
|
282
|
+
"url": "#"
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
"label": "An Item with a longer Label",
|
|
286
|
+
"url": "#"
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"label": "And One last one",
|
|
290
|
+
"url": "#"
|
|
291
|
+
}
|
|
292
|
+
]
|
|
148
293
|
}
|
|
149
294
|
]
|
|
150
295
|
]
|