@kickstartds/ds-agency-premium 1.6.69 → 1.6.70--canary.45.1746.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 (202) hide show
  1. package/dist/{BlogAsideProps-d9decb7c.d.ts → BlogAsideProps-c760fd2a.d.ts} +5 -5
  2. package/dist/{BlogAuthorProps-88a11566.d.ts → BlogAuthorProps-fb0241df.d.ts} +7 -2
  3. package/dist/{BlogOverviewProps-9f207f1c.d.ts → BlogOverviewProps-7caa223c.d.ts} +2 -2
  4. package/dist/{BlogPostProps-d9decb7c.d.ts → BlogPostProps-c760fd2a.d.ts} +3 -3
  5. package/dist/{ButtonProps-03ff6d21.d.ts → ButtonProps-00ddee3a.d.ts} +4 -4
  6. package/dist/{CtaProps-93230a76.d.ts → CtaProps-babe4ee6.d.ts} +21 -11
  7. package/dist/EventAppointmentProps-443cd1ce.d.ts +38 -0
  8. package/dist/EventDetailProps-42a7eebe.d.ts +387 -0
  9. package/dist/EventLatestTeaserProps-fc9d3281.d.ts +58 -0
  10. package/dist/EventLocationProps-871bc198.d.ts +41 -0
  11. package/dist/{FeaturesProps-e58616a5.d.ts → FeaturesProps-a9041d97.d.ts} +9 -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-f704d270.d.ts → HeroProps-40f6c7f5.d.ts} +9 -4
  15. package/dist/{ImageStoryProps-e853e1e7.d.ts → ImageStoryProps-00ddee3a.d.ts} +1 -1
  16. package/dist/MosaicProps-d52c7151.d.ts +4 -4
  17. package/dist/{PageProps-aa29c554.d.ts → PageProps-7caa223c.d.ts} +1 -1
  18. package/dist/{SectionProps-1cfcf6e8.d.ts → SectionProps-00ddee3a.d.ts} +15 -10
  19. package/dist/{SliderProps-93230a76.d.ts → SliderProps-babe4ee6.d.ts} +4 -4
  20. package/dist/{StatProps-79109ad0.d.ts → StatProps-12a3eae0.d.ts} +1 -1
  21. package/dist/StatsProps-bf5ef578.d.ts +1 -1
  22. package/dist/{TeaserCardProps-b9c28e78.d.ts → TeaserCardProps-994cb119.d.ts} +4 -4
  23. package/dist/{VideoCurtainProps-6c625a69.d.ts → VideoCurtainProps-a2c0cc7f.d.ts} +5 -5
  24. package/dist/components/blog-aside/blog-aside.schema.dereffed.json +16 -8
  25. package/dist/components/blog-aside/blog-aside.schema.json +4 -4
  26. package/dist/components/blog-aside/index.d.ts +1 -1
  27. package/dist/components/blog-aside/index.js +1 -1
  28. package/dist/components/blog-author/blog-author.schema.dereffed.json +12 -4
  29. package/dist/components/blog-author/index.d.ts +1 -1
  30. package/dist/components/blog-overview/blog-overview.schema.dereffed.json +178 -85
  31. package/dist/components/blog-overview/index.d.ts +1 -1
  32. package/dist/components/blog-post/blog-post.schema.dereffed.json +194 -93
  33. package/dist/components/blog-post/index.d.ts +1 -1
  34. package/dist/components/blog-teaser/index.js +5 -7
  35. package/dist/components/button/button.css +2 -2
  36. package/dist/components/button/button.schema.dereffed.json +3 -3
  37. package/dist/components/button/button.schema.json +3 -3
  38. package/dist/components/button/index.d.ts +1 -1
  39. package/dist/components/button/index.js +1 -1
  40. package/dist/components/button-group/button-group.schema.dereffed.json +3 -3
  41. package/dist/components/button-group/index.d.ts +1 -1
  42. package/dist/components/contact/contact.schema.dereffed.json +13 -5
  43. package/dist/components/contact/contact.schema.json +11 -5
  44. package/dist/components/contact/index.d.ts +6 -1
  45. package/dist/components/contact/index.js +1 -1
  46. package/dist/components/cta/cta.css +44 -56
  47. package/dist/components/cta/cta.schema.dereffed.json +28 -11
  48. package/dist/components/cta/cta.schema.json +23 -10
  49. package/dist/components/cta/index.d.ts +1 -1
  50. package/dist/components/cta/index.js +25 -26
  51. package/dist/components/downloads/downloads.css +153 -0
  52. package/dist/components/downloads/downloads.schema.dereffed.json +55 -0
  53. package/dist/components/downloads/downloads.schema.json +44 -0
  54. package/dist/components/downloads/index.d.ts +41 -0
  55. package/dist/components/downloads/index.js +18 -0
  56. package/dist/components/event-appointment/event-appointment.css +62 -0
  57. package/dist/components/event-appointment/event-appointment.schema.dereffed.json +56 -0
  58. package/dist/components/event-appointment/event-appointment.schema.json +47 -0
  59. package/dist/components/event-appointment/index.d.ts +7 -0
  60. package/dist/components/event-appointment/index.js +14 -0
  61. package/dist/components/event-detail/event-detail.schema.dereffed.json +287 -0
  62. package/dist/components/event-detail/event-detail.schema.json +74 -0
  63. package/dist/components/event-detail/index.d.ts +5 -0
  64. package/dist/components/event-detail/index.js +36 -0
  65. package/dist/components/event-header/event-header.css +6 -0
  66. package/dist/components/event-header/event-header.schema.dereffed.json +38 -0
  67. package/dist/components/event-header/event-header.schema.json +34 -0
  68. package/dist/components/event-header/index.d.ts +35 -0
  69. package/dist/components/event-header/index.js +20 -0
  70. package/dist/components/event-latest/event-latest.css +5 -0
  71. package/dist/components/event-latest/event-latest.schema.dereffed.json +142 -0
  72. package/dist/components/event-latest/event-latest.schema.json +46 -0
  73. package/dist/components/event-latest/index.d.ts +30 -0
  74. package/dist/components/event-latest/index.js +19 -0
  75. package/dist/components/event-latest-teaser/event-latest-teaser.css +128 -0
  76. package/dist/components/event-latest-teaser/event-latest-teaser.schema.dereffed.json +97 -0
  77. package/dist/components/event-latest-teaser/event-latest-teaser.schema.json +73 -0
  78. package/dist/components/event-latest-teaser/index.d.ts +8 -0
  79. package/dist/components/event-latest-teaser/index.js +18 -0
  80. package/dist/components/event-location/event-location.css +71 -0
  81. package/dist/components/event-location/event-location.schema.dereffed.json +126 -0
  82. package/dist/components/event-location/event-location.schema.json +61 -0
  83. package/dist/components/event-location/index.d.ts +7 -0
  84. package/dist/components/event-location/index.js +18 -0
  85. package/dist/components/feature/feature.schema.dereffed.json +13 -3
  86. package/dist/components/feature/feature.schema.json +11 -3
  87. package/dist/components/feature/index.d.ts +8 -3
  88. package/dist/components/feature/index.js +2 -3
  89. package/dist/components/features/features.css +15 -35
  90. package/dist/components/features/features.schema.dereffed.json +13 -3
  91. package/dist/components/features/features.schema.json +5 -2
  92. package/dist/components/features/index.d.ts +1 -1
  93. package/dist/components/features/index.js +2 -2
  94. package/dist/components/footer/footer.css +1 -1
  95. package/dist/components/footer/footer.schema.dereffed.json +12 -12
  96. package/dist/components/footer/index.d.ts +1 -1
  97. package/dist/components/footer/index.js +1 -1
  98. package/dist/components/gallery/gallery.schema.dereffed.json +2 -1
  99. package/dist/components/gallery/gallery.schema.json +2 -1
  100. package/dist/components/gallery/index.js +1 -1
  101. package/dist/components/header/header.css +47 -9
  102. package/dist/components/header/header.schema.dereffed.json +12 -12
  103. package/dist/components/header/index.d.ts +1 -1
  104. package/dist/components/header/index.js +5 -5
  105. package/dist/components/headline/headline.css +2 -2
  106. package/dist/components/hero/hero.css +61 -25
  107. package/dist/components/hero/hero.schema.dereffed.json +9 -3
  108. package/dist/components/hero/hero.schema.json +8 -2
  109. package/dist/components/hero/index.d.ts +1 -1
  110. package/dist/components/hero/index.js +39 -39
  111. package/dist/components/image-story/image-story.css +5 -2
  112. package/dist/components/image-story/image-story.schema.dereffed.json +3 -3
  113. package/dist/components/image-story/index.d.ts +1 -1
  114. package/dist/components/index/index.d.ts +6 -5
  115. package/dist/components/logos/index.js +1 -1
  116. package/dist/components/mosaic/index.js +1 -1
  117. package/dist/components/mosaic/mosaic.css +1 -1
  118. package/dist/components/mosaic/mosaic.schema.dereffed.json +3 -3
  119. package/dist/components/nav-dropdown/index.d.ts +1 -1
  120. package/dist/components/nav-dropdown/index.js +2 -2
  121. package/dist/components/nav-dropdown/nav-dropdown.css +12 -3
  122. package/dist/components/nav-dropdown/nav-dropdown.schema.dereffed.json +1 -1
  123. package/dist/components/nav-flyout/index.d.ts +2 -2
  124. package/dist/components/nav-flyout/index.js +6 -8
  125. package/dist/components/nav-flyout/nav-flyout.css +29 -15
  126. package/dist/components/nav-flyout/nav-flyout.schema.dereffed.json +12 -12
  127. package/dist/components/nav-main/index.d.ts +5 -5
  128. package/dist/components/nav-main/index.js +0 -2
  129. package/dist/components/nav-main/nav-main.schema.dereffed.json +15 -15
  130. package/dist/components/nav-main/nav-main.schema.json +14 -14
  131. package/dist/components/nav-toggle/index.js +1 -1
  132. package/dist/components/nav-topbar/index.d.ts +2 -2
  133. package/dist/components/nav-topbar/index.js +2 -2
  134. package/dist/components/nav-topbar/nav-topbar.css +15 -2
  135. package/dist/components/nav-topbar/nav-topbar.schema.dereffed.json +12 -12
  136. package/dist/components/page/index.d.ts +1 -1
  137. package/dist/components/page/page.schema.dereffed.json +150 -74
  138. package/dist/components/page-wrapper/index.js +42 -0
  139. package/dist/components/page-wrapper/tokens.css +425 -729
  140. package/dist/components/pagination/index.d.ts +47 -0
  141. package/dist/components/pagination/index.js +52 -0
  142. package/dist/components/pagination/pagination.css +66 -0
  143. package/dist/components/pagination/pagination.schema.dereffed.json +64 -0
  144. package/dist/components/pagination/pagination.schema.json +57 -0
  145. package/dist/components/presets.json +832 -259
  146. package/dist/components/section/index.d.ts +1 -1
  147. package/dist/components/section/index.js +11 -3
  148. package/dist/components/section/section.css +38 -58
  149. package/dist/components/section/section.schema.dereffed.json +150 -74
  150. package/dist/components/section/section.schema.json +8 -10
  151. package/dist/components/settings/settings.schema.dereffed.json +24 -24
  152. package/dist/components/slider/index.d.ts +1 -1
  153. package/dist/components/slider/slider.schema.dereffed.json +59 -26
  154. package/dist/components/split/split.css +2 -2
  155. package/dist/components/stat/index.d.ts +1 -1
  156. package/dist/components/stat/index.js +3 -12
  157. package/dist/components/stat/stat.schema.dereffed.json +3 -4
  158. package/dist/components/stat/stat.schema.json +2 -2
  159. package/dist/components/stats/stats.schema.dereffed.json +3 -4
  160. package/dist/components/teaser-card/index.d.ts +1 -1
  161. package/dist/components/teaser-card/index.js +9 -9
  162. package/dist/components/teaser-card/teaser-card.css +67 -47
  163. package/dist/components/teaser-card/teaser-card.schema.dereffed.json +4 -4
  164. package/dist/components/teaser-card/teaser-card.schema.json +4 -4
  165. package/dist/components/testimonials/index.d.ts +1 -1
  166. package/dist/components/tile/tile.schema.dereffed.json +3 -3
  167. package/dist/components/tile/tile.schema.json +2 -2
  168. package/dist/components/video-curtain/index.d.ts +1 -1
  169. package/dist/components/video-curtain/index.js +12 -4
  170. package/dist/components/video-curtain/video-curtain.css +52 -29
  171. package/dist/components/video-curtain/video-curtain.schema.dereffed.json +6 -4
  172. package/dist/components/video-curtain/video-curtain.schema.json +3 -3
  173. package/dist/global.css +283 -59
  174. package/dist/static/fonts/systemics/Montserrat-Bold.woff2 +0 -0
  175. package/dist/static/fonts/systemics/Montserrat-Light.woff2 +0 -0
  176. package/dist/static/fonts/systemics/Montserrat-Medium.woff2 +0 -0
  177. package/dist/static/fonts/systemics/Montserrat-Regular.woff2 +0 -0
  178. package/dist/static/fonts/systemics/Montserrat-SemiBold.woff2 +0 -0
  179. package/dist/static/img/about/angled-image.png +0 -0
  180. package/dist/static/img/about/cta.png +0 -0
  181. package/dist/static/img/about/cutout.png +0 -0
  182. package/dist/static/img/about/disclaimer.png +0 -0
  183. package/dist/static/img/about/purpose.png +0 -0
  184. package/dist/static/img/about/spoiler.png +0 -0
  185. package/dist/static/img/kickstartDS/CMS-Starter producthunt-slide-01.svg +72 -0
  186. package/dist/static/img/kickstartDS/CMS-Starter producthunt-slide-02.svg +112 -0
  187. package/dist/static/img/kickstartDS/CMS-Starter producthunt-slide-03.svg +197 -0
  188. package/dist/static/img/kickstartDS/CMS-Starter producthunt-slide-04.svg +76 -0
  189. package/dist/static/img/kickstartDS/CMS-Starter producthunt-slide-05.svg +82 -0
  190. package/dist/static/img/kickstartDS/CMS-Starter producthunt-slide-06.svg +219 -0
  191. package/dist/static/img/kickstartDS/CMS-Starter producthunt-slide-07.svg +85 -0
  192. package/dist/static/logo-dark.svg +13 -0
  193. package/dist/static/logo-dsa-inverted.svg +26 -0
  194. package/dist/static/logo-dsa.svg +26 -0
  195. package/dist/static/logo-inverted.svg +12 -25
  196. package/dist/static/logo.svg +12 -25
  197. package/dist/tokens/IconSprite.js +42 -0
  198. package/dist/tokens/icon-sprite.html +16 -0
  199. package/dist/tokens/themes.css +4 -4
  200. package/dist/tokens/tokens.css +425 -729
  201. package/dist/tokens/tokens.js +628 -730
  202. package/package.json +1 -1
@@ -0,0 +1,126 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "http://schema.mydesignsystem.com/event-location.schema.json",
4
+ "title": "Event Location",
5
+ "type": "object",
6
+ "properties": {
7
+ "dates": {
8
+ "title": "Dates",
9
+ "description": "List of dates of the event",
10
+ "type": "array",
11
+ "items": {
12
+ "$schema": "http://json-schema.org/draft-07/schema#",
13
+ "$id": "http://schema.mydesignsystem.com/event-appointment.schema.json",
14
+ "title": "Event Appointment",
15
+ "type": "object",
16
+ "properties": {
17
+ "date": {
18
+ "title": "Date",
19
+ "description": "Date of the appointment",
20
+ "type": "string",
21
+ "format": "date",
22
+ "examples": [
23
+ "2025-09-18"
24
+ ]
25
+ },
26
+ "time": {
27
+ "title": "Time",
28
+ "description": "Time of the appointment",
29
+ "type": "string",
30
+ "examples": [
31
+ "09:00 – 17:00"
32
+ ]
33
+ },
34
+ "label": {
35
+ "title": "CTA Label",
36
+ "description": "Label for the call to action button",
37
+ "type": "string",
38
+ "examples": [
39
+ "Register"
40
+ ]
41
+ },
42
+ "url": {
43
+ "title": "URL",
44
+ "description": "URL for the call to action button",
45
+ "type": "string",
46
+ "format": "uri",
47
+ "default": "#"
48
+ },
49
+ "newTab": {
50
+ "title": "Open in New Tab",
51
+ "description": "Whether the link should open in a new tab",
52
+ "type": "boolean",
53
+ "default": true
54
+ },
55
+ "ariaLabel": {
56
+ "title": "Aria Label",
57
+ "description": "Aria label for the link",
58
+ "type": "string",
59
+ "default": "Event Appointment"
60
+ },
61
+ "type": {
62
+ "const": "event-appointment"
63
+ }
64
+ },
65
+ "additionalProperties": false
66
+ }
67
+ },
68
+ "locationName": {
69
+ "title": "Location Name",
70
+ "description": "Name of the event location",
71
+ "type": "string",
72
+ "examples": [
73
+ "Berlin Congress Center"
74
+ ]
75
+ },
76
+ "displayMode": {
77
+ "title": "Display Mode",
78
+ "description": "Spacious is recommended for 1-2 appointments, Compact for more than 2.",
79
+ "type": "string",
80
+ "enum": [
81
+ "spacious",
82
+ "compact"
83
+ ],
84
+ "default": "spacious"
85
+ },
86
+ "address": {
87
+ "title": "Address",
88
+ "description": "Address of the appointment",
89
+ "type": "string",
90
+ "examples": [
91
+ "Berlin Congress Center<br />Alexanderplatz 1<br />10178 Berlin"
92
+ ]
93
+ },
94
+ "links": {
95
+ "title": "Links",
96
+ "description": "Links related to the event location",
97
+ "type": "array",
98
+ "items": {
99
+ "type": "object",
100
+ "properties": {
101
+ "url": {
102
+ "type": "string",
103
+ "format": "uri"
104
+ },
105
+ "label": {
106
+ "type": "string"
107
+ },
108
+ "newTab": {
109
+ "type": "boolean",
110
+ "default": true,
111
+ "description": "Open link in a new tab"
112
+ }
113
+ },
114
+ "required": [
115
+ "url",
116
+ "label"
117
+ ],
118
+ "additionalProperties": false
119
+ }
120
+ },
121
+ "type": {
122
+ "const": "event-location"
123
+ }
124
+ },
125
+ "additionalProperties": false
126
+ }
@@ -0,0 +1,61 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$id": "http://schema.mydesignsystem.com/event-location.schema.json",
4
+ "title": "Event Location",
5
+ "type": "object",
6
+ "properties": {
7
+ "dates": {
8
+ "title": "Dates",
9
+ "description": "List of dates of the event",
10
+ "type": "array",
11
+ "items": {
12
+ "$ref": "http://schema.mydesignsystem.com/event-appointment.schema.json"
13
+ }
14
+ },
15
+ "locationName": {
16
+ "title": "Location Name",
17
+ "description": "Name of the event location",
18
+ "type": "string",
19
+ "examples": ["Berlin Congress Center"]
20
+ },
21
+ "displayMode": {
22
+ "title": "Display Mode",
23
+ "description": "Spacious is recommended for 1-2 appointments, Compact for more than 2.",
24
+ "type": "string",
25
+ "enum": ["spacious", "compact"],
26
+ "default": "spacious"
27
+ },
28
+ "address": {
29
+ "title": "Address",
30
+ "description": "Address of the appointment",
31
+ "type": "string",
32
+ "examples": [
33
+ "Berlin Congress Center<br />Alexanderplatz 1<br />10178 Berlin"
34
+ ]
35
+ },
36
+ "links": {
37
+ "title": "Links",
38
+ "description": "Links related to the event location",
39
+ "type": "array",
40
+ "items": {
41
+ "type": "object",
42
+ "properties": {
43
+ "url": {
44
+ "type": "string",
45
+ "format": "uri"
46
+ },
47
+ "label": {
48
+ "type": "string"
49
+ },
50
+ "newTab": {
51
+ "type": "boolean",
52
+ "default": true,
53
+ "description": "Open link in a new tab"
54
+ }
55
+ },
56
+ "required": ["url", "label"]
57
+ }
58
+ }
59
+ },
60
+ "additionalProperties": false
61
+ }
@@ -0,0 +1,7 @@
1
+ /// <reference types="react" />
2
+ import { EventLocationProps } from "../../EventLocationProps-871bc198.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,18 @@
1
+ import "./event-location.css";
2
+ import { forwardRef, createElement, createContext, useContext } from 'react';
3
+ import { jsx, jsxs } from 'react/jsx-runtime';
4
+ import classnames from 'classnames';
5
+ import { RichText } from '@kickstartds/base/lib/rich-text';
6
+ import { Icon } from '@kickstartds/base/lib/icon';
7
+ import { EventAppointment } from '../event-appointment/index.js';
8
+ import { Container } from '@kickstartds/core/lib/container';
9
+
10
+ const EventLocationContextDefault = forwardRef(({ locationName, address, dates, links, displayMode, ...rest }, ref) => (jsx(Container, { name: "event-location", children: jsxs("div", { className: classnames("dsa-event-location", displayMode === "spacious" && `dsa-event-location--spacious`), ...rest, ref: ref, children: [address && (jsxs("div", { className: "dsa-event-location__info ", children: [jsx(Icon, { className: "dsa-event-location__icon", icon: "map-pin", "aria-hidden": true }), jsxs("div", { className: "dsa-event-location__text", 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 })))] }))] }) })));
11
+ const EventLocationContext = createContext(EventLocationContextDefault);
12
+ const EventLocation = forwardRef((props, ref) => {
13
+ const Component = useContext(EventLocationContext);
14
+ return jsx(Component, { ...props, ref: ref });
15
+ });
16
+ EventLocation.displayName = "EventLocation";
17
+
18
+ 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
  },
@@ -63,6 +63,16 @@
63
63
  "See all our partners"
64
64
  ]
65
65
  },
66
+ "icon": {
67
+ "type": "string",
68
+ "format": "icon",
69
+ "title": "Icon",
70
+ "description": "Icon for the link style of the cta",
71
+ "examples": [
72
+ "arrow-right"
73
+ ],
74
+ "default": "arrow-right"
75
+ },
66
76
  "toggle": {
67
77
  "type": "boolean",
68
78
  "title": "Call to Action Toggle",
@@ -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
  },
@@ -49,6 +49,14 @@
49
49
  "default": "See more",
50
50
  "examples": ["See all our partners"]
51
51
  },
52
+ "icon": {
53
+ "type": "string",
54
+ "format": "icon",
55
+ "title": "Icon",
56
+ "description": "Icon for the link style of the cta",
57
+ "examples": ["arrow-right"],
58
+ "default": "arrow-right"
59
+ },
52
60
  "toggle": {
53
61
  "type": "boolean",
54
62
  "title": "Call to Action Toggle",
@@ -19,13 +19,17 @@ 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
  */
28
28
  type LinkLabel = string;
29
+ /**
30
+ * Icon for the link style of the cta
31
+ */
32
+ type Icon1 = string;
29
33
  /**
30
34
  * Activate/disable the CTAs
31
35
  */
@@ -44,8 +48,9 @@ interface FeatureProps {
44
48
  * The call to action
45
49
  */
46
50
  interface CallToAction {
47
- target?: CallToActionTarget;
51
+ url?: CallToActionUrl;
48
52
  label?: LinkLabel;
53
+ icon?: Icon1;
49
54
  toggle?: CallToActionToggle;
50
55
  /**
51
56
  * Choose the style of the CTA
@@ -4,10 +4,9 @@ import classnames from 'classnames';
4
4
  import { Icon } from '@kickstartds/base/lib/icon';
5
5
  import { Button } from '../button/index.js';
6
6
  import { Link } from '@kickstartds/base/lib/link';
7
- import { RichText } from '@kickstartds/base/lib/rich-text';
8
7
  import '@kickstartds/base/lib/button';
9
8
 
10
- const FeatureContextDefault = forwardRef(({ style = "stack", title, text, icon, cta: { toggle = true, style: ctaStyle = "link", target, label = "Read more", }, ...rest }, ref) => (jsxs("div", { ...rest, ref: ref, className: classnames(`dsa-feature dsa-feature--${style === `stack`
9
+ const FeatureContextDefault = forwardRef(({ style = "stack", title, text, icon, cta, ...rest }, ref) => (jsxs("div", { ...rest, ref: ref, className: classnames(`dsa-feature dsa-feature--${style === `stack`
11
10
  ? `stack dsa-feature--large`
12
11
  : style === `besideSmall`
13
12
  ? `beside dsa-feature--small`
@@ -17,7 +16,7 @@ const FeatureContextDefault = forwardRef(({ style = "stack", title, text, icon,
17
16
  ? `intext dsa-feature--small`
18
17
  : style === `centered`
19
18
  ? `centered dsa-feature--large`
20
- : `${style}`}`), children: [jsxs("div", { className: "dsa-feature__header", children: [icon && jsx(Icon, { className: "dsa-feature__icon", icon: icon }), jsx("span", { className: "dsa-feature__title", children: title })] }), text || ctaStyle === "intext" ? (jsxs("div", { className: "dsa-feature__text", children: [jsx(RichText, { text: text }), ctaStyle === "intext" && toggle ? (jsxs(Fragment, { children: [" ", jsx(Link, { href: target, children: label ? label : "See more" })] })) : ("")] })) : (""), toggle && (ctaStyle === "link" || ctaStyle === "button") && (jsx("div", { className: "dsa-feature__cta", children: ctaStyle === "link" ? (jsxs(Link, { className: "dsa-feature__link", href: target, children: [label ? label : "See more", jsx(Icon, { icon: "arrow-right" })] })) : ctaStyle === "button" ? (jsx(Button, { className: "dsa-feature__button", size: "small", target: target, label: label ? 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" })) : ("") }))] })));
21
20
  const FeatureContext = createContext(FeatureContextDefault);
22
21
  const Feature = forwardRef((props, ref) => {
23
22
  const Component = useContext(FeatureContext);
@@ -14,7 +14,7 @@
14
14
  --dsa-feature__link--text-decoration_hover: none;
15
15
  --dsa-feature__icon--color: var(--ks-text-color-primary);
16
16
  --dsa-feature_small__icon--size: calc(var(--ks-line-height-interface-m) * var(--ks-font-size-interface-m));
17
- --dsa-feature_large__icon--size: calc(var(--ks-font-size-copy-m) * 2.5);
17
+ --dsa-feature_large__icon--size-multiplier: 2.5;
18
18
  --dsa-feature_small--gap: var(--ks-spacing-xs);
19
19
  --dsa-feature_large--gap: var(--ks-spacing-s);
20
20
  --dsa-feature_small__icon--gap: var(--ks-spacing-xs);
@@ -46,40 +46,26 @@
46
46
  justify-content: center;
47
47
  }
48
48
  .dsa-features .dsa-feature {
49
+ --dsa-feature_large__icon--size: calc(
50
+ var(--dsa-feature_small__icon--size) * var(--dsa-feature_large__icon--size-multiplier)
51
+ );
49
52
  display: flex;
50
53
  position: relative;
51
54
  flex-direction: column;
52
55
  gap: var(--dsa-feature--gap);
53
56
  }
54
57
  .dsa-features .dsa-feature--large {
55
- --dsa-feature__icon--size: var(
56
- --dsa-feature_large__icon--size,
57
- calc(var(--ks-font-size-copy-m) * 2.5)
58
- );
59
- --dsa-feature__icon--gap: var(
60
- --dsa-feature_large__icon--gap,
61
- var(--ks-spacing-xs)
62
- );
63
- --dsa-feature--gap: var(
64
- --dsa-feature_large--gap,
65
- var(--ks-spacing-stack-s)
66
- );
58
+ --dsa-feature__icon--size: var(--dsa-feature_large__icon--size, calc(var(--ks-font-size-copy-m) * 2.5));
59
+ --dsa-feature__icon--gap: var(--dsa-feature_large__icon--gap, var(--ks-spacing-xs));
60
+ --dsa-feature--gap: var(--dsa-feature_large--gap, var(--ks-spacing-stack-s));
67
61
  }
68
62
  .dsa-features .dsa-feature--small {
69
63
  --dsa-feature__icon--size: var(
70
64
  --dsa-feature_small__icon--size,
71
- calc(
72
- var(--ks-line-height-interface-m) * var(--ks-font-size-interface-m)
73
- )
74
- );
75
- --dsa-feature__icon--gap: var(
76
- --dsa-feature_small__icon--gap,
77
- var(--ks-spacing-xs)
78
- );
79
- --dsa-feature--gap: var(
80
- --dsa-feature_small--gap,
81
- var(--ks-spacing-stack-xs)
65
+ calc(var(--ks-line-height-interface-m) * var(--ks-font-size-interface-m))
82
66
  );
67
+ --dsa-feature__icon--gap: var(--dsa-feature_small__icon--gap, var(--ks-spacing-xs));
68
+ --dsa-feature--gap: var(--dsa-feature_small--gap, var(--ks-spacing-stack-xs));
83
69
  }
84
70
  .dsa-features .dsa-feature--beside {
85
71
  padding-left: calc(var(--dsa-feature__icon--size) + var(--dsa-feature__icon--gap));
@@ -89,6 +75,9 @@
89
75
  top: 0;
90
76
  left: 0;
91
77
  }
78
+ .dsa-features .dsa-feature--beside.dsa-feature--large {
79
+ padding-top: calc(var(--dsa-feature__icon--size) / 2 - var(--dsa-feature_small__icon--size) / 2);
80
+ }
92
81
  .dsa-features .dsa-feature--stack .dsa-feature__header {
93
82
  display: flex;
94
83
  flex-direction: column;
@@ -122,19 +111,10 @@
122
111
  font-weight: var(--dsa-feature__title--font-weight, var(--ks-font-weight-semi-bold));
123
112
  }
124
113
  .dsa-features .dsa-feature__text {
114
+ color: var(--dsa-feature__copy--color, var(--dsa-rich-text-color), var(--ks-text-color-default));
115
+ font: var(--dsa-feature__copy--font, var(--ks-font-copy-s));
125
116
  margin: 0;
126
117
  }
127
- .dsa-features .dsa-feature__text .c-rich-text {
128
- --c-rich-text--font: var(
129
- --dsa-feature__copy--font,
130
- var(--ks-font-copy-s)
131
- );
132
- --c-rich-text--color: var(
133
- --dsa-feature__copy--color,
134
- var(--dsa-rich-text-color),
135
- var(--ks-text-color-default)
136
- );
137
- }
138
118
  .dsa-features .dsa-feature__icon {
139
119
  color: var(--dsa-feature__icon--color, var(--ks-text-color-primary));
140
120
  width: var(--dsa-feature__icon--size);
@@ -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
  },
@@ -100,6 +100,16 @@
100
100
  "examples": [
101
101
  "See all our partners"
102
102
  ]
103
+ },
104
+ "icon": {
105
+ "type": "string",
106
+ "format": "icon",
107
+ "title": "Icon",
108
+ "description": "Icon for the link style of the cta",
109
+ "examples": [
110
+ "arrow-right"
111
+ ],
112
+ "default": "arrow-right"
103
113
  }
104
114
  },
105
115
  "additionalProperties": false
@@ -54,11 +54,14 @@
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"
62
+ },
63
+ "icon": {
64
+ "$ref": "http://schema.mydesignsystem.com/feature.schema.json#/properties/cta/properties/icon"
62
65
  }
63
66
  }
64
67
  }
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { HTMLAttributes } from "react";
3
- import { FeaturesProps } from "../../FeaturesProps-e58616a5.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>>;
@@ -7,7 +7,6 @@ import '@kickstartds/base/lib/icon';
7
7
  import '../button/index.js';
8
8
  import '@kickstartds/base/lib/button';
9
9
  import '@kickstartds/base/lib/link';
10
- import '@kickstartds/base/lib/rich-text';
11
10
 
12
11
  const FeaturesContextDefault = forwardRef(({ layout = "largeTiles", ctas = {
13
12
  style: "link",
@@ -20,9 +19,10 @@ const FeaturesContextDefault = forwardRef(({ layout = "largeTiles", ctas = {
20
19
  const { icon, title, text, cta, ...rest } = feature;
21
20
  return (createElement(Feature, { ...rest, key: index, icon: icon, style: style, title: title, text: text, cta: {
22
21
  label: cta?.label,
23
- target: cta?.target,
22
+ url: cta?.url,
24
23
  style: ctas.style,
25
24
  toggle: ctas.toggle,
25
+ icon: cta?.icon,
26
26
  } }));
27
27
  }) })));
28
28
  const FeaturesContext = createContext(FeaturesContextDefault);
@@ -27,7 +27,7 @@
27
27
  background-color: var(--dsa-footer--background-color, var(--ks-background-color-default));
28
28
  }
29
29
  .dsa-footer__content {
30
- padding: var(--l-section--space-small) var(--dsa-content--spacing);
30
+ padding: var(--l-section--space-small) var(--dsa-content--horizontal-spacing);
31
31
  border-top: var(--dsa-footer--border-top, 1px solid var(--ks-border-color-default));
32
32
  max-width: var(--dsa-footer--max-width, var(--dsa-content--width_wide));
33
33
  width: 100%;
@@ -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);
@@ -55,7 +55,8 @@
55
55
  "stack",
56
56
  "smallTiles",
57
57
  "largeTiles"
58
- ]
58
+ ],
59
+ "default": "smallTiles"
59
60
  },
60
61
  "aspectRatio": {
61
62
  "type": "string",
@@ -43,7 +43,8 @@
43
43
  "type": "string",
44
44
  "title": "Layout",
45
45
  "description": "The layout of the gallery images",
46
- "enum": ["stack", "smallTiles", "largeTiles"]
46
+ "enum": ["stack", "smallTiles", "largeTiles"],
47
+ "default": "smallTiles"
47
48
  },
48
49
  "aspectRatio": {
49
50
  "type": "string",
@@ -4,7 +4,7 @@ import { forwardRef, useMemo, createContext, useContext } from 'react';
4
4
  import classnames from 'classnames';
5
5
  import { TextMedia } from '@kickstartds/base/lib/text-media';
6
6
 
7
- const GalleryContextDefault = forwardRef(({ lightbox = false, layout = "tiles", aspectRatio = "square", images = [], ...rest }, ref) => {
7
+ const GalleryContextDefault = forwardRef(({ lightbox = false, layout = "smallTiles", aspectRatio = "square", images = [], ...rest }, ref) => {
8
8
  const galleryId = useMemo(() => `gallery-${Date.now()}`, []);
9
9
  return (jsx("div", { ...rest, ref: ref, className: `dsa-gallery`, children: jsx("div", { className: classnames(`dsa-gallery__grid`, `dsa-gallery__grid--${layout === "smallTiles"
10
10
  ? "small-tiles"