@gem-sdk/components 2.0.0-staging.165 → 2.0.0-staging.167
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/sticky/setting/preset-config.js +2 -2
- package/dist/cjs/third-party/components/UnlimitedBundlesDiscounts.liquid.js +1 -1
- package/dist/cjs/third-party/setting/PumperBundlesVolumeDiscount.js +2 -2
- package/dist/esm/sticky/setting/preset-config.js +2 -2
- package/dist/esm/third-party/components/UnlimitedBundlesDiscounts.liquid.js +1 -1
- package/dist/esm/third-party/setting/PumperBundlesVolumeDiscount.js +2 -2
- package/package.json +2 -2
|
@@ -761,7 +761,7 @@ const StickyPreset = {
|
|
|
761
761
|
settings: {
|
|
762
762
|
label: 'Add to cart',
|
|
763
763
|
outOfStockLabel: 'Out of stock',
|
|
764
|
-
actionEffect: '
|
|
764
|
+
actionEffect: 'open-cart-drawer',
|
|
765
765
|
customURL: {
|
|
766
766
|
link: '/cart',
|
|
767
767
|
target: '_self'
|
|
@@ -1856,7 +1856,7 @@ const StickyPresetProduct = {
|
|
|
1856
1856
|
settings: {
|
|
1857
1857
|
label: 'Add to cart',
|
|
1858
1858
|
outOfStockLabel: 'Out of stock',
|
|
1859
|
-
actionEffect: '
|
|
1859
|
+
actionEffect: 'open-cart-drawer',
|
|
1860
1860
|
customURL: {
|
|
1861
1861
|
link: '/cart',
|
|
1862
1862
|
target: '_self'
|
|
@@ -6,7 +6,7 @@ var thirdParty = require('../helpers/thirdParty.js');
|
|
|
6
6
|
|
|
7
7
|
const UnlimitedBundlesDiscounts = ({ setting, advanced })=>{
|
|
8
8
|
const { align, appBlockId } = setting ?? {};
|
|
9
|
-
return thirdParty.getLiquidForAppBlock(appBlockId, align, advanced?.cssClass);
|
|
9
|
+
return thirdParty.getLiquidForAppBlock(appBlockId, align, `${advanced?.cssClass ?? ''} !gp-block`);
|
|
10
10
|
};
|
|
11
11
|
|
|
12
12
|
exports.default = UnlimitedBundlesDiscounts;
|
|
@@ -759,7 +759,7 @@ const StickyPreset = {
|
|
|
759
759
|
settings: {
|
|
760
760
|
label: 'Add to cart',
|
|
761
761
|
outOfStockLabel: 'Out of stock',
|
|
762
|
-
actionEffect: '
|
|
762
|
+
actionEffect: 'open-cart-drawer',
|
|
763
763
|
customURL: {
|
|
764
764
|
link: '/cart',
|
|
765
765
|
target: '_self'
|
|
@@ -1854,7 +1854,7 @@ const StickyPresetProduct = {
|
|
|
1854
1854
|
settings: {
|
|
1855
1855
|
label: 'Add to cart',
|
|
1856
1856
|
outOfStockLabel: 'Out of stock',
|
|
1857
|
-
actionEffect: '
|
|
1857
|
+
actionEffect: 'open-cart-drawer',
|
|
1858
1858
|
customURL: {
|
|
1859
1859
|
link: '/cart',
|
|
1860
1860
|
target: '_self'
|
|
@@ -2,7 +2,7 @@ import { getLiquidForAppBlock } from '../helpers/thirdParty.js';
|
|
|
2
2
|
|
|
3
3
|
const UnlimitedBundlesDiscounts = ({ setting, advanced })=>{
|
|
4
4
|
const { align, appBlockId } = setting ?? {};
|
|
5
|
-
return getLiquidForAppBlock(appBlockId, align, advanced?.cssClass);
|
|
5
|
+
return getLiquidForAppBlock(appBlockId, align, `${advanced?.cssClass ?? ''} !gp-block`);
|
|
6
6
|
};
|
|
7
7
|
|
|
8
8
|
export { UnlimitedBundlesDiscounts as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gem-sdk/components",
|
|
3
|
-
"version": "2.0.0-staging.
|
|
3
|
+
"version": "2.0.0-staging.167",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "dist/cjs/index.js",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"relationship": "rollup -c ./scripts/rollup.config.settings.mjs && node ./scripts/get-control-relationship.js && node ./scripts/get-element-relationship.js"
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
|
-
"@gem-sdk/core": "2.0.0-staging.
|
|
25
|
+
"@gem-sdk/core": "2.0.0-staging.166",
|
|
26
26
|
"@gem-sdk/styles": "2.0.0-staging.153",
|
|
27
27
|
"@types/react-transition-group": "^4.4.5"
|
|
28
28
|
},
|