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.19.1 to 0.20.0

1

dist/builders/popover/create.d.ts

@@ -52,3 +52,4 @@ /// <reference types="svelte" />

onOpenChange?: import("../../internal/helpers").ChangeFn<boolean> | undefined;
disableFocusTrap?: boolean | undefined;
}, "open" | "defaultOpen" | "onOpenChange">>;
};

3

dist/builders/popover/create.js

@@ -40,3 +40,3 @@ import { addEventListener, builder, createElHelpers, effect, generateId, isBrowser, noop, omit, sleep, styleToString, } from '../../internal/helpers';

let unsubPopper = noop;
const unsubDerived = effect([open, activeTrigger, positioning], ([$open, $activeTrigger, $positioning]) => {
const unsubDerived = effect([open, activeTrigger, positioning, options], ([$open, $activeTrigger, $positioning, $options]) => {
unsubPopper();

@@ -50,2 +50,3 @@ if ($open && $activeTrigger) {

floating: $positioning,
focusTrap: $options.disableFocusTrap ? null : undefined,
},

@@ -52,0 +53,0 @@ });

@@ -18,3 +18,4 @@ import type { FloatingConfig } from '../../internal/actions';

onOpenChange?: ChangeFn<boolean>;
disableFocusTrap?: boolean;
};
export type CreatePopoverReturn = ReturnType<typeof createPopover>;
{
"name": "@melt-ui/svelte",
"version": "0.19.1",
"version": "0.20.0",
"license": "MIT",

@@ -50,2 +50,3 @@ "exports": {

"@iconify-json/simple-icons": "^1.1.57",
"@playwright/test": "^1.36.0",
"@storybook/addon-essentials": "^7.0.23",

@@ -135,4 +136,6 @@ "@storybook/addon-interactions": "^7.0.23",

"storybook": "storybook dev -p 6006 --no-open",
"build-storybook": "storybook build -s static"
"build-storybook": "storybook build -s static",
"pw": "pnpm exec playwright test",
"pw:ui": "pnpm exec playwright test --ui"
}
}
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