@redneckz/wildless-cms-uni-blocks 0.14.251 → 0.14.253

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 (79) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +5 -4
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/bundle/components/ImgBlock/ImgBlockContent.d.ts +4 -1
  5. package/dist/components/ImgBlock/ImgBlock.js +5 -2
  6. package/dist/components/ImgBlock/ImgBlock.js.map +1 -1
  7. package/dist/components/ImgBlock/ImgBlockContent.d.ts +4 -1
  8. package/dist/components/StickyBottomMenu/ActiveSubMenuItem.js +1 -1
  9. package/dist/components/StickyBottomMenu/ActiveSubMenuItem.js.map +1 -1
  10. package/dist/components/StickyBottomMenu/BurgerMenuDialog.js +4 -10
  11. package/dist/components/StickyBottomMenu/BurgerMenuDialog.js.map +1 -1
  12. package/dist/components/StickyBottomMenu/StickyBottomMenu.mobile.js +1 -1
  13. package/dist/components/StickyBottomMenu/StickyBottomMenu.mobile.js.map +1 -1
  14. package/dist/components/StickyBottomMenu/TopItemMobile.js +1 -1
  15. package/dist/components/StickyBottomMenu/TopItemMobile.js.map +1 -1
  16. package/dist/ui-kit/DialogManager/Dialog.js +1 -1
  17. package/dist/ui-kit/DialogManager/Dialog.js.map +1 -1
  18. package/lib/common.css +1 -1
  19. package/lib/components/ImgBlock/ImgBlock.js +5 -2
  20. package/lib/components/ImgBlock/ImgBlock.js.map +1 -1
  21. package/lib/components/ImgBlock/ImgBlockContent.d.ts +4 -1
  22. package/lib/components/StickyBottomMenu/ActiveSubMenuItem.js +1 -1
  23. package/lib/components/StickyBottomMenu/ActiveSubMenuItem.js.map +1 -1
  24. package/lib/components/StickyBottomMenu/BurgerMenuDialog.js +4 -10
  25. package/lib/components/StickyBottomMenu/BurgerMenuDialog.js.map +1 -1
  26. package/lib/components/StickyBottomMenu/StickyBottomMenu.mobile.js +1 -1
  27. package/lib/components/StickyBottomMenu/StickyBottomMenu.mobile.js.map +1 -1
  28. package/lib/components/StickyBottomMenu/TopItemMobile.js +2 -2
  29. package/lib/components/StickyBottomMenu/TopItemMobile.js.map +1 -1
  30. package/lib/ui-kit/DialogManager/Dialog.js +1 -1
  31. package/lib/ui-kit/DialogManager/Dialog.js.map +1 -1
  32. package/lib/ui-kit/LocationDialog/renderForeignOffices.d.ts +1 -0
  33. package/lib/ui-kit/LocationDialog/renderRegion.d.ts +1 -0
  34. package/lib/ui-kit/LocationDialog/renderRegionGroup.d.ts +1 -0
  35. package/mobile/bundle/bundle.umd.js +20 -281
  36. package/mobile/bundle/bundle.umd.min.js +1 -1
  37. package/mobile/bundle/components/ImgBlock/ImgBlockContent.d.ts +4 -1
  38. package/mobile/dist/components/ImgBlock/ImgBlock.js +5 -2
  39. package/mobile/dist/components/ImgBlock/ImgBlock.js.map +1 -1
  40. package/mobile/dist/components/ImgBlock/ImgBlockContent.d.ts +4 -1
  41. package/mobile/dist/components/StickyBottomMenu/ActiveSubMenuItem.js +1 -1
  42. package/mobile/dist/components/StickyBottomMenu/ActiveSubMenuItem.js.map +1 -1
  43. package/mobile/dist/components/StickyBottomMenu/BurgerMenuDialog.js +4 -10
  44. package/mobile/dist/components/StickyBottomMenu/BurgerMenuDialog.js.map +1 -1
  45. package/mobile/dist/components/StickyBottomMenu/StickyBottomMenu.js +1 -1
  46. package/mobile/dist/components/StickyBottomMenu/StickyBottomMenu.js.map +1 -1
  47. package/mobile/dist/components/StickyBottomMenu/TopItemMobile.js +1 -1
  48. package/mobile/dist/components/StickyBottomMenu/TopItemMobile.js.map +1 -1
  49. package/mobile/dist/ui-kit/DialogManager/Dialog.js +1 -1
  50. package/mobile/dist/ui-kit/DialogManager/Dialog.js.map +1 -1
  51. package/mobile/lib/common.css +1 -1
  52. package/mobile/lib/components/ImgBlock/ImgBlock.js +5 -2
  53. package/mobile/lib/components/ImgBlock/ImgBlock.js.map +1 -1
  54. package/mobile/lib/components/ImgBlock/ImgBlockContent.d.ts +4 -1
  55. package/mobile/lib/components/StickyBottomMenu/ActiveSubMenuItem.js +1 -1
  56. package/mobile/lib/components/StickyBottomMenu/ActiveSubMenuItem.js.map +1 -1
  57. package/mobile/lib/components/StickyBottomMenu/BurgerMenuDialog.js +4 -10
  58. package/mobile/lib/components/StickyBottomMenu/BurgerMenuDialog.js.map +1 -1
  59. package/mobile/lib/components/StickyBottomMenu/StickyBottomMenu.js +1 -1
  60. package/mobile/lib/components/StickyBottomMenu/StickyBottomMenu.js.map +1 -1
  61. package/mobile/lib/components/StickyBottomMenu/TopItemMobile.js +2 -2
  62. package/mobile/lib/components/StickyBottomMenu/TopItemMobile.js.map +1 -1
  63. package/mobile/lib/ui-kit/DialogManager/Dialog.js +1 -1
  64. package/mobile/lib/ui-kit/DialogManager/Dialog.js.map +1 -1
  65. package/mobile/src/components/ImgBlock/ImgBlock.tsx +6 -2
  66. package/mobile/src/components/ImgBlock/ImgBlockContent.ts +5 -1
  67. package/mobile/src/components/StickyBottomMenu/ActiveSubMenuItem.tsx +21 -17
  68. package/mobile/src/components/StickyBottomMenu/BurgerMenuDialog.tsx +25 -44
  69. package/mobile/src/components/StickyBottomMenu/StickyBottomMenu.tsx +1 -1
  70. package/mobile/src/components/StickyBottomMenu/TopItemMobile.tsx +5 -8
  71. package/mobile/src/ui-kit/DialogManager/Dialog.tsx +1 -1
  72. package/package.json +1 -1
  73. package/src/components/ImgBlock/ImgBlock.tsx +6 -2
  74. package/src/components/ImgBlock/ImgBlockContent.ts +5 -1
  75. package/src/components/StickyBottomMenu/ActiveSubMenuItem.tsx +21 -17
  76. package/src/components/StickyBottomMenu/BurgerMenuDialog.tsx +25 -44
  77. package/src/components/StickyBottomMenu/StickyBottomMenu.mobile.tsx +1 -1
  78. package/src/components/StickyBottomMenu/TopItemMobile.tsx +5 -8
  79. package/src/ui-kit/DialogManager/Dialog.tsx +1 -1
@@ -4007,7 +4007,7 @@
4007
4007
  close();
4008
4008
  onClose && onClose();
4009
4009
  }, [onClose]);
4010
- return (jsxs("div", { className: style('relative min-h-full bg-white pt-0 p-5', 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 })] }));
4010
+ return (jsxs("div", { 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 })] }));
4011
4011
  });
4012
4012
 
4013
4013
  const FOOTER_AREA_KEYS = ['all', 'footer'];
@@ -4433,8 +4433,9 @@
4433
4433
  });
4434
4434
 
4435
4435
  const ImgBlock = JSX((props) => {
4436
- const { className, image, ...rest } = props;
4437
- return (jsx(BlockWrapper, { className: className, defaultPadding: "p-0", ...rest, children: jsx(Img, { image: image }) }));
4436
+ const { className, align, image, ...rest } = props;
4437
+ const alignStyle = align ? style('flex', AlignJustifyStyle[align]) : '';
4438
+ return (jsx(BlockWrapper, { className: style(alignStyle, className), defaultPadding: "p-0", ...rest, children: jsx(Img, { image: image }) }));
4438
4439
  });
4439
4440
 
4440
4441
  const InsuranceAmountBlockInner = JSX(({ className = '', cards = [], button }) => {
@@ -6137,7 +6138,7 @@
6137
6138
  slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
6138
6139
  });
6139
6140
 
6140
- const packageVersion = "0.14.250";
6141
+ const packageVersion = "0.14.252";
6141
6142
 
6142
6143
  exports.Blocks = Blocks;
6143
6144
  exports.ContentPage = ContentPage;