@juspay/svelte-ui-components 2.2.0 → 2.2.2
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 type { CarouselProperties } from './properties';
|
|
2
|
-
declare const Carousel: import("svelte").Component<CarouselProperties
|
|
2
|
+
declare const Carousel: import("svelte").Component<CarouselProperties, {}, "">;
|
|
3
3
|
type Carousel = ReturnType<typeof Carousel>;
|
|
4
4
|
export default Carousel;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { Component } from 'svelte';
|
|
2
|
-
export type CarouselView
|
|
3
|
-
properties?:
|
|
4
|
-
component: Component<
|
|
2
|
+
export type CarouselView = {
|
|
3
|
+
properties?: Record<string, unknown>;
|
|
4
|
+
component: Component<Record<string, unknown>>;
|
|
5
5
|
};
|
|
6
|
-
export type CarouselProperties
|
|
7
|
-
views: CarouselView
|
|
6
|
+
export type CarouselProperties = {
|
|
7
|
+
views: CarouselView[];
|
|
8
8
|
autoplay?: boolean;
|
|
9
9
|
autoplayInterval?: number;
|
|
10
10
|
showDots?: boolean;
|
package/dist/Img/Img.svelte
CHANGED