@kickstartds/ds-agency-premium 1.6.68--canary.45.1711.0 → 1.6.68--canary.45.1716.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.
Files changed (127) hide show
  1. package/dist/{BlogAsideProps-d9decb7c.d.ts → BlogAsideProps-c760fd2a.d.ts} +5 -5
  2. package/dist/{BlogAuthorProps-9320ef58.d.ts → BlogAuthorProps-fb0241df.d.ts} +1 -1
  3. package/dist/BlogOverviewProps-9f207f1c.d.ts +2 -2
  4. package/dist/{BlogPostProps-c04a5ed8.d.ts → BlogPostProps-6b3cff22.d.ts} +2 -2
  5. package/dist/{ButtonProps-03ff6d21.d.ts → ButtonProps-00ddee3a.d.ts} +4 -4
  6. package/dist/{CtaProps-8a0dba0d.d.ts → CtaProps-babe4ee6.d.ts} +4 -4
  7. package/dist/{EventListAppointmentProps-da54c3b9.d.ts → EventAppointmentProps-443cd1ce.d.ts} +4 -4
  8. package/dist/{EventDetailProps-19b81db8.d.ts → EventDetailProps-42a7eebe.d.ts} +5 -5
  9. package/dist/{EventTeaserProps-e00ea659.d.ts → EventLatestTeaserProps-fc9d3281.d.ts} +2 -2
  10. package/dist/{EventListLocationProps-d4345e0e.d.ts → EventLocationProps-dd4aeaa9.d.ts} +5 -5
  11. package/dist/{FeaturesProps-7ef528ec.d.ts → FeaturesProps-a9041d97.d.ts} +4 -4
  12. package/dist/{FooterProps-171a3067.d.ts → FooterProps-a0a104ca.d.ts} +2 -2
  13. package/dist/{HeaderProps-e22382f1.d.ts → HeaderProps-72763967.d.ts} +2 -2
  14. package/dist/{HeroProps-aa4e6431.d.ts → HeroProps-40f6c7f5.d.ts} +4 -4
  15. package/dist/ImageStoryProps-e853e1e7.d.ts +1 -1
  16. package/dist/MosaicProps-d52c7151.d.ts +4 -4
  17. package/dist/SectionProps-7caa223c.d.ts +7 -7
  18. package/dist/{SliderProps-8a0dba0d.d.ts → SliderProps-babe4ee6.d.ts} +4 -4
  19. package/dist/{TeaserCardProps-b9c28e78.d.ts → TeaserCardProps-994cb119.d.ts} +4 -4
  20. package/dist/{VideoCurtainProps-88f08b62.d.ts → VideoCurtainProps-a2c0cc7f.d.ts} +4 -4
  21. package/dist/components/blog-aside/blog-aside.schema.dereffed.json +7 -7
  22. package/dist/components/blog-aside/blog-aside.schema.json +4 -4
  23. package/dist/components/blog-aside/index.d.ts +1 -1
  24. package/dist/components/blog-aside/index.js +1 -1
  25. package/dist/components/blog-author/blog-author.schema.dereffed.json +3 -3
  26. package/dist/components/blog-author/index.d.ts +1 -1
  27. package/dist/components/blog-overview/blog-overview.schema.dereffed.json +41 -41
  28. package/dist/components/blog-post/blog-post.schema.dereffed.json +48 -48
  29. package/dist/components/blog-post/index.d.ts +1 -1
  30. package/dist/components/blog-teaser/index.d.ts +1 -1
  31. package/dist/components/blog-teaser/index.js +5 -7
  32. package/dist/components/button/button.schema.dereffed.json +3 -3
  33. package/dist/components/button/button.schema.json +3 -3
  34. package/dist/components/button/index.d.ts +1 -1
  35. package/dist/components/button/index.js +1 -1
  36. package/dist/components/button-group/button-group.schema.dereffed.json +3 -3
  37. package/dist/components/button-group/index.d.ts +1 -1
  38. package/dist/components/contact/contact.schema.dereffed.json +3 -3
  39. package/dist/components/contact/contact.schema.json +3 -3
  40. package/dist/components/contact/index.d.ts +1 -1
  41. package/dist/components/contact/index.js +1 -1
  42. package/dist/components/cta/cta.schema.dereffed.json +3 -3
  43. package/dist/components/cta/cta.schema.json +2 -2
  44. package/dist/components/cta/index.d.ts +1 -1
  45. package/dist/components/{event-list-appointment/event-list-appointment.css → event-appointment/event-appointment.css} +9 -9
  46. package/dist/components/{event-list-appointment/event-list-appointment.schema.dereffed.json → event-appointment/event-appointment.schema.dereffed.json} +5 -5
  47. package/dist/components/{event-list-appointment/event-list-appointment.schema.json → event-appointment/event-appointment.schema.json} +4 -4
  48. package/dist/components/event-appointment/index.d.ts +7 -0
  49. package/dist/components/event-appointment/index.js +14 -0
  50. package/dist/components/event-detail/event-detail.schema.dereffed.json +12 -12
  51. package/dist/components/event-detail/event-detail.schema.json +3 -3
  52. package/dist/components/event-detail/index.d.ts +1 -1
  53. package/dist/components/event-detail/index.js +4 -4
  54. package/dist/components/event-latest/event-latest.schema.dereffed.json +3 -3
  55. package/dist/components/event-latest/event-latest.schema.json +1 -1
  56. package/dist/components/event-latest/index.d.ts +3 -3
  57. package/dist/components/{event-teaser/event-teaser.css → event-latest-teaser/event-latest-teaser.css} +13 -13
  58. package/dist/components/{event-teaser/event-teaser.schema.dereffed.json → event-latest-teaser/event-latest-teaser.schema.dereffed.json} +3 -3
  59. package/dist/components/{event-teaser/event-teaser.schema.json → event-latest-teaser/event-latest-teaser.schema.json} +2 -2
  60. package/dist/components/event-latest-teaser/index.d.ts +8 -0
  61. package/dist/components/event-latest-teaser/index.js +17 -0
  62. package/dist/components/{event-list-location/event-list-location.css → event-location/event-location.css} +15 -15
  63. package/dist/components/{event-list-location/event-list-location.schema.dereffed.json → event-location/event-location.schema.dereffed.json} +10 -10
  64. package/dist/components/{event-list-location/event-list-location.schema.json → event-location/event-location.schema.json} +5 -5
  65. package/dist/components/event-location/index.d.ts +7 -0
  66. package/dist/components/event-location/index.js +16 -0
  67. package/dist/components/feature/feature.schema.dereffed.json +3 -3
  68. package/dist/components/feature/feature.schema.json +3 -3
  69. package/dist/components/feature/index.d.ts +3 -3
  70. package/dist/components/feature/index.js +1 -1
  71. package/dist/components/features/features.schema.dereffed.json +3 -3
  72. package/dist/components/features/features.schema.json +2 -2
  73. package/dist/components/features/index.d.ts +1 -1
  74. package/dist/components/features/index.js +1 -1
  75. package/dist/components/footer/footer.schema.dereffed.json +12 -12
  76. package/dist/components/footer/index.d.ts +1 -1
  77. package/dist/components/footer/index.js +1 -1
  78. package/dist/components/header/header.schema.dereffed.json +12 -12
  79. package/dist/components/header/index.d.ts +1 -1
  80. package/dist/components/hero/hero.schema.dereffed.json +3 -3
  81. package/dist/components/hero/hero.schema.json +2 -2
  82. package/dist/components/hero/index.d.ts +1 -1
  83. package/dist/components/image-story/image-story.schema.dereffed.json +3 -3
  84. package/dist/components/index/index.d.ts +4 -4
  85. package/dist/components/logos/index.js +1 -1
  86. package/dist/components/mosaic/index.js +1 -1
  87. package/dist/components/mosaic/mosaic.schema.dereffed.json +3 -3
  88. package/dist/components/nav-dropdown/index.d.ts +1 -1
  89. package/dist/components/nav-dropdown/index.js +2 -2
  90. package/dist/components/nav-dropdown/nav-dropdown.schema.dereffed.json +1 -1
  91. package/dist/components/nav-flyout/index.d.ts +2 -2
  92. package/dist/components/nav-flyout/index.js +4 -4
  93. package/dist/components/nav-flyout/nav-flyout.schema.dereffed.json +12 -12
  94. package/dist/components/nav-main/index.d.ts +5 -5
  95. package/dist/components/nav-main/nav-main.schema.dereffed.json +15 -15
  96. package/dist/components/nav-main/nav-main.schema.json +14 -14
  97. package/dist/components/nav-topbar/index.d.ts +2 -2
  98. package/dist/components/nav-topbar/index.js +2 -2
  99. package/dist/components/nav-topbar/nav-topbar.schema.dereffed.json +12 -12
  100. package/dist/components/page/page.schema.dereffed.json +38 -38
  101. package/dist/components/page-wrapper/tokens.css +1 -1
  102. package/dist/components/presets.json +200 -198
  103. package/dist/components/section/section.schema.dereffed.json +38 -38
  104. package/dist/components/settings/settings.schema.dereffed.json +24 -24
  105. package/dist/components/slider/index.d.ts +1 -1
  106. package/dist/components/slider/slider.schema.dereffed.json +13 -13
  107. package/dist/components/teaser-card/index.d.ts +1 -1
  108. package/dist/components/teaser-card/index.js +2 -2
  109. package/dist/components/teaser-card/teaser-card.schema.dereffed.json +4 -4
  110. package/dist/components/teaser-card/teaser-card.schema.json +4 -4
  111. package/dist/components/testimonials/index.d.ts +1 -1
  112. package/dist/components/tile/tile.schema.dereffed.json +3 -3
  113. package/dist/components/tile/tile.schema.json +2 -2
  114. package/dist/components/video-curtain/index.d.ts +1 -1
  115. package/dist/components/video-curtain/video-curtain.schema.dereffed.json +3 -3
  116. package/dist/components/video-curtain/video-curtain.schema.json +2 -2
  117. package/dist/tokens/themes.css +4 -4
  118. package/dist/tokens/tokens.css +1 -1
  119. package/dist/tokens/tokens.js +1 -1
  120. package/package.json +1 -1
  121. package/dist/components/event-list-appointment/index.d.ts +0 -7
  122. package/dist/components/event-list-appointment/index.js +0 -14
  123. package/dist/components/event-list-location/index.d.ts +0 -7
  124. package/dist/components/event-list-location/index.js +0 -16
  125. package/dist/components/event-teaser/index.d.ts +0 -8
  126. package/dist/components/event-teaser/index.js +0 -17
  127. /package/dist/{BlogTeaserProps-d62a0a9a.d.ts → BlogTeaserProps-f5855e93.d.ts} +0 -0
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$id": "http://schema.mydesignsystem.com/event-list-location.schema.json",
4
- "title": "Event List Location",
3
+ "$id": "http://schema.mydesignsystem.com/event-location.schema.json",
4
+ "title": "Event Location",
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "dates": {
@@ -10,8 +10,8 @@
10
10
  "type": "array",
11
11
  "items": {
12
12
  "$schema": "http://json-schema.org/draft-07/schema#",
13
- "$id": "http://schema.mydesignsystem.com/event-list-appointment.schema.json",
14
- "title": "Event List Appointment",
13
+ "$id": "http://schema.mydesignsystem.com/event-appointment.schema.json",
14
+ "title": "Event Appointment",
15
15
  "type": "object",
16
16
  "properties": {
17
17
  "date": {
@@ -39,8 +39,8 @@
39
39
  "Register"
40
40
  ]
41
41
  },
42
- "href": {
43
- "title": "Href",
42
+ "url": {
43
+ "title": "URL",
44
44
  "description": "URL for the call to action button",
45
45
  "type": "string",
46
46
  "format": "uri",
@@ -59,7 +59,7 @@
59
59
  "default": "Event Appointment"
60
60
  },
61
61
  "type": {
62
- "const": "event-list-appointment"
62
+ "const": "event-appointment"
63
63
  }
64
64
  },
65
65
  "additionalProperties": false
@@ -88,7 +88,7 @@
88
88
  "items": {
89
89
  "type": "object",
90
90
  "properties": {
91
- "href": {
91
+ "url": {
92
92
  "type": "string",
93
93
  "format": "uri"
94
94
  },
@@ -102,14 +102,14 @@
102
102
  }
103
103
  },
104
104
  "required": [
105
- "href",
105
+ "url",
106
106
  "label"
107
107
  ],
108
108
  "additionalProperties": false
109
109
  }
110
110
  },
111
111
  "type": {
112
- "const": "event-list-location"
112
+ "const": "event-location"
113
113
  }
114
114
  },
115
115
  "additionalProperties": false
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "http://json-schema.org/draft-07/schema#",
3
- "$id": "http://schema.mydesignsystem.com/event-list-location.schema.json",
4
- "title": "Event List Location",
3
+ "$id": "http://schema.mydesignsystem.com/event-location.schema.json",
4
+ "title": "Event Location",
5
5
  "type": "object",
6
6
  "properties": {
7
7
  "dates": {
@@ -9,7 +9,7 @@
9
9
  "description": "List of dates of the event",
10
10
  "type": "array",
11
11
  "items": {
12
- "$ref": "http://schema.mydesignsystem.com/event-list-appointment.schema.json"
12
+ "$ref": "http://schema.mydesignsystem.com/event-appointment.schema.json"
13
13
  }
14
14
  },
15
15
  "locationName": {
@@ -33,7 +33,7 @@
33
33
  "items": {
34
34
  "type": "object",
35
35
  "properties": {
36
- "href": {
36
+ "url": {
37
37
  "type": "string",
38
38
  "format": "uri"
39
39
  },
@@ -46,7 +46,7 @@
46
46
  "description": "Open link in a new tab"
47
47
  }
48
48
  },
49
- "required": ["href", "label"]
49
+ "required": ["url", "label"]
50
50
  }
51
51
  }
52
52
  },
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { EventLocationProps } from "../../EventLocationProps-dd4aeaa9.js";
3
+ declare const EventLocationContextDefault: import("react").ForwardRefExoticComponent<EventLocationProps & import("react").RefAttributes<HTMLDivElement>>;
4
+ declare const EventLocationContext: import("react").Context<import("react").ForwardRefExoticComponent<EventLocationProps & import("react").RefAttributes<HTMLDivElement>>>;
5
+ declare const EventLocation: import("react").ForwardRefExoticComponent<EventLocationProps & import("react").RefAttributes<HTMLDivElement>>;
6
+ export type { EventLocationProps };
7
+ export { EventLocationContextDefault, EventLocationContext, EventLocation };
@@ -0,0 +1,16 @@
1
+ import "./event-location.css";
2
+ import { forwardRef, createElement, createContext, useContext } from 'react';
3
+ import { jsxs, jsx } from 'react/jsx-runtime';
4
+ import { RichText } from '@kickstartds/base/lib/rich-text';
5
+ import { Icon } from '@kickstartds/base/lib/icon';
6
+ import { EventAppointment } from '../event-appointment/index.js';
7
+
8
+ const EventLocationContextDefault = forwardRef(({ locationName, address, dates, links, ...rest }, ref) => (jsxs("div", { className: "dsa-event-location", ...rest, ref: ref, children: [address && (jsx("div", { className: "dsa-event-location__row", children: jsxs("div", { className: "dsa-event-location__item ", children: [jsx(Icon, { className: "dsa-event-location__icon", icon: "map-pin", "aria-hidden": true }), jsxs("div", { className: "dsa-event-location__content", children: [jsx("span", { className: "sr-only", children: "Address:" }), jsxs("address", { className: "dsa-event-location__address", children: [locationName && (jsx("span", { className: "dsa-event-location__name", children: locationName })), address && jsx(RichText, { text: address })] }), links && links.length > 0 && (jsx("div", { className: "dsa-event-location__links", children: links.map((link, index) => (jsx("a", { href: link.url, target: link.newTab ? "_blank" : "_self", className: "dsa-event-location__link", children: link.label }, index))) }))] })] }) })), dates && dates.length > 0 && (jsxs("div", { className: "dsa-event-location__appointments", children: [jsx("span", { className: "sr-only", children: "Appointments:" }), dates.map((item, index) => (createElement(EventAppointment, { ...item, key: index })))] }))] })));
9
+ const EventLocationContext = createContext(EventLocationContextDefault);
10
+ const EventLocation = forwardRef((props, ref) => {
11
+ const Component = useContext(EventLocationContext);
12
+ return jsx(Component, { ...props, ref: ref });
13
+ });
14
+ EventLocation.displayName = "EventLocation";
15
+
16
+ export { EventLocation, EventLocationContext, EventLocationContextDefault };
@@ -47,10 +47,10 @@
47
47
  "title": "Call to Action",
48
48
  "description": "The call to action",
49
49
  "properties": {
50
- "target": {
50
+ "url": {
51
51
  "type": "string",
52
- "title": "Call to Action target",
53
- "description": "The CTA target",
52
+ "title": "Call to Action url",
53
+ "description": "The CTA url",
54
54
  "default": "#",
55
55
  "format": "uri"
56
56
  },
@@ -35,10 +35,10 @@
35
35
  "title": "Call to Action",
36
36
  "description": "The call to action",
37
37
  "properties": {
38
- "target": {
38
+ "url": {
39
39
  "type": "string",
40
- "title": "Call to Action target",
41
- "description": "The CTA target",
40
+ "title": "Call to Action url",
41
+ "description": "The CTA url",
42
42
  "default": "#",
43
43
  "format": "uri"
44
44
  },
@@ -19,9 +19,9 @@ type Title = string;
19
19
  */
20
20
  type Text = string;
21
21
  /**
22
- * The CTA target
22
+ * The CTA url
23
23
  */
24
- type CallToActionTarget = string;
24
+ type CallToActionUrl = string;
25
25
  /**
26
26
  * The text label displayed on the link
27
27
  */
@@ -48,7 +48,7 @@ interface FeatureProps {
48
48
  * The call to action
49
49
  */
50
50
  interface CallToAction {
51
- target?: CallToActionTarget;
51
+ url?: CallToActionUrl;
52
52
  label?: LinkLabel;
53
53
  icon?: Icon1;
54
54
  toggle?: CallToActionToggle;
@@ -16,7 +16,7 @@ const FeatureContextDefault = forwardRef(({ style = "stack", title, text, icon,
16
16
  ? `intext dsa-feature--small`
17
17
  : style === `centered`
18
18
  ? `centered dsa-feature--large`
19
- : `${style}`}`), children: [jsxs("div", { className: "dsa-feature__header", children: [icon && (jsx(Icon, { className: "dsa-feature__icon", icon: icon, role: "presentation", "aria-hidden": true, focusable: false })), jsx("span", { className: "dsa-feature__title", children: title })] }), text || cta.style === "intext" ? (jsxs("p", { className: "dsa-feature__text", children: [text, cta.style === "intext" && cta.toggle ? (jsxs(Fragment, { children: [" ", " ", jsx(Link, { href: cta.target, children: cta.label ? cta.label : "See more" })] })) : ("")] })) : (""), cta.toggle && (cta.style === "link" || cta.style === "button") && (jsx("div", { className: "dsa-feature__cta", children: cta.style === "link" ? (jsxs(Link, { className: "dsa-feature__link", href: cta.target, children: [cta.label ? cta.label : "See more", jsx(Icon, { "aria-hidden": true, role: "presentation", focusable: false, icon: cta.icon || "arrow-right" })] })) : cta.style === "button" ? (jsx(Button, { className: "dsa-feature__button", size: "small", target: cta.target, label: cta.label ? cta.label : "See more" })) : ("") }))] })));
19
+ : `${style}`}`), children: [jsxs("div", { className: "dsa-feature__header", children: [icon && (jsx(Icon, { className: "dsa-feature__icon", icon: icon, role: "presentation", "aria-hidden": true, focusable: false })), jsx("span", { className: "dsa-feature__title", children: title })] }), text || cta.style === "intext" ? (jsxs("p", { className: "dsa-feature__text", children: [text, cta.style === "intext" && cta.toggle ? (jsxs(Fragment, { children: [" ", " ", jsx(Link, { href: cta.url, children: cta.label ? cta.label : "See more" })] })) : ("")] })) : (""), cta.toggle && (cta.style === "link" || cta.style === "button") && (jsx("div", { className: "dsa-feature__cta", children: cta.style === "link" ? (jsxs(Link, { className: "dsa-feature__link", href: cta.url, children: [cta.label ? cta.label : "See more", jsx(Icon, { "aria-hidden": true, role: "presentation", focusable: false, icon: cta.icon || "arrow-right" })] })) : cta.style === "button" ? (jsx(Button, { className: "dsa-feature__button", size: "small", url: cta.url, label: cta.label ? cta.label : "See more" })) : ("") }))] })));
20
20
  const FeatureContext = createContext(FeatureContextDefault);
21
21
  const Feature = forwardRef((props, ref) => {
22
22
  const Component = useContext(FeatureContext);
@@ -85,10 +85,10 @@
85
85
  "cta": {
86
86
  "type": "object",
87
87
  "properties": {
88
- "target": {
88
+ "url": {
89
89
  "type": "string",
90
- "title": "Call to Action target",
91
- "description": "The CTA target",
90
+ "title": "Call to Action url",
91
+ "description": "The CTA url",
92
92
  "default": "#",
93
93
  "format": "uri"
94
94
  },
@@ -54,8 +54,8 @@
54
54
  "cta": {
55
55
  "type": "object",
56
56
  "properties": {
57
- "target": {
58
- "$ref": "http://schema.mydesignsystem.com/feature.schema.json#/properties/cta/properties/target"
57
+ "url": {
58
+ "$ref": "http://schema.mydesignsystem.com/feature.schema.json#/properties/cta/properties/url"
59
59
  },
60
60
  "label": {
61
61
  "$ref": "http://schema.mydesignsystem.com/feature.schema.json#/properties/cta/properties/label"
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { HTMLAttributes } from "react";
3
- import { FeaturesProps } from "../../FeaturesProps-7ef528ec.js";
3
+ import { FeaturesProps } from "../../FeaturesProps-a9041d97.js";
4
4
  declare const FeaturesContextDefault: import("react").ForwardRefExoticComponent<FeaturesProps & Omit<HTMLAttributes<HTMLDivElement>, "style"> & import("react").RefAttributes<HTMLDivElement>>;
5
5
  declare const FeaturesContext: import("react").Context<import("react").ForwardRefExoticComponent<FeaturesProps & Omit<HTMLAttributes<HTMLDivElement>, "style"> & import("react").RefAttributes<HTMLDivElement>>>;
6
6
  declare const Features: import("react").ForwardRefExoticComponent<FeaturesProps & Omit<HTMLAttributes<HTMLDivElement>, "style"> & import("react").RefAttributes<HTMLDivElement>>;
@@ -19,7 +19,7 @@ const FeaturesContextDefault = forwardRef(({ layout = "largeTiles", ctas = {
19
19
  const { icon, title, text, cta, ...rest } = feature;
20
20
  return (createElement(Feature, { ...rest, key: index, icon: icon, style: style, title: title, text: text, cta: {
21
21
  label: cta?.label,
22
- target: cta?.target,
22
+ url: cta?.url,
23
23
  style: ctas.style,
24
24
  toggle: ctas.toggle,
25
25
  icon: cta?.icon,
@@ -68,7 +68,7 @@
68
68
  "items": {
69
69
  "type": "object",
70
70
  "properties": {
71
- "href": {
71
+ "url": {
72
72
  "type": "string",
73
73
  "format": "uri"
74
74
  },
@@ -83,7 +83,7 @@
83
83
  "items": {
84
84
  "type": "object",
85
85
  "properties": {
86
- "href": {
86
+ "url": {
87
87
  "type": "string",
88
88
  "format": "uri"
89
89
  },
@@ -100,7 +100,7 @@
100
100
  },
101
101
  "additionalProperties": false,
102
102
  "required": [
103
- "href",
103
+ "url",
104
104
  "label"
105
105
  ]
106
106
  },
@@ -108,43 +108,43 @@
108
108
  [
109
109
  {
110
110
  "label": "Active Item",
111
- "href": "#",
111
+ "url": "#",
112
112
  "active": true
113
113
  },
114
114
  {
115
115
  "label": "Navigation Item",
116
- "href": "#"
116
+ "url": "#"
117
117
  },
118
118
  {
119
119
  "label": "Dropdown",
120
- "href": "#",
120
+ "url": "#",
121
121
  "items": [
122
122
  {
123
123
  "label": "Level 2 Item",
124
- "href": "#"
124
+ "url": "#"
125
125
  },
126
126
  {
127
127
  "label": "Active Item",
128
128
  "active": true,
129
- "href": "#"
129
+ "url": "#"
130
130
  },
131
131
  {
132
132
  "label": "An Item with a longer Label",
133
- "href": "#"
133
+ "url": "#"
134
134
  },
135
135
  {
136
136
  "label": "And One last one",
137
- "href": "#"
137
+ "url": "#"
138
138
  }
139
139
  ]
140
140
  },
141
141
  {
142
142
  "label": "One more Item",
143
- "href": "#"
143
+ "url": "#"
144
144
  },
145
145
  {
146
146
  "label": "Last Item",
147
- "href": "#"
147
+ "url": "#"
148
148
  }
149
149
  ]
150
150
  ]
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { FooterProps } from "../../FooterProps-171a3067.js";
2
+ import { FooterProps } from "../../FooterProps-a0a104ca.js";
3
3
  import { HTMLAttributes } from "react";
4
4
  declare const FooterContextDefault: import("react").ForwardRefExoticComponent<FooterProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
5
5
  declare const FooterContext: import("react").Context<import("react").ForwardRefExoticComponent<FooterProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>>;
@@ -6,7 +6,7 @@ import { Link } from '@kickstartds/base/lib/link';
6
6
  import { Logo } from '../logo/index.js';
7
7
  import '@kickstartds/base/lib/picture';
8
8
 
9
- const FooterContextDefault = forwardRef(({ byline, navItems, inverted, logo }, ref) => navItems && navItems.length > 0 ? (jsx("div", { className: classnames("dsa-footer"), "ks-inverted": inverted.toString(), ref: ref, children: jsxs("div", { className: "dsa-footer__content", children: [jsx(Logo, { ...logo, inverted: inverted }), byline && jsx("span", { className: "dsa-footer__byline", children: byline }), navItems.length > 0 ? (jsx("div", { className: "dsa-footer__links", children: navItems.map(({ label, active, ...linkProps }) => (createElement(Link, { ...linkProps, className: "dsa-footer__link", key: linkProps.href + label }, label))) })) : null] }) })) : null);
9
+ const FooterContextDefault = forwardRef(({ byline, navItems, inverted, logo }, ref) => navItems && navItems.length > 0 ? (jsx("div", { className: classnames("dsa-footer"), "ks-inverted": inverted.toString(), ref: ref, children: jsxs("div", { className: "dsa-footer__content", children: [jsx(Logo, { ...logo, inverted: inverted }), byline && jsx("span", { className: "dsa-footer__byline", children: byline }), navItems.length > 0 ? (jsx("div", { className: "dsa-footer__links", children: navItems.map(({ label, active, ...linkProps }) => (createElement(Link, { ...linkProps, className: "dsa-footer__link", key: linkProps.url + label }, label))) })) : null] }) })) : null);
10
10
  const FooterContext = createContext(FooterContextDefault);
11
11
  const Footer = forwardRef((props, ref) => {
12
12
  const Component = useContext(FooterContext);
@@ -81,7 +81,7 @@
81
81
  "items": {
82
82
  "type": "object",
83
83
  "properties": {
84
- "href": {
84
+ "url": {
85
85
  "type": "string",
86
86
  "format": "uri"
87
87
  },
@@ -96,7 +96,7 @@
96
96
  "items": {
97
97
  "type": "object",
98
98
  "properties": {
99
- "href": {
99
+ "url": {
100
100
  "type": "string",
101
101
  "format": "uri"
102
102
  },
@@ -113,7 +113,7 @@
113
113
  },
114
114
  "additionalProperties": false,
115
115
  "required": [
116
- "href",
116
+ "url",
117
117
  "label"
118
118
  ]
119
119
  },
@@ -121,43 +121,43 @@
121
121
  [
122
122
  {
123
123
  "label": "Active Item",
124
- "href": "#",
124
+ "url": "#",
125
125
  "active": true
126
126
  },
127
127
  {
128
128
  "label": "Navigation Item",
129
- "href": "#"
129
+ "url": "#"
130
130
  },
131
131
  {
132
132
  "label": "Dropdown",
133
- "href": "#",
133
+ "url": "#",
134
134
  "items": [
135
135
  {
136
136
  "label": "Level 2 Item",
137
- "href": "#"
137
+ "url": "#"
138
138
  },
139
139
  {
140
140
  "label": "Active Item",
141
141
  "active": true,
142
- "href": "#"
142
+ "url": "#"
143
143
  },
144
144
  {
145
145
  "label": "An Item with a longer Label",
146
- "href": "#"
146
+ "url": "#"
147
147
  },
148
148
  {
149
149
  "label": "And One last one",
150
- "href": "#"
150
+ "url": "#"
151
151
  }
152
152
  ]
153
153
  },
154
154
  {
155
155
  "label": "One more Item",
156
- "href": "#"
156
+ "url": "#"
157
157
  },
158
158
  {
159
159
  "label": "Last Item",
160
- "href": "#"
160
+ "url": "#"
161
161
  }
162
162
  ]
163
163
  ]
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { HTMLAttributes } from "react";
3
- import { HeaderProps } from "../../HeaderProps-e22382f1.js";
3
+ import { HeaderProps } from "../../HeaderProps-72763967.js";
4
4
  declare const HeaderContextDefault: import("react").ForwardRefExoticComponent<HeaderProps & HTMLAttributes<HTMLElement> & import("react").RefAttributes<HTMLElement>>;
5
5
  declare const HeaderContext: import("react").Context<import("react").ForwardRefExoticComponent<HeaderProps & HTMLAttributes<HTMLElement> & import("react").RefAttributes<HTMLElement>>>;
6
6
  declare const Header: import("react").ForwardRefExoticComponent<HeaderProps & HTMLAttributes<HTMLElement> & import("react").RefAttributes<HTMLElement>>;
@@ -71,10 +71,10 @@
71
71
  "title": "Icon",
72
72
  "description": "Choose an icon"
73
73
  },
74
- "target": {
74
+ "url": {
75
75
  "type": "string",
76
- "title": "Target",
77
- "description": "Target that should be linked, makes the button behave like a link semantically",
76
+ "title": "URL",
77
+ "description": "The URL to link to when the button is clicked",
78
78
  "format": "uri"
79
79
  }
80
80
  },
@@ -58,8 +58,8 @@
58
58
  "icon": {
59
59
  "$ref": "http://schema.mydesignsystem.com/button.schema.json#/properties/icon"
60
60
  },
61
- "target": {
62
- "$ref": "http://schema.mydesignsystem.com/button.schema.json#/properties/target"
61
+ "url": {
62
+ "$ref": "http://schema.mydesignsystem.com/button.schema.json#/properties/url"
63
63
  }
64
64
  }
65
65
  }
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { HTMLAttributes } from "react";
3
- import { HeroProps } from "../../HeroProps-aa4e6431.js";
3
+ import { HeroProps } from "../../HeroProps-40f6c7f5.js";
4
4
  declare const HeroContextDefault: import("react").ForwardRefExoticComponent<HeroProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
5
5
  declare const HeroContext: import("react").Context<import("react").ForwardRefExoticComponent<HeroProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>>;
6
6
  declare const Hero: import("react").ForwardRefExoticComponent<HeroProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
@@ -69,10 +69,10 @@
69
69
  "Book a meeting"
70
70
  ]
71
71
  },
72
- "target": {
72
+ "url": {
73
73
  "type": "string",
74
- "title": "Target",
75
- "description": "Target that should be linked, makes the button behave like a link semantically",
74
+ "title": "URL",
75
+ "description": "The URL to link to when the button is clicked",
76
76
  "format": "uri"
77
77
  },
78
78
  "variant": {
@@ -4,8 +4,8 @@
4
4
  * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
5
5
  * and run json-schema-to-typescript to regenerate this file.
6
6
  */
7
- import { HeaderProps } from "../../HeaderProps-e22382f1.js";
8
- import { FooterProps } from "../../FooterProps-171a3067.js";
7
+ import { HeaderProps } from "../../HeaderProps-72763967.js";
8
+ import { FooterProps } from "../../FooterProps-a0a104ca.js";
9
9
  import { SeoProps } from "../../SeoProps-f2d6dcaa.js";
10
10
  /**
11
11
  * Content of the icon sprite for this project
@@ -29,8 +29,8 @@ interface SettingsProps {
29
29
  seo: SeoProps;
30
30
  iconSprite?: IconSprite;
31
31
  }
32
- export * from "../../BlogPostProps-c04a5ed8.js";
32
+ export * from "../../BlogPostProps-6b3cff22.js";
33
33
  export * from "../../BlogOverviewProps-9f207f1c.js";
34
34
  export * from "../../PageProps-aa29c554.js";
35
35
  export { IconSprite, SettingsProps };
36
- export * from "../../EventDetailProps-19b81db8.js";
36
+ export * from "../../EventDetailProps-42a7eebe.js";
@@ -7,7 +7,7 @@ import { Button } from '@kickstartds/base/lib/button';
7
7
  import { Link } from '@kickstartds/base/lib/link';
8
8
  import { Container } from '@kickstartds/core/lib/container';
9
9
 
10
- const LogosContextDefault = forwardRef(({ logo: logos = [], tagline, align, cta, logosPerRow = "6", ...rest }, ref) => (jsx("div", { ...rest, ref: ref, children: jsx(Container, { name: "logos", children: jsxs("div", { className: classnames(`dsa-logos dsa-logos--align-${align}`), children: [tagline && jsx("div", { className: "dsa-logos__tagline", children: tagline }), jsx(LogoTiles, { className: classnames(`dsa-logo-tiles dsa-logo-tiles--cols-${logosPerRow}`), logos: logos }), cta?.toggle ? (jsxs("div", { className: "dsa-logos__cta", children: [jsxs("div", { className: "dsa-logos__cta__text", children: [cta?.text, cta?.style === "text" ? (jsxs(Fragment, { children: [" ", jsx(Link, { className: "dsa-logos__cta__link", href: cta.link, children: cta.label })] })) : ("")] }), cta?.style === "button" ? (jsx(Button, { href: cta.link, label: cta.label })) : ("")] })) : ("")] }) }) })));
10
+ const LogosContextDefault = forwardRef(({ logo: logos = [], tagline, align, cta, logosPerRow = "6", ...rest }, ref) => (jsx("div", { ...rest, ref: ref, children: jsx(Container, { name: "logos", children: jsxs("div", { className: classnames(`dsa-logos dsa-logos--align-${align}`), children: [tagline && jsx("div", { className: "dsa-logos__tagline", children: tagline }), jsx(LogoTiles, { className: classnames(`dsa-logo-tiles dsa-logo-tiles--cols-${logosPerRow}`), logos: logos }), cta?.toggle ? (jsxs("div", { className: "dsa-logos__cta", children: [jsxs("div", { className: "dsa-logos__cta__text", children: [cta?.text, cta?.style === "text" && (jsxs(Fragment, { children: [" ", jsx(Link, { className: "dsa-logos__cta__link", href: cta.link, children: cta.label })] }))] }), cta?.style === "button" && (jsx(Button, { href: cta.link, label: cta.label }))] })) : ("")] }) }) })));
11
11
  const LogosContext = createContext(LogosContextDefault);
12
12
  const Logos = forwardRef((props, ref) => {
13
13
  const Component = useContext(LogosContext);
@@ -14,7 +14,7 @@ const MosaicContextDefault = forwardRef(({ layout, largeHeadlines, tile, ...rest
14
14
  textColor: tile?.textColor,
15
15
  ...(tile?.button?.toggle && {
16
16
  link: {
17
- target: tile?.button?.target,
17
+ url: tile?.button?.url,
18
18
  label: tile?.button?.label,
19
19
  icon: tile?.button?.icon,
20
20
  },
@@ -86,10 +86,10 @@
86
86
  "Book a meeting"
87
87
  ]
88
88
  },
89
- "target": {
89
+ "url": {
90
90
  "type": "string",
91
- "title": "Target",
92
- "description": "Target that should be linked, makes the button behave like a link semantically",
91
+ "title": "URL",
92
+ "description": "The URL to link to when the button is clicked",
93
93
  "format": "uri"
94
94
  },
95
95
  "icon": {
@@ -12,7 +12,7 @@ type DropdownInverted = boolean;
12
12
  interface NavDropdownProps {
13
13
  inverted?: DropdownInverted;
14
14
  items?: {
15
- href?: string;
15
+ url?: string;
16
16
  label?: string;
17
17
  active?: boolean;
18
18
  }[];
@@ -3,8 +3,8 @@ import { jsx } from 'react/jsx-runtime';
3
3
  import classnames from 'classnames';
4
4
  import { Link } from '@kickstartds/base/lib/link';
5
5
 
6
- const NavDropdown = ({ items, inverted }) => (jsx("ul", { className: classnames(`dsa-nav-dropdown`), "ks-inverted": inverted?.toString(), children: items.map(({ label, active, href }) => {
7
- return (jsx("li", { className: classnames("dsa-nav-dropdown__item", active && "dsa-nav-dropdown__item--active"), children: jsx(Link, { href: href, className: `dsa-nav-dropdown__label`, children: label }) }, href));
6
+ const NavDropdown = ({ items, inverted }) => (jsx("ul", { className: classnames(`dsa-nav-dropdown`), "ks-inverted": inverted?.toString(), children: items.map(({ label, active, url }) => {
7
+ return (jsx("li", { className: classnames("dsa-nav-dropdown__item", active && "dsa-nav-dropdown__item--active"), children: jsx(Link, { href: url, className: `dsa-nav-dropdown__label`, children: label }) }, url));
8
8
  }) }));
9
9
 
10
10
  export { NavDropdown };
@@ -15,7 +15,7 @@
15
15
  "items": {
16
16
  "type": "object",
17
17
  "properties": {
18
- "href": {
18
+ "url": {
19
19
  "type": "string",
20
20
  "format": "uri"
21
21
  },
@@ -13,11 +13,11 @@ import { HTMLAttributes } from "react";
13
13
  type FlyoutInverted = boolean;
14
14
  interface NavFlyoutProps {
15
15
  items?: {
16
- href: string;
16
+ url: string;
17
17
  label: string;
18
18
  active?: boolean;
19
19
  items?: {
20
- href?: string;
20
+ url?: string;
21
21
  label?: string;
22
22
  active?: boolean;
23
23
  }[];
@@ -4,10 +4,10 @@ import classnames from 'classnames';
4
4
  import { Link } from '@kickstartds/base/lib/link';
5
5
  import { forwardRef, createContext, useContext } from 'react';
6
6
 
7
- const NavFlyoutContextDefault = forwardRef(({ items, inverted }, ref) => items && items.length > 0 ? (jsx("nav", { className: "dsa-nav-flyout", "ks-inverted": inverted.toString(), id: "dsa-nav-flyout", "aria-label": "Main Navigation", ref: ref, children: jsx("ul", { className: "dsa-nav-flyout__list", children: items.map(({ label, href, active, items: subItems }) => {
8
- return (jsxs("li", { className: classnames("dsa-nav-flyout__item", active && "dsa-nav-flyout__item--active"), children: [subItems?.length ? (jsx("span", { className: "dsa-nav-flyout__label", children: label })) : (jsx(Link, { href: href, className: `dsa-nav-flyout__label dsa-nav-flyout__link`, children: label })), subItems?.length ? (jsx("ul", { className: "dsa-nav-flyout__sublist", children: subItems.map(({ label, href, active }) => {
9
- return (jsx("li", { className: classnames("dsa-nav-flyout__item", active && "dsa-nav-flyout__item--active"), children: jsx(Link, { href: href, className: `dsa-nav-flyout__label dsa-nav-flyout__link`, children: label }) }, href));
10
- }) })) : null] }, href));
7
+ const NavFlyoutContextDefault = forwardRef(({ items, inverted }, ref) => items && items.length > 0 ? (jsx("nav", { className: "dsa-nav-flyout", "ks-inverted": inverted.toString(), id: "dsa-nav-flyout", "aria-label": "Main Navigation", ref: ref, children: jsx("ul", { className: "dsa-nav-flyout__list", children: items.map(({ label, url, active, items: subItems }) => {
8
+ return (jsxs("li", { className: classnames("dsa-nav-flyout__item", active && "dsa-nav-flyout__item--active"), children: [subItems?.length ? (jsx("span", { className: "dsa-nav-flyout__label", children: label })) : (jsx(Link, { href: url, className: `dsa-nav-flyout__label dsa-nav-flyout__link`, children: label })), subItems?.length && (jsx("ul", { className: "dsa-nav-flyout__sublist", children: subItems.map(({ label, url, active }) => {
9
+ return (jsx("li", { className: classnames("dsa-nav-flyout__item", active && "dsa-nav-flyout__item--active"), children: jsx(Link, { href: url, className: `dsa-nav-flyout__label dsa-nav-flyout__link`, children: label }) }, url));
10
+ }) }))] }, url));
11
11
  }) }) })) : null);
12
12
  const NavFlyoutContext = createContext(NavFlyoutContextDefault);
13
13
  const NavFlyout = forwardRef((props, ref) => {