@redneckz/wildless-cms-uni-blocks 0.14.77 → 0.14.78
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/bin/migration-scripts/0.14.68.js +1 -1
- package/bundle/bundle.umd.js +2 -2
- package/bundle/bundle.umd.min.js +1 -1
- package/dist/components/BonusBenefitsBlock/renderBonusBenefit.js +1 -1
- package/dist/components/BonusBenefitsBlock/renderBonusBenefit.js.map +1 -1
- package/lib/components/BonusBenefitsBlock/renderBonusBenefit.js +1 -1
- package/lib/components/BonusBenefitsBlock/renderBonusBenefit.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +2 -2
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/components/BonusBenefitsBlock/renderBonusBenefit.js +1 -1
- package/mobile/dist/components/BonusBenefitsBlock/renderBonusBenefit.js.map +1 -1
- package/mobile/lib/common.css +1 -1
- package/mobile/lib/components/BonusBenefitsBlock/renderBonusBenefit.js +1 -1
- package/mobile/lib/components/BonusBenefitsBlock/renderBonusBenefit.js.map +1 -1
- package/mobile/src/components/BonusBenefitsBlock/renderBonusBenefit.tsx +1 -1
- package/package.json +1 -1
- package/src/components/BenefitsBlock/BenefitsBlock.fixture.tsx +3 -3
- package/src/components/BonusBenefitsBlock/renderBonusBenefit.tsx +1 -1
|
@@ -5,7 +5,7 @@ export const description = 'v0.14.68';
|
|
|
5
5
|
export default traversePageBlocks(adjustLayoutBlock, adjustClearBlock);
|
|
6
6
|
|
|
7
7
|
function adjustLayoutBlock(block) {
|
|
8
|
-
const isLayout = block?.type === 'VerticalLayout'
|
|
8
|
+
const isLayout = block?.type === 'VerticalLayout' || block?.type === 'HorizontalLayout';
|
|
9
9
|
const content = block?.content;
|
|
10
10
|
if (isLayout && content?.isPadding && !content?.padding) {
|
|
11
11
|
content.padding = 'p-6xl';
|
package/bundle/bundle.umd.js
CHANGED
|
@@ -1777,7 +1777,7 @@
|
|
|
1777
1777
|
|
|
1778
1778
|
const bonusBenefitStyles = 'items-center';
|
|
1779
1779
|
|
|
1780
|
-
const renderBonusBenefit = (cardTextAlign) => ({ icon, title, description }, i) => (jsxs("div", { className: style('flex flex-col gap-1', bonusBenefitStyles, !description && !title ? 'justify-center' : ''), children: [title ? (jsx(Text, { size: "text-h6", font: "font-normal", align: cardTextAlign, children: title })) : null, icon ? jsx(Img, { image: icon, height: "180", className: "w-auto" }) : null, description ? (jsx(Text, { size: "text-h6", font: "font-normal", align: cardTextAlign, children: description })) : null] }, String(i)));
|
|
1780
|
+
const renderBonusBenefit = (cardTextAlign) => ({ icon, title, description }, i) => (jsxs("div", { className: style('flex flex-col gap-1', bonusBenefitStyles, !description && !title ? 'justify-center' : ''), children: [title ? (jsx(Text, { size: "text-h6", font: "font-normal", align: cardTextAlign, children: title })) : null, icon ? jsx(Img, { image: icon, height: "180", className: "w-auto mx-auto" }) : null, description ? (jsx(Text, { size: "text-h6", font: "font-normal", align: cardTextAlign, children: description })) : null] }, String(i)));
|
|
1781
1781
|
|
|
1782
1782
|
const renderBonusBenefits = (bonusBenefits, columnsCount, cardTextAlign) => (jsx("div", { className: `grid gap-2xs ${getElementsColsValue(columnsCount)}`, children: bonusBenefits.map(renderBonusBenefit(cardTextAlign)) }));
|
|
1783
1783
|
const getElementsColsValue = (colValue) => {
|
|
@@ -5759,7 +5759,7 @@
|
|
|
5759
5759
|
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" }) }));
|
|
5760
5760
|
}
|
|
5761
5761
|
|
|
5762
|
-
const packageVersion = "0.14.
|
|
5762
|
+
const packageVersion = "0.14.77";
|
|
5763
5763
|
|
|
5764
5764
|
exports.Blocks = Blocks;
|
|
5765
5765
|
exports.ContentPage = ContentPage;
|