yt-uikit 0.7.403-feature-product-offer-refactor.11 → 0.7.403-feature-product-offer-refactor.12

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.
@@ -7,4 +7,4 @@ export declare const ProductOffersTermsMobilePopover: ({ showPopup, selectedOffe
7
7
  onClose: () => void;
8
8
  getOfferMessage: (offer: CartCheckpoint) => string;
9
9
  offersConfig?: ProductsOffersConfigType | null | undefined;
10
- }) => React.JSX.Element | null;
10
+ }) => React.ReactPortal | null;
@@ -7,4 +7,4 @@ export declare const ProductOffersTermsPopup: ({ showPopup, selectedOffer, onClo
7
7
  onClose: () => void;
8
8
  getOfferMessage: (offer: CartCheckpoint) => string;
9
9
  offersConfig?: ProductsOffersConfigType | null | undefined;
10
- }) => React.JSX.Element | null;
10
+ }) => React.ReactPortal | null;
@@ -13,6 +13,7 @@ export interface ProductsOffersConfigType {
13
13
  viewDetailsTitle?: string;
14
14
  alignment?: "left" | "middle" | "right";
15
15
  iconVisibility?: boolean;
16
+ popupIsolationStrategy?: "revert" | "revert-layer" | "unset" | "initial" | "inherit" | "none";
16
17
  }
17
18
  export interface CartCheckpoint extends Checkpoint {
18
19
  customCartProgressBarCriteria?: string | null;
package/dist/index.d.ts CHANGED
@@ -743,6 +743,7 @@ interface ProductsOffersConfigType {
743
743
  viewDetailsTitle?: string;
744
744
  alignment?: "left" | "middle" | "right";
745
745
  iconVisibility?: boolean;
746
+ popupIsolationStrategy?: "revert" | "revert-layer" | "unset" | "initial" | "inherit" | "none";
746
747
  }
747
748
  interface CartCheckpoint extends Checkpoint {
748
749
  customCartProgressBarCriteria?: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "yt-uikit",
3
- "version": "0.7.403-feature-product-offer-refactor.11",
3
+ "version": "0.7.403-feature-product-offer-refactor.12",
4
4
  "description": "YourToken UI Kit",
5
5
  "scripts": {
6
6
  "rollup": "tsc && rollup -c",