yt-uikit 0.7.422 → 0.7.424
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/esm/components/index.d.ts +1 -0
- package/dist/esm/index.js +415 -415
- package/dist/esm/types/components/index.d.ts +1 -0
- package/dist/index.d.ts +27 -1
- package/package.json +1 -1
|
@@ -4,3 +4,4 @@ export { default as Cart } from "./Cart";
|
|
|
4
4
|
export { default as CouponFrame } from "./CouponFrame";
|
|
5
5
|
export { default as Bundle } from "./BundleBlock";
|
|
6
6
|
export { default as BundleLoader } from "./BundleBlock/Loader";
|
|
7
|
+
export { default as ProductOffers, ProductsOffersConfigType, CartCheckpoint, } from "./ProductOffersBlock/ProductsOffers";
|
package/dist/index.d.ts
CHANGED
|
@@ -732,4 +732,30 @@ declare const Cart: React.FC<CartProps>;
|
|
|
732
732
|
type BundleLoaderProps = {};
|
|
733
733
|
declare const BundleLoader: React.FC<BundleLoaderProps>;
|
|
734
734
|
|
|
735
|
-
|
|
735
|
+
interface ProductsOffersConfigType {
|
|
736
|
+
sectionType?: "coupon" | "list";
|
|
737
|
+
sectionTitle?: string;
|
|
738
|
+
sectionBackgroundColor?: string;
|
|
739
|
+
sectionBgContrastColor?: string;
|
|
740
|
+
cardBackgroundColor?: string;
|
|
741
|
+
cardBackgroundTransparent?: boolean;
|
|
742
|
+
textColor?: string;
|
|
743
|
+
accentColor?: string;
|
|
744
|
+
roundness?: number;
|
|
745
|
+
cardPadding?: number;
|
|
746
|
+
viewDetailsTitle?: string;
|
|
747
|
+
alignment?: "left" | "middle" | "right";
|
|
748
|
+
iconVisibility?: boolean;
|
|
749
|
+
popupIsolationStrategy?: "revert" | "revert-layer" | "unset" | "initial" | "inherit" | "none";
|
|
750
|
+
}
|
|
751
|
+
interface CartCheckpoint extends Checkpoint {
|
|
752
|
+
customCartProgressBarCriteria?: string | null;
|
|
753
|
+
discountPercentage?: number | null;
|
|
754
|
+
discountId?: number | null;
|
|
755
|
+
}
|
|
756
|
+
declare const ProductsOffers: ({ offersConfig, offers, }: {
|
|
757
|
+
offersConfig?: ProductsOffersConfigType | null | undefined;
|
|
758
|
+
offers: CartCheckpoint[];
|
|
759
|
+
}) => React.JSX.Element;
|
|
760
|
+
|
|
761
|
+
export { Bundle, BundleLoader, Cart, CartCheckpoint, CouponFrame, Nudge, ProductsOffers as ProductOffers, ProductsOffersConfigType, SpinnerWheel };
|