@redneckz/wildless-cms-uni-blocks 0.10.3 → 0.10.4
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/bundle.umd.js +3 -3
- package/bundle/bundle.umd.min.js +1 -1
- package/dist/components/Header/InternetBankButton.js +1 -1
- package/dist/components/Header/InternetBankButton.js.map +1 -1
- package/dist/ui-kit/Sitemap/Sitemap.js +1 -1
- package/dist/ui-kit/Sitemap/Sitemap.js.map +1 -1
- package/lib/components/Header/InternetBankButton.js +1 -1
- package/lib/components/Header/InternetBankButton.js.map +1 -1
- package/lib/ui-kit/Sitemap/Sitemap.js +1 -1
- package/lib/ui-kit/Sitemap/Sitemap.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +2 -2
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/components/Header/InternetBankButton.js +1 -1
- package/mobile/dist/components/Header/InternetBankButton.js.map +1 -1
- package/mobile/dist/ui-kit/Sitemap/Sitemap.js +1 -1
- package/mobile/dist/ui-kit/Sitemap/Sitemap.js.map +1 -1
- package/mobile/lib/components/Header/InternetBankButton.js +1 -1
- package/mobile/lib/components/Header/InternetBankButton.js.map +1 -1
- package/mobile/lib/ui-kit/Sitemap/Sitemap.js +1 -1
- package/mobile/lib/ui-kit/Sitemap/Sitemap.js.map +1 -1
- package/mobile/src/components/Header/InternetBankButton.tsx +15 -13
- package/mobile/src/ui-kit/Sitemap/Sitemap.tsx +1 -1
- package/package.json +1 -1
- package/src/components/Header/InternetBankButton.tsx +15 -13
- package/src/ui-kit/Sitemap/Sitemap.tsx +1 -1
package/bundle/bundle.umd.js
CHANGED
|
@@ -3214,7 +3214,7 @@
|
|
|
3214
3214
|
};
|
|
3215
3215
|
const ColumnItem = JSX(({ text, index, basePath, ...rest }) => {
|
|
3216
3216
|
const isAnotherPortal = projectSettings.BASE_PATH && basePath ? !projectSettings.BASE_PATH.startsWith(basePath) : false;
|
|
3217
|
-
const link = useLink({ isRemote: isAnotherPortal });
|
|
3217
|
+
const link = useLink({ isRemote: isAnotherPortal, basePath });
|
|
3218
3218
|
const { href, target, onClick } = link(rest);
|
|
3219
3219
|
return (jsx("a", { className: style('text-l-light text-secondary-text hover:text-primary-main no-underline', 'overflow-x-hidden overflow-ellipsis whitespace-nowrap'), href: href, target: target || '_self', onClick: onClick, children: text || `Раздел ${index}` }));
|
|
3220
3220
|
});
|
|
@@ -3565,7 +3565,7 @@
|
|
|
3565
3565
|
default: 'px-5 bg-main-divider rounded hover:text-primary-main',
|
|
3566
3566
|
transparent: 'text-white hover:text-primary-hover',
|
|
3567
3567
|
};
|
|
3568
|
-
const InternetBankButton = JSX(({ version, internetBankUrl }) => (jsx(Button, { href: internetBankUrl, ariaLabel: "\u0418\u043D\u0442\u0435\u0440\u043D\u0435\u0442-\u0431\u0430\u043D\u043A", target: "_blank", className: style('py-3 ml-3 text-l font-light whitespace-nowrap hover:text-primary-main', BUTTON_STYLE[version === 'transparent' ? 'transparent' : 'default']), children: "\u0418\u043D\u0442\u0435\u0440\u043D\u0435\u0442-\u0431\u0430\u043D\u043A" })));
|
|
3568
|
+
const InternetBankButton = JSX(({ version, internetBankUrl }) => internetBankUrl ? (jsx(Button, { href: internetBankUrl, ariaLabel: "\u0418\u043D\u0442\u0435\u0440\u043D\u0435\u0442-\u0431\u0430\u043D\u043A", target: "_blank", className: style('py-3 ml-3 text-l font-light whitespace-nowrap hover:text-primary-main', BUTTON_STYLE[version === 'transparent' ? 'transparent' : 'default']), children: "\u0418\u043D\u0442\u0435\u0440\u043D\u0435\u0442-\u0431\u0430\u043D\u043A" })) : null);
|
|
3569
3569
|
|
|
3570
3570
|
const HeaderSubMenu = JSX(({ subItems = [], version, internetBankUrl }) => {
|
|
3571
3571
|
const iconVersion = version === 'transparent' ? 'white' : 'black';
|
|
@@ -5162,7 +5162,7 @@
|
|
|
5162
5162
|
return (jsx("div", { className: "flex items-end absolute bottom-0 right-0 h-full pointer-events-none", children: jsx(LikeControl, { className: "rounded-tl-lg sticky bottom-0 pointer-events-auto" }) }));
|
|
5163
5163
|
}
|
|
5164
5164
|
|
|
5165
|
-
const packageVersion = "0.10.
|
|
5165
|
+
const packageVersion = "0.10.4";
|
|
5166
5166
|
|
|
5167
5167
|
exports.Blocks = Blocks;
|
|
5168
5168
|
exports.ContentPage = ContentPage;
|