@kickstartds/ds-agency-premium 1.1.0 → 1.1.1--canary.2.81.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/HeadlineProps-d413a2cc.d.ts +48 -0
- package/dist/components/component-teaser/component-teaser.schema.dereffed.json +43 -0
- package/dist/components/component-teaser/component-teaser.schema.json +40 -0
- package/dist/components/headline/index.d.ts +1 -48
- package/dist/components/page/page.schema.dereffed.json +698 -693
- package/dist/components/page/page.schema.json +40 -3
- package/dist/components/page-intro/index.d.ts +14 -1
- package/dist/components/page-wrapper/index.d.ts +3 -2
- package/dist/components/page-wrapper/index.js +471 -6
- package/dist/components/page-wrapper/tokens.css +1 -1
- package/dist/components/section/index.d.ts +6 -7
- package/dist/components/section/section.schema.dereffed.json +662 -664
- package/dist/components/section/section.schema.json +13 -16
- package/dist/components/teaser-component/component-teaser.css +33 -0
- package/dist/components/teaser-component/index.d.ts +41 -0
- package/dist/components/teaser-component/index.js +18 -0
- package/dist/tokens/themes.css +4657 -0
- package/dist/tokens/themes.css.d.ts +0 -0
- package/dist/tokens/themes.css.js +1 -0
- package/dist/tokens/tokens.css +1 -1
- package/dist/tokens/tokens.js +1 -1
- package/package.json +6 -3
- package/dist/PageIntroProps-f13f3e7c.d.ts +0 -14
- package/dist/components/blog-overview/blog-overview.schema.dereffed.json +0 -631
- package/dist/components/blog-overview/blog-overview.schema.json +0 -35
- package/dist/components/blog-post/blog-post.schema.dereffed.json +0 -406
- package/dist/components/blog-post/blog-post.schema.json +0 -28
- package/dist/components/raw-page-wrapper/index.d.ts +0 -3
- package/dist/components/raw-page-wrapper/index.js +0 -492
- package/dist/components/seo/seo.schema.dereffed.json +0 -42
- package/dist/components/seo/seo.schema.json +0 -36
- package/dist/components/settings/settings.schema.dereffed.json +0 -426
- package/dist/components/settings/settings.schema.json +0 -19
- package/dist/static/tokens-google.css +0 -1553
- package/dist/static/tokens-lughausen.css +0 -1549
- package/dist/static/tokens-telekom.css +0 -1549
- package/dist/static/tokens.css +0 -1554
|
@@ -0,0 +1,48 @@
|
|
|
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
|
+
* Text content of headline
|
|
8
|
+
*/
|
|
9
|
+
type Text = string;
|
|
10
|
+
/**
|
|
11
|
+
* Subheadline content
|
|
12
|
+
*/
|
|
13
|
+
type Sub = string;
|
|
14
|
+
/**
|
|
15
|
+
* Switch order of headline and subheadline
|
|
16
|
+
*/
|
|
17
|
+
type SwitchOrder = boolean;
|
|
18
|
+
type SectionAlignment = "left" | "center" | "right";
|
|
19
|
+
/**
|
|
20
|
+
* Level of headline to use
|
|
21
|
+
*/
|
|
22
|
+
type Level = "h1" | "h2" | "h3" | "h4" | "p";
|
|
23
|
+
/**
|
|
24
|
+
* Style of headline to show
|
|
25
|
+
*/
|
|
26
|
+
type Style = "h1" | "h2" | "h3" | "h4" | "p";
|
|
27
|
+
/**
|
|
28
|
+
* Whether to display space after headline
|
|
29
|
+
*/
|
|
30
|
+
type SpaceAfter = "minimum" | "small" | "large";
|
|
31
|
+
/**
|
|
32
|
+
* Set a custom class name
|
|
33
|
+
*/
|
|
34
|
+
type ClassName = string;
|
|
35
|
+
/**
|
|
36
|
+
* Component used for headlines
|
|
37
|
+
*/
|
|
38
|
+
interface HeadlineProps {
|
|
39
|
+
text: Text;
|
|
40
|
+
sub?: Sub;
|
|
41
|
+
switchOrder?: SwitchOrder;
|
|
42
|
+
align?: SectionAlignment;
|
|
43
|
+
level: Level;
|
|
44
|
+
style?: Style;
|
|
45
|
+
spaceAfter?: SpaceAfter;
|
|
46
|
+
className?: ClassName;
|
|
47
|
+
}
|
|
48
|
+
export { Text, Sub, SwitchOrder, SectionAlignment, Level, Style, SpaceAfter, ClassName, HeadlineProps };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "http://schema.mydesignsystem.com/component-teaser.schema.json",
|
|
4
|
+
"title": "Component Teaser",
|
|
5
|
+
"description": "Component used to tease content",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"title": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"title": "Headline",
|
|
11
|
+
"description": "Headline for the teaser card",
|
|
12
|
+
"format": "markdown"
|
|
13
|
+
},
|
|
14
|
+
"text": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"title": "Text",
|
|
17
|
+
"description": "Body text for the teaser card",
|
|
18
|
+
"format": "markdown"
|
|
19
|
+
},
|
|
20
|
+
"label": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"title": "Label",
|
|
23
|
+
"description": "Label for the Teaser Card"
|
|
24
|
+
},
|
|
25
|
+
"target": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"title": "Target",
|
|
28
|
+
"description": "Target that should be linked",
|
|
29
|
+
"format": "uri"
|
|
30
|
+
},
|
|
31
|
+
"image": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"title": "Image",
|
|
34
|
+
"description": "Image to display as cover",
|
|
35
|
+
"format": "uri"
|
|
36
|
+
},
|
|
37
|
+
"type": {
|
|
38
|
+
"const": "component-teaser"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"additionalProperties": false,
|
|
42
|
+
"required": []
|
|
43
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "http://schema.mydesignsystem.com/component-teaser.schema.json",
|
|
4
|
+
"title": "Component Teaser",
|
|
5
|
+
"description": "Component used to tease content",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"title": {
|
|
9
|
+
"type": "string",
|
|
10
|
+
"title": "Headline",
|
|
11
|
+
"description": "Headline for the teaser card",
|
|
12
|
+
"format": "markdown"
|
|
13
|
+
},
|
|
14
|
+
"text": {
|
|
15
|
+
"type": "string",
|
|
16
|
+
"title": "Text",
|
|
17
|
+
"description": "Body text for the teaser card",
|
|
18
|
+
"format": "markdown"
|
|
19
|
+
},
|
|
20
|
+
"label": {
|
|
21
|
+
"type": "string",
|
|
22
|
+
"title": "Label",
|
|
23
|
+
"description": "Label for the Teaser Card"
|
|
24
|
+
},
|
|
25
|
+
"target": {
|
|
26
|
+
"type": "string",
|
|
27
|
+
"title": "Target",
|
|
28
|
+
"description": "Target that should be linked",
|
|
29
|
+
"format": "uri"
|
|
30
|
+
},
|
|
31
|
+
"image": {
|
|
32
|
+
"type": "string",
|
|
33
|
+
"title": "Image",
|
|
34
|
+
"description": "Image to display as cover",
|
|
35
|
+
"format": "uri"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"additionalProperties": false,
|
|
39
|
+
"required": []
|
|
40
|
+
}
|
|
@@ -1,54 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { HTMLAttributes, FC, PropsWithChildren } from "react";
|
|
3
3
|
import { defaultRenderFn } from "@kickstartds/core/lib/core";
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* This file was automatically generated by json-schema-to-typescript.
|
|
7
|
-
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
8
|
-
* and run json-schema-to-typescript to regenerate this file.
|
|
9
|
-
*/
|
|
10
|
-
/**
|
|
11
|
-
* Text content of headline
|
|
12
|
-
*/
|
|
13
|
-
type Text = string;
|
|
14
|
-
/**
|
|
15
|
-
* Subheadline content
|
|
16
|
-
*/
|
|
17
|
-
type Sub = string;
|
|
18
|
-
/**
|
|
19
|
-
* Switch order of headline and subheadline
|
|
20
|
-
*/
|
|
21
|
-
type SwitchOrder = boolean;
|
|
22
|
-
type SectionAlignment = "left" | "center" | "right";
|
|
23
|
-
/**
|
|
24
|
-
* Level of headline to use
|
|
25
|
-
*/
|
|
26
|
-
type Level = "h1" | "h2" | "h3" | "h4" | "p";
|
|
27
|
-
/**
|
|
28
|
-
* Style of headline to show
|
|
29
|
-
*/
|
|
30
|
-
type Style = "h1" | "h2" | "h3" | "h4" | "p";
|
|
31
|
-
/**
|
|
32
|
-
* Whether to display space after headline
|
|
33
|
-
*/
|
|
34
|
-
type SpaceAfter = "minimum" | "small" | "large";
|
|
35
|
-
/**
|
|
36
|
-
* Set a custom class name
|
|
37
|
-
*/
|
|
38
|
-
type ClassName = string;
|
|
39
|
-
/**
|
|
40
|
-
* Component used for headlines
|
|
41
|
-
*/
|
|
42
|
-
interface HeadlineProps {
|
|
43
|
-
text: Text;
|
|
44
|
-
sub?: Sub;
|
|
45
|
-
switchOrder?: SwitchOrder;
|
|
46
|
-
align?: SectionAlignment;
|
|
47
|
-
level: Level;
|
|
48
|
-
style?: Style;
|
|
49
|
-
spaceAfter?: SpaceAfter;
|
|
50
|
-
className?: ClassName;
|
|
51
|
-
}
|
|
4
|
+
import { HeadlineProps } from "../../HeadlineProps-d413a2cc.js";
|
|
52
5
|
interface RenderFunctions {
|
|
53
6
|
renderContent?: typeof defaultRenderFn;
|
|
54
7
|
renderSubheadline?: typeof defaultRenderFn;
|