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.
- package/dist/componentProps/molecules/banner/articlebannercontent/ArticleBannerContentProps.d.ts +6 -0
- package/dist/componentProps/molecules/banner/calltoactionherocontent/CallToActionHeroContentProps.d.ts +8 -0
- package/dist/componentProps/molecules/banner/featuredarticlebannercontent/FeaturedArticleBannerContentProps.d.ts +5 -0
- package/dist/componentProps/molecules/banner/standardcopybannercontent/StandardCopyBannerContentProps.d.ts +7 -0
- package/dist/componentProps/molecules/card/faqcard/FaqCardProps.d.ts +5 -0
- package/dist/componentProps/organisms/banner/featuredarticlebanner/FeaturedArticleBannerProps.d.ts +7 -0
- package/dist/componentProps/organisms/banner/herobanner/CallToActionHeroProps.d.ts +1 -1
- package/dist/componentProps/organisms/banner/standardbannercontainer/StandardBannerContainerProps.d.ts +11 -0
- package/dist/componentProps/organisms/cart/carttotalspanel/CartTotalsPanelProps.d.ts +2 -0
- package/dist/componentProps/organisms/cart/purchasepanel/PurchasePanelProps.d.ts +2 -0
- package/dist/componentProps/organisms/faqcardcollection/FaqCardCollectionProps.d.ts +8 -0
- package/dist/componentProps/scene/articlelanding/ArticleLandingSceneProps.d.ts +14 -0
- package/dist/componentProps/templates/cartconfirmationtemplate/CartConfirmationTemplateProps.d.ts +0 -1
- package/dist/componentProps/templates/productdetailpagetemplate/ProductDetailPageTemplateProps.d.ts +1 -0
- package/dist/index.cjs +8 -8
- package/dist/index.d.ts +12 -0
- package/dist/index.js +1720 -1622
- package/dist/stories/molecules/banner/articlebannercontent/ArticleBannerContent.d.ts +4 -0
- package/dist/stories/molecules/banner/calltoactionherocontent/CallToActionHeroContent.d.ts +4 -0
- package/dist/stories/molecules/banner/featuredarticlebannercontent/FeaturedArticleBannerContent.d.ts +4 -0
- package/dist/stories/molecules/banner/standardcopybannercontent/StandardCopyBannerContent.d.ts +4 -0
- package/dist/stories/molecules/card/faqcard/FaqCard.d.ts +4 -0
- package/dist/stories/organisms/banner/featuredarticlebanner/FeaturedArticleBanner.d.ts +4 -0
- package/dist/stories/organisms/banner/standardbannercontainer/StandardBannerContainer.d.ts +4 -0
- package/dist/stories/organisms/faqcardcollection/FaqCardCollection.d.ts +4 -0
- package/dist/stories/scenes/articlelanding/ArticleLandingScene.d.ts +4 -0
- package/package.json +1 -1
|
@@ -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,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,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
|
+
};
|
package/dist/componentProps/templates/productdetailpagetemplate/ProductDetailPageTemplateProps.d.ts
CHANGED
|
@@ -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 = {
|