@websolutespa/bom-mixer-ui 1.0.1 → 1.1.0
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/CHANGELOG.md +6 -0
- package/dist/cjs/index.js +2 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/node_modules/tslib/tslib.es6.js.map +1 -1
- package/dist/esm/sections/checkout/checkout-discount.js +1 -1
- package/dist/esm/sections/checkout/checkout-discount.js.map +1 -1
- package/dist/esm/sections/checkout/checkout-empty.js +1 -1
- package/dist/esm/sections/checkout/checkout-empty.js.map +1 -1
- package/dist/esm/sections/checkout/checkout-wizard.js.map +1 -1
- package/dist/types/sections/checkout/checkout-discount.d.ts.map +1 -1
- package/dist/types/sections/checkout/checkout-empty.d.ts.map +1 -1
- package/dist/types/sections/checkout/checkout-wizard.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/sections/checkout/checkout-discount.tsx +3 -3
- package/src/sections/checkout/checkout-empty.tsx +1 -4
- package/src/sections/checkout/checkout-wizard.tsx +2 -2
package/CHANGELOG.md
CHANGED
package/dist/cjs/index.js
CHANGED
|
@@ -12118,7 +12118,7 @@ const CategoryProposition = _ref => {
|
|
|
12118
12118
|
});
|
|
12119
12119
|
};
|
|
12120
12120
|
|
|
12121
|
-
const CheckoutEmpty =
|
|
12121
|
+
const CheckoutEmpty = () => {
|
|
12122
12122
|
bomMixerHooks.useLabel();
|
|
12123
12123
|
const layout = bomMixerHooks.useLayout();
|
|
12124
12124
|
return jsxRuntime.jsx(jsxRuntime.Fragment, {
|
|
@@ -14246,7 +14246,7 @@ const CheckoutDiscount = _ref => {
|
|
|
14246
14246
|
});
|
|
14247
14247
|
setCheckout(response);
|
|
14248
14248
|
if (typeof onDiscount === 'function') {
|
|
14249
|
-
onDiscount(response);
|
|
14249
|
+
onDiscount(response.discounts);
|
|
14250
14250
|
}
|
|
14251
14251
|
reset();
|
|
14252
14252
|
} catch (error) {
|