@gem-sdk/core 1.55.1 → 1.56.0-staging.12

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.
@@ -46,7 +46,7 @@ const ComponentToolbarPreview = (props)=>{
46
46
  const [parents, setParents] = react.useState([]);
47
47
  const [deleteTooltipPosition, setDeleteTooltipPosition] = react.useState('top');
48
48
  const [isDisableDelete, setIsUnableDelete] = react.useState(false);
49
- const [parentProductUid, setParentProductUid] = react.useState('');
49
+ const [productId, setProductId] = react.useState('');
50
50
  const [articleUid, setArticleUid] = react.useState('');
51
51
  const [tooltipText, setTooltipText] = react.useState({
52
52
  width: '',
@@ -58,19 +58,19 @@ const ComponentToolbarPreview = (props)=>{
58
58
  ]);
59
59
  const { checkDisableDelete, getTooltipText, checkDisableDuplicate } = useToolbarPostPurchase.usePostPurchase(props.uid, props.tag || '');
60
60
  const editProductElementList = [
61
- 'Product Title',
62
- 'Product Description',
63
- 'Product Price'
61
+ 'ProductTitle',
62
+ 'ProductDescription',
63
+ 'ProductPrice'
64
64
  ];
65
65
  const editArticleElementList = [
66
- 'Article Title',
67
- 'Article Content',
68
- 'Article Image',
69
- 'Article Author',
70
- 'Article Category',
71
- 'Article Date',
72
- 'Article Excerpt',
73
- 'Article Tags'
66
+ 'ArticleTitle',
67
+ 'ArticleContent',
68
+ 'ArticleImage',
69
+ 'ArticleAuthor',
70
+ 'ArticleCategory',
71
+ 'ArticleDate',
72
+ 'ArticleExcerpt',
73
+ 'ArticleTags'
74
74
  ];
75
75
  const editAbleElementList = [
76
76
  ...editProductElementList,
@@ -106,12 +106,6 @@ const ComponentToolbarPreview = (props)=>{
106
106
  }, [
107
107
  props.tag
108
108
  ]);
109
- const productId = react.useMemo(()=>{
110
- const ele = document.querySelector(`[data-uid="${parentProductUid}"]`);
111
- return ele?.getAttribute('data-product-id');
112
- }, [
113
- parentProductUid
114
- ]);
115
109
  const shopName = react.useMemo(()=>{
116
110
  const pattern = /^(?:https?:\/\/)?([^/]+)\.myshopify\.com/;
117
111
  if (storefrontUrl) {
@@ -144,6 +138,9 @@ const ComponentToolbarPreview = (props)=>{
144
138
  if (detail?.articleId) {
145
139
  setArticleUid(detail.articleId);
146
140
  }
141
+ if (detail?.productId) {
142
+ setProductId(detail.productId);
143
+ }
147
144
  if (detail?.componentUid == props.uid) {
148
145
  getDeleteTooltipPosition();
149
146
  if (isSaleFunnelPage) {
@@ -159,10 +156,6 @@ const ComponentToolbarPreview = (props)=>{
159
156
  return true;
160
157
  }).slice(0, 3);
161
158
  setParents(currentParents);
162
- const parentFindUid = currentParents.find((item)=>item.tag === 'Product')?.uid;
163
- if (parentFindUid) {
164
- setParentProductUid(parentFindUid);
165
- }
166
159
  } else {
167
160
  setParents([]);
168
161
  setIsShowParent(false);
@@ -235,11 +228,11 @@ const ComponentToolbarPreview = (props)=>{
235
228
  window.dispatchEvent(event);
236
229
  };
237
230
  const goToShopifyEditLink = ()=>{
238
- if (editArticleElementList.includes(toolbarName() ?? '')) {
231
+ if (editArticleElementList.includes(props.tag)) {
239
232
  window.open(linkEditArticle, '_blank');
240
233
  return;
241
234
  }
242
- if (editProductElementList.includes(toolbarName() ?? '')) {
235
+ if (editProductElementList.includes(props.tag)) {
243
236
  window.open(linkEditProduct, '_blank');
244
237
  return;
245
238
  }
@@ -522,7 +515,7 @@ const ComponentToolbarPreview = (props)=>{
522
515
  })
523
516
  })
524
517
  }),
525
- editAbleElementList.includes(toolbarName() ?? '') && /*#__PURE__*/ jsxRuntime.jsx(Tooltip.default, {
518
+ editAbleElementList.includes(props.tag) && /*#__PURE__*/ jsxRuntime.jsx(Tooltip.default, {
526
519
  "data-toolbar-title": true,
527
520
  enable: true,
528
521
  "data-toolbar-disable": false,
@@ -104,11 +104,11 @@ const AIContentGenerator = ({ ...props })=>{
104
104
  onActiveComponent
105
105
  ]);
106
106
  return /*#__PURE__*/ jsxRuntime.jsxs("div", {
107
- className: "gp-relative",
107
+ className: "gp-gen-content-toolbar-wrapper gp-relative",
108
108
  ref: genTool,
109
109
  children: [
110
110
  /*#__PURE__*/ jsxRuntime.jsx("div", {
111
- className: "gp-gen-content-toolbar gp-border-r gp-pr-1 gp-mr-1",
111
+ className: "gp-gen-content-btn gp-border-r gp-pr-1 gp-mr-1",
112
112
  children: /*#__PURE__*/ jsxRuntime.jsxs("button", {
113
113
  className: classNames({
114
114
  'gp-toolbar-ai-active': isShowPopup
@@ -126,11 +126,31 @@ const ProductOptionsCustomizerConfig = {
126
126
  appId: '6857ca6c-35eb-4b6f-9d58-a039f31d9406'
127
127
  }
128
128
  };
129
+ const AppointmentBookingCowlendarConfig = {
130
+ AppointmentBookingCowlendar: {
131
+ appName: 'cowlendar-booking',
132
+ appId: '6d8b8f6a-9b3c-42b8-b2e6-a758c38d45bf'
133
+ }
134
+ };
135
+ const SproutPlantTreesGrowSalesConfig = {
136
+ SproutPlantTreesGrowSales: {
137
+ appName: 'sprout-plant-trees',
138
+ appId: '7db5ee24-2195-4099-b98e-1547c600e4aa'
139
+ }
140
+ };
141
+ const InstasellShoppableInstagramConfig = {
142
+ InstasellShoppableInstagram: {
143
+ appName: 'instasell-instagram-gallery',
144
+ appId: '38d643ac-410a-4b2c-a727-6125ff08e444'
145
+ }
146
+ };
129
147
 
148
+ exports.AppointmentBookingCowlendarConfig = AppointmentBookingCowlendarConfig;
130
149
  exports.BonLoyaltyRewardsReferralsConfig = BonLoyaltyRewardsReferralsConfig;
131
150
  exports.EasyBundleBuilderSkailamaConfig = EasyBundleBuilderSkailamaConfig;
132
151
  exports.FastBundleBundlesDiscountsConfig = FastBundleBundlesDiscountsConfig;
133
152
  exports.FlyBundlesUpsellsFbtConfig = FlyBundlesUpsellsFbtConfig;
153
+ exports.InstasellShoppableInstagramConfig = InstasellShoppableInstagramConfig;
134
154
  exports.JunipProductReviewsUgcConfig = JunipProductReviewsUgcConfig;
135
155
  exports.KiteFreeGiftDiscountConfig = KiteFreeGiftDiscountConfig;
136
156
  exports.LoopSubscriptionsConfig = LoopSubscriptionsConfig;
@@ -144,6 +164,7 @@ exports.SelleasyConfig = SelleasyConfig;
144
164
  exports.ShopifyFormsConfig = ShopifyFormsConfig;
145
165
  exports.SimpleBundlesKitsConfig = SimpleBundlesKitsConfig;
146
166
  exports.SkioSubscriptionsYcS20Config = SkioSubscriptionsYcS20Config;
167
+ exports.SproutPlantTreesGrowSalesConfig = SproutPlantTreesGrowSalesConfig;
147
168
  exports.SubifySubscriptionsConfig = SubifySubscriptionsConfig;
148
169
  exports.UnlimitedBundlesDiscountsConfig = UnlimitedBundlesDiscountsConfig;
149
170
  exports.WhatmoreShoppableVideosreelConfig = WhatmoreShoppableVideosreelConfig;
@@ -291,7 +291,32 @@ const ProductOptionsCustomizer = {
291
291
  }
292
292
  }
293
293
  };
294
+ const AppointmentBookingCowlendar = {
295
+ AppointmentBookingCowlendar: {
296
+ 'app-section': {
297
+ section_title: 'Services list',
298
+ section_type: 'services-list'
299
+ }
300
+ }
301
+ };
302
+ const SproutPlantTreesGrowSales = {
303
+ SproutPlantTreesGrowSales: {
304
+ badge: null,
305
+ 'impact-banner': null
306
+ }
307
+ };
308
+ const InstasellShoppableInstagram = {
309
+ InstasellShoppableInstagram: {
310
+ 'app-block': {
311
+ heading: 'InstaSell: Instagram Gallery+',
312
+ description: 'Showcase your Instagram Feed on your Shopify Storefront'
313
+ }
314
+ }
315
+ };
294
316
  const composeSettingsByWidgetType = {
317
+ ...InstasellShoppableInstagram,
318
+ ...SproutPlantTreesGrowSales,
319
+ ...AppointmentBookingCowlendar,
295
320
  ...ProductOptionsCustomizer,
296
321
  ...WhatmoreShoppableVideosreel,
297
322
  ...JunipProductReviewsUgc,
@@ -23,7 +23,10 @@ const mapShopifyAppMeta = {
23
23
  ...appConfig.PreorderNowWodPresaleConfig,
24
24
  ...appConfig.YotpoReviewsV3UgcConfig,
25
25
  ...appConfig.WhatmoreShoppableVideosreelConfig,
26
- ...appConfig.ProductOptionsCustomizerConfig
26
+ ...appConfig.ProductOptionsCustomizerConfig,
27
+ ...appConfig.AppointmentBookingCowlendarConfig,
28
+ ...appConfig.SproutPlantTreesGrowSalesConfig,
29
+ ...appConfig.InstasellShoppableInstagramConfig
27
30
  };
28
31
  const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
29
32
 
@@ -42,7 +42,7 @@ const ComponentToolbarPreview = (props)=>{
42
42
  const [parents, setParents] = useState([]);
43
43
  const [deleteTooltipPosition, setDeleteTooltipPosition] = useState('top');
44
44
  const [isDisableDelete, setIsUnableDelete] = useState(false);
45
- const [parentProductUid, setParentProductUid] = useState('');
45
+ const [productId, setProductId] = useState('');
46
46
  const [articleUid, setArticleUid] = useState('');
47
47
  const [tooltipText, setTooltipText] = useState({
48
48
  width: '',
@@ -54,19 +54,19 @@ const ComponentToolbarPreview = (props)=>{
54
54
  ]);
55
55
  const { checkDisableDelete, getTooltipText, checkDisableDuplicate } = usePostPurchase(props.uid, props.tag || '');
56
56
  const editProductElementList = [
57
- 'Product Title',
58
- 'Product Description',
59
- 'Product Price'
57
+ 'ProductTitle',
58
+ 'ProductDescription',
59
+ 'ProductPrice'
60
60
  ];
61
61
  const editArticleElementList = [
62
- 'Article Title',
63
- 'Article Content',
64
- 'Article Image',
65
- 'Article Author',
66
- 'Article Category',
67
- 'Article Date',
68
- 'Article Excerpt',
69
- 'Article Tags'
62
+ 'ArticleTitle',
63
+ 'ArticleContent',
64
+ 'ArticleImage',
65
+ 'ArticleAuthor',
66
+ 'ArticleCategory',
67
+ 'ArticleDate',
68
+ 'ArticleExcerpt',
69
+ 'ArticleTags'
70
70
  ];
71
71
  const editAbleElementList = [
72
72
  ...editProductElementList,
@@ -102,12 +102,6 @@ const ComponentToolbarPreview = (props)=>{
102
102
  }, [
103
103
  props.tag
104
104
  ]);
105
- const productId = useMemo(()=>{
106
- const ele = document.querySelector(`[data-uid="${parentProductUid}"]`);
107
- return ele?.getAttribute('data-product-id');
108
- }, [
109
- parentProductUid
110
- ]);
111
105
  const shopName = useMemo(()=>{
112
106
  const pattern = /^(?:https?:\/\/)?([^/]+)\.myshopify\.com/;
113
107
  if (storefrontUrl) {
@@ -140,6 +134,9 @@ const ComponentToolbarPreview = (props)=>{
140
134
  if (detail?.articleId) {
141
135
  setArticleUid(detail.articleId);
142
136
  }
137
+ if (detail?.productId) {
138
+ setProductId(detail.productId);
139
+ }
143
140
  if (detail?.componentUid == props.uid) {
144
141
  getDeleteTooltipPosition();
145
142
  if (isSaleFunnelPage) {
@@ -155,10 +152,6 @@ const ComponentToolbarPreview = (props)=>{
155
152
  return true;
156
153
  }).slice(0, 3);
157
154
  setParents(currentParents);
158
- const parentFindUid = currentParents.find((item)=>item.tag === 'Product')?.uid;
159
- if (parentFindUid) {
160
- setParentProductUid(parentFindUid);
161
- }
162
155
  } else {
163
156
  setParents([]);
164
157
  setIsShowParent(false);
@@ -231,11 +224,11 @@ const ComponentToolbarPreview = (props)=>{
231
224
  window.dispatchEvent(event);
232
225
  };
233
226
  const goToShopifyEditLink = ()=>{
234
- if (editArticleElementList.includes(toolbarName() ?? '')) {
227
+ if (editArticleElementList.includes(props.tag)) {
235
228
  window.open(linkEditArticle, '_blank');
236
229
  return;
237
230
  }
238
- if (editProductElementList.includes(toolbarName() ?? '')) {
231
+ if (editProductElementList.includes(props.tag)) {
239
232
  window.open(linkEditProduct, '_blank');
240
233
  return;
241
234
  }
@@ -518,7 +511,7 @@ const ComponentToolbarPreview = (props)=>{
518
511
  })
519
512
  })
520
513
  }),
521
- editAbleElementList.includes(toolbarName() ?? '') && /*#__PURE__*/ jsx(Tooltip, {
514
+ editAbleElementList.includes(props.tag) && /*#__PURE__*/ jsx(Tooltip, {
522
515
  "data-toolbar-title": true,
523
516
  enable: true,
524
517
  "data-toolbar-disable": false,
@@ -102,11 +102,11 @@ const AIContentGenerator = ({ ...props })=>{
102
102
  onActiveComponent
103
103
  ]);
104
104
  return /*#__PURE__*/ jsxs("div", {
105
- className: "gp-relative",
105
+ className: "gp-gen-content-toolbar-wrapper gp-relative",
106
106
  ref: genTool,
107
107
  children: [
108
108
  /*#__PURE__*/ jsx("div", {
109
- className: "gp-gen-content-toolbar gp-border-r gp-pr-1 gp-mr-1",
109
+ className: "gp-gen-content-btn gp-border-r gp-pr-1 gp-mr-1",
110
110
  children: /*#__PURE__*/ jsxs("button", {
111
111
  className: classNames({
112
112
  'gp-toolbar-ai-active': isShowPopup
@@ -124,5 +124,23 @@ const ProductOptionsCustomizerConfig = {
124
124
  appId: '6857ca6c-35eb-4b6f-9d58-a039f31d9406'
125
125
  }
126
126
  };
127
+ const AppointmentBookingCowlendarConfig = {
128
+ AppointmentBookingCowlendar: {
129
+ appName: 'cowlendar-booking',
130
+ appId: '6d8b8f6a-9b3c-42b8-b2e6-a758c38d45bf'
131
+ }
132
+ };
133
+ const SproutPlantTreesGrowSalesConfig = {
134
+ SproutPlantTreesGrowSales: {
135
+ appName: 'sprout-plant-trees',
136
+ appId: '7db5ee24-2195-4099-b98e-1547c600e4aa'
137
+ }
138
+ };
139
+ const InstasellShoppableInstagramConfig = {
140
+ InstasellShoppableInstagram: {
141
+ appName: 'instasell-instagram-gallery',
142
+ appId: '38d643ac-410a-4b2c-a727-6125ff08e444'
143
+ }
144
+ };
127
145
 
128
- export { BonLoyaltyRewardsReferralsConfig, EasyBundleBuilderSkailamaConfig, FastBundleBundlesDiscountsConfig, FlyBundlesUpsellsFbtConfig, JunipProductReviewsUgcConfig, KiteFreeGiftDiscountConfig, LoopSubscriptionsConfig, PreorderNowPreOrderPqConfig, PreorderNowWodPresaleConfig, ProductOptionsCustomizerConfig, PumperBundlesVolumeDiscountConfig, RechargeSubscriptionsConfig, ReviewxpoProductReviewsAppConfig, SelleasyConfig, ShopifyFormsConfig, SimpleBundlesKitsConfig, SkioSubscriptionsYcS20Config, SubifySubscriptionsConfig, UnlimitedBundlesDiscountsConfig, WhatmoreShoppableVideosreelConfig, YotpoReviewsV3UgcConfig };
146
+ export { AppointmentBookingCowlendarConfig, BonLoyaltyRewardsReferralsConfig, EasyBundleBuilderSkailamaConfig, FastBundleBundlesDiscountsConfig, FlyBundlesUpsellsFbtConfig, InstasellShoppableInstagramConfig, JunipProductReviewsUgcConfig, KiteFreeGiftDiscountConfig, LoopSubscriptionsConfig, PreorderNowPreOrderPqConfig, PreorderNowWodPresaleConfig, ProductOptionsCustomizerConfig, PumperBundlesVolumeDiscountConfig, RechargeSubscriptionsConfig, ReviewxpoProductReviewsAppConfig, SelleasyConfig, ShopifyFormsConfig, SimpleBundlesKitsConfig, SkioSubscriptionsYcS20Config, SproutPlantTreesGrowSalesConfig, SubifySubscriptionsConfig, UnlimitedBundlesDiscountsConfig, WhatmoreShoppableVideosreelConfig, YotpoReviewsV3UgcConfig };
@@ -289,7 +289,32 @@ const ProductOptionsCustomizer = {
289
289
  }
290
290
  }
291
291
  };
292
+ const AppointmentBookingCowlendar = {
293
+ AppointmentBookingCowlendar: {
294
+ 'app-section': {
295
+ section_title: 'Services list',
296
+ section_type: 'services-list'
297
+ }
298
+ }
299
+ };
300
+ const SproutPlantTreesGrowSales = {
301
+ SproutPlantTreesGrowSales: {
302
+ badge: null,
303
+ 'impact-banner': null
304
+ }
305
+ };
306
+ const InstasellShoppableInstagram = {
307
+ InstasellShoppableInstagram: {
308
+ 'app-block': {
309
+ heading: 'InstaSell: Instagram Gallery+',
310
+ description: 'Showcase your Instagram Feed on your Shopify Storefront'
311
+ }
312
+ }
313
+ };
292
314
  const composeSettingsByWidgetType = {
315
+ ...InstasellShoppableInstagram,
316
+ ...SproutPlantTreesGrowSales,
317
+ ...AppointmentBookingCowlendar,
293
318
  ...ProductOptionsCustomizer,
294
319
  ...WhatmoreShoppableVideosreel,
295
320
  ...JunipProductReviewsUgc,
@@ -1,4 +1,4 @@
1
- import { RechargeSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, SubifySubscriptionsConfig, SelleasyConfig, LoopSubscriptionsConfig, SkioSubscriptionsYcS20Config, ShopifyFormsConfig, ReviewxpoProductReviewsAppConfig, PumperBundlesVolumeDiscountConfig, UnlimitedBundlesDiscountsConfig, KiteFreeGiftDiscountConfig, FastBundleBundlesDiscountsConfig, SimpleBundlesKitsConfig, EasyBundleBuilderSkailamaConfig, PreorderNowPreOrderPqConfig, FlyBundlesUpsellsFbtConfig, JunipProductReviewsUgcConfig, PreorderNowWodPresaleConfig, YotpoReviewsV3UgcConfig, WhatmoreShoppableVideosreelConfig, ProductOptionsCustomizerConfig } from './appConfig.js';
1
+ import { RechargeSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, SubifySubscriptionsConfig, SelleasyConfig, LoopSubscriptionsConfig, SkioSubscriptionsYcS20Config, ShopifyFormsConfig, ReviewxpoProductReviewsAppConfig, PumperBundlesVolumeDiscountConfig, UnlimitedBundlesDiscountsConfig, KiteFreeGiftDiscountConfig, FastBundleBundlesDiscountsConfig, SimpleBundlesKitsConfig, EasyBundleBuilderSkailamaConfig, PreorderNowPreOrderPqConfig, FlyBundlesUpsellsFbtConfig, JunipProductReviewsUgcConfig, PreorderNowWodPresaleConfig, YotpoReviewsV3UgcConfig, WhatmoreShoppableVideosreelConfig, ProductOptionsCustomizerConfig, AppointmentBookingCowlendarConfig, SproutPlantTreesGrowSalesConfig, InstasellShoppableInstagramConfig } from './appConfig.js';
2
2
 
3
3
  const mapShopifyAppMeta = {
4
4
  ...RechargeSubscriptionsConfig,
@@ -21,7 +21,10 @@ const mapShopifyAppMeta = {
21
21
  ...PreorderNowWodPresaleConfig,
22
22
  ...YotpoReviewsV3UgcConfig,
23
23
  ...WhatmoreShoppableVideosreelConfig,
24
- ...ProductOptionsCustomizerConfig
24
+ ...ProductOptionsCustomizerConfig,
25
+ ...AppointmentBookingCowlendarConfig,
26
+ ...SproutPlantTreesGrowSalesConfig,
27
+ ...InstasellShoppableInstagramConfig
25
28
  };
26
29
  const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
27
30
 
@@ -6918,6 +6918,7 @@ type BogosWidgetType = 'icon' | 'thumnail' | 'slider' | 'message' | 'classic-bun
6918
6918
  type PreOrderNowWodWidgetType = 'app-block' | 'popups-block';
6919
6919
  type TagShopWidgetType = 'homeLandingGalleries' | 'productGalleries' | 'tagGalleries';
6920
6920
  type AirProductReview = 'review_box' | 'star_rating' | 'review_carousel';
6921
+ type FastBundleWidgetType = 'fbt_position' | 'product_bundles' | 'product_bundle_with_ids' | 'volume_position';
6921
6922
 
6922
6923
  type ResponsiveConfig<T> = {
6923
6924
  desktop: {
@@ -8174,6 +8175,7 @@ type ComponentSetting<P extends BaseProps> = {
8174
8175
  icon?: string;
8175
8176
  settings?: Setting<P>[];
8176
8177
  advanced?: Record<string, any>;
8178
+ rootOverride?: Record<string, any>;
8177
8179
  init?: InitComponentType[] | {
8178
8180
  default: InitComponentType[];
8179
8181
  mobileOnly?: InitComponentType[];
@@ -8289,6 +8291,7 @@ type ComponentPreset = {
8289
8291
  components: InitComponentType[];
8290
8292
  hideTextContent?: boolean;
8291
8293
  flowTagComponents?: Record<string, InitComponentType[]>;
8294
+ rootOverride?: Record<string, any>;
8292
8295
  };
8293
8296
 
8294
8297
  type PageContext = {
@@ -41435,4 +41438,4 @@ declare const getAppBlocks: (section: PublishedPageSection$1 & {
41435
41438
 
41436
41439
  declare const addAppBlockId: (component: Component) => Component;
41437
41440
 
41438
- 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, 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, FeraReviewsV3WidgetType, FeraReviewsWidgetType, FetchCollectionArgs, FetchFunc, FetchProductParams, FlexDirectionProp, FontName, GRADIENT_BGR_KEY, GlobalStyleConfig, GlobalStyleResponsiveConfig, GlobalSwatchesData, GraphQLConnection, GroupPropType, GrowaveWidgetType, HSLAColorType, HSLColorType, HexColorType, ImageShape$1 as ImageShape, InitComponentType, InstantJudgeMeReviewsWidgetType, InstantKlaviyoWidgetType, InstantLooxReviewsWidgetType, 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, PreviewPageDocument, PreviewPageQueryResponse, PreviewPageQueryVariables, Primitive, ProductInputAnalytic, ProductListProvider, ProductListProviderProps, ProductOffer, ProductProvider, ProductProviderProps, ProductReviewsWidgetType, ProductSelectFragment, ProductsDocument, ProductsQueryResponse, ProductsQueryVariables, PublicStoreFrontData, 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, Scalars$1 as Scalars, ScaleByDirection, SectionData, SectionEntity, SectionProvider, SectionProviderProps, SettingByAnimationType, SettingByAnimationValues, 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, cls, composeAdvanceStyle, composeAdvanceStyleForPostPurchase, composeBackgroundCss, composeBorderCss, 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, getResonsiveStyleShadow, getResponsiveStateValue, 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, useIsSampleProduct, useIsStorefrontProduct, useIsSyncProduct, useIsomorphicLayoutEffect, useLazyVideo, useLoadScript, useLocale, useMatchMutate, useMobileOnly, useModalStore, useMoney, useMoneyFormat, usePageStore, usePageType, usePluginEnable, usePrevious, useProduct, useProductList, useProductListProducts, useProductListSettings, useProductListStore, useProductListStyles, useProductOfferDiscount, useProductProperties, useProductQuery, useProductStore, useProductsQuery, useProductsQueryAll, useQuantity, useRemoveCartItem, useSection, useSectionStore, useSelectedOption, useShopStore, useStoreFront, useSuspenseFetch, useSwatches, useSwatchesOptions, useUniqProductID, useUpdateCartItem, useVariant, useVariantOutStock, useVariants, validateEmail };
41441
+ 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, 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, GrowaveWidgetType, HSLAColorType, HSLColorType, HexColorType, ImageShape$1 as ImageShape, InitComponentType, InstantJudgeMeReviewsWidgetType, InstantKlaviyoWidgetType, InstantLooxReviewsWidgetType, 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, PreviewPageDocument, PreviewPageQueryResponse, PreviewPageQueryVariables, Primitive, ProductInputAnalytic, ProductListProvider, ProductListProviderProps, ProductOffer, ProductProvider, ProductProviderProps, ProductReviewsWidgetType, ProductSelectFragment, ProductsDocument, ProductsQueryResponse, ProductsQueryVariables, PublicStoreFrontData, 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, Scalars$1 as Scalars, ScaleByDirection, SectionData, SectionEntity, SectionProvider, SectionProviderProps, SettingByAnimationType, SettingByAnimationValues, 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, cls, composeAdvanceStyle, composeAdvanceStyleForPostPurchase, composeBackgroundCss, composeBorderCss, 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, getResonsiveStyleShadow, getResponsiveStateValue, 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, useIsSampleProduct, useIsStorefrontProduct, useIsSyncProduct, useIsomorphicLayoutEffect, useLazyVideo, useLoadScript, useLocale, useMatchMutate, useMobileOnly, useModalStore, useMoney, useMoneyFormat, usePageStore, usePageType, usePluginEnable, usePrevious, useProduct, useProductList, useProductListProducts, useProductListSettings, useProductListStore, useProductListStyles, useProductOfferDiscount, useProductProperties, useProductQuery, 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.55.1",
3
+ "version": "1.56.0-staging.12",
4
4
  "license": "MIT",
5
5
  "sideEffects": false,
6
6
  "main": "dist/cjs/index.js",
@@ -27,8 +27,8 @@
27
27
  "type-check": "yarn tsc --noEmit"
28
28
  },
29
29
  "devDependencies": {
30
- "@gem-sdk/adapter-shopify": "1.54.0",
31
- "@gem-sdk/styles": "1.54.0",
30
+ "@gem-sdk/adapter-shopify": "1.56.0-staging.0",
31
+ "@gem-sdk/styles": "1.56.0-staging.0",
32
32
  "@types/classnames": "^2.3.1"
33
33
  },
34
34
  "dependencies": {