@meduza/ui-kit-2 0.1.97 → 0.1.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/RawHtmlBlock/RawHtmlBlock.types.d.ts +1 -1
- package/dist/ui-kit-2.cjs.development.js +2 -2
- package/dist/ui-kit-2.cjs.development.js.map +1 -1
- package/dist/ui-kit-2.cjs.production.min.js +1 -1
- package/dist/ui-kit-2.cjs.production.min.js.map +1 -1
- package/dist/ui-kit-2.esm.js +2 -2
- package/dist/ui-kit-2.esm.js.map +1 -1
- package/dist/ui-kit.css +1022 -1022
- package/package.json +1 -1
- package/src/RawHtmlBlock/RawHtmlBlock.types.ts +1 -1
- package/src/ShopRelatedBlock/index.tsx +2 -2
package/dist/ui-kit-2.esm.js
CHANGED
|
@@ -2640,13 +2640,13 @@ var ShopRelatedBlock = function ShopRelatedBlock(_ref) {
|
|
|
2640
2640
|
useEffect(function () {
|
|
2641
2641
|
if (inView) {
|
|
2642
2642
|
if (onlyOn === 'mobile' && window.innerWidth <= 511 || onlyOn === 'desktop' && window.innerWidth >= 512 || !onlyOn) {
|
|
2643
|
-
postMessage('
|
|
2643
|
+
postMessage('productRelated', url, 'view');
|
|
2644
2644
|
}
|
|
2645
2645
|
}
|
|
2646
2646
|
}, [inView]);
|
|
2647
2647
|
|
|
2648
2648
|
var handleClick = function handleClick() {
|
|
2649
|
-
postMessage('
|
|
2649
|
+
postMessage('productRelated', url, 'click');
|
|
2650
2650
|
};
|
|
2651
2651
|
|
|
2652
2652
|
var classNames = [[styles$D.root, true], [styles$D.hasGradient, !!gradients], [styles$D[onlyOn], !!onlyOn && !!styles$D[onlyOn]]];
|