@kickstartds/ds-agency-premium 1.6.68--canary.1561.e2b3b8b.0 → 1.6.68--canary.1563.61d4b06.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BlogOverviewProps-9f207f1c.d.ts → BlogOverviewProps-1cfcf6e8.d.ts} +1 -1
- package/dist/{BlogPostProps-6b3cff22.d.ts → BlogPostProps-1cfcf6e8.d.ts} +1 -1
- package/dist/{CtaProps-93230a76.d.ts → CtaProps-fd5e75dc.d.ts} +13 -8
- package/dist/SectionProps-1cfcf6e8.d.ts +3 -3
- package/dist/{SliderProps-93230a76.d.ts → SliderProps-fd5e75dc.d.ts} +1 -1
- package/dist/components/blog-overview/blog-overview.schema.dereffed.json +57 -24
- package/dist/components/blog-overview/index.d.ts +1 -1
- package/dist/components/blog-post/blog-post.schema.dereffed.json +57 -24
- package/dist/components/blog-post/index.d.ts +1 -1
- package/dist/components/cta/cta.css +37 -57
- package/dist/components/cta/cta.schema.dereffed.json +19 -8
- package/dist/components/cta/cta.schema.json +15 -8
- 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 +3 -2
- package/dist/components/image-story/image-story.css +5 -2
- package/dist/components/image-story/index.d.ts +1 -1
- package/dist/components/index/index.d.ts +3 -3
- package/dist/components/mosaic/mosaic.css +1 -1
- package/dist/components/page/index.d.ts +1 -1
- package/dist/components/page/page.schema.dereffed.json +38 -16
- package/dist/components/page-wrapper/tokens.css +1 -1
- package/dist/components/presets.json +56 -50
- package/dist/components/section/section.css +2 -2
- package/dist/components/section/section.schema.dereffed.json +38 -16
- package/dist/components/slider/index.d.ts +1 -1
- package/dist/components/slider/slider.schema.dereffed.json +19 -8
- 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
- /package/dist/{ImageStoryProps-e853e1e7.d.ts → ImageStoryProps-03ff6d21.d.ts} +0 -0
- /package/dist/{PageProps-aa29c554.d.ts → PageProps-1cfcf6e8.d.ts} +0 -0
|
@@ -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-fd5e75dc.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-fd5e75dc.js";
|
|
10
10
|
import { SeoProps } from "./SeoProps-f2d6dcaa.js";
|
|
11
11
|
/**
|
|
12
12
|
* Body text for the blog post, overwrites sections if present
|
|
@@ -23,10 +23,6 @@ type HighlightText = boolean;
|
|
|
23
23
|
* Make the text and buttons color neutral
|
|
24
24
|
*/
|
|
25
25
|
type ColorNeutral = boolean;
|
|
26
|
-
/**
|
|
27
|
-
* Set the width of the content to the full width of the element
|
|
28
|
-
*/
|
|
29
|
-
type Width = boolean;
|
|
30
26
|
/**
|
|
31
27
|
* Text content to display inside the button
|
|
32
28
|
*/
|
|
@@ -59,6 +55,10 @@ type Padding = boolean;
|
|
|
59
55
|
* Image description
|
|
60
56
|
*/
|
|
61
57
|
type AltText = string;
|
|
58
|
+
/**
|
|
59
|
+
* Select a vertical alignment for the image
|
|
60
|
+
*/
|
|
61
|
+
type VerticalAlignmentOfTheImage = "center" | "top" | "bottom";
|
|
62
62
|
/**
|
|
63
63
|
* Switch to displaying the image after the text on mobile
|
|
64
64
|
*/
|
|
@@ -72,23 +72,27 @@ type DesktopImageAfterText = boolean;
|
|
|
72
72
|
*/
|
|
73
73
|
type TextAlignment = "left" | "center";
|
|
74
74
|
/**
|
|
75
|
-
* Select a vertical alignment for the
|
|
75
|
+
* Select a vertical alignment for the content
|
|
76
76
|
*/
|
|
77
77
|
type VerticalAlignmentOfTheContent = "center" | "top" | "bottom";
|
|
78
|
+
/**
|
|
79
|
+
* Toggle padding of the content
|
|
80
|
+
*/
|
|
81
|
+
type Padding1 = boolean;
|
|
78
82
|
interface CtaProps {
|
|
79
83
|
headline?: ComponentHeadline;
|
|
80
84
|
sub?: ComponentSubheadline;
|
|
81
85
|
text?: ComponentText;
|
|
82
86
|
highlightText?: HighlightText;
|
|
83
87
|
colorNeutral?: ColorNeutral;
|
|
84
|
-
fullWidth?: Width;
|
|
85
88
|
buttons?: Button[];
|
|
86
89
|
backgroundColor?: BackgroundColor;
|
|
87
90
|
backgroundImage?: BackgroundImage;
|
|
88
91
|
image?: Image;
|
|
89
92
|
order?: Order;
|
|
90
93
|
textAlign?: TextAlignment;
|
|
91
|
-
|
|
94
|
+
align?: VerticalAlignmentOfTheContent;
|
|
95
|
+
padding?: Padding1;
|
|
92
96
|
}
|
|
93
97
|
interface Button {
|
|
94
98
|
label?: Label;
|
|
@@ -102,6 +106,7 @@ interface Image {
|
|
|
102
106
|
src?: ImageSource;
|
|
103
107
|
padding?: Padding;
|
|
104
108
|
alt?: AltText;
|
|
109
|
+
align?: VerticalAlignmentOfTheImage;
|
|
105
110
|
}
|
|
106
111
|
/**
|
|
107
112
|
* Choose what comes first on mobile and desktop: image or text
|
|
@@ -110,4 +115,4 @@ interface Order {
|
|
|
110
115
|
mobileImageLast?: MobileImageAfterText;
|
|
111
116
|
desktopImageLast?: DesktopImageAfterText;
|
|
112
117
|
}
|
|
113
|
-
export { ComponentHeadline, ComponentSubheadline, ComponentText, HighlightText, ColorNeutral,
|
|
118
|
+
export { ComponentHeadline, ComponentSubheadline, ComponentText, HighlightText, ColorNeutral, Label, Icon, Target, BackgroundColor, BackgroundImage, ImageSource, Padding, AltText, VerticalAlignmentOfTheImage, MobileImageAfterText, DesktopImageAfterText, TextAlignment, VerticalAlignmentOfTheContent, Padding1, CtaProps, Button, Image, Order };
|
|
@@ -3,18 +3,18 @@
|
|
|
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-fd5e75dc.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";
|
|
10
10
|
import { GalleryProps } from "./GalleryProps-76e7de44.js";
|
|
11
11
|
import { HeroProps } from "./HeroProps-f704d270.js";
|
|
12
12
|
import { HtmlProps } from "./HtmlProps-9d091769.js";
|
|
13
|
-
import { ImageStoryProps } from "./ImageStoryProps-
|
|
13
|
+
import { ImageStoryProps } from "./ImageStoryProps-03ff6d21.js";
|
|
14
14
|
import { ImageTextProps } from "./ImageTextProps-9286cca4.js";
|
|
15
15
|
import { LogosProps } from "./LogosProps-f9474fe2.js";
|
|
16
16
|
import { MosaicProps } from "./MosaicProps-d52c7151.js";
|
|
17
|
-
import { SliderProps } from "./SliderProps-
|
|
17
|
+
import { SliderProps } from "./SliderProps-fd5e75dc.js";
|
|
18
18
|
import { StatsProps } from "./StatsProps-bf5ef578.js";
|
|
19
19
|
import { TeaserCardProps } from "./TeaserCardProps-b9c28e78.js";
|
|
20
20
|
import { TestimonialsProps } from "./TestimonialsProps-e344f597.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-fd5e75dc.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";
|
|
@@ -282,12 +282,6 @@
|
|
|
282
282
|
"default": false,
|
|
283
283
|
"type": "boolean"
|
|
284
284
|
},
|
|
285
|
-
"fullWidth": {
|
|
286
|
-
"title": "Width",
|
|
287
|
-
"description": "Set the width of the content to the full width of the element",
|
|
288
|
-
"type": "boolean",
|
|
289
|
-
"default": false
|
|
290
|
-
},
|
|
291
285
|
"buttons": {
|
|
292
286
|
"type": "array",
|
|
293
287
|
"items": {
|
|
@@ -351,6 +345,17 @@
|
|
|
351
345
|
"title": "Alt text",
|
|
352
346
|
"description": "Image description",
|
|
353
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"
|
|
354
359
|
}
|
|
355
360
|
},
|
|
356
361
|
"additionalProperties": false
|
|
@@ -385,9 +390,9 @@
|
|
|
385
390
|
"type": "string",
|
|
386
391
|
"default": "left"
|
|
387
392
|
},
|
|
388
|
-
"
|
|
393
|
+
"align": {
|
|
389
394
|
"title": "Vertical alignment of the content",
|
|
390
|
-
"description": "Select a vertical alignment for the
|
|
395
|
+
"description": "Select a vertical alignment for the content",
|
|
391
396
|
"type": "string",
|
|
392
397
|
"enum": [
|
|
393
398
|
"center",
|
|
@@ -396,6 +401,12 @@
|
|
|
396
401
|
],
|
|
397
402
|
"default": "center"
|
|
398
403
|
},
|
|
404
|
+
"padding": {
|
|
405
|
+
"title": "Padding",
|
|
406
|
+
"description": "Toggle padding of the content",
|
|
407
|
+
"type": "boolean",
|
|
408
|
+
"default": false
|
|
409
|
+
},
|
|
399
410
|
"type": {
|
|
400
411
|
"const": "cta"
|
|
401
412
|
}
|
|
@@ -1544,12 +1555,6 @@
|
|
|
1544
1555
|
"default": false,
|
|
1545
1556
|
"type": "boolean"
|
|
1546
1557
|
},
|
|
1547
|
-
"fullWidth": {
|
|
1548
|
-
"title": "Width",
|
|
1549
|
-
"description": "Set the width of the content to the full width of the element",
|
|
1550
|
-
"type": "boolean",
|
|
1551
|
-
"default": false
|
|
1552
|
-
},
|
|
1553
1558
|
"buttons": {
|
|
1554
1559
|
"type": "array",
|
|
1555
1560
|
"items": {
|
|
@@ -1613,6 +1618,17 @@
|
|
|
1613
1618
|
"title": "Alt text",
|
|
1614
1619
|
"description": "Image description",
|
|
1615
1620
|
"type": "string"
|
|
1621
|
+
},
|
|
1622
|
+
"align": {
|
|
1623
|
+
"title": "Vertical alignment of the image",
|
|
1624
|
+
"description": "Select a vertical alignment for the image",
|
|
1625
|
+
"type": "string",
|
|
1626
|
+
"enum": [
|
|
1627
|
+
"center",
|
|
1628
|
+
"top",
|
|
1629
|
+
"bottom"
|
|
1630
|
+
],
|
|
1631
|
+
"default": "center"
|
|
1616
1632
|
}
|
|
1617
1633
|
},
|
|
1618
1634
|
"additionalProperties": false
|
|
@@ -1647,9 +1663,9 @@
|
|
|
1647
1663
|
"type": "string",
|
|
1648
1664
|
"default": "left"
|
|
1649
1665
|
},
|
|
1650
|
-
"
|
|
1666
|
+
"align": {
|
|
1651
1667
|
"title": "Vertical alignment of the content",
|
|
1652
|
-
"description": "Select a vertical alignment for the
|
|
1668
|
+
"description": "Select a vertical alignment for the content",
|
|
1653
1669
|
"type": "string",
|
|
1654
1670
|
"enum": [
|
|
1655
1671
|
"center",
|
|
@@ -1658,6 +1674,12 @@
|
|
|
1658
1674
|
],
|
|
1659
1675
|
"default": "center"
|
|
1660
1676
|
},
|
|
1677
|
+
"padding": {
|
|
1678
|
+
"title": "Padding",
|
|
1679
|
+
"description": "Toggle padding of the content",
|
|
1680
|
+
"type": "boolean",
|
|
1681
|
+
"default": false
|
|
1682
|
+
},
|
|
1661
1683
|
"type": {
|
|
1662
1684
|
"const": "cta"
|
|
1663
1685
|
}
|
|
@@ -3711,12 +3733,6 @@
|
|
|
3711
3733
|
"default": false,
|
|
3712
3734
|
"type": "boolean"
|
|
3713
3735
|
},
|
|
3714
|
-
"fullWidth": {
|
|
3715
|
-
"title": "Width",
|
|
3716
|
-
"description": "Set the width of the content to the full width of the element",
|
|
3717
|
-
"type": "boolean",
|
|
3718
|
-
"default": false
|
|
3719
|
-
},
|
|
3720
3736
|
"buttons": {
|
|
3721
3737
|
"type": "array",
|
|
3722
3738
|
"items": {
|
|
@@ -3780,6 +3796,17 @@
|
|
|
3780
3796
|
"title": "Alt text",
|
|
3781
3797
|
"description": "Image description",
|
|
3782
3798
|
"type": "string"
|
|
3799
|
+
},
|
|
3800
|
+
"align": {
|
|
3801
|
+
"title": "Vertical alignment of the image",
|
|
3802
|
+
"description": "Select a vertical alignment for the image",
|
|
3803
|
+
"type": "string",
|
|
3804
|
+
"enum": [
|
|
3805
|
+
"center",
|
|
3806
|
+
"top",
|
|
3807
|
+
"bottom"
|
|
3808
|
+
],
|
|
3809
|
+
"default": "center"
|
|
3783
3810
|
}
|
|
3784
3811
|
},
|
|
3785
3812
|
"additionalProperties": false
|
|
@@ -3814,9 +3841,9 @@
|
|
|
3814
3841
|
"type": "string",
|
|
3815
3842
|
"default": "left"
|
|
3816
3843
|
},
|
|
3817
|
-
"
|
|
3844
|
+
"align": {
|
|
3818
3845
|
"title": "Vertical alignment of the content",
|
|
3819
|
-
"description": "Select a vertical alignment for the
|
|
3846
|
+
"description": "Select a vertical alignment for the content",
|
|
3820
3847
|
"type": "string",
|
|
3821
3848
|
"enum": [
|
|
3822
3849
|
"center",
|
|
@@ -3825,6 +3852,12 @@
|
|
|
3825
3852
|
],
|
|
3826
3853
|
"default": "center"
|
|
3827
3854
|
},
|
|
3855
|
+
"padding": {
|
|
3856
|
+
"title": "Padding",
|
|
3857
|
+
"description": "Toggle padding of the content",
|
|
3858
|
+
"type": "boolean",
|
|
3859
|
+
"default": false
|
|
3860
|
+
},
|
|
3828
3861
|
"type": {
|
|
3829
3862
|
"const": "cta"
|
|
3830
3863
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BlogOverviewProps } from "../../BlogOverviewProps-
|
|
1
|
+
import { BlogOverviewProps } from "../../BlogOverviewProps-1cfcf6e8.js";
|
|
2
2
|
import { FC, PropsWithChildren } from "react";
|
|
3
3
|
declare const BlogOverview: FC<PropsWithChildren<BlogOverviewProps>>;
|
|
4
4
|
export type { BlogOverviewProps };
|
|
@@ -558,12 +558,6 @@
|
|
|
558
558
|
"default": false,
|
|
559
559
|
"type": "boolean"
|
|
560
560
|
},
|
|
561
|
-
"fullWidth": {
|
|
562
|
-
"title": "Width",
|
|
563
|
-
"description": "Set the width of the content to the full width of the element",
|
|
564
|
-
"type": "boolean",
|
|
565
|
-
"default": false
|
|
566
|
-
},
|
|
567
561
|
"buttons": {
|
|
568
562
|
"type": "array",
|
|
569
563
|
"items": {
|
|
@@ -627,6 +621,17 @@
|
|
|
627
621
|
"title": "Alt text",
|
|
628
622
|
"description": "Image description",
|
|
629
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"
|
|
630
635
|
}
|
|
631
636
|
},
|
|
632
637
|
"additionalProperties": false
|
|
@@ -661,9 +666,9 @@
|
|
|
661
666
|
"type": "string",
|
|
662
667
|
"default": "left"
|
|
663
668
|
},
|
|
664
|
-
"
|
|
669
|
+
"align": {
|
|
665
670
|
"title": "Vertical alignment of the content",
|
|
666
|
-
"description": "Select a vertical alignment for the
|
|
671
|
+
"description": "Select a vertical alignment for the content",
|
|
667
672
|
"type": "string",
|
|
668
673
|
"enum": [
|
|
669
674
|
"center",
|
|
@@ -672,6 +677,12 @@
|
|
|
672
677
|
],
|
|
673
678
|
"default": "center"
|
|
674
679
|
},
|
|
680
|
+
"padding": {
|
|
681
|
+
"title": "Padding",
|
|
682
|
+
"description": "Toggle padding of the content",
|
|
683
|
+
"type": "boolean",
|
|
684
|
+
"default": false
|
|
685
|
+
},
|
|
675
686
|
"type": {
|
|
676
687
|
"const": "cta"
|
|
677
688
|
}
|
|
@@ -1820,12 +1831,6 @@
|
|
|
1820
1831
|
"default": false,
|
|
1821
1832
|
"type": "boolean"
|
|
1822
1833
|
},
|
|
1823
|
-
"fullWidth": {
|
|
1824
|
-
"title": "Width",
|
|
1825
|
-
"description": "Set the width of the content to the full width of the element",
|
|
1826
|
-
"type": "boolean",
|
|
1827
|
-
"default": false
|
|
1828
|
-
},
|
|
1829
1834
|
"buttons": {
|
|
1830
1835
|
"type": "array",
|
|
1831
1836
|
"items": {
|
|
@@ -1889,6 +1894,17 @@
|
|
|
1889
1894
|
"title": "Alt text",
|
|
1890
1895
|
"description": "Image description",
|
|
1891
1896
|
"type": "string"
|
|
1897
|
+
},
|
|
1898
|
+
"align": {
|
|
1899
|
+
"title": "Vertical alignment of the image",
|
|
1900
|
+
"description": "Select a vertical alignment for the image",
|
|
1901
|
+
"type": "string",
|
|
1902
|
+
"enum": [
|
|
1903
|
+
"center",
|
|
1904
|
+
"top",
|
|
1905
|
+
"bottom"
|
|
1906
|
+
],
|
|
1907
|
+
"default": "center"
|
|
1892
1908
|
}
|
|
1893
1909
|
},
|
|
1894
1910
|
"additionalProperties": false
|
|
@@ -1923,9 +1939,9 @@
|
|
|
1923
1939
|
"type": "string",
|
|
1924
1940
|
"default": "left"
|
|
1925
1941
|
},
|
|
1926
|
-
"
|
|
1942
|
+
"align": {
|
|
1927
1943
|
"title": "Vertical alignment of the content",
|
|
1928
|
-
"description": "Select a vertical alignment for the
|
|
1944
|
+
"description": "Select a vertical alignment for the content",
|
|
1929
1945
|
"type": "string",
|
|
1930
1946
|
"enum": [
|
|
1931
1947
|
"center",
|
|
@@ -1934,6 +1950,12 @@
|
|
|
1934
1950
|
],
|
|
1935
1951
|
"default": "center"
|
|
1936
1952
|
},
|
|
1953
|
+
"padding": {
|
|
1954
|
+
"title": "Padding",
|
|
1955
|
+
"description": "Toggle padding of the content",
|
|
1956
|
+
"type": "boolean",
|
|
1957
|
+
"default": false
|
|
1958
|
+
},
|
|
1937
1959
|
"type": {
|
|
1938
1960
|
"const": "cta"
|
|
1939
1961
|
}
|
|
@@ -3470,12 +3492,6 @@
|
|
|
3470
3492
|
"default": false,
|
|
3471
3493
|
"type": "boolean"
|
|
3472
3494
|
},
|
|
3473
|
-
"fullWidth": {
|
|
3474
|
-
"title": "Width",
|
|
3475
|
-
"description": "Set the width of the content to the full width of the element",
|
|
3476
|
-
"type": "boolean",
|
|
3477
|
-
"default": false
|
|
3478
|
-
},
|
|
3479
3495
|
"buttons": {
|
|
3480
3496
|
"type": "array",
|
|
3481
3497
|
"items": {
|
|
@@ -3539,6 +3555,17 @@
|
|
|
3539
3555
|
"title": "Alt text",
|
|
3540
3556
|
"description": "Image description",
|
|
3541
3557
|
"type": "string"
|
|
3558
|
+
},
|
|
3559
|
+
"align": {
|
|
3560
|
+
"title": "Vertical alignment of the image",
|
|
3561
|
+
"description": "Select a vertical alignment for the image",
|
|
3562
|
+
"type": "string",
|
|
3563
|
+
"enum": [
|
|
3564
|
+
"center",
|
|
3565
|
+
"top",
|
|
3566
|
+
"bottom"
|
|
3567
|
+
],
|
|
3568
|
+
"default": "center"
|
|
3542
3569
|
}
|
|
3543
3570
|
},
|
|
3544
3571
|
"additionalProperties": false
|
|
@@ -3573,9 +3600,9 @@
|
|
|
3573
3600
|
"type": "string",
|
|
3574
3601
|
"default": "left"
|
|
3575
3602
|
},
|
|
3576
|
-
"
|
|
3603
|
+
"align": {
|
|
3577
3604
|
"title": "Vertical alignment of the content",
|
|
3578
|
-
"description": "Select a vertical alignment for the
|
|
3605
|
+
"description": "Select a vertical alignment for the content",
|
|
3579
3606
|
"type": "string",
|
|
3580
3607
|
"enum": [
|
|
3581
3608
|
"center",
|
|
@@ -3584,6 +3611,12 @@
|
|
|
3584
3611
|
],
|
|
3585
3612
|
"default": "center"
|
|
3586
3613
|
},
|
|
3614
|
+
"padding": {
|
|
3615
|
+
"title": "Padding",
|
|
3616
|
+
"description": "Toggle padding of the content",
|
|
3617
|
+
"type": "boolean",
|
|
3618
|
+
"default": false
|
|
3619
|
+
},
|
|
3587
3620
|
"type": {
|
|
3588
3621
|
"const": "cta"
|
|
3589
3622
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BlogPostProps } from "../../BlogPostProps-
|
|
1
|
+
import { BlogPostProps } from "../../BlogPostProps-1cfcf6e8.js";
|
|
2
2
|
import { FC, PropsWithChildren } from "react";
|
|
3
3
|
declare const BlogPost: FC<PropsWithChildren<BlogPostProps>>;
|
|
4
4
|
export type { BlogPostProps };
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
.dsa-cta {
|
|
2
|
-
--dsa-cta--
|
|
3
|
-
--dsa-
|
|
2
|
+
--dsa-cta--gap: var(--ks-spacing-stack-l) var(--ks-spacing-inline-l);
|
|
3
|
+
--dsa-cta__content--vertical-padding: var(--dsa-content--vertical-spacing);
|
|
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,34 +38,19 @@
|
|
|
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;
|
|
46
|
-
}
|
|
47
|
-
.dsa-cta.c-storytelling.dsa-cta--align-bottom {
|
|
48
|
-
align-items: flex-end;
|
|
41
|
+
.dsa-cta.c-storytelling.dsa-cta--no-padding .c-storytelling__box {
|
|
42
|
+
padding: 0;
|
|
49
43
|
}
|
|
50
|
-
.dsa-cta.c-storytelling .c-
|
|
51
|
-
|
|
52
|
-
padding: var(--dsa-cta--vertical-padding, var(--l-section--space-default)) var(--dsa-cta--horizontal-padding, var(--dsa-content--spacing));
|
|
44
|
+
.dsa-cta.c-storytelling.dsa-cta--image-padding .c-storytelling__image {
|
|
45
|
+
padding: var(--dsa-cta__content--vertical-padding, var(--dsa-content--vertical-spacing)) var(--dsa-cta__content--horizontal-padding, var(--dsa-content--horizontal-spacing));
|
|
53
46
|
}
|
|
54
|
-
|
|
55
|
-
|
|
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
|
-
}
|
|
47
|
+
.dsa-cta.c-storytelling .c-storytelling__box__content {
|
|
48
|
+
max-width: var(--dsa-cta__content--max-width, var(--dsa-content--width_narrow));
|
|
61
49
|
}
|
|
62
50
|
.dsa-cta.c-storytelling .c-storytelling__box:only-child {
|
|
63
|
-
|
|
51
|
+
--c-storytelling--horizontal-padding: var(--dsa-cta__content--horizontal-padding);
|
|
64
52
|
}
|
|
65
|
-
.dsa-cta.c-storytelling .c-storytelling__box__content {
|
|
53
|
+
.dsa-cta.c-storytelling .c-storytelling__box:only-child .c-storytelling__box__content {
|
|
66
54
|
max-width: 100%;
|
|
67
55
|
}
|
|
68
56
|
.dsa-cta.c-storytelling .c-storytelling__box .dsa-headline__headline {
|
|
@@ -79,50 +67,42 @@
|
|
|
79
67
|
font: var(--dsa-cta__copy--font, var(--dsa-rich-text--font, var(--ks-font-copy-m)));
|
|
80
68
|
color: var(--dsa-cta__copy--color, var(--dsa-rich-text--color, var(--ks-text-color-copy)));
|
|
81
69
|
}
|
|
82
|
-
.dsa-cta.c-storytelling .c-
|
|
83
|
-
--dsa-cta--horizontal-padding: var(--dsa-content--spacing);
|
|
84
|
-
}
|
|
85
|
-
.dsa-cta.c-storytelling .c-storytelling__image {
|
|
70
|
+
.dsa-cta.c-storytelling > .c-storytelling__image {
|
|
86
71
|
margin: 0;
|
|
87
72
|
}
|
|
88
|
-
@container storytelling (
|
|
89
|
-
.dsa-cta.c-storytelling.c-storytelling--order-
|
|
90
|
-
padding-
|
|
73
|
+
@container storytelling (max-width: 639.9px) {
|
|
74
|
+
.dsa-cta.c-storytelling.c-storytelling--order-mobile-image-last .c-storytelling__box {
|
|
75
|
+
padding-bottom: 0;
|
|
91
76
|
}
|
|
92
|
-
.dsa-cta.c-storytelling.c-storytelling--order-
|
|
93
|
-
padding-
|
|
77
|
+
.dsa-cta.c-storytelling.c-storytelling--order-mobile-image-last .c-storytelling__image {
|
|
78
|
+
padding-top: 0;
|
|
94
79
|
}
|
|
95
|
-
.dsa-cta.c-storytelling .c-storytelling__box {
|
|
96
|
-
padding-
|
|
80
|
+
.dsa-cta.c-storytelling:not(.c-storytelling--order-mobile-image-last) .c-storytelling__box:not(:only-child) {
|
|
81
|
+
padding-top: 0;
|
|
97
82
|
}
|
|
98
|
-
.dsa-cta.c-storytelling
|
|
99
|
-
|
|
83
|
+
.dsa-cta.c-storytelling:not(.c-storytelling--order-mobile-image-last) .c-storytelling__image {
|
|
84
|
+
padding-bottom: 0;
|
|
100
85
|
}
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
.dsa-cta.c-storytelling > .c-storytelling__image {
|
|
106
|
-
padding: var(--dsa-cta--vertical-padding, var(--l-section--space-default)) var(--dsa-cta--horizontal-padding, var(--dsa-content--spacing));
|
|
107
|
-
padding-right: calc(var(--dsa-cta--horizontal-padding, var(--dsa-content--spacing)) / var(--c-storytelling--padding-ratio));
|
|
86
|
+
}
|
|
87
|
+
@container storytelling (min-width: 640px) {
|
|
88
|
+
.dsa-cta.c-storytelling.c-storytelling--order-desktop-image-last .c-storytelling__box:not(:only-child) {
|
|
89
|
+
padding-right: 0;
|
|
108
90
|
}
|
|
109
|
-
.dsa-cta.c-storytelling.c-storytelling--
|
|
110
|
-
padding: 0;
|
|
91
|
+
.dsa-cta.c-storytelling.c-storytelling--order-desktop-image-last .c-storytelling__image {
|
|
92
|
+
padding-left: 0;
|
|
111
93
|
}
|
|
112
|
-
.dsa-cta.c-storytelling
|
|
113
|
-
|
|
114
|
-
max-width: calc(var(--dsa-content--width_wide) / 2);
|
|
94
|
+
.dsa-cta.c-storytelling:not(.c-storytelling--order-desktop-image-last) .c-storytelling__box {
|
|
95
|
+
padding-left: 0;
|
|
115
96
|
}
|
|
116
|
-
.dsa-cta.c-storytelling.
|
|
117
|
-
|
|
118
|
-
max-width: 100%;
|
|
97
|
+
.dsa-cta.c-storytelling:not(.c-storytelling--order-desktop-image-last) .c-storytelling__image {
|
|
98
|
+
padding-right: 0;
|
|
119
99
|
}
|
|
120
100
|
}
|
|
121
101
|
|
|
122
102
|
@media (min-width: 640px) {
|
|
123
103
|
.dsa-header--floating + .l-container--storytelling .c-storytelling.dsa-cta,
|
|
124
104
|
.dsa-header--floating + .l-section .l-container--storytelling:first-child .c-storytelling.dsa-cta {
|
|
125
|
-
padding-top: calc(var(--dsa-header--height) + var(--dsa-
|
|
105
|
+
padding-top: calc(var(--dsa-header--height) + var(--dsa-cta__content--horizontal-padding, var(--dsa-content--horizontal-spacing)));
|
|
126
106
|
z-index: 1;
|
|
127
107
|
}
|
|
128
108
|
}
|