@pronto-tools-and-more/components 9.14.0 → 9.15.0

Sign up to get free protection for your applications and to get access to all the features.
package/dist/main.js CHANGED
@@ -263,8 +263,20 @@ var Heading = ({
263
263
  var createFilterFromProperties = ({
264
264
  properties,
265
265
  authorId,
266
- categoryId
266
+ categoryId,
267
+ bundleId
267
268
  }) => {
269
+ if (bundleId) {
270
+ return [
271
+ {
272
+ bundle: {
273
+ value: {
274
+ id: bundleId
275
+ }
276
+ }
277
+ }
278
+ ];
279
+ }
268
280
  if (categoryId) {
269
281
  return [
270
282
  {
@@ -326,12 +338,14 @@ var IssueList = ({
326
338
  properties,
327
339
  render,
328
340
  authorId,
329
- categoryId
341
+ categoryId,
342
+ bundleId
330
343
  }) => {
331
344
  const additionalFilter = createFilterFromProperties({
332
345
  properties,
333
346
  authorId,
334
- categoryId
347
+ categoryId,
348
+ bundleId
335
349
  });
336
350
  const json = {
337
351
  render,
@@ -1,5 +1,6 @@
1
- export declare const createFilterFromProperties: ({ properties, authorId, categoryId, }: {
1
+ export declare const createFilterFromProperties: ({ properties, authorId, categoryId, bundleId, }: {
2
2
  properties: any;
3
3
  authorId?: string;
4
4
  categoryId?: string;
5
+ bundleId?: string;
5
6
  }) => any[];
@@ -1,7 +1,8 @@
1
1
  import { IssueListItemRenderer } from "../IssueListItemRenderer/IssueListItemRenderer.ts";
2
- export declare const IssueList: ({ properties, render, authorId, categoryId, }: {
2
+ export declare const IssueList: ({ properties, render, authorId, categoryId, bundleId, }: {
3
3
  properties: any;
4
4
  authorId?: string;
5
5
  categoryId?: string;
6
+ bundleId?: string;
6
7
  render: IssueListItemRenderer;
7
8
  }) => import("react").JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pronto-tools-and-more/components",
3
- "version": "9.14.0",
3
+ "version": "9.15.0",
4
4
  "description": "",
5
5
  "main": "dist/main.js",
6
6
  "types": "dist/main.d.ts",