@kickstartds/ds-agency-premium 1.4.6 → 1.4.7--canary.15.776.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/{BlogAsideProps-e1cbd5d3.d.ts → BlogAsideProps-99489f0b.d.ts} +11 -4
- package/dist/{BlogHeadProps-3f6e4072.d.ts → BlogHeadProps-f9a49428.d.ts} +1 -2
- package/dist/{BlogOverviewProps-9f207f1c.d.ts → BlogOverviewProps-83d399b4.d.ts} +1 -1
- package/dist/{BlogPostProps-440f88a5.d.ts → BlogPostProps-83d399b4.d.ts} +2 -2
- package/dist/{BlogTeaserProps-f5855e93.d.ts → BlogTeaserProps-525f7f9f.d.ts} +1 -2
- package/dist/SectionProps-83d399b4.d.ts +1 -1
- package/dist/components/blog-aside/blog-aside.css +8 -16
- package/dist/components/blog-aside/blog-aside.schema.dereffed.json +21 -7
- package/dist/components/blog-aside/blog-aside.schema.json +16 -5
- package/dist/components/blog-aside/index.d.ts +1 -1
- package/dist/components/blog-aside/index.js +2 -2
- package/dist/components/blog-head/blog-head.schema.dereffed.json +4 -18
- package/dist/components/blog-head/blog-head.schema.json +2 -1
- package/dist/components/blog-head/index.d.ts +1 -1
- package/dist/components/blog-head/index.js +1 -1
- package/dist/components/blog-overview/blog-overview.schema.dereffed.json +12 -54
- package/dist/components/blog-overview/index.d.ts +1 -1
- package/dist/components/blog-post/blog-post.schema.dereffed.json +25 -25
- package/dist/components/blog-post/index.d.ts +1 -1
- package/dist/components/blog-post/index.js +1 -1
- package/dist/components/blog-teaser/blog-teaser.schema.dereffed.json +4 -18
- package/dist/components/blog-teaser/blog-teaser.schema.json +2 -1
- package/dist/components/blog-teaser/index.d.ts +1 -1
- package/dist/components/blog-teaser/index.js +1 -1
- package/dist/components/contact/contact.css +73 -0
- package/dist/components/contact/contact.schema.dereffed.json +108 -0
- package/dist/components/contact/contact.schema.json +94 -0
- package/dist/components/contact/index.d.ts +60 -0
- package/dist/components/contact/index.js +15 -0
- package/dist/components/html/html.schema.json +25 -0
- package/dist/components/html/index.d.ts +26 -0
- package/dist/components/html/index.js +6 -0
- package/dist/components/image-story/index.d.ts +1 -1
- package/dist/components/index/index.d.ts +2 -2
- package/dist/components/page-wrapper/index.js +6 -0
- package/dist/components/page-wrapper/tokens.css +3 -3
- package/dist/components/presets.json +94 -42
- package/dist/components/providers/index.js +7 -1
- package/dist/components/split/index.d.ts +2 -1
- package/dist/components/split/index.js +11 -1
- package/dist/components/split/split.css +36 -10
- package/dist/components/split/split.schema.dereffed.json +12 -3
- package/dist/components/split/split.schema.json +7 -1
- package/dist/tokens/themes.css +4 -4
- package/dist/tokens/tokens.css +3 -3
- package/dist/tokens/tokens.js +3 -3
- package/package.json +1 -1
- package/dist/BlogTagProps-f5855e93.d.ts +0 -16
- package/dist/components/blog-tag/blog-tag.schema.dereffed.json +0 -21
- package/dist/components/blog-tag/blog-tag.schema.json +0 -16
- /package/dist/{ImageStoryProps-e853e1e7.d.ts → ImageStoryProps-03ff6d21.d.ts} +0 -0
|
@@ -12,9 +12,13 @@ type Name = string;
|
|
|
12
12
|
*/
|
|
13
13
|
type Byline = string;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
* URL of the image to display
|
|
16
16
|
*/
|
|
17
|
-
type
|
|
17
|
+
type ImageSource = string;
|
|
18
|
+
/**
|
|
19
|
+
* Alt text of the image
|
|
20
|
+
*/
|
|
21
|
+
type AltText = string;
|
|
18
22
|
/**
|
|
19
23
|
* The Twitter name of the author
|
|
20
24
|
*/
|
|
@@ -67,8 +71,11 @@ interface BlogAsideProps {
|
|
|
67
71
|
interface Author {
|
|
68
72
|
name: Name;
|
|
69
73
|
byline?: Byline;
|
|
70
|
-
image?:
|
|
74
|
+
image?: {
|
|
75
|
+
src?: ImageSource;
|
|
76
|
+
alt?: AltText;
|
|
77
|
+
};
|
|
71
78
|
twitter?: Twitter;
|
|
72
79
|
email?: Email;
|
|
73
80
|
}
|
|
74
|
-
export { Name, Byline,
|
|
81
|
+
export { Name, Byline, ImageSource, AltText, Twitter, Email, Icon, Href, Title, SocialSharing, ReadingTime, PublishedDate, BlogAsideProps, Author };
|
|
@@ -3,7 +3,6 @@
|
|
|
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 { BlogTagProps } from "./BlogTagProps-f5855e93.js";
|
|
7
6
|
/**
|
|
8
7
|
* The date when the blog post was published
|
|
9
8
|
*/
|
|
@@ -11,7 +10,7 @@ type PublishedDate = string;
|
|
|
11
10
|
/**
|
|
12
11
|
* The tags associated with the blog post
|
|
13
12
|
*/
|
|
14
|
-
type Tags =
|
|
13
|
+
type Tags = string[];
|
|
15
14
|
/**
|
|
16
15
|
* The headline of the blog post
|
|
17
16
|
*/
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* and run json-schema-to-typescript to regenerate this file.
|
|
5
5
|
*/
|
|
6
6
|
import { SectionProps } from "./SectionProps-83d399b4.js";
|
|
7
|
-
import { BlogTeaserProps } from "./BlogTeaserProps-
|
|
7
|
+
import { BlogTeaserProps } from "./BlogTeaserProps-525f7f9f.js";
|
|
8
8
|
import { CtaProps } from "./CtaProps-93230a76.js";
|
|
9
9
|
import { SeoProps } from "./SeoProps-f2d6dcaa.js";
|
|
10
10
|
/**
|
|
@@ -3,8 +3,8 @@
|
|
|
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 { BlogHeadProps } from "./BlogHeadProps-
|
|
7
|
-
import { BlogAsideProps } from "./BlogAsideProps-
|
|
6
|
+
import { BlogHeadProps } from "./BlogHeadProps-f9a49428.js";
|
|
7
|
+
import { BlogAsideProps } from "./BlogAsideProps-99489f0b.js";
|
|
8
8
|
import { SectionProps } from "./SectionProps-83d399b4.js";
|
|
9
9
|
import { CtaProps } from "./CtaProps-93230a76.js";
|
|
10
10
|
import { SeoProps } from "./SeoProps-f2d6dcaa.js";
|
|
@@ -3,7 +3,6 @@
|
|
|
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 { BlogTagProps } from "./BlogTagProps-f5855e93.js";
|
|
7
6
|
/**
|
|
8
7
|
* The date of the blog post
|
|
9
8
|
*/
|
|
@@ -11,7 +10,7 @@ type Date = string;
|
|
|
11
10
|
/**
|
|
12
11
|
* The tags for the blog post
|
|
13
12
|
*/
|
|
14
|
-
type Tags =
|
|
13
|
+
type Tags = string[];
|
|
15
14
|
/**
|
|
16
15
|
* The headline of the blog post
|
|
17
16
|
*/
|
|
@@ -8,7 +8,7 @@ import { FaqProps } from "./FaqProps-ad618cd5.js";
|
|
|
8
8
|
import { FeaturesProps } from "./FeaturesProps-b05859d6.js";
|
|
9
9
|
import { GalleryProps } from "./GalleryProps-76e7de44.js";
|
|
10
10
|
import { HeroProps } from "./HeroProps-cf82a16d.js";
|
|
11
|
-
import { ImageStoryProps } from "./ImageStoryProps-
|
|
11
|
+
import { ImageStoryProps } from "./ImageStoryProps-03ff6d21.js";
|
|
12
12
|
import { ImageTextProps } from "./ImageTextProps-9286cca4.js";
|
|
13
13
|
import { LogosProps } from "./LogosProps-f9474fe2.js";
|
|
14
14
|
import { MosaicProps } from "./MosaicProps-d52c7151.js";
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
.dsa-blog-aside {
|
|
2
|
+
--dsa-blog-aside__meta__item--font: var(--ks-font-interface-s);
|
|
3
|
+
--dsa-blog-aside__meta__item--color: var(--ks-text-color-interface);
|
|
4
|
+
--dsa-blog-aside__meta__item__icon--size: 1.2em;
|
|
2
5
|
--dsa-blog-aside__title--color: var(--dsa-headline--color);
|
|
3
6
|
--dsa-blog-aside__title--font: var(--dsa-headline_h3--font);
|
|
4
|
-
--dsa-blog-aside__copy--color: var(--dsa-rich-text--color);
|
|
5
|
-
--dsa-blog-aside__copy--font: var(--dsa-rich-text--font);
|
|
6
7
|
--dsa-blog-aside__links--color: var(--dsa-link--color);
|
|
7
8
|
--dsa-blog-aside__divider--color: var(--ks-border-color-accent);
|
|
8
9
|
}
|
|
@@ -13,25 +14,16 @@
|
|
|
13
14
|
.dsa-blog-aside .c-post-meta {
|
|
14
15
|
--c-post-meta--gap: var(--ks-spacing-m);
|
|
15
16
|
--c-post-meta_item--gap: var(--ks-spacing-xs);
|
|
16
|
-
--c-post-meta_item--font: var(--dsa-
|
|
17
|
-
--c-post-meta_item--color: var(--dsa-
|
|
18
|
-
--c-post-meta_item--icon-size: var(--dsa-
|
|
19
|
-
}
|
|
20
|
-
.dsa-blog-aside .c-contact__copy {
|
|
21
|
-
--c-rich-text-font: var(--dsa-post-aside__copy--font, var(--dsa-rich-text--font, var(--ks-font-copy-m)));
|
|
22
|
-
--c-rich-text-color: var(--dsa-post-aside__copy--color, var(--dsa-rich-text--color, var(--ks-text-color-default)));
|
|
23
|
-
}
|
|
24
|
-
.dsa-blog-aside .dsa-headline .dsa-headline__headline {
|
|
25
|
-
font: var(--dsa-post-aside__title--font, var(--dsa-headline_h3--font, var(--ks-font-display-l)));
|
|
26
|
-
font-weight: var(--dsa-headline--font-weight);
|
|
27
|
-
color: var(--dsa-post-aside__title--color, var(--dsa-headline--color, var(--ks-text-color-display)));
|
|
17
|
+
--c-post-meta_item--font: var(--dsa-blog-aside__meta__item--font, var(--ks-font-interface-s));
|
|
18
|
+
--c-post-meta_item--color: var(--dsa-blog-aside__meta__item--color, var(--ks-text-color-interface));
|
|
19
|
+
--c-post-meta_item--icon-size: var(--dsa-blog-aside__meta__item__icon--size, 1.2em);
|
|
28
20
|
}
|
|
29
21
|
.dsa-blog-aside .c-contact__links {
|
|
30
|
-
color: var(--dsa-
|
|
22
|
+
color: var(--dsa-blog-aside__links--color, var(--dsa-link--color));
|
|
31
23
|
}
|
|
32
24
|
.dsa-blog-aside .c-contact__links .icon {
|
|
33
25
|
color: inherit;
|
|
34
26
|
}
|
|
35
27
|
.dsa-blog-aside .c-divider {
|
|
36
|
-
--c-divider--background: var(--dsa-
|
|
28
|
+
--c-divider--background: var(--dsa-blog-aside__divider--color, var(--ks-border-color-accent));
|
|
37
29
|
}
|
|
@@ -27,13 +27,27 @@
|
|
|
27
27
|
]
|
|
28
28
|
},
|
|
29
29
|
"image": {
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
30
|
+
"type": "object",
|
|
31
|
+
"properties": {
|
|
32
|
+
"src": {
|
|
33
|
+
"type": "string",
|
|
34
|
+
"format": "image",
|
|
35
|
+
"title": "Image Source",
|
|
36
|
+
"description": "URL of the image to display",
|
|
37
|
+
"examples": [
|
|
38
|
+
"img/people/author-emily.png"
|
|
39
|
+
]
|
|
40
|
+
},
|
|
41
|
+
"alt": {
|
|
42
|
+
"type": "string",
|
|
43
|
+
"title": "Alt Text",
|
|
44
|
+
"description": "Alt text of the image",
|
|
45
|
+
"examples": [
|
|
46
|
+
"Picture of Jane Smith"
|
|
47
|
+
]
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
"additionalProperties": false
|
|
37
51
|
},
|
|
38
52
|
"twitter": {
|
|
39
53
|
"title": "Twitter",
|
|
@@ -23,11 +23,22 @@
|
|
|
23
23
|
"examples": ["CEO at Company"]
|
|
24
24
|
},
|
|
25
25
|
"image": {
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
26
|
+
"type": "object",
|
|
27
|
+
"properties": {
|
|
28
|
+
"src": {
|
|
29
|
+
"type": "string",
|
|
30
|
+
"format": "image",
|
|
31
|
+
"title": "Image Source",
|
|
32
|
+
"description": "URL of the image to display",
|
|
33
|
+
"examples": ["img/people/author-emily.png"]
|
|
34
|
+
},
|
|
35
|
+
"alt": {
|
|
36
|
+
"type": "string",
|
|
37
|
+
"title": "Alt Text",
|
|
38
|
+
"description": "Alt text of the image",
|
|
39
|
+
"examples": ["Picture of Jane Smith"]
|
|
40
|
+
}
|
|
41
|
+
}
|
|
31
42
|
},
|
|
32
43
|
"twitter": {
|
|
33
44
|
"title": "Twitter",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { BlogAsideProps } from "../../BlogAsideProps-
|
|
2
|
+
import { BlogAsideProps } from "../../BlogAsideProps-99489f0b.js";
|
|
3
3
|
declare const BlogAsideContextDefault: import("react").ForwardRefExoticComponent<BlogAsideProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
4
4
|
declare const BlogAsideContext: import("react").Context<import("react").ForwardRefExoticComponent<BlogAsideProps & import("react").RefAttributes<HTMLDivElement>>>;
|
|
5
5
|
declare const BlogAside: import("react").ForwardRefExoticComponent<BlogAsideProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -40,8 +40,8 @@ const BlogAsideContextDefault = forwardRef(({ author, socialSharing, readingTime
|
|
|
40
40
|
});
|
|
41
41
|
return (jsx(PostAside, { ...rest, className: classnames(className, "dsa-blog-aside"), author: {
|
|
42
42
|
title: author?.name,
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
subtitle: author?.byline,
|
|
44
|
+
image: author?.image,
|
|
45
45
|
links: authorLinks,
|
|
46
46
|
}, shareBar: {
|
|
47
47
|
headline: {
|
|
@@ -19,24 +19,10 @@
|
|
|
19
19
|
"title": "Tags",
|
|
20
20
|
"description": "The tags associated with the blog post",
|
|
21
21
|
"items": {
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
"type": "object",
|
|
27
|
-
"properties": {
|
|
28
|
-
"entry": {
|
|
29
|
-
"title": "Entry",
|
|
30
|
-
"description": "Name of the tag entry",
|
|
31
|
-
"type": "string"
|
|
32
|
-
},
|
|
33
|
-
"type": {
|
|
34
|
-
"const": "blog-tag"
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
"additionalProperties": false,
|
|
38
|
-
"required": [
|
|
39
|
-
"entry"
|
|
22
|
+
"type": "string",
|
|
23
|
+
"examples": [
|
|
24
|
+
"tech",
|
|
25
|
+
"programming"
|
|
40
26
|
]
|
|
41
27
|
}
|
|
42
28
|
},
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { BlogHeadProps } from "../../BlogHeadProps-
|
|
2
|
+
import { BlogHeadProps } from "../../BlogHeadProps-f9a49428.js";
|
|
3
3
|
declare const BlogHeadContextDefault: import("react").ForwardRefExoticComponent<BlogHeadProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
4
4
|
declare const BlogHeadContext: import("react").Context<import("react").ForwardRefExoticComponent<BlogHeadProps & import("react").RefAttributes<HTMLDivElement>>>;
|
|
5
5
|
declare const BlogHead: import("react").ForwardRefExoticComponent<BlogHeadProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -5,7 +5,7 @@ import { PostHead } from '@kickstartds/blog/lib/post-head';
|
|
|
5
5
|
|
|
6
6
|
const BlogHeadContextDefault = forwardRef(({ date, tags = [], headline, image, ...rest }, ref) => {
|
|
7
7
|
return (jsx(PostHead, { ...rest, date: date, headline: { text: headline, level: "h1", align: "left" }, image: { src: image }, categories: tags.map((tag) => {
|
|
8
|
-
return { label: tag
|
|
8
|
+
return { label: tag };
|
|
9
9
|
}), ref: ref }));
|
|
10
10
|
});
|
|
11
11
|
const BlogHeadContext = createContext(BlogHeadContextDefault);
|
|
@@ -3129,24 +3129,10 @@
|
|
|
3129
3129
|
"title": "Tags",
|
|
3130
3130
|
"description": "The tags for the blog post",
|
|
3131
3131
|
"items": {
|
|
3132
|
-
"
|
|
3133
|
-
"
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
"type": "object",
|
|
3137
|
-
"properties": {
|
|
3138
|
-
"entry": {
|
|
3139
|
-
"title": "Entry",
|
|
3140
|
-
"description": "Name of the tag entry",
|
|
3141
|
-
"type": "string"
|
|
3142
|
-
},
|
|
3143
|
-
"type": {
|
|
3144
|
-
"const": "blog-tag"
|
|
3145
|
-
}
|
|
3146
|
-
},
|
|
3147
|
-
"additionalProperties": false,
|
|
3148
|
-
"required": [
|
|
3149
|
-
"entry"
|
|
3132
|
+
"type": "string",
|
|
3133
|
+
"examples": [
|
|
3134
|
+
"tech",
|
|
3135
|
+
"programming"
|
|
3150
3136
|
]
|
|
3151
3137
|
}
|
|
3152
3138
|
},
|
|
@@ -3294,24 +3280,10 @@
|
|
|
3294
3280
|
"title": "Tags",
|
|
3295
3281
|
"description": "The tags for the blog post",
|
|
3296
3282
|
"items": {
|
|
3297
|
-
"
|
|
3298
|
-
"
|
|
3299
|
-
|
|
3300
|
-
|
|
3301
|
-
"type": "object",
|
|
3302
|
-
"properties": {
|
|
3303
|
-
"entry": {
|
|
3304
|
-
"title": "Entry",
|
|
3305
|
-
"description": "Name of the tag entry",
|
|
3306
|
-
"type": "string"
|
|
3307
|
-
},
|
|
3308
|
-
"type": {
|
|
3309
|
-
"const": "blog-tag"
|
|
3310
|
-
}
|
|
3311
|
-
},
|
|
3312
|
-
"additionalProperties": false,
|
|
3313
|
-
"required": [
|
|
3314
|
-
"entry"
|
|
3283
|
+
"type": "string",
|
|
3284
|
+
"examples": [
|
|
3285
|
+
"tech",
|
|
3286
|
+
"programming"
|
|
3315
3287
|
]
|
|
3316
3288
|
}
|
|
3317
3289
|
},
|
|
@@ -3460,24 +3432,10 @@
|
|
|
3460
3432
|
"title": "Tags",
|
|
3461
3433
|
"description": "The tags for the blog post",
|
|
3462
3434
|
"items": {
|
|
3463
|
-
"
|
|
3464
|
-
"
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
"type": "object",
|
|
3468
|
-
"properties": {
|
|
3469
|
-
"entry": {
|
|
3470
|
-
"title": "Entry",
|
|
3471
|
-
"description": "Name of the tag entry",
|
|
3472
|
-
"type": "string"
|
|
3473
|
-
},
|
|
3474
|
-
"type": {
|
|
3475
|
-
"const": "blog-tag"
|
|
3476
|
-
}
|
|
3477
|
-
},
|
|
3478
|
-
"additionalProperties": false,
|
|
3479
|
-
"required": [
|
|
3480
|
-
"entry"
|
|
3435
|
+
"type": "string",
|
|
3436
|
+
"examples": [
|
|
3437
|
+
"tech",
|
|
3438
|
+
"programming"
|
|
3481
3439
|
]
|
|
3482
3440
|
}
|
|
3483
3441
|
},
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BlogOverviewProps } from "../../BlogOverviewProps-
|
|
1
|
+
import { BlogOverviewProps } from "../../BlogOverviewProps-83d399b4.js";
|
|
2
2
|
import { FC, PropsWithChildren } from "react";
|
|
3
3
|
declare const BlogOverview: FC<PropsWithChildren<BlogOverviewProps>>;
|
|
4
4
|
export { BlogOverview };
|
|
@@ -29,24 +29,10 @@
|
|
|
29
29
|
"title": "Tags",
|
|
30
30
|
"description": "The tags associated with the blog post",
|
|
31
31
|
"items": {
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
"type": "object",
|
|
37
|
-
"properties": {
|
|
38
|
-
"entry": {
|
|
39
|
-
"title": "Entry",
|
|
40
|
-
"description": "Name of the tag entry",
|
|
41
|
-
"type": "string"
|
|
42
|
-
},
|
|
43
|
-
"type": {
|
|
44
|
-
"const": "blog-tag"
|
|
45
|
-
}
|
|
46
|
-
},
|
|
47
|
-
"additionalProperties": false,
|
|
48
|
-
"required": [
|
|
49
|
-
"entry"
|
|
32
|
+
"type": "string",
|
|
33
|
+
"examples": [
|
|
34
|
+
"tech",
|
|
35
|
+
"programming"
|
|
50
36
|
]
|
|
51
37
|
}
|
|
52
38
|
},
|
|
@@ -106,13 +92,27 @@
|
|
|
106
92
|
]
|
|
107
93
|
},
|
|
108
94
|
"image": {
|
|
109
|
-
"
|
|
110
|
-
"
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
95
|
+
"type": "object",
|
|
96
|
+
"properties": {
|
|
97
|
+
"src": {
|
|
98
|
+
"type": "string",
|
|
99
|
+
"format": "image",
|
|
100
|
+
"title": "Image Source",
|
|
101
|
+
"description": "URL of the image to display",
|
|
102
|
+
"examples": [
|
|
103
|
+
"img/people/author-emily.png"
|
|
104
|
+
]
|
|
105
|
+
},
|
|
106
|
+
"alt": {
|
|
107
|
+
"type": "string",
|
|
108
|
+
"title": "Alt Text",
|
|
109
|
+
"description": "Alt text of the image",
|
|
110
|
+
"examples": [
|
|
111
|
+
"Picture of Jane Smith"
|
|
112
|
+
]
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
"additionalProperties": false
|
|
116
116
|
},
|
|
117
117
|
"twitter": {
|
|
118
118
|
"title": "Twitter",
|
|
@@ -19,7 +19,7 @@ import '@kickstartds/base/lib/button';
|
|
|
19
19
|
import '../button-group/index.js';
|
|
20
20
|
import '@kickstartds/base/lib/button-group';
|
|
21
21
|
|
|
22
|
-
const BlogPost = ({ head, content, aside, cta, children, }) => (jsxs(Fragment, { children: [jsx(Section, { width: "wide", children: jsxs(Split, { layout: "sidebarRight", children: [jsxs("div", { children: [head && jsx(BlogHead, { ...head }), content ? jsx(Text, { text: content }) : children] }), jsx(BlogAside, { ...aside })] }) }), cta && (jsx(Section, { content: { mode: "list" }, children: jsx(Cta, { ...cta }) }))] }));
|
|
22
|
+
const BlogPost = ({ head, content, aside, cta, children, }) => (jsxs(Fragment, { children: [jsx(Section, { width: "wide", children: jsxs(Split, { mainSectionWidth: "narrow", layout: "sidebarRight", children: [jsxs("div", { children: [head && jsx(BlogHead, { ...head }), content ? jsx(Text, { text: content }) : children] }), jsx(BlogAside, { ...aside })] }) }), cta && (jsx(Section, { content: { mode: "list" }, children: jsx(Cta, { ...cta }) }))] }));
|
|
23
23
|
BlogPost.displayName = "BlogPost";
|
|
24
24
|
|
|
25
25
|
export { BlogPost };
|
|
@@ -19,24 +19,10 @@
|
|
|
19
19
|
"title": "Tags",
|
|
20
20
|
"description": "The tags for the blog post",
|
|
21
21
|
"items": {
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
"type": "object",
|
|
27
|
-
"properties": {
|
|
28
|
-
"entry": {
|
|
29
|
-
"title": "Entry",
|
|
30
|
-
"description": "Name of the tag entry",
|
|
31
|
-
"type": "string"
|
|
32
|
-
},
|
|
33
|
-
"type": {
|
|
34
|
-
"const": "blog-tag"
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
"additionalProperties": false,
|
|
38
|
-
"required": [
|
|
39
|
-
"entry"
|
|
22
|
+
"type": "string",
|
|
23
|
+
"examples": [
|
|
24
|
+
"tech",
|
|
25
|
+
"programming"
|
|
40
26
|
]
|
|
41
27
|
}
|
|
42
28
|
},
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { BlogTeaserProps } from "../../BlogTeaserProps-
|
|
2
|
+
import { BlogTeaserProps } from "../../BlogTeaserProps-525f7f9f.js";
|
|
3
3
|
declare const BlogTeaserContextDefault: import("react").ForwardRefExoticComponent<BlogTeaserProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
4
4
|
declare const BlogTeaserContext: import("react").Context<import("react").ForwardRefExoticComponent<BlogTeaserProps & import("react").RefAttributes<HTMLDivElement>>>;
|
|
5
5
|
declare const BlogTeaser: import("react").ForwardRefExoticComponent<BlogTeaserProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -34,7 +34,7 @@ const BlogTeaserContextDefault = forwardRef(({ date, tags = [], headline, teaser
|
|
|
34
34
|
target: link.url,
|
|
35
35
|
}
|
|
36
36
|
: undefined, title: headline, body: teaserText, categories: tags.map((tag) => {
|
|
37
|
-
return { label: tag
|
|
37
|
+
return { label: tag };
|
|
38
38
|
}), ref: ref }) }));
|
|
39
39
|
});
|
|
40
40
|
const BlogTeaserContext = createContext(BlogTeaserContextDefault);
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
.dsa-contact {
|
|
2
|
+
--dsa-contact--gap: var(--ks-spacing-stack-m) var(--ks-spacing-inline-m);
|
|
3
|
+
--dsa-contact__header--gap: 0;
|
|
4
|
+
--dsa-contact__body--gap: var(--ks-spacing-stack-s) var(--ks-spacing-inline-m);
|
|
5
|
+
--dsa-contact__title--color: var(--ks-text-color-display);
|
|
6
|
+
--dsa-contact__title--font: var(--ks-font-copy-l);
|
|
7
|
+
--dsa-contact__title--font-weight: var(--ks-font-weight-bold);
|
|
8
|
+
--dsa-contact__subtitle--color: var(--ks-text-color-copy);
|
|
9
|
+
--dsa-contact__subtitle--font: var(--ks-font-copy-m);
|
|
10
|
+
--dsa-contact__subtitle--font-weight: var(--ks-font-weight-regular);
|
|
11
|
+
--dsa-contact__links--gap: 0;
|
|
12
|
+
--dsa-contact__links--color: var(--dsa-link--color);
|
|
13
|
+
--dsa-contact__links--font: var(--ks-font-interface-s);
|
|
14
|
+
--dsa-contact__links__icon--margin-right: var(--ks-spacing-inline-xs);
|
|
15
|
+
--dsa-contact__links__icon--size: 1.5rem;
|
|
16
|
+
--dsa-contact__links__icon--color: var(--dsa-link--color);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.dsa-contact {
|
|
20
|
+
display: flex;
|
|
21
|
+
flex-wrap: wrap;
|
|
22
|
+
gap: var(--dsa-contact--gap);
|
|
23
|
+
justify-content: center;
|
|
24
|
+
}
|
|
25
|
+
.dsa-contact__image, .dsa-contact__body {
|
|
26
|
+
flex-grow: 1;
|
|
27
|
+
}
|
|
28
|
+
.dsa-contact__body {
|
|
29
|
+
display: flex;
|
|
30
|
+
flex-direction: column;
|
|
31
|
+
gap: var(--dsa-contact__body--gap);
|
|
32
|
+
}
|
|
33
|
+
.dsa-contact__header {
|
|
34
|
+
display: flex;
|
|
35
|
+
flex-direction: column;
|
|
36
|
+
gap: var(--dsa-contact__header--gap);
|
|
37
|
+
}
|
|
38
|
+
.dsa-contact__title {
|
|
39
|
+
font: var(--dsa-contact__title--font);
|
|
40
|
+
color: var(--dsa-contact__title--color);
|
|
41
|
+
font-weight: var(--dsa-contact__title--font-weight);
|
|
42
|
+
}
|
|
43
|
+
.dsa-contact__subtitle {
|
|
44
|
+
font: var(--dsa-contact__subtitle--font);
|
|
45
|
+
color: var(--dsa-contact__subtitle--color);
|
|
46
|
+
font-weight: var(--dsa-contact__subtitle--font-weight);
|
|
47
|
+
}
|
|
48
|
+
.dsa-contact__image {
|
|
49
|
+
text-align: center;
|
|
50
|
+
}
|
|
51
|
+
.dsa-contact__links {
|
|
52
|
+
display: flex;
|
|
53
|
+
flex-direction: column;
|
|
54
|
+
gap: var(--dsa-contact__links--gap);
|
|
55
|
+
font: var(--dsa-contact__links--font);
|
|
56
|
+
list-style: none;
|
|
57
|
+
padding: 0;
|
|
58
|
+
margin: 0;
|
|
59
|
+
}
|
|
60
|
+
.dsa-contact__links .icon {
|
|
61
|
+
width: var(--dsa-contact__links__icon--size);
|
|
62
|
+
height: var(--dsa-contact__links__icon--size);
|
|
63
|
+
color: var(--dsa-contact__links__icon--color);
|
|
64
|
+
margin-right: var(--dsa-contact__links__icon--margin-right);
|
|
65
|
+
}
|
|
66
|
+
.dsa-contact .c-headline {
|
|
67
|
+
--c-headline--color: var(--dsa-contact__headline--color);
|
|
68
|
+
--c-headline--font: var(--dsa-contact__headline--font);
|
|
69
|
+
--c-headline--font-weight: var(--dsa-contact__headline--font-weight);
|
|
70
|
+
--c-headline__subheadline--color: var(--dsa-contact__headline__subheadline--color);
|
|
71
|
+
--c-headline__subheadline--font: var(--dsa-contact__headline__subheadline--font);
|
|
72
|
+
--c-headline__subheadline--font-weight: var(--dsa-contact__headline__subheadline--font-weight);
|
|
73
|
+
}
|