@kickstartds/ds-agency-premium 1.7.0--canary.18.1660.0 → 1.7.0--canary.46.1797.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/{BlogHeadProps-3f6e4072.d.ts → BlogHeadProps-c04a5ed8.d.ts} +6 -1
- package/dist/BlogOverviewProps-9f207f1c.d.ts +1 -1
- package/dist/BlogPostProps-6b3cff22.d.ts +2 -2
- package/dist/BlogTeaserProps-f5855e93.d.ts +9 -4
- package/dist/DividerProps-2ef31901.d.ts +26 -0
- package/dist/FeaturesProps-e58616a5.d.ts +62 -0
- package/dist/{HeroProps-cf82a16d.d.ts → HeroProps-f704d270.d.ts} +1 -1
- package/dist/HtmlProps-9d091769.d.ts +34 -0
- package/dist/PageProps-aa29c554.d.ts +1 -1
- package/dist/{SectionProps-83d399b4.d.ts → SectionProps-1cfcf6e8.d.ts} +12 -5
- package/dist/SliderProps-93230a76.d.ts +4 -4
- package/dist/{StatProps-12a3eae0.d.ts → StatProps-79109ad0.d.ts} +1 -1
- package/dist/StatsProps-bf5ef578.d.ts +1 -1
- package/dist/{TestimonialProps-94bdeac9.d.ts → TestimonialsProps-e344f597.d.ts} +22 -2
- package/dist/components/blog-aside/blog-aside.schema.dereffed.json +3 -1
- package/dist/components/blog-aside/blog-aside.schema.json +1 -0
- package/dist/components/blog-aside/index.d.ts +1 -0
- package/dist/components/blog-aside/index.js +6 -1
- package/dist/components/blog-author/blog-author.schema.dereffed.json +2 -1
- package/dist/components/blog-author/index.d.ts +1 -0
- package/dist/components/blog-author/index.js +10 -1
- package/dist/components/blog-head/blog-head.css +3 -3
- package/dist/components/blog-head/blog-head.schema.dereffed.json +8 -0
- package/dist/components/blog-head/blog-head.schema.json +6 -0
- package/dist/components/blog-head/index.d.ts +2 -1
- package/dist/components/blog-head/index.js +8 -3
- package/dist/components/blog-overview/blog-overview.schema.dereffed.json +212 -136
- package/dist/components/blog-overview/index.d.ts +1 -0
- package/dist/components/blog-overview/index.js +1 -0
- package/dist/components/blog-post/blog-post.schema.dereffed.json +181 -119
- package/dist/components/blog-post/index.d.ts +1 -0
- package/dist/components/blog-post/index.js +1 -0
- package/dist/components/blog-teaser/blog-teaser.css +7 -5
- package/dist/components/blog-teaser/blog-teaser.schema.dereffed.json +14 -6
- package/dist/components/blog-teaser/blog-teaser.schema.json +11 -5
- package/dist/components/blog-teaser/index.d.ts +4 -3
- package/dist/components/blog-teaser/index.js +14 -5
- package/dist/components/button/button.schema.dereffed.json +1 -0
- package/dist/components/button/button.schema.json +1 -0
- package/dist/components/button/index.d.ts +1 -0
- package/dist/components/button-group/button-group.schema.dereffed.json +1 -0
- package/dist/components/button-group/index.d.ts +1 -0
- package/dist/components/contact/contact.css +2 -0
- package/dist/components/contact/contact.schema.dereffed.json +2 -1
- package/dist/components/contact/contact.schema.json +2 -1
- package/dist/components/contact/index.d.ts +1 -0
- package/dist/components/contact/index.js +10 -1
- package/dist/components/cta/cta.css +3 -3
- package/dist/components/cta/cta.schema.dereffed.json +1 -0
- package/dist/components/cta/index.d.ts +1 -0
- package/dist/components/cta/index.js +20 -2
- package/dist/components/divider/divider.css +1 -1
- package/dist/components/divider/index.d.ts +2 -26
- package/dist/components/divider/index.js +6 -1
- package/dist/components/faq/index.d.ts +1 -0
- package/dist/components/faq/index.js +6 -1
- package/dist/components/feature/feature.schema.dereffed.json +1 -0
- package/dist/components/feature/feature.schema.json +1 -0
- package/dist/components/feature/index.d.ts +53 -1
- package/dist/components/feature/index.js +14 -2
- package/dist/components/features/features.css +43 -10
- package/dist/components/features/features.schema.dereffed.json +3 -40
- package/dist/components/features/features.schema.json +24 -1
- package/dist/components/features/index.d.ts +2 -1
- package/dist/components/features/index.js +23 -3
- package/dist/components/footer/footer.css +4 -4
- package/dist/components/footer/index.d.ts +1 -0
- package/dist/components/footer/index.js +11 -1
- package/dist/components/gallery/gallery.css +0 -18
- package/dist/components/gallery/index.d.ts +1 -0
- package/dist/components/gallery/index.js +8 -1
- package/dist/components/header/header.css +2 -3
- package/dist/components/header/index.d.ts +4 -3
- package/dist/components/header/index.js +14 -2
- package/dist/components/headline/headline.css +18 -2
- package/dist/components/headline/headline.schema.dereffed.json +5 -0
- package/dist/components/headline/headline.schema.json +5 -0
- package/dist/components/headline/index.d.ts +6 -0
- package/dist/components/headline/index.js +1 -1
- package/dist/components/hero/hero.css +38 -5
- package/dist/components/hero/hero.schema.dereffed.json +4 -2
- package/dist/components/hero/hero.schema.json +2 -2
- package/dist/components/hero/index.d.ts +2 -1
- package/dist/components/hero/index.js +19 -3
- package/dist/components/html/Html.client.d.ts +5 -0
- package/dist/components/html/Html.client.js +41 -0
- package/dist/components/html/html.css +52 -0
- package/dist/components/html/html.schema.dereffed.json +61 -0
- package/dist/components/html/html.schema.json +31 -3
- package/dist/components/html/index.d.ts +5 -26
- package/dist/components/html/index.js +25 -4
- package/dist/components/image-story/image-story.css +1 -1
- package/dist/components/image-story/image-story.schema.dereffed.json +1 -0
- package/dist/components/image-story/image-story.schema.json +5 -1
- package/dist/components/image-story/index.d.ts +1 -0
- package/dist/components/image-story/index.js +14 -2
- package/dist/components/image-text/index.d.ts +1 -0
- package/dist/components/image-text/index.js +7 -1
- package/dist/components/index/index.d.ts +6 -1
- package/dist/components/logo/index.d.ts +1 -0
- package/dist/components/logo/index.js +6 -1
- package/dist/components/logos/index.d.ts +1 -0
- package/dist/components/logos/index.js +12 -1
- package/dist/components/logos/logos.css +2 -2
- package/dist/components/mosaic/index.d.ts +1 -0
- package/dist/components/mosaic/index.js +8 -1
- package/dist/components/mosaic/mosaic.css +3 -0
- package/dist/components/mosaic/mosaic.schema.dereffed.json +1 -0
- package/dist/components/nav-dropdown/index.d.ts +1 -0
- package/dist/components/nav-flyout/index.d.ts +1 -0
- package/dist/components/nav-flyout/index.js +7 -1
- package/dist/components/nav-main/index.d.ts +1 -0
- package/dist/components/nav-main/index.js +11 -1
- package/dist/components/nav-topbar/index.d.ts +1 -0
- package/dist/components/nav-topbar/index.js +7 -1
- package/dist/components/page/index.d.ts +1 -0
- package/dist/components/page/page.schema.dereffed.json +169 -118
- package/dist/components/page-wrapper/index.js +107 -389
- package/dist/components/page-wrapper/tokens.css +55 -4
- package/dist/components/presets.json +182 -237
- package/dist/components/providers/index.js +2 -1
- package/dist/components/section/index.d.ts +2 -1
- package/dist/components/section/index.js +27 -3
- package/dist/components/section/js/Section.client.js +1 -1
- package/dist/components/section/section.css +50 -35
- package/dist/components/section/section.schema.dereffed.json +169 -118
- package/dist/components/section/section.schema.json +13 -2
- package/dist/components/settings/settings.schema.dereffed.json +5 -0
- package/dist/components/settings/settings.schema.json +5 -0
- package/dist/components/slider/index.d.ts +1 -0
- package/dist/components/slider/index.js +1 -1
- package/dist/components/slider/slider.css +5 -0
- package/dist/components/slider/slider.schema.dereffed.json +37 -63
- package/dist/components/slider/slider.schema.json +1 -1
- package/dist/components/split/index.d.ts +1 -0
- package/dist/components/split/split.css +3 -3
- package/dist/components/stat/index.d.ts +2 -1
- package/dist/components/stat/index.js +16 -4
- package/dist/components/stat/stat.schema.dereffed.json +7 -5
- package/dist/components/stat/stat.schema.json +3 -2
- package/dist/components/stats/index.d.ts +1 -0
- package/dist/components/stats/index.js +6 -1
- package/dist/components/stats/stats.css +3 -7
- package/dist/components/stats/stats.schema.dereffed.json +7 -5
- package/dist/components/teaser-card/index.d.ts +1 -0
- package/dist/components/teaser-card/index.js +13 -2
- package/dist/components/testimonial/index.d.ts +49 -1
- package/dist/components/testimonial/index.js +11 -2
- package/dist/components/testimonial/testimonial.schema.dereffed.json +11 -0
- package/dist/components/testimonial/testimonial.schema.json +7 -0
- package/dist/components/testimonials/index.d.ts +2 -1
- package/dist/components/testimonials/index.js +10 -3
- package/dist/components/testimonials/testimonials.css +56 -28
- package/dist/components/testimonials/testimonials.schema.dereffed.json +11 -5
- package/dist/components/testimonials/testimonials.schema.json +30 -1
- package/dist/components/text/index.d.ts +1 -0
- package/dist/components/text/index.js +8 -1
- package/dist/components/tile/tile.schema.dereffed.json +1 -0
- package/dist/components/tile/tile.schema.json +8 -2
- package/dist/components/video-curtain/index.d.ts +1 -0
- package/dist/components/video-curtain/index.js +11 -1
- package/dist/components/video-curtain/video-curtain.css +4 -3
- package/dist/components/video-curtain/video-curtain.schema.dereffed.json +2 -1
- package/dist/components/video-curtain/video-curtain.schema.json +1 -1
- package/dist/global.css +66 -42
- package/dist/helpers-84d80d46.d.ts +5 -0
- package/dist/helpers-84d80d46.js +33 -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-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/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-teaser-card--page-navigation.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-divider--default.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--background-image.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/{pages-archetypes--blog-overview.png → page-archetypes-blog-overview--blog-overview.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
- package/dist/tokens/IconSprite.js +105 -388
- package/dist/tokens/icon-sprite.html +54 -37
- package/dist/tokens/themes.css +4 -4
- package/dist/tokens/tokens.css +55 -4
- package/dist/tokens/tokens.js +49 -52
- package/package.json +13 -17
- package/dist/FeatureProps-f8a75850.d.ts +0 -52
- package/dist/FeaturesProps-b05859d6.d.ts +0 -34
- package/dist/TestimonialsProps-f7211553.d.ts +0 -22
- package/dist/components/image/image.css +0 -18
- package/dist/components/image/image.schema.dereffed.json +0 -105
- package/dist/components/image/image.schema.json +0 -95
- package/dist/components/image/index.d.ts +0 -87
- package/dist/components/image/index.js +0 -11
- package/dist/components/picture/picture.schema.json +0 -88
- 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/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
|
@@ -5,6 +5,12 @@ import { Link } from '@kickstartds/base/lib/link';
|
|
|
5
5
|
import { Icon } from '@kickstartds/base/lib/icon';
|
|
6
6
|
import { NavDropdown } from '../nav-dropdown/index.js';
|
|
7
7
|
import { forwardRef, createContext, useContext } from 'react';
|
|
8
|
+
import { d as deepMergeDefaults } from '../../helpers-84d80d46.js';
|
|
9
|
+
|
|
10
|
+
const defaults = {
|
|
11
|
+
"items": [],
|
|
12
|
+
"inverted": false
|
|
13
|
+
};
|
|
8
14
|
|
|
9
15
|
const NavTopbarContextDefault = forwardRef(({ items, inverted }, ref) => items && items.length > 0 ? (jsx("nav", { className: "dsa-nav-topbar", id: "dsa-nav-main", "aria-label": "Hauptnavigation", ref: ref, children: jsx("ul", { className: "dsa-nav-topbar__list", children: items.map(({ label, href, active, items: subItems }) => {
|
|
10
16
|
return (jsxs("li", { className: classnames("dsa-nav-topbar__item", active && "dsa-nav-topbar__item--active", subItems?.length && "dsa-nav-topbar__item--dropdown"), children: [subItems?.length ? (jsxs("span", { tabIndex: 0, className: "dsa-nav-topbar__label", children: [label, subItems?.length ? (jsx(Icon, { className: "dsa-nav-topbar__label__icon", icon: "chevron-down" })) : ("")] })) : (jsx(Link, { href: href, className: `dsa-nav-topbar__label dsa-nav-topbar__link`, children: label })), subItems?.length ? (jsx(NavDropdown, { items: subItems, inverted: inverted })) : null] }, href));
|
|
@@ -12,7 +18,7 @@ const NavTopbarContextDefault = forwardRef(({ items, inverted }, ref) => items &
|
|
|
12
18
|
const NavTopbarContext = createContext(NavTopbarContextDefault);
|
|
13
19
|
const NavTopbar = forwardRef((props, ref) => {
|
|
14
20
|
const Component = useContext(NavTopbarContext);
|
|
15
|
-
return jsx(Component, { ...props, ref: ref });
|
|
21
|
+
return jsx(Component, { ...deepMergeDefaults(defaults, props), ref: ref });
|
|
16
22
|
});
|
|
17
23
|
NavTopbar.displayName = "NavTopbar";
|
|
18
24
|
|
|
@@ -44,8 +44,7 @@
|
|
|
44
44
|
"boldTransition",
|
|
45
45
|
"symmetricGlow",
|
|
46
46
|
"anchorGlow"
|
|
47
|
-
]
|
|
48
|
-
"default": "default"
|
|
47
|
+
]
|
|
49
48
|
},
|
|
50
49
|
"backgroundColor": {
|
|
51
50
|
"type": "string",
|
|
@@ -58,6 +57,12 @@
|
|
|
58
57
|
],
|
|
59
58
|
"default": "default"
|
|
60
59
|
},
|
|
60
|
+
"backgroundImage": {
|
|
61
|
+
"title": "Background image",
|
|
62
|
+
"description": "Background image for the whole section",
|
|
63
|
+
"type": "string",
|
|
64
|
+
"format": "image"
|
|
65
|
+
},
|
|
61
66
|
"spotlight": {
|
|
62
67
|
"type": "boolean",
|
|
63
68
|
"title": "Spotlight",
|
|
@@ -298,6 +303,7 @@
|
|
|
298
303
|
},
|
|
299
304
|
"icon": {
|
|
300
305
|
"type": "string",
|
|
306
|
+
"format": "icon",
|
|
301
307
|
"title": "Icon",
|
|
302
308
|
"description": "Choose an icon"
|
|
303
309
|
},
|
|
@@ -395,6 +401,39 @@
|
|
|
395
401
|
},
|
|
396
402
|
"additionalProperties": false
|
|
397
403
|
},
|
|
404
|
+
{
|
|
405
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
406
|
+
"$id": "http://schema.mydesignsystem.com/divider.schema.json",
|
|
407
|
+
"title": "Divider",
|
|
408
|
+
"description": "Dividers bring clarity to a layout by grouping and dividing content in close proximity.",
|
|
409
|
+
"type": "object",
|
|
410
|
+
"properties": {
|
|
411
|
+
"variant": {
|
|
412
|
+
"title": "Style of the divider",
|
|
413
|
+
"type": "string",
|
|
414
|
+
"description": "Choose a variant for the divider",
|
|
415
|
+
"enum": [
|
|
416
|
+
"default",
|
|
417
|
+
"accent"
|
|
418
|
+
],
|
|
419
|
+
"default": "default"
|
|
420
|
+
},
|
|
421
|
+
"className": {
|
|
422
|
+
"type": "string",
|
|
423
|
+
"title": "Additional Classes",
|
|
424
|
+
"description": "Add additional css classes that should be applied to the divider"
|
|
425
|
+
},
|
|
426
|
+
"component": {
|
|
427
|
+
"title": "`ks-component` attribute",
|
|
428
|
+
"description": "Optional custom component identifier",
|
|
429
|
+
"type": "string"
|
|
430
|
+
},
|
|
431
|
+
"type": {
|
|
432
|
+
"const": "divider"
|
|
433
|
+
}
|
|
434
|
+
},
|
|
435
|
+
"additionalProperties": false
|
|
436
|
+
},
|
|
398
437
|
{
|
|
399
438
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
400
439
|
"$id": "http://schema.mydesignsystem.com/faq.schema.json",
|
|
@@ -500,14 +539,12 @@
|
|
|
500
539
|
"title": "Features",
|
|
501
540
|
"description": "The features to display",
|
|
502
541
|
"items": {
|
|
503
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
504
|
-
"$id": "http://schema.mydesignsystem.com/feature.schema.json",
|
|
505
|
-
"title": "Feature",
|
|
506
|
-
"description": "Partial Component used to display a feature",
|
|
507
542
|
"type": "object",
|
|
543
|
+
"title": "Feature",
|
|
508
544
|
"properties": {
|
|
509
545
|
"icon": {
|
|
510
546
|
"type": "string",
|
|
547
|
+
"format": "icon",
|
|
511
548
|
"title": "Icon",
|
|
512
549
|
"description": "The icon for the feature",
|
|
513
550
|
"examples": [
|
|
@@ -531,21 +568,8 @@
|
|
|
531
568
|
"This is a feature"
|
|
532
569
|
]
|
|
533
570
|
},
|
|
534
|
-
"style": {
|
|
535
|
-
"type": "string",
|
|
536
|
-
"enum": [
|
|
537
|
-
"intext",
|
|
538
|
-
"stack",
|
|
539
|
-
"centered",
|
|
540
|
-
"besideLarge",
|
|
541
|
-
"besideSmall"
|
|
542
|
-
],
|
|
543
|
-
"default": "stack"
|
|
544
|
-
},
|
|
545
571
|
"cta": {
|
|
546
572
|
"type": "object",
|
|
547
|
-
"title": "Call to Action",
|
|
548
|
-
"description": "The call to action",
|
|
549
573
|
"properties": {
|
|
550
574
|
"target": {
|
|
551
575
|
"type": "string",
|
|
@@ -562,34 +586,12 @@
|
|
|
562
586
|
"examples": [
|
|
563
587
|
"See all our partners"
|
|
564
588
|
]
|
|
565
|
-
},
|
|
566
|
-
"toggle": {
|
|
567
|
-
"type": "boolean",
|
|
568
|
-
"title": "Call to Action Toggle",
|
|
569
|
-
"description": "Activate/disable the CTAs",
|
|
570
|
-
"default": true
|
|
571
|
-
},
|
|
572
|
-
"style": {
|
|
573
|
-
"type": "string",
|
|
574
|
-
"description": "Choose the style of the CTA",
|
|
575
|
-
"enum": [
|
|
576
|
-
"button",
|
|
577
|
-
"link",
|
|
578
|
-
"intext"
|
|
579
|
-
],
|
|
580
|
-
"default": "link"
|
|
581
589
|
}
|
|
582
590
|
},
|
|
583
591
|
"additionalProperties": false
|
|
584
|
-
},
|
|
585
|
-
"type": {
|
|
586
|
-
"const": "feature"
|
|
587
592
|
}
|
|
588
593
|
},
|
|
589
|
-
"additionalProperties": false
|
|
590
|
-
"required": [
|
|
591
|
-
"title"
|
|
592
|
-
]
|
|
594
|
+
"additionalProperties": false
|
|
593
595
|
},
|
|
594
596
|
"minItems": 1,
|
|
595
597
|
"maxItems": 8
|
|
@@ -755,6 +757,7 @@
|
|
|
755
757
|
},
|
|
756
758
|
"icon": {
|
|
757
759
|
"type": "string",
|
|
760
|
+
"format": "icon",
|
|
758
761
|
"title": "Icon",
|
|
759
762
|
"description": "Choose an icon"
|
|
760
763
|
},
|
|
@@ -844,10 +847,11 @@
|
|
|
844
847
|
"center",
|
|
845
848
|
"below",
|
|
846
849
|
"left",
|
|
847
|
-
"right"
|
|
850
|
+
"right",
|
|
851
|
+
"corner"
|
|
848
852
|
],
|
|
849
853
|
"type": "string",
|
|
850
|
-
"default": "
|
|
854
|
+
"default": "below"
|
|
851
855
|
},
|
|
852
856
|
"type": {
|
|
853
857
|
"const": "hero"
|
|
@@ -855,6 +859,67 @@
|
|
|
855
859
|
},
|
|
856
860
|
"additionalProperties": false
|
|
857
861
|
},
|
|
862
|
+
{
|
|
863
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
864
|
+
"$id": "http://schema.mydesignsystem.com/html.schema.json",
|
|
865
|
+
"title": "Html",
|
|
866
|
+
"description": "Display raw HTML.",
|
|
867
|
+
"type": "object",
|
|
868
|
+
"properties": {
|
|
869
|
+
"html": {
|
|
870
|
+
"title": "HTML string",
|
|
871
|
+
"type": "string",
|
|
872
|
+
"examples": [
|
|
873
|
+
"<p style=\"color: var(--ks-text-color-default);\">Hello World</p>"
|
|
874
|
+
]
|
|
875
|
+
},
|
|
876
|
+
"consent": {
|
|
877
|
+
"title": "Show HTML after consent",
|
|
878
|
+
"type": "boolean",
|
|
879
|
+
"default": false
|
|
880
|
+
},
|
|
881
|
+
"consentText": {
|
|
882
|
+
"type": "string"
|
|
883
|
+
},
|
|
884
|
+
"consentButtonLabel": {
|
|
885
|
+
"type": "string"
|
|
886
|
+
},
|
|
887
|
+
"consentBackgroundImage": {
|
|
888
|
+
"type": "string",
|
|
889
|
+
"format": "image"
|
|
890
|
+
},
|
|
891
|
+
"consentAspectRatio": {
|
|
892
|
+
"type": "string",
|
|
893
|
+
"enum": [
|
|
894
|
+
"16:9",
|
|
895
|
+
"16:10",
|
|
896
|
+
"4:3",
|
|
897
|
+
"1:1"
|
|
898
|
+
],
|
|
899
|
+
"default": "16:9"
|
|
900
|
+
},
|
|
901
|
+
"inverted": {
|
|
902
|
+
"title": "Inverted",
|
|
903
|
+
"description": "Invert the colors of the HTML",
|
|
904
|
+
"type": "boolean",
|
|
905
|
+
"default": false
|
|
906
|
+
},
|
|
907
|
+
"className": {
|
|
908
|
+
"title": "Additional Classes",
|
|
909
|
+
"description": "Add additional css classes that should be applied to the element",
|
|
910
|
+
"type": "string"
|
|
911
|
+
},
|
|
912
|
+
"component": {
|
|
913
|
+
"title": "`ks-component` attribute",
|
|
914
|
+
"description": "Optional custom component identifier",
|
|
915
|
+
"type": "string"
|
|
916
|
+
},
|
|
917
|
+
"type": {
|
|
918
|
+
"const": "html"
|
|
919
|
+
}
|
|
920
|
+
},
|
|
921
|
+
"additionalProperties": false
|
|
922
|
+
},
|
|
858
923
|
{
|
|
859
924
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
860
925
|
"$id": "http://schema.mydesignsystem.com/image-story.schema.json",
|
|
@@ -945,6 +1010,7 @@
|
|
|
945
1010
|
},
|
|
946
1011
|
"icon": {
|
|
947
1012
|
"type": "string",
|
|
1013
|
+
"format": "icon",
|
|
948
1014
|
"title": "Icon",
|
|
949
1015
|
"description": "Choose an icon"
|
|
950
1016
|
},
|
|
@@ -1333,6 +1399,7 @@
|
|
|
1333
1399
|
},
|
|
1334
1400
|
"icon": {
|
|
1335
1401
|
"type": "string",
|
|
1402
|
+
"format": "icon",
|
|
1336
1403
|
"title": "Icon",
|
|
1337
1404
|
"description": "Choose an icon"
|
|
1338
1405
|
}
|
|
@@ -1420,8 +1487,15 @@
|
|
|
1420
1487
|
true
|
|
1421
1488
|
]
|
|
1422
1489
|
},
|
|
1423
|
-
"
|
|
1424
|
-
"
|
|
1490
|
+
"variant": {
|
|
1491
|
+
"title": "Type",
|
|
1492
|
+
"description": "Type of the movement",
|
|
1493
|
+
"type": "string",
|
|
1494
|
+
"enum": [
|
|
1495
|
+
"slider",
|
|
1496
|
+
"carousel"
|
|
1497
|
+
],
|
|
1498
|
+
"default": "carousel"
|
|
1425
1499
|
},
|
|
1426
1500
|
"className": {
|
|
1427
1501
|
"title": "Class",
|
|
@@ -1498,6 +1572,7 @@
|
|
|
1498
1572
|
},
|
|
1499
1573
|
"icon": {
|
|
1500
1574
|
"type": "string",
|
|
1575
|
+
"format": "icon",
|
|
1501
1576
|
"title": "Icon",
|
|
1502
1577
|
"description": "Choose an icon"
|
|
1503
1578
|
},
|
|
@@ -1650,14 +1725,12 @@
|
|
|
1650
1725
|
"title": "Features",
|
|
1651
1726
|
"description": "The features to display",
|
|
1652
1727
|
"items": {
|
|
1653
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1654
|
-
"$id": "http://schema.mydesignsystem.com/feature.schema.json",
|
|
1655
|
-
"title": "Feature",
|
|
1656
|
-
"description": "Partial Component used to display a feature",
|
|
1657
1728
|
"type": "object",
|
|
1729
|
+
"title": "Feature",
|
|
1658
1730
|
"properties": {
|
|
1659
1731
|
"icon": {
|
|
1660
1732
|
"type": "string",
|
|
1733
|
+
"format": "icon",
|
|
1661
1734
|
"title": "Icon",
|
|
1662
1735
|
"description": "The icon for the feature",
|
|
1663
1736
|
"examples": [
|
|
@@ -1681,21 +1754,8 @@
|
|
|
1681
1754
|
"This is a feature"
|
|
1682
1755
|
]
|
|
1683
1756
|
},
|
|
1684
|
-
"style": {
|
|
1685
|
-
"type": "string",
|
|
1686
|
-
"enum": [
|
|
1687
|
-
"intext",
|
|
1688
|
-
"stack",
|
|
1689
|
-
"centered",
|
|
1690
|
-
"besideLarge",
|
|
1691
|
-
"besideSmall"
|
|
1692
|
-
],
|
|
1693
|
-
"default": "stack"
|
|
1694
|
-
},
|
|
1695
1757
|
"cta": {
|
|
1696
1758
|
"type": "object",
|
|
1697
|
-
"title": "Call to Action",
|
|
1698
|
-
"description": "The call to action",
|
|
1699
1759
|
"properties": {
|
|
1700
1760
|
"target": {
|
|
1701
1761
|
"type": "string",
|
|
@@ -1712,34 +1772,12 @@
|
|
|
1712
1772
|
"examples": [
|
|
1713
1773
|
"See all our partners"
|
|
1714
1774
|
]
|
|
1715
|
-
},
|
|
1716
|
-
"toggle": {
|
|
1717
|
-
"type": "boolean",
|
|
1718
|
-
"title": "Call to Action Toggle",
|
|
1719
|
-
"description": "Activate/disable the CTAs",
|
|
1720
|
-
"default": true
|
|
1721
|
-
},
|
|
1722
|
-
"style": {
|
|
1723
|
-
"type": "string",
|
|
1724
|
-
"description": "Choose the style of the CTA",
|
|
1725
|
-
"enum": [
|
|
1726
|
-
"button",
|
|
1727
|
-
"link",
|
|
1728
|
-
"intext"
|
|
1729
|
-
],
|
|
1730
|
-
"default": "link"
|
|
1731
1775
|
}
|
|
1732
1776
|
},
|
|
1733
1777
|
"additionalProperties": false
|
|
1734
|
-
},
|
|
1735
|
-
"type": {
|
|
1736
|
-
"const": "feature"
|
|
1737
1778
|
}
|
|
1738
1779
|
},
|
|
1739
|
-
"additionalProperties": false
|
|
1740
|
-
"required": [
|
|
1741
|
-
"title"
|
|
1742
|
-
]
|
|
1780
|
+
"additionalProperties": false
|
|
1743
1781
|
},
|
|
1744
1782
|
"minItems": 1,
|
|
1745
1783
|
"maxItems": 8
|
|
@@ -1905,6 +1943,7 @@
|
|
|
1905
1943
|
},
|
|
1906
1944
|
"icon": {
|
|
1907
1945
|
"type": "string",
|
|
1946
|
+
"format": "icon",
|
|
1908
1947
|
"title": "Icon",
|
|
1909
1948
|
"description": "Choose an icon"
|
|
1910
1949
|
},
|
|
@@ -1994,10 +2033,11 @@
|
|
|
1994
2033
|
"center",
|
|
1995
2034
|
"below",
|
|
1996
2035
|
"left",
|
|
1997
|
-
"right"
|
|
2036
|
+
"right",
|
|
2037
|
+
"corner"
|
|
1998
2038
|
],
|
|
1999
2039
|
"type": "string",
|
|
2000
|
-
"default": "
|
|
2040
|
+
"default": "below"
|
|
2001
2041
|
},
|
|
2002
2042
|
"type": {
|
|
2003
2043
|
"const": "hero"
|
|
@@ -2230,12 +2270,13 @@
|
|
|
2230
2270
|
"number": {
|
|
2231
2271
|
"title": "Number",
|
|
2232
2272
|
"description": "The number of the stat",
|
|
2233
|
-
"type": "
|
|
2273
|
+
"type": "string",
|
|
2234
2274
|
"examples": [
|
|
2235
|
-
1,
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2275
|
+
"1",
|
|
2276
|
+
"5x",
|
|
2277
|
+
"2",
|
|
2278
|
+
"40%",
|
|
2279
|
+
"bis zu 100"
|
|
2239
2280
|
]
|
|
2240
2281
|
},
|
|
2241
2282
|
"description": {
|
|
@@ -2260,6 +2301,7 @@
|
|
|
2260
2301
|
"title": "Icon",
|
|
2261
2302
|
"description": "Optional icon of the stat",
|
|
2262
2303
|
"type": "string",
|
|
2304
|
+
"format": "icon",
|
|
2263
2305
|
"examples": [
|
|
2264
2306
|
"person",
|
|
2265
2307
|
"home",
|
|
@@ -2416,13 +2458,22 @@
|
|
|
2416
2458
|
],
|
|
2417
2459
|
"default": "slider"
|
|
2418
2460
|
},
|
|
2461
|
+
"quoteSigns": {
|
|
2462
|
+
"title": "Style of the quote signs",
|
|
2463
|
+
"description": "The style of the quote signs",
|
|
2464
|
+
"type": "string",
|
|
2465
|
+
"enum": [
|
|
2466
|
+
"normal",
|
|
2467
|
+
"large",
|
|
2468
|
+
"none"
|
|
2469
|
+
],
|
|
2470
|
+
"default": "normal"
|
|
2471
|
+
},
|
|
2419
2472
|
"testimonial": {
|
|
2420
2473
|
"type": "array",
|
|
2421
2474
|
"title": "Testimonials",
|
|
2422
2475
|
"description": "Add testimonials featuring an image, a quote, a source and a rating",
|
|
2423
2476
|
"items": {
|
|
2424
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2425
|
-
"$id": "http://schema.mydesignsystem.com/testimonial.schema.json",
|
|
2426
2477
|
"title": "Testimonial",
|
|
2427
2478
|
"description": "Testimonial entry of Testimonials component",
|
|
2428
2479
|
"type": "object",
|
|
@@ -2475,9 +2526,6 @@
|
|
|
2475
2526
|
"type": "integer",
|
|
2476
2527
|
"minimum": 1,
|
|
2477
2528
|
"maximum": 5
|
|
2478
|
-
},
|
|
2479
|
-
"type": {
|
|
2480
|
-
"const": "testimonial"
|
|
2481
2529
|
}
|
|
2482
2530
|
},
|
|
2483
2531
|
"additionalProperties": false,
|
|
@@ -2548,15 +2596,8 @@
|
|
|
2548
2596
|
]
|
|
2549
2597
|
}
|
|
2550
2598
|
},
|
|
2551
|
-
"
|
|
2552
|
-
"
|
|
2553
|
-
"description": "Type of the movement",
|
|
2554
|
-
"type": "string",
|
|
2555
|
-
"enum": [
|
|
2556
|
-
"slider",
|
|
2557
|
-
"carousel"
|
|
2558
|
-
],
|
|
2559
|
-
"default": "carousel"
|
|
2599
|
+
"type": {
|
|
2600
|
+
"const": "slider"
|
|
2560
2601
|
}
|
|
2561
2602
|
},
|
|
2562
2603
|
"additionalProperties": false
|
|
@@ -2582,12 +2623,13 @@
|
|
|
2582
2623
|
"number": {
|
|
2583
2624
|
"title": "Number",
|
|
2584
2625
|
"description": "The number of the stat",
|
|
2585
|
-
"type": "
|
|
2626
|
+
"type": "string",
|
|
2586
2627
|
"examples": [
|
|
2587
|
-
1,
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2628
|
+
"1",
|
|
2629
|
+
"5x",
|
|
2630
|
+
"2",
|
|
2631
|
+
"40%",
|
|
2632
|
+
"bis zu 100"
|
|
2591
2633
|
]
|
|
2592
2634
|
},
|
|
2593
2635
|
"description": {
|
|
@@ -2612,6 +2654,7 @@
|
|
|
2612
2654
|
"title": "Icon",
|
|
2613
2655
|
"description": "Optional icon of the stat",
|
|
2614
2656
|
"type": "string",
|
|
2657
|
+
"format": "icon",
|
|
2615
2658
|
"examples": [
|
|
2616
2659
|
"person",
|
|
2617
2660
|
"home",
|
|
@@ -2768,13 +2811,22 @@
|
|
|
2768
2811
|
],
|
|
2769
2812
|
"default": "slider"
|
|
2770
2813
|
},
|
|
2814
|
+
"quoteSigns": {
|
|
2815
|
+
"title": "Style of the quote signs",
|
|
2816
|
+
"description": "The style of the quote signs",
|
|
2817
|
+
"type": "string",
|
|
2818
|
+
"enum": [
|
|
2819
|
+
"normal",
|
|
2820
|
+
"large",
|
|
2821
|
+
"none"
|
|
2822
|
+
],
|
|
2823
|
+
"default": "normal"
|
|
2824
|
+
},
|
|
2771
2825
|
"testimonial": {
|
|
2772
2826
|
"type": "array",
|
|
2773
2827
|
"title": "Testimonials",
|
|
2774
2828
|
"description": "Add testimonials featuring an image, a quote, a source and a rating",
|
|
2775
2829
|
"items": {
|
|
2776
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2777
|
-
"$id": "http://schema.mydesignsystem.com/testimonial.schema.json",
|
|
2778
2830
|
"title": "Testimonial",
|
|
2779
2831
|
"description": "Testimonial entry of Testimonials component",
|
|
2780
2832
|
"type": "object",
|
|
@@ -2827,9 +2879,6 @@
|
|
|
2827
2879
|
"type": "integer",
|
|
2828
2880
|
"minimum": 1,
|
|
2829
2881
|
"maximum": 5
|
|
2830
|
-
},
|
|
2831
|
-
"type": {
|
|
2832
|
-
"const": "testimonial"
|
|
2833
2882
|
}
|
|
2834
2883
|
},
|
|
2835
2884
|
"additionalProperties": false,
|
|
@@ -2949,6 +2998,7 @@
|
|
|
2949
2998
|
},
|
|
2950
2999
|
"icon": {
|
|
2951
3000
|
"type": "string",
|
|
3001
|
+
"format": "icon",
|
|
2952
3002
|
"title": "Icon",
|
|
2953
3003
|
"description": "Choose an icon"
|
|
2954
3004
|
},
|
|
@@ -3015,7 +3065,7 @@
|
|
|
3015
3065
|
"right"
|
|
3016
3066
|
],
|
|
3017
3067
|
"type": "string",
|
|
3018
|
-
"default": "
|
|
3068
|
+
"default": "center"
|
|
3019
3069
|
},
|
|
3020
3070
|
"type": {
|
|
3021
3071
|
"const": "video-curtain"
|
|
@@ -3064,6 +3114,7 @@
|
|
|
3064
3114
|
},
|
|
3065
3115
|
"icon": {
|
|
3066
3116
|
"type": "string",
|
|
3117
|
+
"format": "icon",
|
|
3067
3118
|
"title": "Icon",
|
|
3068
3119
|
"description": "Choose an icon"
|
|
3069
3120
|
},
|