@kickstartds/ds-agency-premium 1.6.71--canary.45.2035.0 → 1.6.71--canary.45.2068.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/{ButtonProps-00ddee3a.d.ts → ButtonProps-4e2b2ecf.d.ts} +3 -1
- package/dist/ImageStoryProps-e853e1e7.d.ts +1 -1
- package/dist/SectionProps-d60aba86.d.ts +1 -1
- package/dist/components/blog-overview/blog-overview.schema.dereffed.json +54 -0
- package/dist/components/blog-post/blog-post.schema.dereffed.json +54 -0
- package/dist/components/blog-post/index.d.ts +1 -1
- 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/headline/headline.css +6 -6
- package/dist/components/image-story/image-story.schema.dereffed.json +9 -0
- package/dist/components/index/index.d.ts +1 -1
- package/dist/components/page/page.schema.dereffed.json +54 -0
- package/dist/components/page-wrapper/tokens.css +1 -1
- package/dist/components/presets.json +96 -22
- package/dist/components/section/section.schema.dereffed.json +54 -0
- 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/tokens/themes.css +4 -4
- package/dist/tokens/tokens.css +1 -1
- package/dist/tokens/tokens.js +1 -1
- package/package.json +8 -1
- /package/dist/{BlogPostProps-c760fd2a.d.ts → BlogPostProps-6b3cff22.d.ts} +0 -0
|
@@ -11,14 +11,19 @@
|
|
|
11
11
|
"properties": {
|
|
12
12
|
"displayMode": {
|
|
13
13
|
"type": "string",
|
|
14
|
-
"enum": [
|
|
14
|
+
"enum": [
|
|
15
|
+
"card",
|
|
16
|
+
"banner"
|
|
17
|
+
],
|
|
15
18
|
"description": "The display mode of the cookie consent component",
|
|
16
19
|
"default": "card"
|
|
17
20
|
},
|
|
18
21
|
"title": {
|
|
19
22
|
"type": "string",
|
|
20
23
|
"description": "The title of the cookie consent section",
|
|
21
|
-
"examples": [
|
|
24
|
+
"examples": [
|
|
25
|
+
"We value your privacy"
|
|
26
|
+
]
|
|
22
27
|
},
|
|
23
28
|
"acceptButton": {
|
|
24
29
|
"type": "object",
|
|
@@ -46,7 +51,9 @@
|
|
|
46
51
|
"label": {
|
|
47
52
|
"type": "string",
|
|
48
53
|
"description": "The label for the customize button",
|
|
49
|
-
"examples": [
|
|
54
|
+
"examples": [
|
|
55
|
+
"Customize Cookies"
|
|
56
|
+
]
|
|
50
57
|
},
|
|
51
58
|
"variant": {
|
|
52
59
|
"$ref": "http://schema.mydesignsystem.com/button.schema.json#/properties/variant"
|
|
@@ -74,11 +81,6 @@
|
|
|
74
81
|
"type": "string",
|
|
75
82
|
"description": "The label for the revisit button",
|
|
76
83
|
"default": "Manage Cookies"
|
|
77
|
-
},
|
|
78
|
-
"toggle": {
|
|
79
|
-
"type": "boolean",
|
|
80
|
-
"description": "Whether the revisit button is a toggle",
|
|
81
|
-
"default": true
|
|
82
84
|
}
|
|
83
85
|
}
|
|
84
86
|
},
|
|
@@ -90,7 +92,9 @@
|
|
|
90
92
|
"title": {
|
|
91
93
|
"type": "string",
|
|
92
94
|
"description": "The title of the cookie consent dialogue",
|
|
93
|
-
"examples": [
|
|
95
|
+
"examples": [
|
|
96
|
+
"Manage Cookie Preferences"
|
|
97
|
+
]
|
|
94
98
|
},
|
|
95
99
|
"description": {
|
|
96
100
|
"type": "string",
|
|
@@ -105,10 +109,19 @@
|
|
|
105
109
|
"items": {
|
|
106
110
|
"type": "object",
|
|
107
111
|
"properties": {
|
|
112
|
+
"key": {
|
|
113
|
+
"type": "string",
|
|
114
|
+
"title": "Internal Key",
|
|
115
|
+
"examples": [
|
|
116
|
+
"necessary"
|
|
117
|
+
]
|
|
118
|
+
},
|
|
108
119
|
"name": {
|
|
109
120
|
"type": "string",
|
|
110
121
|
"description": "The name of the required cookie",
|
|
111
|
-
"examples": [
|
|
122
|
+
"examples": [
|
|
123
|
+
"Session Cookie"
|
|
124
|
+
]
|
|
112
125
|
},
|
|
113
126
|
"description": {
|
|
114
127
|
"type": "string",
|
|
@@ -150,10 +163,22 @@
|
|
|
150
163
|
"items": {
|
|
151
164
|
"type": "object",
|
|
152
165
|
"properties": {
|
|
166
|
+
"key": {
|
|
167
|
+
"type": "string",
|
|
168
|
+
"title": "Internal Key",
|
|
169
|
+
"examples": [
|
|
170
|
+
"functionality",
|
|
171
|
+
"measurement",
|
|
172
|
+
"experience",
|
|
173
|
+
"marketing"
|
|
174
|
+
]
|
|
175
|
+
},
|
|
153
176
|
"name": {
|
|
154
177
|
"type": "string",
|
|
155
178
|
"description": "The name of the cookie category",
|
|
156
|
-
"examples": [
|
|
179
|
+
"examples": [
|
|
180
|
+
"Essential Cookies"
|
|
181
|
+
]
|
|
157
182
|
},
|
|
158
183
|
"description": {
|
|
159
184
|
"type": "string",
|
|
@@ -161,11 +186,6 @@
|
|
|
161
186
|
"examples": [
|
|
162
187
|
"These cookies are necessary for the website to function."
|
|
163
188
|
]
|
|
164
|
-
},
|
|
165
|
-
"checked": {
|
|
166
|
-
"type": "boolean",
|
|
167
|
-
"description": "Whether the cookie category is checked by default",
|
|
168
|
-
"default": true
|
|
169
189
|
}
|
|
170
190
|
}
|
|
171
191
|
}
|
|
@@ -192,6 +212,12 @@
|
|
|
192
212
|
"default": "Always Active"
|
|
193
213
|
}
|
|
194
214
|
}
|
|
215
|
+
},
|
|
216
|
+
"component": {
|
|
217
|
+
"title": "`ks-component` attribute",
|
|
218
|
+
"description": "Optional custom component identifier",
|
|
219
|
+
"type": "string",
|
|
220
|
+
"default": "dsa.cookie-consent"
|
|
195
221
|
}
|
|
196
222
|
},
|
|
197
223
|
"additionalProperties": false
|
|
@@ -10,7 +10,9 @@ import { HTMLAttributes } from "react";
|
|
|
10
10
|
* Variant of button to be used
|
|
11
11
|
*/
|
|
12
12
|
type Variant = "primary" | "secondary" | "tertiary";
|
|
13
|
+
type InternalKey = string;
|
|
13
14
|
type RequiredCookies = {
|
|
15
|
+
key?: InternalKey;
|
|
14
16
|
/**
|
|
15
17
|
* The name of the required cookie
|
|
16
18
|
*/
|
|
@@ -20,10 +22,16 @@ type RequiredCookies = {
|
|
|
20
22
|
*/
|
|
21
23
|
description?: string;
|
|
22
24
|
}[];
|
|
25
|
+
type InternalKey1 = string;
|
|
26
|
+
/**
|
|
27
|
+
* Optional custom component identifier
|
|
28
|
+
*/
|
|
29
|
+
type KsComponentAttribute = string;
|
|
23
30
|
interface CookieConsentProps {
|
|
24
31
|
notice?: InitialCookieConsentNotice;
|
|
25
32
|
revisitButton?: RevisitCookieConsentButton;
|
|
26
33
|
dialogue?: CookieConsentDialogue;
|
|
34
|
+
component?: KsComponentAttribute;
|
|
27
35
|
}
|
|
28
36
|
/**
|
|
29
37
|
* The initial notice displayed to users regarding cookie consent.
|
|
@@ -70,10 +78,6 @@ interface RevisitCookieConsentButton {
|
|
|
70
78
|
* The label for the revisit button
|
|
71
79
|
*/
|
|
72
80
|
label?: string;
|
|
73
|
-
/**
|
|
74
|
-
* Whether the revisit button is a toggle
|
|
75
|
-
*/
|
|
76
|
-
toggle?: boolean;
|
|
77
81
|
}
|
|
78
82
|
/**
|
|
79
83
|
* The dialogue displayed when users choose to customize their cookie preferences.
|
|
@@ -107,6 +111,7 @@ interface CookieConsentDialogue {
|
|
|
107
111
|
*/
|
|
108
112
|
decisionButtonVariant?: "secondary" | "tertiary";
|
|
109
113
|
options?: {
|
|
114
|
+
key?: InternalKey1;
|
|
110
115
|
/**
|
|
111
116
|
* The name of the cookie category
|
|
112
117
|
*/
|
|
@@ -115,10 +120,6 @@ interface CookieConsentDialogue {
|
|
|
115
120
|
* A description of the cookie category
|
|
116
121
|
*/
|
|
117
122
|
description?: string;
|
|
118
|
-
/**
|
|
119
|
-
* Whether the cookie category is checked by default
|
|
120
|
-
*/
|
|
121
|
-
checked?: boolean;
|
|
122
123
|
}[];
|
|
123
124
|
toggleLabels?: {
|
|
124
125
|
/**
|
|
@@ -1,24 +1,20 @@
|
|
|
1
1
|
import "./cookie-consent.css";
|
|
2
2
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
|
-
import { forwardRef,
|
|
3
|
+
import { forwardRef, createContext, useContext } from 'react';
|
|
4
4
|
import classnames from 'classnames';
|
|
5
5
|
import { Headline } from '../headline/index.js';
|
|
6
6
|
import { Button } from '../button/index.js';
|
|
7
7
|
import { RichText } from '@kickstartds/base/lib/rich-text';
|
|
8
8
|
import Markdown from 'markdown-to-jsx';
|
|
9
9
|
import { Radio } from '@kickstartds/form/lib/radio';
|
|
10
|
+
import './CookieConsent.client.js';
|
|
10
11
|
import '@kickstartds/base/lib/headline';
|
|
11
12
|
import '../../helpers-12f48df8.js';
|
|
12
13
|
import '@kickstartds/base/lib/button';
|
|
14
|
+
import '@kickstartds/core/lib/component';
|
|
13
15
|
|
|
14
|
-
const CookieConsentContextDefault = forwardRef(({ notice, revisitButton, dialogue }, ref) => {
|
|
15
|
-
|
|
16
|
-
const [optionStates, setOptionStates] = useState(dialogue?.options?.map((option) => option.checked ?? true) // true = default checked
|
|
17
|
-
);
|
|
18
|
-
const handleRadioChange = (index, value) => {
|
|
19
|
-
setOptionStates((prev) => prev.map((checked, i) => (i === index ? value : checked)));
|
|
20
|
-
};
|
|
21
|
-
return (jsxs("div", { className: "dsa-cookie-consent", ref: ref, children: [jsxs("div", { className: classnames(`dsa-cookie-consent-notice dsa-cookie-consent-notice--${notice?.displayMode}`), children: [jsx(Headline, { spaceAfter: "minimum", text: notice?.title, level: "h2", style: "h3" }), jsx(RichText, { text: notice?.description }), jsxs("div", { className: "dsa-cookie-consent-notice__buttons", children: [jsx(Button, { size: "small", label: notice?.customizeButton?.label, variant: notice?.customizeButton?.variant, onClick: () => setShowDialogue(true) }), jsx(Button, { size: "small", label: notice?.rejectButton?.label, variant: notice?.decisionButtonVariant }), jsx(Button, { size: "small", label: notice?.acceptButton?.label, variant: notice?.decisionButtonVariant })] })] }), revisitButton && revisitButton.toggle && (jsx(Button, { className: "dsa-cookie-consent-revisit", size: "small", variant: "primary", icon: "star", label: revisitButton?.label || "Cookie Preferences", onClick: () => setShowDialogue(true) })), jsxs("div", { className: "dsa-cookie-consent-dialogue", hidden: !showDialogue, "aria-hidden": !showDialogue, children: [jsxs("div", { className: "dsa-cookie-consent-dialogue__header", children: [jsx(Headline, { spaceAfter: "minimum", text: dialogue?.title, level: "h2", style: "h3" }), jsx(Button, { "aria-label": "Close Cookie Consent Dialogue", className: "dsa-cookie-consent-dialogue__close", icon: "close", label: "", onClick: () => setShowDialogue(false) })] }), 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", children: [jsx(Headline, { spaceAfter: "minimum", text: option.name, level: "h3", style: "h4" }, index), 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", children: [jsx(Headline, { spaceAfter: "minimum", text: option.name, level: "h3", style: "h4" }, index), 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.name, checked: optionStates?.[index] ?? true, label: dialogue?.toggleLabels?.accept || "Accept", onChange: () => handleRadioChange(index, true) }), jsx(Radio, { name: option.name, checked: optionStates ? !optionStates[index] : false, label: dialogue?.toggleLabels?.reject || "Reject", onChange: () => handleRadioChange(index, false) })] })] }, index)))] })] }), jsxs("div", { className: "dsa-cookie-consent-dialogue__buttons", children: [jsx(Button, { size: "small", variant: dialogue?.decisionButtonVariant, label: dialogue?.buttons.acceptLabel || "Accept All", onClick: () => setOptionStates(optionStates?.map(() => true)) }), jsx(Button, { size: "small", variant: dialogue?.decisionButtonVariant, label: dialogue?.buttons.rejectLabel || "Reject All", onClick: () => setOptionStates(optionStates?.map(() => false)) }), jsx(Button, { size: "small", variant: "primary", label: dialogue?.buttons.savePreferencesLabel || "Save Preferences", onClick: () => setShowDialogue(false) })] })] }), jsx("div", { className: "dsa-cookie-consent-overlay", hidden: !showDialogue })] }));
|
|
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("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 })] }));
|
|
22
18
|
});
|
|
23
19
|
const CookieConsentContext = createContext(CookieConsentContextDefault);
|
|
24
20
|
const CookieConsent = forwardRef((props, ref) => {
|
|
@@ -58,39 +58,39 @@
|
|
|
58
58
|
visibility: visible;
|
|
59
59
|
}
|
|
60
60
|
.dsa-headline--h1 {
|
|
61
|
-
font: var(--dsa-
|
|
62
|
-
--subheadline--font-size: var(--dsa-headline_h1--font-size, 50%);
|
|
61
|
+
--subheadline--font-size: var(--dsa-headline_h1__subheadline--font-size, 50%);
|
|
63
62
|
--headline--space-after_minimum: var(--dsa-headline_h1--space-after_minimum);
|
|
64
63
|
--headline--space-after_small: var(--dsa-headline_h1--space-after_small);
|
|
65
64
|
--headline--space-after_large: var(--dsa-headline_h1--space-after_large);
|
|
65
|
+
font: var(--dsa-headline_h1--font, var(--ks-font-display-xxl));
|
|
66
66
|
}
|
|
67
67
|
.dsa-headline--h2 {
|
|
68
|
-
font: var(--dsa-headline_h2--font, var(--ks-font-display-xl));
|
|
69
68
|
--subheadline--font-size: var(--dsa-headline_h2__subheadline--font-size, 50%);
|
|
70
69
|
--headline--space-after_minimum: var(--dsa-headline_h2--space-after_minimum);
|
|
71
70
|
--headline--space-after_small: var(--dsa-headline_h2--space-after_small);
|
|
72
71
|
--headline--space-after_large: var(--dsa-headline_h2--space-after_large);
|
|
72
|
+
font: var(--dsa-headline_h2--font, var(--ks-font-display-xl));
|
|
73
73
|
}
|
|
74
74
|
.dsa-headline--h3 {
|
|
75
|
-
font: var(--dsa-headline_h3--font, var(--ks-font-display-l));
|
|
76
75
|
--subheadline--font-size: var(--dsa-headline_h3__subheadline--font-size, 50%);
|
|
77
76
|
--headline--space-after_minimum: var(--dsa-headline_h3--space-after_minimum);
|
|
78
77
|
--headline--space-after_small: var(--dsa-headline_h3--space-after_small);
|
|
79
78
|
--headline--space-after_large: var(--dsa-headline_h3--space-after_large);
|
|
79
|
+
font: var(--dsa-headline_h3--font, var(--ks-font-display-l));
|
|
80
80
|
}
|
|
81
81
|
.dsa-headline--h4 {
|
|
82
|
-
font: var(--dsa-headline_h4--font, var(--ks-font-display-m));
|
|
83
82
|
--subheadline--font-size: var(--dsa-headline_h4__subheadline--font-size, 75%);
|
|
84
83
|
--headline--space-after_minimum: var(--dsa-headline_h4--space-after_minimum);
|
|
85
84
|
--headline--space-after_small: var(--dsa-headline_h4--space-after_small);
|
|
86
85
|
--headline--space-after_large: var(--dsa-headline_h4--space-after_large);
|
|
86
|
+
font: var(--dsa-headline_h4--font, var(--ks-font-display-m));
|
|
87
87
|
}
|
|
88
88
|
.dsa-headline--p {
|
|
89
|
-
font: var(--dsa-headline_p--font, var(--ks-font-copy-m));
|
|
90
89
|
--subheadline--font-size: var(--dsa-headline_p__subheadline--font-size, 75%);
|
|
91
90
|
--headline--space-after_minimum: var(--dsa-headline_p--space-after_minimum);
|
|
92
91
|
--headline--space-after_small: var(--dsa-headline_p--space-after_small);
|
|
93
92
|
--headline--space-after_large: var(--dsa-headline_p--space-after_large);
|
|
93
|
+
font: var(--dsa-headline_p--font, var(--ks-font-copy-m));
|
|
94
94
|
}
|
|
95
95
|
.dsa-headline .dsa-headline__headline {
|
|
96
96
|
color: var(--dsa-headline--color, var(--ks-text-color-display));
|
|
@@ -108,6 +108,15 @@
|
|
|
108
108
|
"title": "Disabled?",
|
|
109
109
|
"description": "Whether the button should be disabled",
|
|
110
110
|
"default": false
|
|
111
|
+
},
|
|
112
|
+
"type": {
|
|
113
|
+
"type": "string",
|
|
114
|
+
"title": "Button Type",
|
|
115
|
+
"enum": [
|
|
116
|
+
"button",
|
|
117
|
+
"submit",
|
|
118
|
+
"reset"
|
|
119
|
+
]
|
|
111
120
|
}
|
|
112
121
|
},
|
|
113
122
|
"additionalProperties": false,
|
|
@@ -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 };
|
|
@@ -1307,6 +1307,15 @@
|
|
|
1307
1307
|
"title": "Disabled?",
|
|
1308
1308
|
"description": "Whether the button should be disabled",
|
|
1309
1309
|
"default": false
|
|
1310
|
+
},
|
|
1311
|
+
"type": {
|
|
1312
|
+
"type": "string",
|
|
1313
|
+
"title": "Button Type",
|
|
1314
|
+
"enum": [
|
|
1315
|
+
"button",
|
|
1316
|
+
"submit",
|
|
1317
|
+
"reset"
|
|
1318
|
+
]
|
|
1310
1319
|
}
|
|
1311
1320
|
},
|
|
1312
1321
|
"additionalProperties": false,
|
|
@@ -3744,6 +3753,15 @@
|
|
|
3744
3753
|
"title": "Disabled?",
|
|
3745
3754
|
"description": "Whether the button should be disabled",
|
|
3746
3755
|
"default": false
|
|
3756
|
+
},
|
|
3757
|
+
"type": {
|
|
3758
|
+
"type": "string",
|
|
3759
|
+
"title": "Button Type",
|
|
3760
|
+
"enum": [
|
|
3761
|
+
"button",
|
|
3762
|
+
"submit",
|
|
3763
|
+
"reset"
|
|
3764
|
+
]
|
|
3747
3765
|
}
|
|
3748
3766
|
},
|
|
3749
3767
|
"additionalProperties": false,
|
|
@@ -6568,6 +6586,15 @@
|
|
|
6568
6586
|
"title": "Disabled?",
|
|
6569
6587
|
"description": "Whether the button should be disabled",
|
|
6570
6588
|
"default": false
|
|
6589
|
+
},
|
|
6590
|
+
"type": {
|
|
6591
|
+
"type": "string",
|
|
6592
|
+
"title": "Button Type",
|
|
6593
|
+
"enum": [
|
|
6594
|
+
"button",
|
|
6595
|
+
"submit",
|
|
6596
|
+
"reset"
|
|
6597
|
+
]
|
|
6571
6598
|
}
|
|
6572
6599
|
},
|
|
6573
6600
|
"additionalProperties": false,
|
|
@@ -9526,6 +9553,15 @@
|
|
|
9526
9553
|
"title": "Disabled?",
|
|
9527
9554
|
"description": "Whether the button should be disabled",
|
|
9528
9555
|
"default": false
|
|
9556
|
+
},
|
|
9557
|
+
"type": {
|
|
9558
|
+
"type": "string",
|
|
9559
|
+
"title": "Button Type",
|
|
9560
|
+
"enum": [
|
|
9561
|
+
"button",
|
|
9562
|
+
"submit",
|
|
9563
|
+
"reset"
|
|
9564
|
+
]
|
|
9529
9565
|
}
|
|
9530
9566
|
},
|
|
9531
9567
|
"additionalProperties": false,
|
|
@@ -12350,6 +12386,15 @@
|
|
|
12350
12386
|
"title": "Disabled?",
|
|
12351
12387
|
"description": "Whether the button should be disabled",
|
|
12352
12388
|
"default": false
|
|
12389
|
+
},
|
|
12390
|
+
"type": {
|
|
12391
|
+
"type": "string",
|
|
12392
|
+
"title": "Button Type",
|
|
12393
|
+
"enum": [
|
|
12394
|
+
"button",
|
|
12395
|
+
"submit",
|
|
12396
|
+
"reset"
|
|
12397
|
+
]
|
|
12353
12398
|
}
|
|
12354
12399
|
},
|
|
12355
12400
|
"additionalProperties": false,
|
|
@@ -14881,6 +14926,15 @@
|
|
|
14881
14926
|
"title": "Disabled?",
|
|
14882
14927
|
"description": "Whether the button should be disabled",
|
|
14883
14928
|
"default": false
|
|
14929
|
+
},
|
|
14930
|
+
"type": {
|
|
14931
|
+
"type": "string",
|
|
14932
|
+
"title": "Button Type",
|
|
14933
|
+
"enum": [
|
|
14934
|
+
"button",
|
|
14935
|
+
"submit",
|
|
14936
|
+
"reset"
|
|
14937
|
+
]
|
|
14884
14938
|
}
|
|
14885
14939
|
},
|
|
14886
14940
|
"additionalProperties": false,
|
|
@@ -1544,7 +1544,7 @@
|
|
|
1544
1544
|
"id": "corporate-cookie-consent--card",
|
|
1545
1545
|
"group": "Corporate/Cookie Consent",
|
|
1546
1546
|
"name": "Card",
|
|
1547
|
-
"code": "<
|
|
1547
|
+
"code": "<PureCookieConsent\n component=\"dsa.cookie-consent\"\n dialogue={{\n alwaysActiveLabel: 'Always Active',\n buttons: {\n acceptLabel: 'Accept All',\n rejectLabel: 'Reject All',\n savePreferencesLabel: 'Save Preferences'\n },\n description: 'Manage your cookie preferences below.',\n options: [\n {\n description: 'These cookies help us understand how our visitors interact with the website.',\n key: 'measurement',\n name: 'Analytics Cookies'\n },\n {\n description: 'These cookies are used to deliver advertisements that are relevant to you.',\n key: 'marketing',\n name: 'Marketing Cookies'\n },\n {\n description: 'These cookies allow the website to remember choices you make and provide enhanced, more personal features.',\n key: 'functionality',\n name: 'Functional Cookies'\n },\n {\n description: 'These cookies collect information about how visitors use the website, such as which pages are visited most often and if they get error messages from web pages.',\n key: 'experience',\n name: 'Performance Cookies'\n }\n ],\n required: [\n {\n description: 'These cookies are necessary for the website to function.',\n key: 'necessary',\n name: 'Essential Cookies'\n }\n ],\n title: 'Cookie Preferences',\n toggleLabels: {\n accept: 'Accept',\n reject: 'Reject'\n }\n }}\n notice={{\n acceptButton: {\n label: 'Accept All'\n },\n customizeButton: {\n label: 'Customize',\n variant: 'tertiary'\n },\n decisionButtonVariant: 'primary',\n description: 'We use cookies to enhance your experience on our website. You can choose which cookies to accept.',\n displayMode: 'card',\n rejectButton: {\n label: 'Reject All'\n },\n title: 'We use cookies'\n }}\n revisitButton={{\n label: 'Manage Cookies'\n }}\n/>",
|
|
1548
1548
|
"args": {
|
|
1549
1549
|
"notice": {
|
|
1550
1550
|
"displayMode": "card",
|
|
@@ -1563,14 +1563,14 @@
|
|
|
1563
1563
|
"description": "We use cookies to enhance your experience on our website. You can choose which cookies to accept."
|
|
1564
1564
|
},
|
|
1565
1565
|
"revisitButton": {
|
|
1566
|
-
"label": "Manage Cookies"
|
|
1567
|
-
"toggle": true
|
|
1566
|
+
"label": "Manage Cookies"
|
|
1568
1567
|
},
|
|
1569
1568
|
"dialogue": {
|
|
1570
1569
|
"title": "Cookie Preferences",
|
|
1571
1570
|
"description": "Manage your cookie preferences below.",
|
|
1572
1571
|
"required": [
|
|
1573
1572
|
{
|
|
1573
|
+
"key": "necessary",
|
|
1574
1574
|
"name": "Essential Cookies",
|
|
1575
1575
|
"description": "These cookies are necessary for the website to function."
|
|
1576
1576
|
}
|
|
@@ -1582,24 +1582,24 @@
|
|
|
1582
1582
|
},
|
|
1583
1583
|
"options": [
|
|
1584
1584
|
{
|
|
1585
|
+
"key": "measurement",
|
|
1585
1586
|
"name": "Analytics Cookies",
|
|
1586
|
-
"description": "These cookies help us understand how our visitors interact with the website."
|
|
1587
|
-
"checked": true
|
|
1587
|
+
"description": "These cookies help us understand how our visitors interact with the website."
|
|
1588
1588
|
},
|
|
1589
1589
|
{
|
|
1590
|
+
"key": "marketing",
|
|
1590
1591
|
"name": "Marketing Cookies",
|
|
1591
|
-
"description": "These cookies are used to deliver advertisements that are relevant to you."
|
|
1592
|
-
"checked": true
|
|
1592
|
+
"description": "These cookies are used to deliver advertisements that are relevant to you."
|
|
1593
1593
|
},
|
|
1594
1594
|
{
|
|
1595
|
+
"key": "functionality",
|
|
1595
1596
|
"name": "Functional Cookies",
|
|
1596
|
-
"description": "These cookies allow the website to remember choices you make and provide enhanced, more personal features."
|
|
1597
|
-
"checked": true
|
|
1597
|
+
"description": "These cookies allow the website to remember choices you make and provide enhanced, more personal features."
|
|
1598
1598
|
},
|
|
1599
1599
|
{
|
|
1600
|
+
"key": "experience",
|
|
1600
1601
|
"name": "Performance Cookies",
|
|
1601
|
-
"description": "These cookies collect information about how visitors use the website, such as which pages are visited most often and if they get error messages from web pages."
|
|
1602
|
-
"checked": true
|
|
1602
|
+
"description": "These cookies collect information about how visitors use the website, such as which pages are visited most often and if they get error messages from web pages."
|
|
1603
1603
|
}
|
|
1604
1604
|
],
|
|
1605
1605
|
"toggleLabels": {
|
|
@@ -1607,7 +1607,8 @@
|
|
|
1607
1607
|
"reject": "Reject"
|
|
1608
1608
|
},
|
|
1609
1609
|
"alwaysActiveLabel": "Always Active"
|
|
1610
|
-
}
|
|
1610
|
+
},
|
|
1611
|
+
"component": "dsa.cookie-consent"
|
|
1611
1612
|
},
|
|
1612
1613
|
"screenshot": "img/screenshots/corporate-cookie-consent--card.png"
|
|
1613
1614
|
},
|
|
@@ -1615,7 +1616,7 @@
|
|
|
1615
1616
|
"id": "corporate-cookie-consent--banner",
|
|
1616
1617
|
"group": "Corporate/Cookie Consent",
|
|
1617
1618
|
"name": "Banner",
|
|
1618
|
-
"code": "<
|
|
1619
|
+
"code": "<PureCookieConsent\n component=\"dsa.cookie-consent\"\n dialogue={{\n alwaysActiveLabel: 'Always Active',\n buttons: {\n acceptLabel: 'Accept All',\n rejectLabel: 'Reject All',\n savePreferencesLabel: 'Save Preferences'\n },\n decisionButtonVariant: 'tertiary',\n description: 'Here you can enable or disable different types of cookies. Essential cookies are always active as they are necessary for the website to function properly. You can change your preferences at any time. Please note that disabling certain cookies may affect your experience on our website.',\n options: [\n {\n description: 'These cookies help us to understand how visitors interact with our website by collecting and reporting information anonymously.',\n key: 'functionality',\n name: 'Statistics Cookies'\n },\n {\n description: 'These cookies allow the website to remember choices you make, such as your language or region, to provide a more personalized experience.',\n key: 'functionality',\n name: 'Personalization Cookies'\n },\n {\n description: 'Advertising cookies are used to deliver relevant ads and marketing campaigns to you. They track visitors across websites and collect information to provide customized ads.',\n key: 'functionality',\n name: 'Advertising Cookies'\n }\n ],\n required: [\n {\n description: 'These cookies are required for basic website functionality, such as page navigation and access to secure areas of the website. The website cannot function properly without these cookies.',\n key: 'necessary',\n name: 'Essential Cookies'\n }\n ],\n title: 'Manage Your Cookie Preferences',\n toggleLabels: {\n accept: 'Accept',\n reject: 'Reject'\n }\n }}\n notice={{\n acceptButton: {\n label: 'Accept All Cookies'\n },\n customizeButton: {\n label: 'Customize Settings',\n variant: 'secondary'\n },\n decisionButtonVariant: 'tertiary',\n description: 'We use cookies and similar technologies to personalize content, provide social media features, and analyze our traffic. You can choose which categories you want to allow and change your preferences at any time. For more information, please see our privacy policy.',\n displayMode: 'banner',\n rejectButton: {\n label: 'Reject Non-Essential'\n },\n title: 'Your Privacy Matters to Us'\n }}\n revisitButton={{\n label: 'Manage Cookies'\n }}\n/>",
|
|
1619
1620
|
"args": {
|
|
1620
1621
|
"notice": {
|
|
1621
1622
|
"displayMode": "banner",
|
|
@@ -1634,14 +1635,14 @@
|
|
|
1634
1635
|
"description": "We use cookies and similar technologies to personalize content, provide social media features, and analyze our traffic. You can choose which categories you want to allow and change your preferences at any time. For more information, please see our privacy policy."
|
|
1635
1636
|
},
|
|
1636
1637
|
"revisitButton": {
|
|
1637
|
-
"label": "Manage Cookies"
|
|
1638
|
-
"toggle": true
|
|
1638
|
+
"label": "Manage Cookies"
|
|
1639
1639
|
},
|
|
1640
1640
|
"dialogue": {
|
|
1641
1641
|
"title": "Manage Your Cookie Preferences",
|
|
1642
1642
|
"description": "Here you can enable or disable different types of cookies. Essential cookies are always active as they are necessary for the website to function properly. You can change your preferences at any time. Please note that disabling certain cookies may affect your experience on our website.",
|
|
1643
1643
|
"required": [
|
|
1644
1644
|
{
|
|
1645
|
+
"key": "necessary",
|
|
1645
1646
|
"name": "Essential Cookies",
|
|
1646
1647
|
"description": "These cookies are required for basic website functionality, such as page navigation and access to secure areas of the website. The website cannot function properly without these cookies."
|
|
1647
1648
|
}
|
|
@@ -1653,19 +1654,19 @@
|
|
|
1653
1654
|
},
|
|
1654
1655
|
"options": [
|
|
1655
1656
|
{
|
|
1657
|
+
"key": "functionality",
|
|
1656
1658
|
"name": "Statistics Cookies",
|
|
1657
|
-
"description": "These cookies help us to understand how visitors interact with our website by collecting and reporting information anonymously."
|
|
1658
|
-
"checked": true
|
|
1659
|
+
"description": "These cookies help us to understand how visitors interact with our website by collecting and reporting information anonymously."
|
|
1659
1660
|
},
|
|
1660
1661
|
{
|
|
1662
|
+
"key": "functionality",
|
|
1661
1663
|
"name": "Personalization Cookies",
|
|
1662
|
-
"description": "These cookies allow the website to remember choices you make, such as your language or region, to provide a more personalized experience."
|
|
1663
|
-
"checked": true
|
|
1664
|
+
"description": "These cookies allow the website to remember choices you make, such as your language or region, to provide a more personalized experience."
|
|
1664
1665
|
},
|
|
1665
1666
|
{
|
|
1667
|
+
"key": "functionality",
|
|
1666
1668
|
"name": "Advertising Cookies",
|
|
1667
|
-
"description": "Advertising cookies are used to deliver relevant ads and marketing campaigns to you. They track visitors across websites and collect information to provide customized ads."
|
|
1668
|
-
"checked": true
|
|
1669
|
+
"description": "Advertising cookies are used to deliver relevant ads and marketing campaigns to you. They track visitors across websites and collect information to provide customized ads."
|
|
1669
1670
|
}
|
|
1670
1671
|
],
|
|
1671
1672
|
"toggleLabels": {
|
|
@@ -1674,10 +1675,83 @@
|
|
|
1674
1675
|
},
|
|
1675
1676
|
"alwaysActiveLabel": "Always Active",
|
|
1676
1677
|
"decisionButtonVariant": "tertiary"
|
|
1677
|
-
}
|
|
1678
|
+
},
|
|
1679
|
+
"component": "dsa.cookie-consent"
|
|
1678
1680
|
},
|
|
1679
1681
|
"screenshot": "img/screenshots/corporate-cookie-consent--banner.png"
|
|
1680
1682
|
},
|
|
1683
|
+
{
|
|
1684
|
+
"id": "corporate-cookie-consent--c-15-t",
|
|
1685
|
+
"group": "Corporate/Cookie Consent",
|
|
1686
|
+
"name": "C15t",
|
|
1687
|
+
"code": "<>\n <Button\n label=\"reset\"\n onClick={function noRefCheck() {}}\n size=\"small\"\n />\n <hr />\n <CookieConsent\n component=\"dsa.cookie-consent.c15t.offline\"\n dialogue={{\n alwaysActiveLabel: 'Always Active',\n buttons: {\n acceptLabel: 'Accept All',\n rejectLabel: 'Reject All',\n savePreferencesLabel: 'Save Preferences'\n },\n description: 'Customize your privacy settings here. You can choose which types of cookies and tracking technologies you allow.',\n options: [\n {\n description: 'These cookies are necessary for the website to function.',\n key: 'measurement',\n name: 'Essential Cookies'\n },\n {\n description: 'These cookies are necessary for the website to function.',\n key: 'marketing',\n name: 'Essential Cookies'\n },\n {\n description: 'These cookies are necessary for the website to function.',\n key: 'functionality',\n name: 'Essential Cookies'\n },\n {\n description: 'These cookies are necessary for the website to function.',\n key: 'experience',\n name: 'Essential Cookies'\n }\n ],\n required: [\n {\n description: 'This cookie is essential for the website to function and cannot be disabled.',\n key: 'necessary',\n name: 'Session Cookie'\n }\n ],\n title: 'Manage Cookie Preferences',\n toggleLabels: {\n accept: 'Accept',\n reject: 'Reject'\n }\n }}\n notice={{\n acceptButton: {\n label: 'Accept All Cookies'\n },\n customizeButton: {\n label: 'Customize Cookies',\n variant: 'tertiary'\n },\n decisionButtonVariant: 'primary',\n description: 'This website uses cookies to ensure you get the best experience on our website.',\n displayMode: 'card',\n rejectButton: {\n label: 'Reject All Cookies'\n },\n title: 'We value your privacy'\n }}\n revisitButton={{\n label: 'Manage Cookies'\n }}\n />\n</>",
|
|
1688
|
+
"args": {
|
|
1689
|
+
"notice": {
|
|
1690
|
+
"displayMode": "card",
|
|
1691
|
+
"title": "We value your privacy",
|
|
1692
|
+
"acceptButton": {
|
|
1693
|
+
"label": "Accept All Cookies"
|
|
1694
|
+
},
|
|
1695
|
+
"rejectButton": {
|
|
1696
|
+
"label": "Reject All Cookies"
|
|
1697
|
+
},
|
|
1698
|
+
"customizeButton": {
|
|
1699
|
+
"label": "Customize Cookies",
|
|
1700
|
+
"variant": "tertiary"
|
|
1701
|
+
},
|
|
1702
|
+
"decisionButtonVariant": "primary",
|
|
1703
|
+
"description": "This website uses cookies to ensure you get the best experience on our website."
|
|
1704
|
+
},
|
|
1705
|
+
"revisitButton": {
|
|
1706
|
+
"label": "Manage Cookies"
|
|
1707
|
+
},
|
|
1708
|
+
"dialogue": {
|
|
1709
|
+
"title": "Manage Cookie Preferences",
|
|
1710
|
+
"description": "Customize your privacy settings here. You can choose which types of cookies and tracking technologies you allow.",
|
|
1711
|
+
"required": [
|
|
1712
|
+
{
|
|
1713
|
+
"key": "necessary",
|
|
1714
|
+
"name": "Session Cookie",
|
|
1715
|
+
"description": "This cookie is essential for the website to function and cannot be disabled."
|
|
1716
|
+
}
|
|
1717
|
+
],
|
|
1718
|
+
"buttons": {
|
|
1719
|
+
"acceptLabel": "Accept All",
|
|
1720
|
+
"rejectLabel": "Reject All",
|
|
1721
|
+
"savePreferencesLabel": "Save Preferences"
|
|
1722
|
+
},
|
|
1723
|
+
"options": [
|
|
1724
|
+
{
|
|
1725
|
+
"key": "measurement",
|
|
1726
|
+
"name": "Essential Cookies",
|
|
1727
|
+
"description": "These cookies are necessary for the website to function."
|
|
1728
|
+
},
|
|
1729
|
+
{
|
|
1730
|
+
"key": "marketing",
|
|
1731
|
+
"name": "Essential Cookies",
|
|
1732
|
+
"description": "These cookies are necessary for the website to function."
|
|
1733
|
+
},
|
|
1734
|
+
{
|
|
1735
|
+
"key": "functionality",
|
|
1736
|
+
"name": "Essential Cookies",
|
|
1737
|
+
"description": "These cookies are necessary for the website to function."
|
|
1738
|
+
},
|
|
1739
|
+
{
|
|
1740
|
+
"key": "experience",
|
|
1741
|
+
"name": "Essential Cookies",
|
|
1742
|
+
"description": "These cookies are necessary for the website to function."
|
|
1743
|
+
}
|
|
1744
|
+
],
|
|
1745
|
+
"toggleLabels": {
|
|
1746
|
+
"accept": "Accept",
|
|
1747
|
+
"reject": "Reject"
|
|
1748
|
+
},
|
|
1749
|
+
"alwaysActiveLabel": "Always Active"
|
|
1750
|
+
},
|
|
1751
|
+
"component": "dsa.cookie-consent.c15t.offline"
|
|
1752
|
+
},
|
|
1753
|
+
"screenshot": "img/screenshots/corporate-cookie-consent--c-15-t.png"
|
|
1754
|
+
},
|
|
1681
1755
|
{
|
|
1682
1756
|
"id": "components-cta--banner",
|
|
1683
1757
|
"group": "Components/Cta",
|