@pronto-tools-and-more/components 10.47.0 → 10.48.0

Sign up to get free protection for your applications and to get access to all the features.
package/dist/main.js CHANGED
@@ -440,7 +440,9 @@ var unrender5 = (element, renderElement) => {
440
440
  name: `$functions.id($context, 'content', 'name')`,
441
441
  description: `$functions.id($context, 'content', 'description')`,
442
442
  imageSrc: `$functions.id($context, 'content', 'thumbnails', 'default')`,
443
- slug: `$functions.id($context, 'content', 'properties', 'slug')`
443
+ slug: `$functions.id($context, 'content', 'properties', 'slug')`,
444
+ totalCount: 12
445
+ // TODO use real total count once supported
444
446
  });
445
447
  const final = renderElement(node);
446
448
  return {
@@ -1292,13 +1294,15 @@ var Seo = ({
1292
1294
  titlePostfix,
1293
1295
  language,
1294
1296
  alternates,
1295
- googleSiteVerification
1297
+ googleSiteVerification,
1298
+ image
1296
1299
  } = {}) => {
1297
1300
  const json = {
1298
1301
  title: `${title}${titlePostfix}`,
1299
1302
  seo: {
1300
1303
  og_title: `${title}${titlePostfix}`,
1301
1304
  og_description: description,
1305
+ og_image: image,
1302
1306
  description,
1303
1307
  title: `${title}${titlePostfix}`,
1304
1308
  keywords,
@@ -3,4 +3,5 @@ export interface IDossierListItem {
3
3
  readonly description: string;
4
4
  readonly imageSrc: string;
5
5
  readonly slug: string;
6
+ readonly totalCount: number;
6
7
  }
@@ -1,5 +1,5 @@
1
1
  import type { HrefLangAlternate } from "../HrefLangAlternate/HrefLangAlternate.ts";
2
- export declare const Seo: ({ title, description, keywords, titlePostfix, language, alternates, googleSiteVerification, }?: {
2
+ export declare const Seo: ({ title, description, keywords, titlePostfix, language, alternates, googleSiteVerification, image, }?: {
3
3
  title?: string;
4
4
  description?: string;
5
5
  keywords?: string;
@@ -8,4 +8,5 @@ export declare const Seo: ({ title, description, keywords, titlePostfix, languag
8
8
  hrefLang?: string;
9
9
  alternates?: readonly HrefLangAlternate[];
10
10
  googleSiteVerification?: string;
11
+ image?: string;
11
12
  }) => import("react").JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pronto-tools-and-more/components",
3
- "version": "10.47.0",
3
+ "version": "10.48.0",
4
4
  "description": "",
5
5
  "main": "dist/main.js",
6
6
  "types": "dist/main.d.ts",
@@ -17,7 +17,7 @@
17
17
  "license": "MIT",
18
18
  "devDependencies": {
19
19
  "@types/node": "^22.10.1",
20
- "@types/react": "^19.0.0",
20
+ "@types/react": "^19.0.1",
21
21
  "esbuild": "^0.24.0",
22
22
  "react": "^19.0.0",
23
23
  "ts-jest": "^29.2.5"