@gem-sdk/core 1.23.0-staging.66 → 1.23.0-staging.72

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.
@@ -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,94 @@ 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]
57
- };
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;
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 ? 'auto' : height || 'auto'
82
+ };
83
+ });
84
+ return result;
85
+ };
86
+ const getWidthByShapeGlobalSize = (shapeByLayout)=>{
87
+ let result = {};
88
+ const DEVICES = [
89
+ 'desktop',
90
+ 'mobile',
91
+ 'tablet'
92
+ ];
93
+ DEVICES.forEach((device)=>{
94
+ const shapeByDevice = getResonsiveValue.getResponsiveValueByScreen(shapeByLayout, device);
95
+ const width = shapeByDevice?.width;
96
+ result = {
97
+ ...result,
98
+ [device]: width || 'auto'
99
+ };
100
+ });
101
+ return result;
102
+ };
103
+ const getAspectRatioGlobalSize = (shape)=>{
104
+ let result = {};
105
+ const DEVICES = [
106
+ 'desktop',
107
+ 'mobile',
108
+ 'tablet'
109
+ ];
110
+ DEVICES.forEach((device)=>{
111
+ const shapeValue = getResonsiveValue.getResponsiveValueByScreen(shape, device)?.shapeValue;
112
+ if (shapeValue) {
113
+ result = {
114
+ ...result,
115
+ [device]: shapeValue
116
+ };
117
+ } else {
118
+ const shapeConfig = getResonsiveValue.getResponsiveValueByScreen(shape, device)?.shape;
119
+ switch(shapeConfig){
120
+ case 'square':
121
+ result = {
122
+ ...result,
123
+ [device]: '1/1'
124
+ };
125
+ break;
126
+ case 'vertical':
127
+ result = {
128
+ ...result,
129
+ [device]: '3/4'
130
+ };
131
+ break;
132
+ case 'horizontal':
133
+ result = {
134
+ ...result,
135
+ [device]: '4/3'
136
+ };
137
+ break;
138
+ }
139
+ }
140
+ });
141
+ return result;
68
142
  };
69
143
  function getCustomPaddingSizeCSSByDevice(globalSize, device) {
70
144
  if (!globalSize || !device) return {};
@@ -83,7 +157,10 @@ const getPaddingGlobalSize = (globalSize)=>{
83
157
  exports.composeSize = composeSize;
84
158
  exports.composeSizeCss = composeSizeCss;
85
159
  exports.genSizeClass = genSizeClass;
160
+ exports.getAspectRatioGlobalSize = getAspectRatioGlobalSize;
161
+ exports.getHeightByShapeGlobalSize = getHeightByShapeGlobalSize;
86
162
  exports.getPaddingGlobalSize = getPaddingGlobalSize;
163
+ exports.getWidthByShapeGlobalSize = getWidthByShapeGlobalSize;
87
164
  exports.getWidthHeightGlobalSize = getWidthHeightGlobalSize;
88
165
  exports.makeGlobalSize = makeGlobalSize;
89
166
  exports.makeStyleWithDefault = makeStyleWithDefault;
package/dist/cjs/index.js CHANGED
@@ -221,7 +221,10 @@ 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;
227
+ exports.getWidthByShapeGlobalSize = size.getWidthByShapeGlobalSize;
225
228
  exports.getWidthHeightGlobalSize = size.getWidthHeightGlobalSize;
226
229
  exports.makeGlobalSize = size.makeGlobalSize;
227
230
  exports.makeStyleWithDefault = size.makeStyleWithDefault;
@@ -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,94 @@ 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]
55
- };
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;
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 ? 'auto' : height || 'auto'
80
+ };
81
+ });
82
+ return result;
83
+ };
84
+ const getWidthByShapeGlobalSize = (shapeByLayout)=>{
85
+ let result = {};
86
+ const DEVICES = [
87
+ 'desktop',
88
+ 'mobile',
89
+ 'tablet'
90
+ ];
91
+ DEVICES.forEach((device)=>{
92
+ const shapeByDevice = getResponsiveValueByScreen(shapeByLayout, device);
93
+ const width = shapeByDevice?.width;
94
+ result = {
95
+ ...result,
96
+ [device]: width || 'auto'
97
+ };
98
+ });
99
+ return result;
100
+ };
101
+ const getAspectRatioGlobalSize = (shape)=>{
102
+ let result = {};
103
+ const DEVICES = [
104
+ 'desktop',
105
+ 'mobile',
106
+ 'tablet'
107
+ ];
108
+ DEVICES.forEach((device)=>{
109
+ const shapeValue = getResponsiveValueByScreen(shape, device)?.shapeValue;
110
+ if (shapeValue) {
111
+ result = {
112
+ ...result,
113
+ [device]: shapeValue
114
+ };
115
+ } else {
116
+ const shapeConfig = getResponsiveValueByScreen(shape, device)?.shape;
117
+ switch(shapeConfig){
118
+ case 'square':
119
+ result = {
120
+ ...result,
121
+ [device]: '1/1'
122
+ };
123
+ break;
124
+ case 'vertical':
125
+ result = {
126
+ ...result,
127
+ [device]: '3/4'
128
+ };
129
+ break;
130
+ case 'horizontal':
131
+ result = {
132
+ ...result,
133
+ [device]: '4/3'
134
+ };
135
+ break;
136
+ }
137
+ }
138
+ });
139
+ return result;
66
140
  };
67
141
  function getCustomPaddingSizeCSSByDevice(globalSize, device) {
68
142
  if (!globalSize || !device) return {};
@@ -78,4 +152,4 @@ const getPaddingGlobalSize = (globalSize)=>{
78
152
  return Object.assign({}, getCustomPaddingSizeCSSByDevice(globalSize, 'desktop'), getCustomPaddingSizeCSSByDevice(globalSize, 'tablet'), getCustomPaddingSizeCSSByDevice(globalSize, 'mobile'));
79
153
  };
80
154
 
81
- export { composeSize, composeSizeCss, genSizeClass, getPaddingGlobalSize, getWidthHeightGlobalSize, makeGlobalSize, makeStyleWithDefault };
155
+ export { composeSize, composeSizeCss, genSizeClass, getAspectRatioGlobalSize, getHeightByShapeGlobalSize, getPaddingGlobalSize, getWidthByShapeGlobalSize, 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, getWidthByShapeGlobalSize, 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,9 @@ 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>>;
9546
+ declare const getWidthByShapeGlobalSize: (shapeByLayout?: ObjectDevices<SizeSettingGlobal>) => Partial<Record<NameDevices, string>>;
9547
+ declare const getAspectRatioGlobalSize: (shape?: ObjectDevices<SizeSettingGlobal>) => ObjectDevices<string>;
9543
9548
  declare const getPaddingGlobalSize: (globalSize?: ObjectDevices<SizeSettingGlobal>) => React.CSSProperties;
9544
9549
 
9545
9550
  declare const parseValueWithUnit: (valueWithUnit: string) => any;
@@ -9842,4 +9847,4 @@ type PublishedThemePageSelectFragment = Pick<PublishedThemePage, 'id' | 'name' |
9842
9847
 
9843
9848
  declare const getProductBySlug: (fetcher: FetchFunc, slug?: string) => Promise<ProductSelectFragment>;
9844
9849
 
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 };
9850
+ 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, getWidthByShapeGlobalSize, 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.66",
3
+ "version": "1.23.0-staging.72",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",