@melt-ui/svelte
Advanced tools
Comparing version 0.84.0 to 0.85.0
@@ -50,2 +50,3 @@ /// <reference types="svelte" /> | ||
}; | ||
active: import("../../internal/helpers/withGet.js").WithGet<import("svelte/store").Writable<boolean>>; | ||
}; | ||
@@ -52,0 +53,0 @@ options: import("../../internal/helpers/index.js").ToWritableStores<Omit<{ |
@@ -475,2 +475,3 @@ import { addEventListener, addMeltEventListener, makeElement, makeElementArray, createElHelpers, disabledAttr, effect, executeCallbacks, generateIds, getElementByMeltId, isBrowser, isHTMLElement, kbd, omit, overridable, snapValueToStep, styleToString, toWritableStores, } from '../../internal/helpers/index.js'; | ||
value, | ||
active: isActive, | ||
}, | ||
@@ -477,0 +478,0 @@ options, |
@@ -22,3 +22,2 @@ /// <reference types="svelte" /> | ||
deleteTrigger: import("../../internal/helpers/index.js").MeltElement<[import("../../internal/helpers/withGet.js").WithGet<import("svelte/store").Writable<Tag | null>>, import("../../internal/helpers/withGet.js").WithGet<import("svelte/store").Writable<Tag | null>>, import("../../internal/helpers/withGet.js").WithGet<import("svelte/store").Writable<boolean>>, import("../../internal/helpers/withGet.js").WithGet<import("svelte/store").Writable<boolean>>], (node: HTMLElement) => MeltActionReturn<TagsInputEvents['deleteTrigger']>, ([$selected, $editing, $disabled, $editable]: [Tag | null, Tag | null, boolean, boolean]) => (tag: TagProps) => { | ||
readonly 'aria-selected': boolean | undefined; | ||
readonly 'data-tag-id': string; | ||
@@ -36,3 +35,3 @@ readonly 'data-tag-value': string; | ||
readonly 'data-tag-value': string; | ||
readonly hidden: true | undefined; | ||
readonly hidden: "" | undefined; | ||
readonly contenteditable: boolean; | ||
@@ -44,3 +43,2 @@ readonly tabindex: -1; | ||
readonly 'aria-hidden': boolean | undefined; | ||
readonly 'aria-selected': boolean | undefined; | ||
readonly 'data-tag-id': string; | ||
@@ -53,3 +51,3 @@ readonly 'data-tag-value': string; | ||
readonly disabled: true | undefined; | ||
readonly hidden: boolean | undefined; | ||
readonly hidden: "" | undefined; | ||
readonly tabindex: -1; | ||
@@ -56,0 +54,0 @@ readonly style: string | undefined; |
@@ -419,3 +419,2 @@ import { addMeltEventListener, makeElement, createElHelpers, disabledAttr, effect, executeCallbacks, generateId, getElementByMeltId, isBrowser, isHTMLElement, kbd, omit, overridable, styleToString, toWritableStores, noop, } from '../../internal/helpers/index.js'; | ||
'aria-hidden': editing, | ||
'aria-selected': selected, | ||
'data-tag-id': tag.id, | ||
@@ -428,3 +427,3 @@ 'data-tag-value': tag.value, | ||
disabled: disabledAttr(disabled), | ||
hidden: editing, | ||
hidden: editing ? '' : undefined, | ||
tabindex: -1, | ||
@@ -504,3 +503,2 @@ style: editing | ||
return { | ||
'aria-selected': selected, | ||
'data-tag-id': tag.id, | ||
@@ -550,3 +548,3 @@ 'data-tag-value': tag.value, | ||
'data-tag-value': tag.value, | ||
hidden: !editing ? true : undefined, | ||
hidden: !editing ? '' : undefined, | ||
contenteditable: editing, | ||
@@ -553,0 +551,0 @@ tabindex: -1, |
{ | ||
"name": "@melt-ui/svelte", | ||
"version": "0.84.0", | ||
"version": "0.85.0", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "repository": "github:melt-ui/melt-ui", |
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
1161963
25689