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

@raythurnevoid/svelte-group-components

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@raythurnevoid/svelte-group-components - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

cjs/selectable/business/singleSelectionGroup.d.ts

2

cjs/components-group/GroupContext.d.ts
import type { GroupBindings } from "./types";
export declare const setGroupContext: import("@raythurnevoid/svelte-context-enhanced/cjs/Context").SetContext<GroupBindings<import("./types").GroupItemContext>>, getGroupContext: import("@raythurnevoid/svelte-context-enhanced/cjs/Context").GetContext<GroupBindings<import("./types").GroupItemContext>>;
export declare const setGroupContext: import("@raythurnevoid/svelte-context-enhanced/cjs/Context").SetContext<GroupBindings<import("./types").GroupItemContext<any>>>, getGroupContext: import("@raythurnevoid/svelte-context-enhanced/cjs/Context").GetContext<GroupBindings<import("./types").GroupItemContext<any>>>;

@@ -6,5 +6,8 @@ export interface GroupBindings<T extends GroupItemContext = GroupItemContext> {

}
export interface GroupItemContext {
export interface GroupItemContext<T = any> {
dom: HTMLElement;
getContext(): any;
getContext(): T;
}
export interface OnGroupOptionsChangeEvent {
items: GroupItemContext[];
}

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

import type { GroupItemContext, GroupBindings } from "../components-group";
import type { GroupItemContext, GroupBindings, OnGroupOptionsChangeEvent } from "../components-group";
export interface SelectionGroupItemContext extends GroupItemContext {

@@ -10,3 +10,3 @@ selected: boolean;

}
export interface OnSelectionGroupOptionsChangeEvent {
export interface OnSelectionGroupOptionsChangeEvent extends OnGroupOptionsChangeEvent {
items: SelectionGroupItemContext[];

@@ -13,0 +13,0 @@ }

import type { GroupBindings } from "./types";
export declare const setGroupContext: import("@raythurnevoid/svelte-context-enhanced/cjs/Context").SetContext<GroupBindings<import("./types").GroupItemContext>>, getGroupContext: import("@raythurnevoid/svelte-context-enhanced/cjs/Context").GetContext<GroupBindings<import("./types").GroupItemContext>>;
export declare const setGroupContext: import("@raythurnevoid/svelte-context-enhanced/cjs/Context").SetContext<GroupBindings<import("./types").GroupItemContext<any>>>, getGroupContext: import("@raythurnevoid/svelte-context-enhanced/cjs/Context").GetContext<GroupBindings<import("./types").GroupItemContext<any>>>;

@@ -6,5 +6,8 @@ export interface GroupBindings<T extends GroupItemContext = GroupItemContext> {

}
export interface GroupItemContext {
export interface GroupItemContext<T = any> {
dom: HTMLElement;
getContext(): any;
getContext(): T;
}
export interface OnGroupOptionsChangeEvent {
items: GroupItemContext[];
}

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

import type { GroupItemContext, GroupBindings } from "../components-group";
import type { GroupItemContext, GroupBindings, OnGroupOptionsChangeEvent } from "../components-group";
export interface SelectionGroupItemContext extends GroupItemContext {

@@ -10,3 +10,3 @@ selected: boolean;

}
export interface OnSelectionGroupOptionsChangeEvent {
export interface OnSelectionGroupOptionsChangeEvent extends OnGroupOptionsChangeEvent {
items: SelectionGroupItemContext[];

@@ -13,0 +13,0 @@ }

{
"name": "@raythurnevoid/svelte-group-components",
"version": "0.0.8",
"version": "0.0.9",
"description": "",

@@ -20,3 +20,3 @@ "main": "./cjs/index.js",

"type": "git",
"url": "git+https://raythurnevoid:6757d77f7939d498560f1557db1864b9f4a4a1bf@github.com/raythurnevoid/svelte-group-components.git"
"url": "git+https://github.com/raythurnevoid/svelte-group-components.git"
},

@@ -34,3 +34,3 @@ "author": "Ray Thurne",

"devDependencies": {
"@raythurnevoid/svelte-template": "^0.0.7",
"@raythurnevoid/svelte-template": "^0.0.10",
"copyfiles": "^2.4.1",

@@ -37,0 +37,0 @@ "del-cli": "^3.0.1",

@@ -7,5 +7,9 @@ export interface GroupBindings<T extends GroupItemContext = GroupItemContext> {

export interface GroupItemContext {
export interface GroupItemContext<T = any> {
dom: HTMLElement;
getContext(): any;
getContext(): T;
}
export interface OnGroupOptionsChangeEvent {
items: GroupItemContext[];
}

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

import type { GroupItemContext, GroupBindings } from "../components-group";
import type {
GroupItemContext,
GroupBindings,
OnGroupOptionsChangeEvent,
} from "../components-group";

@@ -13,3 +17,4 @@ export interface SelectionGroupItemContext extends GroupItemContext {

export interface OnSelectionGroupOptionsChangeEvent {
export interface OnSelectionGroupOptionsChangeEvent
extends OnGroupOptionsChangeEvent {
items: SelectionGroupItemContext[];

@@ -16,0 +21,0 @@ }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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