@kickstartds/ds-agency-premium 1.6.71--canary.45.2035.0 → 1.6.71--canary.2073.560ebaa.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 → BlogOverviewProps-d62a0a9a.d.ts} +2 -2
- package/dist/BlogPostProps-c760fd2a.d.ts +2 -2
- package/dist/{ButtonProps-00ddee3a.d.ts → ButtonProps-4e2b2ecf.d.ts} +3 -1
- package/dist/ImageStoryProps-e853e1e7.d.ts +1 -1
- package/dist/PageProps-aa29c554.d.ts +1 -1
- package/dist/{SectionProps-d60aba86.d.ts → SectionProps-4e3c6fe0.d.ts} +2 -2
- package/dist/components/blog-head/index.d.ts +1 -1
- package/dist/components/blog-overview/blog-overview.schema.dereffed.json +58 -1
- package/dist/components/blog-overview/index.d.ts +1 -1
- package/dist/components/blog-post/blog-post.schema.dereffed.json +58 -1
- package/dist/components/blog-teaser/index.d.ts +1 -1
- package/dist/components/business-card/business-card.css +11 -1
- package/dist/components/button/button.css +2 -2
- package/dist/components/button/button.schema.dereffed.json +9 -0
- package/dist/components/button/button.schema.json +5 -0
- package/dist/components/button/index.d.ts +1 -1
- package/dist/components/button-group/button-group.schema.dereffed.json +9 -0
- package/dist/components/button-group/index.d.ts +1 -1
- package/dist/components/cookie-consent/C15t.client.d.ts +5 -0
- package/dist/components/cookie-consent/C15t.client.js +94 -0
- package/dist/components/cookie-consent/CookieConsent.client.d.ts +30 -0
- package/dist/components/cookie-consent/CookieConsent.client.js +89 -0
- package/dist/components/cookie-consent/cookie-consent.css +7 -0
- package/dist/components/cookie-consent/cookie-consent.schema.dereffed.json +23 -10
- package/dist/components/cookie-consent/cookie-consent.schema.json +42 -16
- package/dist/components/cookie-consent/index.d.ts +9 -8
- package/dist/components/cookie-consent/index.js +5 -9
- package/dist/components/footer/footer.css +1 -1
- package/dist/components/footer/footer.schema.dereffed.json +20 -12
- package/dist/components/header/header.schema.dereffed.json +20 -12
- package/dist/components/headline/headline.css +51 -9
- package/dist/components/hero/hero.css +22 -0
- package/dist/components/image-story/image-story.schema.dereffed.json +9 -0
- package/dist/components/index/index.d.ts +1 -1
- package/dist/components/nav-dropdown/nav-dropdown.css +3 -3
- package/dist/components/nav-flyout/nav-flyout.schema.dereffed.json +20 -12
- package/dist/components/nav-main/nav-main.schema.dereffed.json +20 -12
- package/dist/components/nav-main/nav-main.schema.json +20 -12
- package/dist/components/nav-topbar/nav-topbar.css +3 -3
- package/dist/components/nav-topbar/nav-topbar.schema.dereffed.json +20 -12
- package/dist/components/page/page.schema.dereffed.json +58 -1
- package/dist/components/page-wrapper/index.js +6 -0
- package/dist/components/page-wrapper/tokens.css +258 -258
- package/dist/components/presets.json +138 -48
- package/dist/components/section/index.d.ts +1 -1
- package/dist/components/section/index.js +3 -1
- package/dist/components/section/section.css +64 -20
- package/dist/components/section/section.schema.dereffed.json +58 -1
- package/dist/components/section/section.schema.json +8 -1
- package/dist/components/settings/settings.schema.dereffed.json +40 -24
- package/dist/components/split-even/split-even.css +1 -1
- package/dist/components/split-even/split-even.schema.dereffed.json +18 -0
- package/dist/components/split-weighted/split-weighted.schema.dereffed.json +18 -0
- package/dist/components/stats/stats.css +4 -4
- package/dist/components/teaser-card/teaser-card.css +14 -14
- package/dist/global.css +12 -2
- package/dist/static/favicon/android-chrome-192x192.png +0 -0
- package/dist/static/favicon/android-chrome-512x512.png +0 -0
- package/dist/static/favicon/apple-touch-icon.png +0 -0
- package/dist/static/favicon/favicon-16x16.png +0 -0
- package/dist/static/favicon/favicon-32x32.png +0 -0
- package/dist/static/favicon/favicon.ico +0 -0
- package/dist/static/favicon/site.webmanifest +1 -19
- package/dist/static/guenther/brands/cadillac.png +0 -0
- package/dist/static/guenther/brands/corvette.png +0 -0
- package/dist/static/guenther/brands/infiniti.png +0 -0
- package/dist/static/guenther/brands/isuzu.png +0 -0
- package/dist/static/guenther/brands/kia.png +0 -0
- package/dist/static/guenther/brands/maserati.png +0 -0
- package/dist/static/guenther/brands/micro.png +0 -0
- package/dist/static/guenther/brands/msg.png +0 -0
- package/dist/static/guenther/brands/nissan.png +0 -0
- package/dist/static/guenther/brands/saab.png +0 -0
- package/dist/static/guenther/brands/subaru.png +0 -0
- package/dist/static/guenther/car-1.webp +0 -0
- package/dist/static/guenther/car-2.webp +0 -0
- package/dist/static/guenther/car-cutout-1.avif +0 -0
- package/dist/static/guenther/car-cutout-2.avif +0 -0
- package/dist/static/guenther/car-cutout-3.png +0 -0
- package/dist/static/guenther/car-red.png +0 -0
- package/dist/static/guenther/car-store.png +0 -0
- package/dist/static/guenther/car-yellow.webp +0 -0
- package/dist/static/guenther/contact.jpg +0 -0
- package/dist/static/guenther/header-2.png +0 -0
- package/dist/static/guenther/header.jpg +0 -0
- package/dist/static/guenther/header.png +0 -0
- package/dist/static/guenther/kia-header.webp +0 -0
- package/dist/static/guenther/locations/farmsen.png +0 -0
- package/dist/static/guenther/locations/hamm.png +0 -0
- package/dist/static/guenther/locations/poppenbuettel.jpg +0 -0
- package/dist/static/guenther/nissan/19TDIEULHD_JUKE_CA_012_pace706.jpg.ximg_.l_12_h.smart_.jpg +0 -0
- package/dist/static/guenther/nissan/19TDIEULHD_JUKE_P13A_CA_019C_pace705.jpg.ximg_.l_12_h.smart_.jpg +0 -0
- package/dist/static/guenther/nissan/22NISSCA_JUKE_Trunk_Entry-Guard_pace704.jpg.ximg_.l_12_h.smart_.jpg +0 -0
- package/dist/static/guenther/nissan/22NISSCA_JUKE_Trunk_Spoiler_pace703.jpg.ximg_.l_6_h.smart_.jpg +0 -0
- package/dist/static/guenther/nissan/24720-slide-juke1-mobil.jpg +0 -0
- package/dist/static/guenther/nissan/24720-slide-juke1.jpg +0 -0
- package/dist/static/guenther/nissan/24TDIEULHD_JUKE_MC_001-pace203.jpg.ximg_.l_12_h.smart_.jpg +0 -0
- package/dist/static/guenther/nissan/24TDIEULHD_JUKE_MC_006-pace204.jpg.ximg_.l_12_h.smart_.jpg +0 -0
- package/dist/static/guenther/nissan/24TDIEULHD_JUKE_MC_009-pace205.jpg.ximg_.l_12_h.smart_.jpg +0 -0
- package/dist/static/guenther/nissan/24TDIEULHD_JUKE_MC_010-pace206.jpg.ximg_.l_12_m.smart_.jpg +0 -0
- package/dist/static/guenther/nissan/24TDIEULHD_JUKE_MC_012-pace305.jpg.ximg_.l_12_h.smart_.jpg +0 -0
- package/dist/static/guenther/nissan/24TDIEULHD_JUKE_MC_015-pace304.jpg.ximg_.l_12_h.smart_.jpg +0 -0
- package/dist/static/guenther/nissan/24TDIEULHD_JUKE_MC_016-pace306.jpg.ximg_.l_12_h.smart_.jpg +0 -0
- package/dist/static/guenther/nissan/24TDIEULHD_JUKE_MC_017-pace405.jpg.ximg_.l_6_h.smart_.jpg +0 -0
- package/dist/static/guenther/nissan/24TDIEULHD_JUKE_MC_021-pace302.jpg.ximg_.l_12_h.smart_.jpg +0 -0
- package/dist/static/guenther/nissan/24TDIEULHD_JUKE_MC_023-pace303.jpg.ximg_.l_12_h.smart_.jpg +0 -0
- package/dist/static/guenther/nissan/24TDIEULHD_JUKE_MC_025-pace308.jpg.ximg_.l_6_h.smart_.jpg +0 -0
- package/dist/static/guenther/nissan/24TDIEULHD_JUKE_MC_031-pace404.jpg.ximg_.l_6_h.smart_.jpg +0 -0
- package/dist/static/guenther/nissan/24TDIEULHD_JUKE_MC_Lifestyle_pace-702.jpg.ximg_.l_12_h.smart_.jpg +0 -0
- package/dist/static/guenther/nissan/24TDIEURHD_JUKE_MC_019-pace307.jpg.ximg_.l_6_h.smart_.jpg +0 -0
- package/dist/static/guenther/nissan/24TDIEU_JUKE_Dimension-illustration-pace502.jpg.ximg_.l_4_h.smart_.jpg +0 -0
- package/dist/static/guenther/nissan/24TDIEU_JUKE_Dimension-illustration-pace503.jpg.ximg_.l_4_h.smart_-400x267.jpg +0 -0
- package/dist/static/guenther/nissan/24TDIEU_JUKE_Dimension-illustration-pace503.jpg.ximg_.l_4_h.smart_.jpg +0 -0
- package/dist/static/guenther/nissan/ACC_JUKE_mirrorcap_pace118-d.jpg.ximg_.m_12_h.smart_.jpg +0 -0
- package/dist/static/guenther/nissan/junke-abmessungen-600x400.jpg +0 -0
- package/dist/static/guenther/visual.png +0 -0
- package/dist/static/logo-inverted.svg +27 -12
- package/dist/static/logo.svg +27 -12
- package/dist/tokens/IconSprite.js +6 -0
- package/dist/tokens/icon-sprite.html +2 -0
- package/dist/tokens/themes.css +4 -4
- package/dist/tokens/tokens.css +258 -258
- package/dist/tokens/tokens.js +391 -390
- package/package.json +8 -1
- package/dist/static/favicon/browserconfig.xml +0 -9
- package/dist/static/favicon/favicon-192-192.png +0 -20
- package/dist/static/favicon/mstile-144x144.png +0 -0
- package/dist/static/favicon/mstile-150x150.png +0 -0
- package/dist/static/favicon/mstile-310x150.png +0 -0
- package/dist/static/favicon/mstile-310x310.png +0 -0
- package/dist/static/favicon/mstile-70x70.png +0 -0
- package/dist/static/favicon/safari-pinned-tab.svg +0 -30
- /package/dist/{BlogHeadProps-c04a5ed8.d.ts → BlogHeadProps-f5855e93.d.ts} +0 -0
- /package/dist/{BlogTeaserProps-f5855e93.d.ts → BlogTeaserProps-d62a0a9a.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-4e3c6fe0.js";
|
|
7
|
+
import { BlogTeaserProps } from "./BlogTeaserProps-d62a0a9a.js";
|
|
8
8
|
import { CtaProps } from "./CtaProps-789f8508.js";
|
|
9
9
|
import { SeoProps } from "./SeoProps-f2d6dcaa.js";
|
|
10
10
|
/**
|
|
@@ -3,9 +3,9 @@
|
|
|
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 { BlogHeadProps } from "./BlogHeadProps-
|
|
6
|
+
import { BlogHeadProps } from "./BlogHeadProps-f5855e93.js";
|
|
7
7
|
import { BlogAsideProps } from "./BlogAsideProps-c760fd2a.js";
|
|
8
|
-
import { SectionProps } from "./SectionProps-
|
|
8
|
+
import { SectionProps } from "./SectionProps-4e3c6fe0.js";
|
|
9
9
|
import { CtaProps } from "./CtaProps-789f8508.js";
|
|
10
10
|
import { SeoProps } from "./SeoProps-f2d6dcaa.js";
|
|
11
11
|
/**
|
|
@@ -27,6 +27,7 @@ type Size = "small" | "medium" | "large";
|
|
|
27
27
|
* Whether the button should be disabled
|
|
28
28
|
*/
|
|
29
29
|
type Disabled = boolean;
|
|
30
|
+
type ButtonType = "button" | "submit" | "reset";
|
|
30
31
|
/**
|
|
31
32
|
* Component used for user interaction
|
|
32
33
|
*/
|
|
@@ -37,5 +38,6 @@ interface ButtonProps {
|
|
|
37
38
|
icon?: Icon;
|
|
38
39
|
size?: Size;
|
|
39
40
|
disabled?: Disabled;
|
|
41
|
+
type?: ButtonType;
|
|
40
42
|
}
|
|
41
|
-
export { Label, URL, Variant, Icon, Size, Disabled, ButtonProps };
|
|
43
|
+
export { Label, URL, Variant, Icon, Size, Disabled, ButtonType, ButtonProps };
|
|
@@ -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 { ButtonProps } from "./ButtonProps-
|
|
6
|
+
import { ButtonProps } from "./ButtonProps-4e2b2ecf.js";
|
|
7
7
|
/**
|
|
8
8
|
* Headline for the module element
|
|
9
9
|
*/
|
|
@@ -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-4e3c6fe0.js";
|
|
7
7
|
import { SeoProps } from "./SeoProps-f2d6dcaa.js";
|
|
8
8
|
/**
|
|
9
9
|
* Collection of sections (with their contents) to render on the page
|
|
@@ -25,7 +25,7 @@ import { TeaserCardProps } from "./TeaserCardProps-994cb119.js";
|
|
|
25
25
|
import { TestimonialsProps } from "./TestimonialsProps-e344f597.js";
|
|
26
26
|
import { TextProps } from "./TextProps-a23170d2.js";
|
|
27
27
|
import { VideoCurtainProps } from "./VideoCurtainProps-a2c0cc7f.js";
|
|
28
|
-
import { ButtonProps } from "./ButtonProps-
|
|
28
|
+
import { ButtonProps } from "./ButtonProps-4e2b2ecf.js";
|
|
29
29
|
/**
|
|
30
30
|
* Width of section to use
|
|
31
31
|
*/
|
|
@@ -33,7 +33,7 @@ type Width = "full" | "max" | "wide" | "default" | "narrow";
|
|
|
33
33
|
/**
|
|
34
34
|
* Style of background
|
|
35
35
|
*/
|
|
36
|
-
type Style = "default" | "framed" | "
|
|
36
|
+
type Style = "default" | "framed" | "shine-left" | "shine-right" | "carbon" | "stripe";
|
|
37
37
|
/**
|
|
38
38
|
* Color of background
|
|
39
39
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { BlogHeadProps } from "../../BlogHeadProps-
|
|
2
|
+
import { BlogHeadProps } from "../../BlogHeadProps-f5855e93.js";
|
|
3
3
|
declare const BlogHeadContextDefault: import("react").ForwardRefExoticComponent<BlogHeadProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
4
4
|
declare const BlogHeadContext: import("react").Context<import("react").ForwardRefExoticComponent<BlogHeadProps & import("react").RefAttributes<HTMLDivElement>>>;
|
|
5
5
|
declare const BlogHead: import("react").ForwardRefExoticComponent<BlogHeadProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -39,7 +39,10 @@
|
|
|
39
39
|
"enum": [
|
|
40
40
|
"default",
|
|
41
41
|
"framed",
|
|
42
|
-
"
|
|
42
|
+
"shine-left",
|
|
43
|
+
"shine-right",
|
|
44
|
+
"carbon",
|
|
45
|
+
"stripe"
|
|
43
46
|
],
|
|
44
47
|
"default": "default"
|
|
45
48
|
},
|
|
@@ -1307,6 +1310,15 @@
|
|
|
1307
1310
|
"title": "Disabled?",
|
|
1308
1311
|
"description": "Whether the button should be disabled",
|
|
1309
1312
|
"default": false
|
|
1313
|
+
},
|
|
1314
|
+
"type": {
|
|
1315
|
+
"type": "string",
|
|
1316
|
+
"title": "Button Type",
|
|
1317
|
+
"enum": [
|
|
1318
|
+
"button",
|
|
1319
|
+
"submit",
|
|
1320
|
+
"reset"
|
|
1321
|
+
]
|
|
1310
1322
|
}
|
|
1311
1323
|
},
|
|
1312
1324
|
"additionalProperties": false,
|
|
@@ -3744,6 +3756,15 @@
|
|
|
3744
3756
|
"title": "Disabled?",
|
|
3745
3757
|
"description": "Whether the button should be disabled",
|
|
3746
3758
|
"default": false
|
|
3759
|
+
},
|
|
3760
|
+
"type": {
|
|
3761
|
+
"type": "string",
|
|
3762
|
+
"title": "Button Type",
|
|
3763
|
+
"enum": [
|
|
3764
|
+
"button",
|
|
3765
|
+
"submit",
|
|
3766
|
+
"reset"
|
|
3767
|
+
]
|
|
3747
3768
|
}
|
|
3748
3769
|
},
|
|
3749
3770
|
"additionalProperties": false,
|
|
@@ -6568,6 +6589,15 @@
|
|
|
6568
6589
|
"title": "Disabled?",
|
|
6569
6590
|
"description": "Whether the button should be disabled",
|
|
6570
6591
|
"default": false
|
|
6592
|
+
},
|
|
6593
|
+
"type": {
|
|
6594
|
+
"type": "string",
|
|
6595
|
+
"title": "Button Type",
|
|
6596
|
+
"enum": [
|
|
6597
|
+
"button",
|
|
6598
|
+
"submit",
|
|
6599
|
+
"reset"
|
|
6600
|
+
]
|
|
6571
6601
|
}
|
|
6572
6602
|
},
|
|
6573
6603
|
"additionalProperties": false,
|
|
@@ -9526,6 +9556,15 @@
|
|
|
9526
9556
|
"title": "Disabled?",
|
|
9527
9557
|
"description": "Whether the button should be disabled",
|
|
9528
9558
|
"default": false
|
|
9559
|
+
},
|
|
9560
|
+
"type": {
|
|
9561
|
+
"type": "string",
|
|
9562
|
+
"title": "Button Type",
|
|
9563
|
+
"enum": [
|
|
9564
|
+
"button",
|
|
9565
|
+
"submit",
|
|
9566
|
+
"reset"
|
|
9567
|
+
]
|
|
9529
9568
|
}
|
|
9530
9569
|
},
|
|
9531
9570
|
"additionalProperties": false,
|
|
@@ -12350,6 +12389,15 @@
|
|
|
12350
12389
|
"title": "Disabled?",
|
|
12351
12390
|
"description": "Whether the button should be disabled",
|
|
12352
12391
|
"default": false
|
|
12392
|
+
},
|
|
12393
|
+
"type": {
|
|
12394
|
+
"type": "string",
|
|
12395
|
+
"title": "Button Type",
|
|
12396
|
+
"enum": [
|
|
12397
|
+
"button",
|
|
12398
|
+
"submit",
|
|
12399
|
+
"reset"
|
|
12400
|
+
]
|
|
12353
12401
|
}
|
|
12354
12402
|
},
|
|
12355
12403
|
"additionalProperties": false,
|
|
@@ -14881,6 +14929,15 @@
|
|
|
14881
14929
|
"title": "Disabled?",
|
|
14882
14930
|
"description": "Whether the button should be disabled",
|
|
14883
14931
|
"default": false
|
|
14932
|
+
},
|
|
14933
|
+
"type": {
|
|
14934
|
+
"type": "string",
|
|
14935
|
+
"title": "Button Type",
|
|
14936
|
+
"enum": [
|
|
14937
|
+
"button",
|
|
14938
|
+
"submit",
|
|
14939
|
+
"reset"
|
|
14940
|
+
]
|
|
14884
14941
|
}
|
|
14885
14942
|
},
|
|
14886
14943
|
"additionalProperties": false,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BlogOverviewProps } from "../../BlogOverviewProps-
|
|
1
|
+
import { BlogOverviewProps } from "../../BlogOverviewProps-d62a0a9a.js";
|
|
2
2
|
import { FC, PropsWithChildren } from "react";
|
|
3
3
|
declare const BlogOverview: FC<PropsWithChildren<BlogOverviewProps>>;
|
|
4
4
|
export type { BlogOverviewProps };
|
|
@@ -311,7 +311,10 @@
|
|
|
311
311
|
"enum": [
|
|
312
312
|
"default",
|
|
313
313
|
"framed",
|
|
314
|
-
"
|
|
314
|
+
"shine-left",
|
|
315
|
+
"shine-right",
|
|
316
|
+
"carbon",
|
|
317
|
+
"stripe"
|
|
315
318
|
],
|
|
316
319
|
"default": "default"
|
|
317
320
|
},
|
|
@@ -1579,6 +1582,15 @@
|
|
|
1579
1582
|
"title": "Disabled?",
|
|
1580
1583
|
"description": "Whether the button should be disabled",
|
|
1581
1584
|
"default": false
|
|
1585
|
+
},
|
|
1586
|
+
"type": {
|
|
1587
|
+
"type": "string",
|
|
1588
|
+
"title": "Button Type",
|
|
1589
|
+
"enum": [
|
|
1590
|
+
"button",
|
|
1591
|
+
"submit",
|
|
1592
|
+
"reset"
|
|
1593
|
+
]
|
|
1582
1594
|
}
|
|
1583
1595
|
},
|
|
1584
1596
|
"additionalProperties": false,
|
|
@@ -4016,6 +4028,15 @@
|
|
|
4016
4028
|
"title": "Disabled?",
|
|
4017
4029
|
"description": "Whether the button should be disabled",
|
|
4018
4030
|
"default": false
|
|
4031
|
+
},
|
|
4032
|
+
"type": {
|
|
4033
|
+
"type": "string",
|
|
4034
|
+
"title": "Button Type",
|
|
4035
|
+
"enum": [
|
|
4036
|
+
"button",
|
|
4037
|
+
"submit",
|
|
4038
|
+
"reset"
|
|
4039
|
+
]
|
|
4019
4040
|
}
|
|
4020
4041
|
},
|
|
4021
4042
|
"additionalProperties": false,
|
|
@@ -6840,6 +6861,15 @@
|
|
|
6840
6861
|
"title": "Disabled?",
|
|
6841
6862
|
"description": "Whether the button should be disabled",
|
|
6842
6863
|
"default": false
|
|
6864
|
+
},
|
|
6865
|
+
"type": {
|
|
6866
|
+
"type": "string",
|
|
6867
|
+
"title": "Button Type",
|
|
6868
|
+
"enum": [
|
|
6869
|
+
"button",
|
|
6870
|
+
"submit",
|
|
6871
|
+
"reset"
|
|
6872
|
+
]
|
|
6843
6873
|
}
|
|
6844
6874
|
},
|
|
6845
6875
|
"additionalProperties": false,
|
|
@@ -9798,6 +9828,15 @@
|
|
|
9798
9828
|
"title": "Disabled?",
|
|
9799
9829
|
"description": "Whether the button should be disabled",
|
|
9800
9830
|
"default": false
|
|
9831
|
+
},
|
|
9832
|
+
"type": {
|
|
9833
|
+
"type": "string",
|
|
9834
|
+
"title": "Button Type",
|
|
9835
|
+
"enum": [
|
|
9836
|
+
"button",
|
|
9837
|
+
"submit",
|
|
9838
|
+
"reset"
|
|
9839
|
+
]
|
|
9801
9840
|
}
|
|
9802
9841
|
},
|
|
9803
9842
|
"additionalProperties": false,
|
|
@@ -12622,6 +12661,15 @@
|
|
|
12622
12661
|
"title": "Disabled?",
|
|
12623
12662
|
"description": "Whether the button should be disabled",
|
|
12624
12663
|
"default": false
|
|
12664
|
+
},
|
|
12665
|
+
"type": {
|
|
12666
|
+
"type": "string",
|
|
12667
|
+
"title": "Button Type",
|
|
12668
|
+
"enum": [
|
|
12669
|
+
"button",
|
|
12670
|
+
"submit",
|
|
12671
|
+
"reset"
|
|
12672
|
+
]
|
|
12625
12673
|
}
|
|
12626
12674
|
},
|
|
12627
12675
|
"additionalProperties": false,
|
|
@@ -15153,6 +15201,15 @@
|
|
|
15153
15201
|
"title": "Disabled?",
|
|
15154
15202
|
"description": "Whether the button should be disabled",
|
|
15155
15203
|
"default": false
|
|
15204
|
+
},
|
|
15205
|
+
"type": {
|
|
15206
|
+
"type": "string",
|
|
15207
|
+
"title": "Button Type",
|
|
15208
|
+
"enum": [
|
|
15209
|
+
"button",
|
|
15210
|
+
"submit",
|
|
15211
|
+
"reset"
|
|
15212
|
+
]
|
|
15156
15213
|
}
|
|
15157
15214
|
},
|
|
15158
15215
|
"additionalProperties": false,
|
|
@@ -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-d62a0a9a.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>>;
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
flex-direction: column;
|
|
73
73
|
align-items: flex-start;
|
|
74
74
|
gap: var(--dsa-business-card--gap, var(--ks-spacing-stack-l));
|
|
75
|
-
flex-grow:
|
|
75
|
+
flex-grow: 6;
|
|
76
76
|
}
|
|
77
77
|
@container business-card (min-width: 640px) {
|
|
78
78
|
.dsa-business-card__content {
|
|
@@ -87,6 +87,16 @@
|
|
|
87
87
|
.dsa-business-card__location {
|
|
88
88
|
margin: 0;
|
|
89
89
|
}
|
|
90
|
+
.dsa-business-card__location p {
|
|
91
|
+
margin-top: 0.5em;
|
|
92
|
+
margin-bottom: 0.5em;
|
|
93
|
+
}
|
|
94
|
+
.dsa-business-card__location p:first-child {
|
|
95
|
+
margin-top: 0;
|
|
96
|
+
}
|
|
97
|
+
.dsa-business-card__location p:last-child {
|
|
98
|
+
margin-bottom: 0;
|
|
99
|
+
}
|
|
90
100
|
.dsa-business-card__image {
|
|
91
101
|
flex-grow: 1;
|
|
92
102
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
.dsa-button {
|
|
2
|
-
--dsa-button--padding: 0.
|
|
2
|
+
--dsa-button--padding: 0.65em 1.5em;
|
|
3
3
|
--dsa-button--border-width: var(--ks-border-width-default);
|
|
4
4
|
--dsa-button--border-radius: var(--ks-border-radius-control);
|
|
5
|
-
--dsa-button--font-weight: var(--ks-font-weight-
|
|
5
|
+
--dsa-button--font-weight: var(--ks-font-weight-regular);
|
|
6
6
|
--dsa-button--text-transform: default;
|
|
7
7
|
--dsa-button_small--font: var(--ks-font-interface-s);
|
|
8
8
|
--dsa-button_medium--font: var(--ks-font-interface-m);
|
|
@@ -52,6 +52,15 @@
|
|
|
52
52
|
"title": "Disabled?",
|
|
53
53
|
"description": "Whether the button should be disabled",
|
|
54
54
|
"default": false
|
|
55
|
+
},
|
|
56
|
+
"type": {
|
|
57
|
+
"type": "string",
|
|
58
|
+
"title": "Button Type",
|
|
59
|
+
"enum": [
|
|
60
|
+
"button",
|
|
61
|
+
"submit",
|
|
62
|
+
"reset"
|
|
63
|
+
]
|
|
55
64
|
}
|
|
56
65
|
},
|
|
57
66
|
"additionalProperties": false,
|
|
@@ -42,6 +42,11 @@
|
|
|
42
42
|
"title": "Disabled?",
|
|
43
43
|
"description": "Whether the button should be disabled",
|
|
44
44
|
"default": false
|
|
45
|
+
},
|
|
46
|
+
"type": {
|
|
47
|
+
"type": "string",
|
|
48
|
+
"title": "Button Type",
|
|
49
|
+
"enum": ["button", "submit", "reset"]
|
|
45
50
|
}
|
|
46
51
|
},
|
|
47
52
|
"additionalProperties": false,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { HTMLAttributes, FC, PropsWithChildren } from "react";
|
|
3
|
-
import { ButtonProps } from "../../ButtonProps-
|
|
3
|
+
import { ButtonProps } from "../../ButtonProps-4e2b2ecf.js";
|
|
4
4
|
declare const Button: import("react").ForwardRefExoticComponent<ButtonProps & HTMLAttributes<HTMLElement> & import("react").RefAttributes<HTMLAnchorElement | HTMLButtonElement>>;
|
|
5
5
|
declare const ButtonProvider: FC<PropsWithChildren>;
|
|
6
6
|
export type { ButtonProps };
|
|
@@ -62,6 +62,15 @@
|
|
|
62
62
|
"title": "Disabled?",
|
|
63
63
|
"description": "Whether the button should be disabled",
|
|
64
64
|
"default": false
|
|
65
|
+
},
|
|
66
|
+
"type": {
|
|
67
|
+
"type": "string",
|
|
68
|
+
"title": "Button Type",
|
|
69
|
+
"enum": [
|
|
70
|
+
"button",
|
|
71
|
+
"submit",
|
|
72
|
+
"reset"
|
|
73
|
+
]
|
|
65
74
|
}
|
|
66
75
|
},
|
|
67
76
|
"additionalProperties": false,
|
|
@@ -6,7 +6,7 @@ import { FC, PropsWithChildren } from "react";
|
|
|
6
6
|
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
7
7
|
* and run json-schema-to-typescript to regenerate this file.
|
|
8
8
|
*/
|
|
9
|
-
import { ButtonProps } from "../../ButtonProps-
|
|
9
|
+
import { ButtonProps } from "../../ButtonProps-4e2b2ecf.js";
|
|
10
10
|
/**
|
|
11
11
|
* Buttons of the Button Group
|
|
12
12
|
*/
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { define } from '@kickstartds/core/lib/component';
|
|
2
|
+
import CookieConsent from './CookieConsent.client.js';
|
|
3
|
+
|
|
4
|
+
const translate = (elements, state) => {
|
|
5
|
+
const translations = state.translationConfig.translations[state.translationConfig.defaultLanguage];
|
|
6
|
+
// Notice
|
|
7
|
+
elements.notice.title.textContent = translations.cookieBanner.title;
|
|
8
|
+
elements.notice.description.textContent =
|
|
9
|
+
translations.cookieBanner.description;
|
|
10
|
+
elements.notice.customizeBtn.textContent = translations.common.customize;
|
|
11
|
+
elements.notice.rejectAllBtn.textContent = translations.common.rejectAll;
|
|
12
|
+
elements.notice.acceptAllBtn.textContent = translations.common.acceptAll;
|
|
13
|
+
// Dialog
|
|
14
|
+
elements.dialog.title.textContent = translations.consentManagerDialog.title;
|
|
15
|
+
elements.dialog.description.textContent =
|
|
16
|
+
translations.consentManagerDialog.description;
|
|
17
|
+
elements.dialog.activateAllBtn.textContent = translations.common.acceptAll;
|
|
18
|
+
elements.dialog.deactivateAllBtn.textContent = translations.common.rejectAll;
|
|
19
|
+
elements.dialog.saveBtn.textContent = translations.common.save;
|
|
20
|
+
for (const option of elements.dialog.form.querySelectorAll(".dsa-cookie-consent-dialogue__option")) {
|
|
21
|
+
const type = option.dataset.consentType;
|
|
22
|
+
const translation = translations.consentTypes[type];
|
|
23
|
+
if (translation) {
|
|
24
|
+
option.querySelector(".dsa-headline__inner").textContent =
|
|
25
|
+
translation.title;
|
|
26
|
+
option.querySelector(".dsa-cookie-consent-dialogue__option-description").textContent = translation.description;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
class CookieConsentC15t extends CookieConsent {
|
|
31
|
+
constructor(element) {
|
|
32
|
+
super(element);
|
|
33
|
+
const store = this.constructor.store;
|
|
34
|
+
const elements = this.elements;
|
|
35
|
+
// get gdprTypes from radio buttons
|
|
36
|
+
const initialState = store.getState();
|
|
37
|
+
const gdprTypes = [];
|
|
38
|
+
for (const element of elements.dialog.form.elements) {
|
|
39
|
+
if (element.type === "radio" && element.value === "accept") {
|
|
40
|
+
gdprTypes.push(element.name);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
initialState.setGdprTypes(gdprTypes);
|
|
44
|
+
const update = (state) => {
|
|
45
|
+
// show/hide cookie banner or settings button
|
|
46
|
+
this.showNotice = state.showPopup;
|
|
47
|
+
// update dialog form
|
|
48
|
+
for (const type in state.consents) {
|
|
49
|
+
const radios = elements.dialog.form.elements[type];
|
|
50
|
+
const accepted = state.consents[type];
|
|
51
|
+
if (radios) {
|
|
52
|
+
for (const radio of radios) {
|
|
53
|
+
radio.defaultChecked =
|
|
54
|
+
radio.value === "accept" ? accepted : !accepted;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
const unsub = store.subscribe(update);
|
|
60
|
+
translate(this.elements, initialState);
|
|
61
|
+
update(initialState);
|
|
62
|
+
const acceptCustom = () => {
|
|
63
|
+
const state = store.getState();
|
|
64
|
+
const consentTypes = state.getDisplayedConsents();
|
|
65
|
+
for (const type of consentTypes) {
|
|
66
|
+
if (!type.disabled) {
|
|
67
|
+
state.setConsent(type.name, elements.dialog.form.elements[type.name].value === "accept");
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
state.saveConsents("custom");
|
|
71
|
+
};
|
|
72
|
+
const acceptAll = () => {
|
|
73
|
+
const state = store.getState();
|
|
74
|
+
state.saveConsents("all");
|
|
75
|
+
};
|
|
76
|
+
const rejectAll = () => {
|
|
77
|
+
const state = store.getState();
|
|
78
|
+
state.saveConsents("necessary");
|
|
79
|
+
};
|
|
80
|
+
elements.dialog.form.addEventListener("submit", acceptCustom);
|
|
81
|
+
elements.notice.acceptAllBtn.addEventListener("click", acceptAll);
|
|
82
|
+
elements.notice.rejectAllBtn.addEventListener("click", rejectAll);
|
|
83
|
+
this.onDisconnect(() => {
|
|
84
|
+
unsub();
|
|
85
|
+
elements.dialog.form.removeEventListener("submit", acceptCustom);
|
|
86
|
+
elements.notice.acceptAllBtn.removeEventListener("click", acceptAll);
|
|
87
|
+
elements.notice.rejectAllBtn.removeEventListener("click", rejectAll);
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
CookieConsentC15t.identifier = "dsa.cookie-consent.c15t";
|
|
92
|
+
define(CookieConsentC15t.identifier, CookieConsentC15t);
|
|
93
|
+
|
|
94
|
+
export { CookieConsentC15t as default };
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
declare class CookieConsent {
|
|
2
|
+
static identifier: string;
|
|
3
|
+
constructor(element: any);
|
|
4
|
+
elements: {
|
|
5
|
+
notice: {
|
|
6
|
+
wrapper: any;
|
|
7
|
+
title: any;
|
|
8
|
+
description: any;
|
|
9
|
+
customizeBtn: any;
|
|
10
|
+
rejectAllBtn: any;
|
|
11
|
+
acceptAllBtn: any;
|
|
12
|
+
};
|
|
13
|
+
dialog: {
|
|
14
|
+
wrapper: any;
|
|
15
|
+
overlay: any;
|
|
16
|
+
title: any;
|
|
17
|
+
description: any;
|
|
18
|
+
closeBtn: any;
|
|
19
|
+
form: any;
|
|
20
|
+
activateAllBtn: any;
|
|
21
|
+
deactivateAllBtn: any;
|
|
22
|
+
saveBtn: any;
|
|
23
|
+
};
|
|
24
|
+
settings: {
|
|
25
|
+
button: any;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
set showNotice(arg: any);
|
|
29
|
+
}
|
|
30
|
+
export { CookieConsent as default };
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { define, Component } from '@kickstartds/core/lib/component';
|
|
2
|
+
|
|
3
|
+
class CookieConsent extends Component {
|
|
4
|
+
constructor(element) {
|
|
5
|
+
super(element);
|
|
6
|
+
const $ = element.querySelector.bind(element);
|
|
7
|
+
const elements = (this.elements = {
|
|
8
|
+
notice: {
|
|
9
|
+
wrapper: $(".dsa-cookie-consent-notice"),
|
|
10
|
+
title: $(".dsa-cookie-consent-notice__title .dsa-headline__inner"),
|
|
11
|
+
description: $(".dsa-cookie-consent-notice__description"),
|
|
12
|
+
customizeBtn: $(".dsa-cookie-consent-notice__button--customize"),
|
|
13
|
+
rejectAllBtn: $(".dsa-cookie-consent-notice__button--reject"),
|
|
14
|
+
acceptAllBtn: $(".dsa-cookie-consent-notice__button--accept"),
|
|
15
|
+
},
|
|
16
|
+
dialog: {
|
|
17
|
+
wrapper: $(".dsa-cookie-consent-dialogue"),
|
|
18
|
+
overlay: $(".dsa-cookie-consent-overlay"),
|
|
19
|
+
title: $(".dsa-cookie-consent-dialogue__title .dsa-headline__inner"),
|
|
20
|
+
description: $(".dsa-cookie-consent-dialogue__description"),
|
|
21
|
+
closeBtn: $(".dsa-cookie-consent-dialogue__close"),
|
|
22
|
+
form: $(".dsa-cookie-consent-dialogue__form"),
|
|
23
|
+
activateAllBtn: $(".dsa-cookie-consent-dialogue__button--activate-all"),
|
|
24
|
+
deactivateAllBtn: $(".dsa-cookie-consent-dialogue__button--deactivate-all"),
|
|
25
|
+
saveBtn: $(".dsa-cookie-consent-dialogue__button--save"),
|
|
26
|
+
},
|
|
27
|
+
settings: {
|
|
28
|
+
button: $(".dsa-cookie-consent-revisit"),
|
|
29
|
+
},
|
|
30
|
+
});
|
|
31
|
+
const showDialog = () => {
|
|
32
|
+
elements.dialog.overlay.removeAttribute("hidden");
|
|
33
|
+
elements.dialog.wrapper.removeAttribute("hidden");
|
|
34
|
+
elements.dialog.wrapper.setAttribute("aria-hidden", "false");
|
|
35
|
+
};
|
|
36
|
+
const closeDialog = () => {
|
|
37
|
+
elements.dialog.overlay.setAttribute("hidden", "");
|
|
38
|
+
elements.dialog.wrapper.setAttribute("hidden", "");
|
|
39
|
+
elements.dialog.wrapper.setAttribute("aria-hidden", "true");
|
|
40
|
+
};
|
|
41
|
+
const closeDialogAndReset = () => {
|
|
42
|
+
closeDialog();
|
|
43
|
+
elements.dialog.form.reset();
|
|
44
|
+
};
|
|
45
|
+
const activateAll = () => {
|
|
46
|
+
for (const element of elements.dialog.form.elements) {
|
|
47
|
+
if (element.value === "accept") {
|
|
48
|
+
element.checked = true;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
};
|
|
52
|
+
const deactivateAll = () => {
|
|
53
|
+
for (const element of elements.dialog.form.elements) {
|
|
54
|
+
if (element.value === "reject") {
|
|
55
|
+
element.checked = true;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
const onSubmit = (event) => {
|
|
60
|
+
event.preventDefault();
|
|
61
|
+
closeDialog();
|
|
62
|
+
};
|
|
63
|
+
elements.notice.customizeBtn.addEventListener("click", showDialog);
|
|
64
|
+
elements.settings.button.addEventListener("click", showDialog);
|
|
65
|
+
elements.dialog.closeBtn.addEventListener("click", closeDialogAndReset);
|
|
66
|
+
elements.dialog.activateAllBtn.addEventListener("click", activateAll);
|
|
67
|
+
elements.dialog.deactivateAllBtn.addEventListener("click", deactivateAll);
|
|
68
|
+
elements.dialog.form.addEventListener("submit", onSubmit);
|
|
69
|
+
window._ks.radio.on(CookieConsent.identifier + ".showNotice", (_, value) => {
|
|
70
|
+
this.showNotice = value;
|
|
71
|
+
});
|
|
72
|
+
this.onDisconnect(() => {
|
|
73
|
+
elements.notice.customizeBtn.removeEventListener("click", showDialog);
|
|
74
|
+
elements.settings.button.removeEventListener("click", showDialog);
|
|
75
|
+
elements.dialog.closeBtn.removeEventListener("click", closeDialogAndReset);
|
|
76
|
+
elements.dialog.activateAllBtn.removeEventListener("click", activateAll);
|
|
77
|
+
elements.dialog.deactivateAllBtn.removeEventListener("click", deactivateAll);
|
|
78
|
+
elements.dialog.form.removeEventListener("submit", onSubmit);
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
set showNotice(value) {
|
|
82
|
+
this.elements.notice.wrapper.hidden = !value;
|
|
83
|
+
this.elements.settings.button.hidden = value;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
CookieConsent.identifier = "dsa.cookie-consent";
|
|
87
|
+
define(CookieConsent.identifier, CookieConsent);
|
|
88
|
+
|
|
89
|
+
export { CookieConsent as default };
|