@pronto-tools-and-more/components 10.42.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 +43 -1
- package/dist/parts/Components/Components.d.ts +7 -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
@@ -607,6 +607,41 @@ var getEmailLink = ({
|
|
607
607
|
return `mailto:?subject=${subject}&body=${formattedDetails}${separator}`;
|
608
608
|
};
|
609
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
|
+
|
610
645
|
// src/parts/HeaderLogo/HeaderLogo.tsx
|
611
646
|
var HeaderLogo = ({ logoPath }) => {
|
612
647
|
const fullMessage = `<img src="${logoPath}" alt="" />`;
|
@@ -1185,5 +1220,12 @@ export {
|
|
1185
1220
|
TagList,
|
1186
1221
|
createLanguageRegistry,
|
1187
1222
|
dateHelper,
|
1188
|
-
getEmailLink
|
1223
|
+
getEmailLink,
|
1224
|
+
getFacebookShareUrl,
|
1225
|
+
getFacebookUserUrl,
|
1226
|
+
getInstagramUserUrl,
|
1227
|
+
getPinterestUserUrl,
|
1228
|
+
getTwitterShareUrl,
|
1229
|
+
getTwitterUserUrl,
|
1230
|
+
getYoutubeUserUrl
|
1189
1231
|
};
|
@@ -16,6 +16,13 @@ export * from "../FooterItemsList/FooterItemsList.tsx";
|
|
16
16
|
export * from "../FooterSocialLink/FooterSocialLink.tsx";
|
17
17
|
export * from "../FooterSocialLinks/FooterSocialLinks.tsx";
|
18
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";
|
19
26
|
export * from "../HeaderLogo/HeaderLogo.tsx";
|
20
27
|
export * from "../HeaderLogoSection/HeaderLogoSection.tsx";
|
21
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;
|