@gem-sdk/core 1.53.0-dev.11 → 1.53.0-dev.113
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/components/ComponentToolbarPreview.js +58 -3
- package/dist/cjs/components/ComponentWrapper.js +16 -1
- package/dist/cjs/components/InteractionSuffix.js +9 -70
- package/dist/cjs/components/Render.liquid.js +3 -2
- package/dist/cjs/contexts/PageContext.js +9 -1
- package/dist/cjs/graphql/queries/published-shop-metas.js +15 -0
- package/dist/cjs/helpers/animations.js +11 -2
- package/dist/cjs/helpers/background.js +3 -1
- package/dist/cjs/helpers/interaction/index.js +24 -5
- package/dist/cjs/helpers/radius.js +11 -1
- package/dist/cjs/helpers/third-party/appConfig.js +35 -0
- package/dist/cjs/helpers/third-party/appSetting.js +104 -0
- package/dist/cjs/helpers/third-party/constant.js +6 -1
- package/dist/cjs/hooks/animation/useAnimationConfig.js +2 -1
- package/dist/cjs/hooks/animation/useApplyAnimation.js +5 -5
- package/dist/cjs/index.js +2 -0
- package/dist/esm/components/ComponentToolbarPreview.js +58 -3
- package/dist/esm/components/ComponentWrapper.js +16 -1
- package/dist/esm/components/InteractionSuffix.js +10 -71
- package/dist/esm/components/Render.liquid.js +3 -2
- package/dist/esm/contexts/PageContext.js +9 -1
- package/dist/esm/graphql/queries/published-shop-metas.js +13 -0
- package/dist/esm/helpers/animations.js +11 -2
- package/dist/esm/helpers/background.js +3 -1
- package/dist/esm/helpers/interaction/index.js +24 -5
- package/dist/esm/helpers/radius.js +11 -1
- package/dist/esm/helpers/third-party/appConfig.js +31 -1
- package/dist/esm/helpers/third-party/appSetting.js +104 -0
- package/dist/esm/helpers/third-party/constant.js +7 -2
- package/dist/esm/hooks/animation/useAnimationConfig.js +2 -1
- package/dist/esm/hooks/animation/useApplyAnimation.js +5 -5
- package/dist/esm/index.js +1 -0
- package/dist/types/index.d.ts +117 -19
- package/package.json +3 -3
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RechargeSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, SubifySubscriptionsConfig, SelleasyConfig, LoopSubscriptionsConfig, SkioSubscriptionsYcS20Config, ShopifyFormsConfig, ReviewxpoProductReviewsAppConfig, PumperBundlesVolumeDiscountConfig, UnlimitedBundlesDiscountsConfig, KiteFreeGiftDiscountConfig, FastBundleBundlesDiscountsConfig, SimpleBundlesKitsConfig, EasyBundleBuilderSkailamaConfig, PreorderNowPreOrderPqConfig, FlyBundlesUpsellsFbtConfig, JunipProductReviewsUgcConfig, PreorderNowWodPresaleConfig, YotpoReviewsV3UgcConfig } from './appConfig.js';
|
|
1
|
+
import { RechargeSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, SubifySubscriptionsConfig, SelleasyConfig, LoopSubscriptionsConfig, SkioSubscriptionsYcS20Config, ShopifyFormsConfig, ReviewxpoProductReviewsAppConfig, PumperBundlesVolumeDiscountConfig, UnlimitedBundlesDiscountsConfig, KiteFreeGiftDiscountConfig, FastBundleBundlesDiscountsConfig, SimpleBundlesKitsConfig, EasyBundleBuilderSkailamaConfig, PreorderNowPreOrderPqConfig, FlyBundlesUpsellsFbtConfig, JunipProductReviewsUgcConfig, PreorderNowWodPresaleConfig, YotpoReviewsV3UgcConfig, WhatmoreShoppableVideosreelConfig, ProductOptionsCustomizerConfig, AppointmentBookingCowlendarConfig, SproutPlantTreesGrowSalesConfig, InstasellShoppableInstagramConfig } from './appConfig.js';
|
|
2
2
|
|
|
3
3
|
const mapShopifyAppMeta = {
|
|
4
4
|
...RechargeSubscriptionsConfig,
|
|
@@ -19,7 +19,12 @@ const mapShopifyAppMeta = {
|
|
|
19
19
|
...FlyBundlesUpsellsFbtConfig,
|
|
20
20
|
...JunipProductReviewsUgcConfig,
|
|
21
21
|
...PreorderNowWodPresaleConfig,
|
|
22
|
-
...YotpoReviewsV3UgcConfig
|
|
22
|
+
...YotpoReviewsV3UgcConfig,
|
|
23
|
+
...WhatmoreShoppableVideosreelConfig,
|
|
24
|
+
...ProductOptionsCustomizerConfig,
|
|
25
|
+
...AppointmentBookingCowlendarConfig,
|
|
26
|
+
...SproutPlantTreesGrowSalesConfig,
|
|
27
|
+
...InstasellShoppableInstagramConfig
|
|
23
28
|
};
|
|
24
29
|
const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
|
|
25
30
|
|
|
@@ -21,13 +21,13 @@ const useApplyAnimation = ({ props })=>{
|
|
|
21
21
|
setAnimationOnFinish,
|
|
22
22
|
setToolbarActive
|
|
23
23
|
});
|
|
24
|
-
const generateAnimation = useCallback(({ target, setting, type })=>{
|
|
25
|
-
return animation[type](target, setting);
|
|
24
|
+
const generateAnimation = useCallback(({ target, setting, type, reverse })=>{
|
|
25
|
+
return animation[type](target, setting, reverse);
|
|
26
26
|
}, [
|
|
27
27
|
animation
|
|
28
28
|
]);
|
|
29
29
|
const initListAnimations = useCallback(()=>{
|
|
30
|
-
const { type, setting } = getAnimationConfig();
|
|
30
|
+
const { type, setting, reverse } = getAnimationConfig();
|
|
31
31
|
if (!type || type === AnimationType.None || !targetObjects.current.length) {
|
|
32
32
|
cancelAnimation();
|
|
33
33
|
return;
|
|
@@ -35,9 +35,9 @@ const useApplyAnimation = ({ props })=>{
|
|
|
35
35
|
const listAnimations = targetObjects.current.map((item)=>generateAnimation({
|
|
36
36
|
type,
|
|
37
37
|
setting,
|
|
38
|
-
target: item.target
|
|
38
|
+
target: item.target,
|
|
39
|
+
reverse
|
|
39
40
|
}));
|
|
40
|
-
console.log('listAnimations', listAnimations);
|
|
41
41
|
cancelAnimation();
|
|
42
42
|
setAnimation(listAnimations);
|
|
43
43
|
}, [
|
package/dist/esm/index.js
CHANGED
|
@@ -17,6 +17,7 @@ export { ModalProvider, useModalStore } from './contexts/ModalContext.js';
|
|
|
17
17
|
export { ArticleListProvider, useArticleListStore } from './contexts/ArticleListContext.js';
|
|
18
18
|
export { ArticleProvider, useArticleStore } from './contexts/ArticleContext.js';
|
|
19
19
|
export { PageViewUpDocument } from './graphql/mutations/page-view-up.generated.js';
|
|
20
|
+
export { PublishedShopMetasDocument } from './graphql/queries/published-shop-metas.js';
|
|
20
21
|
export { CollectionDetailFilterDocument } from './graphql/queries/collection-detail-filter.generated.js';
|
|
21
22
|
export { CollectionDocument } from './graphql/queries/collection.generated.js';
|
|
22
23
|
export { CollectionsDocument } from './graphql/queries/collections.generated.js';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -5413,6 +5413,7 @@ type PublishedShopMetaWhereInput$1 = {
|
|
|
5413
5413
|
valueNotIn?: InputMaybe$1<Array<Scalars$2['String']>>;
|
|
5414
5414
|
};
|
|
5415
5415
|
type PublishedThemePage$1 = {
|
|
5416
|
+
children?: Maybe$1<Array<Maybe$1<PublishedThemePage$1>>>;
|
|
5416
5417
|
createdAt?: Maybe$1<Scalars$2['Time']>;
|
|
5417
5418
|
default: Scalars$2['Boolean'];
|
|
5418
5419
|
description?: Maybe$1<Scalars$2['String']>;
|
|
@@ -5677,12 +5678,18 @@ type PublishedThemePageWhereInput$1 = {
|
|
|
5677
5678
|
handleNEQ?: InputMaybe$1<Scalars$2['String']>;
|
|
5678
5679
|
handleNotIn?: InputMaybe$1<Array<Scalars$2['String']>>;
|
|
5679
5680
|
handleNotNil?: InputMaybe$1<Scalars$2['Boolean']>;
|
|
5681
|
+
/** children edge predicates */
|
|
5682
|
+
hasChildren?: InputMaybe$1<Scalars$2['Boolean']>;
|
|
5683
|
+
hasChildrenWith?: InputMaybe$1<Array<PublishedThemePageWhereInput$1>>;
|
|
5680
5684
|
/** interaction edge predicates */
|
|
5681
5685
|
hasInteraction?: InputMaybe$1<Scalars$2['Boolean']>;
|
|
5682
5686
|
hasInteractionWith?: InputMaybe$1<Array<PublishedPageInteractionWhereInput$1>>;
|
|
5683
5687
|
/** offer edge predicates */
|
|
5684
5688
|
hasOffer?: InputMaybe$1<Scalars$2['Boolean']>;
|
|
5685
5689
|
hasOfferWith?: InputMaybe$1<Array<PublishedSaleFunnelOfferWhereInput$1>>;
|
|
5690
|
+
/** parent edge predicates */
|
|
5691
|
+
hasParent?: InputMaybe$1<Scalars$2['Boolean']>;
|
|
5692
|
+
hasParentWith?: InputMaybe$1<Array<PublishedThemePageWhereInput$1>>;
|
|
5686
5693
|
/** publishedPageSection edge predicates */
|
|
5687
5694
|
hasPublishedPageSection?: InputMaybe$1<Scalars$2['Boolean']>;
|
|
5688
5695
|
hasPublishedPageSectionWith?: InputMaybe$1<Array<PublishedPageSectionWhereInput$1>>;
|
|
@@ -5745,6 +5752,13 @@ type PublishedThemePageWhereInput$1 = {
|
|
|
5745
5752
|
offerIDNotIn?: InputMaybe$1<Array<Scalars$2['ID']>>;
|
|
5746
5753
|
offerIDNotNil?: InputMaybe$1<Scalars$2['Boolean']>;
|
|
5747
5754
|
or?: InputMaybe$1<Array<PublishedThemePageWhereInput$1>>;
|
|
5755
|
+
/** parent_id field predicates */
|
|
5756
|
+
parentID?: InputMaybe$1<Scalars$2['ID']>;
|
|
5757
|
+
parentIDIn?: InputMaybe$1<Array<Scalars$2['ID']>>;
|
|
5758
|
+
parentIDIsNil?: InputMaybe$1<Scalars$2['Boolean']>;
|
|
5759
|
+
parentIDNEQ?: InputMaybe$1<Scalars$2['ID']>;
|
|
5760
|
+
parentIDNotIn?: InputMaybe$1<Array<Scalars$2['ID']>>;
|
|
5761
|
+
parentIDNotNil?: InputMaybe$1<Scalars$2['Boolean']>;
|
|
5748
5762
|
/** split_percentage field predicates */
|
|
5749
5763
|
splitPercentage?: InputMaybe$1<Scalars$2['Float']>;
|
|
5750
5764
|
splitPercentageGT?: InputMaybe$1<Scalars$2['Float']>;
|
|
@@ -5998,6 +6012,7 @@ type Query$1 = {
|
|
|
5998
6012
|
productOptionValues?: Maybe$1<ProductOptionValueConnection$1>;
|
|
5999
6013
|
productOptions?: Maybe$1<ProductOptionConnection$1>;
|
|
6000
6014
|
products?: Maybe$1<ProductConnection$1>;
|
|
6015
|
+
publishedShopMetas?: Maybe$1<Array<PublishedShopMeta$1>>;
|
|
6001
6016
|
publishedThemePages?: Maybe$1<Array<Maybe$1<PublishedThemePage$1>>>;
|
|
6002
6017
|
publishedThemeSection?: Maybe$1<PublishedThemeSection$1>;
|
|
6003
6018
|
publishedThemeSections?: Maybe$1<PublishedThemeSectionConnection$1>;
|
|
@@ -6111,6 +6126,9 @@ type QueryProductsArgs$1 = {
|
|
|
6111
6126
|
orderBy?: InputMaybe$1<ProductOrder$1>;
|
|
6112
6127
|
where?: InputMaybe$1<ProductWhereInput$1>;
|
|
6113
6128
|
};
|
|
6129
|
+
type QueryPublishedShopMetasArgs = {
|
|
6130
|
+
keys?: InputMaybe$1<Array<Scalars$2['String']>>;
|
|
6131
|
+
};
|
|
6114
6132
|
type QueryPublishedThemePagesArgs$1 = {
|
|
6115
6133
|
slug?: InputMaybe$1<Scalars$2['String']>;
|
|
6116
6134
|
slugType: PublishedThemePageType$1;
|
|
@@ -6482,6 +6500,7 @@ type shop_EntityFindPublishedThemePageOnlineStoreDataByIdArgs = EntityFindPublis
|
|
|
6482
6500
|
type shop_EntityFindPublishedThemeSectionByIdArgs = EntityFindPublishedThemeSectionByIdArgs;
|
|
6483
6501
|
type shop_EntityFindPublishedThemeStyleByIdArgs = EntityFindPublishedThemeStyleByIdArgs;
|
|
6484
6502
|
type shop_EntityFindTagByIdArgs = EntityFindTagByIdArgs;
|
|
6503
|
+
type shop_QueryPublishedShopMetasArgs = QueryPublishedShopMetasArgs;
|
|
6485
6504
|
type shop_Query_EntitiesArgs = Query_EntitiesArgs;
|
|
6486
6505
|
type shop__Entity = _Entity;
|
|
6487
6506
|
type shop__Service = _Service;
|
|
@@ -6694,6 +6713,7 @@ declare namespace shop {
|
|
|
6694
6713
|
QueryProductOptionValuesArgs$1 as QueryProductOptionValuesArgs,
|
|
6695
6714
|
QueryProductOptionsArgs$1 as QueryProductOptionsArgs,
|
|
6696
6715
|
QueryProductsArgs$1 as QueryProductsArgs,
|
|
6716
|
+
shop_QueryPublishedShopMetasArgs as QueryPublishedShopMetasArgs,
|
|
6697
6717
|
QueryPublishedThemePagesArgs$1 as QueryPublishedThemePagesArgs,
|
|
6698
6718
|
QueryPublishedThemeSectionArgs$1 as QueryPublishedThemeSectionArgs,
|
|
6699
6719
|
QueryPublishedThemeSectionsArgs$1 as QueryPublishedThemeSectionsArgs,
|
|
@@ -6887,7 +6907,7 @@ type VitalsWidgetType = 'addToWishlist' | 'goToWishlist' | 'paymentLogos' | 'rec
|
|
|
6887
6907
|
type FeraReviewsWidgetType = 'productReviews' | 'testimonialCarousel' | 'allReviews' | 'averageStoreRatingBadge' | 'inStoreMedia' | 'averageRatingBadge' | 'productPageMedia';
|
|
6888
6908
|
type FeraReviewsV3WidgetType = 'allReviews' | 'testimonialCarousel' | 'mediaGallery' | 'productDetailRating' | 'productReviews' | 'productCollectionRating' | 'otherWidget';
|
|
6889
6909
|
type GrowaveWidgetType = 'reviews' | 'badge' | 'productListBadge' | 'wishList' | 'socialShare' | 'favorite';
|
|
6890
|
-
type AliReviewsWidgetType = '
|
|
6910
|
+
type AliReviewsWidgetType = 'starRating' | 'reviewBox';
|
|
6891
6911
|
type OpinewWidgetType = 'reviews' | 'badge' | 'badgeCollection' | 'carousel' | 'allReviews' | 'allReviewsBadge';
|
|
6892
6912
|
type OpinewDesignWidgetType = 'opinew_badge_wide_average' | 'opinew_badge_wide' | 'opinew_badge_small';
|
|
6893
6913
|
type UltimateSalesBoostWidgetType = 'sticker' | 'message' | 'getItByTimer' | 'buyXGetTY' | 'countdownTimer' | 'stockInventoryNumber' | 'trustBadge' | 'advancedTrustBadge';
|
|
@@ -6899,6 +6919,7 @@ type ObjectLayoutValue = {
|
|
|
6899
6919
|
display?: 'fill' | 'fit';
|
|
6900
6920
|
cols?: number[];
|
|
6901
6921
|
keepCol?: boolean;
|
|
6922
|
+
gap?: string;
|
|
6902
6923
|
};
|
|
6903
6924
|
type ProductReviewsWidgetType = 'reviews' | 'badge';
|
|
6904
6925
|
type TrustooWidgetType = 'starRatingInList' | 'starRating' | 'reviews';
|
|
@@ -6914,6 +6935,8 @@ type YotpoReviewsWidgetType = 'reviews' | 'star-rating' | 'reviewHighlights';
|
|
|
6914
6935
|
type BogosWidgetType = 'icon' | 'thumnail' | 'slider' | 'message' | 'classic-bundle' | 'quantity-break';
|
|
6915
6936
|
type PreOrderNowWodWidgetType = 'app-block' | 'popups-block';
|
|
6916
6937
|
type TagShopWidgetType = 'homeLandingGalleries' | 'productGalleries' | 'tagGalleries';
|
|
6938
|
+
type AirProductReview = 'review_box' | 'star_rating' | 'review_carousel';
|
|
6939
|
+
type FastBundleWidgetType = 'all_bundles' | 'fbt_position' | 'product_bundles' | 'product_bundle_with_ids' | 'volume_position';
|
|
6917
6940
|
|
|
6918
6941
|
type ResponsiveConfig<T> = {
|
|
6919
6942
|
desktop: {
|
|
@@ -7526,23 +7549,23 @@ type Background = {
|
|
|
7526
7549
|
storage?: 'THEME' | 'FILE_CONTENT';
|
|
7527
7550
|
backupFilePath?: string;
|
|
7528
7551
|
};
|
|
7529
|
-
size?: BgSize;
|
|
7530
|
-
position?: BgPosition;
|
|
7531
|
-
repeat?: BgRepeat;
|
|
7532
|
-
attachment?: BgAttachment;
|
|
7552
|
+
size?: BgSize$1;
|
|
7553
|
+
position?: BgPosition$1;
|
|
7554
|
+
repeat?: BgRepeat$1;
|
|
7555
|
+
attachment?: BgAttachment$1;
|
|
7533
7556
|
video?: string;
|
|
7534
7557
|
videoHtml5?: string;
|
|
7535
7558
|
videoType?: 'youtube' | 'html5';
|
|
7536
7559
|
loop?: boolean;
|
|
7537
7560
|
lazyLoad?: boolean;
|
|
7538
7561
|
};
|
|
7539
|
-
type BgSize = 'cover' | 'contain';
|
|
7540
|
-
type BgRepeat = 'repeat' | 'repeat-x' | 'repeat-y' | 'no-repeat';
|
|
7541
|
-
type BgPosition = {
|
|
7562
|
+
type BgSize$1 = 'cover' | 'contain';
|
|
7563
|
+
type BgRepeat$1 = 'repeat' | 'repeat-x' | 'repeat-y' | 'no-repeat';
|
|
7564
|
+
type BgPosition$1 = {
|
|
7542
7565
|
x: number;
|
|
7543
7566
|
y: number;
|
|
7544
7567
|
};
|
|
7545
|
-
type BgAttachment = 'scroll' | 'fixed' | 'local';
|
|
7568
|
+
type BgAttachment$1 = 'scroll' | 'fixed' | 'local';
|
|
7546
7569
|
|
|
7547
7570
|
type VisibilityControlType<T> = SharedControlType<T> & {
|
|
7548
7571
|
type: 'visibility';
|
|
@@ -7755,6 +7778,7 @@ type TypographyV2ControlType<T> = SharedControlType<T> & {
|
|
|
7755
7778
|
hiddenSetting?: {
|
|
7756
7779
|
color?: boolean;
|
|
7757
7780
|
transform?: boolean;
|
|
7781
|
+
fontWeight?: boolean;
|
|
7758
7782
|
};
|
|
7759
7783
|
disableCollapse?: boolean;
|
|
7760
7784
|
};
|
|
@@ -8243,7 +8267,63 @@ type ProductHandleType<T> = SharedControlType<T> & {
|
|
|
8243
8267
|
type: 'product-handle';
|
|
8244
8268
|
};
|
|
8245
8269
|
|
|
8246
|
-
type
|
|
8270
|
+
type ColorPickerV2ControlType<T> = SharedControlType<T> & {
|
|
8271
|
+
type: 'color-picker-v2';
|
|
8272
|
+
};
|
|
8273
|
+
|
|
8274
|
+
type BorderV2ControlType<T> = SharedControlType<T> & {
|
|
8275
|
+
type: 'border-v2';
|
|
8276
|
+
};
|
|
8277
|
+
|
|
8278
|
+
type CornerV2ControlType<T> = SharedControlType<T> & {
|
|
8279
|
+
type: 'corner-v2';
|
|
8280
|
+
};
|
|
8281
|
+
|
|
8282
|
+
type PaddingV2ControlType<T> = SharedControlType<T> & {
|
|
8283
|
+
type: 'padding-v2';
|
|
8284
|
+
};
|
|
8285
|
+
|
|
8286
|
+
type BackgroundImageType<T> = SharedControlType<T> & {
|
|
8287
|
+
type: 'background-image';
|
|
8288
|
+
value?: BackgroundImageValue;
|
|
8289
|
+
};
|
|
8290
|
+
type BackgroundImageValue = {
|
|
8291
|
+
image?: {
|
|
8292
|
+
src: string;
|
|
8293
|
+
width: number;
|
|
8294
|
+
height: number;
|
|
8295
|
+
};
|
|
8296
|
+
size?: BgSize;
|
|
8297
|
+
position?: BgPosition;
|
|
8298
|
+
repeat?: BgRepeat;
|
|
8299
|
+
attachment?: BgAttachment;
|
|
8300
|
+
altText?: string;
|
|
8301
|
+
imageTitle?: string;
|
|
8302
|
+
lazyLoad?: boolean;
|
|
8303
|
+
enableAlt?: boolean;
|
|
8304
|
+
quality?: string;
|
|
8305
|
+
};
|
|
8306
|
+
type BgSize = 'cover' | 'contain' | '100% 100%';
|
|
8307
|
+
type BgRepeat = 'repeat' | 'repeat-x' | 'repeat-y' | 'no-repeat';
|
|
8308
|
+
type BgPosition = {
|
|
8309
|
+
x: number;
|
|
8310
|
+
y: number;
|
|
8311
|
+
};
|
|
8312
|
+
type BgAttachment = 'scroll' | 'fixed' | 'local';
|
|
8313
|
+
|
|
8314
|
+
type BackgroundVideoType<T> = SharedControlType<T> & {
|
|
8315
|
+
type: 'background-video';
|
|
8316
|
+
value?: BackgroundVideoValue;
|
|
8317
|
+
};
|
|
8318
|
+
type BackgroundVideoValue = {
|
|
8319
|
+
srcYoutube?: string;
|
|
8320
|
+
srcHtml5?: string;
|
|
8321
|
+
type?: 'youtube' | 'html5';
|
|
8322
|
+
ratio?: string;
|
|
8323
|
+
loop?: boolean;
|
|
8324
|
+
};
|
|
8325
|
+
|
|
8326
|
+
type ControlProp<T> = ProductBundleChildControlType<T> | SelectProductBundleControlType<T> | AngleControlType<T> | CheckboxControlType<T> | ColorPickerControlType<T> | GroupControlType<T> | IconControlType<T> | InputFixContentControlType<T> | InputNumberControlType<T> | InputUnitControlType<T> | InputUnitSpacingControlType<T> | InputUnitWidthControlType<T> | InputControlType<T> | MarginControlType<T> | PaddingControlType<T> | PositionControlType<T> | RadioGroupControlType | RangeControlType<T> | SegmentControlType<T> | OpenLinkControlType<T> | SelectControlType<T> | TextareaControlType<T> | ToggleControlType<T> | ImageControlType<T> | ChildrensControlType | GridControlType<T> | FlexControlType<T> | TextEditorControlType<T> | ProductControlType<T> | TypographyControlType<T> | TypographyV2ControlType<T> | MenuControlType<T> | BehaviorStateControlType<T> | PickLinkControlType<T> | BoxShadowControlType<T> | TextShadowControlType<T> | BorderControlType<T> | BorderRadiusControlType<T> | RadiusPresetControlType<T> | SizeControlType<T> | ChildItemType<T> | PickMultiProductControlType<T> | CollectionControlType<T> | BackgroundControlType<T> | VisibilityControlType<T> | SelectVariantControlType | CountdownEvergreenType | Timezone<T> | CustomContentControlType<T> | DateTimePickerControlType | CountdownDailyType | KlaviyoCodes | YotpoLoyaltyCodes | InputWidthControlType<T> | LayoutSegmentControlType<T> | InputSpacing<T> | UniqueIdControlType<T> | PositionSquareControlType<T> | CustomCodeEditor | LayoutControlType<T> | LayoutBannerControlType<T> | SwatchesLinkControlType<T> | VariantSwatchesPresetControlType<T> | VariantSwatchesOnlyDefaultVariantControlType<T> | ProductListControlType<T> | ArticleListControlType<T> | CollectionBannerControlType<T> | Ratio<T> | StickyDisplayControlType<T> | SyncProductPropertiesControlType<T> | StepsGuide<T> | ImageShape<T> | GridArrange<T> | SizeSetting$1<T> | ChildIconType<T> | DropdownInput<T> | Dropdown<T> | AliPickSectionControlType<T> | ParallaxScrollingType<T> | BackgroundColorPickerType<T> | PlayPauseControlType<T> | LayoutCustomSegmentControlType<T> | SneakPeakRange<T> | SneakPeakTypeControlType<T> | SneakPeakControlType<T> | ProductInputCurrencyUnitControlType<T> | TypographyPostPurchaseControlType<T> | ProductOffersControlType<T> | DiscountAndShippingFee<T> | PostPurchaseTextareaControlType<T> | NotesControlType<T> | ButtonLayoutType<T> | ShapeSelectorControlType<T> | DisplayTriggerControlType<T> | CustomPositionControlType<T> | DealControlType<T> | ProductHandleType<T> | ColorPickerV2ControlType<T> | BorderV2ControlType<T> | CornerV2ControlType<T> | PaddingV2ControlType<T> | BackgroundImageType<T> | BackgroundVideoType<T>;
|
|
8247
8327
|
type ControlTriggerAction = {
|
|
8248
8328
|
controlId: string;
|
|
8249
8329
|
newValue?: any;
|
|
@@ -8270,6 +8350,7 @@ type ComponentSetting<P extends BaseProps> = {
|
|
|
8270
8350
|
icon?: string;
|
|
8271
8351
|
settings?: Setting<P>[];
|
|
8272
8352
|
advanced?: Record<string, any>;
|
|
8353
|
+
rootOverride?: Record<string, any>;
|
|
8273
8354
|
init?: InitComponentType[] | {
|
|
8274
8355
|
default: InitComponentType[];
|
|
8275
8356
|
mobileOnly?: InitComponentType[];
|
|
@@ -8386,6 +8467,7 @@ type ComponentPreset = {
|
|
|
8386
8467
|
components: InitComponentType[];
|
|
8387
8468
|
hideTextContent?: boolean;
|
|
8388
8469
|
flowTagComponents?: Record<string, InitComponentType[]>;
|
|
8470
|
+
rootOverride?: Record<string, any>;
|
|
8389
8471
|
};
|
|
8390
8472
|
|
|
8391
8473
|
type PageContext = {
|
|
@@ -8437,7 +8519,7 @@ type InteractionElement<E, T> = {
|
|
|
8437
8519
|
elementTag?: string;
|
|
8438
8520
|
targetOutsideSelector?: string;
|
|
8439
8521
|
targetInsideSelector?: string;
|
|
8440
|
-
|
|
8522
|
+
type?: 'ELEMENT' | 'PAGE';
|
|
8441
8523
|
};
|
|
8442
8524
|
declare enum InteractionTargetEvent {
|
|
8443
8525
|
'gp:change-background-color' = 0,
|
|
@@ -8501,7 +8583,7 @@ type InteractionTarget = {
|
|
|
8501
8583
|
targetOutsideSelector?: string;
|
|
8502
8584
|
targetInsideSelector?: string;
|
|
8503
8585
|
events?: InteractionTargetEventObject[];
|
|
8504
|
-
|
|
8586
|
+
type?: 'ELEMENT' | 'PAGE';
|
|
8505
8587
|
};
|
|
8506
8588
|
type InteractionTargetEventObject = {
|
|
8507
8589
|
event: InteractionTargetEvent;
|
|
@@ -30806,7 +30888,7 @@ type TypographyV2Family = string | {
|
|
|
30806
30888
|
value: string;
|
|
30807
30889
|
type: TypographyV2FontFamilyType;
|
|
30808
30890
|
};
|
|
30809
|
-
type TypographyV2FontFamilyType = 'google' | 'custom' | 'theme';
|
|
30891
|
+
type TypographyV2FontFamilyType = 'google' | 'custom' | 'theme' | 'bunny';
|
|
30810
30892
|
|
|
30811
30893
|
/**
|
|
30812
30894
|
* @deprecated Please use `TypographySettingV2`
|
|
@@ -30859,7 +30941,7 @@ type CornerRadius = {
|
|
|
30859
30941
|
bbrr?: string;
|
|
30860
30942
|
radiusType?: CornerRadiusType;
|
|
30861
30943
|
};
|
|
30862
|
-
type CornerRadiusType = 'none' | 'large' | 'medium' | 'small' | 'circle' | 'custom';
|
|
30944
|
+
type CornerRadiusType = 'none' | 'large' | 'medium' | 'small' | 'circle' | 'custom' | 'rounded';
|
|
30863
30945
|
type ColorType$1 = NestedKeys<BrandColorObject> | NestedKeys<BackgroundColorObject> | NestedKeys<TextColorObject> | NestedKeys<LineColorObject> | NestedKeys<FuncColorObject>;
|
|
30864
30946
|
type FontName = 'body' | 'heading' | 'code';
|
|
30865
30947
|
type ColorKey = 'transparent' | 'red' | 'orange' | 'yellow' | 'green' | 'blue' | 'indigo' | 'purple' | 'pink' | 'gray';
|
|
@@ -30901,7 +30983,7 @@ type ObjectDeviceGlobalType<T> = {
|
|
|
30901
30983
|
mobile?: T;
|
|
30902
30984
|
};
|
|
30903
30985
|
type SpacingType = 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl';
|
|
30904
|
-
type RoundedSize = 'small' | 'medium' | 'large' | 'circle' | 'none' | 'custom';
|
|
30986
|
+
type RoundedSize = 'small' | 'medium' | 'large' | 'circle' | 'none' | 'custom' | 'rounded';
|
|
30905
30987
|
type ContainerProp = 'width' | 'padding';
|
|
30906
30988
|
type GlobalStyleResponsiveConfig = {
|
|
30907
30989
|
color?: Partial<Record<ColorType$1, string>>;
|
|
@@ -31387,7 +31469,8 @@ type PageContextProps = {
|
|
|
31387
31469
|
interactionData?: {
|
|
31388
31470
|
item?: Interaction;
|
|
31389
31471
|
isSelectOnPage?: boolean;
|
|
31390
|
-
selectType?: '
|
|
31472
|
+
selectType?: 'ELEMENT' | 'PAGE';
|
|
31473
|
+
settingType?: 'TRIGGER' | 'TARGET';
|
|
31391
31474
|
};
|
|
31392
31475
|
setDynamicProduct: (data: DynamicProduct) => void;
|
|
31393
31476
|
setDynamicCollection: (data: DynamicCollection) => void;
|
|
@@ -31396,7 +31479,8 @@ type PageContextProps = {
|
|
|
31396
31479
|
setPublicStoreFrontData: (publicStoreFrontData: PublicStoreFrontData | null) => void;
|
|
31397
31480
|
setInteractionItem: (item: Interaction) => void;
|
|
31398
31481
|
setInteractionIsSelectOnPage: (value: boolean) => void;
|
|
31399
|
-
setInteractionSelectType: (selectType: '
|
|
31482
|
+
setInteractionSelectType: (selectType: 'ELEMENT' | 'PAGE') => void;
|
|
31483
|
+
setInteractionSettingType: (settingType?: 'TRIGGER' | 'TARGET') => void;
|
|
31400
31484
|
};
|
|
31401
31485
|
type PageProviderProps = Pick<PageContextProps, 'dynamicProduct' | 'dynamicCollection' | 'productOffers'> & {
|
|
31402
31486
|
children: React.ReactNode;
|
|
@@ -31480,6 +31564,11 @@ type PageViewUpMutationVariables = Exact$1<{
|
|
|
31480
31564
|
type PageViewUpMutationResponse = Pick<Mutation$1, 'pageViewUp'>;
|
|
31481
31565
|
declare const PageViewUpDocument = "\n mutation pageViewUp($pageHandle: String!) {\n pageViewUp(pageHandle: $pageHandle)\n}\n ";
|
|
31482
31566
|
|
|
31567
|
+
type PublishedShopMetasQueryResponse = {
|
|
31568
|
+
publishedShopMetas?: Maybe$1<Array<Pick<PublishedShopMeta$1, 'id' | 'createdAt' | 'updatedAt' | 'key' | 'value'>>>;
|
|
31569
|
+
};
|
|
31570
|
+
declare const PublishedShopMetasDocument = "\n query PublishedShopMetas($keys: [String!]) {\n publishedShopMetas(keys: $keys) {\n id\n createdAt\n updatedAt\n key\n value\n }\n}\n ";
|
|
31571
|
+
|
|
31483
31572
|
type CollectionDetailFilterQueryVariables = Exact$1<{
|
|
31484
31573
|
firstProduct?: InputMaybe$1<Scalars$2['Int']>;
|
|
31485
31574
|
orderBy?: InputMaybe$1<CollectionOrder$1>;
|
|
@@ -31919,6 +32008,7 @@ declare namespace tiktokpixel {
|
|
|
31919
32008
|
};
|
|
31920
32009
|
}
|
|
31921
32010
|
|
|
32011
|
+
type CSSStateKey<T extends ShortHandProperty> = `--${T}` | `--hvr-${T}` | `--focus-${T}`;
|
|
31922
32012
|
type ResponsiveKey<T extends ShortHandProperty> = `--${T}` | `--${T}-tablet` | `--${T}-mobile`;
|
|
31923
32013
|
declare const removeNullUndefined: <T extends Record<string, any>>(obj: T) => T;
|
|
31924
32014
|
declare const makeStyleKey: <T extends ShortHandProperty>(name: T) => string[];
|
|
@@ -31949,6 +32039,7 @@ type Options = {
|
|
|
31949
32039
|
liquid?: boolean;
|
|
31950
32040
|
ignoreBgAttachment?: boolean;
|
|
31951
32041
|
ignoreBackgroundImage?: boolean;
|
|
32042
|
+
ignoreBackgroundImageProperties?: boolean;
|
|
31952
32043
|
ignoreBackgroundColor?: boolean;
|
|
31953
32044
|
};
|
|
31954
32045
|
declare const getStyleBackgroundByDevice: (background?: ObjectDevices<Background>, options?: Options) => {
|
|
@@ -41617,13 +41708,20 @@ declare const useInteraction: () => {
|
|
|
41617
41708
|
event: string;
|
|
41618
41709
|
selector: string;
|
|
41619
41710
|
}, callback: (data: any) => void) => void;
|
|
41620
|
-
trigger: ({ event, data, selector }: {
|
|
41711
|
+
trigger: ({ event, data, selector, element: elementParam, }: {
|
|
41621
41712
|
event: string;
|
|
41622
41713
|
data?: any;
|
|
41623
41714
|
selector: string;
|
|
41715
|
+
element?: HTMLElement | undefined;
|
|
41624
41716
|
}) => void;
|
|
41625
41717
|
saveToElementInteractionData: (element: HTMLElement, key: string, value: string) => void;
|
|
41626
41718
|
closeSelectOnPage: () => void;
|
|
41719
|
+
ref: React.MutableRefObject<null>;
|
|
41720
|
+
findElementIncludingSelf: (element: any, selector: string) => any;
|
|
41721
|
+
getInteractionPreviousData: (element: HTMLElement, key: string) => {
|
|
41722
|
+
previousData: any;
|
|
41723
|
+
interactionDataJson: any;
|
|
41724
|
+
};
|
|
41627
41725
|
};
|
|
41628
41726
|
|
|
41629
|
-
export { AddOn, AddonProvider, AddonProviderProps, AdvancedType, AliReviewsWidgetType, AlignItemProp, AlignProp, AnimationBaseSetting, AnimationConfig, AnimationDirectionType, AnimationEasingType, AnimationFadeSettingType, AnimationSetting, AnimationSettingType, AnimationShakeSettingType, AnimationSlideSettingType, AnimationTrigger, AnimationTriggerType, AnimationType, AnimationZoomDirectionType, AnimationZoomSettingType, appAPI as AppAPIType, ArticleListProvider, ArticleListProviderProps, ArticleProvider, ArticleProviderProps, Background, BaseProps, BasePropsWrap, BlockEntity, BogosWidgetType, BoldSubscriptionsWidgetType, Border, BorderStyle, BuilderComponentProvider, BuilderComponentProviderProps, BuilderEntity, BuilderEntityNested, BuilderPreviewProvider, BuilderPreviewProviderProps, BuilderProvider, BuilderProviderProps, BuilderState, Builtin, CartLineProvider, CartLineProviderProps, CollectionDetailFilterDocument, CollectionDetailFilterQueryResponse, CollectionDetailFilterQueryVariables, CollectionDocument, CollectionProvider, CollectionProviderProps, CollectionQueryResponse, CollectionQueryVariables, CollectionSelectFragment, CollectionsDocument, CollectionsQueryResponse, CollectionsQueryVariables, ColorKey, ColorType$1 as ColorType, ColorValueType, Component, ComponentPreset, ComponentSetting, ContainerProp, ControlProp, ControlTriggerAction, ControlUI, CornerRadius, CornerRadiusType, CustomComponentConfig, DeepPartial, DynamicCollection, DynamicProduct, ExtractState, FeraReviewsV3WidgetType, FeraReviewsWidgetType, FetchCollectionArgs, FetchFunc, FetchProductParams, FlexDirectionProp, FontName, GRADIENT_BGR_KEY, GlobalStyleConfig, GlobalStyleResponsiveConfig, GlobalSwatchesData, GraphQLConnection, GroupPropType, GrowaveWidgetType, HSLAColorType, HSLColorType, HexColorType, ImageShape$1 as ImageShape, InitComponentType, InstantJudgeMeReviewsWidgetType, InstantKlaviyoWidgetType, InstantLooxReviewsWidgetType, Interaction, InteractionCondition, InteractionElement, InteractionTarget, InteractionTargetEvent, InteractionTargetEventObject, InteractionTriggerEvent, JudgeMeReviewsWidgetType, KlaviyoWidgetType, LaiProductReviewsAdvancedWidgetType, LaiProductReviewsWidgetType, LibrarySaleFunnelDocument, LibrarySaleFunnelQueryResponse, LibrarySaleFunnelQueryVariables, LibraryTemplateDocument, LibraryTemplateQueryResponse, LibraryTemplateQueryVariables, LooxReviewsWidgetType, ModalProvider, ModalProviderProps, NameDevices$1 as NameDevices, NestedKeys, ObjectDeviceGlobalType, ObjectDevices, ObjectLayoutValue, OmnisendWidgetType, OnlyOne, OpinewDesignWidgetType, OpinewWidgetType, OptionNormalStyle, OptionSpecialStyle, Options, PageContext, PageProvider, PageProviderProps, PageType, PageViewUpDocument, PageViewUpMutationResponse, PageViewUpMutationVariables, PickyStoryWidgetType, PostPurchaseTypo, PreOrderNowWodWidgetType, PreviewPageDocument, PreviewPageQueryResponse, PreviewPageQueryVariables, Primitive, ProductInputAnalytic, ProductListProvider, ProductListProviderProps, ProductOffer, ProductProvider, ProductProviderProps, ProductReviewsWidgetType, ProductSelectFragment, ProductsDocument, ProductsQueryResponse, ProductsQueryVariables, PublicStoreFrontData, PublishedThemePageSelectFragment, PublishedThemePagesDocument, PublishedThemePagesQueryResponse, PublishedThemePagesQueryVariables, RGBAColorType, RGBColorType, Ratio$1 as Ratio, RawChild, RenderMemo as Render, RenderChildren, RenderIf, Render as RenderLiquid, RenderMode, RenderPreviewMemo as RenderPreview, RequiredCursorEdge, ResponsiveKey, ResponsiveStateProp, RivyoWidgetType, RoundedSize, RyviuWidgetType, SaleFunnelDiscount$1 as SaleFunnelDiscount, SaleFunnelDiscountEdge$1 as SaleFunnelDiscountEdge, SaleFunnelDiscountObjectType$1 as SaleFunnelDiscountObjectType, SaleFunnelDiscountType$1 as SaleFunnelDiscountType, SaleFunnelDiscountValueType$1 as SaleFunnelDiscountValueType, SaleFunnelDiscountsDocument, SaleFunnelDiscountsQueryResponse, SaleFunnelDiscountsQueryVariables, Scalars$1 as Scalars, ScaleByDirection, SectionData, SectionEntity, SectionProvider, SectionProviderProps, SettingByAnimationType, SettingByAnimationValues, SettingUIGroup, ShadowProps, ShadowStyle, ShadowStyleApplied, ShadowType, ShopLibraryPageDocument, ShopLibraryPageQueryResponse, ShopLibraryPageQueryVariables, ShopProvider, ShopProviderProps, shop as ShopType, SizeProps, SizeSetting, SizeSettingGlobal, SizeType, SpacingType, StampedWidgetType, StateProp, StateSelector, StateType, StoreConfig, StorePropertyDocument, StorePropertyQueryResponse, StorePropertyQueryVariables, SwatchesOptionType, SwatchesOptionValue, TagShopWidgetType, ThemePageDocument, ThemePageQueryResponse, ThemePageQueryVariables, ThemeSectionStatus$1 as ThemeSectionStatus, TransformProp, TriggerConfig, TrustooWidgetType, TypographyProps, TypographySetting, TypographySettingV2, TypographyType, TypographyV2Attrs, TypographyV2Props, UltimateSalesBoostWidgetType, VariantSelectFragment, VitalsWidgetType, WiserV2WidgetType, WiserWidgetType, WrapRenderChildren, YotpoReviewsWidgetType, addAppBlockId, animations, baseAssetURL, calculateFirstProduct, checkAvailableVariantInStock, cls, composeAdvanceStyle, composeAdvanceStyleForPostPurchase, composeBackgroundCss, composeBorderCss, composeCornerCss, composeFallbackTypographyStyle, composeFontFamilyTypographyV2, composeGridLayout, composeMemo, composePositionLineHeight, composePostionIconList, composeRadius, composeRadiusResponsive, composeShadowCss, composeSize, composeSizeCss, composeSpacing, composeTextColorCss, composeTypography, composeTypographyAttr, composeTypographyClassName, composeTypographyCss, composeTypographyStyle, composeTypographyV2, composeTypographyV2Css, convertHTML, convertOldLayout, convertTextAlignToJustify, dataStringify, fetchMedias, fetchVariants, filterAttrInStyle, filterCornerInStyle, filterToolbarPreview, flattenConnection, formatMoney, fpixel, genSizeClass, genTypoClass, genVariable, generateCollectionQueryKey, generateProductQueryKey, generateProductsQueryKey, getAppBlocks, getAspectRatioGlobalSize, getBgImageByDevice, getBorderRadiusStyle, getBorderStyle, getCarouselContainerHeight, getCollection, getCornerCSSFromGlobal, getCustomRadius, getGlobalColorCSSProp, getGlobalColorClass, getGlobalColorResponsiveClass, getGlobalColorResponsiveStyle, getGlobalColorStateClass, getGlobalColorStateClassDynamicBtn, getGlobalColorStateResponsiveClass, getGlobalColorStateResponsiveClassDynamicBtn, getGlobalColorStateResponsiveStyle, getGlobalColorStateStyle, getGlobalColorStyle, getGlobalSizeGap, getGradientBgrStyleByDevice, getGradientBgrStyleForButton, getHeightByShapeGlobalSize, getPaddingGlobalSize, getProduct, getProductBySlug, getRadiusCSSFromGlobal, getRadiusStyleActiveState, getResonsiveStyleShadow, getResponsiveStateValue, getResponsiveValue, getResponsiveValueByScreen, getSelectedVariant, getShortName, getSingleColorVariable, getSpacingVariable, getStyleBackgroundByDevice, getStyleBgColor, getStyleShadow, getStyleShadowState, getValueByDevice, getWidthByShapeGlobalSize, getWidthHeightGlobalSize, globalEvent, gridToArrayRegex, gtag, handleConvertBorderColor, handleConvertBorderStyle, handleConvertBorderWidth, handleConvertClassColor, handleConvertClassColorDynamicBtn, isBrowser, isColor, isColumnDirectionExist, isDefined, isEmptyChildren, isLocalEnv, isSafari, loadScript, makeAspectRatio, makeContainerWidthOrHeight, makeDotGapToCarouselStyle, makeFixedBgAttachment, makeGlobalSize, makeGlobalSizeHeightResponsive, makeGlobalSizeIcon, makeGlobalSizeWidthResponsive, makeHeight, makeLineClamp, makeStyle, makeStyleKey, makeStyleResponsive, makeStyleResponsiveByScreen, makeStyleResponsiveState, makeStyleState, makeStyleWithDefault, makeWidth, normalizeBuilderData, optionLayoutStyle, parseSelectedOption, parseValueWithUnit, prefetchQueries, props, removeAttrInStyle, removeNullUndefined, removePaddingYInStyle, removeUndefinedValuesFromObject, shopifyPriceRounding, splitStyle, styles, template, tiktokpixel, useAddToCart, useAddon, useAddons, useArticleListStore, useArticleStore, useArticlesQuery, useBlogsQuery, useBuilderComponent, useBuilderPreviewStore, useBuilderStore, useCartData, useCartDiscountCodesUpdate, useCartId, useCartLine, useCartLineStore, useCartNoteUpdate, useCartUI, useCheckAvailableVariantInStock, useCheckoutUrl, useCollection, useCollectionQuery, useCollectionStore, useCollectionsQuery, useConnectedShopify, useCreateCart, useCurrency, useCurrentDevice, useCurrentVariant, useCurrentVariantInStock, useEditorMode, useFeaturedImageGlobal, useFormatMoney, useHasPreSelected, useInitialSwatchesOptions, useInteraction, useIsSampleProduct, useIsStorefrontProduct, useIsSyncProduct, useIsomorphicLayoutEffect, useLazyVideo, useLoadScript, useLocale, useMatchMutate, useMobileOnly, useModalStore, useMoney, useMoneyFormat, usePageStore, usePageType, usePluginEnable, usePrevious, useProduct, useProductList, useProductListProducts, useProductListSettings, useProductListStore, useProductListStyles, useProductOfferDiscount, useProductProperties, useProductQuery, useProductStore, useProductsQuery, useProductsQueryAll, useQuantity, useRemoveCartItem, useSection, useSectionStore, useSelectedOption, useShopStore, useStoreFront, useSuspenseFetch, useSwatches, useSwatchesOptions, useUniqProductID, useUpdateCartItem, useVariant, useVariantOutStock, useVariants, validateEmail };
|
|
41727
|
+
export { AddOn, AddonProvider, AddonProviderProps, AdvancedType, AirProductReview, AliReviewsWidgetType, AlignItemProp, AlignProp, AnimationBaseSetting, AnimationConfig, AnimationDirectionType, AnimationEasingType, AnimationFadeSettingType, AnimationSetting, AnimationSettingType, AnimationShakeSettingType, AnimationSlideSettingType, AnimationTrigger, AnimationTriggerType, AnimationType, AnimationZoomDirectionType, AnimationZoomSettingType, appAPI as AppAPIType, ArticleListProvider, ArticleListProviderProps, ArticleProvider, ArticleProviderProps, Background, BackgroundImageValue, BackgroundVideoValue, BaseProps, BasePropsWrap, BlockEntity, BogosWidgetType, BoldSubscriptionsWidgetType, Border, BorderStyle, BuilderComponentProvider, BuilderComponentProviderProps, BuilderEntity, BuilderEntityNested, BuilderPreviewProvider, BuilderPreviewProviderProps, BuilderProvider, BuilderProviderProps, BuilderState, Builtin, CSSStateKey, CartLineProvider, CartLineProviderProps, CollectionDetailFilterDocument, CollectionDetailFilterQueryResponse, CollectionDetailFilterQueryVariables, CollectionDocument, CollectionProvider, CollectionProviderProps, CollectionQueryResponse, CollectionQueryVariables, CollectionSelectFragment, CollectionsDocument, CollectionsQueryResponse, CollectionsQueryVariables, ColorKey, ColorType$1 as ColorType, ColorValueType, Component, ComponentPreset, ComponentSetting, ContainerProp, ControlProp, ControlTriggerAction, ControlUI, CornerRadius, CornerRadiusType, CustomComponentConfig, DeepPartial, DynamicCollection, DynamicProduct, ExtractState, FastBundleWidgetType, FeraReviewsV3WidgetType, FeraReviewsWidgetType, FetchCollectionArgs, FetchFunc, FetchProductParams, FlexDirectionProp, FontName, GRADIENT_BGR_KEY, GlobalStyleConfig, GlobalStyleResponsiveConfig, GlobalSwatchesData, GraphQLConnection, GroupPropType, GrowaveWidgetType, HSLAColorType, HSLColorType, HexColorType, ImageShape$1 as ImageShape, InitComponentType, InstantJudgeMeReviewsWidgetType, InstantKlaviyoWidgetType, InstantLooxReviewsWidgetType, Interaction, InteractionCondition, InteractionElement, InteractionTarget, InteractionTargetEvent, InteractionTargetEventObject, InteractionTriggerEvent, JudgeMeReviewsWidgetType, KlaviyoWidgetType, LaiProductReviewsAdvancedWidgetType, LaiProductReviewsWidgetType, LibrarySaleFunnelDocument, LibrarySaleFunnelQueryResponse, LibrarySaleFunnelQueryVariables, LibraryTemplateDocument, LibraryTemplateQueryResponse, LibraryTemplateQueryVariables, LooxReviewsWidgetType, ModalProvider, ModalProviderProps, NameDevices$1 as NameDevices, NestedKeys, ObjectDeviceGlobalType, ObjectDevices, ObjectLayoutValue, OmnisendWidgetType, OnlyOne, OpinewDesignWidgetType, OpinewWidgetType, OptionNormalStyle, OptionSpecialStyle, Options, PageContext, PageProvider, PageProviderProps, PageType, PageViewUpDocument, PageViewUpMutationResponse, PageViewUpMutationVariables, PickyStoryWidgetType, PostPurchaseTypo, PreOrderNowWodWidgetType, PreviewPageDocument, PreviewPageQueryResponse, PreviewPageQueryVariables, Primitive, ProductInputAnalytic, ProductListProvider, ProductListProviderProps, ProductOffer, ProductProvider, ProductProviderProps, ProductReviewsWidgetType, ProductSelectFragment, ProductsDocument, ProductsQueryResponse, ProductsQueryVariables, PublicStoreFrontData, PublishedShopMetasDocument, PublishedShopMetasQueryResponse, PublishedThemePageSelectFragment, PublishedThemePagesDocument, PublishedThemePagesQueryResponse, PublishedThemePagesQueryVariables, QueryPublishedShopMetasArgs, RGBAColorType, RGBColorType, Ratio$1 as Ratio, RawChild, RenderMemo as Render, RenderChildren, RenderIf, Render as RenderLiquid, RenderMode, RenderPreviewMemo as RenderPreview, RequiredCursorEdge, ResponsiveKey, ResponsiveStateProp, RivyoWidgetType, RoundedSize, RyviuWidgetType, SaleFunnelDiscount$1 as SaleFunnelDiscount, SaleFunnelDiscountEdge$1 as SaleFunnelDiscountEdge, SaleFunnelDiscountObjectType$1 as SaleFunnelDiscountObjectType, SaleFunnelDiscountType$1 as SaleFunnelDiscountType, SaleFunnelDiscountValueType$1 as SaleFunnelDiscountValueType, SaleFunnelDiscountsDocument, SaleFunnelDiscountsQueryResponse, SaleFunnelDiscountsQueryVariables, Scalars$1 as Scalars, ScaleByDirection, SectionData, SectionEntity, SectionProvider, SectionProviderProps, SettingByAnimationType, SettingByAnimationValues, SettingUIGroup, ShadowProps, ShadowStyle, ShadowStyleApplied, ShadowType, ShopLibraryPageDocument, ShopLibraryPageQueryResponse, ShopLibraryPageQueryVariables, ShopProvider, ShopProviderProps, shop as ShopType, SizeProps, SizeSetting, SizeSettingGlobal, SizeType, SpacingType, StampedWidgetType, StateProp, StateSelector, StateType, StoreConfig, StorePropertyDocument, StorePropertyQueryResponse, StorePropertyQueryVariables, SwatchesOptionType, SwatchesOptionValue, TagShopWidgetType, ThemePageDocument, ThemePageQueryResponse, ThemePageQueryVariables, ThemeSectionStatus$1 as ThemeSectionStatus, TransformProp, TriggerConfig, TrustooWidgetType, TypographyProps, TypographySetting, TypographySettingV2, TypographyType, TypographyV2Attrs, TypographyV2Props, UltimateSalesBoostWidgetType, VariantSelectFragment, VitalsWidgetType, WiserV2WidgetType, WiserWidgetType, WrapRenderChildren, YotpoReviewsWidgetType, addAppBlockId, animations, baseAssetURL, calculateFirstProduct, checkAvailableVariantInStock, cls, composeAdvanceStyle, composeAdvanceStyleForPostPurchase, composeBackgroundCss, composeBorderCss, composeCornerCss, composeFallbackTypographyStyle, composeFontFamilyTypographyV2, composeGridLayout, composeMemo, composePositionLineHeight, composePostionIconList, composeRadius, composeRadiusResponsive, composeShadowCss, composeSize, composeSizeCss, composeSpacing, composeTextColorCss, composeTypography, composeTypographyAttr, composeTypographyClassName, composeTypographyCss, composeTypographyStyle, composeTypographyV2, composeTypographyV2Css, convertHTML, convertOldLayout, convertTextAlignToJustify, dataStringify, fetchMedias, fetchVariants, filterAttrInStyle, filterCornerInStyle, filterToolbarPreview, flattenConnection, formatMoney, fpixel, genSizeClass, genTypoClass, genVariable, generateCollectionQueryKey, generateProductQueryKey, generateProductsQueryKey, getAppBlocks, getAspectRatioGlobalSize, getBgImageByDevice, getBorderRadiusStyle, getBorderStyle, getCarouselContainerHeight, getCollection, getCornerCSSFromGlobal, getCustomRadius, getGlobalColorCSSProp, getGlobalColorClass, getGlobalColorResponsiveClass, getGlobalColorResponsiveStyle, getGlobalColorStateClass, getGlobalColorStateClassDynamicBtn, getGlobalColorStateResponsiveClass, getGlobalColorStateResponsiveClassDynamicBtn, getGlobalColorStateResponsiveStyle, getGlobalColorStateStyle, getGlobalColorStyle, getGlobalSizeGap, getGradientBgrStyleByDevice, getGradientBgrStyleForButton, getHeightByShapeGlobalSize, getPaddingGlobalSize, getProduct, getProductBySlug, getRadiusCSSFromGlobal, getRadiusStyleActiveState, getResonsiveStyleShadow, getResponsiveStateValue, getResponsiveValue, getResponsiveValueByScreen, getSelectedVariant, getShortName, getSingleColorVariable, getSpacingVariable, getStyleBackgroundByDevice, getStyleBgColor, getStyleShadow, getStyleShadowState, getValueByDevice, getWidthByShapeGlobalSize, getWidthHeightGlobalSize, globalEvent, gridToArrayRegex, gtag, handleConvertBorderColor, handleConvertBorderStyle, handleConvertBorderWidth, handleConvertClassColor, handleConvertClassColorDynamicBtn, isBrowser, isColor, isColumnDirectionExist, isDefined, isEmptyChildren, isLocalEnv, isSafari, loadScript, makeAspectRatio, makeContainerWidthOrHeight, makeDotGapToCarouselStyle, makeFixedBgAttachment, makeGlobalSize, makeGlobalSizeHeightResponsive, makeGlobalSizeIcon, makeGlobalSizeWidthResponsive, makeHeight, makeLineClamp, makeStyle, makeStyleKey, makeStyleResponsive, makeStyleResponsiveByScreen, makeStyleResponsiveState, makeStyleState, makeStyleWithDefault, makeWidth, normalizeBuilderData, optionLayoutStyle, parseSelectedOption, parseValueWithUnit, prefetchQueries, props, removeAttrInStyle, removeNullUndefined, removePaddingYInStyle, removeUndefinedValuesFromObject, shopifyPriceRounding, splitStyle, styles, template, tiktokpixel, useAddToCart, useAddon, useAddons, useArticleListStore, useArticleStore, useArticlesQuery, useBlogsQuery, useBuilderComponent, useBuilderPreviewStore, useBuilderStore, useCartData, useCartDiscountCodesUpdate, useCartId, useCartLine, useCartLineStore, useCartNoteUpdate, useCartUI, useCheckAvailableVariantInStock, useCheckoutUrl, useCollection, useCollectionQuery, useCollectionStore, useCollectionsQuery, useConnectedShopify, useCreateCart, useCurrency, useCurrentDevice, useCurrentVariant, useCurrentVariantInStock, useEditorMode, useFeaturedImageGlobal, useFormatMoney, useHasPreSelected, useInitialSwatchesOptions, useInteraction, useIsSampleProduct, useIsStorefrontProduct, useIsSyncProduct, useIsomorphicLayoutEffect, useLazyVideo, useLoadScript, useLocale, useMatchMutate, useMobileOnly, useModalStore, useMoney, useMoneyFormat, usePageStore, usePageType, usePluginEnable, usePrevious, useProduct, useProductList, useProductListProducts, useProductListSettings, useProductListStore, useProductListStyles, useProductOfferDiscount, useProductProperties, useProductQuery, useProductStore, useProductsQuery, useProductsQueryAll, useQuantity, useRemoveCartItem, useSection, useSectionStore, useSelectedOption, useShopStore, useStoreFront, useSuspenseFetch, useSwatches, useSwatchesOptions, useUniqProductID, useUpdateCartItem, useVariant, useVariantOutStock, useVariants, validateEmail };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gem-sdk/core",
|
|
3
|
-
"version": "1.53.0-dev.
|
|
3
|
+
"version": "1.53.0-dev.113",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"type-check": "yarn tsc --noEmit"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@gem-sdk/adapter-shopify": "1.53.0-dev.
|
|
31
|
-
"@gem-sdk/styles": "1.53.0-dev.
|
|
30
|
+
"@gem-sdk/adapter-shopify": "1.53.0-dev.105",
|
|
31
|
+
"@gem-sdk/styles": "1.53.0-dev.107",
|
|
32
32
|
"@types/classnames": "^2.3.1"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|