@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.
Files changed (75) hide show
  1. package/bundle/bundle.umd.js +4 -6
  2. package/bundle/bundle.umd.min.js +1 -1
  3. package/dist/components/CarouselLinks/CarouselLinkButton.js +1 -1
  4. package/dist/components/CarouselLinks/CarouselLinkButton.js.map +1 -1
  5. package/dist/components/CarouselLinks/CarouselLinks.js +2 -4
  6. package/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  7. package/lib/common.css +1 -1
  8. package/lib/components/CarouselLinks/CarouselLinkButton.js +1 -1
  9. package/lib/components/CarouselLinks/CarouselLinkButton.js.map +1 -1
  10. package/lib/components/CarouselLinks/CarouselLinks.js +2 -4
  11. package/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  12. package/mobile/bundle/bundle.umd.js +4 -6
  13. package/mobile/bundle/bundle.umd.min.js +1 -1
  14. package/mobile/dist/components/CarouselLinks/CarouselLinkButton.js +1 -1
  15. package/mobile/dist/components/CarouselLinks/CarouselLinkButton.js.map +1 -1
  16. package/mobile/dist/components/CarouselLinks/CarouselLinks.js +2 -4
  17. package/mobile/dist/components/CarouselLinks/CarouselLinks.js.map +1 -1
  18. package/mobile/lib/common.css +1 -1
  19. package/mobile/lib/components/CarouselLinks/CarouselLinkButton.js +1 -1
  20. package/mobile/lib/components/CarouselLinks/CarouselLinkButton.js.map +1 -1
  21. package/mobile/lib/components/CarouselLinks/CarouselLinks.js +2 -4
  22. package/mobile/lib/components/CarouselLinks/CarouselLinks.js.map +1 -1
  23. package/mobile/src/components/CarouselLinks/CarouselLinkButton.tsx +3 -1
  24. package/mobile/src/components/CarouselLinks/CarouselLinks.tsx +15 -23
  25. package/package.json +1 -1
  26. package/src/components/CarouselLinks/CarouselLinkButton.tsx +3 -1
  27. package/src/components/CarouselLinks/CarouselLinks.tsx +15 -23
  28. package/bundle/components/CarouselLinks/ArrowIconStyles.d.ts +0 -2
  29. package/bundle/components/CarouselLinks/ArrowIconStyles.mobile.d.ts +0 -2
  30. package/bundle/components/CarouselLinks/maxLinksCount.d.ts +0 -1
  31. package/bundle/components/CarouselLinks/maxLinksCount.mobile.d.ts +0 -1
  32. package/dist/components/CarouselLinks/ArrowIconStyles.d.ts +0 -2
  33. package/dist/components/CarouselLinks/ArrowIconStyles.js +0 -5
  34. package/dist/components/CarouselLinks/ArrowIconStyles.js.map +0 -1
  35. package/dist/components/CarouselLinks/ArrowIconStyles.mobile.d.ts +0 -2
  36. package/dist/components/CarouselLinks/ArrowIconStyles.mobile.js +0 -5
  37. package/dist/components/CarouselLinks/ArrowIconStyles.mobile.js.map +0 -1
  38. package/dist/components/CarouselLinks/maxLinksCount.d.ts +0 -1
  39. package/dist/components/CarouselLinks/maxLinksCount.js +0 -4
  40. package/dist/components/CarouselLinks/maxLinksCount.js.map +0 -1
  41. package/dist/components/CarouselLinks/maxLinksCount.mobile.d.ts +0 -1
  42. package/dist/components/CarouselLinks/maxLinksCount.mobile.js +0 -4
  43. package/dist/components/CarouselLinks/maxLinksCount.mobile.js.map +0 -1
  44. package/lib/components/CarouselLinks/ArrowIconStyles.d.ts +0 -2
  45. package/lib/components/CarouselLinks/ArrowIconStyles.js +0 -3
  46. package/lib/components/CarouselLinks/ArrowIconStyles.js.map +0 -1
  47. package/lib/components/CarouselLinks/ArrowIconStyles.mobile.d.ts +0 -2
  48. package/lib/components/CarouselLinks/ArrowIconStyles.mobile.js +0 -3
  49. package/lib/components/CarouselLinks/ArrowIconStyles.mobile.js.map +0 -1
  50. package/lib/components/CarouselLinks/maxLinksCount.d.ts +0 -1
  51. package/lib/components/CarouselLinks/maxLinksCount.js +0 -2
  52. package/lib/components/CarouselLinks/maxLinksCount.js.map +0 -1
  53. package/lib/components/CarouselLinks/maxLinksCount.mobile.d.ts +0 -1
  54. package/lib/components/CarouselLinks/maxLinksCount.mobile.js +0 -2
  55. package/lib/components/CarouselLinks/maxLinksCount.mobile.js.map +0 -1
  56. package/mobile/bundle/components/CarouselLinks/ArrowIconStyles.d.ts +0 -2
  57. package/mobile/bundle/components/CarouselLinks/maxLinksCount.d.ts +0 -1
  58. package/mobile/dist/components/CarouselLinks/ArrowIconStyles.d.ts +0 -2
  59. package/mobile/dist/components/CarouselLinks/ArrowIconStyles.js +0 -5
  60. package/mobile/dist/components/CarouselLinks/ArrowIconStyles.js.map +0 -1
  61. package/mobile/dist/components/CarouselLinks/maxLinksCount.d.ts +0 -1
  62. package/mobile/dist/components/CarouselLinks/maxLinksCount.js +0 -4
  63. package/mobile/dist/components/CarouselLinks/maxLinksCount.js.map +0 -1
  64. package/mobile/lib/components/CarouselLinks/ArrowIconStyles.d.ts +0 -2
  65. package/mobile/lib/components/CarouselLinks/ArrowIconStyles.js +0 -3
  66. package/mobile/lib/components/CarouselLinks/ArrowIconStyles.js.map +0 -1
  67. package/mobile/lib/components/CarouselLinks/maxLinksCount.d.ts +0 -1
  68. package/mobile/lib/components/CarouselLinks/maxLinksCount.js +0 -2
  69. package/mobile/lib/components/CarouselLinks/maxLinksCount.js.map +0 -1
  70. package/mobile/src/components/CarouselLinks/ArrowIconStyles.ts +0 -2
  71. package/mobile/src/components/CarouselLinks/maxLinksCount.ts +0 -1
  72. package/src/components/CarouselLinks/ArrowIconStyles.mobile.ts +0 -2
  73. package/src/components/CarouselLinks/ArrowIconStyles.ts +0 -2
  74. package/src/components/CarouselLinks/maxLinksCount.mobile.ts +0 -1
  75. package/src/components/CarouselLinks/maxLinksCount.ts +0 -1
@@ -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-s 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) => {
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.396";
6313
+ const packageVersion = "0.14.397";
6316
6314
 
6317
6315
  exports.Blocks = Blocks;
6318
6316
  exports.ContentPage = ContentPage;