@gem-sdk/core 2.0.0-dev.699 → 2.0.0-dev.701

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.
@@ -38,7 +38,7 @@ const componentUsingAdvanced = [
38
38
  'IconList',
39
39
  'ProductVariants'
40
40
  ];
41
- const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageContext, enableLazyLoadImage, additionalSettings, ...passProps })=>{
41
+ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageContext, additionalSettings, ...passProps })=>{
42
42
  const item = builder[uid];
43
43
  const Component = components[item?.tag];
44
44
  if (!Component) {
@@ -77,7 +77,6 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
77
77
  advanced: item.advanced,
78
78
  parentId: componentsRenderWithParentId.includes(item.tag) ? parentId : null,
79
79
  pageContext,
80
- enableLazyLoadImage,
81
80
  ...additionalSettings,
82
81
  ...passProps,
83
82
  builderAttrs: {
@@ -91,7 +90,6 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
91
90
  components,
92
91
  customProps,
93
92
  pageContext,
94
- enableLazyLoadImage,
95
93
  ...additionalSettings
96
94
  };
97
95
  }),
@@ -105,7 +103,6 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
105
103
  customProps,
106
104
  parentTag: item.tag,
107
105
  pageContext,
108
- enableLazyLoadImage,
109
106
  ...additionalSettings
110
107
  }))) : ''
111
108
  });
@@ -122,7 +119,6 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
122
119
  isText: componentTexts.includes(item.tag) ? true : null,
123
120
  parentId: componentsRenderWithParentId.includes(item.tag) ? parentId : null,
124
121
  pageContext,
125
- enableLazyLoadImage,
126
122
  ...passProps,
127
123
  builderAttrs: {
128
124
  ...passProps.builderAttrs
@@ -144,7 +140,6 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
144
140
  cssClass: item?.advanced?.cssClass
145
141
  },
146
142
  pageContext,
147
- enableLazyLoadImage,
148
143
  ...additionalSettings,
149
144
  ...passProps,
150
145
  builderAttrs: {
@@ -158,7 +153,6 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
158
153
  components,
159
154
  customProps,
160
155
  pageContext,
161
- enableLazyLoadImage,
162
156
  ...additionalSettings
163
157
  };
164
158
  }),
@@ -172,7 +166,6 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
172
166
  customProps,
173
167
  parentTag: item.tag,
174
168
  pageContext,
175
- enableLazyLoadImage,
176
169
  ...additionalSettings
177
170
  }))) : ''
178
171
  });
@@ -189,7 +182,6 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
189
182
  cssClass: item?.advanced?.cssClass
190
183
  },
191
184
  pageContext,
192
- enableLazyLoadImage,
193
185
  ...additionalSettings,
194
186
  isText: componentTexts.includes(item.tag) ? true : null,
195
187
  style: componentIconList.includes(item.tag) ? style : null,
@@ -210,11 +210,33 @@ const getResponsiveStylePadding = (value)=>{
210
210
  };
211
211
  }
212
212
  };
213
+ const getFlexGrowClassByShapeGlobalSize = (shapeByLayout)=>{
214
+ let result = {};
215
+ const DEVICES = [
216
+ 'desktop',
217
+ 'mobile',
218
+ 'tablet'
219
+ ];
220
+ DEVICES.forEach((device)=>{
221
+ const shapeByDevice = getResonsiveValue.getResponsiveValueByScreen(shapeByLayout, device);
222
+ const height = shapeByDevice?.height;
223
+ const shapeValue = shapeByDevice?.shapeValue;
224
+ const classFlex1 = device === 'desktop' ? 'gp-flex-1 gp-h-full' : `${device}:gp-flex-1 ${device}:gp-h-full`;
225
+ const classFlexNone = device === 'desktop' ? 'gp-flex-none gp-h-auto' : `${device}:gp-flex-none ${device}:gp-h-auto`;
226
+ result = {
227
+ ...result,
228
+ [classFlex1]: height === '100%' && !shapeValue,
229
+ [classFlexNone]: height !== '100%'
230
+ };
231
+ });
232
+ return result;
233
+ };
213
234
 
214
235
  exports.composeSize = composeSize;
215
236
  exports.composeSizeCss = composeSizeCss;
216
237
  exports.genSizeClass = genSizeClass;
217
238
  exports.getAspectRatioGlobalSize = getAspectRatioGlobalSize;
239
+ exports.getFlexGrowClassByShapeGlobalSize = getFlexGrowClassByShapeGlobalSize;
218
240
  exports.getGlobalSizeGap = getGlobalSizeGap;
219
241
  exports.getHeightByShapeGlobalSize = getHeightByShapeGlobalSize;
220
242
  exports.getPaddingGlobalSize = getPaddingGlobalSize;
package/dist/cjs/index.js CHANGED
@@ -318,6 +318,7 @@ exports.composeSize = size.composeSize;
318
318
  exports.composeSizeCss = size.composeSizeCss;
319
319
  exports.genSizeClass = size.genSizeClass;
320
320
  exports.getAspectRatioGlobalSize = size.getAspectRatioGlobalSize;
321
+ exports.getFlexGrowClassByShapeGlobalSize = size.getFlexGrowClassByShapeGlobalSize;
321
322
  exports.getGlobalSizeGap = size.getGlobalSizeGap;
322
323
  exports.getHeightByShapeGlobalSize = size.getHeightByShapeGlobalSize;
323
324
  exports.getPaddingGlobalSize = size.getPaddingGlobalSize;
@@ -34,7 +34,7 @@ const componentUsingAdvanced = [
34
34
  'IconList',
35
35
  'ProductVariants'
36
36
  ];
37
- const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageContext, enableLazyLoadImage, additionalSettings, ...passProps })=>{
37
+ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageContext, additionalSettings, ...passProps })=>{
38
38
  const item = builder[uid];
39
39
  const Component = components[item?.tag];
40
40
  if (!Component) {
@@ -73,7 +73,6 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
73
73
  advanced: item.advanced,
74
74
  parentId: componentsRenderWithParentId.includes(item.tag) ? parentId : null,
75
75
  pageContext,
76
- enableLazyLoadImage,
77
76
  ...additionalSettings,
78
77
  ...passProps,
79
78
  builderAttrs: {
@@ -87,7 +86,6 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
87
86
  components,
88
87
  customProps,
89
88
  pageContext,
90
- enableLazyLoadImage,
91
89
  ...additionalSettings
92
90
  };
93
91
  }),
@@ -101,7 +99,6 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
101
99
  customProps,
102
100
  parentTag: item.tag,
103
101
  pageContext,
104
- enableLazyLoadImage,
105
102
  ...additionalSettings
106
103
  }))) : ''
107
104
  });
@@ -118,7 +115,6 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
118
115
  isText: componentTexts.includes(item.tag) ? true : null,
119
116
  parentId: componentsRenderWithParentId.includes(item.tag) ? parentId : null,
120
117
  pageContext,
121
- enableLazyLoadImage,
122
118
  ...passProps,
123
119
  builderAttrs: {
124
120
  ...passProps.builderAttrs
@@ -140,7 +136,6 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
140
136
  cssClass: item?.advanced?.cssClass
141
137
  },
142
138
  pageContext,
143
- enableLazyLoadImage,
144
139
  ...additionalSettings,
145
140
  ...passProps,
146
141
  builderAttrs: {
@@ -154,7 +149,6 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
154
149
  components,
155
150
  customProps,
156
151
  pageContext,
157
- enableLazyLoadImage,
158
152
  ...additionalSettings
159
153
  };
160
154
  }),
@@ -168,7 +162,6 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
168
162
  customProps,
169
163
  parentTag: item.tag,
170
164
  pageContext,
171
- enableLazyLoadImage,
172
165
  ...additionalSettings
173
166
  }))) : ''
174
167
  });
@@ -185,7 +178,6 @@ const Render = ({ uid, builder, components, parentId, extraFiles = {}, pageConte
185
178
  cssClass: item?.advanced?.cssClass
186
179
  },
187
180
  pageContext,
188
- enableLazyLoadImage,
189
181
  ...additionalSettings,
190
182
  isText: componentTexts.includes(item.tag) ? true : null,
191
183
  style: componentIconList.includes(item.tag) ? style : null,
@@ -208,5 +208,26 @@ const getResponsiveStylePadding = (value)=>{
208
208
  };
209
209
  }
210
210
  };
211
+ const getFlexGrowClassByShapeGlobalSize = (shapeByLayout)=>{
212
+ let result = {};
213
+ const DEVICES = [
214
+ 'desktop',
215
+ 'mobile',
216
+ 'tablet'
217
+ ];
218
+ DEVICES.forEach((device)=>{
219
+ const shapeByDevice = getResponsiveValueByScreen(shapeByLayout, device);
220
+ const height = shapeByDevice?.height;
221
+ const shapeValue = shapeByDevice?.shapeValue;
222
+ const classFlex1 = device === 'desktop' ? 'gp-flex-1 gp-h-full' : `${device}:gp-flex-1 ${device}:gp-h-full`;
223
+ const classFlexNone = device === 'desktop' ? 'gp-flex-none gp-h-auto' : `${device}:gp-flex-none ${device}:gp-h-auto`;
224
+ result = {
225
+ ...result,
226
+ [classFlex1]: height === '100%' && !shapeValue,
227
+ [classFlexNone]: height !== '100%'
228
+ };
229
+ });
230
+ return result;
231
+ };
211
232
 
212
- export { composeSize, composeSizeCss, genSizeClass, getAspectRatioGlobalSize, getGlobalSizeGap, getHeightByShapeGlobalSize, getPaddingGlobalSize, getPaddingStyleByDevice, getResponsiveStylePadding, getValueByDevice, getWidthByShapeGlobalSize, getWidthHeightGlobalSize, makeGlobalSize, makeGlobalSizeIcon, makeStyleWithDefault };
233
+ export { composeSize, composeSizeCss, genSizeClass, getAspectRatioGlobalSize, getFlexGrowClassByShapeGlobalSize, getGlobalSizeGap, getHeightByShapeGlobalSize, getPaddingGlobalSize, getPaddingStyleByDevice, getResponsiveStylePadding, getValueByDevice, getWidthByShapeGlobalSize, getWidthHeightGlobalSize, makeGlobalSize, makeGlobalSizeIcon, makeStyleWithDefault };
package/dist/esm/index.js CHANGED
@@ -78,7 +78,7 @@ export { generateCollectionQueryKey, generateProductQueryKey, generateProductsQu
78
78
  export { composeCornerCss, composeRadius, composeRadiusResponsive, getCornerCSSFromGlobal, getCustomRadius, getRadiusCSSFromGlobal, getRadiusStyleActiveState } from './helpers/radius.js';
79
79
  export { RenderIf, composeMemo, dataStringify, props, removeUndefinedValuesFromObject, styles, template } from './helpers/render.js';
80
80
  export { composeShadow, composeShadowCss, getResponsiveStyleShadow, getResponsiveStyleShadowWithoutState, getStyleShadow, getStyleShadowState, parseValueWithUnit } from './helpers/shadow.js';
81
- export { composeSize, composeSizeCss, genSizeClass, getAspectRatioGlobalSize, getGlobalSizeGap, getHeightByShapeGlobalSize, getPaddingGlobalSize, getPaddingStyleByDevice, getResponsiveStylePadding, getValueByDevice, getWidthByShapeGlobalSize, getWidthHeightGlobalSize, makeGlobalSize, makeGlobalSizeIcon, makeStyleWithDefault } from './helpers/size.js';
81
+ export { composeSize, composeSizeCss, genSizeClass, getAspectRatioGlobalSize, getFlexGrowClassByShapeGlobalSize, getGlobalSizeGap, getHeightByShapeGlobalSize, getPaddingGlobalSize, getPaddingStyleByDevice, getResponsiveStylePadding, getValueByDevice, getWidthByShapeGlobalSize, getWidthHeightGlobalSize, makeGlobalSize, makeGlobalSizeIcon, makeStyleWithDefault } from './helpers/size.js';
82
82
  export { composeFallbackTypographyStyle, composeFontFamilyTypographyV2, composeTextHoverColorCss, composeTypography, composeTypographyAttr, composeTypographyClassName, composeTypographyCss, composeTypographyStyle, composeTypographyV2, composeTypographyV2Css, genTypoClass } from './helpers/typography.js';
83
83
  export { useArticlesQuery, useBlogsQuery } from './hooks/articles/useArticlesQuery.js';
84
84
  export { useAddToCart } from './hooks/cart/use-add-to-cart.js';
@@ -7388,6 +7388,7 @@ type PageContext = {
7388
7388
  sectionName?: string;
7389
7389
  isOptimizePlan?: boolean;
7390
7390
  showPriceCurrency?: boolean;
7391
+ enableLazyLoadImage?: boolean;
7391
7392
  };
7392
7393
  type OnlyOne<T, U> = (T & {
7393
7394
  [K in keyof U]?: never;
@@ -34540,11 +34541,10 @@ type Props = {
34540
34541
  components: Record<string, any>;
34541
34542
  extraFiles?: ExtraFiles;
34542
34543
  pageContext?: PageContext;
34543
- enableLazyLoadImage?: boolean;
34544
34544
  additionalSettings?: Record<string, any>;
34545
34545
  [key: string]: any;
34546
34546
  };
34547
- declare const Render: ({ uid, builder, components, parentId, extraFiles, pageContext, enableLazyLoadImage, additionalSettings, ...passProps }: Props) => {
34547
+ declare const Render: ({ uid, builder, components, parentId, extraFiles, pageContext, additionalSettings, ...passProps }: Props) => {
34548
34548
  liquid: string;
34549
34549
  extraFiles: ExtraFiles;
34550
34550
  };
@@ -45986,6 +45986,7 @@ declare const getPaddingStyleByDevice: (value?: PaddingType, device?: NameDevice
45986
45986
  declare const getResponsiveStylePadding: (value?: ObjectDevices<PaddingType>) => {
45987
45987
  [x: string]: string | undefined;
45988
45988
  } | undefined;
45989
+ declare const getFlexGrowClassByShapeGlobalSize: (shapeByLayout?: ObjectDevices<SizeSettingGlobal>) => {};
45989
45990
 
45990
45991
  type TypographyClass = `gp-g-${TypographyType}`;
45991
45992
  declare const genTypoClass: (name: TypographyType) => TypographyClass;
@@ -47955,4 +47956,4 @@ declare const useInteraction: () => {
47955
47956
 
47956
47957
  declare const DEVICES: NameDevices$1[];
47957
47958
 
47958
- 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, SettingUIControl, 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, TypographyProps, TypographySetting, TypographySettingV2, TypographyType, TypographyV2Attrs, TypographyV2Props, UltimateSalesBoostWidgetType, ValidateType, VariableRelatedStyles, VariantSelectFragment, VitalsWidgetType, WiserV2WidgetType, WiserWidgetType, WrapRenderChildren, YotpoReviewsWidgetType, addAppBlockId, animations, baseAssetURL, calculateFirstProduct, checkAvailableVariantInStock, checkInStock, cls, composeAdvanceStyle, composeAdvanceStyleForPostPurchase, composeBackgroundCss, composeBackgroundImageCss, composeBorderCss, composeBorderResponsive, composeClasses, composeCornerCss, composeFallbackTypographyStyle, composeFontFamilyTypographyV2, composeGridLayout, composeMemo, composePositionLineHeight, composePostionIconList, composeRadius, composeRadiusResponsive, composeShadow, composeShadowCss, composeSize, composeSizeCss, composeSpacing, composeTextColorCss, composeTextHoverColorCss, composeTypography, composeTypographyAttr, composeTypographyClassName, composeTypographyCss, composeTypographyStyle, composeTypographyV2, composeTypographyV2Css, convertBoxShadowV1ToV2, convertHTML, convertOldLayout, convertTextAlignToJustify, dataStringify, fetchMedias, fetchVariants, filterAttrInStyle, filterToolbarPreview, filterTruthyStyles, flattenConnection, formatMoney, fpixel, genSizeClass, genTypoClass, genVariable, generateCollectionQueryKey, generateProductQueryKey, generateProductsQueryKey, getAlignmentClasses, getAppBlocks, getAspectRatioGlobalSize, getBgByDevice, getBgImageByDevice, getBgImageSourceByDevice, getBgVideoByDevice, getBorderRadiusStyle, getBorderStyle, getCarouselContainerHeight, getCollection, getCornerCSSFromGlobal, getCornerStyle, getCustomRadius, getGlobalColorCSSProp, getGlobalColorClass, getGlobalColorResponsiveClass, getGlobalColorResponsiveStyle, getGlobalColorStateClass, getGlobalColorStateClassDynamicBtn, getGlobalColorStateResponsiveClass, getGlobalColorStateResponsiveClassDynamicBtn, getGlobalColorStateResponsiveStyle, getGlobalColorStateStyle, getGlobalColorStyle, getGlobalSizeGap, getGradientBgrStyleByDevice, getGradientBgrStyleForButton, getHeightByShapeGlobalSize, getLayoutClasses, getPaddingGlobalSize, getPaddingStyleByDevice, getProduct, getProductBySlug, getRadiusCSSFromGlobal, getRadiusStyleActiveState, getResponsiveStateValue, getResponsiveStylePadding, getResponsiveStyleShadow, getResponsiveStyleShadowWithoutState, getResponsiveValue, getResponsiveValueByScreen, getSelectedVariant, getShortName, getSingleColorVariable, getSpacingVariable, getStyleBackgroundByDevice, getStyleBackgroundImageByDevice, getStyleBgColor, getStyleBgImageSource, getStyleShadow, getStyleShadowState, getValueByDevice, getWidthByShapeGlobalSize, getWidthHeightGlobalSize, globalEvent, gridToArrayRegex, gtag, handleConvertBorderColor, handleConvertBorderStyle, handleConvertBorderWidth, handleConvertClassColor, handleConvertClassColorDynamicBtn, handleConvertInputBorderColor, handleConvertInputBorderWidth, isBrowser, isColor, isColumnDirectionExist, isDefined, isEmptyChildren, isLocalEnv, isSafari, loadScript, makeAspectRatio, makeContainerWidthOrHeight, makeDotGapToCarouselStyle, makeFixedBgAttachment, makeGlobalSize, makeGlobalSizeHeightResponsive, makeGlobalSizeIcon, makeGlobalSizeWidthResponsive, makeHeight, makeLineClamp, makeStyle, makeStyleKey, makeStyleResponsive, makeStyleResponsiveByScreen, makeStyleResponsiveState, makeStyleResponsiveWidth, makeStyleResponsiveWidthWithoutAuto, makeStyleState, makeStyleWithDefault, makeWidth, normalizeBuilderData, optionLayoutStyle, parseSelectedOption, parseValueWithUnit, prefetchQueries, props, removeAttrInStyle, removeNullUndefined, removePaddingYInStyle, removeUndefinedValuesFromObject, shopifyPriceRounding, splitStyle, styles, template, tiktokpixel, useAddToCart, useAddon, useAddons, useArticleListStore, useArticleStore, useArticlesQuery, useBlogsQuery, useBuilderComponent, useBuilderPreviewStore, useBuilderStore, useCartData, useCartDiscountCodesUpdate, useCartId, useCartLine, useCartLineStore, useCartNoteUpdate, useCartUI, useCheckAvailableVariantInStock, useCheckoutUrl, useCollection, useCollectionQuery, useCollectionStore, useCollectionsQuery, useConnectedShopify, useCreateCart, useCurrency, useCurrentDevice, useCurrentVariant, useCurrentVariantInStock, useEditorMode, useFeaturedImageGlobal, useFormatMoney, useHasPreSelected, useI18n, useI18nStore, useInitialSwatchesOptions, useInteraction, useIsSampleProduct, useIsStorefrontProduct, useIsSyncProduct, useIsomorphicLayoutEffect, useLazyVideo, useLoadScript, useLocale, useMatchMutate, useMobileOnly, useModalStore, useMoney, useMoneyFormat, usePageStore, usePageType, usePluginEnable, usePrevious, useProduct, useProductBundleDiscount, useProductList, useProductListProducts, useProductListSettings, useProductListStore, useProductListStyles, useProductOfferDiscount, useProductProperties, useProductQuery, useProductShopifyEditLink, useProductStore, useProductsQuery, useProductsQueryAll, useQuantity, useRemoveCartItem, useSection, useSectionStore, useSelectedOption, useShopStore, useShopifyLink, useStickyStore, useStoreFront, useSuspenseFetch, useSwatches, useSwatchesOptions, useTimezone, useUniqProductID, useUpdateCartItem, useVariant, useVariantOutStock, useVariants, validateEmail };
47959
+ 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, SettingUIControl, 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, TypographyProps, TypographySetting, TypographySettingV2, TypographyType, TypographyV2Attrs, TypographyV2Props, UltimateSalesBoostWidgetType, ValidateType, VariableRelatedStyles, VariantSelectFragment, VitalsWidgetType, WiserV2WidgetType, WiserWidgetType, WrapRenderChildren, YotpoReviewsWidgetType, addAppBlockId, animations, baseAssetURL, calculateFirstProduct, checkAvailableVariantInStock, checkInStock, cls, composeAdvanceStyle, composeAdvanceStyleForPostPurchase, composeBackgroundCss, composeBackgroundImageCss, composeBorderCss, composeBorderResponsive, composeClasses, composeCornerCss, composeFallbackTypographyStyle, composeFontFamilyTypographyV2, composeGridLayout, composeMemo, composePositionLineHeight, composePostionIconList, composeRadius, composeRadiusResponsive, composeShadow, composeShadowCss, composeSize, composeSizeCss, composeSpacing, composeTextColorCss, composeTextHoverColorCss, composeTypography, composeTypographyAttr, composeTypographyClassName, composeTypographyCss, composeTypographyStyle, composeTypographyV2, composeTypographyV2Css, convertBoxShadowV1ToV2, convertHTML, convertOldLayout, convertTextAlignToJustify, dataStringify, fetchMedias, fetchVariants, filterAttrInStyle, filterToolbarPreview, filterTruthyStyles, flattenConnection, formatMoney, fpixel, genSizeClass, genTypoClass, genVariable, generateCollectionQueryKey, generateProductQueryKey, generateProductsQueryKey, getAlignmentClasses, getAppBlocks, getAspectRatioGlobalSize, getBgByDevice, getBgImageByDevice, getBgImageSourceByDevice, getBgVideoByDevice, getBorderRadiusStyle, getBorderStyle, getCarouselContainerHeight, getCollection, getCornerCSSFromGlobal, getCornerStyle, getCustomRadius, getFlexGrowClassByShapeGlobalSize, 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.699",
3
+ "version": "2.0.0-dev.701",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",