yt-uikit 0.8.29-volume-bundle-variant-init.0 → 0.8.29

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.
@@ -33,6 +33,7 @@ interface CheckoutSectionProps {
33
33
  showPoweredByBadge?: boolean;
34
34
  showCheckoutButtonPaymentIcons?: boolean;
35
35
  primaryTextColor?: string;
36
+ hideSubtotalAndBadge?: boolean;
36
37
  }
37
- declare function CheckoutSection({ checkoutButtonColor, checkoutFontSize, checkoutFunction, discountApplied, discountInCheckoutButton, discountAmountApplied, minimumCartValue, themeTextColor, applyGSTToCart, showGSTOption, applyNoteToCart, showNoteOption, enableGeoLocationDeliveryRestriction, applyPostalCodeAndDeliverySlotToCart, enableSlotPicker, isStickyCheckout, cartComponentsCornerType, cartComponentsCornerRadius, checkoutSectionMessage, checkoutSectionMessageDisplay, checkoutSectionMessageRedirectLink, showDiscountOnMRP, tertiaryColor, tertiaryTextColor, cartCheckpoints, toggleDecimal, disableCheckoutButton, checkoutButtonBottomSpacing, showPoweredByBadge, showCheckoutButtonPaymentIcons, primaryTextColor, }: CheckoutSectionProps): React.JSX.Element;
38
+ declare function CheckoutSection({ checkoutButtonColor, checkoutFontSize, checkoutFunction, discountApplied, discountInCheckoutButton, discountAmountApplied, minimumCartValue, themeTextColor, applyGSTToCart, showGSTOption, applyNoteToCart, showNoteOption, enableGeoLocationDeliveryRestriction, applyPostalCodeAndDeliverySlotToCart, enableSlotPicker, isStickyCheckout, cartComponentsCornerType, cartComponentsCornerRadius, checkoutSectionMessage, checkoutSectionMessageDisplay, checkoutSectionMessageRedirectLink, showDiscountOnMRP, tertiaryColor, tertiaryTextColor, cartCheckpoints, toggleDecimal, disableCheckoutButton, checkoutButtonBottomSpacing, showPoweredByBadge, showCheckoutButtonPaymentIcons, primaryTextColor, hideSubtotalAndBadge, }: CheckoutSectionProps): React.JSX.Element;
38
39
  export default CheckoutSection;
@@ -0,0 +1,12 @@
1
+ import React from "react";
2
+ import { Checkpoint } from "./Cart";
3
+ interface SubtotalSectionProps {
4
+ showDiscountOnMRP?: boolean;
5
+ cartCheckpoints?: Checkpoint[];
6
+ toggleDecimal?: boolean;
7
+ primaryTextColor?: string;
8
+ discountApplied?: boolean;
9
+ showPoweredByBadge?: boolean;
10
+ }
11
+ declare function SubtotalSection({ showDiscountOnMRP, cartCheckpoints, toggleDecimal, primaryTextColor, discountApplied, showPoweredByBadge, }: SubtotalSectionProps): React.JSX.Element | null;
12
+ export default SubtotalSection;