@gem-sdk/core 2.0.0-dev.474 → 2.0.0-dev.497

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/interaction/index.js +1 -0
  12. package/dist/cjs/helpers/radius.js +8 -1
  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 +2 -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/interaction/index.js +1 -0
  29. package/dist/esm/helpers/radius.js +8 -1
  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 +1 -0
  35. package/dist/types/index.d.ts +9 -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');
@@ -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();
@@ -102,7 +102,14 @@ const composeRadiusResponsiveState = (radiusValue)=>{
102
102
  return style;
103
103
  };
104
104
  const getRadiusStyleActiveState = (radiusValue)=>{
105
- if (radiusValue?.active?.radiusType === 'custom') {
105
+ const types = [
106
+ 'circle',
107
+ 'square',
108
+ 'rounded',
109
+ 'none',
110
+ 'custom'
111
+ ];
112
+ if (types.includes(radiusValue?.active?.radiusType || '')) {
106
113
  return getCustomRadius('normal', radiusValue?.active);
107
114
  }
108
115
  return getRadiusCSSFromGlobal('normal', radiusValue?.active?.radiusType);
@@ -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');
@@ -386,6 +387,7 @@ exports.useLoadScript = useLoadScript.default;
386
387
  exports.useMoney = useMoney.default;
387
388
  exports.usePrevious = usePrevious.usePrevious;
388
389
  exports.useI18n = useI18n.useI18n;
390
+ exports.useStickyStore = useStickyStore.useStickyStore;
389
391
  exports.useCheckAvailableVariantInStock = useProduct.useCheckAvailableVariantInStock;
390
392
  exports.useCurrentVariant = useProduct.useCurrentVariant;
391
393
  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';
@@ -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();
@@ -100,7 +100,14 @@ const composeRadiusResponsiveState = (radiusValue)=>{
100
100
  return style;
101
101
  };
102
102
  const getRadiusStyleActiveState = (radiusValue)=>{
103
- if (radiusValue?.active?.radiusType === 'custom') {
103
+ const types = [
104
+ 'circle',
105
+ 'square',
106
+ 'rounded',
107
+ 'none',
108
+ 'custom'
109
+ ];
110
+ if (types.includes(radiusValue?.active?.radiusType || '')) {
104
111
  return getCustomRadius('normal', radiusValue?.active);
105
112
  }
106
113
  return getRadiusCSSFromGlobal('normal', radiusValue?.active?.radiusType);
@@ -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
@@ -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';
@@ -37680,7 +37681,7 @@ declare const composeBackgroundImageCss: (config?: ObjectDevices<StateProp<Backg
37680
37681
  }) => string | undefined;
37681
37682
 
37682
37683
  type ColorType = 'bg' | 'text' | 'border' | 'decoration';
37683
- type ColorProp = 'bgc' | 'bc' | 'c' | 'bg' | 'bbc' | 'btc' | 'blc' | 'brc';
37684
+ type ColorProp = 'bgc' | 'bc' | 'c' | 'bg' | 'bbc' | 'btc' | 'blc' | 'brc' | 'bgi';
37684
37685
  declare const getGlobalColorCSSProp: (color?: ColorValueType) => string | undefined;
37685
37686
  declare const getGlobalColorClass: (type: ColorType, color?: ColorValueType) => string;
37686
37687
  declare const getGlobalColorResponsiveClass: (type: ColorType, data?: ObjectDevices<ColorValueType>) => string;
@@ -47660,6 +47661,12 @@ declare const useI18n: () => {
47660
47661
  t: (string: string) => any;
47661
47662
  };
47662
47663
 
47664
+ type StickyStore = {
47665
+ isStickyVisible: boolean;
47666
+ setStickyVisible: (visible?: boolean) => void;
47667
+ };
47668
+ declare const useStickyStore: zustand.UseBoundStore<zustand.StoreApi<StickyStore>>;
47669
+
47663
47670
  declare const useUniqProductID: () => string;
47664
47671
  declare const useProduct: () => ProductSelectFragment | undefined;
47665
47672
  declare const useFeaturedImageGlobal: () => MediaSelectFragment | undefined;
@@ -47809,4 +47816,4 @@ declare const useInteraction: () => {
47809
47816
 
47810
47817
  declare const DEVICES: NameDevices$1[];
47811
47818
 
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 };
47819
+ 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, 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.474",
3
+ "version": "2.0.0-dev.497",
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.482",
32
32
  "@types/classnames": "^2.3.1"
33
33
  },
34
34
  "dependencies": {