@pronto-tools-and-more/components 7.0.0 → 7.2.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/main.js +27 -1
- package/dist/parts/Components/Components.d.ts +3 -0
- package/dist/parts/FooterSocialLink/FooterSocialLink.d.ts +4 -0
- package/dist/parts/FooterSocialLinks/FooterSocialLinks.d.ts +4 -0
- package/dist/parts/IFooterSocialLink/IFooterSocialLink.d.ts +5 -0
- package/package.json +1 -1
package/dist/main.js
CHANGED
@@ -69,9 +69,33 @@ var FooterItemsList = ({
|
|
69
69
|
return /* @__PURE__ */ React.createElement("div", { className: fullClassName }, /* @__PURE__ */ React.createElement(MenuItems, { menuName }));
|
70
70
|
};
|
71
71
|
|
72
|
+
// src/parts/FooterSocialLink/FooterSocialLink.tsx
|
73
|
+
var FooterSocialLink = ({ item }) => {
|
74
|
+
const iconClass = `MaskIcon MaskIcon${item.label}`;
|
75
|
+
return /* @__PURE__ */ React.createElement("li", { className: "FooterSocialLink" }, /* @__PURE__ */ React.createElement("a", { href: item.url, "aria-label": item.label }, /* @__PURE__ */ React.createElement("div", { className: iconClass })));
|
76
|
+
};
|
77
|
+
|
78
|
+
// src/parts/FooterSocialLinks/FooterSocialLinks.tsx
|
79
|
+
var FooterSocialLinks = ({
|
80
|
+
items
|
81
|
+
}) => {
|
82
|
+
return /* @__PURE__ */ React.createElement("ul", { className: "FooterSocialLinks" }, ...items.map((link) => {
|
83
|
+
return /* @__PURE__ */ React.createElement(FooterSocialLink, { item: link });
|
84
|
+
}));
|
85
|
+
};
|
86
|
+
|
72
87
|
// src/parts/HeaderLogo/HeaderLogo.tsx
|
73
88
|
var HeaderLogo = ({ logoPath }) => {
|
74
|
-
|
89
|
+
const fullMessage = `<img src="${logoPath}" alt="" />`;
|
90
|
+
const json = {
|
91
|
+
type: "button",
|
92
|
+
tap: {
|
93
|
+
type: "navigate",
|
94
|
+
path: "/"
|
95
|
+
},
|
96
|
+
message: fullMessage
|
97
|
+
};
|
98
|
+
return /* @__PURE__ */ React.createElement("div", { className: "HeaderLogo" }, /* @__PURE__ */ React.createElement(JsonComponent, { json }));
|
75
99
|
};
|
76
100
|
|
77
101
|
// src/parts/HeaderLogoSection/HeaderLogoSection.tsx
|
@@ -443,6 +467,8 @@ export {
|
|
443
467
|
ContentTitle,
|
444
468
|
EPaperLink,
|
445
469
|
FooterItemsList,
|
470
|
+
FooterSocialLink,
|
471
|
+
FooterSocialLinks,
|
446
472
|
HeaderLogo,
|
447
473
|
HeaderLogoSection,
|
448
474
|
HeaderMenuItems,
|
@@ -3,10 +3,13 @@ export * from "../ContentBody/ContentBody.tsx";
|
|
3
3
|
export * from "../ContentTitle/ContentTitle.tsx";
|
4
4
|
export * from "../EPaperLink/EPaperLink.tsx";
|
5
5
|
export * from "../FooterItemsList/FooterItemsList.tsx";
|
6
|
+
export * from "../FooterSocialLink/FooterSocialLink.tsx";
|
7
|
+
export * from "../FooterSocialLinks/FooterSocialLinks.tsx";
|
6
8
|
export * from "../HeaderLogo/HeaderLogo.tsx";
|
7
9
|
export * from "../HeaderLogoSection/HeaderLogoSection.tsx";
|
8
10
|
export * from "../HeaderMenuItems/HeaderMenuItems.tsx";
|
9
11
|
export * from "../Heading/Heading.tsx";
|
12
|
+
export * from "../IFooterSocialLink/IFooterSocialLink.ts";
|
10
13
|
export * from "../JsonComponent/JsonComponent.tsx";
|
11
14
|
export * from "../Link/Link.tsx";
|
12
15
|
export * from "../Login/Login.tsx";
|