@gem-sdk/core 1.53.0-dev.14 → 1.53.0-dev.146
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 +1 -1
- package/dist/cjs/components/InteractionSuffix.js +10 -91
- package/dist/cjs/components/Render.liquid.js +34 -7
- 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 +6 -1
- package/dist/cjs/helpers/convert.js +1 -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 +42 -0
- package/dist/cjs/helpers/third-party/appSetting.js +144 -1
- package/dist/cjs/helpers/third-party/constant.js +7 -1
- package/dist/cjs/helpers/typography.js +5 -2
- package/dist/cjs/hooks/animation/useAnimationConfig.js +2 -1
- package/dist/cjs/hooks/animation/useApplyAnimation.js +5 -5
- package/dist/cjs/index.js +4 -0
- package/dist/esm/components/ComponentToolbarPreview.js +58 -3
- package/dist/esm/components/ComponentWrapper.js +1 -1
- package/dist/esm/components/InteractionSuffix.js +11 -92
- package/dist/esm/components/Render.liquid.js +34 -7
- 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 +6 -1
- package/dist/esm/helpers/convert.js +1 -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 +37 -1
- package/dist/esm/helpers/third-party/appSetting.js +144 -1
- package/dist/esm/helpers/third-party/constant.js +8 -2
- package/dist/esm/helpers/typography.js +5 -2
- package/dist/esm/hooks/animation/useAnimationConfig.js +2 -1
- package/dist/esm/hooks/animation/useApplyAnimation.js +5 -5
- package/dist/esm/index.js +2 -0
- package/dist/types/index.d.ts +179 -22
- package/package.json +3 -3
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,18 +6907,19 @@ 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';
|
|
6894
6914
|
type OmnisendWidgetType = 'landing-page' | 'embedded';
|
|
6895
|
-
type BoldSubscriptionsWidgetType = 'v1' | '
|
|
6915
|
+
type BoldSubscriptionsWidgetType = 'v1' | 'bsub-widget-block';
|
|
6896
6916
|
type PickyStoryWidgetType = 'gem-picky-bundle' | 'gem-picky-kit' | 'gem-picky-buy-the-look' | 'gem-picky-gallery';
|
|
6897
6917
|
type KlaviyoWidgetType = 'popup_widget' | 'flyout_widget' | 'embed_widget' | 'full_page_widget';
|
|
6898
6918
|
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: {
|
|
@@ -6966,6 +6989,7 @@ type Mapped$7<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
6966
6989
|
active?: boolean;
|
|
6967
6990
|
};
|
|
6968
6991
|
devices?: ResponsiveConfig<U>;
|
|
6992
|
+
compoDefaultValue?: ResponsiveConfig<U>;
|
|
6969
6993
|
emptyOnClear?: boolean;
|
|
6970
6994
|
showVideo?: boolean;
|
|
6971
6995
|
} : {
|
|
@@ -7004,6 +7028,7 @@ type Mapped$7<K, T> = NonNullable<T> extends ObjectDevices<infer U> ? {
|
|
|
7004
7028
|
emptyOnClear?: boolean;
|
|
7005
7029
|
showVideo?: boolean;
|
|
7006
7030
|
default?: T;
|
|
7031
|
+
compoDefaultValue?: T;
|
|
7007
7032
|
};
|
|
7008
7033
|
type SharedControlType<T> = {
|
|
7009
7034
|
[K in keyof T]-?: Mapped$7<K, T[K]>;
|
|
@@ -7526,23 +7551,23 @@ type Background = {
|
|
|
7526
7551
|
storage?: 'THEME' | 'FILE_CONTENT';
|
|
7527
7552
|
backupFilePath?: string;
|
|
7528
7553
|
};
|
|
7529
|
-
size?: BgSize;
|
|
7530
|
-
position?: BgPosition;
|
|
7531
|
-
repeat?: BgRepeat;
|
|
7532
|
-
attachment?: BgAttachment;
|
|
7554
|
+
size?: BgSize$2;
|
|
7555
|
+
position?: BgPosition$2;
|
|
7556
|
+
repeat?: BgRepeat$2;
|
|
7557
|
+
attachment?: BgAttachment$2;
|
|
7533
7558
|
video?: string;
|
|
7534
7559
|
videoHtml5?: string;
|
|
7535
7560
|
videoType?: 'youtube' | 'html5';
|
|
7536
7561
|
loop?: boolean;
|
|
7537
7562
|
lazyLoad?: boolean;
|
|
7538
7563
|
};
|
|
7539
|
-
type BgSize = 'cover' | 'contain';
|
|
7540
|
-
type BgRepeat = 'repeat' | 'repeat-x' | 'repeat-y' | 'no-repeat';
|
|
7541
|
-
type BgPosition = {
|
|
7564
|
+
type BgSize$2 = 'cover' | 'contain';
|
|
7565
|
+
type BgRepeat$2 = 'repeat' | 'repeat-x' | 'repeat-y' | 'no-repeat';
|
|
7566
|
+
type BgPosition$2 = {
|
|
7542
7567
|
x: number;
|
|
7543
7568
|
y: number;
|
|
7544
7569
|
};
|
|
7545
|
-
type BgAttachment = 'scroll' | 'fixed' | 'local';
|
|
7570
|
+
type BgAttachment$2 = 'scroll' | 'fixed' | 'local';
|
|
7546
7571
|
|
|
7547
7572
|
type VisibilityControlType<T> = SharedControlType<T> & {
|
|
7548
7573
|
type: 'visibility';
|
|
@@ -7755,6 +7780,7 @@ type TypographyV2ControlType<T> = SharedControlType<T> & {
|
|
|
7755
7780
|
hiddenSetting?: {
|
|
7756
7781
|
color?: boolean;
|
|
7757
7782
|
transform?: boolean;
|
|
7783
|
+
fontWeight?: boolean;
|
|
7758
7784
|
};
|
|
7759
7785
|
disableCollapse?: boolean;
|
|
7760
7786
|
};
|
|
@@ -7857,6 +7883,7 @@ type DropdownInput<T> = SharedControlType<T> & {
|
|
|
7857
7883
|
reversed?: boolean;
|
|
7858
7884
|
showValue?: boolean;
|
|
7859
7885
|
}[];
|
|
7886
|
+
isRowWith?: boolean;
|
|
7860
7887
|
};
|
|
7861
7888
|
|
|
7862
7889
|
type Dropdown<T> = SharedControlType<T> & {
|
|
@@ -8191,9 +8218,29 @@ type SettingUIControl = {
|
|
|
8191
8218
|
state?: SettingStateType;
|
|
8192
8219
|
};
|
|
8193
8220
|
searchKeyword?: string;
|
|
8221
|
+
controlChangeTrigger?: ControlTrigger;
|
|
8194
8222
|
tabs?: SettingUITab[];
|
|
8195
8223
|
info?: LabelWithLang;
|
|
8224
|
+
compoDefaultValue?: any | Record<NameDevices$1, any>;
|
|
8196
8225
|
} & SettingUICompo;
|
|
8226
|
+
type ControlTriggerAction$1 = {
|
|
8227
|
+
controlId: string;
|
|
8228
|
+
newValue: any;
|
|
8229
|
+
controlType: string;
|
|
8230
|
+
groupType: string;
|
|
8231
|
+
valueIfNull?: any;
|
|
8232
|
+
};
|
|
8233
|
+
type ControlTriggerSetting = {
|
|
8234
|
+
source?: string[];
|
|
8235
|
+
condition?: string;
|
|
8236
|
+
action: ControlTriggerAction$1;
|
|
8237
|
+
};
|
|
8238
|
+
type ControlTrigger = {
|
|
8239
|
+
settings?: ControlTriggerSetting[];
|
|
8240
|
+
options?: {
|
|
8241
|
+
noRecordHistory?: boolean;
|
|
8242
|
+
};
|
|
8243
|
+
};
|
|
8197
8244
|
type SettingUICompo = {
|
|
8198
8245
|
controls?: SettingUIControl[];
|
|
8199
8246
|
iconName?: string;
|
|
@@ -8243,7 +8290,97 @@ type ProductHandleType<T> = SharedControlType<T> & {
|
|
|
8243
8290
|
type: 'product-handle';
|
|
8244
8291
|
};
|
|
8245
8292
|
|
|
8246
|
-
type
|
|
8293
|
+
type ColorPickerV2ControlType<T> = SharedControlType<T> & {
|
|
8294
|
+
type: 'color-picker-v2';
|
|
8295
|
+
};
|
|
8296
|
+
|
|
8297
|
+
type BorderV2ControlType<T> = SharedControlType<T> & {
|
|
8298
|
+
type: 'border-v2';
|
|
8299
|
+
};
|
|
8300
|
+
|
|
8301
|
+
type CornerV2ControlType<T> = SharedControlType<T> & {
|
|
8302
|
+
type: 'corner-v2';
|
|
8303
|
+
};
|
|
8304
|
+
|
|
8305
|
+
type PaddingV2ControlType<T> = SharedControlType<T> & {
|
|
8306
|
+
type: 'padding-v2';
|
|
8307
|
+
};
|
|
8308
|
+
|
|
8309
|
+
type BackgroundImageType<T> = SharedControlType<T> & {
|
|
8310
|
+
type: 'background-image';
|
|
8311
|
+
value?: BackgroundImageValue;
|
|
8312
|
+
};
|
|
8313
|
+
type BackgroundImageValue = {
|
|
8314
|
+
image?: {
|
|
8315
|
+
src: string;
|
|
8316
|
+
width: number;
|
|
8317
|
+
height: number;
|
|
8318
|
+
};
|
|
8319
|
+
size?: BgSize$1;
|
|
8320
|
+
position?: BgPosition$1;
|
|
8321
|
+
repeat?: BgRepeat$1;
|
|
8322
|
+
attachment?: BgAttachment$1;
|
|
8323
|
+
altText?: string;
|
|
8324
|
+
imageTitle?: string;
|
|
8325
|
+
lazyLoad?: boolean;
|
|
8326
|
+
preload?: boolean;
|
|
8327
|
+
};
|
|
8328
|
+
type BgSize$1 = 'cover' | 'contain' | '100% 100%';
|
|
8329
|
+
type BgRepeat$1 = 'repeat' | 'repeat-x' | 'repeat-y' | 'no-repeat';
|
|
8330
|
+
type BgPosition$1 = {
|
|
8331
|
+
x: number;
|
|
8332
|
+
y: number;
|
|
8333
|
+
};
|
|
8334
|
+
type BgAttachment$1 = 'scroll' | 'fixed' | 'local';
|
|
8335
|
+
|
|
8336
|
+
type BackgroundVideoType<T> = SharedControlType<T> & {
|
|
8337
|
+
type: 'background-video';
|
|
8338
|
+
value?: BackgroundVideoValue;
|
|
8339
|
+
};
|
|
8340
|
+
type BackgroundVideoValue = {
|
|
8341
|
+
srcYoutube?: string;
|
|
8342
|
+
srcHtml5?: string;
|
|
8343
|
+
type?: 'youtube' | 'html5';
|
|
8344
|
+
ratio?: string;
|
|
8345
|
+
loop?: boolean;
|
|
8346
|
+
};
|
|
8347
|
+
|
|
8348
|
+
type BackgroundMediaControlType<T> = SharedControlType<T> & {
|
|
8349
|
+
type: 'background-media';
|
|
8350
|
+
value?: BackgroundMedia;
|
|
8351
|
+
showVideo?: Boolean;
|
|
8352
|
+
};
|
|
8353
|
+
type BackgroundMedia = {
|
|
8354
|
+
type: 'color' | 'image' | 'video';
|
|
8355
|
+
color?: string;
|
|
8356
|
+
image?: {
|
|
8357
|
+
src?: string;
|
|
8358
|
+
width?: number;
|
|
8359
|
+
height?: number;
|
|
8360
|
+
backupFileKey?: string;
|
|
8361
|
+
storage?: 'THEME' | 'FILE_CONTENT';
|
|
8362
|
+
backupFilePath?: string;
|
|
8363
|
+
};
|
|
8364
|
+
size?: BgSize;
|
|
8365
|
+
position?: BgPosition;
|
|
8366
|
+
repeat?: BgRepeat;
|
|
8367
|
+
attachment?: BgAttachment;
|
|
8368
|
+
video?: string;
|
|
8369
|
+
videoHtml5?: string;
|
|
8370
|
+
videoType?: 'youtube' | 'html5';
|
|
8371
|
+
loop?: boolean;
|
|
8372
|
+
lazyLoad?: boolean;
|
|
8373
|
+
preload?: boolean;
|
|
8374
|
+
};
|
|
8375
|
+
type BgSize = 'cover' | 'contain';
|
|
8376
|
+
type BgRepeat = 'repeat' | 'repeat-x' | 'repeat-y' | 'no-repeat';
|
|
8377
|
+
type BgPosition = {
|
|
8378
|
+
x: number;
|
|
8379
|
+
y: number;
|
|
8380
|
+
};
|
|
8381
|
+
type BgAttachment = 'scroll' | 'fixed' | 'local';
|
|
8382
|
+
|
|
8383
|
+
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> | BackgroundMediaControlType<T> | BackgroundVideoType<T>;
|
|
8247
8384
|
type ControlTriggerAction = {
|
|
8248
8385
|
controlId: string;
|
|
8249
8386
|
newValue?: any;
|
|
@@ -8270,6 +8407,7 @@ type ComponentSetting<P extends BaseProps> = {
|
|
|
8270
8407
|
icon?: string;
|
|
8271
8408
|
settings?: Setting<P>[];
|
|
8272
8409
|
advanced?: Record<string, any>;
|
|
8410
|
+
rootOverride?: Record<string, any>;
|
|
8273
8411
|
init?: InitComponentType[] | {
|
|
8274
8412
|
default: InitComponentType[];
|
|
8275
8413
|
mobileOnly?: InitComponentType[];
|
|
@@ -8386,6 +8524,7 @@ type ComponentPreset = {
|
|
|
8386
8524
|
components: InitComponentType[];
|
|
8387
8525
|
hideTextContent?: boolean;
|
|
8388
8526
|
flowTagComponents?: Record<string, InitComponentType[]>;
|
|
8527
|
+
rootOverride?: Record<string, any>;
|
|
8389
8528
|
};
|
|
8390
8529
|
|
|
8391
8530
|
type PageContext = {
|
|
@@ -8437,7 +8576,7 @@ type InteractionElement<E, T> = {
|
|
|
8437
8576
|
elementTag?: string;
|
|
8438
8577
|
targetOutsideSelector?: string;
|
|
8439
8578
|
targetInsideSelector?: string;
|
|
8440
|
-
|
|
8579
|
+
type?: 'ELEMENT' | 'PAGE';
|
|
8441
8580
|
};
|
|
8442
8581
|
declare enum InteractionTargetEvent {
|
|
8443
8582
|
'gp:change-background-color' = 0,
|
|
@@ -8501,7 +8640,7 @@ type InteractionTarget = {
|
|
|
8501
8640
|
targetOutsideSelector?: string;
|
|
8502
8641
|
targetInsideSelector?: string;
|
|
8503
8642
|
events?: InteractionTargetEventObject[];
|
|
8504
|
-
|
|
8643
|
+
type?: 'ELEMENT' | 'PAGE';
|
|
8505
8644
|
};
|
|
8506
8645
|
type InteractionTargetEventObject = {
|
|
8507
8646
|
event: InteractionTargetEvent;
|
|
@@ -30806,7 +30945,7 @@ type TypographyV2Family = string | {
|
|
|
30806
30945
|
value: string;
|
|
30807
30946
|
type: TypographyV2FontFamilyType;
|
|
30808
30947
|
};
|
|
30809
|
-
type TypographyV2FontFamilyType = 'google' | 'custom' | 'theme';
|
|
30948
|
+
type TypographyV2FontFamilyType = 'google' | 'custom' | 'theme' | 'bunny';
|
|
30810
30949
|
|
|
30811
30950
|
/**
|
|
30812
30951
|
* @deprecated Please use `TypographySettingV2`
|
|
@@ -30859,7 +30998,7 @@ type CornerRadius = {
|
|
|
30859
30998
|
bbrr?: string;
|
|
30860
30999
|
radiusType?: CornerRadiusType;
|
|
30861
31000
|
};
|
|
30862
|
-
type CornerRadiusType = 'none' | 'large' | 'medium' | 'small' | 'circle' | 'custom';
|
|
31001
|
+
type CornerRadiusType = 'none' | 'large' | 'medium' | 'small' | 'circle' | 'custom' | 'rounded';
|
|
30863
31002
|
type ColorType$1 = NestedKeys<BrandColorObject> | NestedKeys<BackgroundColorObject> | NestedKeys<TextColorObject> | NestedKeys<LineColorObject> | NestedKeys<FuncColorObject>;
|
|
30864
31003
|
type FontName = 'body' | 'heading' | 'code';
|
|
30865
31004
|
type ColorKey = 'transparent' | 'red' | 'orange' | 'yellow' | 'green' | 'blue' | 'indigo' | 'purple' | 'pink' | 'gray';
|
|
@@ -30901,7 +31040,7 @@ type ObjectDeviceGlobalType<T> = {
|
|
|
30901
31040
|
mobile?: T;
|
|
30902
31041
|
};
|
|
30903
31042
|
type SpacingType = 'xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl';
|
|
30904
|
-
type RoundedSize = 'small' | 'medium' | 'large' | 'circle' | 'none' | 'custom';
|
|
31043
|
+
type RoundedSize = 'small' | 'medium' | 'large' | 'circle' | 'none' | 'custom' | 'rounded';
|
|
30905
31044
|
type ContainerProp = 'width' | 'padding';
|
|
30906
31045
|
type GlobalStyleResponsiveConfig = {
|
|
30907
31046
|
color?: Partial<Record<ColorType$1, string>>;
|
|
@@ -31067,7 +31206,7 @@ type Props = {
|
|
|
31067
31206
|
pageContext?: PageContext;
|
|
31068
31207
|
[key: string]: any;
|
|
31069
31208
|
};
|
|
31070
|
-
declare const Render: ({ uid, builder, components, parentId, extraFiles, pageContext, ...passProps }: Props) => {
|
|
31209
|
+
declare const Render: ({ uid, builder, components, parentId, extraFiles, pageContext, largeComponent, sizeLargeComponent, ...passProps }: Props) => {
|
|
31071
31210
|
liquid: string;
|
|
31072
31211
|
extraFiles: ExtraFiles;
|
|
31073
31212
|
};
|
|
@@ -31387,7 +31526,8 @@ type PageContextProps = {
|
|
|
31387
31526
|
interactionData?: {
|
|
31388
31527
|
item?: Interaction;
|
|
31389
31528
|
isSelectOnPage?: boolean;
|
|
31390
|
-
selectType?: '
|
|
31529
|
+
selectType?: 'ELEMENT' | 'PAGE';
|
|
31530
|
+
settingType?: 'TRIGGER' | 'TARGET';
|
|
31391
31531
|
};
|
|
31392
31532
|
setDynamicProduct: (data: DynamicProduct) => void;
|
|
31393
31533
|
setDynamicCollection: (data: DynamicCollection) => void;
|
|
@@ -31396,7 +31536,8 @@ type PageContextProps = {
|
|
|
31396
31536
|
setPublicStoreFrontData: (publicStoreFrontData: PublicStoreFrontData | null) => void;
|
|
31397
31537
|
setInteractionItem: (item: Interaction) => void;
|
|
31398
31538
|
setInteractionIsSelectOnPage: (value: boolean) => void;
|
|
31399
|
-
setInteractionSelectType: (selectType: '
|
|
31539
|
+
setInteractionSelectType: (selectType: 'ELEMENT' | 'PAGE') => void;
|
|
31540
|
+
setInteractionSettingType: (settingType?: 'TRIGGER' | 'TARGET') => void;
|
|
31400
31541
|
};
|
|
31401
31542
|
type PageProviderProps = Pick<PageContextProps, 'dynamicProduct' | 'dynamicCollection' | 'productOffers'> & {
|
|
31402
31543
|
children: React.ReactNode;
|
|
@@ -31480,6 +31621,11 @@ type PageViewUpMutationVariables = Exact$1<{
|
|
|
31480
31621
|
type PageViewUpMutationResponse = Pick<Mutation$1, 'pageViewUp'>;
|
|
31481
31622
|
declare const PageViewUpDocument = "\n mutation pageViewUp($pageHandle: String!) {\n pageViewUp(pageHandle: $pageHandle)\n}\n ";
|
|
31482
31623
|
|
|
31624
|
+
type PublishedShopMetasQueryResponse = {
|
|
31625
|
+
publishedShopMetas?: Maybe$1<Array<Pick<PublishedShopMeta$1, 'id' | 'createdAt' | 'updatedAt' | 'key' | 'value'>>>;
|
|
31626
|
+
};
|
|
31627
|
+
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 ";
|
|
31628
|
+
|
|
31483
31629
|
type CollectionDetailFilterQueryVariables = Exact$1<{
|
|
31484
31630
|
firstProduct?: InputMaybe$1<Scalars$2['Int']>;
|
|
31485
31631
|
orderBy?: InputMaybe$1<CollectionOrder$1>;
|
|
@@ -31919,6 +32065,7 @@ declare namespace tiktokpixel {
|
|
|
31919
32065
|
};
|
|
31920
32066
|
}
|
|
31921
32067
|
|
|
32068
|
+
type CSSStateKey<T extends ShortHandProperty> = `--${T}` | `--hvr-${T}` | `--focus-${T}`;
|
|
31922
32069
|
type ResponsiveKey<T extends ShortHandProperty> = `--${T}` | `--${T}-tablet` | `--${T}-mobile`;
|
|
31923
32070
|
declare const removeNullUndefined: <T extends Record<string, any>>(obj: T) => T;
|
|
31924
32071
|
declare const makeStyleKey: <T extends ShortHandProperty>(name: T) => string[];
|
|
@@ -31949,6 +32096,7 @@ type Options = {
|
|
|
31949
32096
|
liquid?: boolean;
|
|
31950
32097
|
ignoreBgAttachment?: boolean;
|
|
31951
32098
|
ignoreBackgroundImage?: boolean;
|
|
32099
|
+
ignoreBackgroundImageProperties?: boolean;
|
|
31952
32100
|
ignoreBackgroundColor?: boolean;
|
|
31953
32101
|
};
|
|
31954
32102
|
declare const getStyleBackgroundByDevice: (background?: ObjectDevices<Background>, options?: Options) => {
|
|
@@ -38096,7 +38244,7 @@ declare const removePaddingYInStyle: (style?: React.CSSProperties) => {
|
|
|
38096
38244
|
vectorEffect?: csstype.Property.VectorEffect | undefined;
|
|
38097
38245
|
};
|
|
38098
38246
|
|
|
38099
|
-
declare const isLocalEnv
|
|
38247
|
+
declare const isLocalEnv: boolean;
|
|
38100
38248
|
declare const baseAssetURL: string;
|
|
38101
38249
|
|
|
38102
38250
|
declare const convertHTML: (str: string) => string;
|
|
@@ -38123,6 +38271,8 @@ declare const convertOldLayout: (layout?: ObjectDevices<string>) => ObjectDevice
|
|
|
38123
38271
|
|
|
38124
38272
|
declare const convertTextAlignToJustify: (align: Partial<Record<NameDevices$1, AlignProp>> | undefined) => Record<string, boolean>;
|
|
38125
38273
|
|
|
38274
|
+
declare function checkInStock(variant?: VariantSelectFragment, product?: ProductSelectFragment): boolean;
|
|
38275
|
+
|
|
38126
38276
|
declare function getSelectedVariant(variants?: Maybe$1<VariantSelectFragment>[], choices?: Record<string, string>, variantId?: string | null): Maybe$1<VariantSelectFragment>;
|
|
38127
38277
|
declare function parseSelectedOption(options: SelectedOption$1[]): SelectedOption$1 | undefined;
|
|
38128
38278
|
declare function checkAvailableVariantInStock(variants: Maybe$1<VariantSelectFragment>[] | undefined, optionId: string, optionValue: string): boolean;
|
|
@@ -41617,13 +41767,20 @@ declare const useInteraction: () => {
|
|
|
41617
41767
|
event: string;
|
|
41618
41768
|
selector: string;
|
|
41619
41769
|
}, callback: (data: any) => void) => void;
|
|
41620
|
-
trigger: ({ event, data, selector }: {
|
|
41770
|
+
trigger: ({ event, data, selector, element: elementParam, }: {
|
|
41621
41771
|
event: string;
|
|
41622
41772
|
data?: any;
|
|
41623
41773
|
selector: string;
|
|
41774
|
+
element?: HTMLElement | undefined;
|
|
41624
41775
|
}) => void;
|
|
41625
41776
|
saveToElementInteractionData: (element: HTMLElement, key: string, value: string) => void;
|
|
41626
41777
|
closeSelectOnPage: () => void;
|
|
41778
|
+
ref: React.MutableRefObject<null>;
|
|
41779
|
+
findElementIncludingSelf: (element: any, selector: string) => any;
|
|
41780
|
+
getInteractionPreviousData: (element: HTMLElement, key: string) => {
|
|
41781
|
+
previousData: any;
|
|
41782
|
+
interactionDataJson: any;
|
|
41783
|
+
};
|
|
41627
41784
|
};
|
|
41628
41785
|
|
|
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 };
|
|
41786
|
+
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, BackgroundMedia, 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, checkInStock, 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.146",
|
|
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.139",
|
|
32
32
|
"@types/classnames": "^2.3.1"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|