@pronto-tools-and-more/components 10.41.0 → 10.42.0
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/dist/main.js
CHANGED
@@ -597,6 +597,16 @@ var FooterSocialLinks = ({
|
|
597
597
|
}));
|
598
598
|
};
|
599
599
|
|
600
|
+
// src/parts/GetEmailLink/GetEmailLink.ts
|
601
|
+
var separator = "%0D%0D";
|
602
|
+
var getEmailLink = ({
|
603
|
+
subject,
|
604
|
+
details
|
605
|
+
}) => {
|
606
|
+
const formattedDetails = details.join(separator);
|
607
|
+
return `mailto:?subject=${subject}&body=${formattedDetails}${separator}`;
|
608
|
+
};
|
609
|
+
|
600
610
|
// src/parts/HeaderLogo/HeaderLogo.tsx
|
601
611
|
var HeaderLogo = ({ logoPath }) => {
|
602
612
|
const fullMessage = `<img src="${logoPath}" alt="" />`;
|
@@ -1174,5 +1184,6 @@ export {
|
|
1174
1184
|
SubscriptionLink,
|
1175
1185
|
TagList,
|
1176
1186
|
createLanguageRegistry,
|
1177
|
-
dateHelper
|
1187
|
+
dateHelper,
|
1188
|
+
getEmailLink
|
1178
1189
|
};
|
@@ -15,6 +15,7 @@ export * from "../ErrorPage/ErrorPage.tsx";
|
|
15
15
|
export * from "../FooterItemsList/FooterItemsList.tsx";
|
16
16
|
export * from "../FooterSocialLink/FooterSocialLink.tsx";
|
17
17
|
export * from "../FooterSocialLinks/FooterSocialLinks.tsx";
|
18
|
+
export * from "../GetEmailLink/GetEmailLink.ts";
|
18
19
|
export * from "../HeaderLogo/HeaderLogo.tsx";
|
19
20
|
export * from "../HeaderLogoSection/HeaderLogoSection.tsx";
|
20
21
|
export * from "../HeaderMenuItems/HeaderMenuItems.tsx";
|