@gem-sdk/core 1.53.0-dev.9 → 1.53.0-dev.95
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 +15 -5
- package/dist/cjs/helpers/third-party/appConfig.js +21 -0
- package/dist/cjs/helpers/third-party/appSetting.js +96 -1
- package/dist/cjs/helpers/third-party/constant.js +4 -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 +15 -5
- package/dist/esm/helpers/third-party/appConfig.js +19 -1
- package/dist/esm/helpers/third-party/appSetting.js +96 -1
- package/dist/esm/helpers/third-party/constant.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 +1 -0
- package/dist/types/index.d.ts +57 -7
- package/package.json +2 -2
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';
|
|
@@ -6914,6 +6934,7 @@ type YotpoReviewsWidgetType = 'reviews' | 'star-rating' | 'reviewHighlights';
|
|
|
6914
6934
|
type BogosWidgetType = 'icon' | 'thumnail' | 'slider' | 'message' | 'classic-bundle' | 'quantity-break';
|
|
6915
6935
|
type PreOrderNowWodWidgetType = 'app-block' | 'popups-block';
|
|
6916
6936
|
type TagShopWidgetType = 'homeLandingGalleries' | 'productGalleries' | 'tagGalleries';
|
|
6937
|
+
type AirProductReview = 'review_box' | 'star_rating' | 'review_carousel';
|
|
6917
6938
|
|
|
6918
6939
|
type ResponsiveConfig<T> = {
|
|
6919
6940
|
desktop: {
|
|
@@ -7755,6 +7776,7 @@ type TypographyV2ControlType<T> = SharedControlType<T> & {
|
|
|
7755
7776
|
hiddenSetting?: {
|
|
7756
7777
|
color?: boolean;
|
|
7757
7778
|
transform?: boolean;
|
|
7779
|
+
fontWeight?: boolean;
|
|
7758
7780
|
};
|
|
7759
7781
|
disableCollapse?: boolean;
|
|
7760
7782
|
};
|
|
@@ -8239,7 +8261,19 @@ type SettingUIGroup = {
|
|
|
8239
8261
|
};
|
|
8240
8262
|
};
|
|
8241
8263
|
|
|
8242
|
-
type
|
|
8264
|
+
type ProductHandleType<T> = SharedControlType<T> & {
|
|
8265
|
+
type: 'product-handle';
|
|
8266
|
+
};
|
|
8267
|
+
|
|
8268
|
+
type ColorPickerV2ControlType<T> = SharedControlType<T> & {
|
|
8269
|
+
type: 'color-picker-v2';
|
|
8270
|
+
};
|
|
8271
|
+
|
|
8272
|
+
type BorderV2ControlType<T> = SharedControlType<T> & {
|
|
8273
|
+
type: 'border-v2';
|
|
8274
|
+
};
|
|
8275
|
+
|
|
8276
|
+
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>;
|
|
8243
8277
|
type ControlTriggerAction = {
|
|
8244
8278
|
controlId: string;
|
|
8245
8279
|
newValue?: any;
|
|
@@ -8266,6 +8300,7 @@ type ComponentSetting<P extends BaseProps> = {
|
|
|
8266
8300
|
icon?: string;
|
|
8267
8301
|
settings?: Setting<P>[];
|
|
8268
8302
|
advanced?: Record<string, any>;
|
|
8303
|
+
rootOverride?: Record<string, any>;
|
|
8269
8304
|
init?: InitComponentType[] | {
|
|
8270
8305
|
default: InitComponentType[];
|
|
8271
8306
|
mobileOnly?: InitComponentType[];
|
|
@@ -8382,6 +8417,7 @@ type ComponentPreset = {
|
|
|
8382
8417
|
components: InitComponentType[];
|
|
8383
8418
|
hideTextContent?: boolean;
|
|
8384
8419
|
flowTagComponents?: Record<string, InitComponentType[]>;
|
|
8420
|
+
rootOverride?: Record<string, any>;
|
|
8385
8421
|
};
|
|
8386
8422
|
|
|
8387
8423
|
type PageContext = {
|
|
@@ -8433,6 +8469,7 @@ type InteractionElement<E, T> = {
|
|
|
8433
8469
|
elementTag?: string;
|
|
8434
8470
|
targetOutsideSelector?: string;
|
|
8435
8471
|
targetInsideSelector?: string;
|
|
8472
|
+
type?: 'ELEMENT' | 'PAGE';
|
|
8436
8473
|
};
|
|
8437
8474
|
declare enum InteractionTargetEvent {
|
|
8438
8475
|
'gp:change-background-color' = 0,
|
|
@@ -8496,6 +8533,7 @@ type InteractionTarget = {
|
|
|
8496
8533
|
targetOutsideSelector?: string;
|
|
8497
8534
|
targetInsideSelector?: string;
|
|
8498
8535
|
events?: InteractionTargetEventObject[];
|
|
8536
|
+
type?: 'ELEMENT' | 'PAGE';
|
|
8499
8537
|
};
|
|
8500
8538
|
type InteractionTargetEventObject = {
|
|
8501
8539
|
event: InteractionTargetEvent;
|
|
@@ -30800,7 +30838,7 @@ type TypographyV2Family = string | {
|
|
|
30800
30838
|
value: string;
|
|
30801
30839
|
type: TypographyV2FontFamilyType;
|
|
30802
30840
|
};
|
|
30803
|
-
type TypographyV2FontFamilyType = 'google' | 'custom' | 'theme';
|
|
30841
|
+
type TypographyV2FontFamilyType = 'google' | 'custom' | 'theme' | 'bunny';
|
|
30804
30842
|
|
|
30805
30843
|
/**
|
|
30806
30844
|
* @deprecated Please use `TypographySettingV2`
|
|
@@ -31381,7 +31419,8 @@ type PageContextProps = {
|
|
|
31381
31419
|
interactionData?: {
|
|
31382
31420
|
item?: Interaction;
|
|
31383
31421
|
isSelectOnPage?: boolean;
|
|
31384
|
-
selectType?: '
|
|
31422
|
+
selectType?: 'ELEMENT' | 'PAGE';
|
|
31423
|
+
settingType?: 'TRIGGER' | 'TARGET';
|
|
31385
31424
|
};
|
|
31386
31425
|
setDynamicProduct: (data: DynamicProduct) => void;
|
|
31387
31426
|
setDynamicCollection: (data: DynamicCollection) => void;
|
|
@@ -31390,7 +31429,8 @@ type PageContextProps = {
|
|
|
31390
31429
|
setPublicStoreFrontData: (publicStoreFrontData: PublicStoreFrontData | null) => void;
|
|
31391
31430
|
setInteractionItem: (item: Interaction) => void;
|
|
31392
31431
|
setInteractionIsSelectOnPage: (value: boolean) => void;
|
|
31393
|
-
setInteractionSelectType: (selectType: '
|
|
31432
|
+
setInteractionSelectType: (selectType: 'ELEMENT' | 'PAGE') => void;
|
|
31433
|
+
setInteractionSettingType: (settingType?: 'TRIGGER' | 'TARGET') => void;
|
|
31394
31434
|
};
|
|
31395
31435
|
type PageProviderProps = Pick<PageContextProps, 'dynamicProduct' | 'dynamicCollection' | 'productOffers'> & {
|
|
31396
31436
|
children: React.ReactNode;
|
|
@@ -31474,6 +31514,11 @@ type PageViewUpMutationVariables = Exact$1<{
|
|
|
31474
31514
|
type PageViewUpMutationResponse = Pick<Mutation$1, 'pageViewUp'>;
|
|
31475
31515
|
declare const PageViewUpDocument = "\n mutation pageViewUp($pageHandle: String!) {\n pageViewUp(pageHandle: $pageHandle)\n}\n ";
|
|
31476
31516
|
|
|
31517
|
+
type PublishedShopMetasQueryResponse = {
|
|
31518
|
+
publishedShopMetas?: Maybe$1<Array<Pick<PublishedShopMeta$1, 'id' | 'createdAt' | 'updatedAt' | 'key' | 'value'>>>;
|
|
31519
|
+
};
|
|
31520
|
+
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 ";
|
|
31521
|
+
|
|
31477
31522
|
type CollectionDetailFilterQueryVariables = Exact$1<{
|
|
31478
31523
|
firstProduct?: InputMaybe$1<Scalars$2['Int']>;
|
|
31479
31524
|
orderBy?: InputMaybe$1<CollectionOrder$1>;
|
|
@@ -31913,6 +31958,7 @@ declare namespace tiktokpixel {
|
|
|
31913
31958
|
};
|
|
31914
31959
|
}
|
|
31915
31960
|
|
|
31961
|
+
type CSSStateKey<T extends ShortHandProperty> = `--${T}` | `--hvr-${T}` | `--focus-${T}`;
|
|
31916
31962
|
type ResponsiveKey<T extends ShortHandProperty> = `--${T}` | `--${T}-tablet` | `--${T}-mobile`;
|
|
31917
31963
|
declare const removeNullUndefined: <T extends Record<string, any>>(obj: T) => T;
|
|
31918
31964
|
declare const makeStyleKey: <T extends ShortHandProperty>(name: T) => string[];
|
|
@@ -31943,6 +31989,7 @@ type Options = {
|
|
|
31943
31989
|
liquid?: boolean;
|
|
31944
31990
|
ignoreBgAttachment?: boolean;
|
|
31945
31991
|
ignoreBackgroundImage?: boolean;
|
|
31992
|
+
ignoreBackgroundImageProperties?: boolean;
|
|
31946
31993
|
ignoreBackgroundColor?: boolean;
|
|
31947
31994
|
};
|
|
31948
31995
|
declare const getStyleBackgroundByDevice: (background?: ObjectDevices<Background>, options?: Options) => {
|
|
@@ -41611,13 +41658,16 @@ declare const useInteraction: () => {
|
|
|
41611
41658
|
event: string;
|
|
41612
41659
|
selector: string;
|
|
41613
41660
|
}, callback: (data: any) => void) => void;
|
|
41614
|
-
trigger: ({ event, data, selector }: {
|
|
41661
|
+
trigger: ({ event, data, selector, element: elementParam }: {
|
|
41615
41662
|
event: string;
|
|
41616
41663
|
data?: any;
|
|
41617
41664
|
selector: string;
|
|
41665
|
+
element?: HTMLElement | undefined;
|
|
41618
41666
|
}) => void;
|
|
41619
41667
|
saveToElementInteractionData: (element: HTMLElement, key: string, value: string) => void;
|
|
41620
41668
|
closeSelectOnPage: () => void;
|
|
41669
|
+
ref: React.MutableRefObject<null>;
|
|
41670
|
+
findElementIncludingSelf: (element: any, selector: string) => any;
|
|
41621
41671
|
};
|
|
41622
41672
|
|
|
41623
|
-
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 };
|
|
41673
|
+
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, 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, 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.95",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@gem-sdk/adapter-shopify": "1.53.0-dev.4",
|
|
31
|
-
"@gem-sdk/styles": "1.53.0-dev.
|
|
31
|
+
"@gem-sdk/styles": "1.53.0-dev.95",
|
|
32
32
|
"@types/classnames": "^2.3.1"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|