@salla.sa/twilight-components 2.13.70 → 2.13.71
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/app-globals-b7d4e7fe.js.map +1 -1
- package/dist/cjs/salla-add-product-button_48.cjs.entry.js +2 -2
- package/dist/cjs/salla-add-product-button_48.cjs.entry.js.map +1 -1
- package/dist/collection/components/salla-add-product-button/salla-add-product-button.js +2 -2
- package/dist/collection/components/salla-add-product-button/salla-add-product-button.js.map +1 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/salla-add-product-button2.js +2 -2
- package/dist/components/salla-add-product-button2.js.map +1 -1
- package/dist/components/salla-quick-buy2.js.map +1 -1
- package/dist/esm/app-globals-d8ab32b4.js.map +1 -1
- package/dist/esm/salla-add-product-button_48.entry.js +2 -2
- package/dist/esm/salla-add-product-button_48.entry.js.map +1 -1
- package/dist/esm-es5/app-globals-d8ab32b4.js.map +1 -1
- package/dist/esm-es5/salla-add-product-button_48.entry.js +1 -1
- package/dist/esm-es5/salla-add-product-button_48.entry.js.map +1 -1
- package/dist/twilight/p-8e070ed6.js.map +1 -1
- package/dist/twilight/p-963a9e0e.system.js +1 -1
- package/dist/twilight/{p-cfb173cd.entry.js → p-a0a5e444.entry.js} +2 -2
- package/dist/twilight/p-a0a5e444.entry.js.map +1 -0
- package/dist/twilight/{p-c842998f.system.entry.js → p-cc12efcb.system.entry.js} +2 -2
- package/dist/twilight/p-cc12efcb.system.entry.js.map +1 -0
- package/dist/twilight/p-dad29c6b.system.js.map +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/package.json +5 -5
- package/dist/twilight/p-c842998f.system.entry.js.map +0 -1
- package/dist/twilight/p-cfb173cd.entry.js.map +0 -1
- package/dist/types/global.d.ts +0 -20
|
@@ -168,8 +168,8 @@ const SallaAddProductButton = class {
|
|
|
168
168
|
's-add-product-button-with-apple-pay': this.showQuickBuy && this.isApplePayActive
|
|
169
169
|
} }, index.h("div", { class: {
|
|
170
170
|
's-add-product-button-main': this.showQuickBuy,
|
|
171
|
-
'w-full':
|
|
172
|
-
} }, index.h("salla-button", Object.assign({ color: this.productStatus === 'sale' ? 'primary' : 'light', type: "button", fill: this.productStatus === 'sale' ? 'solid' : 'outline', ref: el => this.btn = el, onClick: event => this.addProductToCart(event), disabled: this.productStatus !== 'sale' }, this.getBtnAttributes(), { "loader-position": "center" }), index.h("slot", null)), this.showQuickBuy ? this.miniCheckoutWidget() : ''), this.showQuickBuy && this.isApplePayActive ? index.h("salla-quick-buy", Object.assign({}, this.getQuickBuyBtnAttributes())) : '');
|
|
171
|
+
'w-full': !document.getElementById('fast-checkout-js'), // This is a temporary fix until all themes fully support the fast checkout -- To be removed later
|
|
172
|
+
} }, index.h("salla-button", Object.assign({ color: this.productStatus === 'sale' ? 'primary' : 'light', type: "button", fill: this.productStatus === 'sale' ? 'solid' : 'outline', ref: el => this.btn = el, onClick: event => this.addProductToCart(event), disabled: this.productStatus !== 'sale' }, this.getBtnAttributes(), { "loader-position": "center" }), index.h("slot", null)), this.showQuickBuy && !!document.getElementById('fast-checkout-js') ? this.miniCheckoutWidget() : ''), this.showQuickBuy && this.isApplePayActive ? index.h("salla-quick-buy", Object.assign({}, this.getQuickBuyBtnAttributes())) : '');
|
|
173
173
|
}
|
|
174
174
|
componentDidLoad() {
|
|
175
175
|
if (!this.notifyOptionsAvailability) {
|