@redneckz/wildless-cms-uni-blocks 0.14.915 → 0.14.916
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 +6 -6
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/Footer/LinkList.d.ts +0 -1
- package/bundle/model/AspectsProps.d.ts +9 -1
- package/bundle/ui-kit/Sitemap/SitemapProps.d.ts +1 -0
- package/dist/components/Footer/LinkList.d.ts +0 -1
- package/dist/components/Footer/LinkList.js +2 -2
- package/dist/components/Footer/LinkList.js.map +1 -1
- package/dist/model/AspectsProps.d.ts +9 -1
- package/dist/ui-kit/Sitemap/Sitemap.js +3 -3
- package/dist/ui-kit/Sitemap/Sitemap.js.map +1 -1
- package/dist/ui-kit/Sitemap/SitemapProps.d.ts +1 -0
- package/lib/components/Footer/LinkList.d.ts +0 -1
- package/lib/components/Footer/LinkList.js +2 -2
- package/lib/components/Footer/LinkList.js.map +1 -1
- package/lib/model/AspectsProps.d.ts +9 -1
- package/lib/retail/components/DraftDialog/utils.d.ts +3 -3
- package/lib/ui-kit/Sitemap/Sitemap.js +3 -3
- package/lib/ui-kit/Sitemap/Sitemap.js.map +1 -1
- package/lib/ui-kit/Sitemap/SitemapProps.d.ts +1 -0
- package/mobile/bundle/bundle.umd.js +3 -3
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/Footer/LinkList.d.ts +0 -1
- package/mobile/bundle/model/AspectsProps.d.ts +9 -1
- package/mobile/bundle/ui-kit/Sitemap/SitemapProps.d.ts +1 -0
- package/mobile/dist/components/Footer/LinkList.d.ts +0 -1
- package/mobile/dist/components/Footer/LinkList.js +2 -2
- package/mobile/dist/components/Footer/LinkList.js.map +1 -1
- package/mobile/dist/model/AspectsProps.d.ts +9 -1
- package/mobile/dist/ui-kit/Sitemap/SitemapProps.d.ts +1 -0
- package/mobile/lib/components/Footer/LinkList.d.ts +0 -1
- package/mobile/lib/components/Footer/LinkList.js +2 -2
- package/mobile/lib/components/Footer/LinkList.js.map +1 -1
- package/mobile/lib/model/AspectsProps.d.ts +9 -1
- package/mobile/lib/ui-kit/Sitemap/SitemapProps.d.ts +1 -0
- package/mobile/src/components/Footer/LinkList.tsx +2 -7
- package/mobile/src/model/AspectsProps.ts +11 -1
- package/mobile/src/ui-kit/Sitemap/SitemapProps.ts +1 -0
- package/package.json +1 -1
- package/src/components/Footer/LinkList.tsx +2 -7
- package/src/model/AspectsProps.ts +11 -1
- package/src/ui-kit/Sitemap/Sitemap.tsx +29 -29
- package/src/ui-kit/Sitemap/SitemapProps.ts +1 -0
|
@@ -2,7 +2,6 @@ import { type ComponentType } from '../../model/ComponentType';
|
|
|
2
2
|
import { type LinkProps } from '../../model/LinkProps';
|
|
3
3
|
interface LinkListProps extends ComponentType {
|
|
4
4
|
items?: LinkProps[];
|
|
5
|
-
isFlex?: boolean;
|
|
6
5
|
}
|
|
7
6
|
export declare const LinkList: import("@redneckz/uni-jsx").UNIComponent<LinkListProps, any, any>;
|
|
8
7
|
export {};
|
|
@@ -30,6 +30,14 @@ export declare type MindboxEventAspect = {
|
|
|
30
30
|
export declare type ChatBotAspect = {
|
|
31
31
|
aspectName: 'openChatBot';
|
|
32
32
|
};
|
|
33
|
+
/**
|
|
34
|
+
* @title Отправить событие партнёру
|
|
35
|
+
* @default {"aspectName": "partnersEvent", "params": {"partner": "", "typeAction": "targetaction"}}
|
|
36
|
+
*/
|
|
37
|
+
export declare type PartnersEventAspect = {
|
|
38
|
+
aspectName: 'partnersEvent';
|
|
39
|
+
params?: AspectData;
|
|
40
|
+
};
|
|
33
41
|
/**
|
|
34
42
|
* @title Не выбрано
|
|
35
43
|
*/
|
|
@@ -41,7 +49,7 @@ export declare type EmptyAspect = {
|
|
|
41
49
|
* @title Параметр
|
|
42
50
|
* @default { "aspectName": "" }
|
|
43
51
|
*/
|
|
44
|
-
export declare type AspectsDef = EmptyAspect | ChatBotAspect | YandexReachGoalAspect | MindboxEventAspect | SnowplowEventAspect;
|
|
52
|
+
export declare type AspectsDef = EmptyAspect | ChatBotAspect | YandexReachGoalAspect | MindboxEventAspect | SnowplowEventAspect | PartnersEventAspect;
|
|
45
53
|
export declare type AspectsProps = {
|
|
46
54
|
/** @title Дополнительные атрибуты */
|
|
47
55
|
data?: AspectsDef[];
|
|
@@ -2,7 +2,6 @@ import { type ComponentType } from '../../model/ComponentType';
|
|
|
2
2
|
import { type LinkProps } from '../../model/LinkProps';
|
|
3
3
|
interface LinkListProps extends ComponentType {
|
|
4
4
|
items?: LinkProps[];
|
|
5
|
-
isFlex?: boolean;
|
|
6
5
|
}
|
|
7
6
|
export declare const LinkList: import("@redneckz/uni-jsx").UNIComponent<LinkListProps, any, any>;
|
|
8
7
|
export {};
|
|
@@ -5,9 +5,9 @@ const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
|
5
5
|
const useLink_1 = require("../../hooks/useLink");
|
|
6
6
|
const dataAttributes_1 = require("../../utils/dataAttributes");
|
|
7
7
|
const style_1 = require("../../utils/style");
|
|
8
|
-
exports.LinkList = (0, uni_jsx_1.JSX)(({ className
|
|
8
|
+
exports.LinkList = (0, uni_jsx_1.JSX)(({ className, items }) => {
|
|
9
9
|
const link = (0, useLink_1.useLink)();
|
|
10
|
-
return (
|
|
10
|
+
return (0, jsx_runtime_1.jsx)("ul", { className: (0, style_1.style)('w-full', className), children: items?.map(renderLinkListItem(link)) });
|
|
11
11
|
});
|
|
12
12
|
const renderLinkListItem = (link) => ({ dataFooter, ...linkProps }, i) => {
|
|
13
13
|
const { text, href, target, onClick } = link(linkProps);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinkList.js","sourceRoot":"","sources":["../../../src/components/Footer/LinkList.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,iDAA8C;AAG9C,+DAAkE;AAClE,6CAA0C;
|
|
1
|
+
{"version":3,"file":"LinkList.js","sourceRoot":"","sources":["../../../src/components/Footer/LinkList.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,iDAA8C;AAG9C,+DAAkE;AAClE,6CAA0C;AAM7B,QAAA,QAAQ,GAAG,IAAA,aAAG,EAAgB,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE,EAAE;IAClE,MAAM,IAAI,GAAG,IAAA,iBAAO,GAAE,CAAC;IAEvB,OAAO,+BAAI,SAAS,EAAE,IAAA,aAAK,EAAC,QAAQ,EAAE,SAAS,CAAC,YAAG,KAAK,EAAE,GAAG,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC,GAAM,CAAC;AAChG,CAAC,CAAC,CAAC;AAEH,MAAM,kBAAkB,GACtB,CAAC,IAAgC,EAAE,EAAE,CACrC,CAAC,EAAE,UAAU,EAAE,GAAG,SAAS,EAAuB,EAAE,CAAS,EAAE,EAAE;IAC/D,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC,SAAS,CAAC,CAAC;IAExD,IAAI,CAAC,IAAI,EAAE;QACT,OAAO,IAAI,CAAC;KACb;IAED,OAAO,CACL,+BAAoB,SAAS,EAAC,WAAW,YACvC,8BACE,SAAS,EAAC,oCAAoC,EAC9C,IAAI,EAAC,MAAM,EACX,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,IAAI,OAAO,EACzB,OAAO,EAAE,OAAO,KAEZ,IAAA,qCAAoB,EAAC,UAAU,CAAC,YAEnC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,GACjB,IAXG,MAAM,CAAC,CAAC,CAAC,CAYb,CACN,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -30,6 +30,14 @@ export declare type MindboxEventAspect = {
|
|
|
30
30
|
export declare type ChatBotAspect = {
|
|
31
31
|
aspectName: 'openChatBot';
|
|
32
32
|
};
|
|
33
|
+
/**
|
|
34
|
+
* @title Отправить событие партнёру
|
|
35
|
+
* @default {"aspectName": "partnersEvent", "params": {"partner": "", "typeAction": "targetaction"}}
|
|
36
|
+
*/
|
|
37
|
+
export declare type PartnersEventAspect = {
|
|
38
|
+
aspectName: 'partnersEvent';
|
|
39
|
+
params?: AspectData;
|
|
40
|
+
};
|
|
33
41
|
/**
|
|
34
42
|
* @title Не выбрано
|
|
35
43
|
*/
|
|
@@ -41,7 +49,7 @@ export declare type EmptyAspect = {
|
|
|
41
49
|
* @title Параметр
|
|
42
50
|
* @default { "aspectName": "" }
|
|
43
51
|
*/
|
|
44
|
-
export declare type AspectsDef = EmptyAspect | ChatBotAspect | YandexReachGoalAspect | MindboxEventAspect | SnowplowEventAspect;
|
|
52
|
+
export declare type AspectsDef = EmptyAspect | ChatBotAspect | YandexReachGoalAspect | MindboxEventAspect | SnowplowEventAspect | PartnersEventAspect;
|
|
45
53
|
export declare type AspectsProps = {
|
|
46
54
|
/** @title Дополнительные атрибуты */
|
|
47
55
|
data?: AspectsDef[];
|
|
@@ -2,7 +2,6 @@ import { type ComponentType } from '../../model/ComponentType';
|
|
|
2
2
|
import { type LinkProps } from '../../model/LinkProps';
|
|
3
3
|
interface LinkListProps extends ComponentType {
|
|
4
4
|
items?: LinkProps[];
|
|
5
|
-
isFlex?: boolean;
|
|
6
5
|
}
|
|
7
6
|
export declare const LinkList: import("@redneckz/uni-jsx").UNIComponent<LinkListProps, any, any>;
|
|
8
7
|
export {};
|
|
@@ -3,9 +3,9 @@ import { JSX } from '@redneckz/uni-jsx';
|
|
|
3
3
|
import { useLink } from '../../hooks/useLink.js';
|
|
4
4
|
import { getAspectsAttributes } from '../../utils/dataAttributes.js';
|
|
5
5
|
import { style } from '../../utils/style.js';
|
|
6
|
-
export const LinkList = JSX(({ className
|
|
6
|
+
export const LinkList = JSX(({ className, items }) => {
|
|
7
7
|
const link = useLink();
|
|
8
|
-
return
|
|
8
|
+
return _jsx("ul", { className: style('w-full', className), children: items?.map(renderLinkListItem(link)) });
|
|
9
9
|
});
|
|
10
10
|
const renderLinkListItem = (link) => ({ dataFooter, ...linkProps }, i) => {
|
|
11
11
|
const { text, href, target, onClick } = link(linkProps);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinkList.js","sourceRoot":"","sources":["../../../src/components/Footer/LinkList.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAG9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"LinkList.js","sourceRoot":"","sources":["../../../src/components/Footer/LinkList.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAG9C,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AAClE,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAM1C,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CAAgB,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE,EAAE;IAClE,MAAM,IAAI,GAAG,OAAO,EAAE,CAAC;IAEvB,OAAO,aAAI,SAAS,EAAE,KAAK,CAAC,QAAQ,EAAE,SAAS,CAAC,YAAG,KAAK,EAAE,GAAG,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC,GAAM,CAAC;AAChG,CAAC,CAAC,CAAC;AAEH,MAAM,kBAAkB,GACtB,CAAC,IAAgC,EAAE,EAAE,CACrC,CAAC,EAAE,UAAU,EAAE,GAAG,SAAS,EAAuB,EAAE,CAAS,EAAE,EAAE;IAC/D,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC,SAAS,CAAC,CAAC;IAExD,IAAI,CAAC,IAAI,EAAE;QACT,OAAO,IAAI,CAAC;KACb;IAED,OAAO,CACL,aAAoB,SAAS,EAAC,WAAW,YACvC,YACE,SAAS,EAAC,oCAAoC,EAC9C,IAAI,EAAC,MAAM,EACX,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,IAAI,OAAO,EACzB,OAAO,EAAE,OAAO,KAEZ,oBAAoB,CAAC,UAAU,CAAC,YAEnC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,GACjB,IAXG,MAAM,CAAC,CAAC,CAAC,CAYb,CACN,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -30,6 +30,14 @@ export declare type MindboxEventAspect = {
|
|
|
30
30
|
export declare type ChatBotAspect = {
|
|
31
31
|
aspectName: 'openChatBot';
|
|
32
32
|
};
|
|
33
|
+
/**
|
|
34
|
+
* @title Отправить событие партнёру
|
|
35
|
+
* @default {"aspectName": "partnersEvent", "params": {"partner": "", "typeAction": "targetaction"}}
|
|
36
|
+
*/
|
|
37
|
+
export declare type PartnersEventAspect = {
|
|
38
|
+
aspectName: 'partnersEvent';
|
|
39
|
+
params?: AspectData;
|
|
40
|
+
};
|
|
33
41
|
/**
|
|
34
42
|
* @title Не выбрано
|
|
35
43
|
*/
|
|
@@ -41,7 +49,7 @@ export declare type EmptyAspect = {
|
|
|
41
49
|
* @title Параметр
|
|
42
50
|
* @default { "aspectName": "" }
|
|
43
51
|
*/
|
|
44
|
-
export declare type AspectsDef = EmptyAspect | ChatBotAspect | YandexReachGoalAspect | MindboxEventAspect | SnowplowEventAspect;
|
|
52
|
+
export declare type AspectsDef = EmptyAspect | ChatBotAspect | YandexReachGoalAspect | MindboxEventAspect | SnowplowEventAspect | PartnersEventAspect;
|
|
45
53
|
export declare type AspectsProps = {
|
|
46
54
|
/** @title Дополнительные атрибуты */
|
|
47
55
|
data?: AspectsDef[];
|
|
@@ -8,17 +8,12 @@ import { style } from '../../utils/style';
|
|
|
8
8
|
|
|
9
9
|
interface LinkListProps extends ComponentType {
|
|
10
10
|
items?: LinkProps[];
|
|
11
|
-
isFlex?: boolean;
|
|
12
11
|
}
|
|
13
12
|
|
|
14
|
-
export const LinkList = JSX<LinkListProps>(({ className
|
|
13
|
+
export const LinkList = JSX<LinkListProps>(({ className, items }) => {
|
|
15
14
|
const link = useLink();
|
|
16
15
|
|
|
17
|
-
return (
|
|
18
|
-
<ul className={style(isFlex ? 'flex flex-col gap-s' : 'block', 'w-full', className)}>
|
|
19
|
-
{items?.map(renderLinkListItem(link))}
|
|
20
|
-
</ul>
|
|
21
|
-
);
|
|
16
|
+
return <ul className={style('w-full', className)}>{items?.map(renderLinkListItem(link))}</ul>;
|
|
22
17
|
});
|
|
23
18
|
|
|
24
19
|
const renderLinkListItem =
|
|
@@ -35,6 +35,15 @@ export type ChatBotAspect = {
|
|
|
35
35
|
aspectName: 'openChatBot';
|
|
36
36
|
};
|
|
37
37
|
|
|
38
|
+
/**
|
|
39
|
+
* @title Отправить событие партнёру
|
|
40
|
+
* @default {"aspectName": "partnersEvent", "params": {"partner": "", "typeAction": "targetaction"}}
|
|
41
|
+
*/
|
|
42
|
+
export type PartnersEventAspect = {
|
|
43
|
+
aspectName: 'partnersEvent';
|
|
44
|
+
params?: AspectData;
|
|
45
|
+
};
|
|
46
|
+
|
|
38
47
|
/**
|
|
39
48
|
* @title Не выбрано
|
|
40
49
|
*/
|
|
@@ -52,7 +61,8 @@ export type AspectsDef =
|
|
|
52
61
|
| ChatBotAspect
|
|
53
62
|
| YandexReachGoalAspect
|
|
54
63
|
| MindboxEventAspect
|
|
55
|
-
| SnowplowEventAspect
|
|
64
|
+
| SnowplowEventAspect
|
|
65
|
+
| PartnersEventAspect;
|
|
56
66
|
|
|
57
67
|
export type AspectsProps = {
|
|
58
68
|
/** @title Дополнительные атрибуты */
|
package/package.json
CHANGED
|
@@ -8,17 +8,12 @@ import { style } from '../../utils/style';
|
|
|
8
8
|
|
|
9
9
|
interface LinkListProps extends ComponentType {
|
|
10
10
|
items?: LinkProps[];
|
|
11
|
-
isFlex?: boolean;
|
|
12
11
|
}
|
|
13
12
|
|
|
14
|
-
export const LinkList = JSX<LinkListProps>(({ className
|
|
13
|
+
export const LinkList = JSX<LinkListProps>(({ className, items }) => {
|
|
15
14
|
const link = useLink();
|
|
16
15
|
|
|
17
|
-
return (
|
|
18
|
-
<ul className={style(isFlex ? 'flex flex-col gap-s' : 'block', 'w-full', className)}>
|
|
19
|
-
{items?.map(renderLinkListItem(link))}
|
|
20
|
-
</ul>
|
|
21
|
-
);
|
|
16
|
+
return <ul className={style('w-full', className)}>{items?.map(renderLinkListItem(link))}</ul>;
|
|
22
17
|
});
|
|
23
18
|
|
|
24
19
|
const renderLinkListItem =
|
|
@@ -35,6 +35,15 @@ export type ChatBotAspect = {
|
|
|
35
35
|
aspectName: 'openChatBot';
|
|
36
36
|
};
|
|
37
37
|
|
|
38
|
+
/**
|
|
39
|
+
* @title Отправить событие партнёру
|
|
40
|
+
* @default {"aspectName": "partnersEvent", "params": {"partner": "", "typeAction": "targetaction"}}
|
|
41
|
+
*/
|
|
42
|
+
export type PartnersEventAspect = {
|
|
43
|
+
aspectName: 'partnersEvent';
|
|
44
|
+
params?: AspectData;
|
|
45
|
+
};
|
|
46
|
+
|
|
38
47
|
/**
|
|
39
48
|
* @title Не выбрано
|
|
40
49
|
*/
|
|
@@ -52,7 +61,8 @@ export type AspectsDef =
|
|
|
52
61
|
| ChatBotAspect
|
|
53
62
|
| YandexReachGoalAspect
|
|
54
63
|
| MindboxEventAspect
|
|
55
|
-
| SnowplowEventAspect
|
|
64
|
+
| SnowplowEventAspect
|
|
65
|
+
| PartnersEventAspect;
|
|
56
66
|
|
|
57
67
|
export type AspectsProps = {
|
|
58
68
|
/** @title Дополнительные атрибуты */
|
|
@@ -11,37 +11,35 @@ import { type SitemapProps } from './SitemapProps';
|
|
|
11
11
|
const FOOTER_AREA_KEYS = ['all', 'footer'];
|
|
12
12
|
const IS_SINGLE_SEARCH_INDEX = Boolean(env.SINGLE_SEARCH_INDEX);
|
|
13
13
|
|
|
14
|
-
export const Sitemap = JSX<SitemapProps>(
|
|
15
|
-
|
|
14
|
+
export const Sitemap = JSX<SitemapProps>(
|
|
15
|
+
({ className, navigationItems, isSearchPanel = false }) => {
|
|
16
|
+
const link = useLink();
|
|
16
17
|
|
|
17
|
-
|
|
18
|
+
const filteredItems = navigationItems?.filter(isVisibleItem(FOOTER_AREA_KEYS))?.map(link) ?? [];
|
|
18
19
|
|
|
19
|
-
|
|
20
|
+
const [firstItem] = filteredItems;
|
|
20
21
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
</div>
|
|
43
|
-
);
|
|
44
|
-
});
|
|
22
|
+
return (
|
|
23
|
+
<div className="space-y-2">
|
|
24
|
+
{IS_SINGLE_SEARCH_INDEX && isSearchPanel ? (
|
|
25
|
+
<div>
|
|
26
|
+
<LinkList className="block columns-3 space-y-3 gap-x-6xl" items={firstItem?.items} />
|
|
27
|
+
</div>
|
|
28
|
+
) : (
|
|
29
|
+
<div
|
|
30
|
+
role="menu"
|
|
31
|
+
className={style(
|
|
32
|
+
'w-full flex items-start justify-between flex-col md:flex-row gap-m lg:order-2',
|
|
33
|
+
className,
|
|
34
|
+
)}
|
|
35
|
+
>
|
|
36
|
+
{filteredItems?.map(renderColumn)}
|
|
37
|
+
</div>
|
|
38
|
+
)}
|
|
39
|
+
</div>
|
|
40
|
+
);
|
|
41
|
+
},
|
|
42
|
+
);
|
|
45
43
|
|
|
46
44
|
const renderColumn = (menuItem: TopMenuItemProps & { onClick: () => void }, index: number) => {
|
|
47
45
|
const { text, items = [], href, target = '_self', onClick, dataFooter } = menuItem;
|
|
@@ -60,7 +58,9 @@ const renderColumn = (menuItem: TopMenuItemProps & { onClick: () => void }, inde
|
|
|
60
58
|
>
|
|
61
59
|
{text}
|
|
62
60
|
</a>
|
|
63
|
-
{visibleSubItems ?
|
|
61
|
+
{visibleSubItems ? (
|
|
62
|
+
<LinkList className="flex flex-col gap-s" items={visibleSubItems} />
|
|
63
|
+
) : null}
|
|
64
64
|
</div>
|
|
65
65
|
);
|
|
66
66
|
};
|