@gem-sdk/core 1.57.0-dev.47 → 1.57.0-dev.57

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.
@@ -0,0 +1,15 @@
1
+ 'use strict';
2
+
3
+ const PublishedShopMetasDocument = `
4
+ query PublishedShopMetas($keys: [String!]) {
5
+ publishedShopMetas(keys: $keys) {
6
+ id
7
+ createdAt
8
+ updatedAt
9
+ key
10
+ value
11
+ }
12
+ }
13
+ `;
14
+
15
+ exports.PublishedShopMetasDocument = PublishedShopMetasDocument;
@@ -73,7 +73,7 @@ const getBgImageByDevice = (background, device, options)=>{
73
73
  imageByDevice = `{{ "${newBackupFilekey}" | asset_url }}`;
74
74
  }
75
75
  }
76
- if (typeof imageByDevice === 'string') {
76
+ if (typeof imageByDevice === 'string' && imageByDevice) {
77
77
  return `url(${imageByDevice})`;
78
78
  }
79
79
  if (imageByDevice !== undefined) {
@@ -219,9 +219,10 @@ const getGradientBgrStyleByDevice = (backgroundStyle, ignoreBackgroundImage)=>{
219
219
  'mobile'
220
220
  ].forEach((device)=>{
221
221
  if (backgroundStyle[device]?.color?.includes(GRADIENT_BGR_KEY)) {
222
+ const bgImage = `${getBgImageByDevice(backgroundStyle, device) || 'url()'}, ${backgroundStyle[device]?.color}`;
222
223
  Object.assign(bgrStyle, {
223
224
  [`--bgc${device !== 'desktop' ? '-' + device : ''}`]: backgroundStyle[device]?.color,
224
- [`--bgi${device !== 'desktop' ? '-' + device : ''}`]: !ignoreBackgroundImage?.[device] ? `${backgroundStyle[device]?.color}` : `${getBgImageByDevice(backgroundStyle, device) || 'url()'}, ${backgroundStyle[device]?.color}`
225
+ [`--bgi${device !== 'desktop' ? '-' + device : ''}`]: !ignoreBackgroundImage?.[device] ? `${backgroundStyle[device]?.color}` : bgImage
225
226
  });
226
227
  }
227
228
  });
@@ -148,7 +148,7 @@ const mergeProductCollectionVariant = async (fetcher, collection, isSample)=>{
148
148
  ...product.node,
149
149
  variants: product.node?.variants ? {
150
150
  ...product.node?.variants,
151
- edges: productVariants?.[0]?.node?.variants?.edges ?? []
151
+ edges: productVariants?.[0]?.node?.variants?.edges ?? product.node?.variants.edges ?? []
152
152
  } : undefined
153
153
  } : undefined
154
154
  };
package/dist/cjs/index.js CHANGED
@@ -19,6 +19,7 @@ var ModalContext = require('./contexts/ModalContext.js');
19
19
  var ArticleListContext = require('./contexts/ArticleListContext.js');
20
20
  var ArticleContext = require('./contexts/ArticleContext.js');
21
21
  var pageViewUp_generated = require('./graphql/mutations/page-view-up.generated.js');
22
+ var publishedShopMetas = require('./graphql/queries/published-shop-metas.js');
22
23
  var collectionDetailFilter_generated = require('./graphql/queries/collection-detail-filter.generated.js');
23
24
  var collection_generated = require('./graphql/queries/collection.generated.js');
24
25
  var collections_generated = require('./graphql/queries/collections.generated.js');
@@ -151,6 +152,7 @@ exports.useArticleListStore = ArticleListContext.useArticleListStore;
151
152
  exports.ArticleProvider = ArticleContext.ArticleProvider;
152
153
  exports.useArticleStore = ArticleContext.useArticleStore;
153
154
  exports.PageViewUpDocument = pageViewUp_generated.PageViewUpDocument;
155
+ exports.PublishedShopMetasDocument = publishedShopMetas.PublishedShopMetasDocument;
154
156
  exports.CollectionDetailFilterDocument = collectionDetailFilter_generated.CollectionDetailFilterDocument;
155
157
  exports.CollectionDocument = collection_generated.CollectionDocument;
156
158
  exports.CollectionsDocument = collections_generated.CollectionsDocument;
@@ -0,0 +1,13 @@
1
+ const PublishedShopMetasDocument = `
2
+ query PublishedShopMetas($keys: [String!]) {
3
+ publishedShopMetas(keys: $keys) {
4
+ id
5
+ createdAt
6
+ updatedAt
7
+ key
8
+ value
9
+ }
10
+ }
11
+ `;
12
+
13
+ export { PublishedShopMetasDocument };
@@ -71,7 +71,7 @@ const getBgImageByDevice = (background, device, options)=>{
71
71
  imageByDevice = `{{ "${newBackupFilekey}" | asset_url }}`;
72
72
  }
73
73
  }
74
- if (typeof imageByDevice === 'string') {
74
+ if (typeof imageByDevice === 'string' && imageByDevice) {
75
75
  return `url(${imageByDevice})`;
76
76
  }
77
77
  if (imageByDevice !== undefined) {
@@ -217,9 +217,10 @@ const getGradientBgrStyleByDevice = (backgroundStyle, ignoreBackgroundImage)=>{
217
217
  'mobile'
218
218
  ].forEach((device)=>{
219
219
  if (backgroundStyle[device]?.color?.includes(GRADIENT_BGR_KEY)) {
220
+ const bgImage = `${getBgImageByDevice(backgroundStyle, device) || 'url()'}, ${backgroundStyle[device]?.color}`;
220
221
  Object.assign(bgrStyle, {
221
222
  [`--bgc${device !== 'desktop' ? '-' + device : ''}`]: backgroundStyle[device]?.color,
222
- [`--bgi${device !== 'desktop' ? '-' + device : ''}`]: !ignoreBackgroundImage?.[device] ? `${backgroundStyle[device]?.color}` : `${getBgImageByDevice(backgroundStyle, device) || 'url()'}, ${backgroundStyle[device]?.color}`
223
+ [`--bgi${device !== 'desktop' ? '-' + device : ''}`]: !ignoreBackgroundImage?.[device] ? `${backgroundStyle[device]?.color}` : bgImage
223
224
  });
224
225
  }
225
226
  });
@@ -146,7 +146,7 @@ const mergeProductCollectionVariant = async (fetcher, collection, isSample)=>{
146
146
  ...product.node,
147
147
  variants: product.node?.variants ? {
148
148
  ...product.node?.variants,
149
- edges: productVariants?.[0]?.node?.variants?.edges ?? []
149
+ edges: productVariants?.[0]?.node?.variants?.edges ?? product.node?.variants.edges ?? []
150
150
  } : undefined
151
151
  } : undefined
152
152
  };
package/dist/esm/index.js CHANGED
@@ -17,6 +17,7 @@ export { ModalProvider, useModalStore } from './contexts/ModalContext.js';
17
17
  export { ArticleListProvider, useArticleListStore } from './contexts/ArticleListContext.js';
18
18
  export { ArticleProvider, useArticleStore } from './contexts/ArticleContext.js';
19
19
  export { PageViewUpDocument } from './graphql/mutations/page-view-up.generated.js';
20
+ export { PublishedShopMetasDocument } from './graphql/queries/published-shop-metas.js';
20
21
  export { CollectionDetailFilterDocument } from './graphql/queries/collection-detail-filter.generated.js';
21
22
  export { CollectionDocument } from './graphql/queries/collection.generated.js';
22
23
  export { CollectionsDocument } from './graphql/queries/collections.generated.js';
@@ -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']>;
@@ -5680,12 +5681,18 @@ type PublishedThemePageWhereInput$1 = {
5680
5681
  handleNEQ?: InputMaybe$1<Scalars$2['String']>;
5681
5682
  handleNotIn?: InputMaybe$1<Array<Scalars$2['String']>>;
5682
5683
  handleNotNil?: InputMaybe$1<Scalars$2['Boolean']>;
5684
+ /** children edge predicates */
5685
+ hasChildren?: InputMaybe$1<Scalars$2['Boolean']>;
5686
+ hasChildrenWith?: InputMaybe$1<Array<PublishedThemePageWhereInput$1>>;
5683
5687
  /** interaction edge predicates */
5684
5688
  hasInteraction?: InputMaybe$1<Scalars$2['Boolean']>;
5685
5689
  hasInteractionWith?: InputMaybe$1<Array<PublishedPageInteractionWhereInput$1>>;
5686
5690
  /** offer edge predicates */
5687
5691
  hasOffer?: InputMaybe$1<Scalars$2['Boolean']>;
5688
5692
  hasOfferWith?: InputMaybe$1<Array<PublishedSaleFunnelOfferWhereInput$1>>;
5693
+ /** parent edge predicates */
5694
+ hasParent?: InputMaybe$1<Scalars$2['Boolean']>;
5695
+ hasParentWith?: InputMaybe$1<Array<PublishedThemePageWhereInput$1>>;
5689
5696
  /** publishedPageSection edge predicates */
5690
5697
  hasPublishedPageSection?: InputMaybe$1<Scalars$2['Boolean']>;
5691
5698
  hasPublishedPageSectionWith?: InputMaybe$1<Array<PublishedPageSectionWhereInput$1>>;
@@ -5748,6 +5755,13 @@ type PublishedThemePageWhereInput$1 = {
5748
5755
  offerIDNotIn?: InputMaybe$1<Array<Scalars$2['ID']>>;
5749
5756
  offerIDNotNil?: InputMaybe$1<Scalars$2['Boolean']>;
5750
5757
  or?: InputMaybe$1<Array<PublishedThemePageWhereInput$1>>;
5758
+ /** parent_id field predicates */
5759
+ parentID?: InputMaybe$1<Scalars$2['ID']>;
5760
+ parentIDIn?: InputMaybe$1<Array<Scalars$2['ID']>>;
5761
+ parentIDIsNil?: InputMaybe$1<Scalars$2['Boolean']>;
5762
+ parentIDNEQ?: InputMaybe$1<Scalars$2['ID']>;
5763
+ parentIDNotIn?: InputMaybe$1<Array<Scalars$2['ID']>>;
5764
+ parentIDNotNil?: InputMaybe$1<Scalars$2['Boolean']>;
5751
5765
  /** split_percentage field predicates */
5752
5766
  splitPercentage?: InputMaybe$1<Scalars$2['Float']>;
5753
5767
  splitPercentageGT?: InputMaybe$1<Scalars$2['Float']>;
@@ -6001,6 +6015,7 @@ type Query$1 = {
6001
6015
  productOptionValues?: Maybe$1<ProductOptionValueConnection$1>;
6002
6016
  productOptions?: Maybe$1<ProductOptionConnection$1>;
6003
6017
  products?: Maybe$1<ProductConnection$1>;
6018
+ publishedShopMetas?: Maybe$1<Array<PublishedShopMeta$1>>;
6004
6019
  publishedThemePages?: Maybe$1<Array<Maybe$1<PublishedThemePage$1>>>;
6005
6020
  publishedThemeSection?: Maybe$1<PublishedThemeSection$1>;
6006
6021
  publishedThemeSections?: Maybe$1<PublishedThemeSectionConnection$1>;
@@ -6114,6 +6129,9 @@ type QueryProductsArgs$1 = {
6114
6129
  orderBy?: InputMaybe$1<ProductOrder$1>;
6115
6130
  where?: InputMaybe$1<ProductWhereInput$1>;
6116
6131
  };
6132
+ type QueryPublishedShopMetasArgs = {
6133
+ keys?: InputMaybe$1<Array<Scalars$2['String']>>;
6134
+ };
6117
6135
  type QueryPublishedThemePagesArgs$1 = {
6118
6136
  slug?: InputMaybe$1<Scalars$2['String']>;
6119
6137
  slugType: PublishedThemePageType$1;
@@ -6485,6 +6503,7 @@ type shop_EntityFindPublishedThemePageOnlineStoreDataByIdArgs = EntityFindPublis
6485
6503
  type shop_EntityFindPublishedThemeSectionByIdArgs = EntityFindPublishedThemeSectionByIdArgs;
6486
6504
  type shop_EntityFindPublishedThemeStyleByIdArgs = EntityFindPublishedThemeStyleByIdArgs;
6487
6505
  type shop_EntityFindTagByIdArgs = EntityFindTagByIdArgs;
6506
+ type shop_QueryPublishedShopMetasArgs = QueryPublishedShopMetasArgs;
6488
6507
  type shop_Query_EntitiesArgs = Query_EntitiesArgs;
6489
6508
  type shop__Entity = _Entity;
6490
6509
  type shop__Service = _Service;
@@ -6697,6 +6716,7 @@ declare namespace shop {
6697
6716
  QueryProductOptionValuesArgs$1 as QueryProductOptionValuesArgs,
6698
6717
  QueryProductOptionsArgs$1 as QueryProductOptionsArgs,
6699
6718
  QueryProductsArgs$1 as QueryProductsArgs,
6719
+ shop_QueryPublishedShopMetasArgs as QueryPublishedShopMetasArgs,
6700
6720
  QueryPublishedThemePagesArgs$1 as QueryPublishedThemePagesArgs,
6701
6721
  QueryPublishedThemeSectionArgs$1 as QueryPublishedThemeSectionArgs,
6702
6722
  QueryPublishedThemeSectionsArgs$1 as QueryPublishedThemeSectionsArgs,
@@ -8343,7 +8363,7 @@ type TypographyV2Family = string | {
8343
8363
  value: string;
8344
8364
  type: TypographyV2FontFamilyType;
8345
8365
  };
8346
- type TypographyV2FontFamilyType = 'google' | 'custom' | 'theme';
8366
+ type TypographyV2FontFamilyType = 'google' | 'custom' | 'theme' | 'bunny';
8347
8367
 
8348
8368
  /**
8349
8369
  * @deprecated Please use `TypographySettingV2`
@@ -31637,6 +31657,11 @@ type PageViewUpMutationVariables = Exact$1<{
31637
31657
  type PageViewUpMutationResponse = Pick<Mutation$1, 'pageViewUp'>;
31638
31658
  declare const PageViewUpDocument = "\n mutation pageViewUp($pageHandle: String!) {\n pageViewUp(pageHandle: $pageHandle)\n}\n ";
31639
31659
 
31660
+ type PublishedShopMetasQueryResponse = {
31661
+ publishedShopMetas?: Maybe$1<Array<Pick<PublishedShopMeta$1, 'id' | 'createdAt' | 'updatedAt' | 'key' | 'value'>>>;
31662
+ };
31663
+ 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 ";
31664
+
31640
31665
  type CollectionDetailFilterQueryVariables = Exact$1<{
31641
31666
  firstProduct?: InputMaybe$1<Scalars$2['Int']>;
31642
31667
  orderBy?: InputMaybe$1<CollectionOrder$1>;
@@ -41801,4 +41826,4 @@ declare const useInteraction: () => {
41801
41826
  }) => void;
41802
41827
  };
41803
41828
 
41804
- 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, GrowaveWidgetTypeV1, GrowaveWidgetTypeV2, 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, 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, getResponsiveStateValue, getResponsiveStyleShadow, 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 };
41829
+ 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, GrowaveWidgetTypeV1, GrowaveWidgetTypeV2, 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, getResponsiveStateValue, getResponsiveStyleShadow, 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.57.0-dev.47",
3
+ "version": "1.57.0-dev.57",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",