@redneckz/wildless-cms-uni-blocks 0.14.241 → 0.14.243
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 +7 -3
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/MobileAppTile/MobileAppTile.d.ts +1 -1
- package/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +2 -0
- package/dist/components/Footer/iconsMap.js +4 -0
- package/dist/components/Footer/iconsMap.js.map +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.d.ts +1 -1
- package/dist/components/MobileAppTile/MobileAppTile.js +3 -3
- package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +2 -0
- package/lib/components/Footer/iconsMap.js +4 -0
- package/lib/components/Footer/iconsMap.js.map +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.d.ts +1 -1
- package/lib/components/MobileAppTile/MobileAppTile.js +3 -3
- package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +2 -0
- package/mobile/bundle/bundle.umd.js +7 -3
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/MobileAppTile/MobileAppTile.d.ts +1 -1
- package/mobile/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +2 -0
- package/mobile/dist/components/Footer/iconsMap.js +4 -0
- package/mobile/dist/components/Footer/iconsMap.js.map +1 -1
- package/mobile/dist/components/MobileAppTile/MobileAppTile.d.ts +1 -1
- package/mobile/dist/components/MobileAppTile/MobileAppTile.js +3 -3
- package/mobile/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/mobile/dist/components/MobileAppTile/MobileAppTileContent.d.ts +2 -0
- package/mobile/lib/components/Footer/iconsMap.js +4 -0
- package/mobile/lib/components/Footer/iconsMap.js.map +1 -1
- package/mobile/lib/components/MobileAppTile/MobileAppTile.d.ts +1 -1
- package/mobile/lib/components/MobileAppTile/MobileAppTile.js +3 -3
- package/mobile/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
- package/mobile/lib/components/MobileAppTile/MobileAppTileContent.d.ts +2 -0
- package/mobile/src/components/Footer/iconsMap.ts +4 -0
- package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +4 -3
- package/mobile/src/components/MobileAppTile/MobileAppTileContent.ts +2 -0
- package/package.json +1 -1
- package/src/components/Footer/iconsMap.ts +4 -0
- package/src/components/MobileAppTile/MobileAppTile.tsx +4 -3
- package/src/components/MobileAppTile/MobileAppTileContent.ts +2 -0
package/bundle/bundle.umd.js
CHANGED
|
@@ -3116,6 +3116,10 @@
|
|
|
3116
3116
|
origins: ['play.google.com'],
|
|
3117
3117
|
iconMapped: { icon: 'PlayMarketIcon' },
|
|
3118
3118
|
},
|
|
3119
|
+
{
|
|
3120
|
+
origins: ['appgallery.huawei.com'],
|
|
3121
|
+
iconMapped: { icon: 'HuaweiIcon' },
|
|
3122
|
+
},
|
|
3119
3123
|
{
|
|
3120
3124
|
origins: ['youtube.com'],
|
|
3121
3125
|
iconMapped: { icon: 'YoutubeIcon' },
|
|
@@ -4506,10 +4510,10 @@
|
|
|
4506
4510
|
return docFormat.includes('/') ? docFormat.replace(regexp, '') : docFormat;
|
|
4507
4511
|
};
|
|
4508
4512
|
|
|
4509
|
-
const MobileAppTile =
|
|
4513
|
+
const MobileAppTile = UniBlock(({ className, padding, align = 'text-left', buttons = [], description, image, items, qr, headingType, additionalDescription = '', title = 'Мобильное приложение', version = 'primary', ...rest }) => {
|
|
4510
4514
|
const containerStyle = version === 'secondary' ? 'p-m min-w-32' : 'min-w-24';
|
|
4511
4515
|
const img = image?.src ? jsx(Img, { className: "hidden lg:block", image: image }) : null;
|
|
4512
|
-
return (jsx(BlockWrapper, { className: style('min-h-80', className), padding: "p-0", version: version, ...rest, children: jsxs(BaseTile, { className: "h-full", padding: padding, defaultPadding: "p-6xl", title: jsx(Heading, { headingType:
|
|
4516
|
+
return (jsx(BlockWrapper, { className: style('min-h-80', className), padding: "p-0", version: version, ...rest, children: jsxs(BaseTile, { className: "h-full", padding: padding, defaultPadding: "p-6xl", title: jsx(Heading, { headingType: headingType, title: title, className: style('whitespace-pre-wrap', align) }), rightImage: img, buttons: renderButtonsSection(buttons, { className: 'flex-wrap' }), children: [description ? (jsx(Text, { size: "text-xl", "font-weight": "font-light", children: description })) : null, jsxs("div", { className: style('gap-m', 'flex flex-1 flex-col', 'flex-col items-start @xl:flex-row @xl:items-center'), children: [jsx(List, { items: items, listItemSize: "M" }), jsx(Text, { size: "text-m", "font-weight": "font-light", color: "text-secondary-text", children: additionalDescription }), qr?.src ? (jsx("div", { className: style('flex justify-center bg-white rounded-md @xl:-order-1', containerStyle), children: jsx(Img, { className: "w-fit", image: qr }) })) : null, image?.src ? jsx(Img, { className: "lg:hidden", image: image }) : null] })] }) }));
|
|
4513
4517
|
});
|
|
4514
4518
|
|
|
4515
4519
|
const badgeBgStyleMap = {
|
|
@@ -6035,7 +6039,7 @@
|
|
|
6035
6039
|
slots: () => [HEADER_SLOT, FOOTER_SLOT, STICKY_FOOTER_SLOT],
|
|
6036
6040
|
});
|
|
6037
6041
|
|
|
6038
|
-
const packageVersion = "0.14.
|
|
6042
|
+
const packageVersion = "0.14.242";
|
|
6039
6043
|
|
|
6040
6044
|
exports.Blocks = Blocks;
|
|
6041
6045
|
exports.ContentPage = ContentPage;
|