@pronto-tools-and-more/components 10.42.0 → 10.44.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 +49 -1
- package/dist/parts/Components/Components.d.ts +8 -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/GetLinkedinShareUrl/GetLinkedinShareUrl.d.ts +3 -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,46 @@ 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/GetLinkedinShareUrl/GetLinkedinShareUrl.ts
|
|
626
|
+
var getLinkedinShareUrl = ({ url }) => {
|
|
627
|
+
return `https://www.linkedin.com/sharing/share-offsite/?url=${url}`;
|
|
628
|
+
};
|
|
629
|
+
|
|
630
|
+
// src/parts/GetPinterestUserUrl/GetPinterestUserUrl.ts
|
|
631
|
+
var getPinterestUserUrl = (username) => {
|
|
632
|
+
return `https://ch.pinterest.com/${username}`;
|
|
633
|
+
};
|
|
634
|
+
|
|
635
|
+
// src/parts/GetTwitterShareUrl/GetTwitterShareUrl.ts
|
|
636
|
+
var getTwitterShareUrl = ({ url }) => {
|
|
637
|
+
return `https://twitter.com/intent/tweet?text=${url}`;
|
|
638
|
+
};
|
|
639
|
+
|
|
640
|
+
// src/parts/GetTwitterUserUrl/GetTwitterUserUrl.ts
|
|
641
|
+
var getTwitterUserUrl = (username) => {
|
|
642
|
+
return `https://x.com/${username}`;
|
|
643
|
+
};
|
|
644
|
+
|
|
645
|
+
// src/parts/GetYoutubeUserUrl/GetYoutubeUserUrl.ts
|
|
646
|
+
var getYoutubeUserUrl = (username) => {
|
|
647
|
+
return `https://www.youtube.com/user/myfritzundfraenzi/${username}`;
|
|
648
|
+
};
|
|
649
|
+
|
|
610
650
|
// src/parts/HeaderLogo/HeaderLogo.tsx
|
|
611
651
|
var HeaderLogo = ({ logoPath }) => {
|
|
612
652
|
const fullMessage = `<img src="${logoPath}" alt="" />`;
|
|
@@ -1185,5 +1225,13 @@ export {
|
|
|
1185
1225
|
TagList,
|
|
1186
1226
|
createLanguageRegistry,
|
|
1187
1227
|
dateHelper,
|
|
1188
|
-
getEmailLink
|
|
1228
|
+
getEmailLink,
|
|
1229
|
+
getFacebookShareUrl,
|
|
1230
|
+
getFacebookUserUrl,
|
|
1231
|
+
getInstagramUserUrl,
|
|
1232
|
+
getLinkedinShareUrl,
|
|
1233
|
+
getPinterestUserUrl,
|
|
1234
|
+
getTwitterShareUrl,
|
|
1235
|
+
getTwitterUserUrl,
|
|
1236
|
+
getYoutubeUserUrl
|
|
1189
1237
|
};
|
|
@@ -16,6 +16,14 @@ 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 "../GetLinkedinShareUrl/GetLinkedinShareUrl.ts";
|
|
23
|
+
export * from "../GetPinterestUserUrl/GetPinterestUserUrl.ts";
|
|
24
|
+
export * from "../GetTwitterShareUrl/GetTwitterShareUrl.ts";
|
|
25
|
+
export * from "../GetTwitterUserUrl/GetTwitterUserUrl.ts";
|
|
26
|
+
export * from "../GetYoutubeUserUrl/GetYoutubeUserUrl.ts";
|
|
19
27
|
export * from "../HeaderLogo/HeaderLogo.tsx";
|
|
20
28
|
export * from "../HeaderLogoSection/HeaderLogoSection.tsx";
|
|
21
29
|
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;
|