breaking: remove deprecated props and components (#1191)

This commit is contained in:
metonym 2022-03-27 08:21:58 -07:00 committed by GitHub
commit 21714d0e3a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
55 changed files with 127 additions and 1823 deletions

View file

@ -1,24 +0,0 @@
/// <reference types="svelte" />
import { SvelteComponentTyped } from "svelte";
export interface HeaderActionSearchProps {
/**
* Set to `true` to focus the search
* @default false
*/
searchIsActive?: boolean;
}
/**
* @deprecated
* This component is deprecated. Use `HeaderSearch` instead.
*/
export default class HeaderActionSearch extends SvelteComponentTyped<
HeaderActionSearchProps,
{
inputSearch: CustomEvent<{ action: "search"; textInput: string }>;
focusInputSearch: CustomEvent<any>;
focusOutInputSearch: CustomEvent<any>;
},
{}
> {}

View file

@ -2,13 +2,7 @@
import { SvelteComponentTyped } from "svelte";
export interface HeaderNavProps
extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["nav"]> {
/**
* Specify the ARIA label for the nav
* @default undefined
*/
ariaLabel?: string;
}
extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["nav"]> {}
export default class HeaderNav extends SvelteComponentTyped<
HeaderNavProps,