@redneckz/wildless-cms-uni-blocks 0.14.60 → 0.14.62

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 (25) hide show
  1. package/bundle/bundle.umd.js +3 -3
  2. package/bundle/bundle.umd.min.js +1 -1
  3. package/dist/components/GracePeriod/GracePeriod.js +2 -1
  4. package/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  5. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -1
  6. package/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  7. package/lib/components/GracePeriod/GracePeriod.js +2 -1
  8. package/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  9. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -1
  10. package/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  11. package/mobile/bundle/bundle.umd.js +1 -1
  12. package/mobile/bundle/bundle.umd.min.js +1 -1
  13. package/mobile/dist/components/GracePeriod/GracePeriod.js +2 -1
  14. package/mobile/dist/components/GracePeriod/GracePeriod.js.map +1 -1
  15. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -1
  16. package/mobile/dist/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  17. package/mobile/lib/components/GracePeriod/GracePeriod.js +2 -1
  18. package/mobile/lib/components/GracePeriod/GracePeriod.js.map +1 -1
  19. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js +2 -1
  20. package/mobile/lib/components/InsuranceAmountBlock/InsuranceAmountBlockInner.js.map +1 -1
  21. package/mobile/src/components/GracePeriod/GracePeriod.tsx +9 -4
  22. package/mobile/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +7 -2
  23. package/package.json +1 -1
  24. package/src/components/GracePeriod/GracePeriod.tsx +9 -4
  25. package/src/components/InsuranceAmountBlock/InsuranceAmountBlockInner.tsx +7 -2
@@ -4005,7 +4005,7 @@
4005
4005
  // Condition lower is always true, TS does not understand this, notice filter above
4006
4006
  flexBasis: `${_?.month?.length ? _.month.length * colSize : ''}%`,
4007
4007
  }));
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 font-light text-primary-text", children: [jsx("span", { children: _.text }), "\u2009", jsx("span", { className: "text-primary-main", children: _.greenText })] })] }, `monthItem-${ind}`))) })] }));
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", 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
4009
  };
4010
4010
  const renderMonthNames = (item, colSize) => item.month?.map((_, i) => (jsx("div", { style: { flexBasis: `${colSize}%` }, children: _.text }, `monthName-${i}`)));
4011
4011
  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);
@@ -4316,7 +4316,7 @@
4316
4316
  return (jsxs("button", { type: "button", onClick: onClick, className: `p-3xl min-w-fit flex items-center gap-2xl bg-white border-solid border relative ${btnClassName}`, children: [slide?.icon ? (jsx(Img, { className: "p-lg rounded-full bg-secondary-light", image: slide.icon, width: "108", height: "108" })) : null, jsxs("div", { className: "flex gap-s", children: [slide?.sum ? renderValueBlock('страховая сумма', slide.sum) : null, slide?.fee ? renderValueBlock('страховой взнос', slide.fee) : null] }), renderDoneIcon(isActive)] }, String(i)));
4317
4317
  }
4318
4318
  function renderValueBlock(title, sum) {
4319
- return (jsxs("div", { className: "flex flex-col text-left whitespace-pre", children: [jsxs("span", { className: "text-h6", children: [toLocalNumberFormat(2)(sum), " \u20BD"] }), jsx("span", { className: "text-secondary-text text-l mt-2xs", children: title })] }));
4319
+ return (jsxs("div", { className: "flex flex-col text-left whitespace-pre", children: [jsxs(Text, { size: "text-h6", children: [toLocalNumberFormat(2)(sum), " \u20BD"] }), jsx("div", { className: "mt-2xs", children: jsx(Text, { size: "text-l", color: "text-secondary-text", children: title }) })] }));
4320
4320
  }
4321
4321
  function renderDoneIcon(isActive) {
4322
4322
  return isActive ? (jsx(Img, { className: `h-6 w-6 min-w-6 min-h-6 absolute right-4 top-4`, image: { icon: 'DoneIcon' }, width: "24", height: "24" })) : null;
@@ -5800,7 +5800,7 @@
5800
5800
  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
5801
  }
5802
5802
 
5803
- const packageVersion = "0.14.59";
5803
+ const packageVersion = "0.14.61";
5804
5804
 
5805
5805
  exports.Blocks = Blocks;
5806
5806
  exports.ContentPage = ContentPage;