@kickstartds/ds-agency-premium 1.6.65 → 1.6.66
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-d9decb7c.d.ts} +1 -1
- package/dist/{HtmlProps-8e95ed81.d.ts → HtmlProps-9d091769.d.ts} +6 -1
- package/dist/{PageProps-aa29c554.d.ts → PageProps-1cfcf6e8.d.ts} +1 -1
- package/dist/{SectionProps-1cfcf6e8.d.ts → SectionProps-03ff6d21.d.ts} +2 -2
- package/dist/components/blog-overview/blog-overview.schema.dereffed.json +6 -0
- package/dist/components/blog-overview/index.d.ts +1 -1
- package/dist/components/blog-post/blog-post.schema.dereffed.json +6 -0
- package/dist/components/blog-post/index.d.ts +1 -1
- package/dist/components/html/html.css +2 -0
- package/dist/components/html/html.schema.dereffed.json +6 -0
- package/dist/components/html/html.schema.json +7 -6
- package/dist/components/html/index.d.ts +1 -1
- package/dist/components/html/index.js +2 -2
- package/dist/components/image-story/index.d.ts +1 -1
- package/dist/components/index/index.d.ts +3 -3
- package/dist/components/page/index.d.ts +1 -1
- package/dist/components/page/page.schema.dereffed.json +6 -0
- package/dist/components/page-wrapper/tokens.css +1 -1
- package/dist/components/presets.json +4 -1
- package/dist/components/section/index.d.ts +1 -1
- package/dist/components/section/section.schema.dereffed.json +6 -0
- 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
|
@@ -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-03ff6d21.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-c04a5ed8.js";
|
|
7
7
|
import { BlogAsideProps } from "./BlogAsideProps-d9decb7c.js";
|
|
8
|
-
import { SectionProps } from "./SectionProps-
|
|
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
|
/**
|
|
@@ -5,6 +5,10 @@
|
|
|
5
5
|
*/
|
|
6
6
|
type HTMLString = string;
|
|
7
7
|
type ShowHTMLAfterConsent = boolean;
|
|
8
|
+
/**
|
|
9
|
+
* Invert the colors of the HTML
|
|
10
|
+
*/
|
|
11
|
+
type Inverted = boolean;
|
|
8
12
|
/**
|
|
9
13
|
* Add additional css classes that should be applied to the element
|
|
10
14
|
*/
|
|
@@ -23,7 +27,8 @@ interface HtmlProps {
|
|
|
23
27
|
consentButtonLabel?: string;
|
|
24
28
|
consentBackgroundImage?: string;
|
|
25
29
|
consentAspectRatio?: "16:9" | "16:10" | "4:3" | "1:1";
|
|
30
|
+
inverted?: Inverted;
|
|
26
31
|
className?: AdditionalClasses;
|
|
27
32
|
component?: KsComponentAttribute;
|
|
28
33
|
}
|
|
29
|
-
export { HTMLString, ShowHTMLAfterConsent, AdditionalClasses, KsComponentAttribute, HtmlProps };
|
|
34
|
+
export { HTMLString, ShowHTMLAfterConsent, Inverted, 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-03ff6d21.js";
|
|
7
7
|
import { SeoProps } from "./SeoProps-f2d6dcaa.js";
|
|
8
8
|
/**
|
|
9
9
|
* Collection of sections (with their contents) to render on the page
|
|
@@ -9,8 +9,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
|
-
import { HtmlProps } from "./HtmlProps-
|
|
13
|
-
import { ImageStoryProps } from "./ImageStoryProps-
|
|
12
|
+
import { HtmlProps } from "./HtmlProps-9d091769.js";
|
|
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";
|
|
@@ -899,6 +899,12 @@
|
|
|
899
899
|
],
|
|
900
900
|
"default": "16:9"
|
|
901
901
|
},
|
|
902
|
+
"inverted": {
|
|
903
|
+
"title": "Inverted",
|
|
904
|
+
"description": "Invert the colors of the HTML",
|
|
905
|
+
"type": "boolean",
|
|
906
|
+
"default": false
|
|
907
|
+
},
|
|
902
908
|
"className": {
|
|
903
909
|
"title": "Additional Classes",
|
|
904
910
|
"description": "Add additional css classes that should be applied to the element",
|
|
@@ -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 };
|
|
@@ -1175,6 +1175,12 @@
|
|
|
1175
1175
|
],
|
|
1176
1176
|
"default": "16:9"
|
|
1177
1177
|
},
|
|
1178
|
+
"inverted": {
|
|
1179
|
+
"title": "Inverted",
|
|
1180
|
+
"description": "Invert the colors of the HTML",
|
|
1181
|
+
"type": "boolean",
|
|
1182
|
+
"default": false
|
|
1183
|
+
},
|
|
1178
1184
|
"className": {
|
|
1179
1185
|
"title": "Additional Classes",
|
|
1180
1186
|
"description": "Add additional css classes that should be applied to the element",
|
|
@@ -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,6 +1,7 @@
|
|
|
1
1
|
.dsa-html {
|
|
2
2
|
--dsa-html__consent--color: var(--ks-text-color-display);
|
|
3
3
|
--dsa-html__consent--font: var(--ks-font-copy-m);
|
|
4
|
+
--dsa-html__consent--font-weight: var(--ks-font-weight-regular);
|
|
4
5
|
--dsa-html__consent--background: var(--ks-color-fg-inverted-alpha-4);
|
|
5
6
|
}
|
|
6
7
|
|
|
@@ -20,6 +21,7 @@
|
|
|
20
21
|
.dsa-html__consent .c-rich-text {
|
|
21
22
|
color: var(--dsa-html__consent--color, var(--ks-text-color-display));
|
|
22
23
|
font: var(--dsa-html__consent--font, var(--ks-font-interface-m));
|
|
24
|
+
font-weight: var(--dsa-html__consent--font-weight, var(--ks-font-weight-regular));
|
|
23
25
|
text-align: center;
|
|
24
26
|
}
|
|
25
27
|
.dsa-html__consent:after {
|
|
@@ -37,6 +37,12 @@
|
|
|
37
37
|
],
|
|
38
38
|
"default": "16:9"
|
|
39
39
|
},
|
|
40
|
+
"inverted": {
|
|
41
|
+
"title": "Inverted",
|
|
42
|
+
"description": "Invert the colors of the HTML",
|
|
43
|
+
"type": "boolean",
|
|
44
|
+
"default": false
|
|
45
|
+
},
|
|
40
46
|
"className": {
|
|
41
47
|
"title": "Additional Classes",
|
|
42
48
|
"description": "Add additional css classes that should be applied to the element",
|
|
@@ -29,14 +29,15 @@
|
|
|
29
29
|
},
|
|
30
30
|
"consentAspectRatio": {
|
|
31
31
|
"type": "string",
|
|
32
|
-
"enum": [
|
|
33
|
-
"16:9",
|
|
34
|
-
"16:10",
|
|
35
|
-
"4:3",
|
|
36
|
-
"1:1"
|
|
37
|
-
],
|
|
32
|
+
"enum": ["16:9", "16:10", "4:3", "1:1"],
|
|
38
33
|
"default": "16:9"
|
|
39
34
|
},
|
|
35
|
+
"inverted": {
|
|
36
|
+
"title": "Inverted",
|
|
37
|
+
"description": "Invert the colors of the HTML",
|
|
38
|
+
"type": "boolean",
|
|
39
|
+
"default": false
|
|
40
|
+
},
|
|
40
41
|
"className": {
|
|
41
42
|
"title": "Additional Classes",
|
|
42
43
|
"description": "Add additional css classes that should be applied to the element",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { HTMLAttributes } from "react";
|
|
3
|
-
import { HtmlProps } from "../../HtmlProps-
|
|
3
|
+
import { HtmlProps } from "../../HtmlProps-9d091769.js";
|
|
4
4
|
declare const HtmlContextDefault: import("react").ForwardRefExoticComponent<HtmlProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
5
|
declare const HtmlContext: import("react").Context<import("react").ForwardRefExoticComponent<HtmlProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>>;
|
|
6
6
|
declare const Html: import("react").ForwardRefExoticComponent<HtmlProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -7,8 +7,8 @@ import { RichText } from '@kickstartds/base/lib/rich-text';
|
|
|
7
7
|
import './Html.client.js';
|
|
8
8
|
import '@kickstartds/core/lib/component';
|
|
9
9
|
|
|
10
|
-
const HtmlContextDefault = forwardRef(({ html, consent, consentText, consentBackgroundImage, consentButtonLabel, consentAspectRatio = "16:9", className, component = "dsa.html", ...props }, ref) => {
|
|
11
|
-
return (jsxs("div", { ref: ref, className: classnames("dsa-html", className), "ks-component": component, ...props, children: [jsx("template", { dangerouslySetInnerHTML: { __html: html } }), consent && (jsxs("div", { style: {
|
|
10
|
+
const HtmlContextDefault = forwardRef(({ html, consent, consentText, consentBackgroundImage, consentButtonLabel, consentAspectRatio = "16:9", inverted, className, component = "dsa.html", ...props }, ref) => {
|
|
11
|
+
return (jsxs("div", { ref: ref, className: classnames("dsa-html", className), "ks-component": component, "ks-inverted": inverted ? "true" : undefined, ...props, children: [jsx("template", { dangerouslySetInnerHTML: { __html: html } }), consent && (jsxs("div", { style: {
|
|
12
12
|
backgroundImage: consentBackgroundImage
|
|
13
13
|
? `url(${consentBackgroundImage})`
|
|
14
14
|
: undefined,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { HTMLAttributes } from "react";
|
|
3
|
-
import { ImageStoryProps } from "../../ImageStoryProps-
|
|
3
|
+
import { ImageStoryProps } from "../../ImageStoryProps-03ff6d21.js";
|
|
4
4
|
declare const ImageStoryContextDefault: import("react").ForwardRefExoticComponent<ImageStoryProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
5
|
declare const ImageStoryContext: import("react").Context<import("react").ForwardRefExoticComponent<ImageStoryProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>>;
|
|
6
6
|
declare const ImageStory: import("react").ForwardRefExoticComponent<ImageStoryProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -29,7 +29,7 @@ interface SettingsProps {
|
|
|
29
29
|
seo: SeoProps;
|
|
30
30
|
iconSprite?: IconSprite;
|
|
31
31
|
}
|
|
32
|
-
export * from "../../BlogPostProps-
|
|
33
|
-
export * from "../../BlogOverviewProps-
|
|
34
|
-
export * from "../../PageProps-
|
|
32
|
+
export * from "../../BlogPostProps-d9decb7c.js";
|
|
33
|
+
export * from "../../BlogOverviewProps-1cfcf6e8.js";
|
|
34
|
+
export * from "../../PageProps-1cfcf6e8.js";
|
|
35
35
|
export { IconSprite, SettingsProps };
|
|
@@ -899,6 +899,12 @@
|
|
|
899
899
|
],
|
|
900
900
|
"default": "16:9"
|
|
901
901
|
},
|
|
902
|
+
"inverted": {
|
|
903
|
+
"title": "Inverted",
|
|
904
|
+
"description": "Invert the colors of the HTML",
|
|
905
|
+
"type": "boolean",
|
|
906
|
+
"default": false
|
|
907
|
+
},
|
|
902
908
|
"className": {
|
|
903
909
|
"title": "Additional Classes",
|
|
904
910
|
"description": "Add additional css classes that should be applied to the element",
|
|
@@ -2095,7 +2095,8 @@
|
|
|
2095
2095
|
"args": {
|
|
2096
2096
|
"html": "<p style=\"color: var(--ks-text-color-default);\">Hello World</p>",
|
|
2097
2097
|
"consent": false,
|
|
2098
|
-
"consentAspectRatio": "16:9"
|
|
2098
|
+
"consentAspectRatio": "16:9",
|
|
2099
|
+
"inverted": false
|
|
2099
2100
|
},
|
|
2100
2101
|
"screenshot": "img/screenshots/components-html--html.png"
|
|
2101
2102
|
},
|
|
@@ -2108,6 +2109,7 @@
|
|
|
2108
2109
|
"html": "<iframe width=\"560\" height=\"315\" src=\"https://www.youtube-nocookie.com/embed/oGGIkuGY-7U?si=Y5_JHflGsNwRCLu_\" title=\"YouTube video player\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen></iframe>",
|
|
2109
2110
|
"consent": true,
|
|
2110
2111
|
"consentAspectRatio": "16:9",
|
|
2112
|
+
"inverted": false,
|
|
2111
2113
|
"consentText": "would you like to watch the youtube video?",
|
|
2112
2114
|
"consentButtonLabel": "yes!",
|
|
2113
2115
|
"consentBackgroundImage": "img/02.jpg"
|
|
@@ -2123,6 +2125,7 @@
|
|
|
2123
2125
|
"html": "<script>alert(\"Hello :)\")</script><p style=\"color: var(--ks-text-color-default);\">Nice to meet you!</p>",
|
|
2124
2126
|
"consent": true,
|
|
2125
2127
|
"consentAspectRatio": "16:9",
|
|
2128
|
+
"inverted": false,
|
|
2126
2129
|
"consentButtonLabel": "Say hello"
|
|
2127
2130
|
},
|
|
2128
2131
|
"screenshot": "img/screenshots/components-html--with-script.png"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { HTMLAttributes, FC, PropsWithChildren } from "react";
|
|
3
|
-
import { SectionProps } from "../../SectionProps-
|
|
3
|
+
import { SectionProps } from "../../SectionProps-03ff6d21.js";
|
|
4
4
|
declare const SectionContextDefault: import("react").ForwardRefExoticComponent<SectionProps & Omit<HTMLAttributes<HTMLElement>, "style" | "content"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
5
|
declare const SectionContext: import("react").Context<import("react").ForwardRefExoticComponent<SectionProps & Omit<HTMLAttributes<HTMLElement>, "style" | "content"> & import("react").RefAttributes<HTMLDivElement>>>;
|
|
6
6
|
declare const Section: import("react").ForwardRefExoticComponent<SectionProps & Omit<HTMLAttributes<HTMLElement>, "style" | "content"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -885,6 +885,12 @@
|
|
|
885
885
|
],
|
|
886
886
|
"default": "16:9"
|
|
887
887
|
},
|
|
888
|
+
"inverted": {
|
|
889
|
+
"title": "Inverted",
|
|
890
|
+
"description": "Invert the colors of the HTML",
|
|
891
|
+
"type": "boolean",
|
|
892
|
+
"default": false
|
|
893
|
+
},
|
|
888
894
|
"className": {
|
|
889
895
|
"title": "Additional Classes",
|
|
890
896
|
"description": "Add additional css classes that should be applied to the element",
|
package/dist/tokens/themes.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Tue, 04 Feb 2025 15:
|
|
3
|
+
* Generated on Tue, 04 Feb 2025 15:36:38 GMT
|
|
4
4
|
*/
|
|
5
5
|
:root [ks-theme=business] {
|
|
6
6
|
--ks-background-color-accent-base: var(--ks-color-primary-to-bg-8-base);
|
|
@@ -2727,7 +2727,7 @@
|
|
|
2727
2727
|
}
|
|
2728
2728
|
/**
|
|
2729
2729
|
* Do not edit directly
|
|
2730
|
-
* Generated on Tue, 04 Feb 2025 15:
|
|
2730
|
+
* Generated on Tue, 04 Feb 2025 15:36:41 GMT
|
|
2731
2731
|
*/
|
|
2732
2732
|
:root [ks-theme=google] {
|
|
2733
2733
|
--ks-background-color-accent-base: var(--ks-color-primary-to-bg-8-base);
|
|
@@ -5458,7 +5458,7 @@
|
|
|
5458
5458
|
}
|
|
5459
5459
|
/**
|
|
5460
5460
|
* Do not edit directly
|
|
5461
|
-
* Generated on Tue, 04 Feb 2025 15:
|
|
5461
|
+
* Generated on Tue, 04 Feb 2025 15:36:39 GMT
|
|
5462
5462
|
*/
|
|
5463
5463
|
:root [ks-theme=ngo] {
|
|
5464
5464
|
--ks-background-color-accent-base: var(--ks-color-primary-to-bg-8-base);
|
|
@@ -8459,7 +8459,7 @@
|
|
|
8459
8459
|
}
|
|
8460
8460
|
/**
|
|
8461
8461
|
* Do not edit directly
|
|
8462
|
-
* Generated on Tue, 04 Feb 2025 15:
|
|
8462
|
+
* Generated on Tue, 04 Feb 2025 15:36:43 GMT
|
|
8463
8463
|
*/
|
|
8464
8464
|
:root [ks-theme=telekom] {
|
|
8465
8465
|
--ks-background-color-accent-base: var(--ks-color-primary-to-bg-8-base);
|
package/dist/tokens/tokens.css
CHANGED
package/dist/tokens/tokens.js
CHANGED
package/package.json
CHANGED
|
File without changes
|