@redneckz/wildless-cms-uni-blocks 0.14.534 → 0.14.536

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 (234) hide show
  1. package/bin/migration-scripts/0.14.530.js +38 -0
  2. package/bundle/blocks.schema.json +1 -1
  3. package/bundle/bundle.umd.js +94 -51
  4. package/bundle/bundle.umd.min.js +1 -1
  5. package/bundle/components/Carousel/CarouselContent.d.ts +2 -0
  6. package/bundle/components/Carousel/renderCarouselCards.d.ts +2 -1
  7. package/bundle/components/ProductBlock/ProductBlockContent.d.ts +2 -1
  8. package/bundle/ui-kit/ResponseTypeDialog/ResponseTypeDialog.d.ts +1 -0
  9. package/bundle/ui-kit/ResponseTypeDialog/useResponseTypeDialog.d.ts +1 -0
  10. package/bundle/ui-kit/SwipeListControl/NavButtonProp.d.ts +9 -0
  11. package/bundle/ui-kit/SwipeListControl/SwipeListControl.d.ts +2 -0
  12. package/bundle/ui-kit/SwipeListControl/SwipeListDots.d.ts +8 -3
  13. package/bundle/ui-kit/SwipeListControl/SwipeListScrollButtons.d.ts +1 -0
  14. package/bundle/ui-kit/SwipeListControl/renderDotButton.d.ts +3 -0
  15. package/bundle/ui-kit/SwipeListControl/renderNavButton.d.ts +3 -0
  16. package/dist/components/ApplicationForm/ApplicationForm.js +1 -1
  17. package/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
  18. package/dist/components/ApplicationForm/getField.js +1 -1
  19. package/dist/components/ApplicationForm/getField.js.map +1 -1
  20. package/dist/components/Carousel/Carousel.js +8 -3
  21. package/dist/components/Carousel/Carousel.js.map +1 -1
  22. package/dist/components/Carousel/CarouselContent.d.ts +2 -0
  23. package/dist/components/Carousel/renderCarouselCards.d.ts +2 -1
  24. package/dist/components/Carousel/renderCarouselCards.js +3 -1
  25. package/dist/components/Carousel/renderCarouselCards.js.map +1 -1
  26. package/dist/components/ProductBlock/ProductBlock.js +1 -1
  27. package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  28. package/dist/components/ProductBlock/ProductBlockContent.d.ts +2 -1
  29. package/dist/ui-kit/LinkButton/ButtonInner.js +2 -2
  30. package/dist/ui-kit/LinkButton/ButtonInner.js.map +1 -1
  31. package/dist/ui-kit/ResponseTypeDialog/ResponseTypeDialog.d.ts +1 -0
  32. package/dist/ui-kit/ResponseTypeDialog/ResponseTypeDialog.js +7 -2
  33. package/dist/ui-kit/ResponseTypeDialog/ResponseTypeDialog.js.map +1 -1
  34. package/dist/ui-kit/ResponseTypeDialog/useResponseTypeDialog.d.ts +1 -0
  35. package/dist/ui-kit/ResponseTypeDialog/useResponseTypeDialog.js.map +1 -1
  36. package/dist/ui-kit/SwipeListControl/NavButtonProp.d.ts +9 -0
  37. package/dist/ui-kit/SwipeListControl/NavButtonProp.js +2 -0
  38. package/dist/ui-kit/SwipeListControl/NavButtonProp.js.map +1 -0
  39. package/dist/ui-kit/SwipeListControl/SwipeListControl.d.ts +2 -0
  40. package/dist/ui-kit/SwipeListControl/SwipeListControl.js +2 -2
  41. package/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  42. package/dist/ui-kit/SwipeListControl/SwipeListDots.d.ts +8 -3
  43. package/dist/ui-kit/SwipeListControl/SwipeListDots.js +32 -16
  44. package/dist/ui-kit/SwipeListControl/SwipeListDots.js.map +1 -1
  45. package/dist/ui-kit/SwipeListControl/SwipeListScrollButtons.d.ts +1 -0
  46. package/dist/ui-kit/SwipeListControl/SwipeListScrollButtons.js +4 -3
  47. package/dist/ui-kit/SwipeListControl/SwipeListScrollButtons.js.map +1 -1
  48. package/dist/ui-kit/SwipeListControl/renderDotButton.d.ts +3 -0
  49. package/dist/ui-kit/SwipeListControl/renderDotButton.js +13 -0
  50. package/dist/ui-kit/SwipeListControl/renderDotButton.js.map +1 -0
  51. package/dist/ui-kit/SwipeListControl/renderNavButton.d.ts +3 -0
  52. package/dist/ui-kit/SwipeListControl/renderNavButton.js +17 -0
  53. package/dist/ui-kit/SwipeListControl/renderNavButton.js.map +1 -0
  54. package/dist/ui-kit/SwipeListControl/useSwipeListScroll.js +1 -1
  55. package/dist/ui-kit/SwipeListControl/useSwipeListScroll.js.map +1 -1
  56. package/lib/common.css +1 -1
  57. package/lib/components/ApplicationForm/ApplicationForm.js +1 -1
  58. package/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
  59. package/lib/components/ApplicationForm/getField.js +1 -1
  60. package/lib/components/ApplicationForm/getField.js.map +1 -1
  61. package/lib/components/Carousel/Carousel.fixture.d.ts +1 -0
  62. package/lib/components/Carousel/Carousel.fixture.mobile.d.ts +1 -0
  63. package/lib/components/Carousel/Carousel.js +8 -3
  64. package/lib/components/Carousel/Carousel.js.map +1 -1
  65. package/lib/components/Carousel/CarouselContent.d.ts +2 -0
  66. package/lib/components/Carousel/renderCarouselCards.d.ts +2 -1
  67. package/lib/components/Carousel/renderCarouselCards.js +3 -1
  68. package/lib/components/Carousel/renderCarouselCards.js.map +1 -1
  69. package/lib/components/ProductBlock/ProductBlock.js +1 -1
  70. package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  71. package/lib/components/ProductBlock/ProductBlockContent.d.ts +2 -1
  72. package/lib/ui-kit/LinkButton/ButtonInner.js +2 -2
  73. package/lib/ui-kit/LinkButton/ButtonInner.js.map +1 -1
  74. package/lib/ui-kit/ResponseTypeDialog/ResponseTypeDialog.d.ts +1 -0
  75. package/lib/ui-kit/ResponseTypeDialog/ResponseTypeDialog.js +7 -2
  76. package/lib/ui-kit/ResponseTypeDialog/ResponseTypeDialog.js.map +1 -1
  77. package/lib/ui-kit/ResponseTypeDialog/useResponseTypeDialog.d.ts +1 -0
  78. package/lib/ui-kit/ResponseTypeDialog/useResponseTypeDialog.js.map +1 -1
  79. package/lib/ui-kit/SwipeListControl/NavButtonProp.d.ts +9 -0
  80. package/lib/ui-kit/SwipeListControl/NavButtonProp.js +2 -0
  81. package/lib/ui-kit/SwipeListControl/NavButtonProp.js.map +1 -0
  82. package/lib/ui-kit/SwipeListControl/SwipeListControl.d.ts +2 -0
  83. package/lib/ui-kit/SwipeListControl/SwipeListControl.js +2 -2
  84. package/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  85. package/lib/ui-kit/SwipeListControl/SwipeListDots.d.ts +8 -3
  86. package/lib/ui-kit/SwipeListControl/SwipeListDots.js +32 -16
  87. package/lib/ui-kit/SwipeListControl/SwipeListDots.js.map +1 -1
  88. package/lib/ui-kit/SwipeListControl/SwipeListScrollButtons.d.ts +1 -0
  89. package/lib/ui-kit/SwipeListControl/SwipeListScrollButtons.js +4 -3
  90. package/lib/ui-kit/SwipeListControl/SwipeListScrollButtons.js.map +1 -1
  91. package/lib/ui-kit/SwipeListControl/renderDotButton.d.ts +2 -0
  92. package/lib/ui-kit/SwipeListControl/renderDotButton.js +10 -0
  93. package/lib/ui-kit/SwipeListControl/renderDotButton.js.map +1 -0
  94. package/lib/ui-kit/SwipeListControl/renderNavButton.d.ts +2 -0
  95. package/lib/ui-kit/SwipeListControl/renderNavButton.js +14 -0
  96. package/lib/ui-kit/SwipeListControl/renderNavButton.js.map +1 -0
  97. package/lib/ui-kit/SwipeListControl/useSwipeListScroll.js +1 -1
  98. package/lib/ui-kit/SwipeListControl/useSwipeListScroll.js.map +1 -1
  99. package/mobile/bundle/bundle.umd.js +94 -51
  100. package/mobile/bundle/bundle.umd.min.js +1 -1
  101. package/mobile/bundle/components/Carousel/CarouselContent.d.ts +2 -0
  102. package/mobile/bundle/components/Carousel/renderCarouselCards.d.ts +2 -1
  103. package/mobile/bundle/components/ProductBlock/ProductBlockContent.d.ts +2 -1
  104. package/mobile/bundle/ui-kit/ResponseTypeDialog/ResponseTypeDialog.d.ts +1 -0
  105. package/mobile/bundle/ui-kit/ResponseTypeDialog/useResponseTypeDialog.d.ts +1 -0
  106. package/mobile/bundle/ui-kit/SwipeListControl/NavButtonProp.d.ts +9 -0
  107. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListControl.d.ts +2 -0
  108. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListDots.d.ts +8 -3
  109. package/mobile/bundle/ui-kit/SwipeListControl/SwipeListScrollButtons.d.ts +1 -0
  110. package/mobile/bundle/ui-kit/SwipeListControl/renderDotButton.d.ts +3 -0
  111. package/mobile/bundle/ui-kit/SwipeListControl/renderNavButton.d.ts +3 -0
  112. package/mobile/dist/components/ApplicationForm/ApplicationForm.js +1 -1
  113. package/mobile/dist/components/ApplicationForm/ApplicationForm.js.map +1 -1
  114. package/mobile/dist/components/ApplicationForm/getField.js +1 -1
  115. package/mobile/dist/components/ApplicationForm/getField.js.map +1 -1
  116. package/mobile/dist/components/Carousel/Carousel.js +8 -3
  117. package/mobile/dist/components/Carousel/Carousel.js.map +1 -1
  118. package/mobile/dist/components/Carousel/CarouselContent.d.ts +2 -0
  119. package/mobile/dist/components/Carousel/renderCarouselCards.d.ts +2 -1
  120. package/mobile/dist/components/Carousel/renderCarouselCards.js +3 -1
  121. package/mobile/dist/components/Carousel/renderCarouselCards.js.map +1 -1
  122. package/mobile/dist/components/ProductBlock/ProductBlock.js +1 -1
  123. package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
  124. package/mobile/dist/components/ProductBlock/ProductBlockContent.d.ts +2 -1
  125. package/mobile/dist/ui-kit/LinkButton/ButtonInner.js +2 -2
  126. package/mobile/dist/ui-kit/LinkButton/ButtonInner.js.map +1 -1
  127. package/mobile/dist/ui-kit/ResponseTypeDialog/ResponseTypeDialog.d.ts +1 -0
  128. package/mobile/dist/ui-kit/ResponseTypeDialog/ResponseTypeDialog.js +7 -2
  129. package/mobile/dist/ui-kit/ResponseTypeDialog/ResponseTypeDialog.js.map +1 -1
  130. package/mobile/dist/ui-kit/ResponseTypeDialog/useResponseTypeDialog.d.ts +1 -0
  131. package/mobile/dist/ui-kit/ResponseTypeDialog/useResponseTypeDialog.js.map +1 -1
  132. package/mobile/dist/ui-kit/SwipeListControl/NavButtonProp.d.ts +9 -0
  133. package/mobile/dist/ui-kit/SwipeListControl/NavButtonProp.js +2 -0
  134. package/mobile/dist/ui-kit/SwipeListControl/NavButtonProp.js.map +1 -0
  135. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.d.ts +2 -0
  136. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js +2 -2
  137. package/mobile/dist/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  138. package/mobile/dist/ui-kit/SwipeListControl/SwipeListDots.d.ts +8 -3
  139. package/mobile/dist/ui-kit/SwipeListControl/SwipeListDots.js +32 -16
  140. package/mobile/dist/ui-kit/SwipeListControl/SwipeListDots.js.map +1 -1
  141. package/mobile/dist/ui-kit/SwipeListControl/SwipeListScrollButtons.d.ts +1 -0
  142. package/mobile/dist/ui-kit/SwipeListControl/SwipeListScrollButtons.js +4 -3
  143. package/mobile/dist/ui-kit/SwipeListControl/SwipeListScrollButtons.js.map +1 -1
  144. package/mobile/dist/ui-kit/SwipeListControl/renderDotButton.d.ts +3 -0
  145. package/mobile/dist/ui-kit/SwipeListControl/renderDotButton.js +13 -0
  146. package/mobile/dist/ui-kit/SwipeListControl/renderDotButton.js.map +1 -0
  147. package/mobile/dist/ui-kit/SwipeListControl/renderNavButton.d.ts +3 -0
  148. package/mobile/dist/ui-kit/SwipeListControl/renderNavButton.js +17 -0
  149. package/mobile/dist/ui-kit/SwipeListControl/renderNavButton.js.map +1 -0
  150. package/mobile/dist/ui-kit/SwipeListControl/useSwipeListScroll.js +1 -1
  151. package/mobile/dist/ui-kit/SwipeListControl/useSwipeListScroll.js.map +1 -1
  152. package/mobile/lib/common.css +1 -1
  153. package/mobile/lib/components/ApplicationForm/ApplicationForm.js +1 -1
  154. package/mobile/lib/components/ApplicationForm/ApplicationForm.js.map +1 -1
  155. package/mobile/lib/components/ApplicationForm/getField.js +1 -1
  156. package/mobile/lib/components/ApplicationForm/getField.js.map +1 -1
  157. package/mobile/lib/components/Carousel/Carousel.js +8 -3
  158. package/mobile/lib/components/Carousel/Carousel.js.map +1 -1
  159. package/mobile/lib/components/Carousel/CarouselContent.d.ts +2 -0
  160. package/mobile/lib/components/Carousel/renderCarouselCards.d.ts +2 -1
  161. package/mobile/lib/components/Carousel/renderCarouselCards.js +3 -1
  162. package/mobile/lib/components/Carousel/renderCarouselCards.js.map +1 -1
  163. package/mobile/lib/components/ProductBlock/ProductBlock.js +1 -1
  164. package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
  165. package/mobile/lib/components/ProductBlock/ProductBlockContent.d.ts +2 -1
  166. package/mobile/lib/ui-kit/LinkButton/ButtonInner.js +2 -2
  167. package/mobile/lib/ui-kit/LinkButton/ButtonInner.js.map +1 -1
  168. package/mobile/lib/ui-kit/ResponseTypeDialog/ResponseTypeDialog.d.ts +1 -0
  169. package/mobile/lib/ui-kit/ResponseTypeDialog/ResponseTypeDialog.js +7 -2
  170. package/mobile/lib/ui-kit/ResponseTypeDialog/ResponseTypeDialog.js.map +1 -1
  171. package/mobile/lib/ui-kit/ResponseTypeDialog/useResponseTypeDialog.d.ts +1 -0
  172. package/mobile/lib/ui-kit/ResponseTypeDialog/useResponseTypeDialog.js.map +1 -1
  173. package/mobile/lib/ui-kit/SwipeListControl/NavButtonProp.d.ts +9 -0
  174. package/mobile/lib/ui-kit/SwipeListControl/NavButtonProp.js +2 -0
  175. package/mobile/lib/ui-kit/SwipeListControl/NavButtonProp.js.map +1 -0
  176. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.d.ts +2 -0
  177. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js +2 -2
  178. package/mobile/lib/ui-kit/SwipeListControl/SwipeListControl.js.map +1 -1
  179. package/mobile/lib/ui-kit/SwipeListControl/SwipeListDots.d.ts +8 -3
  180. package/mobile/lib/ui-kit/SwipeListControl/SwipeListDots.js +32 -16
  181. package/mobile/lib/ui-kit/SwipeListControl/SwipeListDots.js.map +1 -1
  182. package/mobile/lib/ui-kit/SwipeListControl/SwipeListScrollButtons.d.ts +1 -0
  183. package/mobile/lib/ui-kit/SwipeListControl/SwipeListScrollButtons.js +4 -3
  184. package/mobile/lib/ui-kit/SwipeListControl/SwipeListScrollButtons.js.map +1 -1
  185. package/mobile/lib/ui-kit/SwipeListControl/renderDotButton.d.ts +3 -0
  186. package/mobile/lib/ui-kit/SwipeListControl/renderDotButton.js +10 -0
  187. package/mobile/lib/ui-kit/SwipeListControl/renderDotButton.js.map +1 -0
  188. package/mobile/lib/ui-kit/SwipeListControl/renderNavButton.d.ts +3 -0
  189. package/mobile/lib/ui-kit/SwipeListControl/renderNavButton.js +14 -0
  190. package/mobile/lib/ui-kit/SwipeListControl/renderNavButton.js.map +1 -0
  191. package/mobile/lib/ui-kit/SwipeListControl/useSwipeListScroll.js +1 -1
  192. package/mobile/lib/ui-kit/SwipeListControl/useSwipeListScroll.js.map +1 -1
  193. package/mobile/src/components/ApplicationForm/ApplicationForm.example.json +5 -0
  194. package/mobile/src/components/ApplicationForm/ApplicationForm.tsx +1 -1
  195. package/mobile/src/components/ApplicationForm/getField.tsx +1 -0
  196. package/mobile/src/components/Carousel/Carousel.tsx +28 -17
  197. package/mobile/src/components/Carousel/CarouselContent.ts +2 -0
  198. package/mobile/src/components/Carousel/renderCarouselCards.tsx +8 -1
  199. package/mobile/src/components/ProductBlock/ProductBlock.tsx +7 -2
  200. package/mobile/src/components/ProductBlock/ProductBlockContent.ts +3 -1
  201. package/mobile/src/ui-kit/LinkButton/ButtonInner.tsx +2 -2
  202. package/mobile/src/ui-kit/ResponseTypeDialog/ResponseTypeDialog.tsx +12 -4
  203. package/mobile/src/ui-kit/ResponseTypeDialog/useResponseTypeDialog.tsx +1 -0
  204. package/mobile/src/ui-kit/SwipeListControl/NavButtonProp.ts +11 -0
  205. package/mobile/src/ui-kit/SwipeListControl/SwipeListControl.tsx +7 -1
  206. package/mobile/src/ui-kit/SwipeListControl/SwipeListDots.tsx +69 -46
  207. package/mobile/src/ui-kit/SwipeListControl/SwipeListScrollButtons.tsx +9 -5
  208. package/mobile/src/ui-kit/SwipeListControl/renderDotButton.tsx +29 -0
  209. package/mobile/src/ui-kit/SwipeListControl/renderNavButton.tsx +33 -0
  210. package/mobile/src/ui-kit/SwipeListControl/useSwipeListScroll.ts +1 -1
  211. package/package.json +2 -2
  212. package/src/components/ApplicationForm/ApplicationForm.example.json +5 -0
  213. package/src/components/ApplicationForm/ApplicationForm.fixture.mobile.tsx +5 -0
  214. package/src/components/ApplicationForm/ApplicationForm.fixture.tsx +5 -0
  215. package/src/components/ApplicationForm/ApplicationForm.tsx +1 -1
  216. package/src/components/ApplicationForm/getField.tsx +1 -0
  217. package/src/components/Carousel/Carousel.fixture.mobile.tsx +57 -0
  218. package/src/components/Carousel/Carousel.fixture.tsx +56 -0
  219. package/src/components/Carousel/Carousel.tsx +28 -17
  220. package/src/components/Carousel/CarouselContent.ts +2 -0
  221. package/src/components/Carousel/renderCarouselCards.tsx +8 -1
  222. package/src/components/ProductBlock/ProductBlock.tsx +7 -2
  223. package/src/components/ProductBlock/ProductBlockContent.ts +3 -1
  224. package/src/components/ProductGallery/ProductGallery.fixture.tsx +17 -84
  225. package/src/ui-kit/LinkButton/ButtonInner.tsx +2 -2
  226. package/src/ui-kit/ResponseTypeDialog/ResponseTypeDialog.tsx +12 -4
  227. package/src/ui-kit/ResponseTypeDialog/useResponseTypeDialog.tsx +1 -0
  228. package/src/ui-kit/SwipeListControl/NavButtonProp.ts +11 -0
  229. package/src/ui-kit/SwipeListControl/SwipeListControl.tsx +7 -1
  230. package/src/ui-kit/SwipeListControl/SwipeListDots.tsx +69 -46
  231. package/src/ui-kit/SwipeListControl/SwipeListScrollButtons.tsx +9 -5
  232. package/src/ui-kit/SwipeListControl/renderDotButton.tsx +29 -0
  233. package/src/ui-kit/SwipeListControl/renderNavButton.tsx +33 -0
  234. package/src/ui-kit/SwipeListControl/useSwipeListScroll.ts +1 -1
@@ -412,7 +412,7 @@
412
412
  '': '',
413
413
  };
414
414
  /** @deprecated */
415
- const buttonStyle = 'text-center font-sans select-none';
415
+ const buttonStyle$2 = 'text-center font-sans select-none';
416
416
  /** @deprecated */
417
417
  const iconStyleMap = {
418
418
  primary: 'group-hover/btn:brightness-0 group-hover/btn:invert',
@@ -426,7 +426,7 @@
426
426
 
427
427
  /** @deprecated */
428
428
  const getRegularButtonClasses = ({ className, rounded, version, }) => [
429
- buttonStyle,
429
+ buttonStyle$2,
430
430
  'border border-transparent inline-block cursor-pointer no-underline focus:border-primary-text focus:border h-fit',
431
431
  version ? buttonStyleMap$1[version] : '',
432
432
  rounded ? 'rounded-full' : 'rounded-md',
@@ -527,9 +527,9 @@
527
527
  const ButtonInner = JSX((props) => {
528
528
  const { text, aboveText, appendLeft, appendRight, version = 'primary' } = props;
529
529
  const iconHideStyle = isWithText(props) ? 'hidden lg:block' : '';
530
- return (jsxs("div", { className: style(getButtonStyle(props), 'flex gap-xs'), children: [appendLeft ? (jsx("div", { className: style(iconHideStyle, iconStyleMap[version]), children: appendLeft })) : null, isWithText(props) ? (jsxs("div", { className: "whitespace-pre", children: [aboveText ? jsx("div", { className: "text-xs font-light text-left", children: aboveText }) : null, jsx("div", { className: `text-left ${aboveText ? 'text-s -mt-3xs' : 'text-l'}`, children: text })] })) : null, appendRight ? (jsx("div", { className: style(iconHideStyle, iconStyleMap[version]), children: appendRight })) : null] }));
530
+ return (jsxs("div", { className: style(buttonStyle$1(props), 'flex gap-xs'), children: [appendLeft ? (jsx("div", { className: style(iconHideStyle, iconStyleMap[version]), children: appendLeft })) : null, isWithText(props) ? (jsxs("div", { className: "whitespace-pre", children: [aboveText ? jsx("div", { className: "text-xs font-light text-left", children: aboveText }) : null, jsx("div", { className: `text-left ${aboveText ? 'text-s -mt-3xs' : 'text-l'}`, children: text })] })) : null, appendRight ? (jsx("div", { className: style(iconHideStyle, iconStyleMap[version]), children: appendRight })) : null] }));
531
531
  });
532
- const getButtonStyle = (props) => {
532
+ const buttonStyle$1 = (props) => {
533
533
  const { version, aboveText, rounded } = props;
534
534
  if (version === 'link') {
535
535
  return '';
@@ -544,7 +544,7 @@
544
544
  /** @deprecated */
545
545
  const getDisabledButtonClasses = ({ className, rounded, version, }) => [
546
546
  'inline-block',
547
- buttonStyle,
547
+ buttonStyle$2,
548
548
  version ? buttonDisabledStyleMap[version] : '',
549
549
  rounded ? 'rounded-full' : 'rounded-md',
550
550
  className,
@@ -873,7 +873,7 @@
873
873
  return OutputComponent;
874
874
  }
875
875
 
876
- const ProductBlock = UniBlock(({ className, padding, ...rest }) => (jsx(BlockWrapper, { className: style('overflow-hidden flex flex-col gap-3xl box-border', className), padding: "p-0", ...rest, children: jsx(BaseProductTile, { defaultPadding: "p-6xl", padding: padding, className: "grow h-full", ...rest }) })), { childrenTypes: ['UnitBlock'] });
876
+ const ProductBlock = UniBlock(({ className, padding, defaultPadding, ...rest }) => (jsx(BlockWrapper, { className: style('overflow-hidden flex flex-col gap-3xl box-border', className), padding: "p-0", ...rest, children: jsx(BaseProductTile, { defaultPadding: defaultPadding || 'p-6xl', padding: padding, className: "grow h-full", ...rest }) })), { childrenTypes: ['UnitBlock'] });
877
877
 
878
878
  const AdTile = JSX((props) => {
879
879
  const { items } = (props.options?.page?.adSourceBook ?? {});
@@ -1150,14 +1150,19 @@
1150
1150
  return (jsxs("div", { onClick: onClick, className: style('relative min-h-full bg-white pt-0 p-lg', className), role: "dialog", children: [jsxs("div", { className: "sticky py-xl top-0 bg-white z-10", children: [jsx(CloseButton, { className: "absolute top-0 right-0", onClose: handleClose }), jsx("div", { className: "container", children: head })] }), jsx("div", { className: "container pb-6xl", children: children })] }));
1151
1151
  });
1152
1152
 
1153
- const ResponseTypeDialog = JSX(function ({ responseType }) {
1153
+ const ResponseTypeDialog = JSX(function ({ responseType, typeForm, }) {
1154
1154
  const responseOK = responseType === 'OK';
1155
1155
  const statusIcon = responseOK ? 'ResponseOKIcon' : 'ResponseFailIcon';
1156
1156
  const { close } = useDialogManager();
1157
1157
  const handleClose = useCallback(() => {
1158
1158
  close();
1159
1159
  }, []);
1160
- return (jsx(Dialog, { className: "my-6xl max-w-lg w-full min-h-fit mx-auto ", children: jsxs("div", { className: "flex flex-col gap-lg items-center rounded-md space-x-m", children: [jsx(Img, { image: { icon: statusIcon, iconVersion: 'normal' }, width: "136", height: "136" }), jsx(Headline, { className: "w-full", title: responseOK ? 'Ваша заявка отправлена' : 'Не удалось отправить заявку', description: responseOK ? 'Совсем скоро мы с вами свяжемся' : 'Пожалуйста, повторите позднее', headlineVersion: "XS", isEmbedded: true }), jsx(Button, { type: "button", onClick: handleClose, children: "\u0425\u043E\u0440\u043E\u0448\u043E" })] }) }));
1160
+ const responseOKDescription = typeForm === 'ANTIFRAUD'
1161
+ ? `Сообщение отправлено. Для уточнения информации с Вами могут связаться работники Банка либо Вы
1162
+ можете самостоятельно позвонить по номеру контакт-центра +78001000100. Будьте внимательны, работники Банка
1163
+ не звонят с использованием мессенджеров.`
1164
+ : 'Совсем скоро мы с вами свяжемся';
1165
+ return (jsx(Dialog, { className: "my-6xl max-w-lg w-full min-h-fit mx-auto ", children: jsxs("div", { className: "flex flex-col gap-lg items-center rounded-md space-x-m", children: [jsx(Img, { image: { icon: statusIcon, iconVersion: 'normal' }, width: "136", height: "136" }), jsx(Headline, { className: "w-full", title: responseOK ? 'Ваша заявка отправлена' : 'Не удалось отправить заявку', description: responseOK ? responseOKDescription : 'Пожалуйста, повторите позднее', headlineVersion: "XS", isEmbedded: true }), jsx(Button, { type: "button", onClick: handleClose, children: "\u0425\u043E\u0440\u043E\u0448\u043E" })] }) }));
1161
1166
  });
1162
1167
 
1163
1168
  const useResponseTypeDialog = (props) => {
@@ -1862,7 +1867,7 @@
1862
1867
  name: (jsx(InputControl, { label: "\u0418\u043C\u044F", ...getValidation(field('name'), validatorObj.name, required), ...rest })),
1863
1868
  middleName: (jsx(InputControl, { label: "\u041E\u0442\u0447\u0435\u0441\u0442\u0432\u043E (\u041E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u044C\u043D\u043E, \u043F\u0440\u0438 \u043D\u0430\u043B\u0438\u0447\u0438\u0438)", ...field('middleName') })),
1864
1869
  phone: (jsx(InputPhoneControl, { label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...getValidation(field('phone'), validatorObj.phone, required) })),
1865
- email: (jsx(InputControl, { label: "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", ...getValidation(field('email'), validatorObj.email, required) })),
1870
+ email: (jsx(InputControl, { label: "\u042D\u043B\u0435\u043A\u0442\u0440\u043E\u043D\u043D\u0430\u044F \u043F\u043E\u0447\u0442\u0430", ...getValidation(field('email'), validatorObj.email, required), ...rest })),
1866
1871
  fullName: (jsx(InputControl, { label: "\u0424\u0418\u041E", ...getValidation(field('fullName'), validatorObj.fullName, required), ...rest })),
1867
1872
  inn: (jsx(InputControl, { label: "\u0418\u041D\u041D", type: "number", ...getValidation(field('inn'), validatorObj.inn, required) })),
1868
1873
  comment: jsx(CommentField, { field: field, input: input }),
@@ -1993,7 +1998,7 @@
1993
1998
  const status = (await API.send(formatData, endpoint === 'lead')) ? 'OK' : 'Fail';
1994
1999
  setResponseType(status);
1995
2000
  if (status) {
1996
- const responseTypeDialog = useResponseTypeDialog({ responseType: status });
2001
+ const responseTypeDialog = useResponseTypeDialog({ responseType: status, typeForm });
1997
2002
  responseTypeDialog.open();
1998
2003
  }
1999
2004
  if (status === 'OK' && data) {
@@ -2123,46 +2128,25 @@
2123
2128
  .filter(([_]) => _ && _.intersectionRatio >= 0.9)
2124
2129
  .map(([, i]) => i);
2125
2130
 
2126
- const containerStyles = {
2127
- 'horizontal-list': 'mx-auto mt-lg w-fit',
2128
- 'vertical-list': 'absolute flex-col justify-center h-full top-0 left-4',
2129
- };
2130
2131
  const activeDotStyles = {
2131
2132
  'horizontal-list': 'w-6',
2132
2133
  'vertical-list': 'h-6',
2133
2134
  };
2134
2135
  const dotStyle = 'cursor-pointer rounded-full transition-width duration-300 bg-primary-main group-data-secondary:bg-white';
2135
2136
  const inactiveDotStyle = 'w-2 h-2 opacity-30';
2136
- const SwipeListDots = JSX(({ className = '', containerRef, activeIndex, dotCount = 0, listType = 'horizontal-list', version, }) => {
2137
- const handleClick = (idx) => {
2138
- if (idx !== activeIndex && containerRef?.current) {
2139
- containerRef.current.children[idx]?.scrollIntoView({
2140
- behavior: 'smooth',
2141
- block: 'nearest',
2142
- });
2143
- }
2144
- };
2145
- return dotCount ? (jsx("div", { className: style('flex gap-xs', containerStyles[listType], version ? 'group' : '', className), "data-ver": version, children: Array.from({ length: dotCount })
2146
- .fill(null)
2147
- .map((_, idx) => (jsx("div", { className: `${dotStyle} ${idx === activeIndex ? activeDotStyles[listType] : inactiveDotStyle}`, role: "button", "aria-hidden": true, onClick: () => handleClick(idx) }, String(idx)))) })) : null;
2148
- });
2137
+ const renderDotButton = ({ activeIndex, onClick, listType = 'horizontal-list' }) => (_, idx) => (jsx("div", { className: style(dotStyle, idx === activeIndex ? activeDotStyles[listType] : inactiveDotStyle), role: "button", "aria-hidden": true, onClick: () => onClick(idx) }, String(idx)));
2149
2138
 
2150
- /** @deprecated */
2151
- const ArrowButton = JSX(({ className, disabled, ...rest }) => (jsx(LinkButton, { rounded: true, className: style('group/btn w-12 h-12 min-h-12 max-h-12 flex items-center justify-center shadow-main-black', disabled
2152
- ? 'bg-secondary-light text-secondary-text'
2153
- : 'bg-white text-primary-text hover:text-primary-main', className || ''), disabled: disabled, ...rest, children: jsx(Img, { className: "w-4 h-4 min-w-4 min-h-4 rounded-full box-border", image: { icon: 'ArrowLeftIcon', iconVersion: 'black' }, imageClassName: "group-hover/btn:text-primary-main", width: "16", height: "16" }) })));
2154
- /** @deprecated */
2155
- const ScrollLeftButton = JSX((props) => (jsx(ArrowButton, { ...props, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043B\u0435\u0432\u043E", "data-block-control": "scroll-left" })));
2156
- /** @deprecated */
2157
- const ScrollRightButton = JSX((props) => (jsx(ArrowButton, { ...props, className: `${props.className || ''} rotate-180`, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043F\u0440\u0430\u0432\u043E", "data-block-control": "scroll-right" })));
2158
-
2159
- const scrollButtonStyle$2 = 'absolute top-[calc(50%-24px)] z-40';
2160
- const blurBaseStyle = 'absolute top-0 bottom-0 z-40 hidden @lg:block w-20 pointer-events-none';
2161
- const SwipeListScrollButtons = JSX(({ className, scroll, hasBlur, arrowsPadded }) => {
2162
- const { canScrollLeft, canScrollRight, scrollLeft, scrollRight } = scroll;
2163
- return (jsxs("div", { className: style(className), children: [hasBlur ? renderBlur(scroll) : null, canScrollLeft ? (jsx(ScrollLeftButton, { className: style(scrollButtonStyle$2, arrowsPadded ? 'left-1' : 'left-0'), onClick: scrollLeft })) : null, canScrollRight ? (jsx(ScrollRightButton, { className: style(scrollButtonStyle$2, arrowsPadded ? 'right-1' : 'right-0'), onClick: scrollRight })) : null] }));
2164
- });
2165
- const renderBlur = (scroll) => (jsxs("div", { children: [scroll.canScrollLeft ? (jsx("div", { className: style(blurBaseStyle, 'left-0 bg-opacity-from-white group-data-secondary:bg-none') })) : null, scroll.canScrollRight ? (jsx("div", { className: style(blurBaseStyle, 'right-0 bg-opacity-to-white group-data-secondary:bg-none') })) : null] }));
2139
+ const renderNavButton$3 = ({ activeIndex, onClick }) => (nav, i) => {
2140
+ const isActive = i === activeIndex;
2141
+ const btnClassName = isActive
2142
+ ? 'min-w-[350px] bg-white shadow-dark-blue border-none p-6'
2143
+ : 'min-w-72 ease-in duration-300 bg-white/10 px-xl py-lg hover:backdrop-blur';
2144
+ const btnTitleClassName = isActive
2145
+ ? 'text-primary-text text-h6 py-xs'
2146
+ : 'text-l pb-2xs text-secondary-text group-data-secondary:text-white';
2147
+ const btnDescClassName = isActive ? 'text-l' : 'text-m group-data-secondary:text-white/80';
2148
+ return (jsxs("button", { type: "button", onClick: () => onClick(i), "aria-label": nav?.title, className: style('max-h-28 mt-xs ml-xs relative px-xl box-border overflow-hidden text-left grow basis-0 border border-gray group-data-secondary:border-white/50 whitespace-nowrap', btnClassName), children: [jsx("div", { className: btnTitleClassName, children: nav?.title }), jsx("div", { className: style('text-secondary-text font-light', btnDescClassName), children: nav?.description })] }, String(i)));
2149
+ };
2166
2150
 
2167
2151
  const areArraysEqual = (as, bs) => as === bs || Boolean(as && bs && as?.length === bs?.length && as.every((_, i) => _ === bs[i]));
2168
2152
 
@@ -2192,7 +2176,7 @@
2192
2176
  const handleVisibleIndicesChange = useCallback((indices) => {
2193
2177
  setVisibleIndices((prevIndices) => areArraysEqual(prevIndices, indices) ? prevIndices : indices);
2194
2178
  onVisibleIndicesChange && onVisibleIndicesChange(indices);
2195
- }, [itemCount]);
2179
+ }, [onVisibleIndicesChange]);
2196
2180
  const [minIndex, maxIndex] = visibleIndices.length
2197
2181
  ? [minBy()(visibleIndices), maxBy()(visibleIndices)]
2198
2182
  : [-1, -1];
@@ -2243,6 +2227,58 @@
2243
2227
  ];
2244
2228
  };
2245
2229
 
2230
+ const containerStyles = {
2231
+ 'horizontal-list': 'mx-auto mt-lg w-fit',
2232
+ 'vertical-list': 'absolute flex-col justify-center h-full top-0 left-4',
2233
+ };
2234
+ const SwipeListDots = JSX(({ className = '', activeIndex = 0, dotCount = 0, listType = 'horizontal-list', version, navButtons = [], containerRef, containerScroll, }) => {
2235
+ const isMobileMode = useMobileMode();
2236
+ const [navRef, navScroll] = useSwipeListScroll({
2237
+ itemCount: navButtons.length,
2238
+ });
2239
+ const scrollOption = getOptions(Boolean(navButtons?.length));
2240
+ useEffect(() => {
2241
+ if (navButtons?.length && activeIndex >= 0 && navRef?.current) {
2242
+ navScroll.scrollTo(activeIndex, scrollOption);
2243
+ }
2244
+ }, [activeIndex]);
2245
+ const onChangeActiveIndex = useCallback((idx) => {
2246
+ if (idx !== activeIndex && containerRef?.current) {
2247
+ containerScroll?.scrollTo(idx, scrollOption);
2248
+ }
2249
+ }, [containerRef?.current]);
2250
+ if (navButtons?.length && !isMobileMode) {
2251
+ return (jsx(SwipeListContainer, { containerRef: navRef, snapAlign: "snap-start", itemClassName: "h-36 flex items-stretch w-screen", gap: 8, children: navButtons.map(renderNavButton$3({ activeIndex, onClick: onChangeActiveIndex })) }));
2252
+ }
2253
+ else if (dotCount) {
2254
+ return (jsx("div", { className: style('flex gap-xs', containerStyles[listType], version ? 'group' : '', className, { 'pb-xl': navButtons?.length && isMobileMode }), "data-ver": version, children: Array.from({ length: dotCount })
2255
+ .fill(null)
2256
+ .map(renderDotButton({ activeIndex, onClick: onChangeActiveIndex, listType })) }));
2257
+ }
2258
+ return null;
2259
+ });
2260
+ const getOptions = (isAuto = false) => ({
2261
+ behavior: isAuto ? 'auto' : 'smooth',
2262
+ });
2263
+
2264
+ /** @deprecated */
2265
+ const ArrowButton = JSX(({ className, disabled, ...rest }) => (jsx(LinkButton, { rounded: true, className: style('group/btn w-12 h-12 min-h-12 max-h-12 flex items-center justify-center shadow-main-black', disabled
2266
+ ? 'bg-secondary-light text-secondary-text'
2267
+ : 'bg-white text-primary-text hover:text-primary-main', className || ''), disabled: disabled, ...rest, children: jsx(Img, { className: "w-4 h-4 min-w-4 min-h-4 rounded-full box-border", image: { icon: 'ArrowLeftIcon', iconVersion: 'black' }, imageClassName: "group-hover/btn:text-primary-main", width: "16", height: "16" }) })));
2268
+ /** @deprecated */
2269
+ const ScrollLeftButton = JSX((props) => (jsx(ArrowButton, { ...props, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043B\u0435\u0432\u043E", "data-block-control": "scroll-left" })));
2270
+ /** @deprecated */
2271
+ const ScrollRightButton = JSX((props) => (jsx(ArrowButton, { ...props, className: `${props.className || ''} rotate-180`, ariaLabel: "\u041F\u0440\u043E\u043B\u0438\u0441\u0442\u0430\u0442\u044C \u0432\u043F\u0440\u0430\u0432\u043E", "data-block-control": "scroll-right" })));
2272
+
2273
+ const blurBaseStyle = 'absolute top-0 bottom-0 z-40 hidden @lg:block w-20 pointer-events-none';
2274
+ const SwipeListScrollButtons = JSX(({ className, scroll, hasBlur, arrowsPadded, isBottom }) => {
2275
+ const { canScrollLeft, canScrollRight, scrollLeft, scrollRight } = scroll;
2276
+ const isArrowPadded = arrowsPadded && !isBottom;
2277
+ return (jsxs("div", { className: className, children: [hasBlur ? renderBlur(scroll) : null, canScrollLeft ? (jsx(ScrollLeftButton, { className: style(buttonStyle(isBottom), isArrowPadded ? 'left-1' : 'left-0'), onClick: scrollLeft })) : null, canScrollRight ? (jsx(ScrollRightButton, { className: style(buttonStyle(isBottom), isArrowPadded ? 'right-1' : 'right-0'), onClick: scrollRight })) : null] }));
2278
+ });
2279
+ const renderBlur = (scroll) => (jsxs("div", { children: [scroll.canScrollLeft ? (jsx("div", { className: style(blurBaseStyle, 'left-0 bg-opacity-from-white group-data-secondary:bg-none') })) : null, scroll.canScrollRight ? (jsx("div", { className: style(blurBaseStyle, 'right-0 bg-opacity-to-white group-data-secondary:bg-none') })) : null] }));
2280
+ const buttonStyle = (isBottom = false) => style('absolute z-40', isBottom ? 'bottom-[56px]' : 'top-[calc(50%-24px)]');
2281
+
2246
2282
  const DEFAULT_GAP = 14;
2247
2283
  /*
2248
2284
  Horizontal padding used on a container above SwipeListControl.
@@ -2250,14 +2286,14 @@
2250
2286
  and get rid of a clipping effect caused by overflow: hidden.
2251
2287
  */
2252
2288
  const DEFAULT_PADDING = 16;
2253
- const SwipeListControl = JSX(({ className, version, gap = DEFAULT_GAP, padding = DEFAULT_PADDING, visibleItemCount = 1, listType = 'horizontal-list', snapAlign, minHeight, showArrows, hasBlur, arrowsPadded, showDots, children, onVisibleIndicesChange, }) => {
2289
+ const SwipeListControl = JSX(({ className, version, gap = DEFAULT_GAP, padding = DEFAULT_PADDING, visibleItemCount = 1, listType = 'horizontal-list', snapAlign, minHeight, showArrows, hasBlur, arrowsPadded, showDots, children, onVisibleIndicesChange, navButtons, }) => {
2254
2290
  const itemCount = Array.isArray(children) ? children.length : 0;
2255
2291
  const [containerRef, scroll] = useSwipeListScroll({
2256
2292
  itemCount,
2257
2293
  onVisibleIndicesChange,
2258
2294
  });
2259
2295
  const [activeIndex] = scroll.visibleIndicesRange;
2260
- return (jsxs("div", { className: style(className, listType === 'vertical-list' ? 'relative h-full' : ''), children: [jsx(SwipeListContainer, { containerRef: containerRef, activeIndex: activeIndex, visibleItemCount: visibleItemCount, gap: gap, padding: padding, listType: listType, snapAlign: snapAlign, minHeight: minHeight, onVisibleIndicesChange: scroll.handleVisibleIndicesChange, children: children }), jsx(SwipeListScrollButtons, { className: style(!showArrows && 'hidden lg:block'), scroll: scroll, hasBlur: hasBlur, arrowsPadded: arrowsPadded }), jsx(SwipeListDots, { className: style(!showDots && 'lg:hidden'), containerRef: containerRef, activeIndex: activeIndex, dotCount: itemCount, listType: listType, version: version })] }));
2296
+ return (jsxs("div", { className: style(className, listType === 'vertical-list' ? 'relative h-full' : ''), children: [jsx(SwipeListContainer, { containerRef: containerRef, activeIndex: activeIndex, visibleItemCount: visibleItemCount, gap: gap, padding: padding, listType: listType, snapAlign: snapAlign, minHeight: minHeight, onVisibleIndicesChange: scroll.handleVisibleIndicesChange, children: children }), jsx(SwipeListScrollButtons, { className: style(!showArrows && 'hidden lg:block'), scroll: scroll, hasBlur: hasBlur, arrowsPadded: arrowsPadded, isBottom: Boolean(navButtons?.length) }), jsx(SwipeListDots, { className: style(!showDots && 'lg:hidden'), activeIndex: activeIndex, dotCount: itemCount, listType: listType, version: version, navButtons: navButtons, containerRef: containerRef, containerScroll: scroll })] }));
2261
2297
  });
2262
2298
 
2263
2299
  const renderCarouselBlocks = ({ blocksToRender, ...rest }) => (jsx(SwipeListControl, { visibleItemCount: 0, gap: 0, arrowsPadded: true, children: renderBlocksList(blocksToRender, {
@@ -3456,9 +3492,10 @@
3456
3492
  normal: 'lg:min-w-80 xl:min-w-96',
3457
3493
  big: 'lg:min-w-[515px]',
3458
3494
  };
3459
- const renderCarouselCards = ({ noCardBorder, cardSize = 'normal', ...rest }) => {
3495
+ const renderCarouselCards = ({ noCardBorder, cardSize = 'normal', isNavButtons = false, ...rest }) => {
3460
3496
  const { blocks: childBlocks } = rest.block || {};
3461
3497
  const someCardsHighlighted = childBlocks?.some(isCardHighlighted);
3498
+ const defaultPadding = isNavButtons ? { defaultPadding: 'p-6xl pb-m' } : {};
3462
3499
  return renderChildren({
3463
3500
  ...rest,
3464
3501
  renderProps: (block, options, blockIndex) => (jsxs("div", { className: cardWrapperStyle(block, { someCardsHighlighted }), children: [renderBlock$1(block, options, {
@@ -3467,6 +3504,7 @@
3467
3504
  showBorder: !noCardBorder,
3468
3505
  cardSize,
3469
3506
  }),
3507
+ ...defaultPadding,
3470
3508
  blockIndex,
3471
3509
  }), isCardHighlighted(block)
3472
3510
  ? renderCardHighlight({ className: 'absolute top-0 -right-4 z-40' })
@@ -3480,9 +3518,7 @@
3480
3518
 
3481
3519
  const VISIBLE_ITEM_COUNT = 1;
3482
3520
 
3483
- const Carousel = UniBlock(({ className, visibleItemCount = VISIBLE_ITEM_COUNT, noCardBorder, arrowsPadded = true, isGap = true, cardSize = 'normal', ...rest }) => {
3484
- return (jsx(BlockWrapper, { className: style(className), defaultPadding: "p-6xl", ...rest, children: jsx(SwipeListControl, { className: style('relative max-w-full'), visibleItemCount: visibleItemCount, snapAlign: "snap-start", gap: isGap ? ITEMS_GAP : 0, padding: 0, arrowsPadded: arrowsPadded, hasBlur: true, children: renderCarouselCards({ noCardBorder, cardSize, ...rest }) }) }));
3485
- }, {
3521
+ const Carousel = UniBlock(({ className, visibleItemCount = VISIBLE_ITEM_COUNT, noCardBorder, arrowsPadded = true, isGap = true, cardSize = 'normal', isNavButtons = false, ...rest }) => (jsx(BlockWrapper, { className: style(className), defaultPadding: "p-6xl", ...rest, children: jsx(SwipeListControl, { className: style('relative max-w-full'), visibleItemCount: visibleItemCount, snapAlign: "snap-start", gap: isGap ? ITEMS_GAP : 0, padding: 0, arrowsPadded: arrowsPadded, navButtons: isNavButtons ? getNavButton(rest?.block?.blocks) : [], hasBlur: true, children: renderCarouselCards({ noCardBorder, cardSize, isNavButtons, ...rest }) }) })), {
3486
3522
  childrenTypes: [
3487
3523
  'CarouselCard',
3488
3524
  'CarouselCatalogCard',
@@ -3498,6 +3534,13 @@
3498
3534
  },
3499
3535
  }),
3500
3536
  });
3537
+ const getNavButton = (blocks) => blocks?.map((_) => {
3538
+ const content = _?.content;
3539
+ return {
3540
+ title: content?.title,
3541
+ description: content?.additionalDescription || content?.description,
3542
+ };
3543
+ }) ?? [];
3501
3544
 
3502
3545
  const titleSize = 'XS';
3503
3546
 
@@ -6461,7 +6504,7 @@
6461
6504
  slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
6462
6505
  });
6463
6506
 
6464
- const packageVersion = "0.14.533";
6507
+ const packageVersion = "0.14.535";
6465
6508
 
6466
6509
  exports.Blocks = Blocks;
6467
6510
  exports.ContentPage = ContentPage;