Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@melt-ui/svelte

Package Overview
Dependencies
Maintainers
1
Versions
195
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@melt-ui/svelte - npm Package Compare versions

Comparing version 0.39.1 to 0.39.3

1

dist/builders/select/create.d.ts

@@ -8,3 +8,2 @@ /// <reference types="svelte" />

menu: import("../../internal/helpers/index.js").ExplicitBuilderReturn<[import("svelte/store").Readable<boolean>, import("svelte/store").Writable<string | HTMLElement | null | undefined>], (node: HTMLElement) => MeltActionReturn<SelectEvents['menu']>, ([$isVisible, $portal]: [boolean, string | HTMLElement | null | undefined]) => {
hidden: boolean | undefined;
style: string;

@@ -11,0 +10,0 @@ id: string;

@@ -169,3 +169,2 @@ import { createLabel, createSeparator } from '../index.js';

return {
hidden: $isVisible ? undefined : true,
style: styleToString({

@@ -241,3 +240,2 @@ display: $isVisible ? undefined : 'none',

}));
const unsubPortal = usePortal(node, 'body')?.destroy;
return {

@@ -247,3 +245,2 @@ destroy() {

unsubPopper();
unsubPortal?.();
unsubScroll();

@@ -250,0 +247,0 @@ unsubEventListeners();

4

dist/builders/tags-input/create.d.ts

@@ -64,2 +64,6 @@ /// <reference types="svelte" />

isSelected: import("svelte/store").Readable<(tag: Tag) => boolean>;
isInputValid: (v: string) => boolean;
addTag: (v: string) => Promise<boolean>;
updateTag: (tag: Tag, select?: boolean) => Promise<boolean>;
removeTag: (t: Tag) => Promise<boolean>;
};

@@ -66,0 +70,0 @@ options: {

@@ -658,2 +658,6 @@ import { builder, createElHelpers, effect, executeCallbacks, generateId, getElementByMeltId, isBrowser, isHTMLElement, kbd, omit, overridable, styleToString, toWritableStores, addMeltEventListener, } from '../../internal/helpers/index.js';

isSelected,
isInputValid,
addTag,
updateTag,
removeTag
},

@@ -660,0 +664,0 @@ options,

@@ -8,3 +8,3 @@ import { isHTMLElement } from './is.js';

let parent = node.parentElement;
while (isHTMLElement(parent) && parent.getAttribute('data-portal') === null) {
while (isHTMLElement(parent) && !parent.hasAttribute('data-portal')) {
parent = parent.parentElement;

@@ -11,0 +11,0 @@ }

{
"name": "@melt-ui/svelte",
"version": "0.39.1",
"version": "0.39.3",
"license": "MIT",

@@ -5,0 +5,0 @@ "exports": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc