@kickstartds/ds-agency-premium 1.6.71--canary.1933.9f7ec0c.0 → 1.6.71--canary.45.1941.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/BlogOverviewProps-d62a0a9a.d.ts +1 -1
- package/dist/{BlogPostProps-c760fd2a.d.ts → BlogPostProps-c04a5ed8.d.ts} +2 -2
- package/dist/PageProps-aa29c554.d.ts +1 -1
- package/dist/{SectionProps-2fd5dbde.d.ts → SectionProps-00ddee3a.d.ts} +2 -2
- package/dist/SliderProps-789f8508.d.ts +1 -1
- package/dist/{StatProps-12a3eae0.d.ts → StatProps-79109ad0.d.ts} +1 -1
- package/dist/StatsProps-bf5ef578.d.ts +1 -1
- package/dist/components/blog-aside/index.d.ts +1 -1
- package/dist/components/blog-aside/index.js +6 -1
- package/dist/components/blog-author/index.js +10 -1
- package/dist/components/blog-head/index.js +6 -1
- package/dist/components/blog-overview/blog-overview.schema.dereffed.json +33 -33
- package/dist/components/blog-overview/blog-overview.schema.json +2 -2
- package/dist/components/blog-overview/index.js +1 -0
- package/dist/components/blog-post/blog-post.schema.dereffed.json +33 -33
- package/dist/components/blog-post/blog-post.schema.json +2 -2
- package/dist/components/blog-post/index.d.ts +1 -1
- package/dist/components/blog-post/index.js +1 -0
- package/dist/components/blog-teaser/index.js +10 -1
- package/dist/components/button/button.css +2 -2
- package/dist/components/contact/index.js +10 -1
- package/dist/components/cta/cta.css +1 -1
- package/dist/components/cta/index.js +19 -1
- package/dist/components/divider/index.js +6 -1
- package/dist/components/event-detail/index.js +1 -0
- package/dist/components/event-header/index.js +1 -0
- package/dist/components/event-list/index.js +1 -0
- package/dist/components/faq/index.js +6 -1
- package/dist/components/feature/index.js +15 -2
- package/dist/components/features/features.css +25 -7
- package/dist/components/features/index.js +13 -1
- package/dist/components/footer/footer.css +3 -3
- package/dist/components/footer/footer.schema.dereffed.json +12 -20
- package/dist/components/footer/index.js +11 -1
- package/dist/components/gallery/index.js +9 -1
- package/dist/components/header/header.schema.dereffed.json +12 -20
- package/dist/components/header/index.js +13 -1
- package/dist/components/headline/headline.css +2 -44
- package/dist/components/hero/hero.css +0 -11
- package/dist/components/hero/hero.schema.dereffed.json +1 -1
- package/dist/components/hero/hero.schema.json +1 -1
- package/dist/components/hero/index.js +17 -1
- package/dist/components/html/index.js +8 -1
- package/dist/components/image-story/index.d.ts +1 -1
- package/dist/components/image-story/index.js +14 -1
- package/dist/components/image-text/index.js +7 -1
- package/dist/components/index/index.d.ts +1 -1
- package/dist/components/logo/index.js +6 -1
- package/dist/components/logos/index.js +12 -1
- package/dist/components/mosaic/index.js +8 -1
- package/dist/components/nav-dropdown/nav-dropdown.css +3 -3
- package/dist/components/nav-flyout/index.js +7 -1
- package/dist/components/nav-flyout/nav-flyout.schema.dereffed.json +12 -20
- package/dist/components/nav-main/index.js +11 -1
- 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/index.js +7 -1
- 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 +33 -33
- package/dist/components/page/page.schema.json +2 -2
- package/dist/components/page-wrapper/index.js +1 -6
- package/dist/components/page-wrapper/tokens.css +251 -251
- package/dist/components/presets.json +70 -86
- package/dist/components/providers/index.js +1 -0
- package/dist/components/search/index.js +1 -0
- package/dist/components/section/index.d.ts +1 -1
- package/dist/components/section/index.js +27 -1
- package/dist/components/section/section.css +19 -20
- package/dist/components/section/section.schema.dereffed.json +28 -28
- package/dist/components/section/section.schema.json +2 -2
- package/dist/components/seo/seo.schema.dereffed.json +4 -4
- package/dist/components/seo/seo.schema.json +4 -3
- package/dist/components/settings/settings.schema.dereffed.json +29 -45
- package/dist/components/settings/settings.schema.json +2 -2
- package/dist/components/slider/index.js +1 -1
- package/dist/components/slider/slider.schema.dereffed.json +18 -17
- package/dist/components/slider/slider.schema.json +1 -1
- package/dist/components/split-even/index.d.ts +1 -1
- package/dist/components/split-even/split-even.schema.dereffed.json +52 -48
- package/dist/components/split-weighted/index.d.ts +1 -1
- package/dist/components/split-weighted/split-weighted.schema.dereffed.json +52 -48
- package/dist/components/stat/index.d.ts +1 -1
- package/dist/components/stat/index.js +16 -4
- package/dist/components/stat/stat.schema.dereffed.json +6 -5
- package/dist/components/stat/stat.schema.json +2 -2
- package/dist/components/stats/index.js +6 -1
- package/dist/components/stats/stats.css +4 -4
- package/dist/components/stats/stats.schema.dereffed.json +6 -5
- package/dist/components/teaser-card/index.js +11 -1
- package/dist/components/teaser-card/teaser-card.css +11 -9
- package/dist/components/testimonial/index.js +7 -1
- package/dist/components/testimonials/index.js +8 -1
- package/dist/components/text/index.js +8 -1
- package/dist/components/video-curtain/index.js +11 -1
- package/dist/components/video-curtain/video-curtain.schema.dereffed.json +1 -1
- package/dist/components/video-curtain/video-curtain.schema.json +1 -1
- package/dist/global.css +2 -2
- package/dist/helpers-12f48df8.d.ts +6 -0
- package/dist/helpers-12f48df8.js +40 -0
- 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 +251 -251
- package/dist/tokens/tokens.js +376 -377
- package/package.json +6 -4
- 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/car-1.webp +0 -0
- package/dist/static/guenther/car-2.webp +0 -0
- package/dist/static/guenther/car-cutout-1.avif +0 -0
- package/dist/static/guenther/car-cutout-2.avif +0 -0
- package/dist/static/guenther/car-cutout-3.png +0 -0
- package/dist/static/guenther/car-red.png +0 -0
- package/dist/static/guenther/car-store.png +0 -0
- package/dist/static/guenther/contact.jpg +0 -0
- package/dist/static/guenther/header-2.png +0 -0
- package/dist/static/guenther/header.jpg +0 -0
- package/dist/static/guenther/header.png +0 -0
- /package/dist/{BlogAsideProps-c760fd2a.d.ts → BlogAsideProps-fb0241df.d.ts} +0 -0
- /package/dist/{ImageStoryProps-e853e1e7.d.ts → ImageStoryProps-00ddee3a.d.ts} +0 -0
|
@@ -3,12 +3,17 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
3
3
|
import { forwardRef, createContext, useContext } from 'react';
|
|
4
4
|
import classnames from 'classnames';
|
|
5
5
|
import { DividerContextDefault as DividerContextDefault$1, DividerContext as DividerContext$1 } from '@kickstartds/base/lib/divider';
|
|
6
|
+
import { d as deepMergeDefaults } from '../../helpers-12f48df8.js';
|
|
7
|
+
|
|
8
|
+
const defaults = {
|
|
9
|
+
"variant": "default"
|
|
10
|
+
};
|
|
6
11
|
|
|
7
12
|
const DividerContextDefault = forwardRef(({ variant, className, ...props }, ref) => (jsx(DividerContextDefault$1, { ...props, className: classnames("dsa-divider", className), variant: variant, ref: ref })));
|
|
8
13
|
const DividerContext = createContext(DividerContextDefault);
|
|
9
14
|
const Divider = forwardRef((props, ref) => {
|
|
10
15
|
const Component = useContext(DividerContext);
|
|
11
|
-
return jsx(Component, { ...props, ref: ref });
|
|
16
|
+
return jsx(Component, { ...deepMergeDefaults(defaults, props), ref: ref });
|
|
12
17
|
});
|
|
13
18
|
Divider.displayName = "Divider";
|
|
14
19
|
const DividerProvider = (props) => (jsx(DividerContext$1.Provider, { ...props, value: DividerContextDefault }));
|
|
@@ -15,6 +15,7 @@ import '@kickstartds/core/lib/react';
|
|
|
15
15
|
import '@kickstartds/base/lib/section';
|
|
16
16
|
import '../section/js/Section.client.js';
|
|
17
17
|
import '@kickstartds/core/lib/component';
|
|
18
|
+
import '../../helpers-12f48df8.js';
|
|
18
19
|
import '../text/index.js';
|
|
19
20
|
import '@kickstartds/base/lib/tag-label';
|
|
20
21
|
import '@kickstartds/base/lib/text-media';
|
|
@@ -8,6 +8,7 @@ import 'classnames';
|
|
|
8
8
|
import 'markdown-to-jsx';
|
|
9
9
|
import '@kickstartds/base/lib/headline';
|
|
10
10
|
import '@kickstartds/base/lib/rich-text';
|
|
11
|
+
import '../../helpers-12f48df8.js';
|
|
11
12
|
|
|
12
13
|
const EventHeaderContextDefault = forwardRef(({ title, categories, intro }, ref) => (jsxs("div", { className: "dsa-event-header", ref: ref, children: [categories && categories.length > 0 && (jsx("div", { className: "dsa-event-header__categories", children: categories.map((category, index) => (jsx(TagLabel, { className: "dsa-event__category", label: category?.label }, index))) })), jsx(Headline, { text: title, level: "h1" }), intro && jsx(Text, { highlightText: true, text: intro })] })));
|
|
13
14
|
const EventHeaderContext = createContext(EventHeaderContextDefault);
|
|
@@ -11,6 +11,7 @@ import '@kickstartds/core/lib/react';
|
|
|
11
11
|
import '@kickstartds/base/lib/section';
|
|
12
12
|
import '../section/js/Section.client.js';
|
|
13
13
|
import '@kickstartds/core/lib/component';
|
|
14
|
+
import '../../helpers-12f48df8.js';
|
|
14
15
|
import '@kickstartds/form/lib/text-field';
|
|
15
16
|
import '@kickstartds/form/lib/checkbox';
|
|
16
17
|
import '../button/index.js';
|
|
@@ -2,12 +2,17 @@ import "./faq.css";
|
|
|
2
2
|
import { jsx } from 'react/jsx-runtime';
|
|
3
3
|
import { forwardRef, createContext, useContext } from 'react';
|
|
4
4
|
import { CollapsibleBox } from '@kickstartds/base/lib/collapsible-box';
|
|
5
|
+
import { d as deepMergeDefaults } from '../../helpers-12f48df8.js';
|
|
6
|
+
|
|
7
|
+
const defaults = {
|
|
8
|
+
"questions": []
|
|
9
|
+
};
|
|
5
10
|
|
|
6
11
|
const FaqContextDefault = forwardRef(({ questions, ...rest }, ref) => (jsx("div", { ...rest, ref: ref, className: `dsa-faq`, children: questions.map((question, index) => (jsx(CollapsibleBox, { summary: question.question, text: question.answer }, index))) })));
|
|
7
12
|
const FaqContext = createContext(FaqContextDefault);
|
|
8
13
|
const Faq = forwardRef((props, ref) => {
|
|
9
14
|
const Component = useContext(FaqContext);
|
|
10
|
-
return jsx(Component, { ...props, ref: ref });
|
|
15
|
+
return jsx(Component, { ...deepMergeDefaults(defaults, props), ref: ref });
|
|
11
16
|
});
|
|
12
17
|
Faq.displayName = "Faq";
|
|
13
18
|
|
|
@@ -4,8 +4,21 @@ import classnames from 'classnames';
|
|
|
4
4
|
import { Icon } from '@kickstartds/base/lib/icon';
|
|
5
5
|
import { Button } from '../button/index.js';
|
|
6
6
|
import { Link } from '@kickstartds/base/lib/link';
|
|
7
|
+
import { RichText } from '@kickstartds/base/lib/rich-text';
|
|
8
|
+
import { d as deepMergeDefaults } from '../../helpers-12f48df8.js';
|
|
7
9
|
import '@kickstartds/base/lib/button';
|
|
8
10
|
|
|
11
|
+
const defaults = {
|
|
12
|
+
"style": "stack",
|
|
13
|
+
"cta": {
|
|
14
|
+
"url": "#",
|
|
15
|
+
"label": "See more",
|
|
16
|
+
"icon": "arrow-right",
|
|
17
|
+
"toggle": true,
|
|
18
|
+
"style": "link"
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
|
|
9
22
|
const FeatureContextDefault = forwardRef(({ style = "stack", title, text, icon, cta, ...rest }, ref) => (jsxs("div", { ...rest, ref: ref, className: classnames(`dsa-feature dsa-feature--${style === `stack`
|
|
10
23
|
? `stack dsa-feature--large`
|
|
11
24
|
: style === `besideSmall`
|
|
@@ -16,11 +29,11 @@ const FeatureContextDefault = forwardRef(({ style = "stack", title, text, icon,
|
|
|
16
29
|
? `intext dsa-feature--small`
|
|
17
30
|
: style === `centered`
|
|
18
31
|
? `centered dsa-feature--large`
|
|
19
|
-
: `${style}`}`), children: [jsxs("div", { className: "dsa-feature__header", children: [icon && (jsx(Icon, { className: "dsa-feature__icon", icon: icon, role: "presentation", "aria-hidden": true, focusable: false })), jsx("span", { className: "dsa-feature__title", children: title })] }), text || cta.style === "intext" ? (jsxs("p", { className: "dsa-feature__text", children: [text, cta.style === "intext" && cta.toggle ? (jsxs(Fragment, { children: [" ", " ", jsx(Link, { href: cta.url, children: cta.label ? cta.label : "See more" })] })) : ("")] })) : (""), cta.toggle && (cta.style === "link" || cta.style === "button") && (jsx("div", { className: "dsa-feature__cta", children: cta.style === "link" ? (jsxs(Link, { className: "dsa-feature__link", href: cta.url, children: [cta.label ? cta.label : "See more", jsx(Icon, { "aria-hidden": true, role: "presentation", focusable: false, icon: cta.icon || "arrow-right" })] })) : cta.style === "button" ? (jsx(Button, { className: "dsa-feature__button", size: "small", url: cta.url, label: cta.label ? cta.label : "See more" })) : ("") }))] })));
|
|
32
|
+
: `${style}`}`), children: [jsxs("div", { className: "dsa-feature__header", children: [icon && (jsx(Icon, { className: "dsa-feature__icon", icon: icon, role: "presentation", "aria-hidden": true, focusable: false })), jsx("span", { className: "dsa-feature__title", children: title })] }), text || cta.style === "intext" ? (jsxs("p", { className: "dsa-feature__text", children: [jsx(RichText, { text: text }), cta.style === "intext" && cta.toggle ? (jsxs(Fragment, { children: [" ", " ", jsx(Link, { href: cta.url, children: cta.label ? cta.label : "See more" })] })) : ("")] })) : (""), cta.toggle && (cta.style === "link" || cta.style === "button") && (jsx("div", { className: "dsa-feature__cta", children: cta.style === "link" ? (jsxs(Link, { className: "dsa-feature__link", href: cta.url, children: [cta.label ? cta.label : "See more", jsx(Icon, { "aria-hidden": true, role: "presentation", focusable: false, icon: cta.icon || "arrow-right" })] })) : cta.style === "button" ? (jsx(Button, { className: "dsa-feature__button", size: "small", url: cta.url, label: cta.label ? cta.label : "See more" })) : ("") }))] })));
|
|
20
33
|
const FeatureContext = createContext(FeatureContextDefault);
|
|
21
34
|
const Feature = forwardRef((props, ref) => {
|
|
22
35
|
const Component = useContext(FeatureContext);
|
|
23
|
-
return jsx(Component, { ...props, ref: ref });
|
|
36
|
+
return jsx(Component, { ...deepMergeDefaults(defaults, props), ref: ref });
|
|
24
37
|
});
|
|
25
38
|
Feature.displayName = "Feature";
|
|
26
39
|
|
|
@@ -47,7 +47,8 @@
|
|
|
47
47
|
}
|
|
48
48
|
.dsa-features .dsa-feature {
|
|
49
49
|
--dsa-feature_large__icon--size: calc(
|
|
50
|
-
var(--dsa-feature_small__icon--size) *
|
|
50
|
+
var(--dsa-feature_small__icon--size) *
|
|
51
|
+
var(--dsa-feature_large__icon--size-multiplier)
|
|
51
52
|
);
|
|
52
53
|
display: flex;
|
|
53
54
|
position: relative;
|
|
@@ -55,17 +56,34 @@
|
|
|
55
56
|
gap: var(--dsa-feature--gap);
|
|
56
57
|
}
|
|
57
58
|
.dsa-features .dsa-feature--large {
|
|
58
|
-
--dsa-feature__icon--size: var(
|
|
59
|
-
|
|
60
|
-
|
|
59
|
+
--dsa-feature__icon--size: var(
|
|
60
|
+
--dsa-feature_large__icon--size,
|
|
61
|
+
calc(var(--ks-font-size-copy-m) * 2.5)
|
|
62
|
+
);
|
|
63
|
+
--dsa-feature__icon--gap: var(
|
|
64
|
+
--dsa-feature_large__icon--gap,
|
|
65
|
+
var(--ks-spacing-xs)
|
|
66
|
+
);
|
|
67
|
+
--dsa-feature--gap: var(
|
|
68
|
+
--dsa-feature_large--gap,
|
|
69
|
+
var(--ks-spacing-stack-s)
|
|
70
|
+
);
|
|
61
71
|
}
|
|
62
72
|
.dsa-features .dsa-feature--small {
|
|
63
73
|
--dsa-feature__icon--size: var(
|
|
64
74
|
--dsa-feature_small__icon--size,
|
|
65
|
-
calc(
|
|
75
|
+
calc(
|
|
76
|
+
var(--ks-line-height-interface-m) * var(--ks-font-size-interface-m)
|
|
77
|
+
)
|
|
78
|
+
);
|
|
79
|
+
--dsa-feature__icon--gap: var(
|
|
80
|
+
--dsa-feature_small__icon--gap,
|
|
81
|
+
var(--ks-spacing-xs)
|
|
82
|
+
);
|
|
83
|
+
--dsa-feature--gap: var(
|
|
84
|
+
--dsa-feature_small--gap,
|
|
85
|
+
var(--ks-spacing-stack-xs)
|
|
66
86
|
);
|
|
67
|
-
--dsa-feature__icon--gap: var(--dsa-feature_small__icon--gap, var(--ks-spacing-xs));
|
|
68
|
-
--dsa-feature--gap: var(--dsa-feature_small--gap, var(--ks-spacing-stack-xs));
|
|
69
87
|
}
|
|
70
88
|
.dsa-features .dsa-feature--beside {
|
|
71
89
|
padding-left: calc(var(--dsa-feature__icon--size) + var(--dsa-feature__icon--gap));
|
|
@@ -3,10 +3,22 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
3
3
|
import { forwardRef, createElement, createContext, useContext } from 'react';
|
|
4
4
|
import classnames from 'classnames';
|
|
5
5
|
import { Feature } from '../feature/index.js';
|
|
6
|
+
import { d as deepMergeDefaults } from '../../helpers-12f48df8.js';
|
|
6
7
|
import '@kickstartds/base/lib/icon';
|
|
7
8
|
import '../button/index.js';
|
|
8
9
|
import '@kickstartds/base/lib/button';
|
|
9
10
|
import '@kickstartds/base/lib/link';
|
|
11
|
+
import '@kickstartds/base/lib/rich-text';
|
|
12
|
+
|
|
13
|
+
const defaults = {
|
|
14
|
+
"layout": "largeTiles",
|
|
15
|
+
"style": "stack",
|
|
16
|
+
"ctas": {
|
|
17
|
+
"toggle": true,
|
|
18
|
+
"style": "link"
|
|
19
|
+
},
|
|
20
|
+
"feature": []
|
|
21
|
+
};
|
|
10
22
|
|
|
11
23
|
const FeaturesContextDefault = forwardRef(({ layout = "largeTiles", ctas = {
|
|
12
24
|
style: "link",
|
|
@@ -28,7 +40,7 @@ const FeaturesContextDefault = forwardRef(({ layout = "largeTiles", ctas = {
|
|
|
28
40
|
const FeaturesContext = createContext(FeaturesContextDefault);
|
|
29
41
|
const Features = forwardRef((props, ref) => {
|
|
30
42
|
const Component = useContext(FeaturesContext);
|
|
31
|
-
return jsx(Component, { ...props, ref: ref });
|
|
43
|
+
return jsx(Component, { ...deepMergeDefaults(defaults, props), ref: ref });
|
|
32
44
|
});
|
|
33
45
|
Features.displayName = "Features";
|
|
34
46
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.dsa-footer {
|
|
2
2
|
--dsa-footer--background-color: var(--ks-background-color-default);
|
|
3
|
-
--dsa-footer--border-top:
|
|
3
|
+
--dsa-footer--border-top: 1px solid var(--ks-border-color-default);
|
|
4
4
|
--dsa-footer--max-width: var(--dsa-content--width_wide);
|
|
5
5
|
--dsa-footer--gap-vertical: var(--ks-spacing-stack-m);
|
|
6
6
|
--dsa-footer__byline--font: var(--ks-font-copy-xs);
|
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
--dsa-footer__links--gap: var(--ks-spacing-stack-s) var(--ks-spacing-inline-m);
|
|
9
9
|
--dsa-footer__link--font: var(--ks-font-interface-s);
|
|
10
10
|
--dsa-footer__link--font-weight: var(--dsa-link--font-weight);
|
|
11
|
-
--dsa-footer__link--color: var(--
|
|
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
|
]
|
|
@@ -4,13 +4,23 @@ import { jsx, jsxs } from 'react/jsx-runtime';
|
|
|
4
4
|
import classnames from 'classnames';
|
|
5
5
|
import { Link } from '@kickstartds/base/lib/link';
|
|
6
6
|
import { Logo } from '../logo/index.js';
|
|
7
|
+
import { d as deepMergeDefaults } from '../../helpers-12f48df8.js';
|
|
7
8
|
import '@kickstartds/base/lib/picture';
|
|
8
9
|
|
|
10
|
+
const defaults = {
|
|
11
|
+
"logo": {
|
|
12
|
+
"homepageHref": "/"
|
|
13
|
+
},
|
|
14
|
+
"byline": "© 2024 systemics Inc. All rights reserved.",
|
|
15
|
+
"inverted": false,
|
|
16
|
+
"navItems": []
|
|
17
|
+
};
|
|
18
|
+
|
|
9
19
|
const FooterContextDefault = forwardRef(({ byline, navItems, inverted, logo }, ref) => navItems && navItems.length > 0 ? (jsx("div", { className: classnames("dsa-footer"), "ks-inverted": inverted.toString(), ref: ref, children: jsxs("div", { className: "dsa-footer__content", children: [jsx(Logo, { ...logo, inverted: inverted }), byline && jsx("span", { className: "dsa-footer__byline", children: byline }), navItems.length > 0 ? (jsx("div", { className: "dsa-footer__links", children: navItems.map(({ label, active, ...linkProps }) => (createElement(Link, { ...linkProps, className: "dsa-footer__link", key: linkProps.url + label }, label))) })) : null] }) })) : null);
|
|
10
20
|
const FooterContext = createContext(FooterContextDefault);
|
|
11
21
|
const Footer = forwardRef((props, ref) => {
|
|
12
22
|
const Component = useContext(FooterContext);
|
|
13
|
-
return jsx(Component, { ...props, ref: ref });
|
|
23
|
+
return jsx(Component, { ...deepMergeDefaults(defaults, props), ref: ref });
|
|
14
24
|
});
|
|
15
25
|
Footer.displayName = "Footer";
|
|
16
26
|
|
|
@@ -3,6 +3,14 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
3
3
|
import { forwardRef, useMemo, createContext, useContext } from 'react';
|
|
4
4
|
import classnames from 'classnames';
|
|
5
5
|
import { TextMedia } from '@kickstartds/base/lib/text-media';
|
|
6
|
+
import { d as deepMergeDefaults } from '../../helpers-12f48df8.js';
|
|
7
|
+
|
|
8
|
+
const defaults = {
|
|
9
|
+
"images": [],
|
|
10
|
+
"layout": "smallTiles",
|
|
11
|
+
"aspectRatio": "unset",
|
|
12
|
+
"lightbox": false
|
|
13
|
+
};
|
|
6
14
|
|
|
7
15
|
const GalleryContextDefault = forwardRef(({ lightbox = false, layout = "smallTiles", aspectRatio = "square", images = [], ...rest }, ref) => {
|
|
8
16
|
const galleryId = useMemo(() => `gallery-${Date.now()}`, []);
|
|
@@ -34,7 +42,7 @@ const GalleryContextDefault = forwardRef(({ lightbox = false, layout = "smallTil
|
|
|
34
42
|
const GalleryContext = createContext(GalleryContextDefault);
|
|
35
43
|
const Gallery = forwardRef((props, ref) => {
|
|
36
44
|
const Component = useContext(GalleryContext);
|
|
37
|
-
return jsx(Component, { ...props, ref: ref });
|
|
45
|
+
return jsx(Component, { ...deepMergeDefaults(defaults, props), ref: ref });
|
|
38
46
|
});
|
|
39
47
|
Gallery.displayName = "Gallery";
|
|
40
48
|
|
|
@@ -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
|
]
|
|
@@ -4,6 +4,7 @@ import classnames from 'classnames';
|
|
|
4
4
|
import { forwardRef, createContext, useContext } from 'react';
|
|
5
5
|
import { NavMain } from '../nav-main/index.js';
|
|
6
6
|
import { Logo } from '../logo/index.js';
|
|
7
|
+
import { d as deepMergeDefaults } from '../../helpers-12f48df8.js';
|
|
7
8
|
import '../nav-main/js/NavToggle.client.js';
|
|
8
9
|
import '@kickstartds/core/lib/component';
|
|
9
10
|
import '../nav-main/js/navMainEvents.client.js';
|
|
@@ -17,6 +18,17 @@ import '../nav-dropdown/index.js';
|
|
|
17
18
|
import '../nav-flyout/index.js';
|
|
18
19
|
import '@kickstartds/base/lib/picture';
|
|
19
20
|
|
|
21
|
+
const defaults = {
|
|
22
|
+
"logo": {
|
|
23
|
+
"homepageHref": "/"
|
|
24
|
+
},
|
|
25
|
+
"flyoutInverted": false,
|
|
26
|
+
"dropdownInverted": false,
|
|
27
|
+
"floating": false,
|
|
28
|
+
"inverted": false,
|
|
29
|
+
"navItems": []
|
|
30
|
+
};
|
|
31
|
+
|
|
20
32
|
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
33
|
...logo,
|
|
22
34
|
inverted: flyoutInverted,
|
|
@@ -24,7 +36,7 @@ const HeaderContextDefault = forwardRef(({ logo, floating, inverted = false, fly
|
|
|
24
36
|
const HeaderContext = createContext(HeaderContextDefault);
|
|
25
37
|
const Header = forwardRef((props, ref) => {
|
|
26
38
|
const Component = useContext(HeaderContext);
|
|
27
|
-
return jsx(Component, { ...props, ref: ref });
|
|
39
|
+
return jsx(Component, { ...deepMergeDefaults(defaults, props), ref: ref });
|
|
28
40
|
});
|
|
29
41
|
Header.displayName = "Header";
|
|
30
42
|
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
--dsa-headline--color: var(--ks-text-color-display);
|
|
3
3
|
--dsa-headline--font-weight: var(--ks-font-weight-semi-bold);
|
|
4
4
|
--dsa-headline--text-transform: none;
|
|
5
|
-
--dsa-headline--gap: 0.
|
|
5
|
+
--dsa-headline--gap: 0.35em;
|
|
6
6
|
--dsa-headline--space-after_large: var(--ks-spacing-stack-l);
|
|
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;
|
|
@@ -64,48 +64,6 @@
|
|
|
64
64
|
--headline--space-after_small: var(--dsa-headline_h1--space-after_small);
|
|
65
65
|
--headline--space-after_large: var(--dsa-headline_h1--space-after_large);
|
|
66
66
|
}
|
|
67
|
-
.dsa-headline--h1 .dsa-headline__headline:not(:last-child),
|
|
68
|
-
.dsa-headline--h1 .dsa-headline__headline:only-child {
|
|
69
|
-
display: flex;
|
|
70
|
-
flex-direction: column;
|
|
71
|
-
}
|
|
72
|
-
.dsa-headline--h1 .dsa-headline__headline:not(:last-child):after,
|
|
73
|
-
.dsa-headline--h1 .dsa-headline__headline:only-child:after {
|
|
74
|
-
content: "";
|
|
75
|
-
font-size: inherit;
|
|
76
|
-
background-color: var(--ks-color-primary);
|
|
77
|
-
height: 3px;
|
|
78
|
-
width: 17%;
|
|
79
|
-
min-width: 5rem;
|
|
80
|
-
max-width: 10rem;
|
|
81
|
-
margin-top: var(--dsa-headline--gap);
|
|
82
|
-
}
|
|
83
|
-
.dsa-headline--h1 .dsa-headline__headline:not(:first-child) {
|
|
84
|
-
display: flex;
|
|
85
|
-
flex-direction: column;
|
|
86
|
-
}
|
|
87
|
-
.dsa-headline--h1 .dsa-headline__headline:not(:first-child):before {
|
|
88
|
-
content: "";
|
|
89
|
-
font-size: inherit;
|
|
90
|
-
background-color: var(--ks-color-primary);
|
|
91
|
-
height: 3px;
|
|
92
|
-
width: 30%;
|
|
93
|
-
min-width: 3rem;
|
|
94
|
-
max-width: 4rem;
|
|
95
|
-
margin-bottom: var(--dsa-headline--gap);
|
|
96
|
-
}
|
|
97
|
-
.dsa-headline--h1.dsa-headline--align-center .dsa-headline__headline,
|
|
98
|
-
.dsa-headline--h1.dsa-headline--align-center .dsa-headline__subheadline {
|
|
99
|
-
align-items: center;
|
|
100
|
-
}
|
|
101
|
-
.dsa-headline--h1.dsa-headline--align-left .dsa-headline__headline,
|
|
102
|
-
.dsa-headline--h1.dsa-headline--align-left .dsa-headline__subheadline {
|
|
103
|
-
align-items: flex-start;
|
|
104
|
-
}
|
|
105
|
-
.dsa-headline--h1.dsa-headline--align-right .dsa-headline__headline,
|
|
106
|
-
.dsa-headline--h1.dsa-headline--align-right .dsa-headline__subheadline {
|
|
107
|
-
align-items: flex-end;
|
|
108
|
-
}
|
|
109
67
|
.dsa-headline--h2 {
|
|
110
68
|
font: var(--dsa-headline_h2--font, var(--ks-font-display-xl));
|
|
111
69
|
--subheadline--font-size: var(--dsa-headline_h2__subheadline--font-size, 50%);
|
|
@@ -32,11 +32,6 @@
|
|
|
32
32
|
var(--ks-color-primary-alpha-5) 0%,
|
|
33
33
|
var(--ks-color-bg-alpha-4) 100%
|
|
34
34
|
);
|
|
35
|
-
--dsa-hero_corner__overlay--background: linear-gradient(
|
|
36
|
-
40deg,
|
|
37
|
-
var(--ks-background-color-default) 15%,
|
|
38
|
-
transparent 50%
|
|
39
|
-
);
|
|
40
35
|
--dsa-hero_offset__textbox--max-width: var(--dsa-content--width_default);
|
|
41
36
|
--dsa-hero_offset__textbox--offset: -10%;
|
|
42
37
|
--dsa-hero_offset__overlay--background: linear-gradient(
|
|
@@ -133,12 +128,6 @@
|
|
|
133
128
|
.c-visual.dsa-hero .dsa-headline .dsa-headline__subheadline {
|
|
134
129
|
color: var(--dsa-hero__subheadline--color, var(--dsa-headline__subheadline--color, var(--ks-text-color-primary)));
|
|
135
130
|
}
|
|
136
|
-
.c-visual.dsa-hero--content-corner {
|
|
137
|
-
--c-visual_overlay--background: var(
|
|
138
|
-
--dsa-hero_corner__overlay--background,
|
|
139
|
-
linear-gradient(40deg, var(--ks-background-color-default) 15%, transparent 50%)
|
|
140
|
-
);
|
|
141
|
-
}
|
|
142
131
|
.c-visual.dsa-hero .c-button-group {
|
|
143
132
|
--c-button-group--vertical-gutter: var(--ks-spacing-stack-m);
|
|
144
133
|
--c-button-group--horizontal-gutter: var(--ks-spacing-inline-m);
|
|
@@ -6,8 +6,24 @@ import classnames from 'classnames';
|
|
|
6
6
|
import { Container } from '@kickstartds/core/lib/container';
|
|
7
7
|
import { ButtonContext } from '@kickstartds/base/lib/button';
|
|
8
8
|
import { useButtonGroup } from '../button-group/index.js';
|
|
9
|
+
import { d as deepMergeDefaults } from '../../helpers-12f48df8.js';
|
|
9
10
|
import '@kickstartds/base/lib/button-group';
|
|
10
11
|
|
|
12
|
+
const defaults = {
|
|
13
|
+
"highlightText": false,
|
|
14
|
+
"colorNeutral": false,
|
|
15
|
+
"height": "default",
|
|
16
|
+
"textbox": true,
|
|
17
|
+
"invertText": false,
|
|
18
|
+
"buttons": [],
|
|
19
|
+
"skipButton": false,
|
|
20
|
+
"overlay": false,
|
|
21
|
+
"image": {
|
|
22
|
+
"indent": "none"
|
|
23
|
+
},
|
|
24
|
+
"textPosition": "below"
|
|
25
|
+
};
|
|
26
|
+
|
|
11
27
|
const HeroContextDefault = forwardRef(({ headline, sub, height, text, highlightText, textPosition = "center", colorNeutral, image, overlay, textbox, invertText = false, className, buttons = [], skipButton = false, ...rest }, ref) => {
|
|
12
28
|
const ButtonGroup = useButtonGroup();
|
|
13
29
|
return (jsx(ButtonContext.Provider
|
|
@@ -68,7 +84,7 @@ const HeroContextDefault = forwardRef(({ headline, sub, height, text, highlightT
|
|
|
68
84
|
const HeroContext = createContext(HeroContextDefault);
|
|
69
85
|
const Hero = forwardRef((props, ref) => {
|
|
70
86
|
const Component = useContext(HeroContext);
|
|
71
|
-
return jsx(Component, { ...props, ref: ref });
|
|
87
|
+
return jsx(Component, { ...deepMergeDefaults(defaults, props), ref: ref });
|
|
72
88
|
});
|
|
73
89
|
Hero.displayName = "Hero";
|
|
74
90
|
|
|
@@ -5,8 +5,15 @@ import classnames from 'classnames';
|
|
|
5
5
|
import { Button } from '@kickstartds/base/lib/button';
|
|
6
6
|
import { RichText } from '@kickstartds/base/lib/rich-text';
|
|
7
7
|
import './Html.client.js';
|
|
8
|
+
import { d as deepMergeDefaults } from '../../helpers-12f48df8.js';
|
|
8
9
|
import '@kickstartds/core/lib/component';
|
|
9
10
|
|
|
11
|
+
const defaults = {
|
|
12
|
+
"consent": false,
|
|
13
|
+
"consentAspectRatio": "16:9",
|
|
14
|
+
"inverted": false
|
|
15
|
+
};
|
|
16
|
+
|
|
10
17
|
const HtmlContextDefault = forwardRef(({ html, consent, consentText, consentBackgroundImage, consentButtonLabel, consentAspectRatio = "16:9", inverted, className, component = "dsa.html", ...props }, ref) => {
|
|
11
18
|
return (jsxs("div", { ref: ref, className: classnames("dsa-html", className), "ks-component": component, "ks-inverted": inverted ? "true" : undefined, ...props, children: [jsx("template", { dangerouslySetInnerHTML: { __html: html } }), consent && (jsxs("div", { style: {
|
|
12
19
|
backgroundImage: consentBackgroundImage
|
|
@@ -22,7 +29,7 @@ const HtmlContextDefault = forwardRef(({ html, consent, consentText, consentBack
|
|
|
22
29
|
const HtmlContext = createContext(HtmlContextDefault);
|
|
23
30
|
const Html = forwardRef((props, ref) => {
|
|
24
31
|
const Component = useContext(HtmlContext);
|
|
25
|
-
return jsx(Component, { ...props, ref: ref });
|
|
32
|
+
return jsx(Component, { ...deepMergeDefaults(defaults, props), ref: ref });
|
|
26
33
|
});
|
|
27
34
|
Html.displayName = "Html";
|
|
28
35
|
|
|
@@ -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-00ddee3a.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>>;
|
|
@@ -5,8 +5,21 @@ import { Storytelling } from '@kickstartds/content/lib/storytelling';
|
|
|
5
5
|
import { ButtonContext } from '@kickstartds/base/lib/button';
|
|
6
6
|
import classnames from 'classnames';
|
|
7
7
|
import { useButtonGroup } from '../button-group/index.js';
|
|
8
|
+
import { d as deepMergeDefaults } from '../../helpers-12f48df8.js';
|
|
8
9
|
import '@kickstartds/base/lib/button-group';
|
|
9
10
|
|
|
11
|
+
const defaults = {
|
|
12
|
+
"largeHeadline": false,
|
|
13
|
+
"layout": "imageLeft",
|
|
14
|
+
"padding": false,
|
|
15
|
+
"buttons": [],
|
|
16
|
+
"image": {
|
|
17
|
+
"aspectRatio": "unset",
|
|
18
|
+
"vAlign": "top"
|
|
19
|
+
},
|
|
20
|
+
"textAlign": "left"
|
|
21
|
+
};
|
|
22
|
+
|
|
10
23
|
const ImageStoryContextDefault = forwardRef(({ headline, largeHeadline = false, sub, image, padding = false, textAlign = "left", layout = "textLeft", buttons = [], text, ...rest }, ref) => {
|
|
11
24
|
const ButtonGroup = useButtonGroup();
|
|
12
25
|
return (jsx(ButtonContext.Provider
|
|
@@ -46,7 +59,7 @@ const ImageStoryContextDefault = forwardRef(({ headline, largeHeadline = false,
|
|
|
46
59
|
const ImageStoryContext = createContext(ImageStoryContextDefault);
|
|
47
60
|
const ImageStory = forwardRef((props, ref) => {
|
|
48
61
|
const Component = useContext(ImageStoryContext);
|
|
49
|
-
return jsx(Component, { ...props, ref: ref });
|
|
62
|
+
return jsx(Component, { ...deepMergeDefaults(defaults, props), ref: ref });
|
|
50
63
|
});
|
|
51
64
|
ImageStory.displayName = "ImageStory";
|
|
52
65
|
|