@kickstartds/ds-agency-premium 1.6.65--canary.40.1537.0 → 1.6.66

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 (41) hide show
  1. package/dist/BlogOverviewProps-1cfcf6e8.d.ts +2 -2
  2. package/dist/{BlogPostProps-1cfcf6e8.d.ts → BlogPostProps-d9decb7c.d.ts} +2 -2
  3. package/dist/{CtaProps-fd5e75dc.d.ts → CtaProps-93230a76.d.ts} +8 -13
  4. package/dist/{HtmlProps-8e95ed81.d.ts → HtmlProps-9d091769.d.ts} +6 -1
  5. package/dist/PageProps-1cfcf6e8.d.ts +1 -1
  6. package/dist/{SectionProps-1cfcf6e8.d.ts → SectionProps-03ff6d21.d.ts} +3 -3
  7. package/dist/{SliderProps-fd5e75dc.d.ts → SliderProps-93230a76.d.ts} +1 -1
  8. package/dist/components/blog-overview/blog-overview.schema.dereffed.json +30 -57
  9. package/dist/components/blog-post/blog-post.schema.dereffed.json +30 -57
  10. package/dist/components/blog-post/index.d.ts +1 -1
  11. package/dist/components/cta/cta.css +57 -37
  12. package/dist/components/cta/cta.schema.dereffed.json +8 -19
  13. package/dist/components/cta/cta.schema.json +8 -15
  14. package/dist/components/cta/index.d.ts +1 -1
  15. package/dist/components/cta/index.js +6 -4
  16. package/dist/components/footer/footer.css +1 -1
  17. package/dist/components/header/header.css +1 -1
  18. package/dist/components/hero/hero.css +2 -3
  19. package/dist/components/html/html.css +5 -1
  20. package/dist/components/html/html.schema.dereffed.json +6 -0
  21. package/dist/components/html/html.schema.json +7 -6
  22. package/dist/components/html/index.d.ts +1 -1
  23. package/dist/components/html/index.js +2 -2
  24. package/dist/components/image-story/image-story.css +2 -5
  25. package/dist/components/index/index.d.ts +1 -1
  26. package/dist/components/mosaic/mosaic.css +1 -1
  27. package/dist/components/page/page.schema.dereffed.json +22 -38
  28. package/dist/components/page-wrapper/tokens.css +1 -1
  29. package/dist/components/presets.json +54 -57
  30. package/dist/components/section/index.d.ts +1 -1
  31. package/dist/components/section/section.css +2 -2
  32. package/dist/components/section/section.schema.dereffed.json +22 -38
  33. package/dist/components/slider/index.d.ts +1 -1
  34. package/dist/components/slider/slider.schema.dereffed.json +8 -19
  35. package/dist/components/split/split.css +2 -2
  36. package/dist/components/testimonials/index.d.ts +1 -1
  37. package/dist/global.css +2 -3
  38. package/dist/tokens/themes.css +4 -4
  39. package/dist/tokens/tokens.css +1 -1
  40. package/dist/tokens/tokens.js +1 -1
  41. package/package.json +1 -1
@@ -1,15 +1,12 @@
1
1
  .dsa-cta {
2
- --dsa-cta--gap: var(--ks-spacing-stack-l) var(--ks-spacing-inline-l);
3
- --dsa-cta__content--vertical-padding: var(--dsa-content--vertical-spacing);
4
- --dsa-cta__content--horizontal-padding: var(--dsa-content--horizontal-spacing);
5
- --dsa-cta__content--max-width: var(--dsa-content--width_narrow);
2
+ --dsa-cta--vertical-padding: var(--l-section--space-default);
3
+ --dsa-cta--horizontal-padding: var(--dsa-content--spacing);
6
4
  --dsa-cta__copy--font: var(--dsa-rich-text--font);
7
5
  --dsa-cta__copy--color: var(--ks-text-color-default);
8
6
  --dsa-cta__headline--color: var(--dsa-headline--color);
9
7
  --dsa-cta__headline--font: var(--dsa-headline_h2--font);
10
8
  --dsa-cta__subheadline--color: var(--dsa-headline__subheadline--color);
11
9
  --dsa-cta__subheadline--font: var(--dsa-headline_h2__subheadline--font);
12
- --dsa-cta__image--padding: var(--ks-spacing-inset-m);
13
10
  --dsa-cta_color-neutral__headline--color: var(--ks-text-color-default);
14
11
  --dsa-cta_color-neutral__subheadline--color: var(--ks-text-color-default);
15
12
  --dsa-cta_color-neutral__copy--color: var(--ks-text-color-default);
@@ -19,11 +16,11 @@
19
16
  }
20
17
 
21
18
  .dsa-cta.c-storytelling {
22
- --c-storytelling--horizontal-padding: var(--dsa-cta__content--horizontal-padding);
23
- --c-storytelling--vertical-padding: var(--dsa-cta__content--vertical-padding);
19
+ --c-storytelling--padding-ratio: 2;
20
+ --c-storytelling--horizontal-padding: var(--dsa-content--spacing);
24
21
  justify-content: center;
25
22
  align-items: stretch;
26
- gap: var(--dsa-cta--gap, var(--ks-spacing-inline-m));
23
+ padding: 0;
27
24
  }
28
25
  .dsa-cta.c-storytelling.dsa-cta--color-neutral {
29
26
  --dsa-cta__copy--color: var(--dsa-cta_color-neutral__copy--color, var(--ks-text-color-default));
@@ -38,19 +35,34 @@
38
35
  var(--dsa-headline_h1__subheadline--font)
39
36
  );
40
37
  }
41
- .dsa-cta.c-storytelling.dsa-cta--no-padding .c-storytelling__box {
42
- padding: 0;
38
+ .dsa-cta.c-storytelling.c-storytelling--full {
39
+ --c-storytelling--padding-ratio: 1;
43
40
  }
44
- .dsa-cta.c-storytelling.dsa-cta--image-padding .c-storytelling__image {
45
- padding: var(--dsa-cta__content--vertical-padding, var(--dsa-content--vertical-spacing)) var(--dsa-cta__content--horizontal-padding, var(--dsa-content--horizontal-spacing));
41
+ .dsa-cta.c-storytelling.c-storytelling--full.c-storytelling--order-desktop-image-last .c-storytelling__box {
42
+ padding-left: var(--dsa-cta--horizontal-padding);
46
43
  }
47
- .dsa-cta.c-storytelling .c-storytelling__box__content {
48
- max-width: var(--dsa-cta__content--max-width, var(--dsa-content--width_narrow));
44
+ .dsa-cta.c-storytelling.dsa-cta--align-top {
45
+ align-items: flex-start;
46
+ }
47
+ .dsa-cta.c-storytelling.dsa-cta--align-bottom {
48
+ align-items: flex-end;
49
+ }
50
+ .dsa-cta.c-storytelling .c-storytelling__box {
51
+ width: 100%;
52
+ padding: var(--dsa-cta--vertical-padding, var(--l-section--space-default)) var(--dsa-cta--horizontal-padding, var(--dsa-content--spacing));
53
+ }
54
+ @container storytelling (max-width: 640px) {
55
+ .dsa-cta.c-storytelling .c-storytelling__box {
56
+ padding-top: calc(var(--dsa-cta--vertical-padding, var(--l-section--space-default)) / var(--c-storytelling--padding-ratio));
57
+ }
58
+ .dsa-cta.c-storytelling .c-storytelling__box:only-child {
59
+ padding-top: var(--dsa-cta--vertical-padding, var(--l-section--space-default));
60
+ }
49
61
  }
50
62
  .dsa-cta.c-storytelling .c-storytelling__box:only-child {
51
- --c-storytelling--horizontal-padding: var(--dsa-cta__content--horizontal-padding);
63
+ padding: var(--dsa-cta--vertical-padding, var(--l-section--space-default)) var(--dsa-cta--horizontal-padding, var(--dsa-content--spacing));
52
64
  }
53
- .dsa-cta.c-storytelling .c-storytelling__box:only-child .c-storytelling__box__content {
65
+ .dsa-cta.c-storytelling .c-storytelling__box__content {
54
66
  max-width: 100%;
55
67
  }
56
68
  .dsa-cta.c-storytelling .c-storytelling__box .dsa-headline__headline {
@@ -67,42 +79,50 @@
67
79
  font: var(--dsa-cta__copy--font, var(--dsa-rich-text--font, var(--ks-font-copy-m)));
68
80
  color: var(--dsa-cta__copy--color, var(--dsa-rich-text--color, var(--ks-text-color-copy)));
69
81
  }
70
- .dsa-cta.c-storytelling > .c-storytelling__image {
82
+ .dsa-cta.c-storytelling .c-storytelling__box:only-child {
83
+ --dsa-cta--horizontal-padding: var(--dsa-content--spacing);
84
+ }
85
+ .dsa-cta.c-storytelling .c-storytelling__image {
71
86
  margin: 0;
72
87
  }
73
- @container storytelling (max-width: 639.9px) {
74
- .dsa-cta.c-storytelling.c-storytelling--order-mobile-image-last .c-storytelling__box {
75
- padding-bottom: 0;
88
+ @container storytelling (min-width: 640px) {
89
+ .dsa-cta.c-storytelling.c-storytelling--order-desktop-image-last .c-storytelling__image {
90
+ padding-left: calc(var(--dsa-cta--horizontal-padding, var(--dsa-content--spacing)) / var(--c-storytelling--padding-ratio));
76
91
  }
77
- .dsa-cta.c-storytelling.c-storytelling--order-mobile-image-last .c-storytelling__image {
78
- padding-top: 0;
92
+ .dsa-cta.c-storytelling.c-storytelling--order-desktop-image-last .c-storytelling__box {
93
+ padding-right: calc(var(--dsa-cta--horizontal-padding, var(--dsa-content--spacing)) / var(--c-storytelling--padding-ratio));
79
94
  }
80
- .dsa-cta.c-storytelling:not(.c-storytelling--order-mobile-image-last) .c-storytelling__box:not(:only-child) {
81
- padding-top: 0;
95
+ .dsa-cta.c-storytelling .c-storytelling__box {
96
+ padding-left: calc(var(--dsa-cta--horizontal-padding, var(--dsa-content--spacing)) / var(--c-storytelling--padding-ratio));
82
97
  }
83
- .dsa-cta.c-storytelling:not(.c-storytelling--order-mobile-image-last) .c-storytelling__image {
84
- padding-bottom: 0;
98
+ .dsa-cta.c-storytelling .c-storytelling__box__content--center .c-button-group {
99
+ justify-content: center;
85
100
  }
86
- }
87
- @container storytelling (min-width: 640px) {
88
- .dsa-cta.c-storytelling.c-storytelling--order-desktop-image-last .c-storytelling__box:not(:only-child) {
89
- padding-right: 0;
101
+ .dsa-cta.c-storytelling .c-storytelling__box:only-child {
102
+ width: 100%;
103
+ max-width: calc(var(--dsa-content--width_default) - var(--dsa-content--spacing) * var(--c-storytelling--padding-ratio));
90
104
  }
91
- .dsa-cta.c-storytelling.c-storytelling--order-desktop-image-last .c-storytelling__image {
92
- padding-left: 0;
105
+ .dsa-cta.c-storytelling > .c-storytelling__image {
106
+ padding: var(--dsa-cta--vertical-padding, var(--l-section--space-default)) var(--dsa-cta--horizontal-padding, var(--dsa-content--spacing));
107
+ padding-right: calc(var(--dsa-cta--horizontal-padding, var(--dsa-content--spacing)) / var(--c-storytelling--padding-ratio));
108
+ }
109
+ .dsa-cta.c-storytelling.c-storytelling--full > .c-storytelling__image {
110
+ padding: 0;
93
111
  }
94
- .dsa-cta.c-storytelling:not(.c-storytelling--order-desktop-image-last) .c-storytelling__box {
95
- padding-left: 0;
112
+ .dsa-cta.c-storytelling > .c-storytelling__image,
113
+ .dsa-cta.c-storytelling > .c-storytelling__box {
114
+ max-width: calc(var(--dsa-content--width_wide) / 2);
96
115
  }
97
- .dsa-cta.c-storytelling:not(.c-storytelling--order-desktop-image-last) .c-storytelling__image {
98
- padding-right: 0;
116
+ .dsa-cta.c-storytelling.dsa-cta--full-width > .c-storytelling__image,
117
+ .dsa-cta.c-storytelling.dsa-cta--full-width > .c-storytelling__box {
118
+ max-width: 100%;
99
119
  }
100
120
  }
101
121
 
102
122
  @media (min-width: 640px) {
103
123
  .dsa-header--floating + .l-container--storytelling .c-storytelling.dsa-cta,
104
124
  .dsa-header--floating + .l-section .l-container--storytelling:first-child .c-storytelling.dsa-cta {
105
- padding-top: calc(var(--dsa-header--height) + var(--dsa-cta__content--horizontal-padding, var(--dsa-content--horizontal-spacing)));
125
+ padding-top: calc(var(--dsa-header--height) + var(--dsa-cta--horizontal-padding, var(--dsa-content--spacing)));
106
126
  z-index: 1;
107
127
  }
108
128
  }
@@ -40,6 +40,12 @@
40
40
  "default": false,
41
41
  "type": "boolean"
42
42
  },
43
+ "fullWidth": {
44
+ "title": "Width",
45
+ "description": "Set the width of the content to the full width of the element",
46
+ "type": "boolean",
47
+ "default": false
48
+ },
43
49
  "buttons": {
44
50
  "type": "array",
45
51
  "items": {
@@ -103,17 +109,6 @@
103
109
  "title": "Alt text",
104
110
  "description": "Image description",
105
111
  "type": "string"
106
- },
107
- "align": {
108
- "title": "Vertical alignment of the image",
109
- "description": "Select a vertical alignment for the image",
110
- "type": "string",
111
- "enum": [
112
- "center",
113
- "top",
114
- "bottom"
115
- ],
116
- "default": "center"
117
112
  }
118
113
  },
119
114
  "additionalProperties": false
@@ -148,9 +143,9 @@
148
143
  "type": "string",
149
144
  "default": "left"
150
145
  },
151
- "align": {
146
+ "contentAlign": {
152
147
  "title": "Vertical alignment of the content",
153
- "description": "Select a vertical alignment for the content",
148
+ "description": "Select a vertical alignment for the image",
154
149
  "type": "string",
155
150
  "enum": [
156
151
  "center",
@@ -159,12 +154,6 @@
159
154
  ],
160
155
  "default": "center"
161
156
  },
162
- "padding": {
163
- "title": "Padding",
164
- "description": "Toggle padding of the content",
165
- "type": "boolean",
166
- "default": false
167
- },
168
157
  "type": {
169
158
  "const": "cta"
170
159
  }
@@ -36,6 +36,12 @@
36
36
  "default": false,
37
37
  "type": "boolean"
38
38
  },
39
+ "fullWidth": {
40
+ "title": "Width",
41
+ "description": "Set the width of the content to the full width of the element",
42
+ "type": "boolean",
43
+ "default": false
44
+ },
39
45
  "buttons": {
40
46
  "type": "array",
41
47
  "items": {
@@ -81,13 +87,6 @@
81
87
  "title": "Alt text",
82
88
  "description": "Image description",
83
89
  "type": "string"
84
- },
85
- "align": {
86
- "title": "Vertical alignment of the image",
87
- "description": "Select a vertical alignment for the image",
88
- "type": "string",
89
- "enum": ["center", "top", "bottom"],
90
- "default": "center"
91
90
  }
92
91
  },
93
92
  "additionalProperties": false
@@ -119,18 +118,12 @@
119
118
  "type": "string",
120
119
  "default": "left"
121
120
  },
122
- "align": {
121
+ "contentAlign": {
123
122
  "title": "Vertical alignment of the content",
124
- "description": "Select a vertical alignment for the content",
123
+ "description": "Select a vertical alignment for the image",
125
124
  "type": "string",
126
125
  "enum": ["center", "top", "bottom"],
127
126
  "default": "center"
128
- },
129
- "padding": {
130
- "title": "Padding",
131
- "description": "Toggle padding of the content",
132
- "type": "boolean",
133
- "default": false
134
127
  }
135
128
  },
136
129
  "additionalProperties": false
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { HTMLAttributes } from "react";
3
- import { CtaProps } from "../../CtaProps-fd5e75dc.js";
3
+ import { CtaProps } from "../../CtaProps-93230a76.js";
4
4
  declare const CtaContextDefault: import("react").ForwardRefExoticComponent<CtaProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
5
5
  declare const CtaContext: import("react").Context<import("react").ForwardRefExoticComponent<CtaProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>>;
6
6
  declare const Cta: import("react").ForwardRefExoticComponent<CtaProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
@@ -7,20 +7,22 @@ import classnames from 'classnames';
7
7
  import { useButtonGroup } from '../button-group/index.js';
8
8
  import '@kickstartds/base/lib/button-group';
9
9
 
10
- const CtaContextDefault = forwardRef(({ headline, highlightText = false, sub, image, text, textAlign, backgroundImage, backgroundColor, colorNeutral, align, padding, order, buttons = [], ...rest }, ref) => {
10
+ const CtaContextDefault = forwardRef(({ headline, highlightText = false, sub, image, text, textAlign, backgroundImage, backgroundColor, colorNeutral, contentAlign, order, fullWidth = false, buttons = [], ...rest }, ref) => {
11
11
  const ButtonGroup = useButtonGroup();
12
12
  return (jsx(ButtonContext.Provider
13
13
  // @ts-expect-error
14
14
  , {
15
15
  // @ts-expect-error
16
- value: ButtonGroup, children: jsx(Storytelling, { ...rest, ref: ref, className: classnames("dsa-cta", highlightText ? `dsa-cta--highlight-text` : "", colorNeutral ? `dsa-cta--color-neutral` : "", image?.padding ? `dsa-cta--image-padding` : "", !padding ? `dsa-cta--no-padding` : "", align && align !== "center" ? `dsa-cta--align-${align}` : ""), backgroundImage: backgroundImage, backgroundColor: backgroundColor, full: true, image: {
16
+ value: ButtonGroup, children: jsx(Storytelling, { ...rest, ref: ref, className: classnames("dsa-cta", fullWidth ? `dsa-cta--full-width` : "", highlightText ? `dsa-cta--highlight-text` : "", colorNeutral ? `dsa-cta--color-neutral` : "", contentAlign && contentAlign !== "center"
17
+ ? `dsa-cta--align-${contentAlign}`
18
+ : ""), backgroundImage: backgroundImage, backgroundColor: backgroundColor, full: image?.padding === false, image: {
17
19
  source: image?.src,
18
20
  order: order,
19
- vAlign: image?.align,
21
+ vAlign: contentAlign,
20
22
  }, box: {
21
23
  text: text,
22
24
  textAlign: textAlign,
23
- vAlign: align,
25
+ vAlign: contentAlign,
24
26
  link: {
25
27
  buttons,
26
28
  colorNeutral: colorNeutral,
@@ -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--horizontal-spacing);
30
+ padding: var(--l-section--space-small) var(--dsa-content--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%;
@@ -9,7 +9,7 @@
9
9
  [ks-theme],
10
10
  [ks-inverted] {
11
11
  --dsa-header--spacing-vertical: var(--ks-spacing-stack-s);
12
- --dsa-header--spacing-horizontal: var(--dsa-content--horizontal-spacing);
12
+ --dsa-header--spacing-horizontal: var(--dsa-content--spacing);
13
13
  }
14
14
  }
15
15
 
@@ -17,7 +17,6 @@
17
17
  --dsa-hero__textbox--background-color: var(--ks-color-bg-alpha-2);
18
18
  --dsa-hero__textbox--border-radius: var(--ks-border-radius-surface);
19
19
  --dsa-hero__textbox--max-width: var(--dsa-content--width_narrow);
20
- --dsa-hero_below__textbox--max-width: var(--dsa-content--width_default);
21
20
  --dsa-hero__textbox--padding: var(--ks-spacing-inset-squish-xl);
22
21
  --dsa-hero__overlay--background: linear-gradient(0deg, var(--ks-background-color-default) 15%, transparent 50%);
23
22
  }
@@ -115,12 +114,12 @@
115
114
  height: var(--c-visual--min-height);
116
115
  }
117
116
  .c-visual.dsa-hero.dsa-hero--content-below .c-visual__content {
118
- padding: 0 var(--dsa-content--horizontal-spacing);
117
+ padding: 0 var(--dsa-content--spacing);
119
118
  margin-top: -10%;
120
119
  position: relative;
121
120
  }
122
121
  .c-visual.dsa-hero.dsa-hero--content-below .c-visual__content .c-visual__box {
123
- --c-visual_box--max-width: var(--dsa-hero_below__textbox--max-width, var(--dsa-content--width_default));
122
+ --c-visual_box--max-width: var(--dsa-content--width_default);
124
123
  }
125
124
  .c-visual.dsa-hero.c-visual--no-crop {
126
125
  --c-visual--min-height: 0;
@@ -1,6 +1,7 @@
1
1
  .dsa-html {
2
2
  --dsa-html__consent--color: var(--ks-text-color-display);
3
3
  --dsa-html__consent--font: var(--ks-font-copy-m);
4
+ --dsa-html__consent--font-weight: var(--ks-font-weight-regular);
4
5
  --dsa-html__consent--background: var(--ks-color-fg-inverted-alpha-4);
5
6
  }
6
7
 
@@ -8,17 +9,20 @@
8
9
  position: relative;
9
10
  width: 100%;
10
11
  height: 100%;
11
- gap: var(--ks-spacing-stack-s);
12
12
  display: flex;
13
13
  align-items: center;
14
14
  flex-direction: column;
15
15
  justify-content: center;
16
+ gap: var(--ks-spacing-stack-s);
16
17
  background-position: center;
17
18
  background-size: cover;
19
+ padding: var(--ks-spacing-inset-l);
18
20
  }
19
21
  .dsa-html__consent .c-rich-text {
20
22
  color: var(--dsa-html__consent--color, var(--ks-text-color-display));
21
23
  font: var(--dsa-html__consent--font, var(--ks-font-interface-m));
24
+ font-weight: var(--dsa-html__consent--font-weight, var(--ks-font-weight-regular));
25
+ text-align: center;
22
26
  }
23
27
  .dsa-html__consent:after {
24
28
  content: "";
@@ -37,6 +37,12 @@
37
37
  ],
38
38
  "default": "16:9"
39
39
  },
40
+ "inverted": {
41
+ "title": "Inverted",
42
+ "description": "Invert the colors of the HTML",
43
+ "type": "boolean",
44
+ "default": false
45
+ },
40
46
  "className": {
41
47
  "title": "Additional Classes",
42
48
  "description": "Add additional css classes that should be applied to the element",
@@ -29,14 +29,15 @@
29
29
  },
30
30
  "consentAspectRatio": {
31
31
  "type": "string",
32
- "enum": [
33
- "16:9",
34
- "16:10",
35
- "4:3",
36
- "1:1"
37
- ],
32
+ "enum": ["16:9", "16:10", "4:3", "1:1"],
38
33
  "default": "16:9"
39
34
  },
35
+ "inverted": {
36
+ "title": "Inverted",
37
+ "description": "Invert the colors of the HTML",
38
+ "type": "boolean",
39
+ "default": false
40
+ },
40
41
  "className": {
41
42
  "title": "Additional Classes",
42
43
  "description": "Add additional css classes that should be applied to the element",
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { HTMLAttributes } from "react";
3
- import { HtmlProps } from "../../HtmlProps-8e95ed81.js";
3
+ import { HtmlProps } from "../../HtmlProps-9d091769.js";
4
4
  declare const HtmlContextDefault: import("react").ForwardRefExoticComponent<HtmlProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
5
5
  declare const HtmlContext: import("react").Context<import("react").ForwardRefExoticComponent<HtmlProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>>;
6
6
  declare const Html: import("react").ForwardRefExoticComponent<HtmlProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
@@ -7,8 +7,8 @@ import { RichText } from '@kickstartds/base/lib/rich-text';
7
7
  import './Html.client.js';
8
8
  import '@kickstartds/core/lib/component';
9
9
 
10
- const HtmlContextDefault = forwardRef(({ html, consent, consentText, consentBackgroundImage, consentButtonLabel, consentAspectRatio = "16:9", className, component = "dsa.html", ...props }, ref) => {
11
- return (jsxs("div", { ref: ref, className: classnames("dsa-html", className), "ks-component": component, ...props, children: [jsx("template", { dangerouslySetInnerHTML: { __html: html } }), consent && (jsxs("div", { style: {
10
+ const HtmlContextDefault = forwardRef(({ html, consent, consentText, consentBackgroundImage, consentButtonLabel, consentAspectRatio = "16:9", inverted, className, component = "dsa.html", ...props }, ref) => {
11
+ return (jsxs("div", { ref: ref, className: classnames("dsa-html", className), "ks-component": component, "ks-inverted": inverted ? "true" : undefined, ...props, children: [jsx("template", { dangerouslySetInnerHTML: { __html: html } }), consent && (jsxs("div", { style: {
12
12
  backgroundImage: consentBackgroundImage
13
13
  ? `url(${consentBackgroundImage})`
14
14
  : undefined,
@@ -1,6 +1,6 @@
1
1
  .dsa-image-story.c-storytelling {
2
2
  --dsa-image-story--gap: var(--ks-spacing-m);
3
- --dsa-image-story--horizontal-padding: var(--dsa-content--horizontal-spacing);
3
+ --dsa-image-story--horizontal-padding: var(--dsa-content--spacing);
4
4
  --dsa-image-story--vertical-padding: var(--ks-spacing-xl);
5
5
  --dsa-image-story__copy--font: var(--dsa-rich-text--font);
6
6
  --dsa-image-story__copy--color: var(--dsa-rich-text--color);
@@ -8,10 +8,7 @@
8
8
 
9
9
  .c-storytelling.dsa-image-story {
10
10
  gap: var(--c-storytelling--horizontal-padding);
11
- --c-storytelling--horizontal-padding: var(
12
- --dsa-image-story--horizontal-padding,
13
- var(--dsa-content--horizontal-spacing)
14
- );
11
+ --c-storytelling--horizontal-padding: var(--dsa-image-story--horizontal-padding, var(--dsa-content--spacing));
15
12
  --c-storytelling--vertical-padding: var(--dsa-image-story--vertical-padding, var(--ks-spacing-xl));
16
13
  }
17
14
  .c-storytelling.dsa-image-story .c-storytelling__box__content {
@@ -29,7 +29,7 @@ interface SettingsProps {
29
29
  seo: SeoProps;
30
30
  iconSprite?: IconSprite;
31
31
  }
32
- export * from "../../BlogPostProps-1cfcf6e8.js";
32
+ export * from "../../BlogPostProps-d9decb7c.js";
33
33
  export * from "../../BlogOverviewProps-1cfcf6e8.js";
34
34
  export * from "../../PageProps-1cfcf6e8.js";
35
35
  export { IconSprite, SettingsProps };
@@ -1,6 +1,6 @@
1
1
  .dsa-mosaic {
2
2
  --dsa-mosaic--vertical-padding: var(--l-section--space-default);
3
- --dsa-mosaic--horizontal-padding: var(--dsa-content--horizontal-spacing);
3
+ --dsa-mosaic--horizontal-padding: var(--dsa-content--spacing);
4
4
  --dsa-mosaic__copy--font: var(--dsa-rich-text--font);
5
5
  --dsa-mosaic__copy--color: var(--ks-text-color-default);
6
6
  --dsa-mosaic__headline--color: var(--dsa-headline--color);
@@ -282,6 +282,12 @@
282
282
  "default": false,
283
283
  "type": "boolean"
284
284
  },
285
+ "fullWidth": {
286
+ "title": "Width",
287
+ "description": "Set the width of the content to the full width of the element",
288
+ "type": "boolean",
289
+ "default": false
290
+ },
285
291
  "buttons": {
286
292
  "type": "array",
287
293
  "items": {
@@ -345,17 +351,6 @@
345
351
  "title": "Alt text",
346
352
  "description": "Image description",
347
353
  "type": "string"
348
- },
349
- "align": {
350
- "title": "Vertical alignment of the image",
351
- "description": "Select a vertical alignment for the image",
352
- "type": "string",
353
- "enum": [
354
- "center",
355
- "top",
356
- "bottom"
357
- ],
358
- "default": "center"
359
354
  }
360
355
  },
361
356
  "additionalProperties": false
@@ -390,9 +385,9 @@
390
385
  "type": "string",
391
386
  "default": "left"
392
387
  },
393
- "align": {
388
+ "contentAlign": {
394
389
  "title": "Vertical alignment of the content",
395
- "description": "Select a vertical alignment for the content",
390
+ "description": "Select a vertical alignment for the image",
396
391
  "type": "string",
397
392
  "enum": [
398
393
  "center",
@@ -401,12 +396,6 @@
401
396
  ],
402
397
  "default": "center"
403
398
  },
404
- "padding": {
405
- "title": "Padding",
406
- "description": "Toggle padding of the content",
407
- "type": "boolean",
408
- "default": false
409
- },
410
399
  "type": {
411
400
  "const": "cta"
412
401
  }
@@ -910,6 +899,12 @@
910
899
  ],
911
900
  "default": "16:9"
912
901
  },
902
+ "inverted": {
903
+ "title": "Inverted",
904
+ "description": "Invert the colors of the HTML",
905
+ "type": "boolean",
906
+ "default": false
907
+ },
913
908
  "className": {
914
909
  "title": "Additional Classes",
915
910
  "description": "Add additional css classes that should be applied to the element",
@@ -1549,6 +1544,12 @@
1549
1544
  "default": false,
1550
1545
  "type": "boolean"
1551
1546
  },
1547
+ "fullWidth": {
1548
+ "title": "Width",
1549
+ "description": "Set the width of the content to the full width of the element",
1550
+ "type": "boolean",
1551
+ "default": false
1552
+ },
1552
1553
  "buttons": {
1553
1554
  "type": "array",
1554
1555
  "items": {
@@ -1612,17 +1613,6 @@
1612
1613
  "title": "Alt text",
1613
1614
  "description": "Image description",
1614
1615
  "type": "string"
1615
- },
1616
- "align": {
1617
- "title": "Vertical alignment of the image",
1618
- "description": "Select a vertical alignment for the image",
1619
- "type": "string",
1620
- "enum": [
1621
- "center",
1622
- "top",
1623
- "bottom"
1624
- ],
1625
- "default": "center"
1626
1616
  }
1627
1617
  },
1628
1618
  "additionalProperties": false
@@ -1657,9 +1647,9 @@
1657
1647
  "type": "string",
1658
1648
  "default": "left"
1659
1649
  },
1660
- "align": {
1650
+ "contentAlign": {
1661
1651
  "title": "Vertical alignment of the content",
1662
- "description": "Select a vertical alignment for the content",
1652
+ "description": "Select a vertical alignment for the image",
1663
1653
  "type": "string",
1664
1654
  "enum": [
1665
1655
  "center",
@@ -1668,12 +1658,6 @@
1668
1658
  ],
1669
1659
  "default": "center"
1670
1660
  },
1671
- "padding": {
1672
- "title": "Padding",
1673
- "description": "Toggle padding of the content",
1674
- "type": "boolean",
1675
- "default": false
1676
- },
1677
1661
  "type": {
1678
1662
  "const": "cta"
1679
1663
  }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Wed, 29 Jan 2025 08:51:33 GMT
3
+ * Generated on Tue, 04 Feb 2025 15:36:35 GMT
4
4
  */
5
5
  :root, [ks-theme] {
6
6
  --ks-background-color-accent-base: var(--ks-color-primary-to-bg-8-base);