formica-ui-lib 1.0.118 → 1.0.121
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/componentProps/molecules/card/featureproductcard/FeaturedProductCardProps.d.ts +1 -0
- package/dist/componentProps/molecules/carousel/standardcarousel/StandardCarouselProps.d.ts +7 -2
- package/dist/componentProps/organisms/articles/articlecarousel/ArticleCarouselProps.d.ts +3 -3
- package/dist/componentProps/organisms/articles/articleimage/ArticleImageProps.d.ts +1 -1
- package/dist/componentProps/organisms/carousels/featureproductcarousel/FeaturedProductsCarouselProps.d.ts +1 -1
- package/dist/index.cjs +8 -8
- package/dist/index.d.ts +3 -0
- package/dist/index.js +943 -935
- package/package.json +1 -1
- /package/dist/stories/{scene → scenes}/article/ArticleScene.d.ts +0 -0
- /package/dist/stories/{scene → scenes}/home/HomePageScene.d.ts +0 -0
- /package/dist/stories/{scene → scenes}/productDetailScene/ProductDetailScene.d.ts +0 -0
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
import type { CallToActionHeroProps } from "../../../organisms/banner/herobanner/CallToActionHeroProps";
|
|
2
1
|
import type { ButtonProps } from "../../../atoms/button/ButtonProps";
|
|
2
|
+
export interface StandardCarouselSlide {
|
|
3
|
+
imageSrc: string;
|
|
4
|
+
imageAlt?: string;
|
|
5
|
+
link?: string;
|
|
6
|
+
}
|
|
3
7
|
export interface StandardCarouselProps {
|
|
4
|
-
slides:
|
|
8
|
+
slides: StandardCarouselSlide[];
|
|
5
9
|
initialIndex?: number;
|
|
6
10
|
showArrows?: boolean;
|
|
7
11
|
showDots?: boolean;
|
|
@@ -10,4 +14,5 @@ export interface StandardCarouselProps {
|
|
|
10
14
|
nextArrowButtonProps?: Partial<ButtonProps>;
|
|
11
15
|
autoRotateSeconds?: number;
|
|
12
16
|
onSlideChange?: (index: number) => void;
|
|
17
|
+
heightClassName?: string;
|
|
13
18
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { StandardCarouselProps } from "../../../molecules/carousel/standardcarousel/StandardCarouselProps";
|
|
2
|
-
export
|
|
1
|
+
import type { StandardCarouselProps, StandardCarouselSlide } from "../../../molecules/carousel/standardcarousel/StandardCarouselProps";
|
|
2
|
+
export interface ArticleCarouselSlide extends StandardCarouselSlide {
|
|
3
3
|
imageText?: string;
|
|
4
|
-
}
|
|
4
|
+
}
|
|
5
5
|
export interface ArticleCarouselProps extends Omit<StandardCarouselProps, "slides" | "onSlideChange"> {
|
|
6
6
|
slides: ArticleCarouselSlide[];
|
|
7
7
|
}
|