@kickstartds/ds-agency-premium 1.4.13--canary.15.811.0 → 1.4.14
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-99489f0b.d.ts → BlogAsideProps-e1cbd5d3.d.ts} +4 -11
- package/dist/{BlogHeadProps-f9a49428.d.ts → BlogHeadProps-3f6e4072.d.ts} +2 -1
- package/dist/{BlogOverviewProps-9f207f1c.d.ts → BlogOverviewProps-83d399b4.d.ts} +2 -2
- package/dist/{BlogPostProps-f9a49428.d.ts → BlogPostProps-3f6e4072.d.ts} +4 -4
- package/dist/BlogTagProps-f5855e93.d.ts +16 -0
- package/dist/{BlogTeaserProps-525f7f9f.d.ts → BlogTeaserProps-71a3cb5c.d.ts} +2 -1
- package/dist/PageProps-83d399b4.d.ts +49 -0
- package/dist/{SectionProps-83d399b4.d.ts → SectionProps-03ff6d21.d.ts} +1 -1
- package/dist/components/blog-aside/blog-aside.css +16 -8
- package/dist/components/blog-aside/blog-aside.schema.dereffed.json +7 -21
- package/dist/components/blog-aside/blog-aside.schema.json +5 -16
- 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 +18 -4
- package/dist/components/blog-head/blog-head.schema.json +1 -2
- 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 +54 -12
- package/dist/components/blog-overview/index.d.ts +1 -1
- package/dist/components/blog-post/blog-post.schema.dereffed.json +26 -25
- package/dist/components/blog-post/blog-post.schema.json +1 -1
- package/dist/components/blog-post/index.d.ts +1 -1
- package/dist/components/blog-post/index.js +1 -1
- package/dist/components/blog-tag/blog-tag.schema.dereffed.json +21 -0
- package/dist/components/blog-tag/blog-tag.schema.json +16 -0
- package/dist/components/blog-teaser/blog-teaser.schema.dereffed.json +18 -4
- package/dist/components/blog-teaser/blog-teaser.schema.json +1 -2
- package/dist/components/blog-teaser/index.d.ts +1 -1
- package/dist/components/blog-teaser/index.js +1 -1
- package/dist/components/image-story/index.d.ts +1 -1
- package/dist/components/index/index.d.ts +5 -52
- package/dist/components/nav-flyout/nav-flyout.css +1 -6
- package/dist/components/nav-main/index.js +1 -0
- package/dist/components/nav-main/nav-main.css +11 -0
- package/dist/components/nav-toggle/nav-toggle.css +0 -5
- package/dist/components/nav-topbar/nav-topbar.css +1 -7
- package/dist/components/page/index.d.ts +4 -0
- package/dist/components/page/index.js +6 -0
- package/dist/components/page-wrapper/index.js +0 -6
- package/dist/components/page-wrapper/tokens.css +9 -9
- package/dist/components/presets.json +60 -197
- package/dist/components/providers/index.js +1 -7
- package/dist/components/section/index.d.ts +1 -1
- package/dist/components/section/section.css +2 -2
- package/dist/components/split/index.d.ts +1 -2
- package/dist/components/split/index.js +1 -11
- package/dist/components/split/split.css +10 -36
- package/dist/components/split/split.schema.dereffed.json +3 -12
- package/dist/components/split/split.schema.json +1 -7
- package/dist/components/teaser-card/teaser-card.css +1 -1
- package/dist/static/img/people/author-john.png +0 -0
- package/dist/tokens/themes.css +4 -4
- package/dist/tokens/tokens.css +9 -9
- package/dist/tokens/tokens.js +9 -9
- package/package.json +1 -1
- package/dist/components/contact/contact.css +0 -125
- package/dist/components/contact/contact.schema.dereffed.json +0 -125
- package/dist/components/contact/contact.schema.json +0 -107
- package/dist/components/contact/index.d.ts +0 -70
- package/dist/components/contact/index.js +0 -16
- package/dist/components/html/html.schema.json +0 -25
- package/dist/components/html/index.d.ts +0 -26
- package/dist/components/html/index.js +0 -6
- package/dist/static/img/people/contact-jim.png +0 -0
- package/dist/static/img/people/contact-john.png +0 -0
- package/dist/static/img/people/portrait-young-girl-smiling.jpg +0 -0
- /package/dist/{ImageStoryProps-e853e1e7.d.ts → ImageStoryProps-03ff6d21.d.ts} +0 -0
|
@@ -12,13 +12,9 @@ type Name = string;
|
|
|
12
12
|
*/
|
|
13
13
|
type Byline = string;
|
|
14
14
|
/**
|
|
15
|
-
* URL of the
|
|
15
|
+
* The image URL of the author
|
|
16
16
|
*/
|
|
17
|
-
type
|
|
18
|
-
/**
|
|
19
|
-
* Alt text of the image
|
|
20
|
-
*/
|
|
21
|
-
type AltText = string;
|
|
17
|
+
type Image = string;
|
|
22
18
|
/**
|
|
23
19
|
* The Twitter name of the author
|
|
24
20
|
*/
|
|
@@ -71,11 +67,8 @@ interface BlogAsideProps {
|
|
|
71
67
|
interface Author {
|
|
72
68
|
name: Name;
|
|
73
69
|
byline?: Byline;
|
|
74
|
-
image?:
|
|
75
|
-
src?: ImageSource;
|
|
76
|
-
alt?: AltText;
|
|
77
|
-
};
|
|
70
|
+
image?: Image;
|
|
78
71
|
twitter?: Twitter;
|
|
79
72
|
email?: Email;
|
|
80
73
|
}
|
|
81
|
-
export { Name, Byline,
|
|
74
|
+
export { Name, Byline, Image, Twitter, Email, Icon, Href, Title, SocialSharing, ReadingTime, PublishedDate, BlogAsideProps, Author };
|
|
@@ -3,6 +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 { BlogTagProps } from "./BlogTagProps-f5855e93.js";
|
|
6
7
|
/**
|
|
7
8
|
* The date when the blog post was published
|
|
8
9
|
*/
|
|
@@ -10,7 +11,7 @@ type PublishedDate = string;
|
|
|
10
11
|
/**
|
|
11
12
|
* The tags associated with the blog post
|
|
12
13
|
*/
|
|
13
|
-
type Tags =
|
|
14
|
+
type Tags = BlogTagProps[];
|
|
14
15
|
/**
|
|
15
16
|
* The headline of the blog post
|
|
16
17
|
*/
|
|
@@ -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 { SectionProps } from "./SectionProps-
|
|
7
|
-
import { BlogTeaserProps } from "./BlogTeaserProps-
|
|
6
|
+
import { SectionProps } from "./SectionProps-03ff6d21.js";
|
|
7
|
+
import { BlogTeaserProps } from "./BlogTeaserProps-71a3cb5c.js";
|
|
8
8
|
import { CtaProps } from "./CtaProps-93230a76.js";
|
|
9
9
|
import { SeoProps } from "./SeoProps-f2d6dcaa.js";
|
|
10
10
|
/**
|
|
@@ -3,9 +3,9 @@
|
|
|
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-
|
|
8
|
-
import { SectionProps } from "./SectionProps-
|
|
6
|
+
import { BlogHeadProps } from "./BlogHeadProps-3f6e4072.js";
|
|
7
|
+
import { BlogAsideProps } from "./BlogAsideProps-e1cbd5d3.js";
|
|
8
|
+
import { SectionProps } from "./SectionProps-03ff6d21.js";
|
|
9
9
|
import { CtaProps } from "./CtaProps-93230a76.js";
|
|
10
10
|
import { SeoProps } from "./SeoProps-f2d6dcaa.js";
|
|
11
11
|
/**
|
|
@@ -23,7 +23,7 @@ interface BlogPostProps {
|
|
|
23
23
|
/**
|
|
24
24
|
* Referenced component BlogHeadProps
|
|
25
25
|
*/
|
|
26
|
-
head
|
|
26
|
+
head: BlogHeadProps;
|
|
27
27
|
/**
|
|
28
28
|
* Referenced component BlogAsideProps
|
|
29
29
|
*/
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated by json-schema-to-typescript.
|
|
3
|
+
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
4
|
+
* and run json-schema-to-typescript to regenerate this file.
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* Name of the tag entry
|
|
8
|
+
*/
|
|
9
|
+
type Entry = string;
|
|
10
|
+
/**
|
|
11
|
+
* Tag given to a blog post
|
|
12
|
+
*/
|
|
13
|
+
interface BlogTagProps {
|
|
14
|
+
entry: Entry;
|
|
15
|
+
}
|
|
16
|
+
export { Entry, BlogTagProps };
|
|
@@ -3,6 +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 { BlogTagProps } from "./BlogTagProps-f5855e93.js";
|
|
6
7
|
/**
|
|
7
8
|
* The date of the blog post
|
|
8
9
|
*/
|
|
@@ -10,7 +11,7 @@ type Date = string;
|
|
|
10
11
|
/**
|
|
11
12
|
* The tags for the blog post
|
|
12
13
|
*/
|
|
13
|
-
type Tags =
|
|
14
|
+
type Tags = BlogTagProps[];
|
|
14
15
|
/**
|
|
15
16
|
* The headline of the blog post
|
|
16
17
|
*/
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was automatically generated by json-schema-to-typescript.
|
|
3
|
+
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
4
|
+
* and run json-schema-to-typescript to regenerate this file.
|
|
5
|
+
*/
|
|
6
|
+
import { SectionProps } from "./SectionProps-03ff6d21.js";
|
|
7
|
+
import { SeoProps } from "./SeoProps-f2d6dcaa.js";
|
|
8
|
+
/**
|
|
9
|
+
* Collection of sections (with their contents) to render on the page
|
|
10
|
+
*/
|
|
11
|
+
type Sections = SectionProps[];
|
|
12
|
+
/**
|
|
13
|
+
* Toggle default floating header behaviour set in global settings
|
|
14
|
+
*/
|
|
15
|
+
type ToggleFloating = boolean;
|
|
16
|
+
/**
|
|
17
|
+
* Toggle default inverted header behaviour set in global settings
|
|
18
|
+
*/
|
|
19
|
+
type ToggleInverted = boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Toggle default inverted footer behaviour set in global settings
|
|
22
|
+
*/
|
|
23
|
+
type ToggleInverted1 = boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Abstracts a page concept into JSON schema
|
|
26
|
+
*/
|
|
27
|
+
interface PageProps {
|
|
28
|
+
section?: Sections;
|
|
29
|
+
header?: Header;
|
|
30
|
+
footer?: Footer;
|
|
31
|
+
/**
|
|
32
|
+
* Referenced component SeoProps
|
|
33
|
+
*/
|
|
34
|
+
seo: SeoProps;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Header settings for the page
|
|
38
|
+
*/
|
|
39
|
+
interface Header {
|
|
40
|
+
floating?: ToggleFloating;
|
|
41
|
+
inverted?: ToggleInverted;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Footer settings for the page
|
|
45
|
+
*/
|
|
46
|
+
interface Footer {
|
|
47
|
+
inverted?: ToggleInverted1;
|
|
48
|
+
}
|
|
49
|
+
export { Sections, ToggleFloating, ToggleInverted, ToggleInverted1, PageProps, Header, Footer };
|
|
@@ -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,9 +1,8 @@
|
|
|
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;
|
|
5
2
|
--dsa-blog-aside__title--color: var(--dsa-headline--color);
|
|
6
3
|
--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);
|
|
7
6
|
--dsa-blog-aside__links--color: var(--dsa-link--color);
|
|
8
7
|
--dsa-blog-aside__divider--color: var(--ks-border-color-accent);
|
|
9
8
|
}
|
|
@@ -14,16 +13,25 @@
|
|
|
14
13
|
.dsa-blog-aside .c-post-meta {
|
|
15
14
|
--c-post-meta--gap: var(--ks-spacing-m);
|
|
16
15
|
--c-post-meta_item--gap: var(--ks-spacing-xs);
|
|
17
|
-
--c-post-meta_item--font: var(--dsa-
|
|
18
|
-
--c-post-meta_item--color: var(--dsa-
|
|
19
|
-
--c-post-meta_item--icon-size: var(--dsa-
|
|
16
|
+
--c-post-meta_item--font: var(--dsa-post-aside__meta__item--font, var(--ks-font-interface-s));
|
|
17
|
+
--c-post-meta_item--color: var(--dsa-post-aside__meta__item--color, var(--ks-text-color-interface));
|
|
18
|
+
--c-post-meta_item--icon-size: var(--dsa-post-aside__meta__item__icon--size, 1.2em);
|
|
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)));
|
|
20
28
|
}
|
|
21
29
|
.dsa-blog-aside .c-contact__links {
|
|
22
|
-
color: var(--dsa-
|
|
30
|
+
color: var(--dsa-post-aside__links--color, var(--dsa-link--color));
|
|
23
31
|
}
|
|
24
32
|
.dsa-blog-aside .c-contact__links .icon {
|
|
25
33
|
color: inherit;
|
|
26
34
|
}
|
|
27
35
|
.dsa-blog-aside .c-divider {
|
|
28
|
-
--c-divider--background: var(--dsa-
|
|
36
|
+
--c-divider--background: var(--dsa-post-aside__divider--color, var(--ks-border-color-accent));
|
|
29
37
|
}
|
|
@@ -27,27 +27,13 @@
|
|
|
27
27
|
]
|
|
28
28
|
},
|
|
29
29
|
"image": {
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
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
|
|
30
|
+
"title": "Image",
|
|
31
|
+
"description": "The image URL of the author",
|
|
32
|
+
"type": "string",
|
|
33
|
+
"format": "image",
|
|
34
|
+
"examples": [
|
|
35
|
+
"img/people/author-emily.png"
|
|
36
|
+
]
|
|
51
37
|
},
|
|
52
38
|
"twitter": {
|
|
53
39
|
"title": "Twitter",
|
|
@@ -23,22 +23,11 @@
|
|
|
23
23
|
"examples": ["CEO at Company"]
|
|
24
24
|
},
|
|
25
25
|
"image": {
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
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
|
-
}
|
|
26
|
+
"title": "Image",
|
|
27
|
+
"description": "The image URL of the author",
|
|
28
|
+
"type": "string",
|
|
29
|
+
"format": "image",
|
|
30
|
+
"examples": ["img/people/author-emily.png"]
|
|
42
31
|
},
|
|
43
32
|
"twitter": {
|
|
44
33
|
"title": "Twitter",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { BlogAsideProps } from "../../BlogAsideProps-
|
|
2
|
+
import { BlogAsideProps } from "../../BlogAsideProps-e1cbd5d3.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
|
+
image: author?.image && { src: author.image },
|
|
44
|
+
copy: author?.byline,
|
|
45
45
|
links: authorLinks,
|
|
46
46
|
}, shareBar: {
|
|
47
47
|
headline: {
|
|
@@ -19,10 +19,24 @@
|
|
|
19
19
|
"title": "Tags",
|
|
20
20
|
"description": "The tags associated with the blog post",
|
|
21
21
|
"items": {
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
23
|
+
"$id": "http://schema.mydesignsystem.com/blog-tag.schema.json",
|
|
24
|
+
"title": "Blog Tag",
|
|
25
|
+
"description": "Tag given to a blog post",
|
|
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"
|
|
26
40
|
]
|
|
27
41
|
}
|
|
28
42
|
},
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { BlogHeadProps } from "../../BlogHeadProps-
|
|
2
|
+
import { BlogHeadProps } from "../../BlogHeadProps-3f6e4072.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.entry };
|
|
9
9
|
}), ref: ref }));
|
|
10
10
|
});
|
|
11
11
|
const BlogHeadContext = createContext(BlogHeadContextDefault);
|
|
@@ -3129,10 +3129,24 @@
|
|
|
3129
3129
|
"title": "Tags",
|
|
3130
3130
|
"description": "The tags for the blog post",
|
|
3131
3131
|
"items": {
|
|
3132
|
-
"
|
|
3133
|
-
"
|
|
3134
|
-
|
|
3135
|
-
|
|
3132
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3133
|
+
"$id": "http://schema.mydesignsystem.com/blog-tag.schema.json",
|
|
3134
|
+
"title": "Blog Tag",
|
|
3135
|
+
"description": "Tag given to a blog post",
|
|
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"
|
|
3136
3150
|
]
|
|
3137
3151
|
}
|
|
3138
3152
|
},
|
|
@@ -3280,10 +3294,24 @@
|
|
|
3280
3294
|
"title": "Tags",
|
|
3281
3295
|
"description": "The tags for the blog post",
|
|
3282
3296
|
"items": {
|
|
3283
|
-
"
|
|
3284
|
-
"
|
|
3285
|
-
|
|
3286
|
-
|
|
3297
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3298
|
+
"$id": "http://schema.mydesignsystem.com/blog-tag.schema.json",
|
|
3299
|
+
"title": "Blog Tag",
|
|
3300
|
+
"description": "Tag given to a blog post",
|
|
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"
|
|
3287
3315
|
]
|
|
3288
3316
|
}
|
|
3289
3317
|
},
|
|
@@ -3432,10 +3460,24 @@
|
|
|
3432
3460
|
"title": "Tags",
|
|
3433
3461
|
"description": "The tags for the blog post",
|
|
3434
3462
|
"items": {
|
|
3435
|
-
"
|
|
3436
|
-
"
|
|
3437
|
-
|
|
3438
|
-
|
|
3463
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3464
|
+
"$id": "http://schema.mydesignsystem.com/blog-tag.schema.json",
|
|
3465
|
+
"title": "Blog Tag",
|
|
3466
|
+
"description": "Tag given to a blog post",
|
|
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"
|
|
3439
3481
|
]
|
|
3440
3482
|
}
|
|
3441
3483
|
},
|
|
@@ -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 };
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
"description": "Abstracts a blog post concept into JSON schema",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"required": [
|
|
8
|
+
"head",
|
|
8
9
|
"seo"
|
|
9
10
|
],
|
|
10
11
|
"properties": {
|
|
@@ -29,10 +30,24 @@
|
|
|
29
30
|
"title": "Tags",
|
|
30
31
|
"description": "The tags associated with the blog post",
|
|
31
32
|
"items": {
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
|
|
35
|
-
|
|
33
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
34
|
+
"$id": "http://schema.mydesignsystem.com/blog-tag.schema.json",
|
|
35
|
+
"title": "Blog Tag",
|
|
36
|
+
"description": "Tag given to a blog post",
|
|
37
|
+
"type": "object",
|
|
38
|
+
"properties": {
|
|
39
|
+
"entry": {
|
|
40
|
+
"title": "Entry",
|
|
41
|
+
"description": "Name of the tag entry",
|
|
42
|
+
"type": "string"
|
|
43
|
+
},
|
|
44
|
+
"type": {
|
|
45
|
+
"const": "blog-tag"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"additionalProperties": false,
|
|
49
|
+
"required": [
|
|
50
|
+
"entry"
|
|
36
51
|
]
|
|
37
52
|
}
|
|
38
53
|
},
|
|
@@ -92,27 +107,13 @@
|
|
|
92
107
|
]
|
|
93
108
|
},
|
|
94
109
|
"image": {
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
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
|
|
110
|
+
"title": "Image",
|
|
111
|
+
"description": "The image URL of the author",
|
|
112
|
+
"type": "string",
|
|
113
|
+
"format": "image",
|
|
114
|
+
"examples": [
|
|
115
|
+
"img/people/author-emily.png"
|
|
116
|
+
]
|
|
116
117
|
},
|
|
117
118
|
"twitter": {
|
|
118
119
|
"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, {
|
|
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 }) }))] }));
|
|
23
23
|
BlogPost.displayName = "BlogPost";
|
|
24
24
|
|
|
25
25
|
export { BlogPost };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "http://schema.mydesignsystem.com/blog-tag.schema.json",
|
|
4
|
+
"title": "Blog Tag",
|
|
5
|
+
"description": "Tag given to a blog post",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"entry": {
|
|
9
|
+
"title": "Entry",
|
|
10
|
+
"description": "Name of the tag entry",
|
|
11
|
+
"type": "string"
|
|
12
|
+
},
|
|
13
|
+
"type": {
|
|
14
|
+
"const": "blog-tag"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"additionalProperties": false,
|
|
18
|
+
"required": [
|
|
19
|
+
"entry"
|
|
20
|
+
]
|
|
21
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "http://schema.mydesignsystem.com/blog-tag.schema.json",
|
|
4
|
+
"title": "Blog Tag",
|
|
5
|
+
"description": "Tag given to a blog post",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"entry": {
|
|
9
|
+
"title": "Entry",
|
|
10
|
+
"description": "Name of the tag entry",
|
|
11
|
+
"type": "string"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"additionalProperties": false,
|
|
15
|
+
"required": ["entry"]
|
|
16
|
+
}
|
|
@@ -19,10 +19,24 @@
|
|
|
19
19
|
"title": "Tags",
|
|
20
20
|
"description": "The tags for the blog post",
|
|
21
21
|
"items": {
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
-
|
|
22
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
23
|
+
"$id": "http://schema.mydesignsystem.com/blog-tag.schema.json",
|
|
24
|
+
"title": "Blog Tag",
|
|
25
|
+
"description": "Tag given to a blog post",
|
|
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"
|
|
26
40
|
]
|
|
27
41
|
}
|
|
28
42
|
},
|