@rgossiaux/svelte-headlessui
Advanced tools
Comparing version 1.0.0-beta.5 to 1.0.0-beta.6
import { SvelteComponentTyped } from "svelte"; | ||
interface PanelData { | ||
id: string; | ||
ref: Readable<HTMLElement | null>; | ||
} | ||
export declare type StateDefinition = { | ||
@@ -7,8 +11,8 @@ selectedIndex: number | null; | ||
tabs: (HTMLElement | null)[]; | ||
panels: string[]; | ||
panels: PanelData[]; | ||
setSelectedIndex(index: number): void; | ||
registerTab(tab: HTMLElement | null): void; | ||
unregisterTab(tab: HTMLElement | null): void; | ||
registerPanel(panel: string): void; | ||
unregisterPanel(panel: string): void; | ||
registerPanel(panel: PanelData): void; | ||
unregisterPanel(panel: PanelData): void; | ||
}; | ||
@@ -15,0 +19,0 @@ export declare function useTabsContext(component: string): Readable<StateDefinition>; |
@@ -18,3 +18,3 @@ { | ||
"repository": "github:rgossiaux/svelte-headlessui", | ||
"version": "1.0.0-beta.5", | ||
"version": "1.0.0-beta.6", | ||
"peerDependencies": { | ||
@@ -21,0 +21,0 @@ "svelte": "^3.44.0" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
316763
4940