@kickstartds/ds-agency-premium 1.6.58 → 1.6.59--canary.40.1490.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 (39) hide show
  1. package/dist/{BlogOverviewProps-9f207f1c.d.ts → BlogOverviewProps-1cfcf6e8.d.ts} +2 -2
  2. package/dist/{BlogPostProps-6b3cff22.d.ts → BlogPostProps-d9decb7c.d.ts} +2 -2
  3. package/dist/{CtaProps-93230a76.d.ts → CtaProps-02e33bf1.d.ts} +8 -8
  4. package/dist/{PageProps-aa29c554.d.ts → PageProps-1cfcf6e8.d.ts} +1 -1
  5. package/dist/{SectionProps-1cfcf6e8.d.ts → SectionProps-03ff6d21.d.ts} +3 -3
  6. package/dist/{SliderProps-93230a76.d.ts → SliderProps-02e33bf1.d.ts} +1 -1
  7. package/dist/components/blog-overview/blog-overview.schema.dereffed.json +39 -24
  8. package/dist/components/blog-overview/index.d.ts +1 -1
  9. package/dist/components/blog-post/blog-post.schema.dereffed.json +39 -24
  10. package/dist/components/blog-post/index.d.ts +1 -1
  11. package/dist/components/cta/cta.css +35 -61
  12. package/dist/components/cta/cta.schema.dereffed.json +13 -8
  13. package/dist/components/cta/cta.schema.json +9 -8
  14. package/dist/components/cta/index.d.ts +1 -1
  15. package/dist/components/cta/index.js +4 -6
  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 +3 -2
  19. package/dist/components/image-story/image-story.css +5 -2
  20. package/dist/components/image-story/index.d.ts +1 -1
  21. package/dist/components/index/index.d.ts +3 -3
  22. package/dist/components/mosaic/mosaic.css +1 -1
  23. package/dist/components/page/index.d.ts +1 -1
  24. package/dist/components/page/page.schema.dereffed.json +26 -16
  25. package/dist/components/page-wrapper/tokens.css +1 -1
  26. package/dist/components/presets.json +45 -49
  27. package/dist/components/section/index.d.ts +1 -1
  28. package/dist/components/section/section.css +2 -2
  29. package/dist/components/section/section.schema.dereffed.json +26 -16
  30. package/dist/components/slider/index.d.ts +1 -1
  31. package/dist/components/slider/slider.schema.dereffed.json +13 -8
  32. package/dist/components/split/split.css +2 -2
  33. package/dist/components/testimonials/index.d.ts +1 -1
  34. package/dist/global.css +15 -6
  35. package/dist/tokens/themes.css +4 -4
  36. package/dist/tokens/tokens.css +1 -1
  37. package/dist/tokens/tokens.js +1 -1
  38. package/package.json +1 -1
  39. /package/dist/{ImageStoryProps-e853e1e7.d.ts → ImageStoryProps-03ff6d21.d.ts} +0 -0
@@ -7,22 +7,20 @@ 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, contentAlign, order, fullWidth = false, buttons = [], ...rest }, ref) => {
10
+ const CtaContextDefault = forwardRef(({ headline, highlightText = false, sub, image, text, textAlign, backgroundImage, backgroundColor, colorNeutral, align, order, 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", 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: {
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` : "", !backgroundImage && !backgroundColor ? `dsa-cta--no-padding` : "", align && align !== "center" ? `dsa-cta--align-${align}` : ""), backgroundImage: backgroundImage, backgroundColor: backgroundColor, full: true, image: {
19
17
  source: image?.src,
20
18
  order: order,
21
- vAlign: contentAlign,
19
+ vAlign: image?.align,
22
20
  }, box: {
23
21
  text: text,
24
22
  textAlign: textAlign,
25
- vAlign: contentAlign,
23
+ vAlign: align,
26
24
  link: {
27
25
  buttons,
28
26
  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--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%;
@@ -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--spacing);
12
+ --dsa-header--spacing-horizontal: var(--dsa-content--horizontal-spacing);
13
13
  }
14
14
  }
15
15
 
@@ -17,6 +17,7 @@
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);
20
21
  --dsa-hero__textbox--padding: var(--ks-spacing-inset-squish-xl);
21
22
  --dsa-hero__overlay--background: linear-gradient(0deg, var(--ks-background-color-default) 15%, transparent 50%);
22
23
  }
@@ -114,12 +115,12 @@
114
115
  height: var(--c-visual--min-height);
115
116
  }
116
117
  .c-visual.dsa-hero.dsa-hero--content-below .c-visual__content {
117
- padding: 0 var(--dsa-content--spacing);
118
+ padding: 0 var(--dsa-content--horizontal-spacing);
118
119
  margin-top: -10%;
119
120
  position: relative;
120
121
  }
121
122
  .c-visual.dsa-hero.dsa-hero--content-below .c-visual__content .c-visual__box {
122
- --c-visual_box--max-width: var(--dsa-content--width_default);
123
+ --c-visual_box--max-width: var(--dsa-hero_below__textbox--max-width, var(--dsa-content--width_default));
123
124
  }
124
125
  @container visual (min-width: 640px) {
125
126
  .c-visual.dsa-hero.dsa-hero--content-below.c-visual--no-crop .c-visual__media .c-visual__image {
@@ -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--spacing);
3
+ --dsa-image-story--horizontal-padding: var(--dsa-content--horizontal-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,7 +8,10 @@
8
8
 
9
9
  .c-storytelling.dsa-image-story {
10
10
  gap: var(--c-storytelling--horizontal-padding);
11
- --c-storytelling--horizontal-padding: var(--dsa-image-story--horizontal-padding, var(--dsa-content--spacing));
11
+ --c-storytelling--horizontal-padding: var(
12
+ --dsa-image-story--horizontal-padding,
13
+ var(--dsa-content--horizontal-spacing)
14
+ );
12
15
  --c-storytelling--vertical-padding: var(--dsa-image-story--vertical-padding, var(--ks-spacing-xl));
13
16
  }
14
17
  .c-storytelling.dsa-image-story .c-storytelling__box__content {
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { HTMLAttributes } from "react";
3
- import { ImageStoryProps } from "../../ImageStoryProps-e853e1e7.js";
3
+ import { ImageStoryProps } from "../../ImageStoryProps-03ff6d21.js";
4
4
  declare const ImageStoryContextDefault: import("react").ForwardRefExoticComponent<ImageStoryProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
5
5
  declare const ImageStoryContext: import("react").Context<import("react").ForwardRefExoticComponent<ImageStoryProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>>;
6
6
  declare const ImageStory: import("react").ForwardRefExoticComponent<ImageStoryProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
@@ -29,7 +29,7 @@ interface SettingsProps {
29
29
  seo: SeoProps;
30
30
  iconSprite?: IconSprite;
31
31
  }
32
- export * from "../../BlogPostProps-6b3cff22.js";
33
- export * from "../../BlogOverviewProps-9f207f1c.js";
34
- export * from "../../PageProps-aa29c554.js";
32
+ export * from "../../BlogPostProps-d9decb7c.js";
33
+ export * from "../../BlogOverviewProps-1cfcf6e8.js";
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--spacing);
3
+ --dsa-mosaic--horizontal-padding: var(--dsa-content--horizontal-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);
@@ -1,4 +1,4 @@
1
- import { PageProps } from "../../PageProps-aa29c554.js";
1
+ import { PageProps } from "../../PageProps-1cfcf6e8.js";
2
2
  import { FC, PropsWithChildren } from "react";
3
3
  declare const Page: FC<PropsWithChildren<PageProps>>;
4
4
  export type { PageProps };
@@ -282,12 +282,6 @@
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
- },
291
285
  "buttons": {
292
286
  "type": "array",
293
287
  "items": {
@@ -351,6 +345,17 @@
351
345
  "title": "Alt text",
352
346
  "description": "Image description",
353
347
  "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"
354
359
  }
355
360
  },
356
361
  "additionalProperties": false
@@ -385,9 +390,9 @@
385
390
  "type": "string",
386
391
  "default": "left"
387
392
  },
388
- "contentAlign": {
393
+ "align": {
389
394
  "title": "Vertical alignment of the content",
390
- "description": "Select a vertical alignment for the image",
395
+ "description": "Select a vertical alignment for the content",
391
396
  "type": "string",
392
397
  "enum": [
393
398
  "center",
@@ -1538,12 +1543,6 @@
1538
1543
  "default": false,
1539
1544
  "type": "boolean"
1540
1545
  },
1541
- "fullWidth": {
1542
- "title": "Width",
1543
- "description": "Set the width of the content to the full width of the element",
1544
- "type": "boolean",
1545
- "default": false
1546
- },
1547
1546
  "buttons": {
1548
1547
  "type": "array",
1549
1548
  "items": {
@@ -1607,6 +1606,17 @@
1607
1606
  "title": "Alt text",
1608
1607
  "description": "Image description",
1609
1608
  "type": "string"
1609
+ },
1610
+ "align": {
1611
+ "title": "Vertical alignment of the image",
1612
+ "description": "Select a vertical alignment for the image",
1613
+ "type": "string",
1614
+ "enum": [
1615
+ "center",
1616
+ "top",
1617
+ "bottom"
1618
+ ],
1619
+ "default": "center"
1610
1620
  }
1611
1621
  },
1612
1622
  "additionalProperties": false
@@ -1641,9 +1651,9 @@
1641
1651
  "type": "string",
1642
1652
  "default": "left"
1643
1653
  },
1644
- "contentAlign": {
1654
+ "align": {
1645
1655
  "title": "Vertical alignment of the content",
1646
- "description": "Select a vertical alignment for the image",
1656
+ "description": "Select a vertical alignment for the content",
1647
1657
  "type": "string",
1648
1658
  "enum": [
1649
1659
  "center",
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Fri, 10 Jan 2025 13:28:40 GMT
3
+ * Generated on Fri, 10 Jan 2025 13:43:48 GMT
4
4
  */
5
5
  :root, [ks-theme] {
6
6
  --ks-background-color-accent-base: var(--ks-color-primary-to-bg-8-base);