@rgossiaux/svelte-headlessui
Advanced tools
Comparing version 1.0.0-beta.8 to 1.0.0-beta.9
import { SvelteComponentTyped } from "svelte"; | ||
export interface DescriptionContext { | ||
name?: string; | ||
props?: { | ||
slotProps?: object; | ||
}; | ||
slotProps?: object; | ||
props?: object; | ||
register: (value: string) => void; | ||
@@ -16,2 +15,3 @@ descriptionIds?: string; | ||
name: string; | ||
slotProps?: {} | undefined; | ||
}; | ||
@@ -18,0 +18,0 @@ events: { |
import { SvelteComponentTyped } from "svelte"; | ||
export interface LabelContext { | ||
name?: string; | ||
slotProps?: object; | ||
props?: object; | ||
@@ -14,2 +15,3 @@ register: (value: string) => void; | ||
name: string; | ||
slotProps?: {} | undefined; | ||
}; | ||
@@ -16,0 +18,0 @@ events: { |
@@ -12,3 +12,3 @@ import { SvelteComponentTyped } from "svelte"; | ||
events: { | ||
change: CustomEvent<any>; | ||
change: CustomEvent<boolean>; | ||
} & { | ||
@@ -15,0 +15,0 @@ [evt: string]: CustomEvent<any>; |
@@ -18,6 +18,6 @@ import { SvelteComponentTyped } from "svelte"; | ||
events: { | ||
afterLeave: CustomEvent<any>; | ||
beforeEnter: CustomEvent<any>; | ||
beforeLeave: CustomEvent<any>; | ||
afterEnter: CustomEvent<any>; | ||
afterEnter: CustomEvent<null>; | ||
afterLeave: CustomEvent<null>; | ||
beforeEnter: CustomEvent<null>; | ||
beforeLeave: CustomEvent<null>; | ||
} & { | ||
@@ -24,0 +24,0 @@ [evt: string]: CustomEvent<any>; |
@@ -11,6 +11,6 @@ import { SvelteComponentTyped } from "svelte"; | ||
events: { | ||
afterEnter: CustomEvent<any>; | ||
afterLeave: CustomEvent<any>; | ||
beforeEnter: CustomEvent<any>; | ||
beforeLeave: CustomEvent<any>; | ||
afterEnter: CustomEvent<null>; | ||
afterLeave: CustomEvent<null>; | ||
beforeEnter: CustomEvent<null>; | ||
beforeLeave: CustomEvent<null>; | ||
} & { | ||
@@ -17,0 +17,0 @@ [evt: string]: CustomEvent<any>; |
@@ -13,6 +13,6 @@ import { SvelteComponentTyped } from "svelte"; | ||
events: { | ||
afterEnter: CustomEvent<any>; | ||
afterLeave: CustomEvent<any>; | ||
beforeEnter: CustomEvent<any>; | ||
beforeLeave: CustomEvent<any>; | ||
afterEnter: CustomEvent<null>; | ||
afterLeave: CustomEvent<null>; | ||
beforeEnter: CustomEvent<null>; | ||
beforeLeave: CustomEvent<null>; | ||
} & { | ||
@@ -19,0 +19,0 @@ [evt: string]: CustomEvent<any>; |
@@ -18,3 +18,3 @@ { | ||
"repository": "github:rgossiaux/svelte-headlessui", | ||
"version": "1.0.0-beta.8", | ||
"version": "1.0.0-beta.9", | ||
"peerDependencies": { | ||
@@ -46,3 +46,3 @@ "svelte": "^3.44.0" | ||
"svelte": "^3.44.0", | ||
"svelte-check": "^2.2.6", | ||
"svelte-check": "^2.4.1", | ||
"svelte-inline-compile": "^0.0.1", | ||
@@ -49,0 +49,0 @@ "svelte-jester": "^2.1.5", |
import { SvelteComponentTyped } from "svelte"; | ||
import type { SupportedElement } from "../internal/elements"; | ||
import { SvelteComponent } from "svelte/internal"; | ||
@@ -26,26 +25,28 @@ export declare enum Features { | ||
import type { ActionArray } from "../hooks/use-actions"; | ||
declare const __propDef: { | ||
props: { | ||
declare class __sveltets_Render<TSlotProps extends {}> { | ||
props(): { | ||
[x: string]: any; | ||
name: string; | ||
as: SvelteComponent | SupportedElement; | ||
as: "a" | "address" | "article" | "aside" | "b" | "bdi" | "bdo" | "blockquote" | "button" | "cite" | "code" | "data" | "datalist" | "dd" | "div" | "dl" | "dt" | "em" | "footer" | "form" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "header" | "i" | "input" | "label" | "li" | "main" | "nav" | "ol" | "p" | "section" | "span" | "strong" | "ul" | SvelteComponent; | ||
slotProps: TSlotProps; | ||
el?: HTMLElement | null | undefined; | ||
use?: ActionArray | undefined; | ||
slotProps?: unknown; | ||
visible?: boolean | undefined; | ||
features?: Features | undefined; | ||
unmount?: boolean | undefined; | ||
class?: string | ((props: TSlotProps) => string) | undefined; | ||
style?: string | ((props: TSlotProps) => string) | undefined; | ||
}; | ||
events: { | ||
events(): {} & { | ||
[evt: string]: CustomEvent<any>; | ||
}; | ||
slots: { | ||
slots(): { | ||
default: {}; | ||
}; | ||
}; | ||
export declare type RenderProps = typeof __propDef.props; | ||
export declare type RenderEvents = typeof __propDef.events; | ||
export declare type RenderSlots = typeof __propDef.slots; | ||
export default class Render extends SvelteComponentTyped<RenderProps, RenderEvents, RenderSlots> { | ||
} | ||
export declare type RenderProps<TSlotProps extends {}> = ReturnType<__sveltets_Render<TSlotProps>['props']>; | ||
export declare type RenderEvents<TSlotProps extends {}> = ReturnType<__sveltets_Render<TSlotProps>['events']>; | ||
export declare type RenderSlots<TSlotProps extends {}> = ReturnType<__sveltets_Render<TSlotProps>['slots']>; | ||
export default class Render<TSlotProps extends {}> extends SvelteComponentTyped<RenderProps<TSlotProps>, RenderEvents<TSlotProps>, RenderSlots<TSlotProps>> { | ||
} | ||
export {}; |
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
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
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
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
325665
5018