@kickstartds/ds-agency-premium 1.5.39--canary.1081.bfadc60.0 → 1.5.39
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 → BlogPostProps-d9decb7c.d.ts} +1 -1
- package/dist/DividerProps-2ef31901.d.ts +26 -0
- package/dist/HtmlProps-8e3e725a.d.ts +23 -0
- package/dist/PageProps-aa29c554.d.ts +1 -1
- package/dist/{SectionProps-83d399b4.d.ts → SectionProps-7a46a8ad.d.ts} +3 -1
- package/dist/components/blog-overview/blog-overview.schema.dereffed.json +63 -0
- package/dist/components/blog-post/blog-post.schema.dereffed.json +63 -0
- package/dist/components/blog-post/index.d.ts +1 -1
- package/dist/components/divider/divider.css +14 -5
- package/dist/components/divider/index.d.ts +1 -26
- package/dist/components/header/index.d.ts +3 -3
- package/dist/components/header/index.js +1 -1
- package/dist/components/html/html.schema.dereffed.json +30 -0
- package/dist/components/html/html.schema.json +2 -2
- package/dist/components/html/index.d.ts +5 -27
- package/dist/components/index/index.d.ts +1 -1
- package/dist/components/page/page.schema.dereffed.json +63 -0
- package/dist/components/page-wrapper/tokens.css +405 -404
- package/dist/components/section/index.d.ts +1 -1
- package/dist/components/section/section.schema.dereffed.json +63 -0
- package/dist/components/section/section.schema.json +6 -0
- package/dist/global.css +44 -9
- package/dist/static/fonts/dsa/Fredoka-Bold.woff +0 -0
- package/dist/static/fonts/dsa/Fredoka-Bold.woff2 +0 -0
- package/dist/static/fonts/dsa/Fredoka-Light.woff +0 -0
- package/dist/static/fonts/dsa/Fredoka-Light.woff2 +0 -0
- package/dist/static/fonts/dsa/Fredoka-Medium.woff +0 -0
- package/dist/static/fonts/dsa/Fredoka-Medium.woff2 +0 -0
- package/dist/static/fonts/dsa/Fredoka-Regular.woff +0 -0
- package/dist/static/fonts/dsa/Fredoka-Regular.woff2 +0 -0
- package/dist/static/fonts/dsa/Fredoka-SemiBold.woff +0 -0
- package/dist/static/fonts/dsa/Fredoka-SemiBold.woff2 +0 -0
- package/dist/static/fonts/dsa/Mulish-300.woff +0 -0
- package/dist/static/fonts/dsa/Mulish-300.woff2 +0 -0
- package/dist/static/fonts/dsa/Mulish-600.woff +0 -0
- package/dist/static/fonts/dsa/Mulish-600.woff2 +0 -0
- package/dist/static/fonts/dsa/Mulish-800.woff +0 -0
- package/dist/static/fonts/dsa/Mulish-800.woff2 +0 -0
- package/dist/static/fonts/dsa/Mulish-Regular.woff +0 -0
- package/dist/static/fonts/dsa/Mulish-Regular.woff2 +0 -0
- package/dist/static/img/screenshots/blog-blog-aside--default.png +0 -0
- package/dist/static/img/screenshots/blog-blog-author--default.png +0 -0
- package/dist/static/img/screenshots/components-contact--wide-image.png +0 -0
- package/dist/static/img/screenshots/components-stats--count-up-with-description.png +0 -0
- package/dist/static/img/screenshots/components-stats--count-up-with-icons.png +0 -0
- package/dist/static/img/screenshots/components-teaser-card--page-navigation.png +0 -0
- package/dist/static/img/screenshots/components-testimonials--slider-layout.png +0 -0
- package/dist/static/img/screenshots/components-testimonials--with-rating.png +0 -0
- package/dist/static/img/screenshots/layout-divider--accent.png +0 -0
- package/dist/static/img/screenshots/layout-divider--default.png +0 -0
- package/dist/static/img/screenshots/layout-footer--footer.png +0 -0
- package/dist/static/img/screenshots/layout-slider--with-arrows.png +0 -0
- package/dist/static/img/screenshots/layout-slider--with-autoplay.png +0 -0
- package/dist/static/img/screenshots/layout-slider--with-nav.png +0 -0
- package/dist/static/img/screenshots/layout-slider--with-teased-neighbours.png +0 -0
- package/dist/static/img/screenshots/pages-archetypes--blog-post.png +0 -0
- package/dist/static/img/screenshots/pages-archetypes--overview.png +0 -0
- package/dist/tokens/themes.css +4 -4
- package/dist/tokens/tokens.css +405 -404
- package/dist/tokens/tokens.js +614 -613
- package/package.json +1 -1
- package/dist/static/fonts/dsa/Vollkorn-Black.woff +0 -0
- package/dist/static/fonts/dsa/Vollkorn-Black.woff2 +0 -0
- package/dist/static/fonts/dsa/Vollkorn-Bold.woff +0 -0
- package/dist/static/fonts/dsa/Vollkorn-Bold.woff2 +0 -0
- package/dist/static/fonts/dsa/Vollkorn-ExtraBold.woff +0 -0
- package/dist/static/fonts/dsa/Vollkorn-ExtraBold.woff2 +0 -0
- package/dist/static/fonts/dsa/Vollkorn-Medium.woff +0 -0
- package/dist/static/fonts/dsa/Vollkorn-Medium.woff2 +0 -0
- package/dist/static/fonts/dsa/Vollkorn-Regular.woff +0 -0
- package/dist/static/fonts/dsa/Vollkorn-Regular.woff2 +0 -0
- package/dist/static/fonts/dsa/Vollkorn-SemiBold.woff +0 -0
- package/dist/static/fonts/dsa/Vollkorn-SemiBold.woff2 +0 -0
|
@@ -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 { SectionProps } from "./SectionProps-
|
|
6
|
+
import { SectionProps } from "./SectionProps-7a46a8ad.js";
|
|
7
7
|
import { BlogTeaserProps } from "./BlogTeaserProps-f5855e93.js";
|
|
8
8
|
import { CtaProps } from "./CtaProps-93230a76.js";
|
|
9
9
|
import { SeoProps } from "./SeoProps-f2d6dcaa.js";
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import { BlogHeadProps } from "./BlogHeadProps-3f6e4072.js";
|
|
7
7
|
import { BlogAsideProps } from "./BlogAsideProps-d9decb7c.js";
|
|
8
|
-
import { SectionProps } from "./SectionProps-
|
|
8
|
+
import { SectionProps } from "./SectionProps-7a46a8ad.js";
|
|
9
9
|
import { CtaProps } from "./CtaProps-93230a76.js";
|
|
10
10
|
import { SeoProps } from "./SeoProps-f2d6dcaa.js";
|
|
11
11
|
/**
|
|
@@ -0,0 +1,26 @@
|
|
|
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
|
+
* Choose a variant for the divider
|
|
8
|
+
*/
|
|
9
|
+
type StyleOfTheDivider = "default" | "accent";
|
|
10
|
+
/**
|
|
11
|
+
* Add additional css classes that should be applied to the divider
|
|
12
|
+
*/
|
|
13
|
+
type AdditionalClasses = string;
|
|
14
|
+
/**
|
|
15
|
+
* Optional custom component identifier
|
|
16
|
+
*/
|
|
17
|
+
type KsComponentAttribute = string;
|
|
18
|
+
/**
|
|
19
|
+
* Dividers bring clarity to a layout by grouping and dividing content in close proximity.
|
|
20
|
+
*/
|
|
21
|
+
interface DividerProps {
|
|
22
|
+
variant?: StyleOfTheDivider;
|
|
23
|
+
className?: AdditionalClasses;
|
|
24
|
+
component?: KsComponentAttribute;
|
|
25
|
+
}
|
|
26
|
+
export { StyleOfTheDivider, AdditionalClasses, KsComponentAttribute, DividerProps };
|
|
@@ -0,0 +1,23 @@
|
|
|
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
|
+
type HTMLString = string;
|
|
7
|
+
/**
|
|
8
|
+
* Add additional css classes that should be applied to the element
|
|
9
|
+
*/
|
|
10
|
+
type AdditionalClasses = string;
|
|
11
|
+
/**
|
|
12
|
+
* Optional custom component identifier
|
|
13
|
+
*/
|
|
14
|
+
type KsComponentAttribute = string;
|
|
15
|
+
/**
|
|
16
|
+
* Display raw HTML.
|
|
17
|
+
*/
|
|
18
|
+
interface HtmlProps {
|
|
19
|
+
html?: HTMLString;
|
|
20
|
+
className?: AdditionalClasses;
|
|
21
|
+
component?: KsComponentAttribute;
|
|
22
|
+
}
|
|
23
|
+
export { HTMLString, AdditionalClasses, KsComponentAttribute, HtmlProps };
|
|
@@ -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 { SectionProps } from "./SectionProps-
|
|
6
|
+
import { SectionProps } from "./SectionProps-7a46a8ad.js";
|
|
7
7
|
import { SeoProps } from "./SeoProps-f2d6dcaa.js";
|
|
8
8
|
/**
|
|
9
9
|
* Collection of sections (with their contents) to render on the page
|
|
@@ -4,10 +4,12 @@
|
|
|
4
4
|
* and run json-schema-to-typescript to regenerate this file.
|
|
5
5
|
*/
|
|
6
6
|
import { CtaProps } from "./CtaProps-93230a76.js";
|
|
7
|
+
import { DividerProps } from "./DividerProps-2ef31901.js";
|
|
7
8
|
import { FaqProps } from "./FaqProps-ad618cd5.js";
|
|
8
9
|
import { FeaturesProps } from "./FeaturesProps-b05859d6.js";
|
|
9
10
|
import { GalleryProps } from "./GalleryProps-76e7de44.js";
|
|
10
11
|
import { HeroProps } from "./HeroProps-cf82a16d.js";
|
|
12
|
+
import { HtmlProps } from "./HtmlProps-8e3e725a.js";
|
|
11
13
|
import { ImageStoryProps } from "./ImageStoryProps-e853e1e7.js";
|
|
12
14
|
import { ImageTextProps } from "./ImageTextProps-9286cca4.js";
|
|
13
15
|
import { LogosProps } from "./LogosProps-f9474fe2.js";
|
|
@@ -102,7 +104,7 @@ type TileWidth = "smallest" | "default" | "medium" | "large" | "largest";
|
|
|
102
104
|
/**
|
|
103
105
|
* Allowed components for content
|
|
104
106
|
*/
|
|
105
|
-
type Content = (CtaProps | FaqProps | FeaturesProps | GalleryProps | HeroProps | ImageStoryProps | ImageTextProps | LogosProps | MosaicProps | SliderProps | StatsProps | TeaserCardProps | TestimonialsProps | TextProps | VideoCurtainProps)[];
|
|
107
|
+
type Content = (CtaProps | DividerProps | FaqProps | FeaturesProps | GalleryProps | HeroProps | HtmlProps | ImageStoryProps | ImageTextProps | LogosProps | MosaicProps | SliderProps | StatsProps | TeaserCardProps | TestimonialsProps | TextProps | VideoCurtainProps)[];
|
|
106
108
|
/**
|
|
107
109
|
* Buttons of the Button Group
|
|
108
110
|
*/
|
|
@@ -396,6 +396,39 @@
|
|
|
396
396
|
},
|
|
397
397
|
"additionalProperties": false
|
|
398
398
|
},
|
|
399
|
+
{
|
|
400
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
401
|
+
"$id": "http://schema.mydesignsystem.com/divider.schema.json",
|
|
402
|
+
"title": "Divider",
|
|
403
|
+
"description": "Dividers bring clarity to a layout by grouping and dividing content in close proximity.",
|
|
404
|
+
"type": "object",
|
|
405
|
+
"properties": {
|
|
406
|
+
"variant": {
|
|
407
|
+
"title": "Style of the divider",
|
|
408
|
+
"type": "string",
|
|
409
|
+
"description": "Choose a variant for the divider",
|
|
410
|
+
"enum": [
|
|
411
|
+
"default",
|
|
412
|
+
"accent"
|
|
413
|
+
],
|
|
414
|
+
"default": "default"
|
|
415
|
+
},
|
|
416
|
+
"className": {
|
|
417
|
+
"type": "string",
|
|
418
|
+
"title": "Additional Classes",
|
|
419
|
+
"description": "Add additional css classes that should be applied to the divider"
|
|
420
|
+
},
|
|
421
|
+
"component": {
|
|
422
|
+
"title": "`ks-component` attribute",
|
|
423
|
+
"description": "Optional custom component identifier",
|
|
424
|
+
"type": "string"
|
|
425
|
+
},
|
|
426
|
+
"type": {
|
|
427
|
+
"const": "divider"
|
|
428
|
+
}
|
|
429
|
+
},
|
|
430
|
+
"additionalProperties": false
|
|
431
|
+
},
|
|
399
432
|
{
|
|
400
433
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
401
434
|
"$id": "http://schema.mydesignsystem.com/faq.schema.json",
|
|
@@ -858,6 +891,36 @@
|
|
|
858
891
|
},
|
|
859
892
|
"additionalProperties": false
|
|
860
893
|
},
|
|
894
|
+
{
|
|
895
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
896
|
+
"$id": "http://schema.mydesignsystem.com/html.schema.json",
|
|
897
|
+
"title": "Html",
|
|
898
|
+
"description": "Display raw HTML.",
|
|
899
|
+
"type": "object",
|
|
900
|
+
"properties": {
|
|
901
|
+
"html": {
|
|
902
|
+
"title": "HTML string",
|
|
903
|
+
"type": "string",
|
|
904
|
+
"examples": [
|
|
905
|
+
"<p>Hello world!</p>"
|
|
906
|
+
]
|
|
907
|
+
},
|
|
908
|
+
"className": {
|
|
909
|
+
"title": "Additional Classes",
|
|
910
|
+
"description": "Add additional css classes that should be applied to the element",
|
|
911
|
+
"type": "string"
|
|
912
|
+
},
|
|
913
|
+
"component": {
|
|
914
|
+
"title": "`ks-component` attribute",
|
|
915
|
+
"description": "Optional custom component identifier",
|
|
916
|
+
"type": "string"
|
|
917
|
+
},
|
|
918
|
+
"type": {
|
|
919
|
+
"const": "html"
|
|
920
|
+
}
|
|
921
|
+
},
|
|
922
|
+
"additionalProperties": false
|
|
923
|
+
},
|
|
861
924
|
{
|
|
862
925
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
863
926
|
"$id": "http://schema.mydesignsystem.com/image-story.schema.json",
|
|
@@ -664,6 +664,39 @@
|
|
|
664
664
|
},
|
|
665
665
|
"additionalProperties": false
|
|
666
666
|
},
|
|
667
|
+
{
|
|
668
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
669
|
+
"$id": "http://schema.mydesignsystem.com/divider.schema.json",
|
|
670
|
+
"title": "Divider",
|
|
671
|
+
"description": "Dividers bring clarity to a layout by grouping and dividing content in close proximity.",
|
|
672
|
+
"type": "object",
|
|
673
|
+
"properties": {
|
|
674
|
+
"variant": {
|
|
675
|
+
"title": "Style of the divider",
|
|
676
|
+
"type": "string",
|
|
677
|
+
"description": "Choose a variant for the divider",
|
|
678
|
+
"enum": [
|
|
679
|
+
"default",
|
|
680
|
+
"accent"
|
|
681
|
+
],
|
|
682
|
+
"default": "default"
|
|
683
|
+
},
|
|
684
|
+
"className": {
|
|
685
|
+
"type": "string",
|
|
686
|
+
"title": "Additional Classes",
|
|
687
|
+
"description": "Add additional css classes that should be applied to the divider"
|
|
688
|
+
},
|
|
689
|
+
"component": {
|
|
690
|
+
"title": "`ks-component` attribute",
|
|
691
|
+
"description": "Optional custom component identifier",
|
|
692
|
+
"type": "string"
|
|
693
|
+
},
|
|
694
|
+
"type": {
|
|
695
|
+
"const": "divider"
|
|
696
|
+
}
|
|
697
|
+
},
|
|
698
|
+
"additionalProperties": false
|
|
699
|
+
},
|
|
667
700
|
{
|
|
668
701
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
669
702
|
"$id": "http://schema.mydesignsystem.com/faq.schema.json",
|
|
@@ -1126,6 +1159,36 @@
|
|
|
1126
1159
|
},
|
|
1127
1160
|
"additionalProperties": false
|
|
1128
1161
|
},
|
|
1162
|
+
{
|
|
1163
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1164
|
+
"$id": "http://schema.mydesignsystem.com/html.schema.json",
|
|
1165
|
+
"title": "Html",
|
|
1166
|
+
"description": "Display raw HTML.",
|
|
1167
|
+
"type": "object",
|
|
1168
|
+
"properties": {
|
|
1169
|
+
"html": {
|
|
1170
|
+
"title": "HTML string",
|
|
1171
|
+
"type": "string",
|
|
1172
|
+
"examples": [
|
|
1173
|
+
"<p>Hello world!</p>"
|
|
1174
|
+
]
|
|
1175
|
+
},
|
|
1176
|
+
"className": {
|
|
1177
|
+
"title": "Additional Classes",
|
|
1178
|
+
"description": "Add additional css classes that should be applied to the element",
|
|
1179
|
+
"type": "string"
|
|
1180
|
+
},
|
|
1181
|
+
"component": {
|
|
1182
|
+
"title": "`ks-component` attribute",
|
|
1183
|
+
"description": "Optional custom component identifier",
|
|
1184
|
+
"type": "string"
|
|
1185
|
+
},
|
|
1186
|
+
"type": {
|
|
1187
|
+
"const": "html"
|
|
1188
|
+
}
|
|
1189
|
+
},
|
|
1190
|
+
"additionalProperties": false
|
|
1191
|
+
},
|
|
1129
1192
|
{
|
|
1130
1193
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1131
1194
|
"$id": "http://schema.mydesignsystem.com/image-story.schema.json",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BlogPostProps } from "../../BlogPostProps-
|
|
1
|
+
import { BlogPostProps } from "../../BlogPostProps-d9decb7c.js";
|
|
2
2
|
import { FC, PropsWithChildren } from "react";
|
|
3
3
|
declare const BlogPost: FC<PropsWithChildren<BlogPostProps>>;
|
|
4
4
|
export type { BlogPostProps };
|
|
@@ -1,13 +1,22 @@
|
|
|
1
1
|
.dsa-divider {
|
|
2
|
-
--dsa-divider--background: var(--ks-border-color-
|
|
3
|
-
--dsa-divider--background_accent: var(--ks-border-color-
|
|
2
|
+
--dsa-divider--background: var(--ks-border-color-interface);
|
|
3
|
+
--dsa-divider--background_accent: var(--ks-border-color-interface);
|
|
4
4
|
--dsa-divider--height: var(--ks-border-width-default);
|
|
5
5
|
}
|
|
6
6
|
|
|
7
7
|
hr.c-divider {
|
|
8
|
-
--c-divider--background: var(
|
|
9
|
-
|
|
8
|
+
--c-divider--background: var(
|
|
9
|
+
--dsa-divider--background,
|
|
10
|
+
var(--ks-border-color-default)
|
|
11
|
+
);
|
|
12
|
+
--c-divider--height: var(
|
|
13
|
+
--dsa-divider--height,
|
|
14
|
+
var(--ks-border-width-default)
|
|
15
|
+
);
|
|
10
16
|
}
|
|
11
17
|
hr.c-divider--accent {
|
|
12
|
-
--c-divider--background: var(
|
|
18
|
+
--c-divider--background: var(
|
|
19
|
+
--dsa-divider--background_accent,
|
|
20
|
+
var(--ks-border-color-accent)
|
|
21
|
+
);
|
|
13
22
|
}
|
|
@@ -1,31 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { HTMLAttributes, FC, PropsWithChildren } from "react";
|
|
3
|
-
|
|
4
|
-
/**
|
|
5
|
-
* This file was automatically generated by json-schema-to-typescript.
|
|
6
|
-
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
7
|
-
* and run json-schema-to-typescript to regenerate this file.
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* Choose a variant for the divider
|
|
11
|
-
*/
|
|
12
|
-
type StyleOfTheDivider = "default" | "accent";
|
|
13
|
-
/**
|
|
14
|
-
* Add additional css classes that should be applied to the divider
|
|
15
|
-
*/
|
|
16
|
-
type AdditionalClasses = string;
|
|
17
|
-
/**
|
|
18
|
-
* Optional custom component identifier
|
|
19
|
-
*/
|
|
20
|
-
type KsComponentAttribute = string;
|
|
21
|
-
/**
|
|
22
|
-
* Dividers bring clarity to a layout by grouping and dividing content in close proximity.
|
|
23
|
-
*/
|
|
24
|
-
interface DividerProps {
|
|
25
|
-
variant?: StyleOfTheDivider;
|
|
26
|
-
className?: AdditionalClasses;
|
|
27
|
-
component?: KsComponentAttribute;
|
|
28
|
-
}
|
|
3
|
+
import { DividerProps } from "../../DividerProps-2ef31901.js";
|
|
29
4
|
declare const DividerContextDefault: import("react").ForwardRefExoticComponent<DividerProps & HTMLAttributes<HTMLHRElement> & import("react").RefAttributes<HTMLHRElement>>;
|
|
30
5
|
declare const DividerContext: import("react").Context<import("react").ForwardRefExoticComponent<DividerProps & HTMLAttributes<HTMLHRElement> & import("react").RefAttributes<HTMLHRElement>>>;
|
|
31
6
|
declare const Divider: import("react").ForwardRefExoticComponent<DividerProps & HTMLAttributes<HTMLHRElement> & import("react").RefAttributes<HTMLHRElement>>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { HTMLAttributes } from "react";
|
|
3
3
|
import { HeaderProps } from "../../HeaderProps-e22382f1.js";
|
|
4
|
-
declare const HeaderContextDefault: import("react").ForwardRefExoticComponent<HeaderProps & HTMLAttributes<
|
|
5
|
-
declare const HeaderContext: import("react").Context<import("react").ForwardRefExoticComponent<HeaderProps & HTMLAttributes<
|
|
6
|
-
declare const Header: import("react").ForwardRefExoticComponent<HeaderProps & HTMLAttributes<
|
|
4
|
+
declare const HeaderContextDefault: import("react").ForwardRefExoticComponent<HeaderProps & HTMLAttributes<HTMLElement> & import("react").RefAttributes<HTMLElement>>;
|
|
5
|
+
declare const HeaderContext: import("react").Context<import("react").ForwardRefExoticComponent<HeaderProps & HTMLAttributes<HTMLElement> & import("react").RefAttributes<HTMLElement>>>;
|
|
6
|
+
declare const Header: import("react").ForwardRefExoticComponent<HeaderProps & HTMLAttributes<HTMLElement> & import("react").RefAttributes<HTMLElement>>;
|
|
7
7
|
export type { HeaderProps };
|
|
8
8
|
export { HeaderContextDefault, HeaderContext, Header };
|
|
@@ -17,7 +17,7 @@ import '../nav-dropdown/index.js';
|
|
|
17
17
|
import '../nav-flyout/index.js';
|
|
18
18
|
import '@kickstartds/base/lib/picture';
|
|
19
19
|
|
|
20
|
-
const HeaderContextDefault = forwardRef(({ logo, floating, inverted = false, flyoutInverted = false, dropdownInverted = false, navItems = [], }, ref) => (jsx("
|
|
20
|
+
const HeaderContextDefault = forwardRef(({ logo, floating, inverted = false, flyoutInverted = false, dropdownInverted = false, navItems = [], }, ref) => (jsx("header", { className: classnames("dsa-header", floating ? `dsa-header--floating` : ""), "ks-inverted": inverted.toString(), ref: ref, children: jsxs("div", { className: "dsa-header__content", children: [jsx(Logo, { ...logo, className: "dsa-header__logo", inverted: inverted }), jsx(NavMain, { flyoutInverted: flyoutInverted, dropdownInverted: dropdownInverted, items: navItems, logo: {
|
|
21
21
|
...logo,
|
|
22
22
|
inverted: flyoutInverted,
|
|
23
23
|
} })] }) })));
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$id": "http://schema.mydesignsystem.com/html.schema.json",
|
|
4
|
+
"title": "Html",
|
|
5
|
+
"description": "Display raw HTML.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"html": {
|
|
9
|
+
"title": "HTML string",
|
|
10
|
+
"type": "string",
|
|
11
|
+
"examples": [
|
|
12
|
+
"<p>Hello world!</p>"
|
|
13
|
+
]
|
|
14
|
+
},
|
|
15
|
+
"className": {
|
|
16
|
+
"title": "Additional Classes",
|
|
17
|
+
"description": "Add additional css classes that should be applied to the element",
|
|
18
|
+
"type": "string"
|
|
19
|
+
},
|
|
20
|
+
"component": {
|
|
21
|
+
"title": "`ks-component` attribute",
|
|
22
|
+
"description": "Optional custom component identifier",
|
|
23
|
+
"type": "string"
|
|
24
|
+
},
|
|
25
|
+
"type": {
|
|
26
|
+
"const": "html"
|
|
27
|
+
}
|
|
28
|
+
},
|
|
29
|
+
"additionalProperties": false
|
|
30
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "http://schema.
|
|
4
|
-
"title": "
|
|
3
|
+
"$id": "http://schema.mydesignsystem.com/html.schema.json",
|
|
4
|
+
"title": "Html",
|
|
5
5
|
"description": "Display raw HTML.",
|
|
6
6
|
"type": "object",
|
|
7
7
|
"properties": {
|
|
@@ -1,30 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { HTMLAttributes } from "react";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
*/
|
|
9
|
-
type HTMLString = string;
|
|
10
|
-
/**
|
|
11
|
-
* Add additional css classes that should be applied to the element
|
|
12
|
-
*/
|
|
13
|
-
type AdditionalClasses = string;
|
|
14
|
-
/**
|
|
15
|
-
* Optional custom component identifier
|
|
16
|
-
*/
|
|
17
|
-
type KsComponentAttribute = string;
|
|
18
|
-
/**
|
|
19
|
-
* Display raw HTML.
|
|
20
|
-
*/
|
|
21
|
-
interface HTMLProps {
|
|
22
|
-
html?: HTMLString;
|
|
23
|
-
className?: AdditionalClasses;
|
|
24
|
-
component?: KsComponentAttribute;
|
|
25
|
-
}
|
|
26
|
-
declare const HtmlContextDefault: import("react").ForwardRefExoticComponent<HTMLProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
27
|
-
declare const HtmlContext: import("react").Context<import("react").ForwardRefExoticComponent<HTMLProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>>;
|
|
28
|
-
declare const Html: import("react").ForwardRefExoticComponent<HTMLProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
29
|
-
export type { HTMLProps };
|
|
3
|
+
import { HtmlProps } from "../../HtmlProps-8e3e725a.js";
|
|
4
|
+
declare const HtmlContextDefault: import("react").ForwardRefExoticComponent<HtmlProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
|
+
declare const HtmlContext: import("react").Context<import("react").ForwardRefExoticComponent<HtmlProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>>;
|
|
6
|
+
declare const Html: import("react").ForwardRefExoticComponent<HtmlProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
7
|
+
export type { HtmlProps };
|
|
30
8
|
export { HtmlContextDefault, HtmlContext, Html };
|
|
@@ -24,7 +24,7 @@ interface SettingsProps {
|
|
|
24
24
|
*/
|
|
25
25
|
seo: SeoProps;
|
|
26
26
|
}
|
|
27
|
-
export * from "../../BlogPostProps-
|
|
27
|
+
export * from "../../BlogPostProps-d9decb7c.js";
|
|
28
28
|
export * from "../../BlogOverviewProps-9f207f1c.js";
|
|
29
29
|
export * from "../../PageProps-aa29c554.js";
|
|
30
30
|
export { SettingsProps };
|
|
@@ -396,6 +396,39 @@
|
|
|
396
396
|
},
|
|
397
397
|
"additionalProperties": false
|
|
398
398
|
},
|
|
399
|
+
{
|
|
400
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
401
|
+
"$id": "http://schema.mydesignsystem.com/divider.schema.json",
|
|
402
|
+
"title": "Divider",
|
|
403
|
+
"description": "Dividers bring clarity to a layout by grouping and dividing content in close proximity.",
|
|
404
|
+
"type": "object",
|
|
405
|
+
"properties": {
|
|
406
|
+
"variant": {
|
|
407
|
+
"title": "Style of the divider",
|
|
408
|
+
"type": "string",
|
|
409
|
+
"description": "Choose a variant for the divider",
|
|
410
|
+
"enum": [
|
|
411
|
+
"default",
|
|
412
|
+
"accent"
|
|
413
|
+
],
|
|
414
|
+
"default": "default"
|
|
415
|
+
},
|
|
416
|
+
"className": {
|
|
417
|
+
"type": "string",
|
|
418
|
+
"title": "Additional Classes",
|
|
419
|
+
"description": "Add additional css classes that should be applied to the divider"
|
|
420
|
+
},
|
|
421
|
+
"component": {
|
|
422
|
+
"title": "`ks-component` attribute",
|
|
423
|
+
"description": "Optional custom component identifier",
|
|
424
|
+
"type": "string"
|
|
425
|
+
},
|
|
426
|
+
"type": {
|
|
427
|
+
"const": "divider"
|
|
428
|
+
}
|
|
429
|
+
},
|
|
430
|
+
"additionalProperties": false
|
|
431
|
+
},
|
|
399
432
|
{
|
|
400
433
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
401
434
|
"$id": "http://schema.mydesignsystem.com/faq.schema.json",
|
|
@@ -858,6 +891,36 @@
|
|
|
858
891
|
},
|
|
859
892
|
"additionalProperties": false
|
|
860
893
|
},
|
|
894
|
+
{
|
|
895
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
896
|
+
"$id": "http://schema.mydesignsystem.com/html.schema.json",
|
|
897
|
+
"title": "Html",
|
|
898
|
+
"description": "Display raw HTML.",
|
|
899
|
+
"type": "object",
|
|
900
|
+
"properties": {
|
|
901
|
+
"html": {
|
|
902
|
+
"title": "HTML string",
|
|
903
|
+
"type": "string",
|
|
904
|
+
"examples": [
|
|
905
|
+
"<p>Hello world!</p>"
|
|
906
|
+
]
|
|
907
|
+
},
|
|
908
|
+
"className": {
|
|
909
|
+
"title": "Additional Classes",
|
|
910
|
+
"description": "Add additional css classes that should be applied to the element",
|
|
911
|
+
"type": "string"
|
|
912
|
+
},
|
|
913
|
+
"component": {
|
|
914
|
+
"title": "`ks-component` attribute",
|
|
915
|
+
"description": "Optional custom component identifier",
|
|
916
|
+
"type": "string"
|
|
917
|
+
},
|
|
918
|
+
"type": {
|
|
919
|
+
"const": "html"
|
|
920
|
+
}
|
|
921
|
+
},
|
|
922
|
+
"additionalProperties": false
|
|
923
|
+
},
|
|
861
924
|
{
|
|
862
925
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
863
926
|
"$id": "http://schema.mydesignsystem.com/image-story.schema.json",
|