@gem-sdk/core 2.0.0-dev.225 → 2.0.0-dev.239
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.
- package/dist/cjs/helpers/composeClasses.js +13 -0
- package/dist/cjs/helpers/filter-truthy-styles.js +7 -0
- package/dist/cjs/helpers/third-party/appConfig.js +7 -0
- package/dist/cjs/helpers/third-party/appSetting.js +24 -1
- package/dist/cjs/helpers/third-party/constant.js +2 -1
- package/dist/cjs/index.js +4 -0
- package/dist/esm/helpers/composeClasses.js +11 -0
- package/dist/esm/helpers/filter-truthy-styles.js +5 -0
- package/dist/esm/helpers/third-party/appConfig.js +7 -1
- package/dist/esm/helpers/third-party/appSetting.js +24 -1
- package/dist/esm/helpers/third-party/constant.js +3 -2
- package/dist/esm/index.js +2 -0
- package/dist/types/index.d.ts +35 -4
- package/package.json +3 -3
|
@@ -318,6 +318,12 @@ const HextomFreeShippingBarConfig = {
|
|
|
318
318
|
appId: '7ef5d9af-75a2-45c7-9b1b-f9240ee488e9'
|
|
319
319
|
}
|
|
320
320
|
};
|
|
321
|
+
const ShopifySubscriptionsConfig = {
|
|
322
|
+
ShopifySubscriptions: {
|
|
323
|
+
appName: 'subscriptions',
|
|
324
|
+
appId: 'a3bfe9ec-96f8-4508-a003-df608a36d2ad'
|
|
325
|
+
}
|
|
326
|
+
};
|
|
321
327
|
|
|
322
328
|
exports.AftershipEmailMarketingsmsConfig = AftershipEmailMarketingsmsConfig;
|
|
323
329
|
exports.AppointmentBookingCowlendarConfig = AppointmentBookingCowlendarConfig;
|
|
@@ -358,6 +364,7 @@ exports.SegunoEmailMarketingConfig = SegunoEmailMarketingConfig;
|
|
|
358
364
|
exports.SelleasyConfig = SelleasyConfig;
|
|
359
365
|
exports.SeoantTrustBadgesIconConfig = SeoantTrustBadgesIconConfig;
|
|
360
366
|
exports.ShopifyFormsConfig = ShopifyFormsConfig;
|
|
367
|
+
exports.ShopifySubscriptionsConfig = ShopifySubscriptionsConfig;
|
|
361
368
|
exports.SimpleBundlesKitsConfig = SimpleBundlesKitsConfig;
|
|
362
369
|
exports.SkioSubscriptionsYcS20Config = SkioSubscriptionsYcS20Config;
|
|
363
370
|
exports.SproutPlantTreesGrowSalesConfig = SproutPlantTreesGrowSalesConfig;
|
|
@@ -225,6 +225,13 @@ const overrideSettings = (tag, currentSetting, appSetting)=>{
|
|
|
225
225
|
'tm-type': appSetting?.trustId
|
|
226
226
|
};
|
|
227
227
|
}
|
|
228
|
+
case 'ShopifySubscriptions':
|
|
229
|
+
{
|
|
230
|
+
return {
|
|
231
|
+
...currentSetting,
|
|
232
|
+
product: appSetting?.['productHandle'] || '{{ product }}'
|
|
233
|
+
};
|
|
234
|
+
}
|
|
228
235
|
default:
|
|
229
236
|
return currentSetting;
|
|
230
237
|
}
|
|
@@ -1116,6 +1123,21 @@ const HextomFreeShippingBar = {
|
|
|
1116
1123
|
'fsb-custom-placement': null
|
|
1117
1124
|
}
|
|
1118
1125
|
};
|
|
1126
|
+
const ShopifySubscriptions = {
|
|
1127
|
+
ShopifySubscriptions: {
|
|
1128
|
+
'app-block': {
|
|
1129
|
+
color_text_title: '#6D7175',
|
|
1130
|
+
color_text_body: '#6D7175',
|
|
1131
|
+
dividers_color: '#8F8D8D',
|
|
1132
|
+
bacgkround_color: '#FFFFFF',
|
|
1133
|
+
border_thickness: 1,
|
|
1134
|
+
border_radius: 0,
|
|
1135
|
+
supporting_text_title: 'Purchase options',
|
|
1136
|
+
subscription_policy_url: '',
|
|
1137
|
+
product: '{{product}}'
|
|
1138
|
+
}
|
|
1139
|
+
}
|
|
1140
|
+
};
|
|
1119
1141
|
const composeSettingsByWidgetType = {
|
|
1120
1142
|
...HextomCountdownTimerBar,
|
|
1121
1143
|
...EstimatedDeliveryDatePlus,
|
|
@@ -1169,7 +1191,8 @@ const composeSettingsByWidgetType = {
|
|
|
1169
1191
|
...TrustedsiteTrustBadges,
|
|
1170
1192
|
...GloColorSwatchvariantImage,
|
|
1171
1193
|
...BfSizeChartSizeGuide,
|
|
1172
|
-
...HextomFreeShippingBar
|
|
1194
|
+
...HextomFreeShippingBar,
|
|
1195
|
+
...ShopifySubscriptions
|
|
1173
1196
|
};
|
|
1174
1197
|
|
|
1175
1198
|
exports.composeSettingsByWidgetType = composeSettingsByWidgetType;
|
|
@@ -55,7 +55,8 @@ const mapShopifyAppMeta = {
|
|
|
55
55
|
...appConfig.TrustedsiteTrustBadgesConfig,
|
|
56
56
|
...appConfig.GloColorSwatchvariantImageConfig,
|
|
57
57
|
...appConfig.BfSizeChartSizeGuideConfig,
|
|
58
|
-
...appConfig.HextomFreeShippingBarConfig
|
|
58
|
+
...appConfig.HextomFreeShippingBarConfig,
|
|
59
|
+
...appConfig.ShopifySubscriptionsConfig
|
|
59
60
|
};
|
|
60
61
|
const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
|
|
61
62
|
|
package/dist/cjs/index.js
CHANGED
|
@@ -59,6 +59,7 @@ var background = require('./helpers/background.js');
|
|
|
59
59
|
var backgroundImage = require('./helpers/backgroundImage.js');
|
|
60
60
|
var colors = require('./helpers/colors.js');
|
|
61
61
|
var composeAdvanceStyle = require('./helpers/compose-advance-style.js');
|
|
62
|
+
var composeClasses = require('./helpers/composeClasses.js');
|
|
62
63
|
var convert = require('./helpers/convert.js');
|
|
63
64
|
var covertEntitiesHtml = require('./helpers/covert-entities-html.js');
|
|
64
65
|
var iconList = require('./helpers/icon-list.js');
|
|
@@ -66,6 +67,7 @@ var isDefined = require('./helpers/is-defined.js');
|
|
|
66
67
|
var layout = require('./helpers/layout.js');
|
|
67
68
|
var makeStyle = require('./helpers/make-style.js');
|
|
68
69
|
var align = require('./helpers/align.js');
|
|
70
|
+
var filterTruthyStyles = require('./helpers/filter-truthy-styles.js');
|
|
69
71
|
var variant = require('./helpers/variant.js');
|
|
70
72
|
var product = require('./helpers/product.js');
|
|
71
73
|
var query = require('./helpers/query.js');
|
|
@@ -239,6 +241,7 @@ exports.getCornerStyle = composeAdvanceStyle.getCornerStyle;
|
|
|
239
241
|
exports.removeAttrInStyle = composeAdvanceStyle.removeAttrInStyle;
|
|
240
242
|
exports.removePaddingYInStyle = composeAdvanceStyle.removePaddingYInStyle;
|
|
241
243
|
exports.splitStyle = composeAdvanceStyle.splitStyle;
|
|
244
|
+
exports.composeClasses = composeClasses.composeClasses;
|
|
242
245
|
exports.baseAssetURL = convert.baseAssetURL;
|
|
243
246
|
exports.isLocalEnv = convert.isLocalEnv;
|
|
244
247
|
exports.convertHTML = covertEntitiesHtml.convertHTML;
|
|
@@ -265,6 +268,7 @@ exports.makeWidth = makeStyle.makeWidth;
|
|
|
265
268
|
exports.removeNullUndefined = makeStyle.removeNullUndefined;
|
|
266
269
|
exports.convertTextAlignToJustify = align.convertTextAlignToJustify;
|
|
267
270
|
exports.getAlignmentClasses = align.getAlignmentClasses;
|
|
271
|
+
exports.filterTruthyStyles = filterTruthyStyles.filterTruthyStyles;
|
|
268
272
|
exports.checkInStock = variant.checkInStock;
|
|
269
273
|
exports.checkAvailableVariantInStock = product.checkAvailableVariantInStock;
|
|
270
274
|
exports.getSelectedVariant = product.getSelectedVariant;
|
|
@@ -316,5 +316,11 @@ const HextomFreeShippingBarConfig = {
|
|
|
316
316
|
appId: '7ef5d9af-75a2-45c7-9b1b-f9240ee488e9'
|
|
317
317
|
}
|
|
318
318
|
};
|
|
319
|
+
const ShopifySubscriptionsConfig = {
|
|
320
|
+
ShopifySubscriptions: {
|
|
321
|
+
appName: 'subscriptions',
|
|
322
|
+
appId: 'a3bfe9ec-96f8-4508-a003-df608a36d2ad'
|
|
323
|
+
}
|
|
324
|
+
};
|
|
319
325
|
|
|
320
|
-
export { AftershipEmailMarketingsmsConfig, AppointmentBookingCowlendarConfig, BestBuyFulfillmentConfig, BfSizeChartSizeGuideConfig, BoldSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, BoostAISearchDiscoveryConfig, EasyBundleBuilderSkailamaConfig, EssentialAnnouncementBarConfig, EssentialCountdownTimerBarConfig, EstimatedDeliveryDatePlusConfig, FastBundleBundlesDiscountsConfig, FlyBundlesUpsellsFbtConfig, GloColorSwatchvariantImageConfig, GloboProductOptionsVariantConfig, GrowaveConfig, HextomCountdownTimerBarConfig, HextomFreeShippingBarConfig, HulkProductOptionsConfig, InstasellShoppableInstagramConfig, JunipProductReviewsUgcConfig, KachingBundlesConfig, KiteFreeGiftDiscountConfig, LoloyalLoyaltyReferralsConfig, LoopSubscriptionsConfig, LooxReviewsConfig, MyappgurusProductReviewsConfig, OkendoReviewsLoyaltyConfig, PowerfulContactFormBuilderConfig, PreorderNowPreOrderPqConfig, PreorderNowWodPresaleConfig, ProductOptionsCustomizerConfig, PumperBundlesVolumeDiscountConfig, RechargeSubscriptionsConfig, ReviewxpoProductReviewsAppConfig, SegunoEmailMarketingConfig, SelleasyConfig, SeoantTrustBadgesIconConfig, ShopifyFormsConfig, SimpleBundlesKitsConfig, SkioSubscriptionsYcS20Config, SproutPlantTreesGrowSalesConfig, StampedConfig, SubifySubscriptionsConfig, TrustBadgesBearConfig, TrustedsiteTrustBadgesConfig, TrustooConfig, TrustreviewsProductReviewsConfig, TrustshopProductReviewsConfig, UnlimitedBundlesDiscountsConfig, WhatmoreShoppableVideosreelConfig, WishlistKingConfig, YotpoReviewsV3UgcConfig };
|
|
326
|
+
export { AftershipEmailMarketingsmsConfig, AppointmentBookingCowlendarConfig, BestBuyFulfillmentConfig, BfSizeChartSizeGuideConfig, BoldSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, BoostAISearchDiscoveryConfig, EasyBundleBuilderSkailamaConfig, EssentialAnnouncementBarConfig, EssentialCountdownTimerBarConfig, EstimatedDeliveryDatePlusConfig, FastBundleBundlesDiscountsConfig, FlyBundlesUpsellsFbtConfig, GloColorSwatchvariantImageConfig, GloboProductOptionsVariantConfig, GrowaveConfig, HextomCountdownTimerBarConfig, HextomFreeShippingBarConfig, HulkProductOptionsConfig, InstasellShoppableInstagramConfig, JunipProductReviewsUgcConfig, KachingBundlesConfig, KiteFreeGiftDiscountConfig, LoloyalLoyaltyReferralsConfig, LoopSubscriptionsConfig, LooxReviewsConfig, MyappgurusProductReviewsConfig, OkendoReviewsLoyaltyConfig, PowerfulContactFormBuilderConfig, PreorderNowPreOrderPqConfig, PreorderNowWodPresaleConfig, ProductOptionsCustomizerConfig, PumperBundlesVolumeDiscountConfig, RechargeSubscriptionsConfig, ReviewxpoProductReviewsAppConfig, SegunoEmailMarketingConfig, SelleasyConfig, SeoantTrustBadgesIconConfig, ShopifyFormsConfig, ShopifySubscriptionsConfig, SimpleBundlesKitsConfig, SkioSubscriptionsYcS20Config, SproutPlantTreesGrowSalesConfig, StampedConfig, SubifySubscriptionsConfig, TrustBadgesBearConfig, TrustedsiteTrustBadgesConfig, TrustooConfig, TrustreviewsProductReviewsConfig, TrustshopProductReviewsConfig, UnlimitedBundlesDiscountsConfig, WhatmoreShoppableVideosreelConfig, WishlistKingConfig, YotpoReviewsV3UgcConfig };
|
|
@@ -223,6 +223,13 @@ const overrideSettings = (tag, currentSetting, appSetting)=>{
|
|
|
223
223
|
'tm-type': appSetting?.trustId
|
|
224
224
|
};
|
|
225
225
|
}
|
|
226
|
+
case 'ShopifySubscriptions':
|
|
227
|
+
{
|
|
228
|
+
return {
|
|
229
|
+
...currentSetting,
|
|
230
|
+
product: appSetting?.['productHandle'] || '{{ product }}'
|
|
231
|
+
};
|
|
232
|
+
}
|
|
226
233
|
default:
|
|
227
234
|
return currentSetting;
|
|
228
235
|
}
|
|
@@ -1114,6 +1121,21 @@ const HextomFreeShippingBar = {
|
|
|
1114
1121
|
'fsb-custom-placement': null
|
|
1115
1122
|
}
|
|
1116
1123
|
};
|
|
1124
|
+
const ShopifySubscriptions = {
|
|
1125
|
+
ShopifySubscriptions: {
|
|
1126
|
+
'app-block': {
|
|
1127
|
+
color_text_title: '#6D7175',
|
|
1128
|
+
color_text_body: '#6D7175',
|
|
1129
|
+
dividers_color: '#8F8D8D',
|
|
1130
|
+
bacgkround_color: '#FFFFFF',
|
|
1131
|
+
border_thickness: 1,
|
|
1132
|
+
border_radius: 0,
|
|
1133
|
+
supporting_text_title: 'Purchase options',
|
|
1134
|
+
subscription_policy_url: '',
|
|
1135
|
+
product: '{{product}}'
|
|
1136
|
+
}
|
|
1137
|
+
}
|
|
1138
|
+
};
|
|
1117
1139
|
const composeSettingsByWidgetType = {
|
|
1118
1140
|
...HextomCountdownTimerBar,
|
|
1119
1141
|
...EstimatedDeliveryDatePlus,
|
|
@@ -1167,7 +1189,8 @@ const composeSettingsByWidgetType = {
|
|
|
1167
1189
|
...TrustedsiteTrustBadges,
|
|
1168
1190
|
...GloColorSwatchvariantImage,
|
|
1169
1191
|
...BfSizeChartSizeGuide,
|
|
1170
|
-
...HextomFreeShippingBar
|
|
1192
|
+
...HextomFreeShippingBar,
|
|
1193
|
+
...ShopifySubscriptions
|
|
1171
1194
|
};
|
|
1172
1195
|
|
|
1173
1196
|
export { composeSettingsByWidgetType, overrideSettings };
|
|
@@ -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, AppointmentBookingCowlendarConfig, BoldSubscriptionsConfig, SproutPlantTreesGrowSalesConfig, InstasellShoppableInstagramConfig, GrowaveConfig, LoloyalLoyaltyReferralsConfig, PowerfulContactFormBuilderConfig, WishlistKingConfig, GloboProductOptionsVariantConfig, KachingBundlesConfig, BestBuyFulfillmentConfig, AftershipEmailMarketingsmsConfig, SegunoEmailMarketingConfig, TrustooConfig, LooxReviewsConfig, SeoantTrustBadgesIconConfig, TrustreviewsProductReviewsConfig, MyappgurusProductReviewsConfig, HulkProductOptionsConfig, TrustshopProductReviewsConfig, StampedConfig, BoostAISearchDiscoveryConfig, EssentialCountdownTimerBarConfig, EssentialAnnouncementBarConfig, OkendoReviewsLoyaltyConfig, EstimatedDeliveryDatePlusConfig, HextomCountdownTimerBarConfig, TrustBadgesBearConfig, TrustedsiteTrustBadgesConfig, GloColorSwatchvariantImageConfig, BfSizeChartSizeGuideConfig, HextomFreeShippingBarConfig } 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, BoldSubscriptionsConfig, SproutPlantTreesGrowSalesConfig, InstasellShoppableInstagramConfig, GrowaveConfig, LoloyalLoyaltyReferralsConfig, PowerfulContactFormBuilderConfig, WishlistKingConfig, GloboProductOptionsVariantConfig, KachingBundlesConfig, BestBuyFulfillmentConfig, AftershipEmailMarketingsmsConfig, SegunoEmailMarketingConfig, TrustooConfig, LooxReviewsConfig, SeoantTrustBadgesIconConfig, TrustreviewsProductReviewsConfig, MyappgurusProductReviewsConfig, HulkProductOptionsConfig, TrustshopProductReviewsConfig, StampedConfig, BoostAISearchDiscoveryConfig, EssentialCountdownTimerBarConfig, EssentialAnnouncementBarConfig, OkendoReviewsLoyaltyConfig, EstimatedDeliveryDatePlusConfig, HextomCountdownTimerBarConfig, TrustBadgesBearConfig, TrustedsiteTrustBadgesConfig, GloColorSwatchvariantImageConfig, BfSizeChartSizeGuideConfig, HextomFreeShippingBarConfig, ShopifySubscriptionsConfig } from './appConfig.js';
|
|
2
2
|
|
|
3
3
|
const mapShopifyAppMeta = {
|
|
4
4
|
...RechargeSubscriptionsConfig,
|
|
@@ -53,7 +53,8 @@ const mapShopifyAppMeta = {
|
|
|
53
53
|
...TrustedsiteTrustBadgesConfig,
|
|
54
54
|
...GloColorSwatchvariantImageConfig,
|
|
55
55
|
...BfSizeChartSizeGuideConfig,
|
|
56
|
-
...HextomFreeShippingBarConfig
|
|
56
|
+
...HextomFreeShippingBarConfig,
|
|
57
|
+
...ShopifySubscriptionsConfig
|
|
57
58
|
};
|
|
58
59
|
const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
|
|
59
60
|
|
package/dist/esm/index.js
CHANGED
|
@@ -60,6 +60,7 @@ export { GRADIENT_BGR_KEY, composeBackgroundCss, getBgImageByDevice, getGradient
|
|
|
60
60
|
export { composeBackgroundImageCss, getBgImageSourceByDevice, getStyleBackgroundImageByDevice, getStyleBgImageSource } from './helpers/backgroundImage.js';
|
|
61
61
|
export { composeTextColorCss, getGlobalColorCSSProp, getGlobalColorClass, getGlobalColorResponsiveClass, getGlobalColorResponsiveStyle, getGlobalColorStateClass, getGlobalColorStateClassDynamicBtn, getGlobalColorStateResponsiveClass, getGlobalColorStateResponsiveClassDynamicBtn, getGlobalColorStateResponsiveStyle, getGlobalColorStateStyle, getGlobalColorStyle, getSingleColorVariable, isColor } from './helpers/colors.js';
|
|
62
62
|
export { composeAdvanceStyle, composeAdvanceStyleForPostPurchase, filterAttrInStyle, getCornerStyle, removeAttrInStyle, removePaddingYInStyle, splitStyle } from './helpers/compose-advance-style.js';
|
|
63
|
+
export { composeClasses } from './helpers/composeClasses.js';
|
|
63
64
|
export { baseAssetURL, isLocalEnv } from './helpers/convert.js';
|
|
64
65
|
export { convertHTML } from './helpers/covert-entities-html.js';
|
|
65
66
|
export { composePositionLineHeight, composePostionIconList } from './helpers/icon-list.js';
|
|
@@ -67,6 +68,7 @@ export { isDefined } from './helpers/is-defined.js';
|
|
|
67
68
|
export { composeGridLayout, convertOldLayout, getLayoutClasses, gridToArrayRegex, optionLayoutStyle } from './helpers/layout.js';
|
|
68
69
|
export { makeAspectRatio, makeGlobalSizeHeightResponsive, makeGlobalSizeWidthResponsive, makeHeight, makeLineClamp, makeStyle, makeStyleKey, makeStyleResponsive, makeStyleResponsiveByScreen, makeStyleResponsiveState, makeStyleState, makeWidth, removeNullUndefined } from './helpers/make-style.js';
|
|
69
70
|
export { convertTextAlignToJustify, getAlignmentClasses } from './helpers/align.js';
|
|
71
|
+
export { filterTruthyStyles } from './helpers/filter-truthy-styles.js';
|
|
70
72
|
export { checkInStock } from './helpers/variant.js';
|
|
71
73
|
export { checkAvailableVariantInStock, getSelectedVariant, parseSelectedOption } from './helpers/product.js';
|
|
72
74
|
export { generateCollectionQueryKey, generateProductQueryKey, generateProductsQueryKey } from './helpers/query.js';
|
package/dist/types/index.d.ts
CHANGED
|
@@ -7452,7 +7452,7 @@ type ObjectDevices<T> = Partial<Record<NameDevices$1, T>>;
|
|
|
7452
7452
|
type StateType = 'normal' | 'hover' | 'focus' | 'active' | 'price' | 'compareAtPrice';
|
|
7453
7453
|
type StateProp<T> = Partial<Record<StateType, T>>;
|
|
7454
7454
|
type ResponsiveStateProp<T> = ObjectDevices<StateProp<T>>;
|
|
7455
|
-
type AlignItemProp = 'left' | 'center' | 'right';
|
|
7455
|
+
type AlignItemProp = 'left' | 'center' | 'right' | 'justify';
|
|
7456
7456
|
type JudgeMeReviewsWidgetType = 'single_product_preview_badge' | 'review_widget' | 'reviews_carousel' | 'reviews_text' | 'section_for_medals' | 'ugc_media_grid' | 'verified_reviews_count_badge';
|
|
7457
7457
|
type LooxReviewsWidgetType = 'reviews_widget' | 'rating_widget' | 'carousel_widget';
|
|
7458
7458
|
type LooxReviewsWidgetTypeV2 = 'loox-card-carousel-section' | 'loox-gallery-carousel-section' | 'loox-referrals-section' | 'loox-dynamic-section' | 'loox-snippets-widget' | 'loox-rating' | 'loox-testimonial-carousel-section' | 'loox-trust-badge' | 'loox-video-slider';
|
|
@@ -8441,6 +8441,10 @@ type VariantSwatchesPresetControlType<T> = SharedControlType<T> & {
|
|
|
8441
8441
|
id?: string;
|
|
8442
8442
|
type: 'variant:presets';
|
|
8443
8443
|
};
|
|
8444
|
+
type VariantSwatchesPresetV2ControlType<T> = SharedControlType<T> & {
|
|
8445
|
+
id?: string;
|
|
8446
|
+
type: 'variant:presetsV2';
|
|
8447
|
+
};
|
|
8444
8448
|
type VariantSwatchesOnlyDefaultVariantControlType<T> = SharedControlType<T> & {
|
|
8445
8449
|
id?: string;
|
|
8446
8450
|
type: 'variant:default';
|
|
@@ -9323,7 +9327,30 @@ type DynamicOfferQuantity<T> = SharedControlType<T> & {
|
|
|
9323
9327
|
isOnlyAcceptInteger?: boolean;
|
|
9324
9328
|
};
|
|
9325
9329
|
|
|
9326
|
-
type
|
|
9330
|
+
type ImagePostPurchase<T> = SharedControlType<T> & {
|
|
9331
|
+
type: 'image:post-purchase';
|
|
9332
|
+
};
|
|
9333
|
+
|
|
9334
|
+
type InputSliderControlType<T> = SharedControlType<T> & {
|
|
9335
|
+
type: 'input:slider';
|
|
9336
|
+
placeholder?: string;
|
|
9337
|
+
min?: number;
|
|
9338
|
+
max?: number;
|
|
9339
|
+
step?: number;
|
|
9340
|
+
readonly?: boolean;
|
|
9341
|
+
units?: string[];
|
|
9342
|
+
disableOnChange?: boolean;
|
|
9343
|
+
useOnlyUnitInit?: boolean;
|
|
9344
|
+
ignoreMax?: boolean;
|
|
9345
|
+
hideUnit?: boolean;
|
|
9346
|
+
hideInput?: boolean;
|
|
9347
|
+
} & OnlyOne<{
|
|
9348
|
+
minRelated?: string;
|
|
9349
|
+
}, {
|
|
9350
|
+
maxRelated?: string;
|
|
9351
|
+
}>;
|
|
9352
|
+
|
|
9353
|
+
type ControlProp<T> = ProductBundleChildControlType<T> | SelectProductBundleControlType<T> | AngleControlType<T> | CheckboxControlType<T> | ColorPickerControlType<T> | GroupControlType<T> | IconControlType<T> | InputFixContentControlType<T> | InputNumberControlType<T> | InputStepperControlType<T> | InputUnitControlType<T> | InputUnitSpacingControlType<T> | InputUnitWidthControlType<T> | InputControlType<T> | MarginControlType<T> | PaddingControlType<T> | PositionControlType<T> | RadioGroupControlType | RangeControlType<T> | SegmentControlType<T> | Option$5<T> | OpenLinkControlType<T> | SelectControlType<T> | Option$4<T> | TextareaControlType<T> | ToggleControlType<T> | ImageControlType<T> | ChildrensControlType | GridControlType<T> | FlexControlType<T> | TextEditorControlType<T> | ProductControlType<T> | TypographyControlType<T> | TypographyV2ControlType<T> | MenuControlType<T> | BehaviorStateControlType<T> | PickLinkControlType<T> | BoxShadowControlType<T> | TextShadowControlType<T> | BorderControlType<T> | BorderRadiusControlType<T> | RadiusPresetControlType<T> | SizeControlType<T> | ChildItemType<T> | PickMultiProductControlType<T> | CollectionControlType<T> | BackgroundControlType<T> | VisibilityControlType<T> | SelectVariantControlType | VariantListingControlType | CountdownEvergreenType | Timezone<T> | CustomContentControlType<T> | DateTimePickerControlType | CountdownDailyType | KlaviyoCodes | YotpoLoyaltyCodes | InputWidthControlType<T> | LayoutSegmentControlType<T> | InputSpacing<T> | UniqueIdControlType<T> | PositionSquareControlType<T> | CustomCodeEditor | LayoutControlType<T> | LayoutBannerControlType<T> | SwatchesLinkControlType<T> | VariantSwatchesPresetControlType<T> | VariantSwatchesOnlyDefaultVariantControlType<T> | ProductListControlType<T> | ArticleListControlType<T> | CollectionBannerControlType<T> | Ratio<T> | StickyDisplayControlType<T> | SyncProductPropertiesControlType<T> | StepsGuide<T> | ImageShape<T> | GridArrange<T> | SizeSetting$1<T> | ChildIconType<T> | DropdownInput<T> | Dropdown<T> | AliPickSectionControlType<T> | ParallaxScrollingType<T> | BackgroundColorPickerType<T> | PlayPauseControlType<T> | LayoutCustomSegmentControlType<T> | SneakPeakRange<T> | SneakPeakTypeControlType<T> | SneakPeakControlType<T> | ProductInputCurrencyUnitControlType<T> | TypographyPostPurchaseControlType<T> | ProductOffersControlType<T> | DiscountAndShippingFee<T> | PostPurchaseTextareaControlType<T> | NotesControlType<T> | ButtonLayoutType<T> | ShapeSelectorControlType<T> | DisplayTriggerControlType<T> | CustomPositionControlType<T> | DealControlType<T> | ProductHandleType<T> | ColorPickerV2ControlType<T> | BorderV2ControlType<T> | CornerV2ControlType<T> | PaddingV2ControlType<T> | BackgroundImageType<T> | BackgroundVideoType<T> | ShadowV2ControlType<T> | BackgroundMediaControlType<T> | BackgroundVideoType<T> | SwitchControlType<T> | ImageV2ControlType<T> | LayoutSelectorControlType<T> | ComboControlType<T> | SegmentV2ControlType<T> | DynamicOfferQuantity<T> | ImagePostPurchase<T> | InputSliderControlType<T> | VariantSwatchesPresetV2ControlType<T>;
|
|
9327
9354
|
type ControlTriggerAction = {
|
|
9328
9355
|
controlId: string;
|
|
9329
9356
|
newValue?: any;
|
|
@@ -37258,7 +37285,7 @@ declare const makeStyleState: <T extends ShortHandProperty, K>(name: T, value?:
|
|
|
37258
37285
|
declare const makeStyleResponsiveState: <T extends ShortHandProperty, K>(name: T, value?: Partial<Record<NameDevices$1, Partial<Record<StateType, K>>>> | undefined) => {};
|
|
37259
37286
|
declare const makeStyleResponsive: <T extends ShortHandProperty, K>(name: T, value?: Partial<Record<NameDevices$1, K>> | undefined, unit?: string) => Record<ResponsiveKey<T>, K>;
|
|
37260
37287
|
declare const makeStyleResponsiveByScreen: <T extends ShortHandProperty, K>(name: T, value?: Partial<Record<NameDevices$1, K>> | undefined, unit?: string) => Record<ResponsiveKey<T>, K>;
|
|
37261
|
-
declare const makeWidth: (widthValue?: ObjectDevices<string | number>, fullWidthValue?: ObjectDevices<boolean>) => ObjectDevices<string | number
|
|
37288
|
+
declare const makeWidth: (widthValue?: ObjectDevices<string | number>, fullWidthValue?: ObjectDevices<boolean>) => ObjectDevices<string | number>;
|
|
37262
37289
|
declare const makeGlobalSizeWidthResponsive: (globalSize?: ObjectDevices<SizeSettingGlobal>) => {
|
|
37263
37290
|
'--w': string | undefined;
|
|
37264
37291
|
'--w-tablet': string | undefined;
|
|
@@ -41921,6 +41948,8 @@ declare const removePaddingYInStyle: (style?: React.CSSProperties) => {
|
|
|
41921
41948
|
vectorEffect?: csstype.Property.VectorEffect | undefined;
|
|
41922
41949
|
};
|
|
41923
41950
|
|
|
41951
|
+
declare function composeClasses(classList?: string): Record<string, boolean>;
|
|
41952
|
+
|
|
41924
41953
|
declare const isLocalEnv: boolean;
|
|
41925
41954
|
declare const baseAssetURL: string;
|
|
41926
41955
|
|
|
@@ -41950,6 +41979,8 @@ declare const getLayoutClasses: (layout: Partial<Record<NameDevices$1, string>>
|
|
|
41950
41979
|
declare const convertTextAlignToJustify: (align: Partial<Record<NameDevices$1, AlignProp>> | undefined) => Record<string, boolean>;
|
|
41951
41980
|
declare const getAlignmentClasses: (align: Partial<Record<NameDevices$1, AlignProp>> | undefined) => Record<string, boolean>;
|
|
41952
41981
|
|
|
41982
|
+
declare function filterTruthyStyles<T extends Record<string, any>>(styles: T): Partial<T>;
|
|
41983
|
+
|
|
41953
41984
|
declare function checkInStock(variant?: VariantSelectFragment, product?: ProductSelectFragment): boolean;
|
|
41954
41985
|
|
|
41955
41986
|
declare function getSelectedVariant(variants?: Maybe$1<VariantSelectFragment>[], choices?: Record<string, string>, variantId?: string | null): Maybe$1<VariantSelectFragment>;
|
|
@@ -47019,4 +47050,4 @@ declare const useInteraction: () => {
|
|
|
47019
47050
|
interactionListenerLoaded: (callback: () => void) => void;
|
|
47020
47051
|
};
|
|
47021
47052
|
|
|
47022
|
-
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, LooxReviewsWidgetTypeV2, ModalProvider, ModalProviderProps, NameDevices$1 as NameDevices, NestedKeys, ObjectDeviceGlobalType, ObjectDevices, ObjectLayoutValue, OmnisendWidgetType, OnlyOne, OpinewDesignWidgetType, OpinewWidgetType, 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, SettingByAnimationType, SettingByAnimationValues, SettingUIGroup, ShadowProps, ShadowStyle, ShadowStyleApplied, ShadowType, ShopLibraryPageDocument, ShopLibraryPageQueryResponse, ShopLibraryPageQueryVariables, ShopProvider, ShopProviderProps, ShopShopifyDocument, ShopShopifyQueryResponse, ShopShopifyQueryVariables, shop as ShopType, SizeProps, 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, VariantSelectFragment, VitalsWidgetType, WiserV2WidgetType, WiserWidgetType, WrapRenderChildren, YotpoReviewsWidgetType, addAppBlockId, animations, baseAssetURL, calculateFirstProduct, checkAvailableVariantInStock, checkInStock, cls, composeAdvanceStyle, composeAdvanceStyleForPostPurchase, composeBackgroundCss, composeBackgroundImageCss, composeBorderCss, composeBorderResponsive, composeCornerCss, composeFallbackTypographyStyle, composeFontFamilyTypographyV2, composeGridLayout, composeMemo, composePositionLineHeight, composePostionIconList, composeRadius, composeRadiusResponsive, composeShadow, composeShadowCss, composeSize, composeSizeCss, composeSpacing, composeTextColorCss, composeTextHoverColorCss, composeTypography, composeTypographyAttr, composeTypographyClassName, composeTypographyCss, composeTypographyStyle, composeTypographyV2, composeTypographyV2Css, convertHTML, convertOldLayout, convertTextAlignToJustify, dataStringify, fetchMedias, fetchVariants, filterAttrInStyle, filterToolbarPreview, 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, 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, useShopifyLink, useStoreFront, useSuspenseFetch, useSwatches, useSwatchesOptions, useTimezone, useUniqProductID, useUpdateCartItem, useVariant, useVariantOutStock, useVariants, validateEmail };
|
|
47053
|
+
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, 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, 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, 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, VariantSelectFragment, VitalsWidgetType, WiserV2WidgetType, WiserWidgetType, WrapRenderChildren, YotpoReviewsWidgetType, addAppBlockId, animations, baseAssetURL, calculateFirstProduct, checkAvailableVariantInStock, checkInStock, cls, composeAdvanceStyle, composeAdvanceStyleForPostPurchase, composeBackgroundCss, composeBackgroundImageCss, composeBorderCss, composeBorderResponsive, composeClasses, composeCornerCss, composeFallbackTypographyStyle, composeFontFamilyTypographyV2, composeGridLayout, composeMemo, composePositionLineHeight, composePostionIconList, composeRadius, composeRadiusResponsive, composeShadow, composeShadowCss, composeSize, composeSizeCss, composeSpacing, composeTextColorCss, composeTextHoverColorCss, composeTypography, composeTypographyAttr, composeTypographyClassName, composeTypographyCss, composeTypographyStyle, composeTypographyV2, composeTypographyV2Css, 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, 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, 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.
|
|
3
|
+
"version": "2.0.0-dev.239",
|
|
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": "2.0.0-dev.
|
|
31
|
-
"@gem-sdk/styles": "2.0.0-dev.
|
|
30
|
+
"@gem-sdk/adapter-shopify": "2.0.0-dev.234",
|
|
31
|
+
"@gem-sdk/styles": "2.0.0-dev.234",
|
|
32
32
|
"@types/classnames": "^2.3.1"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|