@kickstartds/ds-agency-premium 1.0.4 → 1.0.5
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/components/page-wrapper/tokens.css +1 -1
- 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/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 };
|
|
@@ -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
|
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",
|
|
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",
|