@gem-sdk/core 23.0.0-dev.4 → 23.0.0-dev.47
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 +1 -1
- package/dist/cjs/components/Render.liquid.js +9 -9
- package/dist/cjs/components/guardElementScriptTags.js +1 -0
- package/dist/cjs/components/theme-section/CreateThemeSection.js +1 -1
- package/dist/cjs/components/toolbar/ErrorBannerParts.js +2 -0
- package/dist/cjs/components/toolbar/PasteErrorBanner.js +2 -0
- package/dist/cjs/components/toolbar/PasteErrorPageBanner.js +2 -0
- package/dist/cjs/components/toolbar/SectionErrorBanner.js +1 -1
- package/dist/cjs/components/toolbar/pasteErrorBannerLayout.js +1 -0
- package/dist/cjs/constants/listImage.js +1 -0
- package/dist/cjs/constants/plan.js +1 -0
- package/dist/cjs/contexts/BuilderPreviewContext.js +1 -1
- package/dist/cjs/graphql/queries/preview-page.generated.js +2 -1
- package/dist/cjs/graphql/queries/published-theme-pages.generated.js +2 -1
- package/dist/cjs/helpers/convert.js +1 -1
- package/dist/cjs/helpers/pasteError.js +1 -0
- package/dist/cjs/helpers/shadow.js +1 -1
- package/dist/cjs/hooks/useInitialSwatchesOptions.js +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/modules/canary/constants/config.js +1 -0
- package/dist/cjs/modules/canary/utils/element.js +1 -0
- package/dist/esm/components/ComponentToolbarPreview.js +1 -1
- package/dist/esm/components/Render.liquid.js +9 -9
- package/dist/esm/components/guardElementScriptTags.js +1 -0
- package/dist/esm/components/theme-section/CreateThemeSection.js +1 -1
- package/dist/esm/components/toolbar/ErrorBannerParts.js +2 -0
- package/dist/esm/components/toolbar/PasteErrorBanner.js +2 -0
- package/dist/esm/components/toolbar/PasteErrorPageBanner.js +2 -0
- package/dist/esm/components/toolbar/SectionErrorBanner.js +1 -1
- package/dist/esm/components/toolbar/pasteErrorBannerLayout.js +1 -0
- package/dist/esm/constants/listImage.js +1 -0
- package/dist/esm/constants/plan.js +1 -0
- package/dist/esm/contexts/BuilderPreviewContext.js +1 -1
- package/dist/esm/graphql/queries/preview-page.generated.js +2 -1
- package/dist/esm/graphql/queries/published-theme-pages.generated.js +2 -1
- package/dist/esm/helpers/convert.js +1 -1
- package/dist/esm/helpers/pasteError.js +1 -0
- package/dist/esm/helpers/shadow.js +1 -1
- package/dist/esm/hooks/useInitialSwatchesOptions.js +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/modules/canary/constants/config.js +1 -0
- package/dist/esm/modules/canary/utils/element.js +1 -0
- package/dist/types/index.d.ts +54 -13
- package/package.json +3 -3
- /package/dist/cjs/components/src/product/{helpers → common}/variant-presets.js +0 -0
- /package/dist/esm/components/src/product/{helpers → common}/variant-presets.js +0 -0
package/dist/types/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
1
2
|
import { Cart as Cart$2 } from '@gem-sdk/adapter-shopify';
|
|
2
3
|
import * as swr from 'swr';
|
|
3
4
|
import { SWRConfig, SWRConfiguration, SWRResponse, MutatorOptions } from 'swr';
|
|
@@ -3544,6 +3545,7 @@ type PreviewPageInteraction$1 = {
|
|
|
3544
3545
|
createdAt?: Maybe$1<Scalars$2['Time']['output']>;
|
|
3545
3546
|
deletedAt?: Maybe$1<Scalars$2['Time']['output']>;
|
|
3546
3547
|
id: Scalars$2['ID']['output'];
|
|
3548
|
+
key: Scalars$2['String']['output'];
|
|
3547
3549
|
updatedAt?: Maybe$1<Scalars$2['Time']['output']>;
|
|
3548
3550
|
value: Array<Scalars$2['Map']['output']>;
|
|
3549
3551
|
};
|
|
@@ -3577,7 +3579,7 @@ type PreviewThemePage$1 = {
|
|
|
3577
3579
|
description?: Maybe$1<Scalars$2['String']['output']>;
|
|
3578
3580
|
handle?: Maybe$1<Scalars$2['String']['output']>;
|
|
3579
3581
|
id: Scalars$2['ID']['output'];
|
|
3580
|
-
|
|
3582
|
+
interactions?: Maybe$1<Array<PreviewPageInteraction$1>>;
|
|
3581
3583
|
isGlobal?: Maybe$1<Scalars$2['Boolean']['output']>;
|
|
3582
3584
|
isMobile?: Maybe$1<Scalars$2['Boolean']['output']>;
|
|
3583
3585
|
isSample?: Maybe$1<Scalars$2['Boolean']['output']>;
|
|
@@ -5513,6 +5515,7 @@ type PublishedPageInteraction$1 = {
|
|
|
5513
5515
|
createdAt?: Maybe$1<Scalars$2['Time']['output']>;
|
|
5514
5516
|
deletedAt?: Maybe$1<Scalars$2['Time']['output']>;
|
|
5515
5517
|
id: Scalars$2['ID']['output'];
|
|
5518
|
+
key: Scalars$2['String']['output'];
|
|
5516
5519
|
updatedAt?: Maybe$1<Scalars$2['Time']['output']>;
|
|
5517
5520
|
value: Array<Scalars$2['Map']['output']>;
|
|
5518
5521
|
};
|
|
@@ -6210,7 +6213,7 @@ type PublishedThemePage$1 = {
|
|
|
6210
6213
|
description?: Maybe$1<Scalars$2['String']['output']>;
|
|
6211
6214
|
handle?: Maybe$1<Scalars$2['String']['output']>;
|
|
6212
6215
|
id: Scalars$2['ID']['output'];
|
|
6213
|
-
|
|
6216
|
+
interactions?: Maybe$1<Array<PublishedPageInteraction$1>>;
|
|
6214
6217
|
isGlobal?: Maybe$1<Scalars$2['Boolean']['output']>;
|
|
6215
6218
|
isMobile?: Maybe$1<Scalars$2['Boolean']['output']>;
|
|
6216
6219
|
isSample?: Maybe$1<Scalars$2['Boolean']['output']>;
|
|
@@ -7771,6 +7774,8 @@ type PageContext = {
|
|
|
7771
7774
|
hasCollectionHandle?: boolean;
|
|
7772
7775
|
mode?: SectionMode;
|
|
7773
7776
|
schema?: string;
|
|
7777
|
+
/** `*.myshopify.com` domain of the shop being published; used for per-shop rollouts in Render. */
|
|
7778
|
+
shopifyDomain?: string;
|
|
7774
7779
|
};
|
|
7775
7780
|
type OnlyOne<T, U> = (T & {
|
|
7776
7781
|
[K in keyof U]?: never;
|
|
@@ -42492,7 +42497,8 @@ type RGBAColorType = `rgba(${number}, ${number}, ${number}, ${number})`;
|
|
|
42492
42497
|
type RGBColorType = `rgb(${number}, ${number}, ${number})`;
|
|
42493
42498
|
type HSLColorType = `hsl(${number}, ${number}%, ${number}%)`;
|
|
42494
42499
|
type HSLAColorType = `hsla(${number}, ${number}%, ${number}%, ${number})`;
|
|
42495
|
-
type
|
|
42500
|
+
type LinearGradientColorType = `linear-gradient(${string})` | `repeating-linear-gradient(${string})`;
|
|
42501
|
+
type ColorValueType = ColorType$1 | HexColorType | RGBAColorType | RGBColorType | HSLColorType | HSLAColorType | LinearGradientColorType | ColorKey;
|
|
42496
42502
|
type BrandColorObject = {
|
|
42497
42503
|
brand: string;
|
|
42498
42504
|
highlight: string;
|
|
@@ -42720,10 +42726,6 @@ type Props$2 = {
|
|
|
42720
42726
|
additionalSettings?: Record<string, any>;
|
|
42721
42727
|
[key: string]: any;
|
|
42722
42728
|
};
|
|
42723
|
-
declare const Render: ({ uid, builder, components, parentId, extraFiles, pageContext, additionalSettings, ...passProps }: Props$2) => {
|
|
42724
|
-
liquid: string;
|
|
42725
|
-
extraFiles: ExtraFiles;
|
|
42726
|
-
};
|
|
42727
42729
|
declare const RenderChildren: (props: Props$2) => string;
|
|
42728
42730
|
declare const WrapRenderChildren: ({ uid, customProps, }: {
|
|
42729
42731
|
uid: string;
|
|
@@ -42731,6 +42733,14 @@ declare const WrapRenderChildren: ({ uid, customProps, }: {
|
|
|
42731
42733
|
extraFiles: ExtraFiles;
|
|
42732
42734
|
};
|
|
42733
42735
|
}, codes?: (string | undefined)[]) => string;
|
|
42736
|
+
declare const RenderLiquid: (props: Props$2) => {
|
|
42737
|
+
liquid: string;
|
|
42738
|
+
extraFiles: {
|
|
42739
|
+
[k: string]: string;
|
|
42740
|
+
};
|
|
42741
|
+
};
|
|
42742
|
+
|
|
42743
|
+
declare const PasteErrorPageBanner: () => react_jsx_runtime.JSX.Element | null;
|
|
42734
42744
|
|
|
42735
42745
|
type Props$1 = {
|
|
42736
42746
|
uid: string;
|
|
@@ -42819,6 +42829,17 @@ type PublishErrorSectionListEventDetail = {
|
|
|
42819
42829
|
uid: string;
|
|
42820
42830
|
type: ErrorSectionType;
|
|
42821
42831
|
}[] | null;
|
|
42832
|
+
type IPasteErrorEventDetail = {
|
|
42833
|
+
uid: string;
|
|
42834
|
+
message: string;
|
|
42835
|
+
} | null;
|
|
42836
|
+
type IPasteErrorInfo = {
|
|
42837
|
+
uid: string;
|
|
42838
|
+
message: string;
|
|
42839
|
+
anchorUid?: string;
|
|
42840
|
+
positionUid?: string;
|
|
42841
|
+
sectionUid?: string;
|
|
42842
|
+
};
|
|
42822
42843
|
type ActiveComponentDetail = {
|
|
42823
42844
|
componentUid?: string;
|
|
42824
42845
|
productId?: string;
|
|
@@ -42827,6 +42848,7 @@ type ActiveComponentDetail = {
|
|
|
42827
42848
|
type BuilderPreviewContextProps = {
|
|
42828
42849
|
state: BuilderState;
|
|
42829
42850
|
errorSectionList: ErrorSectionInfo[] | null;
|
|
42851
|
+
pasteError: IPasteErrorInfo | null;
|
|
42830
42852
|
activeComponentDetail: ActiveComponentDetail;
|
|
42831
42853
|
loaded?: boolean;
|
|
42832
42854
|
pageName?: string;
|
|
@@ -42859,8 +42881,12 @@ type BuilderPreviewContextProps = {
|
|
|
42859
42881
|
uid: string;
|
|
42860
42882
|
value: string;
|
|
42861
42883
|
}[]) => void;
|
|
42862
|
-
dismissPublishError: (
|
|
42884
|
+
dismissPublishError: (args: {
|
|
42885
|
+
uid: string;
|
|
42886
|
+
type: ErrorSectionType;
|
|
42887
|
+
}) => void;
|
|
42863
42888
|
setErrorSectionList: (list: PublishErrorSectionListEventDetail) => void;
|
|
42889
|
+
setPasteError: (detail: IPasteErrorEventDetail) => void;
|
|
42864
42890
|
setActiveComponentDetail: (detail: ActiveComponentDetail) => void;
|
|
42865
42891
|
};
|
|
42866
42892
|
type BuilderPreviewProviderProps = Pick<BuilderPreviewContextProps, 'state'> & {
|
|
@@ -43448,7 +43474,7 @@ type PublishedThemePagesQueryResponse = {
|
|
|
43448
43474
|
themePageAnalytic?: Maybe$1<Pick<Analytic$1, 'fbPixelID' | 'gaTrackingID' | 'tiktokPixelID'>>;
|
|
43449
43475
|
themePageCustomCode?: Maybe$1<Pick<CustomCode$1, 'body' | 'header'>>;
|
|
43450
43476
|
themePageCustomFonts?: Maybe$1<Array<Maybe$1<Pick<CustomFont$1, 'backupFilePath' | 'fileKey' | 'filePath' | 'fontFamily' | 'fontStyle' | 'fontWeight' | 'id' | 'mimeType' | 'shopID' | 'size'>>>>;
|
|
43451
|
-
|
|
43477
|
+
interactions?: Maybe$1<Array<Pick<PublishedPageInteraction$1, 'id' | 'key' | 'value'>>>;
|
|
43452
43478
|
metafields?: Maybe$1<Array<Maybe$1<Pick<PublishedThemePageMeta$1, 'key' | 'value'>>>>;
|
|
43453
43479
|
}>>>;
|
|
43454
43480
|
};
|
|
@@ -43528,7 +43554,7 @@ type PreviewThemePageQueryResponse = {
|
|
|
43528
43554
|
analytic?: Maybe$1<Pick<Analytic$1, 'fbPixelID' | 'gaTrackingID' | 'tiktokPixelID'>>;
|
|
43529
43555
|
customCode?: Maybe$1<Pick<CustomCode$1, 'body' | 'header'>>;
|
|
43530
43556
|
customFonts?: Maybe$1<Array<Maybe$1<Pick<CustomFont$1, 'backupFilePath' | 'fileKey' | 'filePath' | 'fontFamily' | 'fontStyle' | 'fontWeight' | 'id' | 'mimeType' | 'shopID' | 'size'>>>>;
|
|
43531
|
-
|
|
43557
|
+
interactions?: Maybe$1<Array<Pick<PreviewPageInteraction$1, 'id' | 'key' | 'value'>>>;
|
|
43532
43558
|
metafields?: Maybe$1<Array<Pick<PreviewThemePageMeta$1, 'key' | 'value'>>>;
|
|
43533
43559
|
}>;
|
|
43534
43560
|
};
|
|
@@ -51445,6 +51471,7 @@ declare function composeClasses(classList?: string): Record<string, boolean>;
|
|
|
51445
51471
|
|
|
51446
51472
|
declare const isLocalEnv: boolean;
|
|
51447
51473
|
declare const baseAssetURL: string;
|
|
51474
|
+
declare const IS_LIQUID: boolean;
|
|
51448
51475
|
|
|
51449
51476
|
declare const convertHTML: (str: string) => string;
|
|
51450
51477
|
|
|
@@ -55304,7 +55331,7 @@ type PublishedThemePageSelectFragment = Pick<PublishedThemePage$1, 'id' | 'shopI
|
|
|
55304
55331
|
themePageAnalytic?: Maybe$1<Pick<Analytic$1, 'fbPixelID' | 'gaTrackingID' | 'tiktokPixelID'>>;
|
|
55305
55332
|
themePageCustomCode?: Maybe$1<Pick<CustomCode$1, 'body' | 'header'>>;
|
|
55306
55333
|
themePageCustomFonts?: Maybe$1<Array<Maybe$1<Pick<CustomFont$1, 'backupFilePath' | 'fileKey' | 'filePath' | 'fontFamily' | 'fontStyle' | 'fontWeight' | 'id' | 'mimeType' | 'shopID' | 'size'>>>>;
|
|
55307
|
-
|
|
55334
|
+
interactions?: Maybe$1<Array<Pick<PublishedPageInteraction$1, 'id' | 'key' | 'value'>>>;
|
|
55308
55335
|
metafields?: Maybe$1<Array<Maybe$1<Pick<PublishedThemePageMeta$1, 'key' | 'value'>>>>;
|
|
55309
55336
|
};
|
|
55310
55337
|
|
|
@@ -55361,7 +55388,21 @@ declare const hasPublicStoreFrontData: (publicStoreFrontData: PublicStoreFrontDa
|
|
|
55361
55388
|
declare const DEVICES: NameDevices[];
|
|
55362
55389
|
declare const EMPTY_DEVICE_VALUE: undefined;
|
|
55363
55390
|
|
|
55391
|
+
declare const FREE_PLANS: string[];
|
|
55392
|
+
declare const isFreePlan: (plan?: string | null) => boolean;
|
|
55393
|
+
|
|
55394
|
+
/**
|
|
55395
|
+
* Liquid variables a Product List assigns per card so the product media inside it can limit
|
|
55396
|
+
* preload to the first rows and size itself to the card. Snippet `{% render %}` scopes must
|
|
55397
|
+
* forward them explicitly.
|
|
55398
|
+
*/
|
|
55399
|
+
declare const LIST_IMAGE_LIQUID_VARS: {
|
|
55400
|
+
readonly LOADING: "gp_list_img_loading";
|
|
55401
|
+
readonly FETCH_PRIORITY: "gp_list_img_fetchpriority";
|
|
55402
|
+
readonly SIZES: "gp_list_img_sizes";
|
|
55403
|
+
};
|
|
55404
|
+
|
|
55364
55405
|
declare const BLACKLIST_TAGS: Set<string>;
|
|
55365
55406
|
|
|
55366
|
-
export { AddOn, AddonProvider, AnimationDirectionType, AnimationEasingType, AnimationSetting, AnimationTriggerType, AnimationType, AnimationZoomDirectionType, appAPI as AppAPIType, ArticleListProvider, ArticleProvider, ArticlesDocument, BLACKLIST_TAGS, BlogsDocument, BuilderComponentProvider, BuilderPreviewProvider, BuilderProvider, CartLineProvider, CollectionDetailFilterDocument, CollectionDocument, CollectionProvider, CollectionsDocument, DEVICES, EMPTY_DEVICE_VALUE, GRADIENT_BGR_KEY, I18nProvider, InteractionTargetEvent, InteractionTriggerEvent, LibrarySaleFunnelDocument, LibraryTemplateDocument, ModalProvider, OptionNormalStyle, OptionSpecialStyle, PICKED_PRODUCT_STATUSES, PageProvider, PreviewThemePageDocument, ProductListProvider, ProductProvider, ProductVariantsWithSellingPlansDocument, ProductWithSellingPlansSelectFragment, ProductsWithSellingPlansDocument, PublishedShopMetasDocument, PublishedThemePagesDocument, RenderMemo as Render, RenderChildren, RenderIf,
|
|
55367
|
-
export type { AddonProviderProps, AdvancedType, AirProductReview, AliReviewsWidgetType, AlignItemProp, AlignProp, AnimationBaseSetting, AnimationConfig, AnimationFadeSettingType, AnimationSettingType, AnimationShakeSettingType, AnimationSlideSettingType, AnimationTrigger, AnimationZoomSettingType, AppstleLoyaltyRewardProgramWidgetType, ArticleListProviderProps, ArticleProviderProps, ArticlesQueryResponse, ArticlesQueryVariables, Background, BackgroundImageValue, BackgroundMedia, BackgroundVideoValue, BaseProps, BasePropsWrap, BlockEntity, BlogsQueryResponse, BlogsQueryVariables, BogosWidgetType, BoldSubscriptionsWidgetType, Border, BorderStyle, BuilderComponentProviderProps, BuilderEntity, BuilderEntityNested, BuilderPreviewProviderProps, BuilderProviderProps, BuilderState, Builtin, CSSStateKey, CartLineProviderProps, CollectionDetailFilterQueryResponse, CollectionDetailFilterQueryVariables, CollectionProviderProps, CollectionQueryResponse, CollectionQueryVariables, CollectionSelectFragment, CollectionsQueryResponse, CollectionsQueryVariables, ColorKey, ColorType$1 as ColorType, ColorValueType, Component, ComponentPreset, ComponentSetting, ContainerProp, ControlProp, ControlTriggerAction, ControlUI, CornerRadius, CornerRadiusType, CustomComponentConfig, DeepPartial, DotStyle, Dropdown, DynamicCollection, DynamicProduct, ExtractState, FastBundleWidgetType, FeraReviewsV3WidgetType, FeraReviewsWidgetType, FetchCollectionArgs, FetchFunc, FetchProductParams, FetchProductsParams, FlexDirectionProp, FontName, FontStyleType, GlobalStyleConfig, GlobalStyleResponsiveConfig, GlobalSwatchesData, GraphQLConnection, GroupPropType, GrowaveWidgetTypeV1, GrowaveWidgetTypeV2, HSLAColorType, HSLColorType, HexColorType, I18nProviderProps, ImageShape$1 as ImageShape, InitComponentType, InstantJudgeMeReviewsWidgetType, InstantKlaviyoWidgetType, InstantLooxReviewsWidgetType, Interaction, InteractionCondition, InteractionElement, InteractionTarget, InteractionTargetEventObject, JudgeMeReviewsWidgetType, KlaviyoWidgetType, LaiProductReviewsAdvancedWidgetType, LaiProductReviewsWidgetType, LibrarySaleFunnelQueryResponse, LibrarySaleFunnelQueryVariables, LibrarySection, LibraryTemplate, LibraryTemplateQueryResponse, LibraryTemplateQueryVariables, LooxReviewsWidgetType, LooxReviewsWidgetTypeV2, MediaSelectFragment, ModalProviderProps, NameDevices, NestedKeys, ObjectDeviceGlobalType, ObjectDevices, ObjectLayoutValue, OmnisendWidgetType, OnlyOne, OpinewDesignWidgetType, OpinewWidgetType, Option$6 as Option, Options$1 as Options, PaddingType, PageContext, PageProviderProps, PageSection, PageType, PickedProductStatus, PickyStoryWidgetType, PostPurchaseTypo, PreOrderNowWodWidgetType, PreviewThemePageQueryResponse, PreviewThemePageQueryVariables, Primitive, ProductInputAnalytic, ProductListProviderProps, ProductOffer, ProductProviderProps, ProductReviewsWidgetType, ProductSelectFragment, ProductVariantsWithSellingPlansQueryResponse, ProductVariantsWithSellingPlansQueryVariables, ProductVariantsWithSellingPlansSelectFragment, ProductsQueryResponse, ProductsQueryVariables, ProductsWithSellingPlansDetailFragment, ProductsWithSellingPlansQueryResponse, ProductsWithSellingPlansQueryVariables, PublicStoreFrontData, PublishErrorSectionListEventDetail, PublishedShopMetasQueryResponse, PublishedShopMetasQueryVariables, PublishedThemePageSelectFragment, PublishedThemePagesQueryResponse, PublishedThemePagesQueryVariables, RGBAColorType, RGBColorType, Ratio$1 as Ratio, RawChild, RenderMode, ResponsiveKey, ResponsiveStateProp, ResultOldElementWithSectionId, RivyoWidgetType, RoundedSize, RyviuWidgetType, SaleFunnelDiscount$1 as SaleFunnelDiscount, SaleFunnelDiscountEdge$1 as SaleFunnelDiscountEdge, SaleFunnelDiscountObjectType$1 as SaleFunnelDiscountObjectType, SaleFunnelDiscountType$1 as SaleFunnelDiscountType, SaleFunnelDiscountValueType$1 as SaleFunnelDiscountValueType, SaleFunnelDiscountsQueryResponse, SaleFunnelDiscountsQueryVariables, SaleFunnelOffer, SaleFunnelOfferQueryResponse, SaleFunnelOfferQueryVariables, Scalars$1 as Scalars, ScaleByDirection, SectionCategory, SectionData, SectionEntity, SectionProviderProps, Setting, SettingByAnimationType, SettingByAnimationValues, SettingUIControl, SettingUIGroup, ShadowProps, ShadowStyle, ShadowStyleApplied, ShadowType, Shop, ShopLibraryPage, ShopLibraryPageQueryResponse, ShopLibraryPageQueryVariables, ShopLibrarySection, ShopProviderProps, ShopShopifyQueryResponse, ShopShopifyQueryVariables, SizeProps, SizeSetting$1 as SizeSetting, SizeSettingGlobal, SizeType, SpacingType, StampedWidgetType, StampedWidgetTypeV2, StateProp, StateSelector, StateType, StoreConfig, StorePropertyQueryResponse, StorePropertyQueryVariables, SwatchesOptionType, SwatchesOptionValue, TFetchRelatedProductQueriesParams, TagShopWidgetType, TemplateCategory, TemplatePackage, Theme, ThemePage, ThemePageMetaQueryResponse, ThemePageMetaQueryVariables, ThemePageQueryResponse, ThemePageQueryVariables, ThemeSection, ThemeSectionStatus$1 as ThemeSectionStatus, ThemeStyle, TransformProp, TriggerConfig, TrustooWidgetType, TypographyProps, TypographySetting, TypographySettingV2, TypographyType, TypographyV2Attrs, TypographyV2Family, TypographyV2FontFamilyType, TypographyV2Props, UltimateSalesBoostWidgetType, UpdatableItemAttr, ValidateType, VariantSelectFragment, VitalsWidgetType, WiserV2WidgetType, WiserWidgetType, YotpoReviewsWidgetType };
|
|
55407
|
+
export { AddOn, AddonProvider, AnimationDirectionType, AnimationEasingType, AnimationSetting, AnimationTriggerType, AnimationType, AnimationZoomDirectionType, appAPI as AppAPIType, ArticleListProvider, ArticleProvider, ArticlesDocument, BLACKLIST_TAGS, BlogsDocument, BuilderComponentProvider, BuilderPreviewProvider, BuilderProvider, CartLineProvider, CollectionDetailFilterDocument, CollectionDocument, CollectionProvider, CollectionsDocument, DEVICES, EMPTY_DEVICE_VALUE, FREE_PLANS, GRADIENT_BGR_KEY, I18nProvider, IS_LIQUID, InteractionTargetEvent, InteractionTriggerEvent, LIST_IMAGE_LIQUID_VARS, LibrarySaleFunnelDocument, LibraryTemplateDocument, ModalProvider, OptionNormalStyle, OptionSpecialStyle, PICKED_PRODUCT_STATUSES, PageProvider, PasteErrorPageBanner, PreviewThemePageDocument, ProductListProvider, ProductProvider, ProductVariantsWithSellingPlansDocument, ProductWithSellingPlansSelectFragment, ProductsWithSellingPlansDocument, PublishedShopMetasDocument, PublishedThemePagesDocument, RenderMemo as Render, RenderChildren, RenderIf, RenderLiquid, RenderModeEnv, RenderPreviewMemo as RenderPreview, SaleFunnelDiscountsDocument, SaleFunnelOfferDocument, SectionMode, SectionProvider, ShopLibraryPageDocument, ShopProvider, ShopShopifyDocument, shop as ShopType, StorePropertyDocument, ThemePageDocument, ThemePageMetaDocument, WrapRenderChildren, addAppBlockId, animations, baseAssetURL, calculateFirstProduct, checkAvailableVariantInStock, checkHasChangeContent, checkInStock, cloneDeep, cls, composeAdvanceStyle, composeAdvanceStyleForPostPurchase, composeBackgroundCss, composeBackgroundImageCss, composeBorderCss, composeBorderResponsive, composeClasses, composeCornerCss, composeFallbackTypographyStyle, composeFontFamilyTypographyV2, composeGridLayout, composeMemo, composePositionLineHeight, composePostionIconList, composeRadius, composeRadiusResponsive, composeShadow, composeShadowCss, composeSize, composeSizeCss, composeSpacing, composeTextColorCss, composeTextHoverColorCss, composeTypography, composeTypographyAttr, composeTypographyClassName, composeTypographyCss, composeTypographyStyle, composeTypographyV2, composeTypographyV2Css, convertBoxShadowV1ToV2, convertDecimalToNumber, convertHTML, convertOldLayout, convertTextAlignToJustify, createStoreFrontFetcher, createTranslateKey, dataStringify, extractOuterTagContent, fetchMedias, fetchVariants, filterAttrInStyle, filterHoverVariables, filterToolbarPreview, filterTruthyStyles, flattenConnection, formatMoney, fpixel, genSizeClass, genTypoClass, genVariable, generateCollectionQueryKey, generateProductQueryKey, generateProductsQueryKey, getAlignmentClasses, getAppBlocks, getAspectRatioGlobalSize, getBgByDevice, getBgImageByDevice, getBgImageSourceByDevice, getBgVideoByDevice, getBorderRadiusStyle, getBorderStyle, getCarouselContainerHeight, getCollection, getColor, getCombinedBackgroundImage, getCornerCSSFromGlobal, getCornerStyle, getCustomRadius, getFlexGrowClassByShapeGlobalSize, getGlobalColorCSSProp, getGlobalColorClass, getGlobalColorResponsiveClass, getGlobalColorResponsiveStyle, getGlobalColorStateClass, getGlobalColorStateClassDynamicBtn, getGlobalColorStateResponsiveClass, getGlobalColorStateResponsiveClassDynamicBtn, getGlobalColorStateResponsiveStyle, getGlobalColorStateStyle, getGlobalColorStyle, getGlobalSizeGap, getGradientBgrStyleByDevice, getGradientBgrStyleForButton, getGradientImageBgrStyleByDevice, getHashCode, getHeightByShapeGlobalSize, getLayoutClasses, getPaddingGlobalSize, getPaddingStyleByDevice, getProduct, getProductBySlug, getProductQueryAll, getProducts, getRadiusCSSFromGlobal, getRadiusStyleActiveState, getResponsiveStateValue, getResponsiveStylePadding, getResponsiveStyleShadow, getResponsiveStyleShadowWithoutState, getResponsiveValue, getResponsiveValueByScreen, getSelectedVariant, getShortName, getSingleColorVariable, getSpacingVariable, getStyleBackgroundByDevice, getStyleBackgroundImage, getStyleBgColor, getStyleBgImageSource, getStyleShadow, getStyleShadowState, getThemeSectionTranslateKey, getValueByDevice, getValueSettingFromSchema, getWidthByShapeGlobalSize, getWidthHeightGlobalSize, globalEvent, gridToArrayRegex, gtag, handleConvertBorderColor, handleConvertBorderStyle, handleConvertBorderWidth, handleConvertClassColor, handleConvertClassColorDynamicBtn, handleConvertInputBorderColor, hasPublicStoreFrontData, hasTranslatedLiquid, isBrowser, isColor, isColumnDirectionExist, isDefined, isEmptyChildren, isFreePlan, isLocalEnv, isSafari, loadScript, makeAspectRatio, makeContainerWidthOrHeight, makeDotGapToCarouselStyle, makeFixedBgAttachment, makeGlobalSize, makeGlobalSizeHeightResponsive, makeGlobalSizeIcon, makeGlobalSizeWidthResponsive, makeHeight, makeLineClamp, makeStyle, makeStyleKey, makeStyleResponsive, makeStyleResponsiveByScreen, makeStyleResponsiveState, makeStyleResponsiveWidth, makeStyleResponsiveWidthWithoutAuto, makeStyleState, makeStyleWithDefault, makeWidth, normalizeBuilderData, optionLayoutStyle, parseSelectedOption, parseValueWithUnit, prefetchQueries, props, removeAttrInStyle, removeNullUndefined, removePaddingYInStyle, removeUndefinedValuesFromObject, replaceOuterTagContent, sanitizeLiquid, shopifyPriceRounding, splitStyle, styles, tGlobal as t, 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, useFetchHandle, useFormatMoney, useHasPreSelected, useI18n, useI18nStore, useInitialSwatchesOptions, useInteraction, useIsSampleProduct, useIsStorefrontProduct, useIsSyncProduct, useIsomorphicLayoutEffect, useLazyVideo, useLoadScript, useLocale, useMatchMutate, useMobileOnly, useModalStore, useMoney, useMoneyFormat, usePageStore, usePageType, usePluginEnable, usePreviewSharePage, usePrevious, useProduct, useProductBundleDiscount, useProductListStore, useProductOfferDiscount, useProductOffersQuery, useProductProperties, useProductQuery, useProductShopifyEditLink, useProductStore, useProductsQuery, useProductsQueryAll, useQuantity, useRemoveCartItem, useRenderMode, useSafeGetProductListSettings, useSection, useSectionStore, useSelectedOption, useShopStore, useShopifyLink, useStickyStore, useStoreFront, useSuspenseFetch, useSwatches, useSwatchesOptions, useTimezone, useUniqProductID, useUpdateCartItem, useVariant, useVariantOutStock, useVariants, validateEmail };
|
|
55408
|
+
export type { AddonProviderProps, AdvancedType, AirProductReview, AliReviewsWidgetType, AlignItemProp, AlignProp, AnimationBaseSetting, AnimationConfig, AnimationFadeSettingType, AnimationSettingType, AnimationShakeSettingType, AnimationSlideSettingType, AnimationTrigger, AnimationZoomSettingType, AppstleLoyaltyRewardProgramWidgetType, ArticleListProviderProps, ArticleProviderProps, ArticlesQueryResponse, ArticlesQueryVariables, Background, BackgroundImageValue, BackgroundMedia, BackgroundVideoValue, BaseProps, BasePropsWrap, BlockEntity, BlogsQueryResponse, BlogsQueryVariables, BogosWidgetType, BoldSubscriptionsWidgetType, Border, BorderStyle, BuilderComponentProviderProps, BuilderEntity, BuilderEntityNested, BuilderPreviewProviderProps, BuilderProviderProps, BuilderState, Builtin, CSSStateKey, CartLineProviderProps, CollectionDetailFilterQueryResponse, CollectionDetailFilterQueryVariables, CollectionProviderProps, CollectionQueryResponse, CollectionQueryVariables, CollectionSelectFragment, CollectionsQueryResponse, CollectionsQueryVariables, ColorKey, ColorType$1 as ColorType, ColorValueType, Component, ComponentPreset, ComponentSetting, ContainerProp, ControlProp, ControlTriggerAction, ControlUI, CornerRadius, CornerRadiusType, CustomComponentConfig, DeepPartial, DotStyle, Dropdown, DynamicCollection, DynamicProduct, ExtractState, FastBundleWidgetType, FeraReviewsV3WidgetType, FeraReviewsWidgetType, FetchCollectionArgs, FetchFunc, FetchProductParams, FetchProductsParams, FlexDirectionProp, FontName, FontStyleType, GlobalStyleConfig, GlobalStyleResponsiveConfig, GlobalSwatchesData, GraphQLConnection, GroupPropType, GrowaveWidgetTypeV1, GrowaveWidgetTypeV2, HSLAColorType, HSLColorType, HexColorType, I18nProviderProps, ImageShape$1 as ImageShape, InitComponentType, InstantJudgeMeReviewsWidgetType, InstantKlaviyoWidgetType, InstantLooxReviewsWidgetType, Interaction, InteractionCondition, InteractionElement, InteractionTarget, InteractionTargetEventObject, JudgeMeReviewsWidgetType, KlaviyoWidgetType, LaiProductReviewsAdvancedWidgetType, LaiProductReviewsWidgetType, LibrarySaleFunnelQueryResponse, LibrarySaleFunnelQueryVariables, LibrarySection, LibraryTemplate, LibraryTemplateQueryResponse, LibraryTemplateQueryVariables, LinearGradientColorType, LooxReviewsWidgetType, LooxReviewsWidgetTypeV2, MediaSelectFragment, ModalProviderProps, NameDevices, NestedKeys, ObjectDeviceGlobalType, ObjectDevices, ObjectLayoutValue, OmnisendWidgetType, OnlyOne, OpinewDesignWidgetType, OpinewWidgetType, Option$6 as Option, Options$1 as Options, PaddingType, PageContext, PageProviderProps, PageSection, PageType, PickedProductStatus, PickyStoryWidgetType, PostPurchaseTypo, PreOrderNowWodWidgetType, PreviewThemePageQueryResponse, PreviewThemePageQueryVariables, Primitive, ProductInputAnalytic, ProductListProviderProps, ProductOffer, ProductProviderProps, ProductReviewsWidgetType, ProductSelectFragment, ProductVariantsWithSellingPlansQueryResponse, ProductVariantsWithSellingPlansQueryVariables, ProductVariantsWithSellingPlansSelectFragment, ProductsQueryResponse, ProductsQueryVariables, ProductsWithSellingPlansDetailFragment, ProductsWithSellingPlansQueryResponse, ProductsWithSellingPlansQueryVariables, PublicStoreFrontData, PublishErrorSectionListEventDetail, PublishedShopMetasQueryResponse, PublishedShopMetasQueryVariables, PublishedThemePageSelectFragment, PublishedThemePagesQueryResponse, PublishedThemePagesQueryVariables, RGBAColorType, RGBColorType, Ratio$1 as Ratio, RawChild, RenderMode, ResponsiveKey, ResponsiveStateProp, ResultOldElementWithSectionId, RivyoWidgetType, RoundedSize, RyviuWidgetType, SaleFunnelDiscount$1 as SaleFunnelDiscount, SaleFunnelDiscountEdge$1 as SaleFunnelDiscountEdge, SaleFunnelDiscountObjectType$1 as SaleFunnelDiscountObjectType, SaleFunnelDiscountType$1 as SaleFunnelDiscountType, SaleFunnelDiscountValueType$1 as SaleFunnelDiscountValueType, SaleFunnelDiscountsQueryResponse, SaleFunnelDiscountsQueryVariables, SaleFunnelOffer, SaleFunnelOfferQueryResponse, SaleFunnelOfferQueryVariables, Scalars$1 as Scalars, ScaleByDirection, SectionCategory, SectionData, SectionEntity, SectionProviderProps, Setting, SettingByAnimationType, SettingByAnimationValues, SettingUIControl, SettingUIGroup, ShadowProps, ShadowStyle, ShadowStyleApplied, ShadowType, Shop, ShopLibraryPage, ShopLibraryPageQueryResponse, ShopLibraryPageQueryVariables, ShopLibrarySection, ShopProviderProps, ShopShopifyQueryResponse, ShopShopifyQueryVariables, SizeProps, SizeSetting$1 as SizeSetting, SizeSettingGlobal, SizeType, SpacingType, StampedWidgetType, StampedWidgetTypeV2, StateProp, StateSelector, StateType, StoreConfig, StorePropertyQueryResponse, StorePropertyQueryVariables, SwatchesOptionType, SwatchesOptionValue, TFetchRelatedProductQueriesParams, TagShopWidgetType, TemplateCategory, TemplatePackage, Theme, ThemePage, ThemePageMetaQueryResponse, ThemePageMetaQueryVariables, ThemePageQueryResponse, ThemePageQueryVariables, ThemeSection, ThemeSectionStatus$1 as ThemeSectionStatus, ThemeStyle, TransformProp, TriggerConfig, TrustooWidgetType, TypographyProps, TypographySetting, TypographySettingV2, TypographyType, TypographyV2Attrs, TypographyV2Family, TypographyV2FontFamilyType, TypographyV2Props, UltimateSalesBoostWidgetType, UpdatableItemAttr, ValidateType, VariantSelectFragment, VitalsWidgetType, WiserV2WidgetType, WiserWidgetType, YotpoReviewsWidgetType };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gem-sdk/core",
|
|
3
|
-
"version": "23.0.0-dev.
|
|
3
|
+
"version": "23.0.0-dev.47",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"zustand": "4.3.9"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
-
"@gem-sdk/adapter-shopify": "23.0.0-dev.
|
|
40
|
-
"@gem-sdk/styles": "23.0.0-dev.
|
|
39
|
+
"@gem-sdk/adapter-shopify": "23.0.0-dev.18",
|
|
40
|
+
"@gem-sdk/styles": "23.0.0-dev.19"
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"react": "18.3.1",
|
|
File without changes
|
|
File without changes
|