@gem-sdk/components 8.0.0-dev.89 → 8.0.0-dev.90
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/cjs/builder.js +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/post-purchase/product/components/product-subscription/common/classes.js +1 -0
- package/dist/cjs/post-purchase/product/components/product-subscription/common/styles.js +1 -0
- package/dist/cjs/post-purchase/product/components/product-subscription/components/ProductSubscription.js +1 -0
- package/dist/cjs/post-purchase/product/components/product-subscription/components/SellingPlanDropdown.js +1 -0
- package/dist/cjs/post-purchase/product/components/product-subscription/components/SellingPlanLabel.js +1 -0
- package/dist/cjs/post-purchase/product/components/product-subscription/components/SellingPlanRadio.js +1 -0
- package/dist/cjs/post-purchase/product/components/product-subscription/components/SubscriptionDetail.js +1 -0
- package/dist/cjs/post-purchase/product/components/product-subscription/components/SubscriptionRadio.js +1 -0
- package/dist/cjs/post-purchase/product/components/product-subscription/hooks/useSellingPlanOptions.js +1 -0
- package/dist/cjs/post-purchase/product/next.js +1 -1
- package/dist/cjs/post-purchase/product/settings/product-subscription/configs/presets.js +10 -10
- package/dist/cjs/post-purchase/product/settings/product-subscription/configs/settings.js +1 -1
- package/dist/cjs/post-purchase/product/settings/product-subscription/configs/ui-v2.js +1 -1
- package/dist/cjs/post-purchase/product/settings/product-subscription/index.js +9 -4
- package/dist/esm/builder.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/post-purchase/product/components/product-subscription/common/classes.js +1 -0
- package/dist/esm/post-purchase/product/components/product-subscription/common/styles.js +1 -0
- package/dist/esm/post-purchase/product/components/product-subscription/components/ProductSubscription.js +1 -0
- package/dist/esm/post-purchase/product/components/product-subscription/components/SellingPlanDropdown.js +1 -0
- package/dist/esm/post-purchase/product/components/product-subscription/components/SellingPlanLabel.js +1 -0
- package/dist/esm/post-purchase/product/components/product-subscription/components/SellingPlanRadio.js +1 -0
- package/dist/esm/post-purchase/product/components/product-subscription/components/SubscriptionDetail.js +1 -0
- package/dist/esm/post-purchase/product/components/product-subscription/components/SubscriptionRadio.js +1 -0
- package/dist/esm/post-purchase/product/components/product-subscription/hooks/useSellingPlanOptions.js +1 -0
- package/dist/esm/post-purchase/product/next.js +1 -1
- package/dist/esm/post-purchase/product/settings/product-subscription/configs/presets.js +10 -10
- package/dist/esm/post-purchase/product/settings/product-subscription/configs/settings.js +1 -1
- package/dist/esm/post-purchase/product/settings/product-subscription/configs/ui-v2.js +1 -1
- package/dist/esm/post-purchase/product/settings/product-subscription/index.js +10 -5
- package/dist/types/index.d.ts +26 -9
- package/package.json +1 -1
- package/dist/cjs/post-purchase/product/components/ProductSubscription.js +0 -1
- package/dist/esm/post-purchase/product/components/ProductSubscription.js +0 -1
package/dist/types/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _gem_sdk_core from '@gem-sdk/core';
|
|
2
|
-
import { BasePropsWrap, TypographySettingV2, ObjectDevices, Background, SizeSettingGlobal, StateProp, ColorValueType, TypographySetting, Border, SizeSetting, CornerRadius, ShadowProps, ObjectLayoutValue, BackgroundMedia, PageContext, AlignProp, TransformProp, Ratio, ResponsiveStateProp, BackgroundImageValue, BaseProps, PaddingType as PaddingType$2, NameDevices, RawChild, PostPurchaseTypo, AlignItemProp, ProductProviderProps, AdvancedType,
|
|
2
|
+
import { BasePropsWrap, TypographySettingV2, ObjectDevices, Background, SizeSettingGlobal, StateProp, ColorValueType, TypographySetting, Border, SizeSetting, CornerRadius, ShadowProps, ObjectLayoutValue, BackgroundMedia, PageContext, AlignProp, TransformProp, Ratio, ResponsiveStateProp, BackgroundImageValue, BaseProps, PaddingType as PaddingType$2, NameDevices, RawChild, PostPurchaseTypo, AlignItemProp, ProductProviderProps, AdvancedType, DotStyle as DotStyle$2, AirProductReview, TagShopWidgetType, PreOrderNowWodWidgetType, FastBundleWidgetType, LooxReviewsWidgetType, LooxReviewsWidgetTypeV2, JudgeMeReviewsWidgetType, ProductReviewsWidgetType, RyviuWidgetType, RivyoWidgetType, VitalsWidgetType, OmnisendWidgetType, TrustooWidgetType, FeraReviewsWidgetType, FeraReviewsV3WidgetType, GrowaveWidgetTypeV2, GrowaveWidgetTypeV1, OpinewWidgetType, OpinewDesignWidgetType, UltimateSalesBoostWidgetType, AliReviewsWidgetType, BoldSubscriptionsWidgetType, PickyStoryWidgetType, WiserWidgetType, WiserV2WidgetType, StampedWidgetType, StampedWidgetTypeV2, LaiProductReviewsWidgetType, LaiProductReviewsAdvancedWidgetType, YotpoReviewsWidgetType, BogosWidgetType, InstantJudgeMeReviewsWidgetType, InstantLooxReviewsWidgetType, ComponentSetting, RenderMode } from '@gem-sdk/core';
|
|
3
3
|
import * as csstype from 'csstype';
|
|
4
4
|
import { Property } from 'csstype';
|
|
5
5
|
import * as _gem_sdk_keen_slider from '@gem-sdk/keen-slider';
|
|
@@ -3068,14 +3068,31 @@ type PostPurchaseProductImagesProps = BasePropsWrap<ProductImagesSettingProps, P
|
|
|
3068
3068
|
children?: React.ReactNode;
|
|
3069
3069
|
};
|
|
3070
3070
|
|
|
3071
|
-
|
|
3072
|
-
|
|
3073
|
-
|
|
3074
|
-
|
|
3075
|
-
|
|
3076
|
-
|
|
3077
|
-
|
|
3078
|
-
|
|
3071
|
+
declare const postPurchaseSpacing: Record<string, string>;
|
|
3072
|
+
|
|
3073
|
+
type ProductSubscriptionSettingProps = {
|
|
3074
|
+
sellingType?: 'one-time' | 'subscription';
|
|
3075
|
+
sellingLabel?: string;
|
|
3076
|
+
sellingStyle?: 'dropdown' | 'radio' | 'image';
|
|
3077
|
+
sellingTitle?: string;
|
|
3078
|
+
subscriptionLabel?: string;
|
|
3079
|
+
enableSubscriptionDetail?: boolean;
|
|
3080
|
+
};
|
|
3081
|
+
type ProductSubscriptionStyleProps = {
|
|
3082
|
+
sellingTitleDirection?: 'ltr' | 'rtl';
|
|
3083
|
+
sellingTitleTypo?: PostPurchaseTypo;
|
|
3084
|
+
sellingTitleAlign?: AlignItemProp;
|
|
3085
|
+
subscriptionDetailDirection?: 'ltr' | 'rtl';
|
|
3086
|
+
subscriptionDetailTypo?: PostPurchaseTypo;
|
|
3087
|
+
subscriptionDetailAlign?: AlignItemProp;
|
|
3088
|
+
sellingPlanItemGap?: keyof typeof postPurchaseSpacing | undefined;
|
|
3089
|
+
width?: ObjectDevices<string>;
|
|
3090
|
+
backgroundColor?: ObjectDevices<string | undefined>;
|
|
3091
|
+
align?: AlignItemProp;
|
|
3092
|
+
};
|
|
3093
|
+
type PostPurchaseProductSubscriptionProps = BasePropsWrap<ProductSubscriptionSettingProps, ProductSubscriptionStyleProps> & {
|
|
3094
|
+
advanced?: any;
|
|
3095
|
+
children?: ReactNode;
|
|
3079
3096
|
};
|
|
3080
3097
|
|
|
3081
3098
|
type PostPurchaseProductTitleSettingProps = PostPurchaseTextSettingProps & {
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var jsxRuntime=require("react/jsx-runtime");const ProductSubscription=()=>jsxRuntime.jsx("div",{className:"product-subscription",children:jsxRuntime.jsx("h1",{children:"Product Subscription"})});exports.default=ProductSubscription;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{jsx as r}from"react/jsx-runtime";let ProductSubscription=()=>r("div",{className:"product-subscription",children:r("h1",{children:"Product Subscription"})});export{ProductSubscription as default};
|