@orderingstack/front-components-product-configurator 1.0.4 → 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/dist/components/MenuItemsDispatcher/MenuItemsDispatcher.d.ts.map +1 -1
- package/dist/components/MenuProduct/MenuProduct.d.ts +2 -2
- package/dist/components/MenuProduct/MenuProduct.d.ts.map +1 -1
- package/dist/index.cjs.js +3 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +7 -3
- package/dist/index.es.js.map +1 -1
- package/dist/types/index.d.ts +1 -0
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +87 -87
package/dist/index.es.js
CHANGED
|
@@ -8379,7 +8379,8 @@ const MenuProduct = (props) => {
|
|
|
8379
8379
|
const {
|
|
8380
8380
|
product,
|
|
8381
8381
|
parentAttrs,
|
|
8382
|
-
nestedLvl
|
|
8382
|
+
nestedLvl,
|
|
8383
|
+
parentProduct
|
|
8383
8384
|
} = props;
|
|
8384
8385
|
const {
|
|
8385
8386
|
registerProps,
|
|
@@ -8416,7 +8417,8 @@ const MenuProduct = (props) => {
|
|
|
8416
8417
|
counterValue,
|
|
8417
8418
|
handleCounterIncrementQty,
|
|
8418
8419
|
handleCounterDecrementQty,
|
|
8419
|
-
currency
|
|
8420
|
+
currency,
|
|
8421
|
+
parentProduct
|
|
8420
8422
|
};
|
|
8421
8423
|
const MenuItemsDispatcherWrapper = /* @__PURE__ */ jsx(MenuItemsDispatcher, {
|
|
8422
8424
|
productItems: product.items,
|
|
@@ -8451,7 +8453,8 @@ const MenuProductDefaultUI = (props) => {
|
|
|
8451
8453
|
counterValue,
|
|
8452
8454
|
handleCounterIncrementQty,
|
|
8453
8455
|
handleCounterDecrementQty,
|
|
8454
|
-
children
|
|
8456
|
+
children,
|
|
8457
|
+
parentProduct
|
|
8455
8458
|
} = props;
|
|
8456
8459
|
const CounterComponent = /* @__PURE__ */ jsx(Counter, {
|
|
8457
8460
|
value: counterValue,
|
|
@@ -8542,6 +8545,7 @@ function MenuItemsDispatcher(props) {
|
|
|
8542
8545
|
return /* @__PURE__ */ jsx(MenuProduct, {
|
|
8543
8546
|
product: productItem,
|
|
8544
8547
|
parentAttrs,
|
|
8548
|
+
parentProduct,
|
|
8545
8549
|
nestedLvl
|
|
8546
8550
|
});
|
|
8547
8551
|
return /* @__PURE__ */ jsx(Fragment, {});
|