@kickstartds/ds-agency-premium 1.6.71--canary.45.1803.0 → 1.6.71--canary.45.1813.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-6b3cff22.d.ts → BlogPostProps-c760fd2a.d.ts} +1 -1
- package/dist/{EventListTeaserProps-796e306c.d.ts → EventListTeaserProps-5cc94436.d.ts} +9 -4
- package/dist/PageProps-aa29c554.d.ts +1 -1
- package/dist/{SectionProps-7caa223c.d.ts → SectionProps-21d04028.d.ts} +1 -1
- package/dist/components/blog-overview/blog-overview.schema.dereffed.json +5 -4
- package/dist/components/blog-overview/index.d.ts +1 -1
- package/dist/components/blog-post/blog-post.schema.dereffed.json +5 -4
- package/dist/components/blog-post/index.d.ts +1 -1
- package/dist/components/blog-teaser/blog-teaser.css +2 -2
- package/dist/components/blog-teaser/index.d.ts +1 -1
- package/dist/components/contact/contact.css +2 -2
- package/dist/components/cta/cta.css +3 -3
- package/dist/components/event-list/event-list.schema.dereffed.json +11 -3
- package/dist/components/event-list/index.d.ts +1 -1
- package/dist/components/event-list/index.js +45 -2
- package/dist/components/event-list-teaser/event-list-teaser.css +23 -16
- package/dist/components/event-list-teaser/event-list-teaser.schema.dereffed.json +11 -3
- package/dist/components/event-list-teaser/event-list-teaser.schema.json +9 -3
- package/dist/components/event-list-teaser/index.d.ts +1 -1
- package/dist/components/event-list-teaser/index.js +2 -2
- package/dist/components/event-registration/event-registration.css +79 -0
- package/dist/components/event-registration/event-registration.schema.dereffed.json +174 -0
- package/dist/components/event-registration/event-registration.schema.json +138 -0
- package/dist/components/event-registration/index.d.ts +106 -0
- package/dist/components/event-registration/index.js +23 -0
- package/dist/components/features/features.css +2 -2
- package/dist/components/hero/hero.css +2 -2
- package/dist/components/image-story/image-story.css +4 -4
- package/dist/components/image-text/image-text.css +4 -4
- package/dist/components/index/index.d.ts +2 -2
- package/dist/components/mosaic/mosaic.css +4 -4
- package/dist/components/page/page.schema.dereffed.json +5 -4
- package/dist/components/page-wrapper/tokens.css +1 -1
- package/dist/components/pagination/index.js +4 -4
- package/dist/components/presets.json +142 -183
- package/dist/components/section/index.d.ts +1 -1
- package/dist/components/section/index.js +2 -16
- package/dist/components/section/section.schema.dereffed.json +5 -4
- package/dist/components/section/section.schema.json +3 -2
- package/dist/components/split-weighted/index.js +3 -4
- package/dist/components/split-weighted/split-weighted.css +6 -0
- package/dist/components/teaser-card/teaser-card.css +1 -1
- package/dist/components/text/text.css +2 -2
- package/dist/components/video-curtain/video-curtain.css +2 -2
- package/dist/global.css +3 -3
- package/dist/tokens/themes.css +4 -4
- package/dist/tokens/tokens.css +1 -1
- package/dist/tokens/tokens.js +1 -1
- package/package.json +1 -1
- /package/dist/{BlogTeaserProps-f5855e93.d.ts → BlogTeaserProps-d62a0a9a.d.ts} +0 -0
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "http://schema.mydesignsystem.com/event-registration.schema.json",
|
|
4
|
+
"title": "Event Registration",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"label": {
|
|
8
|
+
"title": "Label",
|
|
9
|
+
"description": "Label of the event registration",
|
|
10
|
+
"type": "string",
|
|
11
|
+
"examples": [
|
|
12
|
+
"Registration Request"
|
|
13
|
+
]
|
|
14
|
+
},
|
|
15
|
+
"title": {
|
|
16
|
+
"title": "Title",
|
|
17
|
+
"description": "Title of the event",
|
|
18
|
+
"type": "string",
|
|
19
|
+
"examples": [
|
|
20
|
+
"The Future of AI"
|
|
21
|
+
]
|
|
22
|
+
},
|
|
23
|
+
"link": {
|
|
24
|
+
"type": "object",
|
|
25
|
+
"title": "Link",
|
|
26
|
+
"description": "Link to the event details",
|
|
27
|
+
"properties": {
|
|
28
|
+
"url": {
|
|
29
|
+
"type": "string",
|
|
30
|
+
"title": "URL",
|
|
31
|
+
"description": "URL to the event details",
|
|
32
|
+
"examples": [
|
|
33
|
+
"#"
|
|
34
|
+
],
|
|
35
|
+
"format": "uri"
|
|
36
|
+
},
|
|
37
|
+
"text": {
|
|
38
|
+
"title": "Link Text",
|
|
39
|
+
"description": "Text for the link to the event details",
|
|
40
|
+
"type": "string",
|
|
41
|
+
"examples": [
|
|
42
|
+
"More Information on the Event"
|
|
43
|
+
]
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"additionalProperties": false
|
|
47
|
+
},
|
|
48
|
+
"date": {
|
|
49
|
+
"title": "Date",
|
|
50
|
+
"description": "Date of the registration",
|
|
51
|
+
"type": "string",
|
|
52
|
+
"format": "date",
|
|
53
|
+
"examples": [
|
|
54
|
+
"18.09.2025"
|
|
55
|
+
]
|
|
56
|
+
},
|
|
57
|
+
"time": {
|
|
58
|
+
"title": "Time",
|
|
59
|
+
"description": "Time of the registration",
|
|
60
|
+
"type": "string",
|
|
61
|
+
"examples": [
|
|
62
|
+
"09:00 – 17:00"
|
|
63
|
+
]
|
|
64
|
+
},
|
|
65
|
+
"location": {
|
|
66
|
+
"type": "object",
|
|
67
|
+
"title": "Location",
|
|
68
|
+
"description": "Location of the event",
|
|
69
|
+
"properties": {
|
|
70
|
+
"name": {
|
|
71
|
+
"type": "string",
|
|
72
|
+
"examples": [
|
|
73
|
+
"Berlin Congress Center"
|
|
74
|
+
]
|
|
75
|
+
},
|
|
76
|
+
"address": {
|
|
77
|
+
"type": "string",
|
|
78
|
+
"examples": [
|
|
79
|
+
"Alexanderplatz 1, 10178 Berlin"
|
|
80
|
+
]
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
"additionalProperties": false
|
|
84
|
+
},
|
|
85
|
+
"nameInput": {
|
|
86
|
+
"title": "Name Input",
|
|
87
|
+
"description": "Input field for the name",
|
|
88
|
+
"type": "object",
|
|
89
|
+
"properties": {
|
|
90
|
+
"label": {
|
|
91
|
+
"type": "string",
|
|
92
|
+
"examples": [
|
|
93
|
+
"Name*"
|
|
94
|
+
]
|
|
95
|
+
},
|
|
96
|
+
"placeholder": {
|
|
97
|
+
"type": "string",
|
|
98
|
+
"examples": [
|
|
99
|
+
"Enter your name"
|
|
100
|
+
]
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
"additionalProperties": false
|
|
104
|
+
},
|
|
105
|
+
"emailInput": {
|
|
106
|
+
"title": "Email Input",
|
|
107
|
+
"description": "Input field for the email",
|
|
108
|
+
"type": "object",
|
|
109
|
+
"properties": {
|
|
110
|
+
"label": {
|
|
111
|
+
"title": "Label",
|
|
112
|
+
"description": "Label for the email input",
|
|
113
|
+
"type": "string",
|
|
114
|
+
"examples": [
|
|
115
|
+
"Email*"
|
|
116
|
+
]
|
|
117
|
+
},
|
|
118
|
+
"placeholder": {
|
|
119
|
+
"title": "Placeholder",
|
|
120
|
+
"description": "Placeholder text for the email input",
|
|
121
|
+
"type": "string",
|
|
122
|
+
"examples": [
|
|
123
|
+
"Enter your email"
|
|
124
|
+
]
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
"additionalProperties": false
|
|
128
|
+
},
|
|
129
|
+
"confirmationCheckboxLabel": {
|
|
130
|
+
"title": "Label",
|
|
131
|
+
"description": "Label for the confirmation checkbox",
|
|
132
|
+
"type": "string",
|
|
133
|
+
"examples": [
|
|
134
|
+
"I read and agree to the terms and conditions*"
|
|
135
|
+
]
|
|
136
|
+
},
|
|
137
|
+
"mandatoryText": {
|
|
138
|
+
"title": "Mandatory Text",
|
|
139
|
+
"description": "Text indicating that the checkbox is mandatory",
|
|
140
|
+
"type": "string",
|
|
141
|
+
"default": "_* Mandatory_"
|
|
142
|
+
},
|
|
143
|
+
"cta": {
|
|
144
|
+
"title": "Call to Action",
|
|
145
|
+
"type": "object",
|
|
146
|
+
"properties": {
|
|
147
|
+
"label": {
|
|
148
|
+
"title": "Button Label",
|
|
149
|
+
"description": "Label for the call to action button",
|
|
150
|
+
"type": "string",
|
|
151
|
+
"examples": [
|
|
152
|
+
"Send Request"
|
|
153
|
+
]
|
|
154
|
+
},
|
|
155
|
+
"url": {
|
|
156
|
+
"type": "string",
|
|
157
|
+
"format": "uri",
|
|
158
|
+
"default": "#"
|
|
159
|
+
},
|
|
160
|
+
"ariaLabel": {
|
|
161
|
+
"title": "Aria Label",
|
|
162
|
+
"description": "Aria label for the cta button",
|
|
163
|
+
"type": "string",
|
|
164
|
+
"default": "Event Registration"
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
"additionalProperties": false
|
|
168
|
+
},
|
|
169
|
+
"type": {
|
|
170
|
+
"const": "event-registration"
|
|
171
|
+
}
|
|
172
|
+
},
|
|
173
|
+
"additionalProperties": false
|
|
174
|
+
}
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "http://schema.mydesignsystem.com/event-registration.schema.json",
|
|
4
|
+
"title": "Event Registration",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"label": {
|
|
8
|
+
"title": "Label",
|
|
9
|
+
"description": "Label of the event registration",
|
|
10
|
+
"type": "string",
|
|
11
|
+
"examples": ["Registration Request"]
|
|
12
|
+
},
|
|
13
|
+
"title": {
|
|
14
|
+
"title": "Title",
|
|
15
|
+
"description": "Title of the event",
|
|
16
|
+
"type": "string",
|
|
17
|
+
"examples": ["The Future of AI"]
|
|
18
|
+
},
|
|
19
|
+
"link": {
|
|
20
|
+
"type": "object",
|
|
21
|
+
"title": "Link",
|
|
22
|
+
"description": "Link to the event details",
|
|
23
|
+
"properties": {
|
|
24
|
+
"url": {
|
|
25
|
+
"type": "string",
|
|
26
|
+
"title": "URL",
|
|
27
|
+
"description": "URL to the event details",
|
|
28
|
+
"examples": ["#"],
|
|
29
|
+
"format": "uri"
|
|
30
|
+
},
|
|
31
|
+
"text": {
|
|
32
|
+
"title": "Link Text",
|
|
33
|
+
"description": "Text for the link to the event details",
|
|
34
|
+
"type": "string",
|
|
35
|
+
"examples": ["More Information on the Event"]
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
"date": {
|
|
40
|
+
"title": "Date",
|
|
41
|
+
"description": "Date of the registration",
|
|
42
|
+
"type": "string",
|
|
43
|
+
"format": "date",
|
|
44
|
+
"examples": ["18.09.2025"]
|
|
45
|
+
},
|
|
46
|
+
"time": {
|
|
47
|
+
"title": "Time",
|
|
48
|
+
"description": "Time of the registration",
|
|
49
|
+
"type": "string",
|
|
50
|
+
"examples": ["09:00 – 17:00"]
|
|
51
|
+
},
|
|
52
|
+
"location": {
|
|
53
|
+
"type": "object",
|
|
54
|
+
"title": "Location",
|
|
55
|
+
"description": "Location of the event",
|
|
56
|
+
"properties": {
|
|
57
|
+
"name": {
|
|
58
|
+
"type": "string",
|
|
59
|
+
"examples": ["Berlin Congress Center"]
|
|
60
|
+
},
|
|
61
|
+
"address": {
|
|
62
|
+
"type": "string",
|
|
63
|
+
"examples": ["Alexanderplatz 1, 10178 Berlin"]
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"nameInput": {
|
|
68
|
+
"title": "Name Input",
|
|
69
|
+
"description": "Input field for the name",
|
|
70
|
+
"type": "object",
|
|
71
|
+
"properties": {
|
|
72
|
+
"label": {
|
|
73
|
+
"type": "string",
|
|
74
|
+
"examples": ["Name*"]
|
|
75
|
+
},
|
|
76
|
+
"placeholder": {
|
|
77
|
+
"type": "string",
|
|
78
|
+
"examples": ["Enter your name"]
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
"emailInput": {
|
|
83
|
+
"title": "Email Input",
|
|
84
|
+
"description": "Input field for the email",
|
|
85
|
+
"type": "object",
|
|
86
|
+
"properties": {
|
|
87
|
+
"label": {
|
|
88
|
+
"title": "Label",
|
|
89
|
+
"description": "Label for the email input",
|
|
90
|
+
"type": "string",
|
|
91
|
+
"examples": ["Email*"]
|
|
92
|
+
},
|
|
93
|
+
"placeholder": {
|
|
94
|
+
"title": "Placeholder",
|
|
95
|
+
"description": "Placeholder text for the email input",
|
|
96
|
+
"type": "string",
|
|
97
|
+
"examples": ["Enter your email"]
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
"confirmationCheckboxLabel": {
|
|
102
|
+
"title": "Label",
|
|
103
|
+
"description": "Label for the confirmation checkbox",
|
|
104
|
+
"type": "string",
|
|
105
|
+
"examples": ["I read and agree to the terms and conditions*"]
|
|
106
|
+
},
|
|
107
|
+
"mandatoryText": {
|
|
108
|
+
"title": "Mandatory Text",
|
|
109
|
+
"description": "Text indicating that the checkbox is mandatory",
|
|
110
|
+
"type": "string",
|
|
111
|
+
"default": "_* Mandatory_"
|
|
112
|
+
},
|
|
113
|
+
"cta": {
|
|
114
|
+
"title": "Call to Action",
|
|
115
|
+
"type": "object",
|
|
116
|
+
"properties": {
|
|
117
|
+
"label": {
|
|
118
|
+
"title": "Button Label",
|
|
119
|
+
"description": "Label for the call to action button",
|
|
120
|
+
"type": "string",
|
|
121
|
+
"examples": ["Send Request"]
|
|
122
|
+
},
|
|
123
|
+
"url": {
|
|
124
|
+
"type": "string",
|
|
125
|
+
"format": "uri",
|
|
126
|
+
"default": "#"
|
|
127
|
+
},
|
|
128
|
+
"ariaLabel": {
|
|
129
|
+
"title": "Aria Label",
|
|
130
|
+
"description": "Aria label for the cta button",
|
|
131
|
+
"type": "string",
|
|
132
|
+
"default": "Event Registration"
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
},
|
|
137
|
+
"additionalProperties": false
|
|
138
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* This file was automatically generated by json-schema-to-typescript.
|
|
5
|
+
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
6
|
+
* and run json-schema-to-typescript to regenerate this file.
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Label of the event registration
|
|
10
|
+
*/
|
|
11
|
+
type Label = string;
|
|
12
|
+
/**
|
|
13
|
+
* Title of the event
|
|
14
|
+
*/
|
|
15
|
+
type Title = string;
|
|
16
|
+
/**
|
|
17
|
+
* URL to the event details
|
|
18
|
+
*/
|
|
19
|
+
type URL = string;
|
|
20
|
+
/**
|
|
21
|
+
* Text for the link to the event details
|
|
22
|
+
*/
|
|
23
|
+
type LinkText = string;
|
|
24
|
+
/**
|
|
25
|
+
* Date of the registration
|
|
26
|
+
*/
|
|
27
|
+
type Date = string;
|
|
28
|
+
/**
|
|
29
|
+
* Time of the registration
|
|
30
|
+
*/
|
|
31
|
+
type Time = string;
|
|
32
|
+
/**
|
|
33
|
+
* Label for the email input
|
|
34
|
+
*/
|
|
35
|
+
type Label1 = string;
|
|
36
|
+
/**
|
|
37
|
+
* Placeholder text for the email input
|
|
38
|
+
*/
|
|
39
|
+
type Placeholder = string;
|
|
40
|
+
/**
|
|
41
|
+
* Label for the confirmation checkbox
|
|
42
|
+
*/
|
|
43
|
+
type Label2 = string;
|
|
44
|
+
/**
|
|
45
|
+
* Text indicating that the checkbox is mandatory
|
|
46
|
+
*/
|
|
47
|
+
type MandatoryText = string;
|
|
48
|
+
/**
|
|
49
|
+
* Label for the call to action button
|
|
50
|
+
*/
|
|
51
|
+
type ButtonLabel = string;
|
|
52
|
+
/**
|
|
53
|
+
* Aria label for the cta button
|
|
54
|
+
*/
|
|
55
|
+
type AriaLabel = string;
|
|
56
|
+
interface EventRegistrationProps {
|
|
57
|
+
label?: Label;
|
|
58
|
+
title?: Title;
|
|
59
|
+
link?: Link;
|
|
60
|
+
date?: Date;
|
|
61
|
+
time?: Time;
|
|
62
|
+
location?: Location;
|
|
63
|
+
nameInput?: NameInput;
|
|
64
|
+
emailInput?: EmailInput;
|
|
65
|
+
confirmationCheckboxLabel?: Label2;
|
|
66
|
+
mandatoryText?: MandatoryText;
|
|
67
|
+
cta?: CallToAction;
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Link to the event details
|
|
71
|
+
*/
|
|
72
|
+
interface Link {
|
|
73
|
+
url?: URL;
|
|
74
|
+
text?: LinkText;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Location of the event
|
|
78
|
+
*/
|
|
79
|
+
interface Location {
|
|
80
|
+
name?: string;
|
|
81
|
+
address?: string;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Input field for the name
|
|
85
|
+
*/
|
|
86
|
+
interface NameInput {
|
|
87
|
+
label?: string;
|
|
88
|
+
placeholder?: string;
|
|
89
|
+
}
|
|
90
|
+
/**
|
|
91
|
+
* Input field for the email
|
|
92
|
+
*/
|
|
93
|
+
interface EmailInput {
|
|
94
|
+
label?: Label1;
|
|
95
|
+
placeholder?: Placeholder;
|
|
96
|
+
}
|
|
97
|
+
interface CallToAction {
|
|
98
|
+
label?: ButtonLabel;
|
|
99
|
+
url?: string;
|
|
100
|
+
ariaLabel?: AriaLabel;
|
|
101
|
+
}
|
|
102
|
+
declare const EventRegistrationContextDefault: import("react").ForwardRefExoticComponent<EventRegistrationProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
103
|
+
declare const EventRegistrationContext: import("react").Context<import("react").ForwardRefExoticComponent<EventRegistrationProps & import("react").RefAttributes<HTMLDivElement>>>;
|
|
104
|
+
declare const EventRegistration: import("react").ForwardRefExoticComponent<EventRegistrationProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
105
|
+
export type { EventRegistrationProps };
|
|
106
|
+
export { EventRegistrationContextDefault, EventRegistrationContext, EventRegistration };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import "./event-registration.css";
|
|
2
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
|
+
import { forwardRef, createContext, useContext } from 'react';
|
|
4
|
+
import { Icon } from '@kickstartds/base/lib/icon';
|
|
5
|
+
import { Headline } from '../headline/index.js';
|
|
6
|
+
import { Link } from '@kickstartds/base/lib/link';
|
|
7
|
+
import Markdown from 'markdown-to-jsx';
|
|
8
|
+
import { TextField } from '@kickstartds/form/lib/text-field';
|
|
9
|
+
import { Checkbox } from '@kickstartds/form/lib/checkbox';
|
|
10
|
+
import { Button } from '../button/index.js';
|
|
11
|
+
import 'classnames';
|
|
12
|
+
import '@kickstartds/base/lib/headline';
|
|
13
|
+
import '@kickstartds/base/lib/button';
|
|
14
|
+
|
|
15
|
+
const EventRegistrationContextDefault = forwardRef(({ date, time, title, link, label, location, nameInput, emailInput, mandatoryText, cta, confirmationCheckboxLabel, }, ref) => (jsxs("div", { ref: ref, className: "dsa-event-registration", children: [jsx(Headline, { spaceAfter: "minimum", text: title, level: "h2", sub: label, switchOrder: true }), jsxs("div", { className: "dsa-event-registration__infos", children: [jsxs("div", { className: "dsa-event-registration__details", children: [jsxs("div", { className: "dsa-event-registration__date", children: [jsxs("span", { className: "dsa-event-registration__info", children: [jsx(Icon, { "aria-hidden": true, icon: "date" }), date] }), jsxs("span", { className: "dsa-event-registration__info", children: [jsx(Icon, { "aria-hidden": true, icon: "time" }), time] })] }), jsxs("div", { className: "dsa-event-registration__location dsa-event-registration__info", children: [jsx(Icon, { "aria-hidden": true, icon: "map-pin" }), jsxs("address", { children: [location?.name && (jsx("span", { className: "dsa-event-registration__location-name", children: location.name })), jsx(Markdown, { className: "dsa-event-registration__location-address", children: location?.address })] })] })] }), jsx(Link, { className: "dsa-event-registration__link", href: link?.url, children: link?.text })] }), jsxs("form", { className: "dsa-event-registration__form", children: [jsx(TextField, { label: nameInput.label, placeholder: nameInput?.placeholder }), jsx(TextField, { label: emailInput.label, placeholder: emailInput?.placeholder }), jsx(Checkbox, { label: confirmationCheckboxLabel, name: "confirmation-checkbox", id: "confirmation-checkbox" }), jsx(Markdown, { className: "dsa-event-registration__mandatory-text", children: mandatoryText }), jsx(Button, { label: cta.label, url: cta.url, "aria-label": cta?.ariaLabel, variant: "primary", size: "small" })] })] })));
|
|
16
|
+
const EventRegistrationContext = createContext(EventRegistrationContextDefault);
|
|
17
|
+
const EventRegistration = forwardRef((props, ref) => {
|
|
18
|
+
const Component = useContext(EventRegistrationContext);
|
|
19
|
+
return jsx(Component, { ...props, ref: ref });
|
|
20
|
+
});
|
|
21
|
+
EventRegistration.displayName = "EventRegistration";
|
|
22
|
+
|
|
23
|
+
export { EventRegistration, EventRegistrationContext, EventRegistrationContextDefault };
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
--dsa-feature__title--color: var(--dsa-topic--color);
|
|
5
5
|
--dsa-feature__title--font: var(--ks-font-interface-m);
|
|
6
6
|
--dsa-feature__title--font-family: var(--dsa-topic--font-family);
|
|
7
|
-
--dsa-feature__copy--color: var(--
|
|
7
|
+
--dsa-feature__copy--color: var(--ks-text-color-copy);
|
|
8
8
|
--dsa-feature__copy--font: var(--ks-font-copy-s);
|
|
9
9
|
--dsa-feature__link--font: var(--ks-font-copy-s);
|
|
10
10
|
--dsa-feature__link--font-weight: var(--dsa-link--font-weight);
|
|
@@ -111,7 +111,7 @@
|
|
|
111
111
|
font-weight: var(--dsa-feature__title--font-weight, var(--ks-font-weight-semi-bold));
|
|
112
112
|
}
|
|
113
113
|
.dsa-features .dsa-feature__text {
|
|
114
|
-
color: var(--dsa-feature__copy--color, var(--
|
|
114
|
+
color: var(--dsa-feature__copy--color, var(--ks-text-color-copy));
|
|
115
115
|
font: var(--dsa-feature__copy--font, var(--ks-font-copy-s));
|
|
116
116
|
margin: 0;
|
|
117
117
|
}
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
--dsa-hero_color-neutral__headline--color: var(--ks-text-color-default);
|
|
12
12
|
--dsa-hero_color-neutral__subheadline--color: var(--ks-text-color-default);
|
|
13
13
|
--dsa-hero__copy--color: var(--ks-text-color-default);
|
|
14
|
-
--dsa-hero__copy--font: var(--
|
|
14
|
+
--dsa-hero__copy--font: var(--ks-font-copy-m);
|
|
15
15
|
--dsa-hero_highlight-text__copy--font: var(--ks-font-copy-l);
|
|
16
16
|
--dsa-hero_color-neutral__copy--color: var(--ks-text-color-default);
|
|
17
17
|
--dsa-hero__textbox--background-color: var(--dsa-overlay-box_transparent--background-color);
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
--c-visual_box--color: var(--dsa-hero__copy--color, var(--ks-text-color-default));
|
|
78
78
|
--c-visual_box--border-radius: var(--dsa-hero__textbox--border-radius, var(--ks-border-radius-card));
|
|
79
79
|
--c-visual_box--padding: var(--dsa-hero__textbox--padding, var(--ks-spacing-inset-squish-xl));
|
|
80
|
-
--c-visual_text--font: var(--dsa-hero__copy--font, var(--
|
|
80
|
+
--c-visual_text--font: var(--dsa-hero__copy--font, var(--ks-font-copy-m));
|
|
81
81
|
}
|
|
82
82
|
.c-visual.dsa-hero--highlight-text.c-visual {
|
|
83
83
|
--dsa-hero__copy--font: var(--dsa-hero_highlight-text__copy--font, var(--ks-font-copy-l));
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
--dsa-image-story--gap: var(--ks-spacing-m);
|
|
3
3
|
--dsa-image-story--horizontal-padding: var(--dsa-content--horizontal-spacing);
|
|
4
4
|
--dsa-image-story--vertical-padding: var(--ks-spacing-xl);
|
|
5
|
-
--dsa-image-story__copy--font: var(--
|
|
6
|
-
--dsa-image-story__copy--color: var(--
|
|
5
|
+
--dsa-image-story__copy--font: var(--ks-font-copy-m);
|
|
6
|
+
--dsa-image-story__copy--color: var(--ks-text-color-copy);
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
.c-storytelling.dsa-image-story {
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
aspect-ratio: 1/1;
|
|
31
31
|
}
|
|
32
32
|
.c-storytelling.dsa-image-story .c-rich-text {
|
|
33
|
-
font: var(--dsa-image-story__copy--font, var(--
|
|
34
|
-
color: var(--dsa-image-story__copy--color, var(--
|
|
33
|
+
font: var(--dsa-image-story__copy--font, var(--ks-font-copy-m));
|
|
34
|
+
color: var(--dsa-image-story__copy--color, var(--ks-text-color-copy));
|
|
35
35
|
}
|
|
36
36
|
.c-storytelling.dsa-image-story .c-storytelling__box,
|
|
37
37
|
.c-storytelling.dsa-image-story .c-storytelling__image {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
.dsa-image-text {
|
|
2
|
-
--dsa-image-text--font: var(--
|
|
3
|
-
--dsa-image-text--color: var(--
|
|
2
|
+
--dsa-image-text--font: var(--ks-font-copy-m);
|
|
3
|
+
--dsa-image-text--color: var(--ks-text-color-copy);
|
|
4
4
|
--dsa-image-text_highlight--font: var(--ks-font-copy-l);
|
|
5
5
|
--dsa-image-text_highlight--color: var(--ks-text-color-default);
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
.dsa-image-text .c-rich-text {
|
|
9
|
-
--c-rich-text--font: var(--dsa-image-text--font, var(--
|
|
10
|
-
--c-rich-text--color: var(--dsa-image-text--color, var(--
|
|
9
|
+
--c-rich-text--font: var(--dsa-image-text--font, var(--ks-font-copy-m));
|
|
10
|
+
--c-rich-text--color: var(--dsa-image-text--color, var(--ks-text-color-default));
|
|
11
11
|
}
|
|
12
12
|
.dsa-image-text--highlight.dsa-image-text .c-rich-text {
|
|
13
13
|
--c-rich-text--font: var(--dsa-image-text_highlight--font, var(--ks-font-copy-l));
|
|
@@ -29,8 +29,8 @@ interface SettingsProps {
|
|
|
29
29
|
seo: SeoProps;
|
|
30
30
|
iconSprite?: IconSprite;
|
|
31
31
|
}
|
|
32
|
-
export * from "../../BlogPostProps-
|
|
33
|
-
export * from "../../BlogOverviewProps-
|
|
32
|
+
export * from "../../BlogPostProps-c760fd2a.js";
|
|
33
|
+
export * from "../../BlogOverviewProps-d62a0a9a.js";
|
|
34
34
|
export * from "../../PageProps-aa29c554.js";
|
|
35
35
|
export { IconSprite, SettingsProps };
|
|
36
36
|
export * from "../../EventDetailProps-42a7eebe.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
.dsa-mosaic {
|
|
2
2
|
--dsa-mosaic--vertical-padding: var(--l-section--space-default);
|
|
3
3
|
--dsa-mosaic--horizontal-padding: var(--dsa-content--horizontal-spacing);
|
|
4
|
-
--dsa-mosaic__copy--font: var(--
|
|
5
|
-
--dsa-mosaic__copy--color: var(--ks-text-color-
|
|
4
|
+
--dsa-mosaic__copy--font: var(--ks-font-copy-m);
|
|
5
|
+
--dsa-mosaic__copy--color: var(--ks-text-color-copy);
|
|
6
6
|
--dsa-mosaic__headline--color: var(--dsa-headline--color);
|
|
7
7
|
--dsa-mosaic__headline--font: var(--dsa-headline_h2--font);
|
|
8
8
|
--dsa-mosaic__subheadline--color: var(--dsa-headline__subheadline--color);
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
font-weight: var(--dsa-headline__subheadline--font-weight, var(--ks-font-weight-medium));
|
|
21
21
|
}
|
|
22
22
|
.dsa-mosaic .c-rich-text {
|
|
23
|
-
font: var(--dsa-mosaic__copy--font, var(--
|
|
24
|
-
color: var(--dsa-mosaic__copy--color, var(--
|
|
23
|
+
font: var(--dsa-mosaic__copy--font, var(--ks-font-copy-m));
|
|
24
|
+
color: var(--dsa-mosaic__copy--color, var(--ks-text-color-copy));
|
|
25
25
|
}
|
|
26
26
|
.dsa-mosaic .c-storytelling__box__content {
|
|
27
27
|
max-width: var(--dsa-content--width_narrow);
|
|
@@ -37,10 +37,11 @@
|
|
|
37
37
|
"title": "Style",
|
|
38
38
|
"description": "Style of background",
|
|
39
39
|
"enum": [
|
|
40
|
+
"default",
|
|
40
41
|
"framed",
|
|
41
|
-
"deko"
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
"deko"
|
|
43
|
+
],
|
|
44
|
+
"default": "default"
|
|
44
45
|
},
|
|
45
46
|
"backgroundColor": {
|
|
46
47
|
"type": "string",
|
|
@@ -224,7 +225,7 @@
|
|
|
224
225
|
"list",
|
|
225
226
|
"slider"
|
|
226
227
|
],
|
|
227
|
-
"default": "
|
|
228
|
+
"default": "default"
|
|
228
229
|
},
|
|
229
230
|
"tileWidth": {
|
|
230
231
|
"type": "string",
|
|
@@ -6,7 +6,7 @@ import { Icon } from '@kickstartds/base/lib/icon';
|
|
|
6
6
|
import { Link } from '@kickstartds/base/lib/link';
|
|
7
7
|
|
|
8
8
|
const PaginationContextDefault = forwardRef(({ pages, ariaLabels }, ref) => {
|
|
9
|
-
return (jsxs("div", { className: "dsa-pagination", ref: ref, children: [pages.findIndex((page) => page.active) !== 0 && (jsxs(Fragment, { children: [jsx(Link, { "aria-label": ariaLabels
|
|
9
|
+
return (jsxs("div", { className: "dsa-pagination", ref: ref, children: [pages.findIndex((page) => page.active) !== 0 && (jsxs(Fragment, { children: [jsx(Link, { "aria-label": ariaLabels?.skipToFirstPage || "Skip to first page", className: "dsa-pagination__link dsa-pagination__link--icon dsa-pagination__link--skip-back", href: pages[0]?.url, children: jsx(Icon, { icon: "skip-back" }) }), jsx(Link, { "aria-label": ariaLabels?.previousPage || "Go to previous page", className: "dsa-pagination__link dsa-pagination__link--icon dsa-pagination__link--prev", href: (() => {
|
|
10
10
|
const activeIndex = pages.findIndex((page) => page.active);
|
|
11
11
|
// Use the url of the next item after the active one, or "#" if at the end
|
|
12
12
|
return pages[activeIndex - 1]?.url || "#";
|
|
@@ -31,16 +31,16 @@ const PaginationContextDefault = forwardRef(({ pages, ariaLabels }, ref) => {
|
|
|
31
31
|
}
|
|
32
32
|
return;
|
|
33
33
|
}
|
|
34
|
-
result.push(jsx(Link, { className: classnames("dsa-pagination__link", page.active && "dsa-pagination__link--active"), "aria-label": `${ariaLabels
|
|
34
|
+
result.push(jsx(Link, { className: classnames("dsa-pagination__link", page.active && "dsa-pagination__link--active"), "aria-label": `${ariaLabels?.goToPage} ${index + 1}` ||
|
|
35
35
|
`Go to page ${index + 1}`, href: page.url, children: (index + 1).toString() }, index));
|
|
36
36
|
lastRenderedIndex = index;
|
|
37
37
|
});
|
|
38
38
|
return result;
|
|
39
|
-
})(), pages.findIndex((page) => page.active) !== pages.length - 1 && (jsxs(Fragment, { children: [jsx(Link, { className: "dsa-pagination__link dsa-pagination__link--icon dsa-pagination__link--next", "aria-label": ariaLabels
|
|
39
|
+
})(), pages.findIndex((page) => page.active) !== pages.length - 1 && (jsxs(Fragment, { children: [jsx(Link, { className: "dsa-pagination__link dsa-pagination__link--icon dsa-pagination__link--next", "aria-label": ariaLabels?.nextPage || "Go to next page", href: (() => {
|
|
40
40
|
const activeIndex = pages.findIndex((page) => page.active);
|
|
41
41
|
// Use the url of the next item after the active one, or "#" if at the end
|
|
42
42
|
return pages[activeIndex + 1]?.url || "#";
|
|
43
|
-
})(), children: jsx(Icon, { icon: "chevron-right" }) }), jsx(Link, { "aria-label": ariaLabels
|
|
43
|
+
})(), children: jsx(Icon, { icon: "chevron-right" }) }), jsx(Link, { "aria-label": ariaLabels?.skipToLastPage || "Skip to last page", className: "dsa-pagination__link dsa-pagination__link--icon dsa-pagination__link--skip-forward", href: pages[pages.length - 1]?.url, children: jsx(Icon, { icon: "skip-forward" }) })] }))] }));
|
|
44
44
|
});
|
|
45
45
|
const PaginationContext = createContext(PaginationContextDefault);
|
|
46
46
|
const Pagination = forwardRef((props, ref) => {
|