@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,68 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "http://schema.mydesignsystem.com/image-text.schema.json",
|
|
4
|
+
"title": "Image Text",
|
|
5
|
+
"description": "Component used to display an image beside or above/below a text block",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"text": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"title": "Text",
|
|
11
|
+
"description": "Text content to display beside the image",
|
|
12
|
+
"examples": [
|
|
13
|
+
"This is a sample text"
|
|
14
|
+
]
|
|
15
|
+
},
|
|
16
|
+
"highlightText": {
|
|
17
|
+
"type": "boolean",
|
|
18
|
+
"title": "Highlight Text",
|
|
19
|
+
"description": "Visually highlight the text",
|
|
20
|
+
"default": false
|
|
21
|
+
},
|
|
22
|
+
"image": {
|
|
23
|
+
"type": "object",
|
|
24
|
+
"properties": {
|
|
25
|
+
"src": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"title": "Image Source",
|
|
28
|
+
"description": "URL of the image to display",
|
|
29
|
+
"examples": [
|
|
30
|
+
"http://example.com/image.jpg"
|
|
31
|
+
]
|
|
32
|
+
},
|
|
33
|
+
"alt": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"title": "Alt Text",
|
|
36
|
+
"description": "Alt text of the image",
|
|
37
|
+
"examples": [
|
|
38
|
+
"http://example.com/image.jpg"
|
|
39
|
+
]
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"additionalProperties": false
|
|
43
|
+
},
|
|
44
|
+
"layout": {
|
|
45
|
+
"type": "string",
|
|
46
|
+
"enum": [
|
|
47
|
+
"above",
|
|
48
|
+
"below",
|
|
49
|
+
"beside-right",
|
|
50
|
+
"beside-left"
|
|
51
|
+
],
|
|
52
|
+
"title": "Layout",
|
|
53
|
+
"description": "Position of the image relative to the text",
|
|
54
|
+
"examples": [
|
|
55
|
+
"above"
|
|
56
|
+
]
|
|
57
|
+
},
|
|
58
|
+
"type": {
|
|
59
|
+
"const": "image-text"
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"required": [
|
|
63
|
+
"text",
|
|
64
|
+
"image",
|
|
65
|
+
"layout"
|
|
66
|
+
],
|
|
67
|
+
"additionalProperties": false
|
|
68
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "http://schema.mydesignsystem.com/image-text.schema.json",
|
|
4
|
+
"title": "Image Text",
|
|
5
|
+
"description": "Component used to display an image beside or above/below a text block",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"text": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"title": "Text",
|
|
11
|
+
"description": "Text content to display beside the image",
|
|
12
|
+
"examples": ["This is a sample text"]
|
|
13
|
+
},
|
|
14
|
+
"highlightText": {
|
|
15
|
+
"type": "boolean",
|
|
16
|
+
"title": "Highlight Text",
|
|
17
|
+
"description": "Visually highlight the text",
|
|
18
|
+
"default": false
|
|
19
|
+
},
|
|
20
|
+
"image": {
|
|
21
|
+
"type": "object",
|
|
22
|
+
"properties": {
|
|
23
|
+
"src": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"title": "Image Source",
|
|
26
|
+
"description": "URL of the image to display",
|
|
27
|
+
"examples": ["http://example.com/image.jpg"]
|
|
28
|
+
},
|
|
29
|
+
"alt": {
|
|
30
|
+
"type": "string",
|
|
31
|
+
"title": "Alt Text",
|
|
32
|
+
"description": "Alt text of the image",
|
|
33
|
+
"examples": ["http://example.com/image.jpg"]
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"layout": {
|
|
38
|
+
"type": "string",
|
|
39
|
+
"enum": ["above", "below", "beside-right", "beside-left"],
|
|
40
|
+
"title": "Layout",
|
|
41
|
+
"description": "Position of the image relative to the text",
|
|
42
|
+
"examples": ["above"]
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"required": ["text", "image", "layout"]
|
|
46
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { HTMLAttributes, FC, PropsWithChildren } from "react";
|
|
2
|
+
import { ImageTextProps } from "../../ImageTextProps-9286cca4.js";
|
|
3
|
+
declare const ImageText: FC<ImageTextProps & HTMLAttributes<HTMLElement>>;
|
|
4
|
+
declare const ImageTextProvider: FC<PropsWithChildren<any>>;
|
|
5
|
+
export { ImageText, ImageTextProvider };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import "./image-text.css";
|
|
2
|
+
import { jsx, Fragment } from 'react/jsx-runtime';
|
|
3
|
+
import classnames from 'classnames';
|
|
4
|
+
import { TextMediaContextDefault, TextMediaContext } from '@kickstartds/base/lib/text-media';
|
|
5
|
+
import { Container } from '@kickstartds/core/lib/container';
|
|
6
|
+
|
|
7
|
+
const ImageText = ({ text, image, layout, highlightText, ...props }) => (jsx(Fragment, { children: jsx(Container, { name: "text-media", children: jsx(TextMediaContextDefault, { className: classnames(highlightText ? "c-image-text--highlight" : "", "c-image-text"), ...props, text: text, media: [
|
|
8
|
+
{
|
|
9
|
+
image: {
|
|
10
|
+
src: image.src,
|
|
11
|
+
},
|
|
12
|
+
},
|
|
13
|
+
], mediaAlignment: layout === "above"
|
|
14
|
+
? "above-center"
|
|
15
|
+
: layout === "below"
|
|
16
|
+
? "below-center"
|
|
17
|
+
: layout }) }) }));
|
|
18
|
+
const ImageTextProvider = (props) => (jsx(TextMediaContext.Provider, { ...props, value: ImageText }));
|
|
19
|
+
|
|
20
|
+
export { ImageText, ImageTextProvider };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import "./logos.css";
|
|
2
|
+
import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
|
|
3
|
+
import classnames from 'classnames';
|
|
4
|
+
import { LogoTiles } from '@kickstartds/content/lib/logo-tiles';
|
|
5
|
+
import { Button } from '@kickstartds/base/lib/button';
|
|
6
|
+
import { Link } from '@kickstartds/base/lib/link';
|
|
7
|
+
|
|
8
|
+
const Logos = ({ logos = [], tagline, align, cta, logosPerRow = "6", }) => {
|
|
9
|
+
return (jsx(Fragment, { children: jsxs("div", { className: classnames(`c-logos c-logos--align-${align}`), children: [jsx("div", { className: "c-logos__tagline", children: tagline }), jsx(LogoTiles, { className: classnames(`c-logo-tiles--cols-${logosPerRow}`), logos: logos }), cta?.toggle ? (jsxs("div", { className: "c-logos__cta", children: [jsxs("div", { className: "c-logos__cta__text", children: [cta?.text, cta?.style === "text" ? (jsxs(Fragment, { children: [" ", jsx(Link, { className: "c-logos__cta__link", href: cta.link, children: cta.label })] })) : ("")] }), cta?.style === "button" ? (jsx(Button, { href: cta.link, label: cta.label })) : ("")] })) : ("")] }) }));
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
export { Logos };
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
.c-logos .c-logo-tiles {
|
|
2
|
+
--c-logo-tiles--cols: 2;
|
|
3
|
+
--c-logo-tiles--gutter: 2em;
|
|
4
|
+
}
|
|
5
|
+
@container logo-tiles (min-width: 420px) {
|
|
6
|
+
.c-logos .c-logo-tiles {
|
|
7
|
+
--c-logo-tiles--cols: 3;
|
|
8
|
+
--c-logo-tiles--gutter: 2em;
|
|
9
|
+
}
|
|
10
|
+
.c-logos .c-logo-tiles--cols-2 {
|
|
11
|
+
--c-logo-tiles--cols: 2;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
@container logo-tiles (min-width: 640px) {
|
|
15
|
+
.c-logos .c-logo-tiles--cols-2 {
|
|
16
|
+
--c-logo-tiles--cols: 2;
|
|
17
|
+
}
|
|
18
|
+
.c-logos .c-logo-tiles--cols-3 {
|
|
19
|
+
--c-logo-tiles--cols: 3;
|
|
20
|
+
}
|
|
21
|
+
.c-logos .c-logo-tiles--cols-4 {
|
|
22
|
+
--c-logo-tiles--cols: 4;
|
|
23
|
+
}
|
|
24
|
+
.c-logos .c-logo-tiles--cols-5 {
|
|
25
|
+
--c-logo-tiles--cols: 5;
|
|
26
|
+
}
|
|
27
|
+
.c-logos .c-logo-tiles--cols-6 {
|
|
28
|
+
--c-logo-tiles--cols: 6;
|
|
29
|
+
}
|
|
30
|
+
.c-logos .c-logo-tiles--cols-7 {
|
|
31
|
+
--c-logo-tiles--cols: 7;
|
|
32
|
+
}
|
|
33
|
+
.c-logos .c-logo-tiles--cols-8 {
|
|
34
|
+
--c-logo-tiles--cols: 8;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.c-logos {
|
|
39
|
+
display: flex;
|
|
40
|
+
flex-direction: column;
|
|
41
|
+
gap: var(--ks-spacing-stack-m);
|
|
42
|
+
}
|
|
43
|
+
.c-logos__tagline {
|
|
44
|
+
font: var(--ks-font-display-m);
|
|
45
|
+
max-width: var(--l-section--content-width-narrow);
|
|
46
|
+
color: var(--ks-color-fg);
|
|
47
|
+
width: 100%;
|
|
48
|
+
}
|
|
49
|
+
.c-logos__cta {
|
|
50
|
+
display: flex;
|
|
51
|
+
flex-direction: column;
|
|
52
|
+
gap: var(--ks-spacing-stack-m);
|
|
53
|
+
}
|
|
54
|
+
.c-logos__cta .c-button {
|
|
55
|
+
width: fit-content;
|
|
56
|
+
}
|
|
57
|
+
.c-logos__cta__text {
|
|
58
|
+
color: var(--ks-text-color-default);
|
|
59
|
+
max-width: var(--l-section--content-width-narrow);
|
|
60
|
+
}
|
|
61
|
+
.c-logos__cta__text, .c-logos__cta__link {
|
|
62
|
+
font: var(--ks-font-copy-m);
|
|
63
|
+
}
|
|
64
|
+
.c-logos--align-left .c-logo-tiles {
|
|
65
|
+
justify-content: start;
|
|
66
|
+
}
|
|
67
|
+
.c-logos--align-center .c-logos__cta {
|
|
68
|
+
align-items: center;
|
|
69
|
+
}
|
|
70
|
+
.c-logos--align-center .c-logos__cta__text,
|
|
71
|
+
.c-logos--align-center .c-logos__tagline {
|
|
72
|
+
text-align: center;
|
|
73
|
+
margin: auto;
|
|
74
|
+
}
|
|
75
|
+
.c-logos .c-logo-tiles {
|
|
76
|
+
gap: calc(var(--c-logo-tiles--gutter) / 2) var(--c-logo-tiles--gutter);
|
|
77
|
+
margin: 0;
|
|
78
|
+
}
|
|
79
|
+
.c-logos .c-logo-tiles__col {
|
|
80
|
+
margin: 0;
|
|
81
|
+
aspect-ratio: 16/9;
|
|
82
|
+
display: flex;
|
|
83
|
+
justify-content: center;
|
|
84
|
+
align-items: center;
|
|
85
|
+
}
|
|
86
|
+
.c-logos .c-logo-tiles__col::after {
|
|
87
|
+
content: none;
|
|
88
|
+
}
|
|
89
|
+
.c-logos .c-logo-tiles img {
|
|
90
|
+
position: relative;
|
|
91
|
+
}
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "http://schema.mydesignsystem.com/logos.schema.json",
|
|
4
|
+
"title": "Logos",
|
|
5
|
+
"description": "Component used to display a set of logos",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"tagline": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"title": "Logo Tagline",
|
|
11
|
+
"description": "A short tagline atop the logos",
|
|
12
|
+
"examples": [
|
|
13
|
+
"Your Success, Our Commitment"
|
|
14
|
+
]
|
|
15
|
+
},
|
|
16
|
+
"logos": {
|
|
17
|
+
"type": "array",
|
|
18
|
+
"title": "Logos",
|
|
19
|
+
"description": "The logos to display",
|
|
20
|
+
"items": {
|
|
21
|
+
"type": "object",
|
|
22
|
+
"properties": {
|
|
23
|
+
"src": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"title": "URL",
|
|
26
|
+
"description": "The URL of the logo image",
|
|
27
|
+
"examples": [
|
|
28
|
+
"img/logos/logoipsum-212.svg",
|
|
29
|
+
"img/logos/logoipsum-217.svg",
|
|
30
|
+
"img/logos/logoipsum-239.svg",
|
|
31
|
+
"img/logos/logoipsum-244.svg",
|
|
32
|
+
"img/logos/logoipsum-250.svg",
|
|
33
|
+
"img/logos/logoipsum-286.svg"
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
"alt": {
|
|
37
|
+
"type": "string",
|
|
38
|
+
"title": "Caption",
|
|
39
|
+
"description": "The alt text of the logo",
|
|
40
|
+
"examples": [
|
|
41
|
+
"Logo 1"
|
|
42
|
+
]
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"additionalProperties": false,
|
|
46
|
+
"required": [
|
|
47
|
+
"src"
|
|
48
|
+
]
|
|
49
|
+
},
|
|
50
|
+
"minItems": 1,
|
|
51
|
+
"maxItems": 20
|
|
52
|
+
},
|
|
53
|
+
"align": {
|
|
54
|
+
"type": "string",
|
|
55
|
+
"title": "Alignment",
|
|
56
|
+
"description": "The alignment of the logo layout",
|
|
57
|
+
"enum": [
|
|
58
|
+
"left",
|
|
59
|
+
"center"
|
|
60
|
+
],
|
|
61
|
+
"default": "center"
|
|
62
|
+
},
|
|
63
|
+
"logosPerRow": {
|
|
64
|
+
"type": "integer",
|
|
65
|
+
"title": "Logos Per Row",
|
|
66
|
+
"description": "The amount of logos to display per row",
|
|
67
|
+
"minimum": 2,
|
|
68
|
+
"maximum": 8,
|
|
69
|
+
"examples": [
|
|
70
|
+
5
|
|
71
|
+
]
|
|
72
|
+
},
|
|
73
|
+
"cta": {
|
|
74
|
+
"type": "object",
|
|
75
|
+
"title": "Call to Action",
|
|
76
|
+
"description": "The call to action",
|
|
77
|
+
"properties": {
|
|
78
|
+
"toggle": {
|
|
79
|
+
"type": "boolean",
|
|
80
|
+
"default": false,
|
|
81
|
+
"title": "CTA Toggle",
|
|
82
|
+
"description": "Activate/disable the CTA"
|
|
83
|
+
},
|
|
84
|
+
"text": {
|
|
85
|
+
"type": "string",
|
|
86
|
+
"title": "Call to Action Text",
|
|
87
|
+
"description": "A short CTA text",
|
|
88
|
+
"examples": [
|
|
89
|
+
"Explore the success stories of our valued customers and discover more about their journey."
|
|
90
|
+
]
|
|
91
|
+
},
|
|
92
|
+
"link": {
|
|
93
|
+
"type": "string",
|
|
94
|
+
"title": "Call to Action Link",
|
|
95
|
+
"description": "The CTA link",
|
|
96
|
+
"default": "#",
|
|
97
|
+
"format": "uri"
|
|
98
|
+
},
|
|
99
|
+
"label": {
|
|
100
|
+
"type": "string",
|
|
101
|
+
"title": "Link Label",
|
|
102
|
+
"description": "The text label displayed on the link",
|
|
103
|
+
"examples": [
|
|
104
|
+
"See all our partners"
|
|
105
|
+
]
|
|
106
|
+
},
|
|
107
|
+
"style": {
|
|
108
|
+
"type": "string",
|
|
109
|
+
"enum": [
|
|
110
|
+
"button",
|
|
111
|
+
"text"
|
|
112
|
+
],
|
|
113
|
+
"default": "text"
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
"additionalProperties": false,
|
|
117
|
+
"required": [
|
|
118
|
+
"style",
|
|
119
|
+
"link",
|
|
120
|
+
"label"
|
|
121
|
+
]
|
|
122
|
+
},
|
|
123
|
+
"type": {
|
|
124
|
+
"const": "logos"
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
"additionalProperties": false,
|
|
128
|
+
"required": [
|
|
129
|
+
"logos"
|
|
130
|
+
]
|
|
131
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "http://schema.mydesignsystem.com/logos.schema.json",
|
|
4
|
+
"title": "Logos",
|
|
5
|
+
"description": "Component used to display a set of logos",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"tagline": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"title": "Logo Tagline",
|
|
11
|
+
"description": "A short tagline atop the logos",
|
|
12
|
+
"examples": ["Your Success, Our Commitment"]
|
|
13
|
+
},
|
|
14
|
+
"logos": {
|
|
15
|
+
"type": "array",
|
|
16
|
+
"title": "Logos",
|
|
17
|
+
"description": "The logos to display",
|
|
18
|
+
"items": {
|
|
19
|
+
"type": "object",
|
|
20
|
+
"properties": {
|
|
21
|
+
"src": {
|
|
22
|
+
"type": "string",
|
|
23
|
+
"title": "URL",
|
|
24
|
+
"description": "The URL of the logo image",
|
|
25
|
+
"examples": [
|
|
26
|
+
"img/logos/logoipsum-212.svg",
|
|
27
|
+
"img/logos/logoipsum-217.svg",
|
|
28
|
+
"img/logos/logoipsum-239.svg",
|
|
29
|
+
"img/logos/logoipsum-244.svg",
|
|
30
|
+
"img/logos/logoipsum-250.svg",
|
|
31
|
+
"img/logos/logoipsum-286.svg"
|
|
32
|
+
]
|
|
33
|
+
},
|
|
34
|
+
"alt": {
|
|
35
|
+
"type": "string",
|
|
36
|
+
"title": "Caption",
|
|
37
|
+
"description": "The alt text of the logo",
|
|
38
|
+
"examples": ["Logo 1"]
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"additionalProperties": false,
|
|
42
|
+
"required": ["src"]
|
|
43
|
+
},
|
|
44
|
+
"minItems": 1,
|
|
45
|
+
"maxItems": 20
|
|
46
|
+
},
|
|
47
|
+
"align": {
|
|
48
|
+
"type": "string",
|
|
49
|
+
"title": "Alignment",
|
|
50
|
+
"description": "The alignment of the logo layout",
|
|
51
|
+
"enum": ["left", "center"],
|
|
52
|
+
"default": "center"
|
|
53
|
+
},
|
|
54
|
+
"logosPerRow": {
|
|
55
|
+
"type": "integer",
|
|
56
|
+
"title": "Logos Per Row",
|
|
57
|
+
"description": "The amount of logos to display per row",
|
|
58
|
+
"minimum": 2,
|
|
59
|
+
"maximum": 8,
|
|
60
|
+
"examples": [5]
|
|
61
|
+
},
|
|
62
|
+
"cta": {
|
|
63
|
+
"type": "object",
|
|
64
|
+
"title": "Call to Action",
|
|
65
|
+
"description": "The call to action",
|
|
66
|
+
"properties": {
|
|
67
|
+
"toggle": {
|
|
68
|
+
"type": "boolean",
|
|
69
|
+
"default": false,
|
|
70
|
+
"title": "CTA Toggle",
|
|
71
|
+
"description": "Activate/disable the CTA"
|
|
72
|
+
},
|
|
73
|
+
"text": {
|
|
74
|
+
"type": "string",
|
|
75
|
+
"title": "Call to Action Text",
|
|
76
|
+
"description": "A short CTA text",
|
|
77
|
+
"examples": [
|
|
78
|
+
"Explore the success stories of our valued customers and discover more about their journey."
|
|
79
|
+
]
|
|
80
|
+
},
|
|
81
|
+
"link": {
|
|
82
|
+
"type": "string",
|
|
83
|
+
"title": "Call to Action Link",
|
|
84
|
+
"description": "The CTA link",
|
|
85
|
+
"default": "#",
|
|
86
|
+
"format": "uri"
|
|
87
|
+
},
|
|
88
|
+
"label": {
|
|
89
|
+
"type": "string",
|
|
90
|
+
"title": "Link Label",
|
|
91
|
+
"description": "The text label displayed on the link",
|
|
92
|
+
"examples": ["See all our partners"]
|
|
93
|
+
},
|
|
94
|
+
"style": {
|
|
95
|
+
"type": "string",
|
|
96
|
+
"enum": ["button", "text"],
|
|
97
|
+
"default": "text"
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
"additionalProperties": false,
|
|
101
|
+
"required": ["style", "link", "label"]
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"additionalProperties": false,
|
|
105
|
+
"required": ["logos"]
|
|
106
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import "./mosaic.css";
|
|
2
|
+
import { jsx } from 'react/jsx-runtime';
|
|
3
|
+
import { Storytelling } from '@kickstartds/content/lib/storytelling';
|
|
4
|
+
|
|
5
|
+
const Mosaic = ({ layout, largeHeadlines, tiles }) => (jsx("div", { className: "c-mosaic", children: tiles.map((tile, index) => (jsx(Storytelling, { full: true, backgroundColor: tile.backgroundColor, backgroundImage: tile.backgroundImage, box: {
|
|
6
|
+
headline: {
|
|
7
|
+
text: tile?.headline,
|
|
8
|
+
sub: tile?.sub,
|
|
9
|
+
level: "h2",
|
|
10
|
+
style: largeHeadlines ? "h1" : undefined,
|
|
11
|
+
},
|
|
12
|
+
text: tile?.text,
|
|
13
|
+
textColor: tile?.textColor,
|
|
14
|
+
...(tile?.button?.toggle && {
|
|
15
|
+
link: {
|
|
16
|
+
target: tile?.button?.target,
|
|
17
|
+
label: tile?.button?.label,
|
|
18
|
+
icon: tile?.button?.icon,
|
|
19
|
+
},
|
|
20
|
+
}),
|
|
21
|
+
}, image: {
|
|
22
|
+
source: tile?.image.src,
|
|
23
|
+
alt: tile?.image.alt,
|
|
24
|
+
order: {
|
|
25
|
+
desktopImageLast: layout === "textLeft"
|
|
26
|
+
? true
|
|
27
|
+
: layout === "textRight"
|
|
28
|
+
? false
|
|
29
|
+
: index % 2 !== 0,
|
|
30
|
+
},
|
|
31
|
+
} }, index))) }));
|
|
32
|
+
|
|
33
|
+
export { Mosaic };
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
.c-header--spacer + .l-container {
|
|
2
|
+
position: relative;
|
|
3
|
+
}
|
|
4
|
+
.c-header--spacer + .l-container .c-visual {
|
|
5
|
+
margin-top: calc(var(--g-header-height) * -1);
|
|
6
|
+
z-index: 1;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.c-visual {
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-direction: column;
|
|
12
|
+
}
|
|
13
|
+
.c-visual .c-headline {
|
|
14
|
+
--c-headline--color: var(--ks-color-fg);
|
|
15
|
+
}
|
|
16
|
+
.c-visual .c-headline .c-headline__subheadline {
|
|
17
|
+
--c-headline_subheadline--color: var(--ks-text-color-primary);
|
|
18
|
+
}
|
|
19
|
+
.c-visual.c-visual--full {
|
|
20
|
+
height: 100%;
|
|
21
|
+
}
|
|
22
|
+
.c-visual .c-visual__box {
|
|
23
|
+
max-width: 100%;
|
|
24
|
+
}
|
|
25
|
+
@container visual (min-width: 640px) {
|
|
26
|
+
.c-visual.c-visual--full {
|
|
27
|
+
height: 100vh;
|
|
28
|
+
}
|
|
29
|
+
.c-visual .c-visual__box {
|
|
30
|
+
max-width: var(--c-visual_box--max-width);
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
.c-visual .c-visual__content--indent {
|
|
34
|
+
max-width: var(--l-section--content-width-wide);
|
|
35
|
+
}
|