@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
@@ -420,7 +420,7 @@
420
420
  '': '',
421
421
  };
422
422
  /** @deprecated */
423
- const buttonStyle = 'text-center font-sans select-none';
423
+ const buttonStyle$2 = 'text-center font-sans select-none';
424
424
  /** @deprecated */
425
425
  const iconStyleMap = {
426
426
  primary: 'group-hover/btn:brightness-0 group-hover/btn:invert',
@@ -434,7 +434,7 @@
434
434
 
435
435
  /** @deprecated */
436
436
  const getRegularButtonClasses = ({ className, rounded, version, }) => [
437
- buttonStyle,
437
+ buttonStyle$2,
438
438
  'border border-transparent inline-block cursor-pointer no-underline focus:border-primary-text focus:border h-fit',
439
439
  version ? buttonStyleMap$1[version] : '',
440
440
  rounded ? 'rounded-full' : 'rounded-md',
@@ -535,9 +535,9 @@
535
535
  const ButtonInner = JSX((props) => {
536
536
  const { text, aboveText, appendLeft, appendRight, version = 'primary' } = props;
537
537
  const iconHideStyle = isWithText(props) ? 'hidden lg:block' : '';
538
- 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] }));
538
+ 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] }));
539
539
  });
540
- const getButtonStyle = (props) => {
540
+ const buttonStyle$1 = (props) => {
541
541
  const { version, aboveText, rounded } = props;
542
542
  if (version === 'link') {
543
543
  return '';
@@ -552,7 +552,7 @@
552
552
  /** @deprecated */
553
553
  const getDisabledButtonClasses = ({ className, rounded, version, }) => [
554
554
  'inline-block',
555
- buttonStyle,
555
+ buttonStyle$2,
556
556
  version ? buttonDisabledStyleMap[version] : '',
557
557
  rounded ? 'rounded-full' : 'rounded-md',
558
558
  className,
@@ -881,7 +881,7 @@
881
881
  return OutputComponent;
882
882
  }
883
883
 
884
- 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'] });
884
+ 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'] });
885
885
 
886
886
  const AdTile = JSX((props) => {
887
887
  const { items } = (props.options?.page?.adSourceBook ?? {});
@@ -1158,14 +1158,19 @@
1158
1158
  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 })] }));
1159
1159
  });
1160
1160
 
1161
- const ResponseTypeDialog = JSX(function ({ responseType }) {
1161
+ const ResponseTypeDialog = JSX(function ({ responseType, typeForm, }) {
1162
1162
  const responseOK = responseType === 'OK';
1163
1163
  const statusIcon = responseOK ? 'ResponseOKIcon' : 'ResponseFailIcon';
1164
1164
  const { close } = useDialogManager();
1165
1165
  const handleClose = useCallback(() => {
1166
1166
  close();
1167
1167
  }, []);
1168
- 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" })] }) }));
1168
+ const responseOKDescription = typeForm === 'ANTIFRAUD'
1169
+ ? `Сообщение отправлено. Для уточнения информации с Вами могут связаться работники Банка либо Вы
1170
+ можете самостоятельно позвонить по номеру контакт-центра +78001000100. Будьте внимательны, работники Банка
1171
+ не звонят с использованием мессенджеров.`
1172
+ : 'Совсем скоро мы с вами свяжемся';
1173
+ 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" })] }) }));
1169
1174
  });
1170
1175
 
1171
1176
  const useResponseTypeDialog = (props) => {
@@ -1870,7 +1875,7 @@
1870
1875
  name: (jsx(InputControl, { label: "\u0418\u043C\u044F", ...getValidation(field('name'), validatorObj.name, required), ...rest })),
1871
1876
  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') })),
1872
1877
  phone: (jsx(InputPhoneControl, { label: "\u0422\u0435\u043B\u0435\u0444\u043E\u043D", ...getValidation(field('phone'), validatorObj.phone, required) })),
1873
- 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) })),
1878
+ 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 })),
1874
1879
  fullName: (jsx(InputControl, { label: "\u0424\u0418\u041E", ...getValidation(field('fullName'), validatorObj.fullName, required), ...rest })),
1875
1880
  inn: (jsx(InputControl, { label: "\u0418\u041D\u041D", type: "number", ...getValidation(field('inn'), validatorObj.inn, required) })),
1876
1881
  comment: jsx(CommentField, { field: field, input: input }),
@@ -2001,7 +2006,7 @@
2001
2006
  const status = (await API.send(formatData, endpoint === 'lead')) ? 'OK' : 'Fail';
2002
2007
  setResponseType(status);
2003
2008
  if (status) {
2004
- const responseTypeDialog = useResponseTypeDialog({ responseType: status });
2009
+ const responseTypeDialog = useResponseTypeDialog({ responseType: status, typeForm });
2005
2010
  responseTypeDialog.open();
2006
2011
  }
2007
2012
  if (status === 'OK' && data) {
@@ -2131,46 +2136,25 @@
2131
2136
  .filter(([_]) => _ && _.intersectionRatio >= 0.9)
2132
2137
  .map(([, i]) => i);
2133
2138
 
2134
- const containerStyles = {
2135
- 'horizontal-list': 'mx-auto mt-lg w-fit',
2136
- 'vertical-list': 'absolute flex-col justify-center h-full top-0 left-4',
2137
- };
2138
2139
  const activeDotStyles = {
2139
2140
  'horizontal-list': 'w-6',
2140
2141
  'vertical-list': 'h-6',
2141
2142
  };
2142
2143
  const dotStyle = 'cursor-pointer rounded-full transition-width duration-300 bg-primary-main group-data-secondary:bg-white';
2143
2144
  const inactiveDotStyle = 'w-2 h-2 opacity-30';
2144
- const SwipeListDots = JSX(({ className = '', containerRef, activeIndex, dotCount = 0, listType = 'horizontal-list', version, }) => {
2145
- const handleClick = (idx) => {
2146
- if (idx !== activeIndex && containerRef?.current) {
2147
- containerRef.current.children[idx]?.scrollIntoView({
2148
- behavior: 'smooth',
2149
- block: 'nearest',
2150
- });
2151
- }
2152
- };
2153
- return dotCount ? (jsx("div", { className: style('flex gap-xs', containerStyles[listType], version ? 'group' : '', className), "data-ver": version, children: Array.from({ length: dotCount })
2154
- .fill(null)
2155
- .map((_, idx) => (jsx("div", { className: `${dotStyle} ${idx === activeIndex ? activeDotStyles[listType] : inactiveDotStyle}`, role: "button", "aria-hidden": true, onClick: () => handleClick(idx) }, String(idx)))) })) : null;
2156
- });
2157
-
2158
- /** @deprecated */
2159
- 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
2160
- ? 'bg-secondary-light text-secondary-text'
2161
- : '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" }) })));
2162
- /** @deprecated */
2163
- 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" })));
2164
- /** @deprecated */
2165
- 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" })));
2145
+ 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)));
2166
2146
 
2167
- const scrollButtonStyle$1 = 'absolute top-[calc(50%-24px)] z-40';
2168
- const blurBaseStyle = 'absolute top-0 bottom-0 z-40 hidden @lg:block w-20 pointer-events-none';
2169
- const SwipeListScrollButtons = JSX(({ className, scroll, hasBlur, arrowsPadded }) => {
2170
- const { canScrollLeft, canScrollRight, scrollLeft, scrollRight } = scroll;
2171
- return (jsxs("div", { className: style(className), children: [hasBlur ? renderBlur(scroll) : null, canScrollLeft ? (jsx(ScrollLeftButton, { className: style(scrollButtonStyle$1, arrowsPadded ? 'left-1' : 'left-0'), onClick: scrollLeft })) : null, canScrollRight ? (jsx(ScrollRightButton, { className: style(scrollButtonStyle$1, arrowsPadded ? 'right-1' : 'right-0'), onClick: scrollRight })) : null] }));
2172
- });
2173
- 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] }));
2147
+ const renderNavButton = ({ activeIndex, onClick }) => (nav, i) => {
2148
+ const isActive = i === activeIndex;
2149
+ const btnClassName = isActive
2150
+ ? 'min-w-[350px] bg-white shadow-dark-blue border-none p-6'
2151
+ : 'min-w-72 ease-in duration-300 bg-white/10 px-xl py-lg hover:backdrop-blur';
2152
+ const btnTitleClassName = isActive
2153
+ ? 'text-primary-text text-h6 py-xs'
2154
+ : 'text-l pb-2xs text-secondary-text group-data-secondary:text-white';
2155
+ const btnDescClassName = isActive ? 'text-l' : 'text-m group-data-secondary:text-white/80';
2156
+ 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)));
2157
+ };
2174
2158
 
2175
2159
  const areArraysEqual = (as, bs) => as === bs || Boolean(as && bs && as?.length === bs?.length && as.every((_, i) => _ === bs[i]));
2176
2160
 
@@ -2200,7 +2184,7 @@
2200
2184
  const handleVisibleIndicesChange = useCallback((indices) => {
2201
2185
  setVisibleIndices((prevIndices) => areArraysEqual(prevIndices, indices) ? prevIndices : indices);
2202
2186
  onVisibleIndicesChange && onVisibleIndicesChange(indices);
2203
- }, [itemCount]);
2187
+ }, [onVisibleIndicesChange]);
2204
2188
  const [minIndex, maxIndex] = visibleIndices.length
2205
2189
  ? [minBy()(visibleIndices), maxBy()(visibleIndices)]
2206
2190
  : [-1, -1];
@@ -2251,6 +2235,58 @@
2251
2235
  ];
2252
2236
  };
2253
2237
 
2238
+ const containerStyles = {
2239
+ 'horizontal-list': 'mx-auto mt-lg w-fit',
2240
+ 'vertical-list': 'absolute flex-col justify-center h-full top-0 left-4',
2241
+ };
2242
+ const SwipeListDots = JSX(({ className = '', activeIndex = 0, dotCount = 0, listType = 'horizontal-list', version, navButtons = [], containerRef, containerScroll, }) => {
2243
+ const isMobileMode = useMobileMode();
2244
+ const [navRef, navScroll] = useSwipeListScroll({
2245
+ itemCount: navButtons.length,
2246
+ });
2247
+ const scrollOption = getOptions(Boolean(navButtons?.length));
2248
+ useEffect(() => {
2249
+ if (navButtons?.length && activeIndex >= 0 && navRef?.current) {
2250
+ navScroll.scrollTo(activeIndex, scrollOption);
2251
+ }
2252
+ }, [activeIndex]);
2253
+ const onChangeActiveIndex = useCallback((idx) => {
2254
+ if (idx !== activeIndex && containerRef?.current) {
2255
+ containerScroll?.scrollTo(idx, scrollOption);
2256
+ }
2257
+ }, [containerRef?.current]);
2258
+ if (navButtons?.length && !isMobileMode) {
2259
+ return (jsx(SwipeListContainer, { containerRef: navRef, snapAlign: "snap-start", itemClassName: "h-36 flex items-stretch w-screen", gap: 8, children: navButtons.map(renderNavButton({ activeIndex, onClick: onChangeActiveIndex })) }));
2260
+ }
2261
+ else if (dotCount) {
2262
+ 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 })
2263
+ .fill(null)
2264
+ .map(renderDotButton({ activeIndex, onClick: onChangeActiveIndex, listType })) }));
2265
+ }
2266
+ return null;
2267
+ });
2268
+ const getOptions = (isAuto = false) => ({
2269
+ behavior: isAuto ? 'auto' : 'smooth',
2270
+ });
2271
+
2272
+ /** @deprecated */
2273
+ 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
2274
+ ? 'bg-secondary-light text-secondary-text'
2275
+ : '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" }) })));
2276
+ /** @deprecated */
2277
+ 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" })));
2278
+ /** @deprecated */
2279
+ 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" })));
2280
+
2281
+ const blurBaseStyle = 'absolute top-0 bottom-0 z-40 hidden @lg:block w-20 pointer-events-none';
2282
+ const SwipeListScrollButtons = JSX(({ className, scroll, hasBlur, arrowsPadded, isBottom }) => {
2283
+ const { canScrollLeft, canScrollRight, scrollLeft, scrollRight } = scroll;
2284
+ const isArrowPadded = arrowsPadded && !isBottom;
2285
+ 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] }));
2286
+ });
2287
+ 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] }));
2288
+ const buttonStyle = (isBottom = false) => style('absolute z-40', isBottom ? 'bottom-[56px]' : 'top-[calc(50%-24px)]');
2289
+
2254
2290
  const DEFAULT_GAP = 14;
2255
2291
  /*
2256
2292
  Horizontal padding used on a container above SwipeListControl.
@@ -2258,14 +2294,14 @@
2258
2294
  and get rid of a clipping effect caused by overflow: hidden.
2259
2295
  */
2260
2296
  const DEFAULT_PADDING = 16;
2261
- const SwipeListControl = JSX(({ className, version, gap = DEFAULT_GAP, padding = DEFAULT_PADDING, visibleItemCount = 1, listType = 'horizontal-list', snapAlign, minHeight, showArrows, hasBlur, arrowsPadded, showDots, children, onVisibleIndicesChange, }) => {
2297
+ 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, }) => {
2262
2298
  const itemCount = Array.isArray(children) ? children.length : 0;
2263
2299
  const [containerRef, scroll] = useSwipeListScroll({
2264
2300
  itemCount,
2265
2301
  onVisibleIndicesChange,
2266
2302
  });
2267
2303
  const [activeIndex] = scroll.visibleIndicesRange;
2268
- 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 })] }));
2304
+ 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 })] }));
2269
2305
  });
2270
2306
 
2271
2307
  const renderCarouselBlocks = ({ blocksToRender, ...rest }) => (jsx(SwipeListControl, { visibleItemCount: 0, gap: 0, arrowsPadded: true, children: renderBlocksList(blocksToRender, {
@@ -3452,9 +3488,10 @@
3452
3488
  normal: 'lg:min-w-80 xl:min-w-96',
3453
3489
  big: 'lg:min-w-[515px]',
3454
3490
  };
3455
- const renderCarouselCards = ({ noCardBorder, cardSize = 'normal', ...rest }) => {
3491
+ const renderCarouselCards = ({ noCardBorder, cardSize = 'normal', isNavButtons = false, ...rest }) => {
3456
3492
  const { blocks: childBlocks } = rest.block || {};
3457
3493
  const someCardsHighlighted = childBlocks?.some(isCardHighlighted);
3494
+ const defaultPadding = isNavButtons ? { defaultPadding: 'p-6xl pb-m' } : {};
3458
3495
  return renderChildren({
3459
3496
  ...rest,
3460
3497
  renderProps: (block, options, blockIndex) => (jsxs("div", { className: cardWrapperStyle(block, { someCardsHighlighted }), children: [renderBlock$1(block, options, {
@@ -3463,6 +3500,7 @@
3463
3500
  showBorder: !noCardBorder,
3464
3501
  cardSize,
3465
3502
  }),
3503
+ ...defaultPadding,
3466
3504
  blockIndex,
3467
3505
  }), isCardHighlighted(block)
3468
3506
  ? renderCardHighlight({ className: 'absolute top-0 -right-4 z-40' })
@@ -3476,9 +3514,7 @@
3476
3514
 
3477
3515
  const VISIBLE_ITEM_COUNT = 0;
3478
3516
 
3479
- const Carousel = UniBlock(({ className, visibleItemCount = VISIBLE_ITEM_COUNT, noCardBorder, arrowsPadded = true, isGap = true, cardSize = 'normal', ...rest }) => {
3480
- 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 }) }) }));
3481
- }, {
3517
+ 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 }) }) })), {
3482
3518
  childrenTypes: [
3483
3519
  'CarouselCard',
3484
3520
  'CarouselCatalogCard',
@@ -3494,6 +3530,13 @@
3494
3530
  },
3495
3531
  }),
3496
3532
  });
3533
+ const getNavButton = (blocks) => blocks?.map((_) => {
3534
+ const content = _?.content;
3535
+ return {
3536
+ title: content?.title,
3537
+ description: content?.additionalDescription || content?.description,
3538
+ };
3539
+ }) ?? [];
3497
3540
 
3498
3541
  const titleSize = 'XS';
3499
3542
 
@@ -6089,7 +6132,7 @@
6089
6132
  slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
6090
6133
  });
6091
6134
 
6092
- const packageVersion = "0.14.533";
6135
+ const packageVersion = "0.14.535";
6093
6136
 
6094
6137
  exports.Blocks = Blocks;
6095
6138
  exports.ContentPage = ContentPage;