@gem-sdk/core 1.25.11 → 1.25.26

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,102 @@ 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
+ if (width) {
97
+ result = {
98
+ ...result,
99
+ [device]: width
100
+ };
101
+ }
102
+ });
103
+ return result;
104
+ };
105
+ const getAspectRatioGlobalSize = (shape)=>{
106
+ let result = {};
107
+ const DEVICES = [
108
+ 'desktop',
109
+ 'mobile',
110
+ 'tablet'
111
+ ];
112
+ DEVICES.forEach((device)=>{
113
+ const shapeValue = getResonsiveValue.getResponsiveValueByScreen(shape, device)?.shapeValue;
114
+ if (shapeValue) {
115
+ result = {
116
+ ...result,
117
+ [device]: shapeValue
118
+ };
119
+ } else {
120
+ const shapeConfig = getResonsiveValue.getResponsiveValueByScreen(shape, device)?.shape;
121
+ switch(shapeConfig){
122
+ case 'square':
123
+ result = {
124
+ ...result,
125
+ [device]: '1/1'
126
+ };
127
+ break;
128
+ case 'vertical':
129
+ result = {
130
+ ...result,
131
+ [device]: '3/4'
132
+ };
133
+ break;
134
+ case 'horizontal':
135
+ result = {
136
+ ...result,
137
+ [device]: '4/3'
138
+ };
139
+ break;
140
+ case 'original':
141
+ result = {
142
+ ...result,
143
+ [device]: 'auto'
144
+ };
145
+ break;
146
+ }
147
+ }
148
+ });
149
+ return result;
68
150
  };
69
151
  function getCustomPaddingSizeCSSByDevice(globalSize, device) {
70
152
  if (!globalSize || !device) return {};
@@ -83,7 +165,10 @@ const getPaddingGlobalSize = (globalSize)=>{
83
165
  exports.composeSize = composeSize;
84
166
  exports.composeSizeCss = composeSizeCss;
85
167
  exports.genSizeClass = genSizeClass;
168
+ exports.getAspectRatioGlobalSize = getAspectRatioGlobalSize;
169
+ exports.getHeightByShapeGlobalSize = getHeightByShapeGlobalSize;
86
170
  exports.getPaddingGlobalSize = getPaddingGlobalSize;
171
+ exports.getWidthByShapeGlobalSize = getWidthByShapeGlobalSize;
87
172
  exports.getWidthHeightGlobalSize = getWidthHeightGlobalSize;
88
173
  exports.makeGlobalSize = makeGlobalSize;
89
174
  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;
@@ -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,102 @@ 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
+ if (width) {
95
+ result = {
96
+ ...result,
97
+ [device]: width
98
+ };
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 = getResponsiveValueByScreen(shape, device)?.shapeValue;
112
+ if (shapeValue) {
113
+ result = {
114
+ ...result,
115
+ [device]: shapeValue
116
+ };
117
+ } else {
118
+ const shapeConfig = 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
+ case 'original':
139
+ result = {
140
+ ...result,
141
+ [device]: 'auto'
142
+ };
143
+ break;
144
+ }
145
+ }
146
+ });
147
+ return result;
66
148
  };
67
149
  function getCustomPaddingSizeCSSByDevice(globalSize, device) {
68
150
  if (!globalSize || !device) return {};
@@ -78,4 +160,4 @@ const getPaddingGlobalSize = (globalSize)=>{
78
160
  return Object.assign({}, getCustomPaddingSizeCSSByDevice(globalSize, 'desktop'), getCustomPaddingSizeCSSByDevice(globalSize, 'tablet'), getCustomPaddingSizeCSSByDevice(globalSize, 'mobile'));
79
161
  };
80
162
 
81
- export { composeSize, composeSizeCss, genSizeClass, getPaddingGlobalSize, getWidthHeightGlobalSize, makeGlobalSize, makeStyleWithDefault };
163
+ 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;
@@ -1016,6 +1018,10 @@ type ControlUI = {
1016
1018
  info?: 'near' | 'far';
1017
1019
  labelSpacing?: 'small' | 'medium' | 'large';
1018
1020
  removeSpacing?: boolean;
1021
+ tooltip?: {
1022
+ icon?: string;
1023
+ content?: string;
1024
+ };
1019
1025
  hideOnDevices?: {
1020
1026
  desktop?: boolean;
1021
1027
  tablet?: boolean;
@@ -9536,6 +9542,9 @@ declare const makeGlobalSize: (globalSize?: ObjectDevices<SizeSettingGlobal>) =>
9536
9542
  };
9537
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>;
9538
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>;
9539
9548
  declare const getPaddingGlobalSize: (globalSize?: ObjectDevices<SizeSettingGlobal>) => React.CSSProperties;
9540
9549
 
9541
9550
  declare const parseValueWithUnit: (valueWithUnit: string) => any;
@@ -9838,4 +9847,4 @@ type PublishedThemePageSelectFragment = Pick<PublishedThemePage, 'id' | 'name' |
9838
9847
 
9839
9848
  declare const getProductBySlug: (fetcher: FetchFunc, slug?: string) => Promise<ProductSelectFragment>;
9840
9849
 
9841
- 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.25.11",
3
+ "version": "1.25.26",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",