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.62.1 to 0.63.0

7

dist/builders/popover/create.js

@@ -1,2 +0,2 @@

import { addMeltEventListener, builder, createElHelpers, derivedVisible, effect, executeCallbacks, getPortalDestination, handleFocus, isBrowser, isHTMLElement, kbd, noop, omit, overridable, removeScroll, styleToString, toWritableStores, } from '../../internal/helpers/index.js';
import { addMeltEventListener, builder, createElHelpers, derivedVisible, effect, executeCallbacks, getPortalDestination, handleFocus, isBrowser, isElement, isHTMLElement, kbd, noop, omit, overridable, removeScroll, styleToString, toWritableStores, } from '../../internal/helpers/index.js';
import { usePopper } from '../../internal/actions/index.js';

@@ -84,3 +84,6 @@ import { safeOnMount } from '../../internal/helpers/lifecycle.js';

? {
handler: () => {
handler: (e) => {
const target = e.target;
if (isElement(target) && target.id === get(ids.trigger))
return;
handleClose();

@@ -87,0 +90,0 @@ },

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

disabled: boolean | undefined;
'aria-disabled': string | undefined;
'aria-disabled': "true" | undefined;
'data-orientation': import("./types.js").SliderOrientation;

@@ -25,2 +25,3 @@ style: string | undefined;

readonly 'data-melt-part': "thumb";
readonly 'data-value': number;
readonly style: string;

@@ -42,2 +43,3 @@ readonly tabindex: 0 | -1;

'data-bounded': boolean | undefined;
'data-value': number;
style: string;

@@ -44,0 +46,0 @@ }, string>;

@@ -127,3 +127,4 @@ import { addEventListener, addMeltEventListener, ariaDisabledAttr, builder, createElHelpers, disabledAttr, effect, executeCallbacks, getElementByMeltId, isBrowser, isHTMLElement, kbd, omit, overridable, snapValueToStep, styleToString, toWritableStores, } from '../../internal/helpers/index.js';

}
const thumbPosition = `${$position($value[index])}%`;
const thumbValue = $value[index];
const thumbPosition = `${$position(thumbValue)}%`;
return {

@@ -133,4 +134,5 @@ role: 'slider',

'aria-valuemax': $max,
'aria-valuenow': $value[index],
'aria-valuenow': thumbValue,
'data-melt-part': 'thumb',
'data-value': thumbValue,
style: styleToString({

@@ -277,2 +279,3 @@ position: 'absolute',

'data-bounded': bounded ? true : undefined,
'data-value': tickValue,
style: styleToString(style),

@@ -383,3 +386,3 @@ };

value.update((prev) => {
return [...prev].map(gcv);
return prev.map(gcv);
});

@@ -386,0 +389,0 @@ }

{
"name": "@melt-ui/svelte",
"version": "0.62.1",
"version": "0.63.0",
"license": "MIT",

@@ -5,0 +5,0 @@ "repository": "github:melt-ui/melt-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