🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@isoftdata/svelte-context-menu

Package Overview
Dependencies
Maintainers
10
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@isoftdata/svelte-context-menu - npm Package Compare versions

Comparing version
1.3.3
to
1.4.0
+13
dist/DropdownCheckboxItem.svelte
<script>import DropdownItem from "./DropdownItem.svelte";
export let checked = false;
</script>
<DropdownItem
icon={{
icon: checked ? "check-square" : "square",
prefix: "far",
}}
on:click={() => (checked = !checked)}
on:click
><slot {checked} />
</DropdownItem>
import { SvelteComponent } from "svelte";
declare const __propDef: {
props: {
checked?: boolean | undefined;
};
events: {
click: MouseEvent;
} & {
[evt: string]: CustomEvent<any>;
};
slots: {
default: {
checked: boolean;
};
};
};
export type DropdownCheckboxItemProps = typeof __propDef.props;
export type DropdownCheckboxItemEvents = typeof __propDef.events;
export type DropdownCheckboxItemSlots = typeof __propDef.slots;
export default class DropdownCheckboxItem extends SvelteComponent<DropdownCheckboxItemProps, DropdownCheckboxItemEvents, DropdownCheckboxItemSlots> {
}
export {};
+3
-2

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

export { default } from "./ContextMenu.svelte";
export { default as DropdownItem } from "./DropdownItem.svelte";
export { default as default } from './ContextMenu.svelte';
export { default as DropdownItem } from './DropdownItem.svelte';
export { default as DropdownCheckboxItem } from './DropdownCheckboxItem.svelte';

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

export { default as default } from './ContextMenu.svelte'
export { default as DropdownItem } from './DropdownItem.svelte'
export { default as default } from './ContextMenu.svelte';
export { default as DropdownItem } from './DropdownItem.svelte';
export { default as DropdownCheckboxItem } from './DropdownCheckboxItem.svelte';
+1
-1
{
"name": "@isoftdata/svelte-context-menu",
"version": "1.3.3",
"version": "1.4.0",
"scripts": {

@@ -5,0 +5,0 @@ "dev": "vite dev",

# Svelte ContextMenu
A Context/Dropdown menu component, filled with [DropdownItem](DropdownItem.md)s
A Context/Dropdown menu component, filled with [DropdownItem](DropdownItem.md)s and [DropdownCheckboxItem](DropdownCheckboxItem.md)s

@@ -5,0 +5,0 @@ ## Install