diff --git a/COMPONENT_INDEX.md b/COMPONENT_INDEX.md
index db543f3e..a77d5760 100644
--- a/COMPONENT_INDEX.md
+++ b/COMPONENT_INDEX.md
@@ -1624,12 +1624,12 @@ None.
### Slots
-| Slot name | Default | Props | Fallback |
-| :-------- | :------ | :---- | :--------------------------------------------------------------------- |
-| -- | Yes | -- | -- |
-| closeIcon | No | -- | <svelte:component this="{closeIcon}" size="{20}" />
|
-| icon | No | -- | <svelte:component this="{icon}" size="{20}" />
|
-| text | No | -- | {#if text}<span>{text}</span>{/if}
|
+| Slot name | Default | Props | Fallback |
+| :-------- | :------ | :---- | :--------------------------------------------------------------------------------------------------- |
+| -- | Yes | -- | -- |
+| closeIcon | No | -- | <svelte:component this="{closeIcon}" size="{20}" />
|
+| icon | No | -- | <svelte:component this="{icon}" size="{20}" />
|
+| text | No | -- | {#if text}<span class:bx--header\_\_action-text="{true}">{text}</span>{/if}
|
### Events
@@ -1835,9 +1835,9 @@ export interface HeaderSearchResult {
### Slots
-| Slot name | Default | Props | Fallback |
-| :-------- | :------ | :---------------------------------------------------------- | :------------------------------------------------------------------------------------------------------------ |
-| -- | Yes | { result: HeaderSearchResult; index: number }
| {result.text}
{#if result.description}<span>– {result.description}</span>{/if}
|
+| Slot name | Default | Props | Fallback |
+| :-------- | :------ | :---------------------------------------------------------- | :---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
+| -- | Yes | { result: HeaderSearchResult; index: number }
| {result.text}
{#if result.description}<span
class:bx--header-search-menu-description="{true}"
>– {result.description}</span
>{/if}
|
### Events
diff --git a/docs/src/COMPONENT_API.json b/docs/src/COMPONENT_API.json
index 664ad168..49caf480 100644
--- a/docs/src/COMPONENT_API.json
+++ b/docs/src/COMPONENT_API.json
@@ -4998,7 +4998,7 @@
{
"name": "text",
"default": false,
- "fallback": "{#if text}{text}{/if}",
+ "fallback": "{#if text}{text}{/if}",
"slot_props": "{}"
}
],
@@ -5396,7 +5396,7 @@
{
"name": "__default__",
"default": true,
- "fallback": "{result.text}\n {#if result.description}– {result.description}{/if}",
+ "fallback": "{result.text}\n {#if result.description}– {result.description}{/if}",
"slot_props": "{ result: HeaderSearchResult; index: number }"
}
],
diff --git a/src/UIShell/HeaderAction.svelte b/src/UIShell/HeaderAction.svelte
index 185bf045..1d47a1e2 100644
--- a/src/UIShell/HeaderAction.svelte
+++ b/src/UIShell/HeaderAction.svelte
@@ -70,7 +70,7 @@
type="button"
class:bx--header__action="{true}"
class:bx--header__action--active="{isOpen}"
- class:action-text="{text}"
+ class:bx--header__action--text="{text}"
{...$$restProps}
on:click
on:click|stopPropagation="{() => {
@@ -88,7 +88,7 @@
{/if}
- {#if text}{text}{/if}
+ {#if text}{text}{/if}
{#if isOpen}
@@ -106,7 +106,7 @@
{/if}
diff --git a/src/UIShell/HeaderActionLink.svelte b/src/UIShell/HeaderActionLink.svelte
index e502d87c..9e3ef4c6 100644
--- a/src/UIShell/HeaderActionLink.svelte
+++ b/src/UIShell/HeaderActionLink.svelte
@@ -33,7 +33,7 @@