@gem-sdk/core 2.0.0-dev.168 → 2.0.0-dev.173
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/graphql/fragments/custom-font.generated.js +5 -1
- package/dist/cjs/graphql/fragments/published-theme-page.generated.js +2 -11
- package/dist/cjs/graphql/queries/{published-shop-metas.js → published-shop-metas.generated.js} +1 -1
- package/dist/cjs/graphql/queries/published-theme-pages.generated.js +2 -8
- package/dist/cjs/helpers/shadow.js +20 -0
- package/dist/cjs/helpers/third-party/appConfig.js +7 -0
- package/dist/cjs/helpers/third-party/constant.js +2 -1
- package/dist/cjs/index.js +3 -2
- package/dist/esm/graphql/fragments/custom-font.generated.js +5 -1
- package/dist/esm/graphql/fragments/published-theme-page.generated.js +2 -11
- package/dist/esm/graphql/queries/{published-shop-metas.js → published-shop-metas.generated.js} +1 -1
- package/dist/esm/graphql/queries/published-theme-pages.generated.js +2 -8
- package/dist/esm/helpers/shadow.js +20 -1
- package/dist/esm/helpers/third-party/appConfig.js +7 -1
- package/dist/esm/helpers/third-party/constant.js +3 -2
- package/dist/esm/index.js +2 -2
- package/dist/types/index.d.ts +1742 -222
- package/package.json +1 -1
|
@@ -7,24 +7,15 @@
|
|
|
7
7
|
handle
|
|
8
8
|
isMobile
|
|
9
9
|
sectionPosition
|
|
10
|
-
pageSections {
|
|
11
|
-
...PublishedPageSectionSelect
|
|
12
|
-
}
|
|
13
10
|
themePageCustomSections {
|
|
14
11
|
...PublishedCustomSectionSelect
|
|
15
12
|
}
|
|
16
|
-
|
|
17
|
-
...
|
|
13
|
+
pageSections {
|
|
14
|
+
...PublishedPageSectionSelect
|
|
18
15
|
}
|
|
19
16
|
pageStyle {
|
|
20
17
|
...PublishedThemeStyleSelect
|
|
21
18
|
}
|
|
22
|
-
themePageAnalytic {
|
|
23
|
-
...AnalyticSelect
|
|
24
|
-
}
|
|
25
|
-
themePageCustomCode {
|
|
26
|
-
...CustomCodeSelect
|
|
27
|
-
}
|
|
28
19
|
themePageCustomFonts {
|
|
29
20
|
...CustomFontSelect
|
|
30
21
|
}
|
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var publishedThemePage_generated = require('../fragments/published-theme-page.generated.js');
|
|
4
|
-
var publishedPageSection_generated = require('../fragments/published-page-section.generated.js');
|
|
5
4
|
var publishedCustomSection_generated = require('../fragments/published-custom-section.generated.js');
|
|
6
|
-
var
|
|
5
|
+
var publishedPageSection_generated = require('../fragments/published-page-section.generated.js');
|
|
7
6
|
var publishedThemeStyle_generated = require('../fragments/published-theme-style.generated.js');
|
|
8
|
-
var analytic_generated = require('../fragments/analytic.generated.js');
|
|
9
|
-
var customCode_generated = require('../fragments/custom-code.generated.js');
|
|
10
7
|
var customFont_generated = require('../fragments/custom-font.generated.js');
|
|
11
8
|
|
|
12
9
|
const PublishedThemePagesDocument = `
|
|
@@ -16,12 +13,9 @@ const PublishedThemePagesDocument = `
|
|
|
16
13
|
}
|
|
17
14
|
}
|
|
18
15
|
${publishedThemePage_generated.PublishedThemePageSelect}
|
|
19
|
-
${publishedPageSection_generated.PublishedPageSectionSelect}
|
|
20
16
|
${publishedCustomSection_generated.PublishedCustomSectionSelect}
|
|
21
|
-
${
|
|
17
|
+
${publishedPageSection_generated.PublishedPageSectionSelect}
|
|
22
18
|
${publishedThemeStyle_generated.PublishedThemeStyleSelect}
|
|
23
|
-
${analytic_generated.AnalyticSelect}
|
|
24
|
-
${customCode_generated.CustomCodeSelect}
|
|
25
19
|
${customFont_generated.CustomFontSelect}`;
|
|
26
20
|
|
|
27
21
|
exports.PublishedThemePagesDocument = PublishedThemePagesDocument;
|
|
@@ -79,6 +79,25 @@ const getResponsiveStyleShadowWithoutState = (value, styleAppliedFor, isEnableSh
|
|
|
79
79
|
};
|
|
80
80
|
}
|
|
81
81
|
};
|
|
82
|
+
const composeShadow = (shadowInput)=>{
|
|
83
|
+
return {
|
|
84
|
+
...getStyleShadowState(shadowInput?.desktop, 'box-shadow', {
|
|
85
|
+
normal: shadowInput?.desktop?.normal?.type !== 'none',
|
|
86
|
+
focus: shadowInput?.desktop?.focus?.type !== 'none',
|
|
87
|
+
hover: shadowInput?.desktop?.hover?.type !== 'none'
|
|
88
|
+
}),
|
|
89
|
+
...getStyleShadowState(shadowInput?.tablet, 'box-shadow', {
|
|
90
|
+
normal: shadowInput?.tablet?.normal?.type !== 'none',
|
|
91
|
+
focus: shadowInput?.tablet?.focus?.type !== 'none',
|
|
92
|
+
hover: shadowInput?.tablet?.hover?.type !== 'none'
|
|
93
|
+
}, 'tablet'),
|
|
94
|
+
...getStyleShadowState(shadowInput?.mobile, 'box-shadow', {
|
|
95
|
+
normal: shadowInput?.mobile?.normal?.type !== 'none',
|
|
96
|
+
focus: shadowInput?.mobile?.focus?.type !== 'none',
|
|
97
|
+
hover: shadowInput?.mobile?.hover?.type !== 'none'
|
|
98
|
+
}, 'mobile')
|
|
99
|
+
};
|
|
100
|
+
};
|
|
82
101
|
const composeShadowCss = ({ hasBoxShadow, boxShadowValue, important })=>{
|
|
83
102
|
if (!hasBoxShadow) return undefined;
|
|
84
103
|
if (!boxShadowValue) return undefined;
|
|
@@ -87,6 +106,7 @@ const composeShadowCss = ({ hasBoxShadow, boxShadowValue, important })=>{
|
|
|
87
106
|
return `box-shadow: ${Math.cos(parseFloat(`${boxShadowValue?.angle}`) * Math.PI / 180) * parseFloat(`${distance}`)}${unitDistance} ${Math.sin(parseFloat(`${boxShadowValue?.angle}`) * Math.PI / 180) * parseFloat(`${distance}`)}${unitDistance} ${boxShadowValue?.blur} ${boxShadowValue?.spread + ' '}${colors.getSingleColorVariable(boxShadowValue?.color)}${sub};`;
|
|
88
107
|
};
|
|
89
108
|
|
|
109
|
+
exports.composeShadow = composeShadow;
|
|
90
110
|
exports.composeShadowCss = composeShadowCss;
|
|
91
111
|
exports.getResponsiveStyleShadow = getResponsiveStyleShadow;
|
|
92
112
|
exports.getResponsiveStyleShadowWithoutState = getResponsiveStyleShadowWithoutState;
|
|
@@ -252,6 +252,12 @@ const TrustshopProductReviewsConfig = {
|
|
|
252
252
|
appId: '18b0c4cc-5411-4b6e-922d-34fdc2f30ab9'
|
|
253
253
|
}
|
|
254
254
|
};
|
|
255
|
+
const StampedConfig = {
|
|
256
|
+
Stamped: {
|
|
257
|
+
appName: 'stamped-reviews',
|
|
258
|
+
appId: 'a103faaf-2125-4b0e-89fa-de5149736723'
|
|
259
|
+
}
|
|
260
|
+
};
|
|
255
261
|
|
|
256
262
|
exports.AftershipEmailMarketingsmsConfig = AftershipEmailMarketingsmsConfig;
|
|
257
263
|
exports.AppointmentBookingCowlendarConfig = AppointmentBookingCowlendarConfig;
|
|
@@ -287,6 +293,7 @@ exports.ShopifyFormsConfig = ShopifyFormsConfig;
|
|
|
287
293
|
exports.SimpleBundlesKitsConfig = SimpleBundlesKitsConfig;
|
|
288
294
|
exports.SkioSubscriptionsYcS20Config = SkioSubscriptionsYcS20Config;
|
|
289
295
|
exports.SproutPlantTreesGrowSalesConfig = SproutPlantTreesGrowSalesConfig;
|
|
296
|
+
exports.StampedConfig = StampedConfig;
|
|
290
297
|
exports.SubifySubscriptionsConfig = SubifySubscriptionsConfig;
|
|
291
298
|
exports.TrustooConfig = TrustooConfig;
|
|
292
299
|
exports.TrustreviewsProductReviewsConfig = TrustreviewsProductReviewsConfig;
|
|
@@ -44,7 +44,8 @@ const mapShopifyAppMeta = {
|
|
|
44
44
|
...appConfig.MyappgurusProductReviewsConfig,
|
|
45
45
|
...appConfig.TrustreviewsProductReviewsConfig,
|
|
46
46
|
...appConfig.HulkProductOptionsConfig,
|
|
47
|
-
...appConfig.TrustshopProductReviewsConfig
|
|
47
|
+
...appConfig.TrustshopProductReviewsConfig,
|
|
48
|
+
...appConfig.StampedConfig
|
|
48
49
|
};
|
|
49
50
|
const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
|
|
50
51
|
|
package/dist/cjs/index.js
CHANGED
|
@@ -19,7 +19,6 @@ var ModalContext = require('./contexts/ModalContext.js');
|
|
|
19
19
|
var ArticleListContext = require('./contexts/ArticleListContext.js');
|
|
20
20
|
var ArticleContext = require('./contexts/ArticleContext.js');
|
|
21
21
|
var pageViewUp_generated = require('./graphql/mutations/page-view-up.generated.js');
|
|
22
|
-
var publishedShopMetas = require('./graphql/queries/published-shop-metas.js');
|
|
23
22
|
var collectionDetailFilter_generated = require('./graphql/queries/collection-detail-filter.generated.js');
|
|
24
23
|
var collection_generated = require('./graphql/queries/collection.generated.js');
|
|
25
24
|
var collections_generated = require('./graphql/queries/collections.generated.js');
|
|
@@ -27,6 +26,7 @@ var publishedThemePages_generated = require('./graphql/queries/published-theme-p
|
|
|
27
26
|
var products_generated = require('./graphql/queries/products.generated.js');
|
|
28
27
|
var storeProperty_generated = require('./graphql/queries/store-property.generated.js');
|
|
29
28
|
var previewPage_generated = require('./graphql/queries/preview-page.generated.js');
|
|
29
|
+
var publishedShopMetas_generated = require('./graphql/queries/published-shop-metas.generated.js');
|
|
30
30
|
var shopShopify_generated = require('./graphql/queries/shop-shopify.generated.js');
|
|
31
31
|
var LibraryTemplate_generated = require('./graphql-app-api/queries/LibraryTemplate.generated.js');
|
|
32
32
|
var ThemePage_generated = require('./graphql-app-api/queries/ThemePage.generated.js');
|
|
@@ -155,7 +155,6 @@ exports.useArticleListStore = ArticleListContext.useArticleListStore;
|
|
|
155
155
|
exports.ArticleProvider = ArticleContext.ArticleProvider;
|
|
156
156
|
exports.useArticleStore = ArticleContext.useArticleStore;
|
|
157
157
|
exports.PageViewUpDocument = pageViewUp_generated.PageViewUpDocument;
|
|
158
|
-
exports.PublishedShopMetasDocument = publishedShopMetas.PublishedShopMetasDocument;
|
|
159
158
|
exports.CollectionDetailFilterDocument = collectionDetailFilter_generated.CollectionDetailFilterDocument;
|
|
160
159
|
exports.CollectionDocument = collection_generated.CollectionDocument;
|
|
161
160
|
exports.CollectionsDocument = collections_generated.CollectionsDocument;
|
|
@@ -163,6 +162,7 @@ exports.PublishedThemePagesDocument = publishedThemePages_generated.PublishedThe
|
|
|
163
162
|
exports.ProductsDocument = products_generated.ProductsDocument;
|
|
164
163
|
exports.StorePropertyDocument = storeProperty_generated.StorePropertyDocument;
|
|
165
164
|
exports.PreviewThemePageDocument = previewPage_generated.PreviewThemePageDocument;
|
|
165
|
+
exports.PublishedShopMetasDocument = publishedShopMetas_generated.PublishedShopMetasDocument;
|
|
166
166
|
exports.ShopShopifyDocument = shopShopify_generated.ShopShopifyDocument;
|
|
167
167
|
exports.LibraryTemplateDocument = LibraryTemplate_generated.LibraryTemplateDocument;
|
|
168
168
|
exports.ThemePageDocument = ThemePage_generated.ThemePageDocument;
|
|
@@ -284,6 +284,7 @@ exports.props = render.props;
|
|
|
284
284
|
exports.removeUndefinedValuesFromObject = render.removeUndefinedValuesFromObject;
|
|
285
285
|
exports.styles = render.styles;
|
|
286
286
|
exports.template = render.template;
|
|
287
|
+
exports.composeShadow = shadow.composeShadow;
|
|
287
288
|
exports.composeShadowCss = shadow.composeShadowCss;
|
|
288
289
|
exports.getResponsiveStyleShadow = shadow.getResponsiveStyleShadow;
|
|
289
290
|
exports.getResponsiveStyleShadowWithoutState = shadow.getResponsiveStyleShadowWithoutState;
|
|
@@ -5,24 +5,15 @@
|
|
|
5
5
|
handle
|
|
6
6
|
isMobile
|
|
7
7
|
sectionPosition
|
|
8
|
-
pageSections {
|
|
9
|
-
...PublishedPageSectionSelect
|
|
10
|
-
}
|
|
11
8
|
themePageCustomSections {
|
|
12
9
|
...PublishedCustomSectionSelect
|
|
13
10
|
}
|
|
14
|
-
|
|
15
|
-
...
|
|
11
|
+
pageSections {
|
|
12
|
+
...PublishedPageSectionSelect
|
|
16
13
|
}
|
|
17
14
|
pageStyle {
|
|
18
15
|
...PublishedThemeStyleSelect
|
|
19
16
|
}
|
|
20
|
-
themePageAnalytic {
|
|
21
|
-
...AnalyticSelect
|
|
22
|
-
}
|
|
23
|
-
themePageCustomCode {
|
|
24
|
-
...CustomCodeSelect
|
|
25
|
-
}
|
|
26
17
|
themePageCustomFonts {
|
|
27
18
|
...CustomFontSelect
|
|
28
19
|
}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { PublishedThemePageSelect } from '../fragments/published-theme-page.generated.js';
|
|
2
|
-
import { PublishedPageSectionSelect } from '../fragments/published-page-section.generated.js';
|
|
3
2
|
import { PublishedCustomSectionSelect } from '../fragments/published-custom-section.generated.js';
|
|
4
|
-
import {
|
|
3
|
+
import { PublishedPageSectionSelect } from '../fragments/published-page-section.generated.js';
|
|
5
4
|
import { PublishedThemeStyleSelect } from '../fragments/published-theme-style.generated.js';
|
|
6
|
-
import { AnalyticSelect } from '../fragments/analytic.generated.js';
|
|
7
|
-
import { CustomCodeSelect } from '../fragments/custom-code.generated.js';
|
|
8
5
|
import { CustomFontSelect } from '../fragments/custom-font.generated.js';
|
|
9
6
|
|
|
10
7
|
const PublishedThemePagesDocument = `
|
|
@@ -14,12 +11,9 @@ const PublishedThemePagesDocument = `
|
|
|
14
11
|
}
|
|
15
12
|
}
|
|
16
13
|
${PublishedThemePageSelect}
|
|
17
|
-
${PublishedPageSectionSelect}
|
|
18
14
|
${PublishedCustomSectionSelect}
|
|
19
|
-
${
|
|
15
|
+
${PublishedPageSectionSelect}
|
|
20
16
|
${PublishedThemeStyleSelect}
|
|
21
|
-
${AnalyticSelect}
|
|
22
|
-
${CustomCodeSelect}
|
|
23
17
|
${CustomFontSelect}`;
|
|
24
18
|
|
|
25
19
|
export { PublishedThemePagesDocument };
|
|
@@ -77,6 +77,25 @@ const getResponsiveStyleShadowWithoutState = (value, styleAppliedFor, isEnableSh
|
|
|
77
77
|
};
|
|
78
78
|
}
|
|
79
79
|
};
|
|
80
|
+
const composeShadow = (shadowInput)=>{
|
|
81
|
+
return {
|
|
82
|
+
...getStyleShadowState(shadowInput?.desktop, 'box-shadow', {
|
|
83
|
+
normal: shadowInput?.desktop?.normal?.type !== 'none',
|
|
84
|
+
focus: shadowInput?.desktop?.focus?.type !== 'none',
|
|
85
|
+
hover: shadowInput?.desktop?.hover?.type !== 'none'
|
|
86
|
+
}),
|
|
87
|
+
...getStyleShadowState(shadowInput?.tablet, 'box-shadow', {
|
|
88
|
+
normal: shadowInput?.tablet?.normal?.type !== 'none',
|
|
89
|
+
focus: shadowInput?.tablet?.focus?.type !== 'none',
|
|
90
|
+
hover: shadowInput?.tablet?.hover?.type !== 'none'
|
|
91
|
+
}, 'tablet'),
|
|
92
|
+
...getStyleShadowState(shadowInput?.mobile, 'box-shadow', {
|
|
93
|
+
normal: shadowInput?.mobile?.normal?.type !== 'none',
|
|
94
|
+
focus: shadowInput?.mobile?.focus?.type !== 'none',
|
|
95
|
+
hover: shadowInput?.mobile?.hover?.type !== 'none'
|
|
96
|
+
}, 'mobile')
|
|
97
|
+
};
|
|
98
|
+
};
|
|
80
99
|
const composeShadowCss = ({ hasBoxShadow, boxShadowValue, important })=>{
|
|
81
100
|
if (!hasBoxShadow) return undefined;
|
|
82
101
|
if (!boxShadowValue) return undefined;
|
|
@@ -85,4 +104,4 @@ const composeShadowCss = ({ hasBoxShadow, boxShadowValue, important })=>{
|
|
|
85
104
|
return `box-shadow: ${Math.cos(parseFloat(`${boxShadowValue?.angle}`) * Math.PI / 180) * parseFloat(`${distance}`)}${unitDistance} ${Math.sin(parseFloat(`${boxShadowValue?.angle}`) * Math.PI / 180) * parseFloat(`${distance}`)}${unitDistance} ${boxShadowValue?.blur} ${boxShadowValue?.spread + ' '}${getSingleColorVariable(boxShadowValue?.color)}${sub};`;
|
|
86
105
|
};
|
|
87
106
|
|
|
88
|
-
export { composeShadowCss, getResponsiveStyleShadow, getResponsiveStyleShadowWithoutState, getStyleShadow, getStyleShadowState, parseValueWithUnit };
|
|
107
|
+
export { composeShadow, composeShadowCss, getResponsiveStyleShadow, getResponsiveStyleShadowWithoutState, getStyleShadow, getStyleShadowState, parseValueWithUnit };
|
|
@@ -250,5 +250,11 @@ const TrustshopProductReviewsConfig = {
|
|
|
250
250
|
appId: '18b0c4cc-5411-4b6e-922d-34fdc2f30ab9'
|
|
251
251
|
}
|
|
252
252
|
};
|
|
253
|
+
const StampedConfig = {
|
|
254
|
+
Stamped: {
|
|
255
|
+
appName: 'stamped-reviews',
|
|
256
|
+
appId: 'a103faaf-2125-4b0e-89fa-de5149736723'
|
|
257
|
+
}
|
|
258
|
+
};
|
|
253
259
|
|
|
254
|
-
export { AftershipEmailMarketingsmsConfig, AppointmentBookingCowlendarConfig, BestBuyFulfillmentConfig, BoldSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, EasyBundleBuilderSkailamaConfig, FastBundleBundlesDiscountsConfig, FlyBundlesUpsellsFbtConfig, GloboProductOptionsVariantConfig, GrowaveConfig, HulkProductOptionsConfig, InstasellShoppableInstagramConfig, JunipProductReviewsUgcConfig, KachingBundlesConfig, KiteFreeGiftDiscountConfig, LoloyalLoyaltyReferralsConfig, LoopSubscriptionsConfig, LooxReviewsConfig, MyappgurusProductReviewsConfig, PowerfulContactFormBuilderConfig, PowrContactFormBuilderConfig, PreorderNowPreOrderPqConfig, PreorderNowWodPresaleConfig, ProductOptionsCustomizerConfig, PumperBundlesVolumeDiscountConfig, RechargeSubscriptionsConfig, ReviewxpoProductReviewsAppConfig, SegunoEmailMarketingConfig, SelleasyConfig, SeoantTrustBadgesIconConfig, ShopifyFormsConfig, SimpleBundlesKitsConfig, SkioSubscriptionsYcS20Config, SproutPlantTreesGrowSalesConfig, SubifySubscriptionsConfig, TrustooConfig, TrustreviewsProductReviewsConfig, TrustshopProductReviewsConfig, UnlimitedBundlesDiscountsConfig, WhatmoreShoppableVideosreelConfig, WishlistKingConfig, YotpoReviewsV3UgcConfig };
|
|
260
|
+
export { AftershipEmailMarketingsmsConfig, AppointmentBookingCowlendarConfig, BestBuyFulfillmentConfig, BoldSubscriptionsConfig, BonLoyaltyRewardsReferralsConfig, EasyBundleBuilderSkailamaConfig, FastBundleBundlesDiscountsConfig, FlyBundlesUpsellsFbtConfig, GloboProductOptionsVariantConfig, GrowaveConfig, HulkProductOptionsConfig, InstasellShoppableInstagramConfig, JunipProductReviewsUgcConfig, KachingBundlesConfig, KiteFreeGiftDiscountConfig, LoloyalLoyaltyReferralsConfig, LoopSubscriptionsConfig, LooxReviewsConfig, MyappgurusProductReviewsConfig, PowerfulContactFormBuilderConfig, PowrContactFormBuilderConfig, PreorderNowPreOrderPqConfig, PreorderNowWodPresaleConfig, ProductOptionsCustomizerConfig, PumperBundlesVolumeDiscountConfig, RechargeSubscriptionsConfig, ReviewxpoProductReviewsAppConfig, SegunoEmailMarketingConfig, SelleasyConfig, SeoantTrustBadgesIconConfig, ShopifyFormsConfig, SimpleBundlesKitsConfig, SkioSubscriptionsYcS20Config, SproutPlantTreesGrowSalesConfig, StampedConfig, SubifySubscriptionsConfig, TrustooConfig, TrustreviewsProductReviewsConfig, TrustshopProductReviewsConfig, UnlimitedBundlesDiscountsConfig, WhatmoreShoppableVideosreelConfig, WishlistKingConfig, YotpoReviewsV3UgcConfig };
|
|
@@ -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, PowrContactFormBuilderConfig, MyappgurusProductReviewsConfig, TrustreviewsProductReviewsConfig, HulkProductOptionsConfig, TrustshopProductReviewsConfig } 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, PowrContactFormBuilderConfig, MyappgurusProductReviewsConfig, TrustreviewsProductReviewsConfig, HulkProductOptionsConfig, TrustshopProductReviewsConfig, StampedConfig } from './appConfig.js';
|
|
2
2
|
|
|
3
3
|
const mapShopifyAppMeta = {
|
|
4
4
|
...RechargeSubscriptionsConfig,
|
|
@@ -42,7 +42,8 @@ const mapShopifyAppMeta = {
|
|
|
42
42
|
...MyappgurusProductReviewsConfig,
|
|
43
43
|
...TrustreviewsProductReviewsConfig,
|
|
44
44
|
...HulkProductOptionsConfig,
|
|
45
|
-
...TrustshopProductReviewsConfig
|
|
45
|
+
...TrustshopProductReviewsConfig,
|
|
46
|
+
...StampedConfig
|
|
46
47
|
};
|
|
47
48
|
const THIRD_PARTY_APP_BLOCK_ID_PREFIX = 'gp_app';
|
|
48
49
|
|
package/dist/esm/index.js
CHANGED
|
@@ -17,7 +17,6 @@ export { ModalProvider, useModalStore } from './contexts/ModalContext.js';
|
|
|
17
17
|
export { ArticleListProvider, useArticleListStore } from './contexts/ArticleListContext.js';
|
|
18
18
|
export { ArticleProvider, useArticleStore } from './contexts/ArticleContext.js';
|
|
19
19
|
export { PageViewUpDocument } from './graphql/mutations/page-view-up.generated.js';
|
|
20
|
-
export { PublishedShopMetasDocument } from './graphql/queries/published-shop-metas.js';
|
|
21
20
|
export { CollectionDetailFilterDocument } from './graphql/queries/collection-detail-filter.generated.js';
|
|
22
21
|
export { CollectionDocument } from './graphql/queries/collection.generated.js';
|
|
23
22
|
export { CollectionsDocument } from './graphql/queries/collections.generated.js';
|
|
@@ -25,6 +24,7 @@ export { PublishedThemePagesDocument } from './graphql/queries/published-theme-p
|
|
|
25
24
|
export { ProductsDocument } from './graphql/queries/products.generated.js';
|
|
26
25
|
export { StorePropertyDocument } from './graphql/queries/store-property.generated.js';
|
|
27
26
|
export { PreviewThemePageDocument } from './graphql/queries/preview-page.generated.js';
|
|
27
|
+
export { PublishedShopMetasDocument } from './graphql/queries/published-shop-metas.generated.js';
|
|
28
28
|
export { ShopShopifyDocument } from './graphql/queries/shop-shopify.generated.js';
|
|
29
29
|
export { LibraryTemplateDocument } from './graphql-app-api/queries/LibraryTemplate.generated.js';
|
|
30
30
|
export { ThemePageDocument } from './graphql-app-api/queries/ThemePage.generated.js';
|
|
@@ -71,7 +71,7 @@ export { checkAvailableVariantInStock, getSelectedVariant, parseSelectedOption }
|
|
|
71
71
|
export { generateCollectionQueryKey, generateProductQueryKey, generateProductsQueryKey } from './helpers/query.js';
|
|
72
72
|
export { composeCornerCss, composeRadius, composeRadiusResponsive, getCornerCSSFromGlobal, getCustomRadius, getRadiusCSSFromGlobal, getRadiusStyleActiveState } from './helpers/radius.js';
|
|
73
73
|
export { RenderIf, composeMemo, dataStringify, props, removeUndefinedValuesFromObject, styles, template } from './helpers/render.js';
|
|
74
|
-
export { composeShadowCss, getResponsiveStyleShadow, getResponsiveStyleShadowWithoutState, getStyleShadow, getStyleShadowState, parseValueWithUnit } from './helpers/shadow.js';
|
|
74
|
+
export { composeShadow, composeShadowCss, getResponsiveStyleShadow, getResponsiveStyleShadowWithoutState, getStyleShadow, getStyleShadowState, parseValueWithUnit } from './helpers/shadow.js';
|
|
75
75
|
export { composeSize, composeSizeCss, genSizeClass, getAspectRatioGlobalSize, getGlobalSizeGap, getHeightByShapeGlobalSize, getPaddingGlobalSize, getPaddingStyleByDevice, getResponsiveStylePadding, getValueByDevice, getWidthByShapeGlobalSize, getWidthHeightGlobalSize, makeGlobalSize, makeGlobalSizeIcon, makeStyleWithDefault } from './helpers/size.js';
|
|
76
76
|
export { composeFallbackTypographyStyle, composeFontFamilyTypographyV2, composeTextHoverColorCss, composeTypography, composeTypographyAttr, composeTypographyClassName, composeTypographyCss, composeTypographyStyle, composeTypographyV2, composeTypographyV2Css, genTypoClass } from './helpers/typography.js';
|
|
77
77
|
export { useArticlesQuery, useBlogsQuery } from './hooks/articles/useArticlesQuery.js';
|