formica-ui-lib 1.0.160 → 1.0.161

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 (27) hide show
  1. package/dist/componentProps/molecules/banner/articlebannercontent/ArticleBannerContentProps.d.ts +6 -0
  2. package/dist/componentProps/molecules/banner/calltoactionherocontent/CallToActionHeroContentProps.d.ts +8 -0
  3. package/dist/componentProps/molecules/banner/featuredarticlebannercontent/FeaturedArticleBannerContentProps.d.ts +5 -0
  4. package/dist/componentProps/molecules/banner/standardcopybannercontent/StandardCopyBannerContentProps.d.ts +7 -0
  5. package/dist/componentProps/molecules/card/faqcard/FaqCardProps.d.ts +5 -0
  6. package/dist/componentProps/organisms/banner/featuredarticlebanner/FeaturedArticleBannerProps.d.ts +7 -0
  7. package/dist/componentProps/organisms/banner/herobanner/CallToActionHeroProps.d.ts +1 -1
  8. package/dist/componentProps/organisms/banner/standardbannercontainer/StandardBannerContainerProps.d.ts +11 -0
  9. package/dist/componentProps/organisms/cart/carttotalspanel/CartTotalsPanelProps.d.ts +2 -0
  10. package/dist/componentProps/organisms/cart/purchasepanel/PurchasePanelProps.d.ts +2 -0
  11. package/dist/componentProps/organisms/faqcardcollection/FaqCardCollectionProps.d.ts +8 -0
  12. package/dist/componentProps/scene/articlelanding/ArticleLandingSceneProps.d.ts +14 -0
  13. package/dist/componentProps/templates/cartconfirmationtemplate/CartConfirmationTemplateProps.d.ts +0 -1
  14. package/dist/componentProps/templates/productdetailpagetemplate/ProductDetailPageTemplateProps.d.ts +1 -0
  15. package/dist/index.cjs +8 -8
  16. package/dist/index.d.ts +12 -0
  17. package/dist/index.js +1720 -1622
  18. package/dist/stories/molecules/banner/articlebannercontent/ArticleBannerContent.d.ts +4 -0
  19. package/dist/stories/molecules/banner/calltoactionherocontent/CallToActionHeroContent.d.ts +4 -0
  20. package/dist/stories/molecules/banner/featuredarticlebannercontent/FeaturedArticleBannerContent.d.ts +4 -0
  21. package/dist/stories/molecules/banner/standardcopybannercontent/StandardCopyBannerContent.d.ts +4 -0
  22. package/dist/stories/molecules/card/faqcard/FaqCard.d.ts +4 -0
  23. package/dist/stories/organisms/banner/featuredarticlebanner/FeaturedArticleBanner.d.ts +4 -0
  24. package/dist/stories/organisms/banner/standardbannercontainer/StandardBannerContainer.d.ts +4 -0
  25. package/dist/stories/organisms/faqcardcollection/FaqCardCollection.d.ts +4 -0
  26. package/dist/stories/scenes/articlelanding/ArticleLandingScene.d.ts +4 -0
  27. package/package.json +1 -1
@@ -0,0 +1,6 @@
1
+ import type { ArticleBannerTag } from "../../../organisms/banner/articlebanner/ArticleBannerProps";
2
+ export interface ArticleBannerContentProps {
3
+ tags?: ArticleBannerTag[];
4
+ categoryText?: string;
5
+ onTagClick?: (tag: ArticleBannerTag) => void;
6
+ }
@@ -0,0 +1,8 @@
1
+ import type { CallToActionHeroCta } from "../../../organisms/banner/herobanner/CallToActionHeroProps";
2
+ export interface CallToActionHeroContentProps {
3
+ heading: string;
4
+ subheading?: string;
5
+ body?: string;
6
+ eyebrow?: string;
7
+ ctas?: CallToActionHeroCta[];
8
+ }
@@ -0,0 +1,5 @@
1
+ export interface FeaturedArticleBannerContentProps {
2
+ heading: string;
3
+ subheading?: string;
4
+ articleCategory?: string;
5
+ }
@@ -0,0 +1,7 @@
1
+ export interface StandardCopyBannerContentProps {
2
+ heading: string;
3
+ subheading?: string;
4
+ body?: string;
5
+ linkLabel?: string;
6
+ onLinkClick?: () => void;
7
+ }
@@ -0,0 +1,5 @@
1
+ export interface FaqCardProps {
2
+ question: string;
3
+ answer: string;
4
+ initiallyOpen?: boolean;
5
+ }
@@ -0,0 +1,7 @@
1
+ export interface FeaturedArticleBannerProps {
2
+ imageSrc: string;
3
+ imageAlt?: string;
4
+ heading: string;
5
+ subheading?: string;
6
+ articleCategory?: string;
7
+ }
@@ -13,7 +13,7 @@ export interface CallToActionHeroProps {
13
13
  imageAlt?: string;
14
14
  heading: string;
15
15
  subheading?: string;
16
- body: string;
16
+ body?: string;
17
17
  eyebrow?: string;
18
18
  ctas?: CallToActionHeroCta[];
19
19
  }
@@ -0,0 +1,11 @@
1
+ import type React from "react";
2
+ export interface StandardBannerContainerProps {
3
+ imageSrc: string;
4
+ imageAlt?: string;
5
+ children: React.ReactNode;
6
+ sectionClassName?: string;
7
+ bannerClassName?: string;
8
+ imageClassName?: string;
9
+ overlayClassName?: string;
10
+ imageQuality?: number;
11
+ }
@@ -2,10 +2,12 @@ import React from "react";
2
2
  export interface CartTotalsPanelProps {
3
3
  discountCode?: string;
4
4
  subtotalLabel?: string;
5
+ discountLabel?: string;
5
6
  taxLabel?: string;
6
7
  shippingLabel?: string;
7
8
  totalLabel?: string;
8
9
  subtotal?: string;
10
+ discount?: string;
9
11
  tax?: string;
10
12
  shipping?: string;
11
13
  total?: string;
@@ -28,6 +28,7 @@ export type CartOrderProps = {
28
28
  priceValue?: number;
29
29
  priceLabel?: string;
30
30
  currency?: string;
31
+ bigCommerceProductId?: string | number;
31
32
  };
32
33
  export type PurchasePanelTabOptionGroups = {
33
34
  productOptions?: PurchasePanelOptionProps[];
@@ -48,6 +49,7 @@ export type ProductVariantProps = {
48
49
  value?: number;
49
50
  label?: string;
50
51
  };
52
+ bigCommerceProductId?: string | number;
51
53
  finish?: string;
52
54
  grade?: string;
53
55
  isWebEnabled?: boolean;
@@ -0,0 +1,8 @@
1
+ import { FaqCardProps } from "../../molecules/card/faqcard/FaqCardProps";
2
+ export interface FaqCardCollectionItem extends FaqCardProps {
3
+ id: string;
4
+ }
5
+ export interface FaqCardCollectionProps {
6
+ title: string;
7
+ faqCards?: FaqCardCollectionItem[];
8
+ }
@@ -0,0 +1,14 @@
1
+ import type { StandardCopyHeroProps } from "../../organisms/banner/standardcopyhero/StandardCopyHeroProps";
2
+ import type { MultiButtonBarProps } from "../../molecules/selectors/multibuttonbar/MultiButtonBarProps";
3
+ import type { FilterBarProps } from "../../molecules/selectors/filterbar/FilterBarProps";
4
+ import type { DropdownFilterProps } from "../../molecules/selectors/filterbar/DropdownFilterProps";
5
+ import type { FeaturedArticleBannerProps } from "../../organisms/banner/featuredarticlebanner/FeaturedArticleBannerProps";
6
+ import type { FeatureCardCollectionProps } from "../../organisms/featurecards/featurecardscollection/FeatureCardCollectionProps";
7
+ export type ArticleLandingSceneProps = {
8
+ standardCopyHeroProps: StandardCopyHeroProps;
9
+ multiButtonBarProps: MultiButtonBarProps;
10
+ filterBarProps: FilterBarProps;
11
+ dropdownFilterProps: DropdownFilterProps;
12
+ featuredArticleBannerProps: FeaturedArticleBannerProps;
13
+ featureCardCollectionProps: FeatureCardCollectionProps;
14
+ };
@@ -7,5 +7,4 @@ export interface CartConfirmationTemplateProps {
7
7
  cartReceiptSectionProps: CartReceiptSectionProps;
8
8
  cartSummarySectionProps: CartSummarySectionProps;
9
9
  cartOrderSummaryProps: CartOrderSummaryProps;
10
- className?: string;
11
10
  }
@@ -216,6 +216,7 @@ export type ProductDetailOrder = {
216
216
  priceValue?: number;
217
217
  priceLabel?: string;
218
218
  currency?: string;
219
+ bigCommerceProductId?: string | number;
219
220
  };
220
221
  export type ProductDetailCartFlyoutProps = Omit<CartFlyoutProps, "isOpen" | "onClose">;
221
222
  export type ProductDetailPageTemplateProps = {