@gem-sdk/core 2.0.0-dev.345 → 2.0.0-dev.354

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.
@@ -112,81 +112,8 @@ function composeAdvanceStyle(data, tag, pageType) {
112
112
  Object.assign(styles, radius.composeRadius(value));
113
113
  }
114
114
  if (attr === 'boxShadow') {
115
- const baseElements = [
116
- 'Section',
117
- 'Row',
118
- 'Text',
119
- 'Heading',
120
- 'Image',
121
- 'Button',
122
- 'HeroBanner',
123
- 'ImageComparison',
124
- 'Countdown',
125
- 'Video'
126
- ];
127
- const productElements = [
128
- 'ProductTitle',
129
- 'ProductDescription',
130
- 'ProductPrice',
131
- 'ProductVendor',
132
- 'Product',
133
- 'ProductSku',
134
- 'StockCounter',
135
- 'Sticky',
136
- 'ProductBadge',
137
- 'ProductViewMore',
138
- 'ProductButton',
139
- 'DynamicCheckout',
140
- 'ProductList',
141
- 'ProductQuantity',
142
- 'ProductVariants'
143
- ];
144
- const boostElements = [
145
- 'Icon',
146
- 'IconListHoz',
147
- 'Line',
148
- 'IconList',
149
- 'IconListV2',
150
- 'Tabs',
151
- 'Accordion',
152
- 'Marquee',
153
- 'Breadcrumb',
154
- 'EstimateDate'
155
- ];
156
- const formElements = [
157
- 'Newsletter',
158
- 'ContactForm',
159
- 'TextField',
160
- 'FormTextarea',
161
- 'FormEmail',
162
- 'FormDropdown',
163
- 'FormCheckbox',
164
- 'SubmitButton',
165
- 'TextInput'
166
- ];
167
- const collectionElements = [
168
- 'CollectionTitle',
169
- 'CollectionDescription',
170
- 'CollectionBanner',
171
- 'CollectionToolbar',
172
- 'CollectionPaginator'
173
- ];
174
- const listElementShadowV2 = [
175
- ...baseElements,
176
- ...productElements,
177
- ...boostElements,
178
- ...formElements,
179
- ...collectionElements
180
- ];
181
- let hasBoxShadowV2 = hasBoxShadow;
182
- if (listElementShadowV2.includes(tag || '')) {
183
- hasBoxShadowV2 = {
184
- desktop: value.desktop ?? {},
185
- tablet: value.tablet ?? value.desktop ?? {},
186
- mobile: value.mobile ?? value.tablet ?? value.desktop ?? {}
187
- };
188
- }
189
- Object.assign(styles, shadow.getResponsiveStyleShadow(value, 'box-shadow', hasBoxShadowV2 ?? hasBoxShadow));
115
+ // const shadowConfig = convertBoxShadowV1ToV2(hasBoxShadow, value, tag);
116
+ Object.assign(styles, shadow.getResponsiveStyleShadow(value, 'box-shadow', hasBoxShadow));
190
117
  }
191
118
  const styleValue = getAttrValue(attr, deviceValue, tag);
192
119
  if (composeAttr === 'desktop') {
@@ -323,6 +250,83 @@ function composeAdvanceStyle(data, tag, pageType) {
323
250
  ...advancedPostPurchaseStyles
324
251
  };
325
252
  }
253
+ const convertBoxShadowV1ToV2 = (hasBoxShadow, value, tag)=>{
254
+ const baseElements = [
255
+ 'Section',
256
+ 'Row',
257
+ 'Text',
258
+ 'Heading',
259
+ 'Image',
260
+ 'Button',
261
+ 'HeroBanner',
262
+ 'ImageComparison',
263
+ 'Countdown',
264
+ 'Video'
265
+ ];
266
+ const productElements = [
267
+ 'ProductTitle',
268
+ 'ProductDescription',
269
+ 'ProductPrice',
270
+ 'ProductVendor',
271
+ 'Product',
272
+ 'ProductSku',
273
+ 'StockCounter',
274
+ 'Sticky',
275
+ 'ProductBadge',
276
+ 'ProductViewMore',
277
+ 'ProductButton',
278
+ 'DynamicCheckout',
279
+ 'ProductList',
280
+ 'ProductQuantity',
281
+ 'ProductVariants'
282
+ ];
283
+ const boostElements = [
284
+ 'Icon',
285
+ 'IconListHoz',
286
+ 'Line',
287
+ 'IconList',
288
+ 'IconListV2',
289
+ 'Tabs',
290
+ 'Accordion',
291
+ 'Marquee',
292
+ 'Breadcrumb',
293
+ 'EstimateDate'
294
+ ];
295
+ const formElements = [
296
+ 'Newsletter',
297
+ 'ContactForm',
298
+ 'TextField',
299
+ 'FormTextarea',
300
+ 'FormEmail',
301
+ 'FormDropdown',
302
+ 'FormCheckbox',
303
+ 'SubmitButton',
304
+ 'TextInput'
305
+ ];
306
+ const collectionElements = [
307
+ 'CollectionTitle',
308
+ 'CollectionDescription',
309
+ 'CollectionBanner',
310
+ 'CollectionToolbar',
311
+ 'CollectionPaginator'
312
+ ];
313
+ const listElementShadowV2 = [
314
+ ...baseElements,
315
+ ...productElements,
316
+ ...boostElements,
317
+ ...formElements,
318
+ ...collectionElements
319
+ ];
320
+ let hasBoxShadowV2 = hasBoxShadow;
321
+ if (listElementShadowV2.includes(tag || '')) {
322
+ hasBoxShadowV2 = {
323
+ desktop: value.desktop ?? {},
324
+ tablet: value.tablet ?? value.desktop ?? {},
325
+ mobile: value.mobile ?? value.tablet ?? value.desktop ?? {}
326
+ };
327
+ }
328
+ return hasBoxShadowV2;
329
+ };
326
330
  const splitStyle = (keys, style = {})=>{
327
331
  const fullKeys = keys.map((key)=>makeStyle.makeStyleKey(key)).flat();
328
332
  const splitKeys = Object.keys(style).filter((key)=>{
@@ -390,6 +394,7 @@ const removePaddingYInStyle = (style)=>{
390
394
 
391
395
  exports.composeAdvanceStyle = composeAdvanceStyle;
392
396
  exports.composeAdvanceStyleForPostPurchase = composeAdvanceStyleForPostPurchase;
397
+ exports.convertBoxShadowV1ToV2 = convertBoxShadowV1ToV2;
393
398
  exports.filterAttrInStyle = filterAttrInStyle;
394
399
  exports.getCornerStyle = getCornerStyle;
395
400
  exports.removeAttrInStyle = removeAttrInStyle;
package/dist/cjs/index.js CHANGED
@@ -242,6 +242,7 @@ exports.getSingleColorVariable = colors.getSingleColorVariable;
242
242
  exports.isColor = colors.isColor;
243
243
  exports.composeAdvanceStyle = composeAdvanceStyle.composeAdvanceStyle;
244
244
  exports.composeAdvanceStyleForPostPurchase = composeAdvanceStyle.composeAdvanceStyleForPostPurchase;
245
+ exports.convertBoxShadowV1ToV2 = composeAdvanceStyle.convertBoxShadowV1ToV2;
245
246
  exports.filterAttrInStyle = composeAdvanceStyle.filterAttrInStyle;
246
247
  exports.getCornerStyle = composeAdvanceStyle.getCornerStyle;
247
248
  exports.removeAttrInStyle = composeAdvanceStyle.removeAttrInStyle;
@@ -110,81 +110,8 @@ function composeAdvanceStyle(data, tag, pageType) {
110
110
  Object.assign(styles, composeRadius(value));
111
111
  }
112
112
  if (attr === 'boxShadow') {
113
- const baseElements = [
114
- 'Section',
115
- 'Row',
116
- 'Text',
117
- 'Heading',
118
- 'Image',
119
- 'Button',
120
- 'HeroBanner',
121
- 'ImageComparison',
122
- 'Countdown',
123
- 'Video'
124
- ];
125
- const productElements = [
126
- 'ProductTitle',
127
- 'ProductDescription',
128
- 'ProductPrice',
129
- 'ProductVendor',
130
- 'Product',
131
- 'ProductSku',
132
- 'StockCounter',
133
- 'Sticky',
134
- 'ProductBadge',
135
- 'ProductViewMore',
136
- 'ProductButton',
137
- 'DynamicCheckout',
138
- 'ProductList',
139
- 'ProductQuantity',
140
- 'ProductVariants'
141
- ];
142
- const boostElements = [
143
- 'Icon',
144
- 'IconListHoz',
145
- 'Line',
146
- 'IconList',
147
- 'IconListV2',
148
- 'Tabs',
149
- 'Accordion',
150
- 'Marquee',
151
- 'Breadcrumb',
152
- 'EstimateDate'
153
- ];
154
- const formElements = [
155
- 'Newsletter',
156
- 'ContactForm',
157
- 'TextField',
158
- 'FormTextarea',
159
- 'FormEmail',
160
- 'FormDropdown',
161
- 'FormCheckbox',
162
- 'SubmitButton',
163
- 'TextInput'
164
- ];
165
- const collectionElements = [
166
- 'CollectionTitle',
167
- 'CollectionDescription',
168
- 'CollectionBanner',
169
- 'CollectionToolbar',
170
- 'CollectionPaginator'
171
- ];
172
- const listElementShadowV2 = [
173
- ...baseElements,
174
- ...productElements,
175
- ...boostElements,
176
- ...formElements,
177
- ...collectionElements
178
- ];
179
- let hasBoxShadowV2 = hasBoxShadow;
180
- if (listElementShadowV2.includes(tag || '')) {
181
- hasBoxShadowV2 = {
182
- desktop: value.desktop ?? {},
183
- tablet: value.tablet ?? value.desktop ?? {},
184
- mobile: value.mobile ?? value.tablet ?? value.desktop ?? {}
185
- };
186
- }
187
- Object.assign(styles, getResponsiveStyleShadow(value, 'box-shadow', hasBoxShadowV2 ?? hasBoxShadow));
113
+ // const shadowConfig = convertBoxShadowV1ToV2(hasBoxShadow, value, tag);
114
+ Object.assign(styles, getResponsiveStyleShadow(value, 'box-shadow', hasBoxShadow));
188
115
  }
189
116
  const styleValue = getAttrValue(attr, deviceValue, tag);
190
117
  if (composeAttr === 'desktop') {
@@ -321,6 +248,83 @@ function composeAdvanceStyle(data, tag, pageType) {
321
248
  ...advancedPostPurchaseStyles
322
249
  };
323
250
  }
251
+ const convertBoxShadowV1ToV2 = (hasBoxShadow, value, tag)=>{
252
+ const baseElements = [
253
+ 'Section',
254
+ 'Row',
255
+ 'Text',
256
+ 'Heading',
257
+ 'Image',
258
+ 'Button',
259
+ 'HeroBanner',
260
+ 'ImageComparison',
261
+ 'Countdown',
262
+ 'Video'
263
+ ];
264
+ const productElements = [
265
+ 'ProductTitle',
266
+ 'ProductDescription',
267
+ 'ProductPrice',
268
+ 'ProductVendor',
269
+ 'Product',
270
+ 'ProductSku',
271
+ 'StockCounter',
272
+ 'Sticky',
273
+ 'ProductBadge',
274
+ 'ProductViewMore',
275
+ 'ProductButton',
276
+ 'DynamicCheckout',
277
+ 'ProductList',
278
+ 'ProductQuantity',
279
+ 'ProductVariants'
280
+ ];
281
+ const boostElements = [
282
+ 'Icon',
283
+ 'IconListHoz',
284
+ 'Line',
285
+ 'IconList',
286
+ 'IconListV2',
287
+ 'Tabs',
288
+ 'Accordion',
289
+ 'Marquee',
290
+ 'Breadcrumb',
291
+ 'EstimateDate'
292
+ ];
293
+ const formElements = [
294
+ 'Newsletter',
295
+ 'ContactForm',
296
+ 'TextField',
297
+ 'FormTextarea',
298
+ 'FormEmail',
299
+ 'FormDropdown',
300
+ 'FormCheckbox',
301
+ 'SubmitButton',
302
+ 'TextInput'
303
+ ];
304
+ const collectionElements = [
305
+ 'CollectionTitle',
306
+ 'CollectionDescription',
307
+ 'CollectionBanner',
308
+ 'CollectionToolbar',
309
+ 'CollectionPaginator'
310
+ ];
311
+ const listElementShadowV2 = [
312
+ ...baseElements,
313
+ ...productElements,
314
+ ...boostElements,
315
+ ...formElements,
316
+ ...collectionElements
317
+ ];
318
+ let hasBoxShadowV2 = hasBoxShadow;
319
+ if (listElementShadowV2.includes(tag || '')) {
320
+ hasBoxShadowV2 = {
321
+ desktop: value.desktop ?? {},
322
+ tablet: value.tablet ?? value.desktop ?? {},
323
+ mobile: value.mobile ?? value.tablet ?? value.desktop ?? {}
324
+ };
325
+ }
326
+ return hasBoxShadowV2;
327
+ };
324
328
  const splitStyle = (keys, style = {})=>{
325
329
  const fullKeys = keys.map((key)=>makeStyleKey(key)).flat();
326
330
  const splitKeys = Object.keys(style).filter((key)=>{
@@ -386,4 +390,4 @@ const removePaddingYInStyle = (style)=>{
386
390
  return removeAttrInStyle(style, keys);
387
391
  };
388
392
 
389
- export { composeAdvanceStyle, composeAdvanceStyleForPostPurchase, filterAttrInStyle, getCornerStyle, removeAttrInStyle, removePaddingYInStyle, splitStyle };
393
+ export { composeAdvanceStyle, composeAdvanceStyleForPostPurchase, convertBoxShadowV1ToV2, filterAttrInStyle, getCornerStyle, removeAttrInStyle, removePaddingYInStyle, splitStyle };
package/dist/esm/index.js CHANGED
@@ -61,7 +61,7 @@ export { tiktokpixel };
61
61
  export { GRADIENT_BGR_KEY, composeBackgroundCss, getBgImageByDevice, getGradientBgrStyleByDevice, getGradientBgrStyleForButton, getStyleBackgroundByDevice, getStyleBgColor, makeFixedBgAttachment } from './helpers/background.js';
62
62
  export { composeBackgroundImageCss, getBgImageSourceByDevice, getStyleBackgroundImageByDevice, getStyleBgImageSource } from './helpers/backgroundImage.js';
63
63
  export { composeTextColorCss, getGlobalColorCSSProp, getGlobalColorClass, getGlobalColorResponsiveClass, getGlobalColorResponsiveStyle, getGlobalColorStateClass, getGlobalColorStateClassDynamicBtn, getGlobalColorStateResponsiveClass, getGlobalColorStateResponsiveClassDynamicBtn, getGlobalColorStateResponsiveStyle, getGlobalColorStateStyle, getGlobalColorStyle, getSingleColorVariable, isColor } from './helpers/colors.js';
64
- export { composeAdvanceStyle, composeAdvanceStyleForPostPurchase, filterAttrInStyle, getCornerStyle, removeAttrInStyle, removePaddingYInStyle, splitStyle } from './helpers/compose-advance-style.js';
64
+ export { composeAdvanceStyle, composeAdvanceStyleForPostPurchase, convertBoxShadowV1ToV2, filterAttrInStyle, getCornerStyle, removeAttrInStyle, removePaddingYInStyle, splitStyle } from './helpers/compose-advance-style.js';
65
65
  export { composeClasses } from './helpers/composeClasses.js';
66
66
  export { baseAssetURL, isLocalEnv } from './helpers/convert.js';
67
67
  export { convertHTML } from './helpers/covert-entities-html.js';
@@ -37614,6 +37614,7 @@ declare const composeTextColorCss: (color?: ColorValueType) => string;
37614
37614
  type AdvanceValue = Primitive | ObjectDevices<Primitive>;
37615
37615
  declare const composeAdvanceStyleForPostPurchase: (data?: Record<string, AdvanceValue>, tag?: string) => React.CSSProperties;
37616
37616
  declare function composeAdvanceStyle(data?: Record<string, AdvanceValue>, tag?: string, pageType?: PublishedThemePageType$1): React.CSSProperties;
37617
+ declare const convertBoxShadowV1ToV2: (hasBoxShadow: Partial<Record<StateType, boolean>>, value: Partial<Record<NameDevices$1, Primitive>>, tag: string | undefined) => Partial<Record<StateType, boolean>>;
37617
37618
  declare const splitStyle: (keys: ShortHandProperty[], style?: React.CSSProperties) => React.CSSProperties[];
37618
37619
  declare const filterAttrInStyle: (style?: React.CSSProperties, filterKeys?: string[]) => {
37619
37620
  [x: string]: any;
@@ -47558,4 +47559,4 @@ declare const useInteraction: () => {
47558
47559
  interactionListenerLoaded: (callback: () => void) => void;
47559
47560
  };
47560
47561
 
47561
- 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, 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, ImageShape$1 as ImageShape, InitComponentType, InstantJudgeMeReviewsWidgetType, InstantKlaviyoWidgetType, InstantLooxReviewsWidgetType, Interaction, InteractionCondition, InteractionElement, InteractionTarget, InteractionTargetEvent, InteractionTargetEventObject, InteractionTriggerEvent, JudgeMeReviewsWidgetType, KlaviyoWidgetType, LaiProductReviewsAdvancedWidgetType, LaiProductReviewsWidgetType, LibrarySaleFunnelDocument, LibrarySaleFunnelQueryResponse, LibrarySaleFunnelQueryVariables, LibraryTemplateDocument, LibraryTemplateQueryResponse, LibraryTemplateQueryVariables, LooxReviewsWidgetType, LooxReviewsWidgetTypeV2, MediaSelectFragment, ModalProvider, ModalProviderProps, NameDevices$1 as NameDevices, NestedKeys, ObjectDeviceGlobalType, ObjectDevices, ObjectLayoutValue, OmnisendWidgetType, OnlyOne, OpinewDesignWidgetType, OpinewWidgetType, Option$4 as Option, OptionNormalStyle, OptionSpecialStyle, Options$1 as Options, PaddingType, PageContext, PageProvider, PageProviderProps, PageType, PageViewUpDocument, PageViewUpMutationResponse, PageViewUpMutationVariables, PickyStoryWidgetType, PostPurchaseTypo, PreOrderNowWodWidgetType, PreviewThemePageDocument, PreviewThemePageQueryResponse, PreviewThemePageQueryVariables, Primitive, ProductInputAnalytic, ProductListProvider, ProductListProviderProps, ProductOffer, ProductProvider, ProductProviderProps, ProductReviewsWidgetType, ProductSelectFragment, ProductsDocument, ProductsQueryResponse, ProductsQueryVariables, PublicStoreFrontData, PublishedShopMetasDocument, PublishedShopMetasQueryResponse, PublishedShopMetasQueryVariables, PublishedThemePageSelectFragment, PublishedThemePagesDocument, PublishedThemePagesQueryResponse, PublishedThemePagesQueryVariables, RGBAColorType, RGBColorType, Ratio$1 as Ratio, RawChild, RenderMemo as Render, RenderChildren, RenderIf, Render as RenderLiquid, RenderMode, RenderPreviewMemo as RenderPreview, RequiredCursorEdge, ResponsiveKey, ResponsiveStateProp, RivyoWidgetType, RoundedSize, RyviuWidgetType, SaleFunnelDiscount$1 as SaleFunnelDiscount, SaleFunnelDiscountEdge$1 as SaleFunnelDiscountEdge, SaleFunnelDiscountObjectType$1 as SaleFunnelDiscountObjectType, SaleFunnelDiscountType$1 as SaleFunnelDiscountType, SaleFunnelDiscountValueType$1 as SaleFunnelDiscountValueType, SaleFunnelDiscountsDocument, SaleFunnelDiscountsQueryResponse, SaleFunnelDiscountsQueryVariables, SaleFunnelOfferDocument, SaleFunnelOfferQueryResponse, SaleFunnelOfferQueryVariables, Scalars$1 as Scalars, ScaleByDirection, SectionData, SectionEntity, SectionProvider, SectionProviderProps, Setting, SettingByAnimationType, SettingByAnimationValues, SettingUIGroup, ShadowProps, ShadowStyle, ShadowStyleApplied, ShadowType, ShopLibraryPageDocument, ShopLibraryPageQueryResponse, ShopLibraryPageQueryVariables, ShopProvider, ShopProviderProps, ShopShopifyDocument, ShopShopifyQueryResponse, ShopShopifyQueryVariables, shop as ShopType, SizeProps, SizeSetting$1 as SizeSetting, SizeSettingGlobal, SizeType, SpacingType, StampedWidgetType, StampedWidgetTypeV2, StateProp, StateSelector, StateType, StoreConfig, StorePropertyDocument, StorePropertyQueryResponse, StorePropertyQueryVariables, SwatchesOptionType, SwatchesOptionValue, TagShopWidgetType, ThemePageDocument, ThemePageQueryResponse, ThemePageQueryVariables, ThemeSectionStatus$1 as ThemeSectionStatus, TransformProp, TriggerConfig, TrustooWidgetType, TrustooWidgetTypeV2, TypographyProps, TypographySetting, TypographySettingV2, TypographyType, TypographyV2Attrs, TypographyV2Props, UltimateSalesBoostWidgetType, ValidateType, VariableRelatedStyles, VariantSelectFragment, VitalsWidgetType, WiserV2WidgetType, WiserWidgetType, WrapRenderChildren, YotpoReviewsWidgetType, addAppBlockId, animations, baseAssetURL, calculateFirstProduct, checkAvailableVariantInStock, checkInStock, cls, composeAdvanceStyle, composeAdvanceStyleForPostPurchase, composeBackgroundCss, composeBackgroundImageCss, composeBorderCss, composeBorderResponsive, composeClasses, composeCornerCss, composeFallbackTypographyStyle, composeFontFamilyTypographyV2, composeGridLayout, composeMemo, composePositionLineHeight, composePostionIconList, composeRadius, composeRadiusResponsive, composeShadow, composeShadowCss, composeSize, composeSizeCss, composeSpacing, composeTextColorCss, composeTextHoverColorCss, composeTypoHover, composeTypography, composeTypographyAttr, composeTypographyClassName, composeTypographyCss, composeTypographyStyle, composeTypographyV2, composeTypographyV2Css, convertHTML, convertOldLayout, convertTextAlignToJustify, dataStringify, fetchMedias, fetchVariants, filterAttrInStyle, filterToolbarPreview, filterTruthyStyles, flattenConnection, formatMoney, fpixel, genSizeClass, genTypoClass, genVariable, generateCollectionQueryKey, generateProductQueryKey, generateProductsQueryKey, getAlignmentClasses, getAppBlocks, getAspectRatioGlobalSize, getBgImageByDevice, getBgImageSourceByDevice, 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, useInitialSwatchesOptions, useInteraction, useIsSampleProduct, useIsStorefrontProduct, useIsSyncProduct, useIsomorphicLayoutEffect, useLazyVideo, useLoadScript, useLocale, useMatchMutate, useMobileOnly, useModalStore, useMoney, useMoneyFormat, usePageStore, usePageType, usePluginEnable, usePrevious, useProduct, useProductBundleDiscount, useProductList, useProductListProducts, useProductListSettings, useProductListStore, useProductListStyles, useProductOfferDiscount, useProductProperties, useProductQuery, useProductShopifyEditLink, useProductStore, useProductsQuery, useProductsQueryAll, useQuantity, useRemoveCartItem, useSection, useSectionStore, useSelectedOption, useShopStore, useShopifyLink, useStoreFront, useSuspenseFetch, useSwatches, useSwatchesOptions, useTimezone, useUniqProductID, useUpdateCartItem, useVariant, useVariantOutStock, useVariants, validateEmail };
47562
+ 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, 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, ImageShape$1 as ImageShape, InitComponentType, InstantJudgeMeReviewsWidgetType, InstantKlaviyoWidgetType, InstantLooxReviewsWidgetType, Interaction, InteractionCondition, InteractionElement, InteractionTarget, InteractionTargetEvent, InteractionTargetEventObject, InteractionTriggerEvent, JudgeMeReviewsWidgetType, KlaviyoWidgetType, LaiProductReviewsAdvancedWidgetType, LaiProductReviewsWidgetType, LibrarySaleFunnelDocument, LibrarySaleFunnelQueryResponse, LibrarySaleFunnelQueryVariables, LibraryTemplateDocument, LibraryTemplateQueryResponse, LibraryTemplateQueryVariables, LooxReviewsWidgetType, LooxReviewsWidgetTypeV2, MediaSelectFragment, ModalProvider, ModalProviderProps, NameDevices$1 as NameDevices, NestedKeys, ObjectDeviceGlobalType, ObjectDevices, ObjectLayoutValue, OmnisendWidgetType, OnlyOne, OpinewDesignWidgetType, OpinewWidgetType, Option$4 as Option, OptionNormalStyle, OptionSpecialStyle, Options$1 as Options, PaddingType, PageContext, PageProvider, PageProviderProps, PageType, PageViewUpDocument, PageViewUpMutationResponse, PageViewUpMutationVariables, PickyStoryWidgetType, PostPurchaseTypo, PreOrderNowWodWidgetType, PreviewThemePageDocument, PreviewThemePageQueryResponse, PreviewThemePageQueryVariables, Primitive, ProductInputAnalytic, ProductListProvider, ProductListProviderProps, ProductOffer, ProductProvider, ProductProviderProps, ProductReviewsWidgetType, ProductSelectFragment, ProductsDocument, ProductsQueryResponse, ProductsQueryVariables, PublicStoreFrontData, PublishedShopMetasDocument, PublishedShopMetasQueryResponse, PublishedShopMetasQueryVariables, PublishedThemePageSelectFragment, PublishedThemePagesDocument, PublishedThemePagesQueryResponse, PublishedThemePagesQueryVariables, RGBAColorType, RGBColorType, Ratio$1 as Ratio, RawChild, RenderMemo as Render, RenderChildren, RenderIf, Render as RenderLiquid, RenderMode, RenderPreviewMemo as RenderPreview, RequiredCursorEdge, ResponsiveKey, ResponsiveStateProp, RivyoWidgetType, RoundedSize, RyviuWidgetType, SaleFunnelDiscount$1 as SaleFunnelDiscount, SaleFunnelDiscountEdge$1 as SaleFunnelDiscountEdge, SaleFunnelDiscountObjectType$1 as SaleFunnelDiscountObjectType, SaleFunnelDiscountType$1 as SaleFunnelDiscountType, SaleFunnelDiscountValueType$1 as SaleFunnelDiscountValueType, SaleFunnelDiscountsDocument, SaleFunnelDiscountsQueryResponse, SaleFunnelDiscountsQueryVariables, SaleFunnelOfferDocument, SaleFunnelOfferQueryResponse, SaleFunnelOfferQueryVariables, Scalars$1 as Scalars, ScaleByDirection, SectionData, SectionEntity, SectionProvider, SectionProviderProps, Setting, SettingByAnimationType, SettingByAnimationValues, SettingUIGroup, ShadowProps, ShadowStyle, ShadowStyleApplied, ShadowType, ShopLibraryPageDocument, ShopLibraryPageQueryResponse, ShopLibraryPageQueryVariables, ShopProvider, ShopProviderProps, ShopShopifyDocument, ShopShopifyQueryResponse, ShopShopifyQueryVariables, shop as ShopType, SizeProps, SizeSetting$1 as SizeSetting, SizeSettingGlobal, SizeType, SpacingType, StampedWidgetType, StampedWidgetTypeV2, StateProp, StateSelector, StateType, StoreConfig, StorePropertyDocument, StorePropertyQueryResponse, StorePropertyQueryVariables, SwatchesOptionType, SwatchesOptionValue, TagShopWidgetType, ThemePageDocument, ThemePageQueryResponse, ThemePageQueryVariables, ThemeSectionStatus$1 as ThemeSectionStatus, TransformProp, TriggerConfig, TrustooWidgetType, TrustooWidgetTypeV2, TypographyProps, TypographySetting, TypographySettingV2, TypographyType, TypographyV2Attrs, TypographyV2Props, UltimateSalesBoostWidgetType, ValidateType, VariableRelatedStyles, VariantSelectFragment, VitalsWidgetType, WiserV2WidgetType, WiserWidgetType, WrapRenderChildren, YotpoReviewsWidgetType, addAppBlockId, animations, baseAssetURL, calculateFirstProduct, checkAvailableVariantInStock, checkInStock, cls, composeAdvanceStyle, composeAdvanceStyleForPostPurchase, composeBackgroundCss, composeBackgroundImageCss, composeBorderCss, composeBorderResponsive, composeClasses, composeCornerCss, composeFallbackTypographyStyle, composeFontFamilyTypographyV2, composeGridLayout, composeMemo, composePositionLineHeight, composePostionIconList, composeRadius, composeRadiusResponsive, composeShadow, composeShadowCss, composeSize, composeSizeCss, composeSpacing, composeTextColorCss, composeTextHoverColorCss, composeTypoHover, composeTypography, composeTypographyAttr, composeTypographyClassName, composeTypographyCss, composeTypographyStyle, composeTypographyV2, composeTypographyV2Css, convertBoxShadowV1ToV2, convertHTML, convertOldLayout, convertTextAlignToJustify, dataStringify, fetchMedias, fetchVariants, filterAttrInStyle, filterToolbarPreview, filterTruthyStyles, flattenConnection, formatMoney, fpixel, genSizeClass, genTypoClass, genVariable, generateCollectionQueryKey, generateProductQueryKey, generateProductsQueryKey, getAlignmentClasses, getAppBlocks, getAspectRatioGlobalSize, getBgImageByDevice, getBgImageSourceByDevice, 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, useInitialSwatchesOptions, useInteraction, useIsSampleProduct, useIsStorefrontProduct, useIsSyncProduct, useIsomorphicLayoutEffect, useLazyVideo, useLoadScript, useLocale, useMatchMutate, useMobileOnly, useModalStore, useMoney, useMoneyFormat, usePageStore, usePageType, usePluginEnable, usePrevious, useProduct, useProductBundleDiscount, useProductList, useProductListProducts, useProductListSettings, useProductListStore, useProductListStyles, useProductOfferDiscount, useProductProperties, useProductQuery, useProductShopifyEditLink, useProductStore, useProductsQuery, useProductsQueryAll, useQuantity, useRemoveCartItem, useSection, useSectionStore, useSelectedOption, useShopStore, useShopifyLink, useStoreFront, useSuspenseFetch, useSwatches, useSwatchesOptions, useTimezone, useUniqProductID, useUpdateCartItem, useVariant, useVariantOutStock, useVariants, validateEmail };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gem-sdk/core",
3
- "version": "2.0.0-dev.345",
3
+ "version": "2.0.0-dev.354",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",