@pronto-tools-and-more/components 10.43.0 → 10.45.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
@@ -622,6 +622,11 @@ var getInstagramUserUrl = (username) => {
622
622
  return `https://www.instagram.com/${username}`;
623
623
  };
624
624
 
625
+ // src/parts/GetLinkedinShareUrl/GetLinkedinShareUrl.ts
626
+ var getLinkedinShareUrl = ({ url }) => {
627
+ return `https://www.linkedin.com/sharing/share-offsite/?url=${url}`;
628
+ };
629
+
625
630
  // src/parts/GetPinterestUserUrl/GetPinterestUserUrl.ts
626
631
  var getPinterestUserUrl = (username) => {
627
632
  return `https://ch.pinterest.com/${username}`;
@@ -1224,6 +1229,7 @@ export {
1224
1229
  getFacebookShareUrl,
1225
1230
  getFacebookUserUrl,
1226
1231
  getInstagramUserUrl,
1232
+ getLinkedinShareUrl,
1227
1233
  getPinterestUserUrl,
1228
1234
  getTwitterShareUrl,
1229
1235
  getTwitterUserUrl,
@@ -19,6 +19,7 @@ export * from "../GetEmailLink/GetEmailLink.ts";
19
19
  export * from "../GetFacebookShareUrl/GetFacebookShareUrl.ts";
20
20
  export * from "../GetFacebookUserUrl/GetFacebookUserUrl.ts";
21
21
  export * from "../GetInstagramUserUrl/GetInstagramUserUrl.ts";
22
+ export * from "../GetLinkedinShareUrl/GetLinkedinShareUrl.ts";
22
23
  export * from "../GetPinterestUserUrl/GetPinterestUserUrl.ts";
23
24
  export * from "../GetTwitterShareUrl/GetTwitterShareUrl.ts";
24
25
  export * from "../GetTwitterUserUrl/GetTwitterUserUrl.ts";
@@ -0,0 +1,3 @@
1
+ export declare const getLinkedinShareUrl: ({ url }: {
2
+ url: string;
3
+ }) => string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pronto-tools-and-more/components",
3
- "version": "10.43.0",
3
+ "version": "10.45.0",
4
4
  "description": "",
5
5
  "main": "dist/main.js",
6
6
  "types": "dist/main.d.ts",
@@ -16,8 +16,8 @@
16
16
  "author": "",
17
17
  "license": "MIT",
18
18
  "devDependencies": {
19
- "@types/node": "^22.10.0",
20
- "@types/react": "^18.3.12",
19
+ "@types/node": "^22.10.1",
20
+ "@types/react": "^18.3.13",
21
21
  "esbuild": "^0.24.0",
22
22
  "react": "^18.3.1",
23
23
  "ts-jest": "^29.2.5"