@redneckz/wildless-cms-uni-blocks 0.14.95 → 0.14.97
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 +1 -1
- package/bundle/bundle.umd.min.js +1 -1
- package/dist/components/StickyBottomMenu/StickyBottomMenuItem.js +2 -7
- package/dist/components/StickyBottomMenu/StickyBottomMenuItem.js.map +1 -1
- package/lib/components/StickyBottomMenu/StickyBottomMenuItem.js +2 -7
- package/lib/components/StickyBottomMenu/StickyBottomMenuItem.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +3 -7
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/dist/components/StickyBottomMenu/StickyBottomMenuItem.js +2 -7
- package/mobile/dist/components/StickyBottomMenu/StickyBottomMenuItem.js.map +1 -1
- package/mobile/lib/components/StickyBottomMenu/StickyBottomMenuItem.js +2 -7
- package/mobile/lib/components/StickyBottomMenu/StickyBottomMenuItem.js.map +1 -1
- package/mobile/src/components/StickyBottomMenu/StickyBottomMenuItem.tsx +2 -10
- package/package.json +1 -1
- package/src/components/StickyBottomMenu/StickyBottomMenuItem.tsx +2 -10
|
@@ -3,16 +3,11 @@ exports.StickyBottomMenuItem = void 0;
|
|
|
3
3
|
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
4
|
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
5
|
const useLink_1 = require("../../hooks/useLink");
|
|
6
|
-
const ProjectSettings_1 = require("../../ProjectSettings");
|
|
7
6
|
const Icon_1 = require("../../ui-kit/Icon/Icon");
|
|
8
7
|
const style_1 = require("../../utils/style");
|
|
9
8
|
exports.StickyBottomMenuItem = (0, uni_jsx_1.JSX)(({ isActive, item, onClick }) => {
|
|
10
|
-
const
|
|
11
|
-
const
|
|
12
|
-
? item?.href
|
|
13
|
-
: item?.href?.replace(ProjectSettings_1.projectSettings.BASE_PATH, '');
|
|
14
|
-
const link = (0, useLink_1.useLink)({ isRemote: isAnotherPortal });
|
|
15
|
-
const { href, onClick: handleClick } = link({ href: _href, onClick });
|
|
9
|
+
const link = (0, useLink_1.useLink)({ isRemote: true });
|
|
10
|
+
const { href, onClick: handleClick } = link({ href: item?.href, onClick });
|
|
16
11
|
return ((0, jsx_runtime_1.jsxs)("a", { className: (0, style_1.style)(isActive ? 'text-primary-main' : 'text-primary-text', `w-10 m-4 flex justify-center items-center flex-col text-xs cursor-pointer`), href: href, target: "_self", title: item?.title || '', onClick: handleClick, children: [(0, jsx_runtime_1.jsx)(Icon_1.Icon, { className: "w-6 h-6", name: item?.icon?.icon, iconVersion: isActive ? 'color' : 'black' }), item?.title || ''] }));
|
|
17
12
|
});
|
|
18
13
|
//# sourceMappingURL=StickyBottomMenuItem.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StickyBottomMenuItem.js","sourceRoot":"","sources":["../../../src/components/StickyBottomMenu/StickyBottomMenuItem.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iDAA8C;AAC9C,
|
|
1
|
+
{"version":3,"file":"StickyBottomMenuItem.js","sourceRoot":"","sources":["../../../src/components/StickyBottomMenu/StickyBottomMenuItem.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iDAA8C;AAC9C,iDAA8C;AAC9C,6CAA0C;AAS7B,QAAA,oBAAoB,GAAG,IAAA,aAAG,EACrC,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE;IAC9B,MAAM,IAAI,GAAG,IAAA,iBAAO,EAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC;IACzC,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,GAAG,IAAI,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,CAAC;IAE3E,OAAO,CACL,+BACE,SAAS,EAAE,IAAA,aAAK,EACd,QAAQ,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,mBAAmB,EACpD,2EAA2E,CAC5E,EACD,IAAI,EAAE,IAAI,EACV,MAAM,EAAC,OAAO,EACd,KAAK,EAAE,IAAI,EAAE,KAAK,IAAI,EAAE,EACxB,OAAO,EAAE,WAAW,aAEpB,uBAAC,WAAI,IACH,SAAS,EAAC,SAAS,EACnB,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EACtB,WAAW,EAAE,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,GACzC,EACD,IAAI,EAAE,KAAK,IAAI,EAAE,IAChB,CACL,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1,16 +1,11 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
3
|
import { useLink } from '../../hooks/useLink.js';
|
|
4
|
-
import { projectSettings } from '../../ProjectSettings.js';
|
|
5
4
|
import { Icon } from '../../ui-kit/Icon/Icon.js';
|
|
6
5
|
import { style } from '../../utils/style.js';
|
|
7
6
|
export const StickyBottomMenuItem = JSX(({ isActive, item, onClick }) => {
|
|
8
|
-
const
|
|
9
|
-
const
|
|
10
|
-
? item?.href
|
|
11
|
-
: item?.href?.replace(projectSettings.BASE_PATH, '');
|
|
12
|
-
const link = useLink({ isRemote: isAnotherPortal });
|
|
13
|
-
const { href, onClick: handleClick } = link({ href: _href, onClick });
|
|
7
|
+
const link = useLink({ isRemote: true });
|
|
8
|
+
const { href, onClick: handleClick } = link({ href: item?.href, onClick });
|
|
14
9
|
return (_jsxs("a", { className: style(isActive ? 'text-primary-main' : 'text-primary-text', `w-10 m-4 flex justify-center items-center flex-col text-xs cursor-pointer`), href: href, target: "_self", title: item?.title || '', onClick: handleClick, children: [_jsx(Icon, { className: "w-6 h-6", name: item?.icon?.icon, iconVersion: isActive ? 'color' : 'black' }), item?.title || ''] }));
|
|
15
10
|
});
|
|
16
11
|
//# sourceMappingURL=StickyBottomMenuItem.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StickyBottomMenuItem.js","sourceRoot":"","sources":["../../../src/components/StickyBottomMenu/StickyBottomMenuItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"StickyBottomMenuItem.js","sourceRoot":"","sources":["../../../src/components/StickyBottomMenu/StickyBottomMenuItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAS1C,MAAM,CAAC,MAAM,oBAAoB,GAAG,GAAG,CACrC,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,EAAE,EAAE;IAC9B,MAAM,IAAI,GAAG,OAAO,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,CAAC,CAAC;IACzC,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,WAAW,EAAE,GAAG,IAAI,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,CAAC;IAE3E,OAAO,CACL,aACE,SAAS,EAAE,KAAK,CACd,QAAQ,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,mBAAmB,EACpD,2EAA2E,CAC5E,EACD,IAAI,EAAE,IAAI,EACV,MAAM,EAAC,OAAO,EACd,KAAK,EAAE,IAAI,EAAE,KAAK,IAAI,EAAE,EACxB,OAAO,EAAE,WAAW,aAEpB,KAAC,IAAI,IACH,SAAS,EAAC,SAAS,EACnB,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EACtB,WAAW,EAAE,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,OAAO,GACzC,EACD,IAAI,EAAE,KAAK,IAAI,EAAE,IAChB,CACL,CAAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -4559,12 +4559,8 @@
|
|
|
4559
4559
|
const StickyBottomMenuBurger = JSX(({ isActive, onClick }) => (jsxs("button", { className: style(isActive ? 'text-primary-main' : 'text-primary-text', `w-10 m-4 flex justify-center items-center flex-col text-xs cursor-pointer`), onClick: onClick, children: [jsx(Icon, { className: "w-6 h-6", name: "BurgerIcon", iconVersion: isActive ? 'color' : 'black' }), "\u041C\u0435\u043D\u044E"] })));
|
|
4560
4560
|
|
|
4561
4561
|
const StickyBottomMenuItem = JSX(({ isActive, item, onClick }) => {
|
|
4562
|
-
const
|
|
4563
|
-
const
|
|
4564
|
-
? item?.href
|
|
4565
|
-
: item?.href?.replace(projectSettings.BASE_PATH, '');
|
|
4566
|
-
const link = useLink({ isRemote: isAnotherPortal });
|
|
4567
|
-
const { href, onClick: handleClick } = link({ href: _href, onClick });
|
|
4562
|
+
const link = useLink({ isRemote: true });
|
|
4563
|
+
const { href, onClick: handleClick } = link({ href: item?.href, onClick });
|
|
4568
4564
|
return (jsxs("a", { className: style(isActive ? 'text-primary-main' : 'text-primary-text', `w-10 m-4 flex justify-center items-center flex-col text-xs cursor-pointer`), href: href, target: "_self", title: item?.title || '', onClick: handleClick, children: [jsx(Icon, { className: "w-6 h-6", name: item?.icon?.icon, iconVersion: isActive ? 'color' : 'black' }), item?.title || ''] }));
|
|
4569
4565
|
});
|
|
4570
4566
|
|
|
@@ -5405,7 +5401,7 @@
|
|
|
5405
5401
|
|
|
5406
5402
|
const joinList = (sep) => (list) => list.reduce((acc, el, i) => (acc.length ? acc.concat({ ...sep, key: `sep-${i}` }, el) : [el]), []);
|
|
5407
5403
|
|
|
5408
|
-
const packageVersion = "0.14.
|
|
5404
|
+
const packageVersion = "0.14.96";
|
|
5409
5405
|
|
|
5410
5406
|
exports.Blocks = Blocks;
|
|
5411
5407
|
exports.ContentPage = ContentPage;
|