@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.
Files changed (42) hide show
  1. package/dist/cjs/app-globals-c5340b59.js.map +1 -1
  2. package/dist/cjs/salla-add-product-button_48.cjs.entry.js +2 -2
  3. package/dist/cjs/salla-add-product-button_48.cjs.entry.js.map +1 -1
  4. package/dist/cjs/salla-product-options.cjs.entry.js +1 -1
  5. package/dist/cjs/salla-product-options.cjs.entry.js.map +1 -1
  6. package/dist/collection/components/salla-add-product-button/salla-add-product-button.js +4 -4
  7. package/dist/collection/components/salla-add-product-button/salla-add-product-button.js.map +1 -1
  8. package/dist/collection/components/salla-product-options/salla-product-options.js +1 -1
  9. package/dist/collection/components/salla-product-options/salla-product-options.js.map +1 -1
  10. package/dist/components/index.js.map +1 -1
  11. package/dist/components/salla-add-product-button2.js +2 -2
  12. package/dist/components/salla-add-product-button2.js.map +1 -1
  13. package/dist/components/salla-product-options.js +1 -1
  14. package/dist/components/salla-product-options.js.map +1 -1
  15. package/dist/components/salla-quick-buy2.js.map +1 -1
  16. package/dist/esm/app-globals-0280e1d0.js.map +1 -1
  17. package/dist/esm/salla-add-product-button_48.entry.js +2 -2
  18. package/dist/esm/salla-add-product-button_48.entry.js.map +1 -1
  19. package/dist/esm/salla-product-options.entry.js +1 -1
  20. package/dist/esm/salla-product-options.entry.js.map +1 -1
  21. package/dist/esm-es5/app-globals-0280e1d0.js.map +1 -1
  22. package/dist/esm-es5/salla-add-product-button_48.entry.js +1 -1
  23. package/dist/esm-es5/salla-add-product-button_48.entry.js.map +1 -1
  24. package/dist/esm-es5/salla-product-options.entry.js +1 -1
  25. package/dist/esm-es5/salla-product-options.entry.js.map +1 -1
  26. package/dist/twilight/{p-4cae1c1f.entry.js → p-2d07a366.entry.js} +2 -2
  27. package/dist/twilight/p-2d07a366.entry.js.map +1 -0
  28. package/dist/twilight/p-4a9df09e.js.map +1 -1
  29. package/dist/twilight/p-4c2194e3.system.js.map +1 -1
  30. package/dist/twilight/p-54e1a882.system.js +1 -1
  31. package/dist/twilight/{p-d5b85f12.system.entry.js → p-6786413f.system.entry.js} +2 -2
  32. package/dist/twilight/{p-d5b85f12.system.entry.js.map → p-6786413f.system.entry.js.map} +1 -1
  33. package/dist/twilight/{p-cd6e56bb.system.entry.js → p-a33e6fb2.system.entry.js} +2 -2
  34. package/dist/twilight/p-a33e6fb2.system.entry.js.map +1 -0
  35. package/dist/twilight/{p-84bf4247.entry.js → p-af69a687.entry.js} +2 -2
  36. package/dist/twilight/{p-84bf4247.entry.js.map → p-af69a687.entry.js.map} +1 -1
  37. package/dist/twilight/twilight.esm.js +1 -1
  38. package/dist/types/components/salla-add-product-button/salla-add-product-button.d.ts +1 -1
  39. package/dist/types/components.d.ts +2 -2
  40. package/package.json +5 -5
  41. package/dist/twilight/p-4cae1c1f.entry.js.map +0 -1
  42. 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') || this.productType == 'donating', // 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') && this.productType !== 'donating' ? this.miniCheckoutWidget() : ''), this.showQuickBuy && this.isApplePayActive ? index.h("salla-quick-buy", Object.assign({}, this.getQuickBuyBtnAttributes())) : '');
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) {