@kickstartds/ds-agency-premium 1.0.1
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/README.md +96 -0
- package/dist/ButtonProps-03ff6d21.d.ts +41 -0
- package/dist/CtaProps-93230a76.d.ts +113 -0
- package/dist/FaqProps-ad618cd5.d.ts +35 -0
- package/dist/FeaturesProps-79dea880.d.ts +284 -0
- package/dist/GalleryProps-76e7de44.d.ts +331 -0
- package/dist/HeadlineProps-d413a2cc.d.ts +48 -0
- package/dist/HeroProps-cf82a16d.d.ts +104 -0
- package/dist/ImageStoryProps-03ff6d21.d.ts +70 -0
- package/dist/ImageTextProps-9286cca4.d.ts +38 -0
- package/dist/LogosProps-8af8b3c7.d.ts +929 -0
- package/dist/MosaicProps-aacb9422.d.ts +84 -0
- package/dist/SliderProps-69b2f1d7.d.ts +43 -0
- package/dist/SplitProps-89ef39c4.d.ts +9 -0
- package/dist/StatsProps-afa48599.d.ts +41 -0
- package/dist/TeaserCardProps-b52479e5.d.ts +49 -0
- package/dist/TestimonialsProps-d27ae4b4.d.ts +54 -0
- package/dist/TextProps-a23170d2.d.ts +31 -0
- package/dist/VideoCurtainProps-6c625a69.d.ts +82 -0
- package/dist/components/blog-aside/blog-aside.css +9 -0
- package/dist/components/blog-aside/blog-aside.schema.dereffed.json +130 -0
- package/dist/components/blog-aside/blog-aside.schema.json +99 -0
- package/dist/components/blog-aside/index.d.ts +76 -0
- package/dist/components/blog-aside/index.js +55 -0
- package/dist/components/blog-head/blog-head.css +3 -0
- package/dist/components/blog-head/blog-head.schema.dereffed.json +54 -0
- package/dist/components/blog-head/blog-head.schema.json +40 -0
- package/dist/components/blog-head/index.d.ts +34 -0
- package/dist/components/blog-head/index.js +11 -0
- package/dist/components/blog-teaser/blog-teaser.css +58 -0
- package/dist/components/blog-teaser/blog-teaser.schema.dereffed.json +135 -0
- package/dist/components/blog-teaser/blog-teaser.schema.json +102 -0
- package/dist/components/blog-teaser/index.d.ts +81 -0
- package/dist/components/blog-teaser/index.js +37 -0
- package/dist/components/button/button.css +67 -0
- package/dist/components/button/button.schema.dereffed.json +63 -0
- package/dist/components/button/button.schema.json +48 -0
- package/dist/components/button/index.d.ts +6 -0
- package/dist/components/button/index.js +18 -0
- package/dist/components/button-group/button-group.schema.dereffed.json +115 -0
- package/dist/components/button-group/button-group.schema.json +27 -0
- package/dist/components/button-group/index.d.ts +40 -0
- package/dist/components/button-group/index.js +30 -0
- package/dist/components/component-teaser/component-teaser.schema.dereffed.json +43 -0
- package/dist/components/component-teaser/component-teaser.schema.json +40 -0
- package/dist/components/cta/cta.css +100 -0
- package/dist/components/cta/cta.schema.dereffed.json +158 -0
- package/dist/components/cta/cta.schema.json +127 -0
- package/dist/components/cta/index.d.ts +4 -0
- package/dist/components/cta/index.js +40 -0
- package/dist/components/faq/faq.css +17 -0
- package/dist/components/faq/faq.schema.dereffed.json +48 -0
- package/dist/components/faq/faq.schema.json +36 -0
- package/dist/components/faq/index.d.ts +4 -0
- package/dist/components/faq/index.js +9 -0
- package/dist/components/feature/index.d.ts +49 -0
- package/dist/components/feature/index.js +23 -0
- package/dist/components/features/features.css +115 -0
- package/dist/components/features/features.schema.dereffed.json +121 -0
- package/dist/components/features/features.schema.json +93 -0
- package/dist/components/features/index.d.ts +4 -0
- package/dist/components/features/index.js +32 -0
- package/dist/components/footer/footer.css +53 -0
- package/dist/components/footer/footer.schema.dereffed.json +178 -0
- package/dist/components/footer/footer.schema.json +47 -0
- package/dist/components/footer/index.d.ts +22 -0
- package/dist/components/footer/index.js +11 -0
- package/dist/components/gallery/gallery.css +50 -0
- package/dist/components/gallery/gallery.schema.dereffed.json +84 -0
- package/dist/components/gallery/gallery.schema.json +62 -0
- package/dist/components/gallery/index.d.ts +4 -0
- package/dist/components/gallery/index.js +35 -0
- package/dist/components/header/header.css +78 -0
- package/dist/components/header/header.schema.dereffed.json +188 -0
- package/dist/components/header/header.schema.json +25 -0
- package/dist/components/header/index.d.ts +26 -0
- package/dist/components/header/index.js +16 -0
- package/dist/components/headline/headline.css +78 -0
- package/dist/components/headline/headline.schema.dereffed.json +86 -0
- package/dist/components/headline/headline.schema.json +60 -0
- package/dist/components/headline/index.d.ts +11 -0
- package/dist/components/headline/index.js +18 -0
- package/dist/components/hero/hero.css +95 -0
- package/dist/components/hero/hero.schema.dereffed.json +166 -0
- package/dist/components/hero/hero.schema.json +79 -0
- package/dist/components/hero/index.d.ts +4 -0
- package/dist/components/hero/index.js +55 -0
- package/dist/components/image/image.css +12 -0
- package/dist/components/image/image.schema.dereffed.json +105 -0
- package/dist/components/image/image.schema.json +95 -0
- package/dist/components/image/index.d.ts +87 -0
- package/dist/components/image/index.js +11 -0
- package/dist/components/image-story/image-story.css +26 -0
- package/dist/components/image-story/image-story.schema.dereffed.json +165 -0
- package/dist/components/image-story/image-story.schema.json +81 -0
- package/dist/components/image-story/index.d.ts +4 -0
- package/dist/components/image-story/index.js +39 -0
- package/dist/components/image-text/image-text.css +4 -0
- package/dist/components/image-text/image-text.schema.dereffed.json +68 -0
- package/dist/components/image-text/image-text.schema.json +46 -0
- package/dist/components/image-text/index.d.ts +5 -0
- package/dist/components/image-text/index.js +20 -0
- package/dist/components/logos/index.d.ts +4 -0
- package/dist/components/logos/index.js +12 -0
- package/dist/components/logos/logos.css +91 -0
- package/dist/components/logos/logos.schema.dereffed.json +131 -0
- package/dist/components/logos/logos.schema.json +106 -0
- package/dist/components/mosaic/index.d.ts +4 -0
- package/dist/components/mosaic/index.js +33 -0
- package/dist/components/mosaic/mosaic.css +35 -0
- package/dist/components/mosaic/mosaic.schema.dereffed.json +122 -0
- package/dist/components/mosaic/mosaic.schema.json +86 -0
- package/dist/components/nav-main/index.d.ts +26 -0
- package/dist/components/nav-main/index.js +17 -0
- package/dist/components/nav-main/js/NavToggle.client.d.ts +16 -0
- package/dist/components/nav-main/js/NavToggle.client.js +57 -0
- package/dist/components/nav-main/js/body.client.d.ts +5 -0
- package/dist/components/nav-main/js/body.client.js +41 -0
- package/dist/components/nav-main/js/navMainEvents.client.d.ts +5 -0
- package/dist/components/nav-main/js/navMainEvents.client.js +13 -0
- package/dist/components/nav-main/nav-main.css +170 -0
- package/dist/components/nav-main/nav-main.schema.dereffed.json +182 -0
- package/dist/components/nav-main/nav-main.schema.json +53 -0
- package/dist/components/nav-main/nav-toggle.css +85 -0
- package/dist/components/page/page.schema.dereffed.json +1945 -0
- package/dist/components/page/page.schema.json +58 -0
- package/dist/components/page-intro/index.d.ts +17 -0
- package/dist/components/page-intro/index.js +18 -0
- package/dist/components/page-intro/page-intro.css +8 -0
- package/dist/components/page-intro/page-intro.schema.dereffed.json +30 -0
- package/dist/components/page-intro/page-intro.schema.json +26 -0
- package/dist/components/page-wrapper/index.d.ts +2 -0
- package/dist/components/page-wrapper/index.js +28 -0
- package/dist/components/page-wrapper/tokens.css +1556 -0
- package/dist/components/picture/picture.schema.json +88 -0
- package/dist/components/providers/index.d.ts +6 -0
- package/dist/components/providers/index.js +38 -0
- package/dist/components/raw-page-wrapper/index.d.ts +3 -0
- package/dist/components/raw-page-wrapper/index.js +492 -0
- package/dist/components/section/index.d.ts +147 -0
- package/dist/components/section/index.js +48 -0
- package/dist/components/section/js/Section.client.d.ts +2 -0
- package/dist/components/section/js/Section.client.js +26 -0
- package/dist/components/section/js/spotlight.client.d.ts +2 -0
- package/dist/components/section/js/spotlight.client.js +14 -0
- package/dist/components/section/section.css +110 -0
- package/dist/components/section/section.schema.dereffed.json +1875 -0
- package/dist/components/section/section.schema.json +222 -0
- package/dist/components/slider/index.d.ts +4 -0
- package/dist/components/slider/index.js +7 -0
- package/dist/components/slider/slider.css +24 -0
- package/dist/components/slider/slider.schema.dereffed.json +54 -0
- package/dist/components/slider/slider.schema.json +30 -0
- package/dist/components/split/index.d.ts +4 -0
- package/dist/components/split/index.js +7 -0
- package/dist/components/split/split.css +24 -0
- package/dist/components/split/split.schema.dereffed.json +20 -0
- package/dist/components/split/split.schema.json +13 -0
- package/dist/components/stats/index.d.ts +4 -0
- package/dist/components/stats/index.js +11 -0
- package/dist/components/stats/stats.css +49 -0
- package/dist/components/stats/stats.schema.dereffed.json +71 -0
- package/dist/components/stats/stats.schema.json +49 -0
- package/dist/components/teaser-card/index.d.ts +6 -0
- package/dist/components/teaser-card/index.js +25 -0
- package/dist/components/teaser-card/teaser-card.css +98 -0
- package/dist/components/teaser-card/teaser-card.schema.dereffed.json +69 -0
- package/dist/components/teaser-card/teaser-card.schema.json +58 -0
- package/dist/components/teaser-component/component-teaser.css +33 -0
- package/dist/components/teaser-component/index.d.ts +41 -0
- package/dist/components/teaser-component/index.js +18 -0
- package/dist/components/testimonials/index.d.ts +9 -0
- package/dist/components/testimonials/index.js +22 -0
- package/dist/components/testimonials/testimonials.css +63 -0
- package/dist/components/testimonials/testimonials.schema.dereffed.json +93 -0
- package/dist/components/testimonials/testimonials.schema.json +71 -0
- package/dist/components/text/index.d.ts +4 -0
- package/dist/components/text/index.js +13 -0
- package/dist/components/text/text.css +15 -0
- package/dist/components/text/text.schema.dereffed.json +50 -0
- package/dist/components/text/text.schema.json +39 -0
- package/dist/components/video-curtain/index.d.ts +4 -0
- package/dist/components/video-curtain/index.js +47 -0
- package/dist/components/video-curtain/video-curtain.css +51 -0
- package/dist/components/video-curtain/video-curtain.schema.dereffed.json +123 -0
- package/dist/components/video-curtain/video-curtain.schema.json +67 -0
- package/dist/global-35f78d6d.js +1 -0
- package/dist/global.client.d.ts +2 -0
- package/dist/global.client.js +8 -0
- package/dist/global.css +564 -0
- package/dist/static/.gitkeep +0 -0
- package/dist/static/favicon/.gitkeep +0 -0
- package/dist/static/favicon/android-chrome-192x192.png +0 -0
- package/dist/static/favicon/android-chrome-512x512.png +0 -0
- package/dist/static/favicon/apple-touch-icon.png +0 -0
- package/dist/static/favicon/browserconfig.xml +9 -0
- package/dist/static/favicon/favicon-16x16.png +0 -0
- package/dist/static/favicon/favicon-192-192.png +20 -0
- package/dist/static/favicon/favicon-32x32.png +0 -0
- package/dist/static/favicon/favicon.ico +0 -0
- package/dist/static/favicon/mstile-144x144.png +0 -0
- package/dist/static/favicon/mstile-150x150.png +0 -0
- package/dist/static/favicon/mstile-310x150.png +0 -0
- package/dist/static/favicon/mstile-310x310.png +0 -0
- package/dist/static/favicon/mstile-70x70.png +0 -0
- package/dist/static/favicon/safari-pinned-tab.svg +30 -0
- package/dist/static/favicon/site.webmanifest +19 -0
- package/dist/static/fonts/dsa/Fredoka-Bold.woff +0 -0
- package/dist/static/fonts/dsa/Fredoka-Bold.woff2 +0 -0
- package/dist/static/fonts/dsa/Fredoka-Light.woff +0 -0
- package/dist/static/fonts/dsa/Fredoka-Light.woff2 +0 -0
- package/dist/static/fonts/dsa/Fredoka-Medium.woff +0 -0
- package/dist/static/fonts/dsa/Fredoka-Medium.woff2 +0 -0
- package/dist/static/fonts/dsa/Fredoka-Regular.woff +0 -0
- package/dist/static/fonts/dsa/Fredoka-Regular.woff2 +0 -0
- package/dist/static/fonts/dsa/Fredoka-SemiBold.woff +0 -0
- package/dist/static/fonts/dsa/Fredoka-SemiBold.woff2 +0 -0
- package/dist/static/fonts/dsa/Mulish-300.woff +0 -0
- package/dist/static/fonts/dsa/Mulish-300.woff2 +0 -0
- package/dist/static/fonts/dsa/Mulish-600.woff +0 -0
- package/dist/static/fonts/dsa/Mulish-600.woff2 +0 -0
- package/dist/static/fonts/dsa/Mulish-800.woff +0 -0
- package/dist/static/fonts/dsa/Mulish-800.woff2 +0 -0
- package/dist/static/fonts/dsa/Mulish-Regular.woff +0 -0
- package/dist/static/fonts/dsa/Mulish-Regular.woff2 +0 -0
- package/dist/static/fonts/google/google-sans-18pt.woff2 +0 -0
- package/dist/static/fonts/google/google-sans-display.woff2 +0 -0
- package/dist/static/fonts/google/google-sans-text-medium.woff2 +0 -0
- package/dist/static/fonts/google/google-sans-text.woff2 +0 -0
- package/dist/static/fonts/lughausen/novelpro-regular.woff +0 -0
- package/dist/static/fonts/lughausen/novelsanspro-bold.woff +0 -0
- package/dist/static/fonts/lughausen/novelsanspro-regular.woff +0 -0
- package/dist/static/fonts/telekom/teleneo-bold-woff-data.woff +0 -0
- package/dist/static/fonts/telekom/teleneo-extrabold-woff-data.woff +0 -0
- package/dist/static/fonts/telekom/teleneo-medium-woff-data.woff +0 -0
- package/dist/static/fonts/telekom/teleneo-thin-woff-data.woff +0 -0
- package/dist/static/img/02.jpg +0 -0
- package/dist/static/img/angled-image.png +0 -0
- package/dist/static/img/bg_dot-carpet-blue.svg +346 -0
- package/dist/static/img/close-up-young-business-team-working.png +0 -0
- package/dist/static/img/colleagues-work-office-using-computers-looking-aside.png +0 -0
- package/dist/static/img/colored-square.png +0 -0
- package/dist/static/img/contact-person.png +0 -0
- package/dist/static/img/full-shot-different-people-working-together.png +0 -0
- package/dist/static/img/grid-bg.svg +19 -0
- package/dist/static/img/logos/castaway.svg +111 -0
- package/dist/static/img/logos/logoipsum-212.svg +12 -0
- package/dist/static/img/logos/logoipsum-217.svg +4 -0
- package/dist/static/img/logos/logoipsum-239.svg +16 -0
- package/dist/static/img/logos/logoipsum-244.svg +19 -0
- package/dist/static/img/logos/logoipsum-250.svg +21 -0
- package/dist/static/img/logos/logoipsum-286.svg +20 -0
- package/dist/static/img/low-angle-tall-building-with-many-windows_23-2148230392.png +0 -0
- package/dist/static/img/mosaic-1.png +0 -0
- package/dist/static/img/mosaic-2.png +0 -0
- package/dist/static/img/mosaic-2_1.svg +34 -0
- package/dist/static/img/mosaic-2_2.svg +25 -0
- package/dist/static/img/mosaic-2_3.svg +32 -0
- package/dist/static/img/mosaic-3.png +0 -0
- package/dist/static/img/office-divider-image.png +0 -0
- package/dist/static/img/offset-image.png +0 -0
- package/dist/static/img/people/author-alex.png +0 -0
- package/dist/static/img/people/author-emily.png +0 -0
- package/dist/static/img/people/author-john.png +0 -0
- package/dist/static/img/people-brainstorming-work-meeting.png +0 -0
- package/dist/static/img/responsive_image-1680.png +0 -0
- package/dist/static/img/responsive_image-420.png +0 -0
- package/dist/static/img/responsive_image-980.png +0 -0
- package/dist/static/img/showcases/audio_bg.svg +10 -0
- package/dist/static/img/showcases/comp_audio01.jpg +0 -0
- package/dist/static/img/showcases/comp_audio04.png +0 -0
- package/dist/static/img/showcases/comp_eco01.jpg +0 -0
- package/dist/static/img/showcases/comp_eco01.png +0 -0
- package/dist/static/img/showcases/comp_eco02.png +0 -0
- package/dist/static/img/showcases/comp_eco03.png +0 -0
- package/dist/static/img/showcases/comp_eco04.jpg +0 -0
- package/dist/static/img/showcases/comp_eco04.png +0 -0
- package/dist/static/img/showcases/comp_tfe01.jpg +0 -0
- package/dist/static/img/showcases/eco_bg.png +0 -0
- package/dist/static/img/showcases/preview_audio.png +0 -0
- package/dist/static/img/showcases/preview_eco.png +0 -0
- package/dist/static/img/showcases/preview_tfe.png +0 -0
- package/dist/static/img/showcases/tfe_bg.svg +48 -0
- package/dist/static/img/top-view-desk-with-keyboard-drawing-pad.png +0 -0
- package/dist/static/img/videos/handshake-bw.mp4 +0 -0
- package/dist/static/img/videos/video-720.mp4 +0 -0
- package/dist/static/img/videos/video-agency.mp4 +0 -0
- package/dist/static/img/view-modern-office.jpg +0 -0
- package/dist/static/logo-google.svg +1 -0
- package/dist/static/logo-lughausen.svg +27 -0
- package/dist/static/logo-telekom.svg +8 -0
- package/dist/static/logo.svg +26 -0
- package/dist/static/tokens-google.css +1553 -0
- package/dist/static/tokens-lughausen.css +1549 -0
- package/dist/static/tokens-telekom.css +1549 -0
- package/dist/static/tokens.css +1554 -0
- package/dist/tokens/IconSprite.js +467 -0
- package/dist/tokens/icon-sprite.html +37 -0
- package/dist/tokens/tokens.css +1554 -0
- package/dist/tokens/tokens.js +652 -0
- package/package.json +138 -0
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "http://schema.mydesignsystem.com/section.schema.json",
|
|
4
|
+
"title": "Section",
|
|
5
|
+
"description": "Component used to layout components into pages",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"width": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"title": "Width",
|
|
11
|
+
"description": "Width of section to use",
|
|
12
|
+
"enum": ["full", "max", "wide", "default", "narrow"],
|
|
13
|
+
"default": "default"
|
|
14
|
+
},
|
|
15
|
+
"style": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"title": "Style",
|
|
18
|
+
"description": "Style of background",
|
|
19
|
+
"enum": [
|
|
20
|
+
"stagelights",
|
|
21
|
+
"horizontalGradient",
|
|
22
|
+
"verticalGradient",
|
|
23
|
+
"accentTransition",
|
|
24
|
+
"boldTransition",
|
|
25
|
+
"symmetricGlow",
|
|
26
|
+
"anchorGlow"
|
|
27
|
+
],
|
|
28
|
+
"default": "default"
|
|
29
|
+
},
|
|
30
|
+
"backgroundColor": {
|
|
31
|
+
"type": "string",
|
|
32
|
+
"title": "Style",
|
|
33
|
+
"description": "Color of background",
|
|
34
|
+
"enum": ["default", "accent", "bold"],
|
|
35
|
+
"default": "default"
|
|
36
|
+
},
|
|
37
|
+
"spotlight": {
|
|
38
|
+
"type": "boolean",
|
|
39
|
+
"title": "Spotlight",
|
|
40
|
+
"description": "Show spotlight behind cursor",
|
|
41
|
+
"default": false
|
|
42
|
+
},
|
|
43
|
+
"spaceBefore": {
|
|
44
|
+
"type": "string",
|
|
45
|
+
"title": "Space Before",
|
|
46
|
+
"description": "Amount of spacing before the section",
|
|
47
|
+
"enum": ["default", "small", "none"],
|
|
48
|
+
"default": "default"
|
|
49
|
+
},
|
|
50
|
+
"spaceAfter": {
|
|
51
|
+
"type": "string",
|
|
52
|
+
"title": "Space After",
|
|
53
|
+
"description": "Amount of spacing after the section",
|
|
54
|
+
"enum": ["default", "small", "none"],
|
|
55
|
+
"default": "default"
|
|
56
|
+
},
|
|
57
|
+
"inverted": {
|
|
58
|
+
"type": "boolean",
|
|
59
|
+
"title": "Inverted",
|
|
60
|
+
"description": "Whether to invert the section",
|
|
61
|
+
"default": false
|
|
62
|
+
},
|
|
63
|
+
"headerSpacing": {
|
|
64
|
+
"type": "boolean",
|
|
65
|
+
"title": "Header Spacing",
|
|
66
|
+
"description": "Reserve additional spacing for a floating header",
|
|
67
|
+
"default": false
|
|
68
|
+
},
|
|
69
|
+
"headline": {
|
|
70
|
+
"type": "object",
|
|
71
|
+
"properties": {
|
|
72
|
+
"text": {
|
|
73
|
+
"type": "string",
|
|
74
|
+
"title": "Headline",
|
|
75
|
+
"description": "Headline Text for the section",
|
|
76
|
+
"format": "markdown",
|
|
77
|
+
"examples": ["Section headline"]
|
|
78
|
+
},
|
|
79
|
+
"large": {
|
|
80
|
+
"type": "boolean",
|
|
81
|
+
"title": "Large Headline",
|
|
82
|
+
"description": "Make the headline larger",
|
|
83
|
+
"default": false
|
|
84
|
+
},
|
|
85
|
+
"width": {
|
|
86
|
+
"type": "string",
|
|
87
|
+
"title": "Headline Width",
|
|
88
|
+
"description": "Width of headline to use",
|
|
89
|
+
"enum": ["unset", "narrow", "default", "wide"],
|
|
90
|
+
"default": "unset"
|
|
91
|
+
},
|
|
92
|
+
"textAlign": {
|
|
93
|
+
"title": "Headline Text Alignment",
|
|
94
|
+
"description": "Choose the text alignment for the headline",
|
|
95
|
+
"type": "string",
|
|
96
|
+
"enum": ["left", "center", "right"]
|
|
97
|
+
},
|
|
98
|
+
"align": {
|
|
99
|
+
"title": "Headline Alignment",
|
|
100
|
+
"description": "Choose an alignment for positioning the headline",
|
|
101
|
+
"type": "string",
|
|
102
|
+
"enum": ["left", "center", "right"]
|
|
103
|
+
},
|
|
104
|
+
"sub": {
|
|
105
|
+
"type": "string",
|
|
106
|
+
"title": "Subheadline",
|
|
107
|
+
"description": "Subheadline for the section",
|
|
108
|
+
"format": "markdown"
|
|
109
|
+
},
|
|
110
|
+
"switchOrder": {
|
|
111
|
+
"type": "boolean",
|
|
112
|
+
"title": "Switch Headline Order",
|
|
113
|
+
"description": "Switch the order of headline and subheadline"
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
"additionalProperties": false
|
|
117
|
+
},
|
|
118
|
+
"content": {
|
|
119
|
+
"type": "object",
|
|
120
|
+
"properties": {
|
|
121
|
+
"width": {
|
|
122
|
+
"type": "string",
|
|
123
|
+
"title": "Content Width",
|
|
124
|
+
"description": "Width of content to use",
|
|
125
|
+
"enum": ["unset", "narrow", "default", "wide"],
|
|
126
|
+
"default": "unset"
|
|
127
|
+
},
|
|
128
|
+
"align": {
|
|
129
|
+
"title": "Content Alignment",
|
|
130
|
+
"description": "Choose an alignment for the content",
|
|
131
|
+
"type": "string",
|
|
132
|
+
"enum": ["left", "center", "right"],
|
|
133
|
+
"default": "center"
|
|
134
|
+
},
|
|
135
|
+
"gutter": {
|
|
136
|
+
"type": "string",
|
|
137
|
+
"title": "Gutter",
|
|
138
|
+
"description": "Size of gutter to use",
|
|
139
|
+
"enum": ["large", "default", "small", "none"],
|
|
140
|
+
"default": "default"
|
|
141
|
+
},
|
|
142
|
+
"mode": {
|
|
143
|
+
"type": "string",
|
|
144
|
+
"title": "Mode",
|
|
145
|
+
"description": "Layout mode used for section contents",
|
|
146
|
+
"enum": ["default", "tile", "list", "slider"],
|
|
147
|
+
"default": "default"
|
|
148
|
+
},
|
|
149
|
+
"tileWidth": {
|
|
150
|
+
"type": "string",
|
|
151
|
+
"title": "Tile Width",
|
|
152
|
+
"description": "Set min-width for the tiles in the grid",
|
|
153
|
+
"enum": ["control", "card", "narrow", "medium", "wide"],
|
|
154
|
+
"default": "cards"
|
|
155
|
+
}
|
|
156
|
+
},
|
|
157
|
+
"additionalProperties": false
|
|
158
|
+
},
|
|
159
|
+
"components": {
|
|
160
|
+
"type": "array",
|
|
161
|
+
"title": "Content",
|
|
162
|
+
"description": "Allowed components for content",
|
|
163
|
+
"items": {
|
|
164
|
+
"anyOf": [
|
|
165
|
+
{
|
|
166
|
+
"$ref": "http://schema.mydesignsystem.com/hero.schema.json"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"$ref": "http://schema.mydesignsystem.com/cta.schema.json"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"$ref": "http://schema.mydesignsystem.com/mosaic.schema.json"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"$ref": "http://schema.mydesignsystem.com/faq.schema.json"
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"$ref": "http://schema.mydesignsystem.com/features.schema.json"
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"$ref": "http://schema.mydesignsystem.com/gallery.schema.json"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"$ref": "http://schema.mydesignsystem.com/headline.schema.json"
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
"$ref": "http://schema.mydesignsystem.com/image-story.schema.json"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
"$ref": "http://schema.mydesignsystem.com/split.schema.json"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"$ref": "http://schema.mydesignsystem.com/stats.schema.json"
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"$ref": "http://schema.mydesignsystem.com/teaser-card.schema.json"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"$ref": "http://schema.mydesignsystem.com/testimonials.schema.json"
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"$ref": "http://schema.mydesignsystem.com/text.schema.json"
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"$ref": "http://schema.mydesignsystem.com/video-curtain.schema.json"
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"$ref": "http://schema.mydesignsystem.com/image-text.schema.json"
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"$ref": "http://schema.mydesignsystem.com/logos.schema.json"
|
|
212
|
+
}
|
|
213
|
+
]
|
|
214
|
+
}
|
|
215
|
+
},
|
|
216
|
+
"buttons": {
|
|
217
|
+
"$ref": "http://schema.mydesignsystem.com/button-group.schema.json#/properties/buttons"
|
|
218
|
+
}
|
|
219
|
+
},
|
|
220
|
+
"additionalProperties": false,
|
|
221
|
+
"required": []
|
|
222
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import "./slider.css";
|
|
2
|
+
import { jsx } from 'react/jsx-runtime';
|
|
3
|
+
import { Slider as Slider$1 } from '@kickstartds/content/lib/slider';
|
|
4
|
+
|
|
5
|
+
const Slider = ({ gap, type, autoplay, arrows, perView, children, ...props }) => (jsx(Slider$1, { gap: gap, type: type, arrows: arrows, autoplay: autoplay, perView: perView, ...props, children: children }));
|
|
6
|
+
|
|
7
|
+
export { Slider };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
.c-slider {
|
|
2
|
+
--c-slider_bullet--outline-color: var(--ks-border-color-interface-interactive);
|
|
3
|
+
--c-slider_bullet--outline-color-hover: var(--ks-border-color-interface-interactive-hover);
|
|
4
|
+
--c-slider_bullet--outline-color-active: var(--ks-border-color-interface-interactive-active);
|
|
5
|
+
--c-slider_bullet--background-color-hover: transparent;
|
|
6
|
+
--c-slider_bullet--background-color-active: transparent;
|
|
7
|
+
--c-slider_arrow--color: var(--ks-text-color-interface-interactive);
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
.c-slider__nav {
|
|
11
|
+
margin-top: var(--ks-spacing-stack-m);
|
|
12
|
+
}
|
|
13
|
+
.c-slider .c-slider__nav-item:hover .c-slider__bullet {
|
|
14
|
+
border-color: var(--c-slider_bullet--outline-color-hover);
|
|
15
|
+
background-color: var(--c-slider_bullet--background-color-hover);
|
|
16
|
+
}
|
|
17
|
+
.c-slider .c-slider__nav-item.c-slider__nav-item--active .c-slider__bullet, .c-slider .c-slider__nav-item.c-slider__nav-item--active:hover .c-slider__bullet {
|
|
18
|
+
border-color: var(--c-slider_bullet--outline-color-active);
|
|
19
|
+
background-color: var(--c-slider_bullet--background-color-active);
|
|
20
|
+
}
|
|
21
|
+
.c-slider .c-slider__nav-item .c-slider__bullet {
|
|
22
|
+
display: block;
|
|
23
|
+
transition: border-color var(--ks-transition-hover);
|
|
24
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "http://schema.mydesignsystem.com/slider.schema.json",
|
|
4
|
+
"title": "Slider",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"autoplay": {
|
|
8
|
+
"title": "Auto play",
|
|
9
|
+
"description": "Automatically move to next slide after 4 seconds without user interaction",
|
|
10
|
+
"type": "boolean",
|
|
11
|
+
"default": false
|
|
12
|
+
},
|
|
13
|
+
"nav": {
|
|
14
|
+
"title": "Show Navigation",
|
|
15
|
+
"description": "Add bullet navigation",
|
|
16
|
+
"type": "boolean",
|
|
17
|
+
"examples": [
|
|
18
|
+
true
|
|
19
|
+
]
|
|
20
|
+
},
|
|
21
|
+
"perView": {
|
|
22
|
+
"title": "Slides per view",
|
|
23
|
+
"description": "The number of visible slides",
|
|
24
|
+
"type": "number",
|
|
25
|
+
"default": 1
|
|
26
|
+
},
|
|
27
|
+
"gap": {
|
|
28
|
+
"title": "Gap",
|
|
29
|
+
"description": "Size of the gap added between slides in pixels",
|
|
30
|
+
"type": "number",
|
|
31
|
+
"default": 0
|
|
32
|
+
},
|
|
33
|
+
"arrows": {
|
|
34
|
+
"title": "Show Arrows",
|
|
35
|
+
"description": "Add arrows on the left and right to navigate to next or previous slide",
|
|
36
|
+
"type": "boolean",
|
|
37
|
+
"examples": [
|
|
38
|
+
true
|
|
39
|
+
]
|
|
40
|
+
},
|
|
41
|
+
"type": {
|
|
42
|
+
"const": "slider"
|
|
43
|
+
},
|
|
44
|
+
"className": {
|
|
45
|
+
"title": "Class",
|
|
46
|
+
"description": "Additional css classes attached to the wrapping element",
|
|
47
|
+
"type": "string"
|
|
48
|
+
},
|
|
49
|
+
"typeProp": {
|
|
50
|
+
"const": "slider"
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
"additionalProperties": false
|
|
54
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "http://schema.mydesignsystem.com/slider.schema.json",
|
|
4
|
+
"title": "Slider",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"autoplay": {
|
|
8
|
+
"$ref": "http://schema.kickstartds.com/content/slider.schema.json#/properties/autoplay"
|
|
9
|
+
},
|
|
10
|
+
"nav": {
|
|
11
|
+
"$ref": "http://schema.kickstartds.com/content/slider.schema.json#/properties/nav"
|
|
12
|
+
},
|
|
13
|
+
"perView": {
|
|
14
|
+
"$ref": "http://schema.kickstartds.com/content/slider.schema.json#/properties/perView"
|
|
15
|
+
},
|
|
16
|
+
"gap": {
|
|
17
|
+
"$ref": "http://schema.kickstartds.com/content/slider.schema.json#/properties/gap"
|
|
18
|
+
},
|
|
19
|
+
"arrows": {
|
|
20
|
+
"$ref": "http://schema.kickstartds.com/content/slider.schema.json#/properties/arrows"
|
|
21
|
+
},
|
|
22
|
+
"type": {
|
|
23
|
+
"$ref": "http://schema.kickstartds.com/content/slider.schema.json#/properties/type"
|
|
24
|
+
},
|
|
25
|
+
"className": {
|
|
26
|
+
"$ref": "http://schema.kickstartds.com/content/slider.schema.json#/properties/className"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"additionalProperties": false
|
|
30
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
.l-split--sidebarRight {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-wrap: wrap;
|
|
4
|
+
gap: var(--ks-spacing-stack-l) var(--ks-spacing-inline-xl);
|
|
5
|
+
}
|
|
6
|
+
@media (min-width: 48em) {
|
|
7
|
+
.l-split--sidebarRight {
|
|
8
|
+
justify-content: space-between;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
.l-split--sidebarRight > :first-child {
|
|
12
|
+
flex-basis: calc(var(--l-section--content-width-default) - var(--l-section--content-padding) * 2);
|
|
13
|
+
flex-grow: 1;
|
|
14
|
+
flex-shrink: 1;
|
|
15
|
+
}
|
|
16
|
+
.l-split--sidebarRight > :last-child {
|
|
17
|
+
flex-grow: 1;
|
|
18
|
+
flex-shrink: 1;
|
|
19
|
+
flex-basis: 210px;
|
|
20
|
+
position: -webkit-sticky;
|
|
21
|
+
position: sticky;
|
|
22
|
+
top: var(--ks-spacing-stack-l);
|
|
23
|
+
height: fit-content;
|
|
24
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "http://schema.mydesignsystem.com/split.schema.json",
|
|
4
|
+
"title": "Split",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"layout": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"enum": [
|
|
10
|
+
"sidebarRight",
|
|
11
|
+
"sidebarLeft",
|
|
12
|
+
"even"
|
|
13
|
+
]
|
|
14
|
+
},
|
|
15
|
+
"type": {
|
|
16
|
+
"const": "split"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"additionalProperties": false
|
|
20
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "http://schema.mydesignsystem.com/split.schema.json",
|
|
4
|
+
"title": "Split",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"layout": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"enum": ["sidebarRight", "sidebarLeft", "even"]
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"additionalProperties": false
|
|
13
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import "./stats.css";
|
|
2
|
+
import { jsx } from 'react/jsx-runtime';
|
|
3
|
+
import { CountUp } from '@kickstartds/content/lib/count-up';
|
|
4
|
+
|
|
5
|
+
const Stats = ({ stats = [], }) => {
|
|
6
|
+
return (jsx("div", { className: "c-stats", children: stats.map((stat, index) => (jsx(CountUp, { className: "c-stats__item", to: stat.number, icon: {
|
|
7
|
+
icon: stat?.icon,
|
|
8
|
+
}, text: stat?.description, topic: stat.title }, index))) }));
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
export { Stats };
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
.c-stats {
|
|
2
|
+
--c-stats-icon--size: 5em;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.c-stats {
|
|
6
|
+
display: flex;
|
|
7
|
+
justify-content: center;
|
|
8
|
+
gap: var(--ks-spacing-stack-l) var(--ks-spacing-inline-m);
|
|
9
|
+
flex-wrap: wrap;
|
|
10
|
+
align-items: center;
|
|
11
|
+
}
|
|
12
|
+
.c-stats .l-container--rich-text {
|
|
13
|
+
width: 100%;
|
|
14
|
+
}
|
|
15
|
+
.c-stats__item.c-count-up {
|
|
16
|
+
flex: 1 1;
|
|
17
|
+
flex-basis: 200px;
|
|
18
|
+
display: flex;
|
|
19
|
+
flex-direction: column;
|
|
20
|
+
align-items: center;
|
|
21
|
+
gap: var(--ks-spacing-stack-xs);
|
|
22
|
+
max-width: 400px;
|
|
23
|
+
}
|
|
24
|
+
.c-stats__item.c-count-up > * {
|
|
25
|
+
margin: 0;
|
|
26
|
+
}
|
|
27
|
+
.c-stats .c-count-up__number {
|
|
28
|
+
background: linear-gradient(135deg, var(--ks-color-primary-base) 0%, var(--ks-color-secondary-base) 100%);
|
|
29
|
+
-webkit-background-clip: text;
|
|
30
|
+
-webkit-text-fill-color: transparent;
|
|
31
|
+
filter: var(--g-filter-drop-shadow--higlight);
|
|
32
|
+
font: var(--ks-font-display-xl);
|
|
33
|
+
font-weight: var(--ks-font-weight-semi-bold);
|
|
34
|
+
}
|
|
35
|
+
.c-stats .c-count-up__icon {
|
|
36
|
+
color: var(--ks-text-color-primary);
|
|
37
|
+
width: var(--c-stats-icon--size);
|
|
38
|
+
height: var(--c-stats-icon--size);
|
|
39
|
+
}
|
|
40
|
+
.c-stats .c-count-up__topic {
|
|
41
|
+
color: var(--ks-color-fg);
|
|
42
|
+
font: var(--ks-font-interface-xl);
|
|
43
|
+
text-align: center;
|
|
44
|
+
}
|
|
45
|
+
.c-stats .c-count-up__text {
|
|
46
|
+
color: var(--ks-text-color-default);
|
|
47
|
+
font: var(--ks-font-copy-s);
|
|
48
|
+
text-align: center;
|
|
49
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "http://schema.mydesignsystem.com/stats.schema.json",
|
|
4
|
+
"title": "Stats",
|
|
5
|
+
"description": "Component used to display stats with a number upcounter",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"stats": {
|
|
9
|
+
"type": "array",
|
|
10
|
+
"title": "Stats",
|
|
11
|
+
"description": "The stats to display with a number upcounter",
|
|
12
|
+
"items": {
|
|
13
|
+
"type": "object",
|
|
14
|
+
"title": "Stat",
|
|
15
|
+
"properties": {
|
|
16
|
+
"number": {
|
|
17
|
+
"title": "Number",
|
|
18
|
+
"description": "The number of the stat",
|
|
19
|
+
"type": "integer",
|
|
20
|
+
"examples": [
|
|
21
|
+
1,
|
|
22
|
+
2,
|
|
23
|
+
3,
|
|
24
|
+
4
|
|
25
|
+
]
|
|
26
|
+
},
|
|
27
|
+
"description": {
|
|
28
|
+
"title": "Description",
|
|
29
|
+
"description": "Optional description of the stat",
|
|
30
|
+
"type": "string"
|
|
31
|
+
},
|
|
32
|
+
"title": {
|
|
33
|
+
"title": "Title",
|
|
34
|
+
"description": "Title of the stat",
|
|
35
|
+
"type": "string",
|
|
36
|
+
"examples": [
|
|
37
|
+
"Stat 1",
|
|
38
|
+
"Stat 2",
|
|
39
|
+
"Stat 3",
|
|
40
|
+
"Stat 4"
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
"icon": {
|
|
44
|
+
"title": "Icon",
|
|
45
|
+
"description": "Optional icon of the stat",
|
|
46
|
+
"type": "string",
|
|
47
|
+
"examples": [
|
|
48
|
+
"person",
|
|
49
|
+
"home",
|
|
50
|
+
"map"
|
|
51
|
+
]
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"additionalProperties": false,
|
|
55
|
+
"required": [
|
|
56
|
+
"number",
|
|
57
|
+
"title"
|
|
58
|
+
]
|
|
59
|
+
},
|
|
60
|
+
"minItems": 1,
|
|
61
|
+
"maxItems": 4
|
|
62
|
+
},
|
|
63
|
+
"type": {
|
|
64
|
+
"const": "stats"
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
"additionalProperties": false,
|
|
68
|
+
"required": [
|
|
69
|
+
"stats"
|
|
70
|
+
]
|
|
71
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "http://schema.mydesignsystem.com/stats.schema.json",
|
|
4
|
+
"title": "Stats",
|
|
5
|
+
"description": "Component used to display stats with a number upcounter",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"stats": {
|
|
9
|
+
"type": "array",
|
|
10
|
+
"title": "Stats",
|
|
11
|
+
"description": "The stats to display with a number upcounter",
|
|
12
|
+
"items": {
|
|
13
|
+
"type": "object",
|
|
14
|
+
"title": "Stat",
|
|
15
|
+
"properties": {
|
|
16
|
+
"number": {
|
|
17
|
+
"title": "Number",
|
|
18
|
+
"description": "The number of the stat",
|
|
19
|
+
"type": "integer",
|
|
20
|
+
"examples": [1, 2, 3, 4]
|
|
21
|
+
},
|
|
22
|
+
"description": {
|
|
23
|
+
"title": "Description",
|
|
24
|
+
"description": "Optional description of the stat",
|
|
25
|
+
"type": "string"
|
|
26
|
+
},
|
|
27
|
+
"title": {
|
|
28
|
+
"title": "Title",
|
|
29
|
+
"description": "Title of the stat",
|
|
30
|
+
"type": "string",
|
|
31
|
+
"examples": ["Stat 1", "Stat 2", "Stat 3", "Stat 4"]
|
|
32
|
+
},
|
|
33
|
+
"icon": {
|
|
34
|
+
"title": "Icon",
|
|
35
|
+
"description": "Optional icon of the stat",
|
|
36
|
+
"type": "string",
|
|
37
|
+
"examples": ["person", "home", "map"]
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
"additionalProperties": false,
|
|
41
|
+
"required": ["number", "title"]
|
|
42
|
+
},
|
|
43
|
+
"minItems": 1,
|
|
44
|
+
"maxItems": 4
|
|
45
|
+
}
|
|
46
|
+
},
|
|
47
|
+
"additionalProperties": false,
|
|
48
|
+
"required": ["stats"]
|
|
49
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { HTMLAttributes, FC, PropsWithChildren } from "react";
|
|
3
|
+
import { TeaserCardProps } from "../../TeaserCardProps-b52479e5.js";
|
|
4
|
+
declare const TeaserCard: import("react").ForwardRefExoticComponent<TeaserCardProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
|
+
declare const TeaserBoxProvider: FC<PropsWithChildren>;
|
|
6
|
+
export { TeaserCard, TeaserBoxProvider };
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import "./teaser-card.css";
|
|
2
|
+
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
3
|
+
import { forwardRef } from 'react';
|
|
4
|
+
import classnames from 'classnames';
|
|
5
|
+
import { TeaserBoxContextDefault, TeaserBoxContext } from '@kickstartds/base/lib/teaser-box';
|
|
6
|
+
import { Container } from '@kickstartds/core/lib/container';
|
|
7
|
+
|
|
8
|
+
const TeaserCard = forwardRef(({ headline, text, target, image, imageRatio = "wide", label, layout = "stack", displayButton = true, ...props }, ref) => {
|
|
9
|
+
return (jsx(Container, { name: "teaser-card", children: jsx(TeaserBoxContextDefault, { ...props, className: classnames(`c-teaser-card`, label && `c-teaser-card--label`, `c-teaser-card--${layout}`, `c-teaser-card--${imageRatio}`), topic: headline, text: text,
|
|
10
|
+
// @ts-expect-error
|
|
11
|
+
renderTopic: () => (jsxs(Fragment, { children: [label ? jsx("span", { className: "c-teaser__label", children: label }) : "", headline] })), link: {
|
|
12
|
+
hidden: displayButton === true
|
|
13
|
+
? false
|
|
14
|
+
: displayButton === false
|
|
15
|
+
? true
|
|
16
|
+
: true,
|
|
17
|
+
label: "Read more",
|
|
18
|
+
variant: "secondary",
|
|
19
|
+
target: target,
|
|
20
|
+
}, image: image, ref: ref }) }));
|
|
21
|
+
});
|
|
22
|
+
TeaserCard.displayName = "TeaserCard";
|
|
23
|
+
const TeaserBoxProvider = (props) => (jsx(TeaserBoxContext.Provider, { ...props, value: TeaserCard }));
|
|
24
|
+
|
|
25
|
+
export { TeaserBoxProvider, TeaserCard };
|