From 068f00b7239b79220b4520df609329dbbb16d4ed Mon Sep 17 00:00:00 2001 From: Gregor Wassmann Date: Fri, 31 Mar 2023 23:23:26 +0200 Subject: [PATCH] chore: v11 UIShell --- src/UIShell/HeaderAction.svelte | 1 + src/UIShell/HeaderActionLink.svelte | 7 ++----- src/UIShell/HeaderGlobalAction.svelte | 1 + 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/UIShell/HeaderAction.svelte b/src/UIShell/HeaderAction.svelte index 185bf045..14602ee5 100644 --- a/src/UIShell/HeaderAction.svelte +++ b/src/UIShell/HeaderAction.svelte @@ -70,6 +70,7 @@ type="button" class:bx--header__action="{true}" class:bx--header__action--active="{isOpen}" + class:bx--btn--icon-only="{!text}" class:action-text="{text}" {...$$restProps} on:click diff --git a/src/UIShell/HeaderActionLink.svelte b/src/UIShell/HeaderActionLink.svelte index e502d87c..3d439244 100644 --- a/src/UIShell/HeaderActionLink.svelte +++ b/src/UIShell/HeaderActionLink.svelte @@ -22,6 +22,7 @@ bind:this="{ref}" class:bx--header__action="{true}" class:bx--header__action--active="{linkIsActive}" + class:bx--btn--icon-only="{true}" href="{href}" rel="{$$restProps.target === '_blank' ? 'noopener noreferrer' : undefined}" {...$$restProps} @@ -34,10 +35,6 @@ diff --git a/src/UIShell/HeaderGlobalAction.svelte b/src/UIShell/HeaderGlobalAction.svelte index e4ba1742..e877f36d 100644 --- a/src/UIShell/HeaderGlobalAction.svelte +++ b/src/UIShell/HeaderGlobalAction.svelte @@ -17,6 +17,7 @@ bind:this="{ref}" class:bx--header__action="{true}" class:bx--header__action--active="{isActive}" + class:bx--btn--icon-only="{true}" {...$$restProps} on:click >