@pronto-tools-and-more/components 10.41.0 → 10.43.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/main.js +54 -1
- package/dist/parts/Components/Components.d.ts +8 -0
- package/dist/parts/GetEmailLink/GetEmailLink.d.ts +4 -0
- package/dist/parts/GetFacebookShareUrl/GetFacebookShareUrl.d.ts +3 -0
- package/dist/parts/GetFacebookUserUrl/GetFacebookUserUrl.d.ts +1 -0
- package/dist/parts/GetInstagramUserUrl/GetInstagramUserUrl.d.ts +1 -0
- package/dist/parts/GetPinterestUserUrl/GetPinterestUserUrl.d.ts +1 -0
- package/dist/parts/GetTwitterShareUrl/GetTwitterShareUrl.d.ts +3 -0
- package/dist/parts/GetTwitterUserUrl/GetTwitterUserUrl.d.ts +1 -0
- package/dist/parts/GetYoutubeUserUrl/GetYoutubeUserUrl.d.ts +1 -0
- package/package.json +1 -1
package/dist/main.js
CHANGED
@@ -597,6 +597,51 @@ 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
|
+
|
610
|
+
// src/parts/GetFacebookShareUrl/GetFacebookShareUrl.ts
|
611
|
+
var getFacebookShareUrl = ({ url }) => {
|
612
|
+
return `https://www.facebook.com/sharer/sharer.php?u=${url}`;
|
613
|
+
};
|
614
|
+
|
615
|
+
// src/parts/GetFacebookUserUrl/GetFacebookUserUrl.ts
|
616
|
+
var getFacebookUserUrl = (username) => {
|
617
|
+
return `https://www.facebook.com/${username}`;
|
618
|
+
};
|
619
|
+
|
620
|
+
// src/parts/GetInstagramUserUrl/GetInstagramUserUrl.ts
|
621
|
+
var getInstagramUserUrl = (username) => {
|
622
|
+
return `https://www.instagram.com/${username}`;
|
623
|
+
};
|
624
|
+
|
625
|
+
// src/parts/GetPinterestUserUrl/GetPinterestUserUrl.ts
|
626
|
+
var getPinterestUserUrl = (username) => {
|
627
|
+
return `https://ch.pinterest.com/${username}`;
|
628
|
+
};
|
629
|
+
|
630
|
+
// src/parts/GetTwitterShareUrl/GetTwitterShareUrl.ts
|
631
|
+
var getTwitterShareUrl = ({ url }) => {
|
632
|
+
return `https://twitter.com/intent/tweet?text=${url}`;
|
633
|
+
};
|
634
|
+
|
635
|
+
// src/parts/GetTwitterUserUrl/GetTwitterUserUrl.ts
|
636
|
+
var getTwitterUserUrl = (username) => {
|
637
|
+
return `https://x.com/${username}`;
|
638
|
+
};
|
639
|
+
|
640
|
+
// src/parts/GetYoutubeUserUrl/GetYoutubeUserUrl.ts
|
641
|
+
var getYoutubeUserUrl = (username) => {
|
642
|
+
return `https://www.youtube.com/user/myfritzundfraenzi/${username}`;
|
643
|
+
};
|
644
|
+
|
600
645
|
// src/parts/HeaderLogo/HeaderLogo.tsx
|
601
646
|
var HeaderLogo = ({ logoPath }) => {
|
602
647
|
const fullMessage = `<img src="${logoPath}" alt="" />`;
|
@@ -1174,5 +1219,13 @@ export {
|
|
1174
1219
|
SubscriptionLink,
|
1175
1220
|
TagList,
|
1176
1221
|
createLanguageRegistry,
|
1177
|
-
dateHelper
|
1222
|
+
dateHelper,
|
1223
|
+
getEmailLink,
|
1224
|
+
getFacebookShareUrl,
|
1225
|
+
getFacebookUserUrl,
|
1226
|
+
getInstagramUserUrl,
|
1227
|
+
getPinterestUserUrl,
|
1228
|
+
getTwitterShareUrl,
|
1229
|
+
getTwitterUserUrl,
|
1230
|
+
getYoutubeUserUrl
|
1178
1231
|
};
|
@@ -15,6 +15,14 @@ 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";
|
19
|
+
export * from "../GetFacebookShareUrl/GetFacebookShareUrl.ts";
|
20
|
+
export * from "../GetFacebookUserUrl/GetFacebookUserUrl.ts";
|
21
|
+
export * from "../GetInstagramUserUrl/GetInstagramUserUrl.ts";
|
22
|
+
export * from "../GetPinterestUserUrl/GetPinterestUserUrl.ts";
|
23
|
+
export * from "../GetTwitterShareUrl/GetTwitterShareUrl.ts";
|
24
|
+
export * from "../GetTwitterUserUrl/GetTwitterUserUrl.ts";
|
25
|
+
export * from "../GetYoutubeUserUrl/GetYoutubeUserUrl.ts";
|
18
26
|
export * from "../HeaderLogo/HeaderLogo.tsx";
|
19
27
|
export * from "../HeaderLogoSection/HeaderLogoSection.tsx";
|
20
28
|
export * from "../HeaderMenuItems/HeaderMenuItems.tsx";
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const getFacebookUserUrl: (username: string) => string;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const getInstagramUserUrl: (username: string) => string;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const getPinterestUserUrl: (username: string) => string;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const getTwitterUserUrl: (username: string) => string;
|
@@ -0,0 +1 @@
|
|
1
|
+
export declare const getYoutubeUserUrl: (username: string) => string;
|