@kickstartds/ds-agency-premium 1.6.57--canary.1461.46964a6.0 → 1.6.58--canary.1470.8ef3793.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/BlogOverviewProps-9f207f1c.d.ts +1 -1
- package/dist/BlogPostProps-6b3cff22.d.ts +1 -1
- package/dist/{CtaProps-0931e9c1.d.ts → CtaProps-02e33bf1.d.ts} +8 -3
- package/dist/SectionProps-1cfcf6e8.d.ts +2 -2
- package/dist/{SliderProps-0931e9c1.d.ts → SliderProps-02e33bf1.d.ts} +1 -1
- package/dist/components/blog-overview/blog-overview.schema.dereffed.json +39 -6
- package/dist/components/blog-post/blog-post.schema.dereffed.json +39 -6
- package/dist/components/cta/cta.css +34 -48
- package/dist/components/cta/cta.schema.dereffed.json +13 -2
- package/dist/components/cta/cta.schema.json +9 -2
- package/dist/components/cta/index.d.ts +1 -1
- package/dist/components/cta/index.js +4 -6
- package/dist/components/footer/footer.css +1 -1
- package/dist/components/header/header.css +1 -1
- package/dist/components/hero/hero.css +1 -1
- package/dist/components/image-story/image-story.css +5 -2
- package/dist/components/mosaic/mosaic.css +1 -1
- package/dist/components/page/page.schema.dereffed.json +26 -4
- package/dist/components/page-wrapper/tokens.css +1 -1
- package/dist/components/presets.json +45 -39
- package/dist/components/section/section.css +2 -2
- package/dist/components/section/section.schema.dereffed.json +26 -4
- package/dist/components/slider/index.d.ts +1 -1
- package/dist/components/slider/slider.schema.dereffed.json +13 -2
- package/dist/components/split/split.css +2 -2
- package/dist/components/testimonials/index.d.ts +1 -1
- package/dist/global.css +3 -2
- package/dist/tokens/themes.css +4 -4
- package/dist/tokens/tokens.css +1 -1
- package/dist/tokens/tokens.js +1 -1
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import { SectionProps } from "./SectionProps-1cfcf6e8.js";
|
|
7
7
|
import { BlogTeaserProps } from "./BlogTeaserProps-f5855e93.js";
|
|
8
|
-
import { CtaProps } from "./CtaProps-
|
|
8
|
+
import { CtaProps } from "./CtaProps-02e33bf1.js";
|
|
9
9
|
import { SeoProps } from "./SeoProps-f2d6dcaa.js";
|
|
10
10
|
/**
|
|
11
11
|
* Collection of sections (with their contents) to render as the blog overview intro
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import { BlogHeadProps } from "./BlogHeadProps-c04a5ed8.js";
|
|
7
7
|
import { BlogAsideProps } from "./BlogAsideProps-d9decb7c.js";
|
|
8
8
|
import { SectionProps } from "./SectionProps-1cfcf6e8.js";
|
|
9
|
-
import { CtaProps } from "./CtaProps-
|
|
9
|
+
import { CtaProps } from "./CtaProps-02e33bf1.js";
|
|
10
10
|
import { SeoProps } from "./SeoProps-f2d6dcaa.js";
|
|
11
11
|
/**
|
|
12
12
|
* Body text for the blog post, overwrites sections if present
|
|
@@ -55,6 +55,10 @@ type Padding = boolean;
|
|
|
55
55
|
* Image description
|
|
56
56
|
*/
|
|
57
57
|
type AltText = string;
|
|
58
|
+
/**
|
|
59
|
+
* Select a vertical alignment for the image
|
|
60
|
+
*/
|
|
61
|
+
type VerticalAlignmentOfTheImage = "center" | "top" | "bottom";
|
|
58
62
|
/**
|
|
59
63
|
* Switch to displaying the image after the text on mobile
|
|
60
64
|
*/
|
|
@@ -68,7 +72,7 @@ type DesktopImageAfterText = boolean;
|
|
|
68
72
|
*/
|
|
69
73
|
type TextAlignment = "left" | "center";
|
|
70
74
|
/**
|
|
71
|
-
* Select a vertical alignment for the
|
|
75
|
+
* Select a vertical alignment for the content
|
|
72
76
|
*/
|
|
73
77
|
type VerticalAlignmentOfTheContent = "center" | "top" | "bottom";
|
|
74
78
|
interface CtaProps {
|
|
@@ -83,7 +87,7 @@ interface CtaProps {
|
|
|
83
87
|
image?: Image;
|
|
84
88
|
order?: Order;
|
|
85
89
|
textAlign?: TextAlignment;
|
|
86
|
-
|
|
90
|
+
align?: VerticalAlignmentOfTheContent;
|
|
87
91
|
}
|
|
88
92
|
interface Button {
|
|
89
93
|
label?: Label;
|
|
@@ -97,6 +101,7 @@ interface Image {
|
|
|
97
101
|
src?: ImageSource;
|
|
98
102
|
padding?: Padding;
|
|
99
103
|
alt?: AltText;
|
|
104
|
+
align?: VerticalAlignmentOfTheImage;
|
|
100
105
|
}
|
|
101
106
|
/**
|
|
102
107
|
* Choose what comes first on mobile and desktop: image or text
|
|
@@ -105,4 +110,4 @@ interface Order {
|
|
|
105
110
|
mobileImageLast?: MobileImageAfterText;
|
|
106
111
|
desktopImageLast?: DesktopImageAfterText;
|
|
107
112
|
}
|
|
108
|
-
export { ComponentHeadline, ComponentSubheadline, ComponentText, HighlightText, ColorNeutral, Label, Icon, Target, BackgroundColor, BackgroundImage, ImageSource, Padding, AltText, MobileImageAfterText, DesktopImageAfterText, TextAlignment, VerticalAlignmentOfTheContent, CtaProps, Button, Image, Order };
|
|
113
|
+
export { ComponentHeadline, ComponentSubheadline, ComponentText, HighlightText, ColorNeutral, Label, Icon, Target, BackgroundColor, BackgroundImage, ImageSource, Padding, AltText, VerticalAlignmentOfTheImage, MobileImageAfterText, DesktopImageAfterText, TextAlignment, VerticalAlignmentOfTheContent, CtaProps, Button, Image, Order };
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
4
4
|
* and run json-schema-to-typescript to regenerate this file.
|
|
5
5
|
*/
|
|
6
|
-
import { CtaProps } from "./CtaProps-
|
|
6
|
+
import { CtaProps } from "./CtaProps-02e33bf1.js";
|
|
7
7
|
import { DividerProps } from "./DividerProps-2ef31901.js";
|
|
8
8
|
import { FaqProps } from "./FaqProps-ad618cd5.js";
|
|
9
9
|
import { FeaturesProps } from "./FeaturesProps-e58616a5.js";
|
|
@@ -14,7 +14,7 @@ import { ImageStoryProps } from "./ImageStoryProps-e853e1e7.js";
|
|
|
14
14
|
import { ImageTextProps } from "./ImageTextProps-9286cca4.js";
|
|
15
15
|
import { LogosProps } from "./LogosProps-f9474fe2.js";
|
|
16
16
|
import { MosaicProps } from "./MosaicProps-d52c7151.js";
|
|
17
|
-
import { SliderProps } from "./SliderProps-
|
|
17
|
+
import { SliderProps } from "./SliderProps-02e33bf1.js";
|
|
18
18
|
import { StatsProps } from "./StatsProps-bf5ef578.js";
|
|
19
19
|
import { TeaserCardProps } from "./TeaserCardProps-b9c28e78.js";
|
|
20
20
|
import { TestimonialsProps } from "./TestimonialsProps-f7211553.js";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
4
4
|
* and run json-schema-to-typescript to regenerate this file.
|
|
5
5
|
*/
|
|
6
|
-
import { CtaProps } from "./CtaProps-
|
|
6
|
+
import { CtaProps } from "./CtaProps-02e33bf1.js";
|
|
7
7
|
import { FeaturesProps } from "./FeaturesProps-e58616a5.js";
|
|
8
8
|
import { GalleryProps } from "./GalleryProps-76e7de44.js";
|
|
9
9
|
import { HeroProps } from "./HeroProps-f704d270.js";
|
|
@@ -345,6 +345,17 @@
|
|
|
345
345
|
"title": "Alt text",
|
|
346
346
|
"description": "Image description",
|
|
347
347
|
"type": "string"
|
|
348
|
+
},
|
|
349
|
+
"align": {
|
|
350
|
+
"title": "Vertical alignment of the image",
|
|
351
|
+
"description": "Select a vertical alignment for the image",
|
|
352
|
+
"type": "string",
|
|
353
|
+
"enum": [
|
|
354
|
+
"center",
|
|
355
|
+
"top",
|
|
356
|
+
"bottom"
|
|
357
|
+
],
|
|
358
|
+
"default": "center"
|
|
348
359
|
}
|
|
349
360
|
},
|
|
350
361
|
"additionalProperties": false
|
|
@@ -379,9 +390,9 @@
|
|
|
379
390
|
"type": "string",
|
|
380
391
|
"default": "left"
|
|
381
392
|
},
|
|
382
|
-
"
|
|
393
|
+
"align": {
|
|
383
394
|
"title": "Vertical alignment of the content",
|
|
384
|
-
"description": "Select a vertical alignment for the
|
|
395
|
+
"description": "Select a vertical alignment for the content",
|
|
385
396
|
"type": "string",
|
|
386
397
|
"enum": [
|
|
387
398
|
"center",
|
|
@@ -1595,6 +1606,17 @@
|
|
|
1595
1606
|
"title": "Alt text",
|
|
1596
1607
|
"description": "Image description",
|
|
1597
1608
|
"type": "string"
|
|
1609
|
+
},
|
|
1610
|
+
"align": {
|
|
1611
|
+
"title": "Vertical alignment of the image",
|
|
1612
|
+
"description": "Select a vertical alignment for the image",
|
|
1613
|
+
"type": "string",
|
|
1614
|
+
"enum": [
|
|
1615
|
+
"center",
|
|
1616
|
+
"top",
|
|
1617
|
+
"bottom"
|
|
1618
|
+
],
|
|
1619
|
+
"default": "center"
|
|
1598
1620
|
}
|
|
1599
1621
|
},
|
|
1600
1622
|
"additionalProperties": false
|
|
@@ -1629,9 +1651,9 @@
|
|
|
1629
1651
|
"type": "string",
|
|
1630
1652
|
"default": "left"
|
|
1631
1653
|
},
|
|
1632
|
-
"
|
|
1654
|
+
"align": {
|
|
1633
1655
|
"title": "Vertical alignment of the content",
|
|
1634
|
-
"description": "Select a vertical alignment for the
|
|
1656
|
+
"description": "Select a vertical alignment for the content",
|
|
1635
1657
|
"type": "string",
|
|
1636
1658
|
"enum": [
|
|
1637
1659
|
"center",
|
|
@@ -3744,6 +3766,17 @@
|
|
|
3744
3766
|
"title": "Alt text",
|
|
3745
3767
|
"description": "Image description",
|
|
3746
3768
|
"type": "string"
|
|
3769
|
+
},
|
|
3770
|
+
"align": {
|
|
3771
|
+
"title": "Vertical alignment of the image",
|
|
3772
|
+
"description": "Select a vertical alignment for the image",
|
|
3773
|
+
"type": "string",
|
|
3774
|
+
"enum": [
|
|
3775
|
+
"center",
|
|
3776
|
+
"top",
|
|
3777
|
+
"bottom"
|
|
3778
|
+
],
|
|
3779
|
+
"default": "center"
|
|
3747
3780
|
}
|
|
3748
3781
|
},
|
|
3749
3782
|
"additionalProperties": false
|
|
@@ -3778,9 +3811,9 @@
|
|
|
3778
3811
|
"type": "string",
|
|
3779
3812
|
"default": "left"
|
|
3780
3813
|
},
|
|
3781
|
-
"
|
|
3814
|
+
"align": {
|
|
3782
3815
|
"title": "Vertical alignment of the content",
|
|
3783
|
-
"description": "Select a vertical alignment for the
|
|
3816
|
+
"description": "Select a vertical alignment for the content",
|
|
3784
3817
|
"type": "string",
|
|
3785
3818
|
"enum": [
|
|
3786
3819
|
"center",
|
|
@@ -621,6 +621,17 @@
|
|
|
621
621
|
"title": "Alt text",
|
|
622
622
|
"description": "Image description",
|
|
623
623
|
"type": "string"
|
|
624
|
+
},
|
|
625
|
+
"align": {
|
|
626
|
+
"title": "Vertical alignment of the image",
|
|
627
|
+
"description": "Select a vertical alignment for the image",
|
|
628
|
+
"type": "string",
|
|
629
|
+
"enum": [
|
|
630
|
+
"center",
|
|
631
|
+
"top",
|
|
632
|
+
"bottom"
|
|
633
|
+
],
|
|
634
|
+
"default": "center"
|
|
624
635
|
}
|
|
625
636
|
},
|
|
626
637
|
"additionalProperties": false
|
|
@@ -655,9 +666,9 @@
|
|
|
655
666
|
"type": "string",
|
|
656
667
|
"default": "left"
|
|
657
668
|
},
|
|
658
|
-
"
|
|
669
|
+
"align": {
|
|
659
670
|
"title": "Vertical alignment of the content",
|
|
660
|
-
"description": "Select a vertical alignment for the
|
|
671
|
+
"description": "Select a vertical alignment for the content",
|
|
661
672
|
"type": "string",
|
|
662
673
|
"enum": [
|
|
663
674
|
"center",
|
|
@@ -1871,6 +1882,17 @@
|
|
|
1871
1882
|
"title": "Alt text",
|
|
1872
1883
|
"description": "Image description",
|
|
1873
1884
|
"type": "string"
|
|
1885
|
+
},
|
|
1886
|
+
"align": {
|
|
1887
|
+
"title": "Vertical alignment of the image",
|
|
1888
|
+
"description": "Select a vertical alignment for the image",
|
|
1889
|
+
"type": "string",
|
|
1890
|
+
"enum": [
|
|
1891
|
+
"center",
|
|
1892
|
+
"top",
|
|
1893
|
+
"bottom"
|
|
1894
|
+
],
|
|
1895
|
+
"default": "center"
|
|
1874
1896
|
}
|
|
1875
1897
|
},
|
|
1876
1898
|
"additionalProperties": false
|
|
@@ -1905,9 +1927,9 @@
|
|
|
1905
1927
|
"type": "string",
|
|
1906
1928
|
"default": "left"
|
|
1907
1929
|
},
|
|
1908
|
-
"
|
|
1930
|
+
"align": {
|
|
1909
1931
|
"title": "Vertical alignment of the content",
|
|
1910
|
-
"description": "Select a vertical alignment for the
|
|
1932
|
+
"description": "Select a vertical alignment for the content",
|
|
1911
1933
|
"type": "string",
|
|
1912
1934
|
"enum": [
|
|
1913
1935
|
"center",
|
|
@@ -3503,6 +3525,17 @@
|
|
|
3503
3525
|
"title": "Alt text",
|
|
3504
3526
|
"description": "Image description",
|
|
3505
3527
|
"type": "string"
|
|
3528
|
+
},
|
|
3529
|
+
"align": {
|
|
3530
|
+
"title": "Vertical alignment of the image",
|
|
3531
|
+
"description": "Select a vertical alignment for the image",
|
|
3532
|
+
"type": "string",
|
|
3533
|
+
"enum": [
|
|
3534
|
+
"center",
|
|
3535
|
+
"top",
|
|
3536
|
+
"bottom"
|
|
3537
|
+
],
|
|
3538
|
+
"default": "center"
|
|
3506
3539
|
}
|
|
3507
3540
|
},
|
|
3508
3541
|
"additionalProperties": false
|
|
@@ -3537,9 +3570,9 @@
|
|
|
3537
3570
|
"type": "string",
|
|
3538
3571
|
"default": "left"
|
|
3539
3572
|
},
|
|
3540
|
-
"
|
|
3573
|
+
"align": {
|
|
3541
3574
|
"title": "Vertical alignment of the content",
|
|
3542
|
-
"description": "Select a vertical alignment for the
|
|
3575
|
+
"description": "Select a vertical alignment for the content",
|
|
3543
3576
|
"type": "string",
|
|
3544
3577
|
"enum": [
|
|
3545
3578
|
"center",
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
.dsa-cta {
|
|
2
|
-
--dsa-cta--
|
|
3
|
-
--dsa-
|
|
2
|
+
--dsa-cta--gap: var(--ks-spacing-stack-m) var(--ks-spacing-inline-m);
|
|
3
|
+
--dsa-cta__content--vertical-padding: var(--l-section--space-default);
|
|
4
|
+
--dsa-cta__content--horizontal-padding: var(--dsa-content--horizontal-spacing);
|
|
5
|
+
--dsa-cta__content--max-width: var(--dsa-content--width_narrow);
|
|
4
6
|
--dsa-cta__copy--font: var(--dsa-rich-text--font);
|
|
5
7
|
--dsa-cta__copy--color: var(--ks-text-color-default);
|
|
6
8
|
--dsa-cta__headline--color: var(--dsa-headline--color);
|
|
7
9
|
--dsa-cta__headline--font: var(--dsa-headline_h2--font);
|
|
8
10
|
--dsa-cta__subheadline--color: var(--dsa-headline__subheadline--color);
|
|
9
11
|
--dsa-cta__subheadline--font: var(--dsa-headline_h2__subheadline--font);
|
|
12
|
+
--dsa-cta__image--padding: var(--ks-spacing-inset-m);
|
|
10
13
|
--dsa-cta_color-neutral__headline--color: var(--ks-text-color-default);
|
|
11
14
|
--dsa-cta_color-neutral__subheadline--color: var(--ks-text-color-default);
|
|
12
15
|
--dsa-cta_color-neutral__copy--color: var(--ks-text-color-default);
|
|
@@ -16,11 +19,11 @@
|
|
|
16
19
|
}
|
|
17
20
|
|
|
18
21
|
.dsa-cta.c-storytelling {
|
|
19
|
-
--c-storytelling--padding
|
|
20
|
-
--c-storytelling--
|
|
22
|
+
--c-storytelling--horizontal-padding: var(--dsa-cta__content--horizontal-padding);
|
|
23
|
+
--c-storytelling--vertical-padding: var(--dsa-cta__content--vertical-padding);
|
|
21
24
|
justify-content: center;
|
|
22
25
|
align-items: stretch;
|
|
23
|
-
|
|
26
|
+
gap: var(--dsa-cta--gap, var(--ks-spacing-inline-m));
|
|
24
27
|
}
|
|
25
28
|
.dsa-cta.c-storytelling.dsa-cta--color-neutral {
|
|
26
29
|
--dsa-cta__copy--color: var(--dsa-cta_color-neutral__copy--color, var(--ks-text-color-default));
|
|
@@ -35,35 +38,17 @@
|
|
|
35
38
|
var(--dsa-headline_h1__subheadline--font)
|
|
36
39
|
);
|
|
37
40
|
}
|
|
38
|
-
.dsa-cta.c-storytelling.
|
|
39
|
-
|
|
40
|
-
}
|
|
41
|
-
.dsa-cta.c-storytelling.c-storytelling--full.c-storytelling--order-desktop-image-last .c-storytelling__box {
|
|
42
|
-
padding-left: var(--dsa-cta--horizontal-padding);
|
|
43
|
-
}
|
|
44
|
-
.dsa-cta.c-storytelling.dsa-cta--align-top {
|
|
45
|
-
align-items: flex-start;
|
|
41
|
+
.dsa-cta.c-storytelling.dsa-cta--no-padding .c-storytelling__box {
|
|
42
|
+
padding: 0;
|
|
46
43
|
}
|
|
47
|
-
.dsa-cta.c-storytelling.dsa-cta--
|
|
48
|
-
|
|
44
|
+
.dsa-cta.c-storytelling.dsa-cta--image-padding .c-storytelling__image {
|
|
45
|
+
padding: var(--dsa-cta__image--padding, var(--ks-spacing-inset-m));
|
|
49
46
|
}
|
|
50
47
|
.dsa-cta.c-storytelling .c-storytelling__box {
|
|
51
48
|
width: 100%;
|
|
52
|
-
padding: var(--dsa-cta--vertical-padding, var(--l-section--space-default)) var(--dsa-cta--horizontal-padding, var(--dsa-content--spacing));
|
|
53
|
-
}
|
|
54
|
-
@container storytelling (max-width: 640px) {
|
|
55
|
-
.dsa-cta.c-storytelling .c-storytelling__box {
|
|
56
|
-
padding-top: calc(var(--dsa-cta--vertical-padding, var(--l-section--space-default)) / var(--c-storytelling--padding-ratio));
|
|
57
|
-
}
|
|
58
|
-
.dsa-cta.c-storytelling .c-storytelling__box:only-child {
|
|
59
|
-
padding-top: var(--dsa-cta--vertical-padding, var(--l-section--space-default));
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
.dsa-cta.c-storytelling .c-storytelling__box:only-child {
|
|
63
|
-
padding: var(--dsa-cta--vertical-padding, var(--l-section--space-default)) var(--dsa-cta--horizontal-padding, var(--dsa-content--spacing));
|
|
64
49
|
}
|
|
65
50
|
.dsa-cta.c-storytelling .c-storytelling__box__content {
|
|
66
|
-
max-width:
|
|
51
|
+
max-width: var(--dsa-cta__content--max-width, var(--dsa-content--width_narrow));
|
|
67
52
|
}
|
|
68
53
|
.dsa-cta.c-storytelling .c-storytelling__box .dsa-headline__headline {
|
|
69
54
|
font: var(--dsa-cta__headline--font, var(--dsa-headline_h2--font, var(--ks-font-display-xl)));
|
|
@@ -79,38 +64,39 @@
|
|
|
79
64
|
font: var(--dsa-cta__copy--font, var(--dsa-rich-text--font, var(--ks-font-copy-m)));
|
|
80
65
|
color: var(--dsa-cta__copy--color, var(--dsa-rich-text--color, var(--ks-text-color-copy)));
|
|
81
66
|
}
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
67
|
+
@container storytelling (max-width: 639.9px) {
|
|
68
|
+
.dsa-cta.c-storytelling.c-storytelling--order-mobile-image-last .c-storytelling__box {
|
|
69
|
+
padding-bottom: 0;
|
|
70
|
+
}
|
|
71
|
+
.dsa-cta.c-storytelling.c-storytelling--order-mobile-image-last .c-storytelling__image {
|
|
72
|
+
padding-top: 0;
|
|
73
|
+
}
|
|
74
|
+
.dsa-cta.c-storytelling:not(.c-storytelling--order-mobil-image-last) .c-storytelling__box {
|
|
75
|
+
padding-top: 0;
|
|
76
|
+
}
|
|
77
|
+
.dsa-cta.c-storytelling:not(.c-storytelling--order-mobil-image-last) .c-storytelling__image {
|
|
78
|
+
padding-bottom: 0;
|
|
79
|
+
}
|
|
87
80
|
}
|
|
88
81
|
@container storytelling (min-width: 640px) {
|
|
89
|
-
.dsa-cta.c-storytelling.c-storytelling--order-desktop-image-last .c-storytelling__image {
|
|
90
|
-
padding-left: calc(var(--dsa-cta--horizontal-padding, var(--dsa-content--spacing)) / var(--c-storytelling--padding-ratio));
|
|
91
|
-
}
|
|
92
82
|
.dsa-cta.c-storytelling.c-storytelling--order-desktop-image-last .c-storytelling__box {
|
|
93
|
-
padding-right:
|
|
83
|
+
padding-right: 0;
|
|
94
84
|
}
|
|
95
|
-
.dsa-cta.c-storytelling .c-
|
|
96
|
-
padding-left:
|
|
97
|
-
}
|
|
98
|
-
.dsa-cta.c-storytelling .c-storytelling__box__content--center .c-button-group {
|
|
99
|
-
justify-content: center;
|
|
85
|
+
.dsa-cta.c-storytelling.c-storytelling--order-desktop-image-last .c-storytelling__image {
|
|
86
|
+
padding-left: 0;
|
|
100
87
|
}
|
|
101
|
-
.dsa-cta.c-storytelling
|
|
102
|
-
padding:
|
|
103
|
-
padding-right: calc(var(--dsa-cta--horizontal-padding, var(--dsa-content--spacing)) / var(--c-storytelling--padding-ratio));
|
|
88
|
+
.dsa-cta.c-storytelling:not(.c-storytelling--order-desktop-image-last) .c-storytelling__box {
|
|
89
|
+
padding-left: 0;
|
|
104
90
|
}
|
|
105
|
-
.dsa-cta.c-storytelling.c-storytelling--
|
|
106
|
-
padding: 0;
|
|
91
|
+
.dsa-cta.c-storytelling:not(.c-storytelling--order-desktop-image-last) .c-storytelling__image {
|
|
92
|
+
padding-right: 0;
|
|
107
93
|
}
|
|
108
94
|
}
|
|
109
95
|
|
|
110
96
|
@media (min-width: 640px) {
|
|
111
97
|
.dsa-header--floating + .l-container--storytelling .c-storytelling.dsa-cta,
|
|
112
98
|
.dsa-header--floating + .l-section .l-container--storytelling:first-child .c-storytelling.dsa-cta {
|
|
113
|
-
padding-top: calc(var(--dsa-header--height) + var(--dsa-
|
|
99
|
+
padding-top: calc(var(--dsa-header--height) + var(--dsa-cta__content--horizontal-padding, var(--dsa-content--horizontal-spacing)));
|
|
114
100
|
z-index: 1;
|
|
115
101
|
}
|
|
116
102
|
}
|
|
@@ -103,6 +103,17 @@
|
|
|
103
103
|
"title": "Alt text",
|
|
104
104
|
"description": "Image description",
|
|
105
105
|
"type": "string"
|
|
106
|
+
},
|
|
107
|
+
"align": {
|
|
108
|
+
"title": "Vertical alignment of the image",
|
|
109
|
+
"description": "Select a vertical alignment for the image",
|
|
110
|
+
"type": "string",
|
|
111
|
+
"enum": [
|
|
112
|
+
"center",
|
|
113
|
+
"top",
|
|
114
|
+
"bottom"
|
|
115
|
+
],
|
|
116
|
+
"default": "center"
|
|
106
117
|
}
|
|
107
118
|
},
|
|
108
119
|
"additionalProperties": false
|
|
@@ -137,9 +148,9 @@
|
|
|
137
148
|
"type": "string",
|
|
138
149
|
"default": "left"
|
|
139
150
|
},
|
|
140
|
-
"
|
|
151
|
+
"align": {
|
|
141
152
|
"title": "Vertical alignment of the content",
|
|
142
|
-
"description": "Select a vertical alignment for the
|
|
153
|
+
"description": "Select a vertical alignment for the content",
|
|
143
154
|
"type": "string",
|
|
144
155
|
"enum": [
|
|
145
156
|
"center",
|
|
@@ -81,6 +81,13 @@
|
|
|
81
81
|
"title": "Alt text",
|
|
82
82
|
"description": "Image description",
|
|
83
83
|
"type": "string"
|
|
84
|
+
},
|
|
85
|
+
"align": {
|
|
86
|
+
"title": "Vertical alignment of the image",
|
|
87
|
+
"description": "Select a vertical alignment for the image",
|
|
88
|
+
"type": "string",
|
|
89
|
+
"enum": ["center", "top", "bottom"],
|
|
90
|
+
"default": "center"
|
|
84
91
|
}
|
|
85
92
|
},
|
|
86
93
|
"additionalProperties": false
|
|
@@ -112,9 +119,9 @@
|
|
|
112
119
|
"type": "string",
|
|
113
120
|
"default": "left"
|
|
114
121
|
},
|
|
115
|
-
"
|
|
122
|
+
"align": {
|
|
116
123
|
"title": "Vertical alignment of the content",
|
|
117
|
-
"description": "Select a vertical alignment for the
|
|
124
|
+
"description": "Select a vertical alignment for the content",
|
|
118
125
|
"type": "string",
|
|
119
126
|
"enum": ["center", "top", "bottom"],
|
|
120
127
|
"default": "center"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { HTMLAttributes } from "react";
|
|
3
|
-
import { CtaProps } from "../../CtaProps-
|
|
3
|
+
import { CtaProps } from "../../CtaProps-02e33bf1.js";
|
|
4
4
|
declare const CtaContextDefault: import("react").ForwardRefExoticComponent<CtaProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
5
|
declare const CtaContext: import("react").Context<import("react").ForwardRefExoticComponent<CtaProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>>;
|
|
6
6
|
declare const Cta: import("react").ForwardRefExoticComponent<CtaProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -7,22 +7,20 @@ import classnames from 'classnames';
|
|
|
7
7
|
import { useButtonGroup } from '../button-group/index.js';
|
|
8
8
|
import '@kickstartds/base/lib/button-group';
|
|
9
9
|
|
|
10
|
-
const CtaContextDefault = forwardRef(({ headline, highlightText = false, sub, image, text, textAlign, backgroundImage, backgroundColor, colorNeutral,
|
|
10
|
+
const CtaContextDefault = forwardRef(({ headline, highlightText = false, sub, image, text, textAlign, backgroundImage, backgroundColor, colorNeutral, align, order, buttons = [], ...rest }, ref) => {
|
|
11
11
|
const ButtonGroup = useButtonGroup();
|
|
12
12
|
return (jsx(ButtonContext.Provider
|
|
13
13
|
// @ts-expect-error
|
|
14
14
|
, {
|
|
15
15
|
// @ts-expect-error
|
|
16
|
-
value: ButtonGroup, children: jsx(Storytelling, { ...rest, ref: ref, className: classnames("dsa-cta", highlightText ? `dsa-cta--highlight-text` : "", colorNeutral ? `dsa-cta--color-neutral` : "",
|
|
17
|
-
? `dsa-cta--align-${contentAlign}`
|
|
18
|
-
: ""), backgroundImage: backgroundImage, backgroundColor: backgroundColor, full: image?.padding === false, image: {
|
|
16
|
+
value: ButtonGroup, children: jsx(Storytelling, { ...rest, ref: ref, className: classnames("dsa-cta", highlightText ? `dsa-cta--highlight-text` : "", colorNeutral ? `dsa-cta--color-neutral` : "", image?.padding ? `dsa-cta--image-padding` : "", !backgroundImage && !backgroundColor ? `dsa-cta--no-padding` : "", align && align !== "center" ? `dsa-cta--align-${align}` : ""), backgroundImage: backgroundImage, backgroundColor: backgroundColor, full: true, image: {
|
|
19
17
|
source: image?.src,
|
|
20
18
|
order: order,
|
|
21
|
-
vAlign:
|
|
19
|
+
vAlign: image?.align,
|
|
22
20
|
}, box: {
|
|
23
21
|
text: text,
|
|
24
22
|
textAlign: textAlign,
|
|
25
|
-
vAlign:
|
|
23
|
+
vAlign: align,
|
|
26
24
|
link: {
|
|
27
25
|
buttons,
|
|
28
26
|
colorNeutral: colorNeutral,
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
background-color: var(--dsa-footer--background-color, var(--ks-background-color-default));
|
|
28
28
|
}
|
|
29
29
|
.dsa-footer__content {
|
|
30
|
-
padding: var(--l-section--space-small) var(--dsa-content--spacing);
|
|
30
|
+
padding: var(--l-section--space-small) var(--dsa-content--horizontal-spacing);
|
|
31
31
|
border-top: var(--dsa-footer--border-top, 1px solid var(--ks-border-color-default));
|
|
32
32
|
max-width: var(--dsa-footer--max-width, var(--dsa-content--width_wide));
|
|
33
33
|
width: 100%;
|
|
@@ -115,7 +115,7 @@
|
|
|
115
115
|
height: var(--c-visual--min-height);
|
|
116
116
|
}
|
|
117
117
|
.c-visual.dsa-hero.dsa-hero--content-below .c-visual__content {
|
|
118
|
-
padding: 0 var(--dsa-content--spacing);
|
|
118
|
+
padding: 0 var(--dsa-content--horizontal-spacing);
|
|
119
119
|
margin-top: -10%;
|
|
120
120
|
position: relative;
|
|
121
121
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.dsa-image-story.c-storytelling {
|
|
2
2
|
--dsa-image-story--gap: var(--ks-spacing-m);
|
|
3
|
-
--dsa-image-story--horizontal-padding: var(--dsa-content--spacing);
|
|
3
|
+
--dsa-image-story--horizontal-padding: var(--dsa-content--horizontal-spacing);
|
|
4
4
|
--dsa-image-story--vertical-padding: var(--ks-spacing-xl);
|
|
5
5
|
--dsa-image-story__copy--font: var(--dsa-rich-text--font);
|
|
6
6
|
--dsa-image-story__copy--color: var(--dsa-rich-text--color);
|
|
@@ -8,7 +8,10 @@
|
|
|
8
8
|
|
|
9
9
|
.c-storytelling.dsa-image-story {
|
|
10
10
|
gap: var(--c-storytelling--horizontal-padding);
|
|
11
|
-
--c-storytelling--horizontal-padding: var(
|
|
11
|
+
--c-storytelling--horizontal-padding: var(
|
|
12
|
+
--dsa-image-story--horizontal-padding,
|
|
13
|
+
var(--dsa-content--horizontal-spacing)
|
|
14
|
+
);
|
|
12
15
|
--c-storytelling--vertical-padding: var(--dsa-image-story--vertical-padding, var(--ks-spacing-xl));
|
|
13
16
|
}
|
|
14
17
|
.c-storytelling.dsa-image-story .c-storytelling__box__content {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
.dsa-mosaic {
|
|
2
2
|
--dsa-mosaic--vertical-padding: var(--l-section--space-default);
|
|
3
|
-
--dsa-mosaic--horizontal-padding: var(--dsa-content--spacing);
|
|
3
|
+
--dsa-mosaic--horizontal-padding: var(--dsa-content--horizontal-spacing);
|
|
4
4
|
--dsa-mosaic__copy--font: var(--dsa-rich-text--font);
|
|
5
5
|
--dsa-mosaic__copy--color: var(--ks-text-color-default);
|
|
6
6
|
--dsa-mosaic__headline--color: var(--dsa-headline--color);
|
|
@@ -345,6 +345,17 @@
|
|
|
345
345
|
"title": "Alt text",
|
|
346
346
|
"description": "Image description",
|
|
347
347
|
"type": "string"
|
|
348
|
+
},
|
|
349
|
+
"align": {
|
|
350
|
+
"title": "Vertical alignment of the image",
|
|
351
|
+
"description": "Select a vertical alignment for the image",
|
|
352
|
+
"type": "string",
|
|
353
|
+
"enum": [
|
|
354
|
+
"center",
|
|
355
|
+
"top",
|
|
356
|
+
"bottom"
|
|
357
|
+
],
|
|
358
|
+
"default": "center"
|
|
348
359
|
}
|
|
349
360
|
},
|
|
350
361
|
"additionalProperties": false
|
|
@@ -379,9 +390,9 @@
|
|
|
379
390
|
"type": "string",
|
|
380
391
|
"default": "left"
|
|
381
392
|
},
|
|
382
|
-
"
|
|
393
|
+
"align": {
|
|
383
394
|
"title": "Vertical alignment of the content",
|
|
384
|
-
"description": "Select a vertical alignment for the
|
|
395
|
+
"description": "Select a vertical alignment for the content",
|
|
385
396
|
"type": "string",
|
|
386
397
|
"enum": [
|
|
387
398
|
"center",
|
|
@@ -1595,6 +1606,17 @@
|
|
|
1595
1606
|
"title": "Alt text",
|
|
1596
1607
|
"description": "Image description",
|
|
1597
1608
|
"type": "string"
|
|
1609
|
+
},
|
|
1610
|
+
"align": {
|
|
1611
|
+
"title": "Vertical alignment of the image",
|
|
1612
|
+
"description": "Select a vertical alignment for the image",
|
|
1613
|
+
"type": "string",
|
|
1614
|
+
"enum": [
|
|
1615
|
+
"center",
|
|
1616
|
+
"top",
|
|
1617
|
+
"bottom"
|
|
1618
|
+
],
|
|
1619
|
+
"default": "center"
|
|
1598
1620
|
}
|
|
1599
1621
|
},
|
|
1600
1622
|
"additionalProperties": false
|
|
@@ -1629,9 +1651,9 @@
|
|
|
1629
1651
|
"type": "string",
|
|
1630
1652
|
"default": "left"
|
|
1631
1653
|
},
|
|
1632
|
-
"
|
|
1654
|
+
"align": {
|
|
1633
1655
|
"title": "Vertical alignment of the content",
|
|
1634
|
-
"description": "Select a vertical alignment for the
|
|
1656
|
+
"description": "Select a vertical alignment for the content",
|
|
1635
1657
|
"type": "string",
|
|
1636
1658
|
"enum": [
|
|
1637
1659
|
"center",
|