@redneckz/wildless-cms-uni-blocks 0.8.13 → 0.8.14
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/bundle/bundle.umd.js +5 -2
- package/bundle/bundle.umd.min.js +1 -1
- package/dist/ui-kit/BlockWrapper.js +4 -1
- package/dist/ui-kit/BlockWrapper.js.map +1 -1
- package/lib/ui-kit/BlockWrapper.js +4 -1
- package/lib/ui-kit/BlockWrapper.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +5 -2
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/ui-kit/BlockWrapper.js +4 -1
- package/mobile/dist/ui-kit/BlockWrapper.js.map +1 -1
- package/mobile/lib/ui-kit/BlockWrapper.js +4 -1
- package/mobile/lib/ui-kit/BlockWrapper.js.map +1 -1
- package/mobile/src/ui-kit/BlockWrapper.tsx +6 -1
- package/package.json +1 -1
- package/src/ui-kit/BlockWrapper.tsx +6 -1
package/bundle/bundle.umd.js
CHANGED
|
@@ -367,7 +367,10 @@
|
|
|
367
367
|
const ref = useBlockIntersectionObserver(block);
|
|
368
368
|
const [isHidden, setHidden] = useState(false);
|
|
369
369
|
useEffect(() => defaultEventBus.subscribe('tab', (event) => {
|
|
370
|
-
setHidden(Boolean(event.type === 'group' &&
|
|
370
|
+
setHidden(Boolean(event.type === 'group' &&
|
|
371
|
+
event.label &&
|
|
372
|
+
block?.labels?.length &&
|
|
373
|
+
!block.labels.includes(event.label)));
|
|
371
374
|
}), [block]);
|
|
372
375
|
return (jsx(Tag, { className: style('group', blockStyles[version], isHidden ? 'hidden' : '', className), ...(version ? { 'data-ver': version } : {}), ...(block?.anchor ? { id: block.anchor, ref } : {}), role: role, children: children }));
|
|
373
376
|
});
|
|
@@ -4528,7 +4531,7 @@
|
|
|
4528
4531
|
return (jsx("div", { className: "flex items-end absolute bottom-0 right-0 h-full pointer-events-none", children: jsx(LikeControl, { className: "rounded-tl-lg sticky bottom-0 pointer-events-auto" }) }));
|
|
4529
4532
|
}
|
|
4530
4533
|
|
|
4531
|
-
const packageVersion = "0.8.
|
|
4534
|
+
const packageVersion = "0.8.14";
|
|
4532
4535
|
|
|
4533
4536
|
exports.Blocks = Blocks;
|
|
4534
4537
|
exports.ContentPage = ContentPage;
|