@gem-sdk/core 2.6.0-staging.14 → 2.6.0-staging.19
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/size.js
CHANGED
|
@@ -114,8 +114,8 @@ const getFlexGrowClassByShapeGlobalSize = (shapeByLayout)=>{
|
|
|
114
114
|
const shapeByDevice = getResonsiveValue.getResponsiveValueByScreen(shapeByLayout, device);
|
|
115
115
|
const height = shapeByDevice?.height;
|
|
116
116
|
const shapeValue = shapeByDevice?.shapeValue;
|
|
117
|
-
const classFlex1 = device === 'desktop' ? 'gp-flex-1' : `${device}:gp-flex-1`;
|
|
118
|
-
const classFlexNone = device === 'desktop' ? 'gp-flex-none' : `${device}:gp-flex-none`;
|
|
117
|
+
const classFlex1 = device === 'desktop' ? 'gp-flex-1 gp-h-full' : `${device}:gp-flex-1 ${device}:gp-h-full`;
|
|
118
|
+
const classFlexNone = device === 'desktop' ? 'gp-flex-none gp-h-auto' : `${device}:gp-flex-none ${device}:gp-h-auto`;
|
|
119
119
|
result = {
|
|
120
120
|
...result,
|
|
121
121
|
[classFlex1]: height === '100%' && !shapeValue,
|
|
@@ -285,6 +285,20 @@ const overrideSettings = (tag, currentSetting, appSetting)=>{
|
|
|
285
285
|
product: appSetting?.['productHandle'] || '{{ product }}'
|
|
286
286
|
};
|
|
287
287
|
}
|
|
288
|
+
case 'SubifySubscriptionsApp':
|
|
289
|
+
{
|
|
290
|
+
return {
|
|
291
|
+
...currentSetting,
|
|
292
|
+
product: appSetting?.['productHandle'] || '{{ product }}'
|
|
293
|
+
};
|
|
294
|
+
}
|
|
295
|
+
case 'RechargeSubscriptions':
|
|
296
|
+
{
|
|
297
|
+
return {
|
|
298
|
+
...currentSetting,
|
|
299
|
+
product: appSetting?.['productHandle'] || '{{ product }}'
|
|
300
|
+
};
|
|
301
|
+
}
|
|
288
302
|
default:
|
|
289
303
|
return currentSetting;
|
|
290
304
|
}
|
package/dist/esm/helpers/size.js
CHANGED
|
@@ -112,8 +112,8 @@ const getFlexGrowClassByShapeGlobalSize = (shapeByLayout)=>{
|
|
|
112
112
|
const shapeByDevice = getResponsiveValueByScreen(shapeByLayout, device);
|
|
113
113
|
const height = shapeByDevice?.height;
|
|
114
114
|
const shapeValue = shapeByDevice?.shapeValue;
|
|
115
|
-
const classFlex1 = device === 'desktop' ? 'gp-flex-1' : `${device}:gp-flex-1`;
|
|
116
|
-
const classFlexNone = device === 'desktop' ? 'gp-flex-none' : `${device}:gp-flex-none`;
|
|
115
|
+
const classFlex1 = device === 'desktop' ? 'gp-flex-1 gp-h-full' : `${device}:gp-flex-1 ${device}:gp-h-full`;
|
|
116
|
+
const classFlexNone = device === 'desktop' ? 'gp-flex-none gp-h-auto' : `${device}:gp-flex-none ${device}:gp-h-auto`;
|
|
117
117
|
result = {
|
|
118
118
|
...result,
|
|
119
119
|
[classFlex1]: height === '100%' && !shapeValue,
|
|
@@ -283,6 +283,20 @@ const overrideSettings = (tag, currentSetting, appSetting)=>{
|
|
|
283
283
|
product: appSetting?.['productHandle'] || '{{ product }}'
|
|
284
284
|
};
|
|
285
285
|
}
|
|
286
|
+
case 'SubifySubscriptionsApp':
|
|
287
|
+
{
|
|
288
|
+
return {
|
|
289
|
+
...currentSetting,
|
|
290
|
+
product: appSetting?.['productHandle'] || '{{ product }}'
|
|
291
|
+
};
|
|
292
|
+
}
|
|
293
|
+
case 'RechargeSubscriptions':
|
|
294
|
+
{
|
|
295
|
+
return {
|
|
296
|
+
...currentSetting,
|
|
297
|
+
product: appSetting?.['productHandle'] || '{{ product }}'
|
|
298
|
+
};
|
|
299
|
+
}
|
|
286
300
|
default:
|
|
287
301
|
return currentSetting;
|
|
288
302
|
}
|