@redneckz/wildless-cms-uni-blocks 0.14.251 → 0.14.252
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.
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +4 -3
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/ImgBlock/ImgBlockContent.d.ts +4 -1
- package/dist/components/ImgBlock/ImgBlock.js +5 -2
- package/dist/components/ImgBlock/ImgBlock.js.map +1 -1
- package/dist/components/ImgBlock/ImgBlockContent.d.ts +4 -1
- package/lib/components/ImgBlock/ImgBlock.js +5 -2
- package/lib/components/ImgBlock/ImgBlock.js.map +1 -1
- package/lib/components/ImgBlock/ImgBlockContent.d.ts +4 -1
- package/mobile/bundle/bundle.umd.js +4 -3
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/ImgBlock/ImgBlockContent.d.ts +4 -1
- package/mobile/dist/components/ImgBlock/ImgBlock.js +5 -2
- package/mobile/dist/components/ImgBlock/ImgBlock.js.map +1 -1
- package/mobile/dist/components/ImgBlock/ImgBlockContent.d.ts +4 -1
- package/mobile/lib/components/ImgBlock/ImgBlock.js +5 -2
- package/mobile/lib/components/ImgBlock/ImgBlock.js.map +1 -1
- package/mobile/lib/components/ImgBlock/ImgBlockContent.d.ts +4 -1
- package/mobile/src/components/ImgBlock/ImgBlock.tsx +6 -2
- package/mobile/src/components/ImgBlock/ImgBlockContent.ts +5 -1
- package/package.json +1 -1
- package/src/components/ImgBlock/ImgBlock.tsx +6 -2
- package/src/components/ImgBlock/ImgBlockContent.ts +5 -1
package/bundle/bundle.umd.js
CHANGED
|
@@ -4433,8 +4433,9 @@
|
|
|
4433
4433
|
});
|
|
4434
4434
|
|
|
4435
4435
|
const ImgBlock = JSX((props) => {
|
|
4436
|
-
const { className, image, ...rest } = props;
|
|
4437
|
-
|
|
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.
|
|
6141
|
+
const packageVersion = "0.14.251";
|
|
6141
6142
|
|
|
6142
6143
|
exports.Blocks = Blocks;
|
|
6143
6144
|
exports.ContentPage = ContentPage;
|