feat(svelte): export useStore
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@xyflow/svelte",
|
"name": "@xyflow/svelte",
|
||||||
"version": "0.0.16",
|
"version": "0.0.17",
|
||||||
"description": "Svelte Flow - A highly customizable Svelte library for building node-based editors, workflow systems, diagrams and more.",
|
"description": "Svelte Flow - A highly customizable Svelte library for building node-based editors, workflow systems, diagrams and more.",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"svelte",
|
"svelte",
|
||||||
|
|||||||
@@ -14,6 +14,9 @@ export * from '$lib/plugins/Controls';
|
|||||||
export * from '$lib/plugins/Background';
|
export * from '$lib/plugins/Background';
|
||||||
export * from '$lib/plugins/Minimap';
|
export * from '$lib/plugins/Minimap';
|
||||||
|
|
||||||
|
// store
|
||||||
|
export { useStore } from '$lib/store';
|
||||||
|
|
||||||
// utils
|
// utils
|
||||||
export * from '$lib/utils';
|
export * from '$lib/utils';
|
||||||
export * from '$lib/hooks/useSvelteFlow';
|
export * from '$lib/hooks/useSvelteFlow';
|
||||||
@@ -22,6 +25,7 @@ export * from '$lib/hooks/useSvelteFlow';
|
|||||||
export type { Edge, EdgeProps, EdgeTypes, DefaultEdgeOptions } from '$lib/types/edges';
|
export type { Edge, EdgeProps, EdgeTypes, DefaultEdgeOptions } from '$lib/types/edges';
|
||||||
export type { HandleComponentProps, FitViewOptions } from '$lib/types/general';
|
export type { HandleComponentProps, FitViewOptions } from '$lib/types/general';
|
||||||
export type { Node, NodeTypes, DefaultNodeOptions } from '$lib/types/nodes';
|
export type { Node, NodeTypes, DefaultNodeOptions } from '$lib/types/nodes';
|
||||||
|
export type { SvelteFlowStore } from '$lib/store/types';
|
||||||
|
|
||||||
// system types
|
// system types
|
||||||
export {
|
export {
|
||||||
|
|||||||
Reference in New Issue
Block a user