@kickstartds/ds-agency-premium 1.3.11 → 1.3.13

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.
@@ -35,7 +35,7 @@ interface FooterProps {
35
35
  navItems?: {
36
36
  href: string;
37
37
  label: string;
38
- target?: string;
38
+ active?: boolean;
39
39
  }[];
40
40
  }
41
41
  interface Logo {
@@ -53,10 +53,10 @@ type BackgroundImage = string;
53
53
  */
54
54
  type TextColor = string;
55
55
  interface TileProps {
56
- headline?: Headline;
56
+ headline: Headline;
57
57
  sub?: ModuleSubheadline;
58
58
  text?: ModuleText;
59
- image?: {
59
+ image: {
60
60
  src?: Source;
61
61
  alt?: AltText;
62
62
  };
@@ -72,8 +72,8 @@
72
72
  "label": {
73
73
  "type": "string"
74
74
  },
75
- "target": {
76
- "type": "string"
75
+ "active": {
76
+ "type": "boolean"
77
77
  }
78
78
  },
79
79
  "additionalProperties": false,
@@ -85,17 +85,25 @@
85
85
  "examples": [
86
86
  [
87
87
  {
88
- "href": "#privacy-policy",
89
- "label": "Privacy policy"
88
+ "label": "Nav Item",
89
+ "href": "#"
90
+ },
91
+ {
92
+ "label": "Active Item",
93
+ "href": "#",
94
+ "active": true
95
+ },
96
+ {
97
+ "label": "Another Item",
98
+ "href": "#"
90
99
  },
91
100
  {
92
- "href": "#changelog",
93
- "label": "Changelog"
101
+ "label": "One more Item",
102
+ "href": "#"
94
103
  },
95
104
  {
96
- "href": "https://main--64f08cbba622af835d382b4f.chromatic.com/",
97
- "label": "Storybook",
98
- "target": "_blank"
105
+ "label": "Last Item",
106
+ "href": "#"
99
107
  }
100
108
  ]
101
109
  ]
@@ -55,34 +55,7 @@
55
55
  "default": false
56
56
  },
57
57
  "navItems": {
58
- "type": "array",
59
- "items": {
60
- "type": "object",
61
- "properties": {
62
- "href": { "type": "string", "format": "uri" },
63
- "label": { "type": "string" },
64
- "target": { "type": "string" }
65
- },
66
- "additionalProperties": false,
67
- "required": ["href", "label"]
68
- },
69
- "examples": [
70
- [
71
- {
72
- "href": "#privacy-policy",
73
- "label": "Privacy policy"
74
- },
75
- {
76
- "href": "#changelog",
77
- "label": "Changelog"
78
- },
79
- {
80
- "href": "https://main--64f08cbba622af835d382b4f.chromatic.com/",
81
- "label": "Storybook",
82
- "target": "_blank"
83
- }
84
- ]
85
- ]
58
+ "$ref": "http://schema.mydesignsystem.com/nav-main.schema.json#/properties/items"
86
59
  }
87
60
  },
88
61
  "required": ["logo"],
@@ -1,4 +1,4 @@
1
1
  import { FC } from "react";
2
- import { FooterProps } from "../../FooterProps-d28ccfb6.js";
2
+ import { FooterProps } from "../../FooterProps-9f94ed98.js";
3
3
  declare const Footer: FC<FooterProps>;
4
4
  export { Footer };
@@ -5,7 +5,7 @@ import classnames from 'classnames';
5
5
  import { Picture } from '@kickstartds/base/lib/picture';
6
6
  import { Link } from '@kickstartds/base/lib/link';
7
7
 
8
- const Footer = ({ logo, logoHref = "/", byline, inverted = false, navItems = [], }) => (jsx("div", { className: classnames("c-footer"), "ks-inverted": inverted.toString(), children: jsxs("div", { className: "c-footer__content", children: [jsx(Link, { className: "c-footer__logo", href: logoHref, children: jsx(Picture, { ...logo, lazy: true }) }), byline && jsx("span", { className: "c-footer__byline", children: byline }), navItems.length > 0 ? (jsx("div", { className: "c-footer__links", children: navItems.map(({ label, ...linkProps }) => (createElement(Link, { ...linkProps, className: "c-footer__link", key: linkProps.href + label }, label))) })) : null] }) }));
8
+ const Footer = ({ logo, logoHref = "/", byline, inverted = false, navItems = [], }) => (jsx("div", { className: classnames("c-footer"), "ks-inverted": inverted.toString(), children: jsxs("div", { className: "c-footer__content", children: [jsx(Link, { className: "c-footer__logo", href: logoHref, children: jsx(Picture, { ...logo, lazy: true }) }), byline && jsx("span", { className: "c-footer__byline", children: byline }), navItems.length > 0 ? (jsx("div", { className: "c-footer__links", children: navItems.map(({ label, active, ...linkProps }) => (createElement(Link, { ...linkProps, className: "c-footer__link", key: linkProps.href + label }, label))) })) : null] }) }));
9
9
  Footer.displayName = "Footer";
10
10
 
11
11
  export { Footer };
@@ -13,7 +13,7 @@ import { SeoProps } from "../../SeoProps-f2d6dcaa.js";
13
13
  * and run json-schema-to-typescript to regenerate this file.
14
14
  */
15
15
  import { HeaderProps } from "../../HeaderProps-34d278ee.js";
16
- import { FooterProps } from "../../FooterProps-d28ccfb6.js";
16
+ import { FooterProps } from "../../FooterProps-9f94ed98.js";
17
17
  /**
18
18
  * Collection of sections (with their contents) to render on the page
19
19
  */
@@ -20,8 +20,8 @@ const MosaicContextDefault = forwardRef(({ layout, largeHeadlines, tile, ...rest
20
20
  },
21
21
  }),
22
22
  }, image: {
23
- source: tile?.image.src,
24
- alt: tile?.image.alt,
23
+ source: tile?.image?.src,
24
+ alt: tile?.image?.alt,
25
25
  order: {
26
26
  desktopImageLast: layout === "textLeft"
27
27
  ? true
@@ -122,7 +122,11 @@
122
122
  "const": "tile"
123
123
  }
124
124
  },
125
- "additionalProperties": false
125
+ "additionalProperties": false,
126
+ "required": [
127
+ "headline",
128
+ "image"
129
+ ]
126
130
  },
127
131
  "minItems": 1,
128
132
  "maxItems": 20
@@ -1356,7 +1356,11 @@
1356
1356
  "const": "tile"
1357
1357
  }
1358
1358
  },
1359
- "additionalProperties": false
1359
+ "additionalProperties": false,
1360
+ "required": [
1361
+ "headline",
1362
+ "image"
1363
+ ]
1360
1364
  },
1361
1365
  "minItems": 1,
1362
1366
  "maxItems": 20
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 15 May 2024 10:07:47 GMT
3
+ * Generated on Wed, 15 May 2024 10:32:41 GMT
4
4
  */
5
5
  :root, [ks-theme] {
6
6
  --ks-background-color-accent-base: var(--ks-color-primary-to-bg-8-base);
@@ -1156,7 +1156,7 @@
1156
1156
  "id": "layout-footer--footer",
1157
1157
  "group": "Layout/Footer",
1158
1158
  "name": "Footer",
1159
- "code": "<Footer\n byline=\"© 2024 systemics Inc. All rights reserved.\"\n logo={{\n alt: 'Systemics Logo',\n height: 40,\n lazy: false,\n src: '/logo.svg',\n width: 176\n }}\n logoHref=\"/\"\n navItems={[\n {\n href: '#privacy-policy',\n label: 'Privacy policy'\n },\n {\n href: '#changelog',\n label: 'Changelog'\n },\n {\n href: 'https://main--64f08cbba622af835d382b4f.chromatic.com/',\n label: 'Storybook',\n target: '_blank'\n }\n ]}\n/>",
1159
+ "code": "<Footer\n byline=\"© 2024 systemics Inc. All rights reserved.\"\n logo={{\n alt: 'Systemics Logo',\n height: 40,\n lazy: false,\n src: '/logo.svg',\n width: 176\n }}\n logoHref=\"/\"\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/>",
1160
1160
  "args": {
1161
1161
  "logo": {
1162
1162
  "src": "/logo.svg",
@@ -1170,17 +1170,25 @@
1170
1170
  "inverted": false,
1171
1171
  "navItems": [
1172
1172
  {
1173
- "href": "#privacy-policy",
1174
- "label": "Privacy policy"
1173
+ "href": "#",
1174
+ "label": "Nav Item"
1175
1175
  },
1176
1176
  {
1177
- "href": "#changelog",
1178
- "label": "Changelog"
1177
+ "href": "#",
1178
+ "label": "Active Item",
1179
+ "active": true
1179
1180
  },
1180
1181
  {
1181
- "href": "https://main--64f08cbba622af835d382b4f.chromatic.com/",
1182
- "label": "Storybook",
1183
- "target": "_blank"
1182
+ "href": "#",
1183
+ "label": "Another Item"
1184
+ },
1185
+ {
1186
+ "href": "#",
1187
+ "label": "One more Item"
1188
+ },
1189
+ {
1190
+ "href": "#",
1191
+ "label": "Last Item"
1184
1192
  }
1185
1193
  ]
1186
1194
  },
@@ -1342,7 +1342,11 @@
1342
1342
  "const": "tile"
1343
1343
  }
1344
1344
  },
1345
- "additionalProperties": false
1345
+ "additionalProperties": false,
1346
+ "required": [
1347
+ "headline",
1348
+ "image"
1349
+ ]
1346
1350
  },
1347
1351
  "minItems": 1,
1348
1352
  "maxItems": 20
@@ -203,8 +203,8 @@
203
203
  "label": {
204
204
  "type": "string"
205
205
  },
206
- "target": {
207
- "type": "string"
206
+ "active": {
207
+ "type": "boolean"
208
208
  }
209
209
  },
210
210
  "additionalProperties": false,
@@ -216,17 +216,25 @@
216
216
  "examples": [
217
217
  [
218
218
  {
219
- "href": "#privacy-policy",
220
- "label": "Privacy policy"
219
+ "label": "Nav Item",
220
+ "href": "#"
221
+ },
222
+ {
223
+ "label": "Active Item",
224
+ "href": "#",
225
+ "active": true
226
+ },
227
+ {
228
+ "label": "Another Item",
229
+ "href": "#"
221
230
  },
222
231
  {
223
- "href": "#changelog",
224
- "label": "Changelog"
232
+ "label": "One more Item",
233
+ "href": "#"
225
234
  },
226
235
  {
227
- "href": "https://main--64f08cbba622af835d382b4f.chromatic.com/",
228
- "label": "Storybook",
229
- "target": "_blank"
236
+ "label": "Last Item",
237
+ "href": "#"
230
238
  }
231
239
  ]
232
240
  ]
@@ -95,5 +95,9 @@
95
95
  "const": "tile"
96
96
  }
97
97
  },
98
- "additionalProperties": false
98
+ "additionalProperties": false,
99
+ "required": [
100
+ "headline",
101
+ "image"
102
+ ]
99
103
  }
@@ -64,5 +64,6 @@
64
64
  "$ref": "http://schema.kickstartds.com/content/storytelling.schema.json#/properties/box/properties/textColor"
65
65
  }
66
66
  },
67
- "additionalProperties": false
67
+ "additionalProperties": false,
68
+ "required": ["headline", "image"]
68
69
  }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 15 May 2024 10:07:50 GMT
3
+ * Generated on Wed, 15 May 2024 10:32:43 GMT
4
4
  */
5
5
  :root [ks-theme=business] {
6
6
  --ks-background-color-accent-base: var(--ks-color-primary-to-bg-8-base);
@@ -2727,7 +2727,7 @@
2727
2727
  }
2728
2728
  /**
2729
2729
  * Do not edit directly
2730
- * Generated on Wed, 15 May 2024 10:07:55 GMT
2730
+ * Generated on Wed, 15 May 2024 10:32:47 GMT
2731
2731
  */
2732
2732
  :root [ks-theme=google] {
2733
2733
  --ks-background-color-accent-base: var(--ks-color-primary-to-bg-8-base);
@@ -5458,7 +5458,7 @@
5458
5458
  }
5459
5459
  /**
5460
5460
  * Do not edit directly
5461
- * Generated on Wed, 15 May 2024 10:07:53 GMT
5461
+ * Generated on Wed, 15 May 2024 10:32:45 GMT
5462
5462
  */
5463
5463
  :root [ks-theme=ngo] {
5464
5464
  --ks-background-color-accent-base: var(--ks-color-primary-to-bg-8-base);
@@ -8459,7 +8459,7 @@
8459
8459
  }
8460
8460
  /**
8461
8461
  * Do not edit directly
8462
- * Generated on Wed, 15 May 2024 10:07:57 GMT
8462
+ * Generated on Wed, 15 May 2024 10:32:49 GMT
8463
8463
  */
8464
8464
  :root [ks-theme=telekom] {
8465
8465
  --ks-background-color-accent-base: var(--ks-color-primary-to-bg-8-base);
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 15 May 2024 10:07:47 GMT
3
+ * Generated on Wed, 15 May 2024 10:32:41 GMT
4
4
  */
5
5
 
6
6
  :root, [ks-theme] {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 15 May 2024 10:07:48 GMT
3
+ * Generated on Wed, 15 May 2024 10:32:41 GMT
4
4
  */
5
5
 
6
6
  export const KsBackgroundColorAccentBase = "#230a2b";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kickstartds/ds-agency-premium",
3
- "version": "1.3.11",
3
+ "version": "1.3.13",
4
4
  "description": "",
5
5
  "homepage": "https://github.com/kickstartDS/ds-agency-premium#readme",
6
6
  "bugs": {