@kickstartds/ds-agency-premium 1.6.68--canary.45.1690.0 → 1.6.68--canary.45.1693.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.
@@ -0,0 +1,43 @@
1
+ /**
2
+ * This file was automatically generated by json-schema-to-typescript.
3
+ * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
4
+ * and run json-schema-to-typescript to regenerate this file.
5
+ */
6
+ /**
7
+ * The date of the event
8
+ */
9
+ type Date = string;
10
+ /**
11
+ * Title of the event
12
+ */
13
+ type Headline = string;
14
+ /**
15
+ * Location of the event
16
+ */
17
+ type Location = string;
18
+ /**
19
+ * The event entry URL to link
20
+ */
21
+ type URL = string;
22
+ /**
23
+ * The text for the link
24
+ */
25
+ type Text = string;
26
+ /**
27
+ * Display an event teaser with date, headline and location
28
+ */
29
+ interface EventTeaserProps {
30
+ date: Date;
31
+ headline: Headline;
32
+ location: Location;
33
+ link?: Link;
34
+ className?: string;
35
+ }
36
+ /**
37
+ * URL and label for the event linked
38
+ */
39
+ interface Link {
40
+ url: URL;
41
+ text?: Text;
42
+ }
43
+ export { Date, Headline, Location, URL, Text, EventTeaserProps, Link };
@@ -1,4 +1,4 @@
1
- import { BlogPostProps } from "../../BlogPostProps-6b3cff22.js";
1
+ import { BlogPostProps } from "../../BlogPostProps-d9decb7c.js";
2
2
  import { FC, PropsWithChildren } from "react";
3
3
  declare const BlogPost: FC<PropsWithChildren<BlogPostProps>>;
4
4
  export type { BlogPostProps };
@@ -0,0 +1,169 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "http://schema.mydesignsystem.com/event-latest.schema.json",
4
+ "title": "Event Latest",
5
+ "description": "Display a list of latest events, ordered chronologically",
6
+ "type": "object",
7
+ "properties": {
8
+ "headline": {
9
+ "title": "Headline",
10
+ "description": "Headline for the listing",
11
+ "type": "string",
12
+ "format": "markdown",
13
+ "examples": [
14
+ "Latest Events"
15
+ ]
16
+ },
17
+ "text": {
18
+ "title": "Text",
19
+ "description": "Additional text shown below the headline",
20
+ "type": "string",
21
+ "format": "markdown",
22
+ "examples": [
23
+ "Our next upcoming events"
24
+ ]
25
+ },
26
+ "events": {
27
+ "title": "Events",
28
+ "description": "List of events to display",
29
+ "type": "array",
30
+ "items": {
31
+ "$schema": "http://json-schema.org/draft-07/schema#",
32
+ "$id": "http://schema.mydesignsystem.com/event-teaser.schema.json",
33
+ "title": "Event Teaser",
34
+ "description": "Display an event teaser with date, headline and location",
35
+ "type": "object",
36
+ "properties": {
37
+ "date": {
38
+ "title": "Date",
39
+ "description": "The date of the event",
40
+ "type": "string",
41
+ "format": "date",
42
+ "examples": [
43
+ "12/30/2022"
44
+ ]
45
+ },
46
+ "headline": {
47
+ "title": "Headline",
48
+ "description": "Title of the event",
49
+ "type": "string",
50
+ "format": "markdown",
51
+ "examples": [
52
+ "This is a blog post headline"
53
+ ]
54
+ },
55
+ "location": {
56
+ "title": "Location",
57
+ "description": "Location of the event",
58
+ "type": "string",
59
+ "format": "markdown",
60
+ "examples": [
61
+ "This is a teaser text for the blog post"
62
+ ]
63
+ },
64
+ "link": {
65
+ "type": "object",
66
+ "title": "Link",
67
+ "description": "URL and label for the event linked",
68
+ "properties": {
69
+ "url": {
70
+ "title": "URL",
71
+ "description": "The event entry URL to link",
72
+ "type": "string",
73
+ "format": "uri",
74
+ "examples": [
75
+ "https://example.com"
76
+ ]
77
+ },
78
+ "text": {
79
+ "title": "Text",
80
+ "description": "The text for the link",
81
+ "type": "string",
82
+ "default": "Show event",
83
+ "examples": [
84
+ "Show event"
85
+ ]
86
+ }
87
+ },
88
+ "additionalProperties": false,
89
+ "required": [
90
+ "url"
91
+ ]
92
+ },
93
+ "className": {
94
+ "type": "string"
95
+ },
96
+ "type": {
97
+ "const": "event-teaser"
98
+ }
99
+ },
100
+ "additionalProperties": false,
101
+ "required": [
102
+ "headline",
103
+ "date",
104
+ "location"
105
+ ]
106
+ },
107
+ "minItems": 1,
108
+ "examples": [
109
+ [
110
+ {
111
+ "date": "12/30/2022",
112
+ "headline": "Event 1",
113
+ "location": "Location 1",
114
+ "link": {
115
+ "url": "https://example.com/event1",
116
+ "text": "Show event 1"
117
+ }
118
+ },
119
+ {
120
+ "date": "01/15/2023",
121
+ "headline": "Event 2",
122
+ "location": "Location 2",
123
+ "link": {
124
+ "url": "https://example.com/event2",
125
+ "text": "Show event 2"
126
+ }
127
+ }
128
+ ]
129
+ ]
130
+ },
131
+ "link": {
132
+ "type": "object",
133
+ "title": "Link",
134
+ "description": "Link shown below the listing",
135
+ "properties": {
136
+ "url": {
137
+ "title": "URL",
138
+ "description": "The to link",
139
+ "type": "string",
140
+ "format": "uri",
141
+ "examples": [
142
+ "https://example.com"
143
+ ]
144
+ },
145
+ "text": {
146
+ "title": "Text",
147
+ "description": "The text for the link",
148
+ "type": "string",
149
+ "default": "Show all events",
150
+ "examples": [
151
+ "Show all events"
152
+ ]
153
+ }
154
+ },
155
+ "additionalProperties": false,
156
+ "required": [
157
+ "url"
158
+ ]
159
+ },
160
+ "className": {
161
+ "type": "string"
162
+ },
163
+ "type": {
164
+ "const": "event-latest"
165
+ }
166
+ },
167
+ "additionalProperties": false,
168
+ "required": []
169
+ }
@@ -0,0 +1,82 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "http://schema.mydesignsystem.com/event-latest.schema.json",
4
+ "title": "Event Latest",
5
+ "description": "Display a list of latest events, ordered chronologically",
6
+ "type": "object",
7
+ "properties": {
8
+ "headline": {
9
+ "title": "Headline",
10
+ "description": "Headline for the listing",
11
+ "type": "string",
12
+ "format": "markdown",
13
+ "examples": ["Latest Events"]
14
+ },
15
+ "text": {
16
+ "title": "Text",
17
+ "description": "Additional text shown below the headline",
18
+ "type": "string",
19
+ "format": "markdown",
20
+ "examples": ["Our next upcoming events"]
21
+ },
22
+ "events": {
23
+ "title": "Events",
24
+ "description": "List of events to display",
25
+ "type": "array",
26
+ "items": {
27
+ "$ref": "http://schema.mydesignsystem.com/event-teaser.schema.json"
28
+ },
29
+ "minItems": 1,
30
+ "examples": [
31
+ [
32
+ {
33
+ "date": "12/30/2022",
34
+ "headline": "Event 1",
35
+ "location": "Location 1",
36
+ "link": {
37
+ "url": "https://example.com/event1",
38
+ "text": "Show event 1"
39
+ }
40
+ },
41
+ {
42
+ "date": "01/15/2023",
43
+ "headline": "Event 2",
44
+ "location": "Location 2",
45
+ "link": {
46
+ "url": "https://example.com/event2",
47
+ "text": "Show event 2"
48
+ }
49
+ }
50
+ ]
51
+ ]
52
+ },
53
+ "link": {
54
+ "type": "object",
55
+ "title": "Link",
56
+ "description": "Link shown below the listing",
57
+ "properties": {
58
+ "url": {
59
+ "title": "URL",
60
+ "description": "The to link",
61
+ "type": "string",
62
+ "format": "uri",
63
+ "examples": ["https://example.com"]
64
+ },
65
+ "text": {
66
+ "title": "Text",
67
+ "description": "The text for the link",
68
+ "type": "string",
69
+ "default": "Show all events",
70
+ "examples": ["Show all events"]
71
+ }
72
+ },
73
+ "additionalProperties": false,
74
+ "required": ["url"]
75
+ },
76
+ "className": {
77
+ "type": "string"
78
+ }
79
+ },
80
+ "additionalProperties": false,
81
+ "required": []
82
+ }
@@ -0,0 +1,56 @@
1
+ /// <reference types="react" />
2
+ import { HTMLAttributes } from "react";
3
+ /* eslint-disable */
4
+ /**
5
+ * This file was automatically generated by json-schema-to-typescript.
6
+ * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
7
+ * and run json-schema-to-typescript to regenerate this file.
8
+ */
9
+ import { EventTeaserProps } from "../../EventTeaserProps-5f865346.js";
10
+ /**
11
+ * Headline for the listing
12
+ */
13
+ type Headline = string;
14
+ /**
15
+ * Additional text shown below the headline
16
+ */
17
+ type Text = string;
18
+ /**
19
+ * List of events to display
20
+ *
21
+ * @minItems 1
22
+ */
23
+ type Events = [
24
+ EventTeaserProps,
25
+ ...EventTeaserProps[]
26
+ ];
27
+ /**
28
+ * The to link
29
+ */
30
+ type URL = string;
31
+ /**
32
+ * The text for the link
33
+ */
34
+ type Text1 = string;
35
+ /**
36
+ * Display a list of latest events, ordered chronologically
37
+ */
38
+ interface EventLatestProps {
39
+ headline?: Headline;
40
+ text?: Text;
41
+ events?: Events;
42
+ link?: Link;
43
+ className?: string;
44
+ }
45
+ /**
46
+ * Link shown below the listing
47
+ */
48
+ interface Link {
49
+ url: URL;
50
+ text?: Text1;
51
+ }
52
+ declare const EventLatestContextDefault: import("react").ForwardRefExoticComponent<EventLatestProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
53
+ declare const EventLatestContext: import("react").Context<import("react").ForwardRefExoticComponent<EventLatestProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>>;
54
+ declare const EventLatest: import("react").ForwardRefExoticComponent<EventLatestProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
55
+ export type { EventLatestProps };
56
+ export { EventLatestContextDefault, EventLatestContext, EventLatest };
@@ -0,0 +1,15 @@
1
+ import { jsx } from 'react/jsx-runtime';
2
+ import classnames from 'classnames';
3
+ import { forwardRef, createContext, useContext } from 'react';
4
+
5
+ const EventLatestContextDefault = forwardRef(({ headline, text, link, events, className, ...rest }, ref) => {
6
+ return (jsx("div", { className: classnames(className, "dsa-event-latest"), ...rest, ref: ref, children: JSON.stringify({ headline, text, link, events, rest }) }));
7
+ });
8
+ const EventLatestContext = createContext(EventLatestContextDefault);
9
+ const EventLatest = forwardRef((props, ref) => {
10
+ const Component = useContext(EventLatestContext);
11
+ return jsx(Component, { ...props, ref: ref });
12
+ });
13
+ EventLatest.displayName = "EventLatest";
14
+
15
+ export { EventLatest, EventLatestContext, EventLatestContextDefault };
@@ -0,0 +1,77 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "http://schema.mydesignsystem.com/event-teaser.schema.json",
4
+ "title": "Event Teaser",
5
+ "description": "Display an event teaser with date, headline and location",
6
+ "type": "object",
7
+ "properties": {
8
+ "date": {
9
+ "title": "Date",
10
+ "description": "The date of the event",
11
+ "type": "string",
12
+ "format": "date",
13
+ "examples": [
14
+ "12/30/2022"
15
+ ]
16
+ },
17
+ "headline": {
18
+ "title": "Headline",
19
+ "description": "Title of the event",
20
+ "type": "string",
21
+ "format": "markdown",
22
+ "examples": [
23
+ "This is a blog post headline"
24
+ ]
25
+ },
26
+ "location": {
27
+ "title": "Location",
28
+ "description": "Location of the event",
29
+ "type": "string",
30
+ "format": "markdown",
31
+ "examples": [
32
+ "This is a teaser text for the blog post"
33
+ ]
34
+ },
35
+ "link": {
36
+ "type": "object",
37
+ "title": "Link",
38
+ "description": "URL and label for the event linked",
39
+ "properties": {
40
+ "url": {
41
+ "title": "URL",
42
+ "description": "The event entry URL to link",
43
+ "type": "string",
44
+ "format": "uri",
45
+ "examples": [
46
+ "https://example.com"
47
+ ]
48
+ },
49
+ "text": {
50
+ "title": "Text",
51
+ "description": "The text for the link",
52
+ "type": "string",
53
+ "default": "Show event",
54
+ "examples": [
55
+ "Show event"
56
+ ]
57
+ }
58
+ },
59
+ "additionalProperties": false,
60
+ "required": [
61
+ "url"
62
+ ]
63
+ },
64
+ "className": {
65
+ "type": "string"
66
+ },
67
+ "type": {
68
+ "const": "event-teaser"
69
+ }
70
+ },
71
+ "additionalProperties": false,
72
+ "required": [
73
+ "headline",
74
+ "date",
75
+ "location"
76
+ ]
77
+ }
@@ -0,0 +1,58 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "http://schema.mydesignsystem.com/event-teaser.schema.json",
4
+ "title": "Event Teaser",
5
+ "description": "Display an event teaser with date, headline and location",
6
+ "type": "object",
7
+ "properties": {
8
+ "date": {
9
+ "title": "Date",
10
+ "description": "The date of the event",
11
+ "type": "string",
12
+ "format": "date",
13
+ "examples": ["12/30/2022"]
14
+ },
15
+ "headline": {
16
+ "title": "Headline",
17
+ "description": "Title of the event",
18
+ "type": "string",
19
+ "format": "markdown",
20
+ "examples": ["This is a blog post headline"]
21
+ },
22
+ "location": {
23
+ "title": "Location",
24
+ "description": "Location of the event",
25
+ "type": "string",
26
+ "format": "markdown",
27
+ "examples": ["This is a teaser text for the blog post"]
28
+ },
29
+ "link": {
30
+ "type": "object",
31
+ "title": "Link",
32
+ "description": "URL and label for the event linked",
33
+ "properties": {
34
+ "url": {
35
+ "title": "URL",
36
+ "description": "The event entry URL to link",
37
+ "type": "string",
38
+ "format": "uri",
39
+ "examples": ["https://example.com"]
40
+ },
41
+ "text": {
42
+ "title": "Text",
43
+ "description": "The text for the link",
44
+ "type": "string",
45
+ "default": "Show event",
46
+ "examples": ["Show event"]
47
+ }
48
+ },
49
+ "additionalProperties": false,
50
+ "required": ["url"]
51
+ },
52
+ "className": {
53
+ "type": "string"
54
+ }
55
+ },
56
+ "additionalProperties": false,
57
+ "required": ["headline", "date", "location"]
58
+ }
@@ -0,0 +1,8 @@
1
+ /// <reference types="react" />
2
+ import { HTMLAttributes } from "react";
3
+ import { EventTeaserProps } from "../../EventTeaserProps-5f865346.js";
4
+ declare const EventTeaserContextDefault: import("react").ForwardRefExoticComponent<EventTeaserProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
5
+ declare const EventTeaserContext: import("react").Context<import("react").ForwardRefExoticComponent<EventTeaserProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>>;
6
+ declare const EventTeaser: import("react").ForwardRefExoticComponent<EventTeaserProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
7
+ export type { EventTeaserProps };
8
+ export { EventTeaserContextDefault, EventTeaserContext, EventTeaser };
@@ -0,0 +1,15 @@
1
+ import { jsx } from 'react/jsx-runtime';
2
+ import classnames from 'classnames';
3
+ import { forwardRef, createContext, useContext } from 'react';
4
+
5
+ const EventTeaserContextDefault = forwardRef(({ date, headline, link, location, className, ...rest }, ref) => {
6
+ return (jsx("div", { className: classnames(className, "dsa-event-latest"), ...rest, ref: ref, children: JSON.stringify({ date, headline, link, location, className, rest }) }));
7
+ });
8
+ const EventTeaserContext = createContext(EventTeaserContextDefault);
9
+ const EventTeaser = forwardRef((props, ref) => {
10
+ const Component = useContext(EventTeaserContext);
11
+ return jsx(Component, { ...props, ref: ref });
12
+ });
13
+ EventTeaser.displayName = "EventTeaser";
14
+
15
+ export { EventTeaser, EventTeaserContext, EventTeaserContextDefault };
@@ -29,7 +29,7 @@ interface SettingsProps {
29
29
  seo: SeoProps;
30
30
  iconSprite?: IconSprite;
31
31
  }
32
- export * from "../../BlogPostProps-6b3cff22.js";
32
+ export * from "../../BlogPostProps-d9decb7c.js";
33
33
  export * from "../../BlogOverviewProps-9f207f1c.js";
34
34
  export * from "../../PageProps-aa29c554.js";
35
35
  export { IconSprite, SettingsProps };
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 23 Jun 2025 14:04:45 GMT
3
+ * Generated on Mon, 23 Jun 2025 14:53:00 GMT
4
4
  */
5
5
  :root, [ks-theme] {
6
6
  --ks-background-color-accent-base: var(--ks-color-fg-to-bg-9-base);
@@ -1518,6 +1518,41 @@
1518
1518
  },
1519
1519
  "screenshot": "img/screenshots/event-event-header--default.png"
1520
1520
  },
1521
+ {
1522
+ "id": "event-event-latest--default",
1523
+ "group": "Event/ Event Latest",
1524
+ "name": "Default",
1525
+ "code": "<EventLatest\n events={[\n {\n date: '12/30/2022',\n headline: 'Event 1',\n link: {\n text: 'Show event 1',\n url: 'https://example.com/event1'\n },\n location: 'Location 1'\n },\n {\n date: '01/15/2023',\n headline: 'Event 2',\n link: {\n text: 'Show event 2',\n url: 'https://example.com/event2'\n },\n location: 'Location 2'\n }\n ]}\n headline=\"Latest events\"\n link={{\n text: 'Show event',\n url: '#'\n }}\n text=\"Check out our upcoming events and mark your calendar!\"\n/>",
1526
+ "args": {
1527
+ "headline": "Latest events",
1528
+ "text": "Check out our upcoming events and mark your calendar!",
1529
+ "events": [
1530
+ {
1531
+ "date": "12/30/2022",
1532
+ "headline": "Event 1",
1533
+ "location": "Location 1",
1534
+ "link": {
1535
+ "url": "https://example.com/event1",
1536
+ "text": "Show event 1"
1537
+ }
1538
+ },
1539
+ {
1540
+ "date": "01/15/2023",
1541
+ "headline": "Event 2",
1542
+ "location": "Location 2",
1543
+ "link": {
1544
+ "url": "https://example.com/event2",
1545
+ "text": "Show event 2"
1546
+ }
1547
+ }
1548
+ ],
1549
+ "link": {
1550
+ "url": "#",
1551
+ "text": "Show event"
1552
+ }
1553
+ },
1554
+ "screenshot": "img/screenshots/event-event-latest--default.png"
1555
+ },
1521
1556
  {
1522
1557
  "id": "event-event-list-appointment--default",
1523
1558
  "group": "Event/ Event List Appointment",
@@ -1562,6 +1597,22 @@
1562
1597
  },
1563
1598
  "screenshot": "img/screenshots/event-event-list-location--default.png"
1564
1599
  },
1600
+ {
1601
+ "id": "event-event-teaser--default",
1602
+ "group": "Event/ Event Teaser",
1603
+ "name": "Default",
1604
+ "code": "<EventTeaser\n date=\"12/30/2022\"\n headline=\"The Future of AI\"\n link={{\n text: 'Show event',\n url: '#'\n }}\n location=\"Berlin, Germany\"\n/>",
1605
+ "args": {
1606
+ "date": "12/30/2022",
1607
+ "headline": "The Future of AI",
1608
+ "location": "Berlin, Germany",
1609
+ "link": {
1610
+ "url": "#",
1611
+ "text": "Show event"
1612
+ }
1613
+ },
1614
+ "screenshot": "img/screenshots/event-event-teaser--default.png"
1615
+ },
1565
1616
  {
1566
1617
  "id": "components-faq--dropdown-list",
1567
1618
  "group": "Components/Faq",
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 23 Jun 2025 14:04:48 GMT
3
+ * Generated on Mon, 23 Jun 2025 14:53:03 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 Mon, 23 Jun 2025 14:04:51 GMT
2730
+ * Generated on Mon, 23 Jun 2025 14:53:07 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 Mon, 23 Jun 2025 14:04:50 GMT
5461
+ * Generated on Mon, 23 Jun 2025 14:53:05 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 Mon, 23 Jun 2025 14:04:53 GMT
8462
+ * Generated on Mon, 23 Jun 2025 14:53:10 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 Mon, 23 Jun 2025 14:04:45 GMT
3
+ * Generated on Mon, 23 Jun 2025 14:53:00 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 Mon, 23 Jun 2025 14:04:46 GMT
3
+ * Generated on Mon, 23 Jun 2025 14:53:01 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.1690.0",
3
+ "version": "1.6.68--canary.45.1693.0",
4
4
  "description": "",
5
5
  "homepage": "https://github.com/kickstartDS/ds-agency-premium#readme",
6
6
  "bugs": {