@kickstartds/ds-agency-premium 1.0.2 → 1.0.3--canary.1.20.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-c686e15b.d.ts} +3 -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 +4 -5
- package/dist/components/slider/slider.schema.json +2 -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,7 @@ type AutoPlay = boolean;
|
|
|
11
11
|
* Add bullet navigation
|
|
12
12
|
*/
|
|
13
13
|
type ShowNavigation = boolean;
|
|
14
|
-
|
|
15
|
-
* The number of visible slides
|
|
16
|
-
*/
|
|
17
|
-
type SlidesPerView = number;
|
|
14
|
+
type TeaseNeighbourSlides = boolean;
|
|
18
15
|
/**
|
|
19
16
|
* Size of the gap added between slides in pixels
|
|
20
17
|
*/
|
|
@@ -34,10 +31,10 @@ type Class = string;
|
|
|
34
31
|
interface SliderProps {
|
|
35
32
|
autoplay?: AutoPlay;
|
|
36
33
|
nav?: ShowNavigation;
|
|
37
|
-
|
|
34
|
+
teaseNeighbours?: TeaseNeighbourSlides;
|
|
38
35
|
gap?: Gap;
|
|
39
36
|
arrows?: ShowArrows;
|
|
40
37
|
type?: Type;
|
|
41
38
|
className?: Class;
|
|
42
39
|
}
|
|
43
|
-
export { AutoPlay, ShowNavigation,
|
|
40
|
+
export { AutoPlay, ShowNavigation, TeaseNeighbourSlides, 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, children, ...props }) => (jsx(Slider$1, { gap: gap, type: type, arrows: arrows, autoplay: autoplay, teaseNeighbours: teaseNeighbours, ...props, children: children }));
|
|
6
6
|
|
|
7
7
|
export { Slider };
|
|
@@ -18,11 +18,10 @@
|
|
|
18
18
|
true
|
|
19
19
|
]
|
|
20
20
|
},
|
|
21
|
-
"
|
|
22
|
-
"title": "
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"default": 1
|
|
21
|
+
"teaseNeighbours": {
|
|
22
|
+
"title": "Tease Neighbour Slides",
|
|
23
|
+
"type": "boolean",
|
|
24
|
+
"default": false
|
|
26
25
|
},
|
|
27
26
|
"gap": {
|
|
28
27
|
"title": "Gap",
|
|
@@ -10,8 +10,8 @@
|
|
|
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
15
|
},
|
|
16
16
|
"gap": {
|
|
17
17
|
"$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-c686e15b.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.3--canary.1.20.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--canary.166.165.0",
|
|
74
74
|
"@kickstartds/core": "3.0.0-beta.0",
|
|
75
75
|
"@kickstartds/form": "2.3.0-beta.0",
|
|
76
76
|
"classnames": "^2.3.2",
|