diff --git a/COMPONENT_INDEX.md b/COMPONENT_INDEX.md
index 4544165194..a115ebd88a 100644
--- a/COMPONENT_INDEX.md
+++ b/COMPONENT_INDEX.md
@@ -1609,7 +1609,7 @@ None.
| Prop name | Required | Kind | Reactive | Type | Default value | Description |
| :------------------------- | :------- | :--------------- | :------- | ----------------------------------------------------------------- | ------------------------------ | ---------------------------------------------------------------------------------------------------------------- |
| ref | No | let
| Yes | null | HTMLButtonElement
| null
| Obtain a reference to the button HTML element |
-| isOpen | No | let
| Yes | boolean
| false
| Set to `true` to open the panel |
+| open | No | let
| Yes | boolean
| false
| Set to `true` to open the panel |
| icon | No | let
| No | typeof import("svelte").SvelteComponent
| undefined
| Specify the icon to render when the action panel is closed.
Defaults to `<Switcher size={20} />` |
| closeIcon | No | let
| No | typeof import("svelte").SvelteComponent
| undefined
| Specify the icon to render when the action panel is open.
Defaults to `<Close size={20} />` |
| text | No | let
| No | string
| undefined
| Specify the text.
Alternatively, use the named slot "text" (e.g., `<div slot="text">...</div>`) |
@@ -3306,7 +3306,7 @@ None.
| Prop name | Required | Kind | Reactive | Type | Default value | Description |
| :------------------ | :------- | :--------------- | :------- | -------------------- | ---------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
-| isOpen | No | let
| Yes | boolean
| false
| Set to `true` to toggle the expanded state |
+| open | No | let
| Yes | boolean
| false
| Set to `true` to toggle the expanded state |
| fixed | No | let
| No | boolean
| false
| Set to `true` to use the fixed variant |
| rail | No | let
| No | boolean
| false
| Set to `true` to use the rail variant |
| ariaLabel | No | let
| No | string
| undefined
| Specify the ARIA label for the nav |
diff --git a/docs/src/COMPONENT_API.json b/docs/src/COMPONENT_API.json
index 601783022f..e118507432 100644
--- a/docs/src/COMPONENT_API.json
+++ b/docs/src/COMPONENT_API.json
@@ -4893,7 +4893,7 @@
"filePath": "src/UIShell/HeaderAction.svelte",
"props": [
{
- "name": "isOpen",
+ "name": "open",
"kind": "let",
"description": "Set to `true` to open the panel",
"type": "boolean",
@@ -10723,7 +10723,7 @@
"reactive": false
},
{
- "name": "isOpen",
+ "name": "open",
"kind": "let",
"description": "Set to `true` to toggle the expanded state",
"type": "boolean",
diff --git a/docs/src/pages/_layout.svelte b/docs/src/pages/_layout.svelte
index 7dd0f43d34..5048dac12d 100644
--- a/docs/src/pages/_layout.svelte
+++ b/docs/src/pages/_layout.svelte
@@ -46,7 +46,7 @@
let active = false;
$: results = miniSearch.search(value).slice(0, 10);
- let isOpen = false;
+ let open = false;
let isSideNavOpen = true;
let innerWidth = 2048;
@@ -118,7 +118,7 @@
href="https://github.com/carbon-design-system/carbon-components-svelte"
target="_blank"
/>
-
+
Carbon Svelte portfolio
-
+
{#each components.children.filter((child) => !deprecated.includes(child.title)) as child (child.path)}
\ No newline at end of file
+
diff --git a/docs/src/pages/framed/UIShell/HeaderNav.svelte b/docs/src/pages/framed/UIShell/HeaderNav.svelte
index 0f8024a362..d6318ad94c 100644
--- a/docs/src/pages/framed/UIShell/HeaderNav.svelte
+++ b/docs/src/pages/framed/UIShell/HeaderNav.svelte
@@ -37,7 +37,7 @@
-
+
diff --git a/docs/src/pages/framed/UIShell/HeaderNavRail.svelte b/docs/src/pages/framed/UIShell/HeaderNavRail.svelte
index dbd7fb879b..e36c6c2406 100644
--- a/docs/src/pages/framed/UIShell/HeaderNavRail.svelte
+++ b/docs/src/pages/framed/UIShell/HeaderNavRail.svelte
@@ -38,7 +38,7 @@
-
+
diff --git a/docs/src/pages/framed/UIShell/HeaderSwitcher.svelte b/docs/src/pages/framed/UIShell/HeaderSwitcher.svelte
index c06c72a5ba..86e163e74e 100644
--- a/docs/src/pages/framed/UIShell/HeaderSwitcher.svelte
+++ b/docs/src/pages/framed/UIShell/HeaderSwitcher.svelte
@@ -22,7 +22,7 @@
import { expoIn } from "svelte/easing";
let isSideNavOpen = false;
- let isOpen = false;
+ let open = false;
let selected = "0";
let transitions = {
"0": {
@@ -45,7 +45,7 @@
-
+
Switcher subject 1
Switcher item 1
@@ -60,7 +60,7 @@
-
+
diff --git a/docs/src/pages/framed/UIShell/HeaderUtilities.svelte b/docs/src/pages/framed/UIShell/HeaderUtilities.svelte
index 3b6d5029e1..9e8aae2ef4 100644
--- a/docs/src/pages/framed/UIShell/HeaderUtilities.svelte
+++ b/docs/src/pages/framed/UIShell/HeaderUtilities.svelte
@@ -33,7 +33,7 @@
@@ -50,7 +50,7 @@
Switcher item 1
-
+
Switcher subject 1
Switcher item 1
@@ -65,7 +65,7 @@
-
+
diff --git a/docs/src/pages/framed/UIShell/PersistedHamburgerMenu.svelte b/docs/src/pages/framed/UIShell/PersistedHamburgerMenu.svelte
index 6bad2c56b5..8e8264cc84 100644
--- a/docs/src/pages/framed/UIShell/PersistedHamburgerMenu.svelte
+++ b/docs/src/pages/framed/UIShell/PersistedHamburgerMenu.svelte
@@ -40,7 +40,7 @@
-
+
diff --git a/src/UIShell/HamburgerMenu.svelte b/src/UIShell/HamburgerMenu.svelte
index c5be0db9fa..bf69cdfaa9 100644
--- a/src/UIShell/HamburgerMenu.svelte
+++ b/src/UIShell/HamburgerMenu.svelte
@@ -6,7 +6,7 @@
export let ariaLabel = undefined;
/** Set to `true` to toggle the open state */
- export let isOpen = false;
+ export let open = false;
/**
* Specify the icon to render for the closed state.
@@ -39,7 +39,7 @@
class:bx--header__menu-toggle="{true}"
{...$$restProps}
on:click
- on:click="{() => (isOpen = !isOpen)}"
+ on:click="{() => (open = !open)}"
>
-
+
diff --git a/src/UIShell/Header.svelte b/src/UIShell/Header.svelte
index 3574f01ebd..1d92d71e86 100644
--- a/src/UIShell/Header.svelte
+++ b/src/UIShell/Header.svelte
@@ -84,7 +84,7 @@
{#if ($shouldRenderHamburgerMenu && winWidth < expansionBreakpoint) || persistentHamburgerMenu}
diff --git a/src/UIShell/HeaderAction.svelte b/src/UIShell/HeaderAction.svelte
index 185bf04524..70432f0051 100644
--- a/src/UIShell/HeaderAction.svelte
+++ b/src/UIShell/HeaderAction.svelte
@@ -5,7 +5,7 @@
*/
/** Set to `true` to open the panel */
- export let isOpen = false;
+ export let open = false;
/**
* Specify the icon to render when the action panel is closed.
@@ -54,12 +54,12 @@
{
- isOpen = !isOpen;
- dispatch(isOpen ? 'open' : 'close');
+ open = !open;
+ dispatch(open ? 'open' : 'close');
}}"
>
- {#if isOpen}
+ {#if open}
@@ -91,7 +91,7 @@
{#if text}{text}{/if}
-{#if isOpen}
+{#if open}
{
@@ -60,23 +60,23 @@
{/if}