@kickstartds/ds-agency-premium 1.6.69--canary.45.1736.0 → 1.6.69
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/{BlogAsideProps-c760fd2a.d.ts → BlogAsideProps-d9decb7c.d.ts} +5 -5
- package/dist/{BlogAuthorProps-fb0241df.d.ts → BlogAuthorProps-88a11566.d.ts} +2 -7
- package/dist/BlogOverviewProps-9f207f1c.d.ts +2 -2
- package/dist/{BlogPostProps-6b3cff22.d.ts → BlogPostProps-d9decb7c.d.ts} +3 -3
- package/dist/{ButtonProps-00ddee3a.d.ts → ButtonProps-03ff6d21.d.ts} +4 -4
- package/dist/{CtaProps-babe4ee6.d.ts → CtaProps-93230a76.d.ts} +11 -21
- package/dist/{FeaturesProps-a9041d97.d.ts → FeaturesProps-e58616a5.d.ts} +4 -9
- package/dist/{FooterProps-a0a104ca.d.ts → FooterProps-171a3067.d.ts} +2 -2
- package/dist/{HeaderProps-72763967.d.ts → HeaderProps-e22382f1.d.ts} +2 -2
- package/dist/{HeroProps-40f6c7f5.d.ts → HeroProps-f704d270.d.ts} +4 -9
- package/dist/ImageStoryProps-e853e1e7.d.ts +1 -1
- package/dist/MosaicProps-d52c7151.d.ts +4 -4
- package/dist/PageProps-aa29c554.d.ts +1 -1
- package/dist/{SectionProps-7caa223c.d.ts → SectionProps-1cfcf6e8.d.ts} +9 -14
- package/dist/{SliderProps-babe4ee6.d.ts → SliderProps-93230a76.d.ts} +4 -4
- package/dist/{StatProps-12a3eae0.d.ts → StatProps-79109ad0.d.ts} +1 -1
- package/dist/StatsProps-bf5ef578.d.ts +1 -1
- package/dist/{TeaserCardProps-994cb119.d.ts → TeaserCardProps-b9c28e78.d.ts} +4 -4
- package/dist/{VideoCurtainProps-a2c0cc7f.d.ts → VideoCurtainProps-6c625a69.d.ts} +5 -5
- package/dist/components/blog-aside/blog-aside.schema.dereffed.json +8 -16
- package/dist/components/blog-aside/blog-aside.schema.json +4 -4
- package/dist/components/blog-aside/index.d.ts +1 -1
- package/dist/components/blog-aside/index.js +1 -1
- package/dist/components/blog-author/blog-author.schema.dereffed.json +4 -12
- package/dist/components/blog-author/index.d.ts +1 -1
- package/dist/components/blog-overview/blog-overview.schema.dereffed.json +85 -178
- package/dist/components/blog-post/blog-post.schema.dereffed.json +93 -194
- package/dist/components/blog-post/index.d.ts +1 -1
- package/dist/components/blog-teaser/index.js +7 -5
- package/dist/components/button/button.css +2 -2
- package/dist/components/button/button.schema.dereffed.json +3 -3
- package/dist/components/button/button.schema.json +3 -3
- package/dist/components/button/index.d.ts +1 -1
- package/dist/components/button/index.js +1 -1
- package/dist/components/button-group/button-group.schema.dereffed.json +3 -3
- package/dist/components/button-group/index.d.ts +1 -1
- package/dist/components/contact/contact.schema.dereffed.json +5 -13
- package/dist/components/contact/contact.schema.json +5 -11
- package/dist/components/contact/index.d.ts +1 -6
- package/dist/components/contact/index.js +1 -1
- package/dist/components/cta/cta.css +56 -44
- package/dist/components/cta/cta.schema.dereffed.json +11 -28
- package/dist/components/cta/cta.schema.json +10 -23
- package/dist/components/cta/index.d.ts +1 -1
- package/dist/components/cta/index.js +26 -25
- package/dist/components/feature/feature.schema.dereffed.json +3 -13
- package/dist/components/feature/feature.schema.json +3 -11
- package/dist/components/feature/index.d.ts +3 -8
- package/dist/components/feature/index.js +3 -2
- package/dist/components/features/features.css +35 -15
- package/dist/components/features/features.schema.dereffed.json +3 -13
- package/dist/components/features/features.schema.json +2 -5
- package/dist/components/features/index.d.ts +1 -1
- package/dist/components/features/index.js +2 -2
- package/dist/components/footer/footer.css +1 -1
- package/dist/components/footer/footer.schema.dereffed.json +12 -12
- package/dist/components/footer/index.d.ts +1 -1
- package/dist/components/footer/index.js +1 -1
- package/dist/components/gallery/gallery.schema.dereffed.json +1 -2
- package/dist/components/gallery/gallery.schema.json +1 -2
- package/dist/components/gallery/index.js +1 -1
- package/dist/components/header/header.css +9 -47
- package/dist/components/header/header.schema.dereffed.json +12 -12
- package/dist/components/header/index.d.ts +1 -1
- package/dist/components/header/index.js +5 -5
- package/dist/components/headline/headline.css +2 -2
- package/dist/components/hero/hero.css +25 -61
- package/dist/components/hero/hero.schema.dereffed.json +3 -9
- package/dist/components/hero/hero.schema.json +2 -8
- package/dist/components/hero/index.d.ts +1 -1
- package/dist/components/hero/index.js +39 -39
- package/dist/components/image-story/image-story.css +2 -5
- package/dist/components/image-story/image-story.schema.dereffed.json +3 -3
- package/dist/components/index/index.d.ts +3 -4
- package/dist/components/logos/index.js +1 -1
- package/dist/components/mosaic/index.js +1 -1
- package/dist/components/mosaic/mosaic.css +1 -1
- package/dist/components/mosaic/mosaic.schema.dereffed.json +3 -3
- package/dist/components/nav-dropdown/index.d.ts +1 -1
- package/dist/components/nav-dropdown/index.js +2 -2
- package/dist/components/nav-dropdown/nav-dropdown.css +3 -12
- package/dist/components/nav-dropdown/nav-dropdown.schema.dereffed.json +1 -1
- package/dist/components/nav-flyout/index.d.ts +2 -2
- package/dist/components/nav-flyout/index.js +8 -6
- package/dist/components/nav-flyout/nav-flyout.css +15 -29
- package/dist/components/nav-flyout/nav-flyout.schema.dereffed.json +12 -12
- package/dist/components/nav-main/index.d.ts +5 -5
- package/dist/components/nav-main/index.js +2 -0
- package/dist/components/nav-main/nav-main.schema.dereffed.json +15 -15
- package/dist/components/nav-main/nav-main.schema.json +14 -14
- package/dist/components/nav-toggle/index.js +1 -1
- package/dist/components/nav-topbar/index.d.ts +2 -2
- package/dist/components/nav-topbar/index.js +2 -2
- package/dist/components/nav-topbar/nav-topbar.css +2 -15
- package/dist/components/nav-topbar/nav-topbar.schema.dereffed.json +12 -12
- package/dist/components/page/page.schema.dereffed.json +74 -150
- package/dist/components/page-wrapper/index.js +0 -42
- package/dist/components/page-wrapper/tokens.css +729 -425
- package/dist/components/presets.json +259 -825
- package/dist/components/section/index.d.ts +1 -1
- package/dist/components/section/index.js +3 -11
- package/dist/components/section/section.css +58 -38
- package/dist/components/section/section.schema.dereffed.json +74 -150
- package/dist/components/section/section.schema.json +10 -8
- package/dist/components/settings/settings.schema.dereffed.json +24 -24
- package/dist/components/slider/index.d.ts +1 -1
- package/dist/components/slider/slider.schema.dereffed.json +26 -59
- package/dist/components/split/split.css +2 -2
- package/dist/components/stat/index.d.ts +1 -1
- package/dist/components/stat/index.js +12 -3
- package/dist/components/stat/stat.schema.dereffed.json +4 -3
- package/dist/components/stat/stat.schema.json +2 -2
- package/dist/components/stats/stats.schema.dereffed.json +4 -3
- package/dist/components/teaser-card/index.d.ts +1 -1
- package/dist/components/teaser-card/index.js +9 -9
- package/dist/components/teaser-card/teaser-card.css +47 -67
- package/dist/components/teaser-card/teaser-card.schema.dereffed.json +4 -4
- package/dist/components/teaser-card/teaser-card.schema.json +4 -4
- package/dist/components/testimonials/index.d.ts +1 -1
- package/dist/components/tile/tile.schema.dereffed.json +3 -3
- package/dist/components/tile/tile.schema.json +2 -2
- package/dist/components/video-curtain/index.d.ts +1 -1
- package/dist/components/video-curtain/index.js +4 -12
- package/dist/components/video-curtain/video-curtain.css +29 -52
- package/dist/components/video-curtain/video-curtain.schema.dereffed.json +4 -6
- package/dist/components/video-curtain/video-curtain.schema.json +3 -3
- package/dist/global.css +59 -283
- package/dist/static/logo-inverted.svg +25 -12
- package/dist/static/logo.svg +25 -12
- package/dist/tokens/IconSprite.js +0 -42
- package/dist/tokens/icon-sprite.html +0 -16
- package/dist/tokens/themes.css +4 -4
- package/dist/tokens/tokens.css +729 -425
- package/dist/tokens/tokens.js +730 -628
- package/package.json +1 -1
- package/dist/EventAppointmentProps-443cd1ce.d.ts +0 -38
- package/dist/EventDetailProps-42a7eebe.d.ts +0 -387
- package/dist/EventLatestTeaserProps-fc9d3281.d.ts +0 -58
- package/dist/EventLocationProps-871bc198.d.ts +0 -41
- package/dist/components/downloads/downloads.css +0 -153
- package/dist/components/downloads/downloads.schema.dereffed.json +0 -55
- package/dist/components/downloads/downloads.schema.json +0 -44
- package/dist/components/downloads/index.d.ts +0 -41
- package/dist/components/downloads/index.js +0 -18
- package/dist/components/event-appointment/event-appointment.css +0 -62
- package/dist/components/event-appointment/event-appointment.schema.dereffed.json +0 -56
- package/dist/components/event-appointment/event-appointment.schema.json +0 -47
- package/dist/components/event-appointment/index.d.ts +0 -7
- package/dist/components/event-appointment/index.js +0 -14
- package/dist/components/event-detail/event-detail.schema.dereffed.json +0 -287
- package/dist/components/event-detail/event-detail.schema.json +0 -74
- package/dist/components/event-detail/index.d.ts +0 -5
- package/dist/components/event-detail/index.js +0 -36
- package/dist/components/event-header/event-header.css +0 -6
- package/dist/components/event-header/event-header.schema.dereffed.json +0 -38
- package/dist/components/event-header/event-header.schema.json +0 -34
- package/dist/components/event-header/index.d.ts +0 -35
- package/dist/components/event-header/index.js +0 -20
- package/dist/components/event-latest/event-latest.css +0 -5
- package/dist/components/event-latest/event-latest.schema.dereffed.json +0 -142
- package/dist/components/event-latest/event-latest.schema.json +0 -46
- package/dist/components/event-latest/index.d.ts +0 -30
- package/dist/components/event-latest/index.js +0 -19
- package/dist/components/event-latest-teaser/event-latest-teaser.css +0 -128
- package/dist/components/event-latest-teaser/event-latest-teaser.schema.dereffed.json +0 -97
- package/dist/components/event-latest-teaser/event-latest-teaser.schema.json +0 -73
- package/dist/components/event-latest-teaser/index.d.ts +0 -8
- package/dist/components/event-latest-teaser/index.js +0 -18
- package/dist/components/event-location/event-location.css +0 -71
- package/dist/components/event-location/event-location.schema.dereffed.json +0 -126
- package/dist/components/event-location/event-location.schema.json +0 -61
- package/dist/components/event-location/index.d.ts +0 -7
- package/dist/components/event-location/index.js +0 -18
- package/dist/components/pagination/index.d.ts +0 -25
- package/dist/components/pagination/index.js +0 -51
- package/dist/components/pagination/pagination.css +0 -36
- package/dist/components/pagination/pagination.schema.dereffed.json +0 -33
- package/dist/components/pagination/pagination.schema.json +0 -27
- package/dist/static/fonts/systemics/Montserrat-Bold.woff2 +0 -0
- package/dist/static/fonts/systemics/Montserrat-Light.woff2 +0 -0
- package/dist/static/fonts/systemics/Montserrat-Medium.woff2 +0 -0
- package/dist/static/fonts/systemics/Montserrat-Regular.woff2 +0 -0
- package/dist/static/fonts/systemics/Montserrat-SemiBold.woff2 +0 -0
- package/dist/static/img/about/angled-image.png +0 -0
- package/dist/static/img/about/cta.png +0 -0
- package/dist/static/img/about/cutout.png +0 -0
- package/dist/static/img/about/disclaimer.png +0 -0
- package/dist/static/img/about/purpose.png +0 -0
- package/dist/static/img/about/spoiler.png +0 -0
- package/dist/static/img/kickstartDS/CMS-Starter producthunt-slide-01.svg +0 -72
- package/dist/static/img/kickstartDS/CMS-Starter producthunt-slide-02.svg +0 -112
- package/dist/static/img/kickstartDS/CMS-Starter producthunt-slide-03.svg +0 -197
- package/dist/static/img/kickstartDS/CMS-Starter producthunt-slide-04.svg +0 -76
- package/dist/static/img/kickstartDS/CMS-Starter producthunt-slide-05.svg +0 -82
- package/dist/static/img/kickstartDS/CMS-Starter producthunt-slide-06.svg +0 -219
- package/dist/static/img/kickstartDS/CMS-Starter producthunt-slide-07.svg +0 -85
- package/dist/static/logo-dark.svg +0 -13
- package/dist/static/logo-dsa-inverted.svg +0 -26
- package/dist/static/logo-dsa.svg +0 -26
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "http://schema.mydesignsystem.com/cms/event-detail.schema.json",
|
|
4
|
-
"title": "Event Detail",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"properties": {
|
|
7
|
-
"title": {
|
|
8
|
-
"title": "Event Title",
|
|
9
|
-
"description": "Title of the event",
|
|
10
|
-
"type": "string"
|
|
11
|
-
},
|
|
12
|
-
"categories": {
|
|
13
|
-
"title": "Categories",
|
|
14
|
-
"description": "Categories to which the event belongs",
|
|
15
|
-
"type": "array",
|
|
16
|
-
"items": {
|
|
17
|
-
"type": "object",
|
|
18
|
-
"properties": {
|
|
19
|
-
"label": {
|
|
20
|
-
"type": "string",
|
|
21
|
-
"title": "Label",
|
|
22
|
-
"description": "Label of the category",
|
|
23
|
-
"examples": ["Web Development", "Design", "Marketing"]
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
"intro": {
|
|
29
|
-
"title": "Intro",
|
|
30
|
-
"description": "Short intro text for the event",
|
|
31
|
-
"type": "string"
|
|
32
|
-
},
|
|
33
|
-
"locations": {
|
|
34
|
-
"title": "Locations",
|
|
35
|
-
"description": "List of locations with attendable appointments",
|
|
36
|
-
"type": "array",
|
|
37
|
-
"items": {
|
|
38
|
-
"$ref": "http://schema.mydesignsystem.com/event-location.schema.json"
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
"downloads": {
|
|
42
|
-
"$ref": "http://schema.mydesignsystem.com/downloads.schema.json#/properties/downloads"
|
|
43
|
-
},
|
|
44
|
-
"description": {
|
|
45
|
-
"title": "Description",
|
|
46
|
-
"description": "Description of the event",
|
|
47
|
-
"type": "string",
|
|
48
|
-
"format": "markdown"
|
|
49
|
-
},
|
|
50
|
-
"images": {
|
|
51
|
-
"$ref": "http://schema.mydesignsystem.com/gallery.schema.json#/properties/images"
|
|
52
|
-
},
|
|
53
|
-
"button": {
|
|
54
|
-
"title": "Button",
|
|
55
|
-
"description": "Button at the bottom of the event detail",
|
|
56
|
-
"type": "object",
|
|
57
|
-
"properties": {
|
|
58
|
-
"label": {
|
|
59
|
-
"type": "string",
|
|
60
|
-
"title": "Label",
|
|
61
|
-
"description": "Label of the button",
|
|
62
|
-
"examples": ["See all Events"]
|
|
63
|
-
},
|
|
64
|
-
"url": {
|
|
65
|
-
"type": "string",
|
|
66
|
-
"title": "Url",
|
|
67
|
-
"description": "URL the button links to",
|
|
68
|
-
"format": "uri"
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
},
|
|
73
|
-
"additionalProperties": false
|
|
74
|
-
}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
2
|
-
import { RichText } from '@kickstartds/base/lib/rich-text';
|
|
3
|
-
import { EventLocation } from '../event-location/index.js';
|
|
4
|
-
import { Section } from '../section/index.js';
|
|
5
|
-
import { EventHeader } from '../event-header/index.js';
|
|
6
|
-
import { Gallery } from '../gallery/index.js';
|
|
7
|
-
import { Downloads } from '../downloads/index.js';
|
|
8
|
-
import { Headline } from '../headline/index.js';
|
|
9
|
-
import 'react';
|
|
10
|
-
import 'classnames';
|
|
11
|
-
import '@kickstartds/base/lib/icon';
|
|
12
|
-
import '../event-appointment/index.js';
|
|
13
|
-
import '@kickstartds/core/lib/container';
|
|
14
|
-
import '@kickstartds/core/lib/react';
|
|
15
|
-
import '@kickstartds/base/lib/section';
|
|
16
|
-
import '../section/js/Section.client.js';
|
|
17
|
-
import '@kickstartds/core/lib/component';
|
|
18
|
-
import '../text/index.js';
|
|
19
|
-
import '@kickstartds/base/lib/tag-label';
|
|
20
|
-
import '@kickstartds/base/lib/text-media';
|
|
21
|
-
import '@kickstartds/base/lib/picture';
|
|
22
|
-
import 'markdown-to-jsx';
|
|
23
|
-
import '@kickstartds/base/lib/headline';
|
|
24
|
-
|
|
25
|
-
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: "default", 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: {
|
|
26
|
-
mode: "list",
|
|
27
|
-
gutter: "none",
|
|
28
|
-
}, spaceAfter: "none", children: [jsx(Headline, { text: "Downloads", level: "h3", style: "h3" }), jsx(Downloads, { downloads: downloads })] })), jsx(Section, { width: "narrow", buttons: [
|
|
29
|
-
{
|
|
30
|
-
label: "See all Events",
|
|
31
|
-
url: "/#",
|
|
32
|
-
},
|
|
33
|
-
] })] }));
|
|
34
|
-
EventDetail.displayName = "EventDetail";
|
|
35
|
-
|
|
36
|
-
export { EventDetail };
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "http://schema.mydesignsystem.com/event-header.schema.json",
|
|
4
|
-
"title": "Event Header",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"properties": {
|
|
7
|
-
"title": {
|
|
8
|
-
"title": "Title",
|
|
9
|
-
"description": "Title of the event",
|
|
10
|
-
"type": "string"
|
|
11
|
-
},
|
|
12
|
-
"categories": {
|
|
13
|
-
"title": "Categories",
|
|
14
|
-
"description": "Categories associated with the event",
|
|
15
|
-
"type": "array",
|
|
16
|
-
"items": {
|
|
17
|
-
"type": "object",
|
|
18
|
-
"properties": {
|
|
19
|
-
"label": {
|
|
20
|
-
"title": "Label",
|
|
21
|
-
"description": "Label of the category",
|
|
22
|
-
"type": "string"
|
|
23
|
-
}
|
|
24
|
-
},
|
|
25
|
-
"additionalProperties": false
|
|
26
|
-
}
|
|
27
|
-
},
|
|
28
|
-
"intro": {
|
|
29
|
-
"title": "Intro",
|
|
30
|
-
"description": "Introductory text for the event",
|
|
31
|
-
"type": "string"
|
|
32
|
-
},
|
|
33
|
-
"type": {
|
|
34
|
-
"const": "event-header"
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
"additionalProperties": false
|
|
38
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "http://schema.mydesignsystem.com/event-header.schema.json",
|
|
4
|
-
"title": "Event Header",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"properties": {
|
|
7
|
-
"title": {
|
|
8
|
-
"title": "Title",
|
|
9
|
-
"description": "Title of the event",
|
|
10
|
-
"type": "string"
|
|
11
|
-
},
|
|
12
|
-
"categories": {
|
|
13
|
-
"title": "Categories",
|
|
14
|
-
"description": "Categories associated with the event",
|
|
15
|
-
"type": "array",
|
|
16
|
-
"items": {
|
|
17
|
-
"type": "object",
|
|
18
|
-
"properties": {
|
|
19
|
-
"label": {
|
|
20
|
-
"title": "Label",
|
|
21
|
-
"description": "Label of the category",
|
|
22
|
-
"type": "string"
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
"intro": {
|
|
28
|
-
"title": "Intro",
|
|
29
|
-
"description": "Introductory text for the event",
|
|
30
|
-
"type": "string"
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
"additionalProperties": false
|
|
34
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* This file was automatically generated by json-schema-to-typescript.
|
|
5
|
-
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
6
|
-
* and run json-schema-to-typescript to regenerate this file.
|
|
7
|
-
*/
|
|
8
|
-
/**
|
|
9
|
-
* Title of the event
|
|
10
|
-
*/
|
|
11
|
-
type Title = string;
|
|
12
|
-
/**
|
|
13
|
-
* Label of the category
|
|
14
|
-
*/
|
|
15
|
-
type Label = string;
|
|
16
|
-
/**
|
|
17
|
-
* Categories associated with the event
|
|
18
|
-
*/
|
|
19
|
-
type Categories = {
|
|
20
|
-
label?: Label;
|
|
21
|
-
}[];
|
|
22
|
-
/**
|
|
23
|
-
* Introductory text for the event
|
|
24
|
-
*/
|
|
25
|
-
type Intro = string;
|
|
26
|
-
interface EventHeaderProps {
|
|
27
|
-
title?: Title;
|
|
28
|
-
categories?: Categories;
|
|
29
|
-
intro?: Intro;
|
|
30
|
-
}
|
|
31
|
-
declare const EventHeaderContextDefault: import("react").ForwardRefExoticComponent<EventHeaderProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
32
|
-
declare const EventHeaderContext: import("react").Context<import("react").ForwardRefExoticComponent<EventHeaderProps & import("react").RefAttributes<HTMLDivElement>>>;
|
|
33
|
-
declare const EventHeader: import("react").ForwardRefExoticComponent<EventHeaderProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
34
|
-
export type { EventHeaderProps };
|
|
35
|
-
export { EventHeaderContextDefault, EventHeaderContext, EventHeader };
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import "./event-header.css";
|
|
2
|
-
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
|
-
import { forwardRef, createContext, useContext } from 'react';
|
|
4
|
-
import { Headline } from '../headline/index.js';
|
|
5
|
-
import { Text } from '../text/index.js';
|
|
6
|
-
import { TagLabel } from '@kickstartds/base/lib/tag-label';
|
|
7
|
-
import 'classnames';
|
|
8
|
-
import 'markdown-to-jsx';
|
|
9
|
-
import '@kickstartds/base/lib/headline';
|
|
10
|
-
import '@kickstartds/base/lib/rich-text';
|
|
11
|
-
|
|
12
|
-
const EventHeaderContextDefault = forwardRef(({ title, categories, intro }, ref) => (jsxs("div", { className: "dsa-event-header", ref: ref, children: [categories && categories.length > 0 && (jsx("div", { className: "dsa-event-header__categories", children: categories.map((category, index) => (jsx(TagLabel, { className: "dsa-event__category", label: category?.label }, index))) })), jsx(Headline, { text: title, level: "h1" }), intro && jsx(Text, { highlightText: true, text: intro })] })));
|
|
13
|
-
const EventHeaderContext = createContext(EventHeaderContextDefault);
|
|
14
|
-
const EventHeader = forwardRef((props, ref) => {
|
|
15
|
-
const Component = useContext(EventHeaderContext);
|
|
16
|
-
return jsx(Component, { ...props, ref: ref });
|
|
17
|
-
});
|
|
18
|
-
EventHeader.displayName = "EventHeader";
|
|
19
|
-
|
|
20
|
-
export { EventHeader, EventHeaderContext, EventHeaderContextDefault };
|
|
@@ -1,142 +0,0 @@
|
|
|
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
|
-
"events": {
|
|
9
|
-
"title": "Events",
|
|
10
|
-
"description": "List of events to display",
|
|
11
|
-
"type": "array",
|
|
12
|
-
"items": {
|
|
13
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
14
|
-
"$id": "http://schema.mydesignsystem.com/event-latest-teaser.schema.json",
|
|
15
|
-
"title": "Event Latest Teaser",
|
|
16
|
-
"description": "Display an event teaser with date, title and location",
|
|
17
|
-
"type": "object",
|
|
18
|
-
"properties": {
|
|
19
|
-
"date": {
|
|
20
|
-
"title": "Date",
|
|
21
|
-
"description": "The date of the event",
|
|
22
|
-
"type": "string",
|
|
23
|
-
"format": "date",
|
|
24
|
-
"examples": [
|
|
25
|
-
"12.30.2022"
|
|
26
|
-
]
|
|
27
|
-
},
|
|
28
|
-
"calendar": {
|
|
29
|
-
"type": "object",
|
|
30
|
-
"title": "Calendar",
|
|
31
|
-
"description": "Calendar icon to display the date",
|
|
32
|
-
"properties": {
|
|
33
|
-
"month": {
|
|
34
|
-
"title": "Month",
|
|
35
|
-
"description": "The month of the event",
|
|
36
|
-
"type": "string",
|
|
37
|
-
"examples": [
|
|
38
|
-
"Dec"
|
|
39
|
-
]
|
|
40
|
-
},
|
|
41
|
-
"day": {
|
|
42
|
-
"title": "Day",
|
|
43
|
-
"description": "The day of the event",
|
|
44
|
-
"type": "string",
|
|
45
|
-
"examples": [
|
|
46
|
-
"30"
|
|
47
|
-
]
|
|
48
|
-
}
|
|
49
|
-
},
|
|
50
|
-
"additionalProperties": false
|
|
51
|
-
},
|
|
52
|
-
"title": {
|
|
53
|
-
"title": "Headline",
|
|
54
|
-
"description": "Title of the event",
|
|
55
|
-
"type": "string",
|
|
56
|
-
"format": "markdown",
|
|
57
|
-
"examples": [
|
|
58
|
-
"This is a event teaser title"
|
|
59
|
-
]
|
|
60
|
-
},
|
|
61
|
-
"location": {
|
|
62
|
-
"title": "Location",
|
|
63
|
-
"description": "Location of the event",
|
|
64
|
-
"type": "string",
|
|
65
|
-
"format": "markdown",
|
|
66
|
-
"examples": [
|
|
67
|
-
"This is a location"
|
|
68
|
-
]
|
|
69
|
-
},
|
|
70
|
-
"url": {
|
|
71
|
-
"title": "URL",
|
|
72
|
-
"description": "The event entry URL to link",
|
|
73
|
-
"type": "string",
|
|
74
|
-
"format": "uri",
|
|
75
|
-
"examples": [
|
|
76
|
-
"https://example.com"
|
|
77
|
-
]
|
|
78
|
-
},
|
|
79
|
-
"cta": {
|
|
80
|
-
"title": "Call to Action",
|
|
81
|
-
"description": "Text for the call to action",
|
|
82
|
-
"type": "string",
|
|
83
|
-
"examples": [
|
|
84
|
-
"Show event"
|
|
85
|
-
]
|
|
86
|
-
},
|
|
87
|
-
"ariaLabel": {
|
|
88
|
-
"title": "ARIA Label",
|
|
89
|
-
"description": "ARIA label for accessibility",
|
|
90
|
-
"type": "string",
|
|
91
|
-
"examples": [
|
|
92
|
-
"Event teaser for "
|
|
93
|
-
]
|
|
94
|
-
},
|
|
95
|
-
"className": {
|
|
96
|
-
"type": "string"
|
|
97
|
-
},
|
|
98
|
-
"type": {
|
|
99
|
-
"const": "event-latest-teaser"
|
|
100
|
-
}
|
|
101
|
-
},
|
|
102
|
-
"additionalProperties": false,
|
|
103
|
-
"required": [
|
|
104
|
-
"title",
|
|
105
|
-
"date",
|
|
106
|
-
"location"
|
|
107
|
-
]
|
|
108
|
-
},
|
|
109
|
-
"minItems": 1,
|
|
110
|
-
"examples": [
|
|
111
|
-
[
|
|
112
|
-
{
|
|
113
|
-
"date": "12/30/2022",
|
|
114
|
-
"headline": "Event 1",
|
|
115
|
-
"location": "Location 1",
|
|
116
|
-
"link": {
|
|
117
|
-
"url": "https://example.com/event1",
|
|
118
|
-
"text": "Show event 1"
|
|
119
|
-
}
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
"date": "01/15/2023",
|
|
123
|
-
"headline": "Event 2",
|
|
124
|
-
"location": "Location 2",
|
|
125
|
-
"link": {
|
|
126
|
-
"url": "https://example.com/event2",
|
|
127
|
-
"text": "Show event 2"
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
]
|
|
131
|
-
]
|
|
132
|
-
},
|
|
133
|
-
"className": {
|
|
134
|
-
"type": "string"
|
|
135
|
-
},
|
|
136
|
-
"type": {
|
|
137
|
-
"const": "event-latest"
|
|
138
|
-
}
|
|
139
|
-
},
|
|
140
|
-
"additionalProperties": false,
|
|
141
|
-
"required": []
|
|
142
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
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
|
-
"events": {
|
|
9
|
-
"title": "Events",
|
|
10
|
-
"description": "List of events to display",
|
|
11
|
-
"type": "array",
|
|
12
|
-
"items": {
|
|
13
|
-
"$ref": "http://schema.mydesignsystem.com/event-latest-teaser.schema.json"
|
|
14
|
-
},
|
|
15
|
-
"minItems": 1,
|
|
16
|
-
"examples": [
|
|
17
|
-
[
|
|
18
|
-
{
|
|
19
|
-
"date": "12/30/2022",
|
|
20
|
-
"headline": "Event 1",
|
|
21
|
-
"location": "Location 1",
|
|
22
|
-
"link": {
|
|
23
|
-
"url": "https://example.com/event1",
|
|
24
|
-
"text": "Show event 1"
|
|
25
|
-
}
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"date": "01/15/2023",
|
|
29
|
-
"headline": "Event 2",
|
|
30
|
-
"location": "Location 2",
|
|
31
|
-
"link": {
|
|
32
|
-
"url": "https://example.com/event2",
|
|
33
|
-
"text": "Show event 2"
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
]
|
|
37
|
-
]
|
|
38
|
-
},
|
|
39
|
-
|
|
40
|
-
"className": {
|
|
41
|
-
"type": "string"
|
|
42
|
-
}
|
|
43
|
-
},
|
|
44
|
-
"additionalProperties": false,
|
|
45
|
-
"required": []
|
|
46
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
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 { EventLatestTeaserProps } from "../../EventLatestTeaserProps-fc9d3281.js";
|
|
10
|
-
/**
|
|
11
|
-
* List of events to display
|
|
12
|
-
*
|
|
13
|
-
* @minItems 1
|
|
14
|
-
*/
|
|
15
|
-
type Events = [
|
|
16
|
-
EventLatestTeaserProps,
|
|
17
|
-
...EventLatestTeaserProps[]
|
|
18
|
-
];
|
|
19
|
-
/**
|
|
20
|
-
* Display a list of latest events, ordered chronologically
|
|
21
|
-
*/
|
|
22
|
-
interface EventLatestProps {
|
|
23
|
-
events?: Events;
|
|
24
|
-
className?: string;
|
|
25
|
-
}
|
|
26
|
-
declare const EventLatestContextDefault: import("react").ForwardRefExoticComponent<EventLatestProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
27
|
-
declare const EventLatestContext: import("react").Context<import("react").ForwardRefExoticComponent<EventLatestProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>>;
|
|
28
|
-
declare const EventLatest: import("react").ForwardRefExoticComponent<EventLatestProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
29
|
-
export type { EventLatestProps };
|
|
30
|
-
export { EventLatestContextDefault, EventLatestContext, EventLatest };
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import "./event-latest.css";
|
|
2
|
-
import { jsx } from 'react/jsx-runtime';
|
|
3
|
-
import { forwardRef, createContext, useContext } from 'react';
|
|
4
|
-
import { EventLatestTeaser } from '../event-latest-teaser/index.js';
|
|
5
|
-
import 'classnames';
|
|
6
|
-
import '@kickstartds/base/lib/icon';
|
|
7
|
-
import '@kickstartds/core/lib/container';
|
|
8
|
-
|
|
9
|
-
const EventLatestContextDefault = forwardRef(({ events }, ref) => {
|
|
10
|
-
return (jsx("div", { className: "dsa-event-latest", ref: ref, children: events.map((event, index) => (jsx(EventLatestTeaser, { ...event }, index))) }));
|
|
11
|
-
});
|
|
12
|
-
const EventLatestContext = createContext(EventLatestContextDefault);
|
|
13
|
-
const EventLatest = forwardRef((props, ref) => {
|
|
14
|
-
const Component = useContext(EventLatestContext);
|
|
15
|
-
return jsx(Component, { ...props, ref: ref });
|
|
16
|
-
});
|
|
17
|
-
EventLatest.displayName = "EventLatest";
|
|
18
|
-
|
|
19
|
-
export { EventLatest, EventLatestContext, EventLatestContextDefault };
|
|
@@ -1,128 +0,0 @@
|
|
|
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-card);
|
|
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
|
-
}
|