From b37c91762280f6110b2efc41f437eeb940a08195 Mon Sep 17 00:00:00 2001 From: Mikel Madariaga Date: Mon, 5 Feb 2024 12:58:42 +0100 Subject: [PATCH] tell ChildDecorator whether variant is text or icon --- library/package.json | 2 +- library/src/components/List/Content/Card/ContentCardBody.tsx | 2 ++ library/src/components/List/Content/Shared/ChildEntityLinks.tsx | 2 ++ .../src/components/List/Content/Shared/MoreChildEntityLinks.tsx | 2 ++ library/src/components/List/Content/Table/ContentTable.tsx | 2 ++ library/src/entities/EntityInterface.ts | 1 + 6 files changed, 10 insertions(+), 1 deletion(-) diff --git a/library/package.json b/library/package.json index 2b10651..c365996 100644 --- a/library/package.json +++ b/library/package.json @@ -1,6 +1,6 @@ { "name": "@irontec/ivoz-ui", - "version": "1.1.20", + "version": "1.1.21", "description": "UI library used in ivozprovider", "license": "GPL-3.0", "main": "index.js", diff --git a/library/src/components/List/Content/Card/ContentCardBody.tsx b/library/src/components/List/Content/Card/ContentCardBody.tsx index 4af8802..6099c19 100644 --- a/library/src/components/List/Content/Card/ContentCardBody.tsx +++ b/library/src/components/List/Content/Card/ContentCardBody.tsx @@ -119,6 +119,7 @@ const ContentCardBody = (props: ContentCardProps): JSX.Element => { detail={ showDetail && ( { edit={ (acl.update || !showDetail) && ( { return ( { })} {childEntitiesCopy.length === 0 && deleteMapItem && ( { { })} {deleteMapItem && ( { detail={ showDetail && ( { edit={ (acl.update || !showDetail) && ( ; entityService: EntityService; + variant: 'icon' | 'text'; disabled?: boolean | undefined; }