@solostylist/ui-kit 1.0.208 → 1.0.209

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.
@@ -1,4 +1,4 @@
1
1
  import "../createTheme-DuS5_nJb.js";
2
- import { t as e } from "../s-carousel-BoDg9pKU.js";
2
+ import { t as e } from "../s-carousel-CW5c6Xqu.js";
3
3
  import "../s-carousel/index.js";
4
4
  export { e as SCarousel };
@@ -1,3 +1,3 @@
1
1
  import "../createTheme-DuS5_nJb.js";
2
- import { t as e } from "../s-carousel-BoDg9pKU.js";
2
+ import { t as e } from "../s-carousel-CW5c6Xqu.js";
3
3
  export { e as default };
@@ -1,10 +1,16 @@
1
1
  import { PropsWithChildren } from 'react';
2
2
  import { SxProps, Theme } from '@mui/material';
3
- import { default as Slider, Settings } from 'react-slick';
3
+ export interface ResponsiveBreakpoint {
4
+ /** Max-width breakpoint in px (mirrors react-slick convention) */
5
+ readonly breakpoint: number;
6
+ readonly settings: {
7
+ readonly slidesToShow?: number;
8
+ };
9
+ }
4
10
  /**
5
11
  * Props interface for SCarousel component
6
12
  */
7
- export interface SCarouselProps extends PropsWithChildren, Settings {
13
+ export interface SCarouselProps extends PropsWithChildren {
8
14
  /** Custom color for the navigation dots */
9
15
  readonly dotColor?: string;
10
16
  /** Space between slides in pixels */
@@ -13,6 +19,26 @@ export interface SCarouselProps extends PropsWithChildren, Settings {
13
19
  readonly dotStyles?: SxProps<Theme>;
14
20
  /** Custom styles for the arrow buttons */
15
21
  readonly arrowStyles?: SxProps<Theme>;
22
+ /** Number of slides visible at once */
23
+ readonly slidesToShow?: number;
24
+ /** Show dot navigation */
25
+ readonly dots?: boolean;
26
+ /** Show arrow navigation */
27
+ readonly arrows?: boolean;
28
+ /** Enable autoplay */
29
+ readonly autoplay?: boolean;
30
+ /** Autoplay interval in ms */
31
+ readonly autoplaySpeed?: number;
32
+ /** Enable infinite loop */
33
+ readonly infinite?: boolean;
34
+ /** Transition speed in ms (approx.) */
35
+ readonly speed?: number;
36
+ /** Center the current slide with partial adjacent slides */
37
+ readonly centerMode?: boolean;
38
+ /** Padding on each side in center mode */
39
+ readonly centerPadding?: string;
40
+ /** Responsive breakpoints */
41
+ readonly responsive?: ResponsiveBreakpoint[];
16
42
  }
17
- export declare const SCarousel: import('react').ForwardRefExoticComponent<SCarouselProps & import('react').RefAttributes<Slider>>;
43
+ export declare const SCarousel: import('react').ForwardRefExoticComponent<SCarouselProps & import('react').RefAttributes<import('embla-carousel').EmblaCarouselType | null>>;
18
44
  export default SCarousel;
@@ -1,3 +1,3 @@
1
1
  import "../createTheme-DuS5_nJb.js";
2
- import { t as e } from "../s-carousel-BoDg9pKU.js";
2
+ import { t as e } from "../s-carousel-CW5c6Xqu.js";
3
3
  export { e as SCarousel, e as default };