@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,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "http://schema.mydesignsystem.com/text.schema.json",
|
|
4
|
+
"title": "Text",
|
|
5
|
+
"description": "Component used for displaying text in chapters",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"text": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"title": "Text",
|
|
11
|
+
"description": "Text",
|
|
12
|
+
"examples": [
|
|
13
|
+
"Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet."
|
|
14
|
+
]
|
|
15
|
+
},
|
|
16
|
+
"layout": {
|
|
17
|
+
"type": "string",
|
|
18
|
+
"title": "Layout",
|
|
19
|
+
"description": "Variant of layout to be used",
|
|
20
|
+
"enum": ["singleColumn", "multiColumn"],
|
|
21
|
+
"default": "singleColumn"
|
|
22
|
+
},
|
|
23
|
+
"align": {
|
|
24
|
+
"type": "string",
|
|
25
|
+
"title": "Alignment",
|
|
26
|
+
"description": "Alignment of text",
|
|
27
|
+
"enum": ["left", "center"],
|
|
28
|
+
"default": "left"
|
|
29
|
+
},
|
|
30
|
+
"highlightText": {
|
|
31
|
+
"type": "boolean",
|
|
32
|
+
"title": "Highlight Text",
|
|
33
|
+
"description": "Visually highlight the text",
|
|
34
|
+
"default": false
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"additionalProperties": false,
|
|
38
|
+
"required": ["text"]
|
|
39
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import "./video-curtain.css";
|
|
2
|
+
import { jsx } from 'react/jsx-runtime';
|
|
3
|
+
import { VisualContextDefault } from '@kickstartds/content/lib/visual';
|
|
4
|
+
import classnames from 'classnames';
|
|
5
|
+
import { Container } from '@kickstartds/core/lib/container';
|
|
6
|
+
import { ButtonContext } from '@kickstartds/base/lib/button';
|
|
7
|
+
import { useButtonGroup } from '../button-group/index.js';
|
|
8
|
+
import 'react';
|
|
9
|
+
import '@kickstartds/base/lib/button-group';
|
|
10
|
+
|
|
11
|
+
const VideoCurtain = ({ headline, sub, text, highlightText, colorNeutral, textPosition, overlay, video, buttons = [], }) => {
|
|
12
|
+
const ButtonGroup = useButtonGroup();
|
|
13
|
+
return (jsx(ButtonContext.Provider
|
|
14
|
+
// @ts-expect-error
|
|
15
|
+
, {
|
|
16
|
+
// @ts-expect-error
|
|
17
|
+
value: ButtonGroup, children: jsx(Container, { name: "visual", children: jsx(VisualContextDefault, { skipButton: true, className: classnames(`c-video-curtain`, highlightText ? `c-video-curtain--highlight-text` : "", colorNeutral ? `c-video-curtain--color-neutral` : ""), height: "fullScreen", inbox: true, box: {
|
|
18
|
+
background: "transparent",
|
|
19
|
+
enabled: true,
|
|
20
|
+
vertical: "center",
|
|
21
|
+
horizontal: textPosition,
|
|
22
|
+
link: {
|
|
23
|
+
// @ts-expect-error
|
|
24
|
+
buttons,
|
|
25
|
+
colorNeutral,
|
|
26
|
+
enabled: buttons.length > 0,
|
|
27
|
+
arrangement: textPosition === "center" ? "center" : "left",
|
|
28
|
+
},
|
|
29
|
+
headline: {
|
|
30
|
+
text: headline,
|
|
31
|
+
level: "h1",
|
|
32
|
+
sub: sub,
|
|
33
|
+
style: highlightText ? "h1" : undefined,
|
|
34
|
+
align: textPosition === "center" ? "center" : "left",
|
|
35
|
+
},
|
|
36
|
+
text: text,
|
|
37
|
+
}, overlay: overlay, media: {
|
|
38
|
+
mode: "video",
|
|
39
|
+
video: {
|
|
40
|
+
srcMobile: video.srcMobile,
|
|
41
|
+
srcTablet: video.srcTablet,
|
|
42
|
+
srcDesktop: video.srcDesktop,
|
|
43
|
+
},
|
|
44
|
+
} }) }) }));
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
export { VideoCurtain };
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
:root .c-visual.c-video-curtain {
|
|
2
|
+
--c-visual_overlay--background: radial-gradient(
|
|
3
|
+
50% 126.2% at 100% 0%,
|
|
4
|
+
var(--ks-color-primary-alpha-5) 0%,
|
|
5
|
+
var(--ks-color-bg-alpha-4) 100%
|
|
6
|
+
);
|
|
7
|
+
--c-visual_overlay--background-size: 100%;
|
|
8
|
+
}
|
|
9
|
+
:root .c-visual.c-video-curtain--highlight-text .c-visual__box {
|
|
10
|
+
--c-visual_text--font: var(--ks-font-copy-l);
|
|
11
|
+
}
|
|
12
|
+
:root .c-visual.c-video-curtain .c-visual__box {
|
|
13
|
+
--c-visual_box--background: var(--ks-background-color-default);
|
|
14
|
+
--c-visual_box--color: var(--ks-color-fg);
|
|
15
|
+
--c-visual_subheadline--color: var(--ks-text-color-primary);
|
|
16
|
+
--c-visual_headline--color: var(--ks-color-fg);
|
|
17
|
+
}
|
|
18
|
+
@container visual (min-width: 640px) {
|
|
19
|
+
:root .c-visual.c-video-curtain .c-visual__box {
|
|
20
|
+
--c-visual_box--max-width: 50rem;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.l-container--visual {
|
|
25
|
+
/* stylelint-disable-next-line property-no-unknown */
|
|
26
|
+
container-name: visual;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.c-visual.c-video-curtain {
|
|
30
|
+
--c-visual--text-color-neutral: var(--ks-color-fg);
|
|
31
|
+
}
|
|
32
|
+
.c-visual.c-video-curtain .c-button-group {
|
|
33
|
+
--c-button-group--vertical-gutter: var(--ks-spacing-stack-m);
|
|
34
|
+
--c-button-group--horizontal-gutter: var(--ks-spacing-inline-m);
|
|
35
|
+
}
|
|
36
|
+
.c-visual.c-video-curtain--color-neutral.c-visual .c-visual__box {
|
|
37
|
+
--c-visual_text--color: var(--c-visual--text-color-neutral);
|
|
38
|
+
--c-visual_subheadline--color: var(--c-visual--text-color-neutral);
|
|
39
|
+
}
|
|
40
|
+
.c-visual.c-video-curtain .c-headline .c-headline__subheadline {
|
|
41
|
+
color: var(--c-visual_subheadline--color);
|
|
42
|
+
}
|
|
43
|
+
.c-visual.c-video-curtain.c-visual--full {
|
|
44
|
+
height: 100vh;
|
|
45
|
+
}
|
|
46
|
+
.c-visual.c-video-curtain .c-visual__box {
|
|
47
|
+
max-width: var(--c-visual_box--max-width);
|
|
48
|
+
}
|
|
49
|
+
.c-visual.c-video-curtain .c-visual__content--indent {
|
|
50
|
+
max-width: var(--l-section--content-width-wide);
|
|
51
|
+
}
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "http://schema.mydesignsystem.com/video-curtain.schema.json",
|
|
4
|
+
"title": "Video Curtain",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"headline": {
|
|
8
|
+
"title": "Headline",
|
|
9
|
+
"description": "Headline for the visual",
|
|
10
|
+
"type": "string"
|
|
11
|
+
},
|
|
12
|
+
"sub": {
|
|
13
|
+
"title": "Module Subheadline",
|
|
14
|
+
"description": "Subheadline below the module headline",
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"text": {
|
|
18
|
+
"title": "Module Text",
|
|
19
|
+
"description": "Info text for the module element",
|
|
20
|
+
"type": "string"
|
|
21
|
+
},
|
|
22
|
+
"highlightText": {
|
|
23
|
+
"type": "boolean",
|
|
24
|
+
"title": "Highlight Text",
|
|
25
|
+
"description": "Visually highlight the text",
|
|
26
|
+
"default": false
|
|
27
|
+
},
|
|
28
|
+
"colorNeutral": {
|
|
29
|
+
"title": "Color Neutral",
|
|
30
|
+
"description": "Make the text and buttons color neutral",
|
|
31
|
+
"default": false,
|
|
32
|
+
"type": "boolean"
|
|
33
|
+
},
|
|
34
|
+
"buttons": {
|
|
35
|
+
"type": "array",
|
|
36
|
+
"items": {
|
|
37
|
+
"title": "Button",
|
|
38
|
+
"type": "object",
|
|
39
|
+
"properties": {
|
|
40
|
+
"label": {
|
|
41
|
+
"type": "string",
|
|
42
|
+
"title": "Label",
|
|
43
|
+
"description": "Text content to display inside the button",
|
|
44
|
+
"examples": [
|
|
45
|
+
"Book a meeting"
|
|
46
|
+
]
|
|
47
|
+
},
|
|
48
|
+
"icon": {
|
|
49
|
+
"type": "string",
|
|
50
|
+
"title": "Icon",
|
|
51
|
+
"description": "Choose an icon"
|
|
52
|
+
},
|
|
53
|
+
"target": {
|
|
54
|
+
"type": "string",
|
|
55
|
+
"title": "Target",
|
|
56
|
+
"description": "Target that should be linked, makes the button behave like a link semantically",
|
|
57
|
+
"format": "uri"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
"additionalProperties": false
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"overlay": {
|
|
64
|
+
"title": "Grid layer",
|
|
65
|
+
"description": "Enable grid layer",
|
|
66
|
+
"type": "boolean",
|
|
67
|
+
"default": false
|
|
68
|
+
},
|
|
69
|
+
"video": {
|
|
70
|
+
"title": "Background video",
|
|
71
|
+
"description": "Sources of background videos for different screen sizes",
|
|
72
|
+
"type": "object",
|
|
73
|
+
"required": [
|
|
74
|
+
"srcMobile"
|
|
75
|
+
],
|
|
76
|
+
"properties": {
|
|
77
|
+
"srcMobile": {
|
|
78
|
+
"title": "Mobile video source",
|
|
79
|
+
"description": "Background video source for small screens",
|
|
80
|
+
"type": "string",
|
|
81
|
+
"format": "video",
|
|
82
|
+
"examples": [
|
|
83
|
+
"https://sample-videos.com/video123/mp4/720/big_buck_bunny_720p_2mb.mp4"
|
|
84
|
+
]
|
|
85
|
+
},
|
|
86
|
+
"srcTablet": {
|
|
87
|
+
"title": "Tablet video source",
|
|
88
|
+
"description": "Background video source for medium screens",
|
|
89
|
+
"type": "string",
|
|
90
|
+
"format": "video",
|
|
91
|
+
"examples": [
|
|
92
|
+
"https://sample-videos.com/video123/mp4/720/big_buck_bunny_720p_2mb.mp4"
|
|
93
|
+
]
|
|
94
|
+
},
|
|
95
|
+
"srcDesktop": {
|
|
96
|
+
"title": "Desktop video source",
|
|
97
|
+
"description": "Background video source for large screens",
|
|
98
|
+
"type": "string",
|
|
99
|
+
"format": "video",
|
|
100
|
+
"examples": [
|
|
101
|
+
"https://sample-videos.com/video123/mp4/720/big_buck_bunny_720p_2mb.mp4"
|
|
102
|
+
]
|
|
103
|
+
}
|
|
104
|
+
},
|
|
105
|
+
"additionalProperties": false
|
|
106
|
+
},
|
|
107
|
+
"textPosition": {
|
|
108
|
+
"title": "Module aligment",
|
|
109
|
+
"description": "Choose the alginment of the module content",
|
|
110
|
+
"enum": [
|
|
111
|
+
"center",
|
|
112
|
+
"left",
|
|
113
|
+
"right"
|
|
114
|
+
],
|
|
115
|
+
"type": "string",
|
|
116
|
+
"default": "bottom"
|
|
117
|
+
},
|
|
118
|
+
"type": {
|
|
119
|
+
"const": "video-curtain"
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
"additionalProperties": false
|
|
123
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "http://schema.mydesignsystem.com/video-curtain.schema.json",
|
|
4
|
+
"title": "Video Curtain",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"headline": {
|
|
8
|
+
"title": "Headline",
|
|
9
|
+
"description": "Headline for the visual",
|
|
10
|
+
"type": "string"
|
|
11
|
+
},
|
|
12
|
+
"sub": {
|
|
13
|
+
"title": "Module Subheadline",
|
|
14
|
+
"description": "Subheadline below the module headline",
|
|
15
|
+
"type": "string"
|
|
16
|
+
},
|
|
17
|
+
"text": {
|
|
18
|
+
"title": "Module Text",
|
|
19
|
+
"description": "Info text for the module element",
|
|
20
|
+
"type": "string"
|
|
21
|
+
},
|
|
22
|
+
"highlightText": {
|
|
23
|
+
"type": "boolean",
|
|
24
|
+
"title": "Highlight Text",
|
|
25
|
+
"description": "Visually highlight the text",
|
|
26
|
+
"default": false
|
|
27
|
+
},
|
|
28
|
+
"colorNeutral": {
|
|
29
|
+
"title": "Color Neutral",
|
|
30
|
+
"description": "Make the text and buttons color neutral",
|
|
31
|
+
"default": false,
|
|
32
|
+
"type": "boolean"
|
|
33
|
+
},
|
|
34
|
+
"buttons": {
|
|
35
|
+
"type": "array",
|
|
36
|
+
"items": {
|
|
37
|
+
"title": "Button",
|
|
38
|
+
"type": "object",
|
|
39
|
+
"properties": {
|
|
40
|
+
"label": {
|
|
41
|
+
"$ref": "http://schema.mydesignsystem.com/button.schema.json#/properties/label"
|
|
42
|
+
},
|
|
43
|
+
"icon": {
|
|
44
|
+
"$ref": "http://schema.mydesignsystem.com/button.schema.json#/properties/icon"
|
|
45
|
+
},
|
|
46
|
+
"target": {
|
|
47
|
+
"$ref": "http://schema.mydesignsystem.com/button.schema.json#/properties/target"
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"overlay": {
|
|
53
|
+
"$ref": "http://schema.kickstartds.com/content/visual.schema.json#/properties/overlay"
|
|
54
|
+
},
|
|
55
|
+
"video": {
|
|
56
|
+
"$ref": "http://schema.kickstartds.com/content/visual.schema.json#/properties/media/properties/video"
|
|
57
|
+
},
|
|
58
|
+
"textPosition": {
|
|
59
|
+
"title": "Module aligment",
|
|
60
|
+
"description": "Choose the alginment of the module content",
|
|
61
|
+
"enum": ["center", "left", "right"],
|
|
62
|
+
"type": "string",
|
|
63
|
+
"default": "bottom"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"additionalProperties": false
|
|
67
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./global.css";
|