@salla.sa/twilight-components 2.13.97 → 2.13.99
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-c5340b59.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/cjs/salla-product-options.cjs.entry.js +1 -1
- package/dist/cjs/salla-product-options.cjs.entry.js.map +1 -1
- package/dist/collection/components/salla-add-product-button/salla-add-product-button.js +4 -4
- package/dist/collection/components/salla-add-product-button/salla-add-product-button.js.map +1 -1
- package/dist/collection/components/salla-product-options/salla-product-options.js +1 -1
- package/dist/collection/components/salla-product-options/salla-product-options.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-product-options.js +1 -1
- package/dist/components/salla-product-options.js.map +1 -1
- package/dist/components/salla-quick-buy2.js.map +1 -1
- package/dist/esm/app-globals-0280e1d0.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/salla-product-options.entry.js +1 -1
- package/dist/esm/salla-product-options.entry.js.map +1 -1
- package/dist/esm-es5/app-globals-0280e1d0.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/esm-es5/salla-product-options.entry.js +1 -1
- package/dist/esm-es5/salla-product-options.entry.js.map +1 -1
- package/dist/twilight/{p-4cae1c1f.entry.js → p-2d07a366.entry.js} +2 -2
- package/dist/twilight/p-2d07a366.entry.js.map +1 -0
- package/dist/twilight/p-4a9df09e.js.map +1 -1
- package/dist/twilight/p-4c2194e3.system.js.map +1 -1
- package/dist/twilight/p-54e1a882.system.js +1 -1
- package/dist/twilight/{p-d5b85f12.system.entry.js → p-6786413f.system.entry.js} +2 -2
- package/dist/twilight/{p-d5b85f12.system.entry.js.map → p-6786413f.system.entry.js.map} +1 -1
- package/dist/twilight/{p-cd6e56bb.system.entry.js → p-a33e6fb2.system.entry.js} +2 -2
- package/dist/twilight/p-a33e6fb2.system.entry.js.map +1 -0
- package/dist/twilight/{p-84bf4247.entry.js → p-af69a687.entry.js} +2 -2
- package/dist/twilight/{p-84bf4247.entry.js.map → p-af69a687.entry.js.map} +1 -1
- package/dist/twilight/twilight.esm.js +1 -1
- package/dist/types/components/salla-add-product-button/salla-add-product-button.d.ts +1 -1
- package/dist/types/components.d.ts +2 -2
- package/package.json +5 -5
- package/dist/twilight/p-4cae1c1f.entry.js.map +0 -1
- package/dist/twilight/p-cd6e56bb.system.entry.js.map +0 -1
|
@@ -172,8 +172,8 @@ const SallaAddProductButton = class {
|
|
|
172
172
|
's-add-product-button-with-apple-pay': this.showQuickBuy && this.isApplePayActive
|
|
173
173
|
} }, index.h("div", { class: {
|
|
174
174
|
's-add-product-button-main': this.showQuickBuy,
|
|
175
|
-
'w-full': !document.getElementById('fast-checkout-js') ||
|
|
176
|
-
} }, 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') &&
|
|
175
|
+
'w-full': !document.getElementById('fast-checkout-js') || ['financial_support', 'donating'].includes(this.productType) // This is a temporary fix until all themes fully support the fast checkout -- To be removed later
|
|
176
|
+
} }, 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') && !['financial_support', 'donating'].includes(this.productType) ? this.miniCheckoutWidget() : ''), this.showQuickBuy && this.isApplePayActive ? index.h("salla-quick-buy", Object.assign({}, this.getQuickBuyBtnAttributes())) : '');
|
|
177
177
|
}
|
|
178
178
|
componentDidLoad() {
|
|
179
179
|
if (!this.notifyOptionsAvailability) {
|