formica-ui-lib 1.0.114 → 1.0.119

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.
@@ -4,5 +4,6 @@ export type FeaturedProductCardProps = {
4
4
  title: string;
5
5
  brand: string;
6
6
  decorNumber: string | number;
7
+ onClick?: () => void;
7
8
  href?: string;
8
9
  };
@@ -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: CallToActionHeroProps[];
8
+ slides: StandardCarouselSlide[];
5
9
  initialIndex?: number;
6
10
  showArrows?: boolean;
7
11
  showDots?: boolean;
@@ -1,7 +1,7 @@
1
- import type { StandardCarouselProps } from "../../../molecules/carousel/standardcarousel/StandardCarouselProps";
2
- export type ArticleCarouselSlide = StandardCarouselProps["slides"][number] & {
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
  }
@@ -1,4 +1,4 @@
1
1
  export interface ArticleImageProps {
2
- imageSrc: string;
2
+ imageSrc?: string;
3
3
  imageAlt?: string;
4
4
  }