@kickstartds/ds-agency-premium 1.5.6 → 1.5.8
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/{BlogPostProps-d9decb7c.d.ts → BlogPostProps-6b3cff22.d.ts} +3 -3
- package/dist/components/blog-aside/blog-aside.css +4 -1
- package/dist/components/blog-post/blog-post.schema.dereffed.json +130 -94
- package/dist/components/blog-post/blog-post.schema.json +2 -2
- package/dist/components/blog-post/index.d.ts +1 -1
- package/dist/components/blog-post/index.js +7 -3
- package/dist/components/contact/index.d.ts +65 -1
- package/dist/components/contact/index.js +1 -1
- package/dist/components/index/index.d.ts +1 -1
- package/dist/components/page-wrapper/tokens.css +1 -1
- package/dist/components/presets.json +32 -3
- 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/ContactProps-68c71984.d.ts +0 -65
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import { BlogHeadProps } from "./BlogHeadProps-3f6e4072.js";
|
|
7
7
|
import { BlogAsideProps } from "./BlogAsideProps-d9decb7c.js";
|
|
8
8
|
import { SectionProps } from "./SectionProps-83d399b4.js";
|
|
9
|
-
import {
|
|
9
|
+
import { CtaProps } from "./CtaProps-93230a76.js";
|
|
10
10
|
import { SeoProps } from "./SeoProps-f2d6dcaa.js";
|
|
11
11
|
/**
|
|
12
12
|
* Body text for the blog post, overwrites sections if present
|
|
@@ -31,9 +31,9 @@ interface BlogPostProps {
|
|
|
31
31
|
content?: Text;
|
|
32
32
|
section?: BlogSections;
|
|
33
33
|
/**
|
|
34
|
-
* Referenced component
|
|
34
|
+
* Referenced component CtaProps
|
|
35
35
|
*/
|
|
36
|
-
|
|
36
|
+
cta?: CtaProps;
|
|
37
37
|
/**
|
|
38
38
|
* Referenced component SeoProps
|
|
39
39
|
*/
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
--dsa-blog-aside__author__title--font: var(--ks-font-copy-m);
|
|
9
9
|
--dsa-blog-aside__author__subtitle--font: var(--ks-font-copy-s);
|
|
10
10
|
--dsa-blog-aside__author__image--flex-basis: 120px;
|
|
11
|
+
--dsa-blog-aside__author__body--flex-basis: 240px;
|
|
11
12
|
--dsa-blog-aside__author__link--font: var(--ks-font-interface-s);
|
|
12
13
|
--dsa-blog-aside__meta__item--font: var(--ks-font-interface-s);
|
|
13
14
|
--dsa-blog-aside__meta__item--color: var(--ks-text-color-interface);
|
|
@@ -16,8 +17,9 @@
|
|
|
16
17
|
--dsa-blog-aside__sharebar__link--color: var(--dsa-link--color);
|
|
17
18
|
--dsa-blog-aside__sharebar__link--color_hover: var(--dsa-link--color_hover);
|
|
18
19
|
}
|
|
19
|
-
@container blog-aside (min-width:
|
|
20
|
+
@container blog-aside (min-width: 500px) {
|
|
20
21
|
.dsa-blog-aside {
|
|
22
|
+
--dsa-blog-aside__author__image--flex-basis: 180px;
|
|
21
23
|
--dsa-blog-aside__author__title--font: var(--ks-font-copy-l);
|
|
22
24
|
--dsa-blog-aside__author__subtitle--font: var(--ks-font-copy-m);
|
|
23
25
|
--dsa-blog-aside__author__link--font: var(--ks-font-interface-m);
|
|
@@ -40,6 +42,7 @@
|
|
|
40
42
|
--dsa-contact--gap-vertical: var(--dsa-blog-asde__author--gap-vertical, var(--ks-spacing-stack-xs));
|
|
41
43
|
--dsa-contact--gap-horizontal: var(--dsa-blog-asde__author--gap-horizontal, var(--ks-spacing-inline-xs));
|
|
42
44
|
--dsa-contact__image--flex-basis: var(--dsa-blog-aside__author__image--flex-basis, 200px);
|
|
45
|
+
--dsa-contact__body--flex-basis: var(--dsa-blog-aside__author__body--flex-basis, 300px);
|
|
43
46
|
--dsa-contact__title--font: var(--dsa-blog-aside__author__title--font, var(--ks-font-copy-m));
|
|
44
47
|
--dsa-contact__subtitle--font: var(--dsa-blog-aside__author__subtitle--font, var(--ks-font-copy-s));
|
|
45
48
|
--dsa-contact__link--font: var(--dsa-blog-aside__author__link--font, var(--ks-font-interface-s));
|
|
@@ -3368,130 +3368,166 @@
|
|
|
3368
3368
|
"required": []
|
|
3369
3369
|
}
|
|
3370
3370
|
},
|
|
3371
|
-
"
|
|
3371
|
+
"cta": {
|
|
3372
3372
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3373
|
-
"$id": "http://schema.mydesignsystem.com/
|
|
3374
|
-
"title": "
|
|
3375
|
-
"description": "Component used for user interaction",
|
|
3373
|
+
"$id": "http://schema.mydesignsystem.com/cta.schema.json",
|
|
3374
|
+
"title": "Cta",
|
|
3376
3375
|
"type": "object",
|
|
3377
3376
|
"properties": {
|
|
3378
|
-
"
|
|
3379
|
-
"
|
|
3380
|
-
"
|
|
3381
|
-
"src": {
|
|
3382
|
-
"type": "string",
|
|
3383
|
-
"format": "image",
|
|
3384
|
-
"title": "Image Source",
|
|
3385
|
-
"description": "URL of the image to display",
|
|
3386
|
-
"examples": [
|
|
3387
|
-
"img/people/author-emily.png"
|
|
3388
|
-
]
|
|
3389
|
-
},
|
|
3390
|
-
"alt": {
|
|
3391
|
-
"type": "string",
|
|
3392
|
-
"title": "Alt Text",
|
|
3393
|
-
"description": "Alt text of the image",
|
|
3394
|
-
"examples": [
|
|
3395
|
-
"Picture of Jane Smith"
|
|
3396
|
-
]
|
|
3397
|
-
},
|
|
3398
|
-
"fullWidth": {
|
|
3399
|
-
"type": "boolean",
|
|
3400
|
-
"title": "Full Width",
|
|
3401
|
-
"description": "Image uses all the horizontal space vailable",
|
|
3402
|
-
"default": false
|
|
3403
|
-
},
|
|
3404
|
-
"aspectRatio": {
|
|
3405
|
-
"type": "string",
|
|
3406
|
-
"title": "aspectRatio",
|
|
3407
|
-
"description": "Aspect Ratio of the Images",
|
|
3408
|
-
"enum": [
|
|
3409
|
-
"wide",
|
|
3410
|
-
"square",
|
|
3411
|
-
"vertical"
|
|
3412
|
-
],
|
|
3413
|
-
"default": "square"
|
|
3414
|
-
}
|
|
3415
|
-
},
|
|
3416
|
-
"additionalProperties": false
|
|
3417
|
-
},
|
|
3418
|
-
"title": {
|
|
3419
|
-
"title": "Title",
|
|
3420
|
-
"description": "Name, company name, etc.",
|
|
3377
|
+
"headline": {
|
|
3378
|
+
"title": "Component Headline",
|
|
3379
|
+
"description": "Headline for the Component element",
|
|
3421
3380
|
"type": "string",
|
|
3381
|
+
"format": "markdown",
|
|
3422
3382
|
"examples": [
|
|
3423
|
-
"
|
|
3383
|
+
"Headline"
|
|
3424
3384
|
]
|
|
3425
3385
|
},
|
|
3426
|
-
"
|
|
3427
|
-
"title": "
|
|
3428
|
-
"description": "
|
|
3386
|
+
"sub": {
|
|
3387
|
+
"title": "Component Subheadline",
|
|
3388
|
+
"description": "Subheadline below the component headline",
|
|
3429
3389
|
"type": "string",
|
|
3390
|
+
"format": "markdown",
|
|
3430
3391
|
"examples": [
|
|
3431
|
-
"
|
|
3392
|
+
"Subheadline"
|
|
3432
3393
|
]
|
|
3433
3394
|
},
|
|
3434
|
-
"
|
|
3395
|
+
"text": {
|
|
3396
|
+
"title": "Component Text",
|
|
3397
|
+
"description": "Info text for the component element",
|
|
3398
|
+
"type": "string",
|
|
3399
|
+
"format": "markdown"
|
|
3400
|
+
},
|
|
3401
|
+
"highlightText": {
|
|
3402
|
+
"type": "boolean",
|
|
3403
|
+
"title": "Highlight Text",
|
|
3404
|
+
"description": "Visually highlight the text",
|
|
3405
|
+
"default": false
|
|
3406
|
+
},
|
|
3407
|
+
"colorNeutral": {
|
|
3408
|
+
"title": "Color Neutral",
|
|
3409
|
+
"description": "Make the text and buttons color neutral",
|
|
3410
|
+
"default": false,
|
|
3411
|
+
"type": "boolean"
|
|
3412
|
+
},
|
|
3413
|
+
"fullWidth": {
|
|
3414
|
+
"title": "Width",
|
|
3415
|
+
"description": "Set the width of the content to the full width of the element",
|
|
3416
|
+
"type": "boolean",
|
|
3417
|
+
"default": false
|
|
3418
|
+
},
|
|
3419
|
+
"buttons": {
|
|
3435
3420
|
"type": "array",
|
|
3436
3421
|
"items": {
|
|
3422
|
+
"title": "Button",
|
|
3437
3423
|
"type": "object",
|
|
3438
3424
|
"properties": {
|
|
3439
|
-
"icon": {
|
|
3440
|
-
"type": "string"
|
|
3441
|
-
},
|
|
3442
3425
|
"label": {
|
|
3443
|
-
"type": "string"
|
|
3426
|
+
"type": "string",
|
|
3427
|
+
"title": "Label",
|
|
3428
|
+
"description": "Text content to display inside the button",
|
|
3429
|
+
"examples": [
|
|
3430
|
+
"Book a meeting"
|
|
3431
|
+
]
|
|
3444
3432
|
},
|
|
3445
|
-
"
|
|
3433
|
+
"icon": {
|
|
3446
3434
|
"type": "string",
|
|
3447
|
-
"
|
|
3435
|
+
"title": "Icon",
|
|
3436
|
+
"description": "Choose an icon"
|
|
3448
3437
|
},
|
|
3449
|
-
"
|
|
3450
|
-
"
|
|
3451
|
-
"
|
|
3452
|
-
"
|
|
3453
|
-
"
|
|
3438
|
+
"target": {
|
|
3439
|
+
"type": "string",
|
|
3440
|
+
"title": "Target",
|
|
3441
|
+
"description": "Target that should be linked, makes the button behave like a link semantically",
|
|
3442
|
+
"format": "uri"
|
|
3454
3443
|
}
|
|
3455
3444
|
},
|
|
3456
3445
|
"additionalProperties": false
|
|
3446
|
+
}
|
|
3447
|
+
},
|
|
3448
|
+
"backgroundColor": {
|
|
3449
|
+
"title": "Background color",
|
|
3450
|
+
"description": "Background color for the whole element",
|
|
3451
|
+
"type": "string",
|
|
3452
|
+
"format": "color"
|
|
3453
|
+
},
|
|
3454
|
+
"backgroundImage": {
|
|
3455
|
+
"title": "Background image",
|
|
3456
|
+
"description": "Background image for the whole element",
|
|
3457
|
+
"type": "string",
|
|
3458
|
+
"format": "image"
|
|
3459
|
+
},
|
|
3460
|
+
"image": {
|
|
3461
|
+
"title": "Image",
|
|
3462
|
+
"description": "Image displayed alongside the text content",
|
|
3463
|
+
"type": "object",
|
|
3464
|
+
"properties": {
|
|
3465
|
+
"src": {
|
|
3466
|
+
"title": "Image source",
|
|
3467
|
+
"description": "Image source to use",
|
|
3468
|
+
"type": "string",
|
|
3469
|
+
"format": "image"
|
|
3470
|
+
},
|
|
3471
|
+
"padding": {
|
|
3472
|
+
"title": "Padding",
|
|
3473
|
+
"description": "Toggle padding of the image",
|
|
3474
|
+
"type": "boolean",
|
|
3475
|
+
"default": true
|
|
3476
|
+
},
|
|
3477
|
+
"alt": {
|
|
3478
|
+
"title": "Alt text",
|
|
3479
|
+
"description": "Image description",
|
|
3480
|
+
"type": "string"
|
|
3481
|
+
}
|
|
3457
3482
|
},
|
|
3458
|
-
"
|
|
3459
|
-
[
|
|
3460
|
-
{
|
|
3461
|
-
"icon": "phone",
|
|
3462
|
-
"label": "0228 / 688 966 20",
|
|
3463
|
-
"href": "tel:+4922868896620"
|
|
3464
|
-
},
|
|
3465
|
-
{
|
|
3466
|
-
"icon": "email",
|
|
3467
|
-
"label": "mail@example.com",
|
|
3468
|
-
"href": "mailto:mail@example.com"
|
|
3469
|
-
}
|
|
3470
|
-
]
|
|
3471
|
-
]
|
|
3483
|
+
"additionalProperties": false
|
|
3472
3484
|
},
|
|
3473
|
-
"
|
|
3474
|
-
"title": "
|
|
3475
|
-
"
|
|
3485
|
+
"order": {
|
|
3486
|
+
"title": "Order",
|
|
3487
|
+
"description": "Choose what comes first on mobile and desktop: image or text",
|
|
3488
|
+
"type": "object",
|
|
3489
|
+
"properties": {
|
|
3490
|
+
"mobileImageLast": {
|
|
3491
|
+
"title": "Mobile image after text",
|
|
3492
|
+
"description": "Switch to displaying the image after the text on mobile",
|
|
3493
|
+
"type": "boolean",
|
|
3494
|
+
"default": false
|
|
3495
|
+
},
|
|
3496
|
+
"desktopImageLast": {
|
|
3497
|
+
"title": "Desktop image after text",
|
|
3498
|
+
"description": "Switch to displaying the image after the text on desktop",
|
|
3499
|
+
"type": "boolean",
|
|
3500
|
+
"default": true
|
|
3501
|
+
}
|
|
3502
|
+
},
|
|
3503
|
+
"additionalProperties": false
|
|
3476
3504
|
},
|
|
3477
|
-
"
|
|
3478
|
-
"title": "
|
|
3479
|
-
"description": "
|
|
3480
|
-
"
|
|
3505
|
+
"textAlign": {
|
|
3506
|
+
"title": "Text Alignment",
|
|
3507
|
+
"description": "Choose the alginment of the text",
|
|
3508
|
+
"enum": [
|
|
3509
|
+
"left",
|
|
3510
|
+
"center"
|
|
3511
|
+
],
|
|
3512
|
+
"type": "string",
|
|
3513
|
+
"default": "left"
|
|
3481
3514
|
},
|
|
3482
|
-
"
|
|
3483
|
-
"title": "
|
|
3484
|
-
"description": "
|
|
3485
|
-
"type": "string"
|
|
3515
|
+
"contentAlign": {
|
|
3516
|
+
"title": "Vertical alignment of the content",
|
|
3517
|
+
"description": "Select a vertical alignment for the image",
|
|
3518
|
+
"type": "string",
|
|
3519
|
+
"enum": [
|
|
3520
|
+
"center",
|
|
3521
|
+
"top",
|
|
3522
|
+
"bottom"
|
|
3523
|
+
],
|
|
3524
|
+
"default": "center"
|
|
3486
3525
|
},
|
|
3487
3526
|
"type": {
|
|
3488
|
-
"const": "
|
|
3527
|
+
"const": "cta"
|
|
3489
3528
|
}
|
|
3490
3529
|
},
|
|
3491
|
-
"additionalProperties": false
|
|
3492
|
-
"required": [
|
|
3493
|
-
"name"
|
|
3494
|
-
]
|
|
3530
|
+
"additionalProperties": false
|
|
3495
3531
|
},
|
|
3496
3532
|
"seo": {
|
|
3497
3533
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"$ref": "http://schema.mydesignsystem.com/section.schema.json"
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
|
-
"
|
|
30
|
-
"$ref": "http://schema.mydesignsystem.com/
|
|
29
|
+
"cta": {
|
|
30
|
+
"$ref": "http://schema.mydesignsystem.com/cta.schema.json"
|
|
31
31
|
},
|
|
32
32
|
"seo": {
|
|
33
33
|
"$ref": "http://schema.mydesignsystem.com/cms/seo.schema.json"
|
|
@@ -4,8 +4,7 @@ import { BlogHead } from '../blog-head/index.js';
|
|
|
4
4
|
import { Section } from '../section/index.js';
|
|
5
5
|
import { BlogAside } from '../blog-aside/index.js';
|
|
6
6
|
import { Text } from '../text/index.js';
|
|
7
|
-
import {
|
|
8
|
-
import { Divider } from '@kickstartds/base/lib/divider';
|
|
7
|
+
import { Cta } from '../cta/index.js';
|
|
9
8
|
import 'classnames';
|
|
10
9
|
import 'react';
|
|
11
10
|
import '@kickstartds/blog/lib/post-head';
|
|
@@ -17,6 +16,7 @@ import '@kickstartds/blog/lib/post-meta';
|
|
|
17
16
|
import '@kickstartds/blog/lib/post-share-bar';
|
|
18
17
|
import '@kickstartds/core/lib/container';
|
|
19
18
|
import '../blog-author/index.js';
|
|
19
|
+
import '../contact/index.js';
|
|
20
20
|
import '@kickstartds/base/lib/picture';
|
|
21
21
|
import '@kickstartds/base/lib/contact';
|
|
22
22
|
import '@kickstartds/base/lib/link';
|
|
@@ -25,8 +25,12 @@ import '@kickstartds/base/lib/rich-text';
|
|
|
25
25
|
import '../headline/index.js';
|
|
26
26
|
import 'markdown-to-jsx';
|
|
27
27
|
import '@kickstartds/base/lib/headline';
|
|
28
|
+
import '@kickstartds/content/lib/storytelling';
|
|
29
|
+
import '@kickstartds/base/lib/button';
|
|
30
|
+
import '../button-group/index.js';
|
|
31
|
+
import '@kickstartds/base/lib/button-group';
|
|
28
32
|
|
|
29
|
-
const BlogPost = ({ head, content, aside,
|
|
33
|
+
const BlogPost = ({ head, content, aside, cta, children, }) => (jsxs(Fragment, { children: [jsx(Section, { width: "wide", children: jsxs(Split, { mainSectionWidth: "narrow", layout: "sidebarRight", children: [jsxs("div", { children: [head && jsx(BlogHead, { ...head }), content ? jsx(Text, { text: content }) : children] }), jsx(BlogAside, { ...aside })] }) }), cta && (jsx(Fragment, { children: jsx(Section, { spaceAfter: "none", spaceBefore: "none", content: { mode: "list" }, children: jsx(Cta, { ...cta }) }) }))] }));
|
|
30
34
|
BlogPost.displayName = "BlogPost";
|
|
31
35
|
|
|
32
36
|
export { BlogPost };
|
|
@@ -1,6 +1,70 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { HTMLAttributes, FC, PropsWithChildren } from "react";
|
|
3
|
-
|
|
3
|
+
/* eslint-disable */
|
|
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
|
+
* URL of the image to display
|
|
11
|
+
*/
|
|
12
|
+
type ImageSource = string;
|
|
13
|
+
/**
|
|
14
|
+
* Alt text of the image
|
|
15
|
+
*/
|
|
16
|
+
type AltText = string;
|
|
17
|
+
/**
|
|
18
|
+
* Image uses all the horizontal space vailable
|
|
19
|
+
*/
|
|
20
|
+
type FullWidth = boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Aspect Ratio of the Images
|
|
23
|
+
*/
|
|
24
|
+
type AspectRatio = "wide" | "square" | "vertical";
|
|
25
|
+
/**
|
|
26
|
+
* Name, company name, etc.
|
|
27
|
+
*/
|
|
28
|
+
type Title = string;
|
|
29
|
+
/**
|
|
30
|
+
* Position, profession, department, location, etc.
|
|
31
|
+
*/
|
|
32
|
+
type Subtitle = string;
|
|
33
|
+
/**
|
|
34
|
+
* Open link in new Tab
|
|
35
|
+
*/
|
|
36
|
+
type OpenLinkInNewTab = boolean;
|
|
37
|
+
type CopyText = string;
|
|
38
|
+
/**
|
|
39
|
+
* Additional css classes attached to the wrapping element
|
|
40
|
+
*/
|
|
41
|
+
type Class = string;
|
|
42
|
+
/**
|
|
43
|
+
* Optional custom component identifier
|
|
44
|
+
*/
|
|
45
|
+
type KsComponentAttribute = string;
|
|
46
|
+
/**
|
|
47
|
+
* Component used for user interaction
|
|
48
|
+
*/
|
|
49
|
+
interface ContactProps {
|
|
50
|
+
image?: {
|
|
51
|
+
src?: ImageSource;
|
|
52
|
+
alt?: AltText;
|
|
53
|
+
fullWidth?: FullWidth;
|
|
54
|
+
aspectRatio?: AspectRatio;
|
|
55
|
+
};
|
|
56
|
+
title?: Title;
|
|
57
|
+
subtitle?: Subtitle;
|
|
58
|
+
links?: {
|
|
59
|
+
icon?: string;
|
|
60
|
+
label?: string;
|
|
61
|
+
href?: string;
|
|
62
|
+
newTab?: OpenLinkInNewTab;
|
|
63
|
+
}[];
|
|
64
|
+
copy?: CopyText;
|
|
65
|
+
className?: Class;
|
|
66
|
+
component?: KsComponentAttribute;
|
|
67
|
+
}
|
|
4
68
|
declare const ContactContextDefault: import("react").ForwardRefExoticComponent<ContactProps & HTMLAttributes<HTMLElement> & import("react").RefAttributes<HTMLElement>>;
|
|
5
69
|
declare const ContactContext: import("react").Context<import("react").ForwardRefExoticComponent<ContactProps & HTMLAttributes<HTMLElement> & import("react").RefAttributes<HTMLElement>>>;
|
|
6
70
|
declare const Contact: import("react").ForwardRefExoticComponent<ContactProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -9,7 +9,7 @@ import { Icon } from '@kickstartds/base/lib/icon';
|
|
|
9
9
|
import { RichText } from '@kickstartds/base/lib/rich-text';
|
|
10
10
|
import { Container } from '@kickstartds/core/lib/container';
|
|
11
11
|
|
|
12
|
-
const ContactContextDefault = forwardRef(({ title, subtitle, image, links, copy, className, ...props }, ref) => (jsx(Container, { name: "contact", children: jsxs("address", { className: classnames("dsa-contact", image?.aspectRatio && `dsa-contact--image-${image?.aspectRatio}`, image?.fullWidth && `dsa-contact--image-full-width`, className), ref: ref, ...props, children: [image && image.src ? (jsx("div", { className: "dsa-contact__image-wrap", children: jsx(Picture, {
|
|
12
|
+
const ContactContextDefault = forwardRef(({ title, subtitle, image, links, copy, className, ...props }, ref) => (jsx(Container, { name: "contact", children: jsxs("address", { className: classnames("dsa-contact", image?.aspectRatio && `dsa-contact--image-${image?.aspectRatio}`, image?.fullWidth && `dsa-contact--image-full-width`, className), ref: ref, ...props, children: [image && image.src ? (jsx("div", { className: "dsa-contact__image-wrap", children: jsx(Picture, { src: image?.src, alt: image?.alt, className: "dsa-contact__image" }) })) : (""), jsxs("div", { className: "dsa-contact__body", children: [title && (jsxs("div", { className: "dsa-contact__header", children: [jsx("span", { className: "dsa-contact__title", children: title }), jsx("span", { className: "dsa-contact__subtitle", children: subtitle })] })), copy && jsx(RichText, { text: copy, className: "dsa-contact__copy" }), links && links.length ? (jsx("ul", { className: "dsa-contact__links", children: links.map(({ icon, href, label, newTab }, i) => (jsx("li", { children: jsxs(Link, { className: "dsa-contact__link", href: href, ...(newTab ? { target: "_blank", rel: "noopener" } : {}), children: [jsx(Icon, { icon: icon }), label] }) }, i))) })) : ("")] })] }) })));
|
|
13
13
|
const ContactContext = createContext(ContactContextDefault);
|
|
14
14
|
const Contact = forwardRef((props, ref) => {
|
|
15
15
|
const Component = useContext(ContactContext);
|
|
@@ -24,7 +24,7 @@ interface SettingsProps {
|
|
|
24
24
|
*/
|
|
25
25
|
seo: SeoProps;
|
|
26
26
|
}
|
|
27
|
-
export * from "../../BlogPostProps-
|
|
27
|
+
export * from "../../BlogPostProps-6b3cff22.js";
|
|
28
28
|
export * from "../../BlogOverviewProps-9f207f1c.js";
|
|
29
29
|
export * from "../../PageProps-aa29c554.js";
|
|
30
30
|
export { SettingsProps };
|
|
@@ -461,7 +461,7 @@
|
|
|
461
461
|
"id": "pages-archetypes--blog-post",
|
|
462
462
|
"group": "Pages/Archetypes",
|
|
463
463
|
"name": "BlogPost",
|
|
464
|
-
"code": "<BlogPost\n aside={{\n author: {\n byline: 'Senior Developer',\n email: 'Jane.doe@example.com',\n image: {\n alt: 'Picture of Jane Smith',\n aspectRatio: 'square',\n fullWidth: false,\n src: 'img/people/author-emily.png'\n },\n links: [\n {\n href: 'tel:+4922868896620',\n icon: 'phone',\n label: '0228 / 688 966 20',\n newTab: false\n },\n {\n href: 'mailto:mail@example.com',\n icon: 'email',\n label: 'mail@example.com',\n newTab: false\n }\n ],\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 contact={{\n copy: 'Leads with a vision for innovative, user-centric web designs, ensuring each project merges creativity with functionality to deliver outstanding digital experiences.',\n image: {\n alt: 'Picture of Jane Smith',\n aspectRatio: 'vertical',\n fullWidth: false,\n src: 'img/people/contact-john.png'\n },\n links: [\n {\n href: 'mailto:mail@example.com',\n icon: 'xing',\n label: 'john.smith',\n newTab: false\n },\n {\n href: '#',\n icon: 'twitter',\n label: '@john_smith',\n newTab: false\n }\n ],\n subtitle: 'Sales Representative',\n title: 'John Smith'\n }}\n content=\"\n## Introduction\nThe future of **Artificial 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 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 {\n entry: 'Technology'\n },\n {\n entry: 'AI'\n }\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/>",
|
|
464
|
+
"code": "<BlogPost\n aside={{\n author: {\n byline: 'Senior Developer',\n email: 'Jane.doe@example.com',\n image: {\n alt: 'Picture of Jane Smith',\n aspectRatio: 'square',\n fullWidth: false,\n src: 'img/people/author-emily.png'\n },\n links: [\n {\n href: 'tel:+4922868896620',\n icon: 'phone',\n label: '0228 / 688 966 20',\n newTab: false\n },\n {\n href: 'mailto:mail@example.com',\n icon: 'email',\n label: 'mail@example.com',\n newTab: false\n }\n ],\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 contact={{\n copy: 'Leads with a vision for innovative, user-centric web designs, ensuring each project merges creativity with functionality to deliver outstanding digital experiences.',\n image: {\n alt: 'Picture of Jane Smith',\n aspectRatio: 'vertical',\n fullWidth: false,\n src: 'img/people/contact-john.png'\n },\n links: [\n {\n href: 'mailto:mail@example.com',\n icon: 'xing',\n label: 'john.smith',\n newTab: false\n },\n {\n href: '#',\n icon: 'twitter',\n label: '@john_smith',\n newTab: false\n }\n ],\n subtitle: 'Sales Representative',\n title: 'John Smith'\n }}\n content=\"\n## Introduction\nThe future of **Artificial 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 {\n entry: 'Technology'\n },\n {\n entry: 'AI'\n }\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/>",
|
|
465
465
|
"args": {
|
|
466
466
|
"head": {
|
|
467
467
|
"date": "12/30/2022",
|
|
@@ -646,6 +646,36 @@
|
|
|
646
646
|
]
|
|
647
647
|
}
|
|
648
648
|
],
|
|
649
|
+
"cta": {
|
|
650
|
+
"headline": "Ready to Transform Your Development Process?",
|
|
651
|
+
"sub": "Start your journey today.",
|
|
652
|
+
"highlightText": false,
|
|
653
|
+
"colorNeutral": false,
|
|
654
|
+
"fullWidth": false,
|
|
655
|
+
"buttons": [
|
|
656
|
+
{
|
|
657
|
+
"label": "Contact Us",
|
|
658
|
+
"target": "#",
|
|
659
|
+
"icon": "person"
|
|
660
|
+
},
|
|
661
|
+
{
|
|
662
|
+
"label": "Learn More",
|
|
663
|
+
"target": "#",
|
|
664
|
+
"icon": "date"
|
|
665
|
+
}
|
|
666
|
+
],
|
|
667
|
+
"image": {
|
|
668
|
+
"padding": true
|
|
669
|
+
},
|
|
670
|
+
"order": {
|
|
671
|
+
"mobileImageLast": false,
|
|
672
|
+
"desktopImageLast": true
|
|
673
|
+
},
|
|
674
|
+
"textAlign": "center",
|
|
675
|
+
"contentAlign": "center",
|
|
676
|
+
"text": "Get started with our design system today and experience a new level of efficiency and consistency in your projects."
|
|
677
|
+
},
|
|
678
|
+
"content": "\n## Introduction\nThe future of **Artificial 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 ",
|
|
649
679
|
"contact": {
|
|
650
680
|
"image": {
|
|
651
681
|
"src": "img/people/contact-john.png",
|
|
@@ -670,8 +700,7 @@
|
|
|
670
700
|
}
|
|
671
701
|
],
|
|
672
702
|
"copy": "Leads with a vision for innovative, user-centric web designs, ensuring each project merges creativity with functionality to deliver outstanding digital experiences."
|
|
673
|
-
}
|
|
674
|
-
"content": "\n## Introduction\nThe future of **Artificial 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 "
|
|
703
|
+
}
|
|
675
704
|
},
|
|
676
705
|
"screenshot": "img/screenshots/pages-archetypes--blog-post.png"
|
|
677
706
|
},
|
package/dist/tokens/themes.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Wed, 04 Sep 2024
|
|
3
|
+
* Generated on Wed, 04 Sep 2024 09:41:40 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 Wed, 04 Sep 2024
|
|
2730
|
+
* Generated on Wed, 04 Sep 2024 09:41:43 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 Wed, 04 Sep 2024
|
|
5461
|
+
* Generated on Wed, 04 Sep 2024 09:41:41 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 Wed, 04 Sep 2024
|
|
8462
|
+
* Generated on Wed, 04 Sep 2024 09:41:45 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
|
@@ -1,65 +0,0 @@
|
|
|
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
|
-
* URL of the image to display
|
|
8
|
-
*/
|
|
9
|
-
type ImageSource = string;
|
|
10
|
-
/**
|
|
11
|
-
* Alt text of the image
|
|
12
|
-
*/
|
|
13
|
-
type AltText = string;
|
|
14
|
-
/**
|
|
15
|
-
* Image uses all the horizontal space vailable
|
|
16
|
-
*/
|
|
17
|
-
type FullWidth = boolean;
|
|
18
|
-
/**
|
|
19
|
-
* Aspect Ratio of the Images
|
|
20
|
-
*/
|
|
21
|
-
type AspectRatio = "wide" | "square" | "vertical";
|
|
22
|
-
/**
|
|
23
|
-
* Name, company name, etc.
|
|
24
|
-
*/
|
|
25
|
-
type Title = string;
|
|
26
|
-
/**
|
|
27
|
-
* Position, profession, department, location, etc.
|
|
28
|
-
*/
|
|
29
|
-
type Subtitle = string;
|
|
30
|
-
/**
|
|
31
|
-
* Open link in new Tab
|
|
32
|
-
*/
|
|
33
|
-
type OpenLinkInNewTab = boolean;
|
|
34
|
-
type CopyText = string;
|
|
35
|
-
/**
|
|
36
|
-
* Additional css classes attached to the wrapping element
|
|
37
|
-
*/
|
|
38
|
-
type Class = string;
|
|
39
|
-
/**
|
|
40
|
-
* Optional custom component identifier
|
|
41
|
-
*/
|
|
42
|
-
type KsComponentAttribute = string;
|
|
43
|
-
/**
|
|
44
|
-
* Component used for user interaction
|
|
45
|
-
*/
|
|
46
|
-
interface ContactProps {
|
|
47
|
-
image?: {
|
|
48
|
-
src?: ImageSource;
|
|
49
|
-
alt?: AltText;
|
|
50
|
-
fullWidth?: FullWidth;
|
|
51
|
-
aspectRatio?: AspectRatio;
|
|
52
|
-
};
|
|
53
|
-
title?: Title;
|
|
54
|
-
subtitle?: Subtitle;
|
|
55
|
-
links?: {
|
|
56
|
-
icon?: string;
|
|
57
|
-
label?: string;
|
|
58
|
-
href?: string;
|
|
59
|
-
newTab?: OpenLinkInNewTab;
|
|
60
|
-
}[];
|
|
61
|
-
copy?: CopyText;
|
|
62
|
-
className?: Class;
|
|
63
|
-
component?: KsComponentAttribute;
|
|
64
|
-
}
|
|
65
|
-
export { ImageSource, AltText, FullWidth, AspectRatio, Title, Subtitle, OpenLinkInNewTab, CopyText, Class, KsComponentAttribute, ContactProps };
|