mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
breaking: remove deprecated props and components (#1191)
This commit is contained in:
parent
ea7c0d446e
commit
21714d0e3a
55 changed files with 127 additions and 1823 deletions
|
@ -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>;
|
||||
},
|
||||
{}
|
||||
> {}
|
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue