@pronto-tools-and-more/components 11.10.0 → 11.12.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
@@ -230,7 +230,8 @@ var unrender2 = (element, renderElement) => {
230
230
  slug: `$functions.id($context, ${contentKey}, 'properties', 'slug')`,
231
231
  metadataVideoPodcast: `$functions.id($context, ${contentKey}, 'properties', 'metadataVideoPodcast')`,
232
232
  readTime: `$functions.getReadTime($functions.id($context, ${contentKey}))`,
233
- publicationDate: `$functions.id($context, ${contentKey}, 'publicationDate')`
233
+ publicationDate: `$functions.id($context, ${contentKey}, 'publicationDate')`,
234
+ id: `$functions.id($context, ${contentKey}, 'id')`
234
235
  });
235
236
  const final = renderElement(node);
236
237
  return {
@@ -1,5 +1,6 @@
1
+ import type { IBookmarkInfo } from "../IBookmarkInfo/IBookmarkInfo.ts";
1
2
  export declare const BaseBookmarkButton: ({ info, children, className, }: {
2
- info: any;
3
+ info: IBookmarkInfo;
3
4
  children: React.ReactNode[];
4
5
  className?: string;
5
6
  }) => import("react").JSX.Element;
@@ -34,6 +34,7 @@ export * from "../Heading/Heading.tsx";
34
34
  export * from "../HighlightedEPaper/HighlightedEpaper.tsx";
35
35
  export * from "../HrefLangAlternate/HrefLangAlternate.ts";
36
36
  export * from "../IArticleListItem/IArticleListItem.ts";
37
+ export * from "../IBookmarkInfo/IBookmarkInfo.ts";
37
38
  export * from "../ICategoryItem/ICategoryItem.ts";
38
39
  export * from "../IDossierListItem/IDossierListItem.ts";
39
40
  export * from "../IFooterSocialLink/IFooterSocialLink.ts";
@@ -7,4 +7,5 @@ export interface IArticleListItem {
7
7
  readonly metadataVideoPodcast?: string;
8
8
  readonly readTime?: string;
9
9
  readonly publicationDate: string;
10
+ readonly id: string;
10
11
  }
@@ -0,0 +1,5 @@
1
+ export interface IBookmarkInfo {
2
+ readonly title: string;
3
+ readonly url: string;
4
+ readonly id: string;
5
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pronto-tools-and-more/components",
3
- "version": "11.10.0",
3
+ "version": "11.12.0",
4
4
  "description": "",
5
5
  "main": "dist/main.js",
6
6
  "types": "dist/main.d.ts",