@raythurnevoid/svelte-group-components
Advanced tools
Comparing version 0.0.8 to 0.0.9
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
67441
70
955
0