@kickstartds/ds-agency-premium 1.6.71--canary.1911.3513a75.0 → 1.6.71--canary.45.1914.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-d62a0a9a.d.ts → BlogOverviewProps-9f207f1c.d.ts} +1 -1
- package/dist/{HeroProps-2ff0068e.d.ts → HeroProps-fec6b267.d.ts} +11 -1
- package/dist/SectionProps-21d04028.d.ts +1 -1
- package/dist/SliderProps-789f8508.d.ts +1 -1
- package/dist/components/blog-overview/blog-overview.schema.dereffed.json +24 -0
- package/dist/components/blog-overview/index.d.ts +1 -1
- package/dist/components/blog-post/blog-post.schema.dereffed.json +24 -0
- package/dist/components/blog-post/index.d.ts +1 -1
- package/dist/components/blog-teaser/index.d.ts +1 -1
- package/dist/components/button/button.css +2 -2
- package/dist/components/footer/footer.css +1 -1
- package/dist/components/footer/footer.schema.dereffed.json +12 -20
- package/dist/components/header/header.schema.dereffed.json +12 -20
- package/dist/components/headline/headline.css +1 -1
- package/dist/components/hero/hero.css +33 -11
- package/dist/components/hero/hero.schema.dereffed.json +12 -0
- package/dist/components/hero/hero.schema.json +12 -0
- package/dist/components/hero/index.d.ts +1 -1
- package/dist/components/hero/index.js +3 -2
- package/dist/components/index/index.d.ts +2 -2
- package/dist/components/nav-dropdown/nav-dropdown.css +3 -3
- package/dist/components/nav-flyout/nav-flyout.schema.dereffed.json +12 -20
- package/dist/components/nav-main/nav-main.schema.dereffed.json +12 -20
- package/dist/components/nav-main/nav-main.schema.json +12 -20
- package/dist/components/nav-topbar/nav-topbar.css +3 -3
- package/dist/components/nav-topbar/nav-topbar.schema.dereffed.json +12 -20
- package/dist/components/page/page.schema.dereffed.json +24 -0
- package/dist/components/page-wrapper/index.js +0 -6
- package/dist/components/page-wrapper/tokens.css +245 -245
- package/dist/components/presets.json +33 -43
- package/dist/components/section/section.schema.dereffed.json +24 -0
- package/dist/components/settings/settings.schema.dereffed.json +24 -40
- package/dist/components/slider/slider.schema.dereffed.json +12 -0
- package/dist/components/split-even/index.d.ts +1 -1
- package/dist/components/split-even/split-even.schema.dereffed.json +48 -0
- package/dist/components/split-weighted/index.d.ts +1 -1
- package/dist/components/split-weighted/split-weighted.schema.dereffed.json +48 -0
- package/dist/components/stats/stats.css +3 -3
- package/dist/components/teaser-card/teaser-card.css +4 -3
- package/dist/global.css +13 -3
- package/dist/static/favicon/android-chrome-192x192.png +0 -0
- package/dist/static/favicon/android-chrome-512x512.png +0 -0
- package/dist/static/favicon/apple-touch-icon.png +0 -0
- package/dist/static/favicon/browserconfig.xml +9 -0
- package/dist/static/favicon/favicon-16x16.png +0 -0
- package/dist/static/favicon/favicon-192-192.png +20 -0
- package/dist/static/favicon/favicon-32x32.png +0 -0
- package/dist/static/favicon/favicon.ico +0 -0
- package/dist/static/favicon/mstile-144x144.png +0 -0
- package/dist/static/favicon/mstile-150x150.png +0 -0
- package/dist/static/favicon/mstile-310x150.png +0 -0
- package/dist/static/favicon/mstile-310x310.png +0 -0
- package/dist/static/favicon/mstile-70x70.png +0 -0
- package/dist/static/favicon/safari-pinned-tab.svg +30 -0
- package/dist/static/favicon/site.webmanifest +19 -1
- package/dist/static/logo-inverted.svg +12 -27
- package/dist/static/logo.svg +12 -27
- package/dist/tokens/IconSprite.js +0 -6
- package/dist/tokens/icon-sprite.html +0 -2
- package/dist/tokens/themes.css +4 -4
- package/dist/tokens/tokens.css +245 -245
- package/dist/tokens/tokens.js +375 -376
- package/package.json +1 -1
- package/dist/static/guenther/brands/cadillac.png +0 -0
- package/dist/static/guenther/brands/corvette.png +0 -0
- package/dist/static/guenther/brands/infiniti.png +0 -0
- package/dist/static/guenther/brands/isuzu.png +0 -0
- package/dist/static/guenther/brands/kia.png +0 -0
- package/dist/static/guenther/brands/maserati.png +0 -0
- package/dist/static/guenther/brands/micro.png +0 -0
- package/dist/static/guenther/brands/msg.png +0 -0
- package/dist/static/guenther/brands/nissan.png +0 -0
- package/dist/static/guenther/brands/saab.png +0 -0
- package/dist/static/guenther/brands/subaru.png +0 -0
- package/dist/static/guenther/contact.jpg +0 -0
- package/dist/static/guenther/header.jpg +0 -0
- package/dist/static/guenther/header.png +0 -0
- /package/dist/{BlogPostProps-c04a5ed8.d.ts → BlogPostProps-6b3cff22.d.ts} +0 -0
- /package/dist/{BlogTeaserProps-d62a0a9a.d.ts → BlogTeaserProps-f5855e93.d.ts} +0 -0
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* and run json-schema-to-typescript to regenerate this file.
|
|
5
5
|
*/
|
|
6
6
|
import { SectionProps } from "./SectionProps-21d04028.js";
|
|
7
|
-
import { BlogTeaserProps } from "./BlogTeaserProps-
|
|
7
|
+
import { BlogTeaserProps } from "./BlogTeaserProps-f5855e93.js";
|
|
8
8
|
import { CtaProps } from "./CtaProps-789f8508.js";
|
|
9
9
|
import { SeoProps } from "./SeoProps-f2d6dcaa.js";
|
|
10
10
|
/**
|
|
@@ -28,6 +28,10 @@ type Height = "small" | "default" | "fullImage" | "fullScreen";
|
|
|
28
28
|
* Toggle wether you want your text to be displayed within in box
|
|
29
29
|
*/
|
|
30
30
|
type Textbox = boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Invert the text color for better contrast against the background
|
|
33
|
+
*/
|
|
34
|
+
type InvertText = boolean;
|
|
31
35
|
/**
|
|
32
36
|
* Text content to display inside the button
|
|
33
37
|
*/
|
|
@@ -40,6 +44,10 @@ type Icon = string;
|
|
|
40
44
|
* The URL to link to when the button is clicked
|
|
41
45
|
*/
|
|
42
46
|
type URL = string;
|
|
47
|
+
/**
|
|
48
|
+
* Add a skip button to the hero module
|
|
49
|
+
*/
|
|
50
|
+
type SkipButton = boolean;
|
|
43
51
|
/**
|
|
44
52
|
* Enable grid layer
|
|
45
53
|
*/
|
|
@@ -80,7 +88,9 @@ interface HeroProps {
|
|
|
80
88
|
colorNeutral?: ColorNeutral;
|
|
81
89
|
height?: Height;
|
|
82
90
|
textbox?: Textbox;
|
|
91
|
+
invertText?: InvertText;
|
|
83
92
|
buttons?: Button[];
|
|
93
|
+
skipButton?: SkipButton;
|
|
84
94
|
overlay?: GridLayer;
|
|
85
95
|
image?: BackgroundImage;
|
|
86
96
|
textPosition?: ModuleAligment;
|
|
@@ -101,4 +111,4 @@ interface BackgroundImage {
|
|
|
101
111
|
indent?: ImageIndent;
|
|
102
112
|
alt?: AltText;
|
|
103
113
|
}
|
|
104
|
-
export { Headline, ModuleSubheadline, ModuleText, HighlightText, ColorNeutral, Height, Textbox, Label, Icon, URL, GridLayer, MobileImageSource, TabletImageSource, DesktopImageSource, OptionalSource, ImageIndent, AltText, ModuleAligment, HeroProps, Button, BackgroundImage };
|
|
114
|
+
export { Headline, ModuleSubheadline, ModuleText, HighlightText, ColorNeutral, Height, Textbox, InvertText, Label, Icon, URL, SkipButton, GridLayer, MobileImageSource, TabletImageSource, DesktopImageSource, OptionalSource, ImageIndent, AltText, ModuleAligment, HeroProps, Button, BackgroundImage };
|
|
@@ -8,7 +8,7 @@ import { DividerProps } from "./DividerProps-2ef31901.js";
|
|
|
8
8
|
import { FaqProps } from "./FaqProps-ad618cd5.js";
|
|
9
9
|
import { FeaturesProps } from "./FeaturesProps-a9041d97.js";
|
|
10
10
|
import { GalleryProps } from "./GalleryProps-76e7de44.js";
|
|
11
|
-
import { HeroProps } from "./HeroProps-
|
|
11
|
+
import { HeroProps } from "./HeroProps-fec6b267.js";
|
|
12
12
|
import { HtmlProps } from "./HtmlProps-9d091769.js";
|
|
13
13
|
import { ImageStoryProps } from "./ImageStoryProps-e853e1e7.js";
|
|
14
14
|
import { ImageTextProps } from "./ImageTextProps-9286cca4.js";
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import { CtaProps } from "./CtaProps-789f8508.js";
|
|
7
7
|
import { FeaturesProps } from "./FeaturesProps-a9041d97.js";
|
|
8
8
|
import { GalleryProps } from "./GalleryProps-76e7de44.js";
|
|
9
|
-
import { HeroProps } from "./HeroProps-
|
|
9
|
+
import { HeroProps } from "./HeroProps-fec6b267.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";
|
|
@@ -773,6 +773,12 @@
|
|
|
773
773
|
"default": true,
|
|
774
774
|
"description": "Toggle wether you want your text to be displayed within in box"
|
|
775
775
|
},
|
|
776
|
+
"invertText": {
|
|
777
|
+
"type": "boolean",
|
|
778
|
+
"title": "Invert Text",
|
|
779
|
+
"description": "Invert the text color for better contrast against the background",
|
|
780
|
+
"default": false
|
|
781
|
+
},
|
|
776
782
|
"buttons": {
|
|
777
783
|
"type": "array",
|
|
778
784
|
"items": {
|
|
@@ -803,6 +809,12 @@
|
|
|
803
809
|
"additionalProperties": false
|
|
804
810
|
}
|
|
805
811
|
},
|
|
812
|
+
"skipButton": {
|
|
813
|
+
"type": "boolean",
|
|
814
|
+
"title": "Skip Button",
|
|
815
|
+
"description": "Add a skip button to the hero module",
|
|
816
|
+
"default": false
|
|
817
|
+
},
|
|
806
818
|
"overlay": {
|
|
807
819
|
"title": "Grid layer",
|
|
808
820
|
"description": "Enable grid layer",
|
|
@@ -1976,6 +1988,12 @@
|
|
|
1976
1988
|
"default": true,
|
|
1977
1989
|
"description": "Toggle wether you want your text to be displayed within in box"
|
|
1978
1990
|
},
|
|
1991
|
+
"invertText": {
|
|
1992
|
+
"type": "boolean",
|
|
1993
|
+
"title": "Invert Text",
|
|
1994
|
+
"description": "Invert the text color for better contrast against the background",
|
|
1995
|
+
"default": false
|
|
1996
|
+
},
|
|
1979
1997
|
"buttons": {
|
|
1980
1998
|
"type": "array",
|
|
1981
1999
|
"items": {
|
|
@@ -2006,6 +2024,12 @@
|
|
|
2006
2024
|
"additionalProperties": false
|
|
2007
2025
|
}
|
|
2008
2026
|
},
|
|
2027
|
+
"skipButton": {
|
|
2028
|
+
"type": "boolean",
|
|
2029
|
+
"title": "Skip Button",
|
|
2030
|
+
"description": "Add a skip button to the hero module",
|
|
2031
|
+
"default": false
|
|
2032
|
+
},
|
|
2009
2033
|
"overlay": {
|
|
2010
2034
|
"title": "Grid layer",
|
|
2011
2035
|
"description": "Enable grid layer",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BlogOverviewProps } from "../../BlogOverviewProps-
|
|
1
|
+
import { BlogOverviewProps } from "../../BlogOverviewProps-9f207f1c.js";
|
|
2
2
|
import { FC, PropsWithChildren } from "react";
|
|
3
3
|
declare const BlogOverview: FC<PropsWithChildren<BlogOverviewProps>>;
|
|
4
4
|
export type { BlogOverviewProps };
|
|
@@ -1057,6 +1057,12 @@
|
|
|
1057
1057
|
"default": true,
|
|
1058
1058
|
"description": "Toggle wether you want your text to be displayed within in box"
|
|
1059
1059
|
},
|
|
1060
|
+
"invertText": {
|
|
1061
|
+
"type": "boolean",
|
|
1062
|
+
"title": "Invert Text",
|
|
1063
|
+
"description": "Invert the text color for better contrast against the background",
|
|
1064
|
+
"default": false
|
|
1065
|
+
},
|
|
1060
1066
|
"buttons": {
|
|
1061
1067
|
"type": "array",
|
|
1062
1068
|
"items": {
|
|
@@ -1087,6 +1093,12 @@
|
|
|
1087
1093
|
"additionalProperties": false
|
|
1088
1094
|
}
|
|
1089
1095
|
},
|
|
1096
|
+
"skipButton": {
|
|
1097
|
+
"type": "boolean",
|
|
1098
|
+
"title": "Skip Button",
|
|
1099
|
+
"description": "Add a skip button to the hero module",
|
|
1100
|
+
"default": false
|
|
1101
|
+
},
|
|
1090
1102
|
"overlay": {
|
|
1091
1103
|
"title": "Grid layer",
|
|
1092
1104
|
"description": "Enable grid layer",
|
|
@@ -2260,6 +2272,12 @@
|
|
|
2260
2272
|
"default": true,
|
|
2261
2273
|
"description": "Toggle wether you want your text to be displayed within in box"
|
|
2262
2274
|
},
|
|
2275
|
+
"invertText": {
|
|
2276
|
+
"type": "boolean",
|
|
2277
|
+
"title": "Invert Text",
|
|
2278
|
+
"description": "Invert the text color for better contrast against the background",
|
|
2279
|
+
"default": false
|
|
2280
|
+
},
|
|
2263
2281
|
"buttons": {
|
|
2264
2282
|
"type": "array",
|
|
2265
2283
|
"items": {
|
|
@@ -2290,6 +2308,12 @@
|
|
|
2290
2308
|
"additionalProperties": false
|
|
2291
2309
|
}
|
|
2292
2310
|
},
|
|
2311
|
+
"skipButton": {
|
|
2312
|
+
"type": "boolean",
|
|
2313
|
+
"title": "Skip Button",
|
|
2314
|
+
"description": "Add a skip button to the hero module",
|
|
2315
|
+
"default": false
|
|
2316
|
+
},
|
|
2293
2317
|
"overlay": {
|
|
2294
2318
|
"title": "Grid layer",
|
|
2295
2319
|
"description": "Enable grid layer",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BlogPostProps } from "../../BlogPostProps-
|
|
1
|
+
import { BlogPostProps } from "../../BlogPostProps-6b3cff22.js";
|
|
2
2
|
import { FC, PropsWithChildren } from "react";
|
|
3
3
|
declare const BlogPost: FC<PropsWithChildren<BlogPostProps>>;
|
|
4
4
|
export type { BlogPostProps };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { HTMLAttributes } from "react";
|
|
3
|
-
import { BlogTeaserProps } from "../../BlogTeaserProps-
|
|
3
|
+
import { BlogTeaserProps } from "../../BlogTeaserProps-f5855e93.js";
|
|
4
4
|
declare const BlogTeaserContextDefault: import("react").ForwardRefExoticComponent<BlogTeaserProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
5
|
declare const BlogTeaserContext: import("react").Context<import("react").ForwardRefExoticComponent<BlogTeaserProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>>;
|
|
6
6
|
declare const BlogTeaser: import("react").ForwardRefExoticComponent<BlogTeaserProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
.dsa-button {
|
|
2
|
-
--dsa-button--padding: 0.
|
|
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-
|
|
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);
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
--dsa-footer__link--font-weight: var(--dsa-link--font-weight);
|
|
11
11
|
--dsa-footer__link--color: var(--dsa-link--color);
|
|
12
12
|
--dsa-footer__link--text-tecoration: none;
|
|
13
|
-
--dsa-footer__link--text-tecoration_hover:
|
|
13
|
+
--dsa-footer__link--text-tecoration_hover: underline;
|
|
14
14
|
--dsa-footer__logo--height: 1.5rem;
|
|
15
15
|
}
|
|
16
16
|
@media (min-width: 62em) {
|
|
@@ -107,51 +107,43 @@
|
|
|
107
107
|
"examples": [
|
|
108
108
|
[
|
|
109
109
|
{
|
|
110
|
-
"label": "
|
|
110
|
+
"label": "Active Item",
|
|
111
111
|
"url": "#",
|
|
112
112
|
"active": true
|
|
113
113
|
},
|
|
114
114
|
{
|
|
115
|
-
"label": "
|
|
115
|
+
"label": "Navigation Item",
|
|
116
|
+
"url": "#"
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"label": "Dropdown",
|
|
116
120
|
"url": "#",
|
|
117
121
|
"items": [
|
|
118
122
|
{
|
|
119
|
-
"label": "
|
|
123
|
+
"label": "Level 2 Item",
|
|
120
124
|
"url": "#"
|
|
121
125
|
},
|
|
122
126
|
{
|
|
123
|
-
"label": "
|
|
127
|
+
"label": "Active Item",
|
|
124
128
|
"active": true,
|
|
125
129
|
"url": "#"
|
|
126
130
|
},
|
|
127
131
|
{
|
|
128
|
-
"label": "
|
|
132
|
+
"label": "An Item with a longer Label",
|
|
129
133
|
"url": "#"
|
|
130
134
|
},
|
|
131
135
|
{
|
|
132
|
-
"label": "
|
|
136
|
+
"label": "And One last one",
|
|
133
137
|
"url": "#"
|
|
134
138
|
}
|
|
135
139
|
]
|
|
136
140
|
},
|
|
137
141
|
{
|
|
138
|
-
"label": "
|
|
139
|
-
"url": "#"
|
|
140
|
-
},
|
|
141
|
-
{
|
|
142
|
-
"label": "Bonusprogramm",
|
|
143
|
-
"url": "#"
|
|
144
|
-
},
|
|
145
|
-
{
|
|
146
|
-
"label": "News",
|
|
147
|
-
"url": "#"
|
|
148
|
-
},
|
|
149
|
-
{
|
|
150
|
-
"label": "Jobs",
|
|
142
|
+
"label": "One more Item",
|
|
151
143
|
"url": "#"
|
|
152
144
|
},
|
|
153
145
|
{
|
|
154
|
-
"label": "
|
|
146
|
+
"label": "Last Item",
|
|
155
147
|
"url": "#"
|
|
156
148
|
}
|
|
157
149
|
]
|
|
@@ -120,51 +120,43 @@
|
|
|
120
120
|
"examples": [
|
|
121
121
|
[
|
|
122
122
|
{
|
|
123
|
-
"label": "
|
|
123
|
+
"label": "Active Item",
|
|
124
124
|
"url": "#",
|
|
125
125
|
"active": true
|
|
126
126
|
},
|
|
127
127
|
{
|
|
128
|
-
"label": "
|
|
128
|
+
"label": "Navigation Item",
|
|
129
|
+
"url": "#"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"label": "Dropdown",
|
|
129
133
|
"url": "#",
|
|
130
134
|
"items": [
|
|
131
135
|
{
|
|
132
|
-
"label": "
|
|
136
|
+
"label": "Level 2 Item",
|
|
133
137
|
"url": "#"
|
|
134
138
|
},
|
|
135
139
|
{
|
|
136
|
-
"label": "
|
|
140
|
+
"label": "Active Item",
|
|
137
141
|
"active": true,
|
|
138
142
|
"url": "#"
|
|
139
143
|
},
|
|
140
144
|
{
|
|
141
|
-
"label": "
|
|
145
|
+
"label": "An Item with a longer Label",
|
|
142
146
|
"url": "#"
|
|
143
147
|
},
|
|
144
148
|
{
|
|
145
|
-
"label": "
|
|
149
|
+
"label": "And One last one",
|
|
146
150
|
"url": "#"
|
|
147
151
|
}
|
|
148
152
|
]
|
|
149
153
|
},
|
|
150
154
|
{
|
|
151
|
-
"label": "
|
|
152
|
-
"url": "#"
|
|
153
|
-
},
|
|
154
|
-
{
|
|
155
|
-
"label": "Bonusprogramm",
|
|
156
|
-
"url": "#"
|
|
157
|
-
},
|
|
158
|
-
{
|
|
159
|
-
"label": "News",
|
|
160
|
-
"url": "#"
|
|
161
|
-
},
|
|
162
|
-
{
|
|
163
|
-
"label": "Jobs",
|
|
155
|
+
"label": "One more Item",
|
|
164
156
|
"url": "#"
|
|
165
157
|
},
|
|
166
158
|
{
|
|
167
|
-
"label": "
|
|
159
|
+
"label": "Last Item",
|
|
168
160
|
"url": "#"
|
|
169
161
|
}
|
|
170
162
|
]
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
--dsa-headline--space-after_small: var(--ks-spacing-stack-m);
|
|
8
8
|
--dsa-headline--space-after_minimum: var(--ks-spacing-stack-s);
|
|
9
9
|
--dsa-headline--higlight-background: var(--dsa-typo--highlight);
|
|
10
|
-
--dsa-headline__subheadline--color: var(--ks-color-fg-
|
|
10
|
+
--dsa-headline__subheadline--color: var(--ks-color-fg-alpha-4);
|
|
11
11
|
--dsa-headline__subheadline--font-weight: var(--ks-font-weight-bold);
|
|
12
12
|
--dsa-headline__subheadline--text-transform: uppercase;
|
|
13
13
|
--dsa-headline__subheadline--letter-spacing: 0.045em;
|
|
@@ -3,7 +3,9 @@
|
|
|
3
3
|
container-name: hero;
|
|
4
4
|
}
|
|
5
5
|
|
|
6
|
-
.dsa-hero
|
|
6
|
+
:root .dsa-hero,
|
|
7
|
+
[ks-inverted=true] .dsa-hero,
|
|
8
|
+
[ks-inverted=false] .dsa-hero {
|
|
7
9
|
--dsa-hero--min-height: 18rem;
|
|
8
10
|
--dsa-hero--min-height_small: 13.2rem;
|
|
9
11
|
--dsa-hero__headline--color: var(--dsa-headline--color);
|
|
@@ -20,10 +22,15 @@
|
|
|
20
22
|
--dsa-hero__textbox--border-radius: var(--ks-border-radius-card);
|
|
21
23
|
--dsa-hero__textbox--max-width: var(--dsa-content--width_narrow);
|
|
22
24
|
--dsa-hero__textbox--padding: var(--ks-spacing-inset-squish-xl);
|
|
25
|
+
--dsa-hero_below__textbox--padding: var(--dsa-content--vertical-spacing);
|
|
26
|
+
--dsa-hero_offset__textbox--padding: var(--dsa-content--vertical-spacing);
|
|
27
|
+
--dsa-hero__skip-button--shadow: var(--dsa-overlay-text--shadow);
|
|
28
|
+
--dsa-hero__skip-button--color: var(--dsa-overlay-text--text-color);
|
|
29
|
+
--dsa-hero__skip-button--transform_hover: translateY(10%);
|
|
23
30
|
--dsa-hero__overlay--background: radial-gradient(
|
|
24
31
|
50% 125% at 100% 0%,
|
|
25
32
|
var(--ks-color-primary-alpha-5) 0%,
|
|
26
|
-
var(--ks-color-
|
|
33
|
+
var(--ks-color-bg-alpha-4) 100%
|
|
27
34
|
);
|
|
28
35
|
--dsa-hero_offset__textbox--max-width: var(--dsa-content--width_default);
|
|
29
36
|
--dsa-hero_offset__textbox--offset: -10%;
|
|
@@ -35,20 +42,26 @@
|
|
|
35
42
|
--dsa-hero_below__textbox--max-width: var(--dsa-content--width_default);
|
|
36
43
|
}
|
|
37
44
|
@container hero (min-width: 640px) {
|
|
38
|
-
.dsa-hero
|
|
45
|
+
:root .dsa-hero,
|
|
46
|
+
[ks-inverted=true] .dsa-hero,
|
|
47
|
+
[ks-inverted=false] .dsa-hero {
|
|
39
48
|
--dsa-hero--min-height: 21rem;
|
|
40
49
|
--dsa-hero--min-height_small: 13.35rem;
|
|
41
50
|
--dsa-hero__textbox--max-width: 50vw;
|
|
42
51
|
}
|
|
43
52
|
}
|
|
44
53
|
@container hero (min-width: 960px) {
|
|
45
|
-
.dsa-hero
|
|
54
|
+
:root .dsa-hero,
|
|
55
|
+
[ks-inverted=true] .dsa-hero,
|
|
56
|
+
[ks-inverted=false] .dsa-hero {
|
|
46
57
|
--dsa-hero--min-height: 31.5rem;
|
|
47
58
|
--dsa-hero--min-height_small: 15.8rem;
|
|
48
59
|
}
|
|
49
60
|
}
|
|
50
61
|
@container hero (min-width: 1024px) {
|
|
51
|
-
.dsa-hero
|
|
62
|
+
:root .dsa-hero,
|
|
63
|
+
[ks-inverted=true] .dsa-hero,
|
|
64
|
+
[ks-inverted=false] .dsa-hero {
|
|
52
65
|
--dsa-hero--min-height: 42rem;
|
|
53
66
|
--dsa-hero--min-height_small: 20rem;
|
|
54
67
|
--dsa-hero__textbox--max-width: var(--dsa-content--width_narrow);
|
|
@@ -62,6 +75,7 @@
|
|
|
62
75
|
|
|
63
76
|
.c-visual.dsa-hero {
|
|
64
77
|
--c-visual_overlay--background-size: 100%;
|
|
78
|
+
--c-visual--min-height: var(--dsa-hero--min-height);
|
|
65
79
|
--c-visual_overlay--background: transparent;
|
|
66
80
|
min-height: var(--dsa-hero--min-height);
|
|
67
81
|
}
|
|
@@ -84,7 +98,7 @@
|
|
|
84
98
|
--dsa-hero__subheadline--color: var(--dsa-hero_color-neutral__copy--color, var(--ks-text-color-default));
|
|
85
99
|
}
|
|
86
100
|
.c-visual.dsa-hero.c-visual--small {
|
|
87
|
-
min-height: var(--dsa-hero--min-height_small);
|
|
101
|
+
--dsa-hero--min-height: var(--dsa-hero--min-height_small);
|
|
88
102
|
}
|
|
89
103
|
@container hero (min-width: 640px) {
|
|
90
104
|
.c-visual.dsa-hero {
|
|
@@ -129,15 +143,19 @@
|
|
|
129
143
|
max-width: var(--dsa-content--width_wide);
|
|
130
144
|
}
|
|
131
145
|
.c-visual.dsa-hero .c-visual__continue-btn {
|
|
132
|
-
|
|
133
|
-
|
|
146
|
+
transform: translate(0);
|
|
147
|
+
color: var(--dsa-hero__skip-button--color, var(--dsa-overlay-text--text-color));
|
|
148
|
+
filter: drop-shadow(var(--dsa-hero__skip-button--shadow, var(--dsa-overlay-text--shadow)));
|
|
149
|
+
}
|
|
150
|
+
.c-visual.dsa-hero .c-visual__continue-btn:hover {
|
|
151
|
+
transform: var(--dsa-hero__skip-button--transform_hover, translateY(10%));
|
|
134
152
|
}
|
|
135
153
|
@container hero (min-width: 640px) {
|
|
136
154
|
.c-visual.dsa-hero.dsa-hero--content-below .c-visual__media, .c-visual.dsa-hero.dsa-hero--content-offset .c-visual__media {
|
|
137
155
|
position: relative;
|
|
138
156
|
}
|
|
139
157
|
.c-visual.dsa-hero.dsa-hero--content-below .c-visual__media .c-visual__image, .c-visual.dsa-hero.dsa-hero--content-offset .c-visual__media .c-visual__image {
|
|
140
|
-
height: var(--
|
|
158
|
+
height: var(--dsa-hero--min-height);
|
|
141
159
|
}
|
|
142
160
|
.c-visual.dsa-hero.dsa-hero--content-below .c-visual__content, .c-visual.dsa-hero.dsa-hero--content-offset .c-visual__content {
|
|
143
161
|
position: relative;
|
|
@@ -145,17 +163,21 @@
|
|
|
145
163
|
.c-visual.dsa-hero.dsa-hero--content-below .c-visual__content .c-visual__box, .c-visual.dsa-hero.dsa-hero--content-offset .c-visual__content .c-visual__box {
|
|
146
164
|
--c-visual_box--max-width: var(--dsa-hero_below__textbox--max-width, var(--dsa-content--width_default));
|
|
147
165
|
}
|
|
166
|
+
.c-visual.dsa-hero.dsa-hero--content-below .c-visual__content {
|
|
167
|
+
padding: var(--dsa-hero_below__textbox--padding, var(--dsa-content--vertical-spacing));
|
|
168
|
+
}
|
|
148
169
|
.c-visual.dsa-hero.dsa-hero--content-below .c-visual__content .c-visual__box {
|
|
149
170
|
--c-visual_box--max-width: var(--dsa-hero_below__textbox--max-width, var(--dsa-content--width_default));
|
|
150
171
|
}
|
|
151
172
|
.c-visual.dsa-hero.dsa-hero--content-offset .c-visual__content {
|
|
173
|
+
padding: var(--dsa-hero_offset__textbox--padding, var(--dsa-content--vertical-spacing));
|
|
152
174
|
margin-top: var(--dsa-hero_offset__textbox--offset, -10%);
|
|
153
175
|
}
|
|
154
176
|
.c-visual.dsa-hero.dsa-hero--content-offset .c-visual__content .c-visual__box {
|
|
155
177
|
--c-visual_box--max-width: var(--dsa-hero_offset__textbox--max-width, var(--dsa-content--width_default));
|
|
156
178
|
}
|
|
157
179
|
.c-visual.dsa-hero.c-visual--no-crop {
|
|
158
|
-
--
|
|
180
|
+
--dsa-hero--min-height: 0;
|
|
159
181
|
}
|
|
160
182
|
@container hero (min-width: 640px) {
|
|
161
183
|
.c-visual.dsa-hero.dsa-hero--content-below.c-visual--no-crop .c-visual__media .c-visual__image, .c-visual.dsa-hero.dsa-hero--content-offset.c-visual--no-crop .c-visual__media .c-visual__image {
|
|
@@ -167,8 +189,8 @@
|
|
|
167
189
|
}
|
|
168
190
|
}
|
|
169
191
|
.c-visual.dsa-hero.dsa-hero--content-below.c-visual--full, .c-visual.dsa-hero.dsa-hero--content-offset.c-visual--full {
|
|
192
|
+
--dsa-hero--min-height: 0 !important;
|
|
170
193
|
height: 100vh;
|
|
171
|
-
--c-visual--min-height: 0 !important;
|
|
172
194
|
}
|
|
173
195
|
@container hero (min-width: 640px) {
|
|
174
196
|
.c-visual.dsa-hero.dsa-hero--content-below.c-visual--full .c-visual__media .c-visual__image, .c-visual.dsa-hero.dsa-hero--content-offset.c-visual--full .c-visual__media .c-visual__image {
|
|
@@ -51,6 +51,12 @@
|
|
|
51
51
|
"default": true,
|
|
52
52
|
"description": "Toggle wether you want your text to be displayed within in box"
|
|
53
53
|
},
|
|
54
|
+
"invertText": {
|
|
55
|
+
"type": "boolean",
|
|
56
|
+
"title": "Invert Text",
|
|
57
|
+
"description": "Invert the text color for better contrast against the background",
|
|
58
|
+
"default": false
|
|
59
|
+
},
|
|
54
60
|
"buttons": {
|
|
55
61
|
"type": "array",
|
|
56
62
|
"items": {
|
|
@@ -81,6 +87,12 @@
|
|
|
81
87
|
"additionalProperties": false
|
|
82
88
|
}
|
|
83
89
|
},
|
|
90
|
+
"skipButton": {
|
|
91
|
+
"type": "boolean",
|
|
92
|
+
"title": "Skip Button",
|
|
93
|
+
"description": "Add a skip button to the hero module",
|
|
94
|
+
"default": false
|
|
95
|
+
},
|
|
84
96
|
"overlay": {
|
|
85
97
|
"title": "Grid layer",
|
|
86
98
|
"description": "Enable grid layer",
|
|
@@ -46,6 +46,12 @@
|
|
|
46
46
|
"default": true,
|
|
47
47
|
"description": "Toggle wether you want your text to be displayed within in box"
|
|
48
48
|
},
|
|
49
|
+
"invertText": {
|
|
50
|
+
"type": "boolean",
|
|
51
|
+
"title": "Invert Text",
|
|
52
|
+
"description": "Invert the text color for better contrast against the background",
|
|
53
|
+
"default": false
|
|
54
|
+
},
|
|
49
55
|
"buttons": {
|
|
50
56
|
"type": "array",
|
|
51
57
|
"items": {
|
|
@@ -64,6 +70,12 @@
|
|
|
64
70
|
}
|
|
65
71
|
}
|
|
66
72
|
},
|
|
73
|
+
"skipButton": {
|
|
74
|
+
"type": "boolean",
|
|
75
|
+
"title": "Skip Button",
|
|
76
|
+
"description": "Add a skip button to the hero module",
|
|
77
|
+
"default": false
|
|
78
|
+
},
|
|
67
79
|
"overlay": {
|
|
68
80
|
"$ref": "http://schema.kickstartds.com/content/visual.schema.json#/properties/overlay"
|
|
69
81
|
},
|
|
@@ -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-fec6b267.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,14 @@ 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, image, overlay, textbox, invertText = false, className, buttons = [], skipButton = false, ...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: "hero", 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`, overlay && `dsa-hero--overlay`, className), height: height, overlay: overlay, skipButton:
|
|
17
|
+
value: ButtonGroup, children: jsx(Container, { name: "hero", 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`, overlay && `dsa-hero--overlay`, className), height: height, overlay: overlay, skipButton: skipButton, box: {
|
|
18
|
+
inverted: invertText,
|
|
18
19
|
background: textPosition === "below"
|
|
19
20
|
? "transparent"
|
|
20
21
|
: textbox === true
|
|
@@ -29,8 +29,8 @@ interface SettingsProps {
|
|
|
29
29
|
seo: SeoProps;
|
|
30
30
|
iconSprite?: IconSprite;
|
|
31
31
|
}
|
|
32
|
-
export * from "../../BlogPostProps-
|
|
33
|
-
export * from "../../BlogOverviewProps-
|
|
32
|
+
export * from "../../BlogPostProps-6b3cff22.js";
|
|
33
|
+
export * from "../../BlogOverviewProps-9f207f1c.js";
|
|
34
34
|
export * from "../../PageProps-aa29c554.js";
|
|
35
35
|
export { IconSprite, SettingsProps };
|
|
36
36
|
export * from "../../EventDetailProps-42a7eebe.js";
|
|
@@ -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,7 +8,7 @@
|
|
|
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:
|
|
11
|
+
--dsa-nav-dropdown__label--background-color_hover: var(--ks-color-fg-alpha-8);
|
|
12
12
|
--dsa-nav-dropdown__label--background-color_active: unset;
|
|
13
13
|
--dsa-nav-dropdown__label--border-radius: var(--ks-border-radius-control);
|
|
14
14
|
--dsa-nav-dropdown__label--font: var(--ks-font-interface-s);
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
--dsa-nav-dropdown__label--font-weight: var(--ks-font-weight-semi-bold);
|
|
17
17
|
--dsa-nav-dropdown__label--font-weight_active: var(--ks-font-weight-bold);
|
|
18
18
|
--dsa-nav-dropdown__label--padding: 0.45em 0.75em;
|
|
19
|
-
--dsa-nav-dropdown__label_dimmed--opacity:
|
|
19
|
+
--dsa-nav-dropdown__label_dimmed--opacity: 1;
|
|
20
20
|
}
|
|
21
21
|
.dsa-nav-dropdown[ks-inverted=true] {
|
|
22
22
|
--dsa-nav-dropdown--background: var(--ks-color-fg-inverted);
|