yt-uikit 0.10.7 → 0.10.8

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.
@@ -214,6 +214,7 @@ type ComboStyle = {
214
214
  subProductsProductPriceVisibility: boolean;
215
215
  discountBadgeVisibility?: boolean;
216
216
  discountBadgeDisplay?: "discount-on-compare" | "discount-on-price";
217
+ discountDisplayType?: "percentage" | "amount";
217
218
  comboProductRatingsDisplay?: string;
218
219
  mixAndMatchProductRatingsDisplay?: string;
219
220
  };
@@ -254,6 +255,9 @@ type ByobStyle = {
254
255
  filtersProvider: "based-on-products-data" | "search-and-discovery-app-sync";
255
256
  selectedFilterOptions: string[];
256
257
  productRatingsDisplay?: string;
258
+ discountBadgeVisibility?: boolean;
259
+ discountBadgeDisplay?: "discount-on-compare" | "discount-on-price";
260
+ discountDisplayType?: string;
257
261
  };
258
262
  type FixedStyle = {
259
263
  titleFontSize: string;
@@ -274,6 +278,7 @@ type FixedStyle = {
274
278
  productsPriceVisibility: boolean;
275
279
  compareAtPriceVisibility: boolean;
276
280
  discountBadgeVisibility?: boolean;
281
+ discountDisplayType?: string;
277
282
  discountBadgeDisplay?: "discount-on-compare" | "discount-on-price";
278
283
  productRatingsDisplay?: string;
279
284
  };
@@ -34,6 +34,7 @@ type BundleBuilderTrackerProps = {
34
34
  amountOff?: number;
35
35
  styles: Customizations;
36
36
  dealAmount?: number;
37
+ discountType?: string;
37
38
  selectedItemsQuantity: number;
38
39
  bundleSubtotal: {
39
40
  price: number;