@reactflow/controls
Advanced tools
Comparing version 11.1.11 to 11.1.12
@@ -1,2 +0,2 @@ | ||
import type { PropsWithChildren } from 'react'; | ||
import { type PropsWithChildren } from 'react'; | ||
import type { ControlProps } from './types'; | ||
@@ -3,0 +3,0 @@ declare const _default: import("react").NamedExoticComponent<PropsWithChildren<ControlProps>>; |
@@ -29,3 +29,3 @@ import { jsx, jsxs, Fragment } from 'react/jsx-runtime'; | ||
const isInteractiveSelector = (s) => s.nodesDraggable && s.nodesConnectable && s.elementsSelectable; | ||
const isInteractiveSelector = (s) => s.nodesDraggable || s.nodesConnectable || s.elementsSelectable; | ||
const Controls = ({ style, showZoom = true, showFitView = true, showInteractive = true, fitViewOptions, onZoomIn, onZoomOut, onFitView, onInteractiveChange, className, children, position = 'bottom-left', }) => { | ||
@@ -32,0 +32,0 @@ const store = useStoreApi(); |
@@ -1,2 +0,2 @@ | ||
import type { PropsWithChildren } from 'react'; | ||
import { type PropsWithChildren } from 'react'; | ||
import type { ControlProps } from './types'; | ||
@@ -3,0 +3,0 @@ declare const _default: import("react").NamedExoticComponent<PropsWithChildren<ControlProps>>; |
{ | ||
"name": "@reactflow/controls", | ||
"version": "11.1.11", | ||
"version": "11.1.12", | ||
"description": "Component to control the viewport of a React Flow instance", | ||
@@ -33,3 +33,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@reactflow/core": "11.7.0", | ||
"@reactflow/core": "11.7.1", | ||
"classcat": "^5.0.3" | ||
@@ -36,0 +36,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
150445
692
+ Added@reactflow/core@11.7.1(transitive)
- Removed@reactflow/core@11.7.0(transitive)
Updated@reactflow/core@11.7.1