@redneckz/wildless-cms-uni-blocks 0.14.1031 → 0.14.1032

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.
@@ -13982,9 +13982,8 @@
13982
13982
  const TariffsTableRowContainer = JSX(({ children, tableInner, onClick }) => (jsxs("div", { className: style('self-start flex flex-col gap-xl', DIVIDER_STYLE), role: "row", children: [jsx("div", { className: style('flex flex-col lg:flex-row gap-x-5xl gap-y-xs'), children: children }), tableInner ? (jsx("div", { className: "origin-top animate-expansion", children: jsx(InnerTable, { ...tableInner, onClick: onClick }) })) : null] })));
13983
13983
 
13984
13984
  const RATES_COLUMN_STYLE = `grid grid-cols-3 gap-s`;
13985
- const Rate = UniBlock(({ currencyPair = '', buyRate = 0, sellRate = 0 }) => (jsxs("div", { className: style('mb-s', RATES_COLUMN_STYLE, DIVIDER_STYLE), children: [jsx("div", { children: formatCurrencyPair(currencyPair) }), jsx("div", { children: formatRate(buyRate) }), jsx("div", { children: formatRate(sellRate) })] })));
13985
+ const Rate = UniBlock(({ currencyPair = '', buyRate = 0, sellRate = 0 }) => (jsxs("div", { className: style('mb-s', RATES_COLUMN_STYLE, DIVIDER_STYLE), children: [jsx("div", { children: formatCurrencyPair(currencyPair) }), jsx("div", { children: buyRate }), jsx("div", { children: sellRate })] })));
13986
13986
  const formatCurrencyPair = (currency) => currency.replace('_TOD', '');
13987
- const formatRate = (rate) => rate.toFixed(4);
13988
13987
 
13989
13988
  const TIMEZONE = 'МСК';
13990
13989
  const renderDate = ({ dateString, isArchive = false }) => {
@@ -14617,7 +14616,7 @@
14617
14616
  slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
14618
14617
  });
14619
14618
 
14620
- const packageVersion = "0.14.1030";
14619
+ const packageVersion = "0.14.1031";
14621
14620
 
14622
14621
  exports.Blocks = Blocks;
14623
14622
  exports.ContentPage = ContentPage;