@kickstartds/ds-agency-premium 1.6.71--canary.45.1756.0 → 1.6.71--canary.45.1762.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 (64) hide show
  1. package/dist/{BlogOverviewProps-7caa223c.d.ts → BlogOverviewProps-9f207f1c.d.ts} +2 -2
  2. package/dist/{BlogPostProps-c760fd2a.d.ts → BlogPostProps-6b3cff22.d.ts} +2 -2
  3. package/dist/{PageProps-7caa223c.d.ts → PageProps-aa29c554.d.ts} +1 -1
  4. package/dist/{SectionProps-00ddee3a.d.ts → SectionProps-7caa223c.d.ts} +1 -1
  5. package/dist/components/blog-aside/blog-aside.css +4 -4
  6. package/dist/components/blog-aside/index.js +3 -3
  7. package/dist/components/blog-head/index.d.ts +1 -1
  8. package/dist/components/blog-overview/blog-overview.schema.dereffed.json +12 -12
  9. package/dist/components/blog-overview/index.d.ts +1 -1
  10. package/dist/components/blog-post/blog-post.schema.dereffed.json +12 -12
  11. package/dist/components/blog-post/index.d.ts +1 -1
  12. package/dist/components/blog-post/index.js +4 -2
  13. package/dist/components/blog-teaser/index.d.ts +1 -1
  14. package/dist/components/contact/contact.css +8 -6
  15. package/dist/components/headline/headline.css +4 -4
  16. package/dist/components/image-story/index.d.ts +1 -1
  17. package/dist/components/index/index.d.ts +3 -3
  18. package/dist/components/logos/index.js +1 -1
  19. package/dist/components/logos/logos.css +2 -2
  20. package/dist/components/logos/logos.schema.dereffed.json +6 -6
  21. package/dist/components/logos/logos.schema.json +6 -6
  22. package/dist/components/page/index.d.ts +1 -1
  23. package/dist/components/page/page.schema.dereffed.json +12 -12
  24. package/dist/components/page-wrapper/tokens.css +1 -1
  25. package/dist/components/presets.json +400 -37
  26. package/dist/components/section/index.d.ts +1 -1
  27. package/dist/components/section/section.schema.dereffed.json +12 -12
  28. package/dist/components/slider/slider.schema.dereffed.json +6 -6
  29. package/dist/components/split-even/index.d.ts +38 -11
  30. package/dist/components/split-even/index.js +1 -1
  31. package/dist/components/split-even/split-even.css +34 -24
  32. package/dist/components/split-even/split-even.schema.dereffed.json +5838 -10
  33. package/dist/components/split-even/split-even.schema.json +131 -10
  34. package/dist/components/split-weighted/index.d.ts +101 -0
  35. package/dist/components/split-weighted/index.js +13 -0
  36. package/dist/components/split-weighted/split-weighted.css +101 -0
  37. package/dist/components/split-weighted/split-weighted.schema.dereffed.json +5950 -0
  38. package/dist/components/split-weighted/split-weighted.schema.json +210 -0
  39. package/dist/static/img/logos/logoipsum-344.svg +174 -0
  40. package/dist/static/img/logos/logoipsum-347.svg +52 -0
  41. package/dist/static/img/logos/logoipsum-352.svg +22 -0
  42. package/dist/static/img/logos/logoipsum-356.svg +20 -0
  43. package/dist/static/img/logos/logoipsum-358.svg +29 -0
  44. package/dist/static/img/logos/logoipsum-369.svg +20 -0
  45. package/dist/static/img/logos/logoipsum-373.svg +17 -0
  46. package/dist/static/img/people/author-emily.png +0 -0
  47. package/dist/tokens/themes.css +4 -4
  48. package/dist/tokens/tokens.css +1 -1
  49. package/dist/tokens/tokens.js +1 -1
  50. package/package.json +1 -1
  51. package/dist/components/split/index.d.ts +0 -14
  52. package/dist/components/split/index.js +0 -17
  53. package/dist/components/split/split.css +0 -53
  54. package/dist/components/split/split.schema.dereffed.json +0 -29
  55. package/dist/components/split/split.schema.json +0 -19
  56. package/dist/static/img/logos/logoipsum-212.svg +0 -12
  57. package/dist/static/img/logos/logoipsum-217.svg +0 -4
  58. package/dist/static/img/logos/logoipsum-239.svg +0 -16
  59. package/dist/static/img/logos/logoipsum-244.svg +0 -19
  60. package/dist/static/img/logos/logoipsum-250.svg +0 -21
  61. package/dist/static/img/logos/logoipsum-286.svg +0 -20
  62. /package/dist/{BlogHeadProps-f5855e93.d.ts → BlogHeadProps-c04a5ed8.d.ts} +0 -0
  63. /package/dist/{BlogTeaserProps-d62a0a9a.d.ts → BlogTeaserProps-f5855e93.d.ts} +0 -0
  64. /package/dist/{ImageStoryProps-00ddee3a.d.ts → ImageStoryProps-e853e1e7.d.ts} +0 -0
@@ -4,13 +4,20 @@
4
4
  "title": "Split Even",
5
5
  "type": "object",
6
6
  "properties": {
7
- "sectionMinWidth": {
8
- "title": "Section Minimum Width",
9
- "description": "Sets the minimum width for each section in the split layout",
7
+ "contentMinWidth": {
8
+ "title": "Content Minimum Width",
9
+ "description": "Sets the minimum width for each half of the split layout",
10
10
  "type": "string",
11
11
  "enum": ["narrow", "medium", "wide"],
12
12
  "default": "medium"
13
13
  },
14
+ "contentGutter": {
15
+ "title": "Content Gutter",
16
+ "description": "Sets the space between the content inside the two halves of the split layout",
17
+ "type": "string",
18
+ "enum": ["narrow", "medium", "wide", "none"],
19
+ "default": "medium"
20
+ },
14
21
  "mobileLayout": {
15
22
  "title": "Mobile Layout",
16
23
  "description": "Determines the layout of the sections on mobile devices",
@@ -18,12 +25,6 @@
18
25
  "enum": ["stack", "stackReverse"],
19
26
  "default": "stack"
20
27
  },
21
- "sticky": {
22
- "title": "Sticky",
23
- "type": "boolean",
24
- "description": "Enable sticky positioning for the sections",
25
- "default": false
26
- },
27
28
  "verticalAlign": {
28
29
  "title": "Vertical Alignment",
29
30
  "type": "string",
@@ -34,9 +35,129 @@
34
35
  "gutter": {
35
36
  "title": "Gutter",
36
37
  "type": "string",
37
- "description": "The space between the two sections",
38
+ "description": "Sets the space between the two halves of the split layout",
38
39
  "enum": ["large", "default", "small", "none"],
39
40
  "default": "default"
41
+ },
42
+ "firstComponents": {
43
+ "type": "array",
44
+ "title": "First",
45
+ "description": "Allowed components for the first half of the split layout",
46
+ "items": {
47
+ "anyOf": [
48
+ {
49
+ "$ref": "http://schema.mydesignsystem.com/cta.schema.json"
50
+ },
51
+ {
52
+ "$ref": "http://schema.mydesignsystem.com/divider.schema.json"
53
+ },
54
+ {
55
+ "$ref": "http://schema.mydesignsystem.com/faq.schema.json"
56
+ },
57
+ {
58
+ "$ref": "http://schema.mydesignsystem.com/features.schema.json"
59
+ },
60
+ {
61
+ "$ref": "http://schema.mydesignsystem.com/gallery.schema.json"
62
+ },
63
+ {
64
+ "$ref": "http://schema.mydesignsystem.com/hero.schema.json"
65
+ },
66
+ {
67
+ "$ref": "http://schema.mydesignsystem.com/html.schema.json"
68
+ },
69
+ {
70
+ "$ref": "http://schema.mydesignsystem.com/image-story.schema.json"
71
+ },
72
+ {
73
+ "$ref": "http://schema.mydesignsystem.com/image-text.schema.json"
74
+ },
75
+ {
76
+ "$ref": "http://schema.mydesignsystem.com/logos.schema.json"
77
+ },
78
+ {
79
+ "$ref": "http://schema.mydesignsystem.com/mosaic.schema.json"
80
+ },
81
+ {
82
+ "$ref": "http://schema.mydesignsystem.com/slider.schema.json"
83
+ },
84
+ {
85
+ "$ref": "http://schema.mydesignsystem.com/stats.schema.json"
86
+ },
87
+ {
88
+ "$ref": "http://schema.mydesignsystem.com/teaser-card.schema.json"
89
+ },
90
+ {
91
+ "$ref": "http://schema.mydesignsystem.com/testimonials.schema.json"
92
+ },
93
+ {
94
+ "$ref": "http://schema.mydesignsystem.com/text.schema.json"
95
+ },
96
+ {
97
+ "$ref": "http://schema.mydesignsystem.com/video-curtain.schema.json"
98
+ }
99
+ ]
100
+ }
101
+ },
102
+ "secondComponents": {
103
+ "type": "array",
104
+ "title": "Second",
105
+ "description": "Allowed components for the second half of the split layout",
106
+ "items": {
107
+ "anyOf": [
108
+ {
109
+ "$ref": "http://schema.mydesignsystem.com/cta.schema.json"
110
+ },
111
+ {
112
+ "$ref": "http://schema.mydesignsystem.com/divider.schema.json"
113
+ },
114
+ {
115
+ "$ref": "http://schema.mydesignsystem.com/faq.schema.json"
116
+ },
117
+ {
118
+ "$ref": "http://schema.mydesignsystem.com/features.schema.json"
119
+ },
120
+ {
121
+ "$ref": "http://schema.mydesignsystem.com/gallery.schema.json"
122
+ },
123
+ {
124
+ "$ref": "http://schema.mydesignsystem.com/hero.schema.json"
125
+ },
126
+ {
127
+ "$ref": "http://schema.mydesignsystem.com/html.schema.json"
128
+ },
129
+ {
130
+ "$ref": "http://schema.mydesignsystem.com/image-story.schema.json"
131
+ },
132
+ {
133
+ "$ref": "http://schema.mydesignsystem.com/image-text.schema.json"
134
+ },
135
+ {
136
+ "$ref": "http://schema.mydesignsystem.com/logos.schema.json"
137
+ },
138
+ {
139
+ "$ref": "http://schema.mydesignsystem.com/mosaic.schema.json"
140
+ },
141
+ {
142
+ "$ref": "http://schema.mydesignsystem.com/slider.schema.json"
143
+ },
144
+ {
145
+ "$ref": "http://schema.mydesignsystem.com/stats.schema.json"
146
+ },
147
+ {
148
+ "$ref": "http://schema.mydesignsystem.com/teaser-card.schema.json"
149
+ },
150
+ {
151
+ "$ref": "http://schema.mydesignsystem.com/testimonials.schema.json"
152
+ },
153
+ {
154
+ "$ref": "http://schema.mydesignsystem.com/text.schema.json"
155
+ },
156
+ {
157
+ "$ref": "http://schema.mydesignsystem.com/video-curtain.schema.json"
158
+ }
159
+ ]
160
+ }
40
161
  }
41
162
  },
42
163
  "additionalProperties": false
@@ -0,0 +1,101 @@
1
+ /// <reference types="react" />
2
+ import { FC } from "react";
3
+ /* eslint-disable */
4
+ /**
5
+ * This file was automatically generated by json-schema-to-typescript.
6
+ * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
7
+ * and run json-schema-to-typescript to regenerate this file.
8
+ */
9
+ import { CtaProps } from "../../CtaProps-babe4ee6.js";
10
+ import { DividerProps } from "../../DividerProps-2ef31901.js";
11
+ import { FaqProps } from "../../FaqProps-ad618cd5.js";
12
+ import { FeaturesProps } from "../../FeaturesProps-a9041d97.js";
13
+ import { GalleryProps } from "../../GalleryProps-76e7de44.js";
14
+ import { HeroProps } from "../../HeroProps-40f6c7f5.js";
15
+ import { HtmlProps } from "../../HtmlProps-9d091769.js";
16
+ import { ImageStoryProps } from "../../ImageStoryProps-e853e1e7.js";
17
+ import { ImageTextProps } from "../../ImageTextProps-9286cca4.js";
18
+ import { LogosProps } from "../../LogosProps-f9474fe2.js";
19
+ import { MosaicProps } from "../../MosaicProps-d52c7151.js";
20
+ import { SliderProps } from "../../SliderProps-babe4ee6.js";
21
+ import { StatsProps } from "../../StatsProps-bf5ef578.js";
22
+ import { TeaserCardProps } from "../../TeaserCardProps-994cb119.js";
23
+ import { TestimonialsProps } from "../../TestimonialsProps-e344f597.js";
24
+ import { TextProps } from "../../TextProps-a23170d2.js";
25
+ import { VideoCurtainProps } from "../../VideoCurtainProps-a2c0cc7f.js";
26
+ /**
27
+ * Sets the vertical space between the content of the split layout
28
+ */
29
+ type VerticalGutter = "large" | "default" | "small" | "none";
30
+ /**
31
+ * Sets the horizontal space between the content of the split layout
32
+ */
33
+ type HorizontalGutter = "large" | "default" | "small" | "none";
34
+ /**
35
+ * Makes the side part sticky on scroll
36
+ */
37
+ type Sticky = boolean;
38
+ /**
39
+ * Sets the space between the content of the split layout
40
+ */
41
+ type ContentGutter = "large" | "default" | "small" | "none";
42
+ /**
43
+ * Sets the minimum width of the main section
44
+ */
45
+ type MinimumWidth = "narrow" | "wide";
46
+ /**
47
+ * Size of gutter to use
48
+ */
49
+ type Gutter = "large" | "default" | "small" | "none";
50
+ /**
51
+ * Sets the minimum width of the main section
52
+ */
53
+ type MinimumWidth1 = "narrow" | "wide";
54
+ /**
55
+ * Determines the order of sections on mobile devices
56
+ */
57
+ type MobileOrder = "mainFirst" | "contextFirst";
58
+ /**
59
+ * Determines the order of sections on desktop devices
60
+ */
61
+ type DesktopOrder = "mainFirst" | "contextFirst";
62
+ /**
63
+ * Allowed components for the main half of the split layout
64
+ */
65
+ type Main = (CtaProps | DividerProps | FaqProps | FeaturesProps | GalleryProps | HeroProps | HtmlProps | ImageStoryProps | ImageTextProps | LogosProps | MosaicProps | SliderProps | StatsProps | TeaserCardProps | TestimonialsProps | TextProps | VideoCurtainProps)[];
66
+ /**
67
+ * Allowed components for the context half of the split layout
68
+ */
69
+ type Context = (CtaProps | DividerProps | FaqProps | FeaturesProps | GalleryProps | HeroProps | HtmlProps | ImageStoryProps | ImageTextProps | LogosProps | MosaicProps | SliderProps | StatsProps | TeaserCardProps | TestimonialsProps | TextProps | VideoCurtainProps)[];
70
+ interface SplitWeightedProps {
71
+ verticalGutter?: VerticalGutter;
72
+ horizontalGutter?: HorizontalGutter;
73
+ sticky?: Sticky;
74
+ mainLayout?: MainLayout;
75
+ contextLayout?: ContextLayout;
76
+ order?: Order;
77
+ mainComponents?: Main;
78
+ contextComponents?: Context;
79
+ }
80
+ interface MainLayout {
81
+ gutter?: ContentGutter;
82
+ minWidth?: MinimumWidth;
83
+ }
84
+ interface ContextLayout {
85
+ gutter?: Gutter;
86
+ minWidth?: MinimumWidth1;
87
+ }
88
+ /**
89
+ * Sets the order of the main and context sections in the split layout
90
+ */
91
+ interface Order {
92
+ mobile?: MobileOrder;
93
+ desktop?: DesktopOrder;
94
+ }
95
+ interface ComponentProps {
96
+ main?: React.ReactNode;
97
+ context?: React.ReactNode;
98
+ }
99
+ type SplitWeightedComponentProps = SplitWeightedProps & ComponentProps;
100
+ declare const SplitWeighted: FC<SplitWeightedComponentProps>;
101
+ export { ComponentProps, SplitWeightedComponentProps, SplitWeighted };
@@ -0,0 +1,13 @@
1
+ import "./split-weighted.css";
2
+ import { jsxs, jsx } from 'react/jsx-runtime';
3
+ import classnames from 'classnames';
4
+
5
+ const SplitWeighted = ({ order, mainLayout, contextLayout, horizontalGutter = "default", verticalGutter = "default", main, context, sticky = false, }) => (jsxs("div", { className: classnames("l-split-weighted", order?.desktop === "contextFirst" &&
6
+ "l-split-weighted--desktop-context-first", order?.mobile === "contextFirst" &&
7
+ "l-split-weighted--mobile-context-first", horizontalGutter && `l-split-weighted--h-gutter-${horizontalGutter}`, verticalGutter && `l-split-weighted--v-gutter-${verticalGutter}`, sticky && `l-split-weighted--sticky`), children: [jsx("div", { className: classnames("l-split-weighted__main l-split-weighted__content", mainLayout?.gutter &&
8
+ `l-split-weighted__main--gutter-${mainLayout.gutter}`, mainLayout?.minWidth &&
9
+ `l-split-weighted__main--width-${mainLayout.minWidth}`), children: sticky ? (jsx("div", { className: "l-split-weighted__sticky-container", children: main })) : (main) }), jsx("div", { className: classnames("l-split-weighted__context l-split-weighted__content", contextLayout?.gutter &&
10
+ `l-split-weighted__context--gutter-${contextLayout.gutter || "large"}`, contextLayout?.minWidth &&
11
+ `l-split-weighted__context--width-${contextLayout.minWidth}`), children: sticky ? (jsx("div", { className: "l-split-weighted__sticky-container", children: context })) : (context) })] }));
12
+
13
+ export { SplitWeighted };
@@ -0,0 +1,101 @@
1
+ .l-split-weighted {
2
+ --dsa-split-weighted--sticky-margin: var(--ks-spacing-stack-l);
3
+ --dsa-split-weighted--v-gutter_default: var(--ks-spacing-stack-m);
4
+ --dsa-split-weighted--v-gutter_small: var(--ks-spacing-stack-l);
5
+ --dsa-split-weighted--v-gutter_large: var(--dsa-content--vertical-spacing);
6
+ --dsa-split-weighted--h-gutter_default: var(--ks-spacing-inline-l);
7
+ --dsa-split-weighted--h-gutter_small: var(--ks-spacing-inline-m);
8
+ --dsa-split-weighted--h-gutter_large: var(--ks-spacing-xxl);
9
+ --dsa-split-weighted__main--flex-basis_narrow: var(--dsa-content--width_narrow);
10
+ --dsa-split-weighted__main--flex-basis_default: var(--dsa-content--width_default);
11
+ --dsa-split-weighted__main--gutter_default: var(--ks-spacing-stack-l);
12
+ --dsa-split-weighted__main--gutter_small: var(--ks-spacing-stack-s);
13
+ --dsa-split-weighted__main--gutter_large: var(--dsa-content--vertical-spacing);
14
+ --dsa-split-weighted__context--flex-basis_narrow: var(--dsa-tile--width_small);
15
+ --dsa-split-weighted__context--flex-basis_default: var(--dsa-tile--width_medium);
16
+ --dsa-split-weighted__context--gutter_default: var(--ks-spacing-stack-s);
17
+ --dsa-split-weighted__context--gutter_small: var(--ks-spacing-stack-xs);
18
+ --dsa-split-weighted__context--gutter_large: var(--ks-spacing-stack-m);
19
+ }
20
+
21
+ .l-split-weighted {
22
+ --dsa-split-weighted--v-gutter: var(--dsa-split-weighted--v-gutter_default, var(--ks-spacing-stack-m));
23
+ --dsa-split-weighted--h-gutter: var(--dsa-split-weighted--h-gutter_default, var(--ks-spacing-inline-l));
24
+ display: flex;
25
+ flex-wrap: wrap;
26
+ gap: var(--dsa-split-weighted--v-gutter) var(--dsa-split-weighted--h-gutter);
27
+ }
28
+ .l-split-weighted--sticky {
29
+ position: relative;
30
+ }
31
+ .l-split-weighted--sticky .l-split-weighted__sticky-container {
32
+ position: sticky;
33
+ top: var(--dsa-split-weighted--sticky-margin, var(--ks-spacing-stack-l));
34
+ height: fit-content;
35
+ }
36
+ .l-split-weighted--desktop-context-first {
37
+ flex-direction: row-reverse;
38
+ }
39
+ .l-split-weighted--mobile-context-first {
40
+ flex-wrap: wrap-reverse;
41
+ }
42
+ .l-split-weighted--v-gutter-small {
43
+ --dsa-split-weighted--v-gutter: var(--dsa-split-weighted--v-gutter_small, var(--ks-spacing-stack-l));
44
+ }
45
+ .l-split-weighted--v-gutter-large {
46
+ --dsa-split-weighted--v-gutter: var(--dsa-split-weighted--v-gutter_large, var(--dsa-content--vertical-spacing));
47
+ }
48
+ .l-split-weighted--v-gutter-none {
49
+ --dsa-split-weighted--v-gutter: 0;
50
+ }
51
+ .l-split-weighted--h-gutter-small {
52
+ --dsa-split-weighted--h-gutter: var(--dsa-split-weighted--h-gutter_small, var(--ks-spacing-inline-m));
53
+ }
54
+ .l-split-weighted--h-gutter-large {
55
+ --dsa-split-weighted--h-gutter: var(--dsa-split-weighted--h-gutter_large, var(--ks-spacing-xxl));
56
+ }
57
+ .l-split-weighted--h-gutter-none {
58
+ --dsa-split-weighted--h-gutter: 0;
59
+ }
60
+ .l-split-weighted__content {
61
+ display: flex;
62
+ flex-direction: column;
63
+ }
64
+ .l-split-weighted__content .c-button {
65
+ width: fit-content;
66
+ }
67
+ .l-split-weighted__main {
68
+ flex-basis: var(--dsa-split-weighted__main--flex-basis_default, calc(var(--dsa-content--width_default) * 1));
69
+ flex-grow: 1000;
70
+ flex-shrink: 1;
71
+ gap: var(--dsa-split-weighted__main--gutter_default, var(--ks-spacing-stack-m));
72
+ }
73
+ .l-split-weighted__main--width-narrow {
74
+ flex-basis: var(--dsa-split-weighted__main--flex-basis_narrow, calc(var(--dsa-tile--width_medium) * 2));
75
+ }
76
+ .l-split-weighted__main--gutter-small {
77
+ gap: var(--dsa-split-weighted__main--gutter_small, var(--ks-spacing-stack-s));
78
+ }
79
+ .l-split-weighted__main--gutter-large {
80
+ gap: var(--dsa-split-weighted__main--gutter_large, var(--ks-spacing-stack-l));
81
+ }
82
+ .l-split-weighted__main--gutter-none {
83
+ gap: 0;
84
+ }
85
+ .l-split-weighted__context {
86
+ flex-basis: var(--dsa-split-weighted__context--flex-basis_default, var(--dsa-tile--width_large));
87
+ flex-grow: 1;
88
+ gap: var(--dsa-split-weighted__context--gutter_default, var(--ks-spacing-stack-s));
89
+ }
90
+ .l-split-weighted__context--width-narrow {
91
+ flex-basis: var(--dsa-split-weighted__context--flex-basis_narrow, var(--dsa-tile--width_small));
92
+ }
93
+ .l-split-weighted__context--gutter-small {
94
+ gap: var(--dsa-split-weighted__context--gutter_small, var(--ks-spacing-stack-xs));
95
+ }
96
+ .l-split-weighted__context--gutter-large {
97
+ gap: var(--dsa-split-weighted__context--gutter_large, var(--ks-spacing-stack-m));
98
+ }
99
+ .l-split-weighted__context--gutter-none {
100
+ gap: 0;
101
+ }