@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,6 +5,6 @@ const Img_1 = require("../../ui-kit/Img/Img");
|
|
|
5
5
|
const Text_1 = require("../../ui-kit/Text/Text");
|
|
6
6
|
const style_1 = require("../../utils/style");
|
|
7
7
|
const bonusBenefitStyles_1 = require("./bonusBenefitStyles");
|
|
8
|
-
const renderBonusBenefit = (cardTextAlign) => ({ icon, title, description }, i) => ((0, jsx_runtime_1.jsxs)("div", { className: (0, style_1.style)('flex flex-col gap-1', bonusBenefitStyles_1.bonusBenefitStyles, !description && !title ? 'justify-center' : ''), children: [title ? ((0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-h6", font: "font-normal", align: cardTextAlign, children: title })) : null, icon ? (0, jsx_runtime_1.jsx)(Img_1.Img, { image: icon, height: "180", className: "w-auto" }) : null, description ? ((0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-h6", font: "font-normal", align: cardTextAlign, children: description })) : null] }, String(i)));
|
|
8
|
+
const renderBonusBenefit = (cardTextAlign) => ({ icon, title, description }, i) => ((0, jsx_runtime_1.jsxs)("div", { className: (0, style_1.style)('flex flex-col gap-1', bonusBenefitStyles_1.bonusBenefitStyles, !description && !title ? 'justify-center' : ''), children: [title ? ((0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-h6", font: "font-normal", align: cardTextAlign, children: title })) : null, icon ? (0, jsx_runtime_1.jsx)(Img_1.Img, { image: icon, height: "180", className: "w-auto mx-auto" }) : null, description ? ((0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-h6", font: "font-normal", align: cardTextAlign, children: description })) : null] }, String(i)));
|
|
9
9
|
exports.renderBonusBenefit = renderBonusBenefit;
|
|
10
10
|
//# sourceMappingURL=renderBonusBenefit.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderBonusBenefit.js","sourceRoot":"","sources":["../../../src/components/BonusBenefitsBlock/renderBonusBenefit.tsx"],"names":[],"mappings":";;;AAAA,8CAA2C;AAC3C,iDAA8C;AAE9C,6CAA0C;AAE1C,6DAA0D;AAEnD,MAAM,kBAAkB,GAC7B,CAAC,aAAwB,EAAE,EAAE,CAC7B,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,WAAW,EAAgB,EAAE,CAAS,EAAE,EAAE,CACxD,CACE,iCAEE,SAAS,EAAE,IAAA,aAAK,EACd,qBAAqB,EACrB,uCAAkB,EAClB,CAAC,WAAW,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,gBAAgB,CAAC,CAAC,CAAC,EAAE,CAC/C,aAEA,KAAK,CAAC,CAAC,CAAC,CACP,uBAAC,WAAI,IAAC,IAAI,EAAC,SAAS,EAAC,IAAI,E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-3,5 +3,5 @@ import { Img } from '../../ui-kit/Img/Img.js';
|
|
|
3
3
|
import { Text } from '../../ui-kit/Text/Text.js';
|
|
4
4
|
import { style } from '../../utils/style.js';
|
|
5
5
|
import { bonusBenefitStyles } from './bonusBenefitStyles.js';
|
|
6
|
-
export 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)));
|
|
6
|
+
export 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)));
|
|
7
7
|
//# sourceMappingURL=renderBonusBenefit.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderBonusBenefit.js","sourceRoot":"","sources":["../../../src/components/BonusBenefitsBlock/renderBonusBenefit.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAE9C,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE1C,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE1D,MAAM,CAAC,MAAM,kBAAkB,GAC7B,CAAC,aAAwB,EAAE,EAAE,CAC7B,CAAC,EAAE,IAAI,EAAE,KA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CACR,CAAC,CAAC,CAAC,IAAI,EACP,IAAI,CAAC,CAAC,CAAC,KAAC,GAAG,IAAC,KAAK,EAAE,IAAI,EAAE,MAAM,EAAC,KAAK,EAAC,SAAS,EAAC,gBAAgB,GAAG,CAAC,CAAC,CAAC,IAAI,EAC1E,WAAW,CAAC,CAAC,CAAC,CACb,KAAC,IAAI,IAAC,IAAI,EAAC,SAAS,EAAC,IAAI,EAAC,aAAa,EAAC,KAAK,EAAE,aAAa,YACzD,WAAW,GACP,CACR,CAAC,CAAC,CAAC,IAAI,KAjBH,MAAM,CAAC,CAAC,CAAC,CAkBV,CACP,CAAC"}
|
|
@@ -1992,7 +1992,7 @@
|
|
|
1992
1992
|
|
|
1993
1993
|
const bonusBenefitStyles = 'justify-between p-m h-full border border-gray';
|
|
1994
1994
|
|
|
1995
|
-
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)));
|
|
1995
|
+
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)));
|
|
1996
1996
|
|
|
1997
1997
|
const renderBonusBenefits = (bonusBenefits, _columnsCount, _cardTextAlign) => jsx(SwipeListControl, { children: bonusBenefits.map(renderBonusBenefit(_cardTextAlign)) });
|
|
1998
1998
|
|
|
@@ -5390,7 +5390,7 @@
|
|
|
5390
5390
|
|
|
5391
5391
|
const joinList = (sep) => (list) => list.reduce((acc, el, i) => (acc.length ? acc.concat({ ...sep, key: `sep-${i}` }, el) : [el]), []);
|
|
5392
5392
|
|
|
5393
|
-
const packageVersion = "0.14.
|
|
5393
|
+
const packageVersion = "0.14.77";
|
|
5394
5394
|
|
|
5395
5395
|
exports.Blocks = Blocks;
|
|
5396
5396
|
exports.ContentPage = ContentPage;
|