formica-ui-lib 1.0.106 → 1.0.110

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.
Files changed (24) hide show
  1. package/dist/componentProps/{organisms/banner/herobanner/CallToActionHeroCarouselProps.d.ts → molecules/carousel/standardcarousel/StandardCarouselProps.d.ts} +3 -2
  2. package/dist/componentProps/organisms/articles/articlecarousel/ArticleCarouselProps.d.ts +7 -0
  3. package/dist/componentProps/organisms/articles/articleimage/ArticleImageProps.d.ts +4 -0
  4. package/dist/componentProps/organisms/articles/articletext/ArticleTextProps.d.ts +6 -0
  5. package/dist/componentProps/organisms/banner/articlebanner/ArticleBannerProps.d.ts +12 -0
  6. package/dist/componentProps/scene/article/ArticleScene.d.ts +12 -0
  7. package/dist/componentProps/{page/productdetailpage/ProductDetailPageProps.d.ts → scene/productdetailscene/ProductDetailSceneProps.d.ts} +1 -1
  8. package/dist/index.cjs +8 -8
  9. package/dist/index.d.ts +8 -2
  10. package/dist/index.js +2920 -2519
  11. package/dist/stories/molecules/carousel/standardcarousel/StandardCarousel.d.ts +4 -0
  12. package/dist/stories/organisms/articles/articlecarousel/ArticleCarousel.d.ts +4 -0
  13. package/dist/stories/organisms/articles/articleimage/ArticleImage.d.ts +4 -0
  14. package/dist/stories/organisms/articles/articletext/ArticleText.d.ts +4 -0
  15. package/dist/stories/organisms/banner/articlebanner/ArticleBanner.d.ts +4 -0
  16. package/dist/stories/scene/article/ArticleScene.d.ts +4 -0
  17. package/dist/stories/{page/home/HomePage.d.ts → scene/home/HomePageScene.d.ts} +2 -2
  18. package/dist/stories/scene/productDetailScene/ProductDetailScene.d.ts +4 -0
  19. package/dist/stories/templates/cart/payment/CartPaymentTemplate.d.ts +2 -2
  20. package/package.json +1 -1
  21. package/dist/componentProps/molecules/selectors/breadcrumb/BreadcrumbProps.d.ts +0 -9
  22. package/dist/stories/organisms/banner/calltoactioncarousel/CallToActionHeroCarousel.d.ts +0 -4
  23. package/dist/stories/organisms/banner/calltoactioncarousel/CallToActionHeroCarousel.stories.d.ts +0 -42
  24. package/dist/stories/page/productDetailPage/ProductDetailPage.d.ts +0 -4
@@ -1,6 +1,6 @@
1
- import type { CallToActionHeroProps } from "./CallToActionHeroProps";
1
+ import type { CallToActionHeroProps } from "../../../organisms/banner/herobanner/CallToActionHeroProps";
2
2
  import type { ButtonProps } from "../../../atoms/button/ButtonProps";
3
- export interface CallToActionHeroCarouselProps {
3
+ export interface StandardCarouselProps {
4
4
  slides: CallToActionHeroProps[];
5
5
  initialIndex?: number;
6
6
  showArrows?: boolean;
@@ -9,4 +9,5 @@ export interface CallToActionHeroCarouselProps {
9
9
  prevArrowButtonProps?: Partial<ButtonProps>;
10
10
  nextArrowButtonProps?: Partial<ButtonProps>;
11
11
  autoRotateSeconds?: number;
12
+ onSlideChange?: (index: number) => void;
12
13
  }
@@ -0,0 +1,7 @@
1
+ import type { StandardCarouselProps } from "../../../molecules/carousel/standardcarousel/StandardCarouselProps";
2
+ export type ArticleCarouselSlide = StandardCarouselProps["slides"][number] & {
3
+ imageText?: string;
4
+ };
5
+ export interface ArticleCarouselProps extends Omit<StandardCarouselProps, "slides" | "onSlideChange"> {
6
+ slides: ArticleCarouselSlide[];
7
+ }
@@ -0,0 +1,4 @@
1
+ export interface ArticleImageProps {
2
+ imageSrc: string;
3
+ imageAlt?: string;
4
+ }
@@ -0,0 +1,6 @@
1
+ export interface ArticleTextProps {
2
+ heading?: string;
3
+ subheading?: string;
4
+ datetimeStamp?: string;
5
+ body?: string;
6
+ }
@@ -0,0 +1,12 @@
1
+ export type ArticleBannerTag = {
2
+ id: string;
3
+ label: string;
4
+ href?: string;
5
+ };
6
+ export interface ArticleBannerProps {
7
+ imageSrc: string;
8
+ imageAlt?: string;
9
+ tags?: ArticleBannerTag[];
10
+ categoryText?: string;
11
+ onTagClick?: (tag: ArticleBannerTag) => void;
12
+ }
@@ -0,0 +1,12 @@
1
+ import type { ArticleBannerProps } from "../../organisms/banner/articlebanner/ArticleBannerProps";
2
+ import type { ArticleTextProps } from "../../organisms/articles/articletext/ArticleTextProps";
3
+ import type { ArticleImageProps } from "../../organisms/articles/articleimage/ArticleImageProps";
4
+ import type { ArticleCarouselProps } from "../../organisms/articles/articlecarousel/ArticleCarouselProps";
5
+ export type ArticlePageProps = {
6
+ articleBannerProps: ArticleBannerProps;
7
+ articleHeaderProps: ArticleTextProps;
8
+ articleTextProps: ArticleTextProps;
9
+ articleTextProps2: ArticleTextProps;
10
+ articleImageProps: ArticleImageProps;
11
+ articleCarouselProps: ArticleCarouselProps;
12
+ };
@@ -2,7 +2,7 @@ import type { BrandNavBarProps } from "../../organisms/navigation/BrandNavBarPro
2
2
  import type { TopNavBarProps } from "../../organisms/navigation/TopNavBarProps";
3
3
  import type { FooterProps } from "../../organisms/footer/FooterProps";
4
4
  import { ProductDetailPageTemplateProps } from "../../templates/productdetailpagetemplate/ProductDetailPageTemplateProps";
5
- export type ProductDetailPageProps = {
5
+ export type ProductDetailSceneProps = {
6
6
  brandNavBarProps: BrandNavBarProps;
7
7
  topNavBarProps: TopNavBarProps;
8
8
  productDetailPageTemplateProps: ProductDetailPageTemplateProps;