@pronto-tools-and-more/components 15.3.0 → 15.5.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
@@ -1063,6 +1063,11 @@ var getPinterestUserUrl = (username) => {
1063
1063
  return `https://ch.pinterest.com/${username}`;
1064
1064
  };
1065
1065
 
1066
+ // src/parts/GetThreadsUserUrl/GetThreadsUserUrl.ts
1067
+ var getThreadsUserUrl = (username) => {
1068
+ return `https://www.threads.com/${username}`;
1069
+ };
1070
+
1066
1071
  // src/parts/GetTwitterShareUrl/GetTwitterShareUrl.ts
1067
1072
  var getTwitterShareUrl = ({ url }) => {
1068
1073
  return `https://twitter.com/intent/tweet?text=${url}`;
@@ -1493,7 +1498,8 @@ var unrender12 = (element, renderElement) => {
1493
1498
  const node = render({
1494
1499
  id: `$functions.id($context, 'issue', 'id')`,
1495
1500
  imageSrc: `$functions.id($context, 'issue', 'thumbnails', 'default')`,
1496
- date: `$functions.id($context, 'issue', 'publicationDate')`
1501
+ date: `$functions.id($context, 'issue', 'publicationDate')`,
1502
+ description: `$functions.id($context, 'issue', 'description')`
1497
1503
  });
1498
1504
  const final = renderElement(node);
1499
1505
  return {
@@ -2271,6 +2277,7 @@ export {
2271
2277
  getLinkedInUserUrl,
2272
2278
  getLinkedinShareUrl,
2273
2279
  getPinterestUserUrl,
2280
+ getThreadsUserUrl,
2274
2281
  getTwitterShareUrl,
2275
2282
  getTwitterUserUrl,
2276
2283
  getYoutubeUserUrl,
@@ -31,6 +31,7 @@ export * from "../GetInstagramUserUrl/GetInstagramUserUrl.ts";
31
31
  export * from "../GetLinkedinShareUrl/GetLinkedinShareUrl.ts";
32
32
  export * from "../GetLinkedInUserUrl/GetLinkedInUserUrl.ts";
33
33
  export * from "../GetPinterestUserUrl/GetPinterestUserUrl.ts";
34
+ export * from "../GetThreadsUserUrl/GetThreadsUserUrl.ts";
34
35
  export * from "../GetTwitterShareUrl/GetTwitterShareUrl.ts";
35
36
  export * from "../GetTwitterUserUrl/GetTwitterUserUrl.ts";
36
37
  export * from "../GetYoutubeUserUrl/GetYoutubeUserUrl.ts";
@@ -0,0 +1 @@
1
+ export declare const getThreadsUserUrl: (username: string) => string;
@@ -2,4 +2,5 @@ export interface IEPaperItem {
2
2
  readonly id: string;
3
3
  readonly date: string;
4
4
  readonly imageSrc: string;
5
+ readonly description: string;
5
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pronto-tools-and-more/components",
3
- "version": "15.3.0",
3
+ "version": "15.5.0",
4
4
  "description": "",
5
5
  "main": "dist/main.js",
6
6
  "types": "dist/main.d.ts",