@gem-sdk/core 1.23.0-staging.61 → 1.23.0-staging.68

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.
@@ -20,6 +20,7 @@ const ComponentWrapper = ({ children, ...props })=>{
20
20
  advanced: advanced
21
21
  }),
22
22
  /*#__PURE__*/ jsxRuntime.jsx(children.type, {
23
+ className: advanced?.cssClass,
23
24
  ...children.props,
24
25
  style,
25
26
  advanced
@@ -35,7 +36,7 @@ const ComponentWrapper = ({ children, ...props })=>{
35
36
  }),
36
37
  /*#__PURE__*/ jsxRuntime.jsx("div", {
37
38
  style: style,
38
- className: `${props.uid}`,
39
+ className: `${props.uid} ${advanced?.cssClass}`,
39
40
  children: children
40
41
  })
41
42
  ]
@@ -2,6 +2,7 @@
2
2
 
3
3
  var makeStyle = require('./make-style.js');
4
4
  var constant = require('./constant.js');
5
+ var getResonsiveValue = require('./get-resonsive-value.js');
5
6
 
6
7
  function getCustomSizeCSSByDevice(size, device) {
7
8
  if (!size || !device) return {};
@@ -50,21 +51,86 @@ const makeStyleWithDefault = (name, value, defaultVal)=>{
50
51
  };
51
52
  const getWidthHeightGlobalSize = (type, globalSize)=>{
52
53
  if (!globalSize) return {};
53
- const data = {
54
- desktop: globalSize?.desktop?.[type],
55
- tablet: globalSize?.tablet?.[type],
56
- mobile: globalSize?.mobile?.[type]
54
+ let result = {};
55
+ const DEVICES = [
56
+ 'desktop',
57
+ 'mobile',
58
+ 'tablet'
59
+ ];
60
+ DEVICES.forEach((device)=>{
61
+ result = {
62
+ ...result,
63
+ [device]: getResonsiveValue.getResponsiveValueByScreen(globalSize, device)?.[type]
64
+ };
65
+ });
66
+ return result;
67
+ };
68
+ const getHeightByShapeGlobalSize = (shapeByLayout)=>{
69
+ let result = {};
70
+ const DEVICES = [
71
+ 'desktop',
72
+ 'mobile',
73
+ 'tablet'
74
+ ];
75
+ DEVICES.forEach((device)=>{
76
+ const shapeByDevice = getResonsiveValue.getResponsiveValueByScreen(shapeByLayout, device);
77
+ const shapeValue = shapeByDevice?.shapeValue;
78
+ const height = shapeByDevice?.height;
79
+ result = {
80
+ ...result,
81
+ [device]: shapeValue ? undefined : height
82
+ };
83
+ });
84
+ return result;
85
+ };
86
+ const getAspectRatioGlobalSize = (shape)=>{
87
+ let result = {
88
+ desktop: '1/1',
89
+ tablet: '1/1',
90
+ mobile: '1/1'
57
91
  };
58
- if (data.desktop === undefined) {
59
- data.desktop = 'auto';
60
- }
61
- if (data.tablet === undefined) {
62
- data.tablet = data.desktop;
63
- }
64
- if (data.mobile === undefined) {
65
- data.mobile = data.tablet;
66
- }
67
- return data;
92
+ const DEVICES = [
93
+ 'desktop',
94
+ 'mobile',
95
+ 'tablet'
96
+ ];
97
+ DEVICES.forEach((device)=>{
98
+ const shapeValue = getResonsiveValue.getResponsiveValueByScreen(shape, device)?.shapeValue;
99
+ if (shapeValue) {
100
+ result = {
101
+ ...result,
102
+ [device]: shapeValue
103
+ };
104
+ } else {
105
+ const shapeConfig = getResonsiveValue.getResponsiveValueByScreen(shape, device)?.shape;
106
+ switch(shapeConfig){
107
+ case 'square':
108
+ result = {
109
+ ...result,
110
+ [device]: '1/1'
111
+ };
112
+ break;
113
+ case 'vertical':
114
+ result = {
115
+ ...result,
116
+ [device]: '3/4'
117
+ };
118
+ break;
119
+ case 'horizontal':
120
+ result = {
121
+ ...result,
122
+ [device]: '4/3'
123
+ };
124
+ break;
125
+ default:
126
+ result = {
127
+ ...result,
128
+ [device]: 'initial'
129
+ };
130
+ }
131
+ }
132
+ });
133
+ return result;
68
134
  };
69
135
  function getCustomPaddingSizeCSSByDevice(globalSize, device) {
70
136
  if (!globalSize || !device) return {};
@@ -83,6 +149,8 @@ const getPaddingGlobalSize = (globalSize)=>{
83
149
  exports.composeSize = composeSize;
84
150
  exports.composeSizeCss = composeSizeCss;
85
151
  exports.genSizeClass = genSizeClass;
152
+ exports.getAspectRatioGlobalSize = getAspectRatioGlobalSize;
153
+ exports.getHeightByShapeGlobalSize = getHeightByShapeGlobalSize;
86
154
  exports.getPaddingGlobalSize = getPaddingGlobalSize;
87
155
  exports.getWidthHeightGlobalSize = getWidthHeightGlobalSize;
88
156
  exports.makeGlobalSize = makeGlobalSize;
package/dist/cjs/index.js CHANGED
@@ -221,6 +221,8 @@ exports.isLocalEnv = convert.isLocalEnv;
221
221
  exports.composeSize = size.composeSize;
222
222
  exports.composeSizeCss = size.composeSizeCss;
223
223
  exports.genSizeClass = size.genSizeClass;
224
+ exports.getAspectRatioGlobalSize = size.getAspectRatioGlobalSize;
225
+ exports.getHeightByShapeGlobalSize = size.getHeightByShapeGlobalSize;
224
226
  exports.getPaddingGlobalSize = size.getPaddingGlobalSize;
225
227
  exports.getWidthHeightGlobalSize = size.getWidthHeightGlobalSize;
226
228
  exports.makeGlobalSize = size.makeGlobalSize;
@@ -16,6 +16,7 @@ const ComponentWrapper = ({ children, ...props })=>{
16
16
  advanced: advanced
17
17
  }),
18
18
  /*#__PURE__*/ jsx(children.type, {
19
+ className: advanced?.cssClass,
19
20
  ...children.props,
20
21
  style,
21
22
  advanced
@@ -31,7 +32,7 @@ const ComponentWrapper = ({ children, ...props })=>{
31
32
  }),
32
33
  /*#__PURE__*/ jsx("div", {
33
34
  style: style,
34
- className: `${props.uid}`,
35
+ className: `${props.uid} ${advanced?.cssClass}`,
35
36
  children: children
36
37
  })
37
38
  ]
@@ -1,5 +1,6 @@
1
1
  import { makeStyleResponsive } from './make-style.js';
2
2
  import { devicesMapping } from './constant.js';
3
+ import { getResponsiveValueByScreen } from './get-resonsive-value.js';
3
4
 
4
5
  function getCustomSizeCSSByDevice(size, device) {
5
6
  if (!size || !device) return {};
@@ -48,21 +49,86 @@ const makeStyleWithDefault = (name, value, defaultVal)=>{
48
49
  };
49
50
  const getWidthHeightGlobalSize = (type, globalSize)=>{
50
51
  if (!globalSize) return {};
51
- const data = {
52
- desktop: globalSize?.desktop?.[type],
53
- tablet: globalSize?.tablet?.[type],
54
- mobile: globalSize?.mobile?.[type]
52
+ let result = {};
53
+ const DEVICES = [
54
+ 'desktop',
55
+ 'mobile',
56
+ 'tablet'
57
+ ];
58
+ DEVICES.forEach((device)=>{
59
+ result = {
60
+ ...result,
61
+ [device]: getResponsiveValueByScreen(globalSize, device)?.[type]
62
+ };
63
+ });
64
+ return result;
65
+ };
66
+ const getHeightByShapeGlobalSize = (shapeByLayout)=>{
67
+ let result = {};
68
+ const DEVICES = [
69
+ 'desktop',
70
+ 'mobile',
71
+ 'tablet'
72
+ ];
73
+ DEVICES.forEach((device)=>{
74
+ const shapeByDevice = getResponsiveValueByScreen(shapeByLayout, device);
75
+ const shapeValue = shapeByDevice?.shapeValue;
76
+ const height = shapeByDevice?.height;
77
+ result = {
78
+ ...result,
79
+ [device]: shapeValue ? undefined : height
80
+ };
81
+ });
82
+ return result;
83
+ };
84
+ const getAspectRatioGlobalSize = (shape)=>{
85
+ let result = {
86
+ desktop: '1/1',
87
+ tablet: '1/1',
88
+ mobile: '1/1'
55
89
  };
56
- if (data.desktop === undefined) {
57
- data.desktop = 'auto';
58
- }
59
- if (data.tablet === undefined) {
60
- data.tablet = data.desktop;
61
- }
62
- if (data.mobile === undefined) {
63
- data.mobile = data.tablet;
64
- }
65
- return data;
90
+ const DEVICES = [
91
+ 'desktop',
92
+ 'mobile',
93
+ 'tablet'
94
+ ];
95
+ DEVICES.forEach((device)=>{
96
+ const shapeValue = getResponsiveValueByScreen(shape, device)?.shapeValue;
97
+ if (shapeValue) {
98
+ result = {
99
+ ...result,
100
+ [device]: shapeValue
101
+ };
102
+ } else {
103
+ const shapeConfig = getResponsiveValueByScreen(shape, device)?.shape;
104
+ switch(shapeConfig){
105
+ case 'square':
106
+ result = {
107
+ ...result,
108
+ [device]: '1/1'
109
+ };
110
+ break;
111
+ case 'vertical':
112
+ result = {
113
+ ...result,
114
+ [device]: '3/4'
115
+ };
116
+ break;
117
+ case 'horizontal':
118
+ result = {
119
+ ...result,
120
+ [device]: '4/3'
121
+ };
122
+ break;
123
+ default:
124
+ result = {
125
+ ...result,
126
+ [device]: 'initial'
127
+ };
128
+ }
129
+ }
130
+ });
131
+ return result;
66
132
  };
67
133
  function getCustomPaddingSizeCSSByDevice(globalSize, device) {
68
134
  if (!globalSize || !device) return {};
@@ -78,4 +144,4 @@ const getPaddingGlobalSize = (globalSize)=>{
78
144
  return Object.assign({}, getCustomPaddingSizeCSSByDevice(globalSize, 'desktop'), getCustomPaddingSizeCSSByDevice(globalSize, 'tablet'), getCustomPaddingSizeCSSByDevice(globalSize, 'mobile'));
79
145
  };
80
146
 
81
- export { composeSize, composeSizeCss, genSizeClass, getPaddingGlobalSize, getWidthHeightGlobalSize, makeGlobalSize, makeStyleWithDefault };
147
+ export { composeSize, composeSizeCss, genSizeClass, getAspectRatioGlobalSize, getHeightByShapeGlobalSize, getPaddingGlobalSize, getWidthHeightGlobalSize, makeGlobalSize, makeStyleWithDefault };
package/dist/esm/index.js CHANGED
@@ -53,7 +53,7 @@ import * as tiktokpixel from './helpers/tracking/tiktokpixel.js';
53
53
  export { tiktokpixel };
54
54
  export { RenderIf, composeMemo, dataStringify, props, styles, template } from './helpers/render.js';
55
55
  export { baseAssetURL, isLocalEnv } from './helpers/convert.js';
56
- export { composeSize, composeSizeCss, genSizeClass, getPaddingGlobalSize, getWidthHeightGlobalSize, makeGlobalSize, makeStyleWithDefault } from './helpers/size.js';
56
+ export { composeSize, composeSizeCss, genSizeClass, getAspectRatioGlobalSize, getHeightByShapeGlobalSize, getPaddingGlobalSize, getWidthHeightGlobalSize, makeGlobalSize, makeStyleWithDefault } from './helpers/size.js';
57
57
  export { composeShadowCss, getStyleShadow, getStyleShadowState, parseValueWithUnit } from './helpers/shadow.js';
58
58
  export { composeBackgroundCss, getStyleBackgroundByDevice, makeFixedBgAttachment } from './helpers/background.js';
59
59
  export { generateCollectionQueryKey, generateProductQueryKey, generateProductsQueryKey } from './helpers/query.js';
@@ -92,7 +92,9 @@ type ImageShape$1 = {
92
92
  height?: string;
93
93
  };
94
94
  type SizeSettingGlobal = {
95
- shape?: 'square' | 'vertical' | 'horizontal' | 'custom';
95
+ shape?: 'square' | 'vertical' | 'horizontal' | 'custom' | 'original';
96
+ shapeLinked?: boolean;
97
+ shapeValue?: string;
96
98
  padding?: {
97
99
  type?: 'small' | 'medium' | 'large' | 'custom';
98
100
  top?: string;
@@ -914,7 +916,7 @@ type GridArrange<T> = SharedControlType<T> & {
914
916
  };
915
917
 
916
918
  type SettingID = 'shape' | 'width' | 'height' | 'gap' | 'padding';
917
- type OptionKeyword = 'default' | 'auto' | 'full' | 'equal' | 'small' | 'medium' | 'large';
919
+ type OptionKeyword = 'default' | 'auto' | 'full' | 'equal' | 'small' | 'medium' | 'large' | 'original';
918
920
  type PaddingOptions = 'small' | 'medium' | 'large' | 'custom';
919
921
  type PaddingConfig = Partial<Record<PaddingOptions, {
920
922
  vertical: string;
@@ -9540,6 +9542,8 @@ declare const makeGlobalSize: (globalSize?: ObjectDevices<SizeSettingGlobal>) =>
9540
9542
  };
9541
9543
  declare const makeStyleWithDefault: <T extends ShortHandProperty, K>(name: T, value?: Partial<Record<NameDevices, K>> | undefined, defaultVal?: Partial<Record<NameDevices, K>> | undefined) => Record<ResponsiveKey<T>, K>;
9542
9544
  declare const getWidthHeightGlobalSize: (type: 'width' | 'height', globalSize?: ObjectDevices<SizeSettingGlobal>) => Partial<Record<NameDevices, string | number>>;
9545
+ declare const getHeightByShapeGlobalSize: (shapeByLayout?: ObjectDevices<SizeSettingGlobal>) => Partial<Record<NameDevices, string | number>>;
9546
+ declare const getAspectRatioGlobalSize: (shape?: ObjectDevices<SizeSettingGlobal>) => ObjectDevices<string>;
9543
9547
  declare const getPaddingGlobalSize: (globalSize?: ObjectDevices<SizeSettingGlobal>) => React.CSSProperties;
9544
9548
 
9545
9549
  declare const parseValueWithUnit: (valueWithUnit: string) => any;
@@ -9842,4 +9846,4 @@ type PublishedThemePageSelectFragment = Pick<PublishedThemePage, 'id' | 'name' |
9842
9846
 
9843
9847
  declare const getProductBySlug: (fetcher: FetchFunc, slug?: string) => Promise<ProductSelectFragment>;
9844
9848
 
9845
- 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, DynamicCollection, DynamicProduct, 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, PageProvider, PageProviderProps, 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, SizeSettingGlobal, 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, filterToolbarPreview, flattenConnection, fpixel, genSizeClass, genTypoClass, genVariable, generateCollectionQueryKey, generateProductQueryKey, generateProductsQueryKey, getBorderStyle, getCollection, getCornerCSSFromGlobal, getCustomRadius, getGlobalColorCSSProp, getGlobalColorClass, getGlobalColorResponsiveClass, getGlobalColorResponsiveStyle, getGlobalColorStateClass, getGlobalColorStateClassDynamicBtn, getGlobalColorStateResponsiveClass, getGlobalColorStateResponsiveClassDynamicBtn, getGlobalColorStateResponsiveStyle, getGlobalColorStateStyle, getGlobalColorStyle, getPaddingGlobalSize, getProduct, getProductBySlug, getRadiusCSSFromGlobal, getRadiusStyleActiveState, getResponsiveStateValue, getResponsiveValue, getResponsiveValueByScreen, getSelectedVariant, getShortName, getSingleColorVariable, getSpacingVariable, getStyleBackgroundByDevice, getStyleShadow, getStyleShadowState, getWidthHeightGlobalSize, globalEvent, gridToArrayRegex, gtag, handleConvertBorderColor, handleConvertBorderStyle, handleConvertBorderWidth, handleConvertClassColor, handleConvertClassColorDynamicBtn, isBrowser, isColor, isColumnDirectionExist, isDefined, isEmptyChildren, isLocalEnv, isSafari, loadScript, makeAspectRatio, makeFixedBgAttachment, makeGlobalSize, makeGlobalSizeWidthResponsive, makeHeight, makeLineClamp, makeStyle, makeStyleResponsive, makeStyleResponsiveState, makeStyleState, makeStyleWithDefault, 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, usePageStore, 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 };
9849
+ 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, DynamicCollection, DynamicProduct, 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, PageProvider, PageProviderProps, 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, SizeSettingGlobal, 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, filterToolbarPreview, flattenConnection, fpixel, genSizeClass, genTypoClass, genVariable, generateCollectionQueryKey, generateProductQueryKey, generateProductsQueryKey, getAspectRatioGlobalSize, getBorderStyle, getCollection, getCornerCSSFromGlobal, getCustomRadius, getGlobalColorCSSProp, getGlobalColorClass, getGlobalColorResponsiveClass, getGlobalColorResponsiveStyle, getGlobalColorStateClass, getGlobalColorStateClassDynamicBtn, getGlobalColorStateResponsiveClass, getGlobalColorStateResponsiveClassDynamicBtn, getGlobalColorStateResponsiveStyle, getGlobalColorStateStyle, getGlobalColorStyle, getHeightByShapeGlobalSize, getPaddingGlobalSize, getProduct, getProductBySlug, getRadiusCSSFromGlobal, getRadiusStyleActiveState, getResponsiveStateValue, getResponsiveValue, getResponsiveValueByScreen, getSelectedVariant, getShortName, getSingleColorVariable, getSpacingVariable, getStyleBackgroundByDevice, getStyleShadow, getStyleShadowState, getWidthHeightGlobalSize, globalEvent, gridToArrayRegex, gtag, handleConvertBorderColor, handleConvertBorderStyle, handleConvertBorderWidth, handleConvertClassColor, handleConvertClassColorDynamicBtn, isBrowser, isColor, isColumnDirectionExist, isDefined, isEmptyChildren, isLocalEnv, isSafari, loadScript, makeAspectRatio, makeFixedBgAttachment, makeGlobalSize, makeGlobalSizeWidthResponsive, makeHeight, makeLineClamp, makeStyle, makeStyleResponsive, makeStyleResponsiveState, makeStyleState, makeStyleWithDefault, 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, usePageStore, 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.23.0-staging.61",
3
+ "version": "1.23.0-staging.68",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",