@kickstartds/ds-agency-premium 1.4.16 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{BlogAsideProps-e1cbd5d3.d.ts → BlogAsideProps-b06e0358.d.ts} +27 -10
- package/dist/BlogPostProps-6b3cff22.d.ts +1 -1
- package/dist/components/blog-aside/blog-aside.css +55 -21
- package/dist/components/blog-aside/blog-aside.schema.dereffed.json +74 -21
- package/dist/components/blog-aside/blog-aside.schema.json +3 -17
- package/dist/components/blog-aside/index.d.ts +1 -1
- package/dist/components/blog-aside/index.js +15 -32
- package/dist/components/blog-post/blog-post.schema.dereffed.json +74 -21
- package/dist/components/blog-post/index.js +12 -2
- package/dist/components/contact/contact.css +129 -0
- package/dist/components/contact/contact.schema.dereffed.json +125 -0
- package/dist/components/contact/contact.schema.json +107 -0
- package/dist/components/contact/index.d.ts +70 -0
- package/dist/components/contact/index.js +16 -0
- package/dist/components/headline/headline.css +43 -7
- package/dist/components/html/html.schema.json +25 -0
- package/dist/components/html/index.d.ts +26 -0
- package/dist/components/html/index.js +6 -0
- package/dist/components/page-wrapper/index.js +6 -0
- package/dist/components/page-wrapper/tokens.css +9 -9
- package/dist/components/presets.json +172 -8
- package/dist/components/providers/index.js +7 -1
- package/dist/components/split/index.d.ts +2 -1
- package/dist/components/split/index.js +11 -1
- package/dist/components/split/split.css +39 -10
- package/dist/components/split/split.schema.dereffed.json +12 -3
- package/dist/components/split/split.schema.json +7 -1
- package/dist/static/img/people/author-john.png +0 -0
- package/dist/static/img/people/contact-jim.png +0 -0
- package/dist/static/img/people/contact-john.png +0 -0
- package/dist/static/img/people/portrait-young-girl-smiling.jpg +0 -0
- package/dist/tokens/themes.css +4 -4
- package/dist/tokens/tokens.css +9 -9
- package/dist/tokens/tokens.js +9 -9
- package/package.json +1 -1
|
@@ -3,14 +3,31 @@
|
|
|
3
3
|
"id": "blog-blog-aside--default",
|
|
4
4
|
"group": "Blog/ Blog Aside",
|
|
5
5
|
"name": "Default",
|
|
6
|
-
"code": "<BlogAside\n author={{\n byline: 'CEO at Company',\n
|
|
6
|
+
"code": "<BlogAside\n author={{\n byline: 'CEO at Company',\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: 'twitter',\n label: 'jane_smith',\n newTab: false\n },\n {\n href: 'mailto:mail@example.com',\n icon: 'email',\n label: 'jane.smith@example.com',\n newTab: false\n }\n ],\n name: 'Jane Smith'\n }}\n date=\"12/30/2022\"\n readingTime=\"5 min read\"\n socialSharing={[\n {\n href: 'https://twitter.com/share?text=The%20Future%20of%20AI&url=https://example.com/blog/the-future-of-ai',\n icon: 'twitter',\n title: 'Share on Twitter'\n },\n {\n href: 'https://www.linkedin.com/shareArticle?mini=true&url=https://example.com/blog/the-future-of-ai&title=The%20Future%20of%20AI&summary=The%20Future%20of%20AI&source=LinkedIn',\n icon: 'linkedin',\n title: 'Share on LinkedIn'\n }\n ]}\n title=\"Blog Post\"\n/>",
|
|
7
7
|
"args": {
|
|
8
8
|
"author": {
|
|
9
9
|
"name": "Jane Smith",
|
|
10
10
|
"byline": "CEO at Company",
|
|
11
|
-
"image":
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
"image": {
|
|
12
|
+
"src": "img/people/author-emily.png",
|
|
13
|
+
"alt": "Picture of Jane Smith",
|
|
14
|
+
"fullWidth": false,
|
|
15
|
+
"aspectRatio": "square"
|
|
16
|
+
},
|
|
17
|
+
"links": [
|
|
18
|
+
{
|
|
19
|
+
"icon": "twitter",
|
|
20
|
+
"label": "jane_smith",
|
|
21
|
+
"href": "tel:+4922868896620",
|
|
22
|
+
"newTab": false
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"icon": "email",
|
|
26
|
+
"label": "jane.smith@example.com",
|
|
27
|
+
"href": "mailto:mail@example.com",
|
|
28
|
+
"newTab": false
|
|
29
|
+
}
|
|
30
|
+
]
|
|
14
31
|
},
|
|
15
32
|
"socialSharing": [
|
|
16
33
|
{
|
|
@@ -25,7 +42,8 @@
|
|
|
25
42
|
}
|
|
26
43
|
],
|
|
27
44
|
"readingTime": "5 min read",
|
|
28
|
-
"date": "12/30/2022"
|
|
45
|
+
"date": "12/30/2022",
|
|
46
|
+
"title": "Blog Post"
|
|
29
47
|
},
|
|
30
48
|
"screenshot": "img/screenshots/blog-blog-aside--default.png"
|
|
31
49
|
},
|
|
@@ -439,7 +457,7 @@
|
|
|
439
457
|
"id": "pages-archetypes--blog-post",
|
|
440
458
|
"group": "Pages/Archetypes",
|
|
441
459
|
"name": "BlogPost",
|
|
442
|
-
"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 **
|
|
460
|
+
"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 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/>",
|
|
443
461
|
"args": {
|
|
444
462
|
"head": {
|
|
445
463
|
"date": "12/30/2022",
|
|
@@ -458,7 +476,26 @@
|
|
|
458
476
|
"author": {
|
|
459
477
|
"name": "Jane Doe",
|
|
460
478
|
"byline": "Senior Developer",
|
|
461
|
-
"image":
|
|
479
|
+
"image": {
|
|
480
|
+
"src": "img/people/author-emily.png",
|
|
481
|
+
"alt": "Picture of Jane Smith",
|
|
482
|
+
"fullWidth": false,
|
|
483
|
+
"aspectRatio": "square"
|
|
484
|
+
},
|
|
485
|
+
"links": [
|
|
486
|
+
{
|
|
487
|
+
"icon": "phone",
|
|
488
|
+
"label": "0228 / 688 966 20",
|
|
489
|
+
"href": "tel:+4922868896620",
|
|
490
|
+
"newTab": false
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
"icon": "email",
|
|
494
|
+
"label": "mail@example.com",
|
|
495
|
+
"href": "mailto:mail@example.com",
|
|
496
|
+
"newTab": false
|
|
497
|
+
}
|
|
498
|
+
],
|
|
462
499
|
"twitter": "Janedoe",
|
|
463
500
|
"email": "Jane.doe@example.com"
|
|
464
501
|
},
|
|
@@ -634,10 +671,137 @@
|
|
|
634
671
|
"contentAlign": "center",
|
|
635
672
|
"text": "Get started with our design system today and experience a new level of efficiency and consistency in your projects."
|
|
636
673
|
},
|
|
637
|
-
"content": "\n## Introduction\nThe future of **
|
|
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 "
|
|
638
675
|
},
|
|
639
676
|
"screenshot": "img/screenshots/pages-archetypes--blog-post.png"
|
|
640
677
|
},
|
|
678
|
+
{
|
|
679
|
+
"id": "components-contact--wide-image",
|
|
680
|
+
"group": "Components/Contact",
|
|
681
|
+
"name": "WideImage",
|
|
682
|
+
"code": "<Contact\n image={{\n alt: 'Picture of Jane Smith',\n aspectRatio: 'wide',\n fullWidth: false,\n src: 'img/people/portrait-young-girl-smiling.jpg'\n }}\n links={[\n {\n href: '#',\n icon: 'twitter',\n label: '@Isabella_Doe',\n newTab: false\n },\n {\n href: 'mailto:mail@example.com',\n icon: 'linkedin',\n label: 'Isabella.Doe',\n newTab: false\n }\n ]}\n subtitle=\"Creative Director\"\n title=\"Isabella Doe\"\n/>",
|
|
683
|
+
"args": {
|
|
684
|
+
"image": {
|
|
685
|
+
"src": "img/people/portrait-young-girl-smiling.jpg",
|
|
686
|
+
"alt": "Picture of Jane Smith",
|
|
687
|
+
"fullWidth": false,
|
|
688
|
+
"aspectRatio": "wide"
|
|
689
|
+
},
|
|
690
|
+
"title": "Isabella Doe",
|
|
691
|
+
"subtitle": "Creative Director",
|
|
692
|
+
"links": [
|
|
693
|
+
{
|
|
694
|
+
"icon": "twitter",
|
|
695
|
+
"label": "@Isabella_Doe",
|
|
696
|
+
"href": "#",
|
|
697
|
+
"newTab": false
|
|
698
|
+
},
|
|
699
|
+
{
|
|
700
|
+
"icon": "linkedin",
|
|
701
|
+
"label": "Isabella.Doe",
|
|
702
|
+
"href": "mailto:mail@example.com",
|
|
703
|
+
"newTab": false
|
|
704
|
+
}
|
|
705
|
+
]
|
|
706
|
+
},
|
|
707
|
+
"screenshot": "img/screenshots/components-contact--wide-image.png"
|
|
708
|
+
},
|
|
709
|
+
{
|
|
710
|
+
"id": "components-contact--circular-avatar",
|
|
711
|
+
"group": "Components/Contact",
|
|
712
|
+
"name": "CircularAvatar",
|
|
713
|
+
"code": "<Contact\n copy=\"Leads with a vision for innovative, user-centric web designs\"\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: '#',\n icon: 'twitter',\n label: '@jane_smith',\n newTab: false\n },\n {\n href: 'mailto:mail@example.com',\n icon: 'linkedin',\n label: 'jane.smith',\n newTab: false\n }\n ]}\n subtitle=\"CEO at DS Agency\"\n title=\"Jane Smith\"\n/>",
|
|
714
|
+
"args": {
|
|
715
|
+
"image": {
|
|
716
|
+
"src": "img/people/author-emily.png",
|
|
717
|
+
"alt": "Picture of Jane Smith",
|
|
718
|
+
"fullWidth": false,
|
|
719
|
+
"aspectRatio": "square"
|
|
720
|
+
},
|
|
721
|
+
"title": "Jane Smith",
|
|
722
|
+
"subtitle": "CEO at DS Agency",
|
|
723
|
+
"links": [
|
|
724
|
+
{
|
|
725
|
+
"icon": "twitter",
|
|
726
|
+
"label": "@jane_smith",
|
|
727
|
+
"href": "#",
|
|
728
|
+
"newTab": false
|
|
729
|
+
},
|
|
730
|
+
{
|
|
731
|
+
"icon": "linkedin",
|
|
732
|
+
"label": "jane.smith",
|
|
733
|
+
"href": "mailto:mail@example.com",
|
|
734
|
+
"newTab": false
|
|
735
|
+
}
|
|
736
|
+
],
|
|
737
|
+
"copy": "Leads with a vision for innovative, user-centric web designs"
|
|
738
|
+
},
|
|
739
|
+
"screenshot": "img/screenshots/components-contact--circular-avatar.png"
|
|
740
|
+
},
|
|
741
|
+
{
|
|
742
|
+
"id": "components-contact--vertical-image-with-paragraph",
|
|
743
|
+
"group": "Components/Contact",
|
|
744
|
+
"name": "VerticalImageWithParagraph",
|
|
745
|
+
"code": "<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/>",
|
|
746
|
+
"args": {
|
|
747
|
+
"image": {
|
|
748
|
+
"src": "img/people/contact-john.png",
|
|
749
|
+
"alt": "Picture of Jane Smith",
|
|
750
|
+
"fullWidth": false,
|
|
751
|
+
"aspectRatio": "vertical"
|
|
752
|
+
},
|
|
753
|
+
"title": "John Smith",
|
|
754
|
+
"subtitle": "Sales Representative",
|
|
755
|
+
"links": [
|
|
756
|
+
{
|
|
757
|
+
"icon": "xing",
|
|
758
|
+
"label": "john.smith",
|
|
759
|
+
"href": "mailto:mail@example.com",
|
|
760
|
+
"newTab": false
|
|
761
|
+
},
|
|
762
|
+
{
|
|
763
|
+
"icon": "twitter",
|
|
764
|
+
"label": "@john_smith",
|
|
765
|
+
"href": "#",
|
|
766
|
+
"newTab": false
|
|
767
|
+
}
|
|
768
|
+
],
|
|
769
|
+
"copy": "Leads with a vision for innovative, user-centric web designs, ensuring each project merges creativity with functionality to deliver outstanding digital experiences."
|
|
770
|
+
},
|
|
771
|
+
"screenshot": "img/screenshots/components-contact--vertical-image-with-paragraph.png"
|
|
772
|
+
},
|
|
773
|
+
{
|
|
774
|
+
"id": "components-contact--full-image-width",
|
|
775
|
+
"group": "Components/Contact",
|
|
776
|
+
"name": "FullImageWidth",
|
|
777
|
+
"code": "<Contact\n copy=\"Blends artistic flair with technical expertise, creating visually stunning and intuitive websites that captivate users and drive engagement.\"\n image={{\n alt: 'Picture of Jane Smith',\n aspectRatio: 'wide',\n fullWidth: true,\n src: 'img/people/contact-jim.png'\n }}\n links={[\n {\n href: 'mailto:mail@example.com',\n icon: 'email',\n label: 'jim.johnsson@mail.com',\n newTab: false\n },\n {\n href: '#',\n icon: 'facebook',\n label: '@jim_johnsson',\n newTab: false\n }\n ]}\n subtitle=\"Lead Designer\"\n title=\"Jim Johnsson\"\n/>",
|
|
778
|
+
"args": {
|
|
779
|
+
"image": {
|
|
780
|
+
"src": "img/people/contact-jim.png",
|
|
781
|
+
"alt": "Picture of Jane Smith",
|
|
782
|
+
"fullWidth": true,
|
|
783
|
+
"aspectRatio": "wide"
|
|
784
|
+
},
|
|
785
|
+
"title": "Jim Johnsson",
|
|
786
|
+
"subtitle": "Lead Designer",
|
|
787
|
+
"links": [
|
|
788
|
+
{
|
|
789
|
+
"icon": "email",
|
|
790
|
+
"label": "jim.johnsson@mail.com",
|
|
791
|
+
"href": "mailto:mail@example.com",
|
|
792
|
+
"newTab": false
|
|
793
|
+
},
|
|
794
|
+
{
|
|
795
|
+
"icon": "facebook",
|
|
796
|
+
"label": "@jim_johnsson",
|
|
797
|
+
"href": "#",
|
|
798
|
+
"newTab": false
|
|
799
|
+
}
|
|
800
|
+
],
|
|
801
|
+
"copy": "Blends artistic flair with technical expertise, creating visually stunning and intuitive websites that captivate users and drive engagement."
|
|
802
|
+
},
|
|
803
|
+
"screenshot": "img/screenshots/components-contact--full-image-width.png"
|
|
804
|
+
},
|
|
641
805
|
{
|
|
642
806
|
"id": "components-cta--banner",
|
|
643
807
|
"group": "Components/Cta",
|
|
@@ -2,6 +2,7 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
2
2
|
import { ButtonProvider } from '../button/index.js';
|
|
3
3
|
import { SectionProvider } from '../section/index.js';
|
|
4
4
|
import { TeaserBoxProvider } from '../teaser-card/index.js';
|
|
5
|
+
import { ContactProvider } from '../contact/index.js';
|
|
5
6
|
import { HeadlineProvider } from '../headline/index.js';
|
|
6
7
|
import { ThemeProvider } from '@bedrock-layout/spacing-constants';
|
|
7
8
|
import { ButtonGroupProvider } from '../button-group/index.js';
|
|
@@ -14,6 +15,11 @@ import '../section/js/Section.client.js';
|
|
|
14
15
|
import '@kickstartds/core/lib/component';
|
|
15
16
|
import '@kickstartds/base/lib/teaser-box';
|
|
16
17
|
import '@kickstartds/core/lib/container';
|
|
18
|
+
import '@kickstartds/base/lib/picture';
|
|
19
|
+
import '@kickstartds/base/lib/contact';
|
|
20
|
+
import '@kickstartds/base/lib/link';
|
|
21
|
+
import '@kickstartds/base/lib/icon';
|
|
22
|
+
import '@kickstartds/base/lib/rich-text';
|
|
17
23
|
import 'markdown-to-jsx';
|
|
18
24
|
import '@kickstartds/base/lib/headline';
|
|
19
25
|
import '@kickstartds/base/lib/button-group';
|
|
@@ -32,7 +38,7 @@ const theme = {
|
|
|
32
38
|
};
|
|
33
39
|
const BedrockProvider = (props) => (jsx(ThemeProvider, { theme: theme, ...props }));
|
|
34
40
|
|
|
35
|
-
const Providers = (props) => (jsx(BedrockProvider, { children: jsx(ButtonProvider, { children: jsx(ButtonGroupProvider, { children: jsx(HeadlineProvider, { children: jsx(SectionProvider, { children: jsx(TeaserBoxProvider, { ...props }) }) }) }) }) }));
|
|
41
|
+
const Providers = (props) => (jsx(BedrockProvider, { children: jsx(ButtonProvider, { children: jsx(ContactProvider, { children: jsx(ButtonGroupProvider, { children: jsx(HeadlineProvider, { children: jsx(SectionProvider, { children: jsx(TeaserBoxProvider, { ...props }) }) }) }) }) }) }));
|
|
36
42
|
const providerDecorator = (storyFn, context) => (jsx(Providers, { children: storyFn(context) }));
|
|
37
43
|
|
|
38
44
|
export { Providers as default, providerDecorator };
|
|
@@ -6,7 +6,8 @@ import { FC, PropsWithChildren } from "react";
|
|
|
6
6
|
* and run json-schema-to-typescript to regenerate this file.
|
|
7
7
|
*/
|
|
8
8
|
interface SplitProps {
|
|
9
|
-
layout?: "sidebarRight" | "sidebarLeft"
|
|
9
|
+
layout?: "sidebarRight" | "sidebarLeft";
|
|
10
|
+
mainSectionWidth?: "narrow" | "medium" | "wide";
|
|
10
11
|
}
|
|
11
12
|
declare const Split: FC<PropsWithChildren<SplitProps>>;
|
|
12
13
|
export { Split };
|
|
@@ -2,6 +2,16 @@ import "./split.css";
|
|
|
2
2
|
import { jsx } from 'react/jsx-runtime';
|
|
3
3
|
import classnames from 'classnames';
|
|
4
4
|
|
|
5
|
-
const Split = ({ layout, children, }) => (jsx("div", { className: classnames(
|
|
5
|
+
const Split = ({ layout = "sidebarRight", mainSectionWidth = "default", children, }) => (jsx("div", { className: classnames("l-split", layout === "sidebarRight"
|
|
6
|
+
? "l-split--sidebar-right"
|
|
7
|
+
: layout === "sidebarLeft"
|
|
8
|
+
? "l-split--sidebar-left"
|
|
9
|
+
: "l-split--sidebar-right", mainSectionWidth === "narrow"
|
|
10
|
+
? "l-split--narrow"
|
|
11
|
+
: mainSectionWidth === "medium"
|
|
12
|
+
? "l-split--medium"
|
|
13
|
+
: mainSectionWidth === "wide"
|
|
14
|
+
? "l-split--wide"
|
|
15
|
+
: "l-split--medium"), children: children }));
|
|
6
16
|
|
|
7
17
|
export { Split };
|
|
@@ -1,24 +1,53 @@
|
|
|
1
|
-
.l-split
|
|
1
|
+
.l-split {
|
|
2
|
+
--dsa-split--gap-vertical: var(--ks-spacing-stack-l);
|
|
3
|
+
--dsa-split--gap-horizontal: var(--ks-spacing-inline-l);
|
|
4
|
+
--dsa-split__side--top-offset: var(--ks-spacing-stack-l);
|
|
5
|
+
--dsa-split__side--top-margin: var(--ks-spacing-stack-l);
|
|
6
|
+
--dsa-split__side--flex-basis: 210px;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.l-split {
|
|
2
10
|
display: flex;
|
|
3
11
|
flex-wrap: wrap;
|
|
4
|
-
gap: var(--
|
|
12
|
+
gap: var(--dsa-split--gap-horizontal) var(--dsa-split--gap-horizontal);
|
|
13
|
+
}
|
|
14
|
+
.l-split--narrow {
|
|
15
|
+
--split__main--flex-basis: var(--l-section--content-width-narrow);
|
|
16
|
+
}
|
|
17
|
+
.l-split--medium {
|
|
18
|
+
--split__main--flex-basis: var(--l-section--content-width-default);
|
|
19
|
+
}
|
|
20
|
+
.l-split--wide {
|
|
21
|
+
--split__main--flex-basis: var(--l-section--content-width-wide);
|
|
5
22
|
}
|
|
6
23
|
@media (min-width: 48em) {
|
|
7
|
-
.l-split
|
|
24
|
+
.l-split {
|
|
8
25
|
justify-content: space-between;
|
|
9
26
|
}
|
|
10
27
|
}
|
|
11
|
-
.l-split
|
|
12
|
-
flex-basis: calc(var(--l-section--content-width-default) - var(--l-section--content-padding) * 2);
|
|
28
|
+
.l-split > * {
|
|
13
29
|
flex-grow: 1;
|
|
14
30
|
flex-shrink: 1;
|
|
15
31
|
}
|
|
16
|
-
.l-split--
|
|
17
|
-
flex-
|
|
18
|
-
|
|
19
|
-
|
|
32
|
+
.l-split--sidebar-right > :first-child {
|
|
33
|
+
flex-basis: calc(var(--split__main--flex-basis) - var(--l-section--content-padding) * 2);
|
|
34
|
+
}
|
|
35
|
+
.l-split--sidebar-right > :last-child {
|
|
36
|
+
flex-basis: var(--dsa-split__side--flex-basis, 210px);
|
|
37
|
+
position: -webkit-sticky;
|
|
38
|
+
position: sticky;
|
|
39
|
+
top: var(--dsa-split__side--top-offset, var(--ks-spacing-stack-l));
|
|
40
|
+
height: fit-content;
|
|
41
|
+
margin-top: var(--dsa-split__side-top-margin, var(--ks-spacing-stack-l));
|
|
42
|
+
}
|
|
43
|
+
.l-split--sidebar-left > :last-child {
|
|
44
|
+
flex-basis: calc(var(--split__main--flex-basis) - var(--l-section--content-padding) * 2);
|
|
45
|
+
}
|
|
46
|
+
.l-split--sidebar-left > :first-child {
|
|
47
|
+
flex-basis: var(--dsa-split__side--flex-basis, 210px);
|
|
20
48
|
position: -webkit-sticky;
|
|
21
49
|
position: sticky;
|
|
22
|
-
top: var(--ks-spacing-stack-l);
|
|
50
|
+
top: var(--dsa-split__side--top-margin, var(--ks-spacing-stack-l));
|
|
23
51
|
height: fit-content;
|
|
52
|
+
margin-top: var(--dsa-split__side-top-margin, var(--ks-spacing-stack-l));
|
|
24
53
|
}
|
|
@@ -8,9 +8,18 @@
|
|
|
8
8
|
"type": "string",
|
|
9
9
|
"enum": [
|
|
10
10
|
"sidebarRight",
|
|
11
|
-
"sidebarLeft"
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
"sidebarLeft"
|
|
12
|
+
],
|
|
13
|
+
"default": "sidebarRight"
|
|
14
|
+
},
|
|
15
|
+
"mainSectionWidth": {
|
|
16
|
+
"type": "string",
|
|
17
|
+
"enum": [
|
|
18
|
+
"narrow",
|
|
19
|
+
"medium",
|
|
20
|
+
"wide"
|
|
21
|
+
],
|
|
22
|
+
"default": "medium"
|
|
14
23
|
},
|
|
15
24
|
"type": {
|
|
16
25
|
"const": "split"
|
|
@@ -6,7 +6,13 @@
|
|
|
6
6
|
"properties": {
|
|
7
7
|
"layout": {
|
|
8
8
|
"type": "string",
|
|
9
|
-
"enum": ["sidebarRight", "sidebarLeft",
|
|
9
|
+
"enum": ["sidebarRight", "sidebarLeft"],
|
|
10
|
+
"default": "sidebarRight"
|
|
11
|
+
},
|
|
12
|
+
"mainSectionWidth": {
|
|
13
|
+
"type": "string",
|
|
14
|
+
"enum": ["narrow", "medium", "wide"],
|
|
15
|
+
"default": "medium"
|
|
10
16
|
}
|
|
11
17
|
},
|
|
12
18
|
"additionalProperties": false
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/dist/tokens/themes.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Tue, 03 Sep 2024
|
|
3
|
+
* Generated on Tue, 03 Sep 2024 14:30:52 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, 03 Sep 2024
|
|
2730
|
+
* Generated on Tue, 03 Sep 2024 14:30:56 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, 03 Sep 2024
|
|
5461
|
+
* Generated on Tue, 03 Sep 2024 14:30:54 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, 03 Sep 2024
|
|
8462
|
+
* Generated on Tue, 03 Sep 2024 14:30:59 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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Tue, 03 Sep 2024
|
|
3
|
+
* Generated on Tue, 03 Sep 2024 14:30:50 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
:root, [ks-theme] {
|
|
@@ -116,8 +116,8 @@
|
|
|
116
116
|
--ks-background-color-secondary-inverted-interactive-active-base: var(--ks-color-secondary-inverted-to-bg-2-base);
|
|
117
117
|
--ks-background-color-secondary-inverted-interactive-selected-base: var(--ks-color-secondary-inverted-to-bg-4-base);
|
|
118
118
|
--ks-background-color-secondary-inverted-translucent-base: var(--ks-color-secondary-inverted-alpha-5-base);
|
|
119
|
-
--ks-border-color-accent-base: var(--ks-color-
|
|
120
|
-
--ks-border-color-accent-inverted-base: var(--ks-color-
|
|
119
|
+
--ks-border-color-accent-base: var(--ks-color-fg-to-bg-7-base);
|
|
120
|
+
--ks-border-color-accent-inverted-base: var(--ks-color-fg-inverted-to-bg-7-base);
|
|
121
121
|
--ks-border-color-clear-base: var(--ks-color-transparent-base);
|
|
122
122
|
--ks-border-color-clear-interactive-base: var(--ks-color-transparent-base);
|
|
123
123
|
--ks-border-color-clear-interactive-hover-base: var(--ks-color-primary-alpha-8-base);
|
|
@@ -808,14 +808,14 @@
|
|
|
808
808
|
--ks-spacing-inset-stretch-xl: var(--ks-spacing-xxl) var(--ks-spacing-xl);
|
|
809
809
|
--ks-text-color-default-base: var(--ks-color-fg-base);
|
|
810
810
|
--ks-text-color-default-interactive-base: var(--ks-color-link-base);
|
|
811
|
-
--ks-text-color-default-interactive-hover-base: var(--ks-color-link-base);
|
|
812
|
-
--ks-text-color-default-interactive-active-base: var(--ks-color-link-base);
|
|
813
|
-
--ks-text-color-default-interactive-selected-base: var(--ks-color-link-base);
|
|
811
|
+
--ks-text-color-default-interactive-hover-base: var(--ks-color-link-to-fg-5-base);
|
|
812
|
+
--ks-text-color-default-interactive-active-base: var(--ks-color-link-to-fg-5-base);
|
|
813
|
+
--ks-text-color-default-interactive-selected-base: var(--ks-color-link-to-fg-5-base);
|
|
814
814
|
--ks-text-color-default-inverted-base: var(--ks-color-fg-inverted-base);
|
|
815
815
|
--ks-text-color-default-inverted-interactive-base: var(--ks-color-link-inverted-base);
|
|
816
|
-
--ks-text-color-default-inverted-interactive-hover-base: var(--ks-color-link-inverted-base);
|
|
817
|
-
--ks-text-color-default-inverted-interactive-active-base: var(--ks-color-link-inverted-base);
|
|
818
|
-
--ks-text-color-default-inverted-interactive-selected-base: var(--ks-color-link-inverted-base);
|
|
816
|
+
--ks-text-color-default-inverted-interactive-hover-base: var(--ks-color-link-inverted-to-fg-5-base);
|
|
817
|
+
--ks-text-color-default-inverted-interactive-active-base: var(--ks-color-link-inverted-to-fg-5-base);
|
|
818
|
+
--ks-text-color-default-inverted-interactive-selected-base: var(--ks-color-link-inverted-to-fg-5-base);
|
|
819
819
|
--ks-text-color-copy-base: var(--ks-color-fg-alpha-3-base);
|
|
820
820
|
--ks-text-color-copy-interactive-base: var(--ks-color-link-base);
|
|
821
821
|
--ks-text-color-copy-interactive-hover-base: var(--ks-color-link-to-fg-2-base);
|
package/dist/tokens/tokens.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Tue, 03 Sep 2024
|
|
3
|
+
* Generated on Tue, 03 Sep 2024 14:30:50 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
export const KsBackgroundColorAccentBase = "#230a2b";
|
|
@@ -115,8 +115,8 @@ export const KsBackgroundColorSecondaryInvertedInteractiveHoverBase = "#e43489";
|
|
|
115
115
|
export const KsBackgroundColorSecondaryInvertedInteractiveActiveBase = "#e43489";
|
|
116
116
|
export const KsBackgroundColorSecondaryInvertedInteractiveSelectedBase = "#e868a6";
|
|
117
117
|
export const KsBackgroundColorSecondaryInvertedTranslucentBase = "rgba(226, 24, 121, 0.5)";
|
|
118
|
-
export const KsBorderColorAccentBase = "#
|
|
119
|
-
export const KsBorderColorAccentInvertedBase = "#
|
|
118
|
+
export const KsBorderColorAccentBase = "#424355";
|
|
119
|
+
export const KsBorderColorAccentInvertedBase = "#b9b9c0";
|
|
120
120
|
export const KsBorderColorClearBase = "rgba(0, 0, 0, 0)";
|
|
121
121
|
export const KsBorderColorClearInteractiveBase = "rgba(0, 0, 0, 0)";
|
|
122
122
|
export const KsBorderColorClearInteractiveHoverBase = "rgba(226, 24, 121, 0.13)";
|
|
@@ -811,14 +811,14 @@ export const KsSpacingInsetStretchL = "1.7768rem 1.2469rem";
|
|
|
811
811
|
export const KsSpacingInsetStretchXl = "2.5319rem 1.7768rem";
|
|
812
812
|
export const KsTextColorDefaultBase = "#ffffff";
|
|
813
813
|
export const KsTextColorDefaultInteractiveBase = "#b7a5ff";
|
|
814
|
-
export const KsTextColorDefaultInteractiveHoverBase = "#
|
|
815
|
-
export const KsTextColorDefaultInteractiveActiveBase = "#
|
|
816
|
-
export const KsTextColorDefaultInteractiveSelectedBase = "#
|
|
814
|
+
export const KsTextColorDefaultInteractiveHoverBase = "#dbd2ff";
|
|
815
|
+
export const KsTextColorDefaultInteractiveActiveBase = "#dbd2ff";
|
|
816
|
+
export const KsTextColorDefaultInteractiveSelectedBase = "#dbd2ff";
|
|
817
817
|
export const KsTextColorDefaultInvertedBase = "#06081f";
|
|
818
818
|
export const KsTextColorDefaultInvertedInteractiveBase = "#6642f6";
|
|
819
|
-
export const KsTextColorDefaultInvertedInteractiveHoverBase = "#
|
|
820
|
-
export const KsTextColorDefaultInvertedInteractiveActiveBase = "#
|
|
821
|
-
export const KsTextColorDefaultInvertedInteractiveSelectedBase = "#
|
|
819
|
+
export const KsTextColorDefaultInvertedInteractiveHoverBase = "#36258b";
|
|
820
|
+
export const KsTextColorDefaultInvertedInteractiveActiveBase = "#36258b";
|
|
821
|
+
export const KsTextColorDefaultInvertedInteractiveSelectedBase = "#36258b";
|
|
822
822
|
export const KsTextColorCopyBase = "rgba(255, 255, 255, 0.76)";
|
|
823
823
|
export const KsTextColorCopyInteractiveBase = "#b7a5ff";
|
|
824
824
|
export const KsTextColorCopyInteractiveHoverBase = "#c0b1ff";
|