From c7fa403f9d2de66044fd1824dab3a42ccd87183c Mon Sep 17 00:00:00 2001 From: Barrett Grubbs Date: Wed, 25 Sep 2024 11:23:52 -0400 Subject: [PATCH 1/2] add the slot for card actions back for non interactive variants --- packages/web-components/src/components/cbp-card/cbp-card.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/web-components/src/components/cbp-card/cbp-card.tsx b/packages/web-components/src/components/cbp-card/cbp-card.tsx index e0052a8b..6600f764 100644 --- a/packages/web-components/src/components/cbp-card/cbp-card.tsx +++ b/packages/web-components/src/components/cbp-card/cbp-card.tsx @@ -70,6 +70,7 @@ export class CbpCard { {(this.variant !== 'banner') && } + ) } From 9f02ebeb27d6649897ac9ae3a737a29a2880f34e Mon Sep 17 00:00:00 2001 From: Barrett Grubbs Date: Wed, 25 Sep 2024 11:40:37 -0400 Subject: [PATCH 2/2] update logic --- packages/web-components/src/components/cbp-card/cbp-card.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/web-components/src/components/cbp-card/cbp-card.tsx b/packages/web-components/src/components/cbp-card/cbp-card.tsx index 6600f764..50212227 100644 --- a/packages/web-components/src/components/cbp-card/cbp-card.tsx +++ b/packages/web-components/src/components/cbp-card/cbp-card.tsx @@ -70,7 +70,7 @@ export class CbpCard { {(this.variant !== 'banner') && } - + {!this.interactive && } ) }