formica-ui-lib 1.0.336 → 1.0.339

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.
@@ -118,6 +118,8 @@ export type PurchasePanelProps = {
118
118
  contactActions?: [ProductContactAction, ProductContactAction];
119
119
  onAddToWishlist?: (payload: AddToFavoritesPayloadProps) => void;
120
120
  onAddToCart?: (order: CartOrderProps) => void;
121
+ /** Reports selection changes without adding anything to the cart. */
122
+ onSelectionChange?: (selection: CartOrderProps) => void;
121
123
  onContactActionClick?: (payload: PurchasePanelContactActionClickPayload) => void;
122
124
  availabilityHref?: string;
123
125
  availabilityLabel?: string;
@@ -250,6 +250,8 @@ export type ProductDetailPageTemplateProps = {
250
250
  productData: ProductDetailData;
251
251
  /** App-provided validation error displayed above the purchase quantity controls. */
252
252
  errorMessage?: string;
253
+ /** Reports initial selection and subsequent quantity, tab, or option changes. */
254
+ onSelectionChange?: (selection: ProductDetailOrder) => void;
253
255
  showFavorites?: boolean;
254
256
  onDownloadSwatch?: (productData: ProductDetailData) => void;
255
257
  onDownloadFullSheet?: (productData: ProductDetailData) => void;