@kickstartds/ds-agency-premium 1.6.68--canary.45.1713.0 → 1.6.68--canary.45.1716.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.
Files changed (50) hide show
  1. package/dist/{BlogOverviewProps-d62a0a9a.d.ts → BlogOverviewProps-9f207f1c.d.ts} +2 -2
  2. package/dist/{BlogPostProps-c760fd2a.d.ts → BlogPostProps-6b3cff22.d.ts} +1 -1
  3. package/dist/{EventListAppointmentProps-eee8b4ec.d.ts → EventAppointmentProps-443cd1ce.d.ts} +2 -2
  4. package/dist/{EventDetailProps-52321b9e.d.ts → EventDetailProps-42a7eebe.d.ts} +2 -2
  5. package/dist/{EventTeaserProps-e00ea659.d.ts → EventLatestTeaserProps-fc9d3281.d.ts} +2 -2
  6. package/dist/{EventListLocationProps-f9d48acc.d.ts → EventLocationProps-dd4aeaa9.d.ts} +4 -4
  7. package/dist/PageProps-aa29c554.d.ts +1 -1
  8. package/dist/{SectionProps-00ddee3a.d.ts → SectionProps-7caa223c.d.ts} +1 -1
  9. package/dist/components/blog-overview/index.d.ts +1 -1
  10. package/dist/components/blog-post/index.d.ts +1 -1
  11. package/dist/components/blog-teaser/index.d.ts +1 -1
  12. package/dist/components/{event-list-appointment/event-list-appointment.css → event-appointment/event-appointment.css} +9 -9
  13. package/dist/components/{event-list-appointment/event-list-appointment.schema.dereffed.json → event-appointment/event-appointment.schema.dereffed.json} +3 -3
  14. package/dist/components/{event-list-appointment/event-list-appointment.schema.json → event-appointment/event-appointment.schema.json} +2 -2
  15. package/dist/components/event-appointment/index.d.ts +7 -0
  16. package/dist/components/event-appointment/index.js +14 -0
  17. package/dist/components/event-detail/event-detail.schema.dereffed.json +6 -6
  18. package/dist/components/event-detail/event-detail.schema.json +1 -1
  19. package/dist/components/event-detail/index.d.ts +1 -1
  20. package/dist/components/event-detail/index.js +3 -3
  21. package/dist/components/event-latest/event-latest.schema.dereffed.json +3 -3
  22. package/dist/components/event-latest/event-latest.schema.json +1 -1
  23. package/dist/components/event-latest/index.d.ts +3 -3
  24. package/dist/components/{event-teaser/event-teaser.css → event-latest-teaser/event-latest-teaser.css} +13 -13
  25. package/dist/components/{event-teaser/event-teaser.schema.dereffed.json → event-latest-teaser/event-latest-teaser.schema.dereffed.json} +3 -3
  26. package/dist/components/{event-teaser/event-teaser.schema.json → event-latest-teaser/event-latest-teaser.schema.json} +2 -2
  27. package/dist/components/event-latest-teaser/index.d.ts +8 -0
  28. package/dist/components/event-latest-teaser/index.js +17 -0
  29. package/dist/components/{event-list-location/event-list-location.css → event-location/event-location.css} +15 -15
  30. package/dist/components/{event-list-location/event-list-location.schema.dereffed.json → event-location/event-location.schema.dereffed.json} +6 -6
  31. package/dist/components/{event-list-location/event-list-location.schema.json → event-location/event-location.schema.json} +3 -3
  32. package/dist/components/event-location/index.d.ts +7 -0
  33. package/dist/components/event-location/index.js +16 -0
  34. package/dist/components/image-story/index.d.ts +1 -1
  35. package/dist/components/index/index.d.ts +3 -3
  36. package/dist/components/page-wrapper/tokens.css +1 -1
  37. package/dist/components/presets.json +42 -42
  38. package/dist/components/section/index.d.ts +1 -1
  39. package/dist/tokens/themes.css +4 -4
  40. package/dist/tokens/tokens.css +1 -1
  41. package/dist/tokens/tokens.js +1 -1
  42. package/package.json +1 -1
  43. package/dist/components/event-list-appointment/index.d.ts +0 -7
  44. package/dist/components/event-list-appointment/index.js +0 -14
  45. package/dist/components/event-list-location/index.d.ts +0 -7
  46. package/dist/components/event-list-location/index.js +0 -16
  47. package/dist/components/event-teaser/index.d.ts +0 -8
  48. package/dist/components/event-teaser/index.js +0 -17
  49. /package/dist/{BlogTeaserProps-d62a0a9a.d.ts → BlogTeaserProps-f5855e93.d.ts} +0 -0
  50. /package/dist/{ImageStoryProps-00ddee3a.d.ts → ImageStoryProps-e853e1e7.d.ts} +0 -0
@@ -3,8 +3,8 @@
3
3
  * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
4
4
  * and run json-schema-to-typescript to regenerate this file.
5
5
  */
6
- import { SectionProps } from "./SectionProps-00ddee3a.js";
7
- import { BlogTeaserProps } from "./BlogTeaserProps-d62a0a9a.js";
6
+ import { SectionProps } from "./SectionProps-7caa223c.js";
7
+ import { BlogTeaserProps } from "./BlogTeaserProps-f5855e93.js";
8
8
  import { CtaProps } from "./CtaProps-babe4ee6.js";
9
9
  import { SeoProps } from "./SeoProps-f2d6dcaa.js";
10
10
  /**
@@ -5,7 +5,7 @@
5
5
  */
6
6
  import { BlogHeadProps } from "./BlogHeadProps-c04a5ed8.js";
7
7
  import { BlogAsideProps } from "./BlogAsideProps-c760fd2a.js";
8
- import { SectionProps } from "./SectionProps-00ddee3a.js";
8
+ import { SectionProps } from "./SectionProps-7caa223c.js";
9
9
  import { CtaProps } from "./CtaProps-babe4ee6.js";
10
10
  import { SeoProps } from "./SeoProps-f2d6dcaa.js";
11
11
  /**
@@ -27,7 +27,7 @@ type OpenInNewTab = boolean;
27
27
  * Aria label for the link
28
28
  */
29
29
  type AriaLabel = string;
30
- interface EventListAppointmentProps {
30
+ interface EventAppointmentProps {
31
31
  date?: Date;
32
32
  time?: Time;
33
33
  label?: CTALabel;
@@ -35,4 +35,4 @@ interface EventListAppointmentProps {
35
35
  newTab?: OpenInNewTab;
36
36
  ariaLabel?: AriaLabel;
37
37
  }
38
- export { Date, Time, CTALabel, URL, OpenInNewTab, AriaLabel, EventListAppointmentProps };
38
+ export { Date, Time, CTALabel, URL, OpenInNewTab, AriaLabel, EventAppointmentProps };
@@ -3,7 +3,7 @@
3
3
  * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
4
4
  * and run json-schema-to-typescript to regenerate this file.
5
5
  */
6
- import { EventListLocationProps } from "./EventListLocationProps-f9d48acc.js";
6
+ import { EventLocationProps } from "./EventLocationProps-dd4aeaa9.js";
7
7
  /**
8
8
  * Title of the event
9
9
  */
@@ -25,7 +25,7 @@ type Intro = string;
25
25
  /**
26
26
  * List of locations with attendable appointments
27
27
  */
28
- type Locations = EventListLocationProps[];
28
+ type Locations = EventLocationProps[];
29
29
  /**
30
30
  * Description of the event
31
31
  */
@@ -38,7 +38,7 @@ type ARIALabel = string;
38
38
  /**
39
39
  * Display an event teaser with date, title and location
40
40
  */
41
- interface EventTeaserProps {
41
+ interface EventLatestTeaserProps {
42
42
  date: Date;
43
43
  calendar?: Calendar;
44
44
  title: Headline;
@@ -55,4 +55,4 @@ interface Calendar {
55
55
  month?: Month;
56
56
  day?: Day;
57
57
  }
58
- export { Date, Month, Day, Headline, Location, URL, CallToAction, ARIALabel, EventTeaserProps, Calendar };
58
+ export { Date, Month, Day, Headline, Location, URL, CallToAction, ARIALabel, EventLatestTeaserProps, Calendar };
@@ -3,11 +3,11 @@
3
3
  * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
4
4
  * and run json-schema-to-typescript to regenerate this file.
5
5
  */
6
- import { EventListAppointmentProps } from "./EventListAppointmentProps-eee8b4ec.js";
6
+ import { EventAppointmentProps } from "./EventAppointmentProps-443cd1ce.js";
7
7
  /**
8
8
  * List of dates of the event
9
9
  */
10
- type Dates = EventListAppointmentProps[];
10
+ type Dates = EventAppointmentProps[];
11
11
  /**
12
12
  * Name of the event location
13
13
  */
@@ -27,10 +27,10 @@ type Links = {
27
27
  */
28
28
  newTab?: boolean;
29
29
  }[];
30
- interface EventListLocationProps {
30
+ interface EventLocationProps {
31
31
  dates?: Dates;
32
32
  locationName?: LocationName;
33
33
  address?: Address;
34
34
  links?: Links;
35
35
  }
36
- export { Dates, LocationName, Address, Links, EventListLocationProps };
36
+ export { Dates, LocationName, Address, Links, EventLocationProps };
@@ -3,7 +3,7 @@
3
3
  * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
4
4
  * and run json-schema-to-typescript to regenerate this file.
5
5
  */
6
- import { SectionProps } from "./SectionProps-00ddee3a.js";
6
+ import { SectionProps } from "./SectionProps-7caa223c.js";
7
7
  import { SeoProps } from "./SeoProps-f2d6dcaa.js";
8
8
  /**
9
9
  * Collection of sections (with their contents) to render on the page
@@ -10,7 +10,7 @@ import { FeaturesProps } from "./FeaturesProps-a9041d97.js";
10
10
  import { GalleryProps } from "./GalleryProps-76e7de44.js";
11
11
  import { HeroProps } from "./HeroProps-40f6c7f5.js";
12
12
  import { HtmlProps } from "./HtmlProps-9d091769.js";
13
- import { ImageStoryProps } from "./ImageStoryProps-00ddee3a.js";
13
+ import { ImageStoryProps } from "./ImageStoryProps-e853e1e7.js";
14
14
  import { ImageTextProps } from "./ImageTextProps-9286cca4.js";
15
15
  import { LogosProps } from "./LogosProps-f9474fe2.js";
16
16
  import { MosaicProps } from "./MosaicProps-d52c7151.js";
@@ -1,4 +1,4 @@
1
- import { BlogOverviewProps } from "../../BlogOverviewProps-d62a0a9a.js";
1
+ import { BlogOverviewProps } from "../../BlogOverviewProps-9f207f1c.js";
2
2
  import { FC, PropsWithChildren } from "react";
3
3
  declare const BlogOverview: FC<PropsWithChildren<BlogOverviewProps>>;
4
4
  export type { BlogOverviewProps };
@@ -1,4 +1,4 @@
1
- import { BlogPostProps } from "../../BlogPostProps-c760fd2a.js";
1
+ import { BlogPostProps } from "../../BlogPostProps-6b3cff22.js";
2
2
  import { FC, PropsWithChildren } from "react";
3
3
  declare const BlogPost: FC<PropsWithChildren<BlogPostProps>>;
4
4
  export type { BlogPostProps };
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { HTMLAttributes } from "react";
3
- import { BlogTeaserProps } from "../../BlogTeaserProps-d62a0a9a.js";
3
+ import { BlogTeaserProps } from "../../BlogTeaserProps-f5855e93.js";
4
4
  declare const BlogTeaserContextDefault: import("react").ForwardRefExoticComponent<BlogTeaserProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
5
5
  declare const BlogTeaserContext: import("react").Context<import("react").ForwardRefExoticComponent<BlogTeaserProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>>;
6
6
  declare const BlogTeaser: import("react").ForwardRefExoticComponent<BlogTeaserProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,4 +1,4 @@
1
- .dsa-event-list-appointment {
1
+ .dsa-event-appointment {
2
2
  --g-link--color: var(--ks-text-color-interface-interactive);
3
3
  --g-link--color-hover: var(--ks-text-color-interface-interactive);
4
4
  --g-link--border-radius: var(--ks-border-radius-control);
@@ -13,22 +13,22 @@
13
13
  border: var(--ks-border-width-default) solid var(--ks-border-color-interface-interactive);
14
14
  flex-grow: 0;
15
15
  }
16
- .dsa-event-list-appointment:hover {
16
+ .dsa-event-appointment:hover {
17
17
  border-color: var(--ks-border-color-interface-interactive-hover);
18
18
  }
19
- .dsa-event-list-appointment__info {
19
+ .dsa-event-appointment__info {
20
20
  display: flex;
21
21
  gap: var(--ks-spacing-xxs);
22
22
  font: var(--ks-font-interface-s);
23
23
  text-decoration: none;
24
24
  align-items: center;
25
25
  }
26
- .dsa-event-list-appointment__infos {
26
+ .dsa-event-appointment__infos {
27
27
  flex-direction: column;
28
28
  display: flex;
29
29
  gap: var(--ks-spacing-stack-xs);
30
30
  }
31
- .dsa-event-list-appointment__label {
31
+ .dsa-event-appointment__label {
32
32
  display: flex;
33
33
  align-items: center;
34
34
  color: var(--dsa-link--color);
@@ -38,18 +38,18 @@
38
38
  transition: var(--ks-transition-hover);
39
39
  transition-property: color;
40
40
  }
41
- .dsa-event-list-appointment__label:hover {
41
+ .dsa-event-appointment__label:hover {
42
42
  color: var(--dsa-link--color_hover);
43
43
  }
44
- .dsa-event-list-appointment__label .icon {
44
+ .dsa-event-appointment__label .icon {
45
45
  width: 1.75em;
46
46
  height: 1.75em;
47
47
  }
48
- .dsa-event-list-appointment__icon {
48
+ .dsa-event-appointment__icon {
49
49
  color: var(--ks-text-color-primary);
50
50
  width: 1.75em;
51
51
  height: 1.75em;
52
52
  }
53
- .dsa-event-list-appointment .l-container--rich-text {
53
+ .dsa-event-appointment .l-container--rich-text {
54
54
  container-type: normal;
55
55
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$id": "http://schema.mydesignsystem.com/event-list-appointment.schema.json",
4
- "title": "Event List Appointment",
3
+ "$id": "http://schema.mydesignsystem.com/event-appointment.schema.json",
4
+ "title": "Event Appointment",
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "date": {
@@ -49,7 +49,7 @@
49
49
  "default": "Event Appointment"
50
50
  },
51
51
  "type": {
52
- "const": "event-list-appointment"
52
+ "const": "event-appointment"
53
53
  }
54
54
  },
55
55
  "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-list-appointment.schema.json",
4
- "title": "Event List Appointment",
3
+ "$id": "http://schema.mydesignsystem.com/event-appointment.schema.json",
4
+ "title": "Event Appointment",
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "date": {
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { EventAppointmentProps } from "../../EventAppointmentProps-443cd1ce.js";
3
+ declare const EventAppointmentContextDefault: import("react").ForwardRefExoticComponent<EventAppointmentProps & import("react").RefAttributes<HTMLAnchorElement>>;
4
+ declare const EventAppointmentContext: import("react").Context<import("react").ForwardRefExoticComponent<EventAppointmentProps & import("react").RefAttributes<HTMLAnchorElement>>>;
5
+ declare const EventAppointment: import("react").ForwardRefExoticComponent<EventAppointmentProps & import("react").RefAttributes<HTMLAnchorElement>>;
6
+ export type { EventAppointmentProps };
7
+ export { EventAppointmentContextDefault, EventAppointmentContext, EventAppointment };
@@ -0,0 +1,14 @@
1
+ import "./event-appointment.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
+
6
+ const EventAppointmentContextDefault = forwardRef(({ date, time, label, url, newTab, ariaLabel }, ref) => (jsxs("a", { className: "dsa-event-appointment", target: newTab ? "_blank" : "_self", "aria-label": ariaLabel, href: url, ref: ref, children: [jsxs("span", { className: "dsa-event-appointment__infos", children: [date && (jsxs("span", { className: "dsa-event-appointment__info", children: [jsx(Icon, { className: "dsa-event-appointment__icon", "aria-hidden": true, icon: "date" }), date] })), time && (jsxs("span", { className: "dsa-event-appointment__info", children: [jsx(Icon, { className: "dsa-event-appointment__icon", "aria-hidden": true, icon: "time" }), time] }))] }), jsxs("span", { className: "dsa-event-appointment__label", children: [label, jsx(Icon, { icon: "chevron-right" })] })] })));
7
+ const EventAppointmentContext = createContext(EventAppointmentContextDefault);
8
+ const EventAppointment = forwardRef((props, ref) => {
9
+ const Component = useContext(EventAppointmentContext);
10
+ return jsx(Component, { ...props, ref: ref });
11
+ });
12
+ EventAppointment.displayName = "EventAppointment";
13
+
14
+ export { EventAppointment, EventAppointmentContext, EventAppointmentContextDefault };
@@ -41,8 +41,8 @@
41
41
  "type": "array",
42
42
  "items": {
43
43
  "$schema": "http://json-schema.org/draft-07/schema#",
44
- "$id": "http://schema.mydesignsystem.com/event-list-location.schema.json",
45
- "title": "Event List Location",
44
+ "$id": "http://schema.mydesignsystem.com/event-location.schema.json",
45
+ "title": "Event Location",
46
46
  "type": "object",
47
47
  "properties": {
48
48
  "dates": {
@@ -51,8 +51,8 @@
51
51
  "type": "array",
52
52
  "items": {
53
53
  "$schema": "http://json-schema.org/draft-07/schema#",
54
- "$id": "http://schema.mydesignsystem.com/event-list-appointment.schema.json",
55
- "title": "Event List Appointment",
54
+ "$id": "http://schema.mydesignsystem.com/event-appointment.schema.json",
55
+ "title": "Event Appointment",
56
56
  "type": "object",
57
57
  "properties": {
58
58
  "date": {
@@ -100,7 +100,7 @@
100
100
  "default": "Event Appointment"
101
101
  },
102
102
  "type": {
103
- "const": "event-list-appointment"
103
+ "const": "event-appointment"
104
104
  }
105
105
  },
106
106
  "additionalProperties": false
@@ -150,7 +150,7 @@
150
150
  }
151
151
  },
152
152
  "type": {
153
- "const": "event-list-location"
153
+ "const": "event-location"
154
154
  }
155
155
  },
156
156
  "additionalProperties": false
@@ -35,7 +35,7 @@
35
35
  "description": "List of locations with attendable appointments",
36
36
  "type": "array",
37
37
  "items": {
38
- "$ref": "http://schema.mydesignsystem.com/event-list-location.schema.json"
38
+ "$ref": "http://schema.mydesignsystem.com/event-location.schema.json"
39
39
  }
40
40
  },
41
41
  "downloads": {
@@ -1,5 +1,5 @@
1
1
  import { FC, PropsWithChildren } from "react";
2
- import { EventDetailProps } from "../../EventDetailProps-52321b9e.js";
2
+ import { EventDetailProps } from "../../EventDetailProps-42a7eebe.js";
3
3
  declare const EventDetail: FC<PropsWithChildren<EventDetailProps>>;
4
4
  export type { EventDetailProps };
5
5
  export { EventDetail };
@@ -1,6 +1,6 @@
1
1
  import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
2
2
  import { RichText } from '@kickstartds/base/lib/rich-text';
3
- import { EventListLocation } from '../event-list-location/index.js';
3
+ import { EventLocation } from '../event-location/index.js';
4
4
  import { Section } from '../section/index.js';
5
5
  import { EventHeader } from '../event-header/index.js';
6
6
  import { Gallery } from '../gallery/index.js';
@@ -8,7 +8,7 @@ import { Downloads } from '../downloads/index.js';
8
8
  import { Headline } from '../headline/index.js';
9
9
  import 'react';
10
10
  import '@kickstartds/base/lib/icon';
11
- import '../event-list-appointment/index.js';
11
+ import '../event-appointment/index.js';
12
12
  import 'classnames';
13
13
  import '@kickstartds/core/lib/react';
14
14
  import '@kickstartds/base/lib/section';
@@ -21,7 +21,7 @@ import '@kickstartds/base/lib/picture';
21
21
  import 'markdown-to-jsx';
22
22
  import '@kickstartds/base/lib/headline';
23
23
 
24
- const EventDetail = ({ title, categories, locations, description, intro, images, downloads, }) => (jsxs(Fragment, { children: [jsx(Section, { width: "narrow", spaceAfter: "none", children: jsx(EventHeader, { title: title, categories: categories, intro: intro }) }), locations && locations.length > 0 && (jsxs(Section, { width: "narrow", content: { mode: "list", gutter: "none" }, children: [jsx(Headline, { text: "Locations", level: "h3", style: "h3", className: "dsa-event__locations-headline" }), locations.map((appointment, index) => (jsx(EventListLocation, { ...appointment }, index)))] })), description && (jsx(Section, { width: "narrow", spaceBefore: "none", children: jsx(RichText, { className: "dsa-event__description", text: description }) })), jsx(Section, { spaceBefore: "none", children: jsx(Gallery, { images: images, aspectRatio: "wide", layout: "smallTiles", lightbox: true }) }), downloads && downloads.length > 0 && (jsxs(Section, { width: "narrow", spaceBefore: "none", content: {
24
+ const EventDetail = ({ title, categories, locations, description, intro, images, downloads, }) => (jsxs(Fragment, { children: [jsx(Section, { width: "narrow", spaceAfter: "none", children: jsx(EventHeader, { title: title, categories: categories, intro: intro }) }), locations && locations.length > 0 && (jsxs(Section, { width: "narrow", content: { mode: "list", gutter: "none" }, children: [jsx(Headline, { text: "Locations", level: "h3", style: "h3", className: "dsa-event__locations-headline" }), locations.map((appointment, index) => (jsx(EventLocation, { ...appointment }, index)))] })), description && (jsx(Section, { width: "narrow", spaceBefore: "none", children: jsx(RichText, { className: "dsa-event__description", text: description }) })), jsx(Section, { spaceBefore: "none", children: jsx(Gallery, { images: images, aspectRatio: "wide", layout: "smallTiles", lightbox: true }) }), downloads && downloads.length > 0 && (jsxs(Section, { width: "narrow", spaceBefore: "none", content: {
25
25
  mode: "list",
26
26
  gutter: "none",
27
27
  }, spaceAfter: "none", children: [jsx(Headline, { text: "Downloads", level: "h3", style: "h3" }), jsx(Downloads, { downloads: downloads })] })), jsx(Section, { width: "narrow", buttons: [
@@ -29,8 +29,8 @@
29
29
  "type": "array",
30
30
  "items": {
31
31
  "$schema": "http://json-schema.org/draft-07/schema#",
32
- "$id": "http://schema.mydesignsystem.com/event-teaser.schema.json",
33
- "title": "Event Teaser",
32
+ "$id": "http://schema.mydesignsystem.com/event-latest-teaser.schema.json",
33
+ "title": "Event Latest Teaser",
34
34
  "description": "Display an event teaser with date, title and location",
35
35
  "type": "object",
36
36
  "properties": {
@@ -114,7 +114,7 @@
114
114
  "type": "string"
115
115
  },
116
116
  "type": {
117
- "const": "event-teaser"
117
+ "const": "event-latest-teaser"
118
118
  }
119
119
  },
120
120
  "additionalProperties": false,
@@ -24,7 +24,7 @@
24
24
  "description": "List of events to display",
25
25
  "type": "array",
26
26
  "items": {
27
- "$ref": "http://schema.mydesignsystem.com/event-teaser.schema.json"
27
+ "$ref": "http://schema.mydesignsystem.com/event-latest-teaser.schema.json"
28
28
  },
29
29
  "minItems": 1,
30
30
  "examples": [
@@ -6,7 +6,7 @@ import { HTMLAttributes } from "react";
6
6
  * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
7
7
  * and run json-schema-to-typescript to regenerate this file.
8
8
  */
9
- import { EventTeaserProps } from "../../EventTeaserProps-e00ea659.js";
9
+ import { EventLatestTeaserProps } from "../../EventLatestTeaserProps-fc9d3281.js";
10
10
  /**
11
11
  * Headline for the listing
12
12
  */
@@ -21,8 +21,8 @@ type Text = string;
21
21
  * @minItems 1
22
22
  */
23
23
  type Events = [
24
- EventTeaserProps,
25
- ...EventTeaserProps[]
24
+ EventLatestTeaserProps,
25
+ ...EventLatestTeaserProps[]
26
26
  ];
27
27
  /**
28
28
  * The to link
@@ -1,4 +1,4 @@
1
- .dsa-event-teaser {
1
+ .dsa-event-latest-teaser {
2
2
  --g-link--border-radius: var(--ks-border-radius-surface);
3
3
  display: flex;
4
4
  align-items: center;
@@ -6,10 +6,10 @@
6
6
  padding: var(--ks-spacing-inset-s);
7
7
  border: var(--ks-border-width-default) solid var(--ks-border-color-card-interactive);
8
8
  }
9
- .dsa-event-teaser:hover {
9
+ .dsa-event-latest-teaser:hover {
10
10
  border-color: var(--ks-border-color-card-interactive-hover);
11
11
  }
12
- .dsa-event-teaser__calendar {
12
+ .dsa-event-latest-teaser__calendar {
13
13
  align-self: start;
14
14
  position: relative;
15
15
  container-type: inline-size;
@@ -25,47 +25,47 @@
25
25
  width: calc(var(--ks-spacing-l) * 3);
26
26
  height: calc(var(--ks-spacing-l) * 3);
27
27
  }
28
- .dsa-event-teaser__content {
28
+ .dsa-event-latest-teaser__content {
29
29
  display: flex;
30
30
  flex-direction: column;
31
31
  gap: var(--ks-spacing-stack-xs);
32
32
  flex-grow: 1;
33
33
  }
34
- .dsa-event-teaser__title {
34
+ .dsa-event-latest-teaser__title {
35
35
  font: var(--ks-font-display-m);
36
36
  font-weight: var(--ks-font-weight-semi-bold);
37
37
  color: var(--ks-text-color-display);
38
38
  }
39
- .dsa-event-teaser__month, .dsa-event-teaser__day {
39
+ .dsa-event-latest-teaser__month, .dsa-event-latest-teaser__day {
40
40
  font-weight: var(--ks-font-weight-semi-bold);
41
41
  font-family: var(--ks-font-family-display);
42
42
  }
43
- .dsa-event-teaser__day {
43
+ .dsa-event-latest-teaser__day {
44
44
  font-size: 50cqw;
45
45
  }
46
- .dsa-event-teaser__month {
46
+ .dsa-event-latest-teaser__month {
47
47
  font-size: 25cqw;
48
48
  }
49
- .dsa-event-teaser__infos {
49
+ .dsa-event-latest-teaser__infos {
50
50
  display: flex;
51
51
  flex-wrap: wrap;
52
52
  gap: var(--ks-spacing-xxs) var(--ks-spacing-inline-s);
53
53
  }
54
- .dsa-event-teaser__info {
54
+ .dsa-event-latest-teaser__info {
55
55
  display: flex;
56
56
  gap: var(--ks-spacing-xxs);
57
57
  font: var(--ks-font-interface-s);
58
58
  align-items: center;
59
59
  color: var(--ks-text-color-interface);
60
60
  }
61
- .dsa-event-teaser__info .icon {
61
+ .dsa-event-latest-teaser__info .icon {
62
62
  width: calc(var(--ks-font-size-interface-s) * var(--ks-line-height-interface-s));
63
63
  height: calc(var(--ks-font-size-interface-s) * var(--ks-line-height-interface-s));
64
64
  color: var(--ks-text-color-primary);
65
65
  flex-shrink: 0;
66
66
  flex-grow: 1;
67
67
  }
68
- .dsa-event-teaser__cta {
68
+ .dsa-event-latest-teaser__cta {
69
69
  font: var(--ks-font-interface-s);
70
70
  font-weight: var(--ks-font-weight-semi-bold);
71
71
  color: var(--ks-text-color-primary);
@@ -73,7 +73,7 @@
73
73
  align-items: center;
74
74
  text-wrap: nowrap;
75
75
  }
76
- .dsa-event-teaser__cta .icon {
76
+ .dsa-event-latest-teaser__cta .icon {
77
77
  width: calc(var(--ks-font-size-interface-s) * var(--ks-line-height-interface-s));
78
78
  height: calc(var(--ks-font-size-interface-s) * var(--ks-line-height-interface-s));
79
79
  color: var(--ks-text-color-primary);
@@ -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,17 @@
1
+ import "./event-latest-teaser.css";
2
+ import { jsxs, jsx } 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
+
7
+ const EventLatestTeaserContextDefault = forwardRef(({ date, title, cta, calendar, url, location, ariaLabel, className, ...rest }, ref) => {
8
+ return (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__calendar", children: [jsx("span", { className: "dsa-event-latest-teaser__day", children: calendar.day }), jsx("span", { className: "dsa-event-latest-teaser__month", children: calendar.month })] }), jsxs("span", { className: "dsa-event-latest-teaser__content", 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" })] })] }));
9
+ });
10
+ const EventLatestTeaserContext = createContext(EventLatestTeaserContextDefault);
11
+ const EventLatestTeaser = forwardRef((props, ref) => {
12
+ const Component = useContext(EventLatestTeaserContext);
13
+ return jsx(Component, { ...props, ref: ref });
14
+ });
15
+ EventLatestTeaser.displayName = "EventLatestTeaser";
16
+
17
+ export { EventLatestTeaser, EventLatestTeaserContext, EventLatestTeaserContextDefault };
@@ -1,5 +1,5 @@
1
- .dsa-event-list-location {
2
- --dsa-event-list-location__icon--size: calc(var(--ks-font-size-copy-m) * var(--ks-line-height-copy-m));
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-list-location + .dsa-event-list-location {
12
+ .dsa-event-location + .dsa-event-location {
13
13
  margin-top: var(--ks-spacing-stack-m);
14
14
  }
15
- .dsa-event-list-location__content {
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-list-location__name {
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-list-location__links {
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-list-location__link {
33
+ .dsa-event-location__link {
34
34
  font: var(--ks-font-interface-s);
35
35
  }
36
- .dsa-event-list-location__icon {
36
+ .dsa-event-location__icon {
37
37
  width: 2rem;
38
38
  height: 2rem;
39
39
  }
40
- .dsa-event-list-location__row {
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-list-location__icon {
49
+ .dsa-event-location__icon {
50
50
  color: var(--ks-text-color-primary);
51
- width: var(--dsa-event-list-location__icon--size);
52
- height: var(--dsa-event-list-location__icon--size);
51
+ width: var(--dsa-event-location__icon--size);
52
+ height: var(--dsa-event-location__icon--size);
53
53
  }
54
- .dsa-event-list-location__item {
54
+ .dsa-event-location__item {
55
55
  display: flex;
56
56
  gap: var(--ks-spacing-stack-xs);
57
57
  }
58
- .dsa-event-list-location__appointments {
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-list-location .l-container--rich-text {
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-list-location.schema.json",
4
- "title": "Event List Location",
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-list-appointment.schema.json",
14
- "title": "Event List Appointment",
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-list-appointment"
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-list-location"
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-list-location.schema.json",
4
- "title": "Event List Location",
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-list-appointment.schema.json"
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-00ddee3a.js";
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-c760fd2a.js";
33
- export * from "../../BlogOverviewProps-d62a0a9a.js";
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-52321b9e.js";
36
+ export * from "../../EventDetailProps-42a7eebe.js";
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 25 Jun 2025 10:45:02 GMT
3
+ * Generated on Wed, 25 Jun 2025 10:54:31 GMT
4
4
  */
5
5
  :root, [ks-theme] {
6
6
  --ks-background-color-accent-base: var(--ks-color-fg-to-bg-9-base);
@@ -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,6 +1554,29 @@
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",
@@ -1591,25 +1629,10 @@
1591
1629
  "screenshot": "img/screenshots/event-event-latest--default.png"
1592
1630
  },
1593
1631
  {
1594
- "id": "event-event-list-appointment--default",
1595
- "group": "Event/ Event List Appointment",
1632
+ "id": "event-event-location--default",
1633
+ "group": "Event/ Event Location",
1596
1634
  "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",
1611
- "name": "Default",
1612
- "code": "<EventListLocation\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/>",
1635
+ "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
1636
  "args": {
1614
1637
  "dates": [
1615
1638
  {
@@ -1644,30 +1667,7 @@
1644
1667
  }
1645
1668
  ]
1646
1669
  },
1647
- "screenshot": "img/screenshots/event-event-list-location--default.png"
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"
1670
+ "screenshot": "img/screenshots/event-event-location--default.png"
1671
1671
  },
1672
1672
  {
1673
1673
  "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-00ddee3a.js";
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>>;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 25 Jun 2025 10:45:04 GMT
3
+ * Generated on Wed, 25 Jun 2025 10:54:34 GMT
4
4
  */
5
5
  :root [ks-theme=business] {
6
6
  --ks-background-color-accent-base: var(--ks-color-primary-to-bg-8-base);
@@ -2727,7 +2727,7 @@
2727
2727
  }
2728
2728
  /**
2729
2729
  * Do not edit directly
2730
- * Generated on Wed, 25 Jun 2025 10:45:08 GMT
2730
+ * Generated on Wed, 25 Jun 2025 10:54:38 GMT
2731
2731
  */
2732
2732
  :root [ks-theme=google] {
2733
2733
  --ks-background-color-accent-base: var(--ks-color-primary-to-bg-8-base);
@@ -5458,7 +5458,7 @@
5458
5458
  }
5459
5459
  /**
5460
5460
  * Do not edit directly
5461
- * Generated on Wed, 25 Jun 2025 10:45:06 GMT
5461
+ * Generated on Wed, 25 Jun 2025 10:54:36 GMT
5462
5462
  */
5463
5463
  :root [ks-theme=ngo] {
5464
5464
  --ks-background-color-accent-base: var(--ks-color-primary-to-bg-8-base);
@@ -8459,7 +8459,7 @@
8459
8459
  }
8460
8460
  /**
8461
8461
  * Do not edit directly
8462
- * Generated on Wed, 25 Jun 2025 10:45:10 GMT
8462
+ * Generated on Wed, 25 Jun 2025 10:54:40 GMT
8463
8463
  */
8464
8464
  :root [ks-theme=telekom] {
8465
8465
  --ks-background-color-accent-base: var(--ks-color-primary-to-bg-8-base);
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 25 Jun 2025 10:45:02 GMT
3
+ * Generated on Wed, 25 Jun 2025 10:54:31 GMT
4
4
  */
5
5
 
6
6
  :root, [ks-theme] {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 25 Jun 2025 10:45:02 GMT
3
+ * Generated on Wed, 25 Jun 2025 10:54:31 GMT
4
4
  */
5
5
 
6
6
  export const KsBackgroundColorAccentBase = "#f3f3f4";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kickstartds/ds-agency-premium",
3
- "version": "1.6.68--canary.45.1713.0",
3
+ "version": "1.6.68--canary.45.1716.0",
4
4
  "description": "",
5
5
  "homepage": "https://github.com/kickstartDS/ds-agency-premium#readme",
6
6
  "bugs": {
@@ -1,7 +0,0 @@
1
- /// <reference types="react" />
2
- import { EventListAppointmentProps } from "../../EventListAppointmentProps-eee8b4ec.js";
3
- declare const EventListAppointmentContextDefault: import("react").ForwardRefExoticComponent<EventListAppointmentProps & import("react").RefAttributes<HTMLAnchorElement>>;
4
- declare const EventListAppointmentContext: import("react").Context<import("react").ForwardRefExoticComponent<EventListAppointmentProps & import("react").RefAttributes<HTMLAnchorElement>>>;
5
- declare const EventListAppointment: import("react").ForwardRefExoticComponent<EventListAppointmentProps & import("react").RefAttributes<HTMLAnchorElement>>;
6
- export type { EventListAppointmentProps };
7
- export { EventListAppointmentContextDefault, EventListAppointmentContext, EventListAppointment };
@@ -1,14 +0,0 @@
1
- import "./event-list-appointment.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
-
6
- const EventListAppointmentContextDefault = forwardRef(({ date, time, label, url, newTab, ariaLabel }, ref) => (jsxs("a", { className: "dsa-event-list-appointment", target: newTab ? "_blank" : "_self", "aria-label": ariaLabel, href: url, ref: ref, children: [jsxs("span", { className: "dsa-event-list-appointment__infos", children: [date && (jsxs("span", { className: "dsa-event-list-appointment__info", children: [jsx(Icon, { className: "dsa-event-list-appointment__icon", "aria-hidden": true, icon: "date" }), date] })), time && (jsxs("span", { className: "dsa-event-list-appointment__info", children: [jsx(Icon, { className: "dsa-event-list-appointment__icon", "aria-hidden": true, icon: "time" }), time] }))] }), jsxs("span", { className: "dsa-event-list-appointment__label", children: [label, jsx(Icon, { icon: "chevron-right" })] })] })));
7
- const EventListAppointmentContext = createContext(EventListAppointmentContextDefault);
8
- const EventListAppointment = forwardRef((props, ref) => {
9
- const Component = useContext(EventListAppointmentContext);
10
- return jsx(Component, { ...props, ref: ref });
11
- });
12
- EventListAppointment.displayName = "EventListAppointment";
13
-
14
- export { EventListAppointment, EventListAppointmentContext, EventListAppointmentContextDefault };
@@ -1,7 +0,0 @@
1
- /// <reference types="react" />
2
- import { EventListLocationProps } from "../../EventListLocationProps-f9d48acc.js";
3
- declare const EventListLocationContextDefault: import("react").ForwardRefExoticComponent<EventListLocationProps & import("react").RefAttributes<HTMLDivElement>>;
4
- declare const EventListLocationContext: import("react").Context<import("react").ForwardRefExoticComponent<EventListLocationProps & import("react").RefAttributes<HTMLDivElement>>>;
5
- declare const EventListLocation: import("react").ForwardRefExoticComponent<EventListLocationProps & import("react").RefAttributes<HTMLDivElement>>;
6
- export type { EventListLocationProps };
7
- export { EventListLocationContextDefault, EventListLocationContext, EventListLocation };
@@ -1,16 +0,0 @@
1
- import "./event-list-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 { EventListAppointment } from '../event-list-appointment/index.js';
7
-
8
- const EventListLocationContextDefault = forwardRef(({ locationName, address, dates, links, ...rest }, ref) => (jsxs("div", { className: "dsa-event-list-location", ...rest, ref: ref, children: [address && (jsx("div", { className: "dsa-event-list-location__row", children: jsxs("div", { className: "dsa-event-list-location__item ", children: [jsx(Icon, { className: "dsa-event-list-location__icon", icon: "map-pin", "aria-hidden": true }), jsxs("div", { className: "dsa-event-list-location__content", children: [jsx("span", { className: "sr-only", children: "Address:" }), jsxs("address", { className: "dsa-event-list-location__address", children: [locationName && (jsx("span", { className: "dsa-event-list-location__name", children: locationName })), address && jsx(RichText, { text: address })] }), links && links.length > 0 && (jsx("div", { className: "dsa-event-list-location__links", children: links.map((link, index) => (jsx("a", { href: link.url, target: link.newTab ? "_blank" : "_self", className: "dsa-event-list-location__link", children: link.label }, index))) }))] })] }) })), dates && dates.length > 0 && (jsxs("div", { className: "dsa-event-list-location__appointments", children: [jsx("span", { className: "sr-only", children: "Appointments:" }), dates.map((item, index) => (createElement(EventListAppointment, { ...item, key: index })))] }))] })));
9
- const EventListLocationContext = createContext(EventListLocationContextDefault);
10
- const EventListLocation = forwardRef((props, ref) => {
11
- const Component = useContext(EventListLocationContext);
12
- return jsx(Component, { ...props, ref: ref });
13
- });
14
- EventListLocation.displayName = "EventListLocation";
15
-
16
- export { EventListLocation, EventListLocationContext, EventListLocationContextDefault };
@@ -1,8 +0,0 @@
1
- /// <reference types="react" />
2
- import { HTMLAttributes } from "react";
3
- import { EventTeaserProps } from "../../EventTeaserProps-e00ea659.js";
4
- declare const EventTeaserContextDefault: import("react").ForwardRefExoticComponent<EventTeaserProps & HTMLAttributes<HTMLAnchorElement> & import("react").RefAttributes<HTMLAnchorElement>>;
5
- declare const EventTeaserContext: import("react").Context<import("react").ForwardRefExoticComponent<EventTeaserProps & HTMLAttributes<HTMLAnchorElement> & import("react").RefAttributes<HTMLAnchorElement>>>;
6
- declare const EventTeaser: import("react").ForwardRefExoticComponent<EventTeaserProps & HTMLAttributes<HTMLAnchorElement> & import("react").RefAttributes<HTMLAnchorElement>>;
7
- export type { EventTeaserProps };
8
- export { EventTeaserContextDefault, EventTeaserContext, EventTeaser };
@@ -1,17 +0,0 @@
1
- import "./event-teaser.css";
2
- import { jsxs, jsx } 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
-
7
- const EventTeaserContextDefault = forwardRef(({ date, title, cta, calendar, url, location, ariaLabel, className, ...rest }, ref) => {
8
- return (jsxs("a", { className: classnames(className, "dsa-event-teaser"), ...rest, href: url, ref: ref, "aria-label": ariaLabel, children: [jsxs("span", { className: "dsa-event-teaser__calendar", children: [jsx("span", { className: "dsa-event-teaser__day", children: calendar.day }), jsx("span", { className: "dsa-event-teaser__month", children: calendar.month })] }), jsxs("span", { className: "dsa-event-teaser__content", children: [jsx("span", { className: "dsa-event-teaser__title", children: title }), jsxs("span", { className: "dsa-event-teaser__infos", children: [jsxs("span", { className: "dsa-event-teaser__info", children: [jsx(Icon, { "aria-hidden": true, icon: "date" }), date] }), jsxs("span", { className: "dsa-event-teaser__info", children: [jsx(Icon, { "aria-hidden": true, icon: "map-pin" }), location] })] })] }), jsxs("span", { className: "dsa-event-teaser__cta", children: [jsx("span", { children: cta }), jsx(Icon, { "aria-hidden": true, icon: "chevron-right" })] })] }));
9
- });
10
- const EventTeaserContext = createContext(EventTeaserContextDefault);
11
- const EventTeaser = forwardRef((props, ref) => {
12
- const Component = useContext(EventTeaserContext);
13
- return jsx(Component, { ...props, ref: ref });
14
- });
15
- EventTeaser.displayName = "EventTeaser";
16
-
17
- export { EventTeaser, EventTeaserContext, EventTeaserContextDefault };