@kickstartds/ds-agency-premium 1.6.70 → 1.6.71--canary.45.1758.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BlogAsideProps-d9decb7c.d.ts → BlogAsideProps-c760fd2a.d.ts} +5 -5
- package/dist/{BlogAuthorProps-88a11566.d.ts → BlogAuthorProps-fb0241df.d.ts} +7 -2
- package/dist/BlogOverviewProps-9f207f1c.d.ts +2 -2
- package/dist/{BlogPostProps-d9decb7c.d.ts → BlogPostProps-c760fd2a.d.ts} +3 -3
- package/dist/{ButtonProps-03ff6d21.d.ts → ButtonProps-00ddee3a.d.ts} +4 -4
- package/dist/{CtaProps-93230a76.d.ts → CtaProps-babe4ee6.d.ts} +21 -11
- package/dist/EventAppointmentProps-443cd1ce.d.ts +38 -0
- package/dist/EventDetailProps-42a7eebe.d.ts +387 -0
- package/dist/EventLatestTeaserProps-fc9d3281.d.ts +58 -0
- package/dist/EventLocationProps-871bc198.d.ts +41 -0
- package/dist/{FeaturesProps-e58616a5.d.ts → FeaturesProps-a9041d97.d.ts} +9 -4
- package/dist/{FooterProps-171a3067.d.ts → FooterProps-a0a104ca.d.ts} +2 -2
- package/dist/{HeaderProps-e22382f1.d.ts → HeaderProps-72763967.d.ts} +2 -2
- package/dist/{HeroProps-f704d270.d.ts → HeroProps-40f6c7f5.d.ts} +9 -4
- package/dist/ImageStoryProps-e853e1e7.d.ts +1 -1
- package/dist/MosaicProps-d52c7151.d.ts +4 -4
- package/dist/PageProps-aa29c554.d.ts +1 -1
- package/dist/{SectionProps-1cfcf6e8.d.ts → SectionProps-7caa223c.d.ts} +14 -9
- package/dist/{SliderProps-93230a76.d.ts → SliderProps-babe4ee6.d.ts} +4 -4
- package/dist/{StatProps-79109ad0.d.ts → StatProps-12a3eae0.d.ts} +1 -1
- package/dist/StatsProps-bf5ef578.d.ts +1 -1
- package/dist/{TeaserCardProps-b9c28e78.d.ts → TeaserCardProps-994cb119.d.ts} +4 -4
- package/dist/{VideoCurtainProps-6c625a69.d.ts → VideoCurtainProps-a2c0cc7f.d.ts} +5 -5
- package/dist/components/blog-aside/blog-aside.schema.dereffed.json +16 -8
- package/dist/components/blog-aside/blog-aside.schema.json +4 -4
- package/dist/components/blog-aside/index.d.ts +1 -1
- package/dist/components/blog-aside/index.js +1 -1
- package/dist/components/blog-author/blog-author.schema.dereffed.json +12 -4
- package/dist/components/blog-author/index.d.ts +1 -1
- package/dist/components/blog-overview/blog-overview.schema.dereffed.json +194 -101
- package/dist/components/blog-post/blog-post.schema.dereffed.json +210 -109
- package/dist/components/blog-post/index.d.ts +1 -1
- package/dist/components/blog-teaser/index.js +5 -7
- package/dist/components/breadcrumb/breadcrumb.css +32 -0
- package/dist/components/breadcrumb/breadcrumb.schema.dereffed.json +34 -0
- package/dist/components/breadcrumb/breadcrumb.schema.json +27 -0
- package/dist/components/breadcrumb/index.d.ts +28 -0
- package/dist/components/breadcrumb/index.js +17 -0
- package/dist/components/button/button.css +2 -2
- package/dist/components/button/button.schema.dereffed.json +3 -3
- package/dist/components/button/button.schema.json +3 -3
- package/dist/components/button/index.d.ts +1 -1
- package/dist/components/button/index.js +1 -1
- package/dist/components/button-group/button-group.schema.dereffed.json +3 -3
- package/dist/components/button-group/index.d.ts +1 -1
- package/dist/components/contact/contact.schema.dereffed.json +13 -5
- package/dist/components/contact/contact.schema.json +11 -5
- package/dist/components/contact/index.d.ts +6 -1
- package/dist/components/contact/index.js +1 -1
- package/dist/components/cta/cta.css +44 -56
- package/dist/components/cta/cta.schema.dereffed.json +28 -11
- package/dist/components/cta/cta.schema.json +23 -10
- package/dist/components/cta/index.d.ts +1 -1
- package/dist/components/cta/index.js +25 -26
- package/dist/components/downloads/downloads.css +153 -0
- package/dist/components/downloads/downloads.schema.dereffed.json +55 -0
- package/dist/components/downloads/downloads.schema.json +44 -0
- package/dist/components/downloads/index.d.ts +41 -0
- package/dist/components/downloads/index.js +18 -0
- package/dist/components/event-appointment/event-appointment.css +62 -0
- package/dist/components/event-appointment/event-appointment.schema.dereffed.json +56 -0
- package/dist/components/event-appointment/event-appointment.schema.json +47 -0
- package/dist/components/event-appointment/index.d.ts +7 -0
- package/dist/components/event-appointment/index.js +14 -0
- package/dist/components/event-detail/event-detail.schema.dereffed.json +287 -0
- package/dist/components/event-detail/event-detail.schema.json +74 -0
- package/dist/components/event-detail/index.d.ts +5 -0
- package/dist/components/event-detail/index.js +36 -0
- package/dist/components/event-header/event-header.css +6 -0
- package/dist/components/event-header/event-header.schema.dereffed.json +38 -0
- package/dist/components/event-header/event-header.schema.json +34 -0
- package/dist/components/event-header/index.d.ts +35 -0
- package/dist/components/event-header/index.js +20 -0
- package/dist/components/event-latest/event-latest.css +5 -0
- package/dist/components/event-latest/event-latest.schema.dereffed.json +142 -0
- package/dist/components/event-latest/event-latest.schema.json +46 -0
- package/dist/components/event-latest/index.d.ts +30 -0
- package/dist/components/event-latest/index.js +19 -0
- package/dist/components/event-latest-teaser/event-latest-teaser.css +128 -0
- package/dist/components/event-latest-teaser/event-latest-teaser.schema.dereffed.json +97 -0
- package/dist/components/event-latest-teaser/event-latest-teaser.schema.json +73 -0
- package/dist/components/event-latest-teaser/index.d.ts +8 -0
- package/dist/components/event-latest-teaser/index.js +18 -0
- package/dist/components/event-location/event-location.css +71 -0
- package/dist/components/event-location/event-location.schema.dereffed.json +126 -0
- package/dist/components/event-location/event-location.schema.json +61 -0
- package/dist/components/event-location/index.d.ts +7 -0
- package/dist/components/event-location/index.js +18 -0
- package/dist/components/feature/feature.schema.dereffed.json +13 -3
- package/dist/components/feature/feature.schema.json +11 -3
- package/dist/components/feature/index.d.ts +8 -3
- package/dist/components/feature/index.js +2 -3
- package/dist/components/features/features.css +15 -35
- package/dist/components/features/features.schema.dereffed.json +13 -3
- package/dist/components/features/features.schema.json +5 -2
- package/dist/components/features/index.d.ts +1 -1
- package/dist/components/features/index.js +2 -2
- package/dist/components/footer/footer.css +1 -1
- package/dist/components/footer/footer.schema.dereffed.json +12 -12
- package/dist/components/footer/index.d.ts +1 -1
- package/dist/components/footer/index.js +1 -1
- package/dist/components/gallery/gallery.schema.dereffed.json +2 -1
- package/dist/components/gallery/gallery.schema.json +2 -1
- package/dist/components/gallery/index.js +1 -1
- package/dist/components/header/header.css +47 -9
- package/dist/components/header/header.schema.dereffed.json +12 -12
- package/dist/components/header/index.d.ts +1 -1
- package/dist/components/header/index.js +5 -5
- package/dist/components/headline/headline.css +6 -6
- package/dist/components/hero/hero.css +61 -25
- package/dist/components/hero/hero.schema.dereffed.json +9 -3
- package/dist/components/hero/hero.schema.json +8 -2
- package/dist/components/hero/index.d.ts +1 -1
- package/dist/components/hero/index.js +39 -39
- package/dist/components/image-story/image-story.css +5 -2
- package/dist/components/image-story/image-story.schema.dereffed.json +3 -3
- package/dist/components/index/index.d.ts +4 -3
- package/dist/components/logos/index.js +1 -1
- package/dist/components/logos/logos.css +2 -2
- package/dist/components/logos/logos.schema.dereffed.json +6 -6
- package/dist/components/logos/logos.schema.json +6 -6
- package/dist/components/mosaic/index.js +1 -1
- package/dist/components/mosaic/mosaic.css +1 -1
- package/dist/components/mosaic/mosaic.schema.dereffed.json +3 -3
- package/dist/components/nav-dropdown/index.d.ts +1 -1
- package/dist/components/nav-dropdown/index.js +2 -2
- package/dist/components/nav-dropdown/nav-dropdown.css +12 -3
- package/dist/components/nav-dropdown/nav-dropdown.schema.dereffed.json +1 -1
- package/dist/components/nav-flyout/index.d.ts +2 -2
- package/dist/components/nav-flyout/index.js +6 -8
- package/dist/components/nav-flyout/nav-flyout.css +29 -15
- package/dist/components/nav-flyout/nav-flyout.schema.dereffed.json +12 -12
- package/dist/components/nav-main/index.d.ts +5 -5
- package/dist/components/nav-main/index.js +0 -2
- package/dist/components/nav-main/nav-main.schema.dereffed.json +15 -15
- package/dist/components/nav-main/nav-main.schema.json +14 -14
- package/dist/components/nav-toggle/index.js +1 -1
- package/dist/components/nav-topbar/index.d.ts +2 -2
- package/dist/components/nav-topbar/index.js +2 -2
- package/dist/components/nav-topbar/nav-topbar.css +15 -2
- package/dist/components/nav-topbar/nav-topbar.schema.dereffed.json +12 -12
- package/dist/components/page/page.schema.dereffed.json +166 -90
- package/dist/components/page-wrapper/index.js +42 -0
- package/dist/components/page-wrapper/tokens.css +427 -731
- package/dist/components/pagination/index.d.ts +47 -0
- package/dist/components/pagination/index.js +52 -0
- package/dist/components/pagination/pagination.css +66 -0
- package/dist/components/pagination/pagination.schema.dereffed.json +64 -0
- package/dist/components/pagination/pagination.schema.json +57 -0
- package/dist/components/presets.json +1160 -301
- package/dist/components/section/index.d.ts +1 -1
- package/dist/components/section/index.js +11 -3
- package/dist/components/section/section.css +38 -58
- package/dist/components/section/section.schema.dereffed.json +166 -90
- package/dist/components/section/section.schema.json +8 -10
- package/dist/components/settings/settings.schema.dereffed.json +24 -24
- package/dist/components/slider/index.d.ts +1 -1
- package/dist/components/slider/slider.schema.dereffed.json +67 -34
- package/dist/components/split/split.css +2 -2
- package/dist/components/split-even/index.d.ts +1 -0
- package/dist/components/split-even/index.js +1 -0
- package/dist/components/split-even/split-even.schema.dereffed.json +5890 -0
- package/dist/components/split-even/split-even.schema.json +164 -0
- package/dist/components/stat/index.d.ts +1 -1
- package/dist/components/stat/index.js +3 -12
- package/dist/components/stat/stat.schema.dereffed.json +5 -6
- package/dist/components/stat/stat.schema.json +2 -2
- package/dist/components/stats/stats.schema.dereffed.json +5 -6
- package/dist/components/teaser-card/index.d.ts +1 -1
- package/dist/components/teaser-card/index.js +9 -9
- package/dist/components/teaser-card/teaser-card.css +67 -47
- package/dist/components/teaser-card/teaser-card.schema.dereffed.json +4 -4
- package/dist/components/teaser-card/teaser-card.schema.json +4 -4
- package/dist/components/testimonials/index.d.ts +1 -1
- package/dist/components/tile/tile.schema.dereffed.json +3 -3
- package/dist/components/tile/tile.schema.json +2 -2
- package/dist/components/video-curtain/index.d.ts +1 -1
- package/dist/components/video-curtain/index.js +12 -4
- package/dist/components/video-curtain/video-curtain.css +52 -29
- package/dist/components/video-curtain/video-curtain.schema.dereffed.json +6 -4
- package/dist/components/video-curtain/video-curtain.schema.json +3 -3
- package/dist/global.css +283 -59
- package/dist/static/fonts/systemics/Montserrat-Bold.woff2 +0 -0
- package/dist/static/fonts/systemics/Montserrat-Light.woff2 +0 -0
- package/dist/static/fonts/systemics/Montserrat-Medium.woff2 +0 -0
- package/dist/static/fonts/systemics/Montserrat-Regular.woff2 +0 -0
- package/dist/static/fonts/systemics/Montserrat-SemiBold.woff2 +0 -0
- package/dist/static/img/about/angled-image.png +0 -0
- package/dist/static/img/about/cta.png +0 -0
- package/dist/static/img/about/cutout.png +0 -0
- package/dist/static/img/about/disclaimer.png +0 -0
- package/dist/static/img/about/purpose.png +0 -0
- package/dist/static/img/about/spoiler.png +0 -0
- package/dist/static/img/kickstartDS/CMS-Starter producthunt-slide-01.svg +72 -0
- package/dist/static/img/kickstartDS/CMS-Starter producthunt-slide-02.svg +112 -0
- package/dist/static/img/kickstartDS/CMS-Starter producthunt-slide-03.svg +197 -0
- package/dist/static/img/kickstartDS/CMS-Starter producthunt-slide-04.svg +76 -0
- package/dist/static/img/kickstartDS/CMS-Starter producthunt-slide-05.svg +82 -0
- package/dist/static/img/kickstartDS/CMS-Starter producthunt-slide-06.svg +219 -0
- package/dist/static/img/kickstartDS/CMS-Starter producthunt-slide-07.svg +85 -0
- package/dist/static/img/logos/logoipsum-344.svg +174 -0
- package/dist/static/img/logos/logoipsum-347.svg +52 -0
- package/dist/static/img/logos/logoipsum-352.svg +22 -0
- package/dist/static/img/logos/logoipsum-356.svg +20 -0
- package/dist/static/img/logos/logoipsum-358.svg +29 -0
- package/dist/static/img/logos/logoipsum-369.svg +20 -0
- package/dist/static/img/logos/logoipsum-373.svg +17 -0
- package/dist/static/img/screenshots/blog-blog-aside--default.png +0 -0
- package/dist/static/img/screenshots/blog-blog-author--default.png +0 -0
- package/dist/static/img/screenshots/blog-blog-head--default.png +0 -0
- package/dist/static/img/screenshots/blog-blog-teaser--default.png +0 -0
- package/dist/static/img/screenshots/components-contact--wide-image.png +0 -0
- package/dist/static/img/screenshots/components-cta--align-bottom.png +0 -0
- package/dist/static/img/screenshots/components-cta--angled-image.png +0 -0
- package/dist/static/img/screenshots/components-cta--banner.png +0 -0
- package/dist/static/img/screenshots/components-cta--colored-banner.png +0 -0
- package/dist/static/img/screenshots/components-cta--contact-banner.png +0 -0
- package/dist/static/img/screenshots/components-cta--highlighted.png +0 -0
- package/dist/static/img/screenshots/components-cta--left-aligned.png +0 -0
- package/dist/static/img/screenshots/components-cta--product-advertisement.png +0 -0
- package/dist/static/img/screenshots/components-cta--split-banner.png +0 -0
- package/dist/static/img/screenshots/components-faq--dropdown-list.png +0 -0
- package/dist/static/img/screenshots/components-faq--single-dropdown.png +0 -0
- package/dist/static/img/screenshots/components-features--icon-beside-with-link-in-text.png +0 -0
- package/dist/static/img/screenshots/components-features--icon-centered.png +0 -0
- package/dist/static/img/screenshots/components-features--icon-intext-with-link.png +0 -0
- package/dist/static/img/screenshots/components-features--list-view.png +0 -0
- package/dist/static/img/screenshots/components-features--stack-with-button.png +0 -0
- package/dist/static/img/screenshots/components-headline--h-1.png +0 -0
- package/dist/static/img/screenshots/components-headline--h-2.png +0 -0
- package/dist/static/img/screenshots/components-headline--h-3.png +0 -0
- package/dist/static/img/screenshots/components-headline--h-4.png +0 -0
- package/dist/static/img/screenshots/components-headline--order-swapped.png +0 -0
- package/dist/static/img/screenshots/components-headline--with-markdown.png +0 -0
- package/dist/static/img/screenshots/components-headline--with-subheadline.png +0 -0
- package/dist/static/img/screenshots/components-hero--text-box-on-full-screen.png +0 -0
- package/dist/static/img/screenshots/components-hero--text-on-image-with-overlay.png +0 -0
- package/dist/static/img/screenshots/components-image--custom-aspect-ratio.png +0 -0
- package/dist/static/img/screenshots/components-image--preset-size.png +0 -0
- package/dist/static/img/screenshots/components-image--responsive-image.png +0 -0
- package/dist/static/img/screenshots/components-logos--centered-with-button.png +0 -0
- package/dist/static/img/screenshots/components-logos--left-aligned-with-text-link.png +0 -0
- package/dist/static/img/screenshots/components-stats--count-up-with-description.png +0 -0
- package/dist/static/img/screenshots/components-stats--count-up-with-icons.png +0 -0
- package/dist/static/img/screenshots/components-testimonials--alternating-layout.png +0 -0
- package/dist/static/img/screenshots/components-testimonials--list-layout.png +0 -0
- package/dist/static/img/screenshots/components-testimonials--simple.png +0 -0
- package/dist/static/img/screenshots/components-testimonials--slider-layout.png +0 -0
- package/dist/static/img/screenshots/components-testimonials--with-rating.png +0 -0
- package/dist/static/img/screenshots/components-testimonials--with-title.png +0 -0
- package/dist/static/img/screenshots/form-select-field--default.png +0 -0
- package/dist/static/img/screenshots/form-text-area--default.png +0 -0
- package/dist/static/img/screenshots/form-text-field--default.png +0 -0
- package/dist/static/img/screenshots/layout-divider--accent.png +0 -0
- package/dist/static/img/screenshots/layout-footer--footer.png +0 -0
- package/dist/static/img/screenshots/layout-header--header.png +0 -0
- package/dist/static/img/screenshots/layout-section--accent-background.png +0 -0
- package/dist/static/img/screenshots/layout-section--bold-background.png +0 -0
- package/dist/static/img/screenshots/layout-section--cards.png +0 -0
- package/dist/static/img/screenshots/layout-section--colorful-gradient.png +0 -0
- package/dist/static/img/screenshots/layout-section--flex-layout.png +0 -0
- package/dist/static/img/screenshots/layout-section--inverted.png +0 -0
- package/dist/static/img/screenshots/layout-section--list-layout.png +0 -0
- package/dist/static/img/screenshots/layout-section--slider.png +0 -0
- package/dist/static/img/screenshots/layout-section--spotlight.png +0 -0
- package/dist/static/img/screenshots/layout-section--stagelights.png +0 -0
- package/dist/static/img/screenshots/layout-section--tile-layout.png +0 -0
- package/dist/static/img/screenshots/layout-section--with-buttons.png +0 -0
- package/dist/static/img/screenshots/layout-slider--with-arrows.png +0 -0
- package/dist/static/img/screenshots/layout-slider--with-autoplay.png +0 -0
- package/dist/static/img/screenshots/layout-slider--with-nav.png +0 -0
- package/dist/static/img/screenshots/layout-slider--with-teased-neighbours.png +0 -0
- package/dist/static/img/screenshots/{page-archetypes-blog-overview--blog-overview.png → pages-archetypes--blog-overview.png} +0 -0
- package/dist/static/img/screenshots/pages-archetypes--blog-post.png +0 -0
- package/dist/static/img/screenshots/pages-archetypes--content.png +0 -0
- package/dist/static/img/screenshots/pages-archetypes--overview.png +0 -0
- package/dist/static/img/screenshots/pages-archetypes--start.png +0 -0
- package/dist/static/logo-dark.svg +13 -0
- package/dist/static/logo-dsa-inverted.svg +26 -0
- package/dist/static/logo-dsa.svg +26 -0
- package/dist/static/logo-inverted.svg +12 -25
- package/dist/static/logo.svg +12 -25
- package/dist/tokens/IconSprite.js +42 -0
- package/dist/tokens/icon-sprite.html +16 -0
- package/dist/tokens/themes.css +4 -4
- package/dist/tokens/tokens.css +427 -731
- package/dist/tokens/tokens.js +628 -730
- package/package.json +1 -1
- package/dist/static/img/logos/logoipsum-212.svg +0 -12
- package/dist/static/img/logos/logoipsum-217.svg +0 -4
- package/dist/static/img/logos/logoipsum-239.svg +0 -16
- package/dist/static/img/logos/logoipsum-244.svg +0 -19
- package/dist/static/img/logos/logoipsum-250.svg +0 -21
- package/dist/static/img/logos/logoipsum-286.svg +0 -20
- package/dist/static/img/screenshots/components-html--html.png +0 -0
- package/dist/static/img/screenshots/components-html--with-consent.png +0 -0
- package/dist/static/img/screenshots/components-html--with-script.png +0 -0
- package/dist/static/img/screenshots/layout-section--background-image.png +0 -0
- package/dist/static/img/screenshots/page-archetypes-blog-post--blog-post.png +0 -0
- package/dist/static/img/screenshots/page-archetypes-landingpage--landingpage.png +0 -0
- package/dist/static/img/screenshots/page-archetypes-overview--overview.png +0 -0
- package/dist/static/img/screenshots/page-archetypes-showcase--showcase.png +0 -0
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "http://schema.mydesignsystem.com/split-even.schema.json",
|
|
4
|
+
"title": "Split Even",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"contentMinWidth": {
|
|
8
|
+
"title": "Content Minimum Width",
|
|
9
|
+
"description": "Sets the minimum width for each half of the split layout",
|
|
10
|
+
"type": "string",
|
|
11
|
+
"enum": ["narrow", "medium", "wide"],
|
|
12
|
+
"default": "medium"
|
|
13
|
+
},
|
|
14
|
+
"contentGutter": {
|
|
15
|
+
"title": "Content Gutter",
|
|
16
|
+
"description": "Sets the space between the content inside the two halves of the split layout",
|
|
17
|
+
"type": "string",
|
|
18
|
+
"enum": ["narrow", "medium", "wide", "none"],
|
|
19
|
+
"default": "medium"
|
|
20
|
+
},
|
|
21
|
+
"mobileLayout": {
|
|
22
|
+
"title": "Mobile Layout",
|
|
23
|
+
"description": "Determines the layout of the sections on mobile devices",
|
|
24
|
+
"type": "string",
|
|
25
|
+
"enum": ["stack", "stackReverse"],
|
|
26
|
+
"default": "stack"
|
|
27
|
+
},
|
|
28
|
+
"verticalAlign": {
|
|
29
|
+
"title": "Vertical Alignment",
|
|
30
|
+
"type": "string",
|
|
31
|
+
"description": "Aligns the content vertically within the sections",
|
|
32
|
+
"enum": ["top", "center", "bottom"],
|
|
33
|
+
"default": "top"
|
|
34
|
+
},
|
|
35
|
+
"gutter": {
|
|
36
|
+
"title": "Gutter",
|
|
37
|
+
"type": "string",
|
|
38
|
+
"description": "Sets the space between the two halves of the split layout",
|
|
39
|
+
"enum": ["large", "default", "small", "none"],
|
|
40
|
+
"default": "default"
|
|
41
|
+
},
|
|
42
|
+
"firstComponents": {
|
|
43
|
+
"type": "array",
|
|
44
|
+
"title": "First",
|
|
45
|
+
"description": "Allowed components for the first half of the split layout",
|
|
46
|
+
"items": {
|
|
47
|
+
"anyOf": [
|
|
48
|
+
{
|
|
49
|
+
"$ref": "http://schema.mydesignsystem.com/cta.schema.json"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"$ref": "http://schema.mydesignsystem.com/divider.schema.json"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"$ref": "http://schema.mydesignsystem.com/faq.schema.json"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"$ref": "http://schema.mydesignsystem.com/features.schema.json"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"$ref": "http://schema.mydesignsystem.com/gallery.schema.json"
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"$ref": "http://schema.mydesignsystem.com/hero.schema.json"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"$ref": "http://schema.mydesignsystem.com/html.schema.json"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"$ref": "http://schema.mydesignsystem.com/image-story.schema.json"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"$ref": "http://schema.mydesignsystem.com/image-text.schema.json"
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"$ref": "http://schema.mydesignsystem.com/logos.schema.json"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"$ref": "http://schema.mydesignsystem.com/mosaic.schema.json"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"$ref": "http://schema.mydesignsystem.com/slider.schema.json"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"$ref": "http://schema.mydesignsystem.com/stats.schema.json"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"$ref": "http://schema.mydesignsystem.com/teaser-card.schema.json"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"$ref": "http://schema.mydesignsystem.com/testimonials.schema.json"
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"$ref": "http://schema.mydesignsystem.com/text.schema.json"
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"$ref": "http://schema.mydesignsystem.com/video-curtain.schema.json"
|
|
98
|
+
}
|
|
99
|
+
]
|
|
100
|
+
}
|
|
101
|
+
},
|
|
102
|
+
"secondComponents": {
|
|
103
|
+
"type": "array",
|
|
104
|
+
"title": "Second",
|
|
105
|
+
"description": "Allowed components for the second half of the split layout",
|
|
106
|
+
"items": {
|
|
107
|
+
"anyOf": [
|
|
108
|
+
{
|
|
109
|
+
"$ref": "http://schema.mydesignsystem.com/cta.schema.json"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"$ref": "http://schema.mydesignsystem.com/divider.schema.json"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"$ref": "http://schema.mydesignsystem.com/faq.schema.json"
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"$ref": "http://schema.mydesignsystem.com/features.schema.json"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"$ref": "http://schema.mydesignsystem.com/gallery.schema.json"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
"$ref": "http://schema.mydesignsystem.com/hero.schema.json"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"$ref": "http://schema.mydesignsystem.com/html.schema.json"
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"$ref": "http://schema.mydesignsystem.com/image-story.schema.json"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"$ref": "http://schema.mydesignsystem.com/image-text.schema.json"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"$ref": "http://schema.mydesignsystem.com/logos.schema.json"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"$ref": "http://schema.mydesignsystem.com/mosaic.schema.json"
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"$ref": "http://schema.mydesignsystem.com/slider.schema.json"
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"$ref": "http://schema.mydesignsystem.com/stats.schema.json"
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"$ref": "http://schema.mydesignsystem.com/teaser-card.schema.json"
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"$ref": "http://schema.mydesignsystem.com/testimonials.schema.json"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"$ref": "http://schema.mydesignsystem.com/text.schema.json"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"$ref": "http://schema.mydesignsystem.com/video-curtain.schema.json"
|
|
158
|
+
}
|
|
159
|
+
]
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
"additionalProperties": false
|
|
164
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { HTMLAttributes } from "react";
|
|
3
|
-
import { StatProps } from "../../StatProps-
|
|
3
|
+
import { StatProps } from "../../StatProps-12a3eae0.js";
|
|
4
4
|
declare const StatContextDefault: import("react").ForwardRefExoticComponent<StatProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
5
|
declare const StatContext: import("react").Context<import("react").ForwardRefExoticComponent<StatProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>>;
|
|
6
6
|
declare const Stat: import("react").ForwardRefExoticComponent<StatProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -2,18 +2,9 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
2
2
|
import { forwardRef, createContext, useContext } from 'react';
|
|
3
3
|
import { CountUp } from '@kickstartds/content/lib/count-up';
|
|
4
4
|
|
|
5
|
-
const StatContextDefault = forwardRef(({ number, title, description, icon, ...rest }, ref) => {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
const value = numberIndex !== -1 ? parseInt(parts[numberIndex], 10) : 0;
|
|
9
|
-
const prefix = numberIndex !== -1 && numberIndex > 0 ? parts[numberIndex - 1] : "";
|
|
10
|
-
const suffix = numberIndex !== -1 && numberIndex < parts.length - 1
|
|
11
|
-
? parts[numberIndex + 1]
|
|
12
|
-
: "";
|
|
13
|
-
return (jsx(CountUp, { ...rest, ref: ref, className: "dsa-stats__item", to: value, prefix: prefix, suffix: suffix, icon: {
|
|
14
|
-
icon: icon,
|
|
15
|
-
}, text: description, topic: title }));
|
|
16
|
-
});
|
|
5
|
+
const StatContextDefault = forwardRef(({ number, title, description, icon, ...rest }, ref) => (jsx(CountUp, { ...rest, ref: ref, className: "dsa-stats__item", to: number, icon: {
|
|
6
|
+
icon: icon,
|
|
7
|
+
}, text: description, topic: title })));
|
|
17
8
|
const StatContext = createContext(StatContextDefault);
|
|
18
9
|
const Stat = forwardRef((props, ref) => {
|
|
19
10
|
const Component = useContext(StatContext);
|
|
@@ -8,13 +8,12 @@
|
|
|
8
8
|
"number": {
|
|
9
9
|
"title": "Number",
|
|
10
10
|
"description": "The number of the stat",
|
|
11
|
-
"type": "
|
|
11
|
+
"type": "integer",
|
|
12
12
|
"examples": [
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
"bis zu 100"
|
|
13
|
+
1,
|
|
14
|
+
2,
|
|
15
|
+
3,
|
|
16
|
+
4
|
|
18
17
|
]
|
|
19
18
|
},
|
|
20
19
|
"description": {
|
|
@@ -19,13 +19,12 @@
|
|
|
19
19
|
"number": {
|
|
20
20
|
"title": "Number",
|
|
21
21
|
"description": "The number of the stat",
|
|
22
|
-
"type": "
|
|
22
|
+
"type": "integer",
|
|
23
23
|
"examples": [
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
"bis zu 100"
|
|
24
|
+
1,
|
|
25
|
+
2,
|
|
26
|
+
3,
|
|
27
|
+
4
|
|
29
28
|
]
|
|
30
29
|
},
|
|
31
30
|
"description": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { HTMLAttributes, FC, PropsWithChildren } from "react";
|
|
3
|
-
import { TeaserCardProps } from "../../TeaserCardProps-
|
|
3
|
+
import { TeaserCardProps } from "../../TeaserCardProps-994cb119.js";
|
|
4
4
|
declare const TeaserCardContextDefault: import("react").ForwardRefExoticComponent<TeaserCardProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
5
|
declare const TeaserCardContext: import("react").Context<import("react").ForwardRefExoticComponent<TeaserCardProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>>;
|
|
6
6
|
declare const TeaserCard: import("react").ForwardRefExoticComponent<TeaserCardProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -6,15 +6,15 @@ import { TeaserBoxContextDefault, TeaserBoxContext } from '@kickstartds/base/lib
|
|
|
6
6
|
import { Container } from '@kickstartds/core/lib/container';
|
|
7
7
|
import { compiler } from 'markdown-to-jsx';
|
|
8
8
|
|
|
9
|
-
const TeaserCardContextDefault = forwardRef(({ headline, text, button,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
9
|
+
const TeaserCardContextDefault = forwardRef(({ headline, text, button, url, image, imageRatio = "wide", label, layout = "stack", ...rest }, ref) => (jsx(Container, { name: "teaser-card", children: jsxs("div", { className: classnames(`dsa-teaser-card`, `dsa-teaser-card--${layout}`, `dsa-teaser-card--${imageRatio}`), children: [label && jsx("span", { className: "dsa-teaser-card__label", children: label }), jsx(TeaserBoxContextDefault, { ...rest, topic: headline, text: text,
|
|
10
|
+
// @ts-expect-error
|
|
11
|
+
renderTopic: () => jsx(Fragment, { children: compiler(headline) }), link: {
|
|
12
|
+
hidden: button?.hidden,
|
|
13
|
+
label: button.label,
|
|
14
|
+
variant: "primary",
|
|
15
|
+
url: url,
|
|
16
|
+
icon: button?.chevron ? "chevron-right" : undefined,
|
|
17
|
+
}, image: image, ref: ref })] }) })));
|
|
18
18
|
const TeaserCardContext = createContext(TeaserCardContextDefault);
|
|
19
19
|
const TeaserCard = forwardRef((props, ref) => {
|
|
20
20
|
const Component = useContext(TeaserCardContext);
|
|
@@ -8,39 +8,53 @@
|
|
|
8
8
|
--dsa-teaser-card--border-width: var(--ks-border-width-default);
|
|
9
9
|
--dsa-teaser-card--border-color: var(--ks-border-color-card-interactive);
|
|
10
10
|
--dsa-teaser-card--border-color_hover: var(--ks-border-color-card-interactive-hover);
|
|
11
|
-
--dsa-teaser-card--border-radius: var(--ks-border-radius-card)
|
|
12
|
-
|
|
13
|
-
--dsa-teaser-card--
|
|
14
|
-
--dsa-teaser-
|
|
11
|
+
--dsa-teaser-card--border-radius: var(--ks-border-radius-card) var(--ks-border-radius-card)
|
|
12
|
+
var(--ks-border-radius-card) calc(var(--ks-border-radius-card) * 3);
|
|
13
|
+
--dsa-teaser-card--shadow: none;
|
|
14
|
+
--dsa-teaser-card--shadow_hover: none;
|
|
15
|
+
--dsa-teaser__topic--color: var(--dsa-topic--color);
|
|
16
|
+
--dsa-teaser-card__label--font: var(--ks-font-interface-s);
|
|
15
17
|
--dsa-teaser-card__label--font-weight: var(--ks-font-weight-semi-bold);
|
|
16
|
-
--dsa-teaser-card__label--color: var(--
|
|
17
|
-
--dsa-teaser-card__label--background-color: var(--ks-background-color-
|
|
18
|
+
--dsa-teaser-card__label--color: var(--ks-text-color-primary);
|
|
19
|
+
--dsa-teaser-card__label--background-color: var(--ks-background-color-bold);
|
|
18
20
|
--dsa-teaser-card__label--padding: 0.5em 1em;
|
|
19
21
|
--dsa-teaser-card__label--border-radius: var(--ks-border-radius-pill);
|
|
20
|
-
--dsa-teaser-card__label--border:
|
|
21
|
-
--dsa-teaser-
|
|
22
|
+
--dsa-teaser-card__label--border: 1px solid var(--ks-border-color-interface);
|
|
23
|
+
--dsa-teaser-card__button--font: var(--ks-font-interface-m);
|
|
24
|
+
--dsa-teaser-card--padding: var(--ks-spacing-inset-m);
|
|
25
|
+
--dsa-teaser-card__topic--font: var(--ks-font-display-m);
|
|
22
26
|
--dsa-teaser-card__topic--font-weight: var(--dsa-topic--font-weight);
|
|
23
|
-
--dsa-teaser-card__copy--font: var(--
|
|
27
|
+
--dsa-teaser-card__copy--font: var(--ks-font-copy-s);
|
|
24
28
|
--dsa-teaser-card__copy--color: var(--ks-text-color-default);
|
|
25
|
-
--dsa-teaser-
|
|
29
|
+
--dsa-teaser-card__button--font: var(--ks-font-interface-s);
|
|
30
|
+
}
|
|
31
|
+
@container teaser-card (min-width: 400px) {
|
|
32
|
+
.dsa-teaser-card {
|
|
33
|
+
--dsa-teaser-card--padding: var(--ks-spacing-inset-l);
|
|
34
|
+
--dsa-teaser-card__topic--font: var(--ks-font-display-l);
|
|
35
|
+
--dsa-teaser-card__copy--font: var(--ks-font-copy-m);
|
|
36
|
+
--dsa-teaser-card__button--font: var(--ks-font-interface-m);
|
|
37
|
+
}
|
|
26
38
|
}
|
|
27
39
|
@media (min-width: 48em) {
|
|
28
40
|
.dsa-teaser-card {
|
|
29
41
|
--dsa-teaser-card__topic--font: var(--ks-font-display-s);
|
|
30
42
|
--dsa-teaser-card__copy--font: var(--ks-font-copy-s);
|
|
31
|
-
--dsa-teaser-card--padding: var(--ks-spacing-inset-
|
|
43
|
+
--dsa-teaser-card--padding: var(--ks-spacing-inset-m);
|
|
44
|
+
--dsa-teaser-card__button--font: var(--ks-font-interface-s);
|
|
32
45
|
}
|
|
33
|
-
@container teaser-card (min-width:
|
|
46
|
+
@container teaser-card (min-width: 400px) {
|
|
34
47
|
.dsa-teaser-card {
|
|
35
48
|
--dsa-teaser-card__copy--font: var(--ks-font-copy-m);
|
|
36
49
|
--dsa-teaser-card__topic--font: var(--ks-font-display-m);
|
|
50
|
+
--dsa-teaser-card__button--font: var(--ks-font-interface-m);
|
|
37
51
|
}
|
|
38
52
|
}
|
|
39
53
|
@container teaser-card (min-width: 820px) {
|
|
40
54
|
.dsa-teaser-card {
|
|
55
|
+
--dsa-teaser-card--padding: var(--ks-spacing-inset-l);
|
|
41
56
|
--dsa-teaser-card__topic--font: var(--ks-font-display-l);
|
|
42
57
|
--dsa-teaser-card__copy--font: var(--ks-font-copy-l);
|
|
43
|
-
--dsa-teaser-card--padding: var(--ks-spacing-inset-l);
|
|
44
58
|
}
|
|
45
59
|
}
|
|
46
60
|
}
|
|
@@ -54,7 +68,13 @@
|
|
|
54
68
|
display: flex;
|
|
55
69
|
}
|
|
56
70
|
|
|
57
|
-
.
|
|
71
|
+
.dsa-teaser-card {
|
|
72
|
+
display: flex;
|
|
73
|
+
width: 100%;
|
|
74
|
+
height: 100%;
|
|
75
|
+
position: relative;
|
|
76
|
+
}
|
|
77
|
+
.dsa-teaser-card .c-teaser {
|
|
58
78
|
--c-teaser--padding: var(--dsa-teaser-card--padding, var(--ks-spacing-inset-l));
|
|
59
79
|
--c-teaser--background: var(--dsa-teaser-card--background, var(--ks-background-color-card-interactive));
|
|
60
80
|
--c-teaser--color: var(--dsa-teaser-card__copy--color, var(--ks-text-color-default));
|
|
@@ -63,68 +83,68 @@
|
|
|
63
83
|
--c-teaser--border-radius: var(--dsa-teaser-card--border-radius, var(--ks-border-radius-card));
|
|
64
84
|
--c-teaser--shadow-hover: var(--dsa-teaser-card--shadow_hover, var(--ks-box-shadow-card-hover));
|
|
65
85
|
position: relative;
|
|
66
|
-
overflow: visible;
|
|
67
86
|
transition-property: border-color, background-color, box-shadow;
|
|
68
87
|
box-shadow: var(--dsa-teaser-card--shadow, var(--ks-box-shadow-card));
|
|
69
88
|
}
|
|
70
|
-
.
|
|
71
|
-
overflow: hidden;
|
|
72
|
-
border-radius: var(--dsa-teaser-card--border-radius) var(--dsa-teaser-card--border-radius) 0 0;
|
|
73
|
-
}
|
|
74
|
-
.c-teaser.dsa-teaser-card:hover {
|
|
89
|
+
.dsa-teaser-card .c-teaser:hover {
|
|
75
90
|
--c-teaser--border: var(--dsa-teaser-card--border-color_hover, var(--ks-background-color-card-interactive))
|
|
76
91
|
var(--dsa-teaser-card--border-width) solid;
|
|
77
92
|
}
|
|
78
|
-
.
|
|
93
|
+
.dsa-teaser-card .c-teaser img {
|
|
79
94
|
object-fit: cover;
|
|
80
95
|
}
|
|
81
|
-
.
|
|
96
|
+
.dsa-teaser-card--wide img {
|
|
82
97
|
aspect-ratio: 4/3;
|
|
83
98
|
}
|
|
84
|
-
.
|
|
99
|
+
.dsa-teaser-card--landscape img {
|
|
85
100
|
aspect-ratio: 16/9;
|
|
86
101
|
}
|
|
87
|
-
.
|
|
102
|
+
.dsa-teaser-card--square img {
|
|
88
103
|
aspect-ratio: 1/1;
|
|
89
104
|
}
|
|
90
|
-
.
|
|
105
|
+
.dsa-teaser-card .c-rich-text {
|
|
91
106
|
font: var(--dsa-teaser-card__copy--font, var(--dsa-rich-text--font, var(--ks-font-copy-m)));
|
|
92
107
|
}
|
|
93
|
-
.
|
|
108
|
+
.dsa-teaser-card .c-teaser__topic {
|
|
109
|
+
color: var(--dsa-teaser__topic--color, var(--dsa-topic--color));
|
|
94
110
|
font: var(--dsa-teaser-card__topic--font, var(--dsa-topic--font));
|
|
95
111
|
font-weight: var(--dsa-teaser-card__topic--font-weight, var(--dsa-topic--font-weight));
|
|
96
112
|
}
|
|
113
|
+
.dsa-teaser-card .dsa-teaser-card__label {
|
|
114
|
+
position: absolute;
|
|
115
|
+
z-index: 1;
|
|
116
|
+
top: 0;
|
|
117
|
+
right: 0;
|
|
118
|
+
border-radius: var(--dsa-teaser-card__label--border-radius);
|
|
119
|
+
border: var(--dsa-teaser-card__label--border, 0);
|
|
120
|
+
pointer-events: initial;
|
|
121
|
+
padding: var(--dsa-teaser-card__label--padding);
|
|
122
|
+
transform: translate(0.5em, -50%);
|
|
123
|
+
font: var(--dsa-teaser-card__label--font);
|
|
124
|
+
text-align: center;
|
|
125
|
+
font-weight: var(--dsa-teaser-card__label--font-weight);
|
|
126
|
+
color: var(--dsa-teaser-card__label--color);
|
|
127
|
+
background-color: var(--dsa-teaser-card__label--background-color);
|
|
128
|
+
}
|
|
129
|
+
.dsa-teaser-card .c-teaser__link .dsa-button {
|
|
130
|
+
font: var(--dsa-teaser-card__button--font, var(--dsa-button_medium--font));
|
|
131
|
+
padding: var(--dsa-teaser-card__button--padding, var(--dsa-button--padding));
|
|
132
|
+
}
|
|
97
133
|
@container teaser-card (min-width: 640px) {
|
|
98
|
-
.
|
|
134
|
+
.dsa-teaser-card--unset img {
|
|
99
135
|
height: 100%;
|
|
100
136
|
}
|
|
101
|
-
.
|
|
137
|
+
.dsa-teaser-card--row .c-teaser {
|
|
102
138
|
flex-direction: row;
|
|
103
139
|
}
|
|
104
|
-
.
|
|
140
|
+
.dsa-teaser-card--row .c-teaser .c-teaser__body {
|
|
105
141
|
justify-content: center;
|
|
106
142
|
flex-basis: 50%;
|
|
107
143
|
}
|
|
108
|
-
.
|
|
144
|
+
.dsa-teaser-card--row .c-teaser .c-teaser__body .c-teaser__text {
|
|
109
145
|
flex: 0;
|
|
110
146
|
}
|
|
111
|
-
.
|
|
147
|
+
.dsa-teaser-card--row .c-teaser > :first-child:not(.c-teaser__body) {
|
|
112
148
|
flex: 50%;
|
|
113
|
-
border-radius: var(--dsa-teaser-card--border-radius) 0 0 var(--dsa-teaser-card--border-radius);
|
|
114
149
|
}
|
|
115
|
-
}
|
|
116
|
-
.c-teaser.dsa-teaser-card--label .dsa-teaser-card__label {
|
|
117
|
-
border-radius: var(--dsa-teaser-card__label--border-radius);
|
|
118
|
-
border: var(--dsa-teaser-card__label--border, 0);
|
|
119
|
-
pointer-events: initial;
|
|
120
|
-
padding: var(--dsa-teaser-card__label--padding);
|
|
121
|
-
transform: translate(0.5em, -50%);
|
|
122
|
-
font: var(--dsa-teaser-card__label--font);
|
|
123
|
-
text-align: center;
|
|
124
|
-
font-weight: var(--dsa-teaser-card__label--font-weight);
|
|
125
|
-
color: var(--dsa-teaser-card__label--color);
|
|
126
|
-
position: absolute;
|
|
127
|
-
background-color: var(--dsa-teaser-card__label--background-color);
|
|
128
|
-
top: 0;
|
|
129
|
-
right: 0;
|
|
130
150
|
}
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
"description": "Layout for the Teaser Card",
|
|
32
32
|
"default": "stack"
|
|
33
33
|
},
|
|
34
|
-
"
|
|
34
|
+
"url": {
|
|
35
35
|
"type": "string",
|
|
36
|
-
"title": "
|
|
37
|
-
"description": "
|
|
36
|
+
"title": "Url",
|
|
37
|
+
"description": "Url that should be linked",
|
|
38
38
|
"format": "uri"
|
|
39
39
|
},
|
|
40
40
|
"button": {
|
|
@@ -87,6 +87,6 @@
|
|
|
87
87
|
"additionalProperties": false,
|
|
88
88
|
"required": [
|
|
89
89
|
"topic",
|
|
90
|
-
"
|
|
90
|
+
"url"
|
|
91
91
|
]
|
|
92
92
|
}
|
|
@@ -28,10 +28,10 @@
|
|
|
28
28
|
"description": "Layout for the Teaser Card",
|
|
29
29
|
"default": "stack"
|
|
30
30
|
},
|
|
31
|
-
"
|
|
31
|
+
"url": {
|
|
32
32
|
"type": "string",
|
|
33
|
-
"title": "
|
|
34
|
-
"description": "
|
|
33
|
+
"title": "Url",
|
|
34
|
+
"description": "Url that should be linked",
|
|
35
35
|
"format": "uri"
|
|
36
36
|
},
|
|
37
37
|
"button": {
|
|
@@ -71,5 +71,5 @@
|
|
|
71
71
|
}
|
|
72
72
|
},
|
|
73
73
|
"additionalProperties": false,
|
|
74
|
-
"required": ["topic", "
|
|
74
|
+
"required": ["topic", "url"]
|
|
75
75
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { HTMLAttributes } from "react";
|
|
3
3
|
import { TestimonialsProps } from "../../TestimonialsProps-e344f597.js";
|
|
4
|
-
import { SliderProps } from "../../SliderProps-
|
|
4
|
+
import { SliderProps } from "../../SliderProps-babe4ee6.js";
|
|
5
5
|
interface ConditionalSliderProps extends SliderProps {
|
|
6
6
|
layout: "slider" | "list" | "alternating";
|
|
7
7
|
}
|
|
@@ -59,10 +59,10 @@
|
|
|
59
59
|
"Book a meeting"
|
|
60
60
|
]
|
|
61
61
|
},
|
|
62
|
-
"
|
|
62
|
+
"url": {
|
|
63
63
|
"type": "string",
|
|
64
|
-
"title": "
|
|
65
|
-
"description": "
|
|
64
|
+
"title": "URL",
|
|
65
|
+
"description": "The URL to link to when the button is clicked",
|
|
66
66
|
"format": "uri"
|
|
67
67
|
},
|
|
68
68
|
"icon": {
|
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
"label": {
|
|
52
52
|
"$ref": "http://schema.mydesignsystem.com/button.schema.json#/properties/label"
|
|
53
53
|
},
|
|
54
|
-
"
|
|
55
|
-
"$ref": "http://schema.mydesignsystem.com/button.schema.json#/properties/
|
|
54
|
+
"url": {
|
|
55
|
+
"$ref": "http://schema.mydesignsystem.com/button.schema.json#/properties/url"
|
|
56
56
|
},
|
|
57
57
|
"icon": {
|
|
58
58
|
"$ref": "http://schema.mydesignsystem.com/button.schema.json#/properties/icon"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { HTMLAttributes } from "react";
|
|
3
|
-
import { VideoCurtainProps } from "../../VideoCurtainProps-
|
|
3
|
+
import { VideoCurtainProps } from "../../VideoCurtainProps-a2c0cc7f.js";
|
|
4
4
|
declare const VideoCurtainContextDefault: import("react").ForwardRefExoticComponent<VideoCurtainProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
5
|
declare const VideoCurtainContext: import("react").Context<import("react").ForwardRefExoticComponent<VideoCurtainProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>>;
|
|
6
6
|
declare const VideoCurtain: import("react").ForwardRefExoticComponent<VideoCurtainProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -14,17 +14,25 @@ const VideoCurtainContextDefault = forwardRef(({ headline, sub, text, highlightT
|
|
|
14
14
|
// @ts-expect-error
|
|
15
15
|
, {
|
|
16
16
|
// @ts-expect-error
|
|
17
|
-
value: ButtonGroup, children: jsx(Container, { name: "visual", children: jsx(VisualContextDefault, { ...rest, ref: ref, skipButton: true, className: classnames(`dsa-video-curtain`, highlightText
|
|
17
|
+
value: ButtonGroup, children: jsx(Container, { name: "visual", children: jsx(VisualContextDefault, { ...rest, ref: ref, skipButton: true, className: classnames(`dsa-video-curtain`, textPosition && `dsa-video-curtain--content-${textPosition}`, highlightText && `dsa-video-curtain--highlight-text`, colorNeutral && `dsa-video-curtain--color-neutral`, className), height: "fullScreen", inbox: true, box: {
|
|
18
18
|
background: "transparent",
|
|
19
19
|
enabled: true,
|
|
20
|
-
vertical: "
|
|
21
|
-
|
|
20
|
+
vertical: textPosition === "bottom" || textPosition === "corner"
|
|
21
|
+
? "bottom"
|
|
22
|
+
: "center",
|
|
23
|
+
horizontal: textPosition === "left" || textPosition === "corner"
|
|
24
|
+
? "left"
|
|
25
|
+
: textPosition === "right"
|
|
26
|
+
? "right"
|
|
27
|
+
: "center",
|
|
22
28
|
link: {
|
|
23
29
|
// @ts-expect-error
|
|
24
30
|
buttons,
|
|
25
31
|
colorNeutral,
|
|
26
32
|
enabled: buttons.length > 0,
|
|
27
|
-
arrangement: textPosition === "
|
|
33
|
+
arrangement: textPosition === "left" || textPosition === "corner"
|
|
34
|
+
? "left"
|
|
35
|
+
: "center",
|
|
28
36
|
},
|
|
29
37
|
headline: {
|
|
30
38
|
text: headline,
|