@pronto-tools-and-more/components 14.48.0 → 14.50.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
@@ -637,7 +637,9 @@ var Collection = ({
637
637
 
638
638
  // src/parts/Conditions/Conditions.ts
639
639
  var Conditions = {
640
- SearchResultsAreEmpty: "!$context.phrase"
640
+ SearchResultsAreEmpty: "!$context.phrase",
641
+ LanguageIsGerman: `'$context.language === "de"'`,
642
+ LanguageIsNotGerman: `'$context.language !== "de"'`
641
643
  };
642
644
 
643
645
  // src/parts/Container/Container.tsx
@@ -1794,6 +1796,7 @@ var getNodeInfo3 = (element) => {
1794
1796
  return {
1795
1797
  title: `$functions.id($context, ${contentKey}, 'issue', 'name')`,
1796
1798
  name: `$functions.id($context, ${contentKey}, 'issue', 'name')`,
1799
+ id: `$functions.id($context, ${contentKey}, 'issue', 'id')`,
1797
1800
  description: `$functions.id($context, ${contentKey}, 'issue', 'description')`,
1798
1801
  imageSrc: getImageSrc(fallbackImage),
1799
1802
  language: `$functions.getLanguage($functions.id($context, ${contentKey}, 'issue'))`,
@@ -1,3 +1,5 @@
1
1
  export declare const Conditions: {
2
2
  SearchResultsAreEmpty: string;
3
+ LanguageIsGerman: string;
4
+ LanguageIsNotGerman: string;
3
5
  };
@@ -3,8 +3,10 @@ export interface ISearchResult {
3
3
  readonly primaryCategoryId?: string;
4
4
  readonly primaryCategoryLanguage?: string;
5
5
  readonly label: string;
6
- readonly readtime: string;
6
+ readonly readTime: string;
7
7
  readonly title: string;
8
+ readonly id: string;
9
+ readonly name: string;
8
10
  readonly description: string;
9
11
  readonly imageSrc: string;
10
12
  readonly slug: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pronto-tools-and-more/components",
3
- "version": "14.48.0",
3
+ "version": "14.50.0",
4
4
  "description": "",
5
5
  "main": "dist/main.js",
6
6
  "types": "dist/main.d.ts",