@licklist/design 0.72.0 → 0.72.1
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/iframe/ProductWithModifierModal/ModifierSetModal/ProductWithModifierSetModal.js
CHANGED
|
@@ -31,6 +31,7 @@ import { ProductWithModifierSetForm } from './ProductWithModifierSetForm.js';
|
|
|
31
31
|
|
|
32
32
|
var ProductWithModifierSetModal = function(param) {
|
|
33
33
|
var show = param.show, onHide = param.onHide, product = param.product, category = param.category, onChange = param.onChange, editOrderModifier = param.editOrderModifier;
|
|
34
|
+
var _product_images, _product_images1;
|
|
34
35
|
var _useDialogContext = useDialogContext(), onBeforeUnload = _useDialogContext.onBeforeUnload, onPopState = _useDialogContext.onPopState;
|
|
35
36
|
useOnWindowUnmount({
|
|
36
37
|
onBeforeUnload: onBeforeUnload,
|
|
@@ -57,14 +58,14 @@ var ProductWithModifierSetModal = function(param) {
|
|
|
57
58
|
className: "right-block",
|
|
58
59
|
id: "select-event-container",
|
|
59
60
|
children: /*#__PURE__*/ jsxs("div", {
|
|
60
|
-
className: clsx('manual-booking-container', !product.images.length && 'tw-mt-8'),
|
|
61
|
+
className: clsx('manual-booking-container', !(product === null || product === void 0 ? void 0 : (_product_images = product.images) === null || _product_images === void 0 ? void 0 : _product_images.length) && 'tw-mt-8'),
|
|
61
62
|
children: [
|
|
62
63
|
/*#__PURE__*/ jsx("div", {
|
|
63
64
|
className: "manual-booking-header",
|
|
64
65
|
children: /*#__PURE__*/ jsx(TicketDescription, {
|
|
65
66
|
title: product.name,
|
|
66
67
|
description: product.description,
|
|
67
|
-
className: clsx('iframe-event__product-description', !product.images.length && 'mt-6'),
|
|
68
|
+
className: clsx('iframe-event__product-description', !(product === null || product === void 0 ? void 0 : (_product_images1 = product.images) === null || _product_images1 === void 0 ? void 0 : _product_images1.length) && 'mt-6'),
|
|
68
69
|
classNameProductModal: "d-block",
|
|
69
70
|
images: product.images,
|
|
70
71
|
isRequired: product.isRequired,
|
package/package.json
CHANGED
package/src/iframe/ProductWithModifierModal/ModifierSetModal/ProductWithModifierSetModal.tsx
CHANGED
|
@@ -48,12 +48,12 @@ export const ProductWithModifierSetModal = ({
|
|
|
48
48
|
</button>
|
|
49
49
|
</div>
|
|
50
50
|
<div className='right-block' id='select-event-container'>
|
|
51
|
-
<div className={clsx('manual-booking-container', !product
|
|
51
|
+
<div className={clsx('manual-booking-container', !product?.images?.length && 'tw-mt-8')}>
|
|
52
52
|
<div className='manual-booking-header'>
|
|
53
53
|
<TicketDescription
|
|
54
54
|
title={product.name}
|
|
55
55
|
description={product.description}
|
|
56
|
-
className={clsx('iframe-event__product-description', !product
|
|
56
|
+
className={clsx('iframe-event__product-description', !product?.images?.length && 'mt-6')}
|
|
57
57
|
classNameProductModal='d-block'
|
|
58
58
|
images={product.images}
|
|
59
59
|
isRequired={product.isRequired}
|
package/yarn.lock
CHANGED
|
@@ -14901,11 +14901,11 @@ __metadata:
|
|
|
14901
14901
|
linkType: hard
|
|
14902
14902
|
|
|
14903
14903
|
"nan@npm:^2.12.1":
|
|
14904
|
-
version: 2.22.
|
|
14905
|
-
resolution: "nan@npm:2.22.
|
|
14904
|
+
version: 2.22.1
|
|
14905
|
+
resolution: "nan@npm:2.22.1"
|
|
14906
14906
|
dependencies:
|
|
14907
14907
|
node-gyp: "npm:latest"
|
|
14908
|
-
checksum: 10c0/
|
|
14908
|
+
checksum: 10c0/582c3cce9cf436cc577d57d3362aeaf891dd5b62616c337ec9f4009b2c5f77f82f79707e6d4b68a34e6a443f1d34a61a586d1bf16cdde9eeba5259f45116d569
|
|
14909
14909
|
languageName: node
|
|
14910
14910
|
linkType: hard
|
|
14911
14911
|
|