@kickstartds/ds-agency-premium 1.0.4 → 1.0.5--canary.1.51.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{SliderProps-69b2f1d7.d.ts → SliderProps-8cae490d.d.ts} +5 -6
- package/dist/{TeaserCardProps-95b399e9.d.ts → TeaserCardProps-b52479e5.d.ts} +2 -6
- package/dist/components/page/page.schema.dereffed.json +5 -15
- package/dist/components/page-wrapper/tokens.css +1 -1
- package/dist/components/section/index.d.ts +1 -1
- package/dist/components/section/section.schema.dereffed.json +5 -15
- package/dist/components/slider/index.d.ts +1 -1
- package/dist/components/slider/index.js +1 -1
- package/dist/components/slider/slider.schema.dereffed.json +9 -5
- package/dist/components/slider/slider.schema.json +5 -2
- package/dist/components/teaser-card/index.d.ts +1 -1
- package/dist/components/teaser-card/index.js +4 -4
- package/dist/components/teaser-card/teaser-card.schema.dereffed.json +5 -15
- package/dist/components/teaser-card/teaser-card.schema.json +5 -14
- package/dist/components/testimonials/index.d.ts +1 -1
- package/dist/static/tokens-lughausen.css +1 -1
- package/dist/static/tokens.css +1 -1
- package/dist/tokens/tokens.css +1 -1
- package/dist/tokens/tokens.js +1 -1
- package/package.json +2 -2
|
@@ -11,10 +11,8 @@ type AutoPlay = boolean;
|
|
|
11
11
|
* Add bullet navigation
|
|
12
12
|
*/
|
|
13
13
|
type ShowNavigation = boolean;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
*/
|
|
17
|
-
type SlidesPerView = number;
|
|
14
|
+
type TeaseNeighbourSlides = boolean;
|
|
15
|
+
type EqualizeSlidesHeights = boolean;
|
|
18
16
|
/**
|
|
19
17
|
* Size of the gap added between slides in pixels
|
|
20
18
|
*/
|
|
@@ -34,10 +32,11 @@ type Class = string;
|
|
|
34
32
|
interface SliderProps {
|
|
35
33
|
autoplay?: AutoPlay;
|
|
36
34
|
nav?: ShowNavigation;
|
|
37
|
-
|
|
35
|
+
teaseNeighbours?: TeaseNeighbourSlides;
|
|
36
|
+
equalHeight?: EqualizeSlidesHeights;
|
|
38
37
|
gap?: Gap;
|
|
39
38
|
arrows?: ShowArrows;
|
|
40
39
|
type?: Type;
|
|
41
40
|
className?: Class;
|
|
42
41
|
}
|
|
43
|
-
export { AutoPlay, ShowNavigation,
|
|
42
|
+
export { AutoPlay, ShowNavigation, TeaseNeighbourSlides, EqualizeSlidesHeights, Gap, ShowArrows, Type, Class, SliderProps };
|
|
@@ -19,7 +19,6 @@ type Label = string;
|
|
|
19
19
|
* Target that should be linked
|
|
20
20
|
*/
|
|
21
21
|
type Target = string;
|
|
22
|
-
type Label1 = string;
|
|
23
22
|
/**
|
|
24
23
|
* Toggle wether you want the card to have a visible button or not
|
|
25
24
|
*/
|
|
@@ -40,14 +39,11 @@ interface TeaserCardProps {
|
|
|
40
39
|
*/
|
|
41
40
|
layout?: "stack" | "row";
|
|
42
41
|
target?: Target;
|
|
43
|
-
|
|
44
|
-
label?: Label1;
|
|
45
|
-
displayButton?: DisplayButton;
|
|
46
|
-
};
|
|
42
|
+
displayButton?: DisplayButton;
|
|
47
43
|
image?: Image;
|
|
48
44
|
/**
|
|
49
45
|
* Aspect ratio of the image
|
|
50
46
|
*/
|
|
51
47
|
imageRatio?: "wide" | "landscape" | "square" | "unset";
|
|
52
48
|
}
|
|
53
|
-
export { Headline, Text, Label, Target,
|
|
49
|
+
export { Headline, Text, Label, Target, DisplayButton, Image, TeaserCardProps };
|
|
@@ -1351,21 +1351,11 @@
|
|
|
1351
1351
|
"description": "Target that should be linked",
|
|
1352
1352
|
"format": "uri"
|
|
1353
1353
|
},
|
|
1354
|
-
"
|
|
1355
|
-
"type": "
|
|
1356
|
-
"
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
"type": "string"
|
|
1360
|
-
},
|
|
1361
|
-
"displayButton": {
|
|
1362
|
-
"type": "boolean",
|
|
1363
|
-
"title": "Display Button",
|
|
1364
|
-
"description": "Toggle wether you want the card to have a visible button or not",
|
|
1365
|
-
"default": true
|
|
1366
|
-
}
|
|
1367
|
-
},
|
|
1368
|
-
"additionalProperties": false
|
|
1354
|
+
"displayButton": {
|
|
1355
|
+
"type": "boolean",
|
|
1356
|
+
"title": "Display Button",
|
|
1357
|
+
"description": "Toggle wether you want the card to have a visible button or not",
|
|
1358
|
+
"default": true
|
|
1369
1359
|
},
|
|
1370
1360
|
"image": {
|
|
1371
1361
|
"type": "string",
|
|
@@ -16,7 +16,7 @@ import { HeadlineProps } from "../../HeadlineProps-d413a2cc.js";
|
|
|
16
16
|
import { ImageStoryProps } from "../../ImageStoryProps-03ff6d21.js";
|
|
17
17
|
import { SplitProps } from "../../SplitProps-89ef39c4.js";
|
|
18
18
|
import { StatsProps } from "../../StatsProps-afa48599.js";
|
|
19
|
-
import { TeaserCardProps } from "../../TeaserCardProps-
|
|
19
|
+
import { TeaserCardProps } from "../../TeaserCardProps-b52479e5.js";
|
|
20
20
|
import { TestimonialsProps } from "../../TestimonialsProps-d27ae4b4.js";
|
|
21
21
|
import { TextProps } from "../../TextProps-a23170d2.js";
|
|
22
22
|
import { VideoCurtainProps } from "../../VideoCurtainProps-6c625a69.js";
|
|
@@ -1300,21 +1300,11 @@
|
|
|
1300
1300
|
"description": "Target that should be linked",
|
|
1301
1301
|
"format": "uri"
|
|
1302
1302
|
},
|
|
1303
|
-
"
|
|
1304
|
-
"type": "
|
|
1305
|
-
"
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
"type": "string"
|
|
1309
|
-
},
|
|
1310
|
-
"displayButton": {
|
|
1311
|
-
"type": "boolean",
|
|
1312
|
-
"title": "Display Button",
|
|
1313
|
-
"description": "Toggle wether you want the card to have a visible button or not",
|
|
1314
|
-
"default": true
|
|
1315
|
-
}
|
|
1316
|
-
},
|
|
1317
|
-
"additionalProperties": false
|
|
1303
|
+
"displayButton": {
|
|
1304
|
+
"type": "boolean",
|
|
1305
|
+
"title": "Display Button",
|
|
1306
|
+
"description": "Toggle wether you want the card to have a visible button or not",
|
|
1307
|
+
"default": true
|
|
1318
1308
|
},
|
|
1319
1309
|
"image": {
|
|
1320
1310
|
"type": "string",
|
|
@@ -2,6 +2,6 @@ import "./slider.css";
|
|
|
2
2
|
import { jsx } from 'react/jsx-runtime';
|
|
3
3
|
import { Slider as Slider$1 } from '@kickstartds/content/lib/slider';
|
|
4
4
|
|
|
5
|
-
const Slider = ({ gap, type, autoplay, arrows,
|
|
5
|
+
const Slider = ({ gap, type, autoplay, arrows, teaseNeighbours, equalHeight, children, ...props }) => (jsx(Slider$1, { gap: gap, type: type, arrows: arrows, autoplay: autoplay, teaseNeighbours: teaseNeighbours, equalHeight: equalHeight, ...props, children: children }));
|
|
6
6
|
|
|
7
7
|
export { Slider };
|
|
@@ -18,11 +18,15 @@
|
|
|
18
18
|
true
|
|
19
19
|
]
|
|
20
20
|
},
|
|
21
|
-
"
|
|
22
|
-
"title": "
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
|
|
21
|
+
"teaseNeighbours": {
|
|
22
|
+
"title": "Tease Neighbour Slides",
|
|
23
|
+
"type": "boolean",
|
|
24
|
+
"default": false
|
|
25
|
+
},
|
|
26
|
+
"equalHeight": {
|
|
27
|
+
"title": "Equalize slides heights",
|
|
28
|
+
"type": "boolean",
|
|
29
|
+
"default": true
|
|
26
30
|
},
|
|
27
31
|
"gap": {
|
|
28
32
|
"title": "Gap",
|
|
@@ -10,8 +10,11 @@
|
|
|
10
10
|
"nav": {
|
|
11
11
|
"$ref": "http://schema.kickstartds.com/content/slider.schema.json#/properties/nav"
|
|
12
12
|
},
|
|
13
|
-
"
|
|
14
|
-
"$ref": "http://schema.kickstartds.com/content/slider.schema.json#/properties/
|
|
13
|
+
"teaseNeighbours": {
|
|
14
|
+
"$ref": "http://schema.kickstartds.com/content/slider.schema.json#/properties/teaseNeighbours"
|
|
15
|
+
},
|
|
16
|
+
"equalHeight": {
|
|
17
|
+
"$ref": "http://schema.kickstartds.com/content/slider.schema.json#/properties/equalHeight"
|
|
15
18
|
},
|
|
16
19
|
"gap": {
|
|
17
20
|
"$ref": "http://schema.kickstartds.com/content/slider.schema.json#/properties/gap"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { HTMLAttributes, FC, PropsWithChildren } from "react";
|
|
3
|
-
import { TeaserCardProps } from "../../TeaserCardProps-
|
|
3
|
+
import { TeaserCardProps } from "../../TeaserCardProps-b52479e5.js";
|
|
4
4
|
declare const TeaserCard: import("react").ForwardRefExoticComponent<TeaserCardProps & HTMLAttributes<HTMLDivElement> & import("react").RefAttributes<HTMLDivElement>>;
|
|
5
5
|
declare const TeaserBoxProvider: FC<PropsWithChildren>;
|
|
6
6
|
export { TeaserCard, TeaserBoxProvider };
|
|
@@ -5,16 +5,16 @@ import classnames from 'classnames';
|
|
|
5
5
|
import { TeaserBoxContextDefault, TeaserBoxContext } from '@kickstartds/base/lib/teaser-box';
|
|
6
6
|
import { Container } from '@kickstartds/core/lib/container';
|
|
7
7
|
|
|
8
|
-
const TeaserCard = forwardRef(({ headline, text,
|
|
8
|
+
const TeaserCard = forwardRef(({ headline, text, target, image, imageRatio = "wide", label, layout = "stack", displayButton = true, ...props }, ref) => {
|
|
9
9
|
return (jsx(Container, { name: "teaser-card", children: jsx(TeaserBoxContextDefault, { ...props, className: classnames(`c-teaser-card`, label && `c-teaser-card--label`, `c-teaser-card--${layout}`, `c-teaser-card--${imageRatio}`), topic: headline, text: text,
|
|
10
10
|
// @ts-expect-error
|
|
11
11
|
renderTopic: () => (jsxs(Fragment, { children: [label ? jsx("span", { className: "c-teaser__label", children: label }) : "", headline] })), link: {
|
|
12
|
-
hidden:
|
|
12
|
+
hidden: displayButton === true
|
|
13
13
|
? false
|
|
14
|
-
:
|
|
14
|
+
: displayButton === false
|
|
15
15
|
? true
|
|
16
16
|
: true,
|
|
17
|
-
label:
|
|
17
|
+
label: "Read more",
|
|
18
18
|
variant: "secondary",
|
|
19
19
|
target: target,
|
|
20
20
|
}, image: image, ref: ref }) }));
|
|
@@ -37,21 +37,11 @@
|
|
|
37
37
|
"description": "Target that should be linked",
|
|
38
38
|
"format": "uri"
|
|
39
39
|
},
|
|
40
|
-
"
|
|
41
|
-
"type": "
|
|
42
|
-
"
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
"type": "string"
|
|
46
|
-
},
|
|
47
|
-
"displayButton": {
|
|
48
|
-
"type": "boolean",
|
|
49
|
-
"title": "Display Button",
|
|
50
|
-
"description": "Toggle wether you want the card to have a visible button or not",
|
|
51
|
-
"default": true
|
|
52
|
-
}
|
|
53
|
-
},
|
|
54
|
-
"additionalProperties": false
|
|
40
|
+
"displayButton": {
|
|
41
|
+
"type": "boolean",
|
|
42
|
+
"title": "Display Button",
|
|
43
|
+
"description": "Toggle wether you want the card to have a visible button or not",
|
|
44
|
+
"default": true
|
|
55
45
|
},
|
|
56
46
|
"image": {
|
|
57
47
|
"type": "string",
|
|
@@ -34,20 +34,11 @@
|
|
|
34
34
|
"description": "Target that should be linked",
|
|
35
35
|
"format": "uri"
|
|
36
36
|
},
|
|
37
|
-
"
|
|
38
|
-
"type": "
|
|
39
|
-
"
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
"type": "string"
|
|
43
|
-
},
|
|
44
|
-
"displayButton": {
|
|
45
|
-
"type": "boolean",
|
|
46
|
-
"title": "Display Button",
|
|
47
|
-
"description": "Toggle wether you want the card to have a visible button or not",
|
|
48
|
-
"default": true
|
|
49
|
-
}
|
|
50
|
-
}
|
|
37
|
+
"displayButton": {
|
|
38
|
+
"type": "boolean",
|
|
39
|
+
"title": "Display Button",
|
|
40
|
+
"description": "Toggle wether you want the card to have a visible button or not",
|
|
41
|
+
"default": true
|
|
51
42
|
},
|
|
52
43
|
"image": {
|
|
53
44
|
"type": "string",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HTMLAttributes, FC, PropsWithChildren } from "react";
|
|
2
2
|
import { TestimonialsProps } from "../../TestimonialsProps-d27ae4b4.js";
|
|
3
|
-
import { SliderProps } from "../../SliderProps-
|
|
3
|
+
import { SliderProps } from "../../SliderProps-8cae490d.js";
|
|
4
4
|
interface ConditionalSliderProps extends SliderProps {
|
|
5
5
|
layout: "slider" | "list" | "alternating";
|
|
6
6
|
}
|
package/dist/static/tokens.css
CHANGED
package/dist/tokens/tokens.css
CHANGED
package/dist/tokens/tokens.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kickstartds/ds-agency-premium",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5--canary.1.51.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"homepage": "https://github.com/kickstartDS/ds-agency-premium#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"@bedrock-layout/spacing-constants": "^3.2.5",
|
|
71
71
|
"@kickstartds/base": "2.3.0-beta.0",
|
|
72
72
|
"@kickstartds/blog": "2.3.0-beta.0",
|
|
73
|
-
"@kickstartds/content": "
|
|
73
|
+
"@kickstartds/content": "3.0.0-next.7",
|
|
74
74
|
"@kickstartds/core": "3.0.0-beta.0",
|
|
75
75
|
"@kickstartds/form": "2.3.0-beta.0",
|
|
76
76
|
"classnames": "^2.3.2",
|