Revert "HeaderGlobalActions: type definition, doc and test updated"

This reverts commit 733ab2ccedcb4da95257d11d7bfd68de25044d9c.
This commit is contained in:
militant_gnome 2024-01-17 11:31:25 +02:00 committed by Eric Liu
commit bf60e0c0f3
2 changed files with 5 additions and 3 deletions

View file

@ -30,7 +30,7 @@
<SkipToContent /> <SkipToContent />
</div> </div>
<HeaderUtilities> <HeaderUtilities>
<HeaderGlobalAction iconDescription="Settings" icon="{SettingsAdjust}" /> <HeaderGlobalAction aria-label="Settings" icon="{SettingsAdjust}" />
<HeaderAction <HeaderAction
bind:isOpen bind:isOpen
on:open on:open

View file

@ -1,7 +1,9 @@
import type { SvelteComponentTyped } from "svelte"; import type { SvelteComponentTyped } from "svelte";
import type { ButtonProps } from "../Button/Button.svelte"; import type { SvelteHTMLElements } from "svelte/elements";
export interface HeaderGlobalActionProps extends ButtonProps { type RestProps = SvelteHTMLElements["button"];
export interface HeaderGlobalActionProps extends RestProps {
/** /**
* Set to `true` to use the active variant * Set to `true` to use the active variant
* @default false * @default false