@kickstartds/ds-agency-premium 1.3.51--canary.674.14f816b.0 → 1.3.52--canary.716.097145d.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-22e0307b.d.ts → FooterProps-10c950a6.d.ts} +0 -6
- package/dist/{HeaderProps-dd2071a8.d.ts → HeaderProps-7be94a61.d.ts} +2 -16
- package/dist/components/blog-overview/index.d.ts +1 -1
- package/dist/components/blog-post/index.d.ts +1 -1
- package/dist/components/blog-post/index.js +1 -1
- package/dist/components/footer/footer.schema.dereffed.json +3 -37
- package/dist/components/footer/index.d.ts +1 -1
- package/dist/components/header/header.css +1 -3
- package/dist/components/header/header.schema.dereffed.json +7 -45
- package/dist/components/header/header.schema.json +3 -5
- package/dist/components/header/index.d.ts +1 -1
- package/dist/components/header/index.js +6 -10
- package/dist/components/index/index.d.ts +4 -4
- package/dist/components/nav-main/index.d.ts +7 -33
- package/dist/components/nav-main/index.js +14 -14
- package/dist/components/nav-main/nav-main.css +194 -0
- package/dist/components/nav-main/nav-main.schema.dereffed.json +3 -71
- package/dist/components/nav-main/nav-main.schema.json +4 -53
- package/dist/components/page-wrapper/tokens.css +1 -1
- package/dist/components/presets.json +6 -31
- package/dist/components/section/index.d.ts +1 -1
- package/dist/components/settings/settings.schema.dereffed.json +10 -82
- 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-dropdown/index.d.ts +0 -23
- package/dist/components/nav-dropdown/index.js +0 -10
- package/dist/components/nav-dropdown/nav-dropdown.css +0 -45
- package/dist/components/nav-flyout/index.d.ts +0 -8
- package/dist/components/nav-flyout/index.js +0 -17
- package/dist/components/nav-flyout/nav-flyout.css +0 -97
- package/dist/components/nav-toggle/index.d.ts +0 -3
- package/dist/components/nav-toggle/index.js +0 -6
- package/dist/components/nav-topbar/index.d.ts +0 -7
- package/dist/components/nav-topbar/index.js +0 -12
- package/dist/components/nav-topbar/nav-topbar.css +0 -82
- /package/dist/{BlogOverviewProps-525f7f9f.d.ts → BlogOverviewProps-93230a76.d.ts} +0 -0
- /package/dist/{BlogPostProps-f9a49428.d.ts → BlogPostProps-e1cbd5d3.d.ts} +0 -0
- /package/dist/components/{nav → nav-main}/js/NavToggle.client.d.ts +0 -0
- /package/dist/components/{nav → nav-main}/js/NavToggle.client.js +0 -0
- /package/dist/components/{nav → nav-main}/js/body.client.d.ts +0 -0
- /package/dist/components/{nav → nav-main}/js/body.client.js +0 -0
- /package/dist/components/{nav → nav-main}/js/navMainEvents.client.d.ts +0 -0
- /package/dist/components/{nav → nav-main}/js/navMainEvents.client.js +0 -0
- /package/dist/components/{nav-toggle → nav-main}/nav-toggle.css +0 -0
|
@@ -72,12 +72,6 @@
|
|
|
72
72
|
"description": "Toggle the inversion of the flyout navigation",
|
|
73
73
|
"default": false
|
|
74
74
|
},
|
|
75
|
-
"dropdownInverted": {
|
|
76
|
-
"type": "boolean",
|
|
77
|
-
"title": "Dropdown Inverted",
|
|
78
|
-
"description": "Toggle the inversion of the dropdown navigation",
|
|
79
|
-
"default": false
|
|
80
|
-
},
|
|
81
75
|
"items": {
|
|
82
76
|
"type": "array",
|
|
83
77
|
"items": {
|
|
@@ -92,28 +86,6 @@
|
|
|
92
86
|
},
|
|
93
87
|
"active": {
|
|
94
88
|
"type": "boolean"
|
|
95
|
-
},
|
|
96
|
-
"items": {
|
|
97
|
-
"type": "array",
|
|
98
|
-
"items": {
|
|
99
|
-
"type": "object",
|
|
100
|
-
"properties": {
|
|
101
|
-
"href": {
|
|
102
|
-
"type": "string",
|
|
103
|
-
"format": "uri"
|
|
104
|
-
},
|
|
105
|
-
"id": {
|
|
106
|
-
"type": "string"
|
|
107
|
-
},
|
|
108
|
-
"label": {
|
|
109
|
-
"type": "string"
|
|
110
|
-
},
|
|
111
|
-
"active": {
|
|
112
|
-
"type": "boolean"
|
|
113
|
-
}
|
|
114
|
-
},
|
|
115
|
-
"additionalProperties": false
|
|
116
|
-
}
|
|
117
89
|
}
|
|
118
90
|
},
|
|
119
91
|
"additionalProperties": false,
|
|
@@ -125,7 +97,7 @@
|
|
|
125
97
|
"examples": [
|
|
126
98
|
[
|
|
127
99
|
{
|
|
128
|
-
"label": "
|
|
100
|
+
"label": "Nav Item",
|
|
129
101
|
"href": "#"
|
|
130
102
|
},
|
|
131
103
|
{
|
|
@@ -134,20 +106,8 @@
|
|
|
134
106
|
"active": true
|
|
135
107
|
},
|
|
136
108
|
{
|
|
137
|
-
"label": "Item
|
|
138
|
-
"href": "#"
|
|
139
|
-
"items": [
|
|
140
|
-
{
|
|
141
|
-
"label": "Level 2 Item",
|
|
142
|
-
"href": "#",
|
|
143
|
-
"id": ""
|
|
144
|
-
},
|
|
145
|
-
{
|
|
146
|
-
"label": "Another One",
|
|
147
|
-
"href": "#",
|
|
148
|
-
"id": ""
|
|
149
|
-
}
|
|
150
|
-
]
|
|
109
|
+
"label": "Another Item",
|
|
110
|
+
"href": "#"
|
|
151
111
|
},
|
|
152
112
|
{
|
|
153
113
|
"label": "One more Item",
|
|
@@ -160,34 +120,6 @@
|
|
|
160
120
|
]
|
|
161
121
|
]
|
|
162
122
|
},
|
|
163
|
-
"cta": {
|
|
164
|
-
"type": "object",
|
|
165
|
-
"title": "CTA",
|
|
166
|
-
"description": "Add a CTA to the Navigation",
|
|
167
|
-
"properties": {
|
|
168
|
-
"toggle": {
|
|
169
|
-
"title": "Toggle CTA",
|
|
170
|
-
"description": "Toggle the CTA",
|
|
171
|
-
"type": "boolean",
|
|
172
|
-
"default": false
|
|
173
|
-
},
|
|
174
|
-
"label": {
|
|
175
|
-
"type": "string",
|
|
176
|
-
"title": "Label",
|
|
177
|
-
"description": "Text content to display inside the button",
|
|
178
|
-
"examples": [
|
|
179
|
-
"Book a meeting"
|
|
180
|
-
]
|
|
181
|
-
},
|
|
182
|
-
"target": {
|
|
183
|
-
"type": "string",
|
|
184
|
-
"title": "Target",
|
|
185
|
-
"description": "Target that should be linked, makes the button behave like a link semantically",
|
|
186
|
-
"format": "uri"
|
|
187
|
-
}
|
|
188
|
-
},
|
|
189
|
-
"additionalProperties": false
|
|
190
|
-
},
|
|
191
123
|
"type": {
|
|
192
124
|
"const": "nav-main"
|
|
193
125
|
}
|
|
@@ -13,12 +13,6 @@
|
|
|
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
|
-
},
|
|
22
16
|
"items": {
|
|
23
17
|
"type": "array",
|
|
24
18
|
"items": {
|
|
@@ -26,19 +20,7 @@
|
|
|
26
20
|
"properties": {
|
|
27
21
|
"href": { "type": "string", "format": "uri" },
|
|
28
22
|
"label": { "type": "string" },
|
|
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
|
-
}
|
|
23
|
+
"active": { "type": "boolean" }
|
|
42
24
|
},
|
|
43
25
|
"additionalProperties": false,
|
|
44
26
|
"required": ["href", "label"]
|
|
@@ -46,7 +28,7 @@
|
|
|
46
28
|
"examples": [
|
|
47
29
|
[
|
|
48
30
|
{
|
|
49
|
-
"label": "
|
|
31
|
+
"label": "Nav Item",
|
|
50
32
|
"href": "#"
|
|
51
33
|
},
|
|
52
34
|
{
|
|
@@ -55,20 +37,8 @@
|
|
|
55
37
|
"active": true
|
|
56
38
|
},
|
|
57
39
|
{
|
|
58
|
-
"label": "Item
|
|
59
|
-
"href": "#"
|
|
60
|
-
"items": [
|
|
61
|
-
{
|
|
62
|
-
"label": "Level 2 Item",
|
|
63
|
-
"href": "#",
|
|
64
|
-
"id": ""
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
"label": "Another One",
|
|
68
|
-
"href": "#",
|
|
69
|
-
"id": ""
|
|
70
|
-
}
|
|
71
|
-
]
|
|
40
|
+
"label": "Another Item",
|
|
41
|
+
"href": "#"
|
|
72
42
|
},
|
|
73
43
|
{
|
|
74
44
|
"label": "One more Item",
|
|
@@ -80,25 +50,6 @@
|
|
|
80
50
|
}
|
|
81
51
|
]
|
|
82
52
|
]
|
|
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
|
-
}
|
|
102
53
|
}
|
|
103
54
|
},
|
|
104
55
|
"additionalProperties": false,
|
|
@@ -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: '
|
|
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 Item'\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,7 @@
|
|
|
1300
1300
|
"navItems": [
|
|
1301
1301
|
{
|
|
1302
1302
|
"href": "#",
|
|
1303
|
-
"label": "
|
|
1303
|
+
"label": "Nav Item"
|
|
1304
1304
|
},
|
|
1305
1305
|
{
|
|
1306
1306
|
"href": "#",
|
|
@@ -1309,19 +1309,7 @@
|
|
|
1309
1309
|
},
|
|
1310
1310
|
{
|
|
1311
1311
|
"href": "#",
|
|
1312
|
-
"label": "Item
|
|
1313
|
-
"items": [
|
|
1314
|
-
{
|
|
1315
|
-
"href": "#",
|
|
1316
|
-
"id": "",
|
|
1317
|
-
"label": "Level 2 Item"
|
|
1318
|
-
},
|
|
1319
|
-
{
|
|
1320
|
-
"href": "#",
|
|
1321
|
-
"id": "",
|
|
1322
|
-
"label": "Another One"
|
|
1323
|
-
}
|
|
1324
|
-
]
|
|
1312
|
+
"label": "Another Item"
|
|
1325
1313
|
},
|
|
1326
1314
|
{
|
|
1327
1315
|
"href": "#",
|
|
@@ -1510,7 +1498,7 @@
|
|
|
1510
1498
|
"id": "layout-header--header",
|
|
1511
1499
|
"group": "Layout/Header",
|
|
1512
1500
|
"name": "Header",
|
|
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 label: '
|
|
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 Item'\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/>",
|
|
1514
1502
|
"args": {
|
|
1515
1503
|
"logo": {
|
|
1516
1504
|
"src": "/logo.svg",
|
|
@@ -1521,13 +1509,12 @@
|
|
|
1521
1509
|
"height": 40
|
|
1522
1510
|
},
|
|
1523
1511
|
"flyoutInverted": false,
|
|
1524
|
-
"dropdownInverted": false,
|
|
1525
1512
|
"floating": false,
|
|
1526
1513
|
"inverted": false,
|
|
1527
1514
|
"navItems": [
|
|
1528
1515
|
{
|
|
1529
1516
|
"href": "#",
|
|
1530
|
-
"label": "
|
|
1517
|
+
"label": "Nav Item"
|
|
1531
1518
|
},
|
|
1532
1519
|
{
|
|
1533
1520
|
"href": "#",
|
|
@@ -1536,19 +1523,7 @@
|
|
|
1536
1523
|
},
|
|
1537
1524
|
{
|
|
1538
1525
|
"href": "#",
|
|
1539
|
-
"label": "Item
|
|
1540
|
-
"items": [
|
|
1541
|
-
{
|
|
1542
|
-
"href": "#",
|
|
1543
|
-
"id": "",
|
|
1544
|
-
"label": "Level 2 Item"
|
|
1545
|
-
},
|
|
1546
|
-
{
|
|
1547
|
-
"href": "#",
|
|
1548
|
-
"id": "",
|
|
1549
|
-
"label": "Another One"
|
|
1550
|
-
}
|
|
1551
|
-
]
|
|
1526
|
+
"label": "Another Item"
|
|
1552
1527
|
},
|
|
1553
1528
|
{
|
|
1554
1529
|
"href": "#",
|
|
@@ -3,6 +3,6 @@ import { HTMLAttributes, FC, PropsWithChildren } from "react";
|
|
|
3
3
|
import { SectionProps } from "../../SectionProps-03ff6d21.js";
|
|
4
4
|
declare const SectionContextDefault: import("react").ForwardRefExoticComponent<SectionProps & Omit<HTMLAttributes<HTMLElement>, "style" | "content"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
5
|
declare const SectionContext: import("react").Context<import("react").ForwardRefExoticComponent<SectionProps & Omit<HTMLAttributes<HTMLElement>, "style" | "content"> & import("react").RefAttributes<HTMLDivElement>>>;
|
|
6
|
-
declare const Section: import("react").ForwardRefExoticComponent<SectionProps & HTMLAttributes<
|
|
6
|
+
declare const Section: import("react").ForwardRefExoticComponent<SectionProps & Omit<HTMLAttributes<HTMLElement>, "style" | "content"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
7
7
|
declare const SectionProvider: FC<PropsWithChildren<any>>;
|
|
8
8
|
export { SectionContextDefault, SectionContext, Section, SectionProvider };
|
|
@@ -14,7 +14,6 @@
|
|
|
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",
|
|
18
17
|
"type": "object",
|
|
19
18
|
"properties": {
|
|
20
19
|
"logo": {
|
|
@@ -70,12 +69,6 @@
|
|
|
70
69
|
"description": "Toggle the inversion of the flyout navigation",
|
|
71
70
|
"default": false
|
|
72
71
|
},
|
|
73
|
-
"dropdownInverted": {
|
|
74
|
-
"type": "boolean",
|
|
75
|
-
"title": "Dropdown Inverted",
|
|
76
|
-
"description": "Toggle the inversion of the dropdown navigation",
|
|
77
|
-
"default": false
|
|
78
|
-
},
|
|
79
72
|
"floating": {
|
|
80
73
|
"type": "boolean",
|
|
81
74
|
"title": "Floating",
|
|
@@ -102,28 +95,6 @@
|
|
|
102
95
|
},
|
|
103
96
|
"active": {
|
|
104
97
|
"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
|
-
}
|
|
127
98
|
}
|
|
128
99
|
},
|
|
129
100
|
"additionalProperties": false,
|
|
@@ -135,7 +106,7 @@
|
|
|
135
106
|
"examples": [
|
|
136
107
|
[
|
|
137
108
|
{
|
|
138
|
-
"label": "
|
|
109
|
+
"label": "Nav Item",
|
|
139
110
|
"href": "#"
|
|
140
111
|
},
|
|
141
112
|
{
|
|
@@ -144,20 +115,8 @@
|
|
|
144
115
|
"active": true
|
|
145
116
|
},
|
|
146
117
|
{
|
|
147
|
-
"label": "Item
|
|
148
|
-
"href": "#"
|
|
149
|
-
"items": [
|
|
150
|
-
{
|
|
151
|
-
"label": "Level 2 Item",
|
|
152
|
-
"href": "#",
|
|
153
|
-
"id": ""
|
|
154
|
-
},
|
|
155
|
-
{
|
|
156
|
-
"label": "Another One",
|
|
157
|
-
"href": "#",
|
|
158
|
-
"id": ""
|
|
159
|
-
}
|
|
160
|
-
]
|
|
118
|
+
"label": "Another Item",
|
|
119
|
+
"href": "#"
|
|
161
120
|
},
|
|
162
121
|
{
|
|
163
122
|
"label": "One more Item",
|
|
@@ -174,7 +133,10 @@
|
|
|
174
133
|
"const": "header"
|
|
175
134
|
}
|
|
176
135
|
},
|
|
177
|
-
"additionalProperties": false
|
|
136
|
+
"additionalProperties": false,
|
|
137
|
+
"required": [
|
|
138
|
+
"logo"
|
|
139
|
+
]
|
|
178
140
|
},
|
|
179
141
|
"footer": {
|
|
180
142
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
@@ -255,28 +217,6 @@
|
|
|
255
217
|
},
|
|
256
218
|
"active": {
|
|
257
219
|
"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
|
-
}
|
|
280
220
|
}
|
|
281
221
|
},
|
|
282
222
|
"additionalProperties": false,
|
|
@@ -288,7 +228,7 @@
|
|
|
288
228
|
"examples": [
|
|
289
229
|
[
|
|
290
230
|
{
|
|
291
|
-
"label": "
|
|
231
|
+
"label": "Nav Item",
|
|
292
232
|
"href": "#"
|
|
293
233
|
},
|
|
294
234
|
{
|
|
@@ -297,20 +237,8 @@
|
|
|
297
237
|
"active": true
|
|
298
238
|
},
|
|
299
239
|
{
|
|
300
|
-
"label": "Item
|
|
301
|
-
"href": "#"
|
|
302
|
-
"items": [
|
|
303
|
-
{
|
|
304
|
-
"label": "Level 2 Item",
|
|
305
|
-
"href": "#",
|
|
306
|
-
"id": ""
|
|
307
|
-
},
|
|
308
|
-
{
|
|
309
|
-
"label": "Another One",
|
|
310
|
-
"href": "#",
|
|
311
|
-
"id": ""
|
|
312
|
-
}
|
|
313
|
-
]
|
|
240
|
+
"label": "Another Item",
|
|
241
|
+
"href": "#"
|
|
314
242
|
},
|
|
315
243
|
{
|
|
316
244
|
"label": "One more 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 Fri, 23 Aug 2024 12:03:56 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 Fri, 23 Aug 2024 12:04:00 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 Fri, 23 Aug 2024 12:03:58 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 Fri, 23 Aug 2024 12:04:01 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,23 +0,0 @@
|
|
|
1
|
-
import { FC } from "react";
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* This file was automatically generated by json-schema-to-typescript.
|
|
5
|
-
* DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
|
|
6
|
-
* and run json-schema-to-typescript to regenerate this file.
|
|
7
|
-
*/
|
|
8
|
-
/**
|
|
9
|
-
* Toggle the inversion of the dropdown navigation
|
|
10
|
-
*/
|
|
11
|
-
type DropdownInverted = boolean;
|
|
12
|
-
interface NavDropdownProps {
|
|
13
|
-
inverted?: DropdownInverted;
|
|
14
|
-
items?: {
|
|
15
|
-
href?: string;
|
|
16
|
-
id?: string;
|
|
17
|
-
label?: string;
|
|
18
|
-
active?: boolean;
|
|
19
|
-
}[];
|
|
20
|
-
className?: string;
|
|
21
|
-
}
|
|
22
|
-
declare const NavDropdown: FC<NavDropdownProps>;
|
|
23
|
-
export { NavDropdown };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import "./nav-dropdown.css";
|
|
2
|
-
import { jsx } from 'react/jsx-runtime';
|
|
3
|
-
import classnames from 'classnames';
|
|
4
|
-
import { Link } from '@kickstartds/base/lib/link';
|
|
5
|
-
|
|
6
|
-
const NavDropdown = ({ items, inverted }) => (jsx("ul", { className: classnames(`dsa-nav-dropdown`), "ks-inverted": inverted?.toString(), children: items.map(({ label, href, id }) => {
|
|
7
|
-
return (jsx("li", { className: classnames("dsa-nav-dropdown__item"), children: jsx(Link, { href: href, className: `dsa-nav-dropdown__link `, children: label }) }, id));
|
|
8
|
-
}) }));
|
|
9
|
-
|
|
10
|
-
export { NavDropdown };
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
.dsa-nav-dropdown {
|
|
2
|
-
--dsa-nav-dropdown--padding: var(--ks-spacing-inset-stretch-xs);
|
|
3
|
-
--dsa-nav-dropdown--background: var(--ks-background-color-default);
|
|
4
|
-
--dsa-nav-dropdown--border-radius: var(--ks-border-radius-card);
|
|
5
|
-
--dsa-nav-dropdown--box-shadow: var(--ks-box-shadow-card);
|
|
6
|
-
--dsa-nav-dropdown--border: 1px solid var(--ks-border-color-card);
|
|
7
|
-
--dsa-nav-dropdown__link--color: var(--ks-color-fg);
|
|
8
|
-
--dsa-nav-dropdown__link--color_hover: var(--ks-text-color-interface-interactive-hover);
|
|
9
|
-
--dsa-nav-dropdown__link--color_active: var(--ks-text-color-interface-interactive-active);
|
|
10
|
-
--dsa-nav-dropdown__link--font: var(--ks-font-interface-m);
|
|
11
|
-
--dsa-nav-dropdown__link--font-weight: var(--ks-font-weight-semi-bold);
|
|
12
|
-
--dsa-nav-dropdown__link--font-weight_active: var(--ks-font-weight-semi-bold);
|
|
13
|
-
--dsa-nav-dropdown__link--padding: 0.35em 0.25em;
|
|
14
|
-
--dsa-nav-dropdown__link_dimmed--opacity: 0.6;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.dsa-nav-dropdown {
|
|
18
|
-
display: none;
|
|
19
|
-
padding: var(--dsa-nav-dropdown--padding);
|
|
20
|
-
position: absolute;
|
|
21
|
-
flex-direction: column;
|
|
22
|
-
align-items: flex-start;
|
|
23
|
-
background-color: var(--dsa-nav-dropdown--background);
|
|
24
|
-
border-radius: var(--dsa-nav-dropdown--border-radius);
|
|
25
|
-
box-shadow: var(--dsa-nav-dropdown--box-shadow);
|
|
26
|
-
border: var(--dsa-nav-dropdown--border);
|
|
27
|
-
}
|
|
28
|
-
.dsa-nav-dropdown:hover .dsa-nav-dropdown__link:not(:hover) {
|
|
29
|
-
opacity: var(--dsa-nav-dropdown__link_dimmed--opacity);
|
|
30
|
-
}
|
|
31
|
-
.dsa-nav-dropdown .dsa-nav-dropdown__link {
|
|
32
|
-
font: var(--dsa-nav-dropdown__link--font);
|
|
33
|
-
font-weight: var(--dsa-nav-dropdown__link--font-weight);
|
|
34
|
-
color: var(--dsa-nav-dropdown__link--color);
|
|
35
|
-
position: relative;
|
|
36
|
-
display: block;
|
|
37
|
-
padding: var(--dsa-nav-dropdown__link--padding);
|
|
38
|
-
text-align: left;
|
|
39
|
-
}
|
|
40
|
-
.dsa-nav-dropdown .dsa-nav-dropdown__link:hover {
|
|
41
|
-
color: var(--dsa-nav-dropdown__link--color_hover);
|
|
42
|
-
}
|
|
43
|
-
.dsa-nav-dropdown .dsa-nav-dropdown__link:active {
|
|
44
|
-
color: var(--dsa-nav-dropdown__link--color_active);
|
|
45
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import "./nav-flyout.css";
|
|
2
|
-
import { jsxs, jsx } 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 { Logo } from '../logo/index.js';
|
|
7
|
-
import '@kickstartds/base/lib/picture';
|
|
8
|
-
|
|
9
|
-
const NavFlyout = ({ items, inverted, logo, active }) => items && items.length > 0 ? (jsxs("nav", { className: "dsa-nav-flyout", "ks-inverted": inverted.toString(), id: "dsa-nav-flyout", "aria-label": "Hauptnavigation", children: [jsx(Logo, { ...logo, className: "dsa-nav-flyout__logo" }), jsx("ul", { className: "dsa-nav-flyout-list", children: items.map(({ label, href, id, items: subItems }) => {
|
|
10
|
-
const isActive = active === href ||
|
|
11
|
-
subItems?.some((navItem) => active === navItem.href);
|
|
12
|
-
return (jsxs("li", { className: classnames("dsa-nav-flyout__item", isActive && "dsa-nav-flyout__item--active"), children: [jsxs(Link, { href: href, className: `dsa-nav-flyout__link`, children: [label, subItems?.length ? (jsx(Icon, { className: "dsa-nav-flyout__link__icon", icon: "chevron-down" })) : ("")] }), subItems?.length ? (jsx("ul", { className: "dsa-nav-flyout__sublist", children: subItems.map(({ label, href, id }) => {
|
|
13
|
-
return (jsx("li", { className: classnames("dsa-nav-flyout__item"), children: jsx(Link, { href: href, className: `dsa-nav-flyout__link `, children: label }) }, id));
|
|
14
|
-
}) })) : null] }, id));
|
|
15
|
-
}) })] })) : null;
|
|
16
|
-
|
|
17
|
-
export { NavFlyout };
|