@kickstartds/ds-agency-premium 1.6.71--canary.1933.9f7ec0c.0 → 1.6.71--canary.45.1941.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.
Files changed (147) hide show
  1. package/dist/BlogOverviewProps-d62a0a9a.d.ts +1 -1
  2. package/dist/{BlogPostProps-c760fd2a.d.ts → BlogPostProps-c04a5ed8.d.ts} +2 -2
  3. package/dist/PageProps-aa29c554.d.ts +1 -1
  4. package/dist/{SectionProps-2fd5dbde.d.ts → SectionProps-00ddee3a.d.ts} +2 -2
  5. package/dist/SliderProps-789f8508.d.ts +1 -1
  6. package/dist/{StatProps-12a3eae0.d.ts → StatProps-79109ad0.d.ts} +1 -1
  7. package/dist/StatsProps-bf5ef578.d.ts +1 -1
  8. package/dist/components/blog-aside/index.d.ts +1 -1
  9. package/dist/components/blog-aside/index.js +6 -1
  10. package/dist/components/blog-author/index.js +10 -1
  11. package/dist/components/blog-head/index.js +6 -1
  12. package/dist/components/blog-overview/blog-overview.schema.dereffed.json +33 -33
  13. package/dist/components/blog-overview/blog-overview.schema.json +2 -2
  14. package/dist/components/blog-overview/index.js +1 -0
  15. package/dist/components/blog-post/blog-post.schema.dereffed.json +33 -33
  16. package/dist/components/blog-post/blog-post.schema.json +2 -2
  17. package/dist/components/blog-post/index.d.ts +1 -1
  18. package/dist/components/blog-post/index.js +1 -0
  19. package/dist/components/blog-teaser/index.js +10 -1
  20. package/dist/components/button/button.css +2 -2
  21. package/dist/components/contact/index.js +10 -1
  22. package/dist/components/cta/cta.css +1 -1
  23. package/dist/components/cta/index.js +19 -1
  24. package/dist/components/divider/index.js +6 -1
  25. package/dist/components/event-detail/index.js +1 -0
  26. package/dist/components/event-header/index.js +1 -0
  27. package/dist/components/event-list/index.js +1 -0
  28. package/dist/components/faq/index.js +6 -1
  29. package/dist/components/feature/index.js +15 -2
  30. package/dist/components/features/features.css +25 -7
  31. package/dist/components/features/index.js +13 -1
  32. package/dist/components/footer/footer.css +3 -3
  33. package/dist/components/footer/footer.schema.dereffed.json +12 -20
  34. package/dist/components/footer/index.js +11 -1
  35. package/dist/components/gallery/index.js +9 -1
  36. package/dist/components/header/header.schema.dereffed.json +12 -20
  37. package/dist/components/header/index.js +13 -1
  38. package/dist/components/headline/headline.css +2 -44
  39. package/dist/components/hero/hero.css +0 -11
  40. package/dist/components/hero/hero.schema.dereffed.json +1 -1
  41. package/dist/components/hero/hero.schema.json +1 -1
  42. package/dist/components/hero/index.js +17 -1
  43. package/dist/components/html/index.js +8 -1
  44. package/dist/components/image-story/index.d.ts +1 -1
  45. package/dist/components/image-story/index.js +14 -1
  46. package/dist/components/image-text/index.js +7 -1
  47. package/dist/components/index/index.d.ts +1 -1
  48. package/dist/components/logo/index.js +6 -1
  49. package/dist/components/logos/index.js +12 -1
  50. package/dist/components/mosaic/index.js +8 -1
  51. package/dist/components/nav-dropdown/nav-dropdown.css +3 -3
  52. package/dist/components/nav-flyout/index.js +7 -1
  53. package/dist/components/nav-flyout/nav-flyout.schema.dereffed.json +12 -20
  54. package/dist/components/nav-main/index.js +11 -1
  55. package/dist/components/nav-main/nav-main.schema.dereffed.json +12 -20
  56. package/dist/components/nav-main/nav-main.schema.json +12 -20
  57. package/dist/components/nav-topbar/index.js +7 -1
  58. package/dist/components/nav-topbar/nav-topbar.css +3 -3
  59. package/dist/components/nav-topbar/nav-topbar.schema.dereffed.json +12 -20
  60. package/dist/components/page/page.schema.dereffed.json +33 -33
  61. package/dist/components/page/page.schema.json +2 -2
  62. package/dist/components/page-wrapper/index.js +1 -6
  63. package/dist/components/page-wrapper/tokens.css +251 -251
  64. package/dist/components/presets.json +70 -86
  65. package/dist/components/providers/index.js +1 -0
  66. package/dist/components/search/index.js +1 -0
  67. package/dist/components/section/index.d.ts +1 -1
  68. package/dist/components/section/index.js +27 -1
  69. package/dist/components/section/section.css +19 -20
  70. package/dist/components/section/section.schema.dereffed.json +28 -28
  71. package/dist/components/section/section.schema.json +2 -2
  72. package/dist/components/seo/seo.schema.dereffed.json +4 -4
  73. package/dist/components/seo/seo.schema.json +4 -3
  74. package/dist/components/settings/settings.schema.dereffed.json +29 -45
  75. package/dist/components/settings/settings.schema.json +2 -2
  76. package/dist/components/slider/index.js +1 -1
  77. package/dist/components/slider/slider.schema.dereffed.json +18 -17
  78. package/dist/components/slider/slider.schema.json +1 -1
  79. package/dist/components/split-even/index.d.ts +1 -1
  80. package/dist/components/split-even/split-even.schema.dereffed.json +52 -48
  81. package/dist/components/split-weighted/index.d.ts +1 -1
  82. package/dist/components/split-weighted/split-weighted.schema.dereffed.json +52 -48
  83. package/dist/components/stat/index.d.ts +1 -1
  84. package/dist/components/stat/index.js +16 -4
  85. package/dist/components/stat/stat.schema.dereffed.json +6 -5
  86. package/dist/components/stat/stat.schema.json +2 -2
  87. package/dist/components/stats/index.js +6 -1
  88. package/dist/components/stats/stats.css +4 -4
  89. package/dist/components/stats/stats.schema.dereffed.json +6 -5
  90. package/dist/components/teaser-card/index.js +11 -1
  91. package/dist/components/teaser-card/teaser-card.css +11 -9
  92. package/dist/components/testimonial/index.js +7 -1
  93. package/dist/components/testimonials/index.js +8 -1
  94. package/dist/components/text/index.js +8 -1
  95. package/dist/components/video-curtain/index.js +11 -1
  96. package/dist/components/video-curtain/video-curtain.schema.dereffed.json +1 -1
  97. package/dist/components/video-curtain/video-curtain.schema.json +1 -1
  98. package/dist/global.css +2 -2
  99. package/dist/helpers-12f48df8.d.ts +6 -0
  100. package/dist/helpers-12f48df8.js +40 -0
  101. package/dist/static/favicon/android-chrome-192x192.png +0 -0
  102. package/dist/static/favicon/android-chrome-512x512.png +0 -0
  103. package/dist/static/favicon/apple-touch-icon.png +0 -0
  104. package/dist/static/favicon/browserconfig.xml +9 -0
  105. package/dist/static/favicon/favicon-16x16.png +0 -0
  106. package/dist/static/favicon/favicon-192-192.png +20 -0
  107. package/dist/static/favicon/favicon-32x32.png +0 -0
  108. package/dist/static/favicon/favicon.ico +0 -0
  109. package/dist/static/favicon/mstile-144x144.png +0 -0
  110. package/dist/static/favicon/mstile-150x150.png +0 -0
  111. package/dist/static/favicon/mstile-310x150.png +0 -0
  112. package/dist/static/favicon/mstile-310x310.png +0 -0
  113. package/dist/static/favicon/mstile-70x70.png +0 -0
  114. package/dist/static/favicon/safari-pinned-tab.svg +30 -0
  115. package/dist/static/favicon/site.webmanifest +19 -1
  116. package/dist/static/logo-inverted.svg +12 -27
  117. package/dist/static/logo.svg +12 -27
  118. package/dist/tokens/IconSprite.js +0 -6
  119. package/dist/tokens/icon-sprite.html +0 -2
  120. package/dist/tokens/themes.css +4 -4
  121. package/dist/tokens/tokens.css +251 -251
  122. package/dist/tokens/tokens.js +376 -377
  123. package/package.json +6 -4
  124. package/dist/static/guenther/brands/cadillac.png +0 -0
  125. package/dist/static/guenther/brands/corvette.png +0 -0
  126. package/dist/static/guenther/brands/infiniti.png +0 -0
  127. package/dist/static/guenther/brands/isuzu.png +0 -0
  128. package/dist/static/guenther/brands/kia.png +0 -0
  129. package/dist/static/guenther/brands/maserati.png +0 -0
  130. package/dist/static/guenther/brands/micro.png +0 -0
  131. package/dist/static/guenther/brands/msg.png +0 -0
  132. package/dist/static/guenther/brands/nissan.png +0 -0
  133. package/dist/static/guenther/brands/saab.png +0 -0
  134. package/dist/static/guenther/brands/subaru.png +0 -0
  135. package/dist/static/guenther/car-1.webp +0 -0
  136. package/dist/static/guenther/car-2.webp +0 -0
  137. package/dist/static/guenther/car-cutout-1.avif +0 -0
  138. package/dist/static/guenther/car-cutout-2.avif +0 -0
  139. package/dist/static/guenther/car-cutout-3.png +0 -0
  140. package/dist/static/guenther/car-red.png +0 -0
  141. package/dist/static/guenther/car-store.png +0 -0
  142. package/dist/static/guenther/contact.jpg +0 -0
  143. package/dist/static/guenther/header-2.png +0 -0
  144. package/dist/static/guenther/header.jpg +0 -0
  145. package/dist/static/guenther/header.png +0 -0
  146. /package/dist/{BlogAsideProps-c760fd2a.d.ts → BlogAsideProps-fb0241df.d.ts} +0 -0
  147. /package/dist/{ImageStoryProps-e853e1e7.d.ts → ImageStoryProps-00ddee3a.d.ts} +0 -0
@@ -3,7 +3,7 @@
3
3
  * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
4
4
  * and run json-schema-to-typescript to regenerate this file.
5
5
  */
6
- import { SectionProps } from "./SectionProps-2fd5dbde.js";
6
+ import { SectionProps } from "./SectionProps-00ddee3a.js";
7
7
  import { BlogTeaserProps } from "./BlogTeaserProps-d62a0a9a.js";
8
8
  import { CtaProps } from "./CtaProps-789f8508.js";
9
9
  import { SeoProps } from "./SeoProps-f2d6dcaa.js";
@@ -4,8 +4,8 @@
4
4
  * and run json-schema-to-typescript to regenerate this file.
5
5
  */
6
6
  import { BlogHeadProps } from "./BlogHeadProps-c04a5ed8.js";
7
- import { BlogAsideProps } from "./BlogAsideProps-c760fd2a.js";
8
- import { SectionProps } from "./SectionProps-2fd5dbde.js";
7
+ import { BlogAsideProps } from "./BlogAsideProps-fb0241df.js";
8
+ import { SectionProps } from "./SectionProps-00ddee3a.js";
9
9
  import { CtaProps } from "./CtaProps-789f8508.js";
10
10
  import { SeoProps } from "./SeoProps-f2d6dcaa.js";
11
11
  /**
@@ -3,7 +3,7 @@
3
3
  * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
4
4
  * and run json-schema-to-typescript to regenerate this file.
5
5
  */
6
- import { SectionProps } from "./SectionProps-2fd5dbde.js";
6
+ import { SectionProps } from "./SectionProps-00ddee3a.js";
7
7
  import { SeoProps } from "./SeoProps-f2d6dcaa.js";
8
8
  /**
9
9
  * Collection of sections (with their contents) to render on the page
@@ -10,7 +10,7 @@ import { FeaturesProps } from "./FeaturesProps-a9041d97.js";
10
10
  import { GalleryProps } from "./GalleryProps-76e7de44.js";
11
11
  import { HeroProps } from "./HeroProps-fec6b267.js";
12
12
  import { HtmlProps } from "./HtmlProps-9d091769.js";
13
- import { ImageStoryProps } from "./ImageStoryProps-e853e1e7.js";
13
+ import { ImageStoryProps } from "./ImageStoryProps-00ddee3a.js";
14
14
  import { ImageTextProps } from "./ImageTextProps-9286cca4.js";
15
15
  import { LogosProps } from "./LogosProps-f9474fe2.js";
16
16
  import { MosaicProps } from "./MosaicProps-d52c7151.js";
@@ -28,7 +28,7 @@ type Width = "full" | "max" | "wide" | "default" | "narrow";
28
28
  /**
29
29
  * Style of background
30
30
  */
31
- type Style = "default" | "framed" | "shine-left" | "shine-right" | "carbon";
31
+ type Style = "default" | "framed" | "deko";
32
32
  /**
33
33
  * Color of background
34
34
  */
@@ -50,7 +50,7 @@ interface SliderProps {
50
50
  equalHeight?: EqualizeSlidesHeights;
51
51
  gap?: Gap;
52
52
  arrows?: ShowArrows;
53
- type?: Type;
53
+ variant?: Type;
54
54
  className?: Class;
55
55
  components?: Content;
56
56
  }
@@ -6,7 +6,7 @@
6
6
  /**
7
7
  * The number of the stat
8
8
  */
9
- type Number = number;
9
+ type Number = string;
10
10
  /**
11
11
  * Optional description of the stat
12
12
  */
@@ -3,7 +3,7 @@
3
3
  * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
4
4
  * and run json-schema-to-typescript to regenerate this file.
5
5
  */
6
- import { StatProps } from "./StatProps-12a3eae0.js";
6
+ import { StatProps } from "./StatProps-79109ad0.js";
7
7
  /**
8
8
  * The stats to display with a number upcounter
9
9
  *
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { HTMLAttributes } from "react";
3
- import { BlogAsideProps } from "../../BlogAsideProps-c760fd2a.js";
3
+ import { BlogAsideProps } from "../../BlogAsideProps-fb0241df.js";
4
4
  declare const BlogAsideContextDefault: import("react").ForwardRefExoticComponent<BlogAsideProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
5
5
  declare const BlogAsideContext: import("react").Context<import("react").ForwardRefExoticComponent<BlogAsideProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>>;
6
6
  declare const BlogAside: import("react").ForwardRefExoticComponent<BlogAsideProps & import("react").RefAttributes<HTMLDivElement>>;
@@ -7,6 +7,7 @@ import { PostShareBar } from '@kickstartds/blog/lib/post-share-bar';
7
7
  import { Container } from '@kickstartds/core/lib/container';
8
8
  import { BlogAuthor } from '../blog-author/index.js';
9
9
  import { Headline } from '../headline/index.js';
10
+ import { d as deepMergeDefaults } from '../../helpers-12f48df8.js';
10
11
  import '../contact/index.js';
11
12
  import '@kickstartds/base/lib/picture';
12
13
  import '@kickstartds/base/lib/contact';
@@ -16,6 +17,10 @@ import '@kickstartds/base/lib/rich-text';
16
17
  import 'markdown-to-jsx';
17
18
  import '@kickstartds/base/lib/headline';
18
19
 
20
+ const defaults = {
21
+ "socialSharing": []
22
+ };
23
+
19
24
  const BlogAsideContextDefault = forwardRef(({ author, socialSharing, readingTime, date, className, ...props }, ref) => {
20
25
  const socialLinks = socialSharing?.map((link) => {
21
26
  return {
@@ -40,7 +45,7 @@ const BlogAsideContextDefault = forwardRef(({ author, socialSharing, readingTime
40
45
  const BlogAsideContext = createContext(BlogAsideContextDefault);
41
46
  const BlogAside = forwardRef((props, ref) => {
42
47
  const Component = useContext(BlogAsideContext);
43
- return jsx(Component, { ...props, ref: ref });
48
+ return jsx(Component, { ...deepMergeDefaults(defaults, props), ref: ref });
44
49
  });
45
50
  BlogAside.displayName = "BlogAside";
46
51
 
@@ -1,6 +1,7 @@
1
1
  import { jsx } from 'react/jsx-runtime';
2
2
  import { forwardRef, createContext, useContext } from 'react';
3
3
  import { Contact } from '../contact/index.js';
4
+ import { d as deepMergeDefaults } from '../../helpers-12f48df8.js';
4
5
  import 'classnames';
5
6
  import '@kickstartds/base/lib/picture';
6
7
  import '@kickstartds/base/lib/contact';
@@ -9,13 +10,21 @@ import '@kickstartds/base/lib/icon';
9
10
  import '@kickstartds/base/lib/rich-text';
10
11
  import '@kickstartds/core/lib/container';
11
12
 
13
+ const defaults = {
14
+ "image": {
15
+ "fullWidth": false,
16
+ "aspectRatio": "square"
17
+ },
18
+ "links": []
19
+ };
20
+
12
21
  const BlogAuthorContextDefault = forwardRef(({ name, byline, image, links, ...props }, ref) => {
13
22
  return (jsx(Contact, { ref: ref, ...props, className: "dsa-blog-aside__author", title: name, subtitle: byline, image: image, links: links }));
14
23
  });
15
24
  const BlogAuthorContext = createContext(BlogAuthorContextDefault);
16
25
  const BlogAuthor = forwardRef((props, ref) => {
17
26
  const Component = useContext(BlogAuthorContext);
18
- return jsx(Component, { ...props, ref: ref });
27
+ return jsx(Component, { ...deepMergeDefaults(defaults, props), ref: ref });
19
28
  });
20
29
  BlogAuthor.displayName = "BlogAuthor";
21
30
 
@@ -2,6 +2,11 @@ import "./blog-head.css";
2
2
  import { jsx } from 'react/jsx-runtime';
3
3
  import { forwardRef, createContext, useContext } from 'react';
4
4
  import { PostHead } from '@kickstartds/blog/lib/post-head';
5
+ import { d as deepMergeDefaults } from '../../helpers-12f48df8.js';
6
+
7
+ const defaults = {
8
+ "tags": []
9
+ };
5
10
 
6
11
  const BlogHeadContextDefault = forwardRef(({ date, tags = [], headline, image, alt, ...rest }, ref) => {
7
12
  return (jsx(PostHead, { ...rest, className: "dsa-blog-head", date: date, headline: { text: headline, level: "h1", align: "left" }, image: { src: image, alt: alt || headline }, categories: tags.map((tag) => {
@@ -11,7 +16,7 @@ const BlogHeadContextDefault = forwardRef(({ date, tags = [], headline, image, a
11
16
  const BlogHeadContext = createContext(BlogHeadContextDefault);
12
17
  const BlogHead = forwardRef((props, ref) => {
13
18
  const Component = useContext(BlogHeadContext);
14
- return jsx(Component, { ...props, ref: ref });
19
+ return jsx(Component, { ...deepMergeDefaults(defaults, props), ref: ref });
15
20
  });
16
21
  BlogHead.displayName = "BlogHead";
17
22
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$id": "http://schema.mydesignsystem.com/cms/blog-overview.schema.json",
3
+ "$id": "http://cms.mydesignsystem.com/blog-overview.schema.json",
4
4
  "title": "Blog Overview",
5
5
  "description": "Abstracts a blog overview concept into JSON schema",
6
6
  "type": "object",
@@ -39,9 +39,7 @@
39
39
  "enum": [
40
40
  "default",
41
41
  "framed",
42
- "shine-left",
43
- "shine-right",
44
- "carbon"
42
+ "deko"
45
43
  ],
46
44
  "default": "default"
47
45
  },
@@ -67,7 +65,7 @@
67
65
  "to-bold",
68
66
  "to-inverted"
69
67
  ],
70
- "default": "default"
68
+ "default": "to-default"
71
69
  },
72
70
  "backgroundImage": {
73
71
  "title": "Background image",
@@ -899,7 +897,7 @@
899
897
  "bottom"
900
898
  ],
901
899
  "type": "string",
902
- "default": "bottom"
900
+ "default": "below"
903
901
  },
904
902
  "type": {
905
903
  "const": "hero"
@@ -1535,8 +1533,15 @@
1535
1533
  true
1536
1534
  ]
1537
1535
  },
1538
- "type": {
1539
- "const": "slider"
1536
+ "variant": {
1537
+ "title": "Type",
1538
+ "description": "Type of the movement",
1539
+ "type": "string",
1540
+ "enum": [
1541
+ "slider",
1542
+ "carousel"
1543
+ ],
1544
+ "default": "carousel"
1540
1545
  },
1541
1546
  "className": {
1542
1547
  "title": "Class",
@@ -2114,7 +2119,7 @@
2114
2119
  "bottom"
2115
2120
  ],
2116
2121
  "type": "string",
2117
- "default": "bottom"
2122
+ "default": "below"
2118
2123
  },
2119
2124
  "type": {
2120
2125
  "const": "hero"
@@ -2347,12 +2352,13 @@
2347
2352
  "number": {
2348
2353
  "title": "Number",
2349
2354
  "description": "The number of the stat",
2350
- "type": "integer",
2355
+ "type": "string",
2351
2356
  "examples": [
2352
- 1,
2353
- 2,
2354
- 3,
2355
- 4
2357
+ "1",
2358
+ "5x",
2359
+ "2",
2360
+ "40%",
2361
+ "bis zu 100"
2356
2362
  ]
2357
2363
  },
2358
2364
  "description": {
@@ -2672,15 +2678,8 @@
2672
2678
  ]
2673
2679
  }
2674
2680
  },
2675
- "typeProp": {
2676
- "title": "Type",
2677
- "description": "Type of the movement",
2678
- "type": "string",
2679
- "enum": [
2680
- "slider",
2681
- "carousel"
2682
- ],
2683
- "default": "carousel"
2681
+ "type": {
2682
+ "const": "slider"
2684
2683
  }
2685
2684
  },
2686
2685
  "additionalProperties": false
@@ -2706,12 +2705,13 @@
2706
2705
  "number": {
2707
2706
  "title": "Number",
2708
2707
  "description": "The number of the stat",
2709
- "type": "integer",
2708
+ "type": "string",
2710
2709
  "examples": [
2711
- 1,
2712
- 2,
2713
- 3,
2714
- 4
2710
+ "1",
2711
+ "5x",
2712
+ "2",
2713
+ "40%",
2714
+ "bis zu 100"
2715
2715
  ]
2716
2716
  },
2717
2717
  "description": {
@@ -3149,7 +3149,7 @@
3149
3149
  "corner"
3150
3150
  ],
3151
3151
  "type": "string",
3152
- "default": "bottom"
3152
+ "default": "center"
3153
3153
  },
3154
3154
  "type": {
3155
3155
  "const": "video-curtain"
@@ -3929,13 +3929,10 @@
3929
3929
  },
3930
3930
  "seo": {
3931
3931
  "$schema": "http://json-schema.org/draft-07/schema#",
3932
- "$id": "http://schema.mydesignsystem.com/cms/seo.schema.json",
3932
+ "$id": "http://cms.mydesignsystem.com/seo.schema.json",
3933
3933
  "title": "Seo",
3934
3934
  "description": "Abstracts SEO settings for a website into JSON schema",
3935
3935
  "type": "object",
3936
- "required": [
3937
- "title"
3938
- ],
3939
3936
  "properties": {
3940
3937
  "title": {
3941
3938
  "type": "string",
@@ -3968,6 +3965,9 @@
3968
3965
  "const": "seo"
3969
3966
  }
3970
3967
  },
3968
+ "required": [
3969
+ "title"
3970
+ ],
3971
3971
  "additionalProperties": false
3972
3972
  },
3973
3973
  "type": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$id": "http://schema.mydesignsystem.com/cms/blog-overview.schema.json",
3
+ "$id": "http://cms.mydesignsystem.com/blog-overview.schema.json",
4
4
  "title": "Blog Overview",
5
5
  "description": "Abstracts a blog overview concept into JSON schema",
6
6
  "type": "object",
@@ -55,7 +55,7 @@
55
55
  "$ref": "http://schema.mydesignsystem.com/cta.schema.json"
56
56
  },
57
57
  "seo": {
58
- "$ref": "http://schema.mydesignsystem.com/cms/seo.schema.json"
58
+ "$ref": "http://cms.mydesignsystem.com/seo.schema.json"
59
59
  }
60
60
  }
61
61
  }
@@ -9,6 +9,7 @@ import '@kickstartds/core/lib/react';
9
9
  import '@kickstartds/base/lib/section';
10
10
  import '../section/js/Section.client.js';
11
11
  import '@kickstartds/core/lib/component';
12
+ import '../../helpers-12f48df8.js';
12
13
  import '@kickstartds/blog/lib/post-teaser';
13
14
  import '@kickstartds/core/lib/container';
14
15
  import '@kickstartds/content/lib/storytelling';
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$id": "http://schema.mydesignsystem.com/cms/blog-post.schema.json",
3
+ "$id": "http://cms.mydesignsystem.com/blog-post.schema.json",
4
4
  "title": "Blog Post",
5
5
  "description": "Abstracts a blog post concept into JSON schema",
6
6
  "type": "object",
@@ -323,9 +323,7 @@
323
323
  "enum": [
324
324
  "default",
325
325
  "framed",
326
- "shine-left",
327
- "shine-right",
328
- "carbon"
326
+ "deko"
329
327
  ],
330
328
  "default": "default"
331
329
  },
@@ -351,7 +349,7 @@
351
349
  "to-bold",
352
350
  "to-inverted"
353
351
  ],
354
- "default": "default"
352
+ "default": "to-default"
355
353
  },
356
354
  "backgroundImage": {
357
355
  "title": "Background image",
@@ -1183,7 +1181,7 @@
1183
1181
  "bottom"
1184
1182
  ],
1185
1183
  "type": "string",
1186
- "default": "bottom"
1184
+ "default": "below"
1187
1185
  },
1188
1186
  "type": {
1189
1187
  "const": "hero"
@@ -1819,8 +1817,15 @@
1819
1817
  true
1820
1818
  ]
1821
1819
  },
1822
- "type": {
1823
- "const": "slider"
1820
+ "variant": {
1821
+ "title": "Type",
1822
+ "description": "Type of the movement",
1823
+ "type": "string",
1824
+ "enum": [
1825
+ "slider",
1826
+ "carousel"
1827
+ ],
1828
+ "default": "carousel"
1824
1829
  },
1825
1830
  "className": {
1826
1831
  "title": "Class",
@@ -2398,7 +2403,7 @@
2398
2403
  "bottom"
2399
2404
  ],
2400
2405
  "type": "string",
2401
- "default": "bottom"
2406
+ "default": "below"
2402
2407
  },
2403
2408
  "type": {
2404
2409
  "const": "hero"
@@ -2631,12 +2636,13 @@
2631
2636
  "number": {
2632
2637
  "title": "Number",
2633
2638
  "description": "The number of the stat",
2634
- "type": "integer",
2639
+ "type": "string",
2635
2640
  "examples": [
2636
- 1,
2637
- 2,
2638
- 3,
2639
- 4
2641
+ "1",
2642
+ "5x",
2643
+ "2",
2644
+ "40%",
2645
+ "bis zu 100"
2640
2646
  ]
2641
2647
  },
2642
2648
  "description": {
@@ -2956,15 +2962,8 @@
2956
2962
  ]
2957
2963
  }
2958
2964
  },
2959
- "typeProp": {
2960
- "title": "Type",
2961
- "description": "Type of the movement",
2962
- "type": "string",
2963
- "enum": [
2964
- "slider",
2965
- "carousel"
2966
- ],
2967
- "default": "carousel"
2965
+ "type": {
2966
+ "const": "slider"
2968
2967
  }
2969
2968
  },
2970
2969
  "additionalProperties": false
@@ -2990,12 +2989,13 @@
2990
2989
  "number": {
2991
2990
  "title": "Number",
2992
2991
  "description": "The number of the stat",
2993
- "type": "integer",
2992
+ "type": "string",
2994
2993
  "examples": [
2995
- 1,
2996
- 2,
2997
- 3,
2998
- 4
2994
+ "1",
2995
+ "5x",
2996
+ "2",
2997
+ "40%",
2998
+ "bis zu 100"
2999
2999
  ]
3000
3000
  },
3001
3001
  "description": {
@@ -3433,7 +3433,7 @@
3433
3433
  "corner"
3434
3434
  ],
3435
3435
  "type": "string",
3436
- "default": "bottom"
3436
+ "default": "center"
3437
3437
  },
3438
3438
  "type": {
3439
3439
  "const": "video-curtain"
@@ -3696,13 +3696,10 @@
3696
3696
  },
3697
3697
  "seo": {
3698
3698
  "$schema": "http://json-schema.org/draft-07/schema#",
3699
- "$id": "http://schema.mydesignsystem.com/cms/seo.schema.json",
3699
+ "$id": "http://cms.mydesignsystem.com/seo.schema.json",
3700
3700
  "title": "Seo",
3701
3701
  "description": "Abstracts SEO settings for a website into JSON schema",
3702
3702
  "type": "object",
3703
- "required": [
3704
- "title"
3705
- ],
3706
3703
  "properties": {
3707
3704
  "title": {
3708
3705
  "type": "string",
@@ -3735,6 +3732,9 @@
3735
3732
  "const": "seo"
3736
3733
  }
3737
3734
  },
3735
+ "required": [
3736
+ "title"
3737
+ ],
3738
3738
  "additionalProperties": false
3739
3739
  },
3740
3740
  "type": {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$id": "http://schema.mydesignsystem.com/cms/blog-post.schema.json",
3
+ "$id": "http://cms.mydesignsystem.com/blog-post.schema.json",
4
4
  "title": "Blog Post",
5
5
  "description": "Abstracts a blog post concept into JSON schema",
6
6
  "type": "object",
@@ -30,7 +30,7 @@
30
30
  "$ref": "http://schema.mydesignsystem.com/cta.schema.json"
31
31
  },
32
32
  "seo": {
33
- "$ref": "http://schema.mydesignsystem.com/cms/seo.schema.json"
33
+ "$ref": "http://cms.mydesignsystem.com/seo.schema.json"
34
34
  }
35
35
  }
36
36
  }
@@ -1,4 +1,4 @@
1
- import { BlogPostProps } from "../../BlogPostProps-c760fd2a.js";
1
+ import { BlogPostProps } from "../../BlogPostProps-c04a5ed8.js";
2
2
  import { FC, PropsWithChildren } from "react";
3
3
  declare const BlogPost: FC<PropsWithChildren<BlogPostProps>>;
4
4
  export type { BlogPostProps };
@@ -8,6 +8,7 @@ import { Cta } from '../cta/index.js';
8
8
  import 'classnames';
9
9
  import 'react';
10
10
  import '@kickstartds/blog/lib/post-head';
11
+ import '../../helpers-12f48df8.js';
11
12
  import '@kickstartds/core/lib/react';
12
13
  import '@kickstartds/base/lib/section';
13
14
  import '../section/js/Section.client.js';
@@ -4,6 +4,15 @@ import classnames from 'classnames';
4
4
  import { forwardRef, createContext, useContext } from 'react';
5
5
  import { PostTeaserContextDefault } from '@kickstartds/blog/lib/post-teaser';
6
6
  import { Container } from '@kickstartds/core/lib/container';
7
+ import { d as deepMergeDefaults } from '../../helpers-12f48df8.js';
8
+
9
+ const defaults = {
10
+ "tags": [],
11
+ "link": {
12
+ "text": "Read article"
13
+ },
14
+ "author": {}
15
+ };
7
16
 
8
17
  const BlogTeaserContextDefault = forwardRef(({ date, tags = [], headline, teaserText, image, alt, link, readingTime, author, className, ...rest }, ref) => {
9
18
  const teaserMetaItems = [];
@@ -38,7 +47,7 @@ const BlogTeaserContextDefault = forwardRef(({ date, tags = [], headline, teaser
38
47
  const BlogTeaserContext = createContext(BlogTeaserContextDefault);
39
48
  const BlogTeaser = forwardRef((props, ref) => {
40
49
  const Component = useContext(BlogTeaserContext);
41
- return jsx(Component, { ...props, ref: ref });
50
+ return jsx(Component, { ...deepMergeDefaults(defaults, props), ref: ref });
42
51
  });
43
52
  BlogTeaser.displayName = "BlogTeaser";
44
53
 
@@ -1,8 +1,8 @@
1
1
  .dsa-button {
2
- --dsa-button--padding: 0.65em 1.5em;
2
+ --dsa-button--padding: 0.75em 1.5em;
3
3
  --dsa-button--border-width: var(--ks-border-width-default);
4
4
  --dsa-button--border-radius: var(--ks-border-radius-control);
5
- --dsa-button--font-weight: var(--ks-font-weight-regular);
5
+ --dsa-button--font-weight: var(--ks-font-weight-semi-bold);
6
6
  --dsa-button--text-transform: default;
7
7
  --dsa-button_small--font: var(--ks-font-interface-s);
8
8
  --dsa-button_medium--font: var(--ks-font-interface-m);
@@ -8,12 +8,21 @@ import { Link } from '@kickstartds/base/lib/link';
8
8
  import { Icon } from '@kickstartds/base/lib/icon';
9
9
  import { RichText } from '@kickstartds/base/lib/rich-text';
10
10
  import { Container } from '@kickstartds/core/lib/container';
11
+ import { d as deepMergeDefaults } from '../../helpers-12f48df8.js';
12
+
13
+ const defaults = {
14
+ "image": {
15
+ "fullWidth": false,
16
+ "aspectRatio": "square"
17
+ },
18
+ "links": []
19
+ };
11
20
 
12
21
  const ContactContextDefault = forwardRef(({ title, subtitle, image, links, copy, className, ...props }, ref) => (jsx(Container, { name: "contact", children: jsxs("address", { className: classnames("dsa-contact", image?.aspectRatio && `dsa-contact--image-${image?.aspectRatio}`, image?.fullWidth && `dsa-contact--image-full-width`, className), ref: ref, ...props, children: [image && image.src && (jsx("div", { className: "dsa-contact__image-wrap", children: jsx(Picture, { src: image?.src, alt: image?.alt, className: "dsa-contact__image" }) })), jsxs("div", { className: "dsa-contact__body", children: [title && (jsxs("div", { className: "dsa-contact__header", children: [jsx("span", { className: "dsa-contact__title", children: title }), jsx("span", { className: "dsa-contact__subtitle", children: subtitle })] })), copy && jsx(RichText, { text: copy, className: "dsa-contact__copy" }), links && links.length && (jsx("ul", { className: "dsa-contact__links", children: links.map(({ icon, url, label, ariaLabel, newTab }, i) => (jsx("li", { children: jsxs(Link, { className: "dsa-contact__link", "aria-label": ariaLabel, href: url, ...(newTab && { target: "_blank", rel: "noopener" }), children: [jsx(Icon, { role: "presentation", focusable: "false", "aria-hidden": true, icon: icon }), label] }) }, i))) }))] })] }) })));
13
22
  const ContactContext = createContext(ContactContextDefault);
14
23
  const Contact = forwardRef((props, ref) => {
15
24
  const Component = useContext(ContactContext);
16
- return jsx(Component, { ...props, ref: ref });
25
+ return jsx(Component, { ...deepMergeDefaults(defaults, props), ref: ref });
17
26
  });
18
27
  Contact.displayName = "Contact";
19
28
  const ContactProvider = (props) => (jsx(ContactContext$1.Provider, { ...props, value: Contact }));
@@ -24,7 +24,7 @@
24
24
  gap: var(--dsa-cta--gap, var(--ks-spacing-inline-m));
25
25
  border-radius: var(--dsa-cta--border-radius, var(--ks-border-radius-surface));
26
26
  }
27
- .dsa-cta.c-storytelling.dsa-cta--no-padding {
27
+ .dsa-cta.c-storytelling:not(.dsa-cta--no-padding) {
28
28
  overflow: hidden;
29
29
  }
30
30
  .dsa-cta.c-storytelling.dsa-cta--color-neutral {
@@ -6,8 +6,26 @@ import { ButtonContext } from '@kickstartds/base/lib/button';
6
6
  import classnames from 'classnames';
7
7
  import { useButtonGroup } from '../button-group/index.js';
8
8
  import { Container } from '@kickstartds/core/lib/container';
9
+ import { d as deepMergeDefaults } from '../../helpers-12f48df8.js';
9
10
  import '@kickstartds/base/lib/button-group';
10
11
 
12
+ const defaults = {
13
+ "highlightText": false,
14
+ "colorNeutral": false,
15
+ "buttons": [],
16
+ "image": {
17
+ "padding": true,
18
+ "align": "center"
19
+ },
20
+ "order": {
21
+ "mobileImageLast": false,
22
+ "desktopImageLast": true
23
+ },
24
+ "textAlign": "left",
25
+ "align": "center",
26
+ "padding": false
27
+ };
28
+
11
29
  const CtaContextDefault = forwardRef(({ headline, highlightText = false, sub, image, text, textAlign, backgroundImage, backgroundColor, colorNeutral, align, padding, order, buttons = [], ...rest }, ref) => {
12
30
  const ButtonGroup = useButtonGroup();
13
31
  return (jsx(ButtonContext.Provider
@@ -40,7 +58,7 @@ const CtaContextDefault = forwardRef(({ headline, highlightText = false, sub, im
40
58
  const CtaContext = createContext(CtaContextDefault);
41
59
  const Cta = forwardRef((props, ref) => {
42
60
  const Component = useContext(CtaContext);
43
- return jsx(Component, { ...props, ref: ref });
61
+ return jsx(Component, { ...deepMergeDefaults(defaults, props), ref: ref });
44
62
  });
45
63
  Cta.displayName = "Cta";
46
64