@kickstartds/ds-agency-premium 1.4.0--canary.12.465.0 → 1.4.0--canary.14.677.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/{BlogPostProps-e1cbd5d3.d.ts → BlogPostProps-440f88a5.d.ts} +8 -2
- package/dist/{FooterProps-9f94ed98.d.ts → FooterProps-2d0b03c2.d.ts} +14 -2
- package/dist/HeaderProps-c6c32ccf.d.ts +72 -0
- package/dist/{ImageStoryProps-24e0335c.d.ts → ImageStoryProps-e853e1e7.d.ts} +9 -4
- package/dist/{HeaderProps-34d278ee.d.ts → LogoProps-01796f0a.d.ts} +16 -19
- package/dist/LogosProps-f9474fe2.d.ts +97 -0
- package/dist/{SectionProps-93230a76.d.ts → SectionProps-83d399b4.d.ts} +2 -2
- package/dist/SliderProps-93230a76.d.ts +1 -1
- package/dist/components/blog-aside/index.js +2 -2
- package/dist/components/blog-head/index.js +2 -2
- package/dist/components/blog-overview/index.js +0 -1
- package/dist/components/blog-post/blog-post.schema.dereffed.json +3095 -1
- package/dist/components/blog-post/blog-post.schema.json +9 -1
- package/dist/components/blog-post/index.d.ts +3 -6
- package/dist/components/blog-post/index.js +1 -2
- package/dist/components/blog-teaser/index.js +2 -2
- package/dist/components/button/button.css +15 -1
- package/dist/components/cta/cta.css +38 -38
- package/dist/components/feature/index.js +7 -7
- package/dist/components/features/features.css +26 -28
- package/dist/components/features/index.js +1 -1
- package/dist/components/footer/footer.css +23 -18
- package/dist/components/footer/footer.schema.dereffed.json +65 -14
- package/dist/components/footer/footer.schema.json +11 -25
- package/dist/components/footer/index.d.ts +1 -1
- package/dist/components/footer/index.js +3 -2
- package/dist/components/gallery/gallery.css +1 -1
- package/dist/components/header/header.css +4 -8
- package/dist/components/header/header.schema.dereffed.json +78 -17
- package/dist/components/header/header.schema.json +18 -25
- package/dist/components/header/index.d.ts +1 -1
- package/dist/components/header/index.js +15 -7
- package/dist/components/headline/headline.css +18 -21
- package/dist/components/headline/index.js +1 -7
- package/dist/components/hero/index.js +3 -2
- package/dist/components/image/image.css +8 -8
- package/dist/components/image/image.schema.dereffed.json +1 -1
- package/dist/components/image/image.schema.json +1 -1
- package/dist/components/image/index.d.ts +1 -1
- package/dist/components/image/index.js +1 -1
- package/dist/components/image-story/image-story.css +14 -1
- package/dist/components/image-story/image-story.schema.dereffed.json +19 -9
- package/dist/components/image-story/image-story.schema.json +9 -6
- package/dist/components/image-story/index.d.ts +1 -1
- package/dist/components/image-story/index.js +10 -1
- package/dist/components/index/index.d.ts +14 -14
- package/dist/components/logo/index.d.ts +4 -0
- package/dist/components/logo/index.js +12 -0
- package/dist/components/logo/logo.css +7 -0
- package/dist/components/logo/logo.schema.dereffed.json +43 -19
- package/dist/components/logo/logo.schema.json +41 -17
- package/dist/components/logos/index.d.ts +1 -1
- package/dist/components/logos/index.js +1 -1
- package/dist/components/logos/logos.css +11 -7
- package/dist/components/logos/logos.schema.dereffed.json +0 -5
- package/dist/components/logos/logos.schema.json +27 -1
- package/dist/components/nav-dropdown/index.d.ts +23 -0
- package/dist/components/nav-dropdown/index.js +10 -0
- package/dist/components/nav-dropdown/nav-dropdown.css +48 -0
- package/dist/components/nav-flyout/index.d.ts +7 -0
- package/dist/components/nav-flyout/index.js +17 -0
- package/dist/components/nav-flyout/nav-flyout.css +97 -0
- package/dist/components/nav-main/index.d.ts +42 -11
- package/dist/components/nav-main/index.js +14 -13
- package/dist/components/nav-main/nav-main.schema.dereffed.json +110 -85
- package/dist/components/nav-main/nav-main.schema.json +73 -11
- package/dist/components/nav-toggle/index.d.ts +3 -0
- package/dist/components/nav-toggle/index.js +6 -0
- package/dist/components/{nav-main → nav-toggle}/nav-toggle.css +21 -21
- package/dist/components/nav-topbar/index.d.ts +6 -0
- package/dist/components/nav-topbar/index.js +12 -0
- package/dist/components/nav-topbar/nav-topbar.css +95 -0
- package/dist/components/page/page.schema.dereffed.json +25 -25
- package/dist/components/page/page.schema.json +6 -6
- package/dist/components/page-wrapper/index.js +2 -3
- package/dist/components/page-wrapper/tokens.css +2 -2
- package/dist/components/picture/picture.schema.json +1 -1
- package/dist/components/presets.json +197 -19
- package/dist/components/providers/index.js +0 -1
- package/dist/components/section/index.d.ts +5 -3
- package/dist/components/section/index.js +35 -31
- package/dist/components/section/section.css +3 -3
- package/dist/components/section/section.schema.dereffed.json +19 -19
- package/dist/components/settings/settings.schema.dereffed.json +143 -31
- package/dist/components/slider/slider.schema.dereffed.json +0 -5
- package/dist/components/teaser-card/teaser-card.css +2 -2
- package/dist/components/text/text.css +1 -1
- package/dist/global.css +13 -13
- package/dist/static/favicon/favicon-192-192.png +1 -1
- package/dist/static/logo-inverted.svg +26 -0
- package/dist/tokens/themes.css +4 -4
- package/dist/tokens/tokens.css +2 -2
- package/dist/tokens/tokens.js +2 -2
- package/package.json +1 -1
- package/dist/LogosProps-58c84ccc.d.ts +0 -242
- package/dist/components/headline-level-context/index.d.ts +0 -4
- package/dist/components/headline-level-context/index.js +0 -33
- package/dist/components/nav-main/nav-main.css +0 -191
- /package/dist/components/{nav-main → nav}/js/NavToggle.client.d.ts +0 -0
- /package/dist/components/{nav-main → nav}/js/NavToggle.client.js +0 -0
- /package/dist/components/{nav-main → nav}/js/body.client.d.ts +0 -0
- /package/dist/components/{nav-main → nav}/js/body.client.js +0 -0
- /package/dist/components/{nav-main → nav}/js/navMainEvents.client.d.ts +0 -0
- /package/dist/components/{nav-main → nav}/js/navMainEvents.client.js +0 -0
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import "./section.css";
|
|
2
2
|
import { jsx } from 'react/jsx-runtime';
|
|
3
|
-
import { forwardRef } from 'react';
|
|
3
|
+
import { forwardRef, createContext, useContext } from 'react';
|
|
4
4
|
import classnames from 'classnames';
|
|
5
5
|
import { useKsComponent } from '@kickstartds/core/lib/react';
|
|
6
|
-
import {
|
|
7
|
-
import { SectionContextDefault, SectionContext } from '@kickstartds/base/lib/section';
|
|
6
|
+
import { SectionContextDefault as SectionContextDefault$1, SectionContext as SectionContext$1 } from '@kickstartds/base/lib/section';
|
|
8
7
|
import { identifier } from './js/Section.client.js';
|
|
9
8
|
import '@kickstartds/core/lib/component';
|
|
10
9
|
|
|
11
|
-
const
|
|
10
|
+
const SectionContextDefault = forwardRef(({ headline, content, headerSpacing, width = "default", style = "default", spotlight = false, backgroundColor = "default", spaceBefore = "default", spaceAfter = "default", className, inverted, buttons = [], ...props }, ref) => {
|
|
12
11
|
const { large: headlineLarge = false, ...headlineRest } = {
|
|
13
12
|
align: "left",
|
|
14
13
|
...headline,
|
|
@@ -17,33 +16,38 @@ const Section = forwardRef(({ headline, content, headerSpacing, width = "default
|
|
|
17
16
|
spotlight,
|
|
18
17
|
content?.mode === "slider",
|
|
19
18
|
]);
|
|
20
|
-
return (jsx(
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
19
|
+
return (jsx(SectionContextDefault$1, { ...props, ...componentProps, className: classnames("dsa-section", style !== "default" &&
|
|
20
|
+
`dsa-section-style--${style === "verticalGradient"
|
|
21
|
+
? "vertical-gradient"
|
|
22
|
+
: style === "horizontalGradient"
|
|
23
|
+
? "horizontal-gradient"
|
|
24
|
+
: style === "accentTransition"
|
|
25
|
+
? "accent-transition"
|
|
26
|
+
: style === "boldTransition"
|
|
27
|
+
? "bold-transition"
|
|
28
|
+
: style === "symmetricGlow"
|
|
29
|
+
? "symmetric-glow"
|
|
30
|
+
: style === "anchorGlow"
|
|
31
|
+
? "anchor-glow"
|
|
32
|
+
: style}`, headerSpacing && "dsa-section--header-spacing", spotlight && "dsa-section--spotlight", className), background: backgroundColor, content: content, headline: {
|
|
33
|
+
...headlineRest,
|
|
34
|
+
spaceAfter: "large",
|
|
35
|
+
// @ts-expect-error
|
|
36
|
+
content: headlineRest.text,
|
|
37
|
+
level: "h2",
|
|
38
|
+
style: headlineLarge ? "h1" : "h2",
|
|
39
|
+
}, buttons: {
|
|
40
|
+
buttons,
|
|
41
|
+
// @ts-expect-error
|
|
42
|
+
items: buttons,
|
|
43
|
+
}, width: width, spaceBefore: spaceBefore, spaceAfter: spaceAfter, inverted: inverted, ref: ref, children: props.children }));
|
|
44
|
+
});
|
|
45
|
+
const SectionContext = createContext(SectionContextDefault);
|
|
46
|
+
const Section = forwardRef((props, ref) => {
|
|
47
|
+
const Component = useContext(SectionContext);
|
|
48
|
+
return jsx(Component, { ...props, ref: ref });
|
|
45
49
|
});
|
|
46
50
|
Section.displayName = "Section";
|
|
47
|
-
const SectionProvider = (props) => (jsx(SectionContext.Provider, { ...props, value: Section }));
|
|
51
|
+
const SectionProvider = (props) => (jsx(SectionContext$1.Provider, { ...props, value: Section }));
|
|
48
52
|
|
|
49
|
-
export { Section, SectionProvider };
|
|
53
|
+
export { Section, SectionContext, SectionContextDefault, SectionProvider };
|
|
@@ -66,8 +66,8 @@
|
|
|
66
66
|
var(--ks-color-primary-alpha-5) 0%,
|
|
67
67
|
var(--ks-color-secondary-alpha-5) 100%
|
|
68
68
|
);
|
|
69
|
-
--dsa-section__spotlight--
|
|
70
|
-
--dsa-section__spotlight--
|
|
69
|
+
--dsa-section__spotlight--size: 150px;
|
|
70
|
+
--dsa-section__spotlight--blur: 100%;
|
|
71
71
|
--dsa-section__spotlight--color: var(--ks-color-primary-alpha-5);
|
|
72
72
|
}
|
|
73
73
|
|
|
@@ -166,7 +166,7 @@
|
|
|
166
166
|
width: 100%;
|
|
167
167
|
height: 100%;
|
|
168
168
|
position: absolute;
|
|
169
|
-
background-image: radial-gradient(
|
|
169
|
+
background-image: radial-gradient(var(--dsa-section__spotlight--size) circle, var(--dsa-section__spotlight--color) 0%, var(--dsa-section__spotlight--color) calc(100% - var(--dsa-section__spotlight--blur)), transparent 100%, transparent 100%);
|
|
170
170
|
}
|
|
171
171
|
.l-section.dsa-section .l-section__content {
|
|
172
172
|
--l-section_buttons--space-before: var(--dsa-section__buttons--space-before, var(--l-section--gutter));
|
|
@@ -972,23 +972,33 @@
|
|
|
972
972
|
"type": "string",
|
|
973
973
|
"format": "image"
|
|
974
974
|
},
|
|
975
|
-
"
|
|
976
|
-
"title": "Image aspect ratio",
|
|
977
|
-
"description": "Select an aspect ratio to use for cropping and displaying the image",
|
|
975
|
+
"aspectRatio": {
|
|
978
976
|
"type": "string",
|
|
977
|
+
"title": "Aspect Ratio",
|
|
978
|
+
"description": "The aspect ratio of the image",
|
|
979
979
|
"enum": [
|
|
980
|
-
"
|
|
981
|
-
"
|
|
982
|
-
"
|
|
983
|
-
"
|
|
984
|
-
"none"
|
|
980
|
+
"unset",
|
|
981
|
+
"square",
|
|
982
|
+
"wide",
|
|
983
|
+
"landscape"
|
|
985
984
|
],
|
|
986
|
-
"default": "
|
|
985
|
+
"default": "unset"
|
|
987
986
|
},
|
|
988
987
|
"alt": {
|
|
989
988
|
"title": "Alt text",
|
|
990
989
|
"description": "Image description",
|
|
991
990
|
"type": "string"
|
|
991
|
+
},
|
|
992
|
+
"vAlign": {
|
|
993
|
+
"title": "Image vertical alignment",
|
|
994
|
+
"description": "Select a vertical alignment for the image",
|
|
995
|
+
"type": "string",
|
|
996
|
+
"enum": [
|
|
997
|
+
"center",
|
|
998
|
+
"top",
|
|
999
|
+
"bottom"
|
|
1000
|
+
],
|
|
1001
|
+
"default": "top"
|
|
992
1002
|
}
|
|
993
1003
|
},
|
|
994
1004
|
"additionalProperties": false
|
|
@@ -1099,8 +1109,6 @@
|
|
|
1099
1109
|
"title": "Logos",
|
|
1100
1110
|
"description": "The logos to display",
|
|
1101
1111
|
"items": {
|
|
1102
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
1103
|
-
"$id": "http://schema.mydesignsystem.com/logo.schema.json",
|
|
1104
1112
|
"title": "Logo",
|
|
1105
1113
|
"description": "Logo entry for Logos component",
|
|
1106
1114
|
"type": "object",
|
|
@@ -1126,9 +1134,6 @@
|
|
|
1126
1134
|
"examples": [
|
|
1127
1135
|
"Logo 1"
|
|
1128
1136
|
]
|
|
1129
|
-
},
|
|
1130
|
-
"type": {
|
|
1131
|
-
"const": "logo"
|
|
1132
1137
|
}
|
|
1133
1138
|
},
|
|
1134
1139
|
"additionalProperties": false,
|
|
@@ -2076,8 +2081,6 @@
|
|
|
2076
2081
|
"title": "Logos",
|
|
2077
2082
|
"description": "The logos to display",
|
|
2078
2083
|
"items": {
|
|
2079
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
2080
|
-
"$id": "http://schema.mydesignsystem.com/logo.schema.json",
|
|
2081
2084
|
"title": "Logo",
|
|
2082
2085
|
"description": "Logo entry for Logos component",
|
|
2083
2086
|
"type": "object",
|
|
@@ -2103,9 +2106,6 @@
|
|
|
2103
2106
|
"examples": [
|
|
2104
2107
|
"Logo 1"
|
|
2105
2108
|
]
|
|
2106
|
-
},
|
|
2107
|
-
"type": {
|
|
2108
|
-
"const": "logo"
|
|
2109
2109
|
}
|
|
2110
2110
|
},
|
|
2111
2111
|
"additionalProperties": false,
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
15
15
|
"$id": "http://schema.mydesignsystem.com/header.schema.json",
|
|
16
16
|
"title": "Header",
|
|
17
|
+
"description": "Header layered on top by the CMS",
|
|
17
18
|
"type": "object",
|
|
18
19
|
"properties": {
|
|
19
20
|
"logo": {
|
|
@@ -24,16 +25,24 @@
|
|
|
24
25
|
"title": "Source",
|
|
25
26
|
"description": "Picture source",
|
|
26
27
|
"type": "string",
|
|
27
|
-
"format": "image"
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
28
|
+
"format": "image"
|
|
29
|
+
},
|
|
30
|
+
"srcInverted": {
|
|
31
|
+
"title": "Source",
|
|
32
|
+
"description": "Picture source",
|
|
33
|
+
"type": "string",
|
|
34
|
+
"format": "image"
|
|
31
35
|
},
|
|
32
36
|
"alt": {
|
|
33
37
|
"title": "Alt text",
|
|
34
38
|
"description": "Alt text to display for picture",
|
|
35
39
|
"type": "string"
|
|
36
40
|
},
|
|
41
|
+
"homepageHref": {
|
|
42
|
+
"type": "string",
|
|
43
|
+
"format": "uri",
|
|
44
|
+
"default": "/"
|
|
45
|
+
},
|
|
37
46
|
"width": {
|
|
38
47
|
"title": "Width",
|
|
39
48
|
"description": "Width of the picture",
|
|
@@ -55,10 +64,17 @@
|
|
|
55
64
|
},
|
|
56
65
|
"additionalProperties": false
|
|
57
66
|
},
|
|
58
|
-
"
|
|
59
|
-
"type": "
|
|
60
|
-
"
|
|
61
|
-
"
|
|
67
|
+
"flyoutInverted": {
|
|
68
|
+
"type": "boolean",
|
|
69
|
+
"title": "Flyout Inverted",
|
|
70
|
+
"description": "Toggle the inversion of the flyout navigation",
|
|
71
|
+
"default": false
|
|
72
|
+
},
|
|
73
|
+
"dropdownInverted": {
|
|
74
|
+
"type": "boolean",
|
|
75
|
+
"title": "Dropdown Inverted",
|
|
76
|
+
"description": "Toggle the inversion of the dropdown navigation",
|
|
77
|
+
"default": false
|
|
62
78
|
},
|
|
63
79
|
"floating": {
|
|
64
80
|
"type": "boolean",
|
|
@@ -86,6 +102,31 @@
|
|
|
86
102
|
},
|
|
87
103
|
"active": {
|
|
88
104
|
"type": "boolean"
|
|
105
|
+
},
|
|
106
|
+
"id": {
|
|
107
|
+
"type": "string"
|
|
108
|
+
},
|
|
109
|
+
"items": {
|
|
110
|
+
"type": "array",
|
|
111
|
+
"items": {
|
|
112
|
+
"type": "object",
|
|
113
|
+
"properties": {
|
|
114
|
+
"href": {
|
|
115
|
+
"type": "string",
|
|
116
|
+
"format": "uri"
|
|
117
|
+
},
|
|
118
|
+
"label": {
|
|
119
|
+
"type": "string"
|
|
120
|
+
},
|
|
121
|
+
"active": {
|
|
122
|
+
"type": "boolean"
|
|
123
|
+
},
|
|
124
|
+
"id": {
|
|
125
|
+
"type": "string"
|
|
126
|
+
}
|
|
127
|
+
},
|
|
128
|
+
"additionalProperties": false
|
|
129
|
+
}
|
|
89
130
|
}
|
|
90
131
|
},
|
|
91
132
|
"additionalProperties": false,
|
|
@@ -96,19 +137,42 @@
|
|
|
96
137
|
},
|
|
97
138
|
"examples": [
|
|
98
139
|
[
|
|
99
|
-
{
|
|
100
|
-
"label": "Nav Item",
|
|
101
|
-
"href": "#"
|
|
102
|
-
},
|
|
103
140
|
{
|
|
104
141
|
"label": "Active Item",
|
|
105
142
|
"href": "#",
|
|
106
143
|
"active": true
|
|
107
144
|
},
|
|
108
145
|
{
|
|
109
|
-
"label": "
|
|
146
|
+
"label": "Navigation Item",
|
|
110
147
|
"href": "#"
|
|
111
148
|
},
|
|
149
|
+
{
|
|
150
|
+
"label": "Dropdown",
|
|
151
|
+
"href": "#",
|
|
152
|
+
"items": [
|
|
153
|
+
{
|
|
154
|
+
"label": "Level 2 Item",
|
|
155
|
+
"href": "#",
|
|
156
|
+
"id": ""
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"label": "Active Item",
|
|
160
|
+
"active": true,
|
|
161
|
+
"href": "#",
|
|
162
|
+
"id": ""
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"label": "An Item with a longer Label",
|
|
166
|
+
"href": "#",
|
|
167
|
+
"id": ""
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"label": "And One last one",
|
|
171
|
+
"href": "#",
|
|
172
|
+
"id": ""
|
|
173
|
+
}
|
|
174
|
+
]
|
|
175
|
+
},
|
|
112
176
|
{
|
|
113
177
|
"label": "One more Item",
|
|
114
178
|
"href": "#"
|
|
@@ -124,10 +188,7 @@
|
|
|
124
188
|
"const": "header"
|
|
125
189
|
}
|
|
126
190
|
},
|
|
127
|
-
"additionalProperties": false
|
|
128
|
-
"required": [
|
|
129
|
-
"logo"
|
|
130
|
-
]
|
|
191
|
+
"additionalProperties": false
|
|
131
192
|
},
|
|
132
193
|
"footer": {
|
|
133
194
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
@@ -143,16 +204,24 @@
|
|
|
143
204
|
"title": "Source",
|
|
144
205
|
"description": "Picture source",
|
|
145
206
|
"type": "string",
|
|
146
|
-
"format": "image"
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
207
|
+
"format": "image"
|
|
208
|
+
},
|
|
209
|
+
"srcInverted": {
|
|
210
|
+
"title": "Source",
|
|
211
|
+
"description": "Picture source",
|
|
212
|
+
"type": "string",
|
|
213
|
+
"format": "image"
|
|
150
214
|
},
|
|
151
215
|
"alt": {
|
|
152
216
|
"title": "Alt text",
|
|
153
217
|
"description": "Alt text to display for picture",
|
|
154
218
|
"type": "string"
|
|
155
219
|
},
|
|
220
|
+
"homepageHref": {
|
|
221
|
+
"type": "string",
|
|
222
|
+
"format": "uri",
|
|
223
|
+
"default": "/"
|
|
224
|
+
},
|
|
156
225
|
"width": {
|
|
157
226
|
"title": "Width",
|
|
158
227
|
"description": "Width of the picture",
|
|
@@ -174,11 +243,6 @@
|
|
|
174
243
|
},
|
|
175
244
|
"additionalProperties": false
|
|
176
245
|
},
|
|
177
|
-
"logoHref": {
|
|
178
|
-
"type": "string",
|
|
179
|
-
"format": "uri",
|
|
180
|
-
"default": "/"
|
|
181
|
-
},
|
|
182
246
|
"byline": {
|
|
183
247
|
"title": "Byline",
|
|
184
248
|
"description": "Small line of text displayed below the logo",
|
|
@@ -205,6 +269,31 @@
|
|
|
205
269
|
},
|
|
206
270
|
"active": {
|
|
207
271
|
"type": "boolean"
|
|
272
|
+
},
|
|
273
|
+
"id": {
|
|
274
|
+
"type": "string"
|
|
275
|
+
},
|
|
276
|
+
"items": {
|
|
277
|
+
"type": "array",
|
|
278
|
+
"items": {
|
|
279
|
+
"type": "object",
|
|
280
|
+
"properties": {
|
|
281
|
+
"href": {
|
|
282
|
+
"type": "string",
|
|
283
|
+
"format": "uri"
|
|
284
|
+
},
|
|
285
|
+
"label": {
|
|
286
|
+
"type": "string"
|
|
287
|
+
},
|
|
288
|
+
"active": {
|
|
289
|
+
"type": "boolean"
|
|
290
|
+
},
|
|
291
|
+
"id": {
|
|
292
|
+
"type": "string"
|
|
293
|
+
}
|
|
294
|
+
},
|
|
295
|
+
"additionalProperties": false
|
|
296
|
+
}
|
|
208
297
|
}
|
|
209
298
|
},
|
|
210
299
|
"additionalProperties": false,
|
|
@@ -215,19 +304,42 @@
|
|
|
215
304
|
},
|
|
216
305
|
"examples": [
|
|
217
306
|
[
|
|
218
|
-
{
|
|
219
|
-
"label": "Nav Item",
|
|
220
|
-
"href": "#"
|
|
221
|
-
},
|
|
222
307
|
{
|
|
223
308
|
"label": "Active Item",
|
|
224
309
|
"href": "#",
|
|
225
310
|
"active": true
|
|
226
311
|
},
|
|
227
312
|
{
|
|
228
|
-
"label": "
|
|
313
|
+
"label": "Navigation Item",
|
|
229
314
|
"href": "#"
|
|
230
315
|
},
|
|
316
|
+
{
|
|
317
|
+
"label": "Dropdown",
|
|
318
|
+
"href": "#",
|
|
319
|
+
"items": [
|
|
320
|
+
{
|
|
321
|
+
"label": "Level 2 Item",
|
|
322
|
+
"href": "#",
|
|
323
|
+
"id": ""
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"label": "Active Item",
|
|
327
|
+
"active": true,
|
|
328
|
+
"href": "#",
|
|
329
|
+
"id": ""
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"label": "An Item with a longer Label",
|
|
333
|
+
"href": "#",
|
|
334
|
+
"id": ""
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
"label": "And One last one",
|
|
338
|
+
"href": "#",
|
|
339
|
+
"id": ""
|
|
340
|
+
}
|
|
341
|
+
]
|
|
342
|
+
},
|
|
231
343
|
{
|
|
232
344
|
"label": "One more Item",
|
|
233
345
|
"href": "#"
|
|
@@ -717,8 +717,6 @@
|
|
|
717
717
|
"title": "Logos",
|
|
718
718
|
"description": "The logos to display",
|
|
719
719
|
"items": {
|
|
720
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
721
|
-
"$id": "http://schema.mydesignsystem.com/logo.schema.json",
|
|
722
720
|
"title": "Logo",
|
|
723
721
|
"description": "Logo entry for Logos component",
|
|
724
722
|
"type": "object",
|
|
@@ -744,9 +742,6 @@
|
|
|
744
742
|
"examples": [
|
|
745
743
|
"Logo 1"
|
|
746
744
|
]
|
|
747
|
-
},
|
|
748
|
-
"type": {
|
|
749
|
-
"const": "logo"
|
|
750
745
|
}
|
|
751
746
|
},
|
|
752
747
|
"additionalProperties": false,
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
--dsa-teaser-card__copy--color: var(--ks-text-color-default);
|
|
24
24
|
--dsa-teaser-card--padding: var(--ks-spacing-inset-l);
|
|
25
25
|
}
|
|
26
|
-
@media (min-width:
|
|
26
|
+
@media (min-width: 48em) {
|
|
27
27
|
.dsa-teaser-card {
|
|
28
28
|
--dsa-teaser-card__topic--font: var(--ks-font-display-s);
|
|
29
29
|
--dsa-teaser-card__copy--font: var(--ks-font-copy-s);
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
aspect-ratio: 1/1;
|
|
88
88
|
}
|
|
89
89
|
.c-teaser.dsa-teaser-card .c-rich-text {
|
|
90
|
-
font: var(--dsa-teaser-
|
|
90
|
+
font: var(--dsa-teaser-card__copy--font, var(--dsa-rich-text--font), var(--ks-font-copy-m));
|
|
91
91
|
}
|
|
92
92
|
.c-teaser.dsa-teaser-card .c-teaser__topic {
|
|
93
93
|
font: var(--dsa-teaser-card__topic--font, var(--dsa-topic--font));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
:root,
|
|
1
|
+
:root, [ks-inverted], [ks-theme] {
|
|
2
2
|
--dsa-text--font: var(--dsa-rich-text--font);
|
|
3
3
|
--dsa-text--color: var(--dsa-rich-text--color);
|
|
4
4
|
--dsa-text_highlight--color: var(--ks-text-color-default);
|
package/dist/global.css
CHANGED
|
@@ -296,7 +296,7 @@ h3 {
|
|
|
296
296
|
--c-rich-text_headline--margin:1.5em 0 1em;
|
|
297
297
|
}
|
|
298
298
|
}
|
|
299
|
-
:root,
|
|
299
|
+
:root, [ks-inverted], [ks-theme] {
|
|
300
300
|
--dsa-text-color-on-primary: var(--ks-color-fg);
|
|
301
301
|
--dsa-text-color-on-primary-inverted: var(--ks-color-fg-inverted);
|
|
302
302
|
--dsa-topic--font: var(--ks-font-display-m);
|
|
@@ -314,18 +314,18 @@ h3 {
|
|
|
314
314
|
--dsa-section__content_wide--width: 1440px;
|
|
315
315
|
--dsa-logo--height: 2rem;
|
|
316
316
|
}
|
|
317
|
-
@media (min-width:
|
|
318
|
-
:root,
|
|
317
|
+
@media (min-width: 48em) {
|
|
318
|
+
:root, [ks-inverted], [ks-theme] {
|
|
319
319
|
--dsa-section__content--padding: var(--ks-spacing-inset-xl);
|
|
320
320
|
}
|
|
321
321
|
}
|
|
322
|
-
@media (min-width:
|
|
323
|
-
:root,
|
|
322
|
+
@media (min-width: 48em) {
|
|
323
|
+
:root, [ks-inverted], [ks-theme] {
|
|
324
324
|
--dsa-logo--height: 2.5rem;
|
|
325
325
|
}
|
|
326
326
|
}
|
|
327
327
|
@media (min-width: 62em) {
|
|
328
|
-
:root,
|
|
328
|
+
:root, [ks-inverted], [ks-theme] {
|
|
329
329
|
--dsa-logo--height: 3rem;
|
|
330
330
|
}
|
|
331
331
|
}
|
|
@@ -438,7 +438,7 @@ h3 {
|
|
|
438
438
|
--dsa-form-field__placeholder--color: var(--ks-color-fg-alpha-5);
|
|
439
439
|
}
|
|
440
440
|
|
|
441
|
-
:root .c-form-check,
|
|
441
|
+
:root .c-form-check, [ks-inverted] .c-form-check, [ks-theme] .c-form-check {
|
|
442
442
|
--c-form-check_box--size: var(--dsa-form-check--size, 1rem);
|
|
443
443
|
--c-form-check_box--border: var(--dsa-form-check--border, var(--ks-border-width-default)) solid;
|
|
444
444
|
--c-form-check_box--border-color: var(--dsa-form-check--border-color, var(--ks-border-color-interface-interactive));
|
|
@@ -462,7 +462,7 @@ h3 {
|
|
|
462
462
|
--c-form-check_box-focus--shadow: var(--dsa-form-check--shadow_focus, 0 0 4px 0);
|
|
463
463
|
--c-form-check_checkmark--color: var(--dsa-form-check__checkmark--color, var(--dsa-text-color-on-primary));
|
|
464
464
|
}
|
|
465
|
-
:root .c-form-field,
|
|
465
|
+
:root .c-form-field, [ks-inverted] .c-form-field, [ks-theme] .c-form-field {
|
|
466
466
|
--c-form-field--border: var(--dsa-form-field--border, var(--ks-border-width-default)) solid;
|
|
467
467
|
--c-form-field--border-color: var(--dsa-form-field--border-color, var(--ks-border-color-interface-interactive));
|
|
468
468
|
--c-form-field-hover--border-color: var(
|
|
@@ -492,7 +492,7 @@ h3 {
|
|
|
492
492
|
--c-form-field_icon--size: calc(var(--ks-line-height-interface-m) * 0.75em);
|
|
493
493
|
--c-form-field_icon--color: var(--ks-color-fg-alpha-3);
|
|
494
494
|
}
|
|
495
|
-
:root .c-form-field__input::placeholder,
|
|
495
|
+
:root .c-form-field__input::placeholder, [ks-inverted] .c-form-field__input::placeholder, [ks-theme] .c-form-field__input::placeholder {
|
|
496
496
|
color: var(--dsa-form-field__placeholder--color, var(--ks-color-fg-alpha-5));
|
|
497
497
|
}
|
|
498
498
|
|
|
@@ -626,14 +626,14 @@ h3 {
|
|
|
626
626
|
font-weight: normal;
|
|
627
627
|
src: url("static/fonts/google/google-sans-text.woff2") format("woff2");
|
|
628
628
|
}
|
|
629
|
-
:root,
|
|
629
|
+
:root, [ks-inverted], [ks-theme] {
|
|
630
630
|
--dsa-rich-text__headline--font-weight: var(--dsa-headline--font-weight, var(--ks-font-weight-medium));
|
|
631
631
|
--dsa-rich-text__headline--color: var(--dsa-headline--color, var(--ks-text-color-display));
|
|
632
632
|
--dsa-rich-text--color: var(--ks-text-color-copy);
|
|
633
633
|
--dsa-rich-text--font: var(--ks-font-copy-m);
|
|
634
634
|
}
|
|
635
635
|
|
|
636
|
-
:root,
|
|
636
|
+
:root, [ks-inverted], [ks-theme] {
|
|
637
637
|
--c-rich-text--font: var(--dsa-rich-text--font, var(--ks-font-copy-m));
|
|
638
638
|
--c-rich-text--color: var(--dsa-rich-text--color, var(--ks-text-color-default));
|
|
639
639
|
--c-rich-text_headline--font-weight: var(--dsa-headline--font-weight, var(--ks-font-weight-bold));
|
|
@@ -659,12 +659,12 @@ body {
|
|
|
659
659
|
background: var(--ks-background-color-default);
|
|
660
660
|
}
|
|
661
661
|
|
|
662
|
-
:root,
|
|
662
|
+
:root, [ks-inverted], [ks-theme] {
|
|
663
663
|
--g-link--font-weight: var(--dsa-link--font-weight, var(--ks-font-weight-semi-bold));
|
|
664
664
|
--g-link--text-decoration: var(--dsa-link--text-decoration, underline);
|
|
665
665
|
--g-link--text-decoration-hover: var(--dsa-link--text-decoration_hover, none);
|
|
666
666
|
--g-link--color: var(--dsa-link--color, var(--ks-text-color-default-interactive));
|
|
667
|
-
--g-link--color-hover: var(--dsa-
|
|
667
|
+
--g-link--color-hover: var(--dsa-link--color_hover, var(--ks-text-color-default-interactive-hover));
|
|
668
668
|
--g-link--background: var(--dsa-link--background, transparent);
|
|
669
669
|
--g-link--border-radius: var(--dsa-link--border-radius, 0);
|
|
670
670
|
--l-section_col--min-width: var(--dsa-section__col--min-width, var(--l-section_tile-width--default));
|