@gem-sdk/core 1.24.0 → 1.24.4

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.
@@ -13,7 +13,7 @@ const getStyleBackgroundByDevice = (background, options)=>{
13
13
  ...getStyleBgPosition(background),
14
14
  ...getStyleBgSize(background),
15
15
  ...getStyleBgRepeat(background),
16
- ...getStyleBgAttachment(background)
16
+ ...!options?.ignoreBgAttachment ? getStyleBgAttachment(background) : {}
17
17
  };
18
18
  };
19
19
  const getStyleBgColor = (background)=>{
@@ -38,10 +38,6 @@ const getColor = (color)=>{
38
38
  };
39
39
  const getStyleBgImage = (background, options)=>{
40
40
  const bgImage = {
41
- // desktop:
42
- // background.desktop?.type === 'color' ? 'none' : getBgImageByDevice(background, 'desktop'),
43
- // tablet: background.tablet?.type === 'color' ? 'none' : getBgImageByDevice(background, 'tablet'),
44
- // mobile: background.mobile?.type === 'color' ? 'none' : getBgImageByDevice(background, 'mobile'),
45
41
  desktop: getBgImageByDevice(background, 'desktop', options),
46
42
  tablet: getBgImageByDevice(background, 'tablet', options),
47
43
  mobile: getBgImageByDevice(background, 'mobile', options)
@@ -104,6 +100,69 @@ const getBgAttachmentByDevice = (background, device)=>{
104
100
  const composeBackgroundCss = (backgroundColor)=>{
105
101
  return `${backgroundColor ? `background-color: ${colors.getSingleColorVariable(backgroundColor)} !important;` : undefined}`;
106
102
  };
103
+ const makeFixedBgAttachment = (background)=>{
104
+ if (!background) return;
105
+ background.tablet = background.tablet ? background.tablet : background.desktop;
106
+ background.mobile = background.mobile ? background.mobile : background.tablet;
107
+ const bgAttachment = {
108
+ desktop: getBgAttachmentByDevice(background, 'desktop'),
109
+ tablet: getBgAttachmentByDevice(background, 'tablet'),
110
+ mobile: getBgAttachmentByDevice(background, 'mobile')
111
+ };
112
+ const composeFixed = {
113
+ desktop: {
114
+ ...makeFixedBgAttachmentByDevice('desktop', bgAttachment.desktop)
115
+ },
116
+ tablet: {
117
+ ...makeFixedBgAttachmentByDevice('tablet', bgAttachment.tablet)
118
+ },
119
+ mobile: {
120
+ ...makeFixedBgAttachmentByDevice('mobile', bgAttachment.mobile)
121
+ }
122
+ };
123
+ return {
124
+ wrapper: {
125
+ ...composeFixed.desktop?.wrapper,
126
+ ...composeFixed.tablet?.wrapper,
127
+ ...composeFixed.mobile?.wrapper
128
+ },
129
+ content: {
130
+ ...composeFixed.desktop?.content,
131
+ ...composeFixed.tablet?.content,
132
+ ...composeFixed.mobile?.content
133
+ }
134
+ };
135
+ };
136
+ const makeFixedBgAttachmentByDevice = (device, bgAttachment)=>{
137
+ const subfix = device === 'desktop' ? '' : `-${device}`;
138
+ if (bgAttachment === 'fixed') {
139
+ return {
140
+ wrapper: {
141
+ [`--pos${subfix}`]: 'absolute',
142
+ [`--top${subfix}`]: '0',
143
+ [`--left${subfix}`]: '0',
144
+ [`--w${subfix}`]: '100%',
145
+ [`--h${subfix}`]: '100%'
146
+ },
147
+ content: {
148
+ [`--pos${subfix}`]: 'fixed',
149
+ [`--w${subfix}`]: '100vw',
150
+ [`--h${subfix}`]: '100vh',
151
+ [`--bga${subfix}`]: 'unset'
152
+ }
153
+ };
154
+ }
155
+ return {
156
+ wrapper: {
157
+ [`--pos${subfix}`]: 'absolute'
158
+ },
159
+ content: {
160
+ [`--pos${subfix}`]: 'absolute',
161
+ [`--bga${subfix}`]: bgAttachment
162
+ }
163
+ };
164
+ };
107
165
 
108
166
  exports.composeBackgroundCss = composeBackgroundCss;
109
167
  exports.getStyleBackgroundByDevice = getStyleBackgroundByDevice;
168
+ exports.makeFixedBgAttachment = makeFixedBgAttachment;
package/dist/cjs/index.js CHANGED
@@ -221,6 +221,7 @@ exports.getStyleShadowState = shadow.getStyleShadowState;
221
221
  exports.parseValueWithUnit = shadow.parseValueWithUnit;
222
222
  exports.composeBackgroundCss = background.composeBackgroundCss;
223
223
  exports.getStyleBackgroundByDevice = background.getStyleBackgroundByDevice;
224
+ exports.makeFixedBgAttachment = background.makeFixedBgAttachment;
224
225
  exports.generateCollectionQueryKey = query.generateCollectionQueryKey;
225
226
  exports.generateProductQueryKey = query.generateProductQueryKey;
226
227
  exports.generateProductsQueryKey = query.generateProductsQueryKey;
@@ -11,7 +11,7 @@ const getStyleBackgroundByDevice = (background, options)=>{
11
11
  ...getStyleBgPosition(background),
12
12
  ...getStyleBgSize(background),
13
13
  ...getStyleBgRepeat(background),
14
- ...getStyleBgAttachment(background)
14
+ ...!options?.ignoreBgAttachment ? getStyleBgAttachment(background) : {}
15
15
  };
16
16
  };
17
17
  const getStyleBgColor = (background)=>{
@@ -36,10 +36,6 @@ const getColor = (color)=>{
36
36
  };
37
37
  const getStyleBgImage = (background, options)=>{
38
38
  const bgImage = {
39
- // desktop:
40
- // background.desktop?.type === 'color' ? 'none' : getBgImageByDevice(background, 'desktop'),
41
- // tablet: background.tablet?.type === 'color' ? 'none' : getBgImageByDevice(background, 'tablet'),
42
- // mobile: background.mobile?.type === 'color' ? 'none' : getBgImageByDevice(background, 'mobile'),
43
39
  desktop: getBgImageByDevice(background, 'desktop', options),
44
40
  tablet: getBgImageByDevice(background, 'tablet', options),
45
41
  mobile: getBgImageByDevice(background, 'mobile', options)
@@ -102,5 +98,67 @@ const getBgAttachmentByDevice = (background, device)=>{
102
98
  const composeBackgroundCss = (backgroundColor)=>{
103
99
  return `${backgroundColor ? `background-color: ${getSingleColorVariable(backgroundColor)} !important;` : undefined}`;
104
100
  };
101
+ const makeFixedBgAttachment = (background)=>{
102
+ if (!background) return;
103
+ background.tablet = background.tablet ? background.tablet : background.desktop;
104
+ background.mobile = background.mobile ? background.mobile : background.tablet;
105
+ const bgAttachment = {
106
+ desktop: getBgAttachmentByDevice(background, 'desktop'),
107
+ tablet: getBgAttachmentByDevice(background, 'tablet'),
108
+ mobile: getBgAttachmentByDevice(background, 'mobile')
109
+ };
110
+ const composeFixed = {
111
+ desktop: {
112
+ ...makeFixedBgAttachmentByDevice('desktop', bgAttachment.desktop)
113
+ },
114
+ tablet: {
115
+ ...makeFixedBgAttachmentByDevice('tablet', bgAttachment.tablet)
116
+ },
117
+ mobile: {
118
+ ...makeFixedBgAttachmentByDevice('mobile', bgAttachment.mobile)
119
+ }
120
+ };
121
+ return {
122
+ wrapper: {
123
+ ...composeFixed.desktop?.wrapper,
124
+ ...composeFixed.tablet?.wrapper,
125
+ ...composeFixed.mobile?.wrapper
126
+ },
127
+ content: {
128
+ ...composeFixed.desktop?.content,
129
+ ...composeFixed.tablet?.content,
130
+ ...composeFixed.mobile?.content
131
+ }
132
+ };
133
+ };
134
+ const makeFixedBgAttachmentByDevice = (device, bgAttachment)=>{
135
+ const subfix = device === 'desktop' ? '' : `-${device}`;
136
+ if (bgAttachment === 'fixed') {
137
+ return {
138
+ wrapper: {
139
+ [`--pos${subfix}`]: 'absolute',
140
+ [`--top${subfix}`]: '0',
141
+ [`--left${subfix}`]: '0',
142
+ [`--w${subfix}`]: '100%',
143
+ [`--h${subfix}`]: '100%'
144
+ },
145
+ content: {
146
+ [`--pos${subfix}`]: 'fixed',
147
+ [`--w${subfix}`]: '100vw',
148
+ [`--h${subfix}`]: '100vh',
149
+ [`--bga${subfix}`]: 'unset'
150
+ }
151
+ };
152
+ }
153
+ return {
154
+ wrapper: {
155
+ [`--pos${subfix}`]: 'absolute'
156
+ },
157
+ content: {
158
+ [`--pos${subfix}`]: 'absolute',
159
+ [`--bga${subfix}`]: bgAttachment
160
+ }
161
+ };
162
+ };
105
163
 
106
- export { composeBackgroundCss, getStyleBackgroundByDevice };
164
+ export { composeBackgroundCss, getStyleBackgroundByDevice, makeFixedBgAttachment };
package/dist/esm/index.js CHANGED
@@ -53,7 +53,7 @@ export { RenderIf, composeMemo, dataStringify, props, styles, template } from '.
53
53
  export { baseAssetURL, isLocalEnv } from './helpers/convert.js';
54
54
  export { composeSize, composeSizeCss, genSizeClass } from './helpers/size.js';
55
55
  export { composeShadowCss, getStyleShadow, getStyleShadowState, parseValueWithUnit } from './helpers/shadow.js';
56
- export { composeBackgroundCss, getStyleBackgroundByDevice } from './helpers/background.js';
56
+ export { composeBackgroundCss, getStyleBackgroundByDevice, makeFixedBgAttachment } from './helpers/background.js';
57
57
  export { generateCollectionQueryKey, generateProductQueryKey, generateProductsQueryKey } from './helpers/query.js';
58
58
  export { composeAdvanceStyle, splitStyle } from './helpers/compose-advance-style.js';
59
59
  export { useAddToCart } from './hooks/cart/use-add-to-cart.js';
@@ -9470,9 +9470,18 @@ declare const composeShadowCss: ({ hasBoxShadow, boxShadowValue, important, }: {
9470
9470
 
9471
9471
  type Options = {
9472
9472
  liquid?: boolean;
9473
+ ignoreBgAttachment?: boolean;
9473
9474
  };
9474
9475
  declare const getStyleBackgroundByDevice: (background?: ObjectDevices<Background>, options?: Options) => {};
9475
9476
  declare const composeBackgroundCss: (backgroundColor?: ColorValueType) => string;
9477
+ declare const makeFixedBgAttachment: (background?: ObjectDevices<Background>) => {
9478
+ wrapper: {
9479
+ [x: string]: string;
9480
+ };
9481
+ content: {
9482
+ [x: string]: string | undefined;
9483
+ };
9484
+ } | undefined;
9476
9485
 
9477
9486
  type OrderByType = 'TITLE_ASC' | 'TITLE_DESC' | 'CREATED_AT_ASC' | 'none' | 'CREATED_AT_DESC';
9478
9487
  type FetchCollectionArgs = {
@@ -9748,4 +9757,4 @@ type PublishedThemePageSelectFragment = Pick<PublishedThemePage, 'id' | 'name' |
9748
9757
 
9749
9758
  declare const getProductBySlug: (fetcher: FetchFunc, slug?: string) => Promise<ProductSelectFragment>;
9750
9759
 
9751
- export { AddOn, AddonProvider, AddonProviderProps, AlignItemProp, AlignProp, Background, BaseProps, BasePropsWrap, BlockEntity, 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, ControlUI, CornerRadius, CornerRadiusType, CustomComponentConfig, DeepPartial, ExtractState, FeraReviewsWidgetType, FetchCollectionArgs, FetchFunc, FetchProductParams, FlexDirectionProp, FontName, GlobalStyleConfig, GlobalStyleResponsiveConfig, GlobalSwatchesData, GraphQLConnection, GroupPropType, HSLAColorType, HSLColorType, HexColorType, ImageShape$1 as ImageShape, InitComponentType, InstantJudgeMeReviewsWidgetType, InstantKlaviyoWidgetType, InstantLooxReviewsWidgetType, JudgeMeReviewsWidgetType, KlaviyoWidgetType, LaiProductReviewsWidgetType, LooxReviewsWidgetType, ModalProvider, ModalProviderProps, NameDevices, NestedKeys, ObjectDeviceGlobalType, ObjectDevices, ObjectLayoutValue, OmnisendWidgetType, OptionNormalStyle, OptionSpecialStyle, PageContext, PageType, PageViewUpDocument, PageViewUpMutationResponse, PageViewUpMutationVariables, PickyStoryWidgetType, PreviewPageDocument, PreviewPageQueryResponse, PreviewPageQueryVariables, Primitive, ProductInputAnalytic, ProductListProvider, ProductListProviderProps, 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, ResponsiveStateProp, RivyoWidgetType, RoundedSize, RyviuWidgetType, SectionData, SectionEntity, SectionProvider, SectionProviderProps, ShadowProps, ShadowStyle, ShadowStyleApplied, ShadowType, ShopProvider, ShopProviderProps, shop as ShopType, SizeProps, SizeSetting, SizeType, SpacingType, StampedWidgetType, StateProp, StateSelector, StateType, StoreConfig, StorePropertyDocument, StorePropertyQueryResponse, StorePropertyQueryVariables, SwatchesOptionType, SwatchesOptionValue, TransformProp, TrustooWidgetType, TypographyProps, TypographySetting, TypographySettingV2, TypographyType, TypographyV2Attrs, TypographyV2Props, VariantSelectFragment, VitalsWidgetType, WiserWidgetType, WrapRenderChildren, baseAssetURL, calculateFirstProduct, checkAvailableVariantInStock, cls, composeAdvanceStyle, composeBackgroundCss, composeBorderCss, composeCornerCss, composeGridLayout, composeMemo, composeRadius, composeRadiusResponsive, composeShadowCss, composeSize, composeSizeCss, composeSpacing, composeTextColorCss, composeTypography, composeTypographyAttr, composeTypographyClassName, composeTypographyCss, composeTypographyStyle, composeTypographyV2, composeTypographyV2Css, convertOldLayout, dataStringify, fetchMedias, fetchVariants, flattenConnection, fpixel, genSizeClass, genTypoClass, genVariable, generateCollectionQueryKey, generateProductQueryKey, generateProductsQueryKey, getBorderStyle, getCollection, getCornerCSSFromGlobal, getCustomRadius, getGlobalColorCSSProp, getGlobalColorClass, getGlobalColorResponsiveClass, getGlobalColorResponsiveStyle, getGlobalColorStateClass, getGlobalColorStateClassDynamicBtn, getGlobalColorStateResponsiveClass, getGlobalColorStateResponsiveClassDynamicBtn, getGlobalColorStateResponsiveStyle, getGlobalColorStateStyle, getGlobalColorStyle, getProduct, getProductBySlug, getRadiusCSSFromGlobal, getRadiusStyleActiveState, getResponsiveStateValue, getResponsiveValue, getResponsiveValueByScreen, getSelectedVariant, getShortName, getSingleColorVariable, getSpacingVariable, getStyleBackgroundByDevice, getStyleShadow, getStyleShadowState, globalEvent, gridToArrayRegex, gtag, handleConvertBorderColor, handleConvertBorderStyle, handleConvertBorderWidth, handleConvertClassColor, handleConvertClassColorDynamicBtn, isBrowser, isColor, isColumnDirectionExist, isDefined, isEmptyChildren, isLocalEnv, isSafari, loadScript, makeAspectRatio, makeHeight, makeLineClamp, makeStyle, makeStyleResponsive, makeStyleResponsiveState, makeStyleState, makeWidth, normalizeBuilderData, optionLayoutStyle, parseSelectedOption, parseValueWithUnit, prefetchQueries, props, removeNullUndefined, 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, usePageType, usePluginEnable, usePrevious, useProduct, useProductList, useProductListProducts, useProductListSettings, useProductListStore, useProductListStyles, useProductProperties, useProductQuery, useProductStore, useProductsQuery, useQuantity, useRemoveCartItem, useSection, useSectionStore, useSelectedOption, useShopStore, useStoreFront, useSuspenseFetch, useSwatches, useSwatchesOptions, useUniqProductID, useUpdateCartItem, useVariant, useVariantOutStock, useVariants, validateEmail };
9760
+ export { AddOn, AddonProvider, AddonProviderProps, AlignItemProp, AlignProp, Background, BaseProps, BasePropsWrap, BlockEntity, 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, ControlUI, CornerRadius, CornerRadiusType, CustomComponentConfig, DeepPartial, ExtractState, FeraReviewsWidgetType, FetchCollectionArgs, FetchFunc, FetchProductParams, FlexDirectionProp, FontName, GlobalStyleConfig, GlobalStyleResponsiveConfig, GlobalSwatchesData, GraphQLConnection, GroupPropType, HSLAColorType, HSLColorType, HexColorType, ImageShape$1 as ImageShape, InitComponentType, InstantJudgeMeReviewsWidgetType, InstantKlaviyoWidgetType, InstantLooxReviewsWidgetType, JudgeMeReviewsWidgetType, KlaviyoWidgetType, LaiProductReviewsWidgetType, LooxReviewsWidgetType, ModalProvider, ModalProviderProps, NameDevices, NestedKeys, ObjectDeviceGlobalType, ObjectDevices, ObjectLayoutValue, OmnisendWidgetType, OptionNormalStyle, OptionSpecialStyle, PageContext, PageType, PageViewUpDocument, PageViewUpMutationResponse, PageViewUpMutationVariables, PickyStoryWidgetType, PreviewPageDocument, PreviewPageQueryResponse, PreviewPageQueryVariables, Primitive, ProductInputAnalytic, ProductListProvider, ProductListProviderProps, 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, ResponsiveStateProp, RivyoWidgetType, RoundedSize, RyviuWidgetType, SectionData, SectionEntity, SectionProvider, SectionProviderProps, ShadowProps, ShadowStyle, ShadowStyleApplied, ShadowType, ShopProvider, ShopProviderProps, shop as ShopType, SizeProps, SizeSetting, SizeType, SpacingType, StampedWidgetType, StateProp, StateSelector, StateType, StoreConfig, StorePropertyDocument, StorePropertyQueryResponse, StorePropertyQueryVariables, SwatchesOptionType, SwatchesOptionValue, TransformProp, TrustooWidgetType, TypographyProps, TypographySetting, TypographySettingV2, TypographyType, TypographyV2Attrs, TypographyV2Props, VariantSelectFragment, VitalsWidgetType, WiserWidgetType, WrapRenderChildren, baseAssetURL, calculateFirstProduct, checkAvailableVariantInStock, cls, composeAdvanceStyle, composeBackgroundCss, composeBorderCss, composeCornerCss, composeGridLayout, composeMemo, composeRadius, composeRadiusResponsive, composeShadowCss, composeSize, composeSizeCss, composeSpacing, composeTextColorCss, composeTypography, composeTypographyAttr, composeTypographyClassName, composeTypographyCss, composeTypographyStyle, composeTypographyV2, composeTypographyV2Css, convertOldLayout, dataStringify, fetchMedias, fetchVariants, flattenConnection, fpixel, genSizeClass, genTypoClass, genVariable, generateCollectionQueryKey, generateProductQueryKey, generateProductsQueryKey, getBorderStyle, getCollection, getCornerCSSFromGlobal, getCustomRadius, getGlobalColorCSSProp, getGlobalColorClass, getGlobalColorResponsiveClass, getGlobalColorResponsiveStyle, getGlobalColorStateClass, getGlobalColorStateClassDynamicBtn, getGlobalColorStateResponsiveClass, getGlobalColorStateResponsiveClassDynamicBtn, getGlobalColorStateResponsiveStyle, getGlobalColorStateStyle, getGlobalColorStyle, getProduct, getProductBySlug, getRadiusCSSFromGlobal, getRadiusStyleActiveState, getResponsiveStateValue, getResponsiveValue, getResponsiveValueByScreen, getSelectedVariant, getShortName, getSingleColorVariable, getSpacingVariable, getStyleBackgroundByDevice, getStyleShadow, getStyleShadowState, globalEvent, gridToArrayRegex, gtag, handleConvertBorderColor, handleConvertBorderStyle, handleConvertBorderWidth, handleConvertClassColor, handleConvertClassColorDynamicBtn, isBrowser, isColor, isColumnDirectionExist, isDefined, isEmptyChildren, isLocalEnv, isSafari, loadScript, makeAspectRatio, makeFixedBgAttachment, makeHeight, makeLineClamp, makeStyle, makeStyleResponsive, makeStyleResponsiveState, makeStyleState, makeWidth, normalizeBuilderData, optionLayoutStyle, parseSelectedOption, parseValueWithUnit, prefetchQueries, props, removeNullUndefined, 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, usePageType, usePluginEnable, usePrevious, useProduct, useProductList, useProductListProducts, useProductListSettings, useProductListStore, useProductListStyles, useProductProperties, useProductQuery, useProductStore, useProductsQuery, 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.24.0",
3
+ "version": "1.24.4",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",