Comparing version 0.3.0 to 0.4.0
export * from "./PinInput.svelte"; | ||
export * from "./Popover.svelte"; | ||
export * from "./Progress.svelte"; | ||
export * from "./RadioGroup.svelte"; | ||
@@ -4,0 +5,0 @@ export * from "./Tabs.svelte"; |
export * from "./PinInput.svelte"; | ||
export * from "./Popover.svelte"; | ||
export * from "./Progress.svelte"; | ||
export * from "./RadioGroup.svelte"; | ||
@@ -4,0 +5,0 @@ export * from "./Tabs.svelte"; |
@@ -1,2 +0,1 @@ | ||
/// <reference types="svelte" /> | ||
import type { Getter, MaybeGetter } from "../types"; | ||
@@ -118,107 +117,107 @@ import type { HTMLAttributes } from "svelte/elements"; | ||
}) => void; | ||
readonly accesskey?: string | null | undefined; | ||
readonly autocapitalize?: "none" | "characters" | "off" | "on" | "sentences" | "words" | null | undefined; | ||
readonly autofocus?: boolean | null | undefined; | ||
readonly class?: string | null | undefined; | ||
readonly contenteditable?: import("svelte/elements").Booleanish | "inherit" | "plaintext-only" | null | undefined; | ||
readonly contextmenu?: string | null | undefined; | ||
readonly dir?: "auto" | "ltr" | "rtl" | null | undefined; | ||
readonly draggable?: import("svelte/elements").Booleanish | null | undefined; | ||
readonly elementtiming?: string | null | undefined; | ||
readonly enterkeyhint?: "search" | "enter" | "done" | "go" | "next" | "previous" | "send" | null | undefined; | ||
readonly hidden?: boolean | "" | "until-found" | null | undefined; | ||
readonly id?: string | null | undefined; | ||
readonly lang?: string | null | undefined; | ||
readonly part?: string | null | undefined; | ||
readonly placeholder?: string | null | undefined; | ||
readonly slot?: string | null | undefined; | ||
readonly spellcheck?: import("svelte/elements").Booleanish | null | undefined; | ||
readonly style?: string | null | undefined; | ||
readonly title?: string | null | undefined; | ||
readonly translate?: "" | "yes" | "no" | null | undefined; | ||
readonly inert?: boolean | null | undefined; | ||
readonly popover?: "" | "manual" | "auto" | null | undefined; | ||
readonly writingsuggestions?: import("svelte/elements").Booleanish | null | undefined; | ||
readonly radiogroup?: string | null | undefined; | ||
readonly about?: string | null | undefined; | ||
readonly datatype?: string | null | undefined; | ||
readonly accesskey?: string | undefined | null; | ||
readonly autocapitalize?: "characters" | "off" | "on" | "none" | "sentences" | "words" | undefined | null; | ||
readonly autofocus?: boolean | undefined | null; | ||
readonly class?: import("svelte/elements").ClassValue | undefined | null; | ||
readonly contenteditable?: import("svelte/elements").Booleanish | "inherit" | "plaintext-only" | undefined | null; | ||
readonly contextmenu?: string | undefined | null; | ||
readonly dir?: "ltr" | "rtl" | "auto" | undefined | null; | ||
readonly draggable?: import("svelte/elements").Booleanish | undefined | null; | ||
readonly elementtiming?: string | undefined | null; | ||
readonly enterkeyhint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | null; | ||
readonly hidden?: boolean | "until-found" | "" | undefined | null; | ||
readonly id?: string | undefined | null; | ||
readonly lang?: string | undefined | null; | ||
readonly part?: string | undefined | null; | ||
readonly placeholder?: string | undefined | null; | ||
readonly slot?: string | undefined | null; | ||
readonly spellcheck?: import("svelte/elements").Booleanish | undefined | null; | ||
readonly style?: string | undefined | null; | ||
readonly title?: string | undefined | null; | ||
readonly translate?: "yes" | "no" | "" | undefined | null; | ||
readonly inert?: boolean | undefined | null; | ||
readonly popover?: "auto" | "manual" | "" | undefined | null; | ||
readonly writingsuggestions?: import("svelte/elements").Booleanish | undefined | null; | ||
readonly radiogroup?: string | undefined | null; | ||
readonly about?: string | undefined | null; | ||
readonly datatype?: string | undefined | null; | ||
readonly inlist?: any; | ||
readonly prefix?: string | null | undefined; | ||
readonly property?: string | null | undefined; | ||
readonly resource?: string | null | undefined; | ||
readonly typeof?: string | null | undefined; | ||
readonly vocab?: string | null | undefined; | ||
readonly autosave?: string | null | undefined; | ||
readonly color?: string | null | undefined; | ||
readonly itemprop?: string | null | undefined; | ||
readonly itemscope?: boolean | null | undefined; | ||
readonly itemtype?: string | null | undefined; | ||
readonly itemid?: string | null | undefined; | ||
readonly itemref?: string | null | undefined; | ||
readonly results?: number | null | undefined; | ||
readonly security?: string | null | undefined; | ||
readonly unselectable?: "off" | "on" | null | undefined; | ||
readonly inputmode?: "search" | "numeric" | "text" | "none" | "tel" | "url" | "email" | "decimal" | null | undefined; | ||
readonly is?: string | null | undefined; | ||
readonly 'bind:innerHTML'?: string | null | undefined; | ||
readonly 'bind:textContent'?: string | null | undefined; | ||
readonly 'bind:innerText'?: string | null | undefined; | ||
readonly 'bind:contentRect'?: DOMRectReadOnly | null | undefined; | ||
readonly 'bind:contentBoxSize'?: ResizeObserverSize[] | null | undefined; | ||
readonly 'bind:borderBoxSize'?: ResizeObserverSize[] | null | undefined; | ||
readonly 'bind:devicePixelContentBoxSize'?: ResizeObserverSize[] | null | undefined; | ||
readonly 'data-sveltekit-keepfocus'?: true | "" | "off" | null | undefined; | ||
readonly 'data-sveltekit-noscroll'?: true | "" | "off" | null | undefined; | ||
readonly 'data-sveltekit-preload-code'?: true | "" | "off" | "eager" | "viewport" | "hover" | "tap" | null | undefined; | ||
readonly 'data-sveltekit-preload-data'?: true | "" | "off" | "hover" | "tap" | null | undefined; | ||
readonly 'data-sveltekit-reload'?: true | "" | "off" | null | undefined; | ||
readonly 'data-sveltekit-replacestate'?: true | "" | "off" | null | undefined; | ||
readonly 'aria-activedescendant'?: string | null | undefined; | ||
readonly 'aria-atomic'?: import("svelte/elements").Booleanish | null | undefined; | ||
readonly 'aria-autocomplete'?: "list" | "none" | "inline" | "both" | null | undefined; | ||
readonly 'aria-busy'?: import("svelte/elements").Booleanish | null | undefined; | ||
readonly 'aria-colcount'?: number | null | undefined; | ||
readonly 'aria-colindex'?: number | null | undefined; | ||
readonly 'aria-colspan'?: number | null | undefined; | ||
readonly 'aria-controls'?: string | null | undefined; | ||
readonly 'aria-current'?: "time" | import("svelte/elements").Booleanish | "page" | "step" | "location" | "date" | null | undefined; | ||
readonly 'aria-describedby'?: string | null | undefined; | ||
readonly 'aria-details'?: string | null | undefined; | ||
readonly 'aria-disabled'?: import("svelte/elements").Booleanish | null | undefined; | ||
readonly 'aria-dropeffect'?: "link" | "copy" | "none" | "execute" | "move" | "popup" | null | undefined; | ||
readonly 'aria-errormessage'?: string | null | undefined; | ||
readonly 'aria-expanded'?: import("svelte/elements").Booleanish | null | undefined; | ||
readonly 'aria-flowto'?: string | null | undefined; | ||
readonly 'aria-grabbed'?: import("svelte/elements").Booleanish | null | undefined; | ||
readonly 'aria-haspopup'?: "dialog" | "menu" | "grid" | "listbox" | "tree" | import("svelte/elements").Booleanish | null | undefined; | ||
readonly 'aria-hidden'?: import("svelte/elements").Booleanish | null | undefined; | ||
readonly 'aria-invalid'?: import("svelte/elements").Booleanish | "grammar" | "spelling" | null | undefined; | ||
readonly 'aria-keyshortcuts'?: string | null | undefined; | ||
readonly 'aria-label'?: string | null | undefined; | ||
readonly 'aria-labelledby'?: string | null | undefined; | ||
readonly 'aria-level'?: number | null | undefined; | ||
readonly 'aria-live'?: "off" | "assertive" | "polite" | null | undefined; | ||
readonly 'aria-modal'?: import("svelte/elements").Booleanish | null | undefined; | ||
readonly 'aria-multiline'?: import("svelte/elements").Booleanish | null | undefined; | ||
readonly 'aria-multiselectable'?: import("svelte/elements").Booleanish | null | undefined; | ||
readonly 'aria-orientation'?: "horizontal" | "vertical" | null | undefined; | ||
readonly 'aria-owns'?: string | null | undefined; | ||
readonly 'aria-placeholder'?: string | null | undefined; | ||
readonly 'aria-posinset'?: number | null | undefined; | ||
readonly 'aria-pressed'?: boolean | "true" | "false" | "mixed" | null | undefined; | ||
readonly 'aria-readonly'?: import("svelte/elements").Booleanish | null | undefined; | ||
readonly 'aria-relevant'?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | null | undefined; | ||
readonly 'aria-required'?: import("svelte/elements").Booleanish | null | undefined; | ||
readonly 'aria-roledescription'?: string | null | undefined; | ||
readonly 'aria-rowcount'?: number | null | undefined; | ||
readonly 'aria-rowindex'?: number | null | undefined; | ||
readonly 'aria-rowspan'?: number | null | undefined; | ||
readonly 'aria-selected'?: import("svelte/elements").Booleanish | null | undefined; | ||
readonly 'aria-setsize'?: number | null | undefined; | ||
readonly 'aria-sort'?: "none" | "ascending" | "descending" | "other" | null | undefined; | ||
readonly 'aria-valuemax'?: number | null | undefined; | ||
readonly 'aria-valuemin'?: number | null | undefined; | ||
readonly 'aria-valuenow'?: number | null | undefined; | ||
readonly 'aria-valuetext'?: string | null | undefined; | ||
readonly children?: import("svelte").Snippet<[]> | undefined; | ||
readonly prefix?: string | undefined | null; | ||
readonly property?: string | undefined | null; | ||
readonly resource?: string | undefined | null; | ||
readonly typeof?: string | undefined | null; | ||
readonly vocab?: string | undefined | null; | ||
readonly autosave?: string | undefined | null; | ||
readonly color?: string | undefined | null; | ||
readonly itemprop?: string | undefined | null; | ||
readonly itemscope?: boolean | undefined | null; | ||
readonly itemtype?: string | undefined | null; | ||
readonly itemid?: string | undefined | null; | ||
readonly itemref?: string | undefined | null; | ||
readonly results?: number | undefined | null; | ||
readonly security?: string | undefined | null; | ||
readonly unselectable?: "on" | "off" | undefined | null; | ||
readonly inputmode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | null; | ||
readonly is?: string | undefined | null; | ||
readonly 'bind:innerHTML'?: string | undefined | null; | ||
readonly 'bind:textContent'?: string | undefined | null; | ||
readonly 'bind:innerText'?: string | undefined | null; | ||
readonly 'bind:contentRect'?: DOMRectReadOnly | undefined | null; | ||
readonly 'bind:contentBoxSize'?: Array<ResizeObserverSize> | undefined | null; | ||
readonly 'bind:borderBoxSize'?: Array<ResizeObserverSize> | undefined | null; | ||
readonly 'bind:devicePixelContentBoxSize'?: Array<ResizeObserverSize> | undefined | null; | ||
readonly 'data-sveltekit-keepfocus'?: true | "" | "off" | undefined | null; | ||
readonly 'data-sveltekit-noscroll'?: true | "" | "off" | undefined | null; | ||
readonly 'data-sveltekit-preload-code'?: true | "" | "eager" | "viewport" | "hover" | "tap" | "off" | undefined | null; | ||
readonly 'data-sveltekit-preload-data'?: true | "" | "hover" | "tap" | "off" | undefined | null; | ||
readonly 'data-sveltekit-reload'?: true | "" | "off" | undefined | null; | ||
readonly 'data-sveltekit-replacestate'?: true | "" | "off" | undefined | null; | ||
readonly 'aria-activedescendant'?: string | undefined | null; | ||
readonly 'aria-atomic'?: import("svelte/elements").Booleanish | undefined | null; | ||
readonly 'aria-autocomplete'?: "none" | "inline" | "list" | "both" | undefined | null; | ||
readonly 'aria-busy'?: import("svelte/elements").Booleanish | undefined | null; | ||
readonly 'aria-colcount'?: number | undefined | null; | ||
readonly 'aria-colindex'?: number | undefined | null; | ||
readonly 'aria-colspan'?: number | undefined | null; | ||
readonly 'aria-controls'?: string | undefined | null; | ||
readonly 'aria-current'?: import("svelte/elements").Booleanish | "page" | "step" | "location" | "date" | "time" | undefined | null; | ||
readonly 'aria-describedby'?: string | undefined | null; | ||
readonly 'aria-details'?: string | undefined | null; | ||
readonly 'aria-disabled'?: import("svelte/elements").Booleanish | undefined | null; | ||
readonly 'aria-dropeffect'?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined | null; | ||
readonly 'aria-errormessage'?: string | undefined | null; | ||
readonly 'aria-expanded'?: import("svelte/elements").Booleanish | undefined | null; | ||
readonly 'aria-flowto'?: string | undefined | null; | ||
readonly 'aria-grabbed'?: import("svelte/elements").Booleanish | undefined | null; | ||
readonly 'aria-haspopup'?: import("svelte/elements").Booleanish | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined | null; | ||
readonly 'aria-hidden'?: import("svelte/elements").Booleanish | undefined | null; | ||
readonly 'aria-invalid'?: import("svelte/elements").Booleanish | "grammar" | "spelling" | undefined | null; | ||
readonly 'aria-keyshortcuts'?: string | undefined | null; | ||
readonly 'aria-label'?: string | undefined | null; | ||
readonly 'aria-labelledby'?: string | undefined | null; | ||
readonly 'aria-level'?: number | undefined | null; | ||
readonly 'aria-live'?: "off" | "assertive" | "polite" | undefined | null; | ||
readonly 'aria-modal'?: import("svelte/elements").Booleanish | undefined | null; | ||
readonly 'aria-multiline'?: import("svelte/elements").Booleanish | undefined | null; | ||
readonly 'aria-multiselectable'?: import("svelte/elements").Booleanish | undefined | null; | ||
readonly 'aria-orientation'?: "horizontal" | "vertical" | undefined | null; | ||
readonly 'aria-owns'?: string | undefined | null; | ||
readonly 'aria-placeholder'?: string | undefined | null; | ||
readonly 'aria-posinset'?: number | undefined | null; | ||
readonly 'aria-pressed'?: boolean | "false" | "mixed" | "true" | undefined | null; | ||
readonly 'aria-readonly'?: import("svelte/elements").Booleanish | undefined | null; | ||
readonly 'aria-relevant'?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined | null; | ||
readonly 'aria-required'?: import("svelte/elements").Booleanish | undefined | null; | ||
readonly 'aria-roledescription'?: string | undefined | null; | ||
readonly 'aria-rowcount'?: number | undefined | null; | ||
readonly 'aria-rowindex'?: number | undefined | null; | ||
readonly 'aria-rowspan'?: number | undefined | null; | ||
readonly 'aria-selected'?: import("svelte/elements").Booleanish | undefined | null; | ||
readonly 'aria-setsize'?: number | undefined | null; | ||
readonly 'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined | null; | ||
readonly 'aria-valuemax'?: number | undefined | null; | ||
readonly 'aria-valuemin'?: number | undefined | null; | ||
readonly 'aria-valuenow'?: number | undefined | null; | ||
readonly 'aria-valuetext'?: string | undefined | null; | ||
readonly children?: import("svelte").Snippet; | ||
readonly 'on:copy'?: import("svelte/elements").ClipboardEventHandler<HTMLElement> | null | undefined; | ||
@@ -275,8 +274,8 @@ readonly oncopy?: import("svelte/elements").ClipboardEventHandler<HTMLElement> | null | undefined; | ||
readonly onformdatacapture?: import("svelte/elements").EventHandler<FormDataEvent, HTMLElement> | null | undefined; | ||
readonly 'on:load'?: import("svelte/elements").EventHandler<Event, Element> | null | undefined; | ||
readonly onload?: import("svelte/elements").EventHandler<Event, Element> | null | undefined; | ||
readonly onloadcapture?: import("svelte/elements").EventHandler<Event, Element> | null | undefined; | ||
readonly 'on:error'?: import("svelte/elements").EventHandler<Event, Element> | null | undefined; | ||
readonly onerror?: import("svelte/elements").EventHandler<Event, Element> | null | undefined; | ||
readonly onerrorcapture?: import("svelte/elements").EventHandler<Event, Element> | null | undefined; | ||
readonly 'on:load'?: import("svelte/elements").EventHandler | undefined | null; | ||
readonly onload?: import("svelte/elements").EventHandler | undefined | null; | ||
readonly onloadcapture?: import("svelte/elements").EventHandler | undefined | null; | ||
readonly 'on:error'?: import("svelte/elements").EventHandler | undefined | null; | ||
readonly onerror?: import("svelte/elements").EventHandler | undefined | null; | ||
readonly onerrorcapture?: import("svelte/elements").EventHandler | undefined | null; | ||
readonly 'on:beforetoggle'?: import("svelte/elements").ToggleEventHandler<HTMLElement> | null | undefined; | ||
@@ -288,2 +287,5 @@ readonly onbeforetoggle?: import("svelte/elements").ToggleEventHandler<HTMLElement> | null | undefined; | ||
readonly ontogglecapture?: import("svelte/elements").ToggleEventHandler<HTMLElement> | null | undefined; | ||
readonly 'on:contentvisibilityautostatechange'?: import("svelte/elements").ContentVisibilityAutoStateChangeEventHandler<HTMLElement> | null | undefined; | ||
readonly oncontentvisibilityautostatechange?: import("svelte/elements").ContentVisibilityAutoStateChangeEventHandler<HTMLElement> | null | undefined; | ||
readonly oncontentvisibilityautostatechangecapture?: import("svelte/elements").ContentVisibilityAutoStateChangeEventHandler<HTMLElement> | null | undefined; | ||
readonly 'on:keydown'?: import("svelte/elements").KeyboardEventHandler<HTMLElement> | null | undefined; | ||
@@ -290,0 +292,0 @@ readonly onkeydowncapture?: import("svelte/elements").KeyboardEventHandler<HTMLElement> | null | undefined; |
@@ -1,2 +0,1 @@ | ||
/// <reference types="svelte" /> | ||
import type { Extracted, MaybeGetter } from "../types"; | ||
@@ -75,3 +74,3 @@ import { SelectionState, type MaybeMultiple } from "../utils/selection-state.svelte"; | ||
/** The items contained in the tree */ | ||
readonly items: Extracted<I>; | ||
readonly items: Items<I>; | ||
/** If `true`, the user can select multiple items holding `Control`/`Meta` or `Shift` */ | ||
@@ -78,0 +77,0 @@ readonly multiple: Multiple; |
@@ -6,2 +6,3 @@ export { default as Toggle } from "./Toggle.svelte"; | ||
export { default as Popover } from "./Popover.svelte"; | ||
export { default as Progress } from "./Progress.svelte"; | ||
export { default as RadioGroup } from "./RadioGroup.svelte"; |
@@ -6,2 +6,3 @@ export { default as Toggle } from "./Toggle.svelte"; | ||
export { default as Popover } from "./Popover.svelte"; | ||
export { default as Progress } from "./Progress.svelte"; | ||
export { default as RadioGroup } from "./RadioGroup.svelte"; |
@@ -20,5 +20,5 @@ import { SvelteComponent } from "svelte"; | ||
constructor(options?: import("svelte").ComponentConstructorOptions<ComponentProps<TabsProps> & { | ||
children: Snippet<[Tabs<string>]>; | ||
children: Snippet<[Tabs]>; | ||
}>); | ||
$$bindings: "value"; | ||
} |
@@ -1,2 +0,1 @@ | ||
/// <reference types="svelte" /> | ||
import { SvelteSet } from "svelte/reactivity"; | ||
@@ -3,0 +2,0 @@ export declare function isHtmlElement(element: unknown): element is HTMLElement; |
@@ -1,2 +0,1 @@ | ||
/// <reference types="svelte" /> | ||
import type { MaybeGetter } from ".."; | ||
@@ -3,0 +2,0 @@ import { SvelteSet } from "svelte/reactivity"; |
{ | ||
"name": "melt", | ||
"type": "module", | ||
"version": "0.3.0", | ||
"version": "0.4.0", | ||
"license": "MIT", | ||
@@ -36,6 +36,6 @@ "exports": { | ||
"publint": "^0.1.9", | ||
"svelte": "5.1.4", | ||
"svelte": "5.19.1", | ||
"svelte-check": "^3.6.0", | ||
"tslib": "^2.4.1", | ||
"typescript": "^5.0.0", | ||
"typescript": "^5.7.3", | ||
"vite": "^5.0.11" | ||
@@ -42,0 +42,0 @@ }, |
156752
76
3420