@pronto-tools-and-more/components 12.30.0 → 12.31.0

Sign up to get free protection for your applications and to get access to all the features.
package/dist/main.js CHANGED
@@ -288,8 +288,8 @@ var getNodeInfo = (element) => {
288
288
  readTime: `$functions.getReadTime($functions.id($context, ${contentKey}))`,
289
289
  publicationDate: `$functions.id($context, ${contentKey}, 'publicationDate')`,
290
290
  id: `$functions.id($context, ${contentKey}, 'id')`,
291
- primaryCategoryId: `$functions.getPrimaryCategoryProperty($context["${contentKey ?? "content"}"], 'id')`,
292
- primaryCategoryName: `$functions.getPrimaryCategoryProperty($context["${contentKey ?? "content"}"], 'name')`,
291
+ primaryCategoryId: `$functions.getPrimaryCategoryProperty($context[${contentKey}], 'id')`,
292
+ primaryCategoryName: `$functions.getPrimaryCategoryProperty($context[${contentKey}], 'name')`,
293
293
  access: `$functions.id($context, ${contentKey}, 'access')`
294
294
  };
295
295
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pronto-tools-and-more/components",
3
- "version": "12.30.0",
3
+ "version": "12.31.0",
4
4
  "description": "",
5
5
  "main": "dist/main.js",
6
6
  "types": "dist/main.d.ts",
@@ -1,4 +0,0 @@
1
- export declare const createFakeSection: (children: any) => {
2
- type: string;
3
- content: any[];
4
- };
@@ -1,4 +0,0 @@
1
- export declare const createFakeSection2: (children: any) => {
2
- type: string;
3
- content: any[];
4
- };
@@ -1,5 +0,0 @@
1
- export declare const fakeNode: {
2
- type: string;
3
- tag: string;
4
- content: string;
5
- };
@@ -1,5 +0,0 @@
1
- export declare const fakeNode2: {
2
- type: string;
3
- tag: string;
4
- content: string;
5
- };
@@ -1,7 +0,0 @@
1
- import type React from "react";
2
- export declare const createElement: (tag: any, props: any, ...children: any[]) => {
3
- tag: any;
4
- props: any;
5
- children: any[];
6
- };
7
- export declare const unwrapComponent: (element: React.ReactNode) => any;