@gem-sdk/core 1.58.0-dev.30 → 1.58.0-dev.36

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.
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  'use strict';
2
3
 
3
4
  Object.defineProperty(exports, '__esModule', { value: true });
@@ -0,0 +1,146 @@
1
+ 'use strict';
2
+
3
+ var makeStyle = require('./make-style.js');
4
+
5
+ const getStyleBackgroundImageByDevice = (backgroundImage, options)=>{
6
+ if (!backgroundImage) {
7
+ return {};
8
+ }
9
+ return {
10
+ ...!options?.ignoreBackgroundImage ? {
11
+ ...getStyleBgImageSource(backgroundImage, options)
12
+ } : {},
13
+ ...!options?.ignoreBackgroundImageProperties ? {
14
+ ...getStyleBgImagePosition(backgroundImage),
15
+ ...getStyleBgImageSize(backgroundImage),
16
+ ...getStyleBgImageRepeat(backgroundImage)
17
+ } : {},
18
+ ...!options?.ignoreBgAttachment ? getStyleBgImageAttachment(backgroundImage) : {}
19
+ };
20
+ };
21
+ const getStyleBgImageSource = (backgroundImage, options)=>{
22
+ const bgImage = {
23
+ desktop: {
24
+ normal: getBgImageSourceByDevice(backgroundImage, 'desktop', 'normal', options),
25
+ hover: getBgImageSourceByDevice(backgroundImage, 'desktop', 'hover', options)
26
+ },
27
+ tablet: {
28
+ normal: getBgImageSourceByDevice(backgroundImage, 'tablet', 'normal', options),
29
+ hover: getBgImageSourceByDevice(backgroundImage, 'tablet', 'hover', options)
30
+ },
31
+ mobile: {
32
+ normal: getBgImageSourceByDevice(backgroundImage, 'mobile', 'normal', options),
33
+ hover: getBgImageSourceByDevice(backgroundImage, 'mobile', 'hover', options)
34
+ }
35
+ };
36
+ return makeStyle.makeStyleResponsiveState('bgi', bgImage);
37
+ };
38
+ const getBgImageSourceByDevice = (backgroundImage, device, state, options)=>{
39
+ const stateValue = backgroundImage?.[device]?.[state];
40
+ if (!stateValue?.image?.src) return;
41
+ const backupFileKey = stateValue.image.backupFileKey;
42
+ const storage = stateValue.image.storage;
43
+ let imageByDevice = stateValue.image.src;
44
+ let newBackupFilekey = backupFileKey;
45
+ const shopifyHandleName = imageByDevice?.match(// eslint-disable-next-line
46
+ /\/files\/([^\/]+\.(jpg|jpeg|gif|png|webp|svg))/)?.[1];
47
+ if (backupFileKey && shopifyHandleName && shopifyHandleName !== backupFileKey) {
48
+ newBackupFilekey = shopifyHandleName;
49
+ }
50
+ if (storage === 'FILE_CONTENT') {
51
+ if (options?.liquid && newBackupFilekey) {
52
+ imageByDevice = `{{ "${newBackupFilekey.replace('.jpeg', '.jpg')}" | file_url }}`;
53
+ }
54
+ }
55
+ if (storage === 'THEME' || !storage) {
56
+ if (options?.liquid && newBackupFilekey) {
57
+ imageByDevice = `{{ "${newBackupFilekey}" | asset_url }}`;
58
+ }
59
+ }
60
+ return imageByDevice ? `url(${imageByDevice})` : 'none';
61
+ };
62
+ const getStyleBgImagePosition = (backgroundImage)=>{
63
+ const bgPosition = {
64
+ desktop: {
65
+ normal: getBgImagePositionByDevice(backgroundImage, 'desktop', 'normal'),
66
+ hover: getBgImagePositionByDevice(backgroundImage, 'desktop', 'hover')
67
+ },
68
+ tablet: {
69
+ normal: getBgImagePositionByDevice(backgroundImage, 'tablet', 'normal'),
70
+ hover: getBgImagePositionByDevice(backgroundImage, 'tablet', 'hover')
71
+ },
72
+ mobile: {
73
+ normal: getBgImagePositionByDevice(backgroundImage, 'mobile', 'normal'),
74
+ hover: getBgImagePositionByDevice(backgroundImage, 'mobile', 'hover')
75
+ }
76
+ };
77
+ return makeStyle.makeStyleResponsiveState('bgp', bgPosition);
78
+ };
79
+ const getBgImagePositionByDevice = (backgroundImage, device, state)=>{
80
+ const position = backgroundImage?.[device]?.[state]?.position;
81
+ return position && `${position.x}% ${position.y}%`;
82
+ };
83
+ const getStyleBgImageSize = (backgroundImage)=>{
84
+ const bgSize = {
85
+ desktop: {
86
+ normal: getBgImageSizeByDevice(backgroundImage, 'desktop', 'normal'),
87
+ hover: getBgImageSizeByDevice(backgroundImage, 'desktop', 'hover')
88
+ },
89
+ tablet: {
90
+ normal: getBgImageSizeByDevice(backgroundImage, 'tablet', 'normal'),
91
+ hover: getBgImageSizeByDevice(backgroundImage, 'tablet', 'hover')
92
+ },
93
+ mobile: {
94
+ normal: getBgImageSizeByDevice(backgroundImage, 'mobile', 'normal'),
95
+ hover: getBgImageSizeByDevice(backgroundImage, 'mobile', 'hover')
96
+ }
97
+ };
98
+ return makeStyle.makeStyleResponsiveState('bgs', bgSize);
99
+ };
100
+ const getBgImageSizeByDevice = (backgroundImage, device, state)=>{
101
+ return backgroundImage?.[device]?.[state]?.size;
102
+ };
103
+ const getStyleBgImageRepeat = (backgroundImage)=>{
104
+ const bgRepeat = {
105
+ desktop: {
106
+ normal: getBgImageRepeatByDevice(backgroundImage, 'desktop', 'normal'),
107
+ hover: getBgImageRepeatByDevice(backgroundImage, 'desktop', 'hover')
108
+ },
109
+ tablet: {
110
+ normal: getBgImageRepeatByDevice(backgroundImage, 'tablet', 'normal'),
111
+ hover: getBgImageRepeatByDevice(backgroundImage, 'tablet', 'hover')
112
+ },
113
+ mobile: {
114
+ normal: getBgImageRepeatByDevice(backgroundImage, 'mobile', 'normal'),
115
+ hover: getBgImageRepeatByDevice(backgroundImage, 'mobile', 'hover')
116
+ }
117
+ };
118
+ return makeStyle.makeStyleResponsiveState('bgr', bgRepeat);
119
+ };
120
+ const getBgImageRepeatByDevice = (backgroundImage, device, state)=>{
121
+ return backgroundImage?.[device]?.[state]?.repeat;
122
+ };
123
+ const getStyleBgImageAttachment = (backgroundImage)=>{
124
+ const bgAttachment = {
125
+ desktop: {
126
+ normal: getBgImageAttachmentByDevice(backgroundImage, 'desktop', 'normal'),
127
+ hover: getBgImageAttachmentByDevice(backgroundImage, 'desktop', 'hover')
128
+ },
129
+ tablet: {
130
+ normal: getBgImageAttachmentByDevice(backgroundImage, 'tablet', 'normal'),
131
+ hover: getBgImageAttachmentByDevice(backgroundImage, 'tablet', 'hover')
132
+ },
133
+ mobile: {
134
+ normal: getBgImageAttachmentByDevice(backgroundImage, 'mobile', 'normal'),
135
+ hover: getBgImageAttachmentByDevice(backgroundImage, 'mobile', 'hover')
136
+ }
137
+ };
138
+ return makeStyle.makeStyleResponsiveState('bga', bgAttachment);
139
+ };
140
+ const getBgImageAttachmentByDevice = (backgroundImage, device, state)=>{
141
+ return backgroundImage?.[device]?.[state]?.attachment;
142
+ };
143
+
144
+ exports.getBgImageSourceByDevice = getBgImageSourceByDevice;
145
+ exports.getStyleBackgroundImageByDevice = getStyleBackgroundImageByDevice;
146
+ exports.getStyleBgImageSource = getStyleBgImageSource;
@@ -129,6 +129,7 @@ const composeCornerCss = (value, important = false)=>{
129
129
  break;
130
130
  case 'circle':
131
131
  case 'none':
132
+ case 'rounded':
132
133
  case 'custom':
133
134
  radiusValue = `
134
135
  ${bblr ? `border-bottom-left-radius: ${bblr}${sub};` : ''}
package/dist/cjs/index.js CHANGED
@@ -54,6 +54,7 @@ var fpixel = require('./helpers/tracking/fpixel.js');
54
54
  var gtag = require('./helpers/tracking/gtag.js');
55
55
  var tiktokpixel = require('./helpers/tracking/tiktokpixel.js');
56
56
  var background = require('./helpers/background.js');
57
+ var backgroundImage = require('./helpers/backgroundImage.js');
57
58
  var colors = require('./helpers/colors.js');
58
59
  var composeAdvanceStyle = require('./helpers/compose-advance-style.js');
59
60
  var convert = require('./helpers/convert.js');
@@ -208,6 +209,9 @@ exports.getGradientBgrStyleForButton = background.getGradientBgrStyleForButton;
208
209
  exports.getStyleBackgroundByDevice = background.getStyleBackgroundByDevice;
209
210
  exports.getStyleBgColor = background.getStyleBgColor;
210
211
  exports.makeFixedBgAttachment = background.makeFixedBgAttachment;
212
+ exports.getBgImageSourceByDevice = backgroundImage.getBgImageSourceByDevice;
213
+ exports.getStyleBackgroundImageByDevice = backgroundImage.getStyleBackgroundImageByDevice;
214
+ exports.getStyleBgImageSource = backgroundImage.getStyleBgImageSource;
211
215
  exports.composeTextColorCss = colors.composeTextColorCss;
212
216
  exports.getGlobalColorCSSProp = colors.getGlobalColorCSSProp;
213
217
  exports.getGlobalColorClass = colors.getGlobalColorClass;
@@ -1,3 +1,4 @@
1
+ 'use client';
1
2
  import { makeStyleResponsive } from '../helpers/make-style.js';
2
3
  import 'react';
3
4
  import 'react/jsx-runtime';
@@ -0,0 +1,142 @@
1
+ import { makeStyleResponsiveState } from './make-style.js';
2
+
3
+ const getStyleBackgroundImageByDevice = (backgroundImage, options)=>{
4
+ if (!backgroundImage) {
5
+ return {};
6
+ }
7
+ return {
8
+ ...!options?.ignoreBackgroundImage ? {
9
+ ...getStyleBgImageSource(backgroundImage, options)
10
+ } : {},
11
+ ...!options?.ignoreBackgroundImageProperties ? {
12
+ ...getStyleBgImagePosition(backgroundImage),
13
+ ...getStyleBgImageSize(backgroundImage),
14
+ ...getStyleBgImageRepeat(backgroundImage)
15
+ } : {},
16
+ ...!options?.ignoreBgAttachment ? getStyleBgImageAttachment(backgroundImage) : {}
17
+ };
18
+ };
19
+ const getStyleBgImageSource = (backgroundImage, options)=>{
20
+ const bgImage = {
21
+ desktop: {
22
+ normal: getBgImageSourceByDevice(backgroundImage, 'desktop', 'normal', options),
23
+ hover: getBgImageSourceByDevice(backgroundImage, 'desktop', 'hover', options)
24
+ },
25
+ tablet: {
26
+ normal: getBgImageSourceByDevice(backgroundImage, 'tablet', 'normal', options),
27
+ hover: getBgImageSourceByDevice(backgroundImage, 'tablet', 'hover', options)
28
+ },
29
+ mobile: {
30
+ normal: getBgImageSourceByDevice(backgroundImage, 'mobile', 'normal', options),
31
+ hover: getBgImageSourceByDevice(backgroundImage, 'mobile', 'hover', options)
32
+ }
33
+ };
34
+ return makeStyleResponsiveState('bgi', bgImage);
35
+ };
36
+ const getBgImageSourceByDevice = (backgroundImage, device, state, options)=>{
37
+ const stateValue = backgroundImage?.[device]?.[state];
38
+ if (!stateValue?.image?.src) return;
39
+ const backupFileKey = stateValue.image.backupFileKey;
40
+ const storage = stateValue.image.storage;
41
+ let imageByDevice = stateValue.image.src;
42
+ let newBackupFilekey = backupFileKey;
43
+ const shopifyHandleName = imageByDevice?.match(// eslint-disable-next-line
44
+ /\/files\/([^\/]+\.(jpg|jpeg|gif|png|webp|svg))/)?.[1];
45
+ if (backupFileKey && shopifyHandleName && shopifyHandleName !== backupFileKey) {
46
+ newBackupFilekey = shopifyHandleName;
47
+ }
48
+ if (storage === 'FILE_CONTENT') {
49
+ if (options?.liquid && newBackupFilekey) {
50
+ imageByDevice = `{{ "${newBackupFilekey.replace('.jpeg', '.jpg')}" | file_url }}`;
51
+ }
52
+ }
53
+ if (storage === 'THEME' || !storage) {
54
+ if (options?.liquid && newBackupFilekey) {
55
+ imageByDevice = `{{ "${newBackupFilekey}" | asset_url }}`;
56
+ }
57
+ }
58
+ return imageByDevice ? `url(${imageByDevice})` : 'none';
59
+ };
60
+ const getStyleBgImagePosition = (backgroundImage)=>{
61
+ const bgPosition = {
62
+ desktop: {
63
+ normal: getBgImagePositionByDevice(backgroundImage, 'desktop', 'normal'),
64
+ hover: getBgImagePositionByDevice(backgroundImage, 'desktop', 'hover')
65
+ },
66
+ tablet: {
67
+ normal: getBgImagePositionByDevice(backgroundImage, 'tablet', 'normal'),
68
+ hover: getBgImagePositionByDevice(backgroundImage, 'tablet', 'hover')
69
+ },
70
+ mobile: {
71
+ normal: getBgImagePositionByDevice(backgroundImage, 'mobile', 'normal'),
72
+ hover: getBgImagePositionByDevice(backgroundImage, 'mobile', 'hover')
73
+ }
74
+ };
75
+ return makeStyleResponsiveState('bgp', bgPosition);
76
+ };
77
+ const getBgImagePositionByDevice = (backgroundImage, device, state)=>{
78
+ const position = backgroundImage?.[device]?.[state]?.position;
79
+ return position && `${position.x}% ${position.y}%`;
80
+ };
81
+ const getStyleBgImageSize = (backgroundImage)=>{
82
+ const bgSize = {
83
+ desktop: {
84
+ normal: getBgImageSizeByDevice(backgroundImage, 'desktop', 'normal'),
85
+ hover: getBgImageSizeByDevice(backgroundImage, 'desktop', 'hover')
86
+ },
87
+ tablet: {
88
+ normal: getBgImageSizeByDevice(backgroundImage, 'tablet', 'normal'),
89
+ hover: getBgImageSizeByDevice(backgroundImage, 'tablet', 'hover')
90
+ },
91
+ mobile: {
92
+ normal: getBgImageSizeByDevice(backgroundImage, 'mobile', 'normal'),
93
+ hover: getBgImageSizeByDevice(backgroundImage, 'mobile', 'hover')
94
+ }
95
+ };
96
+ return makeStyleResponsiveState('bgs', bgSize);
97
+ };
98
+ const getBgImageSizeByDevice = (backgroundImage, device, state)=>{
99
+ return backgroundImage?.[device]?.[state]?.size;
100
+ };
101
+ const getStyleBgImageRepeat = (backgroundImage)=>{
102
+ const bgRepeat = {
103
+ desktop: {
104
+ normal: getBgImageRepeatByDevice(backgroundImage, 'desktop', 'normal'),
105
+ hover: getBgImageRepeatByDevice(backgroundImage, 'desktop', 'hover')
106
+ },
107
+ tablet: {
108
+ normal: getBgImageRepeatByDevice(backgroundImage, 'tablet', 'normal'),
109
+ hover: getBgImageRepeatByDevice(backgroundImage, 'tablet', 'hover')
110
+ },
111
+ mobile: {
112
+ normal: getBgImageRepeatByDevice(backgroundImage, 'mobile', 'normal'),
113
+ hover: getBgImageRepeatByDevice(backgroundImage, 'mobile', 'hover')
114
+ }
115
+ };
116
+ return makeStyleResponsiveState('bgr', bgRepeat);
117
+ };
118
+ const getBgImageRepeatByDevice = (backgroundImage, device, state)=>{
119
+ return backgroundImage?.[device]?.[state]?.repeat;
120
+ };
121
+ const getStyleBgImageAttachment = (backgroundImage)=>{
122
+ const bgAttachment = {
123
+ desktop: {
124
+ normal: getBgImageAttachmentByDevice(backgroundImage, 'desktop', 'normal'),
125
+ hover: getBgImageAttachmentByDevice(backgroundImage, 'desktop', 'hover')
126
+ },
127
+ tablet: {
128
+ normal: getBgImageAttachmentByDevice(backgroundImage, 'tablet', 'normal'),
129
+ hover: getBgImageAttachmentByDevice(backgroundImage, 'tablet', 'hover')
130
+ },
131
+ mobile: {
132
+ normal: getBgImageAttachmentByDevice(backgroundImage, 'mobile', 'normal'),
133
+ hover: getBgImageAttachmentByDevice(backgroundImage, 'mobile', 'hover')
134
+ }
135
+ };
136
+ return makeStyleResponsiveState('bga', bgAttachment);
137
+ };
138
+ const getBgImageAttachmentByDevice = (backgroundImage, device, state)=>{
139
+ return backgroundImage?.[device]?.[state]?.attachment;
140
+ };
141
+
142
+ export { getBgImageSourceByDevice, getStyleBackgroundImageByDevice, getStyleBgImageSource };
@@ -127,6 +127,7 @@ const composeCornerCss = (value, important = false)=>{
127
127
  break;
128
128
  case 'circle':
129
129
  case 'none':
130
+ case 'rounded':
130
131
  case 'custom':
131
132
  radiusValue = `
132
133
  ${bblr ? `border-bottom-left-radius: ${bblr}${sub};` : ''}
package/dist/esm/index.js CHANGED
@@ -55,6 +55,7 @@ export { gtag };
55
55
  import * as tiktokpixel from './helpers/tracking/tiktokpixel.js';
56
56
  export { tiktokpixel };
57
57
  export { GRADIENT_BGR_KEY, composeBackgroundCss, getBgImageByDevice, getGradientBgrStyleByDevice, getGradientBgrStyleForButton, getStyleBackgroundByDevice, getStyleBgColor, makeFixedBgAttachment } from './helpers/background.js';
58
+ export { getBgImageSourceByDevice, getStyleBackgroundImageByDevice, getStyleBgImageSource } from './helpers/backgroundImage.js';
58
59
  export { composeTextColorCss, getGlobalColorCSSProp, getGlobalColorClass, getGlobalColorResponsiveClass, getGlobalColorResponsiveStyle, getGlobalColorStateClass, getGlobalColorStateClassDynamicBtn, getGlobalColorStateResponsiveClass, getGlobalColorStateResponsiveClassDynamicBtn, getGlobalColorStateResponsiveStyle, getGlobalColorStateStyle, getGlobalColorStyle, getSingleColorVariable, isColor } from './helpers/colors.js';
59
60
  export { composeAdvanceStyle, composeAdvanceStyleForPostPurchase, filterAttrInStyle, filterCornerInStyle, removeAttrInStyle, removePaddingYInStyle, splitStyle } from './helpers/compose-advance-style.js';
60
61
  export { baseAssetURL, isLocalEnv } from './helpers/convert.js';
@@ -8644,6 +8644,9 @@ type BackgroundImageValue = {
8644
8644
  src: string;
8645
8645
  width: number;
8646
8646
  height: number;
8647
+ backupFileKey?: string;
8648
+ storage?: 'THEME' | 'FILE_CONTENT';
8649
+ backupFilePath?: string;
8647
8650
  };
8648
8651
  size?: BgSize$1;
8649
8652
  position?: BgPosition$1;
@@ -32453,15 +32456,15 @@ declare const makeHeight: (heighValue?: ObjectDevices<string | number>, autoHeig
32453
32456
  declare const makeAspectRatio: (aspectRatio?: ObjectDevices<string>, aspectWidth?: ObjectDevices<string | number>, aspectHeight?: ObjectDevices<string | number>) => ObjectDevices<string>;
32454
32457
  declare const makeLineClamp: (lineClampValue?: ObjectDevices<number>, hasLineClampValue?: ObjectDevices<boolean>) => ObjectDevices<string | number | undefined>;
32455
32458
 
32456
- type Devices = 'desktop' | 'tablet' | 'mobile';
32457
- type Options = {
32459
+ type Devices$1 = 'desktop' | 'tablet' | 'mobile';
32460
+ type Options$1 = {
32458
32461
  liquid?: boolean;
32459
32462
  ignoreBgAttachment?: boolean;
32460
32463
  ignoreBackgroundImage?: boolean;
32461
32464
  ignoreBackgroundImageProperties?: boolean;
32462
32465
  ignoreBackgroundColor?: boolean;
32463
32466
  };
32464
- declare const getStyleBackgroundByDevice: (background?: ObjectDevices<Background>, options?: Options) => {
32467
+ declare const getStyleBackgroundByDevice: (background?: ObjectDevices<Background>, options?: Options$1) => {
32465
32468
  "--bga"?: string | undefined;
32466
32469
  "--bga-tablet"?: string | undefined;
32467
32470
  "--bga-mobile"?: string | undefined;
@@ -32482,7 +32485,7 @@ declare const getStyleBackgroundByDevice: (background?: ObjectDevices<Background
32482
32485
  "--bgc-mobile"?: string | undefined;
32483
32486
  };
32484
32487
  declare const getStyleBgColor: (background: ObjectDevices<Background>) => Record<ResponsiveKey<"bgc">, string>;
32485
- declare const getBgImageByDevice: (background: ObjectDevices<Background>, device: Devices, options?: Options) => string | undefined;
32488
+ declare const getBgImageByDevice: (background: ObjectDevices<Background>, device: Devices$1, options?: Options$1) => string | undefined;
32486
32489
  declare const composeBackgroundCss: (backgroundColor?: ColorValueType) => string;
32487
32490
  declare const makeFixedBgAttachment: (background?: ObjectDevices<Background>) => {
32488
32491
  wrapper: {
@@ -32494,7 +32497,18 @@ declare const makeFixedBgAttachment: (background?: ObjectDevices<Background>) =>
32494
32497
  } | undefined;
32495
32498
  declare const GRADIENT_BGR_KEY = "linear-gradient";
32496
32499
  declare const getGradientBgrStyleForButton: (backgroundStyle: Partial<Record<StateType, ColorValueType>> | undefined) => {} | undefined;
32497
- declare const getGradientBgrStyleByDevice: (backgroundStyle: Partial<Record<Devices, Background>> | undefined, ignoreBackgroundImage?: Record<Devices, boolean>) => {} | undefined;
32500
+ declare const getGradientBgrStyleByDevice: (backgroundStyle: Partial<Record<Devices$1, Background>> | undefined, ignoreBackgroundImage?: Record<Devices$1, boolean>) => {} | undefined;
32501
+
32502
+ type Devices = 'desktop' | 'tablet' | 'mobile';
32503
+ type Options = {
32504
+ liquid?: boolean;
32505
+ ignoreBgAttachment?: boolean;
32506
+ ignoreBackgroundImage?: boolean;
32507
+ ignoreBackgroundImageProperties?: boolean;
32508
+ };
32509
+ declare const getStyleBackgroundImageByDevice: (backgroundImage?: ObjectDevices<StateProp<BackgroundImageValue>>, options?: Options) => {};
32510
+ declare const getStyleBgImageSource: (backgroundImage: ObjectDevices<StateProp<BackgroundImageValue>>, options?: Options) => {};
32511
+ declare const getBgImageSourceByDevice: (backgroundImage: ObjectDevices<StateProp<BackgroundImageValue>>, device: Devices, state: StateType, options?: Options) => string | undefined;
32498
32512
 
32499
32513
  type ColorType = 'bg' | 'text' | 'border' | 'decoration';
32500
32514
  type ColorProp = 'bgc' | 'bc' | 'c' | 'bg';
@@ -42163,4 +42177,4 @@ declare const useInteraction: () => {
42163
42177
  interactionListenerLoaded: (callback: () => void) => void;
42164
42178
  };
42165
42179
 
42166
- 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, Background, BackgroundImageValue, BackgroundMedia, BackgroundVideoValue, BaseProps, BasePropsWrap, BlockEntity, 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, 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, ModalProvider, ModalProviderProps, NameDevices$1 as NameDevices, NestedKeys, ObjectDeviceGlobalType, ObjectDevices, ObjectLayoutValue, OmnisendWidgetType, OnlyOne, OpinewDesignWidgetType, OpinewWidgetType, OptionNormalStyle, OptionSpecialStyle, Options, 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, PublishedThemePageSelectFragment, PublishedThemePagesDocument, PublishedThemePagesQueryResponse, PublishedThemePagesQueryVariables, QueryPublishedShopMetasArgs, 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, Scalars$1 as Scalars, ScaleByDirection, SectionData, SectionEntity, SectionProvider, SectionProviderProps, SettingByAnimationType, SettingByAnimationValues, SettingUIGroup, ShadowProps, ShadowStyle, ShadowStyleApplied, ShadowType, ShopLibraryPageDocument, ShopLibraryPageQueryResponse, ShopLibraryPageQueryVariables, ShopProvider, ShopProviderProps, shop as ShopType, SizeProps, SizeSetting, SizeSettingGlobal, SizeType, SpacingType, StampedWidgetType, 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, VariantSelectFragment, VitalsWidgetType, WiserV2WidgetType, WiserWidgetType, WrapRenderChildren, YotpoReviewsWidgetType, addAppBlockId, animations, baseAssetURL, calculateFirstProduct, checkAvailableVariantInStock, checkInStock, cls, composeAdvanceStyle, composeAdvanceStyleForPostPurchase, composeBackgroundCss, composeBorderCss, composeBorderResponsive, composeCornerCss, composeFallbackTypographyStyle, composeFontFamilyTypographyV2, composeGridLayout, composeMemo, composePositionLineHeight, composePostionIconList, composeRadius, composeRadiusResponsive, composeShadowCss, composeSize, composeSizeCss, composeSpacing, composeTextColorCss, composeTypography, composeTypographyAttr, composeTypographyClassName, composeTypographyCss, composeTypographyStyle, composeTypographyV2, composeTypographyV2Css, convertHTML, convertOldLayout, convertTextAlignToJustify, dataStringify, fetchMedias, fetchVariants, filterAttrInStyle, filterCornerInStyle, filterToolbarPreview, flattenConnection, formatMoney, fpixel, genSizeClass, genTypoClass, genVariable, generateCollectionQueryKey, generateProductQueryKey, generateProductsQueryKey, getAppBlocks, getAspectRatioGlobalSize, getBgImageByDevice, getBorderRadiusStyle, getBorderStyle, getCarouselContainerHeight, getCollection, getCornerCSSFromGlobal, getCustomRadius, getGlobalColorCSSProp, getGlobalColorClass, getGlobalColorResponsiveClass, getGlobalColorResponsiveStyle, getGlobalColorStateClass, getGlobalColorStateClassDynamicBtn, getGlobalColorStateResponsiveClass, getGlobalColorStateResponsiveClassDynamicBtn, getGlobalColorStateResponsiveStyle, getGlobalColorStateStyle, getGlobalColorStyle, getGlobalSizeGap, getGradientBgrStyleByDevice, getGradientBgrStyleForButton, getHeightByShapeGlobalSize, getPaddingGlobalSize, getProduct, getProductBySlug, getRadiusCSSFromGlobal, getRadiusStyleActiveState, getResponsiveStateValue, getResponsiveStyleShadow, getResponsiveValue, getResponsiveValueByScreen, getSelectedVariant, getShortName, getSingleColorVariable, getSpacingVariable, getStyleBackgroundByDevice, getStyleBgColor, getStyleShadow, getStyleShadowState, getValueByDevice, getWidthByShapeGlobalSize, getWidthHeightGlobalSize, globalEvent, gridToArrayRegex, gtag, handleConvertBorderColor, handleConvertBorderStyle, handleConvertBorderWidth, handleConvertClassColor, handleConvertClassColorDynamicBtn, isBrowser, isColor, isColumnDirectionExist, isDefined, isEmptyChildren, isLocalEnv, isSafari, loadScript, makeAspectRatio, makeContainerWidthOrHeight, makeDotGapToCarouselStyle, makeFixedBgAttachment, makeGlobalSize, makeGlobalSizeHeightResponsive, makeGlobalSizeIcon, makeGlobalSizeWidthResponsive, makeHeight, makeLineClamp, makeStyle, makeStyleKey, makeStyleResponsive, makeStyleResponsiveByScreen, makeStyleResponsiveState, 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, useStoreFront, useSuspenseFetch, useSwatches, useSwatchesOptions, useUniqProductID, useUpdateCartItem, useVariant, useVariantOutStock, useVariants, validateEmail };
42180
+ 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, Background, BackgroundImageValue, BackgroundMedia, BackgroundVideoValue, BaseProps, BasePropsWrap, BlockEntity, 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, 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, ModalProvider, ModalProviderProps, NameDevices$1 as NameDevices, NestedKeys, ObjectDeviceGlobalType, ObjectDevices, ObjectLayoutValue, OmnisendWidgetType, OnlyOne, OpinewDesignWidgetType, OpinewWidgetType, OptionNormalStyle, OptionSpecialStyle, Options$1 as Options, 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, PublishedThemePageSelectFragment, PublishedThemePagesDocument, PublishedThemePagesQueryResponse, PublishedThemePagesQueryVariables, QueryPublishedShopMetasArgs, 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, Scalars$1 as Scalars, ScaleByDirection, SectionData, SectionEntity, SectionProvider, SectionProviderProps, SettingByAnimationType, SettingByAnimationValues, SettingUIGroup, ShadowProps, ShadowStyle, ShadowStyleApplied, ShadowType, ShopLibraryPageDocument, ShopLibraryPageQueryResponse, ShopLibraryPageQueryVariables, ShopProvider, ShopProviderProps, shop as ShopType, SizeProps, SizeSetting, SizeSettingGlobal, SizeType, SpacingType, StampedWidgetType, 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, VariantSelectFragment, VitalsWidgetType, WiserV2WidgetType, WiserWidgetType, WrapRenderChildren, YotpoReviewsWidgetType, addAppBlockId, animations, baseAssetURL, calculateFirstProduct, checkAvailableVariantInStock, checkInStock, cls, composeAdvanceStyle, composeAdvanceStyleForPostPurchase, composeBackgroundCss, composeBorderCss, composeBorderResponsive, composeCornerCss, composeFallbackTypographyStyle, composeFontFamilyTypographyV2, composeGridLayout, composeMemo, composePositionLineHeight, composePostionIconList, composeRadius, composeRadiusResponsive, composeShadowCss, composeSize, composeSizeCss, composeSpacing, composeTextColorCss, composeTypography, composeTypographyAttr, composeTypographyClassName, composeTypographyCss, composeTypographyStyle, composeTypographyV2, composeTypographyV2Css, convertHTML, convertOldLayout, convertTextAlignToJustify, dataStringify, fetchMedias, fetchVariants, filterAttrInStyle, filterCornerInStyle, filterToolbarPreview, flattenConnection, formatMoney, fpixel, genSizeClass, genTypoClass, genVariable, generateCollectionQueryKey, generateProductQueryKey, generateProductsQueryKey, getAppBlocks, getAspectRatioGlobalSize, getBgImageByDevice, getBgImageSourceByDevice, getBorderRadiusStyle, getBorderStyle, getCarouselContainerHeight, getCollection, getCornerCSSFromGlobal, getCustomRadius, getGlobalColorCSSProp, getGlobalColorClass, getGlobalColorResponsiveClass, getGlobalColorResponsiveStyle, getGlobalColorStateClass, getGlobalColorStateClassDynamicBtn, getGlobalColorStateResponsiveClass, getGlobalColorStateResponsiveClassDynamicBtn, getGlobalColorStateResponsiveStyle, getGlobalColorStateStyle, getGlobalColorStyle, getGlobalSizeGap, getGradientBgrStyleByDevice, getGradientBgrStyleForButton, getHeightByShapeGlobalSize, getPaddingGlobalSize, getProduct, getProductBySlug, getRadiusCSSFromGlobal, getRadiusStyleActiveState, getResponsiveStateValue, getResponsiveStyleShadow, getResponsiveValue, getResponsiveValueByScreen, getSelectedVariant, getShortName, getSingleColorVariable, getSpacingVariable, getStyleBackgroundByDevice, getStyleBackgroundImageByDevice, getStyleBgColor, getStyleBgImageSource, getStyleShadow, getStyleShadowState, getValueByDevice, getWidthByShapeGlobalSize, getWidthHeightGlobalSize, globalEvent, gridToArrayRegex, gtag, handleConvertBorderColor, handleConvertBorderStyle, handleConvertBorderWidth, handleConvertClassColor, handleConvertClassColorDynamicBtn, isBrowser, isColor, isColumnDirectionExist, isDefined, isEmptyChildren, isLocalEnv, isSafari, loadScript, makeAspectRatio, makeContainerWidthOrHeight, makeDotGapToCarouselStyle, makeFixedBgAttachment, makeGlobalSize, makeGlobalSizeHeightResponsive, makeGlobalSizeIcon, makeGlobalSizeWidthResponsive, makeHeight, makeLineClamp, makeStyle, makeStyleKey, makeStyleResponsive, makeStyleResponsiveByScreen, makeStyleResponsiveState, 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, 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.58.0-dev.30",
3
+ "version": "1.58.0-dev.36",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",