formica-ui-lib 1.0.332 → 1.0.334
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/cards/cartItemCard/CartItemCardProps.d.ts +2 -0
- package/dist/componentProps/molecules/cards/documentinfocard/DocumentInfoCardProps.d.ts +1 -0
- package/dist/componentProps/molecules/cards/quantitycheckoutcard/QuantityCheckoutCardProps.d.ts +2 -0
- package/dist/componentProps/molecules/cart/cartactions/CartActionsProps.d.ts +2 -0
- package/dist/componentProps/organisms/cart/cartsummary/CartSummaryProps.d.ts +2 -0
- package/dist/componentProps/organisms/cart/purchasepanel/PurchasePanelLeftPanelProps.d.ts +2 -0
- package/dist/componentProps/organisms/cart/purchasepanel/PurchasePanelProps.d.ts +2 -0
- package/dist/componentProps/organisms/collections/documentinfocollection/DocumentInfoCollectionProps.d.ts +1 -0
- package/dist/componentProps/templates/documentresultstemplate/DocumentResultsTemplateProps.d.ts +1 -0
- package/dist/componentProps/templates/productdetailpagetemplate/ProductDetailPageTemplateProps.d.ts +2 -0
- package/dist/index.cjs +3 -3
- package/dist/index.js +578 -563
- package/dist/stories/molecules/cards/quantitycheckoutcard/QuantityCheckoutCard.d.ts +1 -1
- package/dist/tailwind.css +1 -1
- package/package.json +1 -1
|
@@ -10,6 +10,7 @@ export type DocumentInfoCardClickPayload = {
|
|
|
10
10
|
};
|
|
11
11
|
export type DocumentInfoCardProps = {
|
|
12
12
|
layoutVariant?: "table" | "compact";
|
|
13
|
+
downloadLabelTemplate?: string;
|
|
13
14
|
documentInfoCardItem: DocumentInfoCardItem;
|
|
14
15
|
onDownloadClick: (payload: DocumentInfoCardClickPayload) => void;
|
|
15
16
|
onRangeClick: (payload: DocumentInfoCardClickPayload) => void;
|
|
@@ -48,6 +48,8 @@ export type PurchasePanelLeftPanelProps = {
|
|
|
48
48
|
returnPolicyLabel?: string;
|
|
49
49
|
onPurchaseInfoLinkClick?: (href: string, meta?: SwatchPurchasePanelLeftPanelNavigateMeta) => void;
|
|
50
50
|
priceLabel?: string;
|
|
51
|
+
/** App-provided validation error for the purchase quantity or selected item. */
|
|
52
|
+
errorMessage?: string;
|
|
51
53
|
initialQuantity?: number;
|
|
52
54
|
minQuantity?: number;
|
|
53
55
|
maxQuantity?: number;
|
|
@@ -108,6 +108,8 @@ export type PurchasePanelProps = {
|
|
|
108
108
|
priceLabel?: string;
|
|
109
109
|
priceValue?: number;
|
|
110
110
|
currency?: string;
|
|
111
|
+
/** App-provided validation error for the purchase quantity or selected item. */
|
|
112
|
+
errorMessage?: string;
|
|
111
113
|
initialQuantity?: number;
|
|
112
114
|
minQuantity?: number;
|
|
113
115
|
maxQuantity?: number;
|
|
@@ -6,6 +6,7 @@ export interface DocumentInfoCollectionProps {
|
|
|
6
6
|
documentTypeLabel?: string;
|
|
7
7
|
documentSubtypeLabel?: string;
|
|
8
8
|
emptyMessage?: string;
|
|
9
|
+
downloadLabelTemplate?: string;
|
|
9
10
|
documentInfoCards: DocumentInfoCardItem[];
|
|
10
11
|
onDownloadClick: (payload: DocumentInfoCardClickPayload) => void;
|
|
11
12
|
onRangeClick: (payload: DocumentInfoCardClickPayload) => void;
|
package/dist/componentProps/templates/documentresultstemplate/DocumentResultsTemplateProps.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ export type DocumentResultsTemplateProps = {
|
|
|
20
20
|
searchBarProps: SearchBarProps;
|
|
21
21
|
filterPanelHeader?: string;
|
|
22
22
|
appliedOptionsHeader?: string;
|
|
23
|
+
appliedOptionsEmptyLabel?: string;
|
|
23
24
|
clearAllLabel?: string;
|
|
24
25
|
applyFiltersLabel?: string;
|
|
25
26
|
mobileFilterLabel?: string;
|
package/dist/componentProps/templates/productdetailpagetemplate/ProductDetailPageTemplateProps.d.ts
CHANGED
|
@@ -248,6 +248,8 @@ export type ProductDetailCartFlyoutProps = CartFlyoutProps;
|
|
|
248
248
|
export type ProductDetailPageTemplateProps = {
|
|
249
249
|
breadcrumbsProps?: BreadcrumbsProps;
|
|
250
250
|
productData: ProductDetailData;
|
|
251
|
+
/** App-provided validation error displayed above the purchase quantity controls. */
|
|
252
|
+
errorMessage?: string;
|
|
251
253
|
showFavorites?: boolean;
|
|
252
254
|
onDownloadSwatch?: (productData: ProductDetailData) => void;
|
|
253
255
|
onDownloadFullSheet?: (productData: ProductDetailData) => void;
|