@gem-sdk/core 1.23.0-staging.450 → 1.23.0-staging.453

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.
@@ -19,6 +19,15 @@
19
19
  featuredImage {
20
20
  ...MediaSelect
21
21
  }
22
+ collections {
23
+ edges {
24
+ node {
25
+ id
26
+ title
27
+ }
28
+ }
29
+ }
30
+ tags
22
31
  }
23
32
  `;
24
33
 
@@ -3,6 +3,15 @@
3
3
  /* eslint-disable */ const ProductSelect = `
4
4
  fragment ProductSelect on Product {
5
5
  ...ProductLittleSelect
6
+ collections {
7
+ edges {
8
+ node {
9
+ id
10
+ title
11
+ }
12
+ }
13
+ }
14
+ tags
6
15
  medias(first: $firstMedia, after: $afterMedia, orderBy: $orderByMedia) {
7
16
  edges {
8
17
  cursor
@@ -13,6 +13,15 @@ const ProductsEdgeDetail = `
13
13
  cursor
14
14
  node {
15
15
  ...ProductSelect
16
+ tags
17
+ collections {
18
+ edges {
19
+ node {
20
+ id
21
+ title
22
+ }
23
+ }
24
+ }
16
25
  }
17
26
  }
18
27
  `;
@@ -3,16 +3,16 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  const globalEvent = {
6
- subscribe (callback) {
7
- document.addEventListener('onDispatch', (e)=>callback(e.detail));
6
+ subscribe (eventName, callback) {
7
+ document.addEventListener(eventName, (e)=>callback(e.detail));
8
8
  },
9
- dispatch (data) {
10
- document.dispatchEvent(new CustomEvent('onDispatch', {
11
- detail: data
9
+ dispatch (eventName, detail) {
10
+ document.dispatchEvent(new CustomEvent(eventName, {
11
+ detail
12
12
  }));
13
13
  },
14
- remove (callback) {
15
- document.removeEventListener('onDispatch', callback);
14
+ remove (eventName, callback) {
15
+ document.removeEventListener(eventName, callback);
16
16
  }
17
17
  };
18
18
 
@@ -57,6 +57,29 @@ const getProducts = async (fetcher, { ids, isSample, isStorefront, defaultSelect
57
57
  }
58
58
  };
59
59
  };
60
+ const getProductQueryAll = async (fetcher, arg)=>{
61
+ const limit = arg?.limit || 4;
62
+ delete arg.limit;
63
+ const variables = {
64
+ first: limit,
65
+ firstMedia: 1,
66
+ firstVariant: 1,
67
+ orderBy: {
68
+ field: 'PLATFORM_CREATED_AT',
69
+ direction: 'DESC'
70
+ },
71
+ orderByMedia: {
72
+ field: 'POSITION',
73
+ direction: 'ASC'
74
+ },
75
+ where: {
76
+ status: 'ACTIVE',
77
+ ...arg
78
+ }
79
+ };
80
+ const pageData = await fetchProducts(fetcher, variables);
81
+ return pageData;
82
+ };
60
83
  const fetchProducts = async (fetcher, variables)=>{
61
84
  return fetcher([
62
85
  products_generated.ProductsDocument,
@@ -164,4 +187,5 @@ const mergeMediasToProducts = async ({ fetcher, products, isSample, isStorefront
164
187
  // );
165
188
  // };
166
189
 
190
+ exports.getProductQueryAll = getProductQueryAll;
167
191
  exports.getProducts = getProducts;
@@ -20,5 +20,15 @@ const useProductsQuery = (ids, options, params)=>{
20
20
  return getProducts.getProducts(fetcher, arg);
21
21
  }, options);
22
22
  };
23
+ const useProductsQueryAll = (variable, options)=>{
24
+ const fetcher = useFetchHandle.useFetchHandle();
25
+ return useSWR(variable ? [
26
+ 'query/products',
27
+ variable
28
+ ] : null, async ([, arg])=>{
29
+ return getProducts.getProductQueryAll(fetcher, arg);
30
+ }, options);
31
+ };
23
32
 
24
33
  exports.useProductsQuery = useProductsQuery;
34
+ exports.useProductsQueryAll = useProductsQueryAll;
package/dist/cjs/index.js CHANGED
@@ -297,6 +297,7 @@ exports.useCollectionQuery = useCollectionQuery.useCollectionQuery;
297
297
  exports.useCollectionsQuery = useCollectionsQuery.useCollectionsQuery;
298
298
  exports.useProductQuery = useProductQuery.useProductQuery;
299
299
  exports.useProductsQuery = useProductsQuery.useProductsQuery;
300
+ exports.useProductsQueryAll = useProductsQuery.useProductsQueryAll;
300
301
  exports.useCurrentDevice = useCurrentDevice.useCurrentDevice;
301
302
  exports.shopifyPriceRounding = useFormatMoney.shopifyPriceRounding;
302
303
  exports.useFormatMoney = useFormatMoney.useFormatMoney;
@@ -17,6 +17,15 @@
17
17
  featuredImage {
18
18
  ...MediaSelect
19
19
  }
20
+ collections {
21
+ edges {
22
+ node {
23
+ id
24
+ title
25
+ }
26
+ }
27
+ }
28
+ tags
20
29
  }
21
30
  `;
22
31
 
@@ -1,6 +1,15 @@
1
1
  /* eslint-disable */ const ProductSelect = `
2
2
  fragment ProductSelect on Product {
3
3
  ...ProductLittleSelect
4
+ collections {
5
+ edges {
6
+ node {
7
+ id
8
+ title
9
+ }
10
+ }
11
+ }
12
+ tags
4
13
  medias(first: $firstMedia, after: $afterMedia, orderBy: $orderByMedia) {
5
14
  edges {
6
15
  cursor
@@ -11,6 +11,15 @@ const ProductsEdgeDetail = `
11
11
  cursor
12
12
  node {
13
13
  ...ProductSelect
14
+ tags
15
+ collections {
16
+ edges {
17
+ node {
18
+ id
19
+ title
20
+ }
21
+ }
22
+ }
14
23
  }
15
24
  }
16
25
  `;
@@ -1,14 +1,14 @@
1
1
  const globalEvent = {
2
- subscribe (callback) {
3
- document.addEventListener('onDispatch', (e)=>callback(e.detail));
2
+ subscribe (eventName, callback) {
3
+ document.addEventListener(eventName, (e)=>callback(e.detail));
4
4
  },
5
- dispatch (data) {
6
- document.dispatchEvent(new CustomEvent('onDispatch', {
7
- detail: data
5
+ dispatch (eventName, detail) {
6
+ document.dispatchEvent(new CustomEvent(eventName, {
7
+ detail
8
8
  }));
9
9
  },
10
- remove (callback) {
11
- document.removeEventListener('onDispatch', callback);
10
+ remove (eventName, callback) {
11
+ document.removeEventListener(eventName, callback);
12
12
  }
13
13
  };
14
14
 
@@ -55,6 +55,29 @@ const getProducts = async (fetcher, { ids, isSample, isStorefront, defaultSelect
55
55
  }
56
56
  };
57
57
  };
58
+ const getProductQueryAll = async (fetcher, arg)=>{
59
+ const limit = arg?.limit || 4;
60
+ delete arg.limit;
61
+ const variables = {
62
+ first: limit,
63
+ firstMedia: 1,
64
+ firstVariant: 1,
65
+ orderBy: {
66
+ field: 'PLATFORM_CREATED_AT',
67
+ direction: 'DESC'
68
+ },
69
+ orderByMedia: {
70
+ field: 'POSITION',
71
+ direction: 'ASC'
72
+ },
73
+ where: {
74
+ status: 'ACTIVE',
75
+ ...arg
76
+ }
77
+ };
78
+ const pageData = await fetchProducts(fetcher, variables);
79
+ return pageData;
80
+ };
58
81
  const fetchProducts = async (fetcher, variables)=>{
59
82
  return fetcher([
60
83
  ProductsDocument,
@@ -162,4 +185,4 @@ const mergeMediasToProducts = async ({ fetcher, products, isSample, isStorefront
162
185
  // );
163
186
  // };
164
187
 
165
- export { getProducts };
188
+ export { getProductQueryAll, getProducts };
@@ -1,5 +1,5 @@
1
1
  import useSWR from 'swr';
2
- import { getProducts } from '../../helpers/queries/get-products.js';
2
+ import { getProducts, getProductQueryAll } from '../../helpers/queries/get-products.js';
3
3
  import { generateProductsQueryKey } from '../../helpers/query.js';
4
4
  import { useIsSampleProduct, useIsStorefrontProduct } from '../shop.js';
5
5
  import { useFetchHandle } from '../useFetchHandle.js';
@@ -18,5 +18,14 @@ const useProductsQuery = (ids, options, params)=>{
18
18
  return getProducts(fetcher, arg);
19
19
  }, options);
20
20
  };
21
+ const useProductsQueryAll = (variable, options)=>{
22
+ const fetcher = useFetchHandle();
23
+ return useSWR(variable ? [
24
+ 'query/products',
25
+ variable
26
+ ] : null, async ([, arg])=>{
27
+ return getProductQueryAll(fetcher, arg);
28
+ }, options);
29
+ };
21
30
 
22
- export { useProductsQuery };
31
+ export { useProductsQuery, useProductsQueryAll };
package/dist/esm/index.js CHANGED
@@ -75,7 +75,7 @@ export { useCheckoutUrl, useConnectedShopify, useCurrency, useEditorMode, useIsS
75
75
  export { useCollectionQuery } from './hooks/shop/use-collection-query.js';
76
76
  export { useCollectionsQuery } from './hooks/shop/use-collections-query.js';
77
77
  export { useProductQuery } from './hooks/shop/use-product-query.js';
78
- export { useProductsQuery } from './hooks/shop/use-products-query.js';
78
+ export { useProductsQuery, useProductsQueryAll } from './hooks/shop/use-products-query.js';
79
79
  export { useCurrentDevice } from './hooks/use-current-device.js';
80
80
  export { shopifyPriceRounding, useFormatMoney } from './hooks/useFormatMoney.js';
81
81
  export { useLazyVideo } from './hooks/use-lazy-video.js';
@@ -25762,7 +25762,12 @@ declare const useCartLineStore: <U>(selector: (state: ExtractState<StoreApi<Cart
25762
25762
  type CollectionProductSelectFragment = Pick<Collection$1, 'id' | 'createdAt' | 'updatedAt' | 'deletedAt' | 'title' | 'handle' | 'description' | 'descriptionHtml' | 'templateSuffix' | 'titleMeta' | 'descriptionMeta' | 'baseID' | 'platform' | 'tags' | 'isStorefront' | 'isSample'> & {
25763
25763
  products?: Maybe$1<{
25764
25764
  edges: Array<Pick<ProductEdge$1, 'cursor'> & {
25765
- node?: Maybe$1<Pick<Product$1, 'id' | 'title' | 'description' | 'descriptionHtml' | 'handle' | 'averageRating' | 'isStorefront' | 'isSample' | 'baseID' | 'sku' | 'vendor'> & {
25765
+ node?: Maybe$1<Pick<Product$1, 'tags' | 'id' | 'title' | 'description' | 'descriptionHtml' | 'handle' | 'averageRating' | 'isStorefront' | 'isSample' | 'baseID' | 'sku' | 'vendor'> & {
25766
+ collections?: Maybe$1<{
25767
+ edges: Array<{
25768
+ node?: Maybe$1<Pick<Collection$1, 'id' | 'title'>>;
25769
+ }>;
25770
+ }>;
25766
25771
  medias?: Maybe$1<{
25767
25772
  edges: Array<Pick<MediaEdge$1, 'cursor'> & {
25768
25773
  node?: Maybe$1<Pick<Media$1, 'id' | 'contentType' | 'previewImage' | 'src' | 'width' | 'height' | 'alt'>>;
@@ -25835,7 +25840,12 @@ type ProductListProviderProps = ProductListContextProps & {
25835
25840
  declare const ProductListProvider: React.FC<ProductListProviderProps>;
25836
25841
  declare const useProductListStore: <U>(selector: (state: ExtractState<StoreApi<ProductListContextProps>>) => U, equalityFn?: ((a: U, b: U) => boolean) | undefined) => U;
25837
25842
 
25838
- type ProductSelectFragment = Pick<Product$1, 'id' | 'title' | 'description' | 'descriptionHtml' | 'handle' | 'averageRating' | 'isStorefront' | 'isSample' | 'baseID' | 'sku' | 'vendor'> & {
25843
+ type ProductSelectFragment = Pick<Product$1, 'tags' | 'id' | 'title' | 'description' | 'descriptionHtml' | 'handle' | 'averageRating' | 'isStorefront' | 'isSample' | 'baseID' | 'sku' | 'vendor'> & {
25844
+ collections?: Maybe$1<{
25845
+ edges: Array<{
25846
+ node?: Maybe$1<Pick<Collection$1, 'id' | 'title'>>;
25847
+ }>;
25848
+ }>;
25839
25849
  medias?: Maybe$1<{
25840
25850
  edges: Array<Pick<MediaEdge$1, 'cursor'> & {
25841
25851
  node?: Maybe$1<Pick<Media$1, 'id' | 'contentType' | 'previewImage' | 'src' | 'width' | 'height' | 'alt'>>;
@@ -26030,7 +26040,12 @@ type CollectionDetailFilterQueryResponse = {
26030
26040
  node?: Maybe$1<Pick<Collection$1, 'id' | 'createdAt' | 'updatedAt' | 'deletedAt' | 'title' | 'handle' | 'description' | 'descriptionHtml' | 'templateSuffix' | 'titleMeta' | 'descriptionMeta' | 'baseID' | 'platform' | 'tags' | 'isStorefront' | 'isSample'> & {
26031
26041
  products?: Maybe$1<{
26032
26042
  edges: Array<Pick<ProductEdge$1, 'cursor'> & {
26033
- node?: Maybe$1<Pick<Product$1, 'id' | 'title' | 'description' | 'descriptionHtml' | 'handle' | 'averageRating' | 'isStorefront' | 'isSample' | 'baseID' | 'sku' | 'vendor'> & {
26043
+ node?: Maybe$1<Pick<Product$1, 'tags' | 'id' | 'title' | 'description' | 'descriptionHtml' | 'handle' | 'averageRating' | 'isStorefront' | 'isSample' | 'baseID' | 'sku' | 'vendor'> & {
26044
+ collections?: Maybe$1<{
26045
+ edges: Array<{
26046
+ node?: Maybe$1<Pick<Collection$1, 'id' | 'title'>>;
26047
+ }>;
26048
+ }>;
26034
26049
  medias?: Maybe$1<{
26035
26050
  edges: Array<Pick<MediaEdge$1, 'cursor'> & {
26036
26051
  node?: Maybe$1<Pick<Media$1, 'id' | 'contentType' | 'previewImage' | 'src' | 'width' | 'height' | 'alt'>>;
@@ -26160,7 +26175,12 @@ type ProductsQueryVariables = Exact$1<{
26160
26175
  type ProductsQueryResponse = {
26161
26176
  products?: Maybe$1<{
26162
26177
  edges: Array<Pick<ProductEdge$1, 'cursor'> & {
26163
- node?: Maybe$1<Pick<Product$1, 'id' | 'title' | 'description' | 'descriptionHtml' | 'handle' | 'averageRating' | 'isStorefront' | 'isSample' | 'baseID' | 'sku' | 'vendor'> & {
26178
+ node?: Maybe$1<Pick<Product$1, 'tags' | 'id' | 'title' | 'description' | 'descriptionHtml' | 'handle' | 'averageRating' | 'isStorefront' | 'isSample' | 'baseID' | 'sku' | 'vendor'> & {
26179
+ collections?: Maybe$1<{
26180
+ edges: Array<{
26181
+ node?: Maybe$1<Pick<Collection$1, 'id' | 'title'>>;
26182
+ }>;
26183
+ }>;
26164
26184
  medias?: Maybe$1<{
26165
26185
  edges: Array<Pick<MediaEdge$1, 'cursor'> & {
26166
26186
  node?: Maybe$1<Pick<Media$1, 'id' | 'contentType' | 'previewImage' | 'src' | 'width' | 'height' | 'alt'>>;
@@ -26185,6 +26205,13 @@ type ProductsQueryResponse = {
26185
26205
  pageInfo?: Maybe$1<Pick<PageInfo$1, 'endCursor' | 'hasNextPage'>>;
26186
26206
  }>;
26187
26207
  };
26208
+ type VariableRelatedStyles = {
26209
+ limit?: number | undefined;
26210
+ vendor?: string;
26211
+ idNEQ?: string;
26212
+ hasProductTagsWith?: InputMaybe$1<ProductTagWhereInput$1[]>;
26213
+ hasCollectionProductsWith?: InputMaybe$1<CollectionProductWhereInput$1[]>;
26214
+ };
26188
26215
  declare const ProductsDocument: string;
26189
26216
 
26190
26217
  type StorePropertyQueryVariables = Exact$1<{
@@ -26292,9 +26319,9 @@ declare const isColumnDirectionExist: (layout: ObjectDevices<ObjectLayoutValue>,
26292
26319
  declare function getShortName(name: string): string;
26293
26320
 
26294
26321
  declare const globalEvent: {
26295
- subscribe(callback: (detail: any) => void): void;
26296
- dispatch(data: any): void;
26297
- remove(callback: (val?: any) => void): void;
26322
+ subscribe(eventName: string, callback: (detail: any) => void): void;
26323
+ dispatch(eventName: string, detail: any): void;
26324
+ remove(eventName: string, callback: (detail: any) => void): void;
26298
26325
  };
26299
26326
 
26300
26327
  declare function isBrowser(): boolean;
@@ -34141,6 +34168,7 @@ declare const useProductsQuery: (ids?: string[], options?: SWRConfiguration<Prod
34141
34168
  defaultSelectedProductCount?: number;
34142
34169
  allStatus?: boolean;
34143
34170
  }) => swr__internal.SWRResponse<ProductsQueryResponse, any, Partial<swr__internal.PublicConfiguration<ProductsQueryResponse, any, (arg: ["query/products", FetchProductsParams]) => swr__internal.FetcherResponse<ProductsQueryResponse>>> | undefined>;
34171
+ declare const useProductsQueryAll: (variable?: VariableRelatedStyles | undefined, options?: SWRConfiguration<ProductsQueryResponse>) => swr__internal.SWRResponse<ProductsQueryResponse, any, Partial<swr__internal.PublicConfiguration<ProductsQueryResponse, any, (arg: ["query/products", any]) => swr__internal.FetcherResponse<ProductsQueryResponse>>> | undefined>;
34144
34172
 
34145
34173
  declare const useCurrentDevice: () => NameDevices$1;
34146
34174
 
@@ -34303,4 +34331,4 @@ type PublishedThemePageSelectFragment = Pick<PublishedThemePage$1, 'id' | 'name'
34303
34331
 
34304
34332
  declare const getProductBySlug: (fetcher: FetchFunc, slug?: string) => Promise<ProductSelectFragment>;
34305
34333
 
34306
- 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, 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, JudgeMeReviewsWidgetType, KlaviyoWidgetType, LaiProductReviewsAdvancedWidgetType, LaiProductReviewsWidgetType, LibraryTemplateDocument, LibraryTemplateQueryResponse, LibraryTemplateQueryVariables, LooxReviewsWidgetType, ModalProvider, ModalProviderProps, NameDevices$1 as NameDevices, NestedKeys, ObjectDeviceGlobalType, ObjectDevices, ObjectLayoutValue, OmnisendWidgetType, OpinewDesignWidgetType, OpinewWidgetType, OptionNormalStyle, OptionSpecialStyle, Options, PageContext, PageProvider, PageProviderProps, PageType, PageViewUpDocument, PageViewUpMutationResponse, PageViewUpMutationVariables, PickyStoryWidgetType, PostPurchaseTypo, PreviewPageDocument, PreviewPageQueryResponse, PreviewPageQueryVariables, Primitive, ProductInputAnalytic, ProductListProvider, ProductListProviderProps, ProductOffer, ProductProvider, ProductProviderProps, ProductReviewsWidgetType, ProductSelectFragment, ProductsDocument, ProductsQueryResponse, ProductsQueryVariables, PublishedThemePageSelectFragment, PublishedThemePagesDocument, PublishedThemePagesQueryResponse, PublishedThemePagesQueryVariables, RGBAColorType, RGBColorType, Ratio$1 as Ratio, 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, Scalars$1 as Scalars, ScaleByDirection, SectionData, SectionEntity, SectionProvider, SectionProviderProps, SettingByAnimationType, SettingByAnimationValues, ShadowProps, ShadowStyle, ShadowStyleApplied, ShadowType, ShopProvider, ShopProviderProps, shop as ShopType, SizeProps, SizeSetting, SizeSettingGlobal, SizeType, SpacingType, StampedWidgetType, StateProp, StateSelector, StateType, StoreConfig, StorePropertyDocument, StorePropertyQueryResponse, StorePropertyQueryVariables, SwatchesOptionType, SwatchesOptionValue, ThemePageDocument, ThemePageQueryResponse, ThemePageQueryVariables, TransformProp, TriggerConfig, TrustooWidgetType, TypographyProps, TypographySetting, TypographySettingV2, TypographyType, TypographyV2Attrs, TypographyV2Props, UltimateSalesBoostWidgetType, VariantSelectFragment, VitalsWidgetType, WiserV2WidgetType, WiserWidgetType, WrapRenderChildren, YotpoReviewsWidgetType, animations, baseAssetURL, calculateFirstProduct, checkAvailableVariantInStock, cls, composeAdvanceStyle, composeAdvanceStyleForPostPurchase, composeBackgroundCss, composeBorderCss, composeCornerCss, composeFallbackTypographyStyle, composeGridLayout, composeMemo, composePositionLineHeight, composePostionIconList, composeRadius, composeRadiusResponsive, composeShadowCss, composeSize, composeSizeCss, composeSpacing, composeTextColorCss, composeTypography, composeTypographyAttr, composeTypographyClassName, composeTypographyCss, composeTypographyStyle, composeTypographyV2, composeTypographyV2Css, convertHTML, convertOldLayout, dataStringify, fetchMedias, fetchVariants, filterAttrInStyle, filterCornerInStyle, filterToolbarPreview, flattenConnection, fpixel, genSizeClass, genTypoClass, genVariable, generateCollectionQueryKey, generateProductQueryKey, generateProductsQueryKey, getAspectRatioGlobalSize, getBgImageByDevice, 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, getResponsiveValue, getResponsiveValueByScreen, getSelectedVariant, getShortName, getSingleColorVariable, getSpacingVariable, getStyleBackgroundByDevice, getStyleShadow, getStyleShadowState, getWidthByShapeGlobalSize, getWidthHeightGlobalSize, globalEvent, gridToArrayRegex, gtag, handleConvertBorderColor, handleConvertBorderStyle, handleConvertBorderWidth, handleConvertClassColor, handleConvertClassColorDynamicBtn, isBrowser, isColor, isColumnDirectionExist, isDefined, isEmptyChildren, isLocalEnv, isSafari, loadScript, makeAspectRatio, makeContainerWidthOrHeight, makeDotGapToCarouselStyle, makeFixedBgAttachment, makeGlobalSize, makeGlobalSizeHeightResponsive, 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, 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, useInitialSwatchesOptions, 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, useQuantity, useRemoveCartItem, useSection, useSectionStore, useSelectedOption, useShopStore, useStoreFront, useSuspenseFetch, useSwatches, useSwatchesOptions, useUniqProductID, useUpdateCartItem, useVariant, useVariantOutStock, useVariants, validateEmail };
34334
+ 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, 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, JudgeMeReviewsWidgetType, KlaviyoWidgetType, LaiProductReviewsAdvancedWidgetType, LaiProductReviewsWidgetType, LibraryTemplateDocument, LibraryTemplateQueryResponse, LibraryTemplateQueryVariables, LooxReviewsWidgetType, ModalProvider, ModalProviderProps, NameDevices$1 as NameDevices, NestedKeys, ObjectDeviceGlobalType, ObjectDevices, ObjectLayoutValue, OmnisendWidgetType, OpinewDesignWidgetType, OpinewWidgetType, OptionNormalStyle, OptionSpecialStyle, Options, PageContext, PageProvider, PageProviderProps, PageType, PageViewUpDocument, PageViewUpMutationResponse, PageViewUpMutationVariables, PickyStoryWidgetType, PostPurchaseTypo, PreviewPageDocument, PreviewPageQueryResponse, PreviewPageQueryVariables, Primitive, ProductInputAnalytic, ProductListProvider, ProductListProviderProps, ProductOffer, ProductProvider, ProductProviderProps, ProductReviewsWidgetType, ProductSelectFragment, ProductsDocument, ProductsQueryResponse, ProductsQueryVariables, PublishedThemePageSelectFragment, PublishedThemePagesDocument, PublishedThemePagesQueryResponse, PublishedThemePagesQueryVariables, RGBAColorType, RGBColorType, Ratio$1 as Ratio, 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, Scalars$1 as Scalars, ScaleByDirection, SectionData, SectionEntity, SectionProvider, SectionProviderProps, SettingByAnimationType, SettingByAnimationValues, ShadowProps, ShadowStyle, ShadowStyleApplied, ShadowType, ShopProvider, ShopProviderProps, shop as ShopType, SizeProps, SizeSetting, SizeSettingGlobal, SizeType, SpacingType, StampedWidgetType, StateProp, StateSelector, StateType, StoreConfig, StorePropertyDocument, StorePropertyQueryResponse, StorePropertyQueryVariables, SwatchesOptionType, SwatchesOptionValue, ThemePageDocument, ThemePageQueryResponse, ThemePageQueryVariables, TransformProp, TriggerConfig, TrustooWidgetType, TypographyProps, TypographySetting, TypographySettingV2, TypographyType, TypographyV2Attrs, TypographyV2Props, UltimateSalesBoostWidgetType, VariantSelectFragment, VitalsWidgetType, WiserV2WidgetType, WiserWidgetType, WrapRenderChildren, YotpoReviewsWidgetType, animations, baseAssetURL, calculateFirstProduct, checkAvailableVariantInStock, cls, composeAdvanceStyle, composeAdvanceStyleForPostPurchase, composeBackgroundCss, composeBorderCss, composeCornerCss, composeFallbackTypographyStyle, composeGridLayout, composeMemo, composePositionLineHeight, composePostionIconList, composeRadius, composeRadiusResponsive, composeShadowCss, composeSize, composeSizeCss, composeSpacing, composeTextColorCss, composeTypography, composeTypographyAttr, composeTypographyClassName, composeTypographyCss, composeTypographyStyle, composeTypographyV2, composeTypographyV2Css, convertHTML, convertOldLayout, dataStringify, fetchMedias, fetchVariants, filterAttrInStyle, filterCornerInStyle, filterToolbarPreview, flattenConnection, fpixel, genSizeClass, genTypoClass, genVariable, generateCollectionQueryKey, generateProductQueryKey, generateProductsQueryKey, getAspectRatioGlobalSize, getBgImageByDevice, 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, getResponsiveValue, getResponsiveValueByScreen, getSelectedVariant, getShortName, getSingleColorVariable, getSpacingVariable, getStyleBackgroundByDevice, getStyleShadow, getStyleShadowState, getWidthByShapeGlobalSize, getWidthHeightGlobalSize, globalEvent, gridToArrayRegex, gtag, handleConvertBorderColor, handleConvertBorderStyle, handleConvertBorderWidth, handleConvertClassColor, handleConvertClassColorDynamicBtn, isBrowser, isColor, isColumnDirectionExist, isDefined, isEmptyChildren, isLocalEnv, isSafari, loadScript, makeAspectRatio, makeContainerWidthOrHeight, makeDotGapToCarouselStyle, makeFixedBgAttachment, makeGlobalSize, makeGlobalSizeHeightResponsive, 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, 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, useInitialSwatchesOptions, 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.23.0-staging.450",
3
+ "version": "1.23.0-staging.453",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",