@redneckz/wildless-cms-uni-blocks 0.14.61 → 0.14.63
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 -3
- package/bundle/bundle.umd.min.js +1 -1
- package/dist/components/GracePeriod/GracePeriod.js +2 -1
- package/dist/components/GracePeriod/GracePeriod.js.map +1 -1
- package/dist/ui-kit/RichText/RichText.js +2 -1
- package/dist/ui-kit/RichText/RichText.js.map +1 -1
- package/lib/components/GracePeriod/GracePeriod.js +2 -1
- package/lib/components/GracePeriod/GracePeriod.js.map +1 -1
- package/lib/ui-kit/RichText/RichText.js +2 -1
- package/lib/ui-kit/RichText/RichText.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +3 -2
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/components/GracePeriod/GracePeriod.js +2 -1
- package/mobile/dist/components/GracePeriod/GracePeriod.js.map +1 -1
- package/mobile/dist/ui-kit/RichText/RichText.js +2 -1
- package/mobile/dist/ui-kit/RichText/RichText.js.map +1 -1
- package/mobile/lib/components/GracePeriod/GracePeriod.js +2 -1
- package/mobile/lib/components/GracePeriod/GracePeriod.js.map +1 -1
- package/mobile/lib/ui-kit/RichText/RichText.js +2 -1
- package/mobile/lib/ui-kit/RichText/RichText.js.map +1 -1
- package/mobile/src/components/GracePeriod/GracePeriod.tsx +9 -4
- package/mobile/src/ui-kit/RichText/RichText.tsx +4 -1
- package/package.json +1 -1
- package/src/components/GracePeriod/GracePeriod.tsx +9 -4
- package/src/ui-kit/RichText/RichText.tsx +4 -1
package/bundle/bundle.umd.js
CHANGED
|
@@ -678,7 +678,8 @@
|
|
|
678
678
|
|
|
679
679
|
const RichText = JSX((props) => {
|
|
680
680
|
const { __html = '', richVersion = '' } = props;
|
|
681
|
-
|
|
681
|
+
/* Attribute [data-component] need for correct render in wcms editor. Do not remove. */
|
|
682
|
+
return getHtmlText(__html) ? (jsx("div", { "data-component": "rich-text-container", children: jsx("div", { className: style(richVersion, 'md-container'), dangerouslySetInnerHTML: { __html } }) })) : null;
|
|
682
683
|
});
|
|
683
684
|
|
|
684
685
|
const renderBenefitDescription = (description, i) => description ? (jsx(Paragraph, { font: "font-light", size: "text-m", color: "text-secondary-text group-data-secondary:text-white", children: description }, `description-${i}`)) : null;
|
|
@@ -4005,7 +4006,7 @@
|
|
|
4005
4006
|
// Condition lower is always true, TS does not understand this, notice filter above
|
|
4006
4007
|
flexBasis: `${_?.month?.length ? _.month.length * colSize : ''}%`,
|
|
4007
4008
|
}));
|
|
4008
|
-
return (jsxs("div", { className: "w-full flex flex-col justify-center gap-s", children: [jsx("div", { className: "flex w-full text-h6 text-center", children: mappedCalendar.map((_) => renderMonthNames(_, colSize)) }), jsx("div", { className: "flex gap-s w-full", children: mappedCalendar.map((_, ind) => (jsxs("div", { className: "border-r border-main-divider last:border-r-0 space-y-s", style: { flexBasis: _.flexBasis }, children: [jsx("div", { className: "flex gap-s", children: renderMonthImages(_) }), jsxs("div", { className: "text-s
|
|
4009
|
+
return (jsxs("div", { className: "w-full flex flex-col justify-center gap-s", children: [jsx("div", { className: "flex w-full text-h6 text-center", children: mappedCalendar.map((_) => renderMonthNames(_, colSize)) }), jsx("div", { className: "flex gap-s w-full", children: mappedCalendar.map((_, ind) => (jsxs("div", { className: "border-r border-main-divider last:border-r-0 space-y-s", style: { flexBasis: _.flexBasis }, children: [jsx("div", { className: "flex gap-s", children: renderMonthImages(_) }), jsxs("div", { className: "text-s", children: [jsx(Text, { size: "text-s", font: "font-light", color: "text-primary-text", children: _.text }), "\u2009", jsx(Text, { size: "text-s", font: "font-light", color: "text-primary-main", children: _.greenText })] })] }, `monthItem-${ind}`))) })] }));
|
|
4009
4010
|
};
|
|
4010
4011
|
const renderMonthNames = (item, colSize) => item.month?.map((_, i) => (jsx("div", { style: { flexBasis: `${colSize}%` }, children: _.text }, `monthName-${i}`)));
|
|
4011
4012
|
const renderMonthImages = (item) => item.month?.map((_) => _.image?.src ? (jsx("div", { className: "h-52 border-r pr-s border-main-divider last:border-r-0", children: jsx(Img, { image: _.image, className: "flex" }) }, `monthImage-${_.image.src}`)) : null);
|
|
@@ -5800,7 +5801,7 @@
|
|
|
5800
5801
|
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" }) }));
|
|
5801
5802
|
}
|
|
5802
5803
|
|
|
5803
|
-
const packageVersion = "0.14.
|
|
5804
|
+
const packageVersion = "0.14.62";
|
|
5804
5805
|
|
|
5805
5806
|
exports.Blocks = Blocks;
|
|
5806
5807
|
exports.ContentPage = ContentPage;
|