@pronto-tools-and-more/components 7.0.0 → 7.1.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/main.js +17 -0
- 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,6 +69,21 @@ 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
|
return /* @__PURE__ */ React.createElement("a", { href: "/", className: "HeaderLogo" }, /* @__PURE__ */ React.createElement("img", { src: logoPath, alt: "" }));
|
@@ -443,6 +458,8 @@ export {
|
|
443
458
|
ContentTitle,
|
444
459
|
EPaperLink,
|
445
460
|
FooterItemsList,
|
461
|
+
FooterSocialLink,
|
462
|
+
FooterSocialLinks,
|
446
463
|
HeaderLogo,
|
447
464
|
HeaderLogoSection,
|
448
465
|
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";
|