@gem-sdk/core 2.0.0-dev.479 → 2.0.0-dev.503

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.
Files changed (36) hide show
  1. package/dist/cjs/components/ComponentToolbarPreview.js +1 -0
  2. package/dist/cjs/components/ComponentWrapperPreview.js +1 -0
  3. package/dist/cjs/components/InteractionSuffix.js +1 -0
  4. package/dist/cjs/components/Render.liquid.js +1 -0
  5. package/dist/cjs/components/RenderCustomCode.js +1 -0
  6. package/dist/cjs/components/ai-generator/AIContentGenerator.js +1 -0
  7. package/dist/cjs/components/ai-generator/components/PickProduct.js +1 -0
  8. package/dist/cjs/components/resize/Spacing.js +1 -0
  9. package/dist/cjs/components/theme-section/CreateThemeSection.js +1 -0
  10. package/dist/cjs/contexts/ProductContext.js +1 -0
  11. package/dist/cjs/helpers/background.js +35 -0
  12. package/dist/cjs/helpers/interaction/index.js +1 -0
  13. package/dist/cjs/hooks/useAnimations.js +1 -0
  14. package/dist/cjs/hooks/useInitialSwatchesOptions.js +1 -0
  15. package/dist/cjs/hooks/useProduct.js +1 -0
  16. package/dist/cjs/hooks/useStickyStore.js +12 -0
  17. package/dist/cjs/index.js +3 -0
  18. package/dist/esm/components/ComponentToolbarPreview.js +1 -0
  19. package/dist/esm/components/ComponentWrapperPreview.js +1 -0
  20. package/dist/esm/components/InteractionSuffix.js +1 -0
  21. package/dist/esm/components/Render.liquid.js +1 -0
  22. package/dist/esm/components/RenderCustomCode.js +1 -0
  23. package/dist/esm/components/ai-generator/AIContentGenerator.js +1 -0
  24. package/dist/esm/components/ai-generator/components/PickProduct.js +1 -0
  25. package/dist/esm/components/resize/Spacing.js +1 -0
  26. package/dist/esm/components/theme-section/CreateThemeSection.js +1 -0
  27. package/dist/esm/contexts/ProductContext.js +1 -0
  28. package/dist/esm/helpers/background.js +35 -1
  29. package/dist/esm/helpers/interaction/index.js +1 -0
  30. package/dist/esm/hooks/useAnimations.js +1 -0
  31. package/dist/esm/hooks/useInitialSwatchesOptions.js +1 -0
  32. package/dist/esm/hooks/useProduct.js +1 -0
  33. package/dist/esm/hooks/useStickyStore.js +10 -0
  34. package/dist/esm/index.js +2 -1
  35. package/dist/types/index.d.ts +67 -2
  36. package/package.json +2 -2
@@ -25,6 +25,7 @@ require('swr/mutation');
25
25
  require('swr/infinite');
26
26
  require('vanilla-lazyload');
27
27
  require('../hooks/useCartUI.js');
28
+ require('../hooks/useStickyStore.js');
28
29
 
29
30
  const SECTION_LIMIT = 25;
30
31
  const notVisible = (el)=>{
@@ -20,6 +20,7 @@ var shop = require('../hooks/shop.js');
20
20
  require('swr/infinite');
21
21
  require('vanilla-lazyload');
22
22
  require('../hooks/useCartUI.js');
23
+ require('../hooks/useStickyStore.js');
23
24
  var ComponentAnimation = require('./ComponentAnimation.js');
24
25
 
25
26
  const ComponentWrapperPreview = ({ children, ...props })=>{
@@ -17,6 +17,7 @@ require('@gem-sdk/adapter-shopify');
17
17
  require('swr/mutation');
18
18
  require('vanilla-lazyload');
19
19
  require('../hooks/useCartUI.js');
20
+ require('../hooks/useStickyStore.js');
20
21
 
21
22
  const InteractionSuffix = ({ uid })=>{
22
23
  const { closeSelectOnPage, selectInteractionElement } = index.useInteraction();
@@ -13,6 +13,7 @@ require('swr/mutation');
13
13
  require('swr/infinite');
14
14
  require('vanilla-lazyload');
15
15
  require('../hooks/useCartUI.js');
16
+ require('../hooks/useStickyStore.js');
16
17
  require('react-transition-group');
17
18
  require('@gem-sdk/core');
18
19
  var constant = require('./constant.js');
@@ -20,6 +20,7 @@ require('@gem-sdk/adapter-shopify');
20
20
  require('swr/mutation');
21
21
  require('vanilla-lazyload');
22
22
  require('../hooks/useCartUI.js');
23
+ require('../hooks/useStickyStore.js');
23
24
 
24
25
  const RenderCustomCode = ({ uid, advanced })=>{
25
26
  const mode = shop.useEditorMode();
@@ -28,6 +28,7 @@ require('swr/mutation');
28
28
  require('swr/infinite');
29
29
  require('vanilla-lazyload');
30
30
  require('../../hooks/useCartUI.js');
31
+ require('../../hooks/useStickyStore.js');
31
32
 
32
33
  const AIContentGenerator = ({ ...props })=>{
33
34
  const [isShowPopup, setIsShowPopup] = react.useState(false);
@@ -17,6 +17,7 @@ require('swr/mutation');
17
17
  var useProductQuery = require('../../../hooks/shop/use-product-query.js');
18
18
  require('vanilla-lazyload');
19
19
  require('../../../hooks/useCartUI.js');
20
+ require('../../../hooks/useStickyStore.js');
20
21
 
21
22
  const PickProduct = (props)=>{
22
23
  const LIMIT_PRODUCTS = 8;
@@ -19,6 +19,7 @@ require('@gem-sdk/adapter-shopify');
19
19
  require('swr/mutation');
20
20
  require('vanilla-lazyload');
21
21
  require('../../hooks/useCartUI.js');
22
+ require('../../hooks/useStickyStore.js');
22
23
 
23
24
  function Spacing(props) {
24
25
  const isThemeSectionEditor = BuilderPreviewContext.useBuilderPreviewStore((s)=>s.isThemeSectionEditor);
@@ -16,6 +16,7 @@ require('@gem-sdk/adapter-shopify');
16
16
  require('swr/mutation');
17
17
  require('vanilla-lazyload');
18
18
  require('../../hooks/useCartUI.js');
19
+ require('../../hooks/useStickyStore.js');
19
20
 
20
21
  const SHOW_TOOLTIP_TIMEOUT = 600;
21
22
  const NUMBER_OF_THEME_SECTION_CREATED_TO_SHOW_TOOLTIP = 1;
@@ -10,6 +10,7 @@ require('swr/mutation');
10
10
  require('swr/infinite');
11
11
  require('vanilla-lazyload');
12
12
  require('../hooks/useCartUI.js');
13
+ require('../hooks/useStickyStore.js');
13
14
  var variant = require('../helpers/variant.js');
14
15
  require('react-transition-group');
15
16
  require('@gem-sdk/core');
@@ -3,6 +3,7 @@
3
3
  var constant = require('./constant.js');
4
4
  var colors = require('./colors.js');
5
5
  var makeStyle = require('./make-style.js');
6
+ var getResonsiveValue = require('./get-resonsive-value.js');
6
7
 
7
8
  const isEmptyBg = (value)=>{
8
9
  return value?.videoHtml5 === undefined && value?.video === undefined && !value?.videoType;
@@ -239,9 +240,43 @@ const getGradientBgrStyleByDevice = (backgroundStyle, ignoreBackgroundImage)=>{
239
240
  });
240
241
  return bgrStyle;
241
242
  };
243
+ const getBgByDevice = (data)=>{
244
+ const { backgroundColor, backgroundImage } = data;
245
+ if (!backgroundColor && !backgroundImage) return;
246
+ const mapBgImage = {
247
+ desktop: getResonsiveValue.getResponsiveValueByScreen(backgroundImage, 'desktop'),
248
+ tablet: getResonsiveValue.getResponsiveValueByScreen(backgroundImage, 'tablet'),
249
+ mobile: getResonsiveValue.getResponsiveValueByScreen(backgroundImage, 'mobile')
250
+ };
251
+ const bgrStyle = {};
252
+ [
253
+ 'desktop',
254
+ 'tablet',
255
+ 'mobile'
256
+ ].forEach((device)=>{
257
+ const colorValue = getResonsiveValue.getResponsiveValueByScreen(backgroundColor, device);
258
+ const imageValue = backgroundImage ? getBgImageByDevice(mapBgImage, device) : undefined;
259
+ if (colorValue?.includes(GRADIENT_BGR_KEY)) {
260
+ Object.assign(bgrStyle, {
261
+ [`--bgi${device !== 'desktop' ? '-' + device : ''}`]: colorValue
262
+ });
263
+ } else {
264
+ Object.assign(bgrStyle, {
265
+ [`--bgc${device !== 'desktop' ? '-' + device : ''}`]: colorValue
266
+ });
267
+ }
268
+ if (imageValue && imageValue !== 'none') {
269
+ Object.assign(bgrStyle, {
270
+ [`--bgi${device !== 'desktop' ? '-' + device : ''}`]: imageValue
271
+ });
272
+ }
273
+ });
274
+ return bgrStyle;
275
+ };
242
276
 
243
277
  exports.GRADIENT_BGR_KEY = GRADIENT_BGR_KEY;
244
278
  exports.composeBackgroundCss = composeBackgroundCss;
279
+ exports.getBgByDevice = getBgByDevice;
245
280
  exports.getBgImageByDevice = getBgImageByDevice;
246
281
  exports.getBgVideoByDevice = getBgVideoByDevice;
247
282
  exports.getGradientBgrStyleByDevice = getGradientBgrStyleByDevice;
@@ -16,6 +16,7 @@ require('@gem-sdk/adapter-shopify');
16
16
  require('swr/mutation');
17
17
  require('vanilla-lazyload');
18
18
  require('../../hooks/useCartUI.js');
19
+ require('../../hooks/useStickyStore.js');
19
20
 
20
21
  const useInteraction = ()=>{
21
22
  const ref = react.useRef();
@@ -11,6 +11,7 @@ require('swr/mutation');
11
11
  require('swr/infinite');
12
12
  require('vanilla-lazyload');
13
13
  require('./useCartUI.js');
14
+ require('./useStickyStore.js');
14
15
  require('react-transition-group');
15
16
  require('@gem-sdk/core');
16
17
  require('classnames');
@@ -17,6 +17,7 @@ require('swr/mutation');
17
17
  require('swr/infinite');
18
18
  require('vanilla-lazyload');
19
19
  require('./useCartUI.js');
20
+ require('./useStickyStore.js');
20
21
  require('react-transition-group');
21
22
  require('@gem-sdk/core');
22
23
  require('classnames');
@@ -12,6 +12,7 @@ require('swr/mutation');
12
12
  require('swr/infinite');
13
13
  require('vanilla-lazyload');
14
14
  require('./useCartUI.js');
15
+ require('./useStickyStore.js');
15
16
  var variant = require('../helpers/variant.js');
16
17
  var useShopifyLink = require('./shop/useShopifyLink.js');
17
18
  require('react-transition-group');
@@ -0,0 +1,12 @@
1
+ 'use strict';
2
+
3
+ var zustand = require('zustand');
4
+
5
+ const useStickyStore = zustand.create((set)=>({
6
+ isStickyVisible: false,
7
+ setStickyVisible: (visible)=>set({
8
+ isStickyVisible: visible
9
+ })
10
+ }));
11
+
12
+ exports.useStickyStore = useStickyStore;
package/dist/cjs/index.js CHANGED
@@ -106,6 +106,7 @@ var useLoadScript = require('./hooks/useLoadScript.js');
106
106
  var useMoney = require('./hooks/useMoney.js');
107
107
  var usePrevious = require('./hooks/usePrevious.js');
108
108
  var useI18n = require('./hooks/useI18n.js');
109
+ var useStickyStore = require('./hooks/useStickyStore.js');
109
110
  var useProduct = require('./hooks/useProduct.js');
110
111
  var useShopifyLink = require('./hooks/shop/useShopifyLink.js');
111
112
  var useProductList = require('./hooks/useProductList.js');
@@ -221,6 +222,7 @@ exports.gtag = gtag;
221
222
  exports.tiktokpixel = tiktokpixel;
222
223
  exports.GRADIENT_BGR_KEY = background.GRADIENT_BGR_KEY;
223
224
  exports.composeBackgroundCss = background.composeBackgroundCss;
225
+ exports.getBgByDevice = background.getBgByDevice;
224
226
  exports.getBgImageByDevice = background.getBgImageByDevice;
225
227
  exports.getBgVideoByDevice = background.getBgVideoByDevice;
226
228
  exports.getGradientBgrStyleByDevice = background.getGradientBgrStyleByDevice;
@@ -386,6 +388,7 @@ exports.useLoadScript = useLoadScript.default;
386
388
  exports.useMoney = useMoney.default;
387
389
  exports.usePrevious = usePrevious.usePrevious;
388
390
  exports.useI18n = useI18n.useI18n;
391
+ exports.useStickyStore = useStickyStore.useStickyStore;
389
392
  exports.useCheckAvailableVariantInStock = useProduct.useCheckAvailableVariantInStock;
390
393
  exports.useCurrentVariant = useProduct.useCurrentVariant;
391
394
  exports.useCurrentVariantInStock = useProduct.useCurrentVariantInStock;
@@ -21,6 +21,7 @@ import 'swr/mutation';
21
21
  import 'swr/infinite';
22
22
  import 'vanilla-lazyload';
23
23
  import '../hooks/useCartUI.js';
24
+ import '../hooks/useStickyStore.js';
24
25
 
25
26
  const SECTION_LIMIT = 25;
26
27
  const notVisible = (el)=>{
@@ -16,6 +16,7 @@ import { usePageType } from '../hooks/shop.js';
16
16
  import 'swr/infinite';
17
17
  import 'vanilla-lazyload';
18
18
  import '../hooks/useCartUI.js';
19
+ import '../hooks/useStickyStore.js';
19
20
  import ComponentAnimation from './ComponentAnimation.js';
20
21
 
21
22
  const ComponentWrapperPreview = ({ children, ...props })=>{
@@ -15,6 +15,7 @@ import '@gem-sdk/adapter-shopify';
15
15
  import 'swr/mutation';
16
16
  import 'vanilla-lazyload';
17
17
  import '../hooks/useCartUI.js';
18
+ import '../hooks/useStickyStore.js';
18
19
 
19
20
  const InteractionSuffix = ({ uid })=>{
20
21
  const { closeSelectOnPage, selectInteractionElement } = useInteraction();
@@ -9,6 +9,7 @@ import 'swr/mutation';
9
9
  import 'swr/infinite';
10
10
  import 'vanilla-lazyload';
11
11
  import '../hooks/useCartUI.js';
12
+ import '../hooks/useStickyStore.js';
12
13
  import 'react-transition-group';
13
14
  import '@gem-sdk/core';
14
15
  import { disableWrap, customRenderChildren } from './constant.js';
@@ -16,6 +16,7 @@ import '@gem-sdk/adapter-shopify';
16
16
  import 'swr/mutation';
17
17
  import 'vanilla-lazyload';
18
18
  import '../hooks/useCartUI.js';
19
+ import '../hooks/useStickyStore.js';
19
20
 
20
21
  const RenderCustomCode = ({ uid, advanced })=>{
21
22
  const mode = useEditorMode();
@@ -26,6 +26,7 @@ import 'swr/mutation';
26
26
  import 'swr/infinite';
27
27
  import 'vanilla-lazyload';
28
28
  import '../../hooks/useCartUI.js';
29
+ import '../../hooks/useStickyStore.js';
29
30
 
30
31
  const AIContentGenerator = ({ ...props })=>{
31
32
  const [isShowPopup, setIsShowPopup] = useState(false);
@@ -15,6 +15,7 @@ import 'swr/mutation';
15
15
  import { useProductQuery } from '../../../hooks/shop/use-product-query.js';
16
16
  import 'vanilla-lazyload';
17
17
  import '../../../hooks/useCartUI.js';
18
+ import '../../../hooks/useStickyStore.js';
18
19
 
19
20
  const PickProduct = (props)=>{
20
21
  const LIMIT_PRODUCTS = 8;
@@ -15,6 +15,7 @@ import '@gem-sdk/adapter-shopify';
15
15
  import 'swr/mutation';
16
16
  import 'vanilla-lazyload';
17
17
  import '../../hooks/useCartUI.js';
18
+ import '../../hooks/useStickyStore.js';
18
19
 
19
20
  function Spacing(props) {
20
21
  const isThemeSectionEditor = useBuilderPreviewStore((s)=>s.isThemeSectionEditor);
@@ -14,6 +14,7 @@ import '@gem-sdk/adapter-shopify';
14
14
  import 'swr/mutation';
15
15
  import 'vanilla-lazyload';
16
16
  import '../../hooks/useCartUI.js';
17
+ import '../../hooks/useStickyStore.js';
17
18
 
18
19
  const SHOW_TOOLTIP_TIMEOUT = 600;
19
20
  const NUMBER_OF_THEME_SECTION_CREATED_TO_SHOW_TOOLTIP = 1;
@@ -8,6 +8,7 @@ import 'swr/mutation';
8
8
  import 'swr/infinite';
9
9
  import 'vanilla-lazyload';
10
10
  import '../hooks/useCartUI.js';
11
+ import '../hooks/useStickyStore.js';
11
12
  import { checkInStock } from '../helpers/variant.js';
12
13
  import 'react-transition-group';
13
14
  import '@gem-sdk/core';
@@ -1,6 +1,7 @@
1
1
  import { devicesMapping } from './constant.js';
2
2
  import { isColor, getSingleColorVariable } from './colors.js';
3
3
  import { makeStyleResponsive } from './make-style.js';
4
+ import { getResponsiveValueByScreen } from './get-resonsive-value.js';
4
5
 
5
6
  const isEmptyBg = (value)=>{
6
7
  return value?.videoHtml5 === undefined && value?.video === undefined && !value?.videoType;
@@ -237,5 +238,38 @@ const getGradientBgrStyleByDevice = (backgroundStyle, ignoreBackgroundImage)=>{
237
238
  });
238
239
  return bgrStyle;
239
240
  };
241
+ const getBgByDevice = (data)=>{
242
+ const { backgroundColor, backgroundImage } = data;
243
+ if (!backgroundColor && !backgroundImage) return;
244
+ const mapBgImage = {
245
+ desktop: getResponsiveValueByScreen(backgroundImage, 'desktop'),
246
+ tablet: getResponsiveValueByScreen(backgroundImage, 'tablet'),
247
+ mobile: getResponsiveValueByScreen(backgroundImage, 'mobile')
248
+ };
249
+ const bgrStyle = {};
250
+ [
251
+ 'desktop',
252
+ 'tablet',
253
+ 'mobile'
254
+ ].forEach((device)=>{
255
+ const colorValue = getResponsiveValueByScreen(backgroundColor, device);
256
+ const imageValue = backgroundImage ? getBgImageByDevice(mapBgImage, device) : undefined;
257
+ if (colorValue?.includes(GRADIENT_BGR_KEY)) {
258
+ Object.assign(bgrStyle, {
259
+ [`--bgi${device !== 'desktop' ? '-' + device : ''}`]: colorValue
260
+ });
261
+ } else {
262
+ Object.assign(bgrStyle, {
263
+ [`--bgc${device !== 'desktop' ? '-' + device : ''}`]: colorValue
264
+ });
265
+ }
266
+ if (imageValue && imageValue !== 'none') {
267
+ Object.assign(bgrStyle, {
268
+ [`--bgi${device !== 'desktop' ? '-' + device : ''}`]: imageValue
269
+ });
270
+ }
271
+ });
272
+ return bgrStyle;
273
+ };
240
274
 
241
- export { GRADIENT_BGR_KEY, composeBackgroundCss, getBgImageByDevice, getBgVideoByDevice, getGradientBgrStyleByDevice, getGradientBgrStyleForButton, getStyleBackgroundByDevice, getStyleBgColor, makeFixedBgAttachment };
275
+ export { GRADIENT_BGR_KEY, composeBackgroundCss, getBgByDevice, getBgImageByDevice, getBgVideoByDevice, getGradientBgrStyleByDevice, getGradientBgrStyleForButton, getStyleBackgroundByDevice, getStyleBgColor, makeFixedBgAttachment };
@@ -14,6 +14,7 @@ import '@gem-sdk/adapter-shopify';
14
14
  import 'swr/mutation';
15
15
  import 'vanilla-lazyload';
16
16
  import '../../hooks/useCartUI.js';
17
+ import '../../hooks/useStickyStore.js';
17
18
 
18
19
  const useInteraction = ()=>{
19
20
  const ref = useRef();
@@ -9,6 +9,7 @@ import 'swr/mutation';
9
9
  import 'swr/infinite';
10
10
  import 'vanilla-lazyload';
11
11
  import './useCartUI.js';
12
+ import './useStickyStore.js';
12
13
  import 'react-transition-group';
13
14
  import '@gem-sdk/core';
14
15
  import 'classnames';
@@ -13,6 +13,7 @@ import 'swr/mutation';
13
13
  import 'swr/infinite';
14
14
  import 'vanilla-lazyload';
15
15
  import './useCartUI.js';
16
+ import './useStickyStore.js';
16
17
  import 'react-transition-group';
17
18
  import '@gem-sdk/core';
18
19
  import 'classnames';
@@ -10,6 +10,7 @@ import 'swr/mutation';
10
10
  import 'swr/infinite';
11
11
  import 'vanilla-lazyload';
12
12
  import './useCartUI.js';
13
+ import './useStickyStore.js';
13
14
  import { checkInStock } from '../helpers/variant.js';
14
15
  import { useShopifyLink } from './shop/useShopifyLink.js';
15
16
  import 'react-transition-group';
@@ -0,0 +1,10 @@
1
+ import { create } from 'zustand';
2
+
3
+ const useStickyStore = create((set)=>({
4
+ isStickyVisible: false,
5
+ setStickyVisible: (visible)=>set({
6
+ isStickyVisible: visible
7
+ })
8
+ }));
9
+
10
+ export { useStickyStore };
package/dist/esm/index.js CHANGED
@@ -59,7 +59,7 @@ import * as gtag from './helpers/tracking/gtag.js';
59
59
  export { gtag };
60
60
  import * as tiktokpixel from './helpers/tracking/tiktokpixel.js';
61
61
  export { tiktokpixel };
62
- export { GRADIENT_BGR_KEY, composeBackgroundCss, getBgImageByDevice, getBgVideoByDevice, getGradientBgrStyleByDevice, getGradientBgrStyleForButton, getStyleBackgroundByDevice, getStyleBgColor, makeFixedBgAttachment } from './helpers/background.js';
62
+ export { GRADIENT_BGR_KEY, composeBackgroundCss, getBgByDevice, getBgImageByDevice, getBgVideoByDevice, getGradientBgrStyleByDevice, getGradientBgrStyleForButton, getStyleBackgroundByDevice, getStyleBgColor, makeFixedBgAttachment } from './helpers/background.js';
63
63
  export { composeBackgroundImageCss, getBgImageSourceByDevice, getStyleBackgroundImageByDevice, getStyleBgImageSource } from './helpers/backgroundImage.js';
64
64
  export { composeTextColorCss, getGlobalColorCSSProp, getGlobalColorClass, getGlobalColorResponsiveClass, getGlobalColorResponsiveStyle, getGlobalColorStateClass, getGlobalColorStateClassDynamicBtn, getGlobalColorStateResponsiveClass, getGlobalColorStateResponsiveClassDynamicBtn, getGlobalColorStateResponsiveStyle, getGlobalColorStateStyle, getGlobalColorStyle, getSingleColorVariable, isColor } from './helpers/colors.js';
65
65
  export { composeAdvanceStyle, composeAdvanceStyleForPostPurchase, convertBoxShadowV1ToV2, filterAttrInStyle, getCornerStyle, removeAttrInStyle, removePaddingYInStyle, splitStyle } from './helpers/compose-advance-style.js';
@@ -107,6 +107,7 @@ export { default as useLoadScript } from './hooks/useLoadScript.js';
107
107
  export { default as useMoney } from './hooks/useMoney.js';
108
108
  export { usePrevious } from './hooks/usePrevious.js';
109
109
  export { useI18n } from './hooks/useI18n.js';
110
+ export { useStickyStore } from './hooks/useStickyStore.js';
110
111
  export { useCheckAvailableVariantInStock, useCurrentVariant, useCurrentVariantInStock, useFeaturedImageGlobal, useHasPreSelected, useIsSyncProduct, useProduct, useProductBundleDiscount, useProductOfferDiscount, useProductProperties, useProductShopifyEditLink, useQuantity, useSelectedOption, useUniqProductID, useVariant, useVariantOutStock, useVariants } from './hooks/useProduct.js';
111
112
  export { useShopifyLink } from './hooks/shop/useShopifyLink.js';
112
113
  export { useProductList, useProductListProducts, useProductListSettings, useProductListStyles } from './hooks/useProductList.js';
@@ -1,3 +1,4 @@
1
+ import * as zustand from 'zustand';
1
2
  import { StoreApi } from 'zustand';
2
3
  import { Cart as Cart$2, addToCartOperation, getCartOperation, cartDiscountCodesUpdateOperation, cartNoteUpdateOperation, createCartOperation, removeCartItemOperation, updateCartLineOperation } from '@gem-sdk/adapter-shopify';
3
4
  import { SWRConfig, SWRConfiguration, MutatorOptions } from 'swr';
@@ -37662,6 +37663,10 @@ declare const makeFixedBgAttachment: (background?: ObjectDevices<Background>) =>
37662
37663
  declare const GRADIENT_BGR_KEY = "linear-gradient";
37663
37664
  declare const getGradientBgrStyleForButton: (backgroundStyle: Partial<Record<StateType, ColorValueType>> | undefined) => {} | undefined;
37664
37665
  declare const getGradientBgrStyleByDevice: (backgroundStyle: Partial<Record<Devices$1, Background>> | undefined, ignoreBackgroundImage?: Record<Devices$1, boolean>) => {} | undefined;
37666
+ declare const getBgByDevice: (data: {
37667
+ backgroundColor: Partial<Record<Devices$1, string>> | undefined;
37668
+ backgroundImage: Partial<Record<Devices$1, BackgroundImageValue>> | undefined;
37669
+ }) => {} | undefined;
37665
37670
 
37666
37671
  type Devices = 'desktop' | 'tablet' | 'mobile';
37667
37672
  type Options = {
@@ -37680,7 +37685,7 @@ declare const composeBackgroundImageCss: (config?: ObjectDevices<StateProp<Backg
37680
37685
  }) => string | undefined;
37681
37686
 
37682
37687
  type ColorType = 'bg' | 'text' | 'border' | 'decoration';
37683
- type ColorProp = 'bgc' | 'bc' | 'c' | 'bg' | 'bbc' | 'btc' | 'blc' | 'brc';
37688
+ type ColorProp = 'bgc' | 'bc' | 'c' | 'bg' | 'bbc' | 'btc' | 'blc' | 'brc' | 'bgi';
37684
37689
  declare const getGlobalColorCSSProp: (color?: ColorValueType) => string | undefined;
37685
37690
  declare const getGlobalColorClass: (type: ColorType, color?: ColorValueType) => string;
37686
37691
  declare const getGlobalColorResponsiveClass: (type: ColorType, data?: ObjectDevices<ColorValueType>) => string;
@@ -38117,6 +38122,15 @@ declare const filterAttrInStyle: (style?: React.CSSProperties, filterKeys?: stri
38117
38122
  '--jc-mobile'?: csstype.Property.JustifyContent | undefined;
38118
38123
  '--hvr-jc-mobile'?: csstype.Property.JustifyContent | undefined;
38119
38124
  '--focus-jc-mobile'?: csstype.Property.JustifyContent | undefined;
38125
+ '--js'?: csstype.Property.JustifySelf | undefined;
38126
+ '--hvr-js'?: csstype.Property.JustifySelf | undefined;
38127
+ '--focus-js'?: csstype.Property.JustifySelf | undefined;
38128
+ '--js-tablet'?: csstype.Property.JustifySelf | undefined;
38129
+ '--hvr-js-tablet'?: csstype.Property.JustifySelf | undefined;
38130
+ '--focus-js-tablet'?: csstype.Property.JustifySelf | undefined;
38131
+ '--js-mobile'?: csstype.Property.JustifySelf | undefined;
38132
+ '--hvr-js-mobile'?: csstype.Property.JustifySelf | undefined;
38133
+ '--focus-js-mobile'?: csstype.Property.JustifySelf | undefined;
38120
38134
  '--left'?: csstype.Property.Left<string | number> | undefined;
38121
38135
  '--hvr-left'?: csstype.Property.Left<string | number> | undefined;
38122
38136
  '--focus-left'?: csstype.Property.Left<string | number> | undefined;
@@ -39720,6 +39734,15 @@ declare const removeAttrInStyle: (style?: React.CSSProperties, filterKeys?: stri
39720
39734
  '--jc-mobile'?: csstype.Property.JustifyContent | undefined;
39721
39735
  '--hvr-jc-mobile'?: csstype.Property.JustifyContent | undefined;
39722
39736
  '--focus-jc-mobile'?: csstype.Property.JustifyContent | undefined;
39737
+ '--js'?: csstype.Property.JustifySelf | undefined;
39738
+ '--hvr-js'?: csstype.Property.JustifySelf | undefined;
39739
+ '--focus-js'?: csstype.Property.JustifySelf | undefined;
39740
+ '--js-tablet'?: csstype.Property.JustifySelf | undefined;
39741
+ '--hvr-js-tablet'?: csstype.Property.JustifySelf | undefined;
39742
+ '--focus-js-tablet'?: csstype.Property.JustifySelf | undefined;
39743
+ '--js-mobile'?: csstype.Property.JustifySelf | undefined;
39744
+ '--hvr-js-mobile'?: csstype.Property.JustifySelf | undefined;
39745
+ '--focus-js-mobile'?: csstype.Property.JustifySelf | undefined;
39723
39746
  '--left'?: csstype.Property.Left<string | number> | undefined;
39724
39747
  '--hvr-left'?: csstype.Property.Left<string | number> | undefined;
39725
39748
  '--focus-left'?: csstype.Property.Left<string | number> | undefined;
@@ -41324,6 +41347,15 @@ declare const removePaddingYInStyle: (style?: React.CSSProperties) => {
41324
41347
  '--jc-mobile'?: csstype.Property.JustifyContent | undefined;
41325
41348
  '--hvr-jc-mobile'?: csstype.Property.JustifyContent | undefined;
41326
41349
  '--focus-jc-mobile'?: csstype.Property.JustifyContent | undefined;
41350
+ '--js'?: csstype.Property.JustifySelf | undefined;
41351
+ '--hvr-js'?: csstype.Property.JustifySelf | undefined;
41352
+ '--focus-js'?: csstype.Property.JustifySelf | undefined;
41353
+ '--js-tablet'?: csstype.Property.JustifySelf | undefined;
41354
+ '--hvr-js-tablet'?: csstype.Property.JustifySelf | undefined;
41355
+ '--focus-js-tablet'?: csstype.Property.JustifySelf | undefined;
41356
+ '--js-mobile'?: csstype.Property.JustifySelf | undefined;
41357
+ '--hvr-js-mobile'?: csstype.Property.JustifySelf | undefined;
41358
+ '--focus-js-mobile'?: csstype.Property.JustifySelf | undefined;
41327
41359
  '--left'?: csstype.Property.Left<string | number> | undefined;
41328
41360
  '--hvr-left'?: csstype.Property.Left<string | number> | undefined;
41329
41361
  '--focus-left'?: csstype.Property.Left<string | number> | undefined;
@@ -43029,6 +43061,15 @@ declare const getResponsiveStyleShadow: (value?: any, styleAppliedFor?: ShadowSt
43029
43061
  '--jc-mobile'?: csstype.Property.JustifyContent | undefined;
43030
43062
  '--hvr-jc-mobile'?: csstype.Property.JustifyContent | undefined;
43031
43063
  '--focus-jc-mobile'?: csstype.Property.JustifyContent | undefined;
43064
+ '--js'?: csstype.Property.JustifySelf | undefined;
43065
+ '--hvr-js'?: csstype.Property.JustifySelf | undefined;
43066
+ '--focus-js'?: csstype.Property.JustifySelf | undefined;
43067
+ '--js-tablet'?: csstype.Property.JustifySelf | undefined;
43068
+ '--hvr-js-tablet'?: csstype.Property.JustifySelf | undefined;
43069
+ '--focus-js-tablet'?: csstype.Property.JustifySelf | undefined;
43070
+ '--js-mobile'?: csstype.Property.JustifySelf | undefined;
43071
+ '--hvr-js-mobile'?: csstype.Property.JustifySelf | undefined;
43072
+ '--focus-js-mobile'?: csstype.Property.JustifySelf | undefined;
43032
43073
  '--left'?: csstype.Property.Left<string | number> | undefined;
43033
43074
  '--hvr-left'?: csstype.Property.Left<string | number> | undefined;
43034
43075
  '--focus-left'?: csstype.Property.Left<string | number> | undefined;
@@ -44635,6 +44676,15 @@ declare const composeShadow: (shadowInput?: ObjectDevices<StateProp<ShadowProps>
44635
44676
  '--jc-mobile'?: csstype.Property.JustifyContent | undefined;
44636
44677
  '--hvr-jc-mobile'?: csstype.Property.JustifyContent | undefined;
44637
44678
  '--focus-jc-mobile'?: csstype.Property.JustifyContent | undefined;
44679
+ '--js'?: csstype.Property.JustifySelf | undefined;
44680
+ '--hvr-js'?: csstype.Property.JustifySelf | undefined;
44681
+ '--focus-js'?: csstype.Property.JustifySelf | undefined;
44682
+ '--js-tablet'?: csstype.Property.JustifySelf | undefined;
44683
+ '--hvr-js-tablet'?: csstype.Property.JustifySelf | undefined;
44684
+ '--focus-js-tablet'?: csstype.Property.JustifySelf | undefined;
44685
+ '--js-mobile'?: csstype.Property.JustifySelf | undefined;
44686
+ '--hvr-js-mobile'?: csstype.Property.JustifySelf | undefined;
44687
+ '--focus-js-mobile'?: csstype.Property.JustifySelf | undefined;
44638
44688
  '--left'?: csstype.Property.Left<string | number> | undefined;
44639
44689
  '--hvr-left'?: csstype.Property.Left<string | number> | undefined;
44640
44690
  '--focus-left'?: csstype.Property.Left<string | number> | undefined;
@@ -46295,6 +46345,15 @@ declare const composeTypographyStyle: (typo?: TypographySettingV2, typography?:
46295
46345
  '--jc-mobile'?: csstype.Property.JustifyContent | undefined;
46296
46346
  '--hvr-jc-mobile'?: csstype.Property.JustifyContent | undefined;
46297
46347
  '--focus-jc-mobile'?: csstype.Property.JustifyContent | undefined;
46348
+ '--js'?: csstype.Property.JustifySelf | undefined;
46349
+ '--hvr-js'?: csstype.Property.JustifySelf | undefined;
46350
+ '--focus-js'?: csstype.Property.JustifySelf | undefined;
46351
+ '--js-tablet'?: csstype.Property.JustifySelf | undefined;
46352
+ '--hvr-js-tablet'?: csstype.Property.JustifySelf | undefined;
46353
+ '--focus-js-tablet'?: csstype.Property.JustifySelf | undefined;
46354
+ '--js-mobile'?: csstype.Property.JustifySelf | undefined;
46355
+ '--hvr-js-mobile'?: csstype.Property.JustifySelf | undefined;
46356
+ '--focus-js-mobile'?: csstype.Property.JustifySelf | undefined;
46298
46357
  '--left'?: csstype.Property.Left<string | number> | undefined;
46299
46358
  '--hvr-left'?: csstype.Property.Left<string | number> | undefined;
46300
46359
  '--focus-left'?: csstype.Property.Left<string | number> | undefined;
@@ -47660,6 +47719,12 @@ declare const useI18n: () => {
47660
47719
  t: (string: string) => any;
47661
47720
  };
47662
47721
 
47722
+ type StickyStore = {
47723
+ isStickyVisible: boolean;
47724
+ setStickyVisible: (visible?: boolean) => void;
47725
+ };
47726
+ declare const useStickyStore: zustand.UseBoundStore<zustand.StoreApi<StickyStore>>;
47727
+
47663
47728
  declare const useUniqProductID: () => string;
47664
47729
  declare const useProduct: () => ProductSelectFragment | undefined;
47665
47730
  declare const useFeaturedImageGlobal: () => MediaSelectFragment | undefined;
@@ -47809,4 +47874,4 @@ declare const useInteraction: () => {
47809
47874
 
47810
47875
  declare const DEVICES: NameDevices$1[];
47811
47876
 
47812
- 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, ArticlesDocument, ArticlesQueryResponse, ArticlesQueryVariables, Background, BackgroundImageValue, BackgroundMedia, BackgroundVideoValue, BaseProps, BasePropsWrap, BlockEntity, BlogsDocument, BlogsQueryResponse, BlogsQueryVariables, 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, DEVICES, DeepPartial, DotStyle, Dropdown, DynamicCollection, DynamicProduct, ExtractState, FastBundleWidgetType, FeraReviewsV3WidgetType, FeraReviewsWidgetType, FetchCollectionArgs, FetchFunc, FetchProductParams, FlexDirectionProp, FontName, GRADIENT_BGR_KEY, GlobalStyleConfig, GlobalStyleResponsiveConfig, GlobalSwatchesData, GraphQLConnection, GroupPropType, GrowaveWidgetTypeV1, GrowaveWidgetTypeV2, HSLAColorType, HSLColorType, HexColorType, I18nProvider, I18nProviderProps, 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, LooxReviewsWidgetTypeV2, MediaSelectFragment, ModalProvider, ModalProviderProps, NameDevices$1 as NameDevices, NestedKeys, ObjectDeviceGlobalType, ObjectDevices, ObjectLayoutValue, OmnisendWidgetType, OnlyOne, OpinewDesignWidgetType, OpinewWidgetType, Option$4 as Option, OptionNormalStyle, OptionSpecialStyle, Options$1 as Options, PaddingType, PageContext, PageProvider, PageProviderProps, PageType, PageViewUpDocument, PageViewUpMutationResponse, PageViewUpMutationVariables, PickyStoryWidgetType, PostPurchaseTypo, PreOrderNowWodWidgetType, PreviewThemePageDocument, PreviewThemePageQueryResponse, PreviewThemePageQueryVariables, Primitive, ProductInputAnalytic, ProductListProvider, ProductListProviderProps, ProductOffer, ProductProvider, ProductProviderProps, ProductReviewsWidgetType, ProductSelectFragment, ProductsDocument, ProductsQueryResponse, ProductsQueryVariables, PublicStoreFrontData, PublishedShopMetasDocument, PublishedShopMetasQueryResponse, PublishedShopMetasQueryVariables, 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, SaleFunnelOfferDocument, SaleFunnelOfferQueryResponse, SaleFunnelOfferQueryVariables, Scalars$1 as Scalars, ScaleByDirection, SectionData, SectionEntity, SectionProvider, SectionProviderProps, Setting, SettingByAnimationType, SettingByAnimationValues, SettingUIGroup, ShadowProps, ShadowStyle, ShadowStyleApplied, ShadowType, ShopLibraryPageDocument, ShopLibraryPageQueryResponse, ShopLibraryPageQueryVariables, ShopProvider, ShopProviderProps, ShopShopifyDocument, ShopShopifyQueryResponse, ShopShopifyQueryVariables, shop as ShopType, SizeProps, SizeSetting$1 as SizeSetting, SizeSettingGlobal, SizeType, SpacingType, StampedWidgetType, StampedWidgetTypeV2, StateProp, StateSelector, StateType, StoreConfig, StorePropertyDocument, StorePropertyQueryResponse, StorePropertyQueryVariables, SwatchesOptionType, SwatchesOptionValue, TagShopWidgetType, ThemePageDocument, ThemePageQueryResponse, ThemePageQueryVariables, ThemeSectionStatus$1 as ThemeSectionStatus, TransformProp, TriggerConfig, TrustooWidgetType, TrustooWidgetTypeV2, TypographyProps, TypographySetting, TypographySettingV2, TypographyType, TypographyV2Attrs, TypographyV2Props, UltimateSalesBoostWidgetType, ValidateType, VariableRelatedStyles, VariantSelectFragment, VitalsWidgetType, WiserV2WidgetType, WiserWidgetType, WrapRenderChildren, YotpoReviewsWidgetType, addAppBlockId, animations, baseAssetURL, calculateFirstProduct, checkAvailableVariantInStock, checkInStock, 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, convertHTML, convertOldLayout, convertTextAlignToJustify, dataStringify, fetchMedias, fetchVariants, filterAttrInStyle, filterToolbarPreview, filterTruthyStyles, flattenConnection, formatMoney, fpixel, genSizeClass, genTypoClass, genVariable, generateCollectionQueryKey, generateProductQueryKey, generateProductsQueryKey, getAlignmentClasses, getAppBlocks, getAspectRatioGlobalSize, getBgImageByDevice, getBgImageSourceByDevice, getBgVideoByDevice, getBorderRadiusStyle, getBorderStyle, getCarouselContainerHeight, getCollection, getCornerCSSFromGlobal, getCornerStyle, getCustomRadius, getGlobalColorCSSProp, getGlobalColorClass, getGlobalColorResponsiveClass, getGlobalColorResponsiveStyle, getGlobalColorStateClass, getGlobalColorStateClassDynamicBtn, getGlobalColorStateResponsiveClass, getGlobalColorStateResponsiveClassDynamicBtn, getGlobalColorStateResponsiveStyle, getGlobalColorStateStyle, getGlobalColorStyle, getGlobalSizeGap, getGradientBgrStyleByDevice, getGradientBgrStyleForButton, getHeightByShapeGlobalSize, getLayoutClasses, getPaddingGlobalSize, getPaddingStyleByDevice, getProduct, getProductBySlug, getRadiusCSSFromGlobal, getRadiusStyleActiveState, getResponsiveStateValue, getResponsiveStylePadding, getResponsiveStyleShadow, getResponsiveStyleShadowWithoutState, getResponsiveValue, getResponsiveValueByScreen, getSelectedVariant, getShortName, getSingleColorVariable, getSpacingVariable, getStyleBackgroundByDevice, getStyleBackgroundImageByDevice, getStyleBgColor, getStyleBgImageSource, getStyleShadow, getStyleShadowState, getValueByDevice, getWidthByShapeGlobalSize, getWidthHeightGlobalSize, globalEvent, gridToArrayRegex, gtag, handleConvertBorderColor, handleConvertBorderStyle, handleConvertBorderWidth, handleConvertClassColor, handleConvertClassColorDynamicBtn, handleConvertInputBorderColor, handleConvertInputBorderWidth, isBrowser, isColor, isColumnDirectionExist, isDefined, isEmptyChildren, 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, 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, useI18n, useI18nStore, useInitialSwatchesOptions, useInteraction, useIsSampleProduct, useIsStorefrontProduct, useIsSyncProduct, useIsomorphicLayoutEffect, useLazyVideo, useLoadScript, useLocale, useMatchMutate, useMobileOnly, useModalStore, useMoney, useMoneyFormat, usePageStore, usePageType, usePluginEnable, usePrevious, useProduct, useProductBundleDiscount, useProductList, useProductListProducts, useProductListSettings, useProductListStore, useProductListStyles, useProductOfferDiscount, useProductProperties, useProductQuery, useProductShopifyEditLink, useProductStore, useProductsQuery, useProductsQueryAll, useQuantity, useRemoveCartItem, useSection, useSectionStore, useSelectedOption, useShopStore, useShopifyLink, useStoreFront, useSuspenseFetch, useSwatches, useSwatchesOptions, useTimezone, useUniqProductID, useUpdateCartItem, useVariant, useVariantOutStock, useVariants, validateEmail };
47877
+ 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, ArticlesDocument, ArticlesQueryResponse, ArticlesQueryVariables, Background, BackgroundImageValue, BackgroundMedia, BackgroundVideoValue, BaseProps, BasePropsWrap, BlockEntity, BlogsDocument, BlogsQueryResponse, BlogsQueryVariables, 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, DEVICES, DeepPartial, DotStyle, Dropdown, DynamicCollection, DynamicProduct, ExtractState, FastBundleWidgetType, FeraReviewsV3WidgetType, FeraReviewsWidgetType, FetchCollectionArgs, FetchFunc, FetchProductParams, FlexDirectionProp, FontName, GRADIENT_BGR_KEY, GlobalStyleConfig, GlobalStyleResponsiveConfig, GlobalSwatchesData, GraphQLConnection, GroupPropType, GrowaveWidgetTypeV1, GrowaveWidgetTypeV2, HSLAColorType, HSLColorType, HexColorType, I18nProvider, I18nProviderProps, 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, LooxReviewsWidgetTypeV2, MediaSelectFragment, ModalProvider, ModalProviderProps, NameDevices$1 as NameDevices, NestedKeys, ObjectDeviceGlobalType, ObjectDevices, ObjectLayoutValue, OmnisendWidgetType, OnlyOne, OpinewDesignWidgetType, OpinewWidgetType, Option$4 as Option, OptionNormalStyle, OptionSpecialStyle, Options$1 as Options, PaddingType, PageContext, PageProvider, PageProviderProps, PageType, PageViewUpDocument, PageViewUpMutationResponse, PageViewUpMutationVariables, PickyStoryWidgetType, PostPurchaseTypo, PreOrderNowWodWidgetType, PreviewThemePageDocument, PreviewThemePageQueryResponse, PreviewThemePageQueryVariables, Primitive, ProductInputAnalytic, ProductListProvider, ProductListProviderProps, ProductOffer, ProductProvider, ProductProviderProps, ProductReviewsWidgetType, ProductSelectFragment, ProductsDocument, ProductsQueryResponse, ProductsQueryVariables, PublicStoreFrontData, PublishedShopMetasDocument, PublishedShopMetasQueryResponse, PublishedShopMetasQueryVariables, 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, SaleFunnelOfferDocument, SaleFunnelOfferQueryResponse, SaleFunnelOfferQueryVariables, Scalars$1 as Scalars, ScaleByDirection, SectionData, SectionEntity, SectionProvider, SectionProviderProps, Setting, SettingByAnimationType, SettingByAnimationValues, SettingUIGroup, ShadowProps, ShadowStyle, ShadowStyleApplied, ShadowType, ShopLibraryPageDocument, ShopLibraryPageQueryResponse, ShopLibraryPageQueryVariables, ShopProvider, ShopProviderProps, ShopShopifyDocument, ShopShopifyQueryResponse, ShopShopifyQueryVariables, shop as ShopType, SizeProps, SizeSetting$1 as SizeSetting, SizeSettingGlobal, SizeType, SpacingType, StampedWidgetType, StampedWidgetTypeV2, StateProp, StateSelector, StateType, StoreConfig, StorePropertyDocument, StorePropertyQueryResponse, StorePropertyQueryVariables, SwatchesOptionType, SwatchesOptionValue, TagShopWidgetType, ThemePageDocument, ThemePageQueryResponse, ThemePageQueryVariables, ThemeSectionStatus$1 as ThemeSectionStatus, TransformProp, TriggerConfig, TrustooWidgetType, TrustooWidgetTypeV2, TypographyProps, TypographySetting, TypographySettingV2, TypographyType, TypographyV2Attrs, TypographyV2Props, UltimateSalesBoostWidgetType, ValidateType, VariableRelatedStyles, VariantSelectFragment, VitalsWidgetType, WiserV2WidgetType, WiserWidgetType, WrapRenderChildren, YotpoReviewsWidgetType, addAppBlockId, animations, baseAssetURL, calculateFirstProduct, checkAvailableVariantInStock, checkInStock, 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, convertHTML, convertOldLayout, convertTextAlignToJustify, dataStringify, fetchMedias, fetchVariants, filterAttrInStyle, filterToolbarPreview, filterTruthyStyles, flattenConnection, formatMoney, fpixel, genSizeClass, genTypoClass, genVariable, generateCollectionQueryKey, generateProductQueryKey, generateProductsQueryKey, getAlignmentClasses, getAppBlocks, getAspectRatioGlobalSize, getBgByDevice, getBgImageByDevice, getBgImageSourceByDevice, getBgVideoByDevice, getBorderRadiusStyle, getBorderStyle, getCarouselContainerHeight, getCollection, getCornerCSSFromGlobal, getCornerStyle, getCustomRadius, getGlobalColorCSSProp, getGlobalColorClass, getGlobalColorResponsiveClass, getGlobalColorResponsiveStyle, getGlobalColorStateClass, getGlobalColorStateClassDynamicBtn, getGlobalColorStateResponsiveClass, getGlobalColorStateResponsiveClassDynamicBtn, getGlobalColorStateResponsiveStyle, getGlobalColorStateStyle, getGlobalColorStyle, getGlobalSizeGap, getGradientBgrStyleByDevice, getGradientBgrStyleForButton, getHeightByShapeGlobalSize, getLayoutClasses, getPaddingGlobalSize, getPaddingStyleByDevice, getProduct, getProductBySlug, getRadiusCSSFromGlobal, getRadiusStyleActiveState, getResponsiveStateValue, getResponsiveStylePadding, getResponsiveStyleShadow, getResponsiveStyleShadowWithoutState, getResponsiveValue, getResponsiveValueByScreen, getSelectedVariant, getShortName, getSingleColorVariable, getSpacingVariable, getStyleBackgroundByDevice, getStyleBackgroundImageByDevice, getStyleBgColor, getStyleBgImageSource, getStyleShadow, getStyleShadowState, getValueByDevice, getWidthByShapeGlobalSize, getWidthHeightGlobalSize, globalEvent, gridToArrayRegex, gtag, handleConvertBorderColor, handleConvertBorderStyle, handleConvertBorderWidth, handleConvertClassColor, handleConvertClassColorDynamicBtn, handleConvertInputBorderColor, handleConvertInputBorderWidth, isBrowser, isColor, isColumnDirectionExist, isDefined, isEmptyChildren, 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, 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, useI18n, useI18nStore, useInitialSwatchesOptions, useInteraction, useIsSampleProduct, useIsStorefrontProduct, useIsSyncProduct, useIsomorphicLayoutEffect, useLazyVideo, useLoadScript, useLocale, useMatchMutate, useMobileOnly, useModalStore, useMoney, useMoneyFormat, usePageStore, usePageType, usePluginEnable, usePrevious, useProduct, useProductBundleDiscount, useProductList, useProductListProducts, useProductListSettings, useProductListStore, useProductListStyles, useProductOfferDiscount, useProductProperties, useProductQuery, useProductShopifyEditLink, useProductStore, useProductsQuery, useProductsQueryAll, useQuantity, useRemoveCartItem, useSection, useSectionStore, useSelectedOption, useShopStore, useShopifyLink, useStickyStore, useStoreFront, useSuspenseFetch, useSwatches, useSwatchesOptions, useTimezone, useUniqProductID, useUpdateCartItem, useVariant, useVariantOutStock, useVariants, validateEmail };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/core",
3
- "version": "2.0.0-dev.479",
3
+ "version": "2.0.0-dev.503",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",
@@ -28,7 +28,7 @@
28
28
  },
29
29
  "devDependencies": {
30
30
  "@gem-sdk/adapter-shopify": "2.0.0-dev.324",
31
- "@gem-sdk/styles": "2.0.0-dev.464",
31
+ "@gem-sdk/styles": "2.0.0-dev.501",
32
32
  "@types/classnames": "^2.3.1"
33
33
  },
34
34
  "dependencies": {