@gem-sdk/core 1.58.0-staging.108 → 1.58.0-staging.110
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.
|
@@ -297,14 +297,10 @@ const removeAttrInStyle = (style, filterKeys)=>{
|
|
|
297
297
|
});
|
|
298
298
|
return newStyle;
|
|
299
299
|
};
|
|
300
|
-
const
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
'--btlr',
|
|
305
|
-
'--btrr'
|
|
306
|
-
];
|
|
307
|
-
return filterAttrInStyle(style, cornerKeys);
|
|
300
|
+
const getCornerStyle = (advancedSetting)=>{
|
|
301
|
+
return composeAdvanceStyle({
|
|
302
|
+
rounded: advancedSetting?.rounded
|
|
303
|
+
});
|
|
308
304
|
};
|
|
309
305
|
const removePaddingYInStyle = (style)=>{
|
|
310
306
|
const keys = [
|
|
@@ -321,7 +317,7 @@ const removePaddingYInStyle = (style)=>{
|
|
|
321
317
|
exports.composeAdvanceStyle = composeAdvanceStyle;
|
|
322
318
|
exports.composeAdvanceStyleForPostPurchase = composeAdvanceStyleForPostPurchase;
|
|
323
319
|
exports.filterAttrInStyle = filterAttrInStyle;
|
|
324
|
-
exports.
|
|
320
|
+
exports.getCornerStyle = getCornerStyle;
|
|
325
321
|
exports.removeAttrInStyle = removeAttrInStyle;
|
|
326
322
|
exports.removePaddingYInStyle = removePaddingYInStyle;
|
|
327
323
|
exports.splitStyle = splitStyle;
|
package/dist/cjs/index.js
CHANGED
|
@@ -227,7 +227,7 @@ exports.isColor = colors.isColor;
|
|
|
227
227
|
exports.composeAdvanceStyle = composeAdvanceStyle.composeAdvanceStyle;
|
|
228
228
|
exports.composeAdvanceStyleForPostPurchase = composeAdvanceStyle.composeAdvanceStyleForPostPurchase;
|
|
229
229
|
exports.filterAttrInStyle = composeAdvanceStyle.filterAttrInStyle;
|
|
230
|
-
exports.
|
|
230
|
+
exports.getCornerStyle = composeAdvanceStyle.getCornerStyle;
|
|
231
231
|
exports.removeAttrInStyle = composeAdvanceStyle.removeAttrInStyle;
|
|
232
232
|
exports.removePaddingYInStyle = composeAdvanceStyle.removePaddingYInStyle;
|
|
233
233
|
exports.splitStyle = composeAdvanceStyle.splitStyle;
|
|
@@ -295,14 +295,10 @@ const removeAttrInStyle = (style, filterKeys)=>{
|
|
|
295
295
|
});
|
|
296
296
|
return newStyle;
|
|
297
297
|
};
|
|
298
|
-
const
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
'--btlr',
|
|
303
|
-
'--btrr'
|
|
304
|
-
];
|
|
305
|
-
return filterAttrInStyle(style, cornerKeys);
|
|
298
|
+
const getCornerStyle = (advancedSetting)=>{
|
|
299
|
+
return composeAdvanceStyle({
|
|
300
|
+
rounded: advancedSetting?.rounded
|
|
301
|
+
});
|
|
306
302
|
};
|
|
307
303
|
const removePaddingYInStyle = (style)=>{
|
|
308
304
|
const keys = [
|
|
@@ -316,4 +312,4 @@ const removePaddingYInStyle = (style)=>{
|
|
|
316
312
|
return removeAttrInStyle(style, keys);
|
|
317
313
|
};
|
|
318
314
|
|
|
319
|
-
export { composeAdvanceStyle, composeAdvanceStyleForPostPurchase, filterAttrInStyle,
|
|
315
|
+
export { composeAdvanceStyle, composeAdvanceStyleForPostPurchase, filterAttrInStyle, getCornerStyle, removeAttrInStyle, removePaddingYInStyle, splitStyle };
|
package/dist/esm/index.js
CHANGED
|
@@ -57,7 +57,7 @@ import * as tiktokpixel from './helpers/tracking/tiktokpixel.js';
|
|
|
57
57
|
export { tiktokpixel };
|
|
58
58
|
export { GRADIENT_BGR_KEY, composeBackgroundCss, getBgImageByDevice, getGradientBgrStyleByDevice, getGradientBgrStyleForButton, getStyleBackgroundByDevice, getStyleBgColor, makeFixedBgAttachment } from './helpers/background.js';
|
|
59
59
|
export { composeTextColorCss, getGlobalColorCSSProp, getGlobalColorClass, getGlobalColorResponsiveClass, getGlobalColorResponsiveStyle, getGlobalColorStateClass, getGlobalColorStateClassDynamicBtn, getGlobalColorStateResponsiveClass, getGlobalColorStateResponsiveClassDynamicBtn, getGlobalColorStateResponsiveStyle, getGlobalColorStateStyle, getGlobalColorStyle, getSingleColorVariable, isColor } from './helpers/colors.js';
|
|
60
|
-
export { composeAdvanceStyle, composeAdvanceStyleForPostPurchase, filterAttrInStyle,
|
|
60
|
+
export { composeAdvanceStyle, composeAdvanceStyleForPostPurchase, filterAttrInStyle, getCornerStyle, removeAttrInStyle, removePaddingYInStyle, splitStyle } from './helpers/compose-advance-style.js';
|
|
61
61
|
export { baseAssetURL, isLocalEnv } from './helpers/convert.js';
|
|
62
62
|
export { convertHTML } from './helpers/covert-entities-html.js';
|
|
63
63
|
export { composePositionLineHeight, composePostionIconList } from './helpers/icon-list.js';
|