@kickstartds/ds-agency-premium 1.6.68--canary.45.1713.0 → 1.6.68--canary.45.1719.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BlogOverviewProps-d62a0a9a.d.ts → BlogOverviewProps-9f207f1c.d.ts} +2 -2
- package/dist/{BlogPostProps-c760fd2a.d.ts → BlogPostProps-6b3cff22.d.ts} +1 -1
- package/dist/{EventListAppointmentProps-eee8b4ec.d.ts → EventAppointmentProps-443cd1ce.d.ts} +2 -2
- package/dist/{EventDetailProps-52321b9e.d.ts → EventDetailProps-42a7eebe.d.ts} +2 -2
- package/dist/{EventTeaserProps-e00ea659.d.ts → EventLatestTeaserProps-fc9d3281.d.ts} +2 -2
- package/dist/{EventListLocationProps-f9d48acc.d.ts → EventLocationProps-dd4aeaa9.d.ts} +4 -4
- package/dist/PageProps-aa29c554.d.ts +1 -1
- package/dist/{SectionProps-00ddee3a.d.ts → SectionProps-7caa223c.d.ts} +1 -1
- package/dist/components/blog-overview/index.d.ts +1 -1
- package/dist/components/blog-post/index.d.ts +1 -1
- package/dist/components/blog-teaser/index.d.ts +1 -1
- package/dist/components/{event-list-appointment/event-list-appointment.css → event-appointment/event-appointment.css} +9 -9
- package/dist/components/{event-list-appointment/event-list-appointment.schema.dereffed.json → event-appointment/event-appointment.schema.dereffed.json} +3 -3
- package/dist/components/{event-list-appointment/event-list-appointment.schema.json → event-appointment/event-appointment.schema.json} +2 -2
- package/dist/components/event-appointment/index.d.ts +7 -0
- package/dist/components/event-appointment/index.js +14 -0
- package/dist/components/event-detail/event-detail.schema.dereffed.json +6 -6
- package/dist/components/event-detail/event-detail.schema.json +1 -1
- package/dist/components/event-detail/index.d.ts +1 -1
- package/dist/components/event-detail/index.js +3 -3
- package/dist/components/event-latest/event-latest.css +5 -0
- package/dist/components/event-latest/event-latest.schema.dereffed.json +3 -50
- package/dist/components/event-latest/event-latest.schema.json +2 -38
- package/dist/components/event-latest/index.d.ts +3 -29
- package/dist/components/event-latest/index.js +7 -3
- package/dist/components/event-latest-teaser/event-latest-teaser.css +128 -0
- package/dist/components/{event-teaser/event-teaser.schema.dereffed.json → event-latest-teaser/event-latest-teaser.schema.dereffed.json} +3 -3
- package/dist/components/{event-teaser/event-teaser.schema.json → event-latest-teaser/event-latest-teaser.schema.json} +2 -2
- package/dist/components/event-latest-teaser/index.d.ts +8 -0
- package/dist/components/event-latest-teaser/index.js +18 -0
- package/dist/components/{event-list-location/event-list-location.css → event-location/event-location.css} +16 -16
- package/dist/components/{event-list-location/event-list-location.schema.dereffed.json → event-location/event-location.schema.dereffed.json} +6 -6
- package/dist/components/{event-list-location/event-list-location.schema.json → event-location/event-location.schema.json} +3 -3
- package/dist/components/event-location/index.d.ts +7 -0
- package/dist/components/event-location/index.js +16 -0
- package/dist/components/image-story/index.d.ts +1 -1
- package/dist/components/index/index.d.ts +3 -3
- package/dist/components/page-wrapper/tokens.css +1 -1
- package/dist/components/presets.json +83 -75
- package/dist/components/section/index.d.ts +1 -1
- package/dist/global.css +1 -1
- 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/components/event-list-appointment/index.d.ts +0 -7
- package/dist/components/event-list-appointment/index.js +0 -14
- package/dist/components/event-list-location/index.d.ts +0 -7
- package/dist/components/event-list-location/index.js +0 -16
- package/dist/components/event-teaser/event-teaser.css +0 -82
- package/dist/components/event-teaser/index.d.ts +0 -8
- package/dist/components/event-teaser/index.js +0 -17
- /package/dist/{BlogTeaserProps-d62a0a9a.d.ts → BlogTeaserProps-f5855e93.d.ts} +0 -0
- /package/dist/{ImageStoryProps-00ddee3a.d.ts → ImageStoryProps-e853e1e7.d.ts} +0 -0
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
.l-container--event-latest-teaser {
|
|
2
|
+
/* stylelint-disable-next-line property-no-unknown */
|
|
3
|
+
container-name: event-latest-teaser;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.dsa-event-latest-teaser {
|
|
7
|
+
--g-link--border-radius: var(--ks-border-radius-surface);
|
|
8
|
+
display: flex;
|
|
9
|
+
gap: var(--ks-spacing-inline-s);
|
|
10
|
+
padding: var(--ks-spacing-inset-s);
|
|
11
|
+
flex-direction: column;
|
|
12
|
+
border: var(--ks-border-width-default) solid var(--ks-border-color-card-interactive);
|
|
13
|
+
}
|
|
14
|
+
@container event-latest-teaser (min-width: 640px) {
|
|
15
|
+
.dsa-event-latest-teaser {
|
|
16
|
+
flex-direction: row;
|
|
17
|
+
align-items: center;
|
|
18
|
+
gap: var(--ks-spacing-inline-m);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
.dsa-event-latest-teaser:hover {
|
|
22
|
+
border-color: var(--ks-border-color-card-interactive-hover);
|
|
23
|
+
}
|
|
24
|
+
.dsa-event-latest-teaser__content {
|
|
25
|
+
display: flex;
|
|
26
|
+
gap: var(--ks-spacing-stack-s) var(--ks-spacing-inline-s);
|
|
27
|
+
flex-grow: 1;
|
|
28
|
+
min-width: 0;
|
|
29
|
+
flex-direction: column;
|
|
30
|
+
}
|
|
31
|
+
@container event-latest-teaser (min-width: 640px) {
|
|
32
|
+
.dsa-event-latest-teaser__content {
|
|
33
|
+
flex-direction: row;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
.dsa-event-latest-teaser .dsa-event-latest-teaser-calendar {
|
|
37
|
+
align-self: start;
|
|
38
|
+
position: relative;
|
|
39
|
+
background-color: var(--ks-background-color-primary);
|
|
40
|
+
color: var(--ks-color-fg-inverted);
|
|
41
|
+
border-radius: var(--ks-border-radius-control);
|
|
42
|
+
display: flex;
|
|
43
|
+
align-items: flex-end;
|
|
44
|
+
justify-content: center;
|
|
45
|
+
gap: 0.25em;
|
|
46
|
+
padding: var(--ks-spacing-inset-s);
|
|
47
|
+
flex-shrink: 0;
|
|
48
|
+
font: var(--ks-font-display-l);
|
|
49
|
+
font-weight: var(--ks-font-weight-semi-bold);
|
|
50
|
+
}
|
|
51
|
+
@container event-latest-teaser (min-width: 640px) {
|
|
52
|
+
.dsa-event-latest-teaser .dsa-event-latest-teaser-calendar {
|
|
53
|
+
container-type: inline-size;
|
|
54
|
+
padding: var(--ks-spacing-xxs);
|
|
55
|
+
flex-direction: column;
|
|
56
|
+
align-items: center;
|
|
57
|
+
padding: var(--ks-spacing-inset-stretch-xs);
|
|
58
|
+
gap: var(--ks-spacing-xxs);
|
|
59
|
+
width: calc(var(--ks-spacing-l) * 3);
|
|
60
|
+
height: calc(var(--ks-spacing-l) * 3);
|
|
61
|
+
}
|
|
62
|
+
.dsa-event-latest-teaser .dsa-event-latest-teaser-calendar__month, .dsa-event-latest-teaser .dsa-event-latest-teaser-calendar__day {
|
|
63
|
+
font-weight: var(--ks-font-weight-semi-bold) !important;
|
|
64
|
+
font-family: var(--ks-font-family-display);
|
|
65
|
+
line-height: 1;
|
|
66
|
+
}
|
|
67
|
+
.dsa-event-latest-teaser .dsa-event-latest-teaser-calendar__day {
|
|
68
|
+
font-size: 50cqw;
|
|
69
|
+
}
|
|
70
|
+
.dsa-event-latest-teaser .dsa-event-latest-teaser-calendar__month {
|
|
71
|
+
font-size: 25cqw;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
.dsa-event-latest-teaser__text {
|
|
75
|
+
display: flex;
|
|
76
|
+
flex-direction: column;
|
|
77
|
+
justify-content: center;
|
|
78
|
+
gap: var(--ks-spacing-stack-xs);
|
|
79
|
+
flex-grow: 1;
|
|
80
|
+
}
|
|
81
|
+
.dsa-event-latest-teaser__title {
|
|
82
|
+
font: var(--ks-font-display-m);
|
|
83
|
+
font-weight: var(--ks-font-weight-semi-bold);
|
|
84
|
+
color: var(--ks-text-color-display);
|
|
85
|
+
}
|
|
86
|
+
.dsa-event-latest-teaser__infos {
|
|
87
|
+
display: flex;
|
|
88
|
+
flex-wrap: wrap;
|
|
89
|
+
gap: var(--ks-spacing-xxs) var(--ks-spacing-inline-s);
|
|
90
|
+
flex-direction: column;
|
|
91
|
+
align-items: flex-start;
|
|
92
|
+
}
|
|
93
|
+
@container event-latest-teaser (min-width: 640px) {
|
|
94
|
+
.dsa-event-latest-teaser__infos {
|
|
95
|
+
flex-direction: row;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
.dsa-event-latest-teaser__info {
|
|
99
|
+
display: flex;
|
|
100
|
+
gap: calc(var(--ks-spacing-xxs) * 0.75);
|
|
101
|
+
font: var(--ks-font-interface-s);
|
|
102
|
+
align-items: center;
|
|
103
|
+
color: var(--ks-text-color-interface);
|
|
104
|
+
}
|
|
105
|
+
.dsa-event-latest-teaser__info .icon {
|
|
106
|
+
align-self: flex-start;
|
|
107
|
+
width: calc(var(--ks-font-size-interface-s) * var(--ks-line-height-interface-s));
|
|
108
|
+
height: calc(var(--ks-font-size-interface-s) * var(--ks-line-height-interface-s));
|
|
109
|
+
color: var(--ks-text-color-primary);
|
|
110
|
+
flex-shrink: 0;
|
|
111
|
+
flex-grow: 1;
|
|
112
|
+
}
|
|
113
|
+
.dsa-event-latest-teaser__cta {
|
|
114
|
+
font: var(--ks-font-interface-s);
|
|
115
|
+
font-weight: var(--ks-font-weight-semi-bold);
|
|
116
|
+
color: var(--ks-text-color-primary);
|
|
117
|
+
display: flex;
|
|
118
|
+
align-items: center;
|
|
119
|
+
text-wrap: nowrap;
|
|
120
|
+
margin-left: auto;
|
|
121
|
+
}
|
|
122
|
+
.dsa-event-latest-teaser__cta .icon {
|
|
123
|
+
width: calc(var(--ks-font-size-interface-s) * var(--ks-line-height-interface-s));
|
|
124
|
+
height: calc(var(--ks-font-size-interface-s) * var(--ks-line-height-interface-s));
|
|
125
|
+
color: var(--ks-text-color-primary);
|
|
126
|
+
flex-shrink: 0;
|
|
127
|
+
flex-grow: 1;
|
|
128
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "http://schema.mydesignsystem.com/event-teaser.schema.json",
|
|
4
|
-
"title": "Event Teaser",
|
|
3
|
+
"$id": "http://schema.mydesignsystem.com/event-latest-teaser.schema.json",
|
|
4
|
+
"title": "Event Latest Teaser",
|
|
5
5
|
"description": "Display an event teaser with date, title and location",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"properties": {
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"type": "string"
|
|
86
86
|
},
|
|
87
87
|
"type": {
|
|
88
|
-
"const": "event-teaser"
|
|
88
|
+
"const": "event-latest-teaser"
|
|
89
89
|
}
|
|
90
90
|
},
|
|
91
91
|
"additionalProperties": false,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "http://schema.mydesignsystem.com/event-teaser.schema.json",
|
|
4
|
-
"title": "Event Teaser",
|
|
3
|
+
"$id": "http://schema.mydesignsystem.com/event-latest-teaser.schema.json",
|
|
4
|
+
"title": "Event Latest Teaser",
|
|
5
5
|
"description": "Display an event teaser with date, title and location",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"properties": {
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { HTMLAttributes } from "react";
|
|
3
|
+
import { EventLatestTeaserProps } from "../../EventLatestTeaserProps-fc9d3281.js";
|
|
4
|
+
declare const EventLatestTeaserContextDefault: import("react").ForwardRefExoticComponent<EventLatestTeaserProps & HTMLAttributes<HTMLAnchorElement> & import("react").RefAttributes<HTMLAnchorElement>>;
|
|
5
|
+
declare const EventLatestTeaserContext: import("react").Context<import("react").ForwardRefExoticComponent<EventLatestTeaserProps & HTMLAttributes<HTMLAnchorElement> & import("react").RefAttributes<HTMLAnchorElement>>>;
|
|
6
|
+
declare const EventLatestTeaser: import("react").ForwardRefExoticComponent<EventLatestTeaserProps & HTMLAttributes<HTMLAnchorElement> & import("react").RefAttributes<HTMLAnchorElement>>;
|
|
7
|
+
export type { EventLatestTeaserProps };
|
|
8
|
+
export { EventLatestTeaserContextDefault, EventLatestTeaserContext, EventLatestTeaser };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import "./event-latest-teaser.css";
|
|
2
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
3
|
+
import classnames from 'classnames';
|
|
4
|
+
import { forwardRef, createContext, useContext } from 'react';
|
|
5
|
+
import { Icon } from '@kickstartds/base/lib/icon';
|
|
6
|
+
import { Container } from '@kickstartds/core/lib/container';
|
|
7
|
+
|
|
8
|
+
const EventLatestTeaserContextDefault = forwardRef(({ date, title, cta, calendar, url, location, ariaLabel, className, ...rest }, ref) => {
|
|
9
|
+
return (jsx(Container, { name: "event-latest-teaser", children: jsxs("a", { className: classnames(className, "dsa-event-latest-teaser"), ...rest, href: url, ref: ref, "aria-label": ariaLabel, children: [jsxs("span", { className: "dsa-event-latest-teaser__content", children: [jsxs("span", { className: "dsa-event-latest-teaser-calendar", children: [jsx("span", { className: "dsa-event-latest-teaser-calendar__day", children: calendar.day }), jsx("span", { className: "dsa-event-latest-teaser-calendar__month", children: calendar.month })] }), jsxs("span", { className: "dsa-event-latest-teaser__text", children: [jsx("span", { className: "dsa-event-latest-teaser__title", children: title }), jsxs("span", { className: "dsa-event-latest-teaser__infos", children: [jsxs("span", { className: "dsa-event-latest-teaser__info", children: [jsx(Icon, { "aria-hidden": true, icon: "date" }), date] }), jsxs("span", { className: "dsa-event-latest-teaser__info", children: [jsx(Icon, { "aria-hidden": true, icon: "map-pin" }), location] })] })] })] }), jsxs("span", { className: "dsa-event-latest-teaser__cta", children: [jsx("span", { children: cta }), jsx(Icon, { "aria-hidden": true, icon: "chevron-right" })] })] }) }));
|
|
10
|
+
});
|
|
11
|
+
const EventLatestTeaserContext = createContext(EventLatestTeaserContextDefault);
|
|
12
|
+
const EventLatestTeaser = forwardRef((props, ref) => {
|
|
13
|
+
const Component = useContext(EventLatestTeaserContext);
|
|
14
|
+
return jsx(Component, { ...props, ref: ref });
|
|
15
|
+
});
|
|
16
|
+
EventLatestTeaser.displayName = "EventLatestTeaser";
|
|
17
|
+
|
|
18
|
+
export { EventLatestTeaser, EventLatestTeaserContext, EventLatestTeaserContextDefault };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
.dsa-event-
|
|
2
|
-
--dsa-event-
|
|
1
|
+
.dsa-event-location {
|
|
2
|
+
--dsa-event-location__icon--size: calc(var(--ks-font-size-copy-m) * var(--ks-line-height-copy-m));
|
|
3
3
|
flex-wrap: wrap;
|
|
4
4
|
display: flex;
|
|
5
5
|
flex-direction: row;
|
|
@@ -9,35 +9,35 @@
|
|
|
9
9
|
padding: var(--ks-spacing-inset-m);
|
|
10
10
|
border-radius: var(--ks-border-radius-surface);
|
|
11
11
|
}
|
|
12
|
-
.dsa-event-
|
|
12
|
+
.dsa-event-location + .dsa-event-location {
|
|
13
13
|
margin-top: var(--ks-spacing-stack-m);
|
|
14
14
|
}
|
|
15
|
-
.dsa-event-
|
|
15
|
+
.dsa-event-location__content {
|
|
16
16
|
display: flex;
|
|
17
17
|
flex-direction: column;
|
|
18
18
|
gap: var(--ks-spacing-stack-s);
|
|
19
19
|
flex-grow: 0;
|
|
20
20
|
flex-grow: 0;
|
|
21
21
|
}
|
|
22
|
-
.dsa-event-
|
|
22
|
+
.dsa-event-location__name {
|
|
23
23
|
font: var(--ks-font-interface-m);
|
|
24
24
|
color: var(--dsa-topic--color);
|
|
25
25
|
font-weight: var(--dsa-topic--font-weight);
|
|
26
26
|
}
|
|
27
|
-
.dsa-event-
|
|
27
|
+
.dsa-event-location__links {
|
|
28
28
|
display: flex;
|
|
29
29
|
flex-direction: column;
|
|
30
30
|
justify-content: flex-end;
|
|
31
31
|
gap: var(--ks-spacing-xxs);
|
|
32
32
|
}
|
|
33
|
-
.dsa-event-
|
|
33
|
+
.dsa-event-location__link {
|
|
34
34
|
font: var(--ks-font-interface-s);
|
|
35
35
|
}
|
|
36
|
-
.dsa-event-
|
|
36
|
+
.dsa-event-location__icon {
|
|
37
37
|
width: 2rem;
|
|
38
38
|
height: 2rem;
|
|
39
39
|
}
|
|
40
|
-
.dsa-event-
|
|
40
|
+
.dsa-event-location__row {
|
|
41
41
|
display: flex;
|
|
42
42
|
flex-direction: row;
|
|
43
43
|
gap: var(--ks-spacing-inline-m);
|
|
@@ -46,21 +46,21 @@
|
|
|
46
46
|
flex-grow: 1;
|
|
47
47
|
flex-basis: 200px;
|
|
48
48
|
}
|
|
49
|
-
.dsa-event-
|
|
49
|
+
.dsa-event-location__icon {
|
|
50
50
|
color: var(--ks-text-color-primary);
|
|
51
|
-
width: var(--dsa-event-
|
|
52
|
-
height: var(--dsa-event-
|
|
51
|
+
width: var(--dsa-event-location__icon--size);
|
|
52
|
+
height: var(--dsa-event-location__icon--size);
|
|
53
53
|
}
|
|
54
|
-
.dsa-event-
|
|
54
|
+
.dsa-event-location__item {
|
|
55
55
|
display: flex;
|
|
56
|
-
gap: var(--ks-spacing-
|
|
56
|
+
gap: var(--ks-spacing-inline-xs);
|
|
57
57
|
}
|
|
58
|
-
.dsa-event-
|
|
58
|
+
.dsa-event-location__appointments {
|
|
59
59
|
display: flex;
|
|
60
60
|
flex-direction: column;
|
|
61
61
|
gap: var(--ks-spacing-stack-s);
|
|
62
62
|
flex-grow: 1;
|
|
63
63
|
}
|
|
64
|
-
.dsa-event-
|
|
64
|
+
.dsa-event-location .l-container--rich-text {
|
|
65
65
|
container-type: normal;
|
|
66
66
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "http://schema.mydesignsystem.com/event-
|
|
4
|
-
"title": "Event
|
|
3
|
+
"$id": "http://schema.mydesignsystem.com/event-location.schema.json",
|
|
4
|
+
"title": "Event Location",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"dates": {
|
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
"type": "array",
|
|
11
11
|
"items": {
|
|
12
12
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
13
|
-
"$id": "http://schema.mydesignsystem.com/event-
|
|
14
|
-
"title": "Event
|
|
13
|
+
"$id": "http://schema.mydesignsystem.com/event-appointment.schema.json",
|
|
14
|
+
"title": "Event Appointment",
|
|
15
15
|
"type": "object",
|
|
16
16
|
"properties": {
|
|
17
17
|
"date": {
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"default": "Event Appointment"
|
|
60
60
|
},
|
|
61
61
|
"type": {
|
|
62
|
-
"const": "event-
|
|
62
|
+
"const": "event-appointment"
|
|
63
63
|
}
|
|
64
64
|
},
|
|
65
65
|
"additionalProperties": false
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
}
|
|
110
110
|
},
|
|
111
111
|
"type": {
|
|
112
|
-
"const": "event-
|
|
112
|
+
"const": "event-location"
|
|
113
113
|
}
|
|
114
114
|
},
|
|
115
115
|
"additionalProperties": false
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "http://schema.mydesignsystem.com/event-
|
|
4
|
-
"title": "Event
|
|
3
|
+
"$id": "http://schema.mydesignsystem.com/event-location.schema.json",
|
|
4
|
+
"title": "Event Location",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"dates": {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"description": "List of dates of the event",
|
|
10
10
|
"type": "array",
|
|
11
11
|
"items": {
|
|
12
|
-
"$ref": "http://schema.mydesignsystem.com/event-
|
|
12
|
+
"$ref": "http://schema.mydesignsystem.com/event-appointment.schema.json"
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"locationName": {
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { EventLocationProps } from "../../EventLocationProps-dd4aeaa9.js";
|
|
3
|
+
declare const EventLocationContextDefault: import("react").ForwardRefExoticComponent<EventLocationProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
4
|
+
declare const EventLocationContext: import("react").Context<import("react").ForwardRefExoticComponent<EventLocationProps & import("react").RefAttributes<HTMLDivElement>>>;
|
|
5
|
+
declare const EventLocation: import("react").ForwardRefExoticComponent<EventLocationProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
6
|
+
export type { EventLocationProps };
|
|
7
|
+
export { EventLocationContextDefault, EventLocationContext, EventLocation };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import "./event-location.css";
|
|
2
|
+
import { forwardRef, createElement, createContext, useContext } from 'react';
|
|
3
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
4
|
+
import { RichText } from '@kickstartds/base/lib/rich-text';
|
|
5
|
+
import { Icon } from '@kickstartds/base/lib/icon';
|
|
6
|
+
import { EventAppointment } from '../event-appointment/index.js';
|
|
7
|
+
|
|
8
|
+
const EventLocationContextDefault = forwardRef(({ locationName, address, dates, links, ...rest }, ref) => (jsxs("div", { className: "dsa-event-location", ...rest, ref: ref, children: [address && (jsx("div", { className: "dsa-event-location__row", children: jsxs("div", { className: "dsa-event-location__item ", children: [jsx(Icon, { className: "dsa-event-location__icon", icon: "map-pin", "aria-hidden": true }), jsxs("div", { className: "dsa-event-location__content", children: [jsx("span", { className: "sr-only", children: "Address:" }), jsxs("address", { className: "dsa-event-location__address", children: [locationName && (jsx("span", { className: "dsa-event-location__name", children: locationName })), address && jsx(RichText, { text: address })] }), links && links.length > 0 && (jsx("div", { className: "dsa-event-location__links", children: links.map((link, index) => (jsx("a", { href: link.url, target: link.newTab ? "_blank" : "_self", className: "dsa-event-location__link", children: link.label }, index))) }))] })] }) })), dates && dates.length > 0 && (jsxs("div", { className: "dsa-event-location__appointments", children: [jsx("span", { className: "sr-only", children: "Appointments:" }), dates.map((item, index) => (createElement(EventAppointment, { ...item, key: index })))] }))] })));
|
|
9
|
+
const EventLocationContext = createContext(EventLocationContextDefault);
|
|
10
|
+
const EventLocation = forwardRef((props, ref) => {
|
|
11
|
+
const Component = useContext(EventLocationContext);
|
|
12
|
+
return jsx(Component, { ...props, ref: ref });
|
|
13
|
+
});
|
|
14
|
+
EventLocation.displayName = "EventLocation";
|
|
15
|
+
|
|
16
|
+
export { EventLocation, EventLocationContext, EventLocationContextDefault };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { HTMLAttributes } from "react";
|
|
3
|
-
import { ImageStoryProps } from "../../ImageStoryProps-
|
|
3
|
+
import { ImageStoryProps } from "../../ImageStoryProps-e853e1e7.js";
|
|
4
4
|
declare const ImageStoryContextDefault: import("react").ForwardRefExoticComponent<ImageStoryProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
5
|
declare const ImageStoryContext: import("react").Context<import("react").ForwardRefExoticComponent<ImageStoryProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>>;
|
|
6
6
|
declare const ImageStory: import("react").ForwardRefExoticComponent<ImageStoryProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -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-6b3cff22.js";
|
|
33
|
+
export * from "../../BlogOverviewProps-9f207f1c.js";
|
|
34
34
|
export * from "../../PageProps-aa29c554.js";
|
|
35
35
|
export { IconSprite, SettingsProps };
|
|
36
|
-
export * from "../../EventDetailProps-
|
|
36
|
+
export * from "../../EventDetailProps-42a7eebe.js";
|
|
@@ -1520,6 +1520,21 @@
|
|
|
1520
1520
|
},
|
|
1521
1521
|
"screenshot": "img/screenshots/industry-downloads--mixed.png"
|
|
1522
1522
|
},
|
|
1523
|
+
{
|
|
1524
|
+
"id": "event-event-appointment--default",
|
|
1525
|
+
"group": "Event/ Event Appointment",
|
|
1526
|
+
"name": "Default",
|
|
1527
|
+
"code": "<EventAppointment\n ariaLabel=\"Register for the event on 18th September 2025 from 09:00 to 17:00\"\n date=\"2025-09-18\"\n label=\"Register\"\n newTab\n time=\"09:00 – 17:00\"\n url=\"#\"\n/>",
|
|
1528
|
+
"args": {
|
|
1529
|
+
"date": "2025-09-18",
|
|
1530
|
+
"time": "09:00 – 17:00",
|
|
1531
|
+
"label": "Register",
|
|
1532
|
+
"url": "#",
|
|
1533
|
+
"newTab": true,
|
|
1534
|
+
"ariaLabel": "Register for the event on 18th September 2025 from 09:00 to 17:00"
|
|
1535
|
+
},
|
|
1536
|
+
"screenshot": "img/screenshots/event-event-appointment--default.png"
|
|
1537
|
+
},
|
|
1523
1538
|
{
|
|
1524
1539
|
"id": "event-event-header--default",
|
|
1525
1540
|
"group": "Event/ Event Header",
|
|
@@ -1539,77 +1554,93 @@
|
|
|
1539
1554
|
},
|
|
1540
1555
|
"screenshot": "img/screenshots/event-event-header--default.png"
|
|
1541
1556
|
},
|
|
1557
|
+
{
|
|
1558
|
+
"id": "event-event-latest-teaser--default",
|
|
1559
|
+
"group": "Event/ Event Latest Teaser",
|
|
1560
|
+
"name": "Default",
|
|
1561
|
+
"code": "<EventLatestTeaser\n ariaLabel=\"Event teaser for \"\n calendar={{\n day: '30',\n month: 'Dec'\n }}\n cta=\"Show event\"\n date=\"12/30/2025\"\n link={{\n text: 'Show event',\n url: '#'\n }}\n location=\"Berlin, Germany\"\n title=\"The Future of AI\"\n url=\"https://example.com\"\n/>",
|
|
1562
|
+
"args": {
|
|
1563
|
+
"date": "12/30/2025",
|
|
1564
|
+
"calendar": {
|
|
1565
|
+
"month": "Dec",
|
|
1566
|
+
"day": "30"
|
|
1567
|
+
},
|
|
1568
|
+
"title": "The Future of AI",
|
|
1569
|
+
"location": "Berlin, Germany",
|
|
1570
|
+
"url": "https://example.com",
|
|
1571
|
+
"cta": "Show event",
|
|
1572
|
+
"ariaLabel": "Event teaser for ",
|
|
1573
|
+
"link": {
|
|
1574
|
+
"url": "#",
|
|
1575
|
+
"text": "Show event"
|
|
1576
|
+
}
|
|
1577
|
+
},
|
|
1578
|
+
"screenshot": "img/screenshots/event-event-latest-teaser--default.png"
|
|
1579
|
+
},
|
|
1542
1580
|
{
|
|
1543
1581
|
"id": "event-event-latest--default",
|
|
1544
1582
|
"group": "Event/ Event Latest",
|
|
1545
1583
|
"name": "Default",
|
|
1546
|
-
"code": "<EventLatest\n events={[\n {\n ariaLabel: '
|
|
1584
|
+
"code": "<EventLatest\n events={[\n {\n ariaLabel: 'Systemics Design Conference on September 18, 2025 in Berlin',\n calendar: {\n day: '18',\n month: 'Sep'\n },\n cta: 'View event',\n date: '09/18/2025',\n location: 'Berlin Congress Center, Berlin',\n title: 'Systemics Design Conference',\n url: 'https://systemics.events/conference-berlin'\n },\n {\n ariaLabel: 'UX Leadership Summit on October 5, 2025 in Cologne',\n calendar: {\n day: '05',\n month: 'Oct'\n },\n cta: 'View event',\n date: '10/05/2025',\n location: 'Köln Messe, Cologne',\n title: 'UX Leadership Summit',\n url: 'https://uxsummit.de/koeln-2025'\n },\n {\n ariaLabel: 'Frontend Future Days on November 12, 2025 in Hamburg',\n calendar: {\n day: '12',\n month: 'Nov'\n },\n cta: 'View event',\n date: '11/12/2025',\n location: 'Hamburg Digital Campus, Hamburg',\n title: 'Frontend Future Days',\n url: 'https://frontendfuture.de/hamburg'\n },\n {\n ariaLabel: 'Accessibility in Practice Workshop on December 1, 2025 online',\n calendar: {\n day: '01',\n month: 'Dec'\n },\n cta: 'View event',\n date: '12/01/2025',\n location: 'Online',\n title: 'Accessibility in Practice Workshop',\n url: 'https://a11yworkshop.com/dec-2025'\n }\n ]}\n />",
|
|
1547
1585
|
"args": {
|
|
1548
|
-
"headline": "Latest events",
|
|
1549
|
-
"text": "Check out our upcoming events and mark your calendar!",
|
|
1550
1586
|
"events": [
|
|
1551
1587
|
{
|
|
1552
|
-
"date": "
|
|
1588
|
+
"date": "09/18/2025",
|
|
1553
1589
|
"calendar": {
|
|
1554
|
-
"month": "
|
|
1555
|
-
"day": "
|
|
1590
|
+
"month": "Sep",
|
|
1591
|
+
"day": "18"
|
|
1556
1592
|
},
|
|
1557
|
-
"title": "
|
|
1558
|
-
"location": "
|
|
1559
|
-
"url": "https://
|
|
1560
|
-
"cta": "
|
|
1561
|
-
"ariaLabel": "
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
|
|
1593
|
+
"title": "Systemics Design Conference",
|
|
1594
|
+
"location": "Berlin Congress Center, Berlin",
|
|
1595
|
+
"url": "https://systemics.events/conference-berlin",
|
|
1596
|
+
"cta": "View event",
|
|
1597
|
+
"ariaLabel": "Systemics Design Conference on September 18, 2025 in Berlin"
|
|
1598
|
+
},
|
|
1599
|
+
{
|
|
1600
|
+
"date": "10/05/2025",
|
|
1601
|
+
"calendar": {
|
|
1602
|
+
"month": "Oct",
|
|
1603
|
+
"day": "05"
|
|
1604
|
+
},
|
|
1605
|
+
"title": "UX Leadership Summit",
|
|
1606
|
+
"location": "Köln Messe, Cologne",
|
|
1607
|
+
"url": "https://uxsummit.de/koeln-2025",
|
|
1608
|
+
"cta": "View event",
|
|
1609
|
+
"ariaLabel": "UX Leadership Summit on October 5, 2025 in Cologne"
|
|
1610
|
+
},
|
|
1611
|
+
{
|
|
1612
|
+
"date": "11/12/2025",
|
|
1613
|
+
"calendar": {
|
|
1614
|
+
"month": "Nov",
|
|
1615
|
+
"day": "12"
|
|
1616
|
+
},
|
|
1617
|
+
"title": "Frontend Future Days",
|
|
1618
|
+
"location": "Hamburg Digital Campus, Hamburg",
|
|
1619
|
+
"url": "https://frontendfuture.de/hamburg",
|
|
1620
|
+
"cta": "View event",
|
|
1621
|
+
"ariaLabel": "Frontend Future Days on November 12, 2025 in Hamburg"
|
|
1567
1622
|
},
|
|
1568
1623
|
{
|
|
1569
|
-
"date": "01/
|
|
1624
|
+
"date": "12/01/2025",
|
|
1570
1625
|
"calendar": {
|
|
1571
1626
|
"month": "Dec",
|
|
1572
|
-
"day": "
|
|
1627
|
+
"day": "01"
|
|
1573
1628
|
},
|
|
1574
|
-
"title": "
|
|
1575
|
-
"location": "
|
|
1576
|
-
"url": "https://
|
|
1577
|
-
"cta": "
|
|
1578
|
-
"ariaLabel": "
|
|
1579
|
-
"headline": "Event 2",
|
|
1580
|
-
"link": {
|
|
1581
|
-
"url": "https://example.com/event2",
|
|
1582
|
-
"text": "Show event 2"
|
|
1583
|
-
}
|
|
1629
|
+
"title": "Accessibility in Practice Workshop",
|
|
1630
|
+
"location": "Online",
|
|
1631
|
+
"url": "https://a11yworkshop.com/dec-2025",
|
|
1632
|
+
"cta": "View event",
|
|
1633
|
+
"ariaLabel": "Accessibility in Practice Workshop on December 1, 2025 online"
|
|
1584
1634
|
}
|
|
1585
|
-
]
|
|
1586
|
-
"link": {
|
|
1587
|
-
"url": "#",
|
|
1588
|
-
"text": "Show event"
|
|
1589
|
-
}
|
|
1635
|
+
]
|
|
1590
1636
|
},
|
|
1591
1637
|
"screenshot": "img/screenshots/event-event-latest--default.png"
|
|
1592
1638
|
},
|
|
1593
1639
|
{
|
|
1594
|
-
"id": "event-event-
|
|
1595
|
-
"group": "Event/ Event
|
|
1596
|
-
"name": "Default",
|
|
1597
|
-
"code": "<EventListAppointment\n ariaLabel=\"Register for the event on 18th September 2025 from 09:00 to 17:00\"\n date=\"2025-09-18\"\n label=\"Register\"\n newTab\n time=\"09:00 – 17:00\"\n url=\"#\"\n/>",
|
|
1598
|
-
"args": {
|
|
1599
|
-
"date": "2025-09-18",
|
|
1600
|
-
"time": "09:00 – 17:00",
|
|
1601
|
-
"label": "Register",
|
|
1602
|
-
"url": "#",
|
|
1603
|
-
"newTab": true,
|
|
1604
|
-
"ariaLabel": "Register for the event on 18th September 2025 from 09:00 to 17:00"
|
|
1605
|
-
},
|
|
1606
|
-
"screenshot": "img/screenshots/event-event-list-appointment--default.png"
|
|
1607
|
-
},
|
|
1608
|
-
{
|
|
1609
|
-
"id": "event-event-list-location--default",
|
|
1610
|
-
"group": "Event/ Event List Location",
|
|
1640
|
+
"id": "event-event-location--default",
|
|
1641
|
+
"group": "Event/ Event Location",
|
|
1611
1642
|
"name": "Default",
|
|
1612
|
-
"code": "<
|
|
1643
|
+
"code": "<EventLocation\n address=\"Alexanderplatz 1<br />\n 10178 Berlin\"\n dates={[\n {\n ariaLabel: 'Register for the event on 18th September 2025 from 09:00 to 17:00',\n date: '2025-09-18',\n label: 'Register',\n newTab: true,\n time: '09:00 – 17:00',\n url: '#'\n },\n {\n ariaLabel: 'Register for the event on 18th September 2025 from 09:00 to 17:00',\n date: '2025-09-18',\n label: 'Register',\n newTab: true,\n time: '09:00 – 17:00',\n url: '#'\n }\n ]}\n links={[\n {\n label: 'Open in Google Maps',\n newTab: true,\n url: 'https://maps.google.com/?q=Berlin+Congress+Center'\n },\n {\n label: 'Location Website',\n newTab: true,\n url: 'https://maps.google.com/?q=Berlin+Congress+Center'\n }\n ]}\n locationName=\"Berlin Congress Center\"\n/>",
|
|
1613
1644
|
"args": {
|
|
1614
1645
|
"dates": [
|
|
1615
1646
|
{
|
|
@@ -1644,30 +1675,7 @@
|
|
|
1644
1675
|
}
|
|
1645
1676
|
]
|
|
1646
1677
|
},
|
|
1647
|
-
"screenshot": "img/screenshots/event-event-
|
|
1648
|
-
},
|
|
1649
|
-
{
|
|
1650
|
-
"id": "event-event-teaser--default",
|
|
1651
|
-
"group": "Event/ Event Teaser",
|
|
1652
|
-
"name": "Default",
|
|
1653
|
-
"code": "<EventTeaser\n ariaLabel=\"Event teaser for \"\n calendar={{\n day: '30',\n month: 'Dec'\n }}\n cta=\"Show event\"\n date=\"12/30/2025\"\n link={{\n text: 'Show event',\n url: '#'\n }}\n location=\"Berlin, Germany\"\n title=\"The Future of AI\"\n url=\"https://example.com\"\n/>",
|
|
1654
|
-
"args": {
|
|
1655
|
-
"date": "12/30/2025",
|
|
1656
|
-
"calendar": {
|
|
1657
|
-
"month": "Dec",
|
|
1658
|
-
"day": "30"
|
|
1659
|
-
},
|
|
1660
|
-
"title": "The Future of AI",
|
|
1661
|
-
"location": "Berlin, Germany",
|
|
1662
|
-
"url": "https://example.com",
|
|
1663
|
-
"cta": "Show event",
|
|
1664
|
-
"ariaLabel": "Event teaser for ",
|
|
1665
|
-
"link": {
|
|
1666
|
-
"url": "#",
|
|
1667
|
-
"text": "Show event"
|
|
1668
|
-
}
|
|
1669
|
-
},
|
|
1670
|
-
"screenshot": "img/screenshots/event-event-teaser--default.png"
|
|
1678
|
+
"screenshot": "img/screenshots/event-event-location--default.png"
|
|
1671
1679
|
},
|
|
1672
1680
|
{
|
|
1673
1681
|
"id": "components-faq--dropdown-list",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { HTMLAttributes, FC, PropsWithChildren } from "react";
|
|
3
|
-
import { SectionProps } from "../../SectionProps-
|
|
3
|
+
import { SectionProps } from "../../SectionProps-7caa223c.js";
|
|
4
4
|
declare const SectionContextDefault: import("react").ForwardRefExoticComponent<SectionProps & Omit<HTMLAttributes<HTMLElement>, "style" | "content"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
5
|
declare const SectionContext: import("react").Context<import("react").ForwardRefExoticComponent<SectionProps & Omit<HTMLAttributes<HTMLElement>, "style" | "content"> & import("react").RefAttributes<HTMLDivElement>>>;
|
|
6
6
|
declare const Section: import("react").ForwardRefExoticComponent<SectionProps & Omit<HTMLAttributes<HTMLElement>, "style" | "content"> & import("react").RefAttributes<HTMLDivElement>>;
|
package/dist/global.css
CHANGED
|
@@ -347,7 +347,7 @@ h3 {
|
|
|
347
347
|
[ks-inverted=false],
|
|
348
348
|
[ks-inverted=true] {
|
|
349
349
|
--spacing-base: 18px;
|
|
350
|
-
--spacing-shrink-factor: 0.
|
|
350
|
+
--spacing-shrink-factor: 0.65;
|
|
351
351
|
--spacing-grow-factor: 1.275;
|
|
352
352
|
--spacing-bp-factor: 1.0135;
|
|
353
353
|
--spacing-xxs-bp-factor: calc(1 * var(--spacing-bp-factor));
|