@redneckz/wildless-cms-uni-blocks 0.14.400 → 0.14.402

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 +4 -3
  2. package/bundle/bundle.umd.min.js +1 -1
  3. package/dist/components/CalculatorCredit/CalculatorCredit.js +1 -1
  4. package/dist/components/CalculatorCredit/CalculatorCredit.js.map +1 -1
  5. package/dist/components/ProductBlock/renderBackwardButton.js +2 -1
  6. package/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  7. package/lib/components/CalculatorCredit/CalculatorCredit.js +1 -1
  8. package/lib/components/CalculatorCredit/CalculatorCredit.js.map +1 -1
  9. package/lib/components/ProductBlock/renderBackwardButton.js +2 -1
  10. package/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  11. package/mobile/bundle/bundle.umd.js +4 -3
  12. package/mobile/bundle/bundle.umd.min.js +1 -1
  13. package/mobile/dist/components/CalculatorCredit/CalculatorCredit.js +1 -1
  14. package/mobile/dist/components/CalculatorCredit/CalculatorCredit.js.map +1 -1
  15. package/mobile/dist/components/ProductBlock/renderBackwardButton.js +2 -1
  16. package/mobile/dist/components/ProductBlock/renderBackwardButton.js.map +1 -1
  17. package/mobile/lib/components/CalculatorCredit/CalculatorCredit.js +1 -1
  18. package/mobile/lib/components/CalculatorCredit/CalculatorCredit.js.map +1 -1
  19. package/mobile/lib/components/ProductBlock/renderBackwardButton.js +2 -1
  20. package/mobile/lib/components/ProductBlock/renderBackwardButton.js.map +1 -1
  21. package/mobile/src/components/CalculatorCredit/CalculatorCredit.tsx +1 -1
  22. package/mobile/src/components/ProductBlock/renderBackwardButton.tsx +3 -1
  23. package/package.json +1 -1
  24. package/src/components/CalculatorCredit/CalculatorCredit.tsx +1 -1
  25. package/src/components/ProductBlock/renderBackwardButton.tsx +3 -1
@@ -583,7 +583,8 @@
583
583
  }
584
584
  const iconVersion = version === 'primary' ? 'white' : 'black';
585
585
  const className = 'w-12 h-12 min-h-12 min-w-12 flex items-center justify-center';
586
- return (jsxs("div", { className: style(alwaysVisible ? 'flex' : 'hidden sm:flex', 'items-center gap-s'), children: [jsx("div", { className: getRegularButtonClasses({ className, version, rounded: true }), onClick: handleClick, children: jsx(Img, { className: "w-4 h-4", image: {
586
+ const bgBackwardButton = version === 'primary' ? 'bg-primary-main' : 'bg-white';
587
+ return (jsxs("div", { className: style(alwaysVisible ? 'flex' : 'hidden sm:flex', 'items-center gap-s'), children: [jsx("div", { className: style(getRegularButtonClasses({ className, rounded: true }), bgBackwardButton), onClick: handleClick, children: jsx(Img, { className: "w-4 h-4", image: {
587
588
  icon: 'ArrowLeftIcon',
588
589
  iconVersion: iconVersion,
589
590
  } }) }), jsx(LinkButton, { version: "link", className: "group-data-secondary:text-white/80", text: text, ariaLabel: text, onClick: handleClick, type: "button" })] }));
@@ -2976,12 +2977,12 @@
2976
2977
  isStateEmployee: 'isStateEmployee',
2977
2978
  isPensionClient: 'isPensionClient',
2978
2979
  isInsurance: 'isInsurance',
2980
+ moneyValue: 'maxSum',
2979
2981
  };
2980
2982
  const setDefaultParamsCals = (field, defParams, calcParams) => {
2981
2983
  Object.entries(MAP).forEach(([key, value]) => {
2982
2984
  field?.(key)?.onChange?.(defParams?.[value]);
2983
2985
  });
2984
- field?.('moneyValue')?.onChange?.(clamp(defParams?.maxSum, calcParams.minSum, calcParams.maxSum));
2985
2986
  field?.('monthsValue')?.onChange?.(clamp(defParams?.minMonths, calcParams.minMonths, calcParams.maxMonths));
2986
2987
  };
2987
2988
 
@@ -6348,7 +6349,7 @@
6348
6349
  slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
6349
6350
  });
6350
6351
 
6351
- const packageVersion = "0.14.399";
6352
+ const packageVersion = "0.14.401";
6352
6353
 
6353
6354
  exports.Blocks = Blocks;
6354
6355
  exports.ContentPage = ContentPage;