@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.
- package/dist/{BlogAsideProps-d9decb7c.d.ts → BlogAsideProps-c760fd2a.d.ts} +5 -5
- package/dist/{BlogAuthorProps-9320ef58.d.ts → BlogAuthorProps-fb0241df.d.ts} +1 -1
- package/dist/BlogOverviewProps-9f207f1c.d.ts +2 -2
- package/dist/{BlogPostProps-c04a5ed8.d.ts → BlogPostProps-6b3cff22.d.ts} +2 -2
- package/dist/{ButtonProps-03ff6d21.d.ts → ButtonProps-00ddee3a.d.ts} +4 -4
- package/dist/{CtaProps-8a0dba0d.d.ts → CtaProps-babe4ee6.d.ts} +4 -4
- package/dist/{EventListAppointmentProps-da54c3b9.d.ts → EventAppointmentProps-443cd1ce.d.ts} +4 -4
- package/dist/{EventDetailProps-19b81db8.d.ts → EventDetailProps-42a7eebe.d.ts} +5 -5
- package/dist/{EventTeaserProps-e00ea659.d.ts → EventLatestTeaserProps-fc9d3281.d.ts} +2 -2
- package/dist/{EventListLocationProps-d4345e0e.d.ts → EventLocationProps-dd4aeaa9.d.ts} +5 -5
- package/dist/{FeaturesProps-7ef528ec.d.ts → FeaturesProps-a9041d97.d.ts} +4 -4
- package/dist/{FooterProps-171a3067.d.ts → FooterProps-a0a104ca.d.ts} +2 -2
- package/dist/{HeaderProps-e22382f1.d.ts → HeaderProps-72763967.d.ts} +2 -2
- package/dist/{HeroProps-aa4e6431.d.ts → HeroProps-40f6c7f5.d.ts} +4 -4
- package/dist/ImageStoryProps-e853e1e7.d.ts +1 -1
- package/dist/MosaicProps-d52c7151.d.ts +4 -4
- package/dist/SectionProps-7caa223c.d.ts +7 -7
- package/dist/{SliderProps-8a0dba0d.d.ts → SliderProps-babe4ee6.d.ts} +4 -4
- package/dist/{TeaserCardProps-b9c28e78.d.ts → TeaserCardProps-994cb119.d.ts} +4 -4
- package/dist/{VideoCurtainProps-88f08b62.d.ts → VideoCurtainProps-a2c0cc7f.d.ts} +4 -4
- package/dist/components/blog-aside/blog-aside.schema.dereffed.json +7 -7
- package/dist/components/blog-aside/blog-aside.schema.json +4 -4
- package/dist/components/blog-aside/index.d.ts +1 -1
- package/dist/components/blog-aside/index.js +1 -1
- package/dist/components/blog-author/blog-author.schema.dereffed.json +3 -3
- package/dist/components/blog-author/index.d.ts +1 -1
- package/dist/components/blog-overview/blog-overview.schema.dereffed.json +41 -41
- package/dist/components/blog-post/blog-post.schema.dereffed.json +48 -48
- package/dist/components/blog-post/index.d.ts +1 -1
- package/dist/components/blog-teaser/index.d.ts +1 -1
- package/dist/components/blog-teaser/index.js +5 -7
- package/dist/components/button/button.schema.dereffed.json +3 -3
- package/dist/components/button/button.schema.json +3 -3
- package/dist/components/button/index.d.ts +1 -1
- package/dist/components/button/index.js +1 -1
- package/dist/components/button-group/button-group.schema.dereffed.json +3 -3
- package/dist/components/button-group/index.d.ts +1 -1
- package/dist/components/contact/contact.schema.dereffed.json +3 -3
- package/dist/components/contact/contact.schema.json +3 -3
- package/dist/components/contact/index.d.ts +1 -1
- package/dist/components/contact/index.js +1 -1
- package/dist/components/cta/cta.schema.dereffed.json +3 -3
- package/dist/components/cta/cta.schema.json +2 -2
- package/dist/components/cta/index.d.ts +1 -1
- package/dist/components/{event-list-appointment/event-list-appointment.css → event-appointment/event-appointment.css} +9 -9
- package/dist/components/{event-list-appointment/event-list-appointment.schema.dereffed.json → event-appointment/event-appointment.schema.dereffed.json} +5 -5
- package/dist/components/{event-list-appointment/event-list-appointment.schema.json → event-appointment/event-appointment.schema.json} +4 -4
- package/dist/components/event-appointment/index.d.ts +7 -0
- package/dist/components/event-appointment/index.js +14 -0
- package/dist/components/event-detail/event-detail.schema.dereffed.json +12 -12
- package/dist/components/event-detail/event-detail.schema.json +3 -3
- package/dist/components/event-detail/index.d.ts +1 -1
- package/dist/components/event-detail/index.js +4 -4
- package/dist/components/event-latest/event-latest.schema.dereffed.json +3 -3
- package/dist/components/event-latest/event-latest.schema.json +1 -1
- package/dist/components/event-latest/index.d.ts +3 -3
- package/dist/components/{event-teaser/event-teaser.css → event-latest-teaser/event-latest-teaser.css} +13 -13
- package/dist/components/{event-teaser/event-teaser.schema.dereffed.json → event-latest-teaser/event-latest-teaser.schema.dereffed.json} +3 -3
- package/dist/components/{event-teaser/event-teaser.schema.json → event-latest-teaser/event-latest-teaser.schema.json} +2 -2
- package/dist/components/event-latest-teaser/index.d.ts +8 -0
- package/dist/components/event-latest-teaser/index.js +17 -0
- package/dist/components/{event-list-location/event-list-location.css → event-location/event-location.css} +15 -15
- package/dist/components/{event-list-location/event-list-location.schema.dereffed.json → event-location/event-location.schema.dereffed.json} +10 -10
- package/dist/components/{event-list-location/event-list-location.schema.json → event-location/event-location.schema.json} +5 -5
- package/dist/components/event-location/index.d.ts +7 -0
- package/dist/components/event-location/index.js +16 -0
- package/dist/components/feature/feature.schema.dereffed.json +3 -3
- package/dist/components/feature/feature.schema.json +3 -3
- package/dist/components/feature/index.d.ts +3 -3
- package/dist/components/feature/index.js +1 -1
- package/dist/components/features/features.schema.dereffed.json +3 -3
- package/dist/components/features/features.schema.json +2 -2
- package/dist/components/features/index.d.ts +1 -1
- package/dist/components/features/index.js +1 -1
- package/dist/components/footer/footer.schema.dereffed.json +12 -12
- package/dist/components/footer/index.d.ts +1 -1
- package/dist/components/footer/index.js +1 -1
- package/dist/components/header/header.schema.dereffed.json +12 -12
- package/dist/components/header/index.d.ts +1 -1
- package/dist/components/hero/hero.schema.dereffed.json +3 -3
- package/dist/components/hero/hero.schema.json +2 -2
- package/dist/components/hero/index.d.ts +1 -1
- package/dist/components/image-story/image-story.schema.dereffed.json +3 -3
- package/dist/components/index/index.d.ts +4 -4
- package/dist/components/logos/index.js +1 -1
- package/dist/components/mosaic/index.js +1 -1
- package/dist/components/mosaic/mosaic.schema.dereffed.json +3 -3
- package/dist/components/nav-dropdown/index.d.ts +1 -1
- package/dist/components/nav-dropdown/index.js +2 -2
- package/dist/components/nav-dropdown/nav-dropdown.schema.dereffed.json +1 -1
- package/dist/components/nav-flyout/index.d.ts +2 -2
- package/dist/components/nav-flyout/index.js +4 -4
- package/dist/components/nav-flyout/nav-flyout.schema.dereffed.json +12 -12
- package/dist/components/nav-main/index.d.ts +5 -5
- package/dist/components/nav-main/nav-main.schema.dereffed.json +15 -15
- package/dist/components/nav-main/nav-main.schema.json +14 -14
- package/dist/components/nav-topbar/index.d.ts +2 -2
- package/dist/components/nav-topbar/index.js +2 -2
- package/dist/components/nav-topbar/nav-topbar.schema.dereffed.json +12 -12
- package/dist/components/page/page.schema.dereffed.json +38 -38
- package/dist/components/page-wrapper/tokens.css +1 -1
- package/dist/components/presets.json +200 -198
- package/dist/components/section/section.schema.dereffed.json +38 -38
- package/dist/components/settings/settings.schema.dereffed.json +24 -24
- package/dist/components/slider/index.d.ts +1 -1
- package/dist/components/slider/slider.schema.dereffed.json +13 -13
- package/dist/components/teaser-card/index.d.ts +1 -1
- package/dist/components/teaser-card/index.js +2 -2
- package/dist/components/teaser-card/teaser-card.schema.dereffed.json +4 -4
- package/dist/components/teaser-card/teaser-card.schema.json +4 -4
- package/dist/components/testimonials/index.d.ts +1 -1
- package/dist/components/tile/tile.schema.dereffed.json +3 -3
- package/dist/components/tile/tile.schema.json +2 -2
- package/dist/components/video-curtain/index.d.ts +1 -1
- package/dist/components/video-curtain/video-curtain.schema.dereffed.json +3 -3
- package/dist/components/video-curtain/video-curtain.schema.json +2 -2
- 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/event-list-appointment/index.d.ts +0 -7
- package/dist/components/event-list-appointment/index.js +0 -14
- package/dist/components/event-list-location/index.d.ts +0 -7
- package/dist/components/event-list-location/index.js +0 -16
- package/dist/components/event-teaser/index.d.ts +0 -8
- package/dist/components/event-teaser/index.js +0 -17
- /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-
|
|
4
|
-
"title": "Event
|
|
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-
|
|
14
|
-
"title": "Event
|
|
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
|
-
"
|
|
43
|
-
"title": "
|
|
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-
|
|
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
|
-
"
|
|
91
|
+
"url": {
|
|
92
92
|
"type": "string",
|
|
93
93
|
"format": "uri"
|
|
94
94
|
},
|
|
@@ -102,14 +102,14 @@
|
|
|
102
102
|
}
|
|
103
103
|
},
|
|
104
104
|
"required": [
|
|
105
|
-
"
|
|
105
|
+
"url",
|
|
106
106
|
"label"
|
|
107
107
|
],
|
|
108
108
|
"additionalProperties": false
|
|
109
109
|
}
|
|
110
110
|
},
|
|
111
111
|
"type": {
|
|
112
|
-
"const": "event-
|
|
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-
|
|
4
|
-
"title": "Event
|
|
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-
|
|
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
|
-
"
|
|
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": ["
|
|
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
|
-
"
|
|
50
|
+
"url": {
|
|
51
51
|
"type": "string",
|
|
52
|
-
"title": "Call to Action
|
|
53
|
-
"description": "The CTA
|
|
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
|
-
"
|
|
38
|
+
"url": {
|
|
39
39
|
"type": "string",
|
|
40
|
-
"title": "Call to Action
|
|
41
|
-
"description": "The CTA
|
|
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
|
|
22
|
+
* The CTA url
|
|
23
23
|
*/
|
|
24
|
-
type
|
|
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
|
-
|
|
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.
|
|
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
|
-
"
|
|
88
|
+
"url": {
|
|
89
89
|
"type": "string",
|
|
90
|
-
"title": "Call to Action
|
|
91
|
-
"description": "The CTA
|
|
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
|
-
"
|
|
58
|
-
"$ref": "http://schema.mydesignsystem.com/feature.schema.json#/properties/cta/properties/
|
|
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-
|
|
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
|
-
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
103
|
+
"url",
|
|
104
104
|
"label"
|
|
105
105
|
]
|
|
106
106
|
},
|
|
@@ -108,43 +108,43 @@
|
|
|
108
108
|
[
|
|
109
109
|
{
|
|
110
110
|
"label": "Active Item",
|
|
111
|
-
"
|
|
111
|
+
"url": "#",
|
|
112
112
|
"active": true
|
|
113
113
|
},
|
|
114
114
|
{
|
|
115
115
|
"label": "Navigation Item",
|
|
116
|
-
"
|
|
116
|
+
"url": "#"
|
|
117
117
|
},
|
|
118
118
|
{
|
|
119
119
|
"label": "Dropdown",
|
|
120
|
-
"
|
|
120
|
+
"url": "#",
|
|
121
121
|
"items": [
|
|
122
122
|
{
|
|
123
123
|
"label": "Level 2 Item",
|
|
124
|
-
"
|
|
124
|
+
"url": "#"
|
|
125
125
|
},
|
|
126
126
|
{
|
|
127
127
|
"label": "Active Item",
|
|
128
128
|
"active": true,
|
|
129
|
-
"
|
|
129
|
+
"url": "#"
|
|
130
130
|
},
|
|
131
131
|
{
|
|
132
132
|
"label": "An Item with a longer Label",
|
|
133
|
-
"
|
|
133
|
+
"url": "#"
|
|
134
134
|
},
|
|
135
135
|
{
|
|
136
136
|
"label": "And One last one",
|
|
137
|
-
"
|
|
137
|
+
"url": "#"
|
|
138
138
|
}
|
|
139
139
|
]
|
|
140
140
|
},
|
|
141
141
|
{
|
|
142
142
|
"label": "One more Item",
|
|
143
|
-
"
|
|
143
|
+
"url": "#"
|
|
144
144
|
},
|
|
145
145
|
{
|
|
146
146
|
"label": "Last Item",
|
|
147
|
-
"
|
|
147
|
+
"url": "#"
|
|
148
148
|
}
|
|
149
149
|
]
|
|
150
150
|
]
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { FooterProps } from "../../FooterProps-
|
|
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.
|
|
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
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
116
|
+
"url",
|
|
117
117
|
"label"
|
|
118
118
|
]
|
|
119
119
|
},
|
|
@@ -121,43 +121,43 @@
|
|
|
121
121
|
[
|
|
122
122
|
{
|
|
123
123
|
"label": "Active Item",
|
|
124
|
-
"
|
|
124
|
+
"url": "#",
|
|
125
125
|
"active": true
|
|
126
126
|
},
|
|
127
127
|
{
|
|
128
128
|
"label": "Navigation Item",
|
|
129
|
-
"
|
|
129
|
+
"url": "#"
|
|
130
130
|
},
|
|
131
131
|
{
|
|
132
132
|
"label": "Dropdown",
|
|
133
|
-
"
|
|
133
|
+
"url": "#",
|
|
134
134
|
"items": [
|
|
135
135
|
{
|
|
136
136
|
"label": "Level 2 Item",
|
|
137
|
-
"
|
|
137
|
+
"url": "#"
|
|
138
138
|
},
|
|
139
139
|
{
|
|
140
140
|
"label": "Active Item",
|
|
141
141
|
"active": true,
|
|
142
|
-
"
|
|
142
|
+
"url": "#"
|
|
143
143
|
},
|
|
144
144
|
{
|
|
145
145
|
"label": "An Item with a longer Label",
|
|
146
|
-
"
|
|
146
|
+
"url": "#"
|
|
147
147
|
},
|
|
148
148
|
{
|
|
149
149
|
"label": "And One last one",
|
|
150
|
-
"
|
|
150
|
+
"url": "#"
|
|
151
151
|
}
|
|
152
152
|
]
|
|
153
153
|
},
|
|
154
154
|
{
|
|
155
155
|
"label": "One more Item",
|
|
156
|
-
"
|
|
156
|
+
"url": "#"
|
|
157
157
|
},
|
|
158
158
|
{
|
|
159
159
|
"label": "Last Item",
|
|
160
|
-
"
|
|
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-
|
|
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
|
-
"
|
|
74
|
+
"url": {
|
|
75
75
|
"type": "string",
|
|
76
|
-
"title": "
|
|
77
|
-
"description": "
|
|
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
|
-
"
|
|
62
|
-
"$ref": "http://schema.mydesignsystem.com/button.schema.json#/properties/
|
|
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-
|
|
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
|
-
"
|
|
72
|
+
"url": {
|
|
73
73
|
"type": "string",
|
|
74
|
-
"title": "
|
|
75
|
-
"description": "
|
|
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-
|
|
8
|
-
import { FooterProps } from "../../FooterProps-
|
|
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-
|
|
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-
|
|
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"
|
|
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
|
-
|
|
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
|
-
"
|
|
89
|
+
"url": {
|
|
90
90
|
"type": "string",
|
|
91
|
-
"title": "
|
|
92
|
-
"description": "
|
|
91
|
+
"title": "URL",
|
|
92
|
+
"description": "The URL to link to when the button is clicked",
|
|
93
93
|
"format": "uri"
|
|
94
94
|
},
|
|
95
95
|
"icon": {
|
|
@@ -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,
|
|
7
|
-
return (jsx("li", { className: classnames("dsa-nav-dropdown__item", active && "dsa-nav-dropdown__item--active"), children: jsx(Link, { 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 };
|
|
@@ -13,11 +13,11 @@ import { HTMLAttributes } from "react";
|
|
|
13
13
|
type FlyoutInverted = boolean;
|
|
14
14
|
interface NavFlyoutProps {
|
|
15
15
|
items?: {
|
|
16
|
-
|
|
16
|
+
url: string;
|
|
17
17
|
label: string;
|
|
18
18
|
active?: boolean;
|
|
19
19
|
items?: {
|
|
20
|
-
|
|
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,
|
|
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:
|
|
9
|
-
return (jsx("li", { className: classnames("dsa-nav-flyout__item", active && "dsa-nav-flyout__item--active"), children: jsx(Link, { href:
|
|
10
|
-
}) }))
|
|
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) => {
|