@kickstartds/ds-agency-premium 1.3.49 → 1.3.50--canary.663.b100f6e.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/{FooterProps-10c950a6.d.ts → FooterProps-22e0307b.d.ts} +6 -0
- package/dist/{HeaderProps-7be94a61.d.ts → HeaderProps-dd2071a8.d.ts} +16 -2
- package/dist/components/blog-post/index.d.ts +1 -1
- package/dist/components/footer/footer.schema.dereffed.json +36 -2
- package/dist/components/footer/index.d.ts +1 -1
- package/dist/components/header/header.css +3 -1
- package/dist/components/header/header.schema.dereffed.json +44 -6
- package/dist/components/header/header.schema.json +5 -3
- package/dist/components/header/index.d.ts +1 -1
- package/dist/components/header/index.js +10 -6
- package/dist/components/image/image.css +3 -3
- package/dist/components/index/index.d.ts +3 -3
- package/dist/components/nav-dropdown/index.d.ts +23 -0
- package/dist/components/nav-dropdown/index.js +9 -0
- package/dist/components/nav-flyout/index.d.ts +8 -0
- package/dist/components/nav-flyout/index.js +15 -0
- package/dist/components/nav-flyout/nav-flyout.css +63 -0
- package/dist/components/nav-main/index.d.ts +33 -7
- package/dist/components/nav-main/index.js +14 -14
- package/dist/components/nav-main/nav-main.schema.dereffed.json +70 -2
- package/dist/components/nav-main/nav-main.schema.json +52 -3
- package/dist/components/nav-toggle/index.d.ts +3 -0
- package/dist/components/nav-toggle/index.js +6 -0
- package/dist/components/nav-topbar/index.d.ts +7 -0
- package/dist/components/nav-topbar/index.js +12 -0
- package/dist/components/nav-topbar/nav-topbar.css +139 -0
- package/dist/components/page-wrapper/tokens.css +1 -1
- package/dist/components/presets.json +29 -4
- package/dist/components/settings/settings.schema.dereffed.json +80 -8
- 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/components/nav-main/nav-main.css +0 -194
- /package/dist/{BlogPostProps-e1cbd5d3.d.ts → BlogPostProps-440f88a5.d.ts} +0 -0
- /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
- /package/dist/components/{nav-main → nav-toggle}/nav-toggle.css +0 -0
|
@@ -13,6 +13,12 @@
|
|
|
13
13
|
"description": "Toggle the inversion of the flyout navigation",
|
|
14
14
|
"default": false
|
|
15
15
|
},
|
|
16
|
+
"dropdownInverted": {
|
|
17
|
+
"type": "boolean",
|
|
18
|
+
"title": "Dropdown Inverted",
|
|
19
|
+
"description": "Toggle the inversion of the dropdown navigation",
|
|
20
|
+
"default": false
|
|
21
|
+
},
|
|
16
22
|
"items": {
|
|
17
23
|
"type": "array",
|
|
18
24
|
"items": {
|
|
@@ -20,7 +26,19 @@
|
|
|
20
26
|
"properties": {
|
|
21
27
|
"href": { "type": "string", "format": "uri" },
|
|
22
28
|
"label": { "type": "string" },
|
|
23
|
-
"active": { "type": "boolean" }
|
|
29
|
+
"active": { "type": "boolean" },
|
|
30
|
+
"items": {
|
|
31
|
+
"type": "array",
|
|
32
|
+
"items": {
|
|
33
|
+
"type": "object",
|
|
34
|
+
"properties": {
|
|
35
|
+
"href": { "type": "string", "format": "uri" },
|
|
36
|
+
"id": { "type": "string" },
|
|
37
|
+
"label": { "type": "string" },
|
|
38
|
+
"active": { "type": "boolean" }
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
24
42
|
},
|
|
25
43
|
"additionalProperties": false,
|
|
26
44
|
"required": ["href", "label"]
|
|
@@ -28,8 +46,20 @@
|
|
|
28
46
|
"examples": [
|
|
29
47
|
[
|
|
30
48
|
{
|
|
31
|
-
"label": "Nav
|
|
32
|
-
"href": "#"
|
|
49
|
+
"label": "Nav With Children",
|
|
50
|
+
"href": "#",
|
|
51
|
+
"items": [
|
|
52
|
+
{
|
|
53
|
+
"label": "TEST1",
|
|
54
|
+
"href": "#",
|
|
55
|
+
"id": "TEST1"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"label": "TEST2",
|
|
59
|
+
"href": "#",
|
|
60
|
+
"id": "TEST2"
|
|
61
|
+
}
|
|
62
|
+
]
|
|
33
63
|
},
|
|
34
64
|
{
|
|
35
65
|
"label": "Active Item",
|
|
@@ -50,6 +80,25 @@
|
|
|
50
80
|
}
|
|
51
81
|
]
|
|
52
82
|
]
|
|
83
|
+
},
|
|
84
|
+
"cta": {
|
|
85
|
+
"type": "object",
|
|
86
|
+
"title": "CTA",
|
|
87
|
+
"description": "Add a CTA to the Navigation",
|
|
88
|
+
"properties": {
|
|
89
|
+
"toggle": {
|
|
90
|
+
"title": "Toggle CTA",
|
|
91
|
+
"description": "Toggle the CTA",
|
|
92
|
+
"type": "boolean",
|
|
93
|
+
"default": false
|
|
94
|
+
},
|
|
95
|
+
"label": {
|
|
96
|
+
"$ref": "http://schema.mydesignsystem.com/button.schema.json#/properties/label"
|
|
97
|
+
},
|
|
98
|
+
"target": {
|
|
99
|
+
"$ref": "http://schema.mydesignsystem.com/button.schema.json#/properties/target"
|
|
100
|
+
}
|
|
101
|
+
}
|
|
53
102
|
}
|
|
54
103
|
},
|
|
55
104
|
"additionalProperties": false,
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import "./nav-toggle.css";
|
|
2
|
+
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
3
|
+
|
|
4
|
+
const NavToggleComponent = () => (jsxs("button", { type: "button", className: "dsa-nav-toggle", id: "toggle-sidebar", "aria-controls": "dsa-nav-main", "aria-expanded": "false", "ks-component": "base.nav-toggle", children: [jsx("span", { className: "dsa-nav-toggle__label", children: "toggle navigation" }), jsx("span", { className: "dsa-nav-toggle__icon", children: jsx("span", { className: "dsa-nav-toggle__icon__middle" }) })] }));
|
|
5
|
+
|
|
6
|
+
export { NavToggleComponent };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import "./nav-topbar.css";
|
|
2
|
+
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
3
|
+
import classnames from 'classnames';
|
|
4
|
+
import { Link } from '@kickstartds/base/lib/link';
|
|
5
|
+
import { Icon } from '@kickstartds/base/lib/icon';
|
|
6
|
+
import { NavDropdown } from '../nav-dropdown/index.js';
|
|
7
|
+
|
|
8
|
+
const NavTopbar = ({ items, active, dropdownInverted }) => items && items.length > 0 ? (jsx("nav", { className: "dsa-nav-topbar", id: "dsa-nav-main", "aria-label": "Hauptnavigation", children: jsx("ul", { className: "dsa-nav-list", children: items.map(({ label, href, id, items: subItems }) => {
|
|
9
|
+
return (jsxs("li", { className: classnames("dsa-nav-topbar__item", active && "dsa-nav-topbar__item--active"), children: [jsxs(Link, { href: href, className: `dsa-nav-topbar__link`, children: [label, subItems?.length ? (jsx(Icon, { className: "dsa-nav-topbar__link__icon", icon: "chevron-down" })) : ("")] }), subItems?.length ? (jsx(Fragment, { children: jsx(NavDropdown, { items: items, inverted: dropdownInverted?.toString() }) })) : null] }, id));
|
|
10
|
+
}) }) })) : null;
|
|
11
|
+
|
|
12
|
+
export { NavTopbar };
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
.dsa-nav-topbar {
|
|
2
|
+
--dsa-nav-topbar--background: linear-gradient(
|
|
3
|
+
125deg,
|
|
4
|
+
var(--ks-background-color-default),
|
|
5
|
+
var(--ks-color-primary-to-bg-6)
|
|
6
|
+
);
|
|
7
|
+
--dsa-nav-topbar__link--color: var(--ks-color-fg);
|
|
8
|
+
--dsa-nav-topbar__link--color_hover: var(--ks-text-color-interface-interactive-hover);
|
|
9
|
+
--dsa-nav-topbar__link--color_active: var(--ks-text-color-interface-interactive-active);
|
|
10
|
+
--dsa-nav-topbar__link--font: var(--ks-font-interface-m);
|
|
11
|
+
--dsa-nav-topbar__link--font-weight: var(--ks-font-weight-semi-bold);
|
|
12
|
+
--dsa-nav-topbar__link--font-weight_active: var(--ks-font-weight-semi-bold);
|
|
13
|
+
--dsa-nav-topbar__link--padding: 0 0.75em;
|
|
14
|
+
--dsa-nav-topbar__link_dimmed--opacity: 0.6;
|
|
15
|
+
--dsa-nav-topbar_floating__link_dimmed--opacity: 0.75;
|
|
16
|
+
--dsa-nav-topbar_floating__link--color: var(--ks-color-fg);
|
|
17
|
+
--dsa-nav-dropdown--padding: var(--ks-spacing-inset-stretch-xs);
|
|
18
|
+
--dsa-nav-dropdown--background: var(--ks-background-color-default);
|
|
19
|
+
--dsa-nav-dropdown--border-radius: var(--ks-border-radius-card);
|
|
20
|
+
--dsa-nav-dropdown--box-shadow: var(--ks-box-shadow-card);
|
|
21
|
+
--dsa-nav-dropdown--border: 1px solid var(--ks-border-color-card);
|
|
22
|
+
--dsa-nav-dropdown__link--color: var(--ks-color-fg);
|
|
23
|
+
--dsa-nav-dropdown__link--color_hover: var(--ks-text-color-interface-interactive-hover);
|
|
24
|
+
--dsa-nav-dropdown__link--color_active: var(--ks-text-color-interface-interactive-active);
|
|
25
|
+
--dsa-nav-dropdown__link--font: var(--ks-font-interface-m);
|
|
26
|
+
--dsa-nav-dropdown__link--font-weight: var(--ks-font-weight-semi-bold);
|
|
27
|
+
--dsa-nav-dropdown__link--font-weight_active: var(--ks-font-weight-semi-bold);
|
|
28
|
+
--dsa-nav-dropdown__link--padding: 0.35em 0.25em;
|
|
29
|
+
--dsa-nav-dropdown__link_dimmed--opacity: 0.6;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.dsa-nav-topbar {
|
|
33
|
+
/* critical:start */
|
|
34
|
+
display: none;
|
|
35
|
+
--g-link--text-decoration: none;
|
|
36
|
+
--g-link--text-decoration_hover: none;
|
|
37
|
+
flex-direction: column;
|
|
38
|
+
justify-content: flex-start;
|
|
39
|
+
/* critical:end */
|
|
40
|
+
}
|
|
41
|
+
@media (min-width: 62rem) {
|
|
42
|
+
.dsa-nav-topbar {
|
|
43
|
+
display: flex;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
.dsa-nav-topbar ul {
|
|
47
|
+
/* critical:start */
|
|
48
|
+
box-sizing: border-box;
|
|
49
|
+
margin: 0;
|
|
50
|
+
padding: 0;
|
|
51
|
+
list-style: none;
|
|
52
|
+
/* critical:end */
|
|
53
|
+
}
|
|
54
|
+
.dsa-nav-topbar ul li {
|
|
55
|
+
display: block;
|
|
56
|
+
margin: 0;
|
|
57
|
+
}
|
|
58
|
+
.dsa-nav-topbar .dsa-nav-list {
|
|
59
|
+
/* critical:start */
|
|
60
|
+
display: flex;
|
|
61
|
+
flex-wrap: nowrap;
|
|
62
|
+
align-items: stretch;
|
|
63
|
+
/* critical:end */
|
|
64
|
+
}
|
|
65
|
+
.dsa-nav-topbar .dsa-nav-list > ul.dsa-nav-main__list {
|
|
66
|
+
display: none;
|
|
67
|
+
}
|
|
68
|
+
.dsa-nav-topbar .dsa-nav-list:hover .dsa-nav-topbar__link:not(:hover) {
|
|
69
|
+
opacity: var(--dsa-nav-topbar__link_dimmed--opacity);
|
|
70
|
+
}
|
|
71
|
+
.dsa-header--floating .dsa-nav-topbar .dsa-nav-list:hover .dsa-nav-topbar__link:not(:hover) {
|
|
72
|
+
opacity: var(--dsa-nav-topbar_floating__link_dimmed--opacity);
|
|
73
|
+
}
|
|
74
|
+
.dsa-nav-topbar .dsa-nav-topbar__item {
|
|
75
|
+
/* critical:start */
|
|
76
|
+
flex-shrink: 0;
|
|
77
|
+
/* critical:end */
|
|
78
|
+
position: relative;
|
|
79
|
+
outline: 0;
|
|
80
|
+
}
|
|
81
|
+
.dsa-nav-topbar .dsa-nav-topbar__item:hover > .dsa-nav-dropdown {
|
|
82
|
+
display: flex;
|
|
83
|
+
}
|
|
84
|
+
.dsa-nav-topbar .dsa-nav-topbar__link {
|
|
85
|
+
/* critical:start */
|
|
86
|
+
font: var(--dsa-nav-topbar__link--font);
|
|
87
|
+
font-weight: var(--dsa-nav-topbar__link--font-weight);
|
|
88
|
+
color: var(--dsa-nav-topbar__link--color);
|
|
89
|
+
position: relative;
|
|
90
|
+
display: flex;
|
|
91
|
+
height: 100%;
|
|
92
|
+
align-items: center;
|
|
93
|
+
padding: var(--dsa-nav-topbar__link--padding);
|
|
94
|
+
/* critical:end */
|
|
95
|
+
}
|
|
96
|
+
.dsa-nav-topbar .dsa-nav-topbar__link:hover {
|
|
97
|
+
color: var(--dsa-nav-topbar__link--color_hover);
|
|
98
|
+
}
|
|
99
|
+
.dsa-nav-topbar .dsa-nav-topbar__link:active {
|
|
100
|
+
color: var(--dsa-nav-topbar__link--color_active);
|
|
101
|
+
}
|
|
102
|
+
.dsa-header--floating .dsa-nav-topbar .dsa-nav-topbar__link {
|
|
103
|
+
color: var(--dsa-nav-topbar_floating__link--color);
|
|
104
|
+
}
|
|
105
|
+
.dsa-header--floating .dsa-nav-topbar .dsa-nav-topbar__link:hover {
|
|
106
|
+
color: var(--dsa-nav-topbar__link--color_hover);
|
|
107
|
+
}
|
|
108
|
+
.dsa-header--floating .dsa-nav-topbar .dsa-nav-topbar__link:active {
|
|
109
|
+
color: var(--dsa-nav-topbar__link--color_active);
|
|
110
|
+
}
|
|
111
|
+
.dsa-nav-topbar .dsa-nav-dropdown {
|
|
112
|
+
display: none;
|
|
113
|
+
padding: var(--dsa-nav-dropdown--padding);
|
|
114
|
+
position: absolute;
|
|
115
|
+
flex-direction: column;
|
|
116
|
+
align-items: flex-start;
|
|
117
|
+
background-color: var(--dsa-nav-dropdown--background);
|
|
118
|
+
border-radius: var(--dsa-nav-dropdown--border-radius);
|
|
119
|
+
box-shadow: var(--dsa-nav-dropdown--box-shadow);
|
|
120
|
+
border: var(--dsa-nav-dropdown--border);
|
|
121
|
+
}
|
|
122
|
+
.dsa-nav-topbar .dsa-nav-dropdown:hover .dsa-nav-dropdown__link:not(:hover) {
|
|
123
|
+
opacity: var(--dsa-nav-dropdown__link_dimmed--opacity);
|
|
124
|
+
}
|
|
125
|
+
.dsa-nav-topbar .dsa-nav-dropdown__link {
|
|
126
|
+
font: var(--dsa-nav-dropdown__link--font);
|
|
127
|
+
font-weight: var(--dsa-nav-dropdown__link--font-weight);
|
|
128
|
+
color: var(--dsa-nav-dropdown__link--color);
|
|
129
|
+
position: relative;
|
|
130
|
+
display: block;
|
|
131
|
+
padding: var(--dsa-nav-dropdown__link--padding);
|
|
132
|
+
text-align: left;
|
|
133
|
+
}
|
|
134
|
+
.dsa-nav-topbar .dsa-nav-dropdown__link:hover {
|
|
135
|
+
color: var(--dsa-nav-dropdown__link--color_hover);
|
|
136
|
+
}
|
|
137
|
+
.dsa-nav-topbar .dsa-nav-dropdown__link:active {
|
|
138
|
+
color: var(--dsa-nav-dropdown__link--color_active);
|
|
139
|
+
}
|
|
@@ -1284,7 +1284,7 @@
|
|
|
1284
1284
|
"id": "layout-footer--footer",
|
|
1285
1285
|
"group": "Layout/Footer",
|
|
1286
1286
|
"name": "Footer",
|
|
1287
|
-
"code": "<Footer\n byline=\"© 2024 systemics Inc. All rights reserved.\"\n logo={{\n alt: 'Systemics Logo',\n height: 40,\n homepageHref: '#',\n inverted: false,\n src: '/logo.svg',\n srcInverted: '/logo-inverted.svg',\n width: 176\n }}\n navItems={[\n {\n href: '#',\n label: 'Nav
|
|
1287
|
+
"code": "<Footer\n byline=\"© 2024 systemics Inc. All rights reserved.\"\n logo={{\n alt: 'Systemics Logo',\n height: 40,\n homepageHref: '#',\n inverted: false,\n src: '/logo.svg',\n srcInverted: '/logo-inverted.svg',\n width: 176\n }}\n navItems={[\n {\n href: '#',\n items: [\n {\n href: '#',\n id: 'TEST1',\n label: 'TEST1'\n },\n {\n href: '#',\n id: 'TEST2',\n label: 'TEST2'\n }\n ],\n label: 'Nav With Children'\n },\n {\n active: true,\n href: '#',\n label: 'Active Item'\n },\n {\n href: '#',\n label: 'Another Item'\n },\n {\n href: '#',\n label: 'One more Item'\n },\n {\n href: '#',\n label: 'Last Item'\n }\n ]}\n/>",
|
|
1288
1288
|
"args": {
|
|
1289
1289
|
"logo": {
|
|
1290
1290
|
"src": "/logo.svg",
|
|
@@ -1300,7 +1300,19 @@
|
|
|
1300
1300
|
"navItems": [
|
|
1301
1301
|
{
|
|
1302
1302
|
"href": "#",
|
|
1303
|
-
"label": "Nav
|
|
1303
|
+
"label": "Nav With Children",
|
|
1304
|
+
"items": [
|
|
1305
|
+
{
|
|
1306
|
+
"href": "#",
|
|
1307
|
+
"id": "TEST1",
|
|
1308
|
+
"label": "TEST1"
|
|
1309
|
+
},
|
|
1310
|
+
{
|
|
1311
|
+
"href": "#",
|
|
1312
|
+
"id": "TEST2",
|
|
1313
|
+
"label": "TEST2"
|
|
1314
|
+
}
|
|
1315
|
+
]
|
|
1304
1316
|
},
|
|
1305
1317
|
{
|
|
1306
1318
|
"href": "#",
|
|
@@ -1498,7 +1510,7 @@
|
|
|
1498
1510
|
"id": "layout-header--header",
|
|
1499
1511
|
"group": "Layout/Header",
|
|
1500
1512
|
"name": "Header",
|
|
1501
|
-
"code": "<Header\n logo={{\n alt: 'Systemics Logo',\n height: 40,\n homepageHref: '#',\n src: '/logo.svg',\n srcInverted: '/logo-inverted.svg',\n width: 176\n }}\n navItems={[\n {\n href: '#',\n label: 'Nav
|
|
1513
|
+
"code": "<Header\n logo={{\n alt: 'Systemics Logo',\n height: 40,\n homepageHref: '#',\n src: '/logo.svg',\n srcInverted: '/logo-inverted.svg',\n width: 176\n }}\n navItems={[\n {\n href: '#',\n items: [\n {\n href: '#',\n id: 'TEST1',\n label: 'TEST1'\n },\n {\n href: '#',\n id: 'TEST2',\n label: 'TEST2'\n }\n ],\n label: 'Nav With Children'\n },\n {\n active: true,\n href: '#',\n label: 'Active Item'\n },\n {\n href: '#',\n label: 'Another Item'\n },\n {\n href: '#',\n label: 'One more Item'\n },\n {\n href: '#',\n label: 'Last Item'\n }\n ]}\n/>",
|
|
1502
1514
|
"args": {
|
|
1503
1515
|
"logo": {
|
|
1504
1516
|
"src": "/logo.svg",
|
|
@@ -1509,12 +1521,25 @@
|
|
|
1509
1521
|
"height": 40
|
|
1510
1522
|
},
|
|
1511
1523
|
"flyoutInverted": false,
|
|
1524
|
+
"dropdownInverted": false,
|
|
1512
1525
|
"floating": false,
|
|
1513
1526
|
"inverted": false,
|
|
1514
1527
|
"navItems": [
|
|
1515
1528
|
{
|
|
1516
1529
|
"href": "#",
|
|
1517
|
-
"label": "Nav
|
|
1530
|
+
"label": "Nav With Children",
|
|
1531
|
+
"items": [
|
|
1532
|
+
{
|
|
1533
|
+
"href": "#",
|
|
1534
|
+
"id": "TEST1",
|
|
1535
|
+
"label": "TEST1"
|
|
1536
|
+
},
|
|
1537
|
+
{
|
|
1538
|
+
"href": "#",
|
|
1539
|
+
"id": "TEST2",
|
|
1540
|
+
"label": "TEST2"
|
|
1541
|
+
}
|
|
1542
|
+
]
|
|
1518
1543
|
},
|
|
1519
1544
|
{
|
|
1520
1545
|
"href": "#",
|
|
@@ -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": {
|
|
@@ -69,6 +70,12 @@
|
|
|
69
70
|
"description": "Toggle the inversion of the flyout navigation",
|
|
70
71
|
"default": false
|
|
71
72
|
},
|
|
73
|
+
"dropdownInverted": {
|
|
74
|
+
"type": "boolean",
|
|
75
|
+
"title": "Dropdown Inverted",
|
|
76
|
+
"description": "Toggle the inversion of the dropdown navigation",
|
|
77
|
+
"default": false
|
|
78
|
+
},
|
|
72
79
|
"floating": {
|
|
73
80
|
"type": "boolean",
|
|
74
81
|
"title": "Floating",
|
|
@@ -95,6 +102,28 @@
|
|
|
95
102
|
},
|
|
96
103
|
"active": {
|
|
97
104
|
"type": "boolean"
|
|
105
|
+
},
|
|
106
|
+
"items": {
|
|
107
|
+
"type": "array",
|
|
108
|
+
"items": {
|
|
109
|
+
"type": "object",
|
|
110
|
+
"properties": {
|
|
111
|
+
"href": {
|
|
112
|
+
"type": "string",
|
|
113
|
+
"format": "uri"
|
|
114
|
+
},
|
|
115
|
+
"id": {
|
|
116
|
+
"type": "string"
|
|
117
|
+
},
|
|
118
|
+
"label": {
|
|
119
|
+
"type": "string"
|
|
120
|
+
},
|
|
121
|
+
"active": {
|
|
122
|
+
"type": "boolean"
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
"additionalProperties": false
|
|
126
|
+
}
|
|
98
127
|
}
|
|
99
128
|
},
|
|
100
129
|
"additionalProperties": false,
|
|
@@ -106,8 +135,20 @@
|
|
|
106
135
|
"examples": [
|
|
107
136
|
[
|
|
108
137
|
{
|
|
109
|
-
"label": "Nav
|
|
110
|
-
"href": "#"
|
|
138
|
+
"label": "Nav With Children",
|
|
139
|
+
"href": "#",
|
|
140
|
+
"items": [
|
|
141
|
+
{
|
|
142
|
+
"label": "TEST1",
|
|
143
|
+
"href": "#",
|
|
144
|
+
"id": "TEST1"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"label": "TEST2",
|
|
148
|
+
"href": "#",
|
|
149
|
+
"id": "TEST2"
|
|
150
|
+
}
|
|
151
|
+
]
|
|
111
152
|
},
|
|
112
153
|
{
|
|
113
154
|
"label": "Active Item",
|
|
@@ -133,10 +174,7 @@
|
|
|
133
174
|
"const": "header"
|
|
134
175
|
}
|
|
135
176
|
},
|
|
136
|
-
"additionalProperties": false
|
|
137
|
-
"required": [
|
|
138
|
-
"logo"
|
|
139
|
-
]
|
|
177
|
+
"additionalProperties": false
|
|
140
178
|
},
|
|
141
179
|
"footer": {
|
|
142
180
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
@@ -217,6 +255,28 @@
|
|
|
217
255
|
},
|
|
218
256
|
"active": {
|
|
219
257
|
"type": "boolean"
|
|
258
|
+
},
|
|
259
|
+
"items": {
|
|
260
|
+
"type": "array",
|
|
261
|
+
"items": {
|
|
262
|
+
"type": "object",
|
|
263
|
+
"properties": {
|
|
264
|
+
"href": {
|
|
265
|
+
"type": "string",
|
|
266
|
+
"format": "uri"
|
|
267
|
+
},
|
|
268
|
+
"id": {
|
|
269
|
+
"type": "string"
|
|
270
|
+
},
|
|
271
|
+
"label": {
|
|
272
|
+
"type": "string"
|
|
273
|
+
},
|
|
274
|
+
"active": {
|
|
275
|
+
"type": "boolean"
|
|
276
|
+
}
|
|
277
|
+
},
|
|
278
|
+
"additionalProperties": false
|
|
279
|
+
}
|
|
220
280
|
}
|
|
221
281
|
},
|
|
222
282
|
"additionalProperties": false,
|
|
@@ -228,8 +288,20 @@
|
|
|
228
288
|
"examples": [
|
|
229
289
|
[
|
|
230
290
|
{
|
|
231
|
-
"label": "Nav
|
|
232
|
-
"href": "#"
|
|
291
|
+
"label": "Nav With Children",
|
|
292
|
+
"href": "#",
|
|
293
|
+
"items": [
|
|
294
|
+
{
|
|
295
|
+
"label": "TEST1",
|
|
296
|
+
"href": "#",
|
|
297
|
+
"id": "TEST1"
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
"label": "TEST2",
|
|
301
|
+
"href": "#",
|
|
302
|
+
"id": "TEST2"
|
|
303
|
+
}
|
|
304
|
+
]
|
|
233
305
|
},
|
|
234
306
|
{
|
|
235
307
|
"label": "Active Item",
|
package/dist/tokens/themes.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Wed, 21 Aug 2024 12:11:04 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
|
|
2730
|
+
* Generated on Wed, 21 Aug 2024 12:11:08 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
|
|
5461
|
+
* Generated on Wed, 21 Aug 2024 12:11:06 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
|
|
8462
|
+
* Generated on Wed, 21 Aug 2024 12:11:10 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