@redneckz/wildless-cms-uni-blocks 0.14.156 → 0.14.158
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 +7 -3
- package/bundle/bundle.umd.min.js +1 -1
- package/dist/components/TabsLayout/TabsLayout.js +5 -1
- package/dist/components/TabsLayout/TabsLayout.js.map +1 -1
- package/dist/ui-kit/BaseFiltration/shouldRenderBlock.js +1 -1
- package/dist/ui-kit/BaseFiltration/shouldRenderBlock.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/TabsLayout/TabsLayout.js +5 -1
- package/lib/components/TabsLayout/TabsLayout.js.map +1 -1
- package/lib/ui-kit/BaseFiltration/shouldRenderBlock.js +1 -1
- package/lib/ui-kit/BaseFiltration/shouldRenderBlock.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +7 -3
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/components/TabsLayout/TabsLayout.js +5 -1
- package/mobile/dist/components/TabsLayout/TabsLayout.js.map +1 -1
- package/mobile/dist/ui-kit/BaseFiltration/shouldRenderBlock.js +1 -1
- package/mobile/dist/ui-kit/BaseFiltration/shouldRenderBlock.js.map +1 -1
- package/mobile/lib/common.css +1 -1
- package/mobile/lib/components/TabsLayout/TabsLayout.js +5 -1
- package/mobile/lib/components/TabsLayout/TabsLayout.js.map +1 -1
- package/mobile/lib/ui-kit/BaseFiltration/shouldRenderBlock.js +1 -1
- package/mobile/lib/ui-kit/BaseFiltration/shouldRenderBlock.js.map +1 -1
- package/mobile/src/common.css +21 -7
- package/mobile/src/components/TabsLayout/TabsLayout.tsx +5 -1
- package/mobile/src/ui-kit/BaseFiltration/shouldRenderBlock.ts +1 -1
- package/package.json +1 -1
- package/src/common.css +21 -7
- package/src/components/DepositFiltration/DepositFiltration.fixture.tsx +6 -13
- package/src/components/TabsLayout/TabsLayout.tsx +5 -1
- package/src/ui-kit/BaseFiltration/shouldRenderBlock.ts +1 -1
package/bundle/bundle.umd.js
CHANGED
|
@@ -3500,7 +3500,7 @@
|
|
|
3500
3500
|
const isSingularFieldMatch = (key, pattern) => (target) => isEmpty(pattern[key]) || isEmpty(target[key]) || pattern[key] === target[key];
|
|
3501
3501
|
const isMultipleFieldMatch = (key, pattern) => (target) => isEmpty(pattern[key]) ||
|
|
3502
3502
|
isEmpty(target[key]) ||
|
|
3503
|
-
pattern[key]?.
|
|
3503
|
+
pattern[key]?.every((_) => target[key]?.includes(_));
|
|
3504
3504
|
const isNumberFieldMatch = (key, pattern) => (target) => isEmpty(pattern[key]) ||
|
|
3505
3505
|
isEmpty(target[key]) ||
|
|
3506
3506
|
naturalNumber(pattern[key]) <= naturalNumber(target[key]);
|
|
@@ -5660,7 +5660,11 @@
|
|
|
5660
5660
|
const [activeSlideIndex, { inc: incActiveSlideIndex, dec: decActiveSlideIndex }] = useCarouselControls({ itemCount }, activeTabIndex);
|
|
5661
5661
|
const [containerRef, scroll] = useSwipeListScroll({ itemCount });
|
|
5662
5662
|
useScrollToTab(activeTabIndex, scroll);
|
|
5663
|
-
return (jsxs(BlockWrapper, { className: style(className), defaultPadding: "p-0", ...rest, children: [jsxs("div", { className: "relative border-b-8 border-primary-main", children: [jsx(SwipeListContainer, { itemClassName: "flex", containerRef: containerRef, snapAlign: "snap-end", gap: 8, onVisibleIndicesChange: scroll.handleVisibleIndicesChange, children: tabs.map(renderTabButton(activeTabIndex, setActiveTabIndex, tabAlign)) }), jsx(CarouselScrollButtons, { scroll: scroll, arrowsPadded: true, onScrollLeft: decActiveSlideIndex, onScrollRight: incActiveSlideIndex, activeIndex: activeSlideIndex, itemCount: itemCount })] }), jsx("div", { className: "space-y-px @5xl:space-y-0 @5xl:grid @5xl:grid-cols-12 @5xl:gap-2xs", children: tabs[activeTabIndex]?.href ? (jsx(TabsLayoutRedirectSection, { tab: tabs[activeTabIndex] })) : (renderBlocksList(block?.slots?.[slotName], {
|
|
5663
|
+
return (jsxs(BlockWrapper, { className: style(className), defaultPadding: "p-0", ...rest, children: [jsxs("div", { className: "relative border-b-8 border-primary-main", children: [jsx(SwipeListContainer, { itemClassName: "flex", containerRef: containerRef, snapAlign: "snap-end", gap: 8, onVisibleIndicesChange: scroll.handleVisibleIndicesChange, children: tabs.map(renderTabButton(activeTabIndex, setActiveTabIndex, tabAlign)) }), jsx(CarouselScrollButtons, { scroll: scroll, arrowsPadded: true, onScrollLeft: decActiveSlideIndex, onScrollRight: incActiveSlideIndex, activeIndex: activeSlideIndex, itemCount: itemCount })] }), jsx("div", { className: "space-y-px @5xl:space-y-0 @5xl:grid @5xl:grid-cols-12 @5xl:gap-2xs", children: tabs[activeTabIndex]?.href ? (jsx(TabsLayoutRedirectSection, { tab: tabs[activeTabIndex] })) : (renderBlocksList(block?.slots?.[slotName], {
|
|
5664
|
+
...rest?.options,
|
|
5665
|
+
slotName,
|
|
5666
|
+
parent: block,
|
|
5667
|
+
})) })] }));
|
|
5664
5668
|
});
|
|
5665
5669
|
TabsLayout.slots = ({ tabs }) => tabs?.filter((_) => !_.href).map(getSlotName) || [];
|
|
5666
5670
|
TabsLayout.childrenTypes = { exclude: ['TabsLayout'] }; //TODO: fix this on wcms
|
|
@@ -6102,7 +6106,7 @@
|
|
|
6102
6106
|
return (jsx("div", { className: "flex items-end absolute bottom-0 right-0 h-full pointer-events-none", children: jsx(LikeControl, { className: "rounded-tl-3xl sticky bottom-0 pointer-events-auto" }) }));
|
|
6103
6107
|
}
|
|
6104
6108
|
|
|
6105
|
-
const packageVersion = "0.14.
|
|
6109
|
+
const packageVersion = "0.14.157";
|
|
6106
6110
|
|
|
6107
6111
|
exports.Blocks = Blocks;
|
|
6108
6112
|
exports.ContentPage = ContentPage;
|