@kickstartds/ds-agency-premium 1.6.71--canary.49.2214.0 → 1.6.71--canary.50.2218.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-9f207f1c.d.ts +1 -1
- package/dist/{BlogPostProps-c760fd2a.d.ts → BlogPostProps-6b3cff22.d.ts} +1 -1
- package/dist/HeadlineProps-e1305784.d.ts +53 -0
- package/dist/PageProps-aa29c554.d.ts +1 -1
- package/dist/SearchBarProps-26263244.d.ts +29 -0
- package/dist/{SectionProps-2a23ef89.d.ts → SectionProps-d60aba86.d.ts} +1 -1
- package/dist/components/blog-overview/blog-overview.schema.dereffed.json +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/button/button.css +1 -1
- package/dist/components/cookie-consent/C15t.client.js +32 -3
- package/dist/components/cookie-consent/CookieConsent.client.d.ts +0 -1
- package/dist/components/cookie-consent/CookieConsent.client.js +8 -13
- package/dist/components/cookie-consent/cookie-consent.css +3 -15
- package/dist/components/cookie-consent/index.js +1 -1
- package/dist/components/features/features.css +1 -2
- package/dist/components/footer/footer.css +2 -2
- package/dist/components/footer/footer.schema.dereffed.json +25 -18
- package/dist/components/header/header.css +0 -1
- package/dist/components/header/header.schema.dereffed.json +25 -18
- package/dist/components/headline/headline.css +7 -7
- package/dist/components/headline/index.d.ts +1 -53
- package/dist/components/hero/hero.css +4 -4
- package/dist/components/index/index.d.ts +1 -1
- package/dist/components/mosaic/index.js +0 -1
- package/dist/components/nav-dropdown/nav-dropdown.css +5 -5
- package/dist/components/nav-flyout/nav-flyout.schema.dereffed.json +25 -18
- package/dist/components/nav-main/nav-main.schema.dereffed.json +25 -18
- package/dist/components/nav-main/nav-main.schema.json +25 -18
- package/dist/components/nav-topbar/index.js +3 -3
- package/dist/components/nav-topbar/nav-topbar.css +3 -19
- package/dist/components/nav-topbar/nav-topbar.schema.dereffed.json +25 -18
- package/dist/components/page/page.schema.dereffed.json +1 -1
- package/dist/components/page-wrapper/index.js +0 -51
- package/dist/components/page-wrapper/tokens.css +350 -350
- package/dist/components/presets.json +56 -37
- package/dist/components/search/Search.client.d.ts +6 -0
- package/dist/components/search/Search.client.js +71 -0
- package/dist/components/search/index.d.ts +10 -0
- package/dist/components/search/index.js +29 -20
- package/dist/components/search/search.schema.dereffed.json +133 -0
- package/dist/components/search/search.schema.json +6 -0
- package/dist/components/search-bar/index.d.ts +1 -29
- package/dist/components/search-bar/index.js +1 -1
- package/dist/components/section/index.d.ts +1 -1
- package/dist/components/section/section.css +12 -8
- 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 +50 -36
- 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 +9 -10
- package/dist/global.css +68 -5
- package/dist/static/logo-dark.svg +12 -8
- package/dist/static/logo.svg +12 -8
- package/dist/tokens/IconSprite.js +0 -51
- package/dist/tokens/icon-sprite.html +0 -20
- package/dist/tokens/themes.css +4 -4
- package/dist/tokens/tokens.css +350 -350
- package/dist/tokens/tokens.js +557 -562
- package/package.json +4 -2
- package/dist/static/fonts/dsa/HelveticaNeueMedium.woff2 +0 -0
- package/dist/static/logo.png +0 -0
- 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 +0 -10
- package/dist/static/optoma/creative-board-girl.jpg +0 -0
- package/dist/static/optoma/downloads/cad.png +0 -0
- package/dist/static/optoma/downloads/datenblatt.png +0 -0
- package/dist/static/optoma/downloads/gebrauchsanleitung.png +0 -0
- package/dist/static/optoma/hero.jpg +0 -0
- package/dist/static/optoma/interaktive-displays.svg +0 -9
- package/dist/static/optoma/landing-banner.jpg +0 -0
- package/dist/static/optoma/led.svg +0 -21
- package/dist/static/optoma/location-1.jpg +0 -0
- package/dist/static/optoma/location-2.jpg +0 -0
- package/dist/static/optoma/logo.svg +0 -9
- package/dist/static/optoma/l/303/266sungen.svg +0 -13
- 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 +0 -4
- 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 +0 -5
|
@@ -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-d60aba86.js";
|
|
7
7
|
import { BlogTeaserProps } from "./BlogTeaserProps-f5855e93.js";
|
|
8
8
|
import { CtaProps } from "./CtaProps-789f8508.js";
|
|
9
9
|
import { SeoProps } from "./SeoProps-f2d6dcaa.js";
|
|
@@ -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-d60aba86.js";
|
|
9
9
|
import { CtaProps } from "./CtaProps-789f8508.js";
|
|
10
10
|
import { SeoProps } from "./SeoProps-f2d6dcaa.js";
|
|
11
11
|
/**
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated by json-schema-to-typescript.
|
|
3
|
+
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
4
|
+
* and run json-schema-to-typescript to regenerate this file.
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* Text content of headline
|
|
8
|
+
*/
|
|
9
|
+
type Text = string;
|
|
10
|
+
/**
|
|
11
|
+
* Subheadline content
|
|
12
|
+
*/
|
|
13
|
+
type Sub = string;
|
|
14
|
+
/**
|
|
15
|
+
* Switch order of headline and subheadline
|
|
16
|
+
*/
|
|
17
|
+
type SwitchOrder = boolean;
|
|
18
|
+
type SectionAlignment = "left" | "center" | "right";
|
|
19
|
+
/**
|
|
20
|
+
* Level of headline to use
|
|
21
|
+
*/
|
|
22
|
+
type Level = "h1" | "h2" | "h3" | "h4" | "p";
|
|
23
|
+
/**
|
|
24
|
+
* Style of headline to show
|
|
25
|
+
*/
|
|
26
|
+
type Style = "h1" | "h2" | "h3" | "h4" | "p";
|
|
27
|
+
/**
|
|
28
|
+
* Whether to display space after headline
|
|
29
|
+
*/
|
|
30
|
+
type SpaceAfter = "minimum" | "small" | "large";
|
|
31
|
+
/**
|
|
32
|
+
* Set a custom class name
|
|
33
|
+
*/
|
|
34
|
+
type ClassName = string;
|
|
35
|
+
/**
|
|
36
|
+
* Set a custom id attribute
|
|
37
|
+
*/
|
|
38
|
+
type ID = string;
|
|
39
|
+
/**
|
|
40
|
+
* Component used for headlines
|
|
41
|
+
*/
|
|
42
|
+
interface HeadlineProps {
|
|
43
|
+
text: Text;
|
|
44
|
+
sub?: Sub;
|
|
45
|
+
switchOrder?: SwitchOrder;
|
|
46
|
+
align?: SectionAlignment;
|
|
47
|
+
level: Level;
|
|
48
|
+
style?: Style;
|
|
49
|
+
spaceAfter?: SpaceAfter;
|
|
50
|
+
className?: ClassName;
|
|
51
|
+
id?: ID;
|
|
52
|
+
}
|
|
53
|
+
export { Text, Sub, SwitchOrder, SectionAlignment, Level, Style, SpaceAfter, ClassName, ID, HeadlineProps };
|
|
@@ -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-d60aba86.js";
|
|
7
7
|
import { SeoProps } from "./SeoProps-f2d6dcaa.js";
|
|
8
8
|
/**
|
|
9
9
|
* Collection of sections (with their contents) to render on the page
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated by json-schema-to-typescript.
|
|
3
|
+
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
4
|
+
* and run json-schema-to-typescript to regenerate this file.
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* Placeholder text for the search input field.
|
|
8
|
+
*/
|
|
9
|
+
type Placeholder = string;
|
|
10
|
+
interface SearchBarProps {
|
|
11
|
+
placeholder?: Placeholder;
|
|
12
|
+
/**
|
|
13
|
+
* Text displayed on the search button.
|
|
14
|
+
*/
|
|
15
|
+
buttonText?: string;
|
|
16
|
+
/**
|
|
17
|
+
* Additional information or instructions related to the search functionality.
|
|
18
|
+
*/
|
|
19
|
+
hint?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Text to display when offering alternative results.
|
|
22
|
+
*/
|
|
23
|
+
alternativeText?: string;
|
|
24
|
+
/**
|
|
25
|
+
* The alternative result to display when offering suggestions.
|
|
26
|
+
*/
|
|
27
|
+
alternativeResult?: string;
|
|
28
|
+
}
|
|
29
|
+
export { Placeholder, SearchBarProps };
|
|
@@ -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,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-control);
|
|
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,8 +1,25 @@
|
|
|
1
1
|
import { define } from '@kickstartds/core/lib/component';
|
|
2
|
+
import 'c15t';
|
|
2
3
|
import CookieConsent from './CookieConsent.client.js';
|
|
3
4
|
|
|
4
|
-
const
|
|
5
|
-
|
|
5
|
+
const customTranslations = {
|
|
6
|
+
de: {
|
|
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;
|
|
6
23
|
// Notice
|
|
7
24
|
elements.notice.title.textContent = translations.cookieBanner.title;
|
|
8
25
|
elements.notice.description.textContent =
|
|
@@ -25,7 +42,19 @@ const translate = (elements, state) => {
|
|
|
25
42
|
translation.title;
|
|
26
43
|
option.querySelector(".dsa-cookie-consent-dialogue__option-description").textContent = translation.description;
|
|
27
44
|
}
|
|
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
|
+
}
|
|
28
54
|
}
|
|
55
|
+
// settings
|
|
56
|
+
elements.settings.button.firstElementChild.textContent =
|
|
57
|
+
customTranslation.settings;
|
|
29
58
|
};
|
|
30
59
|
class CookieConsentC15t extends CookieConsent {
|
|
31
60
|
constructor(element) {
|
|
@@ -57,7 +86,7 @@ class CookieConsentC15t extends CookieConsent {
|
|
|
57
86
|
}
|
|
58
87
|
};
|
|
59
88
|
const unsub = store.subscribe(update);
|
|
60
|
-
translate(this.elements, initialState);
|
|
89
|
+
translate(this.elements, initialState.translationConfig);
|
|
61
90
|
update(initialState);
|
|
62
91
|
const acceptCustom = () => {
|
|
63
92
|
const state = store.getState();
|
|
@@ -15,7 +15,6 @@ class CookieConsent extends Component {
|
|
|
15
15
|
},
|
|
16
16
|
dialog: {
|
|
17
17
|
wrapper: $(".dsa-cookie-consent-dialogue"),
|
|
18
|
-
overlay: $(".dsa-cookie-consent-overlay"),
|
|
19
18
|
title: $(".dsa-cookie-consent-dialogue__title .dsa-headline__inner"),
|
|
20
19
|
description: $(".dsa-cookie-consent-dialogue__description"),
|
|
21
20
|
closeBtn: $(".dsa-cookie-consent-dialogue__close"),
|
|
@@ -29,19 +28,19 @@ class CookieConsent extends Component {
|
|
|
29
28
|
},
|
|
30
29
|
});
|
|
31
30
|
const showDialog = () => {
|
|
32
|
-
elements.dialog.
|
|
33
|
-
elements.dialog.wrapper.removeAttribute("hidden");
|
|
34
|
-
elements.dialog.wrapper.setAttribute("aria-hidden", "false");
|
|
31
|
+
elements.dialog.wrapper.showModal();
|
|
35
32
|
};
|
|
36
33
|
const closeDialog = () => {
|
|
37
|
-
elements.dialog.
|
|
38
|
-
elements.dialog.wrapper.setAttribute("hidden", "");
|
|
39
|
-
elements.dialog.wrapper.setAttribute("aria-hidden", "true");
|
|
34
|
+
elements.dialog.wrapper.close();
|
|
40
35
|
};
|
|
41
36
|
const closeDialogAndReset = () => {
|
|
42
37
|
closeDialog();
|
|
43
38
|
elements.dialog.form.reset();
|
|
44
39
|
};
|
|
40
|
+
const onBackdropClick = (event) => {
|
|
41
|
+
if (event.target === elements.dialog.wrapper)
|
|
42
|
+
closeDialogAndReset();
|
|
43
|
+
};
|
|
45
44
|
const activateAll = () => {
|
|
46
45
|
for (const element of elements.dialog.form.elements) {
|
|
47
46
|
if (element.value === "accept") {
|
|
@@ -56,16 +55,12 @@ class CookieConsent extends Component {
|
|
|
56
55
|
}
|
|
57
56
|
}
|
|
58
57
|
};
|
|
59
|
-
const onSubmit = (event) => {
|
|
60
|
-
event.preventDefault();
|
|
61
|
-
closeDialog();
|
|
62
|
-
};
|
|
63
58
|
elements.notice.customizeBtn.addEventListener("click", showDialog);
|
|
64
59
|
elements.settings.button.addEventListener("click", showDialog);
|
|
65
60
|
elements.dialog.closeBtn.addEventListener("click", closeDialogAndReset);
|
|
66
61
|
elements.dialog.activateAllBtn.addEventListener("click", activateAll);
|
|
67
62
|
elements.dialog.deactivateAllBtn.addEventListener("click", deactivateAll);
|
|
68
|
-
elements.dialog.
|
|
63
|
+
elements.dialog.wrapper.addEventListener("click", onBackdropClick);
|
|
69
64
|
window._ks.radio.on(CookieConsent.identifier + ".showNotice", (_, value) => {
|
|
70
65
|
this.showNotice = value;
|
|
71
66
|
});
|
|
@@ -75,7 +70,7 @@ class CookieConsent extends Component {
|
|
|
75
70
|
elements.dialog.closeBtn.removeEventListener("click", closeDialogAndReset);
|
|
76
71
|
elements.dialog.activateAllBtn.removeEventListener("click", activateAll);
|
|
77
72
|
elements.dialog.deactivateAllBtn.removeEventListener("click", deactivateAll);
|
|
78
|
-
elements.dialog.
|
|
73
|
+
elements.dialog.wrapper.removeEventListener("click", onBackdropClick);
|
|
79
74
|
});
|
|
80
75
|
}
|
|
81
76
|
set showNotice(value) {
|
|
@@ -144,20 +144,16 @@
|
|
|
144
144
|
left: 0;
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
.dsa-cookie-consent-dialogue {
|
|
147
|
+
.dsa-cookie-consent-dialogue[open] {
|
|
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
|
-
|
|
155
|
-
top: 50%;
|
|
156
|
-
left: 50%;
|
|
157
|
-
transform: translate(-50%, -50%);
|
|
154
|
+
padding: 0;
|
|
158
155
|
width: calc(100% - var(--dsa-cookie-consent-dialogue--spacing-horizontal, var(--ks-spacing-inset-xs)) * 2);
|
|
159
156
|
max-width: var(--dsa-cookie-consent-dialogue--max-width, var(--dsa-tile--width_largest));
|
|
160
|
-
z-index: 1000;
|
|
161
157
|
max-height: calc(var(--dsa-cookie-consent-dialogue--max-height, 100%) - var(--dsa-cookie-consent-dialogue--spacing-vertical, var(--ks-spacing-inset-xs)) * 2);
|
|
162
158
|
}
|
|
163
159
|
.dsa-cookie-consent-dialogue__header {
|
|
@@ -254,14 +250,6 @@
|
|
|
254
250
|
flex-direction: row;
|
|
255
251
|
}
|
|
256
252
|
}
|
|
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;
|
|
253
|
+
.dsa-cookie-consent-dialogue::backdrop {
|
|
266
254
|
background-color: var(--dsa-cookie-consent-overlay--background-color, var(--dsa-overlay--background-color));
|
|
267
255
|
}
|
|
@@ -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("dialog", { className: "dsa-cookie-consent-dialogue", 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: "", autoFocus: true })] }), jsxs("form", { className: "dsa-cookie-consent-dialogue__form", method: "dialog", 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" })] })] })] })] }));
|
|
18
18
|
});
|
|
19
19
|
const CookieConsentContext = createContext(CookieConsentContextDefault);
|
|
20
20
|
const CookieConsent = forwardRef((props, ref) => {
|
|
@@ -4,7 +4,6 @@
|
|
|
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);
|
|
8
7
|
--dsa-feature__copy--color: var(--ks-text-color-copy);
|
|
9
8
|
--dsa-feature__copy--font: var(--ks-font-copy-s);
|
|
10
9
|
--dsa-feature__link--font: var(--ks-font-copy-s);
|
|
@@ -15,7 +14,7 @@
|
|
|
15
14
|
--dsa-feature__link--text-decoration_hover: none;
|
|
16
15
|
--dsa-feature__icon--color: var(--ks-text-color-primary);
|
|
17
16
|
--dsa-feature_small__icon--size: calc(var(--ks-line-height-interface-m) * var(--ks-font-size-interface-m));
|
|
18
|
-
--dsa-feature_large__icon--size-multiplier: 2;
|
|
17
|
+
--dsa-feature_large__icon--size-multiplier: 2.5;
|
|
19
18
|
--dsa-feature_small--gap: var(--ks-spacing-xs);
|
|
20
19
|
--dsa-feature_large--gap: var(--ks-spacing-s);
|
|
21
20
|
--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-default);
|
|
3
|
+
--dsa-footer--border-top: 1px solid var(--ks-border-color-default);
|
|
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,36 +107,43 @@
|
|
|
107
107
|
"examples": [
|
|
108
108
|
[
|
|
109
109
|
{
|
|
110
|
-
"label": "
|
|
110
|
+
"label": "Active Item",
|
|
111
111
|
"url": "#",
|
|
112
112
|
"active": true
|
|
113
113
|
},
|
|
114
114
|
{
|
|
115
|
-
"label": "
|
|
115
|
+
"label": "Navigation Item",
|
|
116
116
|
"url": "#"
|
|
117
117
|
},
|
|
118
118
|
{
|
|
119
|
-
"label": "
|
|
120
|
-
"url": "#"
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
119
|
+
"label": "Dropdown",
|
|
120
|
+
"url": "#",
|
|
121
|
+
"items": [
|
|
122
|
+
{
|
|
123
|
+
"label": "Level 2 Item",
|
|
124
|
+
"url": "#"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"label": "Active Item",
|
|
128
|
+
"active": true,
|
|
129
|
+
"url": "#"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"label": "An Item with a longer Label",
|
|
133
|
+
"url": "#"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"label": "And One last one",
|
|
137
|
+
"url": "#"
|
|
138
|
+
}
|
|
139
|
+
]
|
|
133
140
|
},
|
|
134
141
|
{
|
|
135
|
-
"label": "
|
|
142
|
+
"label": "One more Item",
|
|
136
143
|
"url": "#"
|
|
137
144
|
},
|
|
138
145
|
{
|
|
139
|
-
"label": "
|
|
146
|
+
"label": "Last Item",
|
|
140
147
|
"url": "#"
|
|
141
148
|
}
|
|
142
149
|
]
|
|
@@ -32,7 +32,6 @@
|
|
|
32
32
|
transition: height var(--ks-transition-collapse);
|
|
33
33
|
height: calc(var(--dsa-logo--height) + var(--dsa-header--spacing-vertical) * 2);
|
|
34
34
|
justify-content: center;
|
|
35
|
-
border-bottom: 1px solid var(--ks-border-color-default);
|
|
36
35
|
}
|
|
37
36
|
.dsa-header--overlay {
|
|
38
37
|
position: fixed;
|
|
@@ -120,36 +120,43 @@
|
|
|
120
120
|
"examples": [
|
|
121
121
|
[
|
|
122
122
|
{
|
|
123
|
-
"label": "
|
|
123
|
+
"label": "Active Item",
|
|
124
124
|
"url": "#",
|
|
125
125
|
"active": true
|
|
126
126
|
},
|
|
127
127
|
{
|
|
128
|
-
"label": "
|
|
128
|
+
"label": "Navigation Item",
|
|
129
129
|
"url": "#"
|
|
130
130
|
},
|
|
131
131
|
{
|
|
132
|
-
"label": "
|
|
133
|
-
"url": "#"
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
132
|
+
"label": "Dropdown",
|
|
133
|
+
"url": "#",
|
|
134
|
+
"items": [
|
|
135
|
+
{
|
|
136
|
+
"label": "Level 2 Item",
|
|
137
|
+
"url": "#"
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"label": "Active Item",
|
|
141
|
+
"active": true,
|
|
142
|
+
"url": "#"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"label": "An Item with a longer Label",
|
|
146
|
+
"url": "#"
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"label": "And One last one",
|
|
150
|
+
"url": "#"
|
|
151
|
+
}
|
|
152
|
+
]
|
|
146
153
|
},
|
|
147
154
|
{
|
|
148
|
-
"label": "
|
|
155
|
+
"label": "One more Item",
|
|
149
156
|
"url": "#"
|
|
150
157
|
},
|
|
151
158
|
{
|
|
152
|
-
"label": "
|
|
159
|
+
"label": "Last Item",
|
|
153
160
|
"url": "#"
|
|
154
161
|
}
|
|
155
162
|
]
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
:root, [ks-inverted], [ks-theme] {
|
|
2
2
|
--dsa-headline--color: var(--ks-text-color-display);
|
|
3
|
-
--dsa-headline--font-weight: var(--ks-font-weight-bold);
|
|
3
|
+
--dsa-headline--font-weight: var(--ks-font-weight-semi-bold);
|
|
4
4
|
--dsa-headline--text-transform: none;
|
|
5
5
|
--dsa-headline--gap: 0.35em;
|
|
6
6
|
--dsa-headline--space-after_large: var(--ks-spacing-stack-l);
|
|
7
7
|
--dsa-headline--space-after_small: var(--ks-spacing-stack-m);
|
|
8
8
|
--dsa-headline--space-after_minimum: var(--ks-spacing-stack-s);
|
|
9
9
|
--dsa-headline--higlight-background: var(--dsa-typo--highlight);
|
|
10
|
-
--dsa-headline__subheadline--color: var(--ks-
|
|
10
|
+
--dsa-headline__subheadline--color: var(--ks-color-fg-alpha-4);
|
|
11
11
|
--dsa-headline__subheadline--font-weight: var(--ks-font-weight-bold);
|
|
12
|
-
--dsa-headline__subheadline--text-transform:
|
|
13
|
-
--dsa-headline__subheadline--letter-spacing:
|
|
12
|
+
--dsa-headline__subheadline--text-transform: uppercase;
|
|
13
|
+
--dsa-headline__subheadline--letter-spacing: 0.045em;
|
|
14
14
|
--dsa-headline__subheadline--font-family: var(--ks-font-family-display);
|
|
15
15
|
--dsa-headline_h1--font: var(--ks-font-display-xxl);
|
|
16
|
-
--dsa-headline_h1__subheadline--font-size:
|
|
16
|
+
--dsa-headline_h1__subheadline--font-size: 50%;
|
|
17
17
|
--dsa-headline_h1--space-after_large: var(--ks-spacing-stack-l);
|
|
18
18
|
--dsa-headline_h1--space-after_small: var(--ks-spacing-stack-m);
|
|
19
19
|
--dsa-headline_h1--space-after_minimum: var(--ks-spacing-stack-s);
|
|
20
20
|
--dsa-headline_h2--font: var(--ks-font-display-xl);
|
|
21
|
-
--dsa-headline_h2__subheadline--font-size:
|
|
21
|
+
--dsa-headline_h2__subheadline--font-size: 50%;
|
|
22
22
|
--dsa-headline_h2--space-after_large: var(--ks-spacing-stack-l);
|
|
23
23
|
--dsa-headline_h2--space-after_small: var(--ks-spacing-stack-m);
|
|
24
24
|
--dsa-headline_h2--space-after_minimum: 0;
|
|
25
25
|
--dsa-headline_h3--font: var(--ks-font-display-l);
|
|
26
|
-
--dsa-headline_h3__subheadline--font-size:
|
|
26
|
+
--dsa-headline_h3__subheadline--font-size: 55%;
|
|
27
27
|
--dsa-headline_h3--space-after_large: var(--ks-spacing-stack-m);
|
|
28
28
|
--dsa-headline_h3--space-after_small: var(--ks-spacing-stack-s);
|
|
29
29
|
--dsa-headline_h3--space-after_minimum: 0;
|
|
@@ -1,59 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { HTMLAttributes, FC, PropsWithChildren } from "react";
|
|
3
3
|
import { defaultRenderFn } from "@kickstartds/core/lib/core";
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* This file was automatically generated by json-schema-to-typescript.
|
|
7
|
-
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
8
|
-
* and run json-schema-to-typescript to regenerate this file.
|
|
9
|
-
*/
|
|
10
|
-
/**
|
|
11
|
-
* Text content of headline
|
|
12
|
-
*/
|
|
13
|
-
type Text = string;
|
|
14
|
-
/**
|
|
15
|
-
* Subheadline content
|
|
16
|
-
*/
|
|
17
|
-
type Sub = string;
|
|
18
|
-
/**
|
|
19
|
-
* Switch order of headline and subheadline
|
|
20
|
-
*/
|
|
21
|
-
type SwitchOrder = boolean;
|
|
22
|
-
type SectionAlignment = "left" | "center" | "right";
|
|
23
|
-
/**
|
|
24
|
-
* Level of headline to use
|
|
25
|
-
*/
|
|
26
|
-
type Level = "h1" | "h2" | "h3" | "h4" | "p";
|
|
27
|
-
/**
|
|
28
|
-
* Style of headline to show
|
|
29
|
-
*/
|
|
30
|
-
type Style = "h1" | "h2" | "h3" | "h4" | "p";
|
|
31
|
-
/**
|
|
32
|
-
* Whether to display space after headline
|
|
33
|
-
*/
|
|
34
|
-
type SpaceAfter = "minimum" | "small" | "large";
|
|
35
|
-
/**
|
|
36
|
-
* Set a custom class name
|
|
37
|
-
*/
|
|
38
|
-
type ClassName = string;
|
|
39
|
-
/**
|
|
40
|
-
* Set a custom id attribute
|
|
41
|
-
*/
|
|
42
|
-
type ID = string;
|
|
43
|
-
/**
|
|
44
|
-
* Component used for headlines
|
|
45
|
-
*/
|
|
46
|
-
interface HeadlineProps {
|
|
47
|
-
text: Text;
|
|
48
|
-
sub?: Sub;
|
|
49
|
-
switchOrder?: SwitchOrder;
|
|
50
|
-
align?: SectionAlignment;
|
|
51
|
-
level: Level;
|
|
52
|
-
style?: Style;
|
|
53
|
-
spaceAfter?: SpaceAfter;
|
|
54
|
-
className?: ClassName;
|
|
55
|
-
id?: ID;
|
|
56
|
-
}
|
|
4
|
+
import { HeadlineProps } from "../../HeadlineProps-e1305784.js";
|
|
57
5
|
interface RenderFunctions {
|
|
58
6
|
renderContent?: typeof defaultRenderFn;
|
|
59
7
|
renderSubheadline?: typeof defaultRenderFn;
|
|
@@ -39,12 +39,12 @@
|
|
|
39
39
|
);
|
|
40
40
|
--dsa-hero_left__overlay--background: linear-gradient(
|
|
41
41
|
90deg,
|
|
42
|
-
var(--ks-color-bg-alpha-
|
|
43
|
-
transparent
|
|
42
|
+
var(--ks-color-bg-alpha-1) var(--dsa-hero__textbox--max-width),
|
|
43
|
+
transparent
|
|
44
44
|
);
|
|
45
45
|
--dsa-hero_right__overlay--background: linear-gradient(
|
|
46
46
|
270deg,
|
|
47
|
-
var(--ks-color-bg-alpha-
|
|
47
|
+
var(--ks-color-bg-alpha-1) var(--dsa-hero__textbox--max-width),
|
|
48
48
|
transparent
|
|
49
49
|
);
|
|
50
50
|
--dsa-hero_offset__textbox--max-width: var(--dsa-content--width_default);
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
:root .dsa-hero,
|
|
78
78
|
[ks-inverted=true] .dsa-hero,
|
|
79
79
|
[ks-inverted=false] .dsa-hero {
|
|
80
|
-
--dsa-hero--min-height:
|
|
80
|
+
--dsa-hero--min-height: 36rem;
|
|
81
81
|
--dsa-hero--min-height_small: 20rem;
|
|
82
82
|
--dsa-hero__textbox--max-width: var(--dsa-content--width_narrow);
|
|
83
83
|
}
|
|
@@ -29,7 +29,7 @@ interface SettingsProps {
|
|
|
29
29
|
seo: SeoProps;
|
|
30
30
|
iconSprite?: IconSprite;
|
|
31
31
|
}
|
|
32
|
-
export * from "../../BlogPostProps-
|
|
32
|
+
export * from "../../BlogPostProps-6b3cff22.js";
|
|
33
33
|
export * from "../../BlogOverviewProps-9f207f1c.js";
|
|
34
34
|
export * from "../../PageProps-aa29c554.js";
|
|
35
35
|
export { IconSprite, SettingsProps };
|