@kickstartds/ds-agency-premium 1.6.71--canary.1995.06395ed.0 → 1.6.71--canary.45.1999.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-ca3bc416.d.ts → BlogOverviewProps-9f207f1c.d.ts} +1 -1
- package/dist/{BlogPostProps-ca3bc416.d.ts → BlogPostProps-6b3cff22.d.ts} +1 -1
- package/dist/BusinessCardProps-e10e7b62.d.ts +101 -0
- package/dist/ContentNavProps-0e282a9f.d.ts +36 -0
- package/dist/DownloadsProps-a49a977e.d.ts +34 -0
- package/dist/{PageProps-ca3bc416.d.ts → PageProps-aa29c554.d.ts} +1 -1
- package/dist/{SectionProps-ca3bc416.d.ts → SectionProps-b9fd1bfd.d.ts} +8 -3
- package/dist/SplitEvenProps-789f8508.d.ts +65 -0
- package/dist/SplitWeightedProps-789f8508.d.ts +95 -0
- package/dist/components/blog-overview/blog-overview.schema.dereffed.json +11756 -4
- package/dist/components/blog-overview/index.d.ts +1 -1
- package/dist/components/blog-post/blog-post.schema.dereffed.json +11756 -4
- package/dist/components/blog-post/index.d.ts +1 -1
- package/dist/components/blog-post/index.js +1 -1
- package/dist/components/breadcrumb/index.js +6 -1
- package/dist/components/business-card/business-card.css +1 -11
- package/dist/components/business-card/index.d.ts +1 -101
- package/dist/components/business-card/index.js +11 -1
- package/dist/components/button/button.css +2 -2
- package/dist/components/button/index.js +19 -9
- package/dist/components/button-group/index.js +11 -2
- package/dist/components/content-nav/index.d.ts +1 -36
- package/dist/components/content-nav/index.js +8 -1
- package/dist/components/downloads/index.d.ts +1 -34
- package/dist/components/downloads/index.js +6 -1
- package/dist/components/event-appointment/index.js +8 -1
- package/dist/components/event-detail/index.js +1 -1
- package/dist/components/event-filter/index.js +28 -1
- package/dist/components/event-header/index.js +6 -2
- package/dist/components/event-latest/index.js +6 -1
- package/dist/components/event-latest-teaser/index.js +6 -1
- package/dist/components/event-list-teaser/index.js +8 -1
- package/dist/components/event-location/index.js +8 -1
- package/dist/components/event-login/index.js +11 -1
- package/dist/components/event-registration/index.js +14 -1
- package/dist/components/footer/footer.css +3 -3
- 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 +2 -44
- package/dist/components/headline/index.js +13 -4
- package/dist/components/hero/hero.css +0 -22
- 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 +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/index.d.ts +1 -1
- package/dist/components/page/page.schema.dereffed.json +11756 -4
- package/dist/components/page-wrapper/index.js +1 -7
- package/dist/components/page-wrapper/tokens.css +249 -249
- package/dist/components/pagination/index.js +13 -1
- package/dist/components/presets.json +30 -46
- package/dist/components/providers/index.js +1 -1
- package/dist/components/search-bar/index.js +4 -1
- package/dist/components/search-filter/index.js +6 -1
- package/dist/components/search-result/index.js +6 -1
- package/dist/components/section/index.d.ts +1 -1
- package/dist/components/section/index.js +1 -3
- package/dist/components/section/section.css +19 -63
- package/dist/components/section/section.schema.dereffed.json +11756 -4
- package/dist/components/section/section.schema.json +16 -8
- package/dist/components/settings/settings.schema.dereffed.json +24 -40
- package/dist/components/slider/index.d.ts +3 -1
- package/dist/components/slider/index.js +19 -3
- package/dist/components/split-even/index.d.ts +9 -71
- package/dist/components/split-even/index.js +21 -2
- package/dist/components/split-even/split-even.css +1 -1
- package/dist/components/split-weighted/index.d.ts +7 -99
- package/dist/components/split-weighted/index.js +33 -4
- package/dist/components/stats/stats.css +4 -4
- package/dist/components/teaser-card/teaser-card.css +14 -14
- package/dist/global.css +2 -2
- 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 +249 -249
- package/dist/tokens/tokens.js +376 -377
- 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/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/car-yellow.webp +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/static/guenther/kia-header.webp +0 -0
- package/dist/static/guenther/locations/farmsen.png +0 -0
- package/dist/static/guenther/locations/hamm.png +0 -0
- package/dist/static/guenther/locations/poppenbuettel.jpg +0 -0
- package/dist/static/guenther/nissan/19TDIEULHD_JUKE_CA_012_pace706.jpg.ximg_.l_12_h.smart_.jpg +0 -0
- package/dist/static/guenther/nissan/19TDIEULHD_JUKE_P13A_CA_019C_pace705.jpg.ximg_.l_12_h.smart_.jpg +0 -0
- package/dist/static/guenther/nissan/22NISSCA_JUKE_Trunk_Entry-Guard_pace704.jpg.ximg_.l_12_h.smart_.jpg +0 -0
- package/dist/static/guenther/nissan/22NISSCA_JUKE_Trunk_Spoiler_pace703.jpg.ximg_.l_6_h.smart_.jpg +0 -0
- package/dist/static/guenther/nissan/24720-slide-juke1-mobil.jpg +0 -0
- package/dist/static/guenther/nissan/24720-slide-juke1.jpg +0 -0
- package/dist/static/guenther/nissan/24TDIEULHD_JUKE_MC_001-pace203.jpg.ximg_.l_12_h.smart_.jpg +0 -0
- package/dist/static/guenther/nissan/24TDIEULHD_JUKE_MC_006-pace204.jpg.ximg_.l_12_h.smart_.jpg +0 -0
- package/dist/static/guenther/nissan/24TDIEULHD_JUKE_MC_009-pace205.jpg.ximg_.l_12_h.smart_.jpg +0 -0
- package/dist/static/guenther/nissan/24TDIEULHD_JUKE_MC_010-pace206.jpg.ximg_.l_12_m.smart_.jpg +0 -0
- package/dist/static/guenther/nissan/24TDIEULHD_JUKE_MC_012-pace305.jpg.ximg_.l_12_h.smart_.jpg +0 -0
- package/dist/static/guenther/nissan/24TDIEULHD_JUKE_MC_015-pace304.jpg.ximg_.l_12_h.smart_.jpg +0 -0
- package/dist/static/guenther/nissan/24TDIEULHD_JUKE_MC_016-pace306.jpg.ximg_.l_12_h.smart_.jpg +0 -0
- package/dist/static/guenther/nissan/24TDIEULHD_JUKE_MC_017-pace405.jpg.ximg_.l_6_h.smart_.jpg +0 -0
- package/dist/static/guenther/nissan/24TDIEULHD_JUKE_MC_021-pace302.jpg.ximg_.l_12_h.smart_.jpg +0 -0
- package/dist/static/guenther/nissan/24TDIEULHD_JUKE_MC_023-pace303.jpg.ximg_.l_12_h.smart_.jpg +0 -0
- package/dist/static/guenther/nissan/24TDIEULHD_JUKE_MC_025-pace308.jpg.ximg_.l_6_h.smart_.jpg +0 -0
- package/dist/static/guenther/nissan/24TDIEULHD_JUKE_MC_031-pace404.jpg.ximg_.l_6_h.smart_.jpg +0 -0
- package/dist/static/guenther/nissan/24TDIEULHD_JUKE_MC_Lifestyle_pace-702.jpg.ximg_.l_12_h.smart_-800x533.jpg +0 -0
- package/dist/static/guenther/nissan/24TDIEURHD_JUKE_MC_019-pace307.jpg.ximg_.l_6_h.smart_.jpg +0 -0
- package/dist/static/guenther/nissan/24TDIEU_JUKE_Dimension-illustration-pace502.jpg.ximg_.l_4_h.smart_.jpg +0 -0
- package/dist/static/guenther/nissan/24TDIEU_JUKE_Dimension-illustration-pace503.jpg.ximg_.l_4_h.smart_-400x267.jpg +0 -0
- package/dist/static/guenther/nissan/24TDIEU_JUKE_Dimension-illustration-pace503.jpg.ximg_.l_4_h.smart_.jpg +0 -0
- package/dist/static/guenther/nissan/ACC_JUKE_mirrorcap_pace118-d.jpg.ximg_.m_12_h.smart_.jpg +0 -0
- package/dist/static/guenther/nissan/junke-abmessungen-600x400.jpg +0 -0
- package/dist/static/guenther/visual.png +0 -0
- /package/dist/{ImageStoryProps-00ddee3a.d.ts → ImageStoryProps-e853e1e7.d.ts} +0 -0
|
@@ -16,14 +16,7 @@
|
|
|
16
16
|
"type": "string",
|
|
17
17
|
"title": "Style",
|
|
18
18
|
"description": "Style of background",
|
|
19
|
-
"enum": [
|
|
20
|
-
"default",
|
|
21
|
-
"framed",
|
|
22
|
-
"shine-left",
|
|
23
|
-
"shine-right",
|
|
24
|
-
"carbon",
|
|
25
|
-
"stripe"
|
|
26
|
-
],
|
|
19
|
+
"enum": ["default", "framed", "deko"],
|
|
27
20
|
"default": "default"
|
|
28
21
|
},
|
|
29
22
|
"backgroundColor": {
|
|
@@ -174,12 +167,21 @@
|
|
|
174
167
|
"description": "Allowed components for content",
|
|
175
168
|
"items": {
|
|
176
169
|
"anyOf": [
|
|
170
|
+
{
|
|
171
|
+
"$ref": "http://schema.mydesignsystem.com/business-card.schema.json"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"$ref": "http://schema.mydesignsystem.com/content-nav.schema.json"
|
|
175
|
+
},
|
|
177
176
|
{
|
|
178
177
|
"$ref": "http://schema.mydesignsystem.com/cta.schema.json"
|
|
179
178
|
},
|
|
180
179
|
{
|
|
181
180
|
"$ref": "http://schema.mydesignsystem.com/divider.schema.json"
|
|
182
181
|
},
|
|
182
|
+
{
|
|
183
|
+
"$ref": "http://schema.mydesignsystem.com/downloads.schema.json"
|
|
184
|
+
},
|
|
183
185
|
{
|
|
184
186
|
"$ref": "http://schema.mydesignsystem.com/faq.schema.json"
|
|
185
187
|
},
|
|
@@ -210,6 +212,12 @@
|
|
|
210
212
|
{
|
|
211
213
|
"$ref": "http://schema.mydesignsystem.com/slider.schema.json"
|
|
212
214
|
},
|
|
215
|
+
{
|
|
216
|
+
"$ref": "http://schema.mydesignsystem.com/split-even.schema.json"
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"$ref": "http://schema.mydesignsystem.com/split-weighted.schema.json"
|
|
220
|
+
},
|
|
213
221
|
{
|
|
214
222
|
"$ref": "http://schema.mydesignsystem.com/stats.schema.json"
|
|
215
223
|
},
|
|
@@ -132,51 +132,43 @@
|
|
|
132
132
|
"examples": [
|
|
133
133
|
[
|
|
134
134
|
{
|
|
135
|
-
"label": "
|
|
135
|
+
"label": "Active Item",
|
|
136
136
|
"url": "#",
|
|
137
137
|
"active": true
|
|
138
138
|
},
|
|
139
139
|
{
|
|
140
|
-
"label": "
|
|
140
|
+
"label": "Navigation Item",
|
|
141
|
+
"url": "#"
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"label": "Dropdown",
|
|
141
145
|
"url": "#",
|
|
142
146
|
"items": [
|
|
143
147
|
{
|
|
144
|
-
"label": "
|
|
148
|
+
"label": "Level 2 Item",
|
|
145
149
|
"url": "#"
|
|
146
150
|
},
|
|
147
151
|
{
|
|
148
|
-
"label": "
|
|
152
|
+
"label": "Active Item",
|
|
149
153
|
"active": true,
|
|
150
154
|
"url": "#"
|
|
151
155
|
},
|
|
152
156
|
{
|
|
153
|
-
"label": "
|
|
157
|
+
"label": "An Item with a longer Label",
|
|
154
158
|
"url": "#"
|
|
155
159
|
},
|
|
156
160
|
{
|
|
157
|
-
"label": "
|
|
161
|
+
"label": "And One last one",
|
|
158
162
|
"url": "#"
|
|
159
163
|
}
|
|
160
164
|
]
|
|
161
165
|
},
|
|
162
166
|
{
|
|
163
|
-
"label": "
|
|
164
|
-
"url": "#"
|
|
165
|
-
},
|
|
166
|
-
{
|
|
167
|
-
"label": "Bonusprogramm",
|
|
168
|
-
"url": "#"
|
|
169
|
-
},
|
|
170
|
-
{
|
|
171
|
-
"label": "News",
|
|
172
|
-
"url": "#"
|
|
173
|
-
},
|
|
174
|
-
{
|
|
175
|
-
"label": "Jobs",
|
|
167
|
+
"label": "One more Item",
|
|
176
168
|
"url": "#"
|
|
177
169
|
},
|
|
178
170
|
{
|
|
179
|
-
"label": "
|
|
171
|
+
"label": "Last Item",
|
|
180
172
|
"url": "#"
|
|
181
173
|
}
|
|
182
174
|
]
|
|
@@ -294,51 +286,43 @@
|
|
|
294
286
|
"examples": [
|
|
295
287
|
[
|
|
296
288
|
{
|
|
297
|
-
"label": "
|
|
289
|
+
"label": "Active Item",
|
|
298
290
|
"url": "#",
|
|
299
291
|
"active": true
|
|
300
292
|
},
|
|
301
293
|
{
|
|
302
|
-
"label": "
|
|
294
|
+
"label": "Navigation Item",
|
|
295
|
+
"url": "#"
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
"label": "Dropdown",
|
|
303
299
|
"url": "#",
|
|
304
300
|
"items": [
|
|
305
301
|
{
|
|
306
|
-
"label": "
|
|
302
|
+
"label": "Level 2 Item",
|
|
307
303
|
"url": "#"
|
|
308
304
|
},
|
|
309
305
|
{
|
|
310
|
-
"label": "
|
|
306
|
+
"label": "Active Item",
|
|
311
307
|
"active": true,
|
|
312
308
|
"url": "#"
|
|
313
309
|
},
|
|
314
310
|
{
|
|
315
|
-
"label": "
|
|
311
|
+
"label": "An Item with a longer Label",
|
|
316
312
|
"url": "#"
|
|
317
313
|
},
|
|
318
314
|
{
|
|
319
|
-
"label": "
|
|
315
|
+
"label": "And One last one",
|
|
320
316
|
"url": "#"
|
|
321
317
|
}
|
|
322
318
|
]
|
|
323
319
|
},
|
|
324
320
|
{
|
|
325
|
-
"label": "
|
|
326
|
-
"url": "#"
|
|
327
|
-
},
|
|
328
|
-
{
|
|
329
|
-
"label": "Bonusprogramm",
|
|
330
|
-
"url": "#"
|
|
331
|
-
},
|
|
332
|
-
{
|
|
333
|
-
"label": "News",
|
|
334
|
-
"url": "#"
|
|
335
|
-
},
|
|
336
|
-
{
|
|
337
|
-
"label": "Jobs",
|
|
321
|
+
"label": "One more Item",
|
|
338
322
|
"url": "#"
|
|
339
323
|
},
|
|
340
324
|
{
|
|
341
|
-
"label": "
|
|
325
|
+
"label": "Last Item",
|
|
342
326
|
"url": "#"
|
|
343
327
|
}
|
|
344
328
|
]
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { HTMLAttributes } from "react";
|
|
3
3
|
import { SliderProps } from "../../SliderProps-789f8508.js";
|
|
4
|
+
declare const SliderContextDefault: import("react").ForwardRefExoticComponent<SliderProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
|
+
declare const SliderContext: import("react").Context<import("react").ForwardRefExoticComponent<SliderProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>>;
|
|
4
6
|
declare const Slider: import("react").ForwardRefExoticComponent<SliderProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
7
|
export type { SliderProps };
|
|
6
|
-
export { Slider };
|
|
8
|
+
export { SliderContextDefault, SliderContext, Slider };
|
|
@@ -1,9 +1,25 @@
|
|
|
1
1
|
import "./slider.css";
|
|
2
2
|
import { jsx } from 'react/jsx-runtime';
|
|
3
|
-
import { forwardRef } from 'react';
|
|
3
|
+
import { forwardRef, createContext, useContext } from 'react';
|
|
4
4
|
import classnames from 'classnames';
|
|
5
5
|
import { Slider as Slider$1 } from '@kickstartds/content/lib/slider';
|
|
6
|
+
import { d as deepMergeDefaults } from '../../helpers-12f48df8.js';
|
|
6
7
|
|
|
7
|
-
const
|
|
8
|
+
const defaults = {
|
|
9
|
+
"autoplay": false,
|
|
10
|
+
"teaseNeighbours": false,
|
|
11
|
+
"equalHeight": true,
|
|
12
|
+
"gap": 0,
|
|
13
|
+
"variant": "carousel",
|
|
14
|
+
"components": []
|
|
15
|
+
};
|
|
8
16
|
|
|
9
|
-
|
|
17
|
+
const SliderContextDefault = forwardRef(({ gap, variant, autoplay, arrows, teaseNeighbours, equalHeight, children, className, ...props }, ref) => (jsx(Slider$1, { className: classnames(`dsa-slider`, className), gap: gap, type: variant, arrows: arrows, autoplay: autoplay, teaseNeighbours: teaseNeighbours, equalHeight: equalHeight, ...props, ref: ref, children: children })));
|
|
18
|
+
const SliderContext = createContext(SliderContextDefault);
|
|
19
|
+
const Slider = forwardRef((props, ref) => {
|
|
20
|
+
const Component = useContext(SliderContext);
|
|
21
|
+
return jsx(Component, { ...deepMergeDefaults(defaults, props), ref: ref });
|
|
22
|
+
});
|
|
23
|
+
Slider.displayName = "Slider";
|
|
24
|
+
|
|
25
|
+
export { Slider, SliderContext, SliderContextDefault };
|
|
@@ -1,74 +1,12 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* This file was automatically generated by json-schema-to-typescript.
|
|
6
|
-
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
7
|
-
* and run json-schema-to-typescript to regenerate this file.
|
|
8
|
-
*/
|
|
9
|
-
import { CtaProps } from "../../CtaProps-789f8508.js";
|
|
10
|
-
import { DividerProps } from "../../DividerProps-2ef31901.js";
|
|
11
|
-
import { FaqProps } from "../../FaqProps-ad618cd5.js";
|
|
12
|
-
import { FeaturesProps } from "../../FeaturesProps-a9041d97.js";
|
|
13
|
-
import { GalleryProps } from "../../GalleryProps-76e7de44.js";
|
|
14
|
-
import { HeroProps } from "../../HeroProps-fec6b267.js";
|
|
15
|
-
import { HtmlProps } from "../../HtmlProps-9d091769.js";
|
|
16
|
-
import { ImageStoryProps } from "../../ImageStoryProps-00ddee3a.js";
|
|
17
|
-
import { ImageTextProps } from "../../ImageTextProps-9286cca4.js";
|
|
18
|
-
import { LogosProps } from "../../LogosProps-f9474fe2.js";
|
|
19
|
-
import { MosaicProps } from "../../MosaicProps-d52c7151.js";
|
|
20
|
-
import { SliderProps } from "../../SliderProps-789f8508.js";
|
|
21
|
-
import { StatsProps } from "../../StatsProps-bf5ef578.js";
|
|
22
|
-
import { TeaserCardProps } from "../../TeaserCardProps-994cb119.js";
|
|
23
|
-
import { TestimonialsProps } from "../../TestimonialsProps-e344f597.js";
|
|
24
|
-
import { TextProps } from "../../TextProps-a23170d2.js";
|
|
25
|
-
import { VideoCurtainProps } from "../../VideoCurtainProps-a2c0cc7f.js";
|
|
26
|
-
/**
|
|
27
|
-
* Sets the minimum width for each half of the split layout
|
|
28
|
-
*/
|
|
29
|
-
type ContentMinimumWidth = "narrow" | "medium" | "wide";
|
|
30
|
-
/**
|
|
31
|
-
* Sets the space between the content inside the two halves of the split layout
|
|
32
|
-
*/
|
|
33
|
-
type ContentGutter = "small" | "default" | "large" | "none";
|
|
34
|
-
/**
|
|
35
|
-
* Reverses the order of the sections on mobile devices
|
|
36
|
-
*/
|
|
37
|
-
type MobileReverse = boolean;
|
|
38
|
-
/**
|
|
39
|
-
* Aligns the content vertically within the sections
|
|
40
|
-
*/
|
|
41
|
-
type VerticalAlignment = "top" | "center" | "bottom" | "sticky";
|
|
42
|
-
/**
|
|
43
|
-
* Sets the vertical space between the content of the split layout
|
|
44
|
-
*/
|
|
45
|
-
type VerticalGutter = "large" | "default" | "small" | "none";
|
|
46
|
-
/**
|
|
47
|
-
* Sets the horizontal space between the content of the split layout
|
|
48
|
-
*/
|
|
49
|
-
type HorizontalGutter = "large" | "default" | "small" | "none";
|
|
50
|
-
/**
|
|
51
|
-
* Allowed components for the first half of the split layout
|
|
52
|
-
*/
|
|
53
|
-
type First = (CtaProps | DividerProps | FaqProps | FeaturesProps | GalleryProps | HeroProps | HtmlProps | ImageStoryProps | ImageTextProps | LogosProps | MosaicProps | SliderProps | StatsProps | TeaserCardProps | TestimonialsProps | TextProps | VideoCurtainProps)[];
|
|
54
|
-
/**
|
|
55
|
-
* Allowed components for the second half of the split layout
|
|
56
|
-
*/
|
|
57
|
-
type Second = (CtaProps | DividerProps | FaqProps | FeaturesProps | GalleryProps | HeroProps | HtmlProps | ImageStoryProps | ImageTextProps | LogosProps | MosaicProps | SliderProps | StatsProps | TeaserCardProps | TestimonialsProps | TextProps | VideoCurtainProps)[];
|
|
58
|
-
interface SplitEvenProps {
|
|
59
|
-
contentMinWidth?: ContentMinimumWidth;
|
|
60
|
-
contentGutter?: ContentGutter;
|
|
61
|
-
mobileReverse?: MobileReverse;
|
|
62
|
-
verticalAlign?: VerticalAlignment;
|
|
63
|
-
verticalGutter?: VerticalGutter;
|
|
64
|
-
horizontalGutter?: HorizontalGutter;
|
|
65
|
-
firstComponents?: First;
|
|
66
|
-
secondComponents?: Second;
|
|
67
|
-
}
|
|
2
|
+
import { HTMLAttributes } from "react";
|
|
3
|
+
import { SplitEvenProps } from "../../SplitEvenProps-789f8508.js";
|
|
68
4
|
interface ComponentProps {
|
|
69
|
-
|
|
70
|
-
|
|
5
|
+
firstComponents?: React.ReactNode;
|
|
6
|
+
secondComponents?: React.ReactNode;
|
|
71
7
|
}
|
|
72
|
-
type SplitEvenComponentProps = SplitEvenProps & ComponentProps;
|
|
73
|
-
declare const
|
|
74
|
-
|
|
8
|
+
type SplitEvenComponentProps = Omit<SplitEvenProps, "firstComponents" | "secondComponents"> & ComponentProps;
|
|
9
|
+
declare const SplitEvenContextDefault: import("react").ForwardRefExoticComponent<Omit<SplitEvenProps, "firstComponents" | "secondComponents"> & ComponentProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
10
|
+
declare const SplitEvenContext: import("react").Context<import("react").ForwardRefExoticComponent<Omit<SplitEvenProps, "firstComponents" | "secondComponents"> & ComponentProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>>;
|
|
11
|
+
declare const SplitEven: import("react").ForwardRefExoticComponent<Omit<SplitEvenProps, "firstComponents" | "secondComponents"> & ComponentProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
12
|
+
export { ComponentProps, SplitEvenComponentProps, SplitEvenContextDefault, SplitEvenContext, SplitEven };
|
|
@@ -1,7 +1,26 @@
|
|
|
1
1
|
import "./split-even.css";
|
|
2
2
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
3
|
import classnames from 'classnames';
|
|
4
|
+
import { forwardRef, createContext, useContext } from 'react';
|
|
5
|
+
import { d as deepMergeDefaults } from '../../helpers-12f48df8.js';
|
|
4
6
|
|
|
5
|
-
const
|
|
7
|
+
const defaults = {
|
|
8
|
+
"contentMinWidth": "medium",
|
|
9
|
+
"contentGutter": "default",
|
|
10
|
+
"mobileReverse": false,
|
|
11
|
+
"verticalAlign": "top",
|
|
12
|
+
"verticalGutter": "default",
|
|
13
|
+
"horizontalGutter": "default",
|
|
14
|
+
"firstComponents": [],
|
|
15
|
+
"secondComponents": []
|
|
16
|
+
};
|
|
6
17
|
|
|
7
|
-
|
|
18
|
+
const SplitEvenContextDefault = forwardRef(({ mobileReverse = false, contentMinWidth = "medium", verticalAlign = "top", horizontalGutter = "default", verticalGutter = "default", contentGutter = "default", firstComponents, secondComponents, }, ref) => (jsxs("div", { ref: ref, className: classnames("l-split-even", mobileReverse && "l-split-even--mobile-reverse", horizontalGutter && `l-split-even--h-gutter-${horizontalGutter}`, verticalGutter && `l-split-even--v-gutter-${verticalGutter}`, contentMinWidth && `l-split-even--width-${contentMinWidth}`, verticalAlign && `l-split-even--align-${verticalAlign}`), children: [jsx("div", { className: classnames("l-split-even__content l-split-even__content--first", contentGutter && `l-split-even__content--gutter-${contentGutter}`), children: verticalAlign === "sticky" ? (jsx("div", { className: "l-split-even__sticky-container", children: firstComponents })) : (firstComponents) }), jsx("div", { className: classnames("l-split-even__content l-split-even__content--second", contentGutter && `l-split-even__content--gutter-${contentGutter}`), children: verticalAlign === "sticky" ? (jsx("div", { className: "l-split-even__sticky-container", children: secondComponents })) : (secondComponents) })] })));
|
|
19
|
+
const SplitEvenContext = createContext(SplitEvenContextDefault);
|
|
20
|
+
const SplitEven = forwardRef((props, ref) => {
|
|
21
|
+
const Component = useContext(SplitEvenContext);
|
|
22
|
+
return jsx(Component, { ...deepMergeDefaults(defaults, props), ref: ref });
|
|
23
|
+
});
|
|
24
|
+
SplitEven.displayName = "SplitEven";
|
|
25
|
+
|
|
26
|
+
export { SplitEven, SplitEvenContext, SplitEvenContextDefault };
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
--dsa-split-even__content--gutter_small: var(--ks-spacing-stack-s);
|
|
10
10
|
--dsa-split-even__content--gutter_default: var(--ks-spacing-stack-m);
|
|
11
11
|
--dsa-split-even__content--gutter_large: var(--ks-spacing-stack-xl);
|
|
12
|
-
--dsa-split-even__content--flex-basis_narrow: var(--dsa-tile--
|
|
12
|
+
--dsa-split-even__content--flex-basis_narrow: var(--dsa-tile--width_medium);
|
|
13
13
|
--dsa-split-even__content--flex-basis_medium: var(--dsa-tile--width_large);
|
|
14
14
|
--dsa-split-even__content--flex-basis_wide: var(--dsa-tile--width_largest);
|
|
15
15
|
}
|
|
@@ -1,104 +1,12 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* This file was automatically generated by json-schema-to-typescript.
|
|
6
|
-
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
7
|
-
* and run json-schema-to-typescript to regenerate this file.
|
|
8
|
-
*/
|
|
9
|
-
import { CtaProps } from "../../CtaProps-789f8508.js";
|
|
10
|
-
import { DividerProps } from "../../DividerProps-2ef31901.js";
|
|
11
|
-
import { FaqProps } from "../../FaqProps-ad618cd5.js";
|
|
12
|
-
import { FeaturesProps } from "../../FeaturesProps-a9041d97.js";
|
|
13
|
-
import { GalleryProps } from "../../GalleryProps-76e7de44.js";
|
|
14
|
-
import { HeroProps } from "../../HeroProps-fec6b267.js";
|
|
15
|
-
import { HtmlProps } from "../../HtmlProps-9d091769.js";
|
|
16
|
-
import { ImageStoryProps } from "../../ImageStoryProps-00ddee3a.js";
|
|
17
|
-
import { ImageTextProps } from "../../ImageTextProps-9286cca4.js";
|
|
18
|
-
import { LogosProps } from "../../LogosProps-f9474fe2.js";
|
|
19
|
-
import { MosaicProps } from "../../MosaicProps-d52c7151.js";
|
|
20
|
-
import { SliderProps } from "../../SliderProps-789f8508.js";
|
|
21
|
-
import { StatsProps } from "../../StatsProps-bf5ef578.js";
|
|
22
|
-
import { TeaserCardProps } from "../../TeaserCardProps-994cb119.js";
|
|
23
|
-
import { TestimonialsProps } from "../../TestimonialsProps-e344f597.js";
|
|
24
|
-
import { TextProps } from "../../TextProps-a23170d2.js";
|
|
25
|
-
import { VideoCurtainProps } from "../../VideoCurtainProps-a2c0cc7f.js";
|
|
26
|
-
/**
|
|
27
|
-
* Sets the vertical space between the content of the split layout
|
|
28
|
-
*/
|
|
29
|
-
type VerticalGutter = "large" | "default" | "small" | "none";
|
|
30
|
-
/**
|
|
31
|
-
* Sets the horizontal space between the content of the split layout
|
|
32
|
-
*/
|
|
33
|
-
type HorizontalGutter = "large" | "default" | "small" | "none";
|
|
34
|
-
/**
|
|
35
|
-
* Aligns the content vertically within the sections
|
|
36
|
-
*/
|
|
37
|
-
type VerticalAlignment = "top" | "center" | "bottom" | "sticky";
|
|
38
|
-
/**
|
|
39
|
-
* Sets the space between the content of the split layout
|
|
40
|
-
*/
|
|
41
|
-
type ContentGutter = "large" | "default" | "small" | "none";
|
|
42
|
-
/**
|
|
43
|
-
* Sets the minimum width of the main section
|
|
44
|
-
*/
|
|
45
|
-
type MinimumWidth = "narrow" | "default" | "wide";
|
|
46
|
-
/**
|
|
47
|
-
* Size of gutter to use
|
|
48
|
-
*/
|
|
49
|
-
type Gutter = "large" | "default" | "small" | "none";
|
|
50
|
-
/**
|
|
51
|
-
* Sets the minimum width of the main section
|
|
52
|
-
*/
|
|
53
|
-
type MinimumWidth1 = "narrow" | "default" | "wide";
|
|
54
|
-
/**
|
|
55
|
-
* Determines the order of sections on mobile devices
|
|
56
|
-
*/
|
|
57
|
-
type MobileOrder = "mainFirst" | "asideFirst";
|
|
58
|
-
/**
|
|
59
|
-
* Determines the order of sections on desktop devices
|
|
60
|
-
*/
|
|
61
|
-
type DesktopOrder = "mainFirst" | "asideFirst";
|
|
62
|
-
/**
|
|
63
|
-
* Allowed components for the main half of the split layout
|
|
64
|
-
*/
|
|
65
|
-
type Main = (CtaProps | DividerProps | FaqProps | FeaturesProps | GalleryProps | HeroProps | HtmlProps | ImageStoryProps | ImageTextProps | LogosProps | MosaicProps | SliderProps | StatsProps | TeaserCardProps | TestimonialsProps | TextProps | VideoCurtainProps)[];
|
|
66
|
-
/**
|
|
67
|
-
* Allowed components for the aside half of the split layout
|
|
68
|
-
*/
|
|
69
|
-
type Aside = (CtaProps | DividerProps | FaqProps | FeaturesProps | GalleryProps | HeroProps | HtmlProps | ImageStoryProps | ImageTextProps | LogosProps | MosaicProps | SliderProps | StatsProps | TeaserCardProps | TestimonialsProps | TextProps | VideoCurtainProps)[];
|
|
70
|
-
interface SplitWeightedProps {
|
|
71
|
-
verticalGutter?: VerticalGutter;
|
|
72
|
-
horizontalGutter?: HorizontalGutter;
|
|
73
|
-
verticalAlign?: VerticalAlignment;
|
|
74
|
-
mainLayout?: MainLayout;
|
|
75
|
-
asideLayout?: AsideLayout;
|
|
76
|
-
order?: Order;
|
|
77
|
-
mainComponents?: Main;
|
|
78
|
-
asideComponents?: Aside;
|
|
79
|
-
}
|
|
80
|
-
interface MainLayout {
|
|
81
|
-
gutter?: ContentGutter;
|
|
82
|
-
minWidth?: MinimumWidth;
|
|
83
|
-
}
|
|
84
|
-
/**
|
|
85
|
-
* Layout settings for the aside section of the split layout
|
|
86
|
-
*/
|
|
87
|
-
interface AsideLayout {
|
|
88
|
-
gutter?: Gutter;
|
|
89
|
-
minWidth?: MinimumWidth1;
|
|
90
|
-
}
|
|
91
|
-
/**
|
|
92
|
-
* Sets the order of the main and aside sections in the split layout
|
|
93
|
-
*/
|
|
94
|
-
interface Order {
|
|
95
|
-
mobile?: MobileOrder;
|
|
96
|
-
desktop?: DesktopOrder;
|
|
97
|
-
}
|
|
2
|
+
import { HTMLAttributes } from "react";
|
|
3
|
+
import { SplitWeightedProps } from "../../SplitWeightedProps-789f8508.js";
|
|
98
4
|
interface ComponentProps {
|
|
99
5
|
main?: React.ReactNode;
|
|
100
6
|
aside?: React.ReactNode;
|
|
101
7
|
}
|
|
102
|
-
type SplitWeightedComponentProps = SplitWeightedProps & ComponentProps;
|
|
103
|
-
declare const
|
|
104
|
-
|
|
8
|
+
type SplitWeightedComponentProps = Omit<SplitWeightedProps, "main" | "aside"> & ComponentProps;
|
|
9
|
+
declare const SplitWeightedContextDefault: import("react").ForwardRefExoticComponent<Omit<SplitWeightedProps, "main" | "aside"> & ComponentProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
10
|
+
declare const SplitWeightedContext: import("react").Context<import("react").ForwardRefExoticComponent<Omit<SplitWeightedProps, "main" | "aside"> & ComponentProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>>;
|
|
11
|
+
declare const SplitWeighted: import("react").ForwardRefExoticComponent<Omit<SplitWeightedProps, "main" | "aside"> & ComponentProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
12
|
+
export { ComponentProps, SplitWeightedComponentProps, SplitWeightedContextDefault, SplitWeightedContext, SplitWeighted };
|
|
@@ -1,13 +1,42 @@
|
|
|
1
1
|
import "./split-weighted.css";
|
|
2
2
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
3
|
import classnames from 'classnames';
|
|
4
|
+
import { forwardRef, createContext, useContext } from 'react';
|
|
5
|
+
import { d as deepMergeDefaults } from '../../helpers-12f48df8.js';
|
|
4
6
|
|
|
5
|
-
const
|
|
6
|
-
|
|
7
|
+
const defaults = {
|
|
8
|
+
"verticalGutter": "default",
|
|
9
|
+
"horizontalGutter": "default",
|
|
10
|
+
"verticalAlign": "top",
|
|
11
|
+
"mainLayout": {
|
|
12
|
+
"gutter": "default",
|
|
13
|
+
"minWidth": "wide"
|
|
14
|
+
},
|
|
15
|
+
"asideLayout": {
|
|
16
|
+
"gutter": "default",
|
|
17
|
+
"minWidth": "default"
|
|
18
|
+
},
|
|
19
|
+
"order": {
|
|
20
|
+
"mobile": "mainFirst",
|
|
21
|
+
"desktop": "mainFirst"
|
|
22
|
+
},
|
|
23
|
+
"mainComponents": [],
|
|
24
|
+
"asideComponents": []
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
const SplitWeightedContextDefault = forwardRef(({ order, mainLayout, asideLayout, horizontalGutter = "default", verticalGutter = "default", main, aside, verticalAlign = "top", }, ref) => (jsxs("div", { ref: ref, className: classnames("l-split-weighted", order?.desktop === "asideFirst" &&
|
|
28
|
+
"l-split-weighted--desktop-aside-first", order?.mobile === "asideFirst" &&
|
|
29
|
+
"l-split-weighted--mobile-aside-first", horizontalGutter && `l-split-weighted--h-gutter-${horizontalGutter}`, verticalGutter && `l-split-weighted--v-gutter-${verticalGutter}`, verticalAlign && `l-split-weighted--align-${verticalAlign}`), children: [jsx("div", { className: classnames("l-split-weighted__main l-split-weighted__content", mainLayout?.gutter &&
|
|
7
30
|
`l-split-weighted__main--gutter-${mainLayout.gutter}`, mainLayout?.minWidth &&
|
|
8
31
|
`l-split-weighted__main--width-${mainLayout.minWidth}`), children: jsx("div", { className: classnames("l-split-weighted__content-container", mainLayout?.gutter &&
|
|
9
32
|
`l-split-weighted__content-container--gutter-${mainLayout.gutter}`), children: main }) }), jsx("div", { className: classnames("l-split-weighted__aside l-split-weighted__content", asideLayout?.minWidth &&
|
|
10
33
|
`l-split-weighted__aside--width-${asideLayout.minWidth}`), children: jsx("div", { className: classnames("l-split-weighted__content-container", asideLayout?.gutter &&
|
|
11
|
-
`l-split-weighted__content-container--gutter-${asideLayout.gutter}`), children: aside }) })] }));
|
|
34
|
+
`l-split-weighted__content-container--gutter-${asideLayout.gutter}`), children: aside }) })] })));
|
|
35
|
+
const SplitWeightedContext = createContext(SplitWeightedContextDefault);
|
|
36
|
+
const SplitWeighted = forwardRef((props, ref) => {
|
|
37
|
+
const Component = useContext(SplitWeightedContext);
|
|
38
|
+
return jsx(Component, { ...deepMergeDefaults(defaults, props), ref: ref });
|
|
39
|
+
});
|
|
40
|
+
SplitWeighted.displayName = "SplitWeighted";
|
|
12
41
|
|
|
13
|
-
export { SplitWeighted };
|
|
42
|
+
export { SplitWeighted, SplitWeightedContext, SplitWeightedContextDefault };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
.dsa-stats {
|
|
2
2
|
--dsa-stats--gap-vertical: var(--ks-spacing-stack-l);
|
|
3
3
|
--dsa-stats--gap-horizontal: var(--ks-spacing-inline-m);
|
|
4
|
-
--dsa-stats__item--gap: var(--ks-spacing-stack-
|
|
4
|
+
--dsa-stats__item--gap: var(--ks-spacing-stack-xs);
|
|
5
5
|
--dsa-stats__icon--color: var(--ks-text-color-primary);
|
|
6
|
-
--dsa-stats__icon--size:
|
|
7
|
-
--dsa-stats__number--font: var(--ks-font-display-
|
|
6
|
+
--dsa-stats__icon--size: 5em;
|
|
7
|
+
--dsa-stats__number--font: var(--ks-font-display-xl);
|
|
8
8
|
--dsa-stats__number--font-weight: var(--ks-font-weight-semi-bold);
|
|
9
9
|
--dsa-stats__number--background: var(--dsa-typo--highlight);
|
|
10
10
|
--dsa-stats__topic__font: var(--ks-font-interface-xl);
|
|
11
11
|
--dsa-stats__topic--color: var(--ks-text-color-display);
|
|
12
|
-
--dsa-stats__copy--font: var(--ks-font-copy-
|
|
12
|
+
--dsa-stats__copy--font: var(--ks-font-copy-s);
|
|
13
13
|
--dsa-stats__copy--color: var(--ks-text-color-default);
|
|
14
14
|
}
|
|
15
15
|
|
|
@@ -8,28 +8,27 @@
|
|
|
8
8
|
--dsa-teaser-card--border-width: var(--ks-border-width-default);
|
|
9
9
|
--dsa-teaser-card--border-color: var(--ks-border-color-card-interactive);
|
|
10
10
|
--dsa-teaser-card--border-color_hover: var(--ks-border-color-card-interactive-hover);
|
|
11
|
-
--dsa-teaser-card--border-radius: var(--ks-border-radius-card)
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
--dsa-teaser-card--shadow_hover:
|
|
15
|
-
|
|
16
|
-
--dsa-teaser-card__image--
|
|
17
|
-
--dsa-teaser-card__image--transition: transform var(--ks-transition-fade);
|
|
11
|
+
--dsa-teaser-card--border-radius: var(--ks-border-radius-card) var(--ks-border-radius-card)
|
|
12
|
+
var(--ks-border-radius-card) calc(var(--ks-border-radius-card) * 3);
|
|
13
|
+
--dsa-teaser-card--shadow: none;
|
|
14
|
+
--dsa-teaser-card--shadow_hover: none;
|
|
15
|
+
--dsa-teaser-card__image--transform_hover: scale(1.05);
|
|
16
|
+
--dsa-teaser-card__image--transition: transform var(--ks-transition-hover);
|
|
18
17
|
--dsa-teaser-card__topic--color: var(--dsa-topic--color);
|
|
19
|
-
--dsa-teaser-card__label--font: var(--ks-font-interface-
|
|
18
|
+
--dsa-teaser-card__label--font: var(--ks-font-interface-s);
|
|
20
19
|
--dsa-teaser-card__label--font-weight: var(--ks-font-weight-semi-bold);
|
|
21
|
-
--dsa-teaser-card__label--color: var(--
|
|
22
|
-
--dsa-teaser-card__label--background-color: var(--ks-background-color-
|
|
20
|
+
--dsa-teaser-card__label--color: var(--ks-text-color-primary);
|
|
21
|
+
--dsa-teaser-card__label--background-color: var(--ks-background-color-bold);
|
|
23
22
|
--dsa-teaser-card__label--padding: 0.5em 1em;
|
|
24
23
|
--dsa-teaser-card__label--border-radius: var(--ks-border-radius-pill);
|
|
25
|
-
--dsa-teaser-card__label--border:
|
|
24
|
+
--dsa-teaser-card__label--border: 1px solid var(--ks-border-color-interface);
|
|
26
25
|
--dsa-teaser-card__button--font: var(--ks-font-interface-m);
|
|
27
26
|
--dsa-teaser-card--padding: var(--ks-spacing-inset-m);
|
|
28
27
|
--dsa-teaser-card__topic--font: var(--ks-font-display-m);
|
|
29
28
|
--dsa-teaser-card__topic--font-weight: var(--dsa-topic--font-weight);
|
|
30
29
|
--dsa-teaser-card__copy--font: var(--ks-font-copy-s);
|
|
31
30
|
--dsa-teaser-card__copy--color: var(--ks-text-color-default);
|
|
32
|
-
--dsa-teaser-card__copy--margin-top: 0.
|
|
31
|
+
--dsa-teaser-card__copy--margin-top: 0.5em;
|
|
33
32
|
--dsa-teaser-card__button--font: var(--ks-font-interface-s);
|
|
34
33
|
}
|
|
35
34
|
@container teaser-card (min-width: 400px) {
|
|
@@ -125,12 +124,13 @@
|
|
|
125
124
|
.dsa-teaser-card .dsa-teaser-card__label {
|
|
126
125
|
position: absolute;
|
|
127
126
|
z-index: 1;
|
|
128
|
-
top:
|
|
129
|
-
right:
|
|
127
|
+
top: 0;
|
|
128
|
+
right: 0;
|
|
130
129
|
border-radius: var(--dsa-teaser-card__label--border-radius);
|
|
131
130
|
border: var(--dsa-teaser-card__label--border, 0);
|
|
132
131
|
pointer-events: initial;
|
|
133
132
|
padding: var(--dsa-teaser-card__label--padding);
|
|
133
|
+
transform: translate(0.5em, -50%);
|
|
134
134
|
font: var(--dsa-teaser-card__label--font);
|
|
135
135
|
text-align: center;
|
|
136
136
|
font-weight: var(--dsa-teaser-card__label--font-weight);
|
package/dist/global.css
CHANGED
|
@@ -312,7 +312,7 @@ h3 {
|
|
|
312
312
|
--dsa-link--color_hover: var(--ks-text-color-default-interactive-hover);
|
|
313
313
|
--dsa-link--text-decoration: none;
|
|
314
314
|
--dsa-link--text-decoration_hover: none;
|
|
315
|
-
--dsa-typo--highlight: var(--ks-
|
|
315
|
+
--dsa-typo--highlight: var(--ks-color-primary);
|
|
316
316
|
--dsa-content--horizontal-spacing: var(--ks-spacing-inset-l);
|
|
317
317
|
--dsa-content--vertical-spacing: var(--ks-spacing-xxl);
|
|
318
318
|
--dsa-content--width_narrow: calc(var(--ks-font-size-copy-m) * 34);
|
|
@@ -340,7 +340,7 @@ h3 {
|
|
|
340
340
|
}
|
|
341
341
|
@media (min-width: 62em) {
|
|
342
342
|
:root, [ks-inverted], [ks-theme] {
|
|
343
|
-
--dsa-logo--height:
|
|
343
|
+
--dsa-logo--height: 2.5rem;
|
|
344
344
|
}
|
|
345
345
|
}
|
|
346
346
|
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|