@kickstartds/ds-agency-premium 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (301) hide show
  1. package/README.md +96 -0
  2. package/dist/ButtonProps-03ff6d21.d.ts +41 -0
  3. package/dist/CtaProps-93230a76.d.ts +113 -0
  4. package/dist/FaqProps-ad618cd5.d.ts +35 -0
  5. package/dist/FeaturesProps-79dea880.d.ts +284 -0
  6. package/dist/GalleryProps-76e7de44.d.ts +331 -0
  7. package/dist/HeadlineProps-d413a2cc.d.ts +48 -0
  8. package/dist/HeroProps-cf82a16d.d.ts +104 -0
  9. package/dist/ImageStoryProps-03ff6d21.d.ts +70 -0
  10. package/dist/ImageTextProps-9286cca4.d.ts +38 -0
  11. package/dist/LogosProps-8af8b3c7.d.ts +929 -0
  12. package/dist/MosaicProps-aacb9422.d.ts +84 -0
  13. package/dist/SliderProps-69b2f1d7.d.ts +43 -0
  14. package/dist/SplitProps-89ef39c4.d.ts +9 -0
  15. package/dist/StatsProps-afa48599.d.ts +41 -0
  16. package/dist/TeaserCardProps-b52479e5.d.ts +49 -0
  17. package/dist/TestimonialsProps-d27ae4b4.d.ts +54 -0
  18. package/dist/TextProps-a23170d2.d.ts +31 -0
  19. package/dist/VideoCurtainProps-6c625a69.d.ts +82 -0
  20. package/dist/components/blog-aside/blog-aside.css +9 -0
  21. package/dist/components/blog-aside/blog-aside.schema.dereffed.json +130 -0
  22. package/dist/components/blog-aside/blog-aside.schema.json +99 -0
  23. package/dist/components/blog-aside/index.d.ts +76 -0
  24. package/dist/components/blog-aside/index.js +55 -0
  25. package/dist/components/blog-head/blog-head.css +3 -0
  26. package/dist/components/blog-head/blog-head.schema.dereffed.json +54 -0
  27. package/dist/components/blog-head/blog-head.schema.json +40 -0
  28. package/dist/components/blog-head/index.d.ts +34 -0
  29. package/dist/components/blog-head/index.js +11 -0
  30. package/dist/components/blog-teaser/blog-teaser.css +58 -0
  31. package/dist/components/blog-teaser/blog-teaser.schema.dereffed.json +135 -0
  32. package/dist/components/blog-teaser/blog-teaser.schema.json +102 -0
  33. package/dist/components/blog-teaser/index.d.ts +81 -0
  34. package/dist/components/blog-teaser/index.js +37 -0
  35. package/dist/components/button/button.css +67 -0
  36. package/dist/components/button/button.schema.dereffed.json +63 -0
  37. package/dist/components/button/button.schema.json +48 -0
  38. package/dist/components/button/index.d.ts +6 -0
  39. package/dist/components/button/index.js +18 -0
  40. package/dist/components/button-group/button-group.schema.dereffed.json +115 -0
  41. package/dist/components/button-group/button-group.schema.json +27 -0
  42. package/dist/components/button-group/index.d.ts +40 -0
  43. package/dist/components/button-group/index.js +30 -0
  44. package/dist/components/component-teaser/component-teaser.schema.dereffed.json +43 -0
  45. package/dist/components/component-teaser/component-teaser.schema.json +40 -0
  46. package/dist/components/cta/cta.css +100 -0
  47. package/dist/components/cta/cta.schema.dereffed.json +158 -0
  48. package/dist/components/cta/cta.schema.json +127 -0
  49. package/dist/components/cta/index.d.ts +4 -0
  50. package/dist/components/cta/index.js +40 -0
  51. package/dist/components/faq/faq.css +17 -0
  52. package/dist/components/faq/faq.schema.dereffed.json +48 -0
  53. package/dist/components/faq/faq.schema.json +36 -0
  54. package/dist/components/faq/index.d.ts +4 -0
  55. package/dist/components/faq/index.js +9 -0
  56. package/dist/components/feature/index.d.ts +49 -0
  57. package/dist/components/feature/index.js +23 -0
  58. package/dist/components/features/features.css +115 -0
  59. package/dist/components/features/features.schema.dereffed.json +121 -0
  60. package/dist/components/features/features.schema.json +93 -0
  61. package/dist/components/features/index.d.ts +4 -0
  62. package/dist/components/features/index.js +32 -0
  63. package/dist/components/footer/footer.css +53 -0
  64. package/dist/components/footer/footer.schema.dereffed.json +178 -0
  65. package/dist/components/footer/footer.schema.json +47 -0
  66. package/dist/components/footer/index.d.ts +22 -0
  67. package/dist/components/footer/index.js +11 -0
  68. package/dist/components/gallery/gallery.css +50 -0
  69. package/dist/components/gallery/gallery.schema.dereffed.json +84 -0
  70. package/dist/components/gallery/gallery.schema.json +62 -0
  71. package/dist/components/gallery/index.d.ts +4 -0
  72. package/dist/components/gallery/index.js +35 -0
  73. package/dist/components/header/header.css +78 -0
  74. package/dist/components/header/header.schema.dereffed.json +188 -0
  75. package/dist/components/header/header.schema.json +25 -0
  76. package/dist/components/header/index.d.ts +26 -0
  77. package/dist/components/header/index.js +16 -0
  78. package/dist/components/headline/headline.css +78 -0
  79. package/dist/components/headline/headline.schema.dereffed.json +86 -0
  80. package/dist/components/headline/headline.schema.json +60 -0
  81. package/dist/components/headline/index.d.ts +11 -0
  82. package/dist/components/headline/index.js +18 -0
  83. package/dist/components/hero/hero.css +95 -0
  84. package/dist/components/hero/hero.schema.dereffed.json +166 -0
  85. package/dist/components/hero/hero.schema.json +79 -0
  86. package/dist/components/hero/index.d.ts +4 -0
  87. package/dist/components/hero/index.js +55 -0
  88. package/dist/components/image/image.css +12 -0
  89. package/dist/components/image/image.schema.dereffed.json +105 -0
  90. package/dist/components/image/image.schema.json +95 -0
  91. package/dist/components/image/index.d.ts +87 -0
  92. package/dist/components/image/index.js +11 -0
  93. package/dist/components/image-story/image-story.css +26 -0
  94. package/dist/components/image-story/image-story.schema.dereffed.json +165 -0
  95. package/dist/components/image-story/image-story.schema.json +81 -0
  96. package/dist/components/image-story/index.d.ts +4 -0
  97. package/dist/components/image-story/index.js +39 -0
  98. package/dist/components/image-text/image-text.css +4 -0
  99. package/dist/components/image-text/image-text.schema.dereffed.json +68 -0
  100. package/dist/components/image-text/image-text.schema.json +46 -0
  101. package/dist/components/image-text/index.d.ts +5 -0
  102. package/dist/components/image-text/index.js +20 -0
  103. package/dist/components/logos/index.d.ts +4 -0
  104. package/dist/components/logos/index.js +12 -0
  105. package/dist/components/logos/logos.css +91 -0
  106. package/dist/components/logos/logos.schema.dereffed.json +131 -0
  107. package/dist/components/logos/logos.schema.json +106 -0
  108. package/dist/components/mosaic/index.d.ts +4 -0
  109. package/dist/components/mosaic/index.js +33 -0
  110. package/dist/components/mosaic/mosaic.css +35 -0
  111. package/dist/components/mosaic/mosaic.schema.dereffed.json +122 -0
  112. package/dist/components/mosaic/mosaic.schema.json +86 -0
  113. package/dist/components/nav-main/index.d.ts +26 -0
  114. package/dist/components/nav-main/index.js +17 -0
  115. package/dist/components/nav-main/js/NavToggle.client.d.ts +16 -0
  116. package/dist/components/nav-main/js/NavToggle.client.js +57 -0
  117. package/dist/components/nav-main/js/body.client.d.ts +5 -0
  118. package/dist/components/nav-main/js/body.client.js +41 -0
  119. package/dist/components/nav-main/js/navMainEvents.client.d.ts +5 -0
  120. package/dist/components/nav-main/js/navMainEvents.client.js +13 -0
  121. package/dist/components/nav-main/nav-main.css +170 -0
  122. package/dist/components/nav-main/nav-main.schema.dereffed.json +182 -0
  123. package/dist/components/nav-main/nav-main.schema.json +53 -0
  124. package/dist/components/nav-main/nav-toggle.css +85 -0
  125. package/dist/components/page/page.schema.dereffed.json +1945 -0
  126. package/dist/components/page/page.schema.json +58 -0
  127. package/dist/components/page-intro/index.d.ts +17 -0
  128. package/dist/components/page-intro/index.js +18 -0
  129. package/dist/components/page-intro/page-intro.css +8 -0
  130. package/dist/components/page-intro/page-intro.schema.dereffed.json +30 -0
  131. package/dist/components/page-intro/page-intro.schema.json +26 -0
  132. package/dist/components/page-wrapper/index.d.ts +2 -0
  133. package/dist/components/page-wrapper/index.js +28 -0
  134. package/dist/components/page-wrapper/tokens.css +1556 -0
  135. package/dist/components/picture/picture.schema.json +88 -0
  136. package/dist/components/providers/index.d.ts +6 -0
  137. package/dist/components/providers/index.js +38 -0
  138. package/dist/components/raw-page-wrapper/index.d.ts +3 -0
  139. package/dist/components/raw-page-wrapper/index.js +492 -0
  140. package/dist/components/section/index.d.ts +147 -0
  141. package/dist/components/section/index.js +48 -0
  142. package/dist/components/section/js/Section.client.d.ts +2 -0
  143. package/dist/components/section/js/Section.client.js +26 -0
  144. package/dist/components/section/js/spotlight.client.d.ts +2 -0
  145. package/dist/components/section/js/spotlight.client.js +14 -0
  146. package/dist/components/section/section.css +110 -0
  147. package/dist/components/section/section.schema.dereffed.json +1875 -0
  148. package/dist/components/section/section.schema.json +222 -0
  149. package/dist/components/slider/index.d.ts +4 -0
  150. package/dist/components/slider/index.js +7 -0
  151. package/dist/components/slider/slider.css +24 -0
  152. package/dist/components/slider/slider.schema.dereffed.json +54 -0
  153. package/dist/components/slider/slider.schema.json +30 -0
  154. package/dist/components/split/index.d.ts +4 -0
  155. package/dist/components/split/index.js +7 -0
  156. package/dist/components/split/split.css +24 -0
  157. package/dist/components/split/split.schema.dereffed.json +20 -0
  158. package/dist/components/split/split.schema.json +13 -0
  159. package/dist/components/stats/index.d.ts +4 -0
  160. package/dist/components/stats/index.js +11 -0
  161. package/dist/components/stats/stats.css +49 -0
  162. package/dist/components/stats/stats.schema.dereffed.json +71 -0
  163. package/dist/components/stats/stats.schema.json +49 -0
  164. package/dist/components/teaser-card/index.d.ts +6 -0
  165. package/dist/components/teaser-card/index.js +25 -0
  166. package/dist/components/teaser-card/teaser-card.css +98 -0
  167. package/dist/components/teaser-card/teaser-card.schema.dereffed.json +69 -0
  168. package/dist/components/teaser-card/teaser-card.schema.json +58 -0
  169. package/dist/components/teaser-component/component-teaser.css +33 -0
  170. package/dist/components/teaser-component/index.d.ts +41 -0
  171. package/dist/components/teaser-component/index.js +18 -0
  172. package/dist/components/testimonials/index.d.ts +9 -0
  173. package/dist/components/testimonials/index.js +22 -0
  174. package/dist/components/testimonials/testimonials.css +63 -0
  175. package/dist/components/testimonials/testimonials.schema.dereffed.json +93 -0
  176. package/dist/components/testimonials/testimonials.schema.json +71 -0
  177. package/dist/components/text/index.d.ts +4 -0
  178. package/dist/components/text/index.js +13 -0
  179. package/dist/components/text/text.css +15 -0
  180. package/dist/components/text/text.schema.dereffed.json +50 -0
  181. package/dist/components/text/text.schema.json +39 -0
  182. package/dist/components/video-curtain/index.d.ts +4 -0
  183. package/dist/components/video-curtain/index.js +47 -0
  184. package/dist/components/video-curtain/video-curtain.css +51 -0
  185. package/dist/components/video-curtain/video-curtain.schema.dereffed.json +123 -0
  186. package/dist/components/video-curtain/video-curtain.schema.json +67 -0
  187. package/dist/global-35f78d6d.js +1 -0
  188. package/dist/global.client.d.ts +2 -0
  189. package/dist/global.client.js +8 -0
  190. package/dist/global.css +564 -0
  191. package/dist/static/.gitkeep +0 -0
  192. package/dist/static/favicon/.gitkeep +0 -0
  193. package/dist/static/favicon/android-chrome-192x192.png +0 -0
  194. package/dist/static/favicon/android-chrome-512x512.png +0 -0
  195. package/dist/static/favicon/apple-touch-icon.png +0 -0
  196. package/dist/static/favicon/browserconfig.xml +9 -0
  197. package/dist/static/favicon/favicon-16x16.png +0 -0
  198. package/dist/static/favicon/favicon-192-192.png +20 -0
  199. package/dist/static/favicon/favicon-32x32.png +0 -0
  200. package/dist/static/favicon/favicon.ico +0 -0
  201. package/dist/static/favicon/mstile-144x144.png +0 -0
  202. package/dist/static/favicon/mstile-150x150.png +0 -0
  203. package/dist/static/favicon/mstile-310x150.png +0 -0
  204. package/dist/static/favicon/mstile-310x310.png +0 -0
  205. package/dist/static/favicon/mstile-70x70.png +0 -0
  206. package/dist/static/favicon/safari-pinned-tab.svg +30 -0
  207. package/dist/static/favicon/site.webmanifest +19 -0
  208. package/dist/static/fonts/dsa/Fredoka-Bold.woff +0 -0
  209. package/dist/static/fonts/dsa/Fredoka-Bold.woff2 +0 -0
  210. package/dist/static/fonts/dsa/Fredoka-Light.woff +0 -0
  211. package/dist/static/fonts/dsa/Fredoka-Light.woff2 +0 -0
  212. package/dist/static/fonts/dsa/Fredoka-Medium.woff +0 -0
  213. package/dist/static/fonts/dsa/Fredoka-Medium.woff2 +0 -0
  214. package/dist/static/fonts/dsa/Fredoka-Regular.woff +0 -0
  215. package/dist/static/fonts/dsa/Fredoka-Regular.woff2 +0 -0
  216. package/dist/static/fonts/dsa/Fredoka-SemiBold.woff +0 -0
  217. package/dist/static/fonts/dsa/Fredoka-SemiBold.woff2 +0 -0
  218. package/dist/static/fonts/dsa/Mulish-300.woff +0 -0
  219. package/dist/static/fonts/dsa/Mulish-300.woff2 +0 -0
  220. package/dist/static/fonts/dsa/Mulish-600.woff +0 -0
  221. package/dist/static/fonts/dsa/Mulish-600.woff2 +0 -0
  222. package/dist/static/fonts/dsa/Mulish-800.woff +0 -0
  223. package/dist/static/fonts/dsa/Mulish-800.woff2 +0 -0
  224. package/dist/static/fonts/dsa/Mulish-Regular.woff +0 -0
  225. package/dist/static/fonts/dsa/Mulish-Regular.woff2 +0 -0
  226. package/dist/static/fonts/google/google-sans-18pt.woff2 +0 -0
  227. package/dist/static/fonts/google/google-sans-display.woff2 +0 -0
  228. package/dist/static/fonts/google/google-sans-text-medium.woff2 +0 -0
  229. package/dist/static/fonts/google/google-sans-text.woff2 +0 -0
  230. package/dist/static/fonts/lughausen/novelpro-regular.woff +0 -0
  231. package/dist/static/fonts/lughausen/novelsanspro-bold.woff +0 -0
  232. package/dist/static/fonts/lughausen/novelsanspro-regular.woff +0 -0
  233. package/dist/static/fonts/telekom/teleneo-bold-woff-data.woff +0 -0
  234. package/dist/static/fonts/telekom/teleneo-extrabold-woff-data.woff +0 -0
  235. package/dist/static/fonts/telekom/teleneo-medium-woff-data.woff +0 -0
  236. package/dist/static/fonts/telekom/teleneo-thin-woff-data.woff +0 -0
  237. package/dist/static/img/02.jpg +0 -0
  238. package/dist/static/img/angled-image.png +0 -0
  239. package/dist/static/img/bg_dot-carpet-blue.svg +346 -0
  240. package/dist/static/img/close-up-young-business-team-working.png +0 -0
  241. package/dist/static/img/colleagues-work-office-using-computers-looking-aside.png +0 -0
  242. package/dist/static/img/colored-square.png +0 -0
  243. package/dist/static/img/contact-person.png +0 -0
  244. package/dist/static/img/full-shot-different-people-working-together.png +0 -0
  245. package/dist/static/img/grid-bg.svg +19 -0
  246. package/dist/static/img/logos/castaway.svg +111 -0
  247. package/dist/static/img/logos/logoipsum-212.svg +12 -0
  248. package/dist/static/img/logos/logoipsum-217.svg +4 -0
  249. package/dist/static/img/logos/logoipsum-239.svg +16 -0
  250. package/dist/static/img/logos/logoipsum-244.svg +19 -0
  251. package/dist/static/img/logos/logoipsum-250.svg +21 -0
  252. package/dist/static/img/logos/logoipsum-286.svg +20 -0
  253. package/dist/static/img/low-angle-tall-building-with-many-windows_23-2148230392.png +0 -0
  254. package/dist/static/img/mosaic-1.png +0 -0
  255. package/dist/static/img/mosaic-2.png +0 -0
  256. package/dist/static/img/mosaic-2_1.svg +34 -0
  257. package/dist/static/img/mosaic-2_2.svg +25 -0
  258. package/dist/static/img/mosaic-2_3.svg +32 -0
  259. package/dist/static/img/mosaic-3.png +0 -0
  260. package/dist/static/img/office-divider-image.png +0 -0
  261. package/dist/static/img/offset-image.png +0 -0
  262. package/dist/static/img/people/author-alex.png +0 -0
  263. package/dist/static/img/people/author-emily.png +0 -0
  264. package/dist/static/img/people/author-john.png +0 -0
  265. package/dist/static/img/people-brainstorming-work-meeting.png +0 -0
  266. package/dist/static/img/responsive_image-1680.png +0 -0
  267. package/dist/static/img/responsive_image-420.png +0 -0
  268. package/dist/static/img/responsive_image-980.png +0 -0
  269. package/dist/static/img/showcases/audio_bg.svg +10 -0
  270. package/dist/static/img/showcases/comp_audio01.jpg +0 -0
  271. package/dist/static/img/showcases/comp_audio04.png +0 -0
  272. package/dist/static/img/showcases/comp_eco01.jpg +0 -0
  273. package/dist/static/img/showcases/comp_eco01.png +0 -0
  274. package/dist/static/img/showcases/comp_eco02.png +0 -0
  275. package/dist/static/img/showcases/comp_eco03.png +0 -0
  276. package/dist/static/img/showcases/comp_eco04.jpg +0 -0
  277. package/dist/static/img/showcases/comp_eco04.png +0 -0
  278. package/dist/static/img/showcases/comp_tfe01.jpg +0 -0
  279. package/dist/static/img/showcases/eco_bg.png +0 -0
  280. package/dist/static/img/showcases/preview_audio.png +0 -0
  281. package/dist/static/img/showcases/preview_eco.png +0 -0
  282. package/dist/static/img/showcases/preview_tfe.png +0 -0
  283. package/dist/static/img/showcases/tfe_bg.svg +48 -0
  284. package/dist/static/img/top-view-desk-with-keyboard-drawing-pad.png +0 -0
  285. package/dist/static/img/videos/handshake-bw.mp4 +0 -0
  286. package/dist/static/img/videos/video-720.mp4 +0 -0
  287. package/dist/static/img/videos/video-agency.mp4 +0 -0
  288. package/dist/static/img/view-modern-office.jpg +0 -0
  289. package/dist/static/logo-google.svg +1 -0
  290. package/dist/static/logo-lughausen.svg +27 -0
  291. package/dist/static/logo-telekom.svg +8 -0
  292. package/dist/static/logo.svg +26 -0
  293. package/dist/static/tokens-google.css +1553 -0
  294. package/dist/static/tokens-lughausen.css +1549 -0
  295. package/dist/static/tokens-telekom.css +1549 -0
  296. package/dist/static/tokens.css +1554 -0
  297. package/dist/tokens/IconSprite.js +467 -0
  298. package/dist/tokens/icon-sprite.html +37 -0
  299. package/dist/tokens/tokens.css +1554 -0
  300. package/dist/tokens/tokens.js +652 -0
  301. package/package.json +138 -0
@@ -0,0 +1,86 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "http://schema.mydesignsystem.com/headline.schema.json",
4
+ "title": "Headline",
5
+ "description": "Component used for headlines",
6
+ "type": "object",
7
+ "properties": {
8
+ "text": {
9
+ "type": "string",
10
+ "title": "Text",
11
+ "description": "Text content of headline",
12
+ "format": "markdown"
13
+ },
14
+ "sub": {
15
+ "type": "string",
16
+ "title": "Sub",
17
+ "description": "Subheadline content",
18
+ "format": "markdown"
19
+ },
20
+ "switchOrder": {
21
+ "type": "boolean",
22
+ "title": "Switch order?",
23
+ "description": "Switch order of headline and subheadline",
24
+ "default": false
25
+ },
26
+ "align": {
27
+ "type": "string",
28
+ "title": "Section alignment",
29
+ "enum": [
30
+ "left",
31
+ "center",
32
+ "right"
33
+ ]
34
+ },
35
+ "level": {
36
+ "type": "string",
37
+ "title": "Level",
38
+ "description": "Level of headline to use",
39
+ "enum": [
40
+ "h1",
41
+ "h2",
42
+ "h3",
43
+ "h4",
44
+ "p"
45
+ ],
46
+ "default": "h2"
47
+ },
48
+ "style": {
49
+ "type": "string",
50
+ "title": "Style",
51
+ "description": "Style of headline to show",
52
+ "enum": [
53
+ "h1",
54
+ "h2",
55
+ "h3",
56
+ "h4",
57
+ "p"
58
+ ],
59
+ "default": "h2"
60
+ },
61
+ "spaceAfter": {
62
+ "type": "string",
63
+ "title": "Space after?",
64
+ "description": "Whether to display space after headline",
65
+ "enum": [
66
+ "minimum",
67
+ "small",
68
+ "large"
69
+ ],
70
+ "default": "small"
71
+ },
72
+ "className": {
73
+ "type": "string",
74
+ "title": "Class Name",
75
+ "description": "Set a custom class name"
76
+ },
77
+ "type": {
78
+ "const": "headline"
79
+ }
80
+ },
81
+ "additionalProperties": false,
82
+ "required": [
83
+ "level",
84
+ "text"
85
+ ]
86
+ }
@@ -0,0 +1,60 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "http://schema.mydesignsystem.com/headline.schema.json",
4
+ "title": "Headline",
5
+ "description": "Component used for headlines",
6
+ "type": "object",
7
+ "properties": {
8
+ "text": {
9
+ "type": "string",
10
+ "title": "Text",
11
+ "description": "Text content of headline",
12
+ "format": "markdown"
13
+ },
14
+ "sub": {
15
+ "type": "string",
16
+ "title": "Sub",
17
+ "description": "Subheadline content",
18
+ "format": "markdown"
19
+ },
20
+ "switchOrder": {
21
+ "type": "boolean",
22
+ "title": "Switch order?",
23
+ "description": "Switch order of headline and subheadline",
24
+ "default": false
25
+ },
26
+ "align": {
27
+ "type": "string",
28
+ "title": "Section alignment",
29
+ "enum": ["left", "center", "right"]
30
+ },
31
+ "level": {
32
+ "type": "string",
33
+ "title": "Level",
34
+ "description": "Level of headline to use",
35
+ "enum": ["h1", "h2", "h3", "h4", "p"],
36
+ "default": "h2"
37
+ },
38
+ "style": {
39
+ "type": "string",
40
+ "title": "Style",
41
+ "description": "Style of headline to show",
42
+ "enum": ["h1", "h2", "h3", "h4", "p"],
43
+ "default": "h2"
44
+ },
45
+ "spaceAfter": {
46
+ "type": "string",
47
+ "title": "Space after?",
48
+ "description": "Whether to display space after headline",
49
+ "enum": ["minimum", "small", "large"],
50
+ "default": "small"
51
+ },
52
+ "className": {
53
+ "type": "string",
54
+ "title": "Class Name",
55
+ "description": "Set a custom class name"
56
+ }
57
+ },
58
+ "additionalProperties": false,
59
+ "required": ["level", "text"]
60
+ }
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ import { HTMLAttributes, FC, PropsWithChildren } from "react";
3
+ import { defaultRenderFn } from "@kickstartds/core/lib/core";
4
+ import { HeadlineProps } from "../../HeadlineProps-d413a2cc.js";
5
+ interface RenderFunctions {
6
+ renderContent?: typeof defaultRenderFn;
7
+ renderSubheadline?: typeof defaultRenderFn;
8
+ }
9
+ declare const Headline: import("react").ForwardRefExoticComponent<HeadlineProps & RenderFunctions & HTMLAttributes<HTMLElement> & import("react").RefAttributes<HTMLElement>>;
10
+ declare const HeadlineProvider: FC<PropsWithChildren>;
11
+ export { Headline, HeadlineProvider };
@@ -0,0 +1,18 @@
1
+ import "./headline.css";
2
+ import { jsxs, jsx } from 'react/jsx-runtime';
3
+ import classnames from 'classnames';
4
+ import { forwardRef } from 'react';
5
+ import ReactMarkdown from 'react-markdown';
6
+ import { HeadlineContext } from '@kickstartds/base/lib/headline';
7
+
8
+ const markdownRenderFn = (text) => (jsx(ReactMarkdown, { children: text, components: { p: "span" } }));
9
+ const Headline = forwardRef(({ content, text = content, sub, align = "left", switchOrder = false, level = "h2",
10
+ // @ts-expect-error: Some kDS Components set the `styleAs`Props (e.g. https://github.com/kickstartDS/content/blob/next/source/storytelling/StorytellingComponent.tsx#L146)
11
+ styleAs, style = styleAs || "h2", spaceAfter = "small", className, renderContent = markdownRenderFn, renderSubheadline = markdownRenderFn, ...props }, ref) => {
12
+ const TagName = level;
13
+ return text || sub ? (jsxs("header", { className: classnames("c-headline", `c-headline--${style}`, style !== "none" && style !== level && `c-headline--${style}`, `c-headline--align-${align}`, spaceAfter && `c-headline--space-after-${spaceAfter}`, className), ref: ref, ...props, children: [sub && switchOrder && (jsx("p", { className: "c-headline__subheadline", children: renderSubheadline(sub) })), jsx(TagName, { className: classnames("c-headline__headline"), children: renderContent(text) }), sub && !switchOrder && (jsx("p", { className: "c-headline__subheadline", children: renderSubheadline(sub) }))] })) : null;
14
+ });
15
+ Headline.displayName = "Headline";
16
+ const HeadlineProvider = (props) => (jsx(HeadlineContext.Provider, { ...props, value: Headline }));
17
+
18
+ export { Headline, HeadlineProvider };
@@ -0,0 +1,95 @@
1
+ :root .c-visual.c-hero {
2
+ --c-visual_overlay--background-size: 100%;
3
+ --c-visual--text-color-neutral: var(--ks-color-fg);
4
+ --c-visual_overlay--background: transparent;
5
+ }
6
+ :root .c-visual.c-hero .c-visual__box {
7
+ --c-visual_box--background: var(--ks-color-bg-alpha-2);
8
+ --c-visual_box--color: var(--ks-color-fg);
9
+ --c-visual_subheadline--color: var(--ks-text-color-primary);
10
+ --c-visual_headline--color: var(--ks-color-fg);
11
+ --c-visual_box--border-radius: var(--ks-border-radius-surface);
12
+ --c-visual_box--padding: var(--ks-spacing-inset-squish-xl);
13
+ }
14
+ :root .c-visual.c-hero--highlight-text.c-visual .c-visual__box {
15
+ --c-visual_text--font: var(--ks-font-copy-l);
16
+ }
17
+ :root .c-visual.c-hero--color-neutral.c-visual .c-visual__box {
18
+ --c-visual_text--color: var(--c-visual--text-color-neutral);
19
+ --c-visual_subheadline--color: var(--c-visual--text-color-neutral);
20
+ }
21
+ @container visual (min-width: 640px) {
22
+ :root .c-visual.c-hero {
23
+ --c-visual_overlay--background: radial-gradient(
24
+ 50% 125% at 100% 0%,
25
+ var(--ks-color-primary-alpha-5) 0%,
26
+ var(--ks-color-bg-alpha-5) 100%
27
+ );
28
+ }
29
+ :root .c-visual.c-hero.c-hero--content-below {
30
+ --c-visual_overlay--background: linear-gradient(0deg, var(--ks-background-color-default) 15%, transparent 50%);
31
+ }
32
+ :root .c-visual.c-hero .c-visual__box {
33
+ --c-visual_box--max-width: 50rem;
34
+ }
35
+ }
36
+
37
+ .l-container--visual {
38
+ /* stylelint-disable-next-line property-no-unknown */
39
+ container-name: visual;
40
+ }
41
+
42
+ .c-visual.c-hero .c-headline .c-headline__subheadline {
43
+ color: var(--c-visual_subheadline--color);
44
+ }
45
+ .c-visual.c-hero .c-button-group {
46
+ --c-button-group--vertical-gutter: var(--ks-spacing-stack-m);
47
+ --c-button-group--horizontal-gutter: var(--ks-spacing-inline-m);
48
+ }
49
+ .c-visual.c-hero.c-visual--full {
50
+ height: 100vh;
51
+ }
52
+ .c-visual.c-hero .c-visual__box {
53
+ max-width: var(--c-visual_box--max-width);
54
+ padding: var(--c-visual_box--padding);
55
+ }
56
+ .c-visual.c-hero .c-visual__content--indent {
57
+ max-width: var(--l-section--content-width-wide);
58
+ }
59
+ @container visual (min-width: 640px) {
60
+ .c-visual.c-hero.c-hero--content-below .c-visual__media {
61
+ position: relative;
62
+ }
63
+ .c-visual.c-hero.c-hero--content-below .c-visual__media .c-visual__image {
64
+ height: var(--c-visual--min-height);
65
+ }
66
+ .c-visual.c-hero.c-hero--content-below .c-visual__content {
67
+ padding: 0 var(--l-section--content-padding);
68
+ margin-top: -10%;
69
+ position: relative;
70
+ }
71
+ .c-visual.c-hero.c-hero--content-below .c-visual__content .c-visual__box {
72
+ --c-visual_box--max-width: var(--l-section--content-width-default);
73
+ }
74
+ @container visual (min-width: 640px) {
75
+ .c-visual.c-hero.c-hero--content-below.c-visual--no-crop .c-visual__media .c-visual__image {
76
+ height: fit-content;
77
+ }
78
+ .c-visual.c-hero.c-hero--content-below.c-visual--no-crop .c-visual__media .c-visual__image img {
79
+ object-fit: contain;
80
+ height: auto;
81
+ }
82
+ }
83
+ .c-visual.c-hero.c-hero--content-below.c-visual--full {
84
+ height: fit-content;
85
+ }
86
+ @container visual (min-width: 640px) {
87
+ .c-visual.c-hero.c-hero--content-below.c-visual--full .c-visual__media .c-visual__image {
88
+ height: fit-content;
89
+ }
90
+ .c-visual.c-hero.c-hero--content-below.c-visual--full .c-visual__media .c-visual__image img {
91
+ object-fit: cover;
92
+ height: 100vh;
93
+ }
94
+ }
95
+ }
@@ -0,0 +1,166 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "http://schema.mydesignsystem.com/hero.schema.json",
4
+ "title": "Hero",
5
+ "type": "object",
6
+ "properties": {
7
+ "headline": {
8
+ "title": "Headline",
9
+ "description": "Headline for the visual",
10
+ "type": "string"
11
+ },
12
+ "sub": {
13
+ "title": "Module Subheadline",
14
+ "description": "Subheadline below the module headline",
15
+ "type": "string"
16
+ },
17
+ "text": {
18
+ "title": "Module Text",
19
+ "description": "Info text for the module element",
20
+ "type": "string"
21
+ },
22
+ "highlightText": {
23
+ "type": "boolean",
24
+ "title": "Highlight Text",
25
+ "description": "Visually highlight the text",
26
+ "default": false
27
+ },
28
+ "colorNeutral": {
29
+ "title": "Color Neutral",
30
+ "description": "Make the text and buttons color neutral",
31
+ "default": false,
32
+ "type": "boolean"
33
+ },
34
+ "height": {
35
+ "title": "Height",
36
+ "type": "string",
37
+ "enum": [
38
+ "small",
39
+ "default",
40
+ "fullImage",
41
+ "fullScreen"
42
+ ],
43
+ "default": "default"
44
+ },
45
+ "textbox": {
46
+ "type": "boolean",
47
+ "title": "Textbox",
48
+ "default": true,
49
+ "description": "Toggle wether you want your text to be displayed within in box"
50
+ },
51
+ "buttons": {
52
+ "type": "array",
53
+ "items": {
54
+ "title": "Button",
55
+ "type": "object",
56
+ "properties": {
57
+ "label": {
58
+ "type": "string",
59
+ "title": "Label",
60
+ "description": "Text content to display inside the button",
61
+ "examples": [
62
+ "Book a meeting"
63
+ ]
64
+ },
65
+ "icon": {
66
+ "type": "string",
67
+ "title": "Icon",
68
+ "description": "Choose an icon"
69
+ },
70
+ "target": {
71
+ "type": "string",
72
+ "title": "Target",
73
+ "description": "Target that should be linked, makes the button behave like a link semantically",
74
+ "format": "uri"
75
+ }
76
+ },
77
+ "additionalProperties": false
78
+ }
79
+ },
80
+ "overlay": {
81
+ "title": "Grid layer",
82
+ "description": "Enable grid layer",
83
+ "type": "boolean",
84
+ "default": false
85
+ },
86
+ "image": {
87
+ "title": "Background image",
88
+ "description": "Sources of background images for different screen sizes",
89
+ "type": "object",
90
+ "required": [
91
+ "srcMobile"
92
+ ],
93
+ "properties": {
94
+ "srcMobile": {
95
+ "title": "Mobile image source",
96
+ "description": "Background image source for small screens",
97
+ "type": "string",
98
+ "format": "image",
99
+ "examples": [
100
+ "https://picsum.photos/seed/kdsvisual/640/270"
101
+ ]
102
+ },
103
+ "srcTablet": {
104
+ "title": "Tablet image source",
105
+ "description": "Background image source for medium screens",
106
+ "type": "string",
107
+ "format": "image",
108
+ "examples": [
109
+ "https://picsum.photos/seed/kdsvisual/1280/540"
110
+ ]
111
+ },
112
+ "srcDesktop": {
113
+ "title": "Desktop image source",
114
+ "description": "Background image source for large screens",
115
+ "type": "string",
116
+ "format": "image",
117
+ "examples": [
118
+ "https://picsum.photos/seed/kdsvisual/1920/810"
119
+ ]
120
+ },
121
+ "src": {
122
+ "title": "Optional source",
123
+ "description": "Override for img tag of picture element, if needed",
124
+ "type": "string",
125
+ "format": "image",
126
+ "examples": [
127
+ "https://picsum.photos/seed/kdsvisual/640/270"
128
+ ]
129
+ },
130
+ "indent": {
131
+ "title": "Image indent",
132
+ "description": "Choose to indent the image horizontally on small screens",
133
+ "type": "string",
134
+ "enum": [
135
+ "none",
136
+ "left",
137
+ "right"
138
+ ],
139
+ "default": "none"
140
+ },
141
+ "alt": {
142
+ "title": "Alt text",
143
+ "description": "Alt text to display for picture",
144
+ "type": "string"
145
+ }
146
+ },
147
+ "additionalProperties": false
148
+ },
149
+ "textPosition": {
150
+ "title": "Module aligment",
151
+ "description": "Choose the alginment of the module content",
152
+ "enum": [
153
+ "center",
154
+ "below",
155
+ "left",
156
+ "right"
157
+ ],
158
+ "type": "string",
159
+ "default": "bottom"
160
+ },
161
+ "type": {
162
+ "const": "hero"
163
+ }
164
+ },
165
+ "additionalProperties": false
166
+ }
@@ -0,0 +1,79 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "http://schema.mydesignsystem.com/hero.schema.json",
4
+ "title": "Hero",
5
+ "type": "object",
6
+ "properties": {
7
+ "headline": {
8
+ "title": "Headline",
9
+ "description": "Headline for the visual",
10
+ "type": "string"
11
+ },
12
+ "sub": {
13
+ "title": "Module Subheadline",
14
+ "description": "Subheadline below the module headline",
15
+ "type": "string"
16
+ },
17
+ "text": {
18
+ "title": "Module Text",
19
+ "description": "Info text for the module element",
20
+ "type": "string"
21
+ },
22
+ "highlightText": {
23
+ "type": "boolean",
24
+ "title": "Highlight Text",
25
+ "description": "Visually highlight the text",
26
+ "default": false
27
+ },
28
+ "colorNeutral": {
29
+ "title": "Color Neutral",
30
+ "description": "Make the text and buttons color neutral",
31
+ "default": false,
32
+ "type": "boolean"
33
+ },
34
+ "height": {
35
+ "title": "Height",
36
+ "type": "string",
37
+ "enum": ["small", "default", "fullImage", "fullScreen"],
38
+ "default": "default"
39
+ },
40
+ "textbox": {
41
+ "type": "boolean",
42
+ "title": "Textbox",
43
+ "default": true,
44
+ "description": "Toggle wether you want your text to be displayed within in box"
45
+ },
46
+ "buttons": {
47
+ "type": "array",
48
+ "items": {
49
+ "title": "Button",
50
+ "type": "object",
51
+ "properties": {
52
+ "label": {
53
+ "$ref": "http://schema.mydesignsystem.com/button.schema.json#/properties/label"
54
+ },
55
+ "icon": {
56
+ "$ref": "http://schema.mydesignsystem.com/button.schema.json#/properties/icon"
57
+ },
58
+ "target": {
59
+ "$ref": "http://schema.mydesignsystem.com/button.schema.json#/properties/target"
60
+ }
61
+ }
62
+ }
63
+ },
64
+ "overlay": {
65
+ "$ref": "http://schema.kickstartds.com/content/visual.schema.json#/properties/overlay"
66
+ },
67
+ "image": {
68
+ "$ref": "http://schema.kickstartds.com/content/visual.schema.json#/properties/media/properties/image"
69
+ },
70
+ "textPosition": {
71
+ "title": "Module aligment",
72
+ "description": "Choose the alginment of the module content",
73
+ "enum": ["center", "below", "left", "right"],
74
+ "type": "string",
75
+ "default": "bottom"
76
+ }
77
+ },
78
+ "additionalProperties": false
79
+ }
@@ -0,0 +1,4 @@
1
+ import { FC } from "react";
2
+ import { HeroProps } from "../../HeroProps-cf82a16d.js";
3
+ declare const Hero: FC<HeroProps>;
4
+ export { Hero };
@@ -0,0 +1,55 @@
1
+ import "./hero.css";
2
+ import { jsx } from 'react/jsx-runtime';
3
+ import { VisualContextDefault } from '@kickstartds/content/lib/visual';
4
+ import classnames from 'classnames';
5
+ import { Container } from '@kickstartds/core/lib/container';
6
+ import { ButtonContext } from '@kickstartds/base/lib/button';
7
+ import { useButtonGroup } from '../button-group/index.js';
8
+ import 'react';
9
+ import '@kickstartds/base/lib/button-group';
10
+
11
+ const Hero = ({ headline, sub, height, text, highlightText, textPosition = "center", colorNeutral, image, overlay, textbox, buttons = [], }) => {
12
+ const ButtonGroup = useButtonGroup();
13
+ return (jsx(ButtonContext.Provider
14
+ // @ts-expect-error
15
+ , {
16
+ // @ts-expect-error
17
+ value: ButtonGroup, children: jsx(Container, { name: "visual", children: jsx(VisualContextDefault, { className: classnames(`c-hero c-hero--content-${textPosition}`, highlightText ? `c-hero--highlight-text` : "", colorNeutral ? `c-hero--color-neutral` : ""), height: height, overlay: overlay, box: {
18
+ background: textbox === true ? "solid" : "transparent",
19
+ enabled: true,
20
+ vertical: textPosition === "below" ? "bottom" : "center",
21
+ horizontal: textPosition === "left"
22
+ ? "left"
23
+ : textPosition === "right"
24
+ ? "right"
25
+ : "center",
26
+ link: {
27
+ // @ts-expect-error
28
+ buttons,
29
+ colorNeutral,
30
+ enabled: buttons.length > 0,
31
+ arrangement: textPosition === "below" || textPosition === "center"
32
+ ? "center"
33
+ : "left",
34
+ },
35
+ headline: {
36
+ align: textPosition === "below" || textPosition === "center"
37
+ ? "center"
38
+ : "left",
39
+ text: headline,
40
+ sub: sub,
41
+ level: "h3",
42
+ style: highlightText ? "h1" : undefined,
43
+ },
44
+ text: text,
45
+ }, media: {
46
+ mode: "image",
47
+ image: {
48
+ srcMobile: image.srcMobile,
49
+ srcTablet: image.srcTablet,
50
+ srcDesktop: image.srcDesktop,
51
+ },
52
+ } }) }) }));
53
+ };
54
+
55
+ export { Hero };
@@ -0,0 +1,12 @@
1
+ .c-image--square {
2
+ aspect-ratio: 1/1;
3
+ object-fit: cover;
4
+ }
5
+ .c-image--wide {
6
+ aspect-ratio: 4/3;
7
+ object-fit: cover;
8
+ }
9
+ .c-image--landscape {
10
+ aspect-ratio: 16/9;
11
+ object-fit: cover;
12
+ }