@pronto-tools-and-more/components-renderer 8.8.0 → 8.10.0

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pronto-tools-and-more/components-renderer",
3
- "version": "8.8.0",
3
+ "version": "8.10.0",
4
4
  "description": "",
5
5
  "main": "src/componentsRendererMain.js",
6
6
  "type": "module",
@@ -6,9 +6,15 @@ export const renderCustomElementSearchResults = (element, renderElement) => {
6
6
  ) {
7
7
  const { render, ...rest } = element;
8
8
  const node = render({
9
- title: "abc",
10
- name: "abc",
11
- description: "def",
9
+ title: "$functions.id($context, 'search-result', 'issue', 'name')",
10
+ name: "$functions.id($context, 'search-result', 'issue', 'name')",
11
+ description:
12
+ "$functions.id($context, 'search-result', 'issue', 'description')",
13
+ imageSrc:
14
+ "$functions.id($context, 'search-result', 'issue', 'thumbnails', 'default')",
15
+ language:
16
+ "$functions.id($context, 'search-result', 'issue', 'properties', 'lang')",
17
+ slug: "$functions.id($context, 'search-result', 'issue', 'properties', 'slug')",
12
18
  });
13
19
  const final = renderElement(node);
14
20
  return {