@kickstartds/ds-agency-premium 1.6.68--canary.1587.98fc9e3.0 → 1.6.68--canary.1593.79f68de.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/{BlogOverviewProps-9f207f1c.d.ts → BlogOverviewProps-7caa223c.d.ts} +1 -1
- package/dist/{BlogPostProps-6b3cff22.d.ts → BlogPostProps-7caa223c.d.ts} +1 -1
- package/dist/{HeroProps-f704d270.d.ts → HeroProps-aa4e6431.d.ts} +6 -1
- package/dist/{PageProps-aa29c554.d.ts → PageProps-7caa223c.d.ts} +1 -1
- package/dist/{SectionProps-a1b289ca.d.ts → SectionProps-7caa223c.d.ts} +10 -5
- package/dist/SliderProps-8a0dba0d.d.ts +1 -1
- package/dist/{VideoCurtainProps-6c625a69.d.ts → VideoCurtainProps-2b7b0265.d.ts} +1 -1
- package/dist/components/blog-overview/blog-overview.schema.dereffed.json +29 -4
- package/dist/components/blog-overview/index.d.ts +1 -1
- package/dist/components/blog-post/blog-post.schema.dereffed.json +29 -4
- package/dist/components/blog-post/index.d.ts +1 -1
- package/dist/components/header/header.css +42 -6
- package/dist/components/header/index.js +5 -5
- package/dist/components/headline/headline.css +2 -2
- package/dist/components/hero/hero.css +8 -4
- package/dist/components/hero/hero.schema.dereffed.json +6 -0
- package/dist/components/hero/hero.schema.json +6 -0
- package/dist/components/hero/index.d.ts +1 -1
- package/dist/components/hero/index.js +2 -2
- package/dist/components/image-story/index.d.ts +1 -1
- package/dist/components/index/index.d.ts +3 -3
- package/dist/components/nav-dropdown/nav-dropdown.css +6 -2
- package/dist/components/nav-flyout/index.js +6 -8
- package/dist/components/nav-flyout/nav-flyout.css +14 -10
- package/dist/components/nav-main/index.js +0 -2
- package/dist/components/page/index.d.ts +1 -1
- package/dist/components/page/page.schema.dereffed.json +29 -4
- package/dist/components/page-wrapper/tokens.css +9 -9
- package/dist/components/presets.json +37 -15
- package/dist/components/section/index.d.ts +1 -1
- package/dist/components/section/index.js +11 -3
- package/dist/components/section/section.css +29 -45
- package/dist/components/section/section.schema.dereffed.json +29 -4
- package/dist/components/section/section.schema.json +8 -7
- package/dist/components/slider/slider.schema.dereffed.json +6 -0
- package/dist/components/teaser-card/teaser-card.css +4 -5
- package/dist/components/video-curtain/index.d.ts +1 -1
- package/dist/components/video-curtain/index.js +8 -3
- package/dist/components/video-curtain/video-curtain.css +6 -3
- package/dist/components/video-curtain/video-curtain.schema.dereffed.json +3 -1
- package/dist/components/video-curtain/video-curtain.schema.json +1 -1
- package/dist/global.css +10 -16
- package/dist/static/img/about/cta.png +0 -0
- package/dist/tokens/themes.css +4 -4
- package/dist/tokens/tokens.css +9 -9
- package/dist/tokens/tokens.js +17 -17
- package/package.json +1 -1
- /package/dist/{ImageStoryProps-e853e1e7.d.ts → ImageStoryProps-03ff6d21.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-
|
|
6
|
+
import { SectionProps } from "./SectionProps-7caa223c.js";
|
|
7
7
|
import { BlogTeaserProps } from "./BlogTeaserProps-f5855e93.js";
|
|
8
8
|
import { CtaProps } from "./CtaProps-8a0dba0d.js";
|
|
9
9
|
import { SeoProps } from "./SeoProps-f2d6dcaa.js";
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import { BlogHeadProps } from "./BlogHeadProps-c04a5ed8.js";
|
|
7
7
|
import { BlogAsideProps } from "./BlogAsideProps-d9decb7c.js";
|
|
8
|
-
import { SectionProps } from "./SectionProps-
|
|
8
|
+
import { SectionProps } from "./SectionProps-7caa223c.js";
|
|
9
9
|
import { CtaProps } from "./CtaProps-8a0dba0d.js";
|
|
10
10
|
import { SeoProps } from "./SeoProps-f2d6dcaa.js";
|
|
11
11
|
/**
|
|
@@ -72,6 +72,10 @@ type AltText = string;
|
|
|
72
72
|
* Choose the alginment of the module content
|
|
73
73
|
*/
|
|
74
74
|
type ModuleAligment = "center" | "below" | "left" | "right" | "corner";
|
|
75
|
+
/**
|
|
76
|
+
* Inverted color scheme for the box
|
|
77
|
+
*/
|
|
78
|
+
type Inverted = boolean;
|
|
75
79
|
interface HeroProps {
|
|
76
80
|
headline?: Headline;
|
|
77
81
|
sub?: ModuleSubheadline;
|
|
@@ -84,6 +88,7 @@ interface HeroProps {
|
|
|
84
88
|
overlay?: GridLayer;
|
|
85
89
|
image?: BackgroundImage;
|
|
86
90
|
textPosition?: ModuleAligment;
|
|
91
|
+
inverted?: Inverted;
|
|
87
92
|
}
|
|
88
93
|
interface Button {
|
|
89
94
|
label?: Label;
|
|
@@ -101,4 +106,4 @@ interface BackgroundImage {
|
|
|
101
106
|
indent?: ImageIndent;
|
|
102
107
|
alt?: AltText;
|
|
103
108
|
}
|
|
104
|
-
export { Headline, ModuleSubheadline, ModuleText, HighlightText, ColorNeutral, Height, Textbox, Label, Icon, Target, GridLayer, MobileImageSource, TabletImageSource, DesktopImageSource, OptionalSource, ImageIndent, AltText, ModuleAligment, HeroProps, Button, BackgroundImage };
|
|
109
|
+
export { Headline, ModuleSubheadline, ModuleText, HighlightText, ColorNeutral, Height, Textbox, Label, Icon, Target, GridLayer, MobileImageSource, TabletImageSource, DesktopImageSource, OptionalSource, ImageIndent, AltText, ModuleAligment, Inverted, HeroProps, Button, BackgroundImage };
|
|
@@ -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-
|
|
6
|
+
import { SectionProps } from "./SectionProps-7caa223c.js";
|
|
7
7
|
import { SeoProps } from "./SeoProps-f2d6dcaa.js";
|
|
8
8
|
/**
|
|
9
9
|
* Collection of sections (with their contents) to render on the page
|
|
@@ -8,9 +8,9 @@ import { DividerProps } from "./DividerProps-2ef31901.js";
|
|
|
8
8
|
import { FaqProps } from "./FaqProps-ad618cd5.js";
|
|
9
9
|
import { FeaturesProps } from "./FeaturesProps-e58616a5.js";
|
|
10
10
|
import { GalleryProps } from "./GalleryProps-76e7de44.js";
|
|
11
|
-
import { HeroProps } from "./HeroProps-
|
|
11
|
+
import { HeroProps } from "./HeroProps-aa4e6431.js";
|
|
12
12
|
import { HtmlProps } from "./HtmlProps-9d091769.js";
|
|
13
|
-
import { ImageStoryProps } from "./ImageStoryProps-
|
|
13
|
+
import { ImageStoryProps } from "./ImageStoryProps-03ff6d21.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";
|
|
@@ -19,7 +19,7 @@ import { StatsProps } from "./StatsProps-bf5ef578.js";
|
|
|
19
19
|
import { TeaserCardProps } from "./TeaserCardProps-b9c28e78.js";
|
|
20
20
|
import { TestimonialsProps } from "./TestimonialsProps-e344f597.js";
|
|
21
21
|
import { TextProps } from "./TextProps-a23170d2.js";
|
|
22
|
-
import { VideoCurtainProps } from "./VideoCurtainProps-
|
|
22
|
+
import { VideoCurtainProps } from "./VideoCurtainProps-2b7b0265.js";
|
|
23
23
|
import { ButtonProps } from "./ButtonProps-03ff6d21.js";
|
|
24
24
|
/**
|
|
25
25
|
* Width of section to use
|
|
@@ -28,11 +28,15 @@ type Width = "full" | "max" | "wide" | "default" | "narrow";
|
|
|
28
28
|
/**
|
|
29
29
|
* Style of background
|
|
30
30
|
*/
|
|
31
|
-
type Style = "framed" | "deko" | "colorful"
|
|
31
|
+
type Style = "framed" | "deko" | "colorful";
|
|
32
32
|
/**
|
|
33
33
|
* Color of background
|
|
34
34
|
*/
|
|
35
35
|
type Style1 = "default" | "accent" | "bold";
|
|
36
|
+
/**
|
|
37
|
+
* Color of background
|
|
38
|
+
*/
|
|
39
|
+
type Style2 = "none" | "to-default" | "to-accent" | "to-bold" | "to-inverted";
|
|
36
40
|
/**
|
|
37
41
|
* Background image for the whole section
|
|
38
42
|
*/
|
|
@@ -120,6 +124,7 @@ interface SectionProps {
|
|
|
120
124
|
width?: Width;
|
|
121
125
|
style?: Style;
|
|
122
126
|
backgroundColor?: Style1;
|
|
127
|
+
transition?: Style2;
|
|
123
128
|
backgroundImage?: BackgroundImage;
|
|
124
129
|
spotlight?: Spotlight;
|
|
125
130
|
spaceBefore?: SpaceBefore;
|
|
@@ -145,4 +150,4 @@ interface SectionProps {
|
|
|
145
150
|
components?: Content;
|
|
146
151
|
buttons?: Buttons;
|
|
147
152
|
}
|
|
148
|
-
export { Width, Style, Style1, BackgroundImage, Spotlight, SpaceBefore, SpaceAfter, Inverted, HeaderSpacing, Headline, LargeHeadline, HeadlineWidth, HeadlineTextAlignment, HeadlineAlignment, Subheadline, SwitchHeadlineOrder, ContentWidth, ContentAlignment, Gutter, Mode, TileWidth, Content, Buttons, SectionProps };
|
|
153
|
+
export { Width, Style, Style1, Style2, BackgroundImage, Spotlight, SpaceBefore, SpaceAfter, Inverted, HeaderSpacing, Headline, LargeHeadline, HeadlineWidth, HeadlineTextAlignment, HeadlineAlignment, Subheadline, SwitchHeadlineOrder, ContentWidth, ContentAlignment, Gutter, Mode, TileWidth, Content, Buttons, SectionProps };
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import { CtaProps } from "./CtaProps-8a0dba0d.js";
|
|
7
7
|
import { FeaturesProps } from "./FeaturesProps-e58616a5.js";
|
|
8
8
|
import { GalleryProps } from "./GalleryProps-76e7de44.js";
|
|
9
|
-
import { HeroProps } from "./HeroProps-
|
|
9
|
+
import { HeroProps } from "./HeroProps-aa4e6431.js";
|
|
10
10
|
import { ImageTextProps } from "./ImageTextProps-9286cca4.js";
|
|
11
11
|
import { LogosProps } from "./LogosProps-f9474fe2.js";
|
|
12
12
|
import { StatsProps } from "./StatsProps-bf5ef578.js";
|
|
@@ -54,7 +54,7 @@ type DesktopVideoSource = string;
|
|
|
54
54
|
/**
|
|
55
55
|
* Choose the alginment of the module content
|
|
56
56
|
*/
|
|
57
|
-
type ModuleAligment = "center" | "left" | "right";
|
|
57
|
+
type ModuleAligment = "center" | "below" | "left" | "right" | "corner";
|
|
58
58
|
interface VideoCurtainProps {
|
|
59
59
|
headline?: Headline;
|
|
60
60
|
sub?: ModuleSubheadline;
|
|
@@ -39,9 +39,7 @@
|
|
|
39
39
|
"enum": [
|
|
40
40
|
"framed",
|
|
41
41
|
"deko",
|
|
42
|
-
"colorful"
|
|
43
|
-
"accentTransition",
|
|
44
|
-
"boldTransition"
|
|
42
|
+
"colorful"
|
|
45
43
|
]
|
|
46
44
|
},
|
|
47
45
|
"backgroundColor": {
|
|
@@ -55,6 +53,19 @@
|
|
|
55
53
|
],
|
|
56
54
|
"default": "default"
|
|
57
55
|
},
|
|
56
|
+
"transition": {
|
|
57
|
+
"type": "string",
|
|
58
|
+
"title": "Style",
|
|
59
|
+
"description": "Color of background",
|
|
60
|
+
"enum": [
|
|
61
|
+
"none",
|
|
62
|
+
"to-default",
|
|
63
|
+
"to-accent",
|
|
64
|
+
"to-bold",
|
|
65
|
+
"to-inverted"
|
|
66
|
+
],
|
|
67
|
+
"default": "default"
|
|
68
|
+
},
|
|
58
69
|
"backgroundImage": {
|
|
59
70
|
"title": "Background image",
|
|
60
71
|
"description": "Background image for the whole section",
|
|
@@ -868,6 +879,12 @@
|
|
|
868
879
|
"type": "string",
|
|
869
880
|
"default": "bottom"
|
|
870
881
|
},
|
|
882
|
+
"inverted": {
|
|
883
|
+
"type": "boolean",
|
|
884
|
+
"title": "Inverted",
|
|
885
|
+
"description": "Inverted color scheme for the box",
|
|
886
|
+
"default": false
|
|
887
|
+
},
|
|
871
888
|
"type": {
|
|
872
889
|
"const": "hero"
|
|
873
890
|
}
|
|
@@ -2064,6 +2081,12 @@
|
|
|
2064
2081
|
"type": "string",
|
|
2065
2082
|
"default": "bottom"
|
|
2066
2083
|
},
|
|
2084
|
+
"inverted": {
|
|
2085
|
+
"type": "boolean",
|
|
2086
|
+
"title": "Inverted",
|
|
2087
|
+
"description": "Inverted color scheme for the box",
|
|
2088
|
+
"default": false
|
|
2089
|
+
},
|
|
2067
2090
|
"type": {
|
|
2068
2091
|
"const": "hero"
|
|
2069
2092
|
}
|
|
@@ -3091,8 +3114,10 @@
|
|
|
3091
3114
|
"description": "Choose the alginment of the module content",
|
|
3092
3115
|
"enum": [
|
|
3093
3116
|
"center",
|
|
3117
|
+
"below",
|
|
3094
3118
|
"left",
|
|
3095
|
-
"right"
|
|
3119
|
+
"right",
|
|
3120
|
+
"corner"
|
|
3096
3121
|
],
|
|
3097
3122
|
"type": "string",
|
|
3098
3123
|
"default": "bottom"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BlogOverviewProps } from "../../BlogOverviewProps-
|
|
1
|
+
import { BlogOverviewProps } from "../../BlogOverviewProps-7caa223c.js";
|
|
2
2
|
import { FC, PropsWithChildren } from "react";
|
|
3
3
|
declare const BlogOverview: FC<PropsWithChildren<BlogOverviewProps>>;
|
|
4
4
|
export type { BlogOverviewProps };
|
|
@@ -315,9 +315,7 @@
|
|
|
315
315
|
"enum": [
|
|
316
316
|
"framed",
|
|
317
317
|
"deko",
|
|
318
|
-
"colorful"
|
|
319
|
-
"accentTransition",
|
|
320
|
-
"boldTransition"
|
|
318
|
+
"colorful"
|
|
321
319
|
]
|
|
322
320
|
},
|
|
323
321
|
"backgroundColor": {
|
|
@@ -331,6 +329,19 @@
|
|
|
331
329
|
],
|
|
332
330
|
"default": "default"
|
|
333
331
|
},
|
|
332
|
+
"transition": {
|
|
333
|
+
"type": "string",
|
|
334
|
+
"title": "Style",
|
|
335
|
+
"description": "Color of background",
|
|
336
|
+
"enum": [
|
|
337
|
+
"none",
|
|
338
|
+
"to-default",
|
|
339
|
+
"to-accent",
|
|
340
|
+
"to-bold",
|
|
341
|
+
"to-inverted"
|
|
342
|
+
],
|
|
343
|
+
"default": "default"
|
|
344
|
+
},
|
|
334
345
|
"backgroundImage": {
|
|
335
346
|
"title": "Background image",
|
|
336
347
|
"description": "Background image for the whole section",
|
|
@@ -1144,6 +1155,12 @@
|
|
|
1144
1155
|
"type": "string",
|
|
1145
1156
|
"default": "bottom"
|
|
1146
1157
|
},
|
|
1158
|
+
"inverted": {
|
|
1159
|
+
"type": "boolean",
|
|
1160
|
+
"title": "Inverted",
|
|
1161
|
+
"description": "Inverted color scheme for the box",
|
|
1162
|
+
"default": false
|
|
1163
|
+
},
|
|
1147
1164
|
"type": {
|
|
1148
1165
|
"const": "hero"
|
|
1149
1166
|
}
|
|
@@ -2340,6 +2357,12 @@
|
|
|
2340
2357
|
"type": "string",
|
|
2341
2358
|
"default": "bottom"
|
|
2342
2359
|
},
|
|
2360
|
+
"inverted": {
|
|
2361
|
+
"type": "boolean",
|
|
2362
|
+
"title": "Inverted",
|
|
2363
|
+
"description": "Inverted color scheme for the box",
|
|
2364
|
+
"default": false
|
|
2365
|
+
},
|
|
2343
2366
|
"type": {
|
|
2344
2367
|
"const": "hero"
|
|
2345
2368
|
}
|
|
@@ -3367,8 +3390,10 @@
|
|
|
3367
3390
|
"description": "Choose the alginment of the module content",
|
|
3368
3391
|
"enum": [
|
|
3369
3392
|
"center",
|
|
3393
|
+
"below",
|
|
3370
3394
|
"left",
|
|
3371
|
-
"right"
|
|
3395
|
+
"right",
|
|
3396
|
+
"corner"
|
|
3372
3397
|
],
|
|
3373
3398
|
"type": "string",
|
|
3374
3399
|
"default": "bottom"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BlogPostProps } from "../../BlogPostProps-
|
|
1
|
+
import { BlogPostProps } from "../../BlogPostProps-7caa223c.js";
|
|
2
2
|
import { FC, PropsWithChildren } from "react";
|
|
3
3
|
declare const BlogPost: FC<PropsWithChildren<BlogPostProps>>;
|
|
4
4
|
export type { BlogPostProps };
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
:root,
|
|
2
2
|
[ks-theme],
|
|
3
3
|
[ks-inverted] {
|
|
4
|
+
--dsa-header--height: calc(var(--dsa-logo--height) + var(--dsa-header--spacing-vertical) * 2);
|
|
4
5
|
--dsa-header--spacing-vertical: var(--ks-spacing-inset-m);
|
|
5
6
|
--dsa-header--spacing-horizontal: var(--ks-spacing-inset-xl);
|
|
7
|
+
--dsa-header_floating--spacing-horizontal: var(--ks-spacing-inset-l);
|
|
8
|
+
--dsa-header_open--shadow: 0 0 0 100px var(--ks-color-fg-alpha-3);
|
|
6
9
|
}
|
|
7
10
|
@media (min-width: 62em) {
|
|
8
11
|
:root,
|
|
@@ -10,13 +13,15 @@
|
|
|
10
13
|
[ks-inverted] {
|
|
11
14
|
--dsa-header--spacing-vertical: var(--ks-spacing-stack-s);
|
|
12
15
|
--dsa-header--spacing-horizontal: var(--dsa-content--horizontal-spacing);
|
|
16
|
+
--dsa-header_floating--spacing-horizontal: var(--ks-spacing-inset-m);
|
|
13
17
|
}
|
|
14
18
|
}
|
|
15
19
|
|
|
16
20
|
.dsa-header {
|
|
17
21
|
--dsa-header--max-width: var(--dsa-content--width_max);
|
|
18
22
|
--dsa-header--background: var(--ks-background-color-default);
|
|
19
|
-
--dsa-header_floating--background:
|
|
23
|
+
--dsa-header_floating--background: var(--dsa-overlay-box--background-color);
|
|
24
|
+
--dsa-header_floating--backdrop-filter: var(--dsa-overlay-box--backdrop-filter);
|
|
20
25
|
--dsa-header__logo--height: var(--dsa-logo--height);
|
|
21
26
|
}
|
|
22
27
|
|
|
@@ -26,23 +31,54 @@
|
|
|
26
31
|
width: 100%;
|
|
27
32
|
display: flex;
|
|
28
33
|
padding: var(--dsa-header--spacing-vertical) 0;
|
|
29
|
-
|
|
34
|
+
transition: height var(--ks-transition-collapse);
|
|
35
|
+
height: calc(var(--dsa-logo--height) + var(--dsa-header--spacing-vertical) * 2);
|
|
36
|
+
}
|
|
37
|
+
.dsa-header--overlay {
|
|
38
|
+
position: fixed;
|
|
39
|
+
top: 0;
|
|
40
|
+
left: 0;
|
|
41
|
+
z-index: 998;
|
|
42
|
+
width: 100vw;
|
|
43
|
+
height: 100vh;
|
|
44
|
+
background-color: var(--ks-color-fg-alpha-3);
|
|
45
|
+
opacity: 0;
|
|
46
|
+
transition: opacity var(--ks-transition-fade);
|
|
47
|
+
pointer-events: none;
|
|
48
|
+
}
|
|
49
|
+
.overlay-open .dsa-header--overlay {
|
|
50
|
+
opacity: 1;
|
|
51
|
+
}
|
|
52
|
+
.overlay-open .dsa-header {
|
|
53
|
+
height: 100vh;
|
|
30
54
|
}
|
|
31
55
|
.dsa-header--floating {
|
|
32
|
-
|
|
56
|
+
top: 10px;
|
|
57
|
+
width: calc(var(--dsa-content--width_wide) + var(--dsa-header_floating--spacing-horizontal) * 2);
|
|
58
|
+
max-width: calc(100vw - var(--dsa-header--spacing-horizontal) * 2);
|
|
59
|
+
padding: var(--dsa-header--spacing-vertical) 0;
|
|
60
|
+
margin: auto;
|
|
61
|
+
left: 50%;
|
|
62
|
+
transform: translate(-50%, 0);
|
|
63
|
+
background: var(--dsa-header_floating--background, var(--dsa-overlay-box--background-color));
|
|
64
|
+
backdrop-filter: var(--dsa-header_floating--backdrop-filter, blur(10px));
|
|
33
65
|
position: absolute;
|
|
66
|
+
border-radius: var(--ks-border-radius-surface);
|
|
67
|
+
}
|
|
68
|
+
.overlay-open .dsa-header--floating {
|
|
69
|
+
background: var(--dsa-header--background, var(--ks-background-color-default));
|
|
70
|
+
height: 95%;
|
|
34
71
|
}
|
|
35
72
|
.dsa-header--floating .c-nav-main__link {
|
|
36
73
|
text-shadow: 0 0 10px var(--ks-color-bg-alpha-5);
|
|
37
74
|
}
|
|
38
75
|
.dsa-header__content {
|
|
39
|
-
padding: 0 var(--dsa-
|
|
76
|
+
padding: 0 var(--dsa-header_floating--spacing-horizontal);
|
|
40
77
|
max-width: var(--dsa-header--max-width);
|
|
41
78
|
width: 100%;
|
|
42
|
-
margin: auto;
|
|
43
79
|
display: flex;
|
|
44
80
|
justify-content: space-between;
|
|
45
|
-
align-items:
|
|
81
|
+
align-items: flex-start;
|
|
46
82
|
}
|
|
47
83
|
|
|
48
84
|
.dsa-header--spacer {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "./header.css";
|
|
2
|
-
import {
|
|
2
|
+
import { jsxs, Fragment, jsx } from 'react/jsx-runtime';
|
|
3
3
|
import classnames from 'classnames';
|
|
4
4
|
import { forwardRef, createContext, useContext } from 'react';
|
|
5
5
|
import { NavMain } from '../nav-main/index.js';
|
|
@@ -17,10 +17,10 @@ import '../nav-dropdown/index.js';
|
|
|
17
17
|
import '../nav-flyout/index.js';
|
|
18
18
|
import '@kickstartds/base/lib/picture';
|
|
19
19
|
|
|
20
|
-
const HeaderContextDefault = forwardRef(({ logo, floating, inverted = false, flyoutInverted = false, dropdownInverted = false, navItems = [], }, ref) => (jsx("header", { className: classnames("dsa-header", floating
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
20
|
+
const HeaderContextDefault = forwardRef(({ logo, floating, inverted = false, flyoutInverted = false, dropdownInverted = false, navItems = [], }, ref) => (jsxs(Fragment, { children: [jsx("header", { className: classnames("dsa-header", floating && `dsa-header--floating`), "ks-inverted": inverted.toString(), ref: ref, children: jsxs("div", { className: "dsa-header__content", children: [jsx(Logo, { ...logo, className: "dsa-header__logo", inverted: inverted }), jsx(NavMain, { flyoutInverted: flyoutInverted, dropdownInverted: dropdownInverted, items: navItems, logo: {
|
|
21
|
+
...logo,
|
|
22
|
+
inverted: flyoutInverted,
|
|
23
|
+
} })] }) }), floating && jsx("div", { className: "dsa-header--overlay" })] })));
|
|
24
24
|
const HeaderContext = createContext(HeaderContextDefault);
|
|
25
25
|
const Header = forwardRef((props, ref) => {
|
|
26
26
|
const Component = useContext(HeaderContext);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
:root, [ks-inverted], [ks-theme] {
|
|
2
2
|
--dsa-headline--color: var(--ks-text-color-display);
|
|
3
|
-
--dsa-headline--font-weight: var(--ks-font-weight-
|
|
3
|
+
--dsa-headline--font-weight: var(--ks-font-weight-bold);
|
|
4
4
|
--dsa-headline--text-transform: none;
|
|
5
5
|
--dsa-headline--gap: 0.25em;
|
|
6
6
|
--dsa-headline--space-after_large: var(--ks-spacing-stack-l);
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
margin: 0;
|
|
116
116
|
max-width: var(--dsa-content--width_default);
|
|
117
117
|
color: var(--dsa-headline__subheadline--color, var(--ks-text-color-primary));
|
|
118
|
-
font-weight: var(--dsa-headline__subheadline--font-weight, var(--ks-font-weight-
|
|
118
|
+
font-weight: var(--dsa-headline__subheadline--font-weight, var(--ks-font-weight-bold));
|
|
119
119
|
}
|
|
120
120
|
.dsa-headline--space-after-minimum {
|
|
121
121
|
margin-bottom: var(--headline--space-after_minimum);
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
--dsa-hero__copy--font: var(--dsa-rich-text--font);
|
|
15
15
|
--dsa-hero_highlight-text__copy--font: var(--ks-font-copy-l);
|
|
16
16
|
--dsa-hero_color-neutral__copy--color: var(--ks-text-color-default);
|
|
17
|
-
--dsa-hero__textbox--background-color: var(--
|
|
18
|
-
--dsa-hero__textbox--backdrop-filter:
|
|
17
|
+
--dsa-hero__textbox--background-color: var(--dsa-overlay-box--background-color);
|
|
18
|
+
--dsa-hero__textbox--backdrop-filter: var(--dsa-overlay-box--backdrop-filter);
|
|
19
19
|
--dsa-hero__textbox--box-shadow: none;
|
|
20
20
|
--dsa-hero__textbox--border-radius: var(--ks-border-radius-card);
|
|
21
21
|
--dsa-hero__textbox--max-width: calc(var(--dsa-content--width_narrow) * 1.15);
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
min-height: var(--dsa-hero--min-height);
|
|
54
54
|
}
|
|
55
55
|
.c-visual.dsa-hero .c-visual__box {
|
|
56
|
-
--c-visual_box--background: var(--dsa-hero__textbox--background-color, var(--
|
|
56
|
+
--c-visual_box--background: var(--dsa-hero__textbox--background-color, var(--dsa-overlay-box--background-color));
|
|
57
57
|
--c-visual_box--color: var(--dsa-hero__copy--color, var(--ks-text-color-default));
|
|
58
58
|
--c-visual_box--border-radius: var(--dsa-hero__textbox--border-radius, var(--ks-border-radius-card));
|
|
59
59
|
--c-visual_box--padding: var(--dsa-hero__textbox--padding, var(--ks-spacing-inset-squish-xl));
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
--c-visual_box--max-width: var(--dsa-hero__textbox--max-width, var(--dsa-content--width_narrow));
|
|
89
89
|
}
|
|
90
90
|
.c-visual.dsa-hero .c-visual__box:not(.c-visual__box--transparent) {
|
|
91
|
-
backdrop-filter: var(--dsa-hero__textbox--backdrop-filter,
|
|
91
|
+
backdrop-filter: var(--dsa-hero__textbox--backdrop-filter, var(--dsa-overlay-box--backdrop-filter));
|
|
92
92
|
box-shadow: var(--dsa-hero__textbox--box-shadow, var(--ks-box-shadow-card));
|
|
93
93
|
}
|
|
94
94
|
}
|
|
@@ -113,6 +113,10 @@
|
|
|
113
113
|
.c-visual.dsa-hero .c-visual__content--indent {
|
|
114
114
|
max-width: var(--dsa-content--width_wide);
|
|
115
115
|
}
|
|
116
|
+
.c-visual.dsa-hero .c-visual__continue-btn {
|
|
117
|
+
color: var(--dsa-overlay-text--text-color, var(--ks-color-fg));
|
|
118
|
+
filter: drop-shadow(var(--dsa-overlay-text--shadow, 0 0 10px var(--ks-color-bg-inverted-alpha-3-base)));
|
|
119
|
+
}
|
|
116
120
|
@container visual (min-width: 640px) {
|
|
117
121
|
.c-visual.dsa-hero.dsa-hero--content-below .c-visual__media {
|
|
118
122
|
position: relative;
|
|
@@ -76,6 +76,12 @@
|
|
|
76
76
|
"enum": ["center", "below", "left", "right", "corner"],
|
|
77
77
|
"type": "string",
|
|
78
78
|
"default": "bottom"
|
|
79
|
+
},
|
|
80
|
+
"inverted": {
|
|
81
|
+
"type": "boolean",
|
|
82
|
+
"title": "Inverted",
|
|
83
|
+
"description": "Inverted color scheme for the box",
|
|
84
|
+
"default": false
|
|
79
85
|
}
|
|
80
86
|
},
|
|
81
87
|
"additionalProperties": false
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { HTMLAttributes } from "react";
|
|
3
|
-
import { HeroProps } from "../../HeroProps-
|
|
3
|
+
import { HeroProps } from "../../HeroProps-aa4e6431.js";
|
|
4
4
|
declare const HeroContextDefault: import("react").ForwardRefExoticComponent<HeroProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
5
|
declare const HeroContext: import("react").Context<import("react").ForwardRefExoticComponent<HeroProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>>;
|
|
6
6
|
declare const Hero: import("react").ForwardRefExoticComponent<HeroProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -8,13 +8,13 @@ import { ButtonContext } from '@kickstartds/base/lib/button';
|
|
|
8
8
|
import { useButtonGroup } from '../button-group/index.js';
|
|
9
9
|
import '@kickstartds/base/lib/button-group';
|
|
10
10
|
|
|
11
|
-
const HeroContextDefault = forwardRef(({ headline, sub, height, text, highlightText, textPosition = "center", colorNeutral, image, overlay, textbox, className, buttons = [], ...rest }, ref) => {
|
|
11
|
+
const HeroContextDefault = forwardRef(({ headline, sub, height, text, highlightText, textPosition = "center", colorNeutral, inverted, image, overlay, textbox, className, buttons = [], ...rest }, ref) => {
|
|
12
12
|
const ButtonGroup = useButtonGroup();
|
|
13
13
|
return (jsx(ButtonContext.Provider
|
|
14
14
|
// @ts-expect-error
|
|
15
15
|
, {
|
|
16
16
|
// @ts-expect-error
|
|
17
|
-
value: ButtonGroup, children: jsx(Container, { name: "visual", children: jsx(VisualContextDefault, { ...rest, ref: ref, className: classnames(`dsa-hero dsa-hero--content-${textPosition}`, highlightText ? `dsa-hero--highlight-text` : "", colorNeutral ? `dsa-hero--color-neutral` : "", className), height: height, overlay: overlay, box: {
|
|
17
|
+
value: ButtonGroup, children: jsx(Container, { name: "visual", children: jsx(VisualContextDefault, { ...rest, ref: ref, className: classnames(`dsa-hero dsa-hero--content-${textPosition}`, highlightText ? `dsa-hero--highlight-text` : "", colorNeutral ? `dsa-hero--color-neutral` : "", className), height: height, overlay: overlay, skipButton: height === "fullScreen" ? true : false, inverted: true, box: {
|
|
18
18
|
background: textbox === true ? "solid" : "transparent",
|
|
19
19
|
enabled: true,
|
|
20
20
|
vertical: textPosition === "below" || textPosition === "corner"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { HTMLAttributes } from "react";
|
|
3
|
-
import { ImageStoryProps } from "../../ImageStoryProps-
|
|
3
|
+
import { ImageStoryProps } from "../../ImageStoryProps-03ff6d21.js";
|
|
4
4
|
declare const ImageStoryContextDefault: import("react").ForwardRefExoticComponent<ImageStoryProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
5
|
declare const ImageStoryContext: import("react").Context<import("react").ForwardRefExoticComponent<ImageStoryProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>>;
|
|
6
6
|
declare const ImageStory: import("react").ForwardRefExoticComponent<ImageStoryProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -29,7 +29,7 @@ interface SettingsProps {
|
|
|
29
29
|
seo: SeoProps;
|
|
30
30
|
iconSprite?: IconSprite;
|
|
31
31
|
}
|
|
32
|
-
export * from "../../BlogPostProps-
|
|
33
|
-
export * from "../../BlogOverviewProps-
|
|
34
|
-
export * from "../../PageProps-
|
|
32
|
+
export * from "../../BlogPostProps-7caa223c.js";
|
|
33
|
+
export * from "../../BlogOverviewProps-7caa223c.js";
|
|
34
|
+
export * from "../../PageProps-7caa223c.js";
|
|
35
35
|
export { IconSprite, SettingsProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
.dsa-nav-dropdown {
|
|
2
|
-
--dsa-nav-dropdown--padding: var(--ks-spacing-
|
|
2
|
+
--dsa-nav-dropdown--padding: var(--ks-spacing-xxs) var(--ks-spacing-xxs) var(--ks-spacing-m) var(--ks-spacing-xxs);
|
|
3
3
|
--dsa-nav-dropdown--background: var(--ks-background-color-default);
|
|
4
4
|
--dsa-nav-dropdown--border-radius: var(--ks-border-radius-card);
|
|
5
5
|
--dsa-nav-dropdown--box-shadow: var(--ks-box-shadow-card);
|
|
@@ -8,10 +8,12 @@
|
|
|
8
8
|
--dsa-nav-dropdown__label--color: var(--ks-color-fg);
|
|
9
9
|
--dsa-nav-dropdown__label--color_hover: var(--ks-text-color-interface-interactive-hover);
|
|
10
10
|
--dsa-nav-dropdown__label--color_active: var(--ks-text-color-interface-interactive-active);
|
|
11
|
+
--dsa-nav-dropdown__label--background-color_hover: var(--ks-color-fg-alpha-8);
|
|
12
|
+
--dsa-nav-dropdown__label--border-radius: var(--ks-border-radius-control);
|
|
11
13
|
--dsa-nav-dropdown__label--font: var(--ks-font-interface-m);
|
|
12
14
|
--dsa-nav-dropdown__label--font-weight: var(--ks-font-weight-semi-bold);
|
|
13
15
|
--dsa-nav-dropdown__label--font-weight_active: var(--ks-font-weight-bold);
|
|
14
|
-
--dsa-nav-dropdown__label--padding: 0.
|
|
16
|
+
--dsa-nav-dropdown__label--padding: 0.45em 0.75em;
|
|
15
17
|
--dsa-nav-dropdown__label_dimmed--opacity: 0.75;
|
|
16
18
|
}
|
|
17
19
|
.dsa-nav-dropdown[ks-inverted=true] {
|
|
@@ -49,8 +51,10 @@
|
|
|
49
51
|
display: block;
|
|
50
52
|
padding: var(--dsa-nav-dropdown__label--padding);
|
|
51
53
|
text-align: left;
|
|
54
|
+
border-radius: var(--dsa-nav-dropdown__label--border-radius);
|
|
52
55
|
}
|
|
53
56
|
.dsa-nav-dropdown .dsa-nav-dropdown__label:hover, .dsa-nav-dropdown .dsa-nav-dropdown__label:focus, .dsa-nav-dropdown .dsa-nav-dropdown__label:active {
|
|
54
57
|
color: var(--dsa-nav-dropdown__label--color_hover);
|
|
58
|
+
background-color: var(--dsa-nav-dropdown__label--background-color_hover);
|
|
55
59
|
text-decoration: var(--dsa-nav-dropdown__label--text-decoration_hover);
|
|
56
60
|
}
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
import "./nav-flyout.css";
|
|
2
|
-
import {
|
|
2
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
3
3
|
import classnames from 'classnames';
|
|
4
4
|
import { Link } from '@kickstartds/base/lib/link';
|
|
5
|
-
import { Logo } from '../logo/index.js';
|
|
6
5
|
import { forwardRef, createContext, useContext } from 'react';
|
|
7
|
-
import '@kickstartds/base/lib/picture';
|
|
8
6
|
|
|
9
|
-
const NavFlyoutContextDefault = forwardRef(({ items, inverted
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
7
|
+
const NavFlyoutContextDefault = forwardRef(({ items, inverted }, ref) => items && items.length > 0 ? (jsx("nav", { className: "dsa-nav-flyout", "ks-inverted": inverted.toString(), id: "dsa-nav-flyout", "aria-label": "Hauptnavigation", ref: ref, children: jsx("ul", { className: "dsa-nav-flyout__list", children: items.map(({ label, href, active, items: subItems }) => {
|
|
8
|
+
return (jsxs("li", { className: classnames("dsa-nav-flyout__item", active && "dsa-nav-flyout__item--active"), children: [subItems?.length ? (jsx("span", { tabIndex: 0, className: "dsa-nav-flyout__label", children: label })) : (jsx(Link, { href: href, className: `dsa-nav-flyout__label dsa-nav-flyout__link`, children: label })), subItems?.length ? (jsx("ul", { className: "dsa-nav-flyout__sublist", children: subItems.map(({ label, href, active }) => {
|
|
9
|
+
return (jsx("li", { className: classnames("dsa-nav-flyout__item", active && "dsa-nav-flyout__item--active"), children: jsx(Link, { href: href, className: `dsa-nav-flyout__label dsa-nav-flyout__link`, children: label }) }, href));
|
|
10
|
+
}) })) : null] }, href));
|
|
11
|
+
}) }) })) : null);
|
|
14
12
|
const NavFlyoutContext = createContext(NavFlyoutContextDefault);
|
|
15
13
|
const NavFlyout = forwardRef((props, ref) => {
|
|
16
14
|
const Component = useContext(NavFlyoutContext);
|