diff --git a/COMPONENT_INDEX.md b/COMPONENT_INDEX.md index 4ddf4455..b62685a7 100644 --- a/COMPONENT_INDEX.md +++ b/COMPONENT_INDEX.md @@ -1347,15 +1347,16 @@ None. ### Props -| Prop name | Kind | Reactive | Type | Default value | Description | -| :---------------- | :--------------- | :------- | :----------------------------------------- | ------------------ | ------------------------------------------------------------------------------------------------------------------------------- | -| ref | let | Yes | null | HTMLAnchorElement | null | Obtain a reference to the HTML anchor element | -| isSideNavOpen | let | Yes | boolean | false | Set to `true` to open the side nav | -| expandedByDefault | let | No | boolean | true | Set to `false` to hide the side nav by default | -| uiShellAriaLabel | let | No | string | -- | Specify the ARIA label for the header | -| href | let | No | string | -- | Specify the `href` attribute | -| company | let | No | string | -- | Specify the company name | -| platformName | let | No | string | "" | Specify the platform name
Alternatively, use the named slot "platform" (e.g. <span slot="platform">...</span>) | +| Prop name | Kind | Reactive | Type | Default value | Description | +| :---------------------- | :--------------- | :------- | :----------------------------------------- | ------------------ | ------------------------------------------------------------------------------------------------------------------------------- | +| ref | let | Yes | null | HTMLAnchorElement | null | Obtain a reference to the HTML anchor element | +| isSideNavOpen | let | Yes | boolean | false | Set to `true` to open the side nav | +| expandedByDefault | let | No | boolean | true | Set to `false` to hide the side nav by default | +| uiShellAriaLabel | let | No | string | -- | Specify the ARIA label for the header | +| href | let | No | string | -- | Specify the `href` attribute | +| company | let | No | string | -- | Specify the company name | +| platformName | let | No | string | "" | Specify the platform name
Alternatively, use the named slot "platform" (e.g. <span slot="platform">...</span>) | +| persistentHamburgerMenu | let | No | boolean | false | Set to `true` to persist the hamburger menu | ### Slots diff --git a/docs/src/COMPONENT_API.json b/docs/src/COMPONENT_API.json index 693a8d3a..ee7e1382 100644 --- a/docs/src/COMPONENT_API.json +++ b/docs/src/COMPONENT_API.json @@ -9507,6 +9507,16 @@ "constant": false, "reactive": false }, + { + "name": "persistentHamburgerMenu", + "kind": "let", + "description": "Set to `true` to persist the hamburger menu", + "type": "boolean", + "value": "false", + "isFunction": false, + "constant": false, + "reactive": false + }, { "name": "ref", "kind": "let", diff --git a/docs/src/components/ComponentApi.svelte b/docs/src/components/ComponentApi.svelte index 335177bd..ca3f22b5 100644 --- a/docs/src/components/ComponentApi.svelte +++ b/docs/src/components/ComponentApi.svelte @@ -63,9 +63,9 @@

- View component - - source code + Component source code: + + {component.filePath}

@@ -138,7 +138,9 @@ {#if prop.description} {#each prop.description.split('\n') as line} -
{@html line.replace(/`(.*?)`/g, '$1')}.
+
+ {@html line.replace(/`(.*?)`/g, '$1')}. +
{/each} {:else}
No description available.
diff --git a/docs/svelte.config.js b/docs/svelte.config.js index 5be26a46..c1ae0be0 100644 --- a/docs/svelte.config.js +++ b/docs/svelte.config.js @@ -243,7 +243,7 @@ module.exports = { Dispatched events
  • - $$restProps + restProps
  • diff --git a/types/UIShell/GlobalHeader/Header.d.ts b/types/UIShell/GlobalHeader/Header.d.ts index 21d64958..5e21d045 100644 --- a/types/UIShell/GlobalHeader/Header.d.ts +++ b/types/UIShell/GlobalHeader/Header.d.ts @@ -35,6 +35,12 @@ export interface HeaderProps extends svelte.JSX.HTMLAttributes