@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.
@@ -11,10 +11,8 @@ 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;
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
- perView?: SlidesPerView;
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, SlidesPerView, Gap, ShowArrows, Type, Class, SliderProps };
42
+ export { AutoPlay, ShowNavigation, TeaseNeighbourSlides, EqualizeSlidesHeights, Gap, ShowArrows, Type, Class, SliderProps };
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 18 Jan 2024 11:07:45 GMT
3
+ * Generated on Thu, 18 Jan 2024 12:58:28 GMT
4
4
  */
5
5
  :root, [ks-theme] {
6
6
  --ks-background-color-accent-base: var(--ks-color-primary-to-bg-8-base);
@@ -1,4 +1,4 @@
1
1
  import { FC, PropsWithChildren } from "react";
2
- import { SliderProps } from "../../SliderProps-69b2f1d7.js";
2
+ import { SliderProps } from "../../SliderProps-8cae490d.js";
3
3
  declare const Slider: FC<PropsWithChildren<SliderProps>>;
4
4
  export { Slider };
@@ -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, perView, children, ...props }) => (jsx(Slider$1, { gap: gap, type: type, arrows: arrows, autoplay: autoplay, perView: perView, ...props, children: children }));
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
- "perView": {
22
- "title": "Slides per view",
23
- "description": "The number of visible slides",
24
- "type": "number",
25
- "default": 1
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
- "perView": {
14
- "$ref": "http://schema.kickstartds.com/content/slider.schema.json#/properties/perView"
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-69b2f1d7.js";
3
+ import { SliderProps } from "../../SliderProps-8cae490d.js";
4
4
  interface ConditionalSliderProps extends SliderProps {
5
5
  layout: "slider" | "list" | "alternating";
6
6
  }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 18 Jan 2024 11:07:47 GMT
3
+ * Generated on Thu, 18 Jan 2024 12:58:30 GMT
4
4
  */
5
5
 
6
6
  :root, [ks-theme] {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 18 Jan 2024 11:07:45 GMT
3
+ * Generated on Thu, 18 Jan 2024 12:58:28 GMT
4
4
  */
5
5
 
6
6
  :root, [ks-theme] {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 18 Jan 2024 11:07:45 GMT
3
+ * Generated on Thu, 18 Jan 2024 12:58:28 GMT
4
4
  */
5
5
 
6
6
  :root, [ks-theme] {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Thu, 18 Jan 2024 11:07:45 GMT
3
+ * Generated on Thu, 18 Jan 2024 12:58:29 GMT
4
4
  */
5
5
 
6
6
  export const KsBackgroundColorAccentBase = "#100e36";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kickstartds/ds-agency-premium",
3
- "version": "1.0.4",
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": "^3.0.0-next.5",
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",