@redneckz/wildless-cms-uni-blocks 0.14.397 → 0.14.398
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 +4 -6
- package/bundle/bundle.umd.min.js +1 -1
- package/dist/components/CarouselLinks/CarouselLinkButton.js +1 -1
- package/dist/components/CarouselLinks/CarouselLinkButton.js.map +1 -1
- package/dist/components/CarouselLinks/CarouselLinks.js +2 -4
- package/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/CarouselLinks/CarouselLinkButton.js +1 -1
- package/lib/components/CarouselLinks/CarouselLinkButton.js.map +1 -1
- package/lib/components/CarouselLinks/CarouselLinks.js +2 -4
- package/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +4 -6
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/components/CarouselLinks/CarouselLinkButton.js +1 -1
- package/mobile/dist/components/CarouselLinks/CarouselLinkButton.js.map +1 -1
- package/mobile/dist/components/CarouselLinks/CarouselLinks.js +2 -4
- package/mobile/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/mobile/lib/common.css +1 -1
- package/mobile/lib/components/CarouselLinks/CarouselLinkButton.js +1 -1
- package/mobile/lib/components/CarouselLinks/CarouselLinkButton.js.map +1 -1
- package/mobile/lib/components/CarouselLinks/CarouselLinks.js +2 -4
- package/mobile/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
- package/mobile/src/components/CarouselLinks/CarouselLinkButton.tsx +3 -1
- package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +15 -23
- package/package.json +1 -1
- package/src/components/CarouselLinks/CarouselLinkButton.tsx +3 -1
- package/src/components/CarouselLinks/CarouselLinks.tsx +15 -23
- package/bundle/components/CarouselLinks/ArrowIconStyles.d.ts +0 -2
- package/bundle/components/CarouselLinks/ArrowIconStyles.mobile.d.ts +0 -2
- package/bundle/components/CarouselLinks/maxLinksCount.d.ts +0 -1
- package/bundle/components/CarouselLinks/maxLinksCount.mobile.d.ts +0 -1
- package/dist/components/CarouselLinks/ArrowIconStyles.d.ts +0 -2
- package/dist/components/CarouselLinks/ArrowIconStyles.js +0 -5
- package/dist/components/CarouselLinks/ArrowIconStyles.js.map +0 -1
- package/dist/components/CarouselLinks/ArrowIconStyles.mobile.d.ts +0 -2
- package/dist/components/CarouselLinks/ArrowIconStyles.mobile.js +0 -5
- package/dist/components/CarouselLinks/ArrowIconStyles.mobile.js.map +0 -1
- package/dist/components/CarouselLinks/maxLinksCount.d.ts +0 -1
- package/dist/components/CarouselLinks/maxLinksCount.js +0 -4
- package/dist/components/CarouselLinks/maxLinksCount.js.map +0 -1
- package/dist/components/CarouselLinks/maxLinksCount.mobile.d.ts +0 -1
- package/dist/components/CarouselLinks/maxLinksCount.mobile.js +0 -4
- package/dist/components/CarouselLinks/maxLinksCount.mobile.js.map +0 -1
- package/lib/components/CarouselLinks/ArrowIconStyles.d.ts +0 -2
- package/lib/components/CarouselLinks/ArrowIconStyles.js +0 -3
- package/lib/components/CarouselLinks/ArrowIconStyles.js.map +0 -1
- package/lib/components/CarouselLinks/ArrowIconStyles.mobile.d.ts +0 -2
- package/lib/components/CarouselLinks/ArrowIconStyles.mobile.js +0 -3
- package/lib/components/CarouselLinks/ArrowIconStyles.mobile.js.map +0 -1
- package/lib/components/CarouselLinks/maxLinksCount.d.ts +0 -1
- package/lib/components/CarouselLinks/maxLinksCount.js +0 -2
- package/lib/components/CarouselLinks/maxLinksCount.js.map +0 -1
- package/lib/components/CarouselLinks/maxLinksCount.mobile.d.ts +0 -1
- package/lib/components/CarouselLinks/maxLinksCount.mobile.js +0 -2
- package/lib/components/CarouselLinks/maxLinksCount.mobile.js.map +0 -1
- package/mobile/bundle/components/CarouselLinks/ArrowIconStyles.d.ts +0 -2
- package/mobile/bundle/components/CarouselLinks/maxLinksCount.d.ts +0 -1
- package/mobile/dist/components/CarouselLinks/ArrowIconStyles.d.ts +0 -2
- package/mobile/dist/components/CarouselLinks/ArrowIconStyles.js +0 -5
- package/mobile/dist/components/CarouselLinks/ArrowIconStyles.js.map +0 -1
- package/mobile/dist/components/CarouselLinks/maxLinksCount.d.ts +0 -1
- package/mobile/dist/components/CarouselLinks/maxLinksCount.js +0 -4
- package/mobile/dist/components/CarouselLinks/maxLinksCount.js.map +0 -1
- package/mobile/lib/components/CarouselLinks/ArrowIconStyles.d.ts +0 -2
- package/mobile/lib/components/CarouselLinks/ArrowIconStyles.js +0 -3
- package/mobile/lib/components/CarouselLinks/ArrowIconStyles.js.map +0 -1
- package/mobile/lib/components/CarouselLinks/maxLinksCount.d.ts +0 -1
- package/mobile/lib/components/CarouselLinks/maxLinksCount.js +0 -2
- package/mobile/lib/components/CarouselLinks/maxLinksCount.js.map +0 -1
- package/mobile/src/components/CarouselLinks/ArrowIconStyles.ts +0 -2
- package/mobile/src/components/CarouselLinks/maxLinksCount.ts +0 -1
- package/src/components/CarouselLinks/ArrowIconStyles.mobile.ts +0 -2
- package/src/components/CarouselLinks/ArrowIconStyles.ts +0 -2
- package/src/components/CarouselLinks/maxLinksCount.mobile.ts +0 -1
- package/src/components/CarouselLinks/maxLinksCount.ts +0 -1
package/bundle/bundle.umd.js
CHANGED
|
@@ -3291,13 +3291,11 @@
|
|
|
3291
3291
|
return text ? (jsx("div", { className: style('h-32 rounded-lg bg-white text-secondary-text flex items-center justify-center'), children: jsx("a", { role: "link", href: href, target: target, onClick: onClick, children: jsxs("div", { className: "flex flex-col items-center gap-4 break-words max-w-[150px]", children: [icon ? (jsx(Img, { className: style(''), image: {
|
|
3292
3292
|
...icon,
|
|
3293
3293
|
iconVersion: icon?.iconVersion,
|
|
3294
|
-
}, width: "50", height: "50", alt: text })) : null, jsx("div", { className: "text-primary-text text-center text-sm whitespace-wrap", children: text })] }) }) })) : null;
|
|
3294
|
+
}, width: "50", height: "50", alt: text })) : null, jsx("div", { className: "text-primary-text text-center text-sm whitespace-wrap min-h-8", children: text })] }) }) })) : null;
|
|
3295
3295
|
});
|
|
3296
3296
|
|
|
3297
|
-
const CarouselLinks = JSX(({ className, additionalDescription, description, links, title, ...rest }) => (jsx(BlockWrapper, { defaultPadding: "p-5xl", className: style('overflow-hidden', className), ...rest, children: jsxs("div", { className: "flex flex-col lg:flex-row gap-
|
|
3298
|
-
const renderLinks = (links) => {
|
|
3299
|
-
return (jsx("div", { className: "grid \n gap-4 \n grid-cols-3 \n lg:grid-cols-12 \n lg:[&>*]:col-span-3 \n lg:[&>*:nth-child(7n+5)]:col-span-4 \n lg:[&>*:nth-child(7n+6)]:col-span-4 \n lg:[&>*:nth-child(7n+7)]:col-span-4 \n max-lg:[&>*:not(:nth-child(-n+3)):nth-child(4n+3)]:col-span-2 \n max-lg:[&>*:not(:nth-child(-n+3)):nth-child(4n+4)]:col-span-2\n lg:w-3/6\n ", children: links.map((link, index) => (jsx(CarouselLinkButton, { ...link }, String(index)))) }));
|
|
3300
|
-
};
|
|
3297
|
+
const CarouselLinks = JSX(({ className, additionalDescription, description, links, title, ...rest }) => (jsx(BlockWrapper, { defaultPadding: "p-5xl", className: style('overflow-hidden', className), ...rest, children: jsxs("div", { className: "flex flex-col lg:flex-row gap-4xl justify-between", children: [jsxs("div", { className: "flex-1", children: [jsx(Headline, { isEmbedded: true, title: title, description: description, as: "h1", align: "text-left" }), jsx(Headline, { className: "pt-m", description: additionalDescription, align: "text-left", isEmbedded: true })] }), links?.length ? renderLinks(links) : null] }) })));
|
|
3298
|
+
const renderLinks = (links) => (jsx("div", { className: style('lg:grid-cols-9 lg:[&>*]:col-span-2 lg:[&>*:nth-child(14n+2)]:col-span-3 lg:[&>*:nth-child(7n+5)]:col-span-3', 'lg:[&>*:nth-child(7n+6)]:col-span-3 lg:[&>*:nth-child(7n+7)]:col-span-3 lg:[&>*:nth-child(14n+10)]:col-span-3 lg:w-3/6', 'grid-cols-3 max-lg:[&>*:not(:nth-child(-n+3)):nth-child(4n+3)]:col-span-2 max-lg:[&>*:not(:nth-child(-n+3)):nth-child(4n+4)]:col-span-2', 'grid gap-4'), children: links.map((link, index) => (jsx(CarouselLinkButton, { ...link }, String(index)))) }));
|
|
3301
3299
|
|
|
3302
3300
|
const LinkWrapper = JSX(({ className = '', href, target, onClick, data, children }) => {
|
|
3303
3301
|
const link = useLink();
|
|
@@ -6312,7 +6310,7 @@
|
|
|
6312
6310
|
slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
|
|
6313
6311
|
});
|
|
6314
6312
|
|
|
6315
|
-
const packageVersion = "0.14.
|
|
6313
|
+
const packageVersion = "0.14.397";
|
|
6316
6314
|
|
|
6317
6315
|
exports.Blocks = Blocks;
|
|
6318
6316
|
exports.ContentPage = ContentPage;
|