@kickstartds/ds-agency-premium 1.3.46 → 1.3.48

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.
@@ -15,9 +15,17 @@
15
15
  "content": {
16
16
  "type": "string",
17
17
  "title": "Text",
18
- "description": "Body text for the blog post",
18
+ "description": "Body text for the blog post, overwrites sections if present",
19
19
  "format": "markdown"
20
20
  },
21
+ "section": {
22
+ "type": "array",
23
+ "title": "Blog Sections",
24
+ "description": "Collection of sections (with their contents) to render on the blog post",
25
+ "items": {
26
+ "$ref": "http://schema.mydesignsystem.com/section.schema.json"
27
+ }
28
+ },
21
29
  "cta": {
22
30
  "$ref": "http://schema.mydesignsystem.com/cta.schema.json"
23
31
  },
@@ -1,7 +1,4 @@
1
- /// <reference types="react" />
2
- import { BlogPostProps } from "../../BlogPostProps-e1cbd5d3.js";
3
- declare const BlogPost: {
4
- ({ head, content, aside, cta }: BlogPostProps): import("react/jsx-runtime").JSX.Element;
5
- displayName: string;
6
- };
1
+ import { BlogPostProps } from "../../BlogPostProps-440f88a5.js";
2
+ import { FC, PropsWithChildren } from "react";
3
+ declare const BlogPost: FC<PropsWithChildren<BlogPostProps>>;
7
4
  export { BlogPost };
@@ -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 }) => (jsxs(Fragment, { children: [jsx(Section, { width: "wide", children: jsxs(Split, { layout: "sidebarRight", children: [jsxs("div", { children: [head && jsx(BlogHead, { ...head }), jsx(Text, { text: content })] }), jsx(BlogAside, { ...aside })] }) }), cta && (jsx(Section, { children: jsx(Cta, { ...cta }) }))] }));
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 }), children || jsx(Text, { text: content })] }), jsx(BlogAside, { ...aside })] }) }), cta && (jsx(Section, { children: jsx(Cta, { ...cta }) }))] }));
23
23
  BlogPost.displayName = "BlogPost";
24
24
 
25
25
  export { BlogPost };
@@ -6,7 +6,7 @@
6
6
  --dsa-cta__headline--color: var(--dsa-headline--color);
7
7
  --dsa-cta__headline--font: var(--dsa-headline_h2--font);
8
8
  --dsa-cta__subheadline--color: var(--dsa-headline__subheadline--color);
9
- --dsa-cta__subheadline--font: var(--dsa-headline-font-copy-xs);
9
+ --dsa-cta__subheadline--font: var(--dsa-headline_h2__subheadline--font);
10
10
  --dsa-cta_color-neutral__headline--color: var(--ks-text-color-default);
11
11
  --dsa-cta_color-neutral__subheadline--color: var(--ks-text-color-default);
12
12
  --dsa-cta_color-neutral__copy--color: var(--ks-text-color-default);
@@ -4,7 +4,7 @@
4
4
  * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
5
5
  * and run json-schema-to-typescript to regenerate this file.
6
6
  */
7
- import { SectionProps } from "../../SectionProps-93230a76.js";
7
+ import { SectionProps } from "../../SectionProps-83d399b4.js";
8
8
  import { SeoProps } from "../../SeoProps-f2d6dcaa.js";
9
9
  /* eslint-disable */
10
10
  /**
@@ -72,6 +72,6 @@ interface SettingsProps {
72
72
  */
73
73
  seo: SeoProps;
74
74
  }
75
- export * from "../../BlogPostProps-e1cbd5d3.js";
76
- export * from "../../BlogOverviewProps-525f7f9f.js";
75
+ export * from "../../BlogPostProps-440f88a5.js";
76
+ export * from "../../BlogOverviewProps-f385fc47.js";
77
77
  export { Sections, ToggleFloating, ToggleInverted, ToggleInverted1, PageProps, Header, Footer, SettingsProps };
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 19 Aug 2024 11:08:08 GMT
3
+ * Generated on Mon, 19 Aug 2024 11:56:03 GMT
4
4
  */
5
5
  :root, [ks-theme] {
6
6
  --ks-background-color-accent-base: var(--ks-color-primary-to-bg-8-base);
@@ -315,7 +315,7 @@
315
315
  "id": "pages-archetypes--blog-post",
316
316
  "group": "Pages/Archetypes",
317
317
  "name": "BlogPost",
318
- "code": "<BlogPost\n aside={{\n author: {\n byline: 'Senior Developer',\n email: 'Jane.doe@example.com',\n image: 'img/people/author-emily.png',\n name: 'Jane Doe',\n twitter: 'Janedoe'\n },\n date: '12/30/2022',\n readingTime: '5 min read',\n socialSharing: [\n {\n href: 'https://twitter.com/share?text=This%20is%20a%20blog%20post%20headline&url=https://example.com/blog',\n icon: 'twitter',\n title: 'Share on Twitter'\n },\n {\n href: 'https://www.linkedin.com/shareArticle?mini=true&url=https://example.com/blog&title=This%20is%20a%20blog%20post%20headline',\n icon: 'linkedin',\n title: 'Share on LinkedIn'\n }\n ]\n }}\n content=\"\n## Introduction\nThe future of **ArtiEficial Intelligence (AI)** is a topic that has been the subject of much debate. It's a field that's constantly evolving, with new advancements and breakthroughs happening all the time. [Learn more about AI](https://en.wikipedia.org/wiki/Artificial_intelligence)\n\n## The Current State of AI\nToday, AI is already a part of our daily lives. From *smart home devices* to *recommendation algorithms* on our favorite streaming services, AI is everywhere.\n\n## The Potential of AI\nThe potential of AI is immense. It has the ability to revolutionize industries, from healthcare to finance, and everything in between.\n\n## The Challenges of AI\nHowever, with great potential comes great challenges. Issues such as data privacy and the ethical implications of AI are just some of the hurdles that need to be overcome.\n\n## The Role of AI in Society\nAI has the potential to greatly impact society. It can lead to job creation in new industries, and can also help solve complex societal problems.\n\n## Conclusion\nThe future of AI is exciting and full of potential. However, it's important that we navigate this future with caution, ensuring that the benefits of AI are accessible to all, while minimizing its potential risks.\n \"\n cta={{\n buttons: [\n {\n icon: 'person',\n label: 'Contact Us',\n target: '#'\n },\n {\n icon: 'date',\n label: 'Learn More',\n target: '#'\n }\n ],\n colorNeutral: false,\n contentAlign: 'center',\n fullWidth: false,\n headline: 'Ready to Transform Your Development Process?',\n highlightText: false,\n image: {\n padding: true\n },\n order: {\n desktopImageLast: true,\n mobileImageLast: false\n },\n sub: 'Start your journey today.',\n text: 'Get started with our design system today and experience a new level of efficiency and consistency in your projects.',\n textAlign: 'center'\n }}\n head={{\n date: '12/30/2022',\n headline: 'The Future of AI: A Glimpse into the Unseen',\n image: 'img/close-up-young-business-team-working.png',\n tags: [\n 'Technology',\n 'AI'\n ]\n }}\n/>",
318
+ "code": "<BlogPost\n aside={{\n author: {\n byline: 'Senior Developer',\n email: 'Jane.doe@example.com',\n image: 'img/people/author-emily.png',\n name: 'Jane Doe',\n twitter: 'Janedoe'\n },\n date: '12/30/2022',\n readingTime: '5 min read',\n socialSharing: [\n {\n href: 'https://twitter.com/share?text=This%20is%20a%20blog%20post%20headline&url=https://example.com/blog',\n icon: 'twitter',\n title: 'Share on Twitter'\n },\n {\n href: 'https://www.linkedin.com/shareArticle?mini=true&url=https://example.com/blog&title=This%20is%20a%20blog%20post%20headline',\n icon: 'linkedin',\n title: 'Share on LinkedIn'\n }\n ]\n }}\n content=\"\n## Introduction\nThe future of **ArtiEficial Intelligence (AI)** is a topic that has been the subject of much debate. It's a field that's constantly evolving, with new advancements and breakthroughs happening all the time. [Learn more about AI](https://en.wikipedia.org/wiki/Artificial_intelligence)\n\n## The Current State of AI\nToday, AI is already a part of our daily lives. From *smart home devices* to *recommendation algorithms* on our favorite streaming services, AI is everywhere.\n\n## The Potential of AI\nThe potential of AI is immense. It has the ability to revolutionize industries, from healthcare to finance, and everything in between.\n\n## The Challenges of AI\nHowever, with great potential comes great challenges. Issues such as data privacy and the ethical implications of AI are just some of the hurdles that need to be overcome.\n\n## The Role of AI in Society\nAI has the potential to greatly impact society. It can lead to job creation in new industries, and can also help solve complex societal problems.\n\n## Conclusion\nThe future of AI is exciting and full of potential. However, it's important that we navigate this future with caution, ensuring that the benefits of AI are accessible to all, while minimizing its potential risks.\n \"\n cta={{\n buttons: [\n {\n icon: 'person',\n label: 'Contact Us',\n target: '#'\n },\n {\n icon: 'date',\n label: 'Learn More',\n target: '#'\n }\n ],\n colorNeutral: false,\n contentAlign: 'center',\n fullWidth: false,\n headline: 'Ready to Transform Your Development Process?',\n highlightText: false,\n image: {\n padding: true\n },\n order: {\n desktopImageLast: true,\n mobileImageLast: false\n },\n sub: 'Start your journey today.',\n text: 'Get started with our design system today and experience a new level of efficiency and consistency in your projects.',\n textAlign: 'center'\n }}\n head={{\n date: '12/30/2022',\n headline: 'The Future of AI: A Glimpse into the Unseen',\n image: 'img/close-up-young-business-team-working.png',\n tags: [\n 'Technology',\n 'AI'\n ]\n }}\n section={[\n {\n backgroundColor: 'default',\n buttons: [\n {\n disabled: false,\n label: 'Book a meeting',\n size: 'medium',\n variant: 'secondary'\n },\n {\n disabled: false,\n label: 'Book a meeting',\n size: 'medium',\n variant: 'secondary'\n },\n {\n disabled: false,\n label: 'Book a meeting',\n size: 'medium',\n variant: 'secondary'\n }\n ],\n content: {\n align: 'center',\n gutter: 'default',\n mode: 'list',\n tileWidth: 'default',\n width: 'unset'\n },\n headerSpacing: false,\n headline: {\n large: false,\n text: 'Section headline',\n width: 'unset'\n },\n inverted: false,\n spaceAfter: 'default',\n spaceBefore: 'default',\n spotlight: false,\n style: 'default',\n width: 'default'\n },\n {\n backgroundColor: 'default',\n buttons: [\n {\n disabled: false,\n label: 'Book a meeting',\n size: 'medium',\n variant: 'secondary'\n },\n {\n disabled: false,\n label: 'Book a meeting',\n size: 'medium',\n variant: 'secondary'\n },\n {\n disabled: false,\n label: 'Book a meeting',\n size: 'medium',\n variant: 'secondary'\n }\n ],\n content: {\n align: 'center',\n gutter: 'default',\n mode: 'list',\n tileWidth: 'default',\n width: 'unset'\n },\n headerSpacing: false,\n headline: {\n large: false,\n text: 'Section headline',\n width: 'unset'\n },\n inverted: false,\n spaceAfter: 'default',\n spaceBefore: 'default',\n spotlight: false,\n style: 'default',\n width: 'default'\n },\n {\n backgroundColor: 'default',\n buttons: [\n {\n disabled: false,\n label: 'Book a meeting',\n size: 'medium',\n variant: 'secondary'\n },\n {\n disabled: false,\n label: 'Book a meeting',\n size: 'medium',\n variant: 'secondary'\n },\n {\n disabled: false,\n label: 'Book a meeting',\n size: 'medium',\n variant: 'secondary'\n }\n ],\n content: {\n align: 'center',\n gutter: 'default',\n mode: 'list',\n tileWidth: 'default',\n width: 'unset'\n },\n headerSpacing: false,\n headline: {\n large: false,\n text: 'Section headline',\n width: 'unset'\n },\n inverted: false,\n spaceAfter: 'default',\n spaceBefore: 'default',\n spotlight: false,\n style: 'default',\n width: 'default'\n }\n ]}\n/>",
319
319
  "args": {
320
320
  "head": {
321
321
  "date": "12/30/2022",
@@ -349,6 +349,134 @@
349
349
  "readingTime": "5 min read",
350
350
  "date": "12/30/2022"
351
351
  },
352
+ "section": [
353
+ {
354
+ "width": "default",
355
+ "style": "default",
356
+ "backgroundColor": "default",
357
+ "spotlight": false,
358
+ "spaceBefore": "default",
359
+ "spaceAfter": "default",
360
+ "inverted": false,
361
+ "headerSpacing": false,
362
+ "headline": {
363
+ "text": "Section headline",
364
+ "large": false,
365
+ "width": "unset"
366
+ },
367
+ "content": {
368
+ "width": "unset",
369
+ "align": "center",
370
+ "gutter": "default",
371
+ "mode": "list",
372
+ "tileWidth": "default"
373
+ },
374
+ "buttons": [
375
+ {
376
+ "label": "Book a meeting",
377
+ "variant": "secondary",
378
+ "size": "medium",
379
+ "disabled": false
380
+ },
381
+ {
382
+ "label": "Book a meeting",
383
+ "variant": "secondary",
384
+ "size": "medium",
385
+ "disabled": false
386
+ },
387
+ {
388
+ "label": "Book a meeting",
389
+ "variant": "secondary",
390
+ "size": "medium",
391
+ "disabled": false
392
+ }
393
+ ]
394
+ },
395
+ {
396
+ "width": "default",
397
+ "style": "default",
398
+ "backgroundColor": "default",
399
+ "spotlight": false,
400
+ "spaceBefore": "default",
401
+ "spaceAfter": "default",
402
+ "inverted": false,
403
+ "headerSpacing": false,
404
+ "headline": {
405
+ "text": "Section headline",
406
+ "large": false,
407
+ "width": "unset"
408
+ },
409
+ "content": {
410
+ "width": "unset",
411
+ "align": "center",
412
+ "gutter": "default",
413
+ "mode": "list",
414
+ "tileWidth": "default"
415
+ },
416
+ "buttons": [
417
+ {
418
+ "label": "Book a meeting",
419
+ "variant": "secondary",
420
+ "size": "medium",
421
+ "disabled": false
422
+ },
423
+ {
424
+ "label": "Book a meeting",
425
+ "variant": "secondary",
426
+ "size": "medium",
427
+ "disabled": false
428
+ },
429
+ {
430
+ "label": "Book a meeting",
431
+ "variant": "secondary",
432
+ "size": "medium",
433
+ "disabled": false
434
+ }
435
+ ]
436
+ },
437
+ {
438
+ "width": "default",
439
+ "style": "default",
440
+ "backgroundColor": "default",
441
+ "spotlight": false,
442
+ "spaceBefore": "default",
443
+ "spaceAfter": "default",
444
+ "inverted": false,
445
+ "headerSpacing": false,
446
+ "headline": {
447
+ "text": "Section headline",
448
+ "large": false,
449
+ "width": "unset"
450
+ },
451
+ "content": {
452
+ "width": "unset",
453
+ "align": "center",
454
+ "gutter": "default",
455
+ "mode": "list",
456
+ "tileWidth": "default"
457
+ },
458
+ "buttons": [
459
+ {
460
+ "label": "Book a meeting",
461
+ "variant": "secondary",
462
+ "size": "medium",
463
+ "disabled": false
464
+ },
465
+ {
466
+ "label": "Book a meeting",
467
+ "variant": "secondary",
468
+ "size": "medium",
469
+ "disabled": false
470
+ },
471
+ {
472
+ "label": "Book a meeting",
473
+ "variant": "secondary",
474
+ "size": "medium",
475
+ "disabled": false
476
+ }
477
+ ]
478
+ }
479
+ ],
352
480
  "cta": {
353
481
  "headline": "Ready to Transform Your Development Process?",
354
482
  "sub": "Start your journey today.",
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { HTMLAttributes, FC, PropsWithChildren } from "react";
3
- import { SectionProps } from "../../SectionProps-93230a76.js";
3
+ import { SectionProps } from "../../SectionProps-83d399b4.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 & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 19 Aug 2024 11:08:10 GMT
3
+ * Generated on Mon, 19 Aug 2024 11:56:06 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 Mon, 19 Aug 2024 11:08:14 GMT
2730
+ * Generated on Mon, 19 Aug 2024 11:56:10 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 Mon, 19 Aug 2024 11:08:12 GMT
5461
+ * Generated on Mon, 19 Aug 2024 11:56:08 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 Mon, 19 Aug 2024 11:08:16 GMT
8462
+ * Generated on Mon, 19 Aug 2024 11:56:12 GMT
8463
8463
  */
8464
8464
  :root [ks-theme=telekom] {
8465
8465
  --ks-background-color-accent-base: var(--ks-color-primary-to-bg-8-base);
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 19 Aug 2024 11:08:08 GMT
3
+ * Generated on Mon, 19 Aug 2024 11:56:03 GMT
4
4
  */
5
5
 
6
6
  :root, [ks-theme] {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 19 Aug 2024 11:08:08 GMT
3
+ * Generated on Mon, 19 Aug 2024 11:56:04 GMT
4
4
  */
5
5
 
6
6
  export const KsBackgroundColorAccentBase = "#230a2b";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kickstartds/ds-agency-premium",
3
- "version": "1.3.46",
3
+ "version": "1.3.48",
4
4
  "description": "",
5
5
  "homepage": "https://github.com/kickstartDS/ds-agency-premium#readme",
6
6
  "bugs": {