@redneckz/wildless-cms-uni-blocks 0.14.103 → 0.14.105

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.
@@ -25,7 +25,7 @@ function adjustBusinessDepositCalculator(block) {
25
25
  _.calculatorBlock?.calcType === 'BusinessDepositCalculatorForm' &&
26
26
  _.calculatorBlock?.sourceBookDir,
27
27
  );
28
- for (let calculatorTab of businessDepositCalculatorsTabs) {
28
+ for (const calculatorTab of businessDepositCalculatorsTabs) {
29
29
  calculatorTab.calculatorBlock['rateParams'] = {
30
30
  rateType: 'IP',
31
31
  sourceBookDir: calculatorTab.calculatorBlock.sourceBookDir,
@@ -3,14 +3,14 @@ import { deleteEmptyProps, deleteProp, traversePageBlocks } from '../utils.js';
3
3
  export const description = 'v0.14.62';
4
4
 
5
5
  export default traversePageBlocks(
6
- adjustBlockMibileAppTile,
6
+ adjustBlockMobileAppTile,
7
7
  adjustListItemSize,
8
8
  adjustRichText,
9
9
  adjustBenefitsBlock,
10
10
  adjustClearBlock,
11
11
  );
12
12
 
13
- function adjustBlockMibileAppTile(block) {
13
+ function adjustBlockMobileAppTile(block) {
14
14
  if (block.type === 'MobileAppTile') {
15
15
  deleteProp(block?.content, 'headingType');
16
16
  }
@@ -42,7 +42,7 @@ function adjustBenefitsBlock(block) {
42
42
  }
43
43
 
44
44
  function benefitChange(_) {
45
- let desc = _?.description;
45
+ const desc = _?.description;
46
46
  if (typeof desc === 'string') {
47
47
  return _;
48
48
  }
@@ -3018,7 +3018,7 @@
3018
3018
  const CarouselLinkButton = JSX(({ className = '', ...linkProps }) => {
3019
3019
  const link = useLink();
3020
3020
  const { text, href, target, onClick } = link(linkProps);
3021
- return text ? (jsx("div", { className: style('flex relative group/link pl-s pb-s min-w-64 xl:min-w-80', className), children: jsxs("div", { className: "relative min-h-16 w-full", children: [jsxs("a", { className: style(LINK_CLASS_NAME, 'rounded-md lg:rounded-none w-full p-lg whitespace-nowrap z-10'), role: "link", href: href, target: target, onClick: onClick, children: [jsx(Text, { size: "text-l", font: "font-light", color: "text-primary-text", children: text }), jsx(Img, { className: "group-hover/link:brightness-100 hidden xl:block ml-2xs", image: { icon: 'ArrowRightIcon', iconVersion: 'black' }, imageClassName: "group-hover/link:text-primary-main hidden xl:block", width: "24", height: "24" })] }), jsx("div", { className: style(LINK_BORDER_CLASS_NAME, '-bottom-1.5 -left-1.5') }), jsx("div", { className: style(LINK_BORDER_CLASS_NAME, '-bottom-3 -left-3') })] }) })) : null;
3021
+ return text ? (jsx("div", { className: style('flex relative group/link pl-s pb-s min-w-64 xl:min-w-72', className), children: jsxs("div", { className: "relative min-h-16 w-full", children: [jsxs("a", { className: style(LINK_CLASS_NAME, 'rounded-md lg:rounded-none w-full p-lg whitespace-nowrap z-10'), role: "link", href: href, target: target, onClick: onClick, children: [jsx(Text, { size: "text-l", font: "font-light", color: "text-primary-text", children: text }), jsx(Img, { className: "group-hover/link:brightness-100 hidden xl:block ml-2xs", image: { icon: 'ArrowRightIcon', iconVersion: 'black' }, imageClassName: "group-hover/link:text-primary-main hidden xl:block", width: "24", height: "24" })] }), jsx("div", { className: style(LINK_BORDER_CLASS_NAME, '-bottom-1.5 -left-1.5') }), jsx("div", { className: style(LINK_BORDER_CLASS_NAME, '-bottom-3 -left-3') })] }) })) : null;
3022
3022
  });
3023
3023
 
3024
3024
  const MAX_LINKS_COUNT = 10;
@@ -5794,7 +5794,7 @@
5794
5794
  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" }) }));
5795
5795
  }
5796
5796
 
5797
- const packageVersion = "0.14.102";
5797
+ const packageVersion = "0.14.104";
5798
5798
 
5799
5799
  exports.Blocks = Blocks;
5800
5800
  exports.ContentPage = ContentPage;